marketplacepos 2.8.4 → 2.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[179],{7899:(at,be,v)=>{v.d(be,{zQ:()=>xi,ww:()=>ti});var s=v(4650),f=v(7579),F=v(9646),W=v(9751),X=v(8996),J=v(6451),ie=v(5363),q=v(3900),Q=v(4004),j=v(4782),Y=v(590),G=v(576);function Ie(_e,we){return(0,G.m)(we)?(0,q.w)(()=>_e,we):(0,q.w)(()=>_e)}var Me=v(9468),Ve=v(9300),Ke=v(5813),Ae=v(2011),Fe=v(6895);v(5867);var Rt=v(5861),Ot=v(9681),Ue=v(4859),rt=v(2090),fe=v(1877);const Le=new Map,lt={activated:!1,tokenObservers:[]},$t={initialized:!1,enabled:!1};function Ye(_e){return Le.get(_e)||lt}function At(_e,we){Le.set(_e,we)}function te(){return $t}class Yt{constructor(we,Be,tt,dt,_t){if(this.operation=we,this.retryPolicy=Be,this.getWaitDuration=tt,this.lowerBound=dt,this.upperBound=_t,this.pending=null,this.nextErrorWaitInterval=dt,dt>_t)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(we){var Be=this;return(0,Rt.Z)(function*(){Be.stop();try{Be.pending=new rt.BH,yield function Tt(_e){return new Promise(we=>{setTimeout(we,_e)})}(Be.getNextRun(we)),Be.pending.resolve(),yield Be.pending.promise,Be.pending=new rt.BH,yield Be.operation(),Be.pending.resolve(),yield Be.pending.promise,Be.process(!0).catch(()=>{})}catch(tt){Be.retryPolicy(tt)?Be.process(!1).catch(()=>{}):Be.stop()}})()}getNextRun(we){if(we)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const Be=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),Be}}}const sn=new rt.LL("appCheck","AppCheck",{"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.",throttled:"Requests throttled due to {$httpStatus} error. Attempts allowed again after {$time}"});function bn(_e){if(!Ye(_e).activated)throw sn.create("use-before-activation",{appName:_e.name})}function Ut(_e,we){return Nt.apply(this,arguments)}function Nt(){return(Nt=(0,Rt.Z)(function*({url:_e,body:we},Be){var tt,dt;const _t={"Content-Type":"application/json"},qt=Be.getImmediate({optional:!0});if(qt){const li=yield qt.getHeartbeatsHeader();li&&(_t["X-Firebase-Client"]=li)}const jn={method:"POST",body:JSON.stringify(we),headers:_t};let ln,rr;try{ln=yield fetch(_e,jn)}catch(li){throw sn.create("fetch-network-error",{originalErrorMessage:null===(tt=li)||void 0===tt?void 0:tt.message})}if(200!==ln.status)throw sn.create("fetch-status-error",{httpStatus:ln.status});try{rr=yield ln.json()}catch(li){throw sn.create("fetch-parse-error",{originalErrorMessage:null===(dt=li)||void 0===dt?void 0:dt.message})}const Nr=rr.ttl.match(/^([\d.]+)(s)$/);if(!Nr||!Nr[2]||isNaN(Number(Nr[1])))throw sn.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${rr.ttl}`});const Ai=1e3*Number(Nr[1]),ai=Date.now();return{token:rr.token,expireTimeMillis:ai+Ai,issuedAtTimeMillis:ai}})).apply(this,arguments)}function Ge(_e,we){const{projectId:Be,appId:tt,apiKey:dt}=_e.options;return{url:`https://content-firebaseappcheck.googleapis.com/v1/projects/${Be}/apps/${tt}:exchangeDebugToken?key=${dt}`,body:{debug_token:we}}}const qe="firebase-app-check-store";let kt=null;function Qn(){return kt||(kt=new Promise((_e,we)=>{var Be;try{const tt=indexedDB.open("firebase-app-check-database",1);tt.onsuccess=dt=>{_e(dt.target.result)},tt.onerror=dt=>{var _t;we(sn.create("storage-open",{originalErrorMessage:null===(_t=dt.target.error)||void 0===_t?void 0:_t.message}))},tt.onupgradeneeded=dt=>{0===dt.oldVersion&&dt.target.result.createObjectStore(qe,{keyPath:"compositeKey"})}}catch(tt){we(sn.create("storage-open",{originalErrorMessage:null===(Be=tt)||void 0===Be?void 0:Be.message}))}}),kt)}function N(){return(N=(0,Rt.Z)(function*(_e,we){const tt=(yield Qn()).transaction(qe,"readwrite"),_t=tt.objectStore(qe).put({compositeKey:_e,value:we});return new Promise((qt,jn)=>{_t.onsuccess=ln=>{qt()},tt.onerror=ln=>{var rr;jn(sn.create("storage-set",{originalErrorMessage:null===(rr=ln.target.error)||void 0===rr?void 0:rr.message}))}})})).apply(this,arguments)}const B=new fe.Yd("@firebase/app-check");function je(_e,we){return(0,rt.hl)()?function An(_e,we){return function re(_e,we){return N.apply(this,arguments)}(function Ce(_e){return`${_e.options.appId}-${_e.name}`}(_e),we)}(_e,we).catch(Be=>{B.warn(`Failed to write token to IndexedDB. Error: ${Be}`)}):Promise.resolve()}function zt(){return te().enabled}function Kt(){return Ee.apply(this,arguments)}function Ee(){return(Ee=(0,Rt.Z)(function*(){const _e=te();if(_e.enabled&&_e.token)return _e.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const C={error:"UNKNOWN_ERROR"};function S(_e){return rt.US.encodeString(JSON.stringify(_e),!1)}function $(_e){return ue.apply(this,arguments)}function ue(){return(ue=(0,Rt.Z)(function*(_e,we=!1){const Be=_e.app;bn(Be);const tt=Ye(Be);let _t,dt=tt.token;if(dt&&!On(dt)&&(At(Be,Object.assign(Object.assign({},tt),{token:void 0})),dt=void 0),!dt){const ln=yield tt.cachedTokenPromise;ln&&(On(ln)?dt=ln:yield je(Be,void 0))}if(!we&&dt&&On(dt))return{token:dt.token};let jn,qt=!1;if(zt()){tt.exchangeTokenPromise||(tt.exchangeTokenPromise=Ut(Ge(Be,yield Kt()),_e.heartbeatServiceProvider).finally(()=>{tt.exchangeTokenPromise=void 0}),qt=!0);const ln=yield tt.exchangeTokenPromise;return yield je(Be,ln),At(Be,Object.assign(Object.assign({},tt),{token:ln})),{token:ln.token}}try{tt.exchangeTokenPromise||(tt.exchangeTokenPromise=tt.provider.getToken().finally(()=>{tt.exchangeTokenPromise=void 0}),qt=!0),dt=yield tt.exchangeTokenPromise}catch(ln){"appCheck/throttled"===ln.code?B.warn(ln.message):B.error(ln),_t=ln}return dt?_t?jn=On(dt)?{token:dt.token,internalError:_t}:qr(_t):(jn={token:dt.token},At(Be,Object.assign(Object.assign({},tt),{token:dt})),yield je(Be,dt)):jn=qr(_t),qt&&Cr(Be,jn),jn})).apply(this,arguments)}function Mt(_e,we){const Be=Ye(_e),tt=Be.tokenObservers.filter(dt=>dt.next!==we);0===tt.length&&Be.tokenRefresher&&Be.tokenRefresher.isRunning()&&Be.tokenRefresher.stop(),At(_e,Object.assign(Object.assign({},Be),{tokenObservers:tt}))}function Mn(_e){const{app:we}=_e,Be=Ye(we);let tt=Be.tokenRefresher;tt||(tt=function In(_e){const{app:we}=_e;return new Yt((0,Rt.Z)(function*(){let tt;if(tt=Ye(we).token?yield $(_e,!0):yield $(_e),tt.error)throw tt.error;if(tt.internalError)throw tt.internalError}),()=>!0,()=>{const Be=Ye(we);if(Be.token){let tt=Be.token.issuedAtTimeMillis+.5*(Be.token.expireTimeMillis-Be.token.issuedAtTimeMillis)+3e5;return tt=Math.min(tt,Be.token.expireTimeMillis-3e5),Math.max(0,tt-Date.now())}return 0},3e4,96e4)}(_e),At(we,Object.assign(Object.assign({},Be),{tokenRefresher:tt}))),!tt.isRunning()&&Be.isTokenAutoRefreshEnabled&&tt.start()}function Cr(_e,we){const Be=Ye(_e).tokenObservers;for(const tt of Be)try{"EXTERNAL"===tt.type&&null!=we.error?tt.error(we.error):tt.next(we)}catch{}}function On(_e){return _e.expireTimeMillis-Date.now()>0}function qr(_e){return{token:S(C),error:_e}}class si{constructor(we,Be){this.app=we,this.heartbeatServiceProvider=Be}_delete(){const{tokenObservers:we}=Ye(this.app);for(const Be of we)Mt(this.app,Be.next);return Promise.resolve()}}const fi="app-check-internal";!function Mr(){(0,Ot._registerComponent)(new Ue.wA("app-check",_e=>function oo(_e,we){return new si(_e,we)}(_e.getProvider("app").getImmediate(),_e.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((_e,we,Be)=>{_e.getProvider(fi).initialize()})),(0,Ot._registerComponent)(new Ue.wA(fi,_e=>function Ui(_e){return{getToken:we=>$(_e,we),addTokenListener:we=>function Qe(_e,we,Be,tt){const{app:dt}=_e,_t=Ye(dt),qt={next:Be,error:tt,type:we};if(At(dt,Object.assign(Object.assign({},_t),{tokenObservers:[..._t.tokenObservers,qt]})),_t.token&&On(_t.token)){const jn=_t.token;Promise.resolve().then(()=>{Be({token:jn.token}),Mn(_e)}).catch(()=>{})}_t.cachedTokenPromise.then(()=>Mn(_e))}(_e,"INTERNAL",we),removeTokenListener:we=>Mt(_e.app,we)}}(_e.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,Ot.registerVersion)("@firebase/app-check","0.5.15")}();class Bn{constructor(){return(0,Ke.vb)("app-check")}}typeof window<"u"&&window;var go=v(127);const Si=new s.OlP("angularfire2.auth.use-emulator"),Gi=new s.OlP("angularfire2.auth.settings"),Wi=new s.OlP("angularfire2.auth.tenant-id"),mo=new s.OlP("angularfire2.auth.langugage-code"),yo=new s.OlP("angularfire2.auth.use-device-language"),So=new s.OlP("angularfire.auth.persistence");let xi=(()=>{class _e{constructor(Be,tt,dt,_t,qt,jn,ln,rr,Nr,Ai,ai,li){const so=new f.x,mi=(0,F.of)(void 0).pipe((0,ie.Q)(qt.outsideAngular),(0,q.w)(()=>_t.runOutsideAngular(()=>v.e(545).then(v.bind(v,9545)))),(0,Q.U)(()=>(0,Ae.on)(Be,_t,tt)),(0,Q.U)(jr=>((_e,we,Be,tt,dt,_t,qt,jn)=>(0,Ae.cc)(`${_e.name}.auth`,"AngularFireAuth",_e.name,()=>{const ln=we.runOutsideAngular(()=>_e.auth());if(Be&&ln.useEmulator(...Be),tt&&(ln.tenantId=tt),ln.languageCode=dt,_t&&ln.useDeviceLanguage(),qt)for(const[rr,Nr]of Object.entries(qt))ln.settings[rr]=Nr;return jn&&ln.setPersistence(jn),ln},[Be,tt,dt,_t,qt,jn]))(jr,_t,jn,rr,Nr,Ai,ln,ai)),(0,j.d)({bufferSize:1,refCount:!1}));if((0,Fe.PM)(dt))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,F.of)(null);else{mi.pipe((0,Y.P)()).subscribe();const Ki=mi.pipe((0,q.w)(Sn=>Sn.getRedirectResult().then(Un=>Un,()=>null)),Ke.iC,(0,j.d)({bufferSize:1,refCount:!1})),Sr=mi.pipe((0,q.w)(Sn=>new W.y(Un=>({unsubscribe:_t.runOutsideAngular(()=>Sn.onAuthStateChanged(ri=>Un.next(ri),ri=>Un.error(ri),()=>Un.complete()))})))),ni=mi.pipe((0,q.w)(Sn=>new W.y(Un=>({unsubscribe:_t.runOutsideAngular(()=>Sn.onIdTokenChanged(ri=>Un.next(ri),ri=>Un.error(ri),()=>Un.complete()))}))));this.authState=Ki.pipe(Ie(Sr),(0,Me.R)(qt.outsideAngular),(0,ie.Q)(qt.insideAngular)),this.user=Ki.pipe(Ie(ni),(0,Me.R)(qt.outsideAngular),(0,ie.Q)(qt.insideAngular)),this.idToken=this.user.pipe((0,q.w)(Sn=>Sn?(0,X.D)(Sn.getIdToken()):(0,F.of)(null))),this.idTokenResult=this.user.pipe((0,q.w)(Sn=>Sn?(0,X.D)(Sn.getIdTokenResult()):(0,F.of)(null))),this.credential=(0,J.T)(Ki,so,this.authState.pipe((0,Ve.h)(Sn=>!Sn))).pipe((0,Q.U)(Sn=>Sn?.user?Sn:null),(0,Me.R)(qt.outsideAngular),(0,ie.Q)(qt.insideAngular))}return(0,Ae.pX)(this,mi,_t,{spy:{apply:(jr,Ki,Sr)=>{(jr.startsWith("signIn")||jr.startsWith("createUser"))&&Sr.then(ni=>so.next(ni))}}})}}return _e.\u0275fac=function(Be){return new(Be||_e)(s.LFG(Ae.Dh),s.LFG(Ae.xv,8),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(Ke.HU),s.LFG(Si,8),s.LFG(Gi,8),s.LFG(Wi,8),s.LFG(mo,8),s.LFG(yo,8),s.LFG(So,8),s.LFG(Bn,8))},_e.\u0275prov=s.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"any"}),_e})(),ti=(()=>{class _e{constructor(){go.Z.registerVersion("angularfire",Ke.q4.full,"auth-compat")}}return _e.\u0275fac=function(Be){return new(Be||_e)},_e.\u0275mod=s.oAB({type:_e}),_e.\u0275inj=s.cJS({providers:[xi]}),_e})()},2011:(at,be,v)=>{v.d(be,{Dh:()=>q,GT:()=>J,cc:()=>Me,hO:()=>Ie,on:()=>j,pX:()=>X,xv:()=>Q});var s=v(4650),f=v(127),F=v(5813);at=v.hmd(at);const W=["ngOnDestroy"],X=(Fe,Pe,ve,De={})=>new Proxy(Fe,{get:(H,le)=>ve.runOutsideAngular(()=>{var ce;if(Fe[le])return!(null===(ce=De?.spy)||void 0===ce)&&ce.get&&De.spy.get(le,Fe[le]),Fe[le];if(W.indexOf(le)>-1)return()=>{};const ge=Pe.toPromise().then(se=>{const pe=se&&se[le];return"function"==typeof pe?pe.bind(se):pe&&pe.then?pe.then(Z=>ve.run(()=>Z)):ve.run(()=>pe)});return new Proxy(()=>{},{get:(se,pe)=>ge[pe],apply:(se,pe,Z)=>ge.then(oe=>{var xe;const ye=oe&&oe(...Z);return!(null===(xe=De?.spy)||void 0===xe)&&xe.apply&&De.spy.apply(le,Z,ye),ye})})})}),J=(Fe,Pe)=>{Pe.forEach(ve=>{Object.getOwnPropertyNames(ve.prototype||ve).forEach(De=>{Object.defineProperty(Fe.prototype,De,Object.getOwnPropertyDescriptor(ve.prototype||ve,De))})})};class ie{constructor(Pe){return Pe}}const q=new s.OlP("angularfire2.app.options"),Q=new s.OlP("angularfire2.app.name");function j(Fe,Pe,ve){const H="object"==typeof ve&&ve||{};H.name=H.name||"string"==typeof ve&&ve||"[DEFAULT]";const ce=f.Z.apps.filter(ge=>ge&&ge.name===H.name)[0]||Pe.runOutsideAngular(()=>f.Z.initializeApp(Fe,H));try{JSON.stringify(Fe)!==JSON.stringify(ce.options)&&Y("error",`${ce.name} Firebase App already initialized with different options${at.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new ie(ce)}const Y=(Fe,...Pe)=>{(0,s.X6Q)()&&typeof console<"u"&&console[Fe](...Pe)},G={provide:ie,useFactory:j,deps:[q,s.R0b,[new s.FiY,Q]]};let Ie=(()=>{class Fe{constructor(ve){f.Z.registerVersion("angularfire",F.q4.full,"core"),f.Z.registerVersion("angularfire",F.q4.full,"app-compat"),f.Z.registerVersion("angular",s.q4F.full,ve.toString())}static initializeApp(ve,De){return{ngModule:Fe,providers:[{provide:q,useValue:ve},{provide:Q,useValue:De}]}}}return Fe.\u0275fac=function(ve){return new(ve||Fe)(s.LFG(s.Lbi))},Fe.\u0275mod=s.oAB({type:Fe}),Fe.\u0275inj=s.cJS({providers:[G]}),Fe})();function Me(Fe,Pe,ve,De,H){const[,le,ce]=globalThis.\u0275AngularfireInstanceCache.find(ge=>ge[0]===Fe)||[];if(le)return function Ve(Fe,Pe){try{return Fe.toString()===Pe.toString()}catch{return Fe===Pe}}(H,ce)||(Ae("error",`${Pe} was already initialized on the ${ve} Firebase App with different settings.${Ke?" You may need to reload as Firebase is not HMR aware.":""}`),Ae("warn",{is:H,was:ce})),le;{const ge=De();return globalThis.\u0275AngularfireInstanceCache.push([Fe,ge,H]),ge}}const Ke=!!at.hot,Ae=(Fe,...Pe)=>{(0,s.X6Q)()&&typeof console<"u"&&console[Fe](...Pe)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},5813:(at,be,v)=>{v.d(be,{q4:()=>Zn,iC:()=>ia,HU:()=>To,vb:()=>Lt,JM:()=>Ct});var s=v(4650),f=v(5867),F=v(5861),W=v(9681),X=v(2090),J=v(4859),ie=v(1877),q=v(8766);const Q="@firebase/installations",j="0.5.15",G=`w:${j}`,Ie="FIS_v2",Pe=new X.LL("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function ve(E){return E instanceof X.ZR&&E.code.includes("request-failed")}function De({projectId:E}){return`https://firebaseinstallations.googleapis.com/v1/projects/${E}/installations`}function H(E){return{token:E.token,requestStatus:2,expiresIn:oe(E.expiresIn),creationTime:Date.now()}}function le(E,T){return ce.apply(this,arguments)}function ce(){return(ce=(0,F.Z)(function*(E,T){const ae=(yield T.json()).error;return Pe.create("request-failed",{requestName:E,serverCode:ae.code,serverMessage:ae.message,serverStatus:ae.status})})).apply(this,arguments)}function ge({apiKey:E}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":E})}function se(E,{refreshToken:T}){const k=ge(E);return k.append("Authorization",function xe(E){return`${Ie} ${E}`}(T)),k}function pe(E){return Z.apply(this,arguments)}function Z(){return(Z=(0,F.Z)(function*(E){const T=yield E();return T.status>=500&&T.status<600?E():T})).apply(this,arguments)}function oe(E){return Number(E.replace("s","000"))}function ye(E,T){return We.apply(this,arguments)}function We(){return(We=(0,F.Z)(function*({appConfig:E,heartbeatServiceProvider:T},{fid:k}){const ae=De(E),Oe=ge(E),ze=T.getImmediate({optional:!0});if(ze){const hn=yield ze.getHeartbeatsHeader();hn&&Oe.append("x-firebase-client",hn)}const xt={method:"POST",headers:Oe,body:JSON.stringify({fid:k,authVersion:Ie,appId:E.appId,sdkVersion:G})},rn=yield pe(()=>fetch(ae,xt));if(rn.ok){const hn=yield rn.json();return{fid:hn.fid||k,registrationStatus:2,refreshToken:hn.refreshToken,authToken:H(hn.authToken)}}throw yield le("Create Installation",rn)})).apply(this,arguments)}function Je(E){return new Promise(T=>{setTimeout(T,E)})}const Wt=/^[cdef][\w-]{21}$/;function Rt(){try{const E=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(E),E[0]=112+E[0]%16;const k=function Ot(E){return function mt(E){return btoa(String.fromCharCode(...E)).replace(/\+/g,"-").replace(/\//g,"_")}(E).substr(0,22)}(E);return Wt.test(k)?k:""}catch{return""}}function Ue(E){return`${E.appName}!${E.appId}`}const rt=new Map;function fe(E,T){const k=Ue(E);$t(k,T),function Ye(E,T){const k=function te(){return!At&&"BroadcastChannel"in self&&(At=new BroadcastChannel("[Firebase] FID Change"),At.onmessage=E=>{$t(E.data.key,E.data.fid)}),At}();k&&k.postMessage({key:E,fid:T}),function Xe(){0===rt.size&&At&&(At.close(),At=null)}()}(k,T)}function $t(E,T){const k=rt.get(E);if(k)for(const ae of k)ae(T)}let At=null;const bt="firebase-installations-store";let Pt=null;function yn(){return Pt||(Pt=(0,q.X3)("firebase-installations-database",1,{upgrade:(E,T)=>{0===T&&E.createObjectStore(bt)}})),Pt}function Yt(E,T){return Tt.apply(this,arguments)}function Tt(){return(Tt=(0,F.Z)(function*(E,T){const k=Ue(E),Oe=(yield yn()).transaction(bt,"readwrite"),ze=Oe.objectStore(bt),ut=yield ze.get(k);return yield ze.put(T,k),yield Oe.done,(!ut||ut.fid!==T.fid)&&fe(E,T.fid),T})).apply(this,arguments)}function Ft(E){return sn.apply(this,arguments)}function sn(){return(sn=(0,F.Z)(function*(E){const T=Ue(E),ae=(yield yn()).transaction(bt,"readwrite");yield ae.objectStore(bt).delete(T),yield ae.done})).apply(this,arguments)}function $n(E,T){return bn.apply(this,arguments)}function bn(){return(bn=(0,F.Z)(function*(E,T){const k=Ue(E),Oe=(yield yn()).transaction(bt,"readwrite"),ze=Oe.objectStore(bt),ut=yield ze.get(k),xt=T(ut);return void 0===xt?yield ze.delete(k):yield ze.put(xt,k),yield Oe.done,xt&&(!ut||ut.fid!==xt.fid)&&fe(E,xt.fid),xt})).apply(this,arguments)}function wn(E){return Hn.apply(this,arguments)}function Hn(){return(Hn=(0,F.Z)(function*(E){let T;const k=yield $n(E.appConfig,ae=>{const Oe=Ut(ae),ze=Nt(E,Oe);return T=ze.registrationPromise,ze.installationEntry});return""===k.fid?{installationEntry:yield T}:{installationEntry:k,registrationPromise:T}})).apply(this,arguments)}function Ut(E){return qe(E||{fid:Rt(),registrationStatus:0})}function Nt(E,T){if(0===T.registrationStatus){if(!navigator.onLine)return{installationEntry:T,registrationPromise:Promise.reject(Pe.create("app-offline"))};const k={fid:T.fid,registrationStatus:1,registrationTime:Date.now()},ae=function pt(E,T){return Bt.apply(this,arguments)}(E,k);return{installationEntry:k,registrationPromise:ae}}return 1===T.registrationStatus?{installationEntry:T,registrationPromise:Ge(E)}:{installationEntry:T}}function Bt(){return(Bt=(0,F.Z)(function*(E,T){try{const k=yield ye(E,T);return Yt(E.appConfig,k)}catch(k){throw ve(k)&&409===k.customData.serverCode?yield Ft(E.appConfig):yield Yt(E.appConfig,{fid:T.fid,registrationStatus:0}),k}})).apply(this,arguments)}function Ge(E){return yt.apply(this,arguments)}function yt(){return(yt=(0,F.Z)(function*(E){let T=yield Ne(E.appConfig);for(;1===T.registrationStatus;)yield Je(100),T=yield Ne(E.appConfig);if(0===T.registrationStatus){const{installationEntry:k,registrationPromise:ae}=yield wn(E);return ae||k}return T})).apply(this,arguments)}function Ne(E){return $n(E,T=>{if(!T)throw Pe.create("installation-not-found");return qe(T)})}function qe(E){return function Vt(E){return 1===E.registrationStatus&&E.registrationTime+1e4<Date.now()}(E)?{fid:E.fid,registrationStatus:0}:E}function kt(E,T){return Qn.apply(this,arguments)}function Qn(){return(Qn=(0,F.Z)(function*({appConfig:E,heartbeatServiceProvider:T},k){const ae=Ht(E,k),Oe=se(E,k),ze=T.getImmediate({optional:!0});if(ze){const hn=yield ze.getHeartbeatsHeader();hn&&Oe.append("x-firebase-client",hn)}const xt={method:"POST",headers:Oe,body:JSON.stringify({installation:{sdkVersion:G,appId:E.appId}})},rn=yield pe(()=>fetch(ae,xt));if(rn.ok)return H(yield rn.json());throw yield le("Generate Auth Token",rn)})).apply(this,arguments)}function Ht(E,{fid:T}){return`${De(E)}/${T}/authTokens:generate`}function An(E){return Xn.apply(this,arguments)}function Xn(){return(Xn=(0,F.Z)(function*(E,T=!1){let k;const ae=yield $n(E.appConfig,ze=>{if(!Ce(ze))throw Pe.create("not-registered");const ut=ze.authToken;if(!T&&B(ut))return ze;if(1===ut.requestStatus)return k=ft(E,T),ze;{if(!navigator.onLine)throw Pe.create("app-offline");const xt=he(ze);return k=M(E,xt),xt}});return k?yield k:ae.authToken})).apply(this,arguments)}function ft(E,T){return re.apply(this,arguments)}function re(){return(re=(0,F.Z)(function*(E,T){let k=yield N(E.appConfig);for(;1===k.authToken.requestStatus;)yield Je(100),k=yield N(E.appConfig);const ae=k.authToken;return 0===ae.requestStatus?An(E,T):ae})).apply(this,arguments)}function N(E){return $n(E,T=>{if(!Ce(T))throw Pe.create("not-registered");return function je(E){return 1===E.requestStatus&&E.requestTime+1e4<Date.now()}(T.authToken)?Object.assign(Object.assign({},T),{authToken:{requestStatus:0}}):T})}function M(E,T){return R.apply(this,arguments)}function R(){return(R=(0,F.Z)(function*(E,T){try{const k=yield kt(E,T),ae=Object.assign(Object.assign({},T),{authToken:k});return yield Yt(E.appConfig,ae),k}catch(k){if(!ve(k)||401!==k.customData.serverCode&&404!==k.customData.serverCode){const ae=Object.assign(Object.assign({},T),{authToken:{requestStatus:0}});yield Yt(E.appConfig,ae)}else yield Ft(E.appConfig);throw k}})).apply(this,arguments)}function Ce(E){return void 0!==E&&2===E.registrationStatus}function B(E){return 2===E.requestStatus&&!function K(E){const T=Date.now();return T<E.creationTime||E.creationTime+E.expiresIn<T+36e5}(E)}function he(E){const T={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},E),{authToken:T})}function ct(){return(ct=(0,F.Z)(function*(E){const T=E,{installationEntry:k,registrationPromise:ae}=yield wn(T);return ae?ae.catch(console.error):An(T).catch(console.error),k.fid})).apply(this,arguments)}function Kt(){return(Kt=(0,F.Z)(function*(E,T=!1){const k=E;return yield Ee(k),(yield An(k,T)).token})).apply(this,arguments)}function Ee(E){return I.apply(this,arguments)}function I(){return(I=(0,F.Z)(function*(E){const{registrationPromise:T}=yield wn(E);T&&(yield T)})).apply(this,arguments)}function Cr(E){return Pe.create("missing-app-config-values",{valueName:E})}const On="installations",si=E=>{const T=E.getProvider("app").getImmediate(),k=function In(E){if(!E||!E.options)throw Cr("App Configuration");if(!E.name)throw Cr("App Name");const T=["projectId","apiKey","appId"];for(const k of T)if(!E.options[k])throw Cr(k);return{appName:E.name,projectId:E.options.projectId,apiKey:E.options.apiKey,appId:E.options.appId}}(T);return{app:T,appConfig:k,heartbeatServiceProvider:(0,W._getProvider)(T,"heartbeat"),_delete:()=>Promise.resolve()}},oo=E=>{const T=E.getProvider("app").getImmediate(),k=(0,W._getProvider)(T,On).getImmediate();return{getId:()=>function Te(E){return ct.apply(this,arguments)}(k),getToken:Oe=>function zt(E){return Kt.apply(this,arguments)}(k,Oe)}};(function Ui(){(0,W._registerComponent)(new J.wA(On,si,"PUBLIC")),(0,W._registerComponent)(new J.wA("installations-internal",oo,"PRIVATE"))})(),(0,W.registerVersion)(Q,j),(0,W.registerVersion)(Q,j,"esm2017");const Hr="@firebase/remote-config",er=new X.LL("remoteconfig","Remote Config",{"registration-window":"Undefined window object. This SDK only supports usage in a browser environment.","registration-project-id":"Undefined project identifier. Check Firebase app initialization.","registration-api-key":"Undefined API key. Check Firebase app initialization.","registration-app-id":"Undefined app identifier. Check Firebase app initialization.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","storage-delete":"Error thrown when deleting from storage. Original error: {$originalErrorMessage}.","fetch-client-network":"Fetch client failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-timeout":'The config fetch request timed out. Configure timeout using "fetchTimeoutMillis" SDK setting.',"fetch-throttle":'The config fetch request timed out while in an exponential backoff state. Configure timeout using "fetchTimeoutMillis" SDK setting. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.',"fetch-client-parse":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","indexed-db-unavailable":"Indexed DB is not supported by current browser"});class fi{constructor(T,k,ae,Oe){this.client=T,this.storage=k,this.storageCache=ae,this.logger=Oe}isCachedDataFresh(T,k){if(!k)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const ae=Date.now()-k,Oe=ae<=T;return this.logger.debug(`Config fetch cache check. Cache age millis: ${ae}. Cache max age millis (minimumFetchIntervalMillis setting): ${T}. Is cache hit: ${Oe}.`),Oe}fetch(T){var k=this;return(0,F.Z)(function*(){const[ae,Oe]=yield Promise.all([k.storage.getLastSuccessfulFetchTimestampMillis(),k.storage.getLastSuccessfulFetchResponse()]);if(Oe&&k.isCachedDataFresh(T.cacheMaxAgeMillis,ae))return Oe;T.eTag=Oe&&Oe.eTag;const ze=yield k.client.fetch(T),ut=[k.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===ze.status&&ut.push(k.storage.setLastSuccessfulFetchResponse(ze)),yield Promise.all(ut),ze})()}}function Mr(E=navigator){return E.languages&&E.languages[0]||E.language}class hi{constructor(T,k,ae,Oe,ze,ut){this.firebaseInstallations=T,this.sdkVersion=k,this.namespace=ae,this.projectId=Oe,this.apiKey=ze,this.appId=ut}fetch(T){var k=this;return(0,F.Z)(function*(){var ae,Oe,ze;const[ut,xt]=yield Promise.all([k.firebaseInstallations.getId(),k.firebaseInstallations.getToken()]),hn=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${k.projectId}/namespaces/${k.namespace}:fetch?key=${k.apiKey}`,_n={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":T.eTag||"*"},on={sdk_version:k.sdkVersion,app_instance_id:ut,app_instance_id_token:xt,app_id:k.appId,language_code:Mr()},Di={method:"POST",headers:_n,body:JSON.stringify(on)},ki=fetch(hn,Di),la=new Promise((us,js)=>{T.signal.addEventListener(()=>{const Fa=new Error("The operation was aborted.");Fa.name="AbortError",js(Fa)})});let ca;try{yield Promise.race([ki,la]),ca=yield ki}catch(us){let js="fetch-client-network";throw"AbortError"===(null===(ae=us)||void 0===ae?void 0:ae.name)&&(js="fetch-timeout"),er.create(js,{originalErrorMessage:null===(Oe=us)||void 0===Oe?void 0:Oe.message})}let Hs=ca.status;const Gl=ca.headers.get("ETag")||void 0;let Ra,cs;if(200===ca.status){let us;try{us=yield ca.json()}catch(js){throw er.create("fetch-client-parse",{originalErrorMessage:null===(ze=js)||void 0===ze?void 0:ze.message})}Ra=us.entries,cs=us.state}if("INSTANCE_STATE_UNSPECIFIED"===cs?Hs=500:"NO_CHANGE"===cs?Hs=304:("NO_TEMPLATE"===cs||"EMPTY_CONFIG"===cs)&&(Ra={}),304!==Hs&&200!==Hs)throw er.create("fetch-status",{httpStatus:Hs});return{status:Hs,eTag:Gl,config:Ra}})()}}class pr{constructor(T,k){this.client=T,this.storage=k}fetch(T){var k=this;return(0,F.Z)(function*(){const ae=(yield k.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return k.attemptFetch(T,ae)})()}attemptFetch(T,{throttleEndTimeMillis:k,backoffCount:ae}){var Oe=this;return(0,F.Z)(function*(){yield function $i(E,T){return new Promise((k,ae)=>{const Oe=Math.max(T-Date.now(),0),ze=setTimeout(k,Oe);E.addEventListener(()=>{clearTimeout(ze),ae(er.create("fetch-throttle",{throttleEndTimeMillis:T}))})})}(T.signal,k);try{const ze=yield Oe.client.fetch(T);return yield Oe.storage.deleteThrottleMetadata(),ze}catch(ze){if(!function Bn(E){if(!(E instanceof X.ZR&&E.customData))return!1;const T=Number(E.customData.httpStatus);return 429===T||500===T||503===T||504===T}(ze))throw ze;const ut={throttleEndTimeMillis:Date.now()+(0,X.$s)(ae),backoffCount:ae+1};return yield Oe.storage.setThrottleMetadata(ut),Oe.attemptFetch(T,ut)}})()}}class Pr{constructor(T,k,ae,Oe,ze){this.app=T,this._client=k,this._storageCache=ae,this._storage=Oe,this._logger=ze,this._isInitializationComplete=!1,this.settings={fetchTimeoutMillis:6e4,minimumFetchIntervalMillis:432e5},this.defaultConfig={}}get fetchTimeMillis(){return this._storageCache.getLastSuccessfulFetchTimestampMillis()||-1}get lastFetchStatus(){return this._storageCache.getLastFetchStatus()||"no-fetch-yet"}}function Yr(E,T){var k;const ae=E.target.error||void 0;return er.create(T,{originalErrorMessage:ae&&(null===(k=ae)||void 0===k?void 0:k.message)})}const gr="app_namespace_store";class Wn{constructor(T,k,ae,Oe=function vr(){return new Promise((E,T)=>{var k;try{const ae=indexedDB.open("firebase_remote_config",1);ae.onerror=Oe=>{T(Yr(Oe,"storage-open"))},ae.onsuccess=Oe=>{E(Oe.target.result)},ae.onupgradeneeded=Oe=>{0===Oe.oldVersion&&Oe.target.result.createObjectStore(gr,{keyPath:"compositeKey"})}}catch(ae){T(er.create("storage-open",{originalErrorMessage:null===(k=ae)||void 0===k?void 0:k.message}))}})}()){this.appId=T,this.appName=k,this.namespace=ae,this.openDbPromise=Oe}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(T){return this.set("last_fetch_status",T)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(T){return this.set("last_successful_fetch_timestamp_millis",T)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(T){return this.set("last_successful_fetch_response",T)}getActiveConfig(){return this.get("active_config")}setActiveConfig(T){return this.set("active_config",T)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(T){return this.set("active_config_etag",T)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(T){return this.set("throttle_metadata",T)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(T){var k=this;return(0,F.Z)(function*(){const ae=yield k.openDbPromise;return new Promise((Oe,ze)=>{var ut;const rn=ae.transaction([gr],"readonly").objectStore(gr),hn=k.createCompositeKey(T);try{const _n=rn.get(hn);_n.onerror=on=>{ze(Yr(on,"storage-get"))},_n.onsuccess=on=>{const Di=on.target.result;Oe(Di?Di.value:void 0)}}catch(_n){ze(er.create("storage-get",{originalErrorMessage:null===(ut=_n)||void 0===ut?void 0:ut.message}))}})})()}set(T,k){var ae=this;return(0,F.Z)(function*(){const Oe=yield ae.openDbPromise;return new Promise((ze,ut)=>{var xt;const hn=Oe.transaction([gr],"readwrite").objectStore(gr),_n=ae.createCompositeKey(T);try{const on=hn.put({compositeKey:_n,value:k});on.onerror=Di=>{ut(Yr(Di,"storage-set"))},on.onsuccess=()=>{ze()}}catch(on){ut(er.create("storage-set",{originalErrorMessage:null===(xt=on)||void 0===xt?void 0:xt.message}))}})})()}delete(T){var k=this;return(0,F.Z)(function*(){const ae=yield k.openDbPromise;return new Promise((Oe,ze)=>{var ut;const rn=ae.transaction([gr],"readwrite").objectStore(gr),hn=k.createCompositeKey(T);try{const _n=rn.delete(hn);_n.onerror=on=>{ze(Yr(on,"storage-delete"))},_n.onsuccess=()=>{Oe()}}catch(_n){ze(er.create("storage-delete",{originalErrorMessage:null===(ut=_n)||void 0===ut?void 0:ut.message}))}})})()}createCompositeKey(T){return[this.appId,this.appName,this.namespace,T].join()}}class ei{constructor(T){this.storage=T}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var T=this;return(0,F.Z)(function*(){const k=T.storage.getLastFetchStatus(),ae=T.storage.getLastSuccessfulFetchTimestampMillis(),Oe=T.storage.getActiveConfig(),ze=yield k;ze&&(T.lastFetchStatus=ze);const ut=yield ae;ut&&(T.lastSuccessfulFetchTimestampMillis=ut);const xt=yield Oe;xt&&(T.activeConfig=xt)})()}setLastFetchStatus(T){return this.lastFetchStatus=T,this.storage.setLastFetchStatus(T)}setLastSuccessfulFetchTimestampMillis(T){return this.lastSuccessfulFetchTimestampMillis=T,this.storage.setLastSuccessfulFetchTimestampMillis(T)}setActiveConfig(T){return this.activeConfig=T,this.storage.setActiveConfig(T)}}function Mi(){return go.apply(this,arguments)}function go(){return(go=(0,F.Z)(function*(){if(!(0,X.hl)())return!1;try{return yield(0,X.eu)()}catch{return!1}})).apply(this,arguments)}!function Vi(){(0,W._registerComponent)(new J.wA("remote-config",function E(T,{instanceIdentifier:k}){const ae=T.getProvider("app").getImmediate(),Oe=T.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw er.create("registration-window");if(!(0,X.hl)())throw er.create("indexed-db-unavailable");const{projectId:ze,apiKey:ut,appId:xt}=ae.options;if(!ze)throw er.create("registration-project-id");if(!ut)throw er.create("registration-api-key");if(!xt)throw er.create("registration-app-id");const rn=new Wn(xt,ae.name,k=k||"firebase"),hn=new ei(rn),_n=new ie.Yd(Hr);_n.logLevel=ie.in.ERROR;const on=new hi(Oe,W.SDK_VERSION,k,ze,ut,xt),Di=new pr(on,rn),ki=new fi(Di,rn,hn,_n),la=new Pr(ae,ki,hn,rn,_n);return function gn(E){const T=(0,X.m9)(E);T._initializePromise||(T._initializePromise=T._storageCache.loadFromStorage().then(()=>{T._isInitializationComplete=!0}))}(la),la},"PUBLIC").setMultipleInstances(!0)),(0,W.registerVersion)(Hr,"0.3.14"),(0,W.registerVersion)(Hr,"0.3.14","esm2017")}();const Fr="/firebase-messaging-sw.js",Si="/firebase-cloud-messaging-push-scope",Gi="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",mo="google.c.a.c_id",yo="google.c.a.c_l",So="google.c.a.ts",ys="google.c.a.e";var ti=(()=>{return(E=ti||(ti={})).PUSH_RECEIVED="push-received",E.NOTIFICATION_CLICKED="notification-clicked",ti;var E})();function _e(E){const T=new Uint8Array(E);return btoa(String.fromCharCode(...T)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function we(E){const k=(E+"=".repeat((4-E.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),ae=atob(k),Oe=new Uint8Array(ae.length);for(let ze=0;ze<ae.length;++ze)Oe[ze]=ae.charCodeAt(ze);return Oe}const Be="fcm_token_details_db",dt="fcm_token_object_Store";function _t(E){return qt.apply(this,arguments)}function qt(){return qt=(0,F.Z)(function*(E){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(ze=>ze.name).includes(Be))return null;let T=null;return(yield(0,q.X3)(Be,5,{upgrade:(ae=(0,F.Z)(function*(Oe,ze,ut,xt){var rn;if(ze<2||!Oe.objectStoreNames.contains(dt))return;const hn=xt.objectStore(dt),_n=yield hn.index("fcmSenderId").get(E);if(yield hn.clear(),_n)if(2===ze){const on=_n;if(!on.auth||!on.p256dh||!on.endpoint)return;T={token:on.fcmToken,createTime:null!==(rn=on.createTime)&&void 0!==rn?rn:Date.now(),subscriptionOptions:{auth:on.auth,p256dh:on.p256dh,endpoint:on.endpoint,swScope:on.swScope,vapidKey:"string"==typeof on.vapidKey?on.vapidKey:_e(on.vapidKey)}}}else if(3===ze){const on=_n;T={token:on.fcmToken,createTime:on.createTime,subscriptionOptions:{auth:_e(on.auth),p256dh:_e(on.p256dh),endpoint:on.endpoint,swScope:on.swScope,vapidKey:_e(on.vapidKey)}}}else if(4===ze){const on=_n;T={token:on.fcmToken,createTime:on.createTime,subscriptionOptions:{auth:_e(on.auth),p256dh:_e(on.p256dh),endpoint:on.endpoint,swScope:on.swScope,vapidKey:_e(on.vapidKey)}}}}),function(ze,ut,xt,rn){return ae.apply(this,arguments)})})).close(),yield(0,q.Lj)(Be),yield(0,q.Lj)("fcm_vapid_details_db"),yield(0,q.Lj)("undefined"),jn(T)?T:null;var ae}),qt.apply(this,arguments)}function jn(E){if(!E||!E.subscriptionOptions)return!1;const{subscriptionOptions:T}=E;return"number"==typeof E.createTime&&E.createTime>0&&"string"==typeof E.token&&E.token.length>0&&"string"==typeof T.auth&&T.auth.length>0&&"string"==typeof T.p256dh&&T.p256dh.length>0&&"string"==typeof T.endpoint&&T.endpoint.length>0&&"string"==typeof T.swScope&&T.swScope.length>0&&"string"==typeof T.vapidKey&&T.vapidKey.length>0}const Nr="firebase-messaging-store";let Ai=null;function ai(){return Ai||(Ai=(0,q.X3)("firebase-messaging-database",1,{upgrade:(E,T)=>{0===T&&E.createObjectStore(Nr)}})),Ai}function li(E){return so.apply(this,arguments)}function so(){return(so=(0,F.Z)(function*(E){const T=ni(E),ae=yield(yield ai()).transaction(Nr).objectStore(Nr).get(T);if(ae)return ae;{const Oe=yield _t(E.appConfig.senderId);if(Oe)return yield mi(E,Oe),Oe}})).apply(this,arguments)}function mi(E,T){return jr.apply(this,arguments)}function jr(){return(jr=(0,F.Z)(function*(E,T){const k=ni(E),Oe=(yield ai()).transaction(Nr,"readwrite");return yield Oe.objectStore(Nr).put(T,k),yield Oe.done,T})).apply(this,arguments)}function Ki(E){return Sr.apply(this,arguments)}function Sr(){return(Sr=(0,F.Z)(function*(E){const T=ni(E),ae=(yield ai()).transaction(Nr,"readwrite");yield ae.objectStore(Nr).delete(T),yield ae.done})).apply(this,arguments)}function ni({appConfig:E}){return E.appId}const Un=new X.LL("messaging","Messaging",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."});function ri(E,T){return Rn.apply(this,arguments)}function Rn(){return(Rn=(0,F.Z)(function*(E,T){var k;const ae=yield Qr(E),Oe=Uo(T),ze={method:"POST",headers:ae,body:JSON.stringify(Oe)};let ut;try{ut=yield(yield fetch(Yi(E.appConfig),ze)).json()}catch(xt){throw Un.create("token-subscribe-failed",{errorInfo:null===(k=xt)||void 0===k?void 0:k.toString()})}if(ut.error)throw Un.create("token-subscribe-failed",{errorInfo:ut.error.message});if(!ut.token)throw Un.create("token-subscribe-no-token");return ut.token})).apply(this,arguments)}function xo(E,T){return Zr.apply(this,arguments)}function Zr(){return(Zr=(0,F.Z)(function*(E,T){var k;const ae=yield Qr(E),Oe=Uo(T.subscriptionOptions),ze={method:"PATCH",headers:ae,body:JSON.stringify(Oe)};let ut;try{ut=yield(yield fetch(`${Yi(E.appConfig)}/${T.token}`,ze)).json()}catch(xt){throw Un.create("token-update-failed",{errorInfo:null===(k=xt)||void 0===k?void 0:k.toString()})}if(ut.error)throw Un.create("token-update-failed",{errorInfo:ut.error.message});if(!ut.token)throw Un.create("token-update-no-token");return ut.token})).apply(this,arguments)}function br(E,T){return ao.apply(this,arguments)}function ao(){return(ao=(0,F.Z)(function*(E,T){var k;const Oe={method:"DELETE",headers:yield Qr(E)};try{const ut=yield(yield fetch(`${Yi(E.appConfig)}/${T}`,Oe)).json();if(ut.error)throw Un.create("token-unsubscribe-failed",{errorInfo:ut.error.message})}catch(ze){throw Un.create("token-unsubscribe-failed",{errorInfo:null===(k=ze)||void 0===k?void 0:k.toString()})}})).apply(this,arguments)}function Yi({projectId:E}){return`https://fcmregistrations.googleapis.com/v1/projects/${E}/registrations`}function Qr(E){return kr.apply(this,arguments)}function kr(){return(kr=(0,F.Z)(function*({appConfig:E,installations:T}){const k=yield T.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":E.apiKey,"x-goog-firebase-installations-auth":`FIS ${k}`})})).apply(this,arguments)}function Uo({p256dh:E,auth:T,endpoint:k,vapidKey:ae}){const Oe={web:{endpoint:k,auth:T,p256dh:E}};return ae!==Gi&&(Oe.web.applicationPubKey=ae),Oe}const yi=6048e5;function Ao(E){return ci.apply(this,arguments)}function ci(){return(ci=(0,F.Z)(function*(E){const T=yield Ps(E.swRegistration,E.vapidKey),k={vapidKey:E.vapidKey,swScope:E.swRegistration.scope,endpoint:T.endpoint,auth:_e(T.getKey("auth")),p256dh:_e(T.getKey("p256dh"))},ae=yield li(E.firebaseDependencies);if(ae){if(es(ae.subscriptionOptions,k))return Date.now()>=ae.createTime+yi?en(E,{token:ae.token,createTime:Date.now(),subscriptionOptions:k}):ae.token;try{yield br(E.firebaseDependencies,ae.token)}catch(Oe){console.warn(Oe)}return qo(E.firebaseDependencies,k)}return qo(E.firebaseDependencies,k)})).apply(this,arguments)}function Jo(E){return _i.apply(this,arguments)}function _i(){return(_i=(0,F.Z)(function*(E){const T=yield li(E.firebaseDependencies);T&&(yield br(E.firebaseDependencies,T.token),yield Ki(E.firebaseDependencies));const k=yield E.swRegistration.pushManager.getSubscription();return!k||k.unsubscribe()})).apply(this,arguments)}function en(E,T){return _o.apply(this,arguments)}function _o(){return(_o=(0,F.Z)(function*(E,T){try{const k=yield xo(E.firebaseDependencies,T),ae=Object.assign(Object.assign({},T),{token:k,createTime:Date.now()});return yield mi(E.firebaseDependencies,ae),k}catch(k){throw yield Jo(E),k}})).apply(this,arguments)}function qo(E,T){return Io.apply(this,arguments)}function Io(){return(Io=(0,F.Z)(function*(E,T){const ae={token:yield ri(E,T),createTime:Date.now(),subscriptionOptions:T};return yield mi(E,ae),ae.token})).apply(this,arguments)}function Ps(E,T){return Ho.apply(this,arguments)}function Ho(){return(Ho=(0,F.Z)(function*(E,T){return(yield E.pushManager.getSubscription())||E.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:we(T)})})).apply(this,arguments)}function es(E,T){return T.vapidKey===E.vapidKey&&T.endpoint===E.endpoint&&T.auth===E.auth&&T.p256dh===E.p256dh}function Rs(E){const T={from:E.from,collapseKey:E.collapse_key,messageId:E.fcmMessageId};return function _s(E,T){if(!T.notification)return;E.notification={};const k=T.notification.title;k&&(E.notification.title=k);const ae=T.notification.body;ae&&(E.notification.body=ae);const Oe=T.notification.image;Oe&&(E.notification.image=Oe)}(T,E),function et(E,T){T.data&&(E.data=T.data)}(T,E),function mn(E,T){var k,ae,Oe,ze,ut;if(!(T.fcmOptions||null!==(k=T.notification)&&void 0!==k&&k.click_action))return;E.fcmOptions={};const xt=null!==(Oe=null===(ae=T.fcmOptions)||void 0===ae?void 0:ae.link)&&void 0!==Oe?Oe:null===(ze=T.notification)||void 0===ze?void 0:ze.click_action;xt&&(E.fcmOptions.link=xt);const rn=null===(ut=T.fcmOptions)||void 0===ut?void 0:ut.analytics_label;rn&&(E.fcmOptions.analyticsLabel=rn)}(T,E),T}function Zi(E){return"object"==typeof E&&!!E&&mo in E}function jo(E,T){const k=[];for(let ae=0;ae<E.length;ae++)k.push(E.charAt(ae)),ae<T.length&&k.push(T.charAt(ae));return k.join("")}function vo(E){return Un.create("missing-app-config-values",{valueName:E})}jo("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),jo("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class Oo{constructor(T,k,ae){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const Oe=function Er(E){if(!E||!E.options)throw vo("App Configuration Object");if(!E.name)throw vo("App Name");const T=["projectId","apiKey","appId","messagingSenderId"],{options:k}=E;for(const ae of T)if(!k[ae])throw vo(ae);return{appName:E.name,projectId:k.projectId,apiKey:k.apiKey,appId:k.appId,senderId:k.messagingSenderId}}(T);this.firebaseDependencies={app:T,appConfig:Oe,installations:k,analyticsProvider:ae}}_delete(){return Promise.resolve()}}function $r(E){return Po.apply(this,arguments)}function Po(){return(Po=(0,F.Z)(function*(E){var T;try{E.swRegistration=yield navigator.serviceWorker.register(Fr,{scope:Si}),E.swRegistration.update().catch(()=>{})}catch(k){throw Un.create("failed-service-worker-registration",{browserErrorMessage:null===(T=k)||void 0===T?void 0:T.message})}})).apply(this,arguments)}function $o(E,T){return Vo.apply(this,arguments)}function Vo(){return(Vo=(0,F.Z)(function*(E,T){if(!T&&!E.swRegistration&&(yield $r(E)),T||!E.swRegistration){if(!(T instanceof ServiceWorkerRegistration))throw Un.create("invalid-sw-registration");E.swRegistration=T}})).apply(this,arguments)}function vs(E,T){return Qi.apply(this,arguments)}function Qi(){return(Qi=(0,F.Z)(function*(E,T){T?E.vapidKey=T:E.vapidKey||(E.vapidKey=Gi)})).apply(this,arguments)}function zn(){return(zn=(0,F.Z)(function*(E,T){if(!navigator)throw Un.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw Un.create("permission-blocked");return yield vs(E,T?.vapidKey),yield $o(E,T?.serviceWorkerRegistration),Ao(E)})).apply(this,arguments)}function vi(E,T,k){return Vr.apply(this,arguments)}function Vr(){return(Vr=(0,F.Z)(function*(E,T,k){const ae=zr(T);(yield E.firebaseDependencies.analyticsProvider.get()).logEvent(ae,{message_id:k[mo],message_name:k[yo],message_time:k[So],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}function zr(E){switch(E){case ti.NOTIFICATION_CLICKED:return"notification_open";case ti.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}function bo(){return(bo=(0,F.Z)(function*(E,T){const k=T.data;if(!k.isFirebaseMessaging)return;E.onMessageHandler&&k.messageType===ti.PUSH_RECEIVED&&("function"==typeof E.onMessageHandler?E.onMessageHandler(Rs(k)):E.onMessageHandler.next(Rs(k)));const ae=k.data;Zi(ae)&&"1"===ae[ys]&&(yield vi(E,k.messageType,ae))})).apply(this,arguments)}const Ro="@firebase/messaging",lo=E=>{const T=new Oo(E.getProvider("app").getImmediate(),E.getProvider("installations-internal").getImmediate(),E.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",k=>function ts(E,T){return bo.apply(this,arguments)}(T,k)),T},Ii=E=>{const T=E.getProvider("messaging").getImmediate();return{getToken:ae=>function xr(E,T){return zn.apply(this,arguments)}(T,ae)}};function Oi(){return Pi.apply(this,arguments)}function Pi(){return(Pi=(0,F.Z)(function*(){try{yield(0,X.eu)()}catch{return!1}return typeof window<"u"&&(0,X.hl)()&&(0,X.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}!function zo(){(0,W._registerComponent)(new J.wA("messaging",lo,"PUBLIC")),(0,W._registerComponent)(new J.wA("messaging-internal",Ii,"PRIVATE")),(0,W.registerVersion)(Ro,"0.9.19"),(0,W.registerVersion)(Ro,"0.9.19","esm2017")}();const Ji="analytics",Lr="firebase_id",Ds="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",rs="https://www.googletagmanager.com/gtag/js",Dr=new ie.Yd("@firebase/analytics");function Cs(E){return Promise.all(E.map(T=>T.catch(k=>k)))}function ws(E,T){const k=document.createElement("script");k.src=`${rs}?l=${E}&id=${T}`,k.async=!0,document.head.appendChild(k)}function Eo(E,T,k,ae,Oe,ze){return g.apply(this,arguments)}function g(){return(g=(0,F.Z)(function*(E,T,k,ae,Oe,ze){const ut=ae[Oe];try{if(ut)yield T[ut];else{const rn=(yield Cs(k)).find(hn=>hn.measurementId===Oe);rn&&(yield T[rn.appId])}}catch(xt){Dr.error(xt)}E("config",Oe,ze)})).apply(this,arguments)}function A(E,T,k,ae,Oe){return _.apply(this,arguments)}function _(){return(_=(0,F.Z)(function*(E,T,k,ae,Oe){try{let ze=[];if(Oe&&Oe.send_to){let ut=Oe.send_to;Array.isArray(ut)||(ut=[ut]);const xt=yield Cs(k);for(const rn of ut){const hn=xt.find(on=>on.measurementId===rn),_n=hn&&T[hn.appId];if(!_n){ze=[];break}ze.push(_n)}}0===ze.length&&(ze=Object.values(T)),yield Promise.all(ze),E("event",ae,Oe||{})}catch(ze){Dr.error(ze)}})).apply(this,arguments)}function $e(E){const T=window.document.getElementsByTagName("script");for(const k of Object.values(T))if(k.src&&k.src.includes(rs)&&k.src.includes(E))return k;return null}const Dt=new X.LL("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id} already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-intialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.'}),pn=new class Fn{constructor(T={},k=1e3){this.throttleMetadata=T,this.intervalMillis=k}getThrottleMetadata(T){return this.throttleMetadata[T]}setThrottleMetadata(T,k){this.throttleMetadata[T]=k}deleteThrottleMetadata(T){delete this.throttleMetadata[T]}};function lr(E){return new Headers({Accept:"application/json","x-goog-api-key":E})}function Gn(E){return ir.apply(this,arguments)}function ir(){return(ir=(0,F.Z)(function*(E){var T;const{appId:k,apiKey:ae}=E,Oe={method:"GET",headers:lr(ae)},ze=Ds.replace("{app-id}",k),ut=yield fetch(ze,Oe);if(200!==ut.status&&304!==ut.status){let xt="";try{const rn=yield ut.json();null!==(T=rn.error)&&void 0!==T&&T.message&&(xt=rn.error.message)}catch{}throw Dt.create("config-fetch-failed",{httpStatus:ut.status,responseMessage:xt})}return ut.json()})).apply(this,arguments)}function pi(E){return ii.apply(this,arguments)}function ii(){return(ii=(0,F.Z)(function*(E,T=pn,k){const{appId:ae,apiKey:Oe,measurementId:ze}=E.options;if(!ae)throw Dt.create("no-app-id");if(!Oe){if(ze)return{measurementId:ze,appId:ae};throw Dt.create("no-api-key")}const ut=T.getThrottleMetadata(ae)||{backoffCount:0,throttleEndTimeMillis:Date.now()},xt=new uo;return setTimeout((0,F.Z)(function*(){xt.abort()}),void 0!==k?k:6e4),Br({appId:ae,apiKey:Oe,measurementId:ze},ut,xt,T)})).apply(this,arguments)}function Br(E,T,k){return cr.apply(this,arguments)}function cr(){return(cr=(0,F.Z)(function*(E,{throttleEndTimeMillis:T,backoffCount:k},ae,Oe=pn){var ze,ut;const{appId:xt,measurementId:rn}=E;try{yield Ri(ae,T)}catch(hn){if(rn)return Dr.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${rn} provided in the "measurementId" field in the local Firebase config. [${null===(ze=hn)||void 0===ze?void 0:ze.message}]`),{appId:xt,measurementId:rn};throw hn}try{const hn=yield Gn(E);return Oe.deleteThrottleMetadata(xt),hn}catch(hn){const _n=hn;if(!Do(_n)){if(Oe.deleteThrottleMetadata(xt),rn)return Dr.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${rn} provided in the "measurementId" field in the local Firebase config. [${_n?.message}]`),{appId:xt,measurementId:rn};throw hn}const on=503===Number(null===(ut=_n?.customData)||void 0===ut?void 0:ut.httpStatus)?(0,X.$s)(k,Oe.intervalMillis,30):(0,X.$s)(k,Oe.intervalMillis),Di={throttleEndTimeMillis:Date.now()+on,backoffCount:k+1};return Oe.setThrottleMetadata(xt,Di),Dr.debug(`Calling attemptFetch again in ${on} millis`),Br(E,Di,ae,Oe)}})).apply(this,arguments)}function Ri(E,T){return new Promise((k,ae)=>{const Oe=Math.max(T-Date.now(),0),ze=setTimeout(k,Oe);E.addEventListener(()=>{clearTimeout(ze),ae(Dt.create("fetch-throttle",{throttleEndTimeMillis:T}))})})}function Do(E){if(!(E instanceof X.ZR&&E.customData))return!1;const T=Number(E.customData.httpStatus);return 429===T||500===T||503===T||504===T}class uo{constructor(){this.listeners=[]}addEventListener(T){this.listeners.push(T)}abort(){this.listeners.forEach(T=>T())}}let is,Wo;function Go(){return(Go=(0,F.Z)(function*(E,T,k,ae,Oe){if(Oe&&Oe.global)E("event",k,ae);else{const ze=yield T;E("event",k,Object.assign(Object.assign({},ae),{send_to:ze}))}})).apply(this,arguments)}function Ts(E){Wo=E}function ur(E){is=E}function D(){return a.apply(this,arguments)}function a(){return(a=(0,F.Z)(function*(){var E;if(!(0,X.hl)())return Dr.warn(Dt.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,X.eu)()}catch(T){return Dr.warn(Dt.create("indexeddb-unavailable",{errorInfo:null===(E=T)||void 0===E?void 0:E.toString()}).message),!1}return!0})).apply(this,arguments)}function y(){return(y=(0,F.Z)(function*(E,T,k,ae,Oe,ze,ut){var xt;const rn=pi(E);rn.then(ki=>{k[ki.measurementId]=ki.appId,E.options.measurementId&&ki.measurementId!==E.options.measurementId&&Dr.warn(`The measurement ID in the local Firebase config (${E.options.measurementId}) does not match the measurement ID fetched from the server (${ki.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(ki=>Dr.error(ki)),T.push(rn);const hn=D().then(ki=>{if(ki)return ae.getId()}),[_n,on]=yield Promise.all([rn,hn]);$e(ze)||ws(ze,_n.measurementId),Wo&&(Oe("consent","default",Wo),Ts(void 0)),Oe("js",new Date);const Di=null!==(xt=ut?.config)&&void 0!==xt?xt:{};return Di.origin="firebase",Di.update=!0,null!=on&&(Di[Lr]=on),Oe("config",_n.measurementId,Di),is&&(Oe("set",is),ur(void 0)),_n.measurementId})).apply(this,arguments)}class O{constructor(T){this.app=T}_delete(){return delete z[this.app.options.appId],Promise.resolve()}}let z={},me=[];const de={};let vt,St,ke="dataLayer",un=!1;function nn(E,T,k){!function Zt(){const E=[];if((0,X.ru)()&&E.push("This is a browser extension environment."),(0,X.zI)()||E.push("Cookies are not available."),E.length>0){const T=E.map((ae,Oe)=>`(${Oe+1}) ${ae}`).join(" "),k=Dt.create("invalid-analytics-context",{errorInfo:T});Dr.warn(k.message)}}();const ae=E.options.appId;if(!ae)throw Dt.create("no-app-id");if(!E.options.apiKey){if(!E.options.measurementId)throw Dt.create("no-api-key");Dr.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${E.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=z[ae])throw Dt.create("already-exists",{id:ae});if(!un){!function ks(E){let T=[];Array.isArray(window[E])?T=window[E]:window[E]=T}(ke);const{wrappedGtag:ze,gtagCore:ut}=function ne(E,T,k,ae,Oe){let ze=function(...ut){window[ae].push(arguments)};return window[Oe]&&"function"==typeof window[Oe]&&(ze=window[Oe]),window[Oe]=function P(E,T,k,ae){function ze(){return(ze=(0,F.Z)(function*(ut,xt,rn){try{"event"===ut?yield A(E,T,k,xt,rn):"config"===ut?yield Eo(E,T,k,ae,xt,rn):"consent"===ut?E("consent","update",rn):E("set",xt)}catch(hn){Dr.error(hn)}})).apply(this,arguments)}return function Oe(ut,xt,rn){return ze.apply(this,arguments)}}(ze,E,T,k),{gtagCore:ze,wrappedGtag:window[Oe]}}(z,me,de,ke,"gtag");St=ze,vt=ut,un=!0}return z[ae]=function l(E,T,k,ae,Oe,ze,ut){return y.apply(this,arguments)}(E,me,de,T,vt,ke,k),new O(E)}function mr(){return or.apply(this,arguments)}function or(){return(or=(0,F.Z)(function*(){if((0,X.ru)()||!(0,X.zI)()||!(0,X.hl)())return!1;try{return yield(0,X.eu)()}catch{return!1}})).apply(this,arguments)}const Yn="@firebase/analytics";!function Ko(){(0,W._registerComponent)(new J.wA(Ji,(T,{options:k})=>nn(T.getProvider("app").getImmediate(),T.getProvider("installations-internal").getImmediate(),k),"PUBLIC")),(0,W._registerComponent)(new J.wA("analytics-internal",function E(T){try{const k=T.getProvider(Ji).getImmediate();return{logEvent:(ae,Oe,ze)=>function fo(E,T,k,ae){E=(0,X.m9)(E),function os(E,T,k,ae,Oe){return Go.apply(this,arguments)}(St,z[E.app.options.appId],T,k,ae).catch(Oe=>Dr.error(Oe))}(k,ae,Oe,ze)}}catch(k){throw Dt.create("interop-component-reg-failed",{reason:k})}},"PRIVATE")),(0,W.registerVersion)(Yn,"0.8.3"),(0,W.registerVersion)(Yn,"0.8.3","esm2017")}();var Us=v(4408),jt=v(7565);const tn=new class Qt extends jt.v{}(class Gs extends Us.o{constructor(T,k){super(T,k),this.scheduler=T,this.work=k}schedule(T,k=0){return k>0?super.schedule(T,k):(this.delay=k,this.state=T,this.scheduler.flush(this),this)}execute(T,k){return k>0||this.closed?super.execute(T,k):this._execute(T,k)}requestAsyncId(T,k,ae=0){return null!=ae&&ae>0||null==ae&&this.delay>0?super.requestAsyncId(T,k,ae):T.flush(this)}});var Ur=v(4986),no=v(8505),kn=v(9468),bi=v(5363);const Zn=new s.GfV("7.5.0"),Ms="__angularfire_symbol__analyticsIsSupportedValue",d="__angularfire_symbol__analyticsIsSupported",h="__angularfire_symbol__remoteConfigIsSupportedValue",c="__angularfire_symbol__remoteConfigIsSupported",m="__angularfire_symbol__messagingIsSupportedValue",w="__angularfire_symbol__messagingIsSupported";function Ct(E,T,k){if(T){if(1===T.length)return T[0];const ze=T.filter(ut=>ut.app===k);if(1===ze.length)return ze[0]}return k.container.getProvider(E).getImmediate({optional:!0})}globalThis[d]||(globalThis[d]=mr().then(E=>globalThis[Ms]=E).catch(()=>globalThis[Ms]=!1)),globalThis[w]||(globalThis[w]=Oi().then(E=>globalThis[m]=E).catch(()=>globalThis[m]=!1)),globalThis[c]||(globalThis[c]=Mi().then(E=>globalThis[h]=E).catch(()=>globalThis[h]=!1));const Lt=(E,T)=>{const k=T?[T]:(0,f.C6)(),ae=[];return k.forEach(Oe=>{Oe.container.getProvider(E).instances.forEach(ut=>{ae.includes(ut)||ae.push(ut)})}),ae};function Cn(){}class Wr{constructor(T,k=tn){this.zone=T,this.delegate=k}now(){return this.delegate.now()}schedule(T,k,ae){const Oe=this.zone;return this.delegate.schedule(function(ut){Oe.runGuarded(()=>{T.apply(this,[ut])})},k,ae)}}class wo{constructor(T){this.zone=T,this.task=null}call(T,k){const ae=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",Cn,{},Cn,Cn)),k.pipe((0,no.b)({next:ae,complete:ae,error:ae})).subscribe(T).add(ae)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let To=(()=>{class E{constructor(k){this.ngZone=k,this.outsideAngular=k.runOutsideAngular(()=>new Wr(Zone.current)),this.insideAngular=k.run(()=>new Wr(Zone.current,Ur.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return E.\u0275fac=function(k){return new(k||E)(s.LFG(s.R0b))},E.\u0275prov=s.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();function Ei(){const E=globalThis.\u0275AngularFireScheduler;if(!E)throw new Error("Either AngularFireModule has not been provided in your AppModule (this can be done manually or implictly using\nprovideFirebaseApp) or you're calling an AngularFire method outside of an NgModule (which is not supported).");return E}function ia(E){return Ei(),function oa(E){return function(k){return(k=k.lift(new wo(E.ngZone))).pipe((0,kn.R)(E.outsideAngular),(0,bi.Q)(E.insideAngular))}}(Ei())(E)}},2090:(at,be,v)=>{v.d(be,{$s:()=>N,BH:()=>Xt,L:()=>q,LL:()=>rt,Pz:()=>Wt,UG:()=>Ve,US:()=>J,ZB:()=>Y,ZR:()=>Ue,aH:()=>mt,b$:()=>Fe,eu:()=>ge,hl:()=>ce,jU:()=>Ke,m9:()=>Ce,ne:()=>Hn,pd:()=>bn,r3:()=>wt,ru:()=>Ae,tV:()=>Q,uI:()=>Me,vZ:()=>Yt,w1:()=>ve,xO:()=>sn,xb:()=>Pt,z$:()=>Ie,zI:()=>se,zd:()=>$n});const W=function(B){const K=[];let he=0;for(let je=0;je<B.length;je++){let Te=B.charCodeAt(je);Te<128?K[he++]=Te:Te<2048?(K[he++]=Te>>6|192,K[he++]=63&Te|128):55296==(64512&Te)&&je+1<B.length&&56320==(64512&B.charCodeAt(je+1))?(Te=65536+((1023&Te)<<10)+(1023&B.charCodeAt(++je)),K[he++]=Te>>18|240,K[he++]=Te>>12&63|128,K[he++]=Te>>6&63|128,K[he++]=63&Te|128):(K[he++]=Te>>12|224,K[he++]=Te>>6&63|128,K[he++]=63&Te|128)}return K},J={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(B,K){if(!Array.isArray(B))throw Error("encodeByteArray takes an array as a parameter");this.init_();const he=K?this.byteToCharMapWebSafe_:this.byteToCharMap_,je=[];for(let Te=0;Te<B.length;Te+=3){const ct=B[Te],zt=Te+1<B.length,Kt=zt?B[Te+1]:0,Ee=Te+2<B.length,I=Ee?B[Te+2]:0;let $=(15&Kt)<<2|I>>6,ue=63&I;Ee||(ue=64,zt||($=64)),je.push(he[ct>>2],he[(3&ct)<<4|Kt>>4],he[$],he[ue])}return je.join("")},encodeString(B,K){return this.HAS_NATIVE_SUPPORT&&!K?btoa(B):this.encodeByteArray(W(B),K)},decodeString(B,K){return this.HAS_NATIVE_SUPPORT&&!K?atob(B):function(B){const K=[];let he=0,je=0;for(;he<B.length;){const Te=B[he++];if(Te<128)K[je++]=String.fromCharCode(Te);else if(Te>191&&Te<224){const ct=B[he++];K[je++]=String.fromCharCode((31&Te)<<6|63&ct)}else if(Te>239&&Te<365){const Ee=((7&Te)<<18|(63&B[he++])<<12|(63&B[he++])<<6|63&B[he++])-65536;K[je++]=String.fromCharCode(55296+(Ee>>10)),K[je++]=String.fromCharCode(56320+(1023&Ee))}else{const ct=B[he++],zt=B[he++];K[je++]=String.fromCharCode((15&Te)<<12|(63&ct)<<6|63&zt)}}return K.join("")}(this.decodeStringToByteArray(B,K))},decodeStringToByteArray(B,K){this.init_();const he=K?this.charToByteMapWebSafe_:this.charToByteMap_,je=[];for(let Te=0;Te<B.length;){const ct=he[B.charAt(Te++)],Kt=Te<B.length?he[B.charAt(Te)]:0;++Te;const I=Te<B.length?he[B.charAt(Te)]:64;++Te;const S=Te<B.length?he[B.charAt(Te)]:64;if(++Te,null==ct||null==Kt||null==I||null==S)throw Error();je.push(ct<<2|Kt>>4),64!==I&&(je.push(Kt<<4&240|I>>2),64!==S&&je.push(I<<6&192|S))}return je},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let B=0;B<this.ENCODED_VALS.length;B++)this.byteToCharMap_[B]=this.ENCODED_VALS.charAt(B),this.charToByteMap_[this.byteToCharMap_[B]]=B,this.byteToCharMapWebSafe_[B]=this.ENCODED_VALS_WEBSAFE.charAt(B),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[B]]=B,B>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(B)]=B,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(B)]=B)}}},q=function(B){return function(B){const K=W(B);return J.encodeByteArray(K,!0)}(B).replace(/\./g,"")},Q=function(B){try{return J.decodeString(B,!0)}catch(K){console.error("base64Decode failed: ",K)}return null};function Y(B,K){if(!(K instanceof Object))return K;switch(K.constructor){case Date:return new Date(K.getTime());case Object:void 0===B&&(B={});break;case Array:B=[];break;default:return K}for(const he in K)!K.hasOwnProperty(he)||!G(he)||(B[he]=Y(B[he],K[he]));return B}function G(B){return"__proto__"!==B}function Ie(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function Me(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(Ie())}function Ve(){try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function Ke(){return"object"==typeof self&&self.self===self}function Ae(){const B="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof B&&void 0!==B.id}function Fe(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function ve(){const B=Ie();return B.indexOf("MSIE ")>=0||B.indexOf("Trident/")>=0}function ce(){return"object"==typeof indexedDB}function ge(){return new Promise((B,K)=>{try{let he=!0;const je="validate-browser-context-for-indexeddb-analytics-module",Te=self.indexedDB.open(je);Te.onsuccess=()=>{Te.result.close(),he||self.indexedDB.deleteDatabase(je),B(!0)},Te.onupgradeneeded=()=>{he=!1},Te.onerror=()=>{var ct;K((null===(ct=Te.error)||void 0===ct?void 0:ct.message)||"")}}catch(he){K(he)}})}function se(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}const ye=()=>{try{return function pe(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const B=process.env.__FIREBASE_DEFAULTS__;return B?JSON.parse(B):void 0})()||(()=>{if(typeof document>"u")return;let B;try{B=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const K=B&&Q(B[1]);return K&&JSON.parse(K)})()}catch(B){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${B}`)}},mt=()=>{var B;return null===(B=ye())||void 0===B?void 0:B.config},Wt=B=>{var K;return null===(K=ye())||void 0===K?void 0:K[`_${B}`]};class Xt{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((K,he)=>{this.resolve=K,this.reject=he})}wrapCallback(K){return(he,je)=>{he?this.reject(he):this.resolve(je),"function"==typeof K&&(this.promise.catch(()=>{}),1===K.length?K(he):K(he,je))}}}class Ue extends Error{constructor(K,he,je){super(he),this.code=K,this.customData=je,this.name="FirebaseError",Object.setPrototypeOf(this,Ue.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,rt.prototype.create)}}class rt{constructor(K,he,je){this.service=K,this.serviceName=he,this.errors=je}create(K,...he){const je=he[0]||{},Te=`${this.service}/${K}`,ct=this.errors[K],zt=ct?function fe(B,K){return B.replace(Le,(he,je)=>{const Te=K[je];return null!=Te?String(Te):`<${je}?>`})}(ct,je):"Error";return new Ue(Te,`${this.serviceName}: ${zt} (${Te}).`,je)}}const Le=/\{\$([^}]+)}/g;function wt(B,K){return Object.prototype.hasOwnProperty.call(B,K)}function Pt(B){for(const K in B)if(Object.prototype.hasOwnProperty.call(B,K))return!1;return!0}function Yt(B,K){if(B===K)return!0;const he=Object.keys(B),je=Object.keys(K);for(const Te of he){if(!je.includes(Te))return!1;const ct=B[Te],zt=K[Te];if(Tt(ct)&&Tt(zt)){if(!Yt(ct,zt))return!1}else if(ct!==zt)return!1}for(const Te of je)if(!he.includes(Te))return!1;return!0}function Tt(B){return null!==B&&"object"==typeof B}function sn(B){const K=[];for(const[he,je]of Object.entries(B))Array.isArray(je)?je.forEach(Te=>{K.push(encodeURIComponent(he)+"="+encodeURIComponent(Te))}):K.push(encodeURIComponent(he)+"="+encodeURIComponent(je));return K.length?"&"+K.join("&"):""}function $n(B){const K={};return B.replace(/^\?/,"").split("&").forEach(je=>{if(je){const[Te,ct]=je.split("=");K[decodeURIComponent(Te)]=decodeURIComponent(ct)}}),K}function bn(B){const K=B.indexOf("?");if(!K)return"";const he=B.indexOf("#",K);return B.substring(K,he>0?he:void 0)}function Hn(B,K){const he=new Ut(B,K);return he.subscribe.bind(he)}class Ut{constructor(K,he){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=he,this.task.then(()=>{K(this)}).catch(je=>{this.error(je)})}next(K){this.forEachObserver(he=>{he.next(K)})}error(K){this.forEachObserver(he=>{he.error(K)}),this.close(K)}complete(){this.forEachObserver(K=>{K.complete()}),this.close()}subscribe(K,he,je){let Te;if(void 0===K&&void 0===he&&void 0===je)throw new Error("Missing Observer.");Te=function pt(B,K){if("object"!=typeof B||null===B)return!1;for(const he of K)if(he in B&&"function"==typeof B[he])return!0;return!1}(K,["next","error","complete"])?K:{next:K,error:he,complete:je},void 0===Te.next&&(Te.next=Bt),void 0===Te.error&&(Te.error=Bt),void 0===Te.complete&&(Te.complete=Bt);const ct=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?Te.error(this.finalError):Te.complete()}catch{}}),this.observers.push(Te),ct}unsubscribeOne(K){void 0===this.observers||void 0===this.observers[K]||(delete this.observers[K],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(K){if(!this.finalized)for(let he=0;he<this.observers.length;he++)this.sendOne(he,K)}sendOne(K,he){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[K])try{he(this.observers[K])}catch(je){typeof console<"u"&&console.error&&console.error(je)}})}close(K){this.finalized||(this.finalized=!0,void 0!==K&&(this.finalError=K),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function Bt(){}function N(B,K=1e3,he=2){const je=K*Math.pow(he,B),Te=Math.round(.5*je*(Math.random()-.5)*2);return Math.min(144e5,je+Te)}function Ce(B){return B&&B._delegate?B._delegate:B}},1318:(at,be,v)=>{v.d(be,{O:()=>Ae});var s=v(515),f=v(9751),F=v(262),W=v(4986),X=v(1165),J=v(4482),ie=v(8421),q=v(3888),Q=v(5403),j=v(9672);const Y=(0,q.d)(Fe=>function(ve=null){Fe(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=ve});function Ie(Fe){throw new Y(Fe)}var Me=v(4650),Ve=v(529),Ke=v(7185);class Ae{constructor(Pe,ve){this.http=Pe,this.toastr=ve}get(Pe){return this.http.get(Pe).pipe((0,F.K)(ve=>{let De=this.errorMessageHandling(ve);return this.toastr.error(""!=De.message?De.message:"An unknown error has occured!",De.header),s.E}))}post(Pe,ve,De={},H=1e5){return new f.y(le=>{this.http.post(Pe,ve,De).pipe(function G(Fe,Pe){const{first:ve,each:De,with:H=Ie,scheduler:le=Pe??W.z,meta:ce=null}=(0,X.q)(Fe)?{first:Fe}:"number"==typeof Fe?{each:Fe}:Fe;if(null==ve&&null==De)throw new TypeError("No timeout provided.");return(0,J.e)((ge,se)=>{let pe,Z,oe=null,xe=0;const ye=We=>{Z=(0,j.f)(se,le,()=>{try{pe.unsubscribe(),(0,ie.Xf)(H({meta:ce,lastValue:oe,seen:xe})).subscribe(se)}catch(Je){se.error(Je)}},We)};pe=ge.subscribe((0,Q.x)(se,We=>{Z?.unsubscribe(),xe++,se.next(oe=We),De>0&&ye(De)},void 0,void 0,()=>{Z?.closed||Z?.unsubscribe(),oe=null})),!xe&&ye(null!=ve?"number"==typeof ve?ve:+ve-le.now():De)})}(H)).subscribe({next:ce=>{le.next(ce),le.complete()},error:ce=>{if(200==ce.status)le.next(ce.error.text),le.complete();else{if(!this.unauthorizedErrorHandling(ce)&&!Array.isArray(ce?.error?.Message)){let se=this.errorMessageHandling(ce);this.toastr.error(""!=se.message?se.message:"An unknown error has occured!",se.header,{enableHtml:!0})}le.error(ce)}}})})}unauthorizedErrorHandling(Pe){let ve=!1;return 401==Pe.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",ve=!0),ve}errorMessageHandling(Pe){let ve="API Error",De="Exception Message";return Pe.error?(ve="API Error - "+Pe.status,Pe.error.Message&&(De=-1!=Pe.error.Message.indexOf("Message")?JSON.parse(Pe.error.Message).Message:Pe.error.Message)):Pe.message&&(ve="API Error - "+Pe.name,De=Pe.message),{header:ve,message:De}}}Ae.\u0275fac=function(Pe){return new(Pe||Ae)(Me.LFG(Ve.eN),Me.LFG(Ke._W))},Ae.\u0275prov=Me.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})},8002:(at,be,v)=>{v.d(be,{e:()=>f});var s=v(4650);class f{constructor(){}getParseToken(){let W=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(W.Token.access_token)}GetRoles(){return this.getParseToken()["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"]}ParseToken(W){try{const J=W.split(".")[0].replace("-","+").replace("_","/"),ie=JSON.parse(window.atob(J)),Q=W.split(".")[1].replace("-","+").replace("_","/"),j=JSON.parse(window.atob(Q));return j.header=ie,j}catch{return!1}}}f.\u0275fac=function(W){return new(W||f)},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})},2340:(at,be,v)=>{v.d(be,{N:()=>s});const s={production:!0,version:"2.8.4",firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"}}},5059:(at,be,v)=>{var s=v(1481),f=v(4650),F=v(529),W=v(4707);function X(D,a){return(l,y)=>!D.call(a,l,y)}var J=v(9300),ie=v(8421),Q=v(6451),j=v(2805),Y=v(8746),G=v(3900),Ie=v(4482),Me=v(5032),Ve=v(5403);function Ke(D){return(0,Ie.e)((a,l)=>{let y=!1,O=null,z=null;const me=()=>{if(z?.unsubscribe(),z=null,y){y=!1;const de=O;O=null,l.next(de)}};a.subscribe((0,Ve.x)(l,de=>{z?.unsubscribe(),y=!0,O=de,z=(0,Ve.x)(l,me,Me.Z),(0,ie.Xf)(D(de)).subscribe(z)},()=>{me(),l.complete()},void 0,()=>{O=z=null}))})}var Ae=v(1884),Fe=v(8505),Pe=v(6895);function ve(D,a){1&D&&f.GkF(0)}function De(D,a){if(1&D&&f._UZ(0,"sk-cube-grid",4),2&D){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function H(D,a){if(1&D&&f._UZ(0,"sk-chasing-dots",4),2&D){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function le(D,a){if(1&D&&f._UZ(0,"sk-double-bounce",4),2&D){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function ce(D,a){if(1&D&&f._UZ(0,"sk-rotating-plane",4),2&D){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function ge(D,a){if(1&D&&f._UZ(0,"sk-spinner-pulse",4),2&D){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function se(D,a){if(1&D&&f._UZ(0,"sk-three-bounce",4),2&D){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function pe(D,a){if(1&D&&f._UZ(0,"sk-wandering-cubes",4),2&D){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}function Z(D,a){if(1&D&&f._UZ(0,"sk-wave",4),2&D){const l=f.oxw(2);f.Q6J("backgroundColor",l.backgroundColor)}}const oe=function(D){return{"background-color":D}};function xe(D,a){if(1&D&&(f.TgZ(0,"div",1),f.YNc(1,ve,1,0,"ng-container",2),f.YNc(2,De,1,1,"sk-cube-grid",3),f.YNc(3,H,1,1,"sk-chasing-dots",3),f.YNc(4,le,1,1,"sk-double-bounce",3),f.YNc(5,ce,1,1,"sk-rotating-plane",3),f.YNc(6,ge,1,1,"sk-spinner-pulse",3),f.YNc(7,se,1,1,"sk-three-bounce",3),f.YNc(8,pe,1,1,"sk-wandering-cubes",3),f.YNc(9,Z,1,1,"sk-wave",3),f.qZA()),2&D){const l=f.oxw();f.Udp("opacity",l.opacity),f.ekj("backdrop",l.backdrop),f.Q6J("ngStyle",f.VKq(14,oe,l.backdrop?l.backdropBackgroundColor:"transparent")),f.xp6(1),f.Q6J("ngComponentOutlet",l.entryComponent),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skCubeGrid),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skChasingDots),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skDoubleBounce),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skRotatingPlane),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skSpinnerPulse),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skThreeBounce),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skWanderingCubes),f.xp6(1),f.Q6J("ngIf",l.spinner===l.spinkit.skWave)}}let ye=(()=>{class D{}return D.\u0275fac=function(l){return new(l||D)},D.\u0275dir=f.lG2({type:D,inputs:{backgroundColor:"backgroundColor"}}),D})(),We=(()=>{class D extends ye{}return D.\u0275fac=function(){let a;return function(y){return(a||(a=f.n5z(D)))(y||D)}}(),D.\u0275cmp=f.Xpm({type:D,selectors:[["sk-chasing-dots"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(l,y){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&l&&(f.ekj("colored",!y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),D})(),Je=(()=>{class D extends ye{}return D.\u0275fac=function(){let a;return function(y){return(a||(a=f.n5z(D)))(y||D)}}(),D.\u0275cmp=f.Xpm({type:D,selectors:[["sk-cube-grid"]],features:[f.qOj],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(l,y){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),f.qZA()),2&l&&(f.ekj("colored",!y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),D})(),mt=(()=>{class D extends ye{}return D.\u0275fac=function(){let a;return function(y){return(a||(a=f.n5z(D)))(y||D)}}(),D.\u0275cmp=f.Xpm({type:D,selectors:[["sk-double-bounce"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(l,y){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&l&&(f.ekj("colored",!y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),D})(),Wt=(()=>{class D extends ye{}return D.\u0275fac=function(){let a;return function(y){return(a||(a=f.n5z(D)))(y||D)}}(),D.\u0275cmp=f.Xpm({type:D,selectors:[["sk-rotating-plane"]],features:[f.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(l,y){1&l&&f._UZ(0,"div",0),2&l&&f.Udp("background-color",y.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),D})(),Xt=(()=>{class D extends ye{}return D.\u0275fac=function(){let a;return function(y){return(a||(a=f.n5z(D)))(y||D)}}(),D.\u0275cmp=f.Xpm({type:D,selectors:[["sk-spinner-pulse"]],features:[f.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(l,y){1&l&&f._UZ(0,"div",0),2&l&&f.Udp("background-color",y.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),D})(),Rt=(()=>{class D extends ye{}return D.\u0275fac=function(){let a;return function(y){return(a||(a=f.n5z(D)))(y||D)}}(),D.\u0275cmp=f.Xpm({type:D,selectors:[["sk-three-bounce"]],features:[f.qOj],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(l,y){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3),f.qZA()),2&l&&(f.ekj("colored",!y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),D})(),Ot=(()=>{class D extends ye{}return D.\u0275fac=function(){let a;return function(y){return(a||(a=f.n5z(D)))(y||D)}}(),D.\u0275cmp=f.Xpm({type:D,selectors:[["sk-wandering-cubes"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(l,y){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&l&&(f.ekj("colored",!y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),D})(),Ue=(()=>{class D extends ye{}return D.\u0275fac=function(){let a;return function(y){return(a||(a=f.n5z(D)))(y||D)}}(),D.\u0275cmp=f.Xpm({type:D,selectors:[["sk-wave"]],features:[f.qOj],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(l,y){1&l&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),f.qZA()),2&l&&(f.ekj("colored",!y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor),f.xp6(1),f.Udp("background-color",y.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),D})();const rt={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};let Le=(()=>{class D{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new W.t(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(l){this._filteredMethods=l}set filteredHeaders(l){this._filteredHeaders=l}set forceByPass(l){this._forceByPass=l}shouldBypassUrl(l){return this._filteredUrlPatterns.some(y=>y.test(l))}shouldBypassMethod(l){return this._filteredMethods.some(y=>y.toUpperCase()===l.method.toUpperCase())}shouldBypassHeader(l){return this._filteredHeaders.some(y=>l.headers.has(y))}shouldBypass(l){return this._forceByPass||this.shouldBypassUrl(l.urlWithParams)||this.shouldBypassMethod(l)||this.shouldBypassHeader(l)}intercept(l,y){const O=this.shouldBypass(l);return O||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),y.handle(l).pipe((0,Y.x)(()=>{O||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return D.\u0275fac=function(l){return new(l||D)},D.\u0275prov=f.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();const lt=[{provide:F.TP,useExisting:Le,multi:!0}];let $t=(()=>{class D{constructor(l){this.pendingRequestsInterceptor=l,this._visibility$=new W.t(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return D.\u0275fac=function(l){return new(l||D)(f.LFG(Le))},D.\u0275prov=f.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),Ye=(()=>{class D{constructor(l,y){this.pendingRequestsInterceptor=l,this.spinnerVisibility=y,this.spinkit=rt,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=rt.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[l,y]=function q(D,a,l){return[(0,J.h)(a,l)((0,ie.Xf)(D)),(0,J.h)(X(a,l))((0,ie.Xf)(D))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,O=>O);this.isVisible$=(0,Q.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,G.w)(()=>l.pipe(Ke(()=>(0,j.H)(this.debounceDelay))))),l.pipe((0,G.w)(()=>y.pipe(Ke(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Ae.x)(),(0,Fe.b)(O=>this.updateExpirationDelay(O)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(l=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(l)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(l){l&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,j.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return D.\u0275fac=function(l){return new(l||D)(f.Y36(Le),f.Y36($t))},D.\u0275cmp=f.Xpm({type:D,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(l,y){1&l&&(f.YNc(0,xe,10,16,"div",0),f.ALo(1,"async")),2&l&&f.Q6J("ngIf",f.lcZ(1,1,y.isVisible$))},dependencies:[Pe.$G,Pe.O5,Pe.PC,Je,We,mt,Wt,Xt,Rt,Ot,Ue,Pe.Ov],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),D})(),At=(()=>{class D{static forRoot(){return{ngModule:D,providers:[lt]}}}return D.\u0275fac=function(l){return new(l||D)},D.\u0275mod=f.oAB({type:D}),D.\u0275inj=f.cJS({imports:[Pe.ez]}),D})();var te=v(1318),Xe=v(8002),nt=v(284);const wt=[{path:"",loadChildren:()=>Promise.all([v.e(393),v.e(369)]).then(v.bind(v,9369)).then(D=>D.LoginModule)},{path:"menu",loadChildren:()=>Promise.all([v.e(393),v.e(397)]).then(v.bind(v,2397)).then(D=>D.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];class bt{}bt.\u0275fac=function(a){return new(a||bt)},bt.\u0275mod=f.oAB({type:bt}),bt.\u0275inj=f.cJS({imports:[nt.Bz.forRoot(wt,{}),nt.Bz]});var Pt=v(4004),yn=v(5577);class Yt{constructor(a,l,y){this._router=a,this.titleService=l,this.activatedRoute=y}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe((0,J.h)(a=>a instanceof nt.m2)).pipe((0,Pt.U)(()=>this.activatedRoute),(0,Pt.U)(a=>{for(;a.firstChild;)a=a.firstChild;return a}),(0,J.h)(a=>"primary"===a.outlet),(0,yn.z)(a=>a.data)).subscribe(a=>{let l=" | Marketplace";"Dealpos x Marketplace"==a.title&&(l=""),this.titleService.setTitle(a.title+l)})}overrideDateToJsonFunction(){function a(l){return l<10?"0"+l:l}Date.prototype.toJSON=function(){return this.getFullYear()+"-"+a(this.getMonth()+1)+"-"+a(this.getDate())+"T"+a(this.getHours())+":"+a(this.getMinutes())+":"+a(this.getSeconds())+".000"}}}Yt.\u0275fac=function(a){return new(a||Yt)(f.Y36(nt.F0),f.Y36(s.Dx),f.Y36(nt.gz))},Yt.\u0275cmp=f.Xpm({type:Yt,selectors:[["app-root"]],decls:2,vars:0,template:function(a,l){1&a&&f._UZ(0,"router-outlet")(1,"ng-http-loader")},dependencies:[nt.lC,Ye]});var Tt=v(7340);function sn(D){return new f.vHH(3e3,!1)}function $(){return typeof window<"u"&&typeof window.document<"u"}function ue(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Qe(D){switch(D.length){case 0:return new Tt.ZN;case 1:return D[0];default:return new Tt.ZE(D)}}function Mt(D,a,l,y,O=new Map,z=new Map){const me=[],de=[];let ke=-1,it=null;if(y.forEach(vt=>{const St=vt.get("offset"),un=St==ke,dn=un&&it||new Map;vt.forEach((Zt,nn)=>{let Kn=nn,qn=Zt;if("offset"!==nn)switch(Kn=a.normalizePropertyName(Kn,me),qn){case Tt.k1:qn=O.get(nn);break;case Tt.l3:qn=z.get(nn);break;default:qn=a.normalizeStyleValue(nn,Kn,qn,me)}dn.set(Kn,qn)}),un||de.push(dn),it=dn,ke=St}),me.length)throw function Ce(D){return new f.vHH(3502,!1)}();return de}function Mn(D,a,l,y){switch(a){case"start":D.onStart(()=>y(l&&In(l,"start",D)));break;case"done":D.onDone(()=>y(l&&In(l,"done",D)));break;case"destroy":D.onDestroy(()=>y(l&&In(l,"destroy",D)))}}function In(D,a,l){const z=Cr(D.element,D.triggerName,D.fromState,D.toState,a||D.phaseName,l.totalTime??D.totalTime,!!l.disabled),me=D._data;return null!=me&&(z._data=me),z}function Cr(D,a,l,y,O="",z=0,me){return{element:D,triggerName:a,fromState:l,toState:y,phaseName:O,totalTime:z,disabled:!!me}}function On(D,a,l){let y=D.get(a);return y||D.set(a,y=l),y}function qr(D){const a=D.indexOf(":");return[D.substring(1,a),D.slice(a+1)]}let si=(D,a)=>!1,oo=(D,a,l)=>[],Ui=null;function Hr(D){const a=D.parentNode||D.host;return a===Ui?null:a}(ue()||typeof Element<"u")&&($()?(Ui=(()=>document.documentElement)(),si=(D,a)=>{for(;a;){if(a===D)return!0;a=Hr(a)}return!1}):si=(D,a)=>D.contains(a),oo=(D,a,l)=>{if(l)return Array.from(D.querySelectorAll(a));const y=D.querySelector(a);return y?[y]:[]});let Ln=null,dr=!1;const Et=si,Jt=oo;let fr=(()=>{class D{validateStyleProperty(l){return function er(D){Ln||(Ln=function Ir(){return typeof document<"u"?document.body:null}()||{},dr=!!Ln.style&&"WebkitAppearance"in Ln.style);let a=!0;return Ln.style&&!function Dn(D){return"ebkit"==D.substring(1,6)}(D)&&(a=D in Ln.style,!a&&dr&&(a="Webkit"+D.charAt(0).toUpperCase()+D.slice(1)in Ln.style)),a}(l)}matchesElement(l,y){return!1}containsElement(l,y){return Et(l,y)}getParentElement(l){return Hr(l)}query(l,y,O){return Jt(l,y,O)}computeStyle(l,y,O){return O||""}animate(l,y,O,z,me,de=[],ke){return new Tt.ZN(O,z)}}return D.\u0275fac=function(l){return new(l||D)},D.\u0275prov=f.Yz7({token:D,factory:D.\u0275fac}),D})(),wr=(()=>{class D{}return D.NOOP=new fr,D})();const Or="ng-enter",Tr="ng-leave",an="ng-trigger",Ci=".ng-trigger",wi="ng-animating",ji=".ng-animating";function nr(D){if("number"==typeof D)return D;const a=D.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:hr(parseFloat(a[1]),a[2])}function hr(D,a){return"s"===a?1e3*D:D}function gi(D,a,l){return D.hasOwnProperty("duration")?D:function fi(D,a,l){let O,z=0,me="";if("string"==typeof D){const de=D.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===de)return a.push(sn()),{duration:0,delay:0,easing:""};O=hr(parseFloat(de[1]),de[2]);const ke=de[3];null!=ke&&(z=hr(parseFloat(ke),de[4]));const it=de[5];it&&(me=it)}else O=D;if(!l){let de=!1,ke=a.length;O<0&&(a.push(function $n(){return new f.vHH(3100,!1)}()),de=!0),z<0&&(a.push(function bn(){return new f.vHH(3101,!1)}()),de=!0),de&&a.splice(ke,0,sn())}return{duration:O,delay:z,easing:me}}(D,a,l)}function Mr(D,a={}){return Object.keys(D).forEach(l=>{a[l]=D[l]}),a}function hi(D){const a=new Map;return Object.keys(D).forEach(l=>{a.set(l,D[l])}),a}function pr(D,a=new Map,l){if(l)for(let[y,O]of l)a.set(y,O);for(let[y,O]of D)a.set(y,O);return a}function Ti(D,a,l){return l?a+":"+l+";":""}function Bo(D){let a="";for(let l=0;l<D.style.length;l++){const y=D.style.item(l);a+=Ti(0,y,D.style.getPropertyValue(y))}for(const l in D.style)D.style.hasOwnProperty(l)&&!l.startsWith("_")&&(a+=Ti(0,Rr(l),D.style[l]));D.setAttribute("style",a)}function Pr(D,a,l){D.style&&(a.forEach((y,O)=>{const z=zi(O);l&&!l.has(O)&&l.set(O,D.style[z]),D.style[z]=y}),ue()&&Bo(D))}function Yr(D,a){D.style&&(a.forEach((l,y)=>{const O=zi(y);D.style[O]=""}),ue()&&Bo(D))}function gr(D){return Array.isArray(D)?1==D.length?D[0]:(0,Tt.vP)(D):D}const po=new RegExp("{{\\s*(.+?)\\s*}}","g");function vr(D){let a=[];if("string"==typeof D){let l;for(;l=po.exec(D);)a.push(l[1]);po.lastIndex=0}return a}function Wn(D,a,l){const y=D.toString(),O=y.replace(po,(z,me)=>{let de=a[me];return null==de&&(l.push(function Hn(D){return new f.vHH(3003,!1)}()),de=""),de.toString()});return O==y?D:O}function ei(D){const a=[];let l=D.next();for(;!l.done;)a.push(l.value),l=D.next();return a}const Vi=/-+([a-z0-9])/g;function zi(D){return D.replace(Vi,(...a)=>a[1].toUpperCase())}function Rr(D){return D.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Fr(D,a,l){switch(a.type){case 7:return D.visitTrigger(a,l);case 0:return D.visitState(a,l);case 1:return D.visitTransition(a,l);case 2:return D.visitSequence(a,l);case 3:return D.visitGroup(a,l);case 4:return D.visitAnimate(a,l);case 5:return D.visitKeyframes(a,l);case 6:return D.visitStyle(a,l);case 8:return D.visitReference(a,l);case 9:return D.visitAnimateChild(a,l);case 10:return D.visitAnimateRef(a,l);case 11:return D.visitQuery(a,l);case 12:return D.visitStagger(a,l);default:throw function Ut(D){return new f.vHH(3004,!1)}()}}function Si(D,a){return window.getComputedStyle(D)[a]}function _e(D,a){const l=[];return"string"==typeof D?D.split(/\s*,\s*/).forEach(y=>function we(D,a,l){if(":"==D[0]){const ke=function Be(D,a){switch(D){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,y)=>parseFloat(y)>parseFloat(l);case":decrement":return(l,y)=>parseFloat(y)<parseFloat(l);default:return a.push(function re(D){return new f.vHH(3016,!1)}()),"* => *"}}(D,l);if("function"==typeof ke)return void a.push(ke);D=ke}const y=D.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return l.push(function ft(D){return new f.vHH(3015,!1)}()),a;const O=y[1],z=y[2],me=y[3];a.push(_t(O,me));"<"==z[0]&&!("*"==O&&"*"==me)&&a.push(_t(me,O))}(y,l,a)):l.push(D),l}const tt=new Set(["true","1"]),dt=new Set(["false","0"]);function _t(D,a){const l=tt.has(D)||dt.has(D),y=tt.has(a)||dt.has(a);return(O,z)=>{let me="*"==D||D==O,de="*"==a||a==z;return!me&&l&&"boolean"==typeof O&&(me=O?tt.has(D):dt.has(D)),!de&&y&&"boolean"==typeof z&&(de=z?tt.has(a):dt.has(a)),me&&de}}const jn=new RegExp("s*:selfs*,?","g");function ln(D,a,l,y){return new Nr(D).build(a,l,y)}class Nr{constructor(a){this._driver=a}build(a,l,y){const O=new li(l);return this._resetContextStyleTimingState(O),Fr(this,gr(a),O)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,l){let y=l.queryCount=0,O=l.depCount=0;const z=[],me=[];return"@"==a.name.charAt(0)&&l.errors.push(function pt(){return new f.vHH(3006,!1)}()),a.definitions.forEach(de=>{if(this._resetContextStyleTimingState(l),0==de.type){const ke=de,it=ke.name;it.toString().split(/\s*,\s*/).forEach(vt=>{ke.name=vt,z.push(this.visitState(ke,l))}),ke.name=it}else if(1==de.type){const ke=this.visitTransition(de,l);y+=ke.queryCount,O+=ke.depCount,me.push(ke)}else l.errors.push(function Bt(){return new f.vHH(3007,!1)}())}),{type:7,name:a.name,states:z,transitions:me,queryCount:y,depCount:O,options:null}}visitState(a,l){const y=this.visitStyle(a.styles,l),O=a.options&&a.options.params||null;if(y.containsDynamicStyles){const z=new Set,me=O||{};y.styles.forEach(de=>{de instanceof Map&&de.forEach(ke=>{vr(ke).forEach(it=>{me.hasOwnProperty(it)||z.add(it)})})}),z.size&&(ei(z.values()),l.errors.push(function Ge(D,a){return new f.vHH(3008,!1)}()))}return{type:0,name:a.name,style:y,options:O?{params:O}:null}}visitTransition(a,l){l.queryCount=0,l.depCount=0;const y=Fr(this,gr(a.animation),l);return{type:1,matchers:_e(a.expr,l.errors),animation:y,queryCount:l.queryCount,depCount:l.depCount,options:jr(a.options)}}visitSequence(a,l){return{type:2,steps:a.steps.map(y=>Fr(this,y,l)),options:jr(a.options)}}visitGroup(a,l){const y=l.currentTime;let O=0;const z=a.steps.map(me=>{l.currentTime=y;const de=Fr(this,me,l);return O=Math.max(O,l.currentTime),de});return l.currentTime=O,{type:3,steps:z,options:jr(a.options)}}visitAnimate(a,l){const y=function mi(D,a){if(D.hasOwnProperty("duration"))return D;if("number"==typeof D)return Ki(gi(D,a).duration,0,"");const l=D;if(l.split(/\s+/).some(z=>"{"==z.charAt(0)&&"{"==z.charAt(1))){const z=Ki(0,0,"");return z.dynamic=!0,z.strValue=l,z}const O=gi(l,a);return Ki(O.duration,O.delay,O.easing)}(a.timings,l.errors);l.currentAnimateTimings=y;let O,z=a.styles?a.styles:(0,Tt.oB)({});if(5==z.type)O=this.visitKeyframes(z,l);else{let me=a.styles,de=!1;if(!me){de=!0;const it={};y.easing&&(it.easing=y.easing),me=(0,Tt.oB)(it)}l.currentTime+=y.duration+y.delay;const ke=this.visitStyle(me,l);ke.isEmptyStep=de,O=ke}return l.currentAnimateTimings=null,{type:4,timings:y,style:O,options:null}}visitStyle(a,l){const y=this._makeStyleAst(a,l);return this._validateStyleAst(y,l),y}_makeStyleAst(a,l){const y=[],O=Array.isArray(a.styles)?a.styles:[a.styles];for(let de of O)"string"==typeof de?de===Tt.l3?y.push(de):l.errors.push(new f.vHH(3002,!1)):y.push(hi(de));let z=!1,me=null;return y.forEach(de=>{if(de instanceof Map&&(de.has("easing")&&(me=de.get("easing"),de.delete("easing")),!z))for(let ke of de.values())if(ke.toString().indexOf("{{")>=0){z=!0;break}}),{type:6,styles:y,easing:me,offset:a.offset,containsDynamicStyles:z,options:null}}_validateStyleAst(a,l){const y=l.currentAnimateTimings;let O=l.currentTime,z=l.currentTime;y&&z>0&&(z-=y.duration+y.delay),a.styles.forEach(me=>{"string"!=typeof me&&me.forEach((de,ke)=>{const it=l.collectedStyles.get(l.currentQuerySelector),vt=it.get(ke);let St=!0;vt&&(z!=O&&z>=vt.startTime&&O<=vt.endTime&&(l.errors.push(function qe(D,a,l,y,O){return new f.vHH(3010,!1)}()),St=!1),z=vt.startTime),St&&it.set(ke,{startTime:z,endTime:O}),l.options&&function yr(D,a,l){const y=a.params||{},O=vr(D);O.length&&O.forEach(z=>{y.hasOwnProperty(z)||l.push(function wn(D){return new f.vHH(3001,!1)}())})}(de,l.options,l.errors)})})}visitKeyframes(a,l){const y={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Vt(){return new f.vHH(3011,!1)}()),y;let z=0;const me=[];let de=!1,ke=!1,it=0;const vt=a.steps.map(qn=>{const mr=this._makeStyleAst(qn,l);let or=null!=mr.offset?mr.offset:function so(D){if("string"==typeof D)return null;let a=null;if(Array.isArray(D))D.forEach(l=>{if(l instanceof Map&&l.has("offset")){const y=l;a=parseFloat(y.get("offset")),y.delete("offset")}});else if(D instanceof Map&&D.has("offset")){const l=D;a=parseFloat(l.get("offset")),l.delete("offset")}return a}(mr.styles),sr=0;return null!=or&&(z++,sr=mr.offset=or),ke=ke||sr<0||sr>1,de=de||sr<it,it=sr,me.push(sr),mr});ke&&l.errors.push(function kt(){return new f.vHH(3012,!1)}()),de&&l.errors.push(function Qn(){return new f.vHH(3200,!1)}());const St=a.steps.length;let un=0;z>0&&z<St?l.errors.push(function Ht(){return new f.vHH(3202,!1)}()):0==z&&(un=1/(St-1));const dn=St-1,Zt=l.currentTime,nn=l.currentAnimateTimings,Kn=nn.duration;return vt.forEach((qn,mr)=>{const or=un>0?mr==dn?1:un*mr:me[mr],sr=or*Kn;l.currentTime=Zt+nn.delay+sr,nn.duration=sr,this._validateStyleAst(qn,l),qn.offset=or,y.styles.push(qn)}),y}visitReference(a,l){return{type:8,animation:Fr(this,gr(a.animation),l),options:jr(a.options)}}visitAnimateChild(a,l){return l.depCount++,{type:9,options:jr(a.options)}}visitAnimateRef(a,l){return{type:10,animation:this.visitReference(a.animation,l),options:jr(a.options)}}visitQuery(a,l){const y=l.currentQuerySelector,O=a.options||{};l.queryCount++,l.currentQuery=a;const[z,me]=function Ai(D){const a=!!D.split(/\s*,\s*/).find(l=>":self"==l);return a&&(D=D.replace(jn,"")),D=D.replace(/@\*/g,Ci).replace(/@\w+/g,l=>Ci+"-"+l.slice(1)).replace(/:animating/g,ji),[D,a]}(a.selector);l.currentQuerySelector=y.length?y+" "+z:z,On(l.collectedStyles,l.currentQuerySelector,new Map);const de=Fr(this,gr(a.animation),l);return l.currentQuery=null,l.currentQuerySelector=y,{type:11,selector:z,limit:O.limit||0,optional:!!O.optional,includeSelf:me,animation:de,originalSelector:a.selector,options:jr(a.options)}}visitStagger(a,l){l.currentQuery||l.errors.push(function An(){return new f.vHH(3013,!1)}());const y="full"===a.timings?{duration:0,delay:0,easing:"full"}:gi(a.timings,l.errors,!0);return{type:12,animation:Fr(this,gr(a.animation),l),timings:y,options:null}}}class li{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function jr(D){return D?(D=Mr(D)).params&&(D.params=function ai(D){return D?Mr(D):null}(D.params)):D={},D}function Ki(D,a,l){return{duration:D,delay:a,easing:l}}function Sr(D,a,l,y,O,z,me=null,de=!1){return{type:1,element:D,keyframes:a,preStyleProps:l,postStyleProps:y,duration:O,delay:z,totalTime:O+z,easing:me,subTimeline:de}}class ni{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,l){let y=this._map.get(a);y||this._map.set(a,y=[]),y.push(...l)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const ri=new RegExp(":enter","g"),xo=new RegExp(":leave","g");function Zr(D,a,l,y,O,z=new Map,me=new Map,de,ke,it=[]){return(new br).buildKeyframes(D,a,l,y,O,z,me,de,ke,it)}class br{buildKeyframes(a,l,y,O,z,me,de,ke,it,vt=[]){it=it||new ni;const St=new Yi(a,l,it,O,z,vt,[]);St.options=ke;const un=ke.delay?nr(ke.delay):0;St.currentTimeline.delayNextStep(un),St.currentTimeline.setStyles([me],null,St.errors,ke),Fr(this,y,St);const dn=St.timelines.filter(Zt=>Zt.containsAnimation());if(dn.length&&de.size){let Zt;for(let nn=dn.length-1;nn>=0;nn--){const Kn=dn[nn];if(Kn.element===l){Zt=Kn;break}}Zt&&!Zt.allowOnlyTimelineStyles()&&Zt.setStyles([de],null,St.errors,ke)}return dn.length?dn.map(Zt=>Zt.buildKeyframes()):[Sr(l,[],[],[],0,un,"",!1)]}visitTrigger(a,l){}visitState(a,l){}visitTransition(a,l){}visitAnimateChild(a,l){const y=l.subInstructions.get(l.element);if(y){const O=l.createSubContext(a.options),z=l.currentTimeline.currentTime,me=this._visitSubInstructions(y,O,O.options);z!=me&&l.transformIntoNewTimeline(me)}l.previousNode=a}visitAnimateRef(a,l){const y=l.createSubContext(a.options);y.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],l,y),this.visitReference(a.animation,y),l.transformIntoNewTimeline(y.currentTimeline.currentTime),l.previousNode=a}_applyAnimationRefDelays(a,l,y){for(const O of a){const z=O?.delay;if(z){const me="number"==typeof z?z:nr(Wn(z,O?.params??{},l.errors));y.delayNextStep(me)}}}_visitSubInstructions(a,l,y){let z=l.currentTimeline.currentTime;const me=null!=y.duration?nr(y.duration):null,de=null!=y.delay?nr(y.delay):null;return 0!==me&&a.forEach(ke=>{const it=l.appendInstructionToTimeline(ke,me,de);z=Math.max(z,it.duration+it.delay)}),z}visitReference(a,l){l.updateOptions(a.options,!0),Fr(this,a.animation,l),l.previousNode=a}visitSequence(a,l){const y=l.subContextCount;let O=l;const z=a.options;if(z&&(z.params||z.delay)&&(O=l.createSubContext(z),O.transformIntoNewTimeline(),null!=z.delay)){6==O.previousNode.type&&(O.currentTimeline.snapshotCurrentStyles(),O.previousNode=ao);const me=nr(z.delay);O.delayNextStep(me)}a.steps.length&&(a.steps.forEach(me=>Fr(this,me,O)),O.currentTimeline.applyStylesToKeyframe(),O.subContextCount>y&&O.transformIntoNewTimeline()),l.previousNode=a}visitGroup(a,l){const y=[];let O=l.currentTimeline.currentTime;const z=a.options&&a.options.delay?nr(a.options.delay):0;a.steps.forEach(me=>{const de=l.createSubContext(a.options);z&&de.delayNextStep(z),Fr(this,me,de),O=Math.max(O,de.currentTimeline.currentTime),y.push(de.currentTimeline)}),y.forEach(me=>l.currentTimeline.mergeTimelineCollectedStyles(me)),l.transformIntoNewTimeline(O),l.previousNode=a}_visitTiming(a,l){if(a.dynamic){const y=a.strValue;return gi(l.params?Wn(y,l.params,l.errors):y,l.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,l){const y=l.currentAnimateTimings=this._visitTiming(a.timings,l),O=l.currentTimeline;y.delay&&(l.incrementTime(y.delay),O.snapshotCurrentStyles());const z=a.style;5==z.type?this.visitKeyframes(z,l):(l.incrementTime(y.duration),this.visitStyle(z,l),O.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=a}visitStyle(a,l){const y=l.currentTimeline,O=l.currentAnimateTimings;!O&&y.hasCurrentStyleProperties()&&y.forwardFrame();const z=O&&O.easing||a.easing;a.isEmptyStep?y.applyEmptyStep(z):y.setStyles(a.styles,z,l.errors,l.options),l.previousNode=a}visitKeyframes(a,l){const y=l.currentAnimateTimings,O=l.currentTimeline.duration,z=y.duration,de=l.createSubContext().currentTimeline;de.easing=y.easing,a.styles.forEach(ke=>{de.forwardTime((ke.offset||0)*z),de.setStyles(ke.styles,ke.easing,l.errors,l.options),de.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(de),l.transformIntoNewTimeline(O+z),l.previousNode=a}visitQuery(a,l){const y=l.currentTimeline.currentTime,O=a.options||{},z=O.delay?nr(O.delay):0;z&&(6===l.previousNode.type||0==y&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=ao);let me=y;const de=l.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!O.optional,l.errors);l.currentQueryTotal=de.length;let ke=null;de.forEach((it,vt)=>{l.currentQueryIndex=vt;const St=l.createSubContext(a.options,it);z&&St.delayNextStep(z),it===l.element&&(ke=St.currentTimeline),Fr(this,a.animation,St),St.currentTimeline.applyStylesToKeyframe(),me=Math.max(me,St.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(me),ke&&(l.currentTimeline.mergeTimelineCollectedStyles(ke),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=a}visitStagger(a,l){const y=l.parentContext,O=l.currentTimeline,z=a.timings,me=Math.abs(z.duration),de=me*(l.currentQueryTotal-1);let ke=me*l.currentQueryIndex;switch(z.duration<0?"reverse":z.easing){case"reverse":ke=de-ke;break;case"full":ke=y.currentStaggerTime}const vt=l.currentTimeline;ke&&vt.delayNextStep(ke);const St=vt.currentTime;Fr(this,a.animation,l),l.previousNode=a,y.currentStaggerTime=O.currentTime-St+(O.startTime-y.currentTimeline.startTime)}}const ao={};class Yi{constructor(a,l,y,O,z,me,de,ke){this._driver=a,this.element=l,this.subInstructions=y,this._enterClassName=O,this._leaveClassName=z,this.errors=me,this.timelines=de,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ao,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ke||new Qr(this._driver,l,0),de.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,l){if(!a)return;const y=a;let O=this.options;null!=y.duration&&(O.duration=nr(y.duration)),null!=y.delay&&(O.delay=nr(y.delay));const z=y.params;if(z){let me=O.params;me||(me=this.options.params={}),Object.keys(z).forEach(de=>{(!l||!me.hasOwnProperty(de))&&(me[de]=Wn(z[de],me,this.errors))})}}_copyOptions(){const a={};if(this.options){const l=this.options.params;if(l){const y=a.params={};Object.keys(l).forEach(O=>{y[O]=l[O]})}}return a}createSubContext(a=null,l,y){const O=l||this.element,z=new Yi(this._driver,O,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(O,y||0));return z.previousNode=this.previousNode,z.currentAnimateTimings=this.currentAnimateTimings,z.options=this._copyOptions(),z.updateOptions(a),z.currentQueryIndex=this.currentQueryIndex,z.currentQueryTotal=this.currentQueryTotal,z.parentContext=this,this.subContextCount++,z}transformIntoNewTimeline(a){return this.previousNode=ao,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,l,y){const O={duration:l??a.duration,delay:this.currentTimeline.currentTime+(y??0)+a.delay,easing:""},z=new kr(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,O,a.stretchStartingKeyframe);return this.timelines.push(z),O}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,l,y,O,z,me){let de=[];if(O&&de.push(this.element),a.length>0){a=(a=a.replace(ri,"."+this._enterClassName)).replace(xo,"."+this._leaveClassName);let it=this._driver.query(this.element,a,1!=y);0!==y&&(it=y<0?it.slice(it.length+y,it.length):it.slice(0,y)),de.push(...it)}return!z&&0==de.length&&me.push(function Xn(D){return new f.vHH(3014,!1)}()),de}}class Qr{constructor(a,l,y,O){this._driver=a,this.element=l,this.startTime=y,this._elementTimelineStylesLookup=O,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),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.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+a),l&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,l){return this.applyStylesToKeyframe(),new Qr(this._driver,a,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,l){this._localTimelineStyles.set(a,l),this._globalTimelineStyles.set(a,l),this._styleSummary.set(a,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[l,y]of this._globalTimelineStyles)this._backFill.set(l,y||Tt.l3),this._currentKeyframe.set(l,Tt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,l,y,O){l&&this._previousKeyframe.set("easing",l);const z=O&&O.params||{},me=function yi(D,a){const l=new Map;let y;return D.forEach(O=>{if("*"===O){y=y||a.keys();for(let z of y)l.set(z,Tt.l3)}else pr(O,l)}),l}(a,this._globalTimelineStyles);for(let[de,ke]of me){const it=Wn(ke,z,y);this._pendingStyles.set(de,it),this._localTimelineStyles.has(de)||this._backFill.set(de,this._globalTimelineStyles.get(de)??Tt.l3),this._updateStyle(de,it)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,l)=>{this._currentKeyframe.set(l,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,a)}))}snapshotCurrentStyles(){for(let[a,l]of this._localTimelineStyles)this._pendingStyles.set(a,l),this._updateStyle(a,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let l in this._currentKeyframe)a.push(l);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((l,y)=>{const O=this._styleSummary.get(y);(!O||l.time>O.time)&&this._updateStyle(y,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,l=new Set,y=1===this._keyframes.size&&0===this.duration;let O=[];this._keyframes.forEach((de,ke)=>{const it=pr(de,new Map,this._backFill);it.forEach((vt,St)=>{vt===Tt.k1?a.add(St):vt===Tt.l3&&l.add(St)}),y||it.set("offset",ke/this.duration),O.push(it)});const z=a.size?ei(a.values()):[],me=l.size?ei(l.values()):[];if(y){const de=O[0],ke=new Map(de);de.set("offset",0),ke.set("offset",1),O=[de,ke]}return Sr(this.element,O,z,me,this.duration,this.startTime,this.easing,!1)}}class kr extends Qr{constructor(a,l,y,O,z,me,de=!1){super(a,l,me.delay),this.keyframes=y,this.preStyleProps=O,this.postStyleProps=z,this._stretchStartingKeyframe=de,this.timings={duration:me.duration,delay:me.delay,easing:me.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:l,duration:y,easing:O}=this.timings;if(this._stretchStartingKeyframe&&l){const z=[],me=y+l,de=l/me,ke=pr(a[0]);ke.set("offset",0),z.push(ke);const it=pr(a[0]);it.set("offset",Uo(de)),z.push(it);const vt=a.length-1;for(let St=1;St<=vt;St++){let un=pr(a[St]);const dn=un.get("offset");un.set("offset",Uo((l+dn*y)/me)),z.push(un)}y=me,l=0,O="",a=z}return Sr(this.element,a,this.preStyleProps,this.postStyleProps,y,l,O,!0)}}function Uo(D,a=3){const l=Math.pow(10,a-1);return Math.round(D*l)/l}class ci{}const _i=new Set(["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"]);class en extends ci{normalizePropertyName(a,l){return zi(a)}normalizeStyleValue(a,l,y,O){let z="";const me=y.toString().trim();if(_i.has(l)&&0!==y&&"0"!==y)if("number"==typeof y)z="px";else{const de=y.match(/^[+-]?[\d\.]+([a-z]*)$/);de&&0==de[1].length&&O.push(function Nt(D,a){return new f.vHH(3005,!1)}())}return me+z}}function _o(D,a,l,y,O,z,me,de,ke,it,vt,St,un){return{type:0,element:D,triggerName:a,isRemovalTransition:O,fromState:l,fromStyles:z,toState:y,toStyles:me,timelines:de,queriedElements:ke,preStyleProps:it,postStyleProps:vt,totalTime:St,errors:un}}const qo={};class Io{constructor(a,l,y){this._triggerName=a,this.ast=l,this._stateStyles=y}match(a,l,y,O){return function Ho(D,a,l,y,O){return D.some(z=>z(a,l,y,O))}(this.ast.matchers,a,l,y,O)}buildStyles(a,l,y){let O=this._stateStyles.get("*");return void 0!==a&&(O=this._stateStyles.get(a?.toString())||O),O?O.buildStyles(l,y):new Map}build(a,l,y,O,z,me,de,ke,it,vt){const St=[],un=this.ast.options&&this.ast.options.params||qo,Zt=this.buildStyles(y,de&&de.params||qo,St),nn=ke&&ke.params||qo,Kn=this.buildStyles(O,nn,St),qn=new Set,mr=new Map,or=new Map,sr="void"===O,Fi={params:es(nn,un),delay:this.ast.options?.delay},Ni=vt?[]:Zr(a,l,this.ast.animation,z,me,Zt,Kn,Fi,it,St);let Gr=0;if(Ni.forEach(fo=>{Gr=Math.max(fo.duration+fo.delay,Gr)}),St.length)return _o(l,this._triggerName,y,O,sr,Zt,Kn,[],[],mr,or,Gr,St);Ni.forEach(fo=>{const Co=fo.element,Yn=On(mr,Co,new Set);fo.preStyleProps.forEach(Ko=>Yn.add(Ko));const to=On(or,Co,new Set);fo.postStyleProps.forEach(Ko=>to.add(Ko)),Co!==l&&qn.add(Co)});const oi=ei(qn.values());return _o(l,this._triggerName,y,O,sr,Zt,Kn,Ni,oi,mr,or,Gr)}}function es(D,a){const l=Mr(a);for(const y in D)D.hasOwnProperty(y)&&null!=D[y]&&(l[y]=D[y]);return l}class Rs{constructor(a,l,y){this.styles=a,this.defaultParams=l,this.normalizer=y}buildStyles(a,l){const y=new Map,O=Mr(this.defaultParams);return Object.keys(a).forEach(z=>{const me=a[z];null!==me&&(O[z]=me)}),this.styles.styles.forEach(z=>{"string"!=typeof z&&z.forEach((me,de)=>{me&&(me=Wn(me,O,l));const ke=this.normalizer.normalizePropertyName(de,l);me=this.normalizer.normalizeStyleValue(de,ke,me,l),y.set(de,me)})}),y}}class et{constructor(a,l,y){this.name=a,this.ast=l,this._normalizer=y,this.transitionFactories=[],this.states=new Map,l.states.forEach(O=>{this.states.set(O.name,new Rs(O.style,O.options&&O.options.params||{},y))}),Zi(this.states,"true","1"),Zi(this.states,"false","0"),l.transitions.forEach(O=>{this.transitionFactories.push(new Io(a,O,this.states))}),this.fallbackTransition=function mn(D,a,l){return new Io(D,{type:1,animation:{type:2,steps:[],options:null},matchers:[(me,de)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,l,y,O){return this.transitionFactories.find(me=>me.match(a,l,y,O))||null}matchStyles(a,l,y){return this.fallbackTransition.buildStyles(a,l,y)}}function Zi(D,a,l){D.has(a)?D.has(l)||D.set(l,D.get(a)):D.has(l)&&D.set(a,D.get(l))}const jo=new ni;class Er{constructor(a,l,y){this.bodyNode=a,this._driver=l,this._normalizer=y,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,l){const y=[],z=ln(this._driver,l,y,[]);if(y.length)throw function B(D){return new f.vHH(3503,!1)}();this._animations.set(a,z)}_buildPlayer(a,l,y){const O=a.element,z=Mt(0,this._normalizer,0,a.keyframes,l,y);return this._driver.animate(O,z,a.duration,a.delay,a.easing,[],!0)}create(a,l,y={}){const O=[],z=this._animations.get(a);let me;const de=new Map;if(z?(me=Zr(this._driver,l,z,Or,Tr,new Map,new Map,y,jo,O),me.forEach(vt=>{const St=On(de,vt.element,new Map);vt.postStyleProps.forEach(un=>St.set(un,null))})):(O.push(function K(){return new f.vHH(3300,!1)}()),me=[]),O.length)throw function he(D){return new f.vHH(3504,!1)}();de.forEach((vt,St)=>{vt.forEach((un,dn)=>{vt.set(dn,this._driver.computeStyle(St,dn,Tt.l3))})});const it=Qe(me.map(vt=>{const St=de.get(vt.element);return this._buildPlayer(vt,new Map,St)}));return this._playersById.set(a,it),it.onDestroy(()=>this.destroy(a)),this.players.push(it),it}destroy(a){const l=this._getPlayer(a);l.destroy(),this._playersById.delete(a);const y=this.players.indexOf(l);y>=0&&this.players.splice(y,1)}_getPlayer(a){const l=this._playersById.get(a);if(!l)throw function je(D){return new f.vHH(3301,!1)}();return l}listen(a,l,y,O){const z=Cr(l,"","","");return Mn(this._getPlayer(a),y,z,O),()=>{}}command(a,l,y,O){if("register"==y)return void this.register(a,O[0]);if("create"==y)return void this.create(a,l,O[0]||{});const z=this._getPlayer(a);switch(y){case"play":z.play();break;case"pause":z.pause();break;case"reset":z.reset();break;case"restart":z.restart();break;case"finish":z.finish();break;case"init":z.init();break;case"setPosition":z.setPosition(parseFloat(O[0]));break;case"destroy":this.destroy(a)}}}const vo="ng-animate-queued",$r="ng-animate-disabled",vs=[],Qi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},zn="__ng_removed";class vi{get params(){return this.options.params}constructor(a,l=""){this.namespaceId=l;const y=a&&a.hasOwnProperty("value");if(this.value=function lo(D){return D??null}(y?a.value:a),y){const z=Mr(a);delete z.value,this.options=z}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const l=a.params;if(l){const y=this.options.params;Object.keys(l).forEach(O=>{null==y[O]&&(y[O]=l[O])})}}}const Vr="void",zr=new vi(Vr);class ts{constructor(a,l,y){this.id=a,this.hostElement=l,this._engine=y,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,ar(l,this._hostClassName)}listen(a,l,y,O){if(!this._triggers.has(l))throw function Te(D,a){return new f.vHH(3302,!1)}();if(null==y||0==y.length)throw function ct(D){return new f.vHH(3303,!1)}();if(!function zo(D){return"start"==D||"done"==D}(y))throw function zt(D,a){return new f.vHH(3400,!1)}();const z=On(this._elementListeners,a,[]),me={name:l,phase:y,callback:O};z.push(me);const de=On(this._engine.statesByElement,a,new Map);return de.has(l)||(ar(a,an),ar(a,an+"-"+l),de.set(l,zr)),()=>{this._engine.afterFlush(()=>{const ke=z.indexOf(me);ke>=0&&z.splice(ke,1),this._triggers.has(l)||de.delete(l)})}}register(a,l){return!this._triggers.has(a)&&(this._triggers.set(a,l),!0)}_getTrigger(a){const l=this._triggers.get(a);if(!l)throw function Kt(D){return new f.vHH(3401,!1)}();return l}trigger(a,l,y,O=!0){const z=this._getTrigger(l),me=new Ro(this.id,l,a);let de=this._engine.statesByElement.get(a);de||(ar(a,an),ar(a,an+"-"+l),this._engine.statesByElement.set(a,de=new Map));let ke=de.get(l);const it=new vi(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&ke&&it.absorbOptions(ke.options),de.set(l,it),ke||(ke=zr),it.value!==Vr&&ke.value===it.value){if(!function bs(D,a){const l=Object.keys(D),y=Object.keys(a);if(l.length!=y.length)return!1;for(let O=0;O<l.length;O++){const z=l[O];if(!a.hasOwnProperty(z)||D[z]!==a[z])return!1}return!0}(ke.params,it.params)){const nn=[],Kn=z.matchStyles(ke.value,ke.params,nn),qn=z.matchStyles(it.value,it.params,nn);nn.length?this._engine.reportError(nn):this._engine.afterFlush(()=>{Yr(a,Kn),Pr(a,qn)})}return}const un=On(this._engine.playersByElement,a,[]);un.forEach(nn=>{nn.namespaceId==this.id&&nn.triggerName==l&&nn.queued&&nn.destroy()});let dn=z.matchTransition(ke.value,it.value,a,it.params),Zt=!1;if(!dn){if(!O)return;dn=z.fallbackTransition,Zt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:l,transition:dn,fromState:ke,toState:it,player:me,isFallbackTransition:Zt}),Zt||(ar(a,vo),me.onStart(()=>{Xi(a,vo)})),me.onDone(()=>{let nn=this.players.indexOf(me);nn>=0&&this.players.splice(nn,1);const Kn=this._engine.playersByElement.get(a);if(Kn){let qn=Kn.indexOf(me);qn>=0&&Kn.splice(qn,1)}}),this.players.push(me),un.push(me),me}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(l=>l.delete(a)),this._elementListeners.forEach((l,y)=>{this._elementListeners.set(y,l.filter(O=>O.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const l=this._engine.playersByElement.get(a);l&&(l.forEach(y=>y.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,l){const y=this._engine.driver.query(a,Ci,!0);y.forEach(O=>{if(O[zn])return;const z=this._engine.fetchNamespacesByElement(O);z.size?z.forEach(me=>me.triggerLeaveAnimation(O,l,!1,!0)):this.clearElementCache(O)}),this._engine.afterFlushAnimationsDone(()=>y.forEach(O=>this.clearElementCache(O)))}triggerLeaveAnimation(a,l,y,O){const z=this._engine.statesByElement.get(a),me=new Map;if(z){const de=[];if(z.forEach((ke,it)=>{if(me.set(it,ke.value),this._triggers.has(it)){const vt=this.trigger(a,it,Vr,O);vt&&de.push(vt)}}),de.length)return this._engine.markElementAsRemoved(this.id,a,!0,l,me),y&&Qe(de).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const l=this._elementListeners.get(a),y=this._engine.statesByElement.get(a);if(l&&y){const O=new Set;l.forEach(z=>{const me=z.name;if(O.has(me))return;O.add(me);const ke=this._triggers.get(me).fallbackTransition,it=y.get(me)||zr,vt=new vi(Vr),St=new Ro(this.id,me,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:me,transition:ke,fromState:it,toState:vt,player:St,isFallbackTransition:!0})})}}removeNode(a,l){const y=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,l),this.triggerLeaveAnimation(a,l,!0))return;let O=!1;if(y.totalAnimations){const z=y.players.length?y.playersByQueriedElement.get(a):[];if(z&&z.length)O=!0;else{let me=a;for(;me=me.parentNode;)if(y.statesByElement.get(me)){O=!0;break}}}if(this.prepareLeaveAnimationListeners(a),O)y.markElementAsRemoved(this.id,a,!1,l);else{const z=a[zn];(!z||z===Qi)&&(y.afterFlush(()=>this.clearElementCache(a)),y.destroyInnerAnimations(a),y._onRemovalComplete(a,l))}}insertNode(a,l){ar(a,this._hostClassName)}drainQueuedTransitions(a){const l=[];return this._queue.forEach(y=>{const O=y.player;if(O.destroyed)return;const z=y.element,me=this._elementListeners.get(z);me&&me.forEach(de=>{if(de.name==y.triggerName){const ke=Cr(z,y.triggerName,y.fromState.value,y.toState.value);ke._data=a,Mn(y.player,de.phase,ke,de.callback)}}),O.markedForDestroy?this._engine.afterFlush(()=>{O.destroy()}):l.push(y)}),this._queue=[],l.sort((y,O)=>{const z=y.transition.ast.depCount,me=O.transition.ast.depCount;return 0==z||0==me?z-me:this._engine.driver.containsElement(y.element,O.element)?1:-1})}destroy(a){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let l=!1;return this._elementListeners.has(a)&&(l=!0),l=!!this._queue.find(y=>y.element===a)||l,l}}class bo{_onRemovalComplete(a,l){this.onRemovalComplete(a,l)}constructor(a,l,y){this.bodyNode=a,this.driver=l,this._normalizer=y,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=(O,z)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(l=>{l.players.forEach(y=>{y.queued&&a.push(y)})}),a}createNamespace(a,l){const y=new ts(a,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(y,l):(this.newHostElements.set(l,y),this.collectEnterElement(l)),this._namespaceLookup[a]=y}_balanceNamespaceList(a,l){const y=this._namespaceList,O=this.namespacesByHostElement;if(y.length-1>=0){let me=!1,de=this.driver.getParentElement(l);for(;de;){const ke=O.get(de);if(ke){const it=y.indexOf(ke);y.splice(it+1,0,a),me=!0;break}de=this.driver.getParentElement(de)}me||y.unshift(a)}else y.push(a);return O.set(l,a),a}register(a,l){let y=this._namespaceLookup[a];return y||(y=this.createNamespace(a,l)),y}registerTrigger(a,l,y){let O=this._namespaceLookup[a];O&&O.register(l,y)&&this.totalAnimations++}destroy(a,l){if(!a)return;const y=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(y.hostElement),delete this._namespaceLookup[a];const O=this._namespaceList.indexOf(y);O>=0&&this._namespaceList.splice(O,1)}),this.afterFlushAnimationsDone(()=>y.destroy(l))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const l=new Set,y=this.statesByElement.get(a);if(y)for(let O of y.values())if(O.namespaceId){const z=this._fetchNamespace(O.namespaceId);z&&l.add(z)}return l}trigger(a,l,y,O){if(Ii(l)){const z=this._fetchNamespace(a);if(z)return z.trigger(l,y,O),!0}return!1}insertNode(a,l,y,O){if(!Ii(l))return;const z=l[zn];if(z&&z.setForRemoval){z.setForRemoval=!1,z.setForMove=!0;const me=this.collectedLeaveElements.indexOf(l);me>=0&&this.collectedLeaveElements.splice(me,1)}if(a){const me=this._fetchNamespace(a);me&&me.insertNode(l,y)}O&&this.collectEnterElement(l)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,l){l?this.disabledNodes.has(a)||(this.disabledNodes.add(a),ar(a,$r)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Xi(a,$r))}removeNode(a,l,y,O){if(Ii(l)){const z=a?this._fetchNamespace(a):null;if(z?z.removeNode(l,O):this.markElementAsRemoved(a,l,!1,O),y){const me=this.namespacesByHostElement.get(l);me&&me.id!==a&&me.removeNode(l,O)}}else this._onRemovalComplete(l,O)}markElementAsRemoved(a,l,y,O,z){this.collectedLeaveElements.push(l),l[zn]={namespaceId:a,setForRemoval:O,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:z}}listen(a,l,y,O,z){return Ii(l)?this._fetchNamespace(a).listen(l,y,O,z):()=>{}}_buildInstruction(a,l,y,O,z){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,y,O,a.fromState.options,a.toState.options,l,z)}destroyInnerAnimations(a){let l=this.driver.query(a,Ci,!0);l.forEach(y=>this.destroyActiveAnimationsForElement(y)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(a,ji,!0),l.forEach(y=>this.finishActiveQueriedAnimationOnElement(y)))}destroyActiveAnimationsForElement(a){const l=this.playersByElement.get(a);l&&l.forEach(y=>{y.queued?y.markedForDestroy=!0:y.destroy()})}finishActiveQueriedAnimationOnElement(a){const l=this.playersByQueriedElement.get(a);l&&l.forEach(y=>y.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Qe(this.players).onDone(()=>a());a()})}processLeaveNode(a){const l=a[zn];if(l&&l.setForRemoval){if(a[zn]=Qi,l.namespaceId){this.destroyInnerAnimations(a);const y=this._fetchNamespace(l.namespaceId);y&&y.clearElementCache(a)}this._onRemovalComplete(a,l.setForRemoval)}a.classList?.contains($r)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(y=>{this.markElementAsDisabled(y,!1)})}flush(a=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((y,O)=>this._balanceNamespaceList(y,O)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)ar(this.collectedEnterElements[y],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const y=[];try{l=this._flushAnimations(y,a)}finally{for(let O=0;O<y.length;O++)y[O]()}}else for(let y=0;y<this.collectedLeaveElements.length;y++)this.processLeaveNode(this.collectedLeaveElements[y]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(y=>y()),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],l.length?Qe(l).onDone(()=>{y.forEach(O=>O())}):y.forEach(O=>O())}}reportError(a){throw function Ee(D){return new f.vHH(3402,!1)}()}_flushAnimations(a,l){const y=new ni,O=[],z=new Map,me=[],de=new Map,ke=new Map,it=new Map,vt=new Set;this.disabledNodes.forEach(jt=>{vt.add(jt);const Qt=this.driver.query(jt,".ng-animate-queued",!0);for(let tn=0;tn<Qt.length;tn++)vt.add(Qt[tn])});const St=this.bodyNode,un=Array.from(this.statesByElement.keys()),dn=co(un,this.collectedEnterElements),Zt=new Map;let nn=0;dn.forEach((jt,Qt)=>{const tn=Or+nn++;Zt.set(Qt,tn),jt.forEach(Tn=>ar(Tn,tn))});const Kn=[],qn=new Set,mr=new Set;for(let jt=0;jt<this.collectedLeaveElements.length;jt++){const Qt=this.collectedLeaveElements[jt],tn=Qt[zn];tn&&tn.setForRemoval&&(Kn.push(Qt),qn.add(Qt),tn.hasAnimation?this.driver.query(Qt,".ng-star-inserted",!0).forEach(Tn=>qn.add(Tn)):mr.add(Qt))}const or=new Map,sr=co(un,Array.from(qn));sr.forEach((jt,Qt)=>{const tn=Tr+nn++;or.set(Qt,tn),jt.forEach(Tn=>ar(Tn,tn))}),a.push(()=>{dn.forEach((jt,Qt)=>{const tn=Zt.get(Qt);jt.forEach(Tn=>Xi(Tn,tn))}),sr.forEach((jt,Qt)=>{const tn=or.get(Qt);jt.forEach(Tn=>Xi(Tn,tn))}),Kn.forEach(jt=>{this.processLeaveNode(jt)})});const Fi=[],Ni=[];for(let jt=this._namespaceList.length-1;jt>=0;jt--)this._namespaceList[jt].drainQueuedTransitions(l).forEach(tn=>{const Tn=tn.player,Ur=tn.element;if(Fi.push(Tn),this.collectedEnterElements.length){const h=Ur[zn];if(h&&h.setForMove){if(h.previousTriggersValues&&h.previousTriggersValues.has(tn.triggerName)){const c=h.previousTriggersValues.get(tn.triggerName),m=this.statesByElement.get(tn.element);if(m&&m.has(tn.triggerName)){const w=m.get(tn.triggerName);w.value=c,m.set(tn.triggerName,w)}}return void Tn.destroy()}}const no=!St||!this.driver.containsElement(St,Ur),kn=or.get(Ur),bi=Zt.get(Ur),Zn=this._buildInstruction(tn,y,bi,kn,no);if(Zn.errors&&Zn.errors.length)return void Ni.push(Zn);if(no)return Tn.onStart(()=>Yr(Ur,Zn.fromStyles)),Tn.onDestroy(()=>Pr(Ur,Zn.toStyles)),void O.push(Tn);if(tn.isFallbackTransition)return Tn.onStart(()=>Yr(Ur,Zn.fromStyles)),Tn.onDestroy(()=>Pr(Ur,Zn.toStyles)),void O.push(Tn);const Ms=[];Zn.timelines.forEach(h=>{h.stretchStartingKeyframe=!0,this.disabledNodes.has(h.element)||Ms.push(h)}),Zn.timelines=Ms,y.append(Ur,Zn.timelines),me.push({instruction:Zn,player:Tn,element:Ur}),Zn.queriedElements.forEach(h=>On(de,h,[]).push(Tn)),Zn.preStyleProps.forEach((h,c)=>{if(h.size){let m=ke.get(c);m||ke.set(c,m=new Set),h.forEach((w,L)=>m.add(L))}}),Zn.postStyleProps.forEach((h,c)=>{let m=it.get(c);m||it.set(c,m=new Set),h.forEach((w,L)=>m.add(L))})});if(Ni.length){const jt=[];Ni.forEach(Qt=>{jt.push(function C(D,a){return new f.vHH(3505,!1)}())}),Fi.forEach(Qt=>Qt.destroy()),this.reportError(jt)}const Gr=new Map,oi=new Map;me.forEach(jt=>{const Qt=jt.element;y.has(Qt)&&(oi.set(Qt,Qt),this._beforeAnimationBuild(jt.player.namespaceId,jt.instruction,Gr))}),O.forEach(jt=>{const Qt=jt.element;this._getPreviousPlayers(Qt,!1,jt.namespaceId,jt.triggerName,null).forEach(Tn=>{On(Gr,Qt,[]).push(Tn),Tn.destroy()})});const fo=Kn.filter(jt=>Es(jt,ke,it)),Co=new Map;Pi(Co,this.driver,mr,it,Tt.l3).forEach(jt=>{Es(jt,ke,it)&&fo.push(jt)});const to=new Map;dn.forEach((jt,Qt)=>{Pi(to,this.driver,new Set(jt),ke,Tt.k1)}),fo.forEach(jt=>{const Qt=Co.get(jt),tn=to.get(jt);Co.set(jt,new Map([...Array.from(Qt?.entries()??[]),...Array.from(tn?.entries()??[])]))});const Ko=[],Us=[],Gs={};me.forEach(jt=>{const{element:Qt,player:tn,instruction:Tn}=jt;if(y.has(Qt)){if(vt.has(Qt))return tn.onDestroy(()=>Pr(Qt,Tn.toStyles)),tn.disabled=!0,tn.overrideTotalTime(Tn.totalTime),void O.push(tn);let Ur=Gs;if(oi.size>1){let kn=Qt;const bi=[];for(;kn=kn.parentNode;){const Zn=oi.get(kn);if(Zn){Ur=Zn;break}bi.push(kn)}bi.forEach(Zn=>oi.set(Zn,Ur))}const no=this._buildAnimation(tn.namespaceId,Tn,Gr,z,to,Co);if(tn.setRealPlayer(no),Ur===Gs)Ko.push(tn);else{const kn=this.playersByElement.get(Ur);kn&&kn.length&&(tn.parentPlayer=Qe(kn)),O.push(tn)}}else Yr(Qt,Tn.fromStyles),tn.onDestroy(()=>Pr(Qt,Tn.toStyles)),Us.push(tn),vt.has(Qt)&&O.push(tn)}),Us.forEach(jt=>{const Qt=z.get(jt.element);if(Qt&&Qt.length){const tn=Qe(Qt);jt.setRealPlayer(tn)}}),O.forEach(jt=>{jt.parentPlayer?jt.syncPlayerEvents(jt.parentPlayer):jt.destroy()});for(let jt=0;jt<Kn.length;jt++){const Qt=Kn[jt],tn=Qt[zn];if(Xi(Qt,Tr),tn&&tn.hasAnimation)continue;let Tn=[];if(de.size){let no=de.get(Qt);no&&no.length&&Tn.push(...no);let kn=this.driver.query(Qt,ji,!0);for(let bi=0;bi<kn.length;bi++){let Zn=de.get(kn[bi]);Zn&&Zn.length&&Tn.push(...Zn)}}const Ur=Tn.filter(no=>!no.destroyed);Ur.length?Fs(this,Qt,Ur):this.processLeaveNode(Qt)}return Kn.length=0,Ko.forEach(jt=>{this.players.push(jt),jt.onDone(()=>{jt.destroy();const Qt=this.players.indexOf(jt);this.players.splice(Qt,1)}),jt.play()}),Ko}elementContainsData(a,l){let y=!1;const O=l[zn];return O&&O.setForRemoval&&(y=!0),this.playersByElement.has(l)&&(y=!0),this.playersByQueriedElement.has(l)&&(y=!0),this.statesByElement.has(l)&&(y=!0),this._fetchNamespace(a).elementContainsData(l)||y}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,l,y,O,z){let me=[];if(l){const de=this.playersByQueriedElement.get(a);de&&(me=de)}else{const de=this.playersByElement.get(a);if(de){const ke=!z||z==Vr;de.forEach(it=>{it.queued||!ke&&it.triggerName!=O||me.push(it)})}}return(y||O)&&(me=me.filter(de=>!(y&&y!=de.namespaceId||O&&O!=de.triggerName))),me}_beforeAnimationBuild(a,l,y){const z=l.element,me=l.isRemovalTransition?void 0:a,de=l.isRemovalTransition?void 0:l.triggerName;for(const ke of l.timelines){const it=ke.element,vt=it!==z,St=On(y,it,[]);this._getPreviousPlayers(it,vt,me,de,l.toState).forEach(dn=>{const Zt=dn.getRealPlayer();Zt.beforeDestroy&&Zt.beforeDestroy(),dn.destroy(),St.push(dn)})}Yr(z,l.fromStyles)}_buildAnimation(a,l,y,O,z,me){const de=l.triggerName,ke=l.element,it=[],vt=new Set,St=new Set,un=l.timelines.map(Zt=>{const nn=Zt.element;vt.add(nn);const Kn=nn[zn];if(Kn&&Kn.removedBeforeQueried)return new Tt.ZN(Zt.duration,Zt.delay);const qn=nn!==ke,mr=function Ns(D){const a=[];return Fo(D,a),a}((y.get(nn)||vs).map(Gr=>Gr.getRealPlayer())).filter(Gr=>!!Gr.element&&Gr.element===nn),or=z.get(nn),sr=me.get(nn),Fi=Mt(0,this._normalizer,0,Zt.keyframes,or,sr),Ni=this._buildPlayer(Zt,Fi,mr);if(Zt.subTimeline&&O&&St.add(nn),qn){const Gr=new Ro(a,de,nn);Gr.setRealPlayer(Ni),it.push(Gr)}return Ni});it.forEach(Zt=>{On(this.playersByQueriedElement,Zt.element,[]).push(Zt),Zt.onDone(()=>function ns(D,a,l){let y=D.get(a);if(y){if(y.length){const O=y.indexOf(l);y.splice(O,1)}0==y.length&&D.delete(a)}return y}(this.playersByQueriedElement,Zt.element,Zt))}),vt.forEach(Zt=>ar(Zt,wi));const dn=Qe(un);return dn.onDestroy(()=>{vt.forEach(Zt=>Xi(Zt,wi)),Pr(ke,l.toStyles)}),St.forEach(Zt=>{On(O,Zt,[]).push(dn)}),dn}_buildPlayer(a,l,y){return l.length>0?this.driver.animate(a.element,l,a.duration,a.delay,a.easing,y):new Tt.ZN(a.duration,a.delay)}}class Ro{constructor(a,l,y){this.namespaceId=a,this.triggerName=l,this.element=y,this._player=new Tt.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((l,y)=>{l.forEach(O=>Mn(a,y,void 0,O))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const l=this._player;l.triggerCallback&&a.onStart(()=>l.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,l){On(this._queuedCallbacks,a,[]).push(l)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const l=this._player;l.triggerCallback&&l.triggerCallback(a)}}function Ii(D){return D&&1===D.nodeType}function Oi(D,a){const l=D.style.display;return D.style.display=a??"none",l}function Pi(D,a,l,y,O){const z=[];l.forEach(ke=>z.push(Oi(ke)));const me=[];y.forEach((ke,it)=>{const vt=new Map;ke.forEach(St=>{const un=a.computeStyle(it,St,O);vt.set(St,un),(!un||0==un.length)&&(it[zn]=xr,me.push(it))}),D.set(it,vt)});let de=0;return l.forEach(ke=>Oi(ke,z[de++])),me}function co(D,a){const l=new Map;if(D.forEach(de=>l.set(de,[])),0==a.length)return l;const O=new Set(a),z=new Map;function me(de){if(!de)return 1;let ke=z.get(de);if(ke)return ke;const it=de.parentNode;return ke=l.has(it)?it:O.has(it)?1:me(it),z.set(de,ke),ke}return a.forEach(de=>{const ke=me(de);1!==ke&&l.get(ke).push(de)}),l}function ar(D,a){D.classList?.add(a)}function Xi(D,a){D.classList?.remove(a)}function Fs(D,a,l){Qe(l).onDone(()=>D.processLeaveNode(a))}function Fo(D,a){for(let l=0;l<D.length;l++){const y=D[l];y instanceof Tt.ZE?Fo(y.players,a):a.push(y)}}function Es(D,a,l){const y=l.get(D);if(!y)return!1;let O=a.get(D);return O?y.forEach(z=>O.add(z)):a.set(D,y),l.delete(D),!0}class Ji{constructor(a,l,y){this.bodyNode=a,this._driver=l,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(O,z)=>{},this._transitionEngine=new bo(a,l,y),this._timelineEngine=new Er(a,l,y),this._transitionEngine.onRemovalComplete=(O,z)=>this.onRemovalComplete(O,z)}registerTrigger(a,l,y,O,z){const me=a+"-"+O;let de=this._triggerCache[me];if(!de){const ke=[],vt=ln(this._driver,z,ke,[]);if(ke.length)throw function R(D,a){return new f.vHH(3404,!1)}();de=function _s(D,a,l){return new et(D,a,l)}(O,vt,this._normalizer),this._triggerCache[me]=de}this._transitionEngine.registerTrigger(l,O,de)}register(a,l){this._transitionEngine.register(a,l)}destroy(a,l){this._transitionEngine.destroy(a,l)}onInsert(a,l,y,O){this._transitionEngine.insertNode(a,l,y,O)}onRemove(a,l,y,O){this._transitionEngine.removeNode(a,l,O||!1,y)}disableAnimations(a,l){this._transitionEngine.markElementAsDisabled(a,l)}process(a,l,y,O){if("@"==y.charAt(0)){const[z,me]=qr(y);this._timelineEngine.command(z,l,me,O)}else this._transitionEngine.trigger(a,l,y,O)}listen(a,l,y,O,z){if("@"==y.charAt(0)){const[me,de]=qr(y);return this._timelineEngine.listen(me,l,de,z)}return this._transitionEngine.listen(a,l,y,O,z)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let qi=(()=>{class D{constructor(l,y,O){this._element=l,this._startStyles=y,this._endStyles=O,this._state=0;let z=D.initialStylesByElement.get(l);z||D.initialStylesByElement.set(l,z=new Map),this._initialStyles=z}start(){this._state<1&&(this._startStyles&&Pr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Pr(this._element,this._initialStyles),this._endStyles&&(Pr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(D.initialStylesByElement.delete(this._element),this._startStyles&&(Yr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Yr(this._element,this._endStyles),this._endStyles=null),Pr(this._element,this._initialStyles),this._state=3)}}return D.initialStylesByElement=new WeakMap,D})();function Jn(D){let a=null;return D.forEach((l,y)=>{(function Ds(D){return"display"===D||"position"===D})(y)&&(a=a||new Map,a.set(y,l))}),a}class rs{constructor(a,l,y,O){this.element=a,this.keyframes=l,this.options=y,this._specialStyles=O,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=y.duration,this._delay=y.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const l=[];return a.forEach(y=>{l.push(Object.fromEntries(y))}),l}_triggerWebAnimation(a,l,y){return a.animate(this._convertKeyframesToObject(l),y)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((y,O)=>{"offset"!==O&&a.set(O,this._finished?y:Si(this.element,O))}),this.currentSnapshot=a}triggerCallback(a){const l="start"===a?this._onStartFns:this._onDoneFns;l.forEach(y=>y()),l.length=0}}class Dr{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,l){return!1}containsElement(a,l){return Et(a,l)}getParentElement(a){return Hr(a)}query(a,l,y){return Jt(a,l,y)}computeStyle(a,l,y){return window.getComputedStyle(a)[l]}animate(a,l,y,O,z,me=[]){const ke={duration:y,delay:O,fill:0==O?"both":"forwards"};z&&(ke.easing=z);const it=new Map,vt=me.filter(dn=>dn instanceof rs);(function Mi(D,a){return 0===D||0===a})(y,O)&&vt.forEach(dn=>{dn.currentSnapshot.forEach((Zt,nn)=>it.set(nn,Zt))});let St=function $i(D){return D.length?D[0]instanceof Map?D:D.map(a=>hi(a)):[]}(l).map(dn=>pr(dn));St=function go(D,a,l){if(l.size&&a.length){let y=a[0],O=[];if(l.forEach((z,me)=>{y.has(me)||O.push(me),y.set(me,z)}),O.length)for(let z=1;z<a.length;z++){let me=a[z];O.forEach(de=>me.set(de,Si(D,de)))}}return a}(a,St,it);const un=function Lr(D,a){let l=null,y=null;return Array.isArray(a)&&a.length?(l=Jn(a[0]),a.length>1&&(y=Jn(a[a.length-1]))):a instanceof Map&&(l=Jn(a)),l||y?new qi(D,l,y):null}(a,St);return new rs(a,St,ke,un)}}let Cs=(()=>{class D extends Tt._j{constructor(l,y){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(y.body,{id:"0",encapsulation:f.ifc.None,styles:[],data:{animation:[]}})}build(l){const y=this._nextAnimationId.toString();this._nextAnimationId++;const O=Array.isArray(l)?(0,Tt.vP)(l):l;return Eo(this._renderer,null,y,"register",[O]),new ws(y,this._renderer)}}return D.\u0275fac=function(l){return new(l||D)(f.LFG(f.FYo),f.LFG(Pe.K0))},D.\u0275prov=f.Yz7({token:D,factory:D.\u0275fac}),D})();class ws extends Tt.LC{constructor(a,l){super(),this._id=a,this._renderer=l}create(a,l){return new ks(this._id,a,l||{},this._renderer)}}class ks{constructor(a,l,y,O){this.id=a,this.element=l,this._renderer=O,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",y)}_listen(a,l){return this._renderer.listen(this.element,`@@${this.id}:${a}`,l)}_command(a,...l){return Eo(this._renderer,this.element,this.id,a,l)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}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(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Eo(D,a,l,y,O){return D.setProperty(a,`@@${l}:${y}`,O)}const g="@",A="@.disabled";let _=(()=>{class D{constructor(l,y,O){this.delegate=l,this.engine=y,this._zone=O,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),y.onRemovalComplete=(z,me)=>{const de=me?.parentNode(z);de&&me.removeChild(de,z)}}createRenderer(l,y){const z=this.delegate.createRenderer(l,y);if(!(l&&y&&y.data&&y.data.animation)){let vt=this._rendererCache.get(z);return vt||(vt=new P("",z,this.engine,()=>this._rendererCache.delete(z)),this._rendererCache.set(z,vt)),vt}const me=y.id,de=y.id+"-"+this._currentId;this._currentId++,this.engine.register(de,l);const ke=vt=>{Array.isArray(vt)?vt.forEach(ke):this.engine.registerTrigger(me,de,l,vt.name,vt)};return y.data.animation.forEach(ke),new ne(this,de,z,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,y,O){l>=0&&l<this._microtaskId?this._zone.run(()=>y(O)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(z=>{const[me,de]=z;me(de)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([y,O]))}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 D.\u0275fac=function(l){return new(l||D)(f.LFG(f.FYo),f.LFG(Ji),f.LFG(f.R0b))},D.\u0275prov=f.Yz7({token:D,factory:D.\u0275fac}),D})();class P{constructor(a,l,y,O){this.namespaceId=a,this.delegate=l,this.engine=y,this._onDestroy=O,this.destroyNode=this.delegate.destroyNode?z=>l.destroyNode(z):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(a,l){return this.delegate.createElement(a,l)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,l){this.delegate.appendChild(a,l),this.engine.onInsert(this.namespaceId,l,a,!1)}insertBefore(a,l,y,O=!0){this.delegate.insertBefore(a,l,y),this.engine.onInsert(this.namespaceId,l,a,O)}removeChild(a,l,y){this.engine.onRemove(this.namespaceId,l,this.delegate,y)}selectRootElement(a,l){return this.delegate.selectRootElement(a,l)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,l,y,O){this.delegate.setAttribute(a,l,y,O)}removeAttribute(a,l,y){this.delegate.removeAttribute(a,l,y)}addClass(a,l){this.delegate.addClass(a,l)}removeClass(a,l){this.delegate.removeClass(a,l)}setStyle(a,l,y,O){this.delegate.setStyle(a,l,y,O)}removeStyle(a,l,y){this.delegate.removeStyle(a,l,y)}setProperty(a,l,y){l.charAt(0)==g&&l==A?this.disableAnimations(a,!!y):this.delegate.setProperty(a,l,y)}setValue(a,l){this.delegate.setValue(a,l)}listen(a,l,y){return this.delegate.listen(a,l,y)}disableAnimations(a,l){this.engine.disableAnimations(a,l)}}class ne extends P{constructor(a,l,y,O,z){super(l,y,O,z),this.factory=a,this.namespaceId=l}setProperty(a,l,y){l.charAt(0)==g?"."==l.charAt(1)&&l==A?this.disableAnimations(a,y=void 0===y||!!y):this.engine.process(this.namespaceId,a,l.slice(1),y):this.delegate.setProperty(a,l,y)}listen(a,l,y){if(l.charAt(0)==g){const O=function $e(D){switch(D){case"body":return document.body;case"document":return document;case"window":return window;default:return D}}(a);let z=l.slice(1),me="";return z.charAt(0)!=g&&([z,me]=function Ze(D){const a=D.indexOf(".");return[D.substring(0,a),D.slice(a+1)]}(z)),this.engine.listen(this.namespaceId,O,z,me,de=>{this.factory.scheduleListenerCallback(de._data||-1,y,de)})}return this.delegate.listen(a,l,y)}}const Fn=[{provide:Tt._j,useClass:Cs},{provide:ci,useFactory:function Nn(){return new en}},{provide:Ji,useClass:(()=>{class D extends Ji{constructor(l,y,O,z){super(l.body,y,O)}ngOnDestroy(){this.flush()}}return D.\u0275fac=function(l){return new(l||D)(f.LFG(Pe.K0),f.LFG(wr),f.LFG(ci),f.LFG(f.z2F))},D.\u0275prov=f.Yz7({token:D,factory:D.\u0275fac}),D})()},{provide:f.FYo,useFactory:function xn(D,a,l){return new _(D,a,l)},deps:[s.se,Ji,f.R0b]}],pn=[{provide:wr,useFactory:()=>new Dr},{provide:f.QbO,useValue:"BrowserAnimations"},...Fn],lr=[{provide:wr,useClass:fr},{provide:f.QbO,useValue:"NoopAnimations"},...Fn];let Gn=(()=>{class D{static withConfig(l){return{ngModule:D,providers:l.disableAnimations?lr:pn}}}return D.\u0275fac=function(l){return new(l||D)},D.\u0275mod=f.oAB({type:D}),D.\u0275inj=f.cJS({providers:pn,imports:[s.b2]}),D})();class Br{constructor(a){this._router=a}intercept(a,l){let y=JSON.parse(window.localStorage.getItem("user")),O=new Date;if(null!=y){let z=new Date(y.Token.expiredAt);a=a.clone(O<z?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${y.Token.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else a=a.clone({setHeaders:{"Content-Type":"application/json"}});return l.handle(a)}}Br.\u0275fac=function(a){return new(a||Br)(f.LFG(nt.F0))},Br.\u0275prov=f.Yz7({token:Br,factory:Br.\u0275fac});var cr=v(7185);function Do(D,a){if(1&D){const l=f.EpF();f.TgZ(0,"a",10),f.NdJ("click",function(){f.CHM(l);const O=f.oxw(2);return f.KtG(O.remove())}),f._uU(1," x "),f.qZA()}}function uo(D,a){if(1&D&&(f.TgZ(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),f._uU(4),f.qZA()()(),f.TgZ(5,"div",8),f.YNc(6,Do,2,0,"a",9),f.qZA()()),2&D){const l=f.oxw();f.Udp("display","inactive"===l.state.value?"none":""),f.xp6(2),f.Tol(l.options.titleClass),f.uIk("aria-label",l.title),f.xp6(2),f.Oqu(l.title),f.xp6(2),f.Q6J("ngIf",l.options.closeButton)}}const is=function(D){return{notitle:D}};function os(D,a){if(1&D&&f._UZ(0,"div",11),2&D){const l=f.oxw();f.Tol(l.options.messageClass),f.Q6J("ngClass",f.VKq(4,is,null==l.title))("innerHTML",l.message,f.oJD)}}function Go(D,a){if(1&D&&(f.TgZ(0,"div",12),f._uU(1),f.qZA()),2&D){const l=f.oxw();f.Tol(l.options.messageClass),f.Q6J("ngClass",f.VKq(5,is,null==l.title)),f.uIk("aria-label",l.message),f.xp6(1),f.hij(" ",l.message," ")}}function ss(D,a){if(1&D){const l=f.EpF();f.TgZ(0,"a",10),f.NdJ("click",function(){f.CHM(l);const O=f.oxw();return f.KtG(O.remove())}),f._uU(1," x "),f.qZA()}}function Ls(D,a){if(1&D&&(f.TgZ(0,"div"),f._UZ(1,"div",13),f.qZA()),2&D){const l=f.oxw();f.xp6(1),f.Udp("width",l.width+"%")}}class eo extends cr.FN{constructor(a,l){super(a,l),this.toastrService=a,this.toastPackage=l}ngOnInit(){}action(a){return a.stopPropagation(),this.toastPackage.triggerAction(),!1}}eo.\u0275fac=function(a){return new(a||eo)(f.Y36(cr._W),f.Y36(cr.PR))},eo.\u0275cmp=f.Xpm({type:eo,selectors:[["","custom-toast-component",""]],features:[f.qOj],attrs:["custom-toast-component",""],decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","g-0"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass"],[1,"toast-progress"]],template:function(a,l){1&a&&(f.TgZ(0,"div",0),f.YNc(1,uo,7,7,"div",1),f.YNc(2,os,1,6,"div",2),f.YNc(3,Go,2,7,"div",3),f.YNc(4,ss,2,0,"a",4),f.YNc(5,Ls,2,2,"div",5),f.qZA()),2&a&&(f.xp6(1),f.Q6J("ngIf",l.title),f.xp6(1),f.Q6J("ngIf",l.message&&l.options.enableHtml),f.xp6(1),f.Q6J("ngIf",l.message&&!l.options.enableHtml),f.xp6(1),f.Q6J("ngIf",l.options.closeButton&&null==l.title),f.xp6(1),f.Q6J("ngIf",l.options.progressBar))},dependencies:[Pe.mk,Pe.O5],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:0}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0;margin-left:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[(0,Tt.X$)("flyInOut",[(0,Tt.SB)("inactive",(0,Tt.oB)({opacity:0})),(0,Tt.eR)("inactive => active",(0,Tt.jt)("400ms ease-out",(0,Tt.F4)([(0,Tt.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,Tt.oB)({transform:"skewX(20deg)",opacity:1}),(0,Tt.oB)({transform:"skewX(-5deg)",opacity:1}),(0,Tt.oB)({transform:"none",opacity:1})]))),(0,Tt.eR)("active => removed",(0,Tt.jt)("400ms ease-out",(0,Tt.F4)([(0,Tt.oB)({opacity:1}),(0,Tt.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});var as=v(5421),zs=v(2011),ui=v(7899),Bs=v(2340),No=v(9549),Wo=v(4954);class ur{}ur.\u0275fac=function(a){return new(a||ur)},ur.\u0275mod=f.oAB({type:ur,bootstrap:[Yt]}),ur.\u0275inj=f.cJS({providers:[{provide:F.TP,useClass:Br,multi:!0},{provide:No.o2,useValue:{subscriptSizing:"dynamic"}},te.O,Xe.e],imports:[s.b2,bt,Gn,cr.Rh.forRoot({toastComponent:eo,positionClass:"toast-bottom-right",closeButton:!0}),F.JF,as.Cz.forRoot({name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]}),At.forRoot(),zs.hO.initializeApp(Bs.N.firebaseConfig),ui.ww,Wo.VI.forRoot()]}),Bs.N.production&&(0,f.G48)(),s.q6().bootstrapModule(ur).catch(D=>console.error(D))},5867:(at,be,v)=>{v.d(be,{C6:()=>s.getApps,Mq:()=>s.getApp});var s=v(9681);(0,s.registerVersion)("firebase","9.12.1","app")},127:(at,be,v)=>{v.d(be,{Z:()=>s.Z});var s=v(3942);s.Z.registerVersion("firebase","9.12.1","app-compat")},1135:(at,be,v)=>{v.d(be,{X:()=>f});var s=v(7579);class f extends s.x{constructor(W){super(),this._value=W}get value(){return this.getValue()}_subscribe(W){const X=super._subscribe(W);return!X.closed&&W.next(this._value),X}getValue(){const{hasError:W,thrownError:X,_value:J}=this;if(W)throw X;return this._throwIfClosed(),J}next(W){super.next(this._value=W)}}},9751:(at,be,v)=>{v.d(be,{y:()=>q});var s=v(930),f=v(727),F=v(8822),W=v(9635),X=v(2416),J=v(576),ie=v(2806);let q=(()=>{class G{constructor(Me){Me&&(this._subscribe=Me)}lift(Me){const Ve=new G;return Ve.source=this,Ve.operator=Me,Ve}subscribe(Me,Ve,Ke){const Ae=function Y(G){return G&&G instanceof s.Lv||function j(G){return G&&(0,J.m)(G.next)&&(0,J.m)(G.error)&&(0,J.m)(G.complete)}(G)&&(0,f.Nn)(G)}(Me)?Me:new s.Hp(Me,Ve,Ke);return(0,ie.x)(()=>{const{operator:Fe,source:Pe}=this;Ae.add(Fe?Fe.call(Ae,Pe):Pe?this._subscribe(Ae):this._trySubscribe(Ae))}),Ae}_trySubscribe(Me){try{return this._subscribe(Me)}catch(Ve){Me.error(Ve)}}forEach(Me,Ve){return new(Ve=Q(Ve))((Ke,Ae)=>{const Fe=new s.Hp({next:Pe=>{try{Me(Pe)}catch(ve){Ae(ve),Fe.unsubscribe()}},error:Ae,complete:Ke});this.subscribe(Fe)})}_subscribe(Me){var Ve;return null===(Ve=this.source)||void 0===Ve?void 0:Ve.subscribe(Me)}[F.L](){return this}pipe(...Me){return(0,W.U)(Me)(this)}toPromise(Me){return new(Me=Q(Me))((Ve,Ke)=>{let Ae;this.subscribe(Fe=>Ae=Fe,Fe=>Ke(Fe),()=>Ve(Ae))})}}return G.create=Ie=>new G(Ie),G})();function Q(G){var Ie;return null!==(Ie=G??X.v.Promise)&&void 0!==Ie?Ie:Promise}},4707:(at,be,v)=>{v.d(be,{t:()=>F});var s=v(7579),f=v(6063);class F extends s.x{constructor(X=1/0,J=1/0,ie=f.l){super(),this._bufferSize=X,this._windowTime=J,this._timestampProvider=ie,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=J===1/0,this._bufferSize=Math.max(1,X),this._windowTime=Math.max(1,J)}next(X){const{isStopped:J,_buffer:ie,_infiniteTimeWindow:q,_timestampProvider:Q,_windowTime:j}=this;J||(ie.push(X),!q&&ie.push(Q.now()+j)),this._trimBuffer(),super.next(X)}_subscribe(X){this._throwIfClosed(),this._trimBuffer();const J=this._innerSubscribe(X),{_infiniteTimeWindow:ie,_buffer:q}=this,Q=q.slice();for(let j=0;j<Q.length&&!X.closed;j+=ie?1:2)X.next(Q[j]);return this._checkFinalizedStatuses(X),J}_trimBuffer(){const{_bufferSize:X,_timestampProvider:J,_buffer:ie,_infiniteTimeWindow:q}=this,Q=(q?1:2)*X;if(X<1/0&&Q<ie.length&&ie.splice(0,ie.length-Q),!q){const j=J.now();let Y=0;for(let G=1;G<ie.length&&ie[G]<=j;G+=2)Y=G;Y&&ie.splice(0,Y+1)}}}},7579:(at,be,v)=>{v.d(be,{x:()=>ie});var s=v(9751),f=v(727);const W=(0,v(3888).d)(Q=>function(){Q(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=v(8737),J=v(2806);let ie=(()=>{class Q extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Y){const G=new q(this,this);return G.operator=Y,G}_throwIfClosed(){if(this.closed)throw new W}next(Y){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const G of this.currentObservers)G.next(Y)}})}error(Y){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Y;const{observers:G}=this;for(;G.length;)G.shift().error(Y)}})}complete(){(0,J.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Y}=this;for(;Y.length;)Y.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Y;return(null===(Y=this.observers)||void 0===Y?void 0:Y.length)>0}_trySubscribe(Y){return this._throwIfClosed(),super._trySubscribe(Y)}_subscribe(Y){return this._throwIfClosed(),this._checkFinalizedStatuses(Y),this._innerSubscribe(Y)}_innerSubscribe(Y){const{hasError:G,isStopped:Ie,observers:Me}=this;return G||Ie?f.Lc:(this.currentObservers=null,Me.push(Y),new f.w0(()=>{this.currentObservers=null,(0,X.P)(Me,Y)}))}_checkFinalizedStatuses(Y){const{hasError:G,thrownError:Ie,isStopped:Me}=this;G?Y.error(Ie):Me&&Y.complete()}asObservable(){const Y=new s.y;return Y.source=this,Y}}return Q.create=(j,Y)=>new q(j,Y),Q})();class q extends ie{constructor(j,Y){super(),this.destination=j,this.source=Y}next(j){var Y,G;null===(G=null===(Y=this.destination)||void 0===Y?void 0:Y.next)||void 0===G||G.call(Y,j)}error(j){var Y,G;null===(G=null===(Y=this.destination)||void 0===Y?void 0:Y.error)||void 0===G||G.call(Y,j)}complete(){var j,Y;null===(Y=null===(j=this.destination)||void 0===j?void 0:j.complete)||void 0===Y||Y.call(j)}_subscribe(j){var Y,G;return null!==(G=null===(Y=this.source)||void 0===Y?void 0:Y.subscribe(j))&&void 0!==G?G:f.Lc}}},930:(at,be,v)=>{v.d(be,{Hp:()=>Ke,Lv:()=>G});var s=v(576),f=v(727),F=v(2416),W=v(7849),X=v(5032);const J=Q("C",void 0,void 0);function Q(De,H,le){return{kind:De,value:H,error:le}}var j=v(3410),Y=v(2806);class G extends f.w0{constructor(H){super(),this.isStopped=!1,H?(this.destination=H,(0,f.Nn)(H)&&H.add(this)):this.destination=ve}static create(H,le,ce){return new Ke(H,le,ce)}next(H){this.isStopped?Pe(function q(De){return Q("N",De,void 0)}(H),this):this._next(H)}error(H){this.isStopped?Pe(function ie(De){return Q("E",void 0,De)}(H),this):(this.isStopped=!0,this._error(H))}complete(){this.isStopped?Pe(J,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(H){this.destination.next(H)}_error(H){try{this.destination.error(H)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ie=Function.prototype.bind;function Me(De,H){return Ie.call(De,H)}class Ve{constructor(H){this.partialObserver=H}next(H){const{partialObserver:le}=this;if(le.next)try{le.next(H)}catch(ce){Ae(ce)}}error(H){const{partialObserver:le}=this;if(le.error)try{le.error(H)}catch(ce){Ae(ce)}else Ae(H)}complete(){const{partialObserver:H}=this;if(H.complete)try{H.complete()}catch(le){Ae(le)}}}class Ke extends G{constructor(H,le,ce){let ge;if(super(),(0,s.m)(H)||!H)ge={next:H??void 0,error:le??void 0,complete:ce??void 0};else{let se;this&&F.v.useDeprecatedNextContext?(se=Object.create(H),se.unsubscribe=()=>this.unsubscribe(),ge={next:H.next&&Me(H.next,se),error:H.error&&Me(H.error,se),complete:H.complete&&Me(H.complete,se)}):ge=H}this.destination=new Ve(ge)}}function Ae(De){F.v.useDeprecatedSynchronousErrorHandling?(0,Y.O)(De):(0,W.h)(De)}function Pe(De,H){const{onStoppedNotification:le}=F.v;le&&j.z.setTimeout(()=>le(De,H))}const ve={closed:!0,next:X.Z,error:function Fe(De){throw De},complete:X.Z}},727:(at,be,v)=>{v.d(be,{Lc:()=>J,w0:()=>X,Nn:()=>ie});var s=v(576);const F=(0,v(3888).d)(Q=>function(Y){Q(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((G,Ie)=>`${Ie+1}) ${G.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Y});var W=v(8737);class X{constructor(j){this.initialTeardown=j,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let j;if(!this.closed){this.closed=!0;const{_parentage:Y}=this;if(Y)if(this._parentage=null,Array.isArray(Y))for(const Me of Y)Me.remove(this);else Y.remove(this);const{initialTeardown:G}=this;if((0,s.m)(G))try{G()}catch(Me){j=Me instanceof F?Me.errors:[Me]}const{_finalizers:Ie}=this;if(Ie){this._finalizers=null;for(const Me of Ie)try{q(Me)}catch(Ve){j=j??[],Ve instanceof F?j=[...j,...Ve.errors]:j.push(Ve)}}if(j)throw new F(j)}}add(j){var Y;if(j&&j!==this)if(this.closed)q(j);else{if(j instanceof X){if(j.closed||j._hasParent(this))return;j._addParent(this)}(this._finalizers=null!==(Y=this._finalizers)&&void 0!==Y?Y:[]).push(j)}}_hasParent(j){const{_parentage:Y}=this;return Y===j||Array.isArray(Y)&&Y.includes(j)}_addParent(j){const{_parentage:Y}=this;this._parentage=Array.isArray(Y)?(Y.push(j),Y):Y?[Y,j]:j}_removeParent(j){const{_parentage:Y}=this;Y===j?this._parentage=null:Array.isArray(Y)&&(0,W.P)(Y,j)}remove(j){const{_finalizers:Y}=this;Y&&(0,W.P)(Y,j),j instanceof X&&j._removeParent(this)}}X.EMPTY=(()=>{const Q=new X;return Q.closed=!0,Q})();const J=X.EMPTY;function ie(Q){return Q instanceof X||Q&&"closed"in Q&&(0,s.m)(Q.remove)&&(0,s.m)(Q.add)&&(0,s.m)(Q.unsubscribe)}function q(Q){(0,s.m)(Q)?Q():Q.unsubscribe()}},2416:(at,be,v)=>{v.d(be,{v:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(at,be,v)=>{v.d(be,{a:()=>j});var s=v(9751),f=v(4742),F=v(8996),W=v(4671),X=v(3268),J=v(3269),ie=v(1810),q=v(5403),Q=v(9672);function j(...Ie){const Me=(0,J.yG)(Ie),Ve=(0,J.jO)(Ie),{args:Ke,keys:Ae}=(0,f.D)(Ie);if(0===Ke.length)return(0,F.D)([],Me);const Fe=new s.y(function Y(Ie,Me,Ve=W.y){return Ke=>{G(Me,()=>{const{length:Ae}=Ie,Fe=new Array(Ae);let Pe=Ae,ve=Ae;for(let De=0;De<Ae;De++)G(Me,()=>{const H=(0,F.D)(Ie[De],Me);let le=!1;H.subscribe((0,q.x)(Ke,ce=>{Fe[De]=ce,le||(le=!0,ve--),ve||Ke.next(Ve(Fe.slice()))},()=>{--Pe||Ke.complete()}))},Ke)},Ke)}}(Ke,Me,Ae?Pe=>(0,ie.n)(Ae,Pe):W.y));return Ve?Fe.pipe((0,X.Z)(Ve)):Fe}function G(Ie,Me,Ve){Ie?(0,Q.f)(Ve,Ie,Me):Me()}},7272:(at,be,v)=>{v.d(be,{z:()=>X});var s=v(8189),F=v(3269),W=v(8996);function X(...J){return function f(){return(0,s.J)(1)}()((0,W.D)(J,(0,F.yG)(J)))}},9770:(at,be,v)=>{v.d(be,{P:()=>F});var s=v(9751),f=v(8421);function F(W){return new s.y(X=>{(0,f.Xf)(W()).subscribe(X)})}},515:(at,be,v)=>{v.d(be,{E:()=>f});const f=new(v(9751).y)(X=>X.complete())},4128:(at,be,v)=>{v.d(be,{D:()=>q});var s=v(9751),f=v(4742),F=v(8421),W=v(3269),X=v(5403),J=v(3268),ie=v(1810);function q(...Q){const j=(0,W.jO)(Q),{args:Y,keys:G}=(0,f.D)(Q),Ie=new s.y(Me=>{const{length:Ve}=Y;if(!Ve)return void Me.complete();const Ke=new Array(Ve);let Ae=Ve,Fe=Ve;for(let Pe=0;Pe<Ve;Pe++){let ve=!1;(0,F.Xf)(Y[Pe]).subscribe((0,X.x)(Me,De=>{ve||(ve=!0,Fe--),Ke[Pe]=De},()=>Ae--,void 0,()=>{(!Ae||!ve)&&(Fe||Me.next(G?(0,ie.n)(G,Ke):Ke),Me.complete())}))}});return j?Ie.pipe((0,J.Z)(j)):Ie}},8996:(at,be,v)=>{v.d(be,{D:()=>H});var s=v(8421),f=v(5363),F=v(9468),J=v(9751),q=v(2202),Q=v(576),j=v(9672);function G(le,ce){if(!le)throw new Error("Iterable cannot be null");return new J.y(ge=>{(0,j.f)(ge,ce,()=>{const se=le[Symbol.asyncIterator]();(0,j.f)(ge,ce,()=>{se.next().then(pe=>{pe.done?ge.complete():ge.next(pe.value)})},0,!0)})})}var Ie=v(3670),Me=v(8239),Ve=v(1144),Ke=v(6495),Ae=v(2206),Fe=v(4532),Pe=v(3260);function H(le,ce){return ce?function De(le,ce){if(null!=le){if((0,Ie.c)(le))return function W(le,ce){return(0,s.Xf)(le).pipe((0,F.R)(ce),(0,f.Q)(ce))}(le,ce);if((0,Ve.z)(le))return function ie(le,ce){return new J.y(ge=>{let se=0;return ce.schedule(function(){se===le.length?ge.complete():(ge.next(le[se++]),ge.closed||this.schedule())})})}(le,ce);if((0,Me.t)(le))return function X(le,ce){return(0,s.Xf)(le).pipe((0,F.R)(ce),(0,f.Q)(ce))}(le,ce);if((0,Ae.D)(le))return G(le,ce);if((0,Ke.T)(le))return function Y(le,ce){return new J.y(ge=>{let se;return(0,j.f)(ge,ce,()=>{se=le[q.h](),(0,j.f)(ge,ce,()=>{let pe,Z;try{({value:pe,done:Z}=se.next())}catch(oe){return void ge.error(oe)}Z?ge.complete():ge.next(pe)},0,!0)}),()=>(0,Q.m)(se?.return)&&se.return()})}(le,ce);if((0,Pe.L)(le))return function ve(le,ce){return G((0,Pe.Q)(le),ce)}(le,ce)}throw(0,Fe.z)(le)}(le,ce):(0,s.Xf)(le)}},8421:(at,be,v)=>{v.d(be,{Xf:()=>Ie});var s=v(655),f=v(1144),F=v(8239),W=v(9751),X=v(3670),J=v(2206),ie=v(4532),q=v(6495),Q=v(3260),j=v(576),Y=v(7849),G=v(8822);function Ie(De){if(De instanceof W.y)return De;if(null!=De){if((0,X.c)(De))return function Me(De){return new W.y(H=>{const le=De[G.L]();if((0,j.m)(le.subscribe))return le.subscribe(H);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(De);if((0,f.z)(De))return function Ve(De){return new W.y(H=>{for(let le=0;le<De.length&&!H.closed;le++)H.next(De[le]);H.complete()})}(De);if((0,F.t)(De))return function Ke(De){return new W.y(H=>{De.then(le=>{H.closed||(H.next(le),H.complete())},le=>H.error(le)).then(null,Y.h)})}(De);if((0,J.D)(De))return Fe(De);if((0,q.T)(De))return function Ae(De){return new W.y(H=>{for(const le of De)if(H.next(le),H.closed)return;H.complete()})}(De);if((0,Q.L)(De))return function Pe(De){return Fe((0,Q.Q)(De))}(De)}throw(0,ie.z)(De)}function Fe(De){return new W.y(H=>{(function ve(De,H){var le,ce,ge,se;return(0,s.mG)(this,void 0,void 0,function*(){try{for(le=(0,s.KL)(De);!(ce=yield le.next()).done;)if(H.next(ce.value),H.closed)return}catch(pe){ge={error:pe}}finally{try{ce&&!ce.done&&(se=le.return)&&(yield se.call(le))}finally{if(ge)throw ge.error}}H.complete()})})(De,H).catch(le=>H.error(le))})}},6451:(at,be,v)=>{v.d(be,{T:()=>J});var s=v(8189),f=v(8421),F=v(515),W=v(3269),X=v(8996);function J(...ie){const q=(0,W.yG)(ie),Q=(0,W._6)(ie,1/0),j=ie;return j.length?1===j.length?(0,f.Xf)(j[0]):(0,s.J)(Q)((0,X.D)(j,q)):F.E}},9646:(at,be,v)=>{v.d(be,{of:()=>F});var s=v(3269),f=v(8996);function F(...W){const X=(0,s.yG)(W);return(0,f.D)(W,X)}},2843:(at,be,v)=>{v.d(be,{_:()=>F});var s=v(9751),f=v(576);function F(W,X){const J=(0,f.m)(W)?W:()=>W,ie=q=>q.error(J());return new s.y(X?q=>X.schedule(ie,0,q):ie)}},2805:(at,be,v)=>{v.d(be,{H:()=>X});var s=v(9751),f=v(4986),F=v(3532),W=v(1165);function X(J=0,ie,q=f.P){let Q=-1;return null!=ie&&((0,F.K)(ie)?q=ie:Q=ie),new s.y(j=>{let Y=(0,W.q)(J)?+J-q.now():J;Y<0&&(Y=0);let G=0;return q.schedule(function(){j.closed||(j.next(G++),0<=Q?this.schedule(void 0,Q):j.complete())},Y)})}},5403:(at,be,v)=>{v.d(be,{x:()=>f});var s=v(930);function f(W,X,J,ie,q){return new F(W,X,J,ie,q)}class F extends s.Lv{constructor(X,J,ie,q,Q,j){super(X),this.onFinalize=Q,this.shouldUnsubscribe=j,this._next=J?function(Y){try{J(Y)}catch(G){X.error(G)}}:super._next,this._error=q?function(Y){try{q(Y)}catch(G){X.error(G)}finally{this.unsubscribe()}}:super._error,this._complete=ie?function(){try{ie()}catch(Y){X.error(Y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var X;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:J}=this;super.unsubscribe(),!J&&(null===(X=this.onFinalize)||void 0===X||X.call(this))}}}},262:(at,be,v)=>{v.d(be,{K:()=>W});var s=v(8421),f=v(5403),F=v(4482);function W(X){return(0,F.e)((J,ie)=>{let j,q=null,Q=!1;q=J.subscribe((0,f.x)(ie,void 0,void 0,Y=>{j=(0,s.Xf)(X(Y,W(X)(J))),q?(q.unsubscribe(),q=null,j.subscribe(ie)):Q=!0})),Q&&(q.unsubscribe(),q=null,j.subscribe(ie))})}},4351:(at,be,v)=>{v.d(be,{b:()=>F});var s=v(5577),f=v(576);function F(W,X){return(0,f.m)(X)?(0,s.z)(W,X,1):(0,s.z)(W,1)}},8372:(at,be,v)=>{v.d(be,{b:()=>W});var s=v(4986),f=v(4482),F=v(5403);function W(X,J=s.z){return(0,f.e)((ie,q)=>{let Q=null,j=null,Y=null;const G=()=>{if(Q){Q.unsubscribe(),Q=null;const Me=j;j=null,q.next(Me)}};function Ie(){const Me=Y+X,Ve=J.now();if(Ve<Me)return Q=this.schedule(void 0,Me-Ve),void q.add(Q);G()}ie.subscribe((0,F.x)(q,Me=>{j=Me,Y=J.now(),Q||(Q=J.schedule(Ie,X),q.add(Q))},()=>{G(),q.complete()},void 0,()=>{j=Q=null}))})}},6590:(at,be,v)=>{v.d(be,{d:()=>F});var s=v(4482),f=v(5403);function F(W){return(0,s.e)((X,J)=>{let ie=!1;X.subscribe((0,f.x)(J,q=>{ie=!0,J.next(q)},()=>{ie||J.next(W),J.complete()}))})}},1884:(at,be,v)=>{v.d(be,{x:()=>W});var s=v(4671),f=v(4482),F=v(5403);function W(J,ie=s.y){return J=J??X,(0,f.e)((q,Q)=>{let j,Y=!0;q.subscribe((0,F.x)(Q,G=>{const Ie=ie(G);(Y||!J(j,Ie))&&(Y=!1,j=Ie,Q.next(G))}))})}function X(J,ie){return J===ie}},9300:(at,be,v)=>{v.d(be,{h:()=>F});var s=v(4482),f=v(5403);function F(W,X){return(0,s.e)((J,ie)=>{let q=0;J.subscribe((0,f.x)(ie,Q=>W.call(X,Q,q++)&&ie.next(Q)))})}},8746:(at,be,v)=>{v.d(be,{x:()=>f});var s=v(4482);function f(F){return(0,s.e)((W,X)=>{try{W.subscribe(X)}finally{X.add(F)}})}},590:(at,be,v)=>{v.d(be,{P:()=>ie});var s=v(6805),f=v(9300),F=v(5698),W=v(6590),X=v(8068),J=v(4671);function ie(q,Q){const j=arguments.length>=2;return Y=>Y.pipe(q?(0,f.h)((G,Ie)=>q(G,Ie,Y)):J.y,(0,F.q)(1),j?(0,W.d)(Q):(0,X.T)(()=>new s.K))}},4004:(at,be,v)=>{v.d(be,{U:()=>F});var s=v(4482),f=v(5403);function F(W,X){return(0,s.e)((J,ie)=>{let q=0;J.subscribe((0,f.x)(ie,Q=>{ie.next(W.call(X,Q,q++))}))})}},8189:(at,be,v)=>{v.d(be,{J:()=>F});var s=v(5577),f=v(4671);function F(W=1/0){return(0,s.z)(f.y,W)}},5577:(at,be,v)=>{v.d(be,{z:()=>q});var s=v(4004),f=v(8421),F=v(4482),W=v(9672),X=v(5403),ie=v(576);function q(Q,j,Y=1/0){return(0,ie.m)(j)?q((G,Ie)=>(0,s.U)((Me,Ve)=>j(G,Me,Ie,Ve))((0,f.Xf)(Q(G,Ie))),Y):("number"==typeof j&&(Y=j),(0,F.e)((G,Ie)=>function J(Q,j,Y,G,Ie,Me,Ve,Ke){const Ae=[];let Fe=0,Pe=0,ve=!1;const De=()=>{ve&&!Ae.length&&!Fe&&j.complete()},H=ce=>Fe<G?le(ce):Ae.push(ce),le=ce=>{Me&&j.next(ce),Fe++;let ge=!1;(0,f.Xf)(Y(ce,Pe++)).subscribe((0,X.x)(j,se=>{Ie?.(se),Me?H(se):j.next(se)},()=>{ge=!0},void 0,()=>{if(ge)try{for(Fe--;Ae.length&&Fe<G;){const se=Ae.shift();Ve?(0,W.f)(j,Ve,()=>le(se)):le(se)}De()}catch(se){j.error(se)}}))};return Q.subscribe((0,X.x)(j,H,()=>{ve=!0,De()})),()=>{Ke?.()}}(G,Ie,Q,Y)))}},5363:(at,be,v)=>{v.d(be,{Q:()=>W});var s=v(9672),f=v(4482),F=v(5403);function W(X,J=0){return(0,f.e)((ie,q)=>{ie.subscribe((0,F.x)(q,Q=>(0,s.f)(q,X,()=>q.next(Q),J),()=>(0,s.f)(q,X,()=>q.complete(),J),Q=>(0,s.f)(q,X,()=>q.error(Q),J)))})}},5026:(at,be,v)=>{v.d(be,{R:()=>W});var s=v(4482),f=v(5403);function F(X,J,ie,q,Q){return(j,Y)=>{let G=ie,Ie=J,Me=0;j.subscribe((0,f.x)(Y,Ve=>{const Ke=Me++;Ie=G?X(Ie,Ve,Ke):(G=!0,Ve),q&&Y.next(Ie)},Q&&(()=>{G&&Y.next(Ie),Y.complete()})))}}function W(X,J){return(0,s.e)(F(X,J,arguments.length>=2,!0))}},3099:(at,be,v)=>{v.d(be,{B:()=>X});var s=v(8421),f=v(7579),F=v(930),W=v(4482);function X(ie={}){const{connector:q=(()=>new f.x),resetOnError:Q=!0,resetOnComplete:j=!0,resetOnRefCountZero:Y=!0}=ie;return G=>{let Ie,Me,Ve,Ke=0,Ae=!1,Fe=!1;const Pe=()=>{Me?.unsubscribe(),Me=void 0},ve=()=>{Pe(),Ie=Ve=void 0,Ae=Fe=!1},De=()=>{const H=Ie;ve(),H?.unsubscribe()};return(0,W.e)((H,le)=>{Ke++,!Fe&&!Ae&&Pe();const ce=Ve=Ve??q();le.add(()=>{Ke--,0===Ke&&!Fe&&!Ae&&(Me=J(De,Y))}),ce.subscribe(le),!Ie&&Ke>0&&(Ie=new F.Hp({next:ge=>ce.next(ge),error:ge=>{Fe=!0,Pe(),Me=J(ve,Q,ge),ce.error(ge)},complete:()=>{Ae=!0,Pe(),Me=J(ve,j),ce.complete()}}),(0,s.Xf)(H).subscribe(Ie))})(G)}}function J(ie,q,...Q){if(!0===q)return void ie();if(!1===q)return;const j=new F.Hp({next:()=>{j.unsubscribe(),ie()}});return q(...Q).subscribe(j)}},4782:(at,be,v)=>{v.d(be,{d:()=>F});var s=v(4707),f=v(3099);function F(W,X,J){let ie,q=!1;return W&&"object"==typeof W?({bufferSize:ie=1/0,windowTime:X=1/0,refCount:q=!1,scheduler:J}=W):ie=W??1/0,(0,f.B)({connector:()=>new s.t(ie,X,J),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:q})}},5684:(at,be,v)=>{v.d(be,{T:()=>f});var s=v(9300);function f(F){return(0,s.h)((W,X)=>F<=X)}},8675:(at,be,v)=>{v.d(be,{O:()=>W});var s=v(7272),f=v(3269),F=v(4482);function W(...X){const J=(0,f.yG)(X);return(0,F.e)((ie,q)=>{(J?(0,s.z)(X,ie,J):(0,s.z)(X,ie)).subscribe(q)})}},9468:(at,be,v)=>{v.d(be,{R:()=>f});var s=v(4482);function f(F,W=0){return(0,s.e)((X,J)=>{J.add(F.schedule(()=>X.subscribe(J),W))})}},3900:(at,be,v)=>{v.d(be,{w:()=>W});var s=v(8421),f=v(4482),F=v(5403);function W(X,J){return(0,f.e)((ie,q)=>{let Q=null,j=0,Y=!1;const G=()=>Y&&!Q&&q.complete();ie.subscribe((0,F.x)(q,Ie=>{Q?.unsubscribe();let Me=0;const Ve=j++;(0,s.Xf)(X(Ie,Ve)).subscribe(Q=(0,F.x)(q,Ke=>q.next(J?J(Ie,Ke,Ve,Me++):Ke),()=>{Q=null,G()}))},()=>{Y=!0,G()}))})}},5698:(at,be,v)=>{v.d(be,{q:()=>W});var s=v(515),f=v(4482),F=v(5403);function W(X){return X<=0?()=>s.E:(0,f.e)((J,ie)=>{let q=0;J.subscribe((0,F.x)(ie,Q=>{++q<=X&&(ie.next(Q),X<=q&&ie.complete())}))})}},2722:(at,be,v)=>{v.d(be,{R:()=>X});var s=v(4482),f=v(5403),F=v(8421),W=v(5032);function X(J){return(0,s.e)((ie,q)=>{(0,F.Xf)(J).subscribe((0,f.x)(q,()=>q.complete(),W.Z)),!q.closed&&ie.subscribe(q)})}},2529:(at,be,v)=>{v.d(be,{o:()=>F});var s=v(4482),f=v(5403);function F(W,X=!1){return(0,s.e)((J,ie)=>{let q=0;J.subscribe((0,f.x)(ie,Q=>{const j=W(Q,q++);(j||X)&&ie.next(Q),!j&&ie.complete()}))})}},8505:(at,be,v)=>{v.d(be,{b:()=>X});var s=v(576),f=v(4482),F=v(5403),W=v(4671);function X(J,ie,q){const Q=(0,s.m)(J)||ie||q?{next:J,error:ie,complete:q}:J;return Q?(0,f.e)((j,Y)=>{var G;null===(G=Q.subscribe)||void 0===G||G.call(Q);let Ie=!0;j.subscribe((0,F.x)(Y,Me=>{var Ve;null===(Ve=Q.next)||void 0===Ve||Ve.call(Q,Me),Y.next(Me)},()=>{var Me;Ie=!1,null===(Me=Q.complete)||void 0===Me||Me.call(Q),Y.complete()},Me=>{var Ve;Ie=!1,null===(Ve=Q.error)||void 0===Ve||Ve.call(Q,Me),Y.error(Me)},()=>{var Me,Ve;Ie&&(null===(Me=Q.unsubscribe)||void 0===Me||Me.call(Q)),null===(Ve=Q.finalize)||void 0===Ve||Ve.call(Q)}))}):W.y}},8068:(at,be,v)=>{v.d(be,{T:()=>W});var s=v(6805),f=v(4482),F=v(5403);function W(J=X){return(0,f.e)((ie,q)=>{let Q=!1;ie.subscribe((0,F.x)(q,j=>{Q=!0,q.next(j)},()=>Q?q.complete():q.error(J())))})}function X(){return new s.K}},4408:(at,be,v)=>{v.d(be,{o:()=>X});var s=v(727);class f extends s.w0{constructor(ie,q){super()}schedule(ie,q=0){return this}}const F={setInterval(J,ie,...q){const{delegate:Q}=F;return Q?.setInterval?Q.setInterval(J,ie,...q):setInterval(J,ie,...q)},clearInterval(J){const{delegate:ie}=F;return(ie?.clearInterval||clearInterval)(J)},delegate:void 0};var W=v(8737);class X extends f{constructor(ie,q){super(ie,q),this.scheduler=ie,this.work=q,this.pending=!1}schedule(ie,q=0){if(this.closed)return this;this.state=ie;const Q=this.id,j=this.scheduler;return null!=Q&&(this.id=this.recycleAsyncId(j,Q,q)),this.pending=!0,this.delay=q,this.id=this.id||this.requestAsyncId(j,this.id,q),this}requestAsyncId(ie,q,Q=0){return F.setInterval(ie.flush.bind(ie,this),Q)}recycleAsyncId(ie,q,Q=0){if(null!=Q&&this.delay===Q&&!1===this.pending)return q;F.clearInterval(q)}execute(ie,q){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Q=this._execute(ie,q);if(Q)return Q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ie,q){let j,Q=!1;try{this.work(ie)}catch(Y){Q=!0,j=Y||new Error("Scheduled action threw falsy error")}if(Q)return this.unsubscribe(),j}unsubscribe(){if(!this.closed){const{id:ie,scheduler:q}=this,{actions:Q}=q;this.work=this.state=this.scheduler=null,this.pending=!1,(0,W.P)(Q,this),null!=ie&&(this.id=this.recycleAsyncId(q,ie,null)),this.delay=null,super.unsubscribe()}}}},7565:(at,be,v)=>{v.d(be,{v:()=>F});var s=v(6063);class f{constructor(X,J=f.now){this.schedulerActionCtor=X,this.now=J}schedule(X,J=0,ie){return new this.schedulerActionCtor(this,X).schedule(ie,J)}}f.now=s.l.now;class F extends f{constructor(X,J=f.now){super(X,J),this.actions=[],this._active=!1,this._scheduled=void 0}flush(X){const{actions:J}=this;if(this._active)return void J.push(X);let ie;this._active=!0;do{if(ie=X.execute(X.state,X.delay))break}while(X=J.shift());if(this._active=!1,ie){for(;X=J.shift();)X.unsubscribe();throw ie}}}},4986:(at,be,v)=>{v.d(be,{P:()=>W,z:()=>F});var s=v(4408);const F=new(v(7565).v)(s.o),W=F},6063:(at,be,v)=>{v.d(be,{l:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},3410:(at,be,v)=>{v.d(be,{z:()=>s});const s={setTimeout(f,F,...W){const{delegate:X}=s;return X?.setTimeout?X.setTimeout(f,F,...W):setTimeout(f,F,...W)},clearTimeout(f){const{delegate:F}=s;return(F?.clearTimeout||clearTimeout)(f)},delegate:void 0}},2202:(at,be,v)=>{v.d(be,{h:()=>f});const f=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(at,be,v)=>{v.d(be,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(at,be,v)=>{v.d(be,{K:()=>f});const f=(0,v(3888).d)(F=>function(){F(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(at,be,v)=>{v.d(be,{_6:()=>J,jO:()=>W,yG:()=>X});var s=v(576),f=v(3532);function F(ie){return ie[ie.length-1]}function W(ie){return(0,s.m)(F(ie))?ie.pop():void 0}function X(ie){return(0,f.K)(F(ie))?ie.pop():void 0}function J(ie,q){return"number"==typeof F(ie)?ie.pop():q}},4742:(at,be,v)=>{v.d(be,{D:()=>X});const{isArray:s}=Array,{getPrototypeOf:f,prototype:F,keys:W}=Object;function X(ie){if(1===ie.length){const q=ie[0];if(s(q))return{args:q,keys:null};if(function J(ie){return ie&&"object"==typeof ie&&f(ie)===F}(q)){const Q=W(q);return{args:Q.map(j=>q[j]),keys:Q}}}return{args:ie,keys:null}}},8737:(at,be,v)=>{function s(f,F){if(f){const W=f.indexOf(F);0<=W&&f.splice(W,1)}}v.d(be,{P:()=>s})},3888:(at,be,v)=>{function s(f){const W=f(X=>{Error.call(X),X.stack=(new Error).stack});return W.prototype=Object.create(Error.prototype),W.prototype.constructor=W,W}v.d(be,{d:()=>s})},1810:(at,be,v)=>{function s(f,F){return f.reduce((W,X,J)=>(W[X]=F[J],W),{})}v.d(be,{n:()=>s})},2806:(at,be,v)=>{v.d(be,{O:()=>W,x:()=>F});var s=v(2416);let f=null;function F(X){if(s.v.useDeprecatedSynchronousErrorHandling){const J=!f;if(J&&(f={errorThrown:!1,error:null}),X(),J){const{errorThrown:ie,error:q}=f;if(f=null,ie)throw q}}else X()}function W(X){s.v.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=X)}},9672:(at,be,v)=>{function s(f,F,W,X=0,J=!1){const ie=F.schedule(function(){W(),J?f.add(this.schedule(null,X)):this.unsubscribe()},X);if(f.add(ie),!J)return ie}v.d(be,{f:()=>s})},4671:(at,be,v)=>{function s(f){return f}v.d(be,{y:()=>s})},1144:(at,be,v)=>{v.d(be,{z:()=>s});const s=f=>f&&"number"==typeof f.length&&"function"!=typeof f},2206:(at,be,v)=>{v.d(be,{D:()=>f});var s=v(576);function f(F){return Symbol.asyncIterator&&(0,s.m)(F?.[Symbol.asyncIterator])}},1165:(at,be,v)=>{function s(f){return f instanceof Date&&!isNaN(f)}v.d(be,{q:()=>s})},576:(at,be,v)=>{function s(f){return"function"==typeof f}v.d(be,{m:()=>s})},3670:(at,be,v)=>{v.d(be,{c:()=>F});var s=v(8822),f=v(576);function F(W){return(0,f.m)(W[s.L])}},6495:(at,be,v)=>{v.d(be,{T:()=>F});var s=v(2202),f=v(576);function F(W){return(0,f.m)(W?.[s.h])}},8239:(at,be,v)=>{v.d(be,{t:()=>f});var s=v(576);function f(F){return(0,s.m)(F?.then)}},3260:(at,be,v)=>{v.d(be,{L:()=>W,Q:()=>F});var s=v(655),f=v(576);function F(X){return(0,s.FC)(this,arguments,function*(){const ie=X.getReader();try{for(;;){const{value:q,done:Q}=yield(0,s.qq)(ie.read());if(Q)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(q)}}finally{ie.releaseLock()}})}function W(X){return(0,f.m)(X?.getReader)}},3532:(at,be,v)=>{v.d(be,{K:()=>f});var s=v(576);function f(F){return F&&(0,s.m)(F.schedule)}},4482:(at,be,v)=>{v.d(be,{A:()=>f,e:()=>F});var s=v(576);function f(W){return(0,s.m)(W?.lift)}function F(W){return X=>{if(f(X))return X.lift(function(J){try{return W(J,this)}catch(ie){this.error(ie)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(at,be,v)=>{v.d(be,{Z:()=>W});var s=v(4004);const{isArray:f}=Array;function W(X){return(0,s.U)(J=>function F(X,J){return f(J)?X(...J):X(J)}(X,J))}},5032:(at,be,v)=>{function s(){}v.d(be,{Z:()=>s})},9635:(at,be,v)=>{v.d(be,{U:()=>F,z:()=>f});var s=v(4671);function f(...W){return F(W)}function F(W){return 0===W.length?s.y:1===W.length?W[0]:function(J){return W.reduce((ie,q)=>q(ie),J)}}},7849:(at,be,v)=>{v.d(be,{h:()=>F});var s=v(2416),f=v(3410);function F(W){f.z.setTimeout(()=>{const{onUnhandledError:X}=s.v;if(!X)throw W;X(W)})}},4532:(at,be,v)=>{function s(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}v.d(be,{z:()=>s})},655:(at,be,v)=>{function W(Z,oe){var xe={};for(var ye in Z)Object.prototype.hasOwnProperty.call(Z,ye)&&oe.indexOf(ye)<0&&(xe[ye]=Z[ye]);if(null!=Z&&"function"==typeof Object.getOwnPropertySymbols){var We=0;for(ye=Object.getOwnPropertySymbols(Z);We<ye.length;We++)oe.indexOf(ye[We])<0&&Object.prototype.propertyIsEnumerable.call(Z,ye[We])&&(xe[ye[We]]=Z[ye[We]])}return xe}function q(Z,oe,xe,ye){return new(xe||(xe=Promise))(function(Je,mt){function Wt(Ot){try{Rt(ye.next(Ot))}catch(Ue){mt(Ue)}}function Xt(Ot){try{Rt(ye.throw(Ot))}catch(Ue){mt(Ue)}}function Rt(Ot){Ot.done?Je(Ot.value):function We(Je){return Je instanceof xe?Je:new xe(function(mt){mt(Je)})}(Ot.value).then(Wt,Xt)}Rt((ye=ye.apply(Z,oe||[])).next())})}function Ae(Z){return this instanceof Ae?(this.v=Z,this):new Ae(Z)}function Fe(Z,oe,xe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var We,ye=xe.apply(Z,oe||[]),Je=[];return We={},mt("next"),mt("throw"),mt("return"),We[Symbol.asyncIterator]=function(){return this},We;function mt(rt){ye[rt]&&(We[rt]=function(fe){return new Promise(function(Le,lt){Je.push([rt,fe,Le,lt])>1||Wt(rt,fe)})})}function Wt(rt,fe){try{!function Xt(rt){rt.value instanceof Ae?Promise.resolve(rt.value.v).then(Rt,Ot):Ue(Je[0][2],rt)}(ye[rt](fe))}catch(Le){Ue(Je[0][3],Le)}}function Rt(rt){Wt("next",rt)}function Ot(rt){Wt("throw",rt)}function Ue(rt,fe){rt(fe),Je.shift(),Je.length&&Wt(Je[0][0],Je[0][1])}}function ve(Z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var xe,oe=Z[Symbol.asyncIterator];return oe?oe.call(Z):(Z=function G(Z){var oe="function"==typeof Symbol&&Symbol.iterator,xe=oe&&Z[oe],ye=0;if(xe)return xe.call(Z);if(Z&&"number"==typeof Z.length)return{next:function(){return Z&&ye>=Z.length&&(Z=void 0),{value:Z&&Z[ye++],done:!Z}}};throw new TypeError(oe?"Object is not iterable.":"Symbol.iterator is not defined.")}(Z),xe={},ye("next"),ye("throw"),ye("return"),xe[Symbol.asyncIterator]=function(){return this},xe);function ye(Je){xe[Je]=Z[Je]&&function(mt){return new Promise(function(Wt,Xt){!function We(Je,mt,Wt,Xt){Promise.resolve(Xt).then(function(Rt){Je({value:Rt,done:Wt})},mt)}(Wt,Xt,(mt=Z[Je](mt)).done,mt.value)})}}}v.d(be,{FC:()=>Fe,KL:()=>ve,_T:()=>W,mG:()=>q,qq:()=>Ae})},7340:(at,be,v)=>{v.d(be,{F4:()=>j,IO:()=>Ve,LC:()=>f,SB:()=>Q,X$:()=>W,ZE:()=>Pe,ZN:()=>Fe,_j:()=>s,eR:()=>Y,jt:()=>X,k1:()=>ve,l3:()=>F,oB:()=>q,pV:()=>Ie,ru:()=>J,vP:()=>ie});class s{}class f{}const F="*";function W(De,H){return{type:7,name:De,definitions:H,options:{}}}function X(De,H=null){return{type:4,styles:H,timings:De}}function J(De,H=null){return{type:3,steps:De,options:H}}function ie(De,H=null){return{type:2,steps:De,options:H}}function q(De){return{type:6,styles:De,offset:null}}function Q(De,H,le){return{type:0,name:De,styles:H,options:le}}function j(De){return{type:5,steps:De}}function Y(De,H,le=null){return{type:1,expr:De,animation:H,options:le}}function Ie(De=null){return{type:9,options:De}}function Ve(De,H,le=null){return{type:11,selector:De,animation:H,options:le}}function Ae(De){Promise.resolve().then(De)}class Fe{constructor(H=0,le=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=H+le}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}onStart(H){this._originalOnStartFns.push(H),this._onStartFns.push(H)}onDone(H){this._originalOnDoneFns.push(H),this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ae(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(H=>H()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(H){this._position=this.totalTime?H*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(H){const le="start"==H?this._onStartFns:this._onDoneFns;le.forEach(ce=>ce()),le.length=0}}class Pe{constructor(H){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=H;let le=0,ce=0,ge=0;const se=this.players.length;0==se?Ae(()=>this._onFinish()):this.players.forEach(pe=>{pe.onDone(()=>{++le==se&&this._onFinish()}),pe.onDestroy(()=>{++ce==se&&this._onDestroy()}),pe.onStart(()=>{++ge==se&&this._onStart()})}),this.totalTime=this.players.reduce((pe,Z)=>Math.max(pe,Z.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this.players.forEach(H=>H.init())}onStart(H){this._onStartFns.push(H)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(H=>H()),this._onStartFns=[])}onDone(H){this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(H=>H.play())}pause(){this.players.forEach(H=>H.pause())}restart(){this.players.forEach(H=>H.restart())}finish(){this._onFinish(),this.players.forEach(H=>H.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(H=>H.destroy()),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this.players.forEach(H=>H.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(H){const le=H*this.totalTime;this.players.forEach(ce=>{const ge=ce.totalTime?Math.min(1,le/ce.totalTime):1;ce.setPosition(ge)})}getPosition(){const H=this.players.reduce((le,ce)=>null===le||ce.totalTime>le.totalTime?ce:le,null);return null!=H?H.getPosition():0}beforeDestroy(){this.players.forEach(H=>{H.beforeDestroy&&H.beforeDestroy()})}triggerCallback(H){const le="start"==H?this._onStartFns:this._onDoneFns;le.forEach(ce=>ce()),le.length=0}}const ve="!"},2693:(at,be,v)=>{v.d(be,{rt:()=>Kt,s1:()=>$t,$s:()=>rt,kH:()=>he,mK:()=>Ut,Em:()=>Ye,tE:()=>K,qV:()=>Hn,qm:()=>zt,ic:()=>te,Kd:()=>M,X6:()=>Ne,yG:()=>qe});var s=v(6895),f=v(4650),F=v(3353),W=v(7579),X=v(727),J=v(1135),ie=v(9646),q=v(9521),Q=v(8505),j=v(8372),Y=v(9300),G=v(4004),Ie=v(5698),Me=v(5684),Ve=v(1884),Ke=v(2722),Ae=v(1281),Fe=v(9643),Pe=v(9841),ve=v(7272),De=v(9751),H=v(8675);const ce=new Set;let ge,se=(()=>{class Ee{constructor(C){this._platform=C,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Z}matchMedia(C){return(this._platform.WEBKIT||this._platform.BLINK)&&function pe(Ee){if(!ce.has(Ee))try{ge||(ge=document.createElement("style"),ge.setAttribute("type","text/css"),document.head.appendChild(ge)),ge.sheet&&(ge.sheet.insertRule(`@media ${Ee} {body{ }}`,0),ce.add(Ee))}catch(I){console.error(I)}}(C),this._matchMedia(C)}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.LFG(F.t4))},Ee.\u0275prov=f.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();function Z(Ee){return{matches:"all"===Ee||""===Ee,media:Ee,addListener:()=>{},removeListener:()=>{}}}let oe=(()=>{class Ee{constructor(C,S){this._mediaMatcher=C,this._zone=S,this._queries=new Map,this._destroySubject=new W.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(C){return xe((0,Ae.Eq)(C)).some($=>this._registerQuery($).mql.matches)}observe(C){const $=xe((0,Ae.Eq)(C)).map(Qe=>this._registerQuery(Qe).observable);let ue=(0,Pe.a)($);return ue=(0,ve.z)(ue.pipe((0,Ie.q)(1)),ue.pipe((0,Me.T)(1),(0,j.b)(0))),ue.pipe((0,G.U)(Qe=>{const Mt={matches:!1,breakpoints:{}};return Qe.forEach(({matches:Mn,query:In})=>{Mt.matches=Mt.matches||Mn,Mt.breakpoints[In]=Mn}),Mt}))}_registerQuery(C){if(this._queries.has(C))return this._queries.get(C);const S=this._mediaMatcher.matchMedia(C),ue={observable:new De.y(Qe=>{const Mt=Mn=>this._zone.run(()=>Qe.next(Mn));return S.addListener(Mt),()=>{S.removeListener(Mt)}}).pipe((0,H.O)(S),(0,G.U)(({matches:Qe})=>({query:C,matches:Qe})),(0,Ke.R)(this._destroySubject)),mql:S};return this._queries.set(C,ue),ue}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.LFG(se),f.LFG(f.R0b))},Ee.\u0275prov=f.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();function xe(Ee){return Ee.map(I=>I.split(",")).reduce((I,C)=>I.concat(C)).map(I=>I.trim())}function Wt(Ee,I){return(Ee.getAttribute(I)||"").match(/\S+/g)||[]}const Rt="cdk-describedby-message",Ot="cdk-describedby-host";let Ue=0,rt=(()=>{class Ee{constructor(C,S){this._platform=S,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ue++,this._document=C,this._id=(0,f.f3M)(f.AFp)+"-"+Ue++}describe(C,S,$){if(!this._canBeDescribed(C,S))return;const ue=fe(S,$);"string"!=typeof S?(Le(S,this._id),this._messageRegistry.set(ue,{messageElement:S,referenceCount:0})):this._messageRegistry.has(ue)||this._createMessageElement(S,$),this._isElementDescribedByMessage(C,ue)||this._addMessageReference(C,ue)}removeDescription(C,S,$){if(!S||!this._isElementNode(C))return;const ue=fe(S,$);if(this._isElementDescribedByMessage(C,ue)&&this._removeMessageReference(C,ue),"string"==typeof S){const Qe=this._messageRegistry.get(ue);Qe&&0===Qe.referenceCount&&this._deleteMessageElement(ue)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const C=this._document.querySelectorAll(`[${Ot}="${this._id}"]`);for(let S=0;S<C.length;S++)this._removeCdkDescribedByReferenceIds(C[S]),C[S].removeAttribute(Ot);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(C,S){const $=this._document.createElement("div");Le($,this._id),$.textContent=C,S&&$.setAttribute("role",S),this._createMessagesContainer(),this._messagesContainer.appendChild($),this._messageRegistry.set(fe(C,S),{messageElement:$,referenceCount:0})}_deleteMessageElement(C){this._messageRegistry.get(C)?.messageElement?.remove(),this._messageRegistry.delete(C)}_createMessagesContainer(){if(this._messagesContainer)return;const C="cdk-describedby-message-container",S=this._document.querySelectorAll(`.${C}[platform="server"]`);for(let ue=0;ue<S.length;ue++)S[ue].remove();const $=this._document.createElement("div");$.style.visibility="hidden",$.classList.add(C),$.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&$.setAttribute("platform","server"),this._document.body.appendChild($),this._messagesContainer=$}_removeCdkDescribedByReferenceIds(C){const S=Wt(C,"aria-describedby").filter($=>0!=$.indexOf(Rt));C.setAttribute("aria-describedby",S.join(" "))}_addMessageReference(C,S){const $=this._messageRegistry.get(S);(function Je(Ee,I,C){const S=Wt(Ee,I);S.some($=>$.trim()==C.trim())||(S.push(C.trim()),Ee.setAttribute(I,S.join(" ")))})(C,"aria-describedby",$.messageElement.id),C.setAttribute(Ot,this._id),$.referenceCount++}_removeMessageReference(C,S){const $=this._messageRegistry.get(S);$.referenceCount--,function mt(Ee,I,C){const $=Wt(Ee,I).filter(ue=>ue!=C.trim());$.length?Ee.setAttribute(I,$.join(" ")):Ee.removeAttribute(I)}(C,"aria-describedby",$.messageElement.id),C.removeAttribute(Ot)}_isElementDescribedByMessage(C,S){const $=Wt(C,"aria-describedby"),ue=this._messageRegistry.get(S),Qe=ue&&ue.messageElement.id;return!!Qe&&-1!=$.indexOf(Qe)}_canBeDescribed(C,S){if(!this._isElementNode(C))return!1;if(S&&"object"==typeof S)return!0;const $=null==S?"":`${S}`.trim(),ue=C.getAttribute("aria-label");return!(!$||ue&&ue.trim()===$)}_isElementNode(C){return C.nodeType===this._document.ELEMENT_NODE}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.LFG(s.K0),f.LFG(F.t4))},Ee.\u0275prov=f.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();function fe(Ee,I){return"string"==typeof Ee?`${I||""}/${Ee}`:Ee}function Le(Ee,I){Ee.id||(Ee.id=`${Rt}-${I}-${Ue++}`)}class lt{constructor(I){this._items=I,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new W.x,this._typeaheadSubscription=X.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=C=>C.disabled,this._pressedLetters=[],this.tabOut=new W.x,this.change=new W.x,I instanceof f.n_E&&(this._itemChangesSubscription=I.changes.subscribe(C=>{if(this._activeItem){const $=C.toArray().indexOf(this._activeItem);$>-1&&$!==this._activeItemIndex&&(this._activeItemIndex=$)}}))}skipPredicate(I){return this._skipPredicateFn=I,this}withWrap(I=!0){return this._wrap=I,this}withVerticalOrientation(I=!0){return this._vertical=I,this}withHorizontalOrientation(I){return this._horizontal=I,this}withAllowedModifierKeys(I){return this._allowedModifierKeys=I,this}withTypeAhead(I=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Q.b)(C=>this._pressedLetters.push(C)),(0,j.b)(I),(0,Y.h)(()=>this._pressedLetters.length>0),(0,G.U)(()=>this._pressedLetters.join(""))).subscribe(C=>{const S=this._getItemsArray();for(let $=1;$<S.length+1;$++){const ue=(this._activeItemIndex+$)%S.length,Qe=S[ue];if(!this._skipPredicateFn(Qe)&&0===Qe.getLabel().toUpperCase().trim().indexOf(C)){this.setActiveItem(ue);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(I=!0){return this._homeAndEnd=I,this}withPageUpDown(I=!0,C=10){return this._pageUpAndDown={enabled:I,delta:C},this}setActiveItem(I){const C=this._activeItem;this.updateActiveItem(I),this._activeItem!==C&&this.change.next(this._activeItemIndex)}onKeydown(I){const C=I.keyCode,$=["altKey","ctrlKey","metaKey","shiftKey"].every(ue=>!I[ue]||this._allowedModifierKeys.indexOf(ue)>-1);switch(C){case q.Mf:return void this.tabOut.next();case q.JH:if(this._vertical&&$){this.setNextItemActive();break}return;case q.LH:if(this._vertical&&$){this.setPreviousItemActive();break}return;case q.SV:if(this._horizontal&&$){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case q.oh:if(this._horizontal&&$){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case q.Sd:if(this._homeAndEnd&&$){this.setFirstItemActive();break}return;case q.uR:if(this._homeAndEnd&&$){this.setLastItemActive();break}return;case q.Ku:if(this._pageUpAndDown.enabled&&$){const ue=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ue>0?ue:0,1);break}return;case q.VM:if(this._pageUpAndDown.enabled&&$){const ue=this._activeItemIndex+this._pageUpAndDown.delta,Qe=this._getItemsArray().length;this._setActiveItemByIndex(ue<Qe?ue:Qe-1,-1);break}return;default:return void(($||(0,q.Vb)(I,"shiftKey"))&&(I.key&&1===I.key.length?this._letterKeyStream.next(I.key.toLocaleUpperCase()):(C>=q.A&&C<=q.Z||C>=q.xE&&C<=q.aO)&&this._letterKeyStream.next(String.fromCharCode(C))))}this._pressedLetters=[],I.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(I){const C=this._getItemsArray(),S="number"==typeof I?I:C.indexOf(I);this._activeItem=C[S]??null,this._activeItemIndex=S}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(I){this._wrap?this._setActiveInWrapMode(I):this._setActiveInDefaultMode(I)}_setActiveInWrapMode(I){const C=this._getItemsArray();for(let S=1;S<=C.length;S++){const $=(this._activeItemIndex+I*S+C.length)%C.length;if(!this._skipPredicateFn(C[$]))return void this.setActiveItem($)}}_setActiveInDefaultMode(I){this._setActiveItemByIndex(this._activeItemIndex+I,I)}_setActiveItemByIndex(I,C){const S=this._getItemsArray();if(S[I]){for(;this._skipPredicateFn(S[I]);)if(!S[I+=C])return;this.setActiveItem(I)}}_getItemsArray(){return this._items instanceof f.n_E?this._items.toArray():this._items}}class $t extends lt{setActiveItem(I){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(I),this.activeItem&&this.activeItem.setActiveStyles()}}class Ye extends lt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(I){return this._origin=I,this}setActiveItem(I){super.setActiveItem(I),this.activeItem&&this.activeItem.focus(this._origin)}}let te=(()=>{class Ee{constructor(C){this._platform=C}isDisabled(C){return C.hasAttribute("disabled")}isVisible(C){return function nt(Ee){return!!(Ee.offsetWidth||Ee.offsetHeight||"function"==typeof Ee.getClientRects&&Ee.getClientRects().length)}(C)&&"visible"===getComputedStyle(C).visibility}isTabbable(C){if(!this._platform.isBrowser)return!1;const S=function Xe(Ee){try{return Ee.frameElement}catch{return null}}(function bn(Ee){return Ee.ownerDocument&&Ee.ownerDocument.defaultView||window}(C));if(S&&(-1===Ft(S)||!this.isVisible(S)))return!1;let $=C.nodeName.toLowerCase(),ue=Ft(C);return C.hasAttribute("contenteditable")?-1!==ue:!("iframe"===$||"object"===$||this._platform.WEBKIT&&this._platform.IOS&&!function sn(Ee){let I=Ee.nodeName.toLowerCase(),C="input"===I&&Ee.type;return"text"===C||"password"===C||"select"===I||"textarea"===I}(C))&&("audio"===$?!!C.hasAttribute("controls")&&-1!==ue:"video"===$?-1!==ue&&(null!==ue||this._platform.FIREFOX||C.hasAttribute("controls")):C.tabIndex>=0)}isFocusable(C,S){return function $n(Ee){return!function bt(Ee){return function yn(Ee){return"input"==Ee.nodeName.toLowerCase()}(Ee)&&"hidden"==Ee.type}(Ee)&&(function wt(Ee){let I=Ee.nodeName.toLowerCase();return"input"===I||"select"===I||"button"===I||"textarea"===I}(Ee)||function Pt(Ee){return function Yt(Ee){return"a"==Ee.nodeName.toLowerCase()}(Ee)&&Ee.hasAttribute("href")}(Ee)||Ee.hasAttribute("contenteditable")||Tt(Ee))}(C)&&!this.isDisabled(C)&&(S?.ignoreVisibility||this.isVisible(C))}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.LFG(F.t4))},Ee.\u0275prov=f.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();function Tt(Ee){if(!Ee.hasAttribute("tabindex")||void 0===Ee.tabIndex)return!1;let I=Ee.getAttribute("tabindex");return!(!I||isNaN(parseInt(I,10)))}function Ft(Ee){if(!Tt(Ee))return null;const I=parseInt(Ee.getAttribute("tabindex")||"",10);return isNaN(I)?-1:I}class wn{get enabled(){return this._enabled}set enabled(I){this._enabled=I,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(I,this._startAnchor),this._toggleAnchorTabIndex(I,this._endAnchor))}constructor(I,C,S,$,ue=!1){this._element=I,this._checker=C,this._ngZone=S,this._document=$,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ue||this.attachAnchors()}destroy(){const I=this._startAnchor,C=this._endAnchor;I&&(I.removeEventListener("focus",this.startAnchorListener),I.remove()),C&&(C.removeEventListener("focus",this.endAnchorListener),C.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(I){return new Promise(C=>{this._executeOnStable(()=>C(this.focusInitialElement(I)))})}focusFirstTabbableElementWhenReady(I){return new Promise(C=>{this._executeOnStable(()=>C(this.focusFirstTabbableElement(I)))})}focusLastTabbableElementWhenReady(I){return new Promise(C=>{this._executeOnStable(()=>C(this.focusLastTabbableElement(I)))})}_getRegionBoundary(I){const C=this._element.querySelectorAll(`[cdk-focus-region-${I}], [cdkFocusRegion${I}], [cdk-focus-${I}]`);return"start"==I?C.length?C[0]:this._getFirstTabbableElement(this._element):C.length?C[C.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(I){const C=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(C){if(!this._checker.isFocusable(C)){const S=this._getFirstTabbableElement(C);return S?.focus(I),!!S}return C.focus(I),!0}return this.focusFirstTabbableElement(I)}focusFirstTabbableElement(I){const C=this._getRegionBoundary("start");return C&&C.focus(I),!!C}focusLastTabbableElement(I){const C=this._getRegionBoundary("end");return C&&C.focus(I),!!C}hasAttached(){return this._hasAttached}_getFirstTabbableElement(I){if(this._checker.isFocusable(I)&&this._checker.isTabbable(I))return I;const C=I.children;for(let S=0;S<C.length;S++){const $=C[S].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(C[S]):null;if($)return $}return null}_getLastTabbableElement(I){if(this._checker.isFocusable(I)&&this._checker.isTabbable(I))return I;const C=I.children;for(let S=C.length-1;S>=0;S--){const $=C[S].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(C[S]):null;if($)return $}return null}_createAnchor(){const I=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,I),I.classList.add("cdk-visually-hidden"),I.classList.add("cdk-focus-trap-anchor"),I.setAttribute("aria-hidden","true"),I}_toggleAnchorTabIndex(I,C){I?C.setAttribute("tabindex","0"):C.removeAttribute("tabindex")}toggleAnchors(I){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(I,this._startAnchor),this._toggleAnchorTabIndex(I,this._endAnchor))}_executeOnStable(I){this._ngZone.isStable?I():this._ngZone.onStable.pipe((0,Ie.q)(1)).subscribe(I)}}let Hn=(()=>{class Ee{constructor(C,S,$){this._checker=C,this._ngZone=S,this._document=$}create(C,S=!1){return new wn(C,this._checker,this._ngZone,this._document,S)}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.LFG(te),f.LFG(f.R0b),f.LFG(s.K0))},Ee.\u0275prov=f.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),Ut=(()=>{class Ee{get enabled(){return this.focusTrap.enabled}set enabled(C){this.focusTrap.enabled=(0,Ae.Ig)(C)}get autoCapture(){return this._autoCapture}set autoCapture(C){this._autoCapture=(0,Ae.Ig)(C)}constructor(C,S,$){this._elementRef=C,this._focusTrapFactory=S,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(C){const S=C.autoCapture;S&&!S.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,F.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.Y36(f.SBq),f.Y36(Hn),f.Y36(s.K0))},Ee.\u0275dir=f.lG2({type:Ee,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[f.TTD]}),Ee})();function Ne(Ee){return 0===Ee.buttons||0===Ee.offsetX&&0===Ee.offsetY}function qe(Ee){const I=Ee.touches&&Ee.touches[0]||Ee.changedTouches&&Ee.changedTouches[0];return!(!I||-1!==I.identifier||null!=I.radiusX&&1!==I.radiusX||null!=I.radiusY&&1!==I.radiusY)}const Vt=new f.OlP("cdk-input-modality-detector-options"),kt={ignoreKeys:[q.zL,q.jx,q.b2,q.MW,q.JU]},Ht=(0,F.i$)({passive:!0,capture:!0});let An=(()=>{class Ee{get mostRecentModality(){return this._modality.value}constructor(C,S,$,ue){this._platform=C,this._mostRecentTarget=null,this._modality=new J.X(null),this._lastTouchMs=0,this._onKeydown=Qe=>{this._options?.ignoreKeys?.some(Mt=>Mt===Qe.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,F.sA)(Qe))},this._onMousedown=Qe=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ne(Qe)?"keyboard":"mouse"),this._mostRecentTarget=(0,F.sA)(Qe))},this._onTouchstart=Qe=>{qe(Qe)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,F.sA)(Qe))},this._options={...kt,...ue},this.modalityDetected=this._modality.pipe((0,Me.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Ve.x)()),C.isBrowser&&S.runOutsideAngular(()=>{$.addEventListener("keydown",this._onKeydown,Ht),$.addEventListener("mousedown",this._onMousedown,Ht),$.addEventListener("touchstart",this._onTouchstart,Ht)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ht),document.removeEventListener("mousedown",this._onMousedown,Ht),document.removeEventListener("touchstart",this._onTouchstart,Ht))}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.LFG(F.t4),f.LFG(f.R0b),f.LFG(s.K0),f.LFG(Vt,8))},Ee.\u0275prov=f.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();const Xn=new f.OlP("liveAnnouncerElement",{providedIn:"root",factory:function ft(){return null}}),re=new f.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let N=0,M=(()=>{class Ee{constructor(C,S,$,ue){this._ngZone=S,this._defaultOptions=ue,this._document=$,this._liveElement=C||this._createLiveElement()}announce(C,...S){const $=this._defaultOptions;let ue,Qe;return 1===S.length&&"number"==typeof S[0]?Qe=S[0]:[ue,Qe]=S,this.clear(),clearTimeout(this._previousTimeout),ue||(ue=$&&$.politeness?$.politeness:"polite"),null==Qe&&$&&(Qe=$.duration),this._liveElement.setAttribute("aria-live",ue),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Mt=>this._currentResolve=Mt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=C,"number"==typeof Qe&&(this._previousTimeout=setTimeout(()=>this.clear(),Qe)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const C="cdk-live-announcer-element",S=this._document.getElementsByClassName(C),$=this._document.createElement("div");for(let ue=0;ue<S.length;ue++)S[ue].remove();return $.classList.add(C),$.classList.add("cdk-visually-hidden"),$.setAttribute("aria-atomic","true"),$.setAttribute("aria-live","polite"),$.id="cdk-live-announcer-"+N++,this._document.body.appendChild($),$}_exposeAnnouncerToModals(C){const S=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let $=0;$<S.length;$++){const ue=S[$],Qe=ue.getAttribute("aria-owns");Qe?-1===Qe.indexOf(C)&&ue.setAttribute("aria-owns",Qe+" "+C):ue.setAttribute("aria-owns",C)}}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.LFG(Xn,8),f.LFG(f.R0b),f.LFG(s.K0),f.LFG(re,8))},Ee.\u0275prov=f.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();const Ce=new f.OlP("cdk-focus-monitor-default-options"),B=(0,F.i$)({passive:!0,capture:!0});let K=(()=>{class Ee{constructor(C,S,$,ue,Qe){this._ngZone=C,this._platform=S,this._inputModalityDetector=$,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new W.x,this._rootNodeFocusAndBlurListener=Mt=>{for(let In=(0,F.sA)(Mt);In;In=In.parentElement)"focus"===Mt.type?this._onFocus(Mt,In):this._onBlur(Mt,In)},this._document=ue,this._detectionMode=Qe?.detectionMode||0}monitor(C,S=!1){const $=(0,Ae.fI)(C);if(!this._platform.isBrowser||1!==$.nodeType)return(0,ie.of)(null);const ue=(0,F.kV)($)||this._getDocument(),Qe=this._elementInfo.get($);if(Qe)return S&&(Qe.checkChildren=!0),Qe.subject;const Mt={checkChildren:S,subject:new W.x,rootNode:ue};return this._elementInfo.set($,Mt),this._registerGlobalListeners(Mt),Mt.subject}stopMonitoring(C){const S=(0,Ae.fI)(C),$=this._elementInfo.get(S);$&&($.subject.complete(),this._setClasses(S),this._elementInfo.delete(S),this._removeGlobalListeners($))}focusVia(C,S,$){const ue=(0,Ae.fI)(C);ue===this._getDocument().activeElement?this._getClosestElementsInfo(ue).forEach(([Mt,Mn])=>this._originChanged(Mt,S,Mn)):(this._setOrigin(S),"function"==typeof ue.focus&&ue.focus($))}ngOnDestroy(){this._elementInfo.forEach((C,S)=>this.stopMonitoring(S))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(C){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(C)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:C&&this._isLastInteractionFromInputLabel(C)?"mouse":"program"}_shouldBeAttributedToTouch(C){return 1===this._detectionMode||!!C?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(C,S){C.classList.toggle("cdk-focused",!!S),C.classList.toggle("cdk-touch-focused","touch"===S),C.classList.toggle("cdk-keyboard-focused","keyboard"===S),C.classList.toggle("cdk-mouse-focused","mouse"===S),C.classList.toggle("cdk-program-focused","program"===S)}_setOrigin(C,S=!1){this._ngZone.runOutsideAngular(()=>{this._origin=C,this._originFromTouchInteraction="touch"===C&&S,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(C,S){const $=this._elementInfo.get(S),ue=(0,F.sA)(C);!$||!$.checkChildren&&S!==ue||this._originChanged(S,this._getFocusOrigin(ue),$)}_onBlur(C,S){const $=this._elementInfo.get(S);!$||$.checkChildren&&C.relatedTarget instanceof Node&&S.contains(C.relatedTarget)||(this._setClasses(S),this._emitOrigin($,null))}_emitOrigin(C,S){C.subject.observers.length&&this._ngZone.run(()=>C.subject.next(S))}_registerGlobalListeners(C){if(!this._platform.isBrowser)return;const S=C.rootNode,$=this._rootNodeFocusListenerCount.get(S)||0;$||this._ngZone.runOutsideAngular(()=>{S.addEventListener("focus",this._rootNodeFocusAndBlurListener,B),S.addEventListener("blur",this._rootNodeFocusAndBlurListener,B)}),this._rootNodeFocusListenerCount.set(S,$+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Ke.R)(this._stopInputModalityDetector)).subscribe(ue=>{this._setOrigin(ue,!0)}))}_removeGlobalListeners(C){const S=C.rootNode;if(this._rootNodeFocusListenerCount.has(S)){const $=this._rootNodeFocusListenerCount.get(S);$>1?this._rootNodeFocusListenerCount.set(S,$-1):(S.removeEventListener("focus",this._rootNodeFocusAndBlurListener,B),S.removeEventListener("blur",this._rootNodeFocusAndBlurListener,B),this._rootNodeFocusListenerCount.delete(S))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(C,S,$){this._setClasses(C,S),this._emitOrigin($,S),this._lastFocusOrigin=S}_getClosestElementsInfo(C){const S=[];return this._elementInfo.forEach(($,ue)=>{(ue===C||$.checkChildren&&ue.contains(C))&&S.push([ue,$])}),S}_isLastInteractionFromInputLabel(C){const{_mostRecentTarget:S,mostRecentModality:$}=this._inputModalityDetector;if("mouse"!==$||!S||S===C||"INPUT"!==C.nodeName&&"TEXTAREA"!==C.nodeName||C.disabled)return!1;const ue=C.labels;if(ue)for(let Qe=0;Qe<ue.length;Qe++)if(ue[Qe].contains(S))return!0;return!1}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.LFG(f.R0b),f.LFG(F.t4),f.LFG(An),f.LFG(s.K0,8),f.LFG(Ce,8))},Ee.\u0275prov=f.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),he=(()=>{class Ee{constructor(C,S){this._elementRef=C,this._focusMonitor=S,this._focusOrigin=null,this.cdkFocusChange=new f.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const C=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(C,1===C.nodeType&&C.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(S=>{this._focusOrigin=S,this.cdkFocusChange.emit(S)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.Y36(f.SBq),f.Y36(K))},Ee.\u0275dir=f.lG2({type:Ee,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),Ee})();const je="cdk-high-contrast-black-on-white",Te="cdk-high-contrast-white-on-black",ct="cdk-high-contrast-active";let zt=(()=>{class Ee{constructor(C,S){this._platform=C,this._document=S,this._breakpointSubscription=(0,f.f3M)(oe).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const C=this._document.createElement("div");C.style.backgroundColor="rgb(1,2,3)",C.style.position="absolute",this._document.body.appendChild(C);const S=this._document.defaultView||window,$=S&&S.getComputedStyle?S.getComputedStyle(C):null,ue=($&&$.backgroundColor||"").replace(/ /g,"");switch(C.remove(),ue){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const C=this._document.body.classList;C.remove(ct,je,Te),this._hasCheckedHighContrastMode=!0;const S=this.getHighContrastMode();1===S?C.add(ct,je):2===S&&C.add(ct,Te)}}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.LFG(F.t4),f.LFG(s.K0))},Ee.\u0275prov=f.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),Kt=(()=>{class Ee{constructor(C){C._applyBodyHighContrastModeCssClasses()}}return Ee.\u0275fac=function(C){return new(C||Ee)(f.LFG(zt))},Ee.\u0275mod=f.oAB({type:Ee}),Ee.\u0275inj=f.cJS({imports:[Fe.Q8]}),Ee})()},445:(at,be,v)=>{v.d(be,{Is:()=>ie,vT:()=>Q});var s=v(4650),f=v(6895);const F=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function W(){return(0,s.f3M)(f.K0)}}),X=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ie=(()=>{class j{constructor(G){this.value="ltr",this.change=new s.vpe,G&&(this.value=function J(j){const Y=j?.toLowerCase()||"";return"auto"===Y&&typeof navigator<"u"&&navigator?.language?X.test(navigator.language)?"rtl":"ltr":"rtl"===Y?"rtl":"ltr"}((G.body?G.body.dir:null)||(G.documentElement?G.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return j.\u0275fac=function(G){return new(G||j)(s.LFG(F,8))},j.\u0275prov=s.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),Q=(()=>{class j{}return j.\u0275fac=function(G){return new(G||j)},j.\u0275mod=s.oAB({type:j}),j.\u0275inj=s.cJS({}),j})()},1281:(at,be,v)=>{v.d(be,{Eq:()=>X,HM:()=>J,Ig:()=>f,du:()=>q,fI:()=>ie,su:()=>F});var s=v(4650);function f(Q){return null!=Q&&"false"!=`${Q}`}function F(Q,j=0){return function W(Q){return!isNaN(parseFloat(Q))&&!isNaN(Number(Q))}(Q)?Number(Q):j}function X(Q){return Array.isArray(Q)?Q:[Q]}function J(Q){return null==Q?"":"string"==typeof Q?Q:`${Q}px`}function ie(Q){return Q instanceof s.SBq?Q.nativeElement:Q}function q(Q,j=/\s+/){const Y=[];if(null!=Q){const G=Array.isArray(Q)?Q:`${Q}`.split(j);for(const Ie of G){const Me=`${Ie}`.trim();Me&&Y.push(Me)}}return Y}},9521:(at,be,v)=>{v.d(be,{A:()=>Ue,JH:()=>ve,JU:()=>J,K5:()=>X,Ku:()=>Ie,LH:()=>Fe,L_:()=>G,MW:()=>Bt,Mf:()=>F,SV:()=>Pe,Sd:()=>Ke,VM:()=>Me,Vb:()=>_r,Z:()=>pt,ZH:()=>f,aO:()=>mt,b2:()=>Pn,hY:()=>Y,jx:()=>ie,oh:()=>Ae,uR:()=>Ve,xE:()=>ge,yY:()=>ce,zL:()=>q});const f=8,F=9,X=13,J=16,ie=17,q=18,Y=27,G=32,Ie=33,Me=34,Ve=35,Ke=36,Ae=37,Fe=38,Pe=39,ve=40,ce=46,ge=48,mt=57,Ue=65,pt=90,Bt=91,Pn=224;function _r(gn,...Or){return Or.length?Or.some(Tr=>gn[Tr]):gn.altKey||gn.shiftKey||gn.ctrlKey||gn.metaKey}},9643:(at,be,v)=>{v.d(be,{Q8:()=>Q,wD:()=>q});var s=v(1281),f=v(4650),F=v(9751),W=v(7579),X=v(8372);let J=(()=>{class j{create(G){return typeof MutationObserver>"u"?null:new MutationObserver(G)}}return j.\u0275fac=function(G){return new(G||j)},j.\u0275prov=f.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),ie=(()=>{class j{constructor(G){this._mutationObserverFactory=G,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((G,Ie)=>this._cleanupObserver(Ie))}observe(G){const Ie=(0,s.fI)(G);return new F.y(Me=>{const Ke=this._observeElement(Ie).subscribe(Me);return()=>{Ke.unsubscribe(),this._unobserveElement(Ie)}})}_observeElement(G){if(this._observedElements.has(G))this._observedElements.get(G).count++;else{const Ie=new W.x,Me=this._mutationObserverFactory.create(Ve=>Ie.next(Ve));Me&&Me.observe(G,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(G,{observer:Me,stream:Ie,count:1})}return this._observedElements.get(G).stream}_unobserveElement(G){this._observedElements.has(G)&&(this._observedElements.get(G).count--,this._observedElements.get(G).count||this._cleanupObserver(G))}_cleanupObserver(G){if(this._observedElements.has(G)){const{observer:Ie,stream:Me}=this._observedElements.get(G);Ie&&Ie.disconnect(),Me.complete(),this._observedElements.delete(G)}}}return j.\u0275fac=function(G){return new(G||j)(f.LFG(J))},j.\u0275prov=f.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),q=(()=>{class j{get disabled(){return this._disabled}set disabled(G){this._disabled=(0,s.Ig)(G),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(G){this._debounce=(0,s.su)(G),this._subscribe()}constructor(G,Ie,Me){this._contentObserver=G,this._elementRef=Ie,this._ngZone=Me,this.event=new f.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const G=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?G.pipe((0,X.b)(this.debounce)):G).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return j.\u0275fac=function(G){return new(G||j)(f.Y36(ie),f.Y36(f.SBq),f.Y36(f.R0b))},j.\u0275dir=f.lG2({type:j,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),j})(),Q=(()=>{class j{}return j.\u0275fac=function(G){return new(G||j)},j.\u0275mod=f.oAB({type:j}),j.\u0275inj=f.cJS({providers:[J]}),j})()},3353:(at,be,v)=>{v.d(be,{Mq:()=>Me,Oy:()=>De,_i:()=>Ve,ht:()=>Pe,i$:()=>Y,kV:()=>Fe,qK:()=>q,sA:()=>ve,t4:()=>W});var s=v(4650),f=v(6895);let F;try{F=typeof Intl<"u"&&Intl.v8BreakIterator}catch{F=!1}let J,W=(()=>{class H{constructor(ce){this._platformId=ce,this.isBrowser=this._platformId?(0,f.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!F)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return H.\u0275fac=function(ce){return new(ce||H)(s.LFG(s.Lbi))},H.\u0275prov=s.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();const ie=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function q(){if(J)return J;if("object"!=typeof document||!document)return J=new Set(ie),J;let H=document.createElement("input");return J=new Set(ie.filter(le=>(H.setAttribute("type",le),H.type===le))),J}let Q,G,Ie,Ke;function Y(H){return function j(){if(null==Q&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Q=!0}))}finally{Q=Q||!1}return Q}()?H:!!H.capture}function Me(){if(null==Ie){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ie=!1,Ie;if("scrollBehavior"in document.documentElement.style)Ie=!0;else{const H=Element.prototype.scrollTo;Ie=!!H&&!/\{\s*\[native code\]\s*\}/.test(H.toString())}}return Ie}function Ve(){if("object"!=typeof document||!document)return 0;if(null==G){const H=document.createElement("div"),le=H.style;H.dir="rtl",le.width="1px",le.overflow="auto",le.visibility="hidden",le.pointerEvents="none",le.position="absolute";const ce=document.createElement("div"),ge=ce.style;ge.width="2px",ge.height="1px",H.appendChild(ce),document.body.appendChild(H),G=0,0===H.scrollLeft&&(H.scrollLeft=1,G=0===H.scrollLeft?1:2),H.remove()}return G}function Fe(H){if(function Ae(){if(null==Ke){const H=typeof document<"u"?document.head:null;Ke=!(!H||!H.createShadowRoot&&!H.attachShadow)}return Ke}()){const le=H.getRootNode?H.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&le instanceof ShadowRoot)return le}return null}function Pe(){let H=typeof document<"u"&&document?document.activeElement:null;for(;H&&H.shadowRoot;){const le=H.shadowRoot.activeElement;if(le===H)break;H=le}return H}function ve(H){return H.composedPath?H.composedPath()[0]:H.target}function De(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6895:(at,be,v)=>{v.d(be,{$G:()=>Vn,Do:()=>Pe,ED:()=>hr,EM:()=>ai,HT:()=>W,JF:()=>Ki,JJ:()=>yo,K0:()=>J,Mx:()=>tr,NF:()=>jn,O5:()=>Tr,Ov:()=>gr,PC:()=>hi,PM:()=>ln,RF:()=>ji,S$:()=>Ke,Ts:()=>Si,V_:()=>Q,Ye:()=>ve,Zd:()=>Oi,b0:()=>Fe,bD:()=>tt,ez:()=>Be,mk:()=>Jt,n9:()=>nr,q:()=>F,sg:()=>_r,tP:()=>$i,uU:()=>Rr,w_:()=>X});var s=v(4650);let f=null;function F(){return f}function W(g){f||(f=g)}class X{}const J=new s.OlP("DocumentToken");let ie=(()=>{class g{historyGo(_){throw new Error("Not implemented")}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return function q(){return(0,s.LFG)(j)}()},providedIn:"platform"}),g})();const Q=new s.OlP("Location Initialized");let j=(()=>{class g extends ie{constructor(_){super(),this._doc=_,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return F().getBaseHref(this._doc)}onPopState(_){const P=F().getGlobalEventTarget(this._doc,"window");return P.addEventListener("popstate",_,!1),()=>P.removeEventListener("popstate",_)}onHashChange(_){const P=F().getGlobalEventTarget(this._doc,"window");return P.addEventListener("hashchange",_,!1),()=>P.removeEventListener("hashchange",_)}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(_){this._location.pathname=_}pushState(_,P,ne){Y()?this._history.pushState(_,P,ne):this._location.hash=ne}replaceState(_,P,ne){Y()?this._history.replaceState(_,P,ne):this._location.hash=ne}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return g.\u0275fac=function(_){return new(_||g)(s.LFG(J))},g.\u0275prov=s.Yz7({token:g,factory:function(){return function G(){return new j((0,s.LFG)(J))}()},providedIn:"platform"}),g})();function Y(){return!!window.history.pushState}function Ie(g,A){if(0==g.length)return A;if(0==A.length)return g;let _=0;return g.endsWith("/")&&_++,A.startsWith("/")&&_++,2==_?g+A.substring(1):1==_?g+A:g+"/"+A}function Me(g){const A=g.match(/#|\?|$/),_=A&&A.index||g.length;return g.slice(0,_-("/"===g[_-1]?1:0))+g.slice(_)}function Ve(g){return g&&"?"!==g[0]?"?"+g:g}let Ke=(()=>{class g{historyGo(_){throw new Error("Not implemented")}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275prov=s.Yz7({token:g,factory:function(){return(0,s.f3M)(Fe)},providedIn:"root"}),g})();const Ae=new s.OlP("appBaseHref");let Fe=(()=>{class g extends Ke{constructor(_,P){super(),this._platformLocation=_,this._removeListenerFns=[],this._baseHref=P??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)(J).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return Ie(this._baseHref,_)}path(_=!1){const P=this._platformLocation.pathname+Ve(this._platformLocation.search),ne=this._platformLocation.hash;return ne&&_?`${P}${ne}`:P}pushState(_,P,ne,$e){const Ze=this.prepareExternalUrl(ne+Ve($e));this._platformLocation.pushState(_,P,Ze)}replaceState(_,P,ne,$e){const Ze=this.prepareExternalUrl(ne+Ve($e));this._platformLocation.replaceState(_,P,Ze)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return g.\u0275fac=function(_){return new(_||g)(s.LFG(ie),s.LFG(Ae,8))},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),Pe=(()=>{class g extends Ke{constructor(_,P){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=P&&(this._baseHref=P)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){let P=this._platformLocation.hash;return null==P&&(P="#"),P.length>0?P.substring(1):P}prepareExternalUrl(_){const P=Ie(this._baseHref,_);return P.length>0?"#"+P:P}pushState(_,P,ne,$e){let Ze=this.prepareExternalUrl(ne+Ve($e));0==Ze.length&&(Ze=this._platformLocation.pathname),this._platformLocation.pushState(_,P,Ze)}replaceState(_,P,ne,$e){let Ze=this.prepareExternalUrl(ne+Ve($e));0==Ze.length&&(Ze=this._platformLocation.pathname),this._platformLocation.replaceState(_,P,Ze)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return g.\u0275fac=function(_){return new(_||g)(s.LFG(ie),s.LFG(Ae,8))},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac}),g})(),ve=(()=>{class g{constructor(_){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const P=this._locationStrategy.getBaseHref();this._basePath=function ce(g){if(new RegExp("^(https?:)?//").test(g)){const[,_]=g.split(/\/\/[^\/]+/);return _}return g}(Me(le(P))),this._locationStrategy.onPopState(ne=>{this._subject.emit({url:this.path(!0),pop:!0,state:ne.state,type:ne.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,P=""){return this.path()==this.normalize(_+Ve(P))}normalize(_){return g.stripTrailingSlash(function H(g,A){return g&&new RegExp(`^${g}([/;?#]|$)`).test(A)?A.substring(g.length):A}(this._basePath,le(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,P="",ne=null){this._locationStrategy.pushState(ne,"",_,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Ve(P)),ne)}replaceState(_,P="",ne=null){this._locationStrategy.replaceState(ne,"",_,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Ve(P)),ne)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(P=>{this._notifyUrlChangeListeners(P.url,P.state)})),()=>{const P=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(P,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",P){this._urlChangeListeners.forEach(ne=>ne(_,P))}subscribe(_,P,ne){return this._subject.subscribe({next:_,error:P,complete:ne})}}return g.normalizeQueryParams=Ve,g.joinWithSlash=Ie,g.stripTrailingSlash=Me,g.\u0275fac=function(_){return new(_||g)(s.LFG(Ke))},g.\u0275prov=s.Yz7({token:g,factory:function(){return function De(){return new ve((0,s.LFG)(Ke))}()},providedIn:"root"}),g})();function le(g){return g.replace(/\/index.html$/,"")}var se=(()=>((se=se||{})[se.Decimal=0]="Decimal",se[se.Percent=1]="Percent",se[se.Currency=2]="Currency",se[se.Scientific=3]="Scientific",se))(),Z=(()=>((Z=Z||{})[Z.Format=0]="Format",Z[Z.Standalone=1]="Standalone",Z))(),oe=(()=>((oe=oe||{})[oe.Narrow=0]="Narrow",oe[oe.Abbreviated=1]="Abbreviated",oe[oe.Wide=2]="Wide",oe[oe.Short=3]="Short",oe))(),xe=(()=>((xe=xe||{})[xe.Short=0]="Short",xe[xe.Medium=1]="Medium",xe[xe.Long=2]="Long",xe[xe.Full=3]="Full",xe))(),ye=(()=>((ye=ye||{})[ye.Decimal=0]="Decimal",ye[ye.Group=1]="Group",ye[ye.List=2]="List",ye[ye.PercentSign=3]="PercentSign",ye[ye.PlusSign=4]="PlusSign",ye[ye.MinusSign=5]="MinusSign",ye[ye.Exponential=6]="Exponential",ye[ye.SuperscriptingExponent=7]="SuperscriptingExponent",ye[ye.PerMille=8]="PerMille",ye[ye.Infinity=9]="Infinity",ye[ye.NaN=10]="NaN",ye[ye.TimeSeparator=11]="TimeSeparator",ye[ye.CurrencyDecimal=12]="CurrencyDecimal",ye[ye.CurrencyGroup=13]="CurrencyGroup",ye))();function rt(g,A){return Yt((0,s.cg1)(g)[s.wAp.DateFormat],A)}function fe(g,A){return Yt((0,s.cg1)(g)[s.wAp.TimeFormat],A)}function Le(g,A){return Yt((0,s.cg1)(g)[s.wAp.DateTimeFormat],A)}function lt(g,A){const _=(0,s.cg1)(g),P=_[s.wAp.NumberSymbols][A];if(typeof P>"u"){if(A===ye.CurrencyDecimal)return _[s.wAp.NumberSymbols][ye.Decimal];if(A===ye.CurrencyGroup)return _[s.wAp.NumberSymbols][ye.Group]}return P}function wt(g){if(!g[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${g[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Yt(g,A){for(let _=A;_>-1;_--)if(typeof g[_]<"u")return g[_];throw new Error("Locale data API: locale data undefined")}function Tt(g){const[A,_]=g.split(":");return{hours:+A,minutes:+_}}const bn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,wn={},Hn=/((?:[^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 Ut=(()=>((Ut=Ut||{})[Ut.Short=0]="Short",Ut[Ut.ShortGMT=1]="ShortGMT",Ut[Ut.Long=2]="Long",Ut[Ut.Extended=3]="Extended",Ut))(),Nt=(()=>((Nt=Nt||{})[Nt.FullYear=0]="FullYear",Nt[Nt.Month=1]="Month",Nt[Nt.Date=2]="Date",Nt[Nt.Hours=3]="Hours",Nt[Nt.Minutes=4]="Minutes",Nt[Nt.Seconds=5]="Seconds",Nt[Nt.FractionalSeconds=6]="FractionalSeconds",Nt[Nt.Day=7]="Day",Nt))(),pt=(()=>((pt=pt||{})[pt.DayPeriods=0]="DayPeriods",pt[pt.Days=1]="Days",pt[pt.Months=2]="Months",pt[pt.Eras=3]="Eras",pt))();function Bt(g,A,_,P){let ne=function ct(g){if(Kt(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[ne,$e=1,Ze=1]=g.split("-").map(Dt=>+Dt);return Ge(ne,$e-1,Ze)}const _=parseFloat(g);if(!isNaN(g-_))return new Date(_);let P;if(P=g.match(bn))return function zt(g){const A=new Date(0);let _=0,P=0;const ne=g[8]?A.setUTCFullYear:A.setFullYear,$e=g[8]?A.setUTCHours:A.setHours;g[9]&&(_=Number(g[9]+g[10]),P=Number(g[9]+g[11])),ne.call(A,Number(g[1]),Number(g[2])-1,Number(g[3]));const Ze=Number(g[4]||0)-_,Dt=Number(g[5]||0)-P,Nn=Number(g[6]||0),xn=Math.floor(1e3*parseFloat("0."+(g[7]||0)));return $e.call(A,Ze,Dt,Nn,xn),A}(P)}const A=new Date(g);if(!Kt(A))throw new Error(`Unable to convert "${g}" into a date`);return A}(g);A=yt(_,A)||A;let Dt,Ze=[];for(;A;){if(Dt=Hn.exec(A),!Dt){Ze.push(A);break}{Ze=Ze.concat(Dt.slice(1));const Fn=Ze.pop();if(!Fn)break;A=Fn}}let Nn=ne.getTimezoneOffset();P&&(Nn=he(P,Nn),ne=function Te(g,A,_){const P=_?-1:1,ne=g.getTimezoneOffset();return function je(g,A){return(g=new Date(g.getTime())).setMinutes(g.getMinutes()+A),g}(g,P*(he(A,ne)-ne))}(ne,P,!0));let xn="";return Ze.forEach(Fn=>{const pn=function K(g){if(B[g])return B[g];let A;switch(g){case"G":case"GG":case"GGG":A=Ht(pt.Eras,oe.Abbreviated);break;case"GGGG":A=Ht(pt.Eras,oe.Wide);break;case"GGGGG":A=Ht(pt.Eras,oe.Narrow);break;case"y":A=kt(Nt.FullYear,1,0,!1,!0);break;case"yy":A=kt(Nt.FullYear,2,0,!0,!0);break;case"yyy":A=kt(Nt.FullYear,3,0,!1,!0);break;case"yyyy":A=kt(Nt.FullYear,4,0,!1,!0);break;case"Y":A=Ce(1);break;case"YY":A=Ce(2,!0);break;case"YYY":A=Ce(3);break;case"YYYY":A=Ce(4);break;case"M":case"L":A=kt(Nt.Month,1,1);break;case"MM":case"LL":A=kt(Nt.Month,2,1);break;case"MMM":A=Ht(pt.Months,oe.Abbreviated);break;case"MMMM":A=Ht(pt.Months,oe.Wide);break;case"MMMMM":A=Ht(pt.Months,oe.Narrow);break;case"LLL":A=Ht(pt.Months,oe.Abbreviated,Z.Standalone);break;case"LLLL":A=Ht(pt.Months,oe.Wide,Z.Standalone);break;case"LLLLL":A=Ht(pt.Months,oe.Narrow,Z.Standalone);break;case"w":A=R(1);break;case"ww":A=R(2);break;case"W":A=R(1,!0);break;case"d":A=kt(Nt.Date,1);break;case"dd":A=kt(Nt.Date,2);break;case"c":case"cc":A=kt(Nt.Day,1);break;case"ccc":A=Ht(pt.Days,oe.Abbreviated,Z.Standalone);break;case"cccc":A=Ht(pt.Days,oe.Wide,Z.Standalone);break;case"ccccc":A=Ht(pt.Days,oe.Narrow,Z.Standalone);break;case"cccccc":A=Ht(pt.Days,oe.Short,Z.Standalone);break;case"E":case"EE":case"EEE":A=Ht(pt.Days,oe.Abbreviated);break;case"EEEE":A=Ht(pt.Days,oe.Wide);break;case"EEEEE":A=Ht(pt.Days,oe.Narrow);break;case"EEEEEE":A=Ht(pt.Days,oe.Short);break;case"a":case"aa":case"aaa":A=Ht(pt.DayPeriods,oe.Abbreviated);break;case"aaaa":A=Ht(pt.DayPeriods,oe.Wide);break;case"aaaaa":A=Ht(pt.DayPeriods,oe.Narrow);break;case"b":case"bb":case"bbb":A=Ht(pt.DayPeriods,oe.Abbreviated,Z.Standalone,!0);break;case"bbbb":A=Ht(pt.DayPeriods,oe.Wide,Z.Standalone,!0);break;case"bbbbb":A=Ht(pt.DayPeriods,oe.Narrow,Z.Standalone,!0);break;case"B":case"BB":case"BBB":A=Ht(pt.DayPeriods,oe.Abbreviated,Z.Format,!0);break;case"BBBB":A=Ht(pt.DayPeriods,oe.Wide,Z.Format,!0);break;case"BBBBB":A=Ht(pt.DayPeriods,oe.Narrow,Z.Format,!0);break;case"h":A=kt(Nt.Hours,1,-12);break;case"hh":A=kt(Nt.Hours,2,-12);break;case"H":A=kt(Nt.Hours,1);break;case"HH":A=kt(Nt.Hours,2);break;case"m":A=kt(Nt.Minutes,1);break;case"mm":A=kt(Nt.Minutes,2);break;case"s":A=kt(Nt.Seconds,1);break;case"ss":A=kt(Nt.Seconds,2);break;case"S":A=kt(Nt.FractionalSeconds,1);break;case"SS":A=kt(Nt.FractionalSeconds,2);break;case"SSS":A=kt(Nt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":A=Xn(Ut.Short);break;case"ZZZZZ":A=Xn(Ut.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":A=Xn(Ut.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":A=Xn(Ut.Long);break;default:return null}return B[g]=A,A}(Fn);xn+=pn?pn(ne,_,Nn):"''"===Fn?"'":Fn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),xn}function Ge(g,A,_){const P=new Date(0);return P.setFullYear(g,A,_),P.setHours(0,0,0),P}function yt(g,A){const _=function Je(g){return(0,s.cg1)(g)[s.wAp.LocaleId]}(g);if(wn[_]=wn[_]||{},wn[_][A])return wn[_][A];let P="";switch(A){case"shortDate":P=rt(g,xe.Short);break;case"mediumDate":P=rt(g,xe.Medium);break;case"longDate":P=rt(g,xe.Long);break;case"fullDate":P=rt(g,xe.Full);break;case"shortTime":P=fe(g,xe.Short);break;case"mediumTime":P=fe(g,xe.Medium);break;case"longTime":P=fe(g,xe.Long);break;case"fullTime":P=fe(g,xe.Full);break;case"short":const ne=yt(g,"shortTime"),$e=yt(g,"shortDate");P=Ne(Le(g,xe.Short),[ne,$e]);break;case"medium":const Ze=yt(g,"mediumTime"),Dt=yt(g,"mediumDate");P=Ne(Le(g,xe.Medium),[Ze,Dt]);break;case"long":const Nn=yt(g,"longTime"),xn=yt(g,"longDate");P=Ne(Le(g,xe.Long),[Nn,xn]);break;case"full":const Fn=yt(g,"fullTime"),pn=yt(g,"fullDate");P=Ne(Le(g,xe.Full),[Fn,pn])}return P&&(wn[_][A]=P),P}function Ne(g,A){return A&&(g=g.replace(/\{([^}]+)}/g,function(_,P){return null!=A&&P in A?A[P]:_})),g}function qe(g,A,_="-",P,ne){let $e="";(g<0||ne&&g<=0)&&(ne?g=1-g:(g=-g,$e=_));let Ze=String(g);for(;Ze.length<A;)Ze="0"+Ze;return P&&(Ze=Ze.slice(Ze.length-A)),$e+Ze}function kt(g,A,_=0,P=!1,ne=!1){return function($e,Ze){let Dt=function Qn(g,A){switch(g){case Nt.FullYear:return A.getFullYear();case Nt.Month:return A.getMonth();case Nt.Date:return A.getDate();case Nt.Hours:return A.getHours();case Nt.Minutes:return A.getMinutes();case Nt.Seconds:return A.getSeconds();case Nt.FractionalSeconds:return A.getMilliseconds();case Nt.Day:return A.getDay();default:throw new Error(`Unknown DateType value "${g}".`)}}(g,$e);if((_>0||Dt>-_)&&(Dt+=_),g===Nt.Hours)0===Dt&&-12===_&&(Dt=12);else if(g===Nt.FractionalSeconds)return function Vt(g,A){return qe(g,3).substring(0,A)}(Dt,A);const Nn=lt(Ze,ye.MinusSign);return qe(Dt,A,Nn,P,ne)}}function Ht(g,A,_=Z.Format,P=!1){return function(ne,$e){return function An(g,A,_,P,ne,$e){switch(_){case pt.Months:return function Xt(g,A,_){const P=(0,s.cg1)(g),$e=Yt([P[s.wAp.MonthsFormat],P[s.wAp.MonthsStandalone]],A);return Yt($e,_)}(A,ne,P)[g.getMonth()];case pt.Days:return function Wt(g,A,_){const P=(0,s.cg1)(g),$e=Yt([P[s.wAp.DaysFormat],P[s.wAp.DaysStandalone]],A);return Yt($e,_)}(A,ne,P)[g.getDay()];case pt.DayPeriods:const Ze=g.getHours(),Dt=g.getMinutes();if($e){const xn=function bt(g){const A=(0,s.cg1)(g);return wt(A),(A[s.wAp.ExtraData][2]||[]).map(P=>"string"==typeof P?Tt(P):[Tt(P[0]),Tt(P[1])])}(A),Fn=function Pt(g,A,_){const P=(0,s.cg1)(g);wt(P);const $e=Yt([P[s.wAp.ExtraData][0],P[s.wAp.ExtraData][1]],A)||[];return Yt($e,_)||[]}(A,ne,P),pn=xn.findIndex(lr=>{if(Array.isArray(lr)){const[Gn,ir]=lr,pi=Ze>=Gn.hours&&Dt>=Gn.minutes,ii=Ze<ir.hours||Ze===ir.hours&&Dt<ir.minutes;if(Gn.hours<ir.hours){if(pi&&ii)return!0}else if(pi||ii)return!0}else if(lr.hours===Ze&&lr.minutes===Dt)return!0;return!1});if(-1!==pn)return Fn[pn]}return function mt(g,A,_){const P=(0,s.cg1)(g),$e=Yt([P[s.wAp.DayPeriodsFormat],P[s.wAp.DayPeriodsStandalone]],A);return Yt($e,_)}(A,ne,P)[Ze<12?0:1];case pt.Eras:return function Rt(g,A){return Yt((0,s.cg1)(g)[s.wAp.Eras],A)}(A,P)[g.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${_}`)}}(ne,$e,g,A,_,P)}}function Xn(g){return function(A,_,P){const ne=-1*P,$e=lt(_,ye.MinusSign),Ze=ne>0?Math.floor(ne/60):Math.ceil(ne/60);switch(g){case Ut.Short:return(ne>=0?"+":"")+qe(Ze,2,$e)+qe(Math.abs(ne%60),2,$e);case Ut.ShortGMT:return"GMT"+(ne>=0?"+":"")+qe(Ze,1,$e);case Ut.Long:return"GMT"+(ne>=0?"+":"")+qe(Ze,2,$e)+":"+qe(Math.abs(ne%60),2,$e);case Ut.Extended:return 0===P?"Z":(ne>=0?"+":"")+qe(Ze,2,$e)+":"+qe(Math.abs(ne%60),2,$e);default:throw new Error(`Unknown zone width "${g}"`)}}}function M(g){return Ge(g.getFullYear(),g.getMonth(),g.getDate()+(4-g.getDay()))}function R(g,A=!1){return function(_,P){let ne;if(A){const $e=new Date(_.getFullYear(),_.getMonth(),1).getDay()-1,Ze=_.getDate();ne=1+Math.floor((Ze+$e)/7)}else{const $e=M(_),Ze=function N(g){const A=Ge(g,0,1).getDay();return Ge(g,0,1+(A<=4?4:11)-A)}($e.getFullYear()),Dt=$e.getTime()-Ze.getTime();ne=1+Math.round(Dt/6048e5)}return qe(ne,g,lt(P,ye.MinusSign))}}function Ce(g,A=!1){return function(_,P){return qe(M(_).getFullYear(),g,lt(P,ye.MinusSign),A)}}const B={};function he(g,A){g=g.replace(/:/g,"");const _=Date.parse("Jan 01, 1970 00:00:00 "+g)/6e4;return isNaN(_)?A:_}function Kt(g){return g instanceof Date&&!isNaN(g.valueOf())}const Ee=/^(\d+)?\.((\d+)(-(\d+))?)?$/,C=".",S="0";function Hi(g){const A=parseInt(g);if(isNaN(A))throw new Error("Invalid integer literal when parsing "+g);return A}function tr(g,A){A=encodeURIComponent(A);for(const _ of g.split(";")){const P=_.indexOf("="),[ne,$e]=-1==P?[_,""]:[_.slice(0,P),_.slice(P+1)];if(ne.trim()===A)return decodeURIComponent($e)}return null}const Ir=/\s+/,Et=[];let Jt=(()=>{class g{constructor(_,P,ne,$e){this._iterableDiffers=_,this._keyValueDiffers=P,this._ngEl=ne,this._renderer=$e,this.initialClasses=Et,this.stateMap=new Map}set klass(_){this.initialClasses=null!=_?_.trim().split(Ir):Et}set ngClass(_){this.rawClass="string"==typeof _?_.trim().split(Ir):_}ngDoCheck(){for(const P of this.initialClasses)this._updateState(P,!0);const _=this.rawClass;if(Array.isArray(_)||_ instanceof Set)for(const P of _)this._updateState(P,!0);else if(null!=_)for(const P of Object.keys(_))this._updateState(P,Boolean(_[P]));this._applyStateDiff()}_updateState(_,P){const ne=this.stateMap.get(_);void 0!==ne?(ne.enabled!==P&&(ne.changed=!0,ne.enabled=P),ne.touched=!0):this.stateMap.set(_,{enabled:P,changed:!0,touched:!0})}_applyStateDiff(){for(const _ of this.stateMap){const P=_[0],ne=_[1];ne.changed?(this._toggleClass(P,ne.enabled),ne.changed=!1):ne.touched||(ne.enabled&&this._toggleClass(P,!1),this.stateMap.delete(P)),ne.touched=!1}}_toggleClass(_,P){(_=_.trim()).length>0&&_.split(Ir).forEach(ne=>{P?this._renderer.addClass(this._ngEl.nativeElement,ne):this._renderer.removeClass(this._ngEl.nativeElement,ne)})}}return g.\u0275fac=function(_){return new(_||g)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),g})(),Vn=(()=>{class g{constructor(_){this._viewContainerRef=_,this.ngComponentOutlet=null}ngOnChanges(_){const{_viewContainerRef:P,ngComponentOutletNgModule:ne,ngComponentOutletNgModuleFactory:$e}=this;if(P.clear(),this._componentRef=void 0,this.ngComponentOutlet){const Ze=this.ngComponentOutletInjector||P.parentInjector;(_.ngComponentOutletNgModule||_.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=ne?(0,s.Lck)(ne,fr(Ze)):$e?$e.create(fr(Ze)):void 0),this._componentRef=P.createComponent(this.ngComponentOutlet,{index:P.length,injector:Ze,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return g.\u0275fac=function(_){return new(_||g)(s.Y36(s.s_b))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[s.TTD]}),g})();function fr(g){return g.get(s.h0i).injector}class Pn{constructor(A,_,P,ne){this.$implicit=A,this.ngForOf=_,this.index=P,this.count=ne}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 _r=(()=>{class g{set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}constructor(_,P,ne){this._viewContainer=_,this._template=P,this._differs=ne,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const P=this._viewContainer;_.forEachOperation((ne,$e,Ze)=>{if(null==ne.previousIndex)P.createEmbeddedView(this._template,new Pn(ne.item,this._ngForOf,-1,-1),null===Ze?void 0:Ze);else if(null==Ze)P.remove(null===$e?void 0:$e);else if(null!==$e){const Dt=P.get($e);P.move(Dt,Ze),gn(Dt,ne)}});for(let ne=0,$e=P.length;ne<$e;ne++){const Dt=P.get(ne).context;Dt.index=ne,Dt.count=$e,Dt.ngForOf=this._ngForOf}_.forEachIdentityChange(ne=>{gn(P.get(ne.currentIndex),ne)})}static ngTemplateContextGuard(_,P){return!0}}return g.\u0275fac=function(_){return new(_||g)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),g})();function gn(g,A){g.context.$implicit=A.item}let Tr=(()=>{class g{constructor(_,P){this._viewContainer=_,this._context=new an,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=P}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){Ci("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){Ci("ngIfElse",_),this._elseTemplateRef=_,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(_,P){return!0}}return g.\u0275fac=function(_){return new(_||g)(s.Y36(s.s_b),s.Y36(s.Rgc))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),g})();class an{constructor(){this.$implicit=null,this.ngIf=null}}function Ci(g,A){if(A&&!A.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,s.AaK)(A)}'.`)}class wi{constructor(A,_){this._viewContainerRef=A,this._templateRef=_,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(A){A&&!this._created?this.create():!A&&this._created&&this.destroy()}}let ji=(()=>{class g{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(_){this._ngSwitch=_,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(_){this._defaultViews.push(_)}_matchCase(_){const P=_==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||P,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),P}_updateDefaultCases(_){if(this._defaultViews.length>0&&_!==this._defaultUsed){this._defaultUsed=_;for(const P of this._defaultViews)P.enforceState(_)}}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275dir=s.lG2({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),g})(),nr=(()=>{class g{constructor(_,P,ne){this.ngSwitch=ne,ne._addCase(),this._view=new wi(_,P)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return g.\u0275fac=function(_){return new(_||g)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(ji,9))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),g})(),hr=(()=>{class g{constructor(_,P,ne){ne._addDefault(new wi(_,P))}}return g.\u0275fac=function(_){return new(_||g)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(ji,9))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngSwitchDefault",""]],standalone:!0}),g})(),hi=(()=>{class g{constructor(_,P,ne){this._ngEl=_,this._differs=P,this._renderer=ne,this._ngStyle=null,this._differ=null}set ngStyle(_){this._ngStyle=_,!this._differ&&_&&(this._differ=this._differs.find(_).create())}ngDoCheck(){if(this._differ){const _=this._differ.diff(this._ngStyle);_&&this._applyChanges(_)}}_setStyle(_,P){const[ne,$e]=_.split("."),Ze=-1===ne.indexOf("-")?void 0:s.JOm.DashCase;null!=P?this._renderer.setStyle(this._ngEl.nativeElement,ne,$e?`${P}${$e}`:P,Ze):this._renderer.removeStyle(this._ngEl.nativeElement,ne,Ze)}_applyChanges(_){_.forEachRemovedItem(P=>this._setStyle(P.key,null)),_.forEachAddedItem(P=>this._setStyle(P.key,P.currentValue)),_.forEachChangedItem(P=>this._setStyle(P.key,P.currentValue))}}return g.\u0275fac=function(_){return new(_||g)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),g})(),$i=(()=>{class g{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(_.ngTemplateOutlet||_.ngTemplateOutletInjector){const P=this._viewContainerRef;if(this._viewRef&&P.remove(P.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ne,ngTemplateOutletContext:$e,ngTemplateOutletInjector:Ze}=this;this._viewRef=P.createEmbeddedView(ne,$e,Ze?{injector:Ze}:void 0)}else this._viewRef=null}else this._viewRef&&_.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return g.\u0275fac=function(_){return new(_||g)(s.Y36(s.s_b))},g.\u0275dir=s.lG2({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]}),g})();function pr(g,A){return new s.vHH(2100,!1)}class Ti{createSubscription(A,_){return A.subscribe({next:_,error:P=>{throw P}})}dispose(A){A.unsubscribe()}}class Bo{createSubscription(A,_){return A.then(_,P=>{throw P})}dispose(A){}}const Pr=new Bo,Yr=new Ti;let gr=(()=>{class g{constructor(_){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=_}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(_){return this._obj?_!==this._obj?(this._dispose(),this.transform(_)):this._latestValue:(_&&this._subscribe(_),this._latestValue)}_subscribe(_){this._obj=_,this._strategy=this._selectStrategy(_),this._subscription=this._strategy.createSubscription(_,P=>this._updateLatestValue(_,P))}_selectStrategy(_){if((0,s.QGY)(_))return Pr;if((0,s.F4k)(_))return Yr;throw pr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(_,P){_===this._obj&&(this._latestValue=P,this._ref.markForCheck())}}return g.\u0275fac=function(_){return new(_||g)(s.Y36(s.sBO,16))},g.\u0275pipe=s.Yjl({name:"async",type:g,pure:!1,standalone:!0}),g})();const Vi=new s.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),zi=new s.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Rr=(()=>{class g{constructor(_,P,ne){this.locale=_,this.defaultTimezone=P,this.defaultOptions=ne}transform(_,P,ne,$e){if(null==_||""===_||_!=_)return null;try{return Bt(_,P??this.defaultOptions?.dateFormat??"mediumDate",$e||this.locale,ne??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ze){throw pr()}}}return g.\u0275fac=function(_){return new(_||g)(s.Y36(s.soG,16),s.Y36(Vi,24),s.Y36(zi,24))},g.\u0275pipe=s.Yjl({name:"date",type:g,pure:!0,standalone:!0}),g})(),Si=(()=>{class g{transform(_){return JSON.stringify(_,null,2)}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275pipe=s.Yjl({name:"json",type:g,pure:!1,standalone:!0}),g})(),yo=(()=>{class g{constructor(_){this._locale=_}transform(_,P,ne){if(!function xi(g){return!(null==g||""===g||g!=g)}(_))return null;ne=ne||this._locale;try{return function qr(g,A,_){return function In(g,A,_,P,ne,$e,Ze=!1){let Dt="",Nn=!1;if(isFinite(g)){let xn=function Ui(g){let P,ne,$e,Ze,Dt,A=Math.abs(g)+"",_=0;for((ne=A.indexOf(C))>-1&&(A=A.replace(C,"")),($e=A.search(/e/i))>0?(ne<0&&(ne=$e),ne+=+A.slice($e+1),A=A.substring(0,$e)):ne<0&&(ne=A.length),$e=0;A.charAt($e)===S;$e++);if($e===(Dt=A.length))P=[0],ne=1;else{for(Dt--;A.charAt(Dt)===S;)Dt--;for(ne-=$e,P=[],Ze=0;$e<=Dt;$e++,Ze++)P[Ze]=Number(A.charAt($e))}return ne>22&&(P=P.splice(0,21),_=ne-1,ne=1),{digits:P,exponent:_,integerLen:ne}}(g);Ze&&(xn=function oo(g){if(0===g.digits[0])return g;const A=g.digits.length-g.integerLen;return g.exponent?g.exponent+=2:(0===A?g.digits.push(0,0):1===A&&g.digits.push(0),g.integerLen+=2),g}(xn));let Fn=A.minInt,pn=A.minFrac,lr=A.maxFrac;if($e){const cr=$e.match(Ee);if(null===cr)throw new Error(`${$e} is not a valid digit info`);const Ri=cr[1],Do=cr[3],uo=cr[5];null!=Ri&&(Fn=Hi(Ri)),null!=Do&&(pn=Hi(Do)),null!=uo?lr=Hi(uo):null!=Do&&pn>lr&&(lr=pn)}!function Hr(g,A,_){if(A>_)throw new Error(`The minimum number of digits after fraction (${A}) is higher than the maximum (${_}).`);let P=g.digits,ne=P.length-g.integerLen;const $e=Math.min(Math.max(A,ne),_);let Ze=$e+g.integerLen,Dt=P[Ze];if(Ze>0){P.splice(Math.max(g.integerLen,Ze));for(let pn=Ze;pn<P.length;pn++)P[pn]=0}else{ne=Math.max(0,ne),g.integerLen=1,P.length=Math.max(1,Ze=$e+1),P[0]=0;for(let pn=1;pn<Ze;pn++)P[pn]=0}if(Dt>=5)if(Ze-1<0){for(let pn=0;pn>Ze;pn--)P.unshift(0),g.integerLen++;P.unshift(1),g.integerLen++}else P[Ze-1]++;for(;ne<Math.max(0,$e);ne++)P.push(0);let Nn=0!==$e;const xn=A+g.integerLen,Fn=P.reduceRight(function(pn,lr,Gn,ir){return ir[Gn]=(lr+=pn)<10?lr:lr-10,Nn&&(0===ir[Gn]&&Gn>=xn?ir.pop():Nn=!1),lr>=10?1:0},0);Fn&&(P.unshift(Fn),g.integerLen++)}(xn,pn,lr);let Gn=xn.digits,ir=xn.integerLen;const pi=xn.exponent;let ii=[];for(Nn=Gn.every(cr=>!cr);ir<Fn;ir++)Gn.unshift(0);for(;ir<0;ir++)Gn.unshift(0);ir>0?ii=Gn.splice(ir,Gn.length):(ii=Gn,Gn=[0]);const Br=[];for(Gn.length>=A.lgSize&&Br.unshift(Gn.splice(-A.lgSize,Gn.length).join(""));Gn.length>A.gSize;)Br.unshift(Gn.splice(-A.gSize,Gn.length).join(""));Gn.length&&Br.unshift(Gn.join("")),Dt=Br.join(lt(_,P)),ii.length&&(Dt+=lt(_,ne)+ii.join("")),pi&&(Dt+=lt(_,ye.Exponential)+"+"+pi)}else Dt=lt(_,ye.Infinity);return Dt=g<0&&!Nn?A.negPre+Dt+A.negSuf:A.posPre+Dt+A.posSuf,Dt}(g,function si(g,A="-"){const _={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},P=g.split(";"),ne=P[0],$e=P[1],Ze=-1!==ne.indexOf(C)?ne.split(C):[ne.substring(0,ne.lastIndexOf(S)+1),ne.substring(ne.lastIndexOf(S)+1)],Dt=Ze[0],Nn=Ze[1]||"";_.posPre=Dt.substring(0,Dt.indexOf("#"));for(let Fn=0;Fn<Nn.length;Fn++){const pn=Nn.charAt(Fn);pn===S?_.minFrac=_.maxFrac=Fn+1:"#"===pn?_.maxFrac=Fn+1:_.posSuf+=pn}const xn=Dt.split(",");if(_.gSize=xn[1]?xn[1].length:0,_.lgSize=xn[2]||xn[1]?(xn[2]||xn[1]).length:0,$e){const Fn=ne.length-_.posPre.length-_.posSuf.length,pn=$e.indexOf("#");_.negPre=$e.substring(0,pn).replace(/'/g,""),_.negSuf=$e.slice(pn+Fn).replace(/'/g,"")}else _.negPre=A+_.posPre,_.negSuf=_.posSuf;return _}(function $t(g,A){return(0,s.cg1)(g)[s.wAp.NumberFormats][A]}(A,se.Decimal),lt(A,ye.MinusSign)),A,ye.Group,ye.Decimal,_)}(function ti(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}(_),ne,P)}catch($e){throw pr()}}}return g.\u0275fac=function(_){return new(_||g)(s.Y36(s.soG,16))},g.\u0275pipe=s.Yjl({name:"number",type:g,pure:!0,standalone:!0}),g})();let Be=(()=>{class g{}return g.\u0275fac=function(_){return new(_||g)},g.\u0275mod=s.oAB({type:g}),g.\u0275inj=s.cJS({}),g})();const tt="browser";function jn(g){return g===tt}function ln(g){return"server"===g}let ai=(()=>{class g{}return g.\u0275prov=(0,s.Yz7)({token:g,providedIn:"root",factory:()=>new li((0,s.LFG)(J),window)}),g})();class li{constructor(A,_){this.document=A,this.window=_,this.offset=()=>[0,0]}setOffset(A){this.offset=Array.isArray(A)?()=>A:A}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(A){this.supportsScrolling()&&this.window.scrollTo(A[0],A[1])}scrollToAnchor(A){if(!this.supportsScrolling())return;const _=function mi(g,A){const _=g.getElementById(A)||g.getElementsByName(A)[0];if(_)return _;if("function"==typeof g.createTreeWalker&&g.body&&(g.body.createShadowRoot||g.body.attachShadow)){const P=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let ne=P.currentNode;for(;ne;){const $e=ne.shadowRoot;if($e){const Ze=$e.getElementById(A)||$e.querySelector(`[name="${A}"]`);if(Ze)return Ze}ne=P.nextNode()}}return null}(this.document,A);_&&(this.scrollToElement(_),_.focus())}setHistoryScrollRestoration(A){if(this.supportScrollRestoration()){const _=this.window.history;_&&_.scrollRestoration&&(_.scrollRestoration=A)}}scrollToElement(A){const _=A.getBoundingClientRect(),P=_.left+this.window.pageXOffset,ne=_.top+this.window.pageYOffset,$e=this.offset();this.window.scrollTo(P-$e[0],ne-$e[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const A=so(this.window.history)||so(Object.getPrototypeOf(this.window.history));return!(!A||!A.writable&&!A.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function so(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class Ki{}const xo=g=>g.src,Zr=new s.OlP("ImageLoader",{providedIn:"root",factory:()=>xo}),$o=new s.OlP("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let Vo=(()=>{class g{constructor(){this.preloadedImages=(0,s.f3M)($o),this.document=(0,s.f3M)(J)}createPreloadLinkTag(_,P,ne,$e){if(this.preloadedImages.has(P))return;this.preloadedImages.add(P);const Ze=_.createElement("link");_.setAttribute(Ze,"as","image"),_.setAttribute(Ze,"href",P),_.setAttribute(Ze,"rel","preload"),_.setAttribute(Ze,"fetchpriority","high"),$e&&_.setAttribute(Ze,"imageSizes",$e),ne&&_.setAttribute(Ze,"imageSrcset",ne),_.appendChild(this.document.head,Ze)}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275prov=s.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})();const Qi=/^((\s*\d+w\s*(,|$)){1,})$/,Vr=[1,2],Ii={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},zo=new s.OlP("ImageConfig",{providedIn:"root",factory:()=>Ii});let Oi=(()=>{class g{constructor(){this.imageLoader=(0,s.f3M)(Zr),this.config=function ar(g){let A={};return g.breakpoints&&(A.breakpoints=g.breakpoints.sort((_,P)=>_-P)),Object.assign({},Ii,g,A)}((0,s.f3M)(zo)),this.renderer=(0,s.f3M)(s.Qsj),this.imgElement=(0,s.f3M)(s.SBq).nativeElement,this.injector=(0,s.f3M)(s.zs3),this.isServer=ln((0,s.f3M)(s.Lbi)),this.preloadLinkChecker=(0,s.f3M)(Vo),this.lcpObserver=null,this._renderedSrc=null,this._priority=!1,this._disableOptimizedSrcset=!1,this._fill=!1}set width(_){this._width=Pi(_)}get width(){return this._width}set height(_){this._height=Pi(_)}get height(){return this._height}set priority(_){this._priority=co(_)}get priority(){return this._priority}set disableOptimizedSrcset(_){this._disableOptimizedSrcset=co(_)}get disableOptimizedSrcset(){return this._disableOptimizedSrcset}set fill(_){this._fill=co(_)}get fill(){return this._fill}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const _=this.getRewrittenSrc();let P;this.setHostAttribute("src",_),this.sizes&&this.setHostAttribute("sizes",this.sizes),this.ngSrcset?P=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(P=this.getAutomaticSrcset()),P&&this.setHostAttribute("srcset",P),this.isServer&&this.priority&&this.preloadLinkChecker.createPreloadLinkTag(this.renderer,_,P,this.sizes)}ngOnChanges(_){}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.imageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const _=Qi.test(this.ngSrcset);return this.ngSrcset.split(",").filter(ne=>""!==ne).map(ne=>{ne=ne.trim();const $e=_?parseFloat(ne):parseFloat(ne)*this.width;return`${this.imageLoader({src:this.ngSrc,width:$e})} ${ne}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:_}=this.config;let P=_;return"100vw"===this.sizes?.trim()&&(P=_.filter($e=>$e>=640)),P.map($e=>`${this.imageLoader({src:this.ngSrc,width:$e})} ${$e}w`).join(", ")}getFixedSrcset(){return Vr.map(P=>`${this.imageLoader({src:this.ngSrc,width:this.width*P})} ${P}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this._disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==xo&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(_,P){this.renderer.setAttribute(this.imgElement,_,P)}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275dir=s.lG2({type:g,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(_,P){2&_&&s.Udp("position",P.fill?"absolute":null)("width",P.fill?"100%":null)("height",P.fill?"100%":null)("inset",P.fill?"0px":null)},inputs:{ngSrc:"ngSrc",ngSrcset:"ngSrcset",sizes:"sizes",width:"width",height:"height",loading:"loading",priority:"priority",disableOptimizedSrcset:"disableOptimizedSrcset",fill:"fill",src:"src",srcset:"srcset"},standalone:!0,features:[s.TTD]}),g})();function Pi(g){return"string"==typeof g?parseInt(g,10):g}function co(g){return null!=g&&"false"!=`${g}`}},529:(at,be,v)=>{v.d(be,{JF:()=>Xn,LE:()=>Fe,TP:()=>Rt,eN:()=>Je});var s=v(6895),f=v(4650),F=v(9646),W=v(9751),X=v(4351),J=v(9300),ie=v(4004);class q{}class Q{}class j{constructor(M){this.normalizedNames=new Map,this.lazyUpdate=null,M?this.lazyInit="string"==typeof M?()=>{this.headers=new Map,M.split("\n").forEach(R=>{const Ce=R.indexOf(":");if(Ce>0){const B=R.slice(0,Ce),K=B.toLowerCase(),he=R.slice(Ce+1).trim();this.maybeSetNormalizedName(B,K),this.headers.has(K)?this.headers.get(K).push(he):this.headers.set(K,[he])}})}:()=>{this.headers=new Map,Object.keys(M).forEach(R=>{let Ce=M[R];const B=R.toLowerCase();"string"==typeof Ce&&(Ce=[Ce]),Ce.length>0&&(this.headers.set(B,Ce),this.maybeSetNormalizedName(R,B))})}:this.headers=new Map}has(M){return this.init(),this.headers.has(M.toLowerCase())}get(M){this.init();const R=this.headers.get(M.toLowerCase());return R&&R.length>0?R[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(M){return this.init(),this.headers.get(M.toLowerCase())||null}append(M,R){return this.clone({name:M,value:R,op:"a"})}set(M,R){return this.clone({name:M,value:R,op:"s"})}delete(M,R){return this.clone({name:M,value:R,op:"d"})}maybeSetNormalizedName(M,R){this.normalizedNames.has(R)||this.normalizedNames.set(R,M)}init(){this.lazyInit&&(this.lazyInit instanceof j?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(M=>this.applyUpdate(M)),this.lazyUpdate=null))}copyFrom(M){M.init(),Array.from(M.headers.keys()).forEach(R=>{this.headers.set(R,M.headers.get(R)),this.normalizedNames.set(R,M.normalizedNames.get(R))})}clone(M){const R=new j;return R.lazyInit=this.lazyInit&&this.lazyInit instanceof j?this.lazyInit:this,R.lazyUpdate=(this.lazyUpdate||[]).concat([M]),R}applyUpdate(M){const R=M.name.toLowerCase();switch(M.op){case"a":case"s":let Ce=M.value;if("string"==typeof Ce&&(Ce=[Ce]),0===Ce.length)return;this.maybeSetNormalizedName(M.name,R);const B=("a"===M.op?this.headers.get(R):void 0)||[];B.push(...Ce),this.headers.set(R,B);break;case"d":const K=M.value;if(K){let he=this.headers.get(R);if(!he)return;he=he.filter(je=>-1===K.indexOf(je)),0===he.length?(this.headers.delete(R),this.normalizedNames.delete(R)):this.headers.set(R,he)}else this.headers.delete(R),this.normalizedNames.delete(R)}}forEach(M){this.init(),Array.from(this.normalizedNames.keys()).forEach(R=>M(this.normalizedNames.get(R),this.headers.get(R)))}}class G{encodeKey(M){return Ke(M)}encodeValue(M){return Ke(M)}decodeKey(M){return decodeURIComponent(M)}decodeValue(M){return decodeURIComponent(M)}}const Me=/%(\d[a-f0-9])/gi,Ve={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ke(N){return encodeURIComponent(N).replace(Me,(M,R)=>Ve[R]??M)}function Ae(N){return`${N}`}class Fe{constructor(M={}){if(this.updates=null,this.cloneFrom=null,this.encoder=M.encoder||new G,M.fromString){if(M.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ie(N,M){const R=new Map;return N.length>0&&N.replace(/^\?/,"").split("&").forEach(B=>{const K=B.indexOf("="),[he,je]=-1==K?[M.decodeKey(B),""]:[M.decodeKey(B.slice(0,K)),M.decodeValue(B.slice(K+1))],Te=R.get(he)||[];Te.push(je),R.set(he,Te)}),R}(M.fromString,this.encoder)}else M.fromObject?(this.map=new Map,Object.keys(M.fromObject).forEach(R=>{const Ce=M.fromObject[R],B=Array.isArray(Ce)?Ce.map(Ae):[Ae(Ce)];this.map.set(R,B)})):this.map=null}has(M){return this.init(),this.map.has(M)}get(M){this.init();const R=this.map.get(M);return R?R[0]:null}getAll(M){return this.init(),this.map.get(M)||null}keys(){return this.init(),Array.from(this.map.keys())}append(M,R){return this.clone({param:M,value:R,op:"a"})}appendAll(M){const R=[];return Object.keys(M).forEach(Ce=>{const B=M[Ce];Array.isArray(B)?B.forEach(K=>{R.push({param:Ce,value:K,op:"a"})}):R.push({param:Ce,value:B,op:"a"})}),this.clone(R)}set(M,R){return this.clone({param:M,value:R,op:"s"})}delete(M,R){return this.clone({param:M,value:R,op:"d"})}toString(){return this.init(),this.keys().map(M=>{const R=this.encoder.encodeKey(M);return this.map.get(M).map(Ce=>R+"="+this.encoder.encodeValue(Ce)).join("&")}).filter(M=>""!==M).join("&")}clone(M){const R=new Fe({encoder:this.encoder});return R.cloneFrom=this.cloneFrom||this,R.updates=(this.updates||[]).concat(M),R}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(M=>this.map.set(M,this.cloneFrom.map.get(M))),this.updates.forEach(M=>{switch(M.op){case"a":case"s":const R=("a"===M.op?this.map.get(M.param):void 0)||[];R.push(Ae(M.value)),this.map.set(M.param,R);break;case"d":if(void 0===M.value){this.map.delete(M.param);break}{let Ce=this.map.get(M.param)||[];const B=Ce.indexOf(Ae(M.value));-1!==B&&Ce.splice(B,1),Ce.length>0?this.map.set(M.param,Ce):this.map.delete(M.param)}}}),this.cloneFrom=this.updates=null)}}class ve{constructor(){this.map=new Map}set(M,R){return this.map.set(M,R),this}get(M){return this.map.has(M)||this.map.set(M,M.defaultValue()),this.map.get(M)}delete(M){return this.map.delete(M),this}has(M){return this.map.has(M)}keys(){return this.map.keys()}}function H(N){return typeof ArrayBuffer<"u"&&N instanceof ArrayBuffer}function le(N){return typeof Blob<"u"&&N instanceof Blob}function ce(N){return typeof FormData<"u"&&N instanceof FormData}class se{constructor(M,R,Ce,B){let K;if(this.url=R,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=M.toUpperCase(),function De(N){switch(N){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||B?(this.body=void 0!==Ce?Ce:null,K=B):K=Ce,K&&(this.reportProgress=!!K.reportProgress,this.withCredentials=!!K.withCredentials,K.responseType&&(this.responseType=K.responseType),K.headers&&(this.headers=K.headers),K.context&&(this.context=K.context),K.params&&(this.params=K.params)),this.headers||(this.headers=new j),this.context||(this.context=new ve),this.params){const he=this.params.toString();if(0===he.length)this.urlWithParams=R;else{const je=R.indexOf("?");this.urlWithParams=R+(-1===je?"?":je<R.length-1?"&":"")+he}}else this.params=new Fe,this.urlWithParams=R}serializeBody(){return null===this.body?null:H(this.body)||le(this.body)||ce(this.body)||function ge(N){return typeof URLSearchParams<"u"&&N instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Fe?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||ce(this.body)?null:le(this.body)?this.body.type||null:H(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Fe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(M={}){const R=M.method||this.method,Ce=M.url||this.url,B=M.responseType||this.responseType,K=void 0!==M.body?M.body:this.body,he=void 0!==M.withCredentials?M.withCredentials:this.withCredentials,je=void 0!==M.reportProgress?M.reportProgress:this.reportProgress;let Te=M.headers||this.headers,ct=M.params||this.params;const zt=M.context??this.context;return void 0!==M.setHeaders&&(Te=Object.keys(M.setHeaders).reduce((Kt,Ee)=>Kt.set(Ee,M.setHeaders[Ee]),Te)),M.setParams&&(ct=Object.keys(M.setParams).reduce((Kt,Ee)=>Kt.set(Ee,M.setParams[Ee]),ct)),new se(R,Ce,K,{params:ct,headers:Te,context:zt,reportProgress:je,responseType:B,withCredentials:he})}}var pe=(()=>((pe=pe||{})[pe.Sent=0]="Sent",pe[pe.UploadProgress=1]="UploadProgress",pe[pe.ResponseHeader=2]="ResponseHeader",pe[pe.DownloadProgress=3]="DownloadProgress",pe[pe.Response=4]="Response",pe[pe.User=5]="User",pe))();class Z{constructor(M,R=200,Ce="OK"){this.headers=M.headers||new j,this.status=void 0!==M.status?M.status:R,this.statusText=M.statusText||Ce,this.url=M.url||null,this.ok=this.status>=200&&this.status<300}}class oe extends Z{constructor(M={}){super(M),this.type=pe.ResponseHeader}clone(M={}){return new oe({headers:M.headers||this.headers,status:void 0!==M.status?M.status:this.status,statusText:M.statusText||this.statusText,url:M.url||this.url||void 0})}}class xe extends Z{constructor(M={}){super(M),this.type=pe.Response,this.body=void 0!==M.body?M.body:null}clone(M={}){return new xe({body:void 0!==M.body?M.body:this.body,headers:M.headers||this.headers,status:void 0!==M.status?M.status:this.status,statusText:M.statusText||this.statusText,url:M.url||this.url||void 0})}}class ye extends Z{constructor(M){super(M,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${M.url||"(unknown url)"}`:`Http failure response for ${M.url||"(unknown url)"}: ${M.status} ${M.statusText}`,this.error=M.error||null}}function We(N,M){return{body:M,headers:N.headers,context:N.context,observe:N.observe,params:N.params,reportProgress:N.reportProgress,responseType:N.responseType,withCredentials:N.withCredentials}}let Je=(()=>{class N{constructor(R){this.handler=R}request(R,Ce,B={}){let K;if(R instanceof se)K=R;else{let Te,ct;Te=B.headers instanceof j?B.headers:new j(B.headers),B.params&&(ct=B.params instanceof Fe?B.params:new Fe({fromObject:B.params})),K=new se(R,Ce,void 0!==B.body?B.body:null,{headers:Te,context:B.context,params:ct,reportProgress:B.reportProgress,responseType:B.responseType||"json",withCredentials:B.withCredentials})}const he=(0,F.of)(K).pipe((0,X.b)(Te=>this.handler.handle(Te)));if(R instanceof se||"events"===B.observe)return he;const je=he.pipe((0,J.h)(Te=>Te instanceof xe));switch(B.observe||"body"){case"body":switch(K.responseType){case"arraybuffer":return je.pipe((0,ie.U)(Te=>{if(null!==Te.body&&!(Te.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Te.body}));case"blob":return je.pipe((0,ie.U)(Te=>{if(null!==Te.body&&!(Te.body instanceof Blob))throw new Error("Response is not a Blob.");return Te.body}));case"text":return je.pipe((0,ie.U)(Te=>{if(null!==Te.body&&"string"!=typeof Te.body)throw new Error("Response is not a string.");return Te.body}));default:return je.pipe((0,ie.U)(Te=>Te.body))}case"response":return je;default:throw new Error(`Unreachable: unhandled observe type ${B.observe}}`)}}delete(R,Ce={}){return this.request("DELETE",R,Ce)}get(R,Ce={}){return this.request("GET",R,Ce)}head(R,Ce={}){return this.request("HEAD",R,Ce)}jsonp(R,Ce){return this.request("JSONP",R,{params:(new Fe).append(Ce,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(R,Ce={}){return this.request("OPTIONS",R,Ce)}patch(R,Ce,B={}){return this.request("PATCH",R,We(B,Ce))}post(R,Ce,B={}){return this.request("POST",R,We(B,Ce))}put(R,Ce,B={}){return this.request("PUT",R,We(B,Ce))}}return N.\u0275fac=function(R){return new(R||N)(f.LFG(q))},N.\u0275prov=f.Yz7({token:N,factory:N.\u0275fac}),N})();function mt(N,M){return M(N)}function Wt(N,M){return(R,Ce)=>M.intercept(R,{handle:B=>N(B,Ce)})}const Rt=new f.OlP("HTTP_INTERCEPTORS"),Ot=new f.OlP("HTTP_INTERCEPTOR_FNS");function Ue(){let N=null;return(M,R)=>(null===N&&(N=((0,f.f3M)(Rt,{optional:!0})??[]).reduceRight(Wt,mt)),N(M,R))}let rt=(()=>{class N extends q{constructor(R,Ce){super(),this.backend=R,this.injector=Ce,this.chain=null}handle(R){if(null===this.chain){const Ce=Array.from(new Set(this.injector.get(Ot)));this.chain=Ce.reduceRight((B,K)=>function Xt(N,M,R){return(Ce,B)=>R.runInContext(()=>M(Ce,K=>N(K,B)))}(B,K,this.injector),mt)}return this.chain(R,Ce=>this.backend.handle(Ce))}}return N.\u0275fac=function(R){return new(R||N)(f.LFG(Q),f.LFG(f.lqb))},N.\u0275prov=f.Yz7({token:N,factory:N.\u0275fac}),N})();const Pt=/^\)\]\}',?\n/;let Yt=(()=>{class N{constructor(R){this.xhrFactory=R}handle(R){if("JSONP"===R.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new W.y(Ce=>{const B=this.xhrFactory.build();if(B.open(R.method,R.urlWithParams),R.withCredentials&&(B.withCredentials=!0),R.headers.forEach((I,C)=>B.setRequestHeader(I,C.join(","))),R.headers.has("Accept")||B.setRequestHeader("Accept","application/json, text/plain, */*"),!R.headers.has("Content-Type")){const I=R.detectContentTypeHeader();null!==I&&B.setRequestHeader("Content-Type",I)}if(R.responseType){const I=R.responseType.toLowerCase();B.responseType="json"!==I?I:"text"}const K=R.serializeBody();let he=null;const je=()=>{if(null!==he)return he;const I=B.statusText||"OK",C=new j(B.getAllResponseHeaders()),S=function yn(N){return"responseURL"in N&&N.responseURL?N.responseURL:/^X-Request-URL:/m.test(N.getAllResponseHeaders())?N.getResponseHeader("X-Request-URL"):null}(B)||R.url;return he=new oe({headers:C,status:B.status,statusText:I,url:S}),he},Te=()=>{let{headers:I,status:C,statusText:S,url:$}=je(),ue=null;204!==C&&(ue=typeof B.response>"u"?B.responseText:B.response),0===C&&(C=ue?200:0);let Qe=C>=200&&C<300;if("json"===R.responseType&&"string"==typeof ue){const Mt=ue;ue=ue.replace(Pt,"");try{ue=""!==ue?JSON.parse(ue):null}catch(Mn){ue=Mt,Qe&&(Qe=!1,ue={error:Mn,text:ue})}}Qe?(Ce.next(new xe({body:ue,headers:I,status:C,statusText:S,url:$||void 0})),Ce.complete()):Ce.error(new ye({error:ue,headers:I,status:C,statusText:S,url:$||void 0}))},ct=I=>{const{url:C}=je(),S=new ye({error:I,status:B.status||0,statusText:B.statusText||"Unknown Error",url:C||void 0});Ce.error(S)};let zt=!1;const Kt=I=>{zt||(Ce.next(je()),zt=!0);let C={type:pe.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(C.total=I.total),"text"===R.responseType&&B.responseText&&(C.partialText=B.responseText),Ce.next(C)},Ee=I=>{let C={type:pe.UploadProgress,loaded:I.loaded};I.lengthComputable&&(C.total=I.total),Ce.next(C)};return B.addEventListener("load",Te),B.addEventListener("error",ct),B.addEventListener("timeout",ct),B.addEventListener("abort",ct),R.reportProgress&&(B.addEventListener("progress",Kt),null!==K&&B.upload&&B.upload.addEventListener("progress",Ee)),B.send(K),Ce.next({type:pe.Sent}),()=>{B.removeEventListener("error",ct),B.removeEventListener("abort",ct),B.removeEventListener("load",Te),B.removeEventListener("timeout",ct),R.reportProgress&&(B.removeEventListener("progress",Kt),null!==K&&B.upload&&B.upload.removeEventListener("progress",Ee)),B.readyState!==B.DONE&&B.abort()}})}}return N.\u0275fac=function(R){return new(R||N)(f.LFG(s.JF))},N.\u0275prov=f.Yz7({token:N,factory:N.\u0275fac}),N})();const Tt=new f.OlP("XSRF_ENABLED"),Ft="XSRF-TOKEN",sn=new f.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Ft}),$n="X-XSRF-TOKEN",bn=new f.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>$n});class wn{}let Hn=(()=>{class N{constructor(R,Ce,B){this.doc=R,this.platform=Ce,this.cookieName=B,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const R=this.doc.cookie||"";return R!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,s.Mx)(R,this.cookieName),this.lastCookieString=R),this.lastToken}}return N.\u0275fac=function(R){return new(R||N)(f.LFG(s.K0),f.LFG(f.Lbi),f.LFG(sn))},N.\u0275prov=f.Yz7({token:N,factory:N.\u0275fac}),N})();function Ut(N,M){const R=N.url.toLowerCase();if(!(0,f.f3M)(Tt)||"GET"===N.method||"HEAD"===N.method||R.startsWith("http://")||R.startsWith("https://"))return M(N);const Ce=(0,f.f3M)(wn).getToken(),B=(0,f.f3M)(bn);return null!=Ce&&!N.headers.has(B)&&(N=N.clone({headers:N.headers.set(B,Ce)})),M(N)}var pt=(()=>((pt=pt||{})[pt.Interceptors=0]="Interceptors",pt[pt.LegacyInterceptors=1]="LegacyInterceptors",pt[pt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",pt[pt.NoXsrfProtection=3]="NoXsrfProtection",pt[pt.JsonpSupport=4]="JsonpSupport",pt[pt.RequestsMadeViaParent=5]="RequestsMadeViaParent",pt))();function Bt(N,M){return{\u0275kind:N,\u0275providers:M}}function Ge(...N){const M=[Je,Yt,rt,{provide:q,useExisting:rt},{provide:Q,useExisting:Yt},{provide:Ot,useValue:Ut,multi:!0},{provide:Tt,useValue:!0},{provide:wn,useClass:Hn}];for(const R of N)M.push(...R.\u0275providers);return(0,f.MR2)(M)}const Ne=new f.OlP("LEGACY_INTERCEPTOR_FN");function Vt({cookieName:N,headerName:M}){const R=[];return void 0!==N&&R.push({provide:sn,useValue:N}),void 0!==M&&R.push({provide:bn,useValue:M}),Bt(pt.CustomXsrfConfiguration,R)}let Xn=(()=>{class N{}return N.\u0275fac=function(R){return new(R||N)},N.\u0275mod=f.oAB({type:N}),N.\u0275inj=f.cJS({providers:[Ge(Bt(pt.LegacyInterceptors,[{provide:Ne,useFactory:Ue},{provide:Ot,useExisting:Ne,multi:!0}]),Vt({cookieName:Ft,headerName:$n}))]}),N})()},4650:(at,be,v)=>{v.d(be,{$8M:()=>mr,$WT:()=>er,$Z:()=>vf,AFp:()=>Eg,ALo:()=>Hp,AaK:()=>q,AsE:()=>fu,BQk:()=>Ml,CHM:()=>Zi,CRH:()=>Xp,CZH:()=>Ul,CqO:()=>qf,D6c:()=>NE,DdM:()=>Ap,EJc:()=>Q0,EiD:()=>Fd,EpF:()=>Xf,F$t:()=>ih,F4k:()=>Jf,FYo:()=>Zd,FiY:()=>aa,G48:()=>yE,Gf:()=>Zp,GfV:()=>Qd,GkF:()=>Jc,Gpc:()=>Y,Gre:()=>Nh,Hsn:()=>oh,Ikx:()=>hu,JOm:()=>ds,JVY:()=>jm,JZr:()=>Ke,KtG:()=>jo,L6k:()=>$m,LAX:()=>zm,LFG:()=>ft,LSH:()=>mc,Lbi:()=>W0,Lck:()=>Yb,MAs:()=>Qf,MMx:()=>Cu,MR2:()=>sy,NdJ:()=>eu,O4$:()=>Ds,OlP:()=>Yn,Oqu:()=>du,P3R:()=>Ld,PXZ:()=>dE,Q6J:()=>Zc,QGY:()=>qc,QbO:()=>K0,Qsj:()=>Ey,R0b:()=>Lo,RDi:()=>Fm,Rgc:()=>tl,SBq:()=>ja,Sil:()=>J0,Suo:()=>Qp,TTD:()=>Ai,TgZ:()=>Cl,Tol:()=>bh,Udp:()=>lu,VKq:()=>Ip,W1O:()=>tg,WFA:()=>tu,WLB:()=>Op,X6Q:()=>mE,XFs:()=>Ft,Xpm:()=>In,Xts:()=>yc,Y36:()=>ma,YKP:()=>bp,YNc:()=>Zf,Yjl:()=>Hi,Yz7:()=>lt,Z0I:()=>te,ZZ4:()=>Ku,_Bn:()=>vp,_UZ:()=>Xc,_Vd:()=>Ha,_c5:()=>RE,_uU:()=>Sh,aQg:()=>Yu,c2e:()=>Y0,cJS:()=>Ye,cg1:()=>gu,d8E:()=>pu,dDg:()=>aE,dqk:()=>Ut,eBb:()=>Vm,eFA:()=>Fg,ekj:()=>cu,eoX:()=>Og,f3M:()=>N,g9A:()=>Cg,h0i:()=>Ia,hGG:()=>FE,hYB:()=>iu,hij:()=>Al,iGM:()=>Yp,ifc:()=>Kt,ip1:()=>bg,jDz:()=>Dp,kEZ:()=>Pp,kL8:()=>Gh,kcU:()=>Dr,kuF:()=>Fe,l5B:()=>Rp,lG2:()=>Hr,lcZ:()=>jp,lqb:()=>Qs,lri:()=>Ag,mCW:()=>cl,n5z:()=>Zt,n_E:()=>Fl,oAB:()=>si,oJD:()=>Nd,oxw:()=>rh,pB0:()=>Gm,q3G:()=>Xr,q4F:()=>Xd,qLn:()=>$a,qOj:()=>Gc,qZA:()=>wl,qbA:()=>Fp,qzn:()=>da,rWj:()=>Ig,s9C:()=>nu,sBO:()=>_E,s_b:()=>kl,soG:()=>Hl,tBr:()=>sa,tb:()=>wg,tp0:()=>T,uIk:()=>Yc,vHH:()=>Ae,vpe:()=>ms,wAp:()=>cn,xi3:()=>$p,xp6:()=>sf,ynx:()=>Tl,z2F:()=>jl,z3N:()=>Ss,zSh:()=>Ec,zs3:()=>Xs});var s=v(7579),f=v(727),F=v(9751),W=v(6451),X=v(3099);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 ie(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function q(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(q).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 Q(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const j=J({__forward_ref__:J});function Y(e){return e.__forward_ref__=Y,e.toString=function(){return q(this())},e}function G(e){return Ie(e)?e():e}function Ie(e){return"function"==typeof e&&e.hasOwnProperty(j)&&e.__forward_ref__===Y}function Me(e){return e&&!!e.\u0275providers}const Ke="https://g.co/ng/security#xss";class Ae extends Error{constructor(t,n){super(Fe(t,n)),this.code=t}}function Fe(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function Pe(e){return"string"==typeof e?e:null==e?"":String(e)}function ce(e,t){throw new Ae(-201,!1)}function Ot(e,t){null==e&&function Ue(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function lt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ye(e){return{providers:e.providers||[],imports:e.imports||[]}}function At(e){return Xe(e,Pt)||Xe(e,Yt)}function te(e){return null!==At(e)}function Xe(e,t){return e.hasOwnProperty(t)?e[t]:null}function bt(e){return e&&(e.hasOwnProperty(yn)||e.hasOwnProperty(Tt))?e[yn]:null}const Pt=J({\u0275prov:J}),yn=J({\u0275inj:J}),Yt=J({ngInjectableDef:J}),Tt=J({ngInjectorDef:J});var Ft=(()=>((Ft=Ft||{})[Ft.Default=0]="Default",Ft[Ft.Host=1]="Host",Ft[Ft.Self=2]="Self",Ft[Ft.SkipSelf=4]="SkipSelf",Ft[Ft.Optional=8]="Optional",Ft))();let sn;function bn(e){const t=sn;return sn=e,t}function wn(e,t,n){const r=At(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ft.Optional?null:void 0!==t?t:void ce(q(e))}const Ut=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ge={},yt="__NG_DI_FLAG__",Ne="ngTempTokenPath",Vt=/\n/gm,Qn="__source";let Ht;function An(e){const t=Ht;return Ht=e,t}function Xn(e,t=Ft.Default){if(void 0===Ht)throw new Ae(-203,!1);return null===Ht?wn(e,void 0,t):Ht.get(e,t&Ft.Optional?null:void 0,t)}function ft(e,t=Ft.Default){return(function $n(){return sn}()||Xn)(G(e),t)}function N(e,t=Ft.Default){return ft(e,M(t))}function M(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function R(e){const t=[];for(let n=0;n<e.length;n++){const r=G(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ae(900,!1);let i,o=Ft.Default;for(let u=0;u<r.length;u++){const p=r[u],b=B(p);"number"==typeof b?-1===b?i=p.token:o|=b:i=p}t.push(ft(i,o))}else t.push(ft(r))}return t}function Ce(e,t){return e[yt]=t,e.prototype[yt]=t,e}function B(e){return e[yt]}function je(e){return{toString:e}.toString()}var Te=(()=>((Te=Te||{})[Te.OnPush=0]="OnPush",Te[Te.Default=1]="Default",Te))(),Kt=(()=>{return(e=Kt||(Kt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Kt;var e})();const Ee={},I=[],C=J({\u0275cmp:J}),S=J({\u0275dir:J}),$=J({\u0275pipe:J}),ue=J({\u0275mod:J}),Qe=J({\u0275fac:J}),Mt=J({__NG_ELEMENT_ID__:J});let Mn=0;function In(e){return je(()=>{const n=!0===e.standalone,r={},i={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:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Te.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||I,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Kt.Emulated,id:"c"+Mn++,styles:e.styles||I,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=e.dependencies,u=e.features;return i.inputs=Ui(e.inputs,r),i.outputs=Ui(e.outputs),u&&u.forEach(p=>p(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(On).filter(qr):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(dr).filter(qr):null,i})}function On(e){return Dn(e)||Ln(e)}function qr(e){return null!==e}function si(e){return je(()=>({type:e.type,bootstrap:e.bootstrap||I,declarations:e.declarations||I,imports:e.imports||I,exports:e.exports||I,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ui(e,t){if(null==e)return Ee;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const Hr=In;function Hi(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Dn(e){return e[C]||null}function Ln(e){return e[S]||null}function dr(e){return e[$]||null}function er(e){const t=Dn(e)||Ln(e)||dr(e);return null!==t&&t.standalone}function tr(e,t){const n=e[ue]||null;if(!n&&!0===t)throw new Error(`Type ${q(e)} does not have '\u0275mod' property.`);return n}function vr(e){return Array.isArray(e)&&"object"==typeof e[1]}function Wn(e){return Array.isArray(e)&&!0===e[1]}function ei(e){return 0!=(4&e.flags)}function Vi(e){return e.componentOffset>-1}function zi(e){return 1==(1&e.flags)}function Rr(e){return null!==e.template}function Mi(e){return 0!=(256&e[2])}function rr(e,t){return e.hasOwnProperty(Qe)?e[Qe]:null}class Nr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ai(){return ai}function ai(e){return e.type.prototype.ngOnChanges&&(e.setInput=so),li}function li(){const e=jr(this),t=e?.current;if(t){const n=e.previous;if(n===Ee)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function so(e,t,n,r){const i=this.declaredInputs[n],o=jr(e)||function Ki(e,t){return e[mi]=t}(e,{previous:Ee,current:null}),u=o.current||(o.current={}),p=o.previous,b=p[i];u[i]=new Nr(b&&b.currentValue,t,p===Ee),e[r]=t}Ai.ngInherit=!0;const mi="__ngSimpleChanges__";function jr(e){return e[mi]||null}function Rn(e){for(;Array.isArray(e);)e=e[0];return e}function Zr(e,t){return Rn(t[e])}function br(e,t){return Rn(t[e.index])}function Yi(e,t){return e.data[t]}function Qr(e,t){return e[t]}function kr(e,t){const n=t[e];return vr(n)?n:n[0]}function yi(e){return 64==(64&e[2])}function ci(e,t){return null==t?null:e[t]}function Jo(e){e[18]=0}function _i(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 en={lFrame:Fs(null),bindingsEnabled:!0};function es(){return en.bindingsEnabled}function et(){return en.lFrame.lView}function mn(){return en.lFrame.tView}function Zi(e){return en.lFrame.contextLView=e,e[8]}function jo(e){return en.lFrame.contextLView=null,e}function Er(){let e=vo();for(;null!==e&&64===e.type;)e=e.parent;return e}function vo(){return en.lFrame.currentTNode}function $r(e,t){const n=en.lFrame;n.currentTNode=e,n.isParent=t}function Po(){return en.lFrame.isParent}function $o(){en.lFrame.isParent=!1}function xr(){const e=en.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Vr(){return en.lFrame.bindingIndex++}function zr(e){const t=en.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ro(e,t){const n=en.lFrame;n.bindingIndex=n.bindingRootIndex=e,lo(t)}function lo(e){en.lFrame.currentDirectiveIndex=e}function Ii(e){const t=en.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function zo(){return en.lFrame.currentQueryIndex}function Oi(e){en.lFrame.currentQueryIndex=e}function Pi(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function co(e,t,n){if(n&Ft.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&Ft.Host||(i=Pi(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=en.lFrame=Xi();return r.currentTNode=t,r.lView=e,!0}function ar(e){const t=Xi(),n=e[1];en.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Xi(){const e=en.lFrame,t=null===e?null:e.child;return null===t?Fs(e):t}function Fs(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 Ns(){const e=en.lFrame;return en.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Fo=Ns;function bs(){const e=Ns();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 Lr(){return en.lFrame.selectedIndex}function qi(e){en.lFrame.selectedIndex=e}function Jn(){const e=en.lFrame;return Yi(e.tView,e.selectedIndex)}function Ds(){en.lFrame.currentNamespace="svg"}function Dr(){!function Cs(){en.lFrame.currentNamespace=null}()}function Eo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:p,ngAfterViewInit:b,ngAfterViewChecked:x,ngOnDestroy:U}=o;u&&(e.contentHooks||(e.contentHooks=[])).push(-n,u),p&&((e.contentHooks||(e.contentHooks=[])).push(n,p),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,p)),b&&(e.viewHooks||(e.viewHooks=[])).push(-n,b),x&&((e.viewHooks||(e.viewHooks=[])).push(n,x),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,x)),null!=U&&(e.destroyHooks||(e.destroyHooks=[])).push(n,U)}}function g(e,t,n){P(e,t,3,n)}function A(e,t,n,r){(3&e[2])===n&&P(e,t,n,r)}function _(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function P(e,t,n,r){const o=r??-1,u=t.length-1;let p=0;for(let b=void 0!==r?65535&e[18]:0;b<u;b++)if("number"==typeof t[b+1]){if(p=t[b],null!=r&&p>=r)break}else t[b]<0&&(e[18]+=65536),(p<o||-1==o)&&(ne(e,n,t,b),e[18]=(4294901760&e[18])+b+2),b++}function ne(e,t,n,r){const i=n[r]<0,o=n[r+1],p=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(p)}finally{}}}else try{o.call(p)}finally{}}class Ze{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function pi(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],u=n[r++],p=n[r++];e.setAttribute(t,u,p,o)}else{const o=i,u=n[++r];Br(o)?e.setProperty(t,o,u):e.setAttribute(t,o,u),r++}}return r}function ii(e){return 3===e||4===e||6===e}function Br(e){return 64===e.charCodeAt(0)}function cr(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||Ri(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Ri(e,t,n,r,i){let o=0,u=e.length;if(-1===t)u=-1;else for(;o<e.length;){const p=e[o++];if("number"==typeof p){if(p===t){u=-1;break}if(p>t){u=o-1;break}}}for(;o<e.length;){const p=e[o];if("number"==typeof p)break;if(p===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==u&&(e.splice(u,0,t),o=u+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function Do(e){return-1!==e}function uo(e){return 32767&e}function os(e,t){let n=function is(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Go=!0;function ss(e){const t=Go;return Go=e,t}let zs=0;const ui={};function No(e,t){const n=Ts(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Wo(r.data,e),Wo(t,null),Wo(r.blueprint,null));const i=ur(e,t),o=e.injectorIndex;if(Do(i)){const u=uo(i),p=os(i,t),b=p[1].data;for(let x=0;x<8;x++)t[o+x]=p[u+x]|b[u+x]}return t[o+8]=i,o}function Wo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ts(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ur(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=qn(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function D(e,t,n){!function Bs(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Mt)&&(r=n[Mt]),null==r&&(r=n[Mt]=zs++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function l(e,t,n){if(n&Ft.Optional||void 0!==e)return e;ce()}function y(e,t,n,r){if(n&Ft.Optional&&void 0===r&&(r=null),!(n&(Ft.Self|Ft.Host))){const i=e[9],o=bn(void 0);try{return i?i.get(t,r,n&Ft.Optional):wn(t,r,n&Ft.Optional)}finally{bn(o)}}return l(r,0,n)}function O(e,t,n,r=Ft.Default,i){if(null!==e){if(1024&t[2]){const u=function Kn(e,t,n,r,i){let o=e,u=t;for(;null!==o&&null!==u&&1024&u[2]&&!(256&u[2]);){const p=z(o,u,n,r|Ft.Self,ui);if(p!==ui)return p;let b=o.parent;if(!b){const x=u[21];if(x){const U=x.get(n,ui,r);if(U!==ui)return U}b=qn(u),u=u[15]}o=b}return i}(e,t,n,r,ui);if(u!==ui)return u}const o=z(e,t,n,r,ui);if(o!==ui)return o}return y(t,n,r,i)}function z(e,t,n,r,i){const o=function it(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Mt)?e[Mt]:void 0;return"number"==typeof t?t>=0?255&t:dn:t}(n);if("function"==typeof o){if(!co(t,e,r))return r&Ft.Host?l(i,0,r):y(t,n,r,i);try{const u=o(r);if(null!=u||r&Ft.Optional)return u;ce()}finally{Fo()}}else if("number"==typeof o){let u=null,p=Ts(e,t),b=-1,x=r&Ft.Host?t[16][6]:null;for((-1===p||r&Ft.SkipSelf)&&(b=-1===p?ur(e,t):t[p+8],-1!==b&&St(r,!1)?(u=t[1],p=uo(b),t=os(b,t)):p=-1);-1!==p;){const U=t[1];if(vt(o,p,U.data)){const ee=me(p,t,n,u,r,x);if(ee!==ui)return ee}b=t[p+8],-1!==b&&St(r,t[1].data[p+8]===x)&&vt(o,p,t)?(u=U,p=uo(b),t=os(b,t)):p=-1}}return i}function me(e,t,n,r,i,o){const u=t[1],p=u.data[e+8],U=de(p,u,n,null==r?Vi(p)&&Go:r!=u&&0!=(3&p.type),i&Ft.Host&&o===p);return null!==U?ke(t,u,U,p):ui}function de(e,t,n,r,i){const o=e.providerIndexes,u=t.data,p=1048575&o,b=e.directiveStart,U=o>>20,Se=i?p+U:e.directiveEnd;for(let He=r?p:p+U;He<Se;He++){const ot=u[He];if(He<b&&n===ot||He>=b&&ot.type===n)return He}if(i){const He=u[b];if(He&&Rr(He)&&He.type===n)return b}return null}function ke(e,t,n,r){let i=e[n];const o=t.data;if(function Dt(e){return e instanceof Ze}(i)){const u=i;u.resolving&&function De(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ae(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ve(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Pe(e)}(o[n]));const p=ss(u.canSeeViewProviders);u.resolving=!0;const b=u.injectImpl?bn(u.injectImpl):null;co(e,r,Ft.Default);try{i=e[n]=u.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ks(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const u=ai(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==b&&bn(b),ss(p),u.resolving=!1,Fo()}}return i}function vt(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function St(e,t){return!(e&Ft.Self||e&Ft.Host&&t)}class un{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return O(this._tNode,this._lView,t,M(r),n)}}function dn(){return new un(Er(),et())}function Zt(e){return je(()=>{const t=e.prototype.constructor,n=t[Qe]||nn(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Qe]||nn(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function nn(e){return Ie(e)?()=>{const t=nn(G(e));return t&&t()}:rr(e)}function qn(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function mr(e){return function a(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 o=n[i];if(ii(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(Er(),e)}const sr="__parameters__";function oi(e,t,n){return je(()=>{const r=function Gr(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const u=new i(...o);return p.annotation=u,p;function p(b,x,U){const ee=b.hasOwnProperty(sr)?b[sr]:Object.defineProperty(b,sr,{value:[]})[sr];for(;ee.length<=U;)ee.push(null);return(ee[U]=ee[U]||[]).push(u),b}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class Yn{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=lt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function h(e,t){e.forEach(n=>Array.isArray(n)?h(n,t):t(n))}function c(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function m(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function w(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ct(e,t,n){let r=Cn(e,t);return r>=0?e[1|r]=n:(r=~r,function Re(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 Lt(e,t){const n=Cn(e,t);if(n>=0)return e[1|n]}function Cn(e,t){return function wo(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),u=e[o<<n];if(t===u)return o<<n;u>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const sa=Ce(oi("Inject",e=>({token:e})),-1),aa=Ce(oi("Optional"),8),T=Ce(oi("SkipSelf"),4);var ds=(()=>((ds=ds||{})[ds.Important=1]="Important",ds[ds.DashCase=2]="DashCase",ds))();const Zl=new Map;let rm=0;const Xl="__ngContext__";function Li(e,t){vr(t)?(e[Xl]=t[20],function om(e){Zl.set(e[20],e)}(t)):e[Xl]=t}function ql(e,t){return undefined(e,t)}function ka(e){const t=e[3];return Wn(t)?t[3]:t}function ec(e){return ld(e[13])}function tc(e){return ld(e[4])}function ld(e){for(;null!==e&&!Wn(e);)e=e[4];return e}function ua(e,t,n,r,i){if(null!=r){let o,u=!1;Wn(r)?o=r:vr(r)&&(u=!0,r=r[0]);const p=Rn(r);0===e&&null!==n?null==i?pd(t,n,p):Ws(t,n,p,i||null,!0):1===e&&null!==n?Ws(t,n,p,i||null,!0):2===e?function lc(e,t,n){const r=il(e,t);r&&function Tm(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,p,u):3===e&&t.destroyNode(p),null!=o&&function xm(e,t,n,r,i){const o=n[7];o!==Rn(n)&&ua(t,e,r,o,i);for(let p=10;p<n.length;p++){const b=n[p];La(b[1],b,e,t,r,o)}}(t,e,o,n,i)}}function rc(e,t,n){return e.createElement(t,n)}function ud(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,_i(i,-1)),n.splice(r,1)}function ic(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&ud(i,r),t>0&&(e[n-1][4]=r[4]);const o=m(e,10+t);!function ym(e,t){La(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const u=o[19];null!==u&&u.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function dd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&La(e,t,n,3,null,null),function bm(e){let t=e[13];if(!t)return oc(e[1],e);for(;t;){let n=null;if(vr(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)vr(t)&&oc(t[1],t),t=t[3];null===t&&(t=e),vr(t)&&oc(t[1],t),n=t&&t[4]}t=n}}(t)}}function oc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function wm(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 Ze)){const o=n[r+1];if(Array.isArray(o))for(let u=0;u<o.length;u+=2){const p=i[o[u]],b=o[u+1];try{b.call(p)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function Cm(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const u=n[o+3];u>=0?r[i=u]():r[i=-u].unsubscribe(),o+=2}else{const u=r[i=n[o+1]];n[o].call(u)}if(null!==r){for(let o=i+1;o<r.length;o++)(0,r[o])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Wn(t[3])){n!==t[3]&&ud(n,t);const r=t[19];null!==r&&r.detachView(e)}!function sm(e){Zl.delete(e[20])}(t)}}function fd(e,t,n){return function hd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Kt.None||o===Kt.Emulated)return null}return br(r,n)}}(e,t.parent,n)}function Ws(e,t,n,r,i){e.insertBefore(t,n,r,i)}function pd(e,t,n){e.appendChild(t,n)}function gd(e,t,n,r,i){null!==r?Ws(e,t,n,r,i):pd(e,t,n)}function il(e,t){return e.parentNode(t)}function md(e,t,n){return _d(e,t,n)}let al,dc,ll,_d=function yd(e,t,n){return 40&e.type?br(e,n):null};function ol(e,t,n,r){const i=fd(e,r,t),o=t[11],p=md(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let b=0;b<n.length;b++)gd(o,i,n[b],p,!1);else gd(o,i,n,p,!1)}function sl(e,t){if(null!==t){const n=t.type;if(3&n)return br(t,e);if(4&n)return ac(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return sl(e,r);{const i=e[t.index];return Wn(i)?ac(-1,i):Rn(i)}}if(32&n)return ql(t,e)()||Rn(e[t.index]);{const r=bd(e,t);return null!==r?Array.isArray(r)?r[0]:sl(ka(e[16]),r):sl(e,t.next)}}return null}function bd(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ac(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return sl(r,i)}return t[7]}function cc(e,t,n,r,i,o,u){for(;null!=n;){const p=r[n.index],b=n.type;if(u&&0===t&&(p&&Li(Rn(p),r),n.flags|=2),32!=(32&n.flags))if(8&b)cc(e,t,n.child,r,i,o,!1),ua(t,e,i,p,o);else if(32&b){const x=ql(n,r);let U;for(;U=x();)ua(t,e,i,U,o);ua(t,e,i,p,o)}else 16&b?Ed(e,t,r,n,i,o):ua(t,e,i,p,o);n=u?n.projectionNext:n.next}}function La(e,t,n,r,i,o){cc(n,r,e.firstChild,t,i,o,!1)}function Ed(e,t,n,r,i,o){const u=n[16],b=u[6].projection[r.projection];if(Array.isArray(b))for(let x=0;x<b.length;x++)ua(t,e,i,b[x],o);else cc(e,t,b,u[3],i,o,!0)}function Dd(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Cd(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&pi(e,t,r),null!==i&&Dd(e,t,i),null!==o&&function Im(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function Ks(e){return function uc(){if(void 0===al&&(al=null,Ut.trustedTypes))try{al=Ut.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return al}()?.createHTML(e)||e}function Fm(e){dc=e}function fc(){if(void 0===ll&&(ll=null,Ut.trustedTypes))try{ll=Ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ll}function Td(e){return fc()?.createHTML(e)||e}function Sd(e){return fc()?.createScriptURL(e)||e}class Ys{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ke})`}}class Nm extends Ys{getTypeName(){return"HTML"}}class km extends Ys{getTypeName(){return"Style"}}class Lm extends Ys{getTypeName(){return"Script"}}class Bm extends Ys{getTypeName(){return"URL"}}class Um extends Ys{getTypeName(){return"ResourceURL"}}function Ss(e){return e instanceof Ys?e.changingThisBreaksApplicationSecurity:e}function da(e,t){const n=function Hm(e){return e instanceof Ys&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ke})`)}return n===t}function jm(e){return new Nm(e)}function $m(e){return new km(e)}function Vm(e){return new Lm(e)}function zm(e){return new Bm(e)}function Gm(e){return new Um(e)}class Wm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ks(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Km{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=Ks(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ks(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const u=n.item(i).name;("xmlns:ns1"===u||0===u.indexOf("ns1:"))&&t.removeAttribute(u)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Zm=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function cl(e){return(e=String(e)).match(Zm)?e:"unsafe:"+e}function xs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ba(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Ad=xs("area,br,col,hr,img,wbr"),Id=xs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Od=xs("rp,rt"),hc=Ba(Ad,Ba(Id,xs("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")),Ba(Od,xs("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")),Ba(Od,Id)),pc=xs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Pd=Ba(pc,xs("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),xs("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")),Qm=xs("script,style,template");class Xm{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(!hc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Qm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),u=o.name,p=u.toLowerCase();if(!Pd.hasOwnProperty(p)){this.sanitizedSomething=!0;continue}let b=o.value;pc[p]&&(b=cl(b)),this.buf.push(" ",u,'="',Rd(b),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();hc.hasOwnProperty(n)&&!Ad.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Rd(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 Jm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qm=/([^\#-~ |!])/g;function Rd(e){return e.replace(/&/g,"&amp;").replace(Jm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ul;function Fd(e,t){let n=null;try{ul=ul||function xd(e){const t=new Km(e);return function Ym(){try{return!!(new window.DOMParser).parseFromString(Ks(""),"text/html")}catch{return!1}}()?new Wm(t):t}(e);let r=t?String(t):"";n=ul.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=ul.getInertBodyElement(r)}while(r!==o);return Ks((new Xm).sanitizeChildren(gc(n)||n))}finally{if(n){const r=gc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function gc(e){return"content"in e&&function ey(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Xr=(()=>((Xr=Xr||{})[Xr.NONE=0]="NONE",Xr[Xr.HTML=1]="HTML",Xr[Xr.STYLE=2]="STYLE",Xr[Xr.SCRIPT=3]="SCRIPT",Xr[Xr.URL=4]="URL",Xr[Xr.RESOURCE_URL=5]="RESOURCE_URL",Xr))();function Nd(e){const t=Ua();return t?Td(t.sanitize(Xr.HTML,e)||""):da(e,"HTML")?Td(Ss(e)):Fd(function wd(){return void 0!==dc?dc:typeof document<"u"?document:void 0}(),Pe(e))}function mc(e){const t=Ua();return t?t.sanitize(Xr.URL,e)||"":da(e,"URL")?Ss(e):cl(Pe(e))}function kd(e){const t=Ua();if(t)return Sd(t.sanitize(Xr.RESOURCE_URL,e)||"");if(da(e,"ResourceURL"))return Sd(Ss(e));throw new Ae(904,!1)}function Ld(e,t,n){return function oy(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?kd:mc}(t,n)(e)}function Ua(){const e=et();return e&&e[12]}const yc=new Yn("ENVIRONMENT_INITIALIZER"),Bd=new Yn("INJECTOR",-1),Ud=new Yn("INJECTOR_DEF_TYPES");class Hd{get(t,n=Ge){if(n===Ge){const r=new Error(`NullInjectorError: No provider for ${q(t)}!`);throw r.name="NullInjectorError",r}return n}}function sy(e){return{\u0275providers:e}}function ay(...e){return{\u0275providers:jd(0,e),\u0275fromNgModule:!0}}function jd(e,...t){const n=[],r=new Set;let i;return h(t,o=>{const u=o;_c(u,n,[],r)&&(i||(i=[]),i.push(u))}),void 0!==i&&$d(i,n),n}function $d(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];vc(i,o=>{t.push(o)})}}function _c(e,t,n,r){if(!(e=G(e)))return!1;let i=null,o=bt(e);const u=!o&&Dn(e);if(o||u){if(u&&!u.standalone)return!1;i=e}else{const b=e.ngModule;if(o=bt(b),!o)return!1;i=b}const p=r.has(i);if(u){if(p)return!1;if(r.add(i),u.dependencies){const b="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const x of b)_c(x,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!p){let x;r.add(i);try{h(o.imports,U=>{_c(U,t,n,r)&&(x||(x=[]),x.push(U))})}finally{}void 0!==x&&$d(x,t)}if(!p){const x=rr(i)||(()=>new i);t.push({provide:i,useFactory:x,deps:I},{provide:Ud,useValue:i,multi:!0},{provide:yc,useValue:()=>ft(i),multi:!0})}const b=o.providers;null==b||p||vc(b,U=>{t.push(U)})}}return i!==e&&void 0!==e.providers}function vc(e,t){for(let n of e)Me(n)&&(n=n.\u0275providers),Array.isArray(n)?vc(n,t):t(n)}const ly=J({provide:String,useValue:J});function bc(e){return null!==e&&"object"==typeof e&&ly in e}function Zs(e){return"function"==typeof e}const Ec=new Yn("Set Injector scope."),dl={},uy={};let Dc;function fl(){return void 0===Dc&&(Dc=new Hd),Dc}class Qs{}class Gd extends Qs{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wc(t,u=>this.processProvider(u)),this.records.set(Bd,fa(void 0,this)),i.has("environment")&&this.records.set(Qs,fa(void 0,this));const o=this.records.get(Ec);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ud.multi,I,Ft.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=An(this),r=bn(void 0);try{return t()}finally{An(n),bn(r)}}get(t,n=Ge,r=Ft.Default){this.assertNotDestroyed(),r=M(r);const i=An(this),o=bn(void 0);try{if(!(r&Ft.SkipSelf)){let p=this.records.get(t);if(void 0===p){const b=function gy(e){return"function"==typeof e||"object"==typeof e&&e instanceof Yn}(t)&&At(t);p=b&&this.injectableDefInScope(b)?fa(Cc(t),dl):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(r&Ft.Self?fl():this.parent).get(t,n=r&Ft.Optional&&n===Ge?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[Ne]=u[Ne]||[]).unshift(q(t)),i)throw u;return function K(e,t,n,r){const i=e[Ne];throw t[Qn]&&i.unshift(t[Qn]),e.message=function he(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=q(t);if(Array.isArray(t))i=t.map(q).join(" -> ");else if("object"==typeof t){let o=[];for(let u in t)if(t.hasOwnProperty(u)){let p=t[u];o.push(u+":"+("string"==typeof p?JSON.stringify(p):q(p)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Vt,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Ne]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{bn(o),An(i)}}resolveInjectorInitializers(){const t=An(this),n=bn(void 0);try{const r=this.get(yc.multi,I,Ft.Self);for(const i of r)i()}finally{An(t),bn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ae(205,!1)}processProvider(t){let n=Zs(t=G(t))?t:G(t&&t.provide);const r=function fy(e){return bc(e)?fa(void 0,e.useValue):fa(Wd(e),dl)}(t);if(Zs(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=fa(void 0,dl,!0),i.factory=()=>R(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===dl&&(n.value=uy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function py(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=G(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Cc(e){const t=At(e),n=null!==t?t.factory:rr(e);if(null!==n)return n;if(e instanceof Yn)throw new Ae(204,!1);if(e instanceof Function)return function dy(e){const t=e.length;if(t>0)throw w(t,"?"),new Ae(204,!1);const n=function nt(e){const t=e&&(e[Pt]||e[Yt]);if(t){const n=function wt(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 Ae(204,!1)}function Wd(e,t,n){let r;if(Zs(e)){const i=G(e);return rr(i)||Cc(i)}if(bc(e))r=()=>G(e.useValue);else if(function zd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...R(e.deps||[]));else if(function Vd(e){return!(!e||!e.useExisting)}(e))r=()=>ft(G(e.useExisting));else{const i=G(e&&(e.useClass||e.provide));if(!function hy(e){return!!e.deps}(e))return rr(i)||Cc(i);r=()=>new i(...R(e.deps))}return r}function fa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wc(e,t){for(const n of e)Array.isArray(n)?wc(n,t):n&&Me(n)?wc(n.\u0275providers,t):t(n)}class my{}class Kd{}class _y{resolveComponentFactory(t){throw function yy(e){const t=Error(`No component factory found for ${q(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ha=(()=>{class e{}return e.NULL=new _y,e})();function vy(){return ha(Er(),et())}function ha(e,t){return new ja(br(e,t))}let ja=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=vy,e})();function by(e){return e instanceof ja?e.nativeElement:e}class Zd{}let Ey=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Dy(){const e=et(),n=kr(Er().index,e);return(vr(n)?n:e)[11]}(),e})(),Cy=(()=>{class e{}return e.\u0275prov=lt({token:e,providedIn:"root",factory:()=>null}),e})();class Qd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Xd=new Qd("15.1.1"),Tc={};function Sc(e){return e.ngOriginalError}class $a{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Sc(t);for(;n&&Sc(n);)n=Sc(n);return n||null}}function As(e){return e instanceof Function?e():e}function qd(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 o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const ef="ng-template";function Fy(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==qd(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 tf(e){return 4===e.type&&e.value!==ef}function Ny(e,t,n){return t===(4!==e.type||n?e.value:ef)}function ky(e,t,n){let r=4;const i=e.attrs||[],o=function Uy(e){for(let t=0;t<e.length;t++)if(ii(e[t]))return t;return e.length}(i);let u=!1;for(let p=0;p<t.length;p++){const b=t[p];if("number"!=typeof b){if(!u)if(4&r){if(r=2|1&r,""!==b&&!Ny(e,b,n)||""===b&&1===t.length){if(Yo(r))return!1;u=!0}}else{const x=8&r?b:t[++p];if(8&r&&null!==e.attrs){if(!Fy(e.attrs,x,n)){if(Yo(r))return!1;u=!0}continue}const ee=Ly(8&r?"class":b,i,tf(e),n);if(-1===ee){if(Yo(r))return!1;u=!0;continue}if(""!==x){let Se;Se=ee>o?"":i[ee+1].toLowerCase();const He=8&r?Se:null;if(He&&-1!==qd(He,x,0)||2&r&&x!==Se){if(Yo(r))return!1;u=!0}}}}else{if(!u&&!Yo(r)&&!Yo(b))return!1;if(u&&Yo(b))continue;u=!1,r=b|1&r}}return Yo(r)||u}function Yo(e){return 0==(1&e)}function Ly(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const u=t[i];if(u===e)return i;if(3===u||6===u)o=!0;else{if(1===u||2===u){let p=t[++i];for(;"string"==typeof p;)p=t[++i];continue}if(4===u)break;if(0===u){i+=4;continue}}i+=o?1:2}return-1}return function Hy(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 nf(e,t,n=!1){for(let r=0;r<t.length;r++)if(ky(e,t[r],n))return!0;return!1}function jy(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 rf(e,t){return e?":not("+t.trim()+")":t}function $y(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&r){const p=e[++n];i+="["+u+(p.length>0?'="'+p+'"':"")+"]"}else 8&r?i+="."+u:4&r&&(i+=" "+u);else""!==i&&!Yo(u)&&(t+=rf(o,i),i=""),r=u,o=o||!Yo(r);n++}return""!==i&&(t+=rf(o,i)),t}const En={};function sf(e){af(mn(),et(),Lr()+e,!1)}function af(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&g(t,o,n)}else{const o=e.preOrderHooks;null!==o&&A(t,o,0,n)}qi(n)}function df(e,t=null,n=null,r){const i=ff(e,t,n,r);return i.resolveInjectorInitializers(),i}function ff(e,t=null,n=null,r,i=new Set){const o=[n||I,ay(e)];return r=r||("object"==typeof e?void 0:q(e)),new Gd(o,t||fl(),r||null,i)}let Xs=(()=>{class e{static create(n,r){if(Array.isArray(n))return df({name:""},r,n,"");{const i=n.name??"";return df({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Ge,e.NULL=new Hd,e.\u0275prov=lt({token:e,providedIn:"any",factory:()=>ft(Bd)}),e.__NG_ELEMENT_ID__=-1,e})();function ma(e,t=Ft.Default){const n=et();return null===n?ft(e,t):O(Er(),n,G(e),t)}function vf(){throw new Error("invalid")}function bf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r+1];if(-1!==o){const u=e.data[o];Oi(n[r]),u.contentQueries(2,t[o],o)}}}function pl(e,t,n,r,i,o,u,p,b,x,U){const ee=t.blueprint.slice();return ee[0]=i,ee[2]=76|r,(null!==U||e&&1024&e[2])&&(ee[2]|=1024),Jo(ee),ee[3]=ee[15]=e,ee[8]=n,ee[10]=u||e&&e[10],ee[11]=p||e&&e[11],ee[12]=b||e&&e[12]||null,ee[9]=x||e&&e[9]||null,ee[6]=o,ee[20]=function im(){return rm++}(),ee[21]=U,ee[16]=2==t.type?e[16]:ee,ee}function ya(e,t,n,r,i){let o=e.data[t];if(null===o)o=function Pc(e,t,n,r,i){const o=vo(),u=Po(),b=e.data[t]=function p_(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,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,u?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=b),null!==o&&(u?null==o.child&&null!==b.parent&&(o.child=b):null===o.next&&(o.next=b)),b}(e,t,n,r,i),function ts(){return en.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const u=function Oo(){const e=en.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===u?-1:u.injectorIndex}return $r(o,!0),o}function Va(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Rc(e,t,n){ar(t);try{const r=e.viewQuery;null!==r&&Vc(1,r,n);const i=e.template;null!==i&&Ef(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&bf(e,t),e.staticViewQueries&&Vc(2,e.viewQuery,n);const o=e.components;null!==o&&function d_(e,t){for(let n=0;n<t.length;n++)R_(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,bs()}}function gl(e,t,n,r){const i=t[2];if(128!=(128&i)){ar(t);try{Jo(t),function vi(e){return en.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Ef(e,t,n,2,r);const u=3==(3&i);if(u){const x=e.preOrderCheckHooks;null!==x&&g(t,x,null)}else{const x=e.preOrderHooks;null!==x&&A(t,x,0,null),_(t,0)}if(function O_(e){for(let t=ec(e);null!==t;t=tc(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r];512&i[2]||_i(i[3],1),i[2]|=512}}}(t),function I_(e){for(let t=ec(e);null!==t;t=tc(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];yi(r)&&gl(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&bf(e,t),u){const x=e.contentCheckHooks;null!==x&&g(t,x)}else{const x=e.contentHooks;null!==x&&A(t,x,1),_(t,1)}!function c_(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)qi(~i);else{const o=i,u=n[++r],p=n[++r];Ro(u,o),p(2,t[o])}}}finally{qi(-1)}}(e,t);const p=e.components;null!==p&&function u_(e,t){for(let n=0;n<t.length;n++)P_(e,t[n])}(t,p);const b=e.viewQuery;if(null!==b&&Vc(2,b,r),u){const x=e.viewCheckHooks;null!==x&&g(t,x)}else{const x=e.viewHooks;null!==x&&A(t,x,2),_(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,_i(t[3],-1))}finally{bs()}}}function Ef(e,t,n,r,i){const o=Lr(),u=2&r;try{qi(-1),u&&t.length>22&&af(e,t,22,!1),n(r,i)}finally{qi(o)}}function Fc(e,t,n){if(ei(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const u=e.data[o];u.contentQueries&&u.contentQueries(1,n[o],o)}}}function Nc(e,t,n){es()&&(function b_(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;Vi(n)&&function S_(e,t,n){const r=br(t,e),i=Df(n),o=e[10],u=ml(e,pl(e,i,null,n.onPush?32:16,r,t,o,o.createRenderer(r,n),null,null,null));e[t.index]=u}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||No(n,t),Li(r,t);const u=n.initialInputs;for(let p=i;p<o;p++){const b=e.data[p],x=ke(t,e,p,n);Li(x,t),null!==u&&x_(0,p-i,x,b,0,u),Rr(b)&&(kr(n.index,t)[8]=ke(t,e,p,n))}}(e,t,n,br(n,t)),64==(64&n.flags)&&xf(e,t,n))}function kc(e,t,n=br){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const u=r[o+1],p=-1===u?n(t,e):e[u];e[i++]=p}}}function Df(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Lc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Lc(e,t,n,r,i,o,u,p,b,x){const U=22+r,ee=U+i,Se=function f_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:En);return n}(U,ee),He="function"==typeof x?x():x;return Se[1]={type:e,blueprint:Se,template:n,queries:null,viewQuery:p,declTNode:t,data:Se.slice().fill(null,U),bindingStartIndex:U,expandoStartIndex:ee,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 o?o():o,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:b,consts:He,incompleteFirstPass:!1}}function Cf(e,t,n,r){const i=If(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Of(e).push(r,i.length-1))}function wf(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?Tf(n,t,i,o):r.hasOwnProperty(i)&&Tf(n,t,r[i],o)}return n}function Tf(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Mo(e,t,n,r,i,o,u,p){const b=br(t,n);let U,x=t.inputs;!p&&null!=x&&(U=x[r])?(zc(e,n,U,r,i),Vi(t)&&Mf(n,t.index)):3&t.type&&(r=function m_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=u?u(i,t.value||"",r):i,o.setProperty(b,r,i))}function Mf(e,t){const n=kr(t,e);16&n[2]||(n[2]|=32)}function Bc(e,t,n,r){let i=!1;if(es()){const o=null===r?null:{"":-1},u=function D_(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const u=n[o];if(nf(t,u.selectors,!1))if(r||(r=[]),Rr(u))if(null!==u.findHostDirectiveDefs){const p=[];i=i||new Map,u.findHostDirectiveDefs(u,p,i),r.unshift(...p,u),Uc(e,t,p.length)}else r.unshift(u),Uc(e,t,0);else i=i||new Map,u.findHostDirectiveDefs?.(u,r,i),r.push(u)}return null===r?null:[r,i]}(e,n);let p,b;null===u?p=b=null:[p,b]=u,null!==p&&(i=!0,Sf(e,t,n,p,o,b)),o&&function C_(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new Ae(-301,!1);r.push(t[i],o)}}}(n,r,o)}return n.mergedAttrs=cr(n.mergedAttrs,n.attrs),i}function Sf(e,t,n,r,i,o){for(let x=0;x<r.length;x++)D(No(n,t),e,r[x].type);!function T_(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let x=0;x<r.length;x++){const U=r[x];U.providersResolver&&U.providersResolver(U)}let u=!1,p=!1,b=Va(e,t,r.length,null);for(let x=0;x<r.length;x++){const U=r[x];n.mergedAttrs=cr(n.mergedAttrs,U.hostAttrs),M_(e,n,t,b,U),w_(b,U,i),null!==U.contentQueries&&(n.flags|=4),(null!==U.hostBindings||null!==U.hostAttrs||0!==U.hostVars)&&(n.flags|=64);const ee=U.type.prototype;!u&&(ee.ngOnChanges||ee.ngOnInit||ee.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),u=!0),!p&&(ee.ngOnChanges||ee.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),p=!0),b++}!function g_(e,t,n){const i=t.directiveEnd,o=e.data,u=t.attrs,p=[];let b=null,x=null;for(let U=t.directiveStart;U<i;U++){const ee=o[U],Se=n?n.get(ee):null,ot=Se?Se.outputs:null;b=wf(ee.inputs,U,b,Se?Se.inputs:null),x=wf(ee.outputs,U,x,ot);const gt=null===b||null===u||tf(t)?null:A_(b,U,u);p.push(gt)}null!==b&&(b.hasOwnProperty("class")&&(t.flags|=8),b.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=p,t.inputs=b,t.outputs=x}(e,n,o)}function xf(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,u=function ns(){return en.lFrame.currentDirectiveIndex}();try{qi(o);for(let p=r;p<i;p++){const b=e.data[p],x=t[p];lo(p),(null!==b.hostBindings||0!==b.hostVars||null!==b.hostAttrs)&&E_(b,x)}}finally{qi(-1),lo(u)}}function E_(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Uc(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function w_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Rr(t)&&(n[""]=e)}}function M_(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=rr(i.type)),u=new Ze(o,Rr(i),ma);e.blueprint[r]=u,n[r]=u,function __(e,t,n,r,i){const o=i.hostBindings;if(o){let u=e.hostBindingOpCodes;null===u&&(u=e.hostBindingOpCodes=[]);const p=~t.index;(function v_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=p&&u.push(p),u.push(n,r,o)}}(e,t,r,Va(e,n,i.hostVars,En),i)}function fs(e,t,n,r,i,o){const u=br(e,t);!function Hc(e,t,n,r,i,o,u){if(null==o)e.removeAttribute(t,i,n);else{const p=null==u?Pe(o):u(o,r||"",i);e.setAttribute(t,i,p,n)}}(t[11],u,o,e.value,n,r,i)}function x_(e,t,n,r,i,o){const u=o[t];if(null!==u){const p=r.setInput;for(let b=0;b<u.length;){const x=u[b++],U=u[b++],ee=u[b++];null!==p?r.setInput(n,ee,x,U):n[U]=ee}}}function A_(e,t,n){let r=null,i=0;for(;i<n.length;){const o=n[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const u=e[o];for(let p=0;p<u.length;p+=2)if(u[p]===t){r.push(o,u[p+1],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function Af(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null]}function P_(e,t){const n=kr(t,e);if(yi(n)){const r=n[1];48&n[2]?gl(r,n,r.template,n[8]):n[5]>0&&jc(n)}}function jc(e){for(let r=ec(e);null!==r;r=tc(r))for(let i=10;i<r.length;i++){const o=r[i];if(yi(o))if(512&o[2]){const u=o[1];gl(u,o,u.template,o[8])}else o[5]>0&&jc(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=kr(n[r],e);yi(i)&&i[5]>0&&jc(i)}}function R_(e,t){const n=kr(t,e),r=n[1];(function F_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Rc(r,n,n[8])}function ml(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function $c(e){for(;e;){e[2]|=32;const t=ka(e);if(Mi(e)&&!t)return e;e=t}return null}function yl(e,t,n,r=!0){const i=t[10];i.begin&&i.begin();try{gl(e,t,e.template,n)}catch(u){throw r&&Rf(t,u),u}finally{i.end&&i.end()}}function Vc(e,t,n){Oi(0),t(e,n)}function If(e){return e[7]||(e[7]=[])}function Of(e){return e.cleanup||(e.cleanup=[])}function Pf(e,t,n){return(null===e||Rr(e))&&(n=function xo(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Rf(e,t){const n=e[9],r=n?n.get($a,null):null;r&&r.handleError(t)}function zc(e,t,n,r,i){for(let o=0;o<n.length;){const u=n[o++],p=n[o++],b=t[u],x=e.data[u];null!==x.setInput?x.setInput(b,i,r,p):b[p]=i}}function Is(e,t,n){const r=Zr(t,e);!function cd(e,t,n){e.setValue(t,n)}(e[11],r,n)}function _l(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let u=0;u<t.length;u++){const p=t[u];"number"==typeof p?o=p:1==o?i=Q(i,p):2==o&&(r=Q(r,p+": "+t[++u]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function vl(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(Rn(o)),Wn(o))for(let p=10;p<o.length;p++){const b=o[p],x=b[1].firstChild;null!==x&&vl(b[1],b,x,r)}const u=n.type;if(8&u)vl(e,t,n.child,r);else if(32&u){const p=ql(n,t);let b;for(;b=p();)r.push(b)}else if(16&u){const p=bd(t,n);if(Array.isArray(p))r.push(...p);else{const b=ka(t[16]);vl(b[1],b,p,r,!0)}}n=i?n.projectionNext:n.next}return r}class za{get rootNodes(){const t=this._lView,n=t[1];return vl(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Wn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ic(t,r),m(n,r))}this._attachedToViewContainer=!1}dd(this._lView[1],this._lView)}onDestroy(t){Cf(this._lView[1],this._lView,null,t)}markForCheck(){$c(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){yl(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ae(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function vm(e,t){La(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ae(902,!1);this._appRef=t}}class N_ extends za{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;yl(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Ff extends Ha{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Dn(t);return new Ga(n,this.ngModule)}}function Nf(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class L_{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=M(r);const i=this.injector.get(t,Tc,r);return i!==Tc||n===Tc?i:this.parentInjector.get(t,n,r)}}class Ga extends Kd{get inputs(){return Nf(this.componentDef.inputs)}get outputs(){return Nf(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Vy(e){return e.map($y).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof Qs?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const u=o?new L_(t,o):t,p=u.get(Zd,null);if(null===p)throw new Ae(407,!1);const b=u.get(Cy,null),x=p.createRenderer(null,this.componentDef),U=this.componentDef.selectors[0][0]||"div",ee=r?function h_(e,t,n){return e.selectRootElement(t,n===Kt.ShadowDom)}(x,r,this.componentDef.encapsulation):rc(x,U,function k_(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(U)),Se=this.componentDef.onPush?288:272,He=Lc(0,null,null,1,0,null,null,null,null,null),ot=pl(null,He,null,Se,null,null,p,x,b,u,null);let gt,It;ar(ot);try{const Gt=this.componentDef;let fn,ht=null;Gt.findHostDirectiveDefs?(fn=[],ht=new Map,Gt.findHostDirectiveDefs(Gt,fn,ht),fn.push(Gt)):fn=[Gt];const vn=function U_(e,t){const n=e[1];return e[22]=t,ya(n,22,2,"#host",null)}(ot,ee),Ar=function H_(e,t,n,r,i,o,u,p){const b=i[1];!function j_(e,t,n,r){for(const i of e)t.mergedAttrs=cr(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(_l(t,t.mergedAttrs,!0),null!==n&&Cd(r,n,t))}(r,e,t,u);const x=o.createRenderer(t,n),U=pl(i,Df(n),null,n.onPush?32:16,i[e.index],e,o,x,p||null,null,null);return b.firstCreatePass&&Uc(b,e,r.length-1),ml(i,U),i[e.index]=U}(vn,ee,Gt,fn,ot,p,x);It=Yi(He,22),ee&&function V_(e,t,n,r){if(r)pi(e,n,["ng-version",Xd.full]);else{const{attrs:i,classes:o}=function zy(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!Yo(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&pi(e,n,i),o&&o.length>0&&Dd(e,n,o.join(" "))}}(x,Gt,ee,r),void 0!==n&&function z_(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o?Array.from(o):null)}}(It,this.ngContentSelectors,n),gt=function $_(e,t,n,r,i,o){const u=Er(),p=i[1],b=br(u,i);Sf(p,i,u,n,null,r);for(let U=0;U<n.length;U++)Li(ke(i,p,u.directiveStart+U,u),i);xf(p,i,u),b&&Li(b,i);const x=ke(i,p,u.directiveStart+u.componentOffset,u);if(e[8]=i[8]=x,null!==o)for(const U of o)U(x,t);return Fc(p,u,e),x}(Ar,Gt,fn,ht,ot,[G_]),Rc(He,ot,null)}finally{bs()}return new B_(this.componentType,gt,ha(It,ot),ot,It)}}class B_ extends my{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new N_(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const o=this._rootLView;zc(o[1],o,i,t,n),Mf(o,this._tNode.index)}}get injector(){return new un(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function G_(){const e=Er();Eo(et()[1],e)}function Gc(e){let t=function kf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Rr(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ae(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const u=e;u.inputs=Wc(e.inputs),u.declaredInputs=Wc(e.declaredInputs),u.outputs=Wc(e.outputs);const p=i.hostBindings;p&&Z_(e,p);const b=i.viewQuery,x=i.contentQueries;if(b&&K_(e,b),x&&Y_(e,x),ie(e.inputs,i.inputs),ie(e.declaredInputs,i.declaredInputs),ie(e.outputs,i.outputs),Rr(i)&&i.data.animation){const U=e.data;U.animation=(U.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let u=0;u<o.length;u++){const p=o[u];p&&p.ngInherit&&p(e),p===Gc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function W_(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=cr(i.hostAttrs,n=cr(n,i.hostAttrs))}}(r)}function Wc(e){return e===Ee?{}:e===I?[]:e}function K_(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Y_(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function Z_(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let bl=null;function Js(){if(!bl){const e=Ut.Symbol;if(e&&e.iterator)bl=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&&(bl=r)}}}return bl}function El(e){return!!Kc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Js()in e)}function Kc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function hs(e,t,n){return e[t]=n}function Wa(e,t){return e[t]}function Bi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function qs(e,t,n,r){const i=Bi(e,t,n);return Bi(e,t+1,r)||i}function ko(e,t,n,r,i,o){const u=qs(e,t,n,r);return qs(e,t+2,i,o)||u}function Yc(e,t,n,r){const i=et();return Bi(i,Vr(),t)&&(mn(),fs(Jn(),i,e,t,n,r)),Yc}function va(e,t,n,r){return Bi(e,Vr(),n)?t+Pe(n)+r:En}function ba(e,t,n,r,i,o){const p=qs(e,function zn(){return en.lFrame.bindingIndex}(),n,i);return zr(2),p?t+Pe(n)+r+Pe(i)+o:En}function Zf(e,t,n,r,i,o,u,p){const b=et(),x=mn(),U=e+22,ee=x.firstCreatePass?function ov(e,t,n,r,i,o,u,p,b){const x=t.consts,U=ya(t,e,4,u||null,ci(x,p));Bc(t,n,U,ci(x,b)),Eo(t,U);const ee=U.tViews=Lc(2,U,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,x);return null!==t.queries&&(t.queries.template(t,U),ee.queries=t.queries.embeddedTView(U)),U}(U,x,b,t,n,r,i,o,u):x.data[U];$r(ee,!1);const Se=b[11].createComment("");ol(x,b,Se,ee),Li(Se,b),ml(b,b[U]=Af(Se,b,Se,ee)),zi(ee)&&Nc(x,b,ee),null!=u&&kc(b,ee,p)}function Qf(e){return Qr(function Vo(){return en.lFrame.contextLView}(),22+e)}function Zc(e,t,n){const r=et();return Bi(r,Vr(),t)&&Mo(mn(),Jn(),r,e,t,r[11],n,!1),Zc}function Qc(e,t,n,r,i){const u=i?"class":"style";zc(e,n,t.inputs[u],u,r)}function Cl(e,t,n,r){const i=et(),o=mn(),u=22+e,p=i[11],b=i[u]=rc(p,t,function ws(){return en.lFrame.currentNamespace}()),x=o.firstCreatePass?function av(e,t,n,r,i,o,u){const p=t.consts,x=ya(t,e,2,i,ci(p,o));return Bc(t,n,x,ci(p,u)),null!==x.attrs&&_l(x,x.attrs,!1),null!==x.mergedAttrs&&_l(x,x.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,x),x}(u,o,i,0,t,n,r):o.data[u];return $r(x,!0),Cd(p,b,x),32!=(32&x.flags)&&ol(o,i,b,x),0===function Io(){return en.lFrame.elementDepthCount}()&&Li(b,i),function Ps(){en.lFrame.elementDepthCount++}(),zi(x)&&(Nc(o,i,x),Fc(o,x,i)),null!==r&&kc(i,x),Cl}function wl(){let e=Er();Po()?$o():(e=e.parent,$r(e,!1));const t=e;!function Ho(){en.lFrame.elementDepthCount--}();const n=mn();return n.firstCreatePass&&(Eo(n,e),ei(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function pn(e){return 0!=(8&e.flags)}(t)&&Qc(n,t,et(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function lr(e){return 0!=(16&e.flags)}(t)&&Qc(n,t,et(),t.stylesWithoutHost,!1),wl}function Xc(e,t,n,r){return Cl(e,t,n,r),wl(),Xc}function Tl(e,t,n){const r=et(),i=mn(),o=e+22,u=i.firstCreatePass?function lv(e,t,n,r,i){const o=t.consts,u=ci(o,r),p=ya(t,e,8,"ng-container",u);return null!==u&&_l(p,u,!0),Bc(t,n,p,ci(o,i)),null!==t.queries&&t.queries.elementStart(t,p),p}(o,i,r,t,n):i.data[o];$r(u,!0);const p=r[o]=r[11].createComment("");return ol(i,r,p,u),Li(p,r),zi(u)&&(Nc(i,r,u),Fc(i,u,r)),null!=n&&kc(r,u),Tl}function Ml(){let e=Er();const t=mn();return Po()?$o():(e=e.parent,$r(e,!1)),t.firstCreatePass&&(Eo(t,e),ei(e)&&t.queries.elementEnd(e)),Ml}function Jc(e,t,n){return Tl(e,t,n),Ml(),Jc}function Xf(){return et()}function qc(e){return!!e&&"function"==typeof e.then}function Jf(e){return!!e&&"function"==typeof e.subscribe}const qf=Jf;function eu(e,t,n,r){const i=et(),o=mn(),u=Er();return eh(o,i,i[11],u,e,t,r),eu}function tu(e,t){const n=Er(),r=et(),i=mn();return eh(i,r,Pf(Ii(i.data),n,r),n,e,t),tu}function eh(e,t,n,r,i,o,u){const p=zi(r),x=e.firstCreatePass&&Of(e),U=t[8],ee=If(t);let Se=!0;if(3&r.type||u){const gt=br(r,t),It=u?u(gt):gt,Gt=ee.length,fn=u?vn=>u(Rn(vn[r.index])):r.index;let ht=null;if(!u&&p&&(ht=function cv(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const u=i[o];if(u===n&&i[o+1]===r){const p=t[7],b=i[o+2];return p.length>b?p[b]:null}"string"==typeof u&&(o+=2)}return null}(e,t,i,r.index)),null!==ht)(ht.__ngLastListenerFn__||ht).__ngNextListenerFn__=o,ht.__ngLastListenerFn__=o,Se=!1;else{o=nh(r,t,U,o,!1);const vn=n.listen(It,i,o);ee.push(o,vn),x&&x.push(i,fn,Gt,Gt+1)}}else o=nh(r,t,U,o,!1);const He=r.outputs;let ot;if(Se&&null!==He&&(ot=He[i])){const gt=ot.length;if(gt)for(let It=0;It<gt;It+=2){const Ar=t[ot[It]][ot[It+1]].subscribe(o),Jr=ee.length;ee.push(o,Ar),x&&x.push(i,r.index,Jr,-(Jr+1))}}}function th(e,t,n,r){try{return!1!==n(r)}catch(i){return Rf(e,i),!1}}function nh(e,t,n,r,i){return function o(u){if(u===Function)return r;$c(e.componentOffset>-1?kr(e.index,t):t);let b=th(t,0,r,u),x=o.__ngNextListenerFn__;for(;x;)b=th(t,0,x,u)&&b,x=x.__ngNextListenerFn__;return i&&!1===b&&(u.preventDefault(),u.returnValue=!1),b}}function rh(e=1){return function Es(e){return(en.lFrame.contextLView=function Ji(e,t){for(;e>0;)t=t[15],e--;return t}(e,en.lFrame.contextLView))[8]}(e)}function uv(e,t){let n=null;const r=function By(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?nf(e,o,!0):jy(r,o))return i}else n=i}return n}function ih(e){const t=et()[16][6];if(!t.projection){const r=t.projection=w(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){const u=e?uv(o,e):0;null!==u&&(i[u]?i[u].projectionNext=o:r[u]=o,i[u]=o),o=o.next}}}function oh(e,t=0,n){const r=et(),i=mn(),o=ya(i,22+e,16,null,n||null);null===o.projection&&(o.projection=t),$o(),32!=(32&o.flags)&&function Sm(e,t,n){Ed(t[11],0,t,n,fd(e,n,t),md(n.parent||t[6],n,t))}(i,r,o)}function nu(e,t,n){return ru(e,"",t,"",n),nu}function ru(e,t,n,r,i){const o=et(),u=va(o,t,n,r);return u!==En&&Mo(mn(),Jn(),o,e,u,o[11],i,!1),ru}function iu(e,t,n,r,i,o,u){const p=et(),b=ba(p,t,n,r,i,o);return b!==En&&Mo(mn(),Jn(),p,e,b,p[11],u,!1),iu}function Sl(e,t){return e<<17|t<<2}function $s(e){return e>>17&32767}function ou(e){return 2|e}function ea(e){return(131068&e)>>2}function su(e,t){return-131069&e|t<<2}function au(e){return 1|e}function hh(e,t,n,r,i){const o=e[n+1],u=null===t;let p=r?$s(o):ea(o),b=!1;for(;0!==p&&(!1===b||u);){const U=e[p+1];mv(e[p],t)&&(b=!0,e[p+1]=r?au(U):ou(U)),p=r?$s(U):ea(U)}b&&(e[n+1]=r?ou(o):au(o))}function mv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Cn(e,t)>=0}const di={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ph(e){return e.substring(di.key,di.keyEnd)}function gh(e,t){const n=di.textEnd;return n===t?-1:(t=di.keyEnd=function bv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,di.key=t,n),Sa(e,t,n))}function Sa(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function lu(e,t,n){return Zo(e,t,n,!1),lu}function cu(e,t){return Zo(e,t,null,!0),cu}function bh(e){Qo(Ct,gs,e,!0)}function gs(e,t){for(let n=function _v(e){return function yh(e){di.key=0,di.keyEnd=0,di.value=0,di.valueEnd=0,di.textEnd=e.length}(e),gh(e,Sa(e,0,di.textEnd))}(t);n>=0;n=gh(t,n))Ct(e,ph(t),!0)}function Zo(e,t,n,r){const i=et(),o=mn(),u=zr(2);o.firstUpdatePass&&Dh(o,e,u,r),t!==En&&Bi(i,u,t)&&wh(o,o.data[Lr()],i,i[11],e,i[u+1]=function Iv(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=q(Ss(e)))),e}(t,n),r,u)}function Qo(e,t,n,r){const i=mn(),o=zr(2);i.firstUpdatePass&&Dh(i,null,o,r);const u=et();if(n!==En&&Bi(u,o,n)){const p=i.data[Lr()];if(Mh(p,r)&&!Eh(i,o)){let b=r?p.classesWithoutHost:p.stylesWithoutHost;null!==b&&(n=Q(b,n||"")),Qc(i,p,u,n,r)}else!function Av(e,t,n,r,i,o,u,p){i===En&&(i=I);let b=0,x=0,U=0<i.length?i[0]:null,ee=0<o.length?o[0]:null;for(;null!==U||null!==ee;){const Se=b<i.length?i[b+1]:void 0,He=x<o.length?o[x+1]:void 0;let gt,ot=null;U===ee?(b+=2,x+=2,Se!==He&&(ot=ee,gt=He)):null===ee||null!==U&&U<ee?(b+=2,ot=U):(x+=2,ot=ee,gt=He),null!==ot&&wh(e,t,n,r,ot,gt,u,p),U=b<i.length?i[b]:null,ee=x<o.length?o[x]:null}}(i,p,u,u[11],u[o+1],u[o+1]=function xv(e,t,n){if(null==n||""===n)return I;const r=[],i=Ss(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function Eh(e,t){return t>=e.expandoStartIndex}function Dh(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Lr()],u=Eh(e,n);Mh(o,r)&&null===t&&!u&&(t=!1),t=function wv(e,t,n,r){const i=Ii(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ka(n=uu(null,e,t,n,r),t.attrs,r),o=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==i)if(n=uu(i,e,t,n,r),null===o){let b=function Tv(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ea(r))return e[$s(r)]}(e,t,r);void 0!==b&&Array.isArray(b)&&(b=uu(null,e,t,b[1],r),b=Ka(b,t.attrs,r),function Mv(e,t,n,r){e[$s(n?t.classBindings:t.styleBindings)]=r}(e,t,r,b))}else o=function Sv(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Ka(r,e[o].hostAttrs,n);return Ka(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function pv(e,t,n,r,i,o){let u=o?t.classBindings:t.styleBindings,p=$s(u),b=ea(u);e[r]=n;let U,x=!1;if(Array.isArray(n)?(U=n[1],(null===U||Cn(n,U)>0)&&(x=!0)):U=n,i)if(0!==b){const Se=$s(e[p+1]);e[r+1]=Sl(Se,p),0!==Se&&(e[Se+1]=su(e[Se+1],r)),e[p+1]=function fv(e,t){return 131071&e|t<<17}(e[p+1],r)}else e[r+1]=Sl(p,0),0!==p&&(e[p+1]=su(e[p+1],r)),p=r;else e[r+1]=Sl(b,0),0===p?p=r:e[b+1]=su(e[b+1],r),b=r;x&&(e[r+1]=ou(e[r+1])),hh(e,U,r,!0),hh(e,U,r,!1),function gv(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Cn(o,t)>=0&&(n[r+1]=au(n[r+1]))}(t,U,e,r,o),u=Sl(p,b),o?t.classBindings=u:t.styleBindings=u}(i,o,t,n,u,r)}}function uu(e,t,n,r,i){let o=null;const u=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p<u&&(o=t[p],r=Ka(r,o.hostAttrs,i),o!==e);)p++;return null!==e&&(n.directiveStylingLast=p),r}function Ka(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const u=t[o];"number"==typeof u?i=u:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ct(e,u,!!n||t[++o]))}return void 0===e?null:e}function wh(e,t,n,r,i,o,u,p){if(!(3&t.type))return;const b=e.data,x=b[p+1],U=function hv(e){return 1==(1&e)}(x)?Th(b,t,n,i,ea(x),u):void 0;xl(U)||(xl(o)||function dv(e){return 2==(2&e)}(x)&&(o=Th(b,null,n,i,p,u)),function Am(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:ds.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=ds.Important),e.setStyle(n,r,i,o))}}(r,u,Zr(Lr(),n),i,o))}function Th(e,t,n,r,i,o){const u=null===t;let p;for(;i>0;){const b=e[i],x=Array.isArray(b),U=x?b[1]:b,ee=null===U;let Se=n[i+1];Se===En&&(Se=ee?I:void 0);let He=ee?Lt(Se,r):U===r?Se:void 0;if(x&&!xl(He)&&(He=Lt(b,r)),xl(He)&&(p=He,u))return p;const ot=e[i+1];i=u?$s(ot):ea(ot)}if(null!==t){let b=o?t.residualClasses:t.residualStyles;null!=b&&(p=Lt(b,r))}return p}function xl(e){return void 0!==e}function Mh(e,t){return 0!=(e.flags&(t?8:16))}function Sh(e,t=""){const n=et(),r=mn(),i=e+22,o=r.firstCreatePass?ya(r,i,1,t,null):r.data[i],u=n[i]=function nc(e,t){return e.createText(t)}(n[11],t);ol(r,n,u,o),$r(o,!1)}function du(e){return Al("",e,""),du}function Al(e,t,n){const r=et(),i=va(r,e,t,n);return i!==En&&Is(r,Lr(),i),Al}function fu(e,t,n,r,i){const o=et(),u=ba(o,e,t,n,r,i);return u!==En&&Is(o,Lr(),u),fu}function Nh(e,t,n){Qo(Ct,gs,va(et(),e,t,n),!0)}function hu(e,t,n){const r=et();return Bi(r,Vr(),t)&&Mo(mn(),Jn(),r,e,t,r[11],n,!0),hu}function pu(e,t,n){const r=et();if(Bi(r,Vr(),t)){const o=mn(),u=Jn();Mo(o,u,r,e,t,Pf(Ii(o.data),u,r),n,!0)}return pu}const ta=void 0;var Zv=["en",[["a","p"],["AM","PM"],ta],[["AM","PM"],ta,ta],[["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"]],ta,[["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"]],ta,[["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}",ta,"{1} 'at' {0}",ta],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Yv(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let xa={};function gu(e){const t=function Qv(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Wh(t);if(n)return n;const r=t.split("-")[0];if(n=Wh(r),n)return n;if("en"===r)return Zv;throw new Ae(701,!1)}function Gh(e){return gu(e)[cn.PluralCase]}function Wh(e){return e in xa||(xa[e]=Ut.ng&&Ut.ng.common&&Ut.ng.common.locales&&Ut.ng.common.locales[e]),xa[e]}var cn=(()=>((cn=cn||{})[cn.LocaleId=0]="LocaleId",cn[cn.DayPeriodsFormat=1]="DayPeriodsFormat",cn[cn.DayPeriodsStandalone=2]="DayPeriodsStandalone",cn[cn.DaysFormat=3]="DaysFormat",cn[cn.DaysStandalone=4]="DaysStandalone",cn[cn.MonthsFormat=5]="MonthsFormat",cn[cn.MonthsStandalone=6]="MonthsStandalone",cn[cn.Eras=7]="Eras",cn[cn.FirstDayOfWeek=8]="FirstDayOfWeek",cn[cn.WeekendRange=9]="WeekendRange",cn[cn.DateFormat=10]="DateFormat",cn[cn.TimeFormat=11]="TimeFormat",cn[cn.DateTimeFormat=12]="DateTimeFormat",cn[cn.NumberSymbols=13]="NumberSymbols",cn[cn.NumberFormats=14]="NumberFormats",cn[cn.CurrencyCode=15]="CurrencyCode",cn[cn.CurrencySymbol=16]="CurrencySymbol",cn[cn.CurrencyName=17]="CurrencyName",cn[cn.Currencies=18]="Currencies",cn[cn.Directionality=19]="Directionality",cn[cn.PluralCase=20]="PluralCase",cn[cn.ExtraData=21]="ExtraData",cn))();const Aa="en-US";let Kh=Aa;function _u(e,t,n,r,i){if(e=G(e),Array.isArray(e))for(let o=0;o<e.length;o++)_u(e[o],t,n,r,i);else{const o=mn(),u=et();let p=Zs(e)?e:G(e.provide),b=Wd(e);const x=Er(),U=1048575&x.providerIndexes,ee=x.directiveStart,Se=x.providerIndexes>>20;if(Zs(e)||!e.multi){const He=new Ze(b,i,ma),ot=bu(p,t,i?U:U+Se,ee);-1===ot?(D(No(x,u),o,p),vu(o,e,t.length),t.push(p),x.directiveStart++,x.directiveEnd++,i&&(x.providerIndexes+=1048576),n.push(He),u.push(He)):(n[ot]=He,u[ot]=He)}else{const He=bu(p,t,U+Se,ee),ot=bu(p,t,U,U+Se),It=ot>=0&&n[ot];if(i&&!It||!i&&!(He>=0&&n[He])){D(No(x,u),o,p);const Gt=function Kb(e,t,n,r,i){const o=new Ze(e,n,ma);return o.multi=[],o.index=t,o.componentProviders=0,_p(o,i,r&&!n),o}(i?Wb:Gb,n.length,i,r,b);!i&&It&&(n[ot].providerFactory=Gt),vu(o,e,t.length,0),t.push(p),x.directiveStart++,x.directiveEnd++,i&&(x.providerIndexes+=1048576),n.push(Gt),u.push(Gt)}else vu(o,e,He>-1?He:ot,_p(n[i?ot:He],b,!i&&r));!i&&r&&It&&n[ot].componentProviders++}}}function vu(e,t,n,r){const i=Zs(t),o=function cy(e){return!!e.useClass}(t);if(i||o){const b=(o?G(t.useClass):t).prototype.ngOnDestroy;if(b){const x=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const U=x.indexOf(n);-1===U?x.push(n,[r,b]):x[U+1].push(r,b)}else x.push(n,b)}}}function _p(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bu(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function Gb(e,t,n,r){return Eu(this.multi,[])}function Wb(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const u=this.providerFactory.componentProviders,p=ke(n,n[1],this.providerFactory.index,r);o=p.slice(0,u),Eu(i,o);for(let b=u;b<p.length;b++)o.push(p[b])}else o=[],Eu(i,o);return o}function Eu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function vp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function zb(e,t,n){const r=mn();if(r.firstCreatePass){const i=Rr(e);_u(n,r.data,r.blueprint,i,!0),_u(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Ia{}class bp{}function Yb(e,t){return new Ep(e,t??null)}class Ep extends Ia{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ff(this);const r=tr(t);this._bootstrapComponents=As(r.bootstrap),this._r3Injector=ff(t,n,[{provide:Ia,useValue:this},{provide:Ha,useValue:this.componentFactoryResolver}],q(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Du extends bp{constructor(t){super(),this.moduleType=t}create(t){return new Ep(this.moduleType,t)}}class Zb extends Ia{constructor(t,n,r){super(),this.componentFactoryResolver=new Ff(this),this.instance=null;const i=new Gd([...t,{provide:Ia,useValue:this},{provide:Ha,useValue:this.componentFactoryResolver}],n||fl(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Cu(e,t,n=null){return new Zb(e,t,n).injector}let Qb=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=jd(0,n.type),i=r.length>0?Cu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=lt({token:e,providedIn:"environment",factory:()=>new e(ft(Qs))}),e})();function Dp(e){e.getStandaloneInjector=t=>t.get(Qb).getOrCreateStandaloneInjector(e)}function Ap(e,t,n){const r=xr()+e,i=et();return i[r]===En?hs(i,r,n?t.call(n):t()):Wa(i,r)}function Ip(e,t,n,r){return Np(et(),xr(),e,t,n,r)}function Op(e,t,n,r,i){return kp(et(),xr(),e,t,n,r,i)}function Pp(e,t,n,r,i,o){return function Lp(e,t,n,r,i,o,u,p){const b=t+n;return function Dl(e,t,n,r,i){const o=qs(e,t,n,r);return Bi(e,t+2,i)||o}(e,b,i,o,u)?hs(e,b+3,p?r.call(p,i,o,u):r(i,o,u)):qa(e,b+3)}(et(),xr(),e,t,n,r,i,o)}function Rp(e,t,n,r,i,o,u){return function Bp(e,t,n,r,i,o,u,p,b){const x=t+n;return ko(e,x,i,o,u,p)?hs(e,x+4,b?r.call(b,i,o,u,p):r(i,o,u,p)):qa(e,x+4)}(et(),xr(),e,t,n,r,i,o,u)}function Fp(e,t,n,r,i,o,u,p){const b=xr()+e,x=et(),U=ko(x,b,n,r,i,o);return Bi(x,b+4,u)||U?hs(x,b+5,p?t.call(p,n,r,i,o,u):t(n,r,i,o,u)):Wa(x,b+5)}function qa(e,t){const n=e[t];return n===En?void 0:n}function Np(e,t,n,r,i,o){const u=t+n;return Bi(e,u,i)?hs(e,u+1,o?r.call(o,i):r(i)):qa(e,u+1)}function kp(e,t,n,r,i,o,u){const p=t+n;return qs(e,p,i,o)?hs(e,p+2,u?r.call(u,i,o):r(i,o)):qa(e,p+2)}function Hp(e,t){const n=mn();let r;const i=e+22;n.firstCreatePass?(r=function u0(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 o=r.factory||(r.factory=rr(r.type)),u=bn(ma);try{const p=ss(!1),b=o();return ss(p),function sv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,et(),i,b),b}finally{bn(u)}}function jp(e,t,n){const r=e+22,i=et(),o=Qr(i,r);return el(i,r)?Np(i,xr(),t,o.transform,n,o):o.transform(n)}function $p(e,t,n,r){const i=e+22,o=et(),u=Qr(o,i);return el(o,i)?kp(o,xr(),t,u.transform,n,r,u):u.transform(n,r)}function el(e,t){return e[1].data[t].pure}function Tu(e){return t=>{setTimeout(e,void 0,t)}}const ms=class p0 extends s.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),u=r;if(t&&"object"==typeof t){const b=t;i=b.next?.bind(b),o=b.error?.bind(b),u=b.complete?.bind(b)}this.__isAsync&&(o=Tu(o),i&&(i=Tu(i)),u&&(u=Tu(u)));const p=super.subscribe({next:i,error:o,complete:u});return t instanceof f.w0&&t.add(p),p}};function g0(){return this._results[Js()]()}class Fl{get changes(){return this._changes||(this._changes=new ms)}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=Js(),r=Fl.prototype;r[n]||(r[n]=g0)}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=function d(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ms(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==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()}}let tl=(()=>{class e{}return e.__NG_ELEMENT_ID__=_0,e})();const m0=tl,y0=class extends m0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=pl(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(i[19]=u.createEmbeddedView(r)),Rc(r,i,t),new za(i)}};function _0(){return Nl(Er(),et())}function Nl(e,t){return 4&e.type?new y0(t,e,ha(e,t)):null}let kl=(()=>{class e{}return e.__NG_ELEMENT_ID__=v0,e})();function v0(){return Gp(Er(),et())}const b0=kl,Vp=class extends b0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ha(this._hostTNode,this._hostLView)}get injector(){return new un(this._hostTNode,this._hostLView)}get parentInjector(){const t=ur(this._hostTNode,this._hostLView);if(Do(t)){const n=os(t,this._hostLView),r=uo(t);return new un(n[1].data[r+8],n)}return new un(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=zp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedView(n||{},o);return this.insert(u,i),u}createComponent(t,n,r,i,o){const u=t&&!function Zn(e){return"function"==typeof e}(t);let p;if(u)p=n;else{const ee=n||{};p=ee.index,r=ee.injector,i=ee.projectableNodes,o=ee.environmentInjector||ee.ngModuleRef}const b=u?t:new Ga(Dn(t)),x=r||this.parentInjector;if(!o&&null==b.ngModule){const Se=(u?x:this.parentInjector).get(Qs,null);Se&&(o=Se)}const U=b.create(x,i,void 0,o);return this.insert(U.hostView,p),U}insert(t,n){const r=t._lView,i=r[1];if(function Ao(e){return Wn(e[3])}(r)){const U=this.indexOf(t);if(-1!==U)this.detach(U);else{const ee=r[3],Se=new Vp(ee,ee[6],ee[3]);Se.detach(Se.indexOf(t))}}const o=this._adjustIndex(n),u=this._lContainer;!function Em(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],c(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const u=t[17];null!==u&&n!==u&&function Dm(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(u,t);const p=t[19];null!==p&&p.insertView(e),t[2]|=64}(i,r,u,o);const p=ac(o,u),b=r[11],x=il(b,u[7]);return null!==x&&function _m(e,t,n,r,i,o){r[0]=i,r[6]=t,La(e,r,n,1,i,o)}(i,u[6],b,r,x,p),t.attachToViewContainerRef(),c(Mu(u),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=zp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ic(this._lContainer,n);r&&(m(Mu(this._lContainer),n),dd(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=ic(this._lContainer,n);return r&&null!=m(Mu(this._lContainer),n)?new za(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function zp(e){return e[8]}function Mu(e){return e[8]||(e[8]=[])}function Gp(e,t){let n;const r=t[e.index];if(Wn(r))n=r;else{let i;if(8&e.type)i=Rn(r);else{const o=t[11];i=o.createComment("");const u=br(e,t);Ws(o,il(o,u),i,function Mm(e,t){return e.nextSibling(t)}(o,u),!1)}t[e.index]=n=Af(r,t,i,e),ml(t,n)}return new Vp(n,e,t)}class Su{constructor(t){this.queryList=t,this.matches=null}clone(){return new Su(this.queryList)}setDirty(){this.queryList.setDirty()}}class xu{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 o=0;o<r;o++){const u=n.getByIndex(o);i.push(this.queries[u.indexInDeclarationView].clone())}return new xu(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!==eg(t,n).matches&&this.queries[n].setDirty()}}class Wp{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Au{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,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new Au(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 Iu{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 Iu(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 o=r[i];this.matchTNodeWithReadOption(t,n,E0(n,o)),this.matchTNodeWithReadOption(t,n,de(n,t,o,!1,!1))}else r===tl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,de(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===ja||i===kl||i===tl&&4&n.type)this.addMatch(n.index,-2);else{const o=de(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function E0(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 C0(e,t,n,r){return-1===n?function D0(e,t){return 11&e.type?ha(e,t):4&e.type?Nl(e,t):null}(t,e):-2===n?function w0(e,t,n){return n===ja?ha(t,e):n===tl?Nl(t,e):n===kl?Gp(t,e):void 0}(e,t,r):ke(e,e[1],n,t)}function Kp(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const o=e.data,u=n.matches,p=[];for(let b=0;b<u.length;b+=2){const x=u[b];p.push(x<0?null:C0(t,o[x],u[b+1],n.metadata.read))}i.matches=p}return i.matches}function Ou(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const u=Kp(e,t,i,n);for(let p=0;p<o.length;p+=2){const b=o[p];if(b>0)r.push(u[p/2]);else{const x=o[p+1],U=t[-b];for(let ee=10;ee<U.length;ee++){const Se=U[ee];Se[17]===Se[3]&&Ou(Se[1],Se,x,r)}if(null!==U[9]){const ee=U[9];for(let Se=0;Se<ee.length;Se++){const He=ee[Se];Ou(He[1],He,x,r)}}}}}return r}function Yp(e){const t=et(),n=mn(),r=zo();Oi(r+1);const i=eg(n,r);if(e.dirty&&function Uo(e){return 4==(4&e[2])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?Ou(n,t,r,[]):Kp(n,t,i,r);e.reset(o,by),e.notifyOnChanges()}return!0}return!1}function Zp(e,t,n){const r=mn();r.firstCreatePass&&(qp(r,new Wp(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Jp(r,et(),t)}function Qp(e,t,n,r){const i=mn();if(i.firstCreatePass){const o=Er();qp(i,new Wp(t,n,r),o.index),function M0(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)}Jp(i,et(),n)}function Xp(){return function T0(e,t){return e[19].queries[t].queryList}(et(),zo())}function Jp(e,t,n){const r=new Fl(4==(4&n));Cf(e,t,r,r.destroy),null===t[19]&&(t[19]=new xu),t[19].queries.push(new Su(r))}function qp(e,t,n){null===e.queries&&(e.queries=new Au),e.queries.track(new Iu(t,n))}function eg(e,t){return e.queries.getByIndex(t)}function tg(e,t){return Nl(e,t)}function Bl(...e){}const bg=new Yn("Application Initializer");let Ul=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Bl,this.reject=Bl,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 o=this.appInits[i]();if(qc(o))n.push(o);else if(qf(o)){const u=new Promise((p,b)=>{o.subscribe({complete:p,error:b})});n.push(u)}}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)(ft(bg,8))},e.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Eg=new Yn("AppId",{providedIn:"root",factory:function Dg(){return`${ku()}${ku()}${ku()}`}});function ku(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Cg=new Yn("Platform Initializer"),W0=new Yn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wg=new Yn("appBootstrapListener"),K0=new Yn("AnimationModuleType");let Y0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Hl=new Yn("LocaleId",{providedIn:"root",factory:()=>N(Hl,Ft.Optional|Ft.SkipSelf)||function Z0(){return typeof $localize<"u"&&$localize.locale||Aa}()}),Q0=new Yn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class X0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let J0=(()=>{class e{compileModuleSync(n){return new Du(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=As(tr(n).declarations).reduce((u,p)=>{const b=Dn(p);return b&&u.push(new Ga(b)),u},[]);return new X0(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const tE=(()=>Promise.resolve(0))();function Lu(e){typeof Zone>"u"?tE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Lo{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ms(!1),this.onMicrotaskEmpty=new ms(!1),this.onStable=new ms(!1),this.onError=new ms(!1),typeof Zone>"u")throw new Ae(908,!1);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 nE(){let e=Ut.requestAnimationFrame,t=Ut.cancelAnimationFrame;if(typeof Zone<"u"&&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 oE(e){const t=()=>{!function iE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ut,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Uu(e),e.isCheckStableRunning=!0,Bu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Uu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,u,p)=>{try{return Sg(e),n.invokeTask(i,o,u,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),xg(e)}},onInvoke:(n,r,i,o,u,p,b)=>{try{return Sg(e),n.invoke(i,o,u,p,b)}finally{e.shouldCoalesceRunChangeDetection&&t(),xg(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Uu(e),Bu(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Lo.isInAngularZone())throw new Ae(909,!1)}static assertNotInAngularZone(){if(Lo.isInAngularZone())throw new Ae(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,u=o.scheduleEventTask("NgZoneEvent: "+i,t,rE,Bl,Bl);try{return o.runTask(u,n,r)}finally{o.cancelTask(u)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const rE={};function Bu(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 Uu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Sg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xg(e){e._nesting--,Bu(e)}class sE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ms,this.onMicrotaskEmpty=new ms,this.onStable=new ms,this.onError=new ms}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)}}const Ag=new Yn(""),Ig=new Yn("");let Hu,aE=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Hu||(function lE(e){Hu=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{Lo.assertNotInAngularZone(),Lu(()=>{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())Lu(()=>{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 o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,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}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(ft(Lo),ft(Og),ft(Ig))},e.\u0275prov=lt({token:e,factory:e.\u0275fac}),e})(),Og=(()=>{class e{constructor(){this._applications=new Map}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 Hu?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Vs=null;const Pg=new Yn("AllowMultipleToken"),ju=new Yn("PlatformDestroyListeners");class dE{constructor(t,n){this.name=t,this.token=n}}function Fg(e,t,n=[]){const r=`Platform: ${t}`,i=new Yn(r);return(o=[])=>{let u=$u();if(!u||u.injector.get(Pg,!1)){const p=[...n,...o,{provide:i,useValue:!0}];e?e(p):function fE(e){if(Vs&&!Vs.get(Pg,!1))throw new Ae(400,!1);Vs=e;const t=e.get(kg);(function Rg(e){const t=e.get(Cg,null);t&&t.forEach(n=>n())})(e)}(function Ng(e=[],t){return Xs.create({name:t,providers:[{provide:Ec,useValue:"platform"},{provide:ju,useValue:new Set([()=>Vs=null])},...e]})}(p,r))}return function pE(e){const t=$u();if(!t)throw new Ae(401,!1);return t}()}}function $u(){return Vs?.get(kg)??null}let kg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Bg(e,t){let n;return n="noop"===e?new sE:("zone.js"===e?void 0:e)||new Lo(t),n}(r?.ngZone,function Lg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:Lo,useValue:i}];return i.run(()=>{const u=Xs.create({providers:o,parent:this.injector,name:n.moduleType.name}),p=n.create(u),b=p.injector.get($a,null);if(!b)throw new Ae(402,!1);return i.runOutsideAngular(()=>{const x=i.onError.subscribe({next:U=>{b.handleError(U)}});p.onDestroy(()=>{$l(this._modules,p),x.unsubscribe()})}),function Ug(e,t,n){try{const r=n();return qc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(b,i,()=>{const x=p.injector.get(Ul);return x.runInitializers(),x.donePromise.then(()=>(function Yh(e){Ot(e,"Expected localeId to be defined"),"string"==typeof e&&(Kh=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(Hl,Aa)||Aa),this._moduleDoBootstrap(p),p))})})}bootstrapModule(n,r=[]){const i=Hg({},r);return function cE(e,t,n){const r=new Du(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(jl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Ae(-403,!1);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 Ae(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ju,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(ft(Xs))},e.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Hg(e,t){return Array.isArray(t)?t.reduce(Hg,e):{...e,...t}}let jl=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new F.y(p=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{p.next(this._stable),p.complete()})}),u=new F.y(p=>{let b;this._zone.runOutsideAngular(()=>{b=this._zone.onStable.subscribe(()=>{Lo.assertNotInAngularZone(),Lu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,p.next(!0))})})});const x=this._zone.onUnstable.subscribe(()=>{Lo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{p.next(!1)}))});return()=>{b.unsubscribe(),x.unsubscribe()}});this.isStable=(0,W.T)(o,u.pipe((0,X.B)()))}bootstrap(n,r){const i=n instanceof Kd;if(!this._injector.get(Ul).done)throw!i&&er(n),new Ae(405,false);let u;u=i?n:this._injector.get(Ha).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const p=function uE(e){return e.isBoundToModule}(u)?void 0:this._injector.get(Ia),x=u.create(Xs.NULL,[],r||u.selector,p),U=x.location.nativeElement,ee=x.injector.get(Ag,null);return ee?.registerApplication(U),x.onDestroy(()=>{this.detachView(x.hostView),$l(this.components,x),ee?.unregisterApplication(U)}),this._loadComponent(x),x}tick(){if(this._runningTick)throw new Ae(101,!1);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;$l(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(wg,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>$l(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ae(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(ft(Lo),ft(Qs),ft($a))},e.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function $l(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function mE(){return!1}function yE(){}let _E=(()=>{class e{}return e.__NG_ELEMENT_ID__=vE,e})();function vE(e){return function bE(e,t,n){if(Vi(e)&&!n){const r=kr(e.index,t);return new za(r,r)}return 47&e.type?new za(t[16],t):null}(Er(),et(),16==(16&e))}class Gg{constructor(){}supports(t){return El(t)}create(t){return new ME(t)}}const TE=(e,t)=>t;class ME{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||TE}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,o=null;for(;n||r;){const u=!r||n&&n.currentIndex<Kg(r,i,o)?n:r,p=Kg(u,i,o),b=u.currentIndex;if(u===r)i--,r=r._nextRemoved;else if(n=n._next,null==u.previousIndex)i++;else{o||(o=[]);const x=p-i,U=b-i;if(x!=U){for(let Se=0;Se<x;Se++){const He=Se<o.length?o[Se]:o[Se]=0,ot=He+Se;U<=ot&&ot<x&&(o[Se]=He+1)}o[u.previousIndex]=U-x}}p!==b&&t(u,p,b)}}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=[]),!El(t))throw new Ae(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,u,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let p=0;p<this.length;p++)o=t[p],u=this._trackByFn(p,o),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,o,u,p)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,u,p),r=!0),n=n._next}else i=0,function nv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Js()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,p=>{u=this._trackByFn(i,p),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,p,u,i)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,u,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 o;return null===t?o=this._itTail:(o=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,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new SE(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,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,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._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 Wg),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 Wg),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 SE{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 xE{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 Wg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new xE,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 Kg(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 Yg{constructor(){}supports(t){return t instanceof Map||Kc(t)}create(){return new AE}}class AE{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||Kc(t)))throw new Ae(900,!1)}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 o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),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 o=i._prev,u=i._next;return o&&(o._next=u),u&&(u._prev=o),i._next=null,i._prev=null,i}const r=new IE(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 IE{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 Zg(){return new Ku([new Gg])}let Ku=(()=>{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||Zg()),deps:[[e,new T,new aa]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Ae(901,!1)}}return e.\u0275prov=lt({token:e,providedIn:"root",factory:Zg}),e})();function Qg(){return new Yu([new Yg])}let Yu=(()=>{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||Qg()),deps:[[e,new T,new aa]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Ae(901,!1)}}return e.\u0275prov=lt({token:e,providedIn:"root",factory:Qg}),e})();const RE=Fg(null,"core",[]);let FE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(ft(jl))},e.\u0275mod=si({type:e}),e.\u0275inj=Ye({}),e})();function NE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},3238:(at,be,v)=>{v.d(be,{yN:()=>Pe,mZ:()=>ve,_A:()=>Wt,rD:()=>$t,sG:()=>Xt,Ad:()=>Je,K7:()=>Ne,HF:()=>pt,Y2:()=>bn,BQ:()=>le,XK:()=>Le,ey:()=>Ht,Ng:()=>ft,wG:()=>wn,si:()=>Hn,CB:()=>An,jH:()=>Xn,pj:()=>Z,Kr:()=>oe,Id:()=>pe,FD:()=>ye,dB:()=>We,sb:()=>xe});var s=v(4650),f=v(2693),F=v(445),X=v(6895),J=v(3353),ie=v(1281),q=v(9751),Q=v(7579),j=v(9521);const Ie=["text"];function Me(re,N){if(1&re&&s._UZ(0,"mat-pseudo-checkbox",5),2&re){const M=s.oxw();s.Q6J("state",M.selected?"checked":"unchecked")("disabled",M.disabled)}}function Ve(re,N){if(1&re&&(s.TgZ(0,"span",6),s._uU(1),s.qZA()),2&re){const M=s.oxw();s.xp6(1),s.hij("(",M.group.label,")")}}const Ke=[[["mat-icon"]],"*"],Ae=["mat-icon","*"];let Pe=(()=>{class re{}return re.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",re.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",re.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",re.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",re})(),ve=(()=>{class re{}return re.COMPLEX="375ms",re.ENTERING="225ms",re.EXITING="195ms",re})();const H=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function De(){return!0}});let le=(()=>{class re{constructor(M,R,Ce){this._sanityChecks=R,this._document=Ce,this._hasDoneGlobalChecks=!1,M._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(M){return!(0,J.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[M])}}return re.\u0275fac=function(M){return new(M||re)(s.LFG(f.qm),s.LFG(H,8),s.LFG(X.K0))},re.\u0275mod=s.oAB({type:re}),re.\u0275inj=s.cJS({imports:[F.vT,F.vT]}),re})();function pe(re){return class extends re{get disabled(){return this._disabled}set disabled(N){this._disabled=(0,ie.Ig)(N)}constructor(...N){super(...N),this._disabled=!1}}}function Z(re,N){return class extends re{get color(){return this._color}set color(M){const R=M||this.defaultColor;R!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),R&&this._elementRef.nativeElement.classList.add(`mat-${R}`),this._color=R)}constructor(...M){super(...M),this.defaultColor=N,this.color=N}}}function oe(re){return class extends re{get disableRipple(){return this._disableRipple}set disableRipple(N){this._disableRipple=(0,ie.Ig)(N)}constructor(...N){super(...N),this._disableRipple=!1}}}function xe(re,N=0){return class extends re{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(M){this._tabIndex=null!=M?(0,ie.su)(M):this.defaultTabIndex}constructor(...M){super(...M),this._tabIndex=N,this.defaultTabIndex=N}}}function ye(re){return class extends re{updateErrorState(){const N=this.errorState,B=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);B!==N&&(this.errorState=B,this.stateChanges.next())}constructor(...N){super(...N),this.errorState=!1}}}function We(re){return class extends re{constructor(...N){super(...N),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new q.y(M=>{this._isInitialized?this._notifySubscriber(M):this._pendingSubscribers.push(M)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(N){N.next(),N.complete()}}}const Je=new s.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function mt(){return(0,s.f3M)(s.soG)}});class Wt{constructor(){this._localeChanges=new Q.x,this.localeChanges=this._localeChanges}getValidDateOrNull(N){return this.isDateInstance(N)&&this.isValid(N)?N:null}deserialize(N){return null==N||this.isDateInstance(N)&&this.isValid(N)?N:this.invalid()}setLocale(N){this.locale=N,this._localeChanges.next()}compareDate(N,M){return this.getYear(N)-this.getYear(M)||this.getMonth(N)-this.getMonth(M)||this.getDate(N)-this.getDate(M)}sameDate(N,M){if(N&&M){let R=this.isValid(N),Ce=this.isValid(M);return R&&Ce?!this.compareDate(N,M):R==Ce}return N==M}clampDate(N,M,R){return M&&this.compareDate(N,M)<0?M:R&&this.compareDate(N,R)>0?R:N}}const Xt=new s.OlP("mat-date-formats"),Rt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ot(re,N){const M=Array(re);for(let R=0;R<re;R++)M[R]=N(R);return M}let Ue=(()=>{class re extends Wt{constructor(M,R){super(),this.useUtcForDisplay=!1,super.setLocale(M)}getYear(M){return M.getFullYear()}getMonth(M){return M.getMonth()}getDate(M){return M.getDate()}getDayOfWeek(M){return M.getDay()}getMonthNames(M){const R=new Intl.DateTimeFormat(this.locale,{month:M,timeZone:"utc"});return Ot(12,Ce=>this._format(R,new Date(2017,Ce,1)))}getDateNames(){const M=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ot(31,R=>this._format(M,new Date(2017,0,R+1)))}getDayOfWeekNames(M){const R=new Intl.DateTimeFormat(this.locale,{weekday:M,timeZone:"utc"});return Ot(7,Ce=>this._format(R,new Date(2017,0,Ce+1)))}getYearName(M){const R=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(R,M)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(M){return this.getDate(this._createDateWithOverflow(this.getYear(M),this.getMonth(M)+1,0))}clone(M){return new Date(M.getTime())}createDate(M,R,Ce){let B=this._createDateWithOverflow(M,R,Ce);return B.getMonth(),B}today(){return new Date}parse(M,R){return"number"==typeof M?new Date(M):M?new Date(Date.parse(M)):null}format(M,R){if(!this.isValid(M))throw Error("NativeDateAdapter: Cannot format invalid date.");const Ce=new Intl.DateTimeFormat(this.locale,{...R,timeZone:"utc"});return this._format(Ce,M)}addCalendarYears(M,R){return this.addCalendarMonths(M,12*R)}addCalendarMonths(M,R){let Ce=this._createDateWithOverflow(this.getYear(M),this.getMonth(M)+R,this.getDate(M));return this.getMonth(Ce)!=((this.getMonth(M)+R)%12+12)%12&&(Ce=this._createDateWithOverflow(this.getYear(Ce),this.getMonth(Ce),0)),Ce}addCalendarDays(M,R){return this._createDateWithOverflow(this.getYear(M),this.getMonth(M),this.getDate(M)+R)}toIso8601(M){return[M.getUTCFullYear(),this._2digit(M.getUTCMonth()+1),this._2digit(M.getUTCDate())].join("-")}deserialize(M){if("string"==typeof M){if(!M)return null;if(Rt.test(M)){let R=new Date(M);if(this.isValid(R))return R}}return super.deserialize(M)}isDateInstance(M){return M instanceof Date}isValid(M){return!isNaN(M.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(M,R,Ce){const B=new Date;return B.setFullYear(M,R,Ce),B.setHours(0,0,0,0),B}_2digit(M){return("00"+M).slice(-2)}_format(M,R){const Ce=new Date;return Ce.setUTCFullYear(R.getFullYear(),R.getMonth(),R.getDate()),Ce.setUTCHours(R.getHours(),R.getMinutes(),R.getSeconds(),R.getMilliseconds()),M.format(Ce)}}return re.\u0275fac=function(M){return new(M||re)(s.LFG(Je,8),s.LFG(J.t4))},re.\u0275prov=s.Yz7({token:re,factory:re.\u0275fac}),re})();const rt={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let fe=(()=>{class re{}return re.\u0275fac=function(M){return new(M||re)},re.\u0275mod=s.oAB({type:re}),re.\u0275inj=s.cJS({providers:[{provide:Wt,useClass:Ue}]}),re})(),Le=(()=>{class re{}return re.\u0275fac=function(M){return new(M||re)},re.\u0275mod=s.oAB({type:re}),re.\u0275inj=s.cJS({providers:[{provide:Xt,useValue:rt}],imports:[fe]}),re})(),$t=(()=>{class re{isErrorState(M,R){return!!(M&&M.invalid&&(M.touched||R&&R.submitted))}}return re.\u0275fac=function(M){return new(M||re)},re.\u0275prov=s.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();class nt{constructor(N,M,R,Ce=!1){this._renderer=N,this.element=M,this.config=R,this._animationForciblyDisabledThroughCss=Ce,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const wt=(0,J.i$)({passive:!0,capture:!0});class bt{constructor(){this._events=new Map,this._delegateEventHandler=N=>{const M=(0,J.sA)(N);M&&this._events.get(N.type)?.forEach((R,Ce)=>{(Ce===M||Ce.contains(M))&&R.forEach(B=>B.handleEvent(N))})}}addHandler(N,M,R,Ce){const B=this._events.get(M);if(B){const K=B.get(R);K?K.add(Ce):B.set(R,new Set([Ce]))}else this._events.set(M,new Map([[R,new Set([Ce])]])),N.runOutsideAngular(()=>{document.addEventListener(M,this._delegateEventHandler,wt)})}removeHandler(N,M,R){const Ce=this._events.get(N);if(!Ce)return;const B=Ce.get(M);B&&(B.delete(R),0===B.size&&Ce.delete(M),0===Ce.size&&(this._events.delete(N),document.removeEventListener(N,this._delegateEventHandler,wt)))}}const Pt={enterDuration:225,exitDuration:150},Yt=(0,J.i$)({passive:!0,capture:!0}),Tt=["mousedown","touchstart"],Ft=["mouseup","mouseleave","touchend","touchcancel"];class sn{constructor(N,M,R,Ce){this._target=N,this._ngZone=M,this._platform=Ce,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ce.isBrowser&&(this._containerElement=(0,ie.fI)(R))}fadeInRipple(N,M,R={}){const Ce=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),B={...Pt,...R.animation};R.centered&&(N=Ce.left+Ce.width/2,M=Ce.top+Ce.height/2);const K=R.radius||function $n(re,N,M){const R=Math.max(Math.abs(re-M.left),Math.abs(re-M.right)),Ce=Math.max(Math.abs(N-M.top),Math.abs(N-M.bottom));return Math.sqrt(R*R+Ce*Ce)}(N,M,Ce),he=N-Ce.left,je=M-Ce.top,Te=B.enterDuration,ct=document.createElement("div");ct.classList.add("mat-ripple-element"),ct.style.left=he-K+"px",ct.style.top=je-K+"px",ct.style.height=2*K+"px",ct.style.width=2*K+"px",null!=R.color&&(ct.style.backgroundColor=R.color),ct.style.transitionDuration=`${Te}ms`,this._containerElement.appendChild(ct);const zt=window.getComputedStyle(ct),Ee=zt.transitionDuration,I="none"===zt.transitionProperty||"0s"===Ee||"0s, 0s"===Ee||0===Ce.width&&0===Ce.height,C=new nt(this,ct,R,I);ct.style.transform="scale3d(1, 1, 1)",C.state=0,R.persistent||(this._mostRecentTransientRipple=C);let S=null;return!I&&(Te||B.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const $=()=>this._finishRippleTransition(C),ue=()=>this._destroyRipple(C);ct.addEventListener("transitionend",$),ct.addEventListener("transitioncancel",ue),S={onTransitionEnd:$,onTransitionCancel:ue}}),this._activeRipples.set(C,S),(I||!Te)&&this._finishRippleTransition(C),C}fadeOutRipple(N){if(2===N.state||3===N.state)return;const M=N.element,R={...Pt,...N.config.animation};M.style.transitionDuration=`${R.exitDuration}ms`,M.style.opacity="0",N.state=2,(N._animationForciblyDisabledThroughCss||!R.exitDuration)&&this._finishRippleTransition(N)}fadeOutAll(){this._getActiveRipples().forEach(N=>N.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(N=>{N.config.persistent||N.fadeOut()})}setupTriggerEvents(N){const M=(0,ie.fI)(N);!this._platform.isBrowser||!M||M===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=M,Tt.forEach(R=>{sn._eventManager.addHandler(this._ngZone,R,M,this)}))}handleEvent(N){"mousedown"===N.type?this._onMousedown(N):"touchstart"===N.type?this._onTouchStart(N):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ft.forEach(M=>{this._triggerElement.addEventListener(M,this,Yt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(N){0===N.state?this._startFadeOutTransition(N):2===N.state&&this._destroyRipple(N)}_startFadeOutTransition(N){const M=N===this._mostRecentTransientRipple,{persistent:R}=N.config;N.state=1,!R&&(!M||!this._isPointerDown)&&N.fadeOut()}_destroyRipple(N){const M=this._activeRipples.get(N)??null;this._activeRipples.delete(N),this._activeRipples.size||(this._containerRect=null),N===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),N.state=3,null!==M&&(N.element.removeEventListener("transitionend",M.onTransitionEnd),N.element.removeEventListener("transitioncancel",M.onTransitionCancel)),N.element.remove()}_onMousedown(N){const M=(0,f.X6)(N),R=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!M&&!R&&(this._isPointerDown=!0,this.fadeInRipple(N.clientX,N.clientY,this._target.rippleConfig))}_onTouchStart(N){if(!this._target.rippleDisabled&&!(0,f.yG)(N)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const M=N.changedTouches;for(let R=0;R<M.length;R++)this.fadeInRipple(M[R].clientX,M[R].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(N=>{!N.config.persistent&&(1===N.state||N.config.terminateOnPointerUp&&0===N.state)&&N.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const N=this._triggerElement;N&&(Tt.forEach(M=>sn._eventManager.removeHandler(M,N,this)),this._pointerUpEventsRegistered&&Ft.forEach(M=>N.removeEventListener(M,this,Yt)))}}sn._eventManager=new bt;const bn=new s.OlP("mat-ripple-global-options");let wn=(()=>{class re{get disabled(){return this._disabled}set disabled(M){M&&this.fadeOutAllNonPersistent(),this._disabled=M,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(M){this._trigger=M,this._setupTriggerEventsIfEnabled()}constructor(M,R,Ce,B,K){this._elementRef=M,this._animationMode=K,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=B||{},this._rippleRenderer=new sn(this,R,M,Ce)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(M,R=0,Ce){return"number"==typeof M?this._rippleRenderer.fadeInRipple(M,R,{...this.rippleConfig,...Ce}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...M})}}return re.\u0275fac=function(M){return new(M||re)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(J.t4),s.Y36(bn,8),s.Y36(s.QbO,8))},re.\u0275dir=s.lG2({type:re,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(M,R){2&M&&s.ekj("mat-ripple-unbounded",R.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),re})(),Hn=(()=>{class re{}return re.\u0275fac=function(M){return new(M||re)},re.\u0275mod=s.oAB({type:re}),re.\u0275inj=s.cJS({imports:[le,le]}),re})(),Ut=(()=>{class re{constructor(M){this._animationMode=M,this.state="unchecked",this.disabled=!1}}return re.\u0275fac=function(M){return new(M||re)(s.Y36(s.QbO,8))},re.\u0275cmp=s.Xpm({type:re,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(M,R){2&M&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===R.state)("mat-pseudo-checkbox-checked","checked"===R.state)("mat-pseudo-checkbox-disabled",R.disabled)("_mat-animation-noopable","NoopAnimations"===R._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(M,R){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),re})(),Nt=(()=>{class re{}return re.\u0275fac=function(M){return new(M||re)},re.\u0275mod=s.oAB({type:re}),re.\u0275inj=s.cJS({imports:[le]}),re})();const pt=new s.OlP("MAT_OPTION_PARENT_COMPONENT"),Ne=new s.OlP("MatOptgroup");let Vt=0;class kt{constructor(N,M=!1){this.source=N,this.isUserInput=M}}let Qn=(()=>{class re{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(M){this._disabled=(0,ie.Ig)(M)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}constructor(M,R,Ce,B){this._element=M,this._changeDetectorRef=R,this._parent=Ce,this.group=B,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Vt++,this.onSelectionChange=new s.vpe,this._stateChanges=new Q.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(M,R){const Ce=this._getHostElement();"function"==typeof Ce.focus&&Ce.focus(R)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(M){(M.keyCode===j.K5||M.keyCode===j.L_)&&!(0,j.Vb)(M)&&(this._selectViaInteraction(),M.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const M=this.viewValue;M!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=M)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(M=!1){this.onSelectionChange.emit(new kt(this,M))}}return re.\u0275fac=function(M){s.$Z()},re.\u0275dir=s.lG2({type:re,viewQuery:function(M,R){if(1&M&&s.Gf(Ie,7),2&M){let Ce;s.iGM(Ce=s.CRH())&&(R._text=Ce.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),re})(),Ht=(()=>{class re extends Qn{constructor(M,R,Ce,B){super(M,R,Ce,B)}}return re.\u0275fac=function(M){return new(M||re)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(pt,8),s.Y36(Ne,8))},re.\u0275cmp=s.Xpm({type:re,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(M,R){1&M&&s.NdJ("click",function(){return R._selectViaInteraction()})("keydown",function(B){return R._handleKeydown(B)}),2&M&&(s.Ikx("id",R.id),s.uIk("tabindex",R._getTabIndex())("aria-selected",R._getAriaSelected())("aria-disabled",R.disabled.toString()),s.ekj("mdc-list-item--selected",R.selected)("mat-mdc-option-multiple",R.multiple)("mat-mdc-option-active",R.active)("mdc-list-item--disabled",R.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:Ae,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(M,R){1&M&&(s.F$t(Ke),s.YNc(0,Me,1,2,"mat-pseudo-checkbox",0),s.Hsn(1),s.TgZ(2,"span",1,2),s.Hsn(4,1),s.qZA(),s.YNc(5,Ve,2,1,"span",3),s._UZ(6,"div",4)),2&M&&(s.Q6J("ngIf",R.multiple),s.xp6(5),s.Q6J("ngIf",R.group&&R.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",R._getHostElement())("matRippleDisabled",R.disabled||R.disableRipple))},dependencies:[wn,X.O5,Ut],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),re})();function An(re,N,M){if(M.length){let R=N.toArray(),Ce=M.toArray(),B=0;for(let K=0;K<re+1;K++)R[K].group&&R[K].group===Ce[B]&&B++;return B}return 0}function Xn(re,N,M,R){return re<M?re:re+N>M+R?Math.max(0,re-R+N):M}let ft=(()=>{class re{}return re.\u0275fac=function(M){return new(M||re)},re.\u0275mod=s.oAB({type:re}),re.\u0275inj=s.cJS({imports:[Hn,X.ez,le,Nt]}),re})()},9549:(at,be,v)=>{v.d(be,{Eo:()=>yn,G_:()=>sn,KE:()=>pt,R9:()=>Ye,hX:()=>Xt,lN:()=>Bt,o2:()=>$n,qo:()=>lt});var s=v(4650),f=v(445),F=v(3353),W=v(7579),X=v(6451),J=v(2722),ie=v(6895),q=v(1281),Q=v(7340),j=v(9643),Y=v(3238);const G=["matFormFieldNotchedOutline",""],Ie=["*"],Me=["textField"],Ve=["iconPrefixContainer"],Ke=["textPrefixContainer"];function Ae(Ge,yt){1&Ge&&s._UZ(0,"span",19)}function Fe(Ge,yt){if(1&Ge){const Ne=s.EpF();s.TgZ(0,"label",17),s.NdJ("cdkObserveContent",function(){s.CHM(Ne);const Vt=s.oxw(2);return s.KtG(Vt._refreshOutlineNotchWidth())}),s.Hsn(1,1),s.YNc(2,Ae,1,0,"span",18),s.qZA()}if(2&Ge){const Ne=s.oxw(2);s.Q6J("floating",Ne._shouldLabelFloat())("cdkObserveContentDisabled",!Ne._hasOutline())("id",Ne._labelId),s.uIk("for",Ne._control.id)("aria-owns",Ne._control.id),s.xp6(2),s.Q6J("ngIf",!Ne.hideRequiredMarker&&Ne._control.required)}}function Pe(Ge,yt){if(1&Ge&&s.YNc(0,Fe,3,6,"label",16),2&Ge){const Ne=s.oxw();s.Q6J("ngIf",Ne._hasFloatingLabel())}}function ve(Ge,yt){1&Ge&&s._UZ(0,"div",20)}function De(Ge,yt){}function H(Ge,yt){if(1&Ge&&s.YNc(0,De,0,0,"ng-template",22),2&Ge){s.oxw(2);const Ne=s.MAs(1);s.Q6J("ngTemplateOutlet",Ne)}}function le(Ge,yt){if(1&Ge&&(s.TgZ(0,"div",21),s.YNc(1,H,1,1,"ng-template",9),s.qZA()),2&Ge){const Ne=s.oxw();s.Q6J("matFormFieldNotchedOutlineOpen",Ne._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",Ne._labelWidth),s.xp6(1),s.Q6J("ngIf",!Ne._forceDisplayInfixLabel())}}function ce(Ge,yt){1&Ge&&(s.TgZ(0,"div",23,24),s.Hsn(2,2),s.qZA())}function ge(Ge,yt){1&Ge&&(s.TgZ(0,"div",25,26),s.Hsn(2,3),s.qZA())}function se(Ge,yt){}function pe(Ge,yt){if(1&Ge&&s.YNc(0,se,0,0,"ng-template",22),2&Ge){s.oxw();const Ne=s.MAs(1);s.Q6J("ngTemplateOutlet",Ne)}}function Z(Ge,yt){1&Ge&&(s.TgZ(0,"div",27),s.Hsn(1,4),s.qZA())}function oe(Ge,yt){1&Ge&&(s.TgZ(0,"div",28),s.Hsn(1,5),s.qZA())}function xe(Ge,yt){1&Ge&&s._UZ(0,"div",29)}function ye(Ge,yt){if(1&Ge&&(s.TgZ(0,"div",30),s.Hsn(1,6),s.qZA()),2&Ge){const Ne=s.oxw();s.Q6J("@transitionMessages",Ne._subscriptAnimationState)}}function We(Ge,yt){if(1&Ge&&(s.TgZ(0,"mat-hint",34),s._uU(1),s.qZA()),2&Ge){const Ne=s.oxw(2);s.Q6J("id",Ne._hintLabelId),s.xp6(1),s.Oqu(Ne.hintLabel)}}function Je(Ge,yt){if(1&Ge&&(s.TgZ(0,"div",31),s.YNc(1,We,2,2,"mat-hint",32),s.Hsn(2,7),s._UZ(3,"div",33),s.Hsn(4,8),s.qZA()),2&Ge){const Ne=s.oxw();s.Q6J("@transitionMessages",Ne._subscriptAnimationState),s.xp6(1),s.Q6J("ngIf",Ne.hintLabel)}}const mt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Wt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Xt=(()=>{class Ge{}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)},Ge.\u0275dir=s.lG2({type:Ge,selectors:[["mat-label"]]}),Ge})();const Ot=new s.OlP("MatError");let rt=0,fe=(()=>{class Ge{constructor(){this.align="start",this.id="mat-mdc-hint-"+rt++}}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)},Ge.\u0275dir=s.lG2({type:Ge,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Ne,qe){2&Ne&&(s.Ikx("id",qe.id),s.uIk("align",null),s.ekj("mat-mdc-form-field-hint-end","end"===qe.align))},inputs:{align:"align",id:"id"}}),Ge})();const Le=new s.OlP("MatPrefix");let lt=(()=>{class Ge{constructor(){this._isText=!1}set _isTextSelector(Ne){this._isText=!0}}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)},Ge.\u0275dir=s.lG2({type:Ge,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[s._Bn([{provide:Le,useExisting:Ge}])]}),Ge})();const $t=new s.OlP("MatSuffix");let Ye=(()=>{class Ge{constructor(){this._isText=!1}set _isTextSelector(Ne){this._isText=!0}}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)},Ge.\u0275dir=s.lG2({type:Ge,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[s._Bn([{provide:$t,useExisting:Ge}])]}),Ge})(),At=(()=>{class Ge{constructor(Ne){this._elementRef=Ne,this.floating=!1}getWidth(){return function te(Ge){if(null!==Ge.offsetParent)return Ge.scrollWidth;const Ne=Ge.cloneNode(!0);Ne.style.setProperty("position","absolute"),Ne.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Ne);const qe=Ne.scrollWidth;return Ne.remove(),qe}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)(s.Y36(s.SBq))},Ge.\u0275dir=s.lG2({type:Ge,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Ne,qe){2&Ne&&s.ekj("mdc-floating-label--float-above",qe.floating)},inputs:{floating:"floating"}}),Ge})();const Xe="mdc-line-ripple--active",nt="mdc-line-ripple--deactivating";let wt=(()=>{class Ge{constructor(Ne,qe){this._elementRef=Ne,this._handleTransitionEnd=Vt=>{const kt=this._elementRef.nativeElement.classList,Qn=kt.contains(nt);"opacity"===Vt.propertyName&&Qn&&kt.remove(Xe,nt)},qe.runOutsideAngular(()=>{Ne.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Ne=this._elementRef.nativeElement.classList;Ne.remove(nt),Ne.add(Xe)}deactivate(){this._elementRef.nativeElement.classList.add(nt)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)(s.Y36(s.SBq),s.Y36(s.R0b))},Ge.\u0275dir=s.lG2({type:Ge,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),Ge})(),bt=(()=>{class Ge{constructor(Ne,qe){this._elementRef=Ne,this._ngZone=qe,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const Ne=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Ne?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Ne.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Ne.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)(s.Y36(s.SBq),s.Y36(s.R0b))},Ge.\u0275cmp=s.Xpm({type:Ge,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Ne,qe){2&Ne&&s.ekj("mdc-notched-outline--notched",qe.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:G,ngContentSelectors:Ie,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Ne,qe){1&Ne&&(s.F$t(),s._UZ(0,"div",0),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s._UZ(3,"div",2)),2&Ne&&(s.xp6(1),s.Udp("width",qe._getNotchWidth()))},encapsulation:2,changeDetection:0}),Ge})();const Pt={transitionMessages:(0,Q.X$)("transitionMessages",[(0,Q.SB)("enter",(0,Q.oB)({opacity:1,transform:"translateY(0%)"})),(0,Q.eR)("void => enter",[(0,Q.oB)({opacity:0,transform:"translateY(-5px)"}),(0,Q.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let yn=(()=>{class Ge{}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)},Ge.\u0275dir=s.lG2({type:Ge}),Ge})();const sn=new s.OlP("MatFormField"),$n=new s.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let bn=0,pt=(()=>{class Ge{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Ne){this._hideRequiredMarker=(0,q.Ig)(Ne)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Ne){Ne!==this._floatLabel&&(this._floatLabel=Ne,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Ne){const qe=this._appearance;this._appearance=Ne||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==qe&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Ne){this._subscriptSizing=Ne||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Ne){this._hintLabel=Ne,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Ne){this._explicitFormFieldControl=Ne}constructor(Ne,qe,Vt,kt,Qn,Ht,An,Xn){this._elementRef=Ne,this._changeDetectorRef=qe,this._ngZone=Vt,this._dir=kt,this._platform=Qn,this._defaults=Ht,this._animationMode=An,this._document=Xn,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+bn++,this._hintLabelId="mat-mdc-hint-"+bn++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new W.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Ht&&(Ht.appearance&&(this.appearance=Ht.appearance),this._hideRequiredMarker=Boolean(Ht?.hideRequiredMarker),Ht.color&&(this.color=Ht.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Ne=this._control;Ne.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Ne.controlType}`),Ne.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Ne.ngControl&&Ne.ngControl.valueChanges&&Ne.ngControl.valueChanges.pipe((0,J.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Ne=>!Ne._isText),this._hasTextPrefix=!!this._prefixChildren.find(Ne=>Ne._isText),this._hasIconSuffix=!!this._suffixChildren.find(Ne=>!Ne._isText),this._hasTextSuffix=!!this._suffixChildren.find(Ne=>Ne._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,X.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,J.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(Ne){const qe=this._control?this._control.ngControl:null;return qe&&qe[Ne]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Ne=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Ne.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const qe=this._hintChildren?this._hintChildren.find(kt=>"start"===kt.align):null,Vt=this._hintChildren?this._hintChildren.find(kt=>"end"===kt.align):null;qe?Ne.push(qe.id):this._hintLabel&&Ne.push(this._hintLabelId),Vt&&Ne.push(Vt.id)}else this._errorChildren&&Ne.push(...this._errorChildren.map(qe=>qe.id));this._control.setDescribedByIds(Ne)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Ne=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Ne.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const qe=this._iconPrefixContainer?.nativeElement,Vt=this._textPrefixContainer?.nativeElement,kt=qe?.getBoundingClientRect().width??0,Qn=Vt?.getBoundingClientRect().width??0;Ne.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${kt+Qn}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Ne=this._elementRef.nativeElement;if(Ne.getRootNode){const qe=Ne.getRootNode();return qe&&qe!==Ne}return document.documentElement.contains(Ne)}}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(f.Is),s.Y36(F.t4),s.Y36($n,8),s.Y36(s.QbO,8),s.Y36(ie.K0))},Ge.\u0275cmp=s.Xpm({type:Ge,selectors:[["mat-form-field"]],contentQueries:function(Ne,qe,Vt){if(1&Ne&&(s.Suo(Vt,Xt,5),s.Suo(Vt,Xt,7),s.Suo(Vt,yn,5),s.Suo(Vt,Le,5),s.Suo(Vt,$t,5),s.Suo(Vt,Ot,5),s.Suo(Vt,fe,5)),2&Ne){let kt;s.iGM(kt=s.CRH())&&(qe._labelChildNonStatic=kt.first),s.iGM(kt=s.CRH())&&(qe._labelChildStatic=kt.first),s.iGM(kt=s.CRH())&&(qe._formFieldControl=kt.first),s.iGM(kt=s.CRH())&&(qe._prefixChildren=kt),s.iGM(kt=s.CRH())&&(qe._suffixChildren=kt),s.iGM(kt=s.CRH())&&(qe._errorChildren=kt),s.iGM(kt=s.CRH())&&(qe._hintChildren=kt)}},viewQuery:function(Ne,qe){if(1&Ne&&(s.Gf(Me,5),s.Gf(Ve,5),s.Gf(Ke,5),s.Gf(At,5),s.Gf(bt,5),s.Gf(wt,5)),2&Ne){let Vt;s.iGM(Vt=s.CRH())&&(qe._textField=Vt.first),s.iGM(Vt=s.CRH())&&(qe._iconPrefixContainer=Vt.first),s.iGM(Vt=s.CRH())&&(qe._textPrefixContainer=Vt.first),s.iGM(Vt=s.CRH())&&(qe._floatingLabel=Vt.first),s.iGM(Vt=s.CRH())&&(qe._notchedOutline=Vt.first),s.iGM(Vt=s.CRH())&&(qe._lineRipple=Vt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Ne,qe){2&Ne&&s.ekj("mat-mdc-form-field-label-always-float",qe._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",qe._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",qe._hasIconSuffix)("mat-form-field-invalid",qe._control.errorState)("mat-form-field-disabled",qe._control.disabled)("mat-form-field-autofilled",qe._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===qe._animationMode)("mat-form-field-appearance-fill","fill"==qe.appearance)("mat-form-field-appearance-outline","outline"==qe.appearance)("mat-form-field-hide-placeholder",qe._hasFloatingLabel()&&!qe._shouldLabelFloat())("mat-focused",qe._control.focused)("mat-primary","accent"!==qe.color&&"warn"!==qe.color)("mat-accent","accent"===qe.color)("mat-warn","warn"===qe.color)("ng-untouched",qe._shouldForward("untouched"))("ng-touched",qe._shouldForward("touched"))("ng-pristine",qe._shouldForward("pristine"))("ng-dirty",qe._shouldForward("dirty"))("ng-valid",qe._shouldForward("valid"))("ng-invalid",qe._shouldForward("invalid"))("ng-pending",qe._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[s._Bn([{provide:sn,useExisting:Ge}])],ngContentSelectors:Wt,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(Ne,qe){1&Ne&&(s.F$t(mt),s.YNc(0,Pe,1,1,"ng-template",null,0,s.W1O),s.TgZ(2,"div",1,2),s.NdJ("click",function(kt){return qe._control.onContainerClick&&qe._control.onContainerClick(kt)}),s.YNc(4,ve,1,0,"div",3),s.TgZ(5,"div",4),s.YNc(6,le,2,3,"div",5),s.YNc(7,ce,3,0,"div",6),s.YNc(8,ge,3,0,"div",7),s.TgZ(9,"div",8),s.YNc(10,pe,1,1,"ng-template",9),s.Hsn(11),s.qZA(),s.YNc(12,Z,2,0,"div",10),s.YNc(13,oe,2,0,"div",11),s.qZA(),s.YNc(14,xe,1,0,"div",12),s.qZA(),s.TgZ(15,"div",13),s.YNc(16,ye,2,1,"div",14),s.YNc(17,Je,5,2,"div",15),s.qZA()),2&Ne&&(s.xp6(2),s.ekj("mdc-text-field--filled",!qe._hasOutline())("mdc-text-field--outlined",qe._hasOutline())("mdc-text-field--no-label",!qe._hasFloatingLabel())("mdc-text-field--disabled",qe._control.disabled)("mdc-text-field--invalid",qe._control.errorState),s.xp6(2),s.Q6J("ngIf",!qe._hasOutline()&&!qe._control.disabled),s.xp6(2),s.Q6J("ngIf",qe._hasOutline()),s.xp6(1),s.Q6J("ngIf",qe._hasIconPrefix),s.xp6(1),s.Q6J("ngIf",qe._hasTextPrefix),s.xp6(2),s.Q6J("ngIf",!qe._hasOutline()||qe._forceDisplayInfixLabel()),s.xp6(2),s.Q6J("ngIf",qe._hasTextSuffix),s.xp6(1),s.Q6J("ngIf",qe._hasIconSuffix),s.xp6(1),s.Q6J("ngIf",!qe._hasOutline()),s.xp6(1),s.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===qe.subscriptSizing),s.Q6J("ngSwitch",qe._getDisplayedMessages()),s.xp6(1),s.Q6J("ngSwitchCase","error"),s.xp6(1),s.Q6J("ngSwitchCase","hint"))},dependencies:[ie.O5,ie.tP,ie.RF,ie.n9,j.wD,fe,At,bt,wt],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[Pt.transitionMessages]},changeDetection:0}),Ge})(),Bt=(()=>{class Ge{}return Ge.\u0275fac=function(Ne){return new(Ne||Ge)},Ge.\u0275mod=s.oAB({type:Ge}),Ge.\u0275inj=s.cJS({imports:[Y.BQ,ie.ez,j.Q8,Y.BQ]}),Ge})()},1481:(at,be,v)=>{v.d(be,{Dx:()=>wn,H7:()=>ct,b2:()=>Tt,q6:()=>bt,se:()=>xe});var s=v(6895),f=v(4650);class F extends s.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class W extends F{static makeCurrent(){(0,s.HT)(new W)}onAndCancel(C,S,$){return C.addEventListener(S,$,!1),()=>{C.removeEventListener(S,$,!1)}}dispatchEvent(C,S){C.dispatchEvent(S)}remove(C){C.parentNode&&C.parentNode.removeChild(C)}createElement(C,S){return(S=S||this.getDefaultDocument()).createElement(C)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(C){return C.nodeType===Node.ELEMENT_NODE}isShadowRoot(C){return C instanceof DocumentFragment}getGlobalEventTarget(C,S){return"window"===S?window:"document"===S?C:"body"===S?C.body:null}getBaseHref(C){const S=function J(){return X=X||document.querySelector("base"),X?X.getAttribute("href"):null}();return null==S?null:function q(I){ie=ie||document.createElement("a"),ie.setAttribute("href",I);const C=ie.pathname;return"/"===C.charAt(0)?C:`/${C}`}(S)}resetBaseElement(){X=null}getUserAgent(){return window.navigator.userAgent}getCookie(C){return(0,s.Mx)(document.cookie,C)}}let ie,X=null;const Q=new f.OlP("TRANSITION_ID"),Y=[{provide:f.ip1,useFactory:function j(I,C,S){return()=>{S.get(f.CZH).donePromise.then(()=>{const $=(0,s.q)(),ue=C.querySelectorAll(`style[ng-transition="${I}"]`);for(let Qe=0;Qe<ue.length;Qe++)$.remove(ue[Qe])})}},deps:[Q,s.K0,f.zs3],multi:!0}];let Ie=(()=>{class I{build(){return new XMLHttpRequest}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=f.Yz7({token:I,factory:I.\u0275fac}),I})();const Me=new f.OlP("EventManagerPlugins");let Ve=(()=>{class I{constructor(S,$){this._zone=$,this._eventNameToPlugin=new Map,S.forEach(ue=>ue.manager=this),this._plugins=S.slice().reverse()}addEventListener(S,$,ue){return this._findPluginFor($).addEventListener(S,$,ue)}addGlobalEventListener(S,$,ue){return this._findPluginFor($).addGlobalEventListener(S,$,ue)}getZone(){return this._zone}_findPluginFor(S){const $=this._eventNameToPlugin.get(S);if($)return $;const ue=this._plugins;for(let Qe=0;Qe<ue.length;Qe++){const Mt=ue[Qe];if(Mt.supports(S))return this._eventNameToPlugin.set(S,Mt),Mt}throw new Error(`No event manager plugin found for event ${S}`)}}return I.\u0275fac=function(S){return new(S||I)(f.LFG(Me),f.LFG(f.R0b))},I.\u0275prov=f.Yz7({token:I,factory:I.\u0275fac}),I})();class Ke{constructor(C){this._doc=C}addGlobalEventListener(C,S,$){const ue=(0,s.q)().getGlobalEventTarget(this._doc,C);if(!ue)throw new Error(`Unsupported event target ${ue} for event ${S}`);return this.addEventListener(ue,S,$)}}let Ae=(()=>{class I{constructor(){this._stylesSet=new Set}addStyles(S){const $=new Set;S.forEach(ue=>{this._stylesSet.has(ue)||(this._stylesSet.add(ue),$.add(ue))}),this.onStylesAdded($)}onStylesAdded(S){}getAllStyles(){return Array.from(this._stylesSet)}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=f.Yz7({token:I,factory:I.\u0275fac}),I})(),Fe=(()=>{class I extends Ae{constructor(S){super(),this._doc=S,this._hostNodes=new Map,this._hostNodes.set(S.head,[])}_addStylesToHost(S,$,ue){S.forEach(Qe=>{const Mt=this._doc.createElement("style");Mt.textContent=Qe,ue.push($.appendChild(Mt))})}addHost(S){const $=[];this._addStylesToHost(this._stylesSet,S,$),this._hostNodes.set(S,$)}removeHost(S){const $=this._hostNodes.get(S);$&&$.forEach(Pe),this._hostNodes.delete(S)}onStylesAdded(S){this._hostNodes.forEach(($,ue)=>{this._addStylesToHost(S,ue,$)})}ngOnDestroy(){this._hostNodes.forEach(S=>S.forEach(Pe))}}return I.\u0275fac=function(S){return new(S||I)(f.LFG(s.K0))},I.\u0275prov=f.Yz7({token:I,factory:I.\u0275fac}),I})();function Pe(I){(0,s.q)().remove(I)}const ve={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/",math:"http://www.w3.org/1998/MathML/"},De=/%COMP%/g;function Z(I,C){return C.flat(100).map(S=>S.replace(De,I))}function oe(I){return C=>{if("__ngUnwrap__"===C)return I;!1===I(C)&&(C.preventDefault(),C.returnValue=!1)}}let xe=(()=>{class I{constructor(S,$,ue){this.eventManager=S,this.sharedStylesHost=$,this.appId=ue,this.rendererByCompId=new Map,this.defaultRenderer=new ye(S)}createRenderer(S,$){if(!S||!$)return this.defaultRenderer;switch($.encapsulation){case f.ifc.Emulated:{let ue=this.rendererByCompId.get($.id);return ue||(ue=new Wt(this.eventManager,this.sharedStylesHost,$,this.appId),this.rendererByCompId.set($.id,ue)),ue.applyToHost(S),ue}case f.ifc.ShadowDom:return new Xt(this.eventManager,this.sharedStylesHost,S,$);default:if(!this.rendererByCompId.has($.id)){const ue=Z($.id,$.styles);this.sharedStylesHost.addStyles(ue),this.rendererByCompId.set($.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return I.\u0275fac=function(S){return new(S||I)(f.LFG(Ve),f.LFG(Fe),f.LFG(f.AFp))},I.\u0275prov=f.Yz7({token:I,factory:I.\u0275fac}),I})();class ye{constructor(C){this.eventManager=C,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(C,S){return S?document.createElementNS(ve[S]||S,C):document.createElement(C)}createComment(C){return document.createComment(C)}createText(C){return document.createTextNode(C)}appendChild(C,S){(mt(C)?C.content:C).appendChild(S)}insertBefore(C,S,$){C&&(mt(C)?C.content:C).insertBefore(S,$)}removeChild(C,S){C&&C.removeChild(S)}selectRootElement(C,S){let $="string"==typeof C?document.querySelector(C):C;if(!$)throw new Error(`The selector "${C}" did not match any elements`);return S||($.textContent=""),$}parentNode(C){return C.parentNode}nextSibling(C){return C.nextSibling}setAttribute(C,S,$,ue){if(ue){S=ue+":"+S;const Qe=ve[ue];Qe?C.setAttributeNS(Qe,S,$):C.setAttribute(S,$)}else C.setAttribute(S,$)}removeAttribute(C,S,$){if($){const ue=ve[$];ue?C.removeAttributeNS(ue,S):C.removeAttribute(`${$}:${S}`)}else C.removeAttribute(S)}addClass(C,S){C.classList.add(S)}removeClass(C,S){C.classList.remove(S)}setStyle(C,S,$,ue){ue&(f.JOm.DashCase|f.JOm.Important)?C.style.setProperty(S,$,ue&f.JOm.Important?"important":""):C.style[S]=$}removeStyle(C,S,$){$&f.JOm.DashCase?C.style.removeProperty(S):C.style[S]=""}setProperty(C,S,$){C[S]=$}setValue(C,S){C.nodeValue=S}listen(C,S,$){return"string"==typeof C?this.eventManager.addGlobalEventListener(C,S,oe($)):this.eventManager.addEventListener(C,S,oe($))}}function mt(I){return"TEMPLATE"===I.tagName&&void 0!==I.content}class Wt extends ye{constructor(C,S,$,ue){super(C),this.component=$;const Qe=Z(ue+"-"+$.id,$.styles);S.addStyles(Qe),this.contentAttr=function se(I){return"_ngcontent-%COMP%".replace(De,I)}(ue+"-"+$.id),this.hostAttr=function pe(I){return"_nghost-%COMP%".replace(De,I)}(ue+"-"+$.id)}applyToHost(C){super.setAttribute(C,this.hostAttr,"")}createElement(C,S){const $=super.createElement(C,S);return super.setAttribute($,this.contentAttr,""),$}}class Xt extends ye{constructor(C,S,$,ue){super(C),this.sharedStylesHost=S,this.hostEl=$,this.shadowRoot=$.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Qe=Z(ue.id,ue.styles);for(let Mt=0;Mt<Qe.length;Mt++){const Mn=document.createElement("style");Mn.textContent=Qe[Mt],this.shadowRoot.appendChild(Mn)}}nodeOrShadowRoot(C){return C===this.hostEl?this.shadowRoot:C}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(C,S){return super.appendChild(this.nodeOrShadowRoot(C),S)}insertBefore(C,S,$){return super.insertBefore(this.nodeOrShadowRoot(C),S,$)}removeChild(C,S){return super.removeChild(this.nodeOrShadowRoot(C),S)}parentNode(C){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(C)))}}let Rt=(()=>{class I extends Ke{constructor(S){super(S)}supports(S){return!0}addEventListener(S,$,ue){return S.addEventListener($,ue,!1),()=>this.removeEventListener(S,$,ue)}removeEventListener(S,$,ue){return S.removeEventListener($,ue)}}return I.\u0275fac=function(S){return new(S||I)(f.LFG(s.K0))},I.\u0275prov=f.Yz7({token:I,factory:I.\u0275fac}),I})();const Ot=["alt","control","meta","shift"],Ue={"\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"},rt={alt:I=>I.altKey,control:I=>I.ctrlKey,meta:I=>I.metaKey,shift:I=>I.shiftKey};let fe=(()=>{class I extends Ke{constructor(S){super(S)}supports(S){return null!=I.parseEventName(S)}addEventListener(S,$,ue){const Qe=I.parseEventName($),Mt=I.eventCallback(Qe.fullKey,ue,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.q)().onAndCancel(S,Qe.domEventName,Mt))}static parseEventName(S){const $=S.toLowerCase().split("."),ue=$.shift();if(0===$.length||"keydown"!==ue&&"keyup"!==ue)return null;const Qe=I._normalizeKey($.pop());let Mt="",Mn=$.indexOf("code");if(Mn>-1&&($.splice(Mn,1),Mt="code."),Ot.forEach(Cr=>{const On=$.indexOf(Cr);On>-1&&($.splice(On,1),Mt+=Cr+".")}),Mt+=Qe,0!=$.length||0===Qe.length)return null;const In={};return In.domEventName=ue,In.fullKey=Mt,In}static matchEventFullKeyCode(S,$){let ue=Ue[S.key]||S.key,Qe="";return $.indexOf("code.")>-1&&(ue=S.code,Qe="code."),!(null==ue||!ue)&&(ue=ue.toLowerCase()," "===ue?ue="space":"."===ue&&(ue="dot"),Ot.forEach(Mt=>{Mt!==ue&&(0,rt[Mt])(S)&&(Qe+=Mt+".")}),Qe+=ue,Qe===$)}static eventCallback(S,$,ue){return Qe=>{I.matchEventFullKeyCode(Qe,S)&&ue.runGuarded(()=>$(Qe))}}static _normalizeKey(S){return"esc"===S?"escape":S}}return I.\u0275fac=function(S){return new(S||I)(f.LFG(s.K0))},I.\u0275prov=f.Yz7({token:I,factory:I.\u0275fac}),I})();const bt=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:s.bD},{provide:f.g9A,useValue:function te(){W.makeCurrent()},multi:!0},{provide:s.K0,useFactory:function nt(){return(0,f.RDi)(document),document},deps:[]}]),Pt=new f.OlP(""),yn=[{provide:f.rWj,useClass:class G{addToWindow(C){f.dqk.getAngularTestability=($,ue=!0)=>{const Qe=C.findTestabilityInTree($,ue);if(null==Qe)throw new Error("Could not find testability for element.");return Qe},f.dqk.getAllAngularTestabilities=()=>C.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>C.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push($=>{const ue=f.dqk.getAllAngularTestabilities();let Qe=ue.length,Mt=!1;const Mn=function(In){Mt=Mt||In,Qe--,0==Qe&&$(Mt)};ue.forEach(function(In){In.whenStable(Mn)})})}findTestabilityInTree(C,S,$){return null==S?null:C.getTestability(S)??($?(0,s.q)().isShadowRoot(S)?this.findTestabilityInTree(C,S.host,!0):this.findTestabilityInTree(C,S.parentElement,!0):null)}},deps:[]},{provide:f.lri,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]}],Yt=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function Xe(){return new f.qLn},deps:[]},{provide:Me,useClass:Rt,multi:!0,deps:[s.K0,f.R0b,f.Lbi]},{provide:Me,useClass:fe,multi:!0,deps:[s.K0]},{provide:xe,useClass:xe,deps:[Ve,Fe,f.AFp]},{provide:f.FYo,useExisting:xe},{provide:Ae,useExisting:Fe},{provide:Fe,useClass:Fe,deps:[s.K0]},{provide:Ve,useClass:Ve,deps:[Me,f.R0b]},{provide:s.JF,useClass:Ie,deps:[]},[]];let Tt=(()=>{class I{constructor(S){}static withServerTransition(S){return{ngModule:I,providers:[{provide:f.AFp,useValue:S.appId},{provide:Q,useExisting:f.AFp},Y]}}}return I.\u0275fac=function(S){return new(S||I)(f.LFG(Pt,12))},I.\u0275mod=f.oAB({type:I}),I.\u0275inj=f.cJS({providers:[...Yt,...yn],imports:[s.ez,f.hGG]}),I})(),wn=(()=>{class I{constructor(S){this._doc=S}getTitle(){return this._doc.title}setTitle(S){this._doc.title=S||""}}return I.\u0275fac=function(S){return new(S||I)(f.LFG(s.K0))},I.\u0275prov=f.Yz7({token:I,factory:function(S){let $=null;return $=S?new S:function bn(){return new wn((0,f.LFG)(s.K0))}(),$},providedIn:"root"}),I})();typeof window<"u"&&window;let ct=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=f.Yz7({token:I,factory:function(S){let $=null;return $=S?new(S||I):f.LFG(Kt),$},providedIn:"root"}),I})(),Kt=(()=>{class I extends ct{constructor(S){super(),this._doc=S}sanitize(S,$){if(null==$)return null;switch(S){case f.q3G.NONE:return $;case f.q3G.HTML:return(0,f.qzn)($,"HTML")?(0,f.z3N)($):(0,f.EiD)(this._doc,String($)).toString();case f.q3G.STYLE:return(0,f.qzn)($,"Style")?(0,f.z3N)($):$;case f.q3G.SCRIPT:if((0,f.qzn)($,"Script"))return(0,f.z3N)($);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.qzn)($,"URL")?(0,f.z3N)($):(0,f.mCW)(String($));case f.q3G.RESOURCE_URL:if((0,f.qzn)($,"ResourceURL"))return(0,f.z3N)($);throw new Error(`unsafe value used in a resource URL context (see ${f.JZr})`);default:throw new Error(`Unexpected SecurityContext ${S} (see ${f.JZr})`)}}bypassSecurityTrustHtml(S){return(0,f.JVY)(S)}bypassSecurityTrustStyle(S){return(0,f.L6k)(S)}bypassSecurityTrustScript(S){return(0,f.eBb)(S)}bypassSecurityTrustUrl(S){return(0,f.LAX)(S)}bypassSecurityTrustResourceUrl(S){return(0,f.pB0)(S)}}return I.\u0275fac=function(S){return new(S||I)(f.LFG(s.K0))},I.\u0275prov=f.Yz7({token:I,factory:function(S){let $=null;return $=S?new S:function zt(I){return new Kt(I.get(s.K0))}(f.LFG(f.zs3)),$},providedIn:"root"}),I})()},284:(at,be,v)=>{v.d(be,{gz:()=>Mi,m2:()=>gn,F0:()=>ur,rH:()=>a,Od:()=>l,Bz:()=>Qt,lC:()=>rr});var s=v(4650),f=v(8996),F=v(9646),W=v(1135),X=v(6805),J=v(9841),ie=v(7272),q=v(9770),Q=v(9635),j=v(2843),Y=v(9751),G=v(515),Ie=v(727),Me=v(4482),Ve=v(5403);function Ke(){return(0,Me.e)((d,h)=>{let c=null;d._refCount++;const m=(0,Ve.x)(h,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(c=null);const w=d._connection,L=c;c=null,w&&(!L||w===L)&&w.unsubscribe(),h.unsubscribe()});d.subscribe(m),m.closed||(c=d.connect())})}class Ae extends Y.y{constructor(h,c){super(),this.source=h,this.subjectFactory=c,this._subject=null,this._refCount=0,this._connection=null,(0,Me.A)(h)&&(this.lift=h.lift)}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:h}=this;this._subject=this._connection=null,h?.unsubscribe()}connect(){let h=this._connection;if(!h){h=this._connection=new Ie.w0;const c=this.getSubject();h.add(this.source.subscribe((0,Ve.x)(c,void 0,()=>{this._teardown(),c.complete()},m=>{this._teardown(),c.error(m)},()=>this._teardown()))),h.closed&&(this._connection=null,h=Ie.w0.EMPTY)}return h}refCount(){return Ke()(this)}}var Fe=v(7579),Pe=v(6895),ve=v(4004),De=v(3900),H=v(5698),le=v(8675),ce=v(9300),ge=v(5577),se=v(590),pe=v(4351),Z=v(8505),oe=v(262),xe=v(5026);function ye(d){return d<=0?()=>G.E:(0,Me.e)((h,c)=>{let m=[];h.subscribe((0,Ve.x)(c,w=>{m.push(w),d<m.length&&m.shift()},()=>{for(const w of m)c.next(w);c.complete()},void 0,()=>{m=null}))})}var We=v(8068),Je=v(6590),mt=v(4671);function Wt(d,h){const c=arguments.length>=2;return m=>m.pipe(d?(0,ce.h)((w,L)=>d(w,L,m)):mt.y,ye(1),c?(0,Je.d)(h):(0,We.T)(()=>new X.K))}var Xt=v(2529),Ot=v(8746),Ue=v(8189),rt=v(1481);const fe="primary",Le=Symbol("RouteTitle");class lt{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const c=this.params[h];return Array.isArray(c)?c[0]:c}return null}getAll(h){if(this.has(h)){const c=this.params[h];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function $t(d){return new lt(d)}function Ye(d,h,c){const m=c.path.split("/");if(m.length>d.length||"full"===c.pathMatch&&(h.hasChildren()||m.length<d.length))return null;const w={};for(let L=0;L<m.length;L++){const V=m[L],Re=d[L];if(V.startsWith(":"))w[V.substring(1)]=Re;else if(V!==Re.path)return null}return{consumed:d.slice(0,m.length),posParams:w}}function te(d,h){const c=d?Object.keys(d):void 0,m=h?Object.keys(h):void 0;if(!c||!m||c.length!=m.length)return!1;let w;for(let L=0;L<c.length;L++)if(w=c[L],!Xe(d[w],h[w]))return!1;return!0}function Xe(d,h){if(Array.isArray(d)&&Array.isArray(h)){if(d.length!==h.length)return!1;const c=[...d].sort(),m=[...h].sort();return c.every((w,L)=>m[L]===w)}return d===h}function nt(d){return Array.prototype.concat.apply([],d)}function wt(d){return d.length>0?d[d.length-1]:null}function Pt(d,h){for(const c in d)d.hasOwnProperty(c)&&h(d[c],c)}function yn(d){return(0,s.CqO)(d)?d:(0,s.QGY)(d)?(0,f.D)(Promise.resolve(d)):(0,F.of)(d)}const Yt=!1,Tt={exact:function bn(d,h,c){if(!Ne(d.segments,h.segments)||!Nt(d.segments,h.segments,c)||d.numberOfChildren!==h.numberOfChildren)return!1;for(const m in h.children)if(!d.children[m]||!bn(d.children[m],h.children[m],c))return!1;return!0},subset:Hn},Ft={exact:function $n(d,h){return te(d,h)},subset:function wn(d,h){return Object.keys(h).length<=Object.keys(d).length&&Object.keys(h).every(c=>Xe(d[c],h[c]))},ignored:()=>!0};function sn(d,h,c){return Tt[c.paths](d.root,h.root,c.matrixParams)&&Ft[c.queryParams](d.queryParams,h.queryParams)&&!("exact"===c.fragment&&d.fragment!==h.fragment)}function Hn(d,h,c){return Ut(d,h,h.segments,c)}function Ut(d,h,c,m){if(d.segments.length>c.length){const w=d.segments.slice(0,c.length);return!(!Ne(w,c)||h.hasChildren()||!Nt(w,c,m))}if(d.segments.length===c.length){if(!Ne(d.segments,c)||!Nt(d.segments,c,m))return!1;for(const w in h.children)if(!d.children[w]||!Hn(d.children[w],h.children[w],m))return!1;return!0}{const w=c.slice(0,d.segments.length),L=c.slice(d.segments.length);return!!(Ne(d.segments,w)&&Nt(d.segments,w,m)&&d.children[fe])&&Ut(d.children[fe],h,L,m)}}function Nt(d,h,c){return h.every((m,w)=>Ft[c](d[w].parameters,m.parameters))}class pt{constructor(h=new Bt([],{}),c={},m=null){this.root=h,this.queryParams=c,this.fragment=m}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$t(this.queryParams)),this._queryParamMap}toString(){return Qn.serialize(this)}}class Bt{constructor(h,c){this.segments=h,this.children=c,this.parent=null,Pt(c,(m,w)=>m.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ht(this)}}class Ge{constructor(h,c){this.path=h,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=$t(this.parameters)),this._parameterMap}toString(){return Ce(this)}}function Ne(d,h){return d.length===h.length&&d.every((c,m)=>c.path===h[m].path)}let Vt=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return new kt},providedIn:"root"}),d})();class kt{parse(h){const c=new Ee(h);return new pt(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(h){const c=`/${An(h.root,!0)}`,m=function K(d){const h=Object.keys(d).map(c=>{const m=d[c];return Array.isArray(m)?m.map(w=>`${ft(c)}=${ft(w)}`).join("&"):`${ft(c)}=${ft(m)}`}).filter(c=>!!c);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${c}${m}${"string"==typeof h.fragment?`#${function re(d){return encodeURI(d)}(h.fragment)}`:""}`}}const Qn=new kt;function Ht(d){return d.segments.map(h=>Ce(h)).join("/")}function An(d,h){if(!d.hasChildren())return Ht(d);if(h){const c=d.children[fe]?An(d.children[fe],!1):"",m=[];return Pt(d.children,(w,L)=>{L!==fe&&m.push(`${L}:${An(w,!1)}`)}),m.length>0?`${c}(${m.join("//")})`:c}{const c=function qe(d,h){let c=[];return Pt(d.children,(m,w)=>{w===fe&&(c=c.concat(h(m,w)))}),Pt(d.children,(m,w)=>{w!==fe&&(c=c.concat(h(m,w)))}),c}(d,(m,w)=>w===fe?[An(d.children[fe],!1)]:[`${w}:${An(m,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[fe]?`${Ht(d)}/${c[0]}`:`${Ht(d)}/(${c.join("//")})`}}function Xn(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ft(d){return Xn(d).replace(/%3B/gi,";")}function N(d){return Xn(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function M(d){return decodeURIComponent(d)}function R(d){return M(d.replace(/\+/g,"%20"))}function Ce(d){return`${N(d.path)}${function B(d){return Object.keys(d).map(h=>`;${N(h)}=${N(d[h])}`).join("")}(d.parameters)}`}const he=/^[^\/()?;=#]+/;function je(d){const h=d.match(he);return h?h[0]:""}const Te=/^[^=?&#]+/,zt=/^[^&#]+/;class Ee{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Bt([],{}):new Bt([],this.parseChildren())}parseQueryParams(){const h={};if(this.consumeOptional("?"))do{this.parseQueryParam(h)}while(this.consumeOptional("&"));return h}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const h=[];for(this.peekStartsWith("(")||h.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),h.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let m={};return this.peekStartsWith("(")&&(m=this.parseParens(!1)),(h.length>0||Object.keys(c).length>0)&&(m[fe]=new Bt(h,c)),m}parseSegment(){const h=je(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new s.vHH(4009,Yt);return this.capture(h),new Ge(M(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const c=je(this.remaining);if(!c)return;this.capture(c);let m="";if(this.consumeOptional("=")){const w=je(this.remaining);w&&(m=w,this.capture(m))}h[M(c)]=M(m)}parseQueryParam(h){const c=function ct(d){const h=d.match(Te);return h?h[0]:""}(this.remaining);if(!c)return;this.capture(c);let m="";if(this.consumeOptional("=")){const V=function Kt(d){const h=d.match(zt);return h?h[0]:""}(this.remaining);V&&(m=V,this.capture(m))}const w=R(c),L=R(m);if(h.hasOwnProperty(w)){let V=h[w];Array.isArray(V)||(V=[V],h[w]=V),V.push(L)}else h[w]=L}parseParens(h){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const m=je(this.remaining),w=this.remaining[m.length];if("/"!==w&&")"!==w&&";"!==w)throw new s.vHH(4010,Yt);let L;m.indexOf(":")>-1?(L=m.slice(0,m.indexOf(":")),this.capture(L),this.capture(":")):h&&(L=fe);const V=this.parseChildren();c[L]=1===Object.keys(V).length?V[fe]:new Bt([],V),this.consumeOptional("//")}return c}peekStartsWith(h){return this.remaining.startsWith(h)}consumeOptional(h){return!!this.peekStartsWith(h)&&(this.remaining=this.remaining.substring(h.length),!0)}capture(h){if(!this.consumeOptional(h))throw new s.vHH(4011,Yt)}}function I(d){return d.segments.length>0?new Bt([],{[fe]:d}):d}function C(d){const h={};for(const m of Object.keys(d.children)){const L=C(d.children[m]);(L.segments.length>0||L.hasChildren())&&(h[m]=L)}return function S(d){if(1===d.numberOfChildren&&d.children[fe]){const h=d.children[fe];return new Bt(d.segments.concat(h.segments),h.children)}return d}(new Bt(d.segments,h))}function $(d){return d instanceof pt}function In(d,h,c,m,w){if(0===c.length)return qr(h.root,h.root,h.root,m,w);const L=function Ui(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new oo(!0,0,d);let h=0,c=!1;const m=d.reduce((w,L,V)=>{if("object"==typeof L&&null!=L){if(L.outlets){const Re={};return Pt(L.outlets,(st,Ct)=>{Re[Ct]="string"==typeof st?st.split("/"):st}),[...w,{outlets:Re}]}if(L.segmentPath)return[...w,L.segmentPath]}return"string"!=typeof L?[...w,L]:0===V?(L.split("/").forEach((Re,st)=>{0==st&&"."===Re||(0==st&&""===Re?c=!0:".."===Re?h++:""!=Re&&w.push(Re))}),w):[...w,L]},[]);return new oo(c,h,m)}(c);return L.toRoot()?qr(h.root,h.root,new Bt([],{}),m,w):function V(st){const Ct=function Dn(d,h,c,m){if(d.isAbsolute)return new Hr(h.root,!0,0);if(-1===m)return new Hr(c,c===h.root,0);return function Ln(d,h,c){let m=d,w=h,L=c;for(;L>w;){if(L-=w,m=m.parent,!m)throw new s.vHH(4005,!1);w=m.segments.length}return new Hr(m,!1,w-L)}(c,m+(Cr(d.commands[0])?0:1),d.numberOfDoubleDots)}(L,h,d.snapshot?._urlSegment,st),Lt=Ct.processChildren?tr(Ct.segmentGroup,Ct.index,L.commands):er(Ct.segmentGroup,Ct.index,L.commands);return qr(h.root,Ct.segmentGroup,Lt,m,w)}(d.snapshot?._lastPathIndex)}function Cr(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function On(d){return"object"==typeof d&&null!=d&&d.outlets}function qr(d,h,c,m,w){let V,L={};m&&Pt(m,(st,Ct)=>{L[Ct]=Array.isArray(st)?st.map(Lt=>`${Lt}`):`${st}`}),V=d===h?c:si(d,h,c);const Re=I(C(V));return new pt(Re,L,w)}function si(d,h,c){const m={};return Pt(d.children,(w,L)=>{m[L]=w===h?c:si(w,h,c)}),new Bt(d.segments,m)}class oo{constructor(h,c,m){if(this.isAbsolute=h,this.numberOfDoubleDots=c,this.commands=m,h&&m.length>0&&Cr(m[0]))throw new s.vHH(4003,!1);const w=m.find(On);if(w&&w!==wt(m))throw new s.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Hr{constructor(h,c,m){this.segmentGroup=h,this.processChildren=c,this.index=m}}function er(d,h,c){if(d||(d=new Bt([],{})),0===d.segments.length&&d.hasChildren())return tr(d,h,c);const m=function Ir(d,h,c){let m=0,w=h;const L={match:!1,pathIndex:0,commandIndex:0};for(;w<d.segments.length;){if(m>=c.length)return L;const V=d.segments[w],Re=c[m];if(On(Re))break;const st=`${Re}`,Ct=m<c.length-1?c[m+1]:null;if(w>0&&void 0===st)break;if(st&&Ct&&"object"==typeof Ct&&void 0===Ct.outlets){if(!fr(st,Ct,V))return L;m+=2}else{if(!fr(st,{},V))return L;m++}w++}return{match:!0,pathIndex:w,commandIndex:m}}(d,h,c),w=c.slice(m.commandIndex);if(m.match&&m.pathIndex<d.segments.length){const L=new Bt(d.segments.slice(0,m.pathIndex),{});return L.children[fe]=new Bt(d.segments.slice(m.pathIndex),d.children),tr(L,0,w)}return m.match&&0===w.length?new Bt(d.segments,{}):m.match&&!d.hasChildren()?Et(d,h,c):m.match?tr(d,0,w):Et(d,h,c)}function tr(d,h,c){if(0===c.length)return new Bt(d.segments,{});{const m=function dr(d){return On(d[0])?d[0].outlets:{[fe]:d}}(c),w={};return Pt(m,(L,V)=>{"string"==typeof L&&(L=[L]),null!==L&&(w[V]=er(d.children[V],h,L))}),Pt(d.children,(L,V)=>{void 0===m[V]&&(w[V]=L)}),new Bt(d.segments,w)}}function Et(d,h,c){const m=d.segments.slice(0,h);let w=0;for(;w<c.length;){const L=c[w];if(On(L)){const st=Jt(L.outlets);return new Bt(m,st)}if(0===w&&Cr(c[0])){m.push(new Ge(d.segments[h].path,Vn(c[0]))),w++;continue}const V=On(L)?L.outlets[fe]:`${L}`,Re=w<c.length-1?c[w+1]:null;V&&Re&&Cr(Re)?(m.push(new Ge(V,Vn(Re))),w+=2):(m.push(new Ge(V,{})),w++)}return new Bt(m,{})}function Jt(d){const h={};return Pt(d,(c,m)=>{"string"==typeof c&&(c=[c]),null!==c&&(h[m]=Et(new Bt([],{}),0,c))}),h}function Vn(d){const h={};return Pt(d,(c,m)=>h[m]=`${c}`),h}function fr(d,h,c){return d==c.path&&te(h,c.parameters)}const wr="imperative";class Pn{constructor(h,c){this.id=h,this.url=c}}class _r extends Pn{constructor(h,c,m="imperative",w=null){super(h,c),this.type=0,this.navigationTrigger=m,this.restoredState=w}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class gn extends Pn{constructor(h,c,m){super(h,c),this.urlAfterRedirects=m,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Or extends Pn{constructor(h,c,m,w){super(h,c),this.reason=m,this.code=w,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Tr extends Pn{constructor(h,c,m,w){super(h,c),this.reason=m,this.code=w,this.type=16}}class an extends Pn{constructor(h,c,m,w){super(h,c),this.error=m,this.target=w,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ci extends Pn{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wi extends Pn{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ji extends Pn{constructor(h,c,m,w,L){super(h,c),this.urlAfterRedirects=m,this.state=w,this.shouldActivate=L,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nr extends Pn{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hr extends Pn{constructor(h,c,m,w){super(h,c),this.urlAfterRedirects=m,this.state=w,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gi{constructor(h){this.route=h,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fi{constructor(h){this.route=h,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Mr{constructor(h){this.snapshot=h,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hi{constructor(h){this.snapshot=h,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $i{constructor(h){this.snapshot=h,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bn{constructor(h){this.snapshot=h,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pr{constructor(h,c,m){this.routerEvent=h,this.position=c,this.anchor=m,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Pr=(()=>{class d{createUrlTree(c,m,w,L,V,Re){return In(c||m.root,w,L,V,Re)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),d})(),gr=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(h){return Pr.\u0275fac(h)},providedIn:"root"}),d})();class yr{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const c=this.pathFromRoot(h);return c.length>1?c[c.length-2]:null}children(h){const c=po(h,this._root);return c?c.children.map(m=>m.value):[]}firstChild(h){const c=po(h,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(h){const c=vr(h,this._root);return c.length<2?[]:c[c.length-2].children.map(w=>w.value).filter(w=>w!==h)}pathFromRoot(h){return vr(h,this._root).map(c=>c.value)}}function po(d,h){if(d===h.value)return h;for(const c of h.children){const m=po(d,c);if(m)return m}return null}function vr(d,h){if(d===h.value)return[h];for(const c of h.children){const m=vr(d,c);if(m.length)return m.unshift(h),m}return[]}class Wn{constructor(h,c){this.value=h,this.children=c}toString(){return`TreeNode(${this.value})`}}function ei(d){const h={};return d&&d.children.forEach(c=>h[c.value.outlet]=c),h}class Vi extends yr{constructor(h,c){super(h),this.snapshot=c,Wi(this,h)}toString(){return this.snapshot.toString()}}function zi(d,h){const c=function Rr(d,h){const V=new Si([],{},{},"",{},fe,h,null,d.root,-1,{});return new Gi("",new Wn(V,[]))}(d,h),m=new W.X([new Ge("",{})]),w=new W.X({}),L=new W.X({}),V=new W.X({}),Re=new W.X(""),st=new Mi(m,w,V,Re,L,fe,h,c.root);return st.snapshot=c.root,new Vi(new Wn(st,[]),c)}class Mi{constructor(h,c,m,w,L,V,Re,st){this.url=h,this.params=c,this.queryParams=m,this.fragment=w,this.data=L,this.outlet=V,this.component=Re,this.title=this.data?.pipe((0,ve.U)(Ct=>Ct[Le]))??(0,F.of)(void 0),this._futureSnapshot=st}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ve.U)(h=>$t(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ve.U)(h=>$t(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function go(d,h="emptyOnly"){const c=d.pathFromRoot;let m=0;if("always"!==h)for(m=c.length-1;m>=1;){const w=c[m],L=c[m-1];if(w.routeConfig&&""===w.routeConfig.path)m--;else{if(L.component)break;m--}}return function Fr(d){return d.reduce((h,c)=>({params:{...h.params,...c.params},data:{...h.data,...c.data},resolve:{...c.data,...h.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(m))}class Si{get title(){return this.data?.[Le]}constructor(h,c,m,w,L,V,Re,st,Ct,Lt,Cn){this.url=h,this.params=c,this.queryParams=m,this.fragment=w,this.data=L,this.outlet=V,this.component=Re,this.routeConfig=st,this._urlSegment=Ct,this._lastPathIndex=Lt,this._resolve=Cn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=$t(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$t(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(m=>m.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Gi extends yr{constructor(h,c){super(c),this.url=h,Wi(this,c)}toString(){return mo(this._root)}}function Wi(d,h){h.value._routerState=d,h.children.forEach(c=>Wi(d,c))}function mo(d){const h=d.children.length>0?` { ${d.children.map(mo).join(", ")} } `:"";return`${d.value}${h}`}function yo(d){if(d.snapshot){const h=d.snapshot,c=d._futureSnapshot;d.snapshot=c,te(h.queryParams,c.queryParams)||d.queryParams.next(c.queryParams),h.fragment!==c.fragment&&d.fragment.next(c.fragment),te(h.params,c.params)||d.params.next(c.params),function At(d,h){if(d.length!==h.length)return!1;for(let c=0;c<d.length;++c)if(!te(d[c],h[c]))return!1;return!0}(h.url,c.url)||d.url.next(c.url),te(h.data,c.data)||d.data.next(c.data)}else d.snapshot=d._futureSnapshot,d.data.next(d._futureSnapshot.data)}function So(d,h){const c=te(d.params,h.params)&&function yt(d,h){return Ne(d,h)&&d.every((c,m)=>te(c.parameters,h[m].parameters))}(d.url,h.url);return c&&!(!d.parent!=!h.parent)&&(!d.parent||So(d.parent,h.parent))}function xi(d,h,c){if(c&&d.shouldReuseRoute(h.value,c.value.snapshot)){const m=c.value;m._futureSnapshot=h.value;const w=function ti(d,h,c){return h.children.map(m=>{for(const w of c.children)if(d.shouldReuseRoute(m.value,w.value.snapshot))return xi(d,m,w);return xi(d,m)})}(d,h,c);return new Wn(m,w)}{if(d.shouldAttach(h.value)){const L=d.retrieve(h.value);if(null!==L){const V=L.route;return V.value._futureSnapshot=h.value,V.children=h.children.map(Re=>xi(d,Re)),V}}const m=function _e(d){return new Mi(new W.X(d.url),new W.X(d.params),new W.X(d.queryParams),new W.X(d.fragment),new W.X(d.data),d.outlet,d.component,d)}(h.value),w=h.children.map(L=>xi(d,L));return new Wn(m,w)}}const we="ngNavigationCancelingError";function Be(d,h){const{redirectTo:c,navigationBehaviorOptions:m}=$(h)?{redirectTo:h,navigationBehaviorOptions:void 0}:h,w=tt(!1,0,h);return w.url=c,w.navigationBehaviorOptions=m,w}function tt(d,h,c){const m=new Error("NavigationCancelingError: "+(d||""));return m[we]=!0,m.cancellationCode=h,c&&(m.url=c),m}function dt(d){return _t(d)&&$(d.url)}function _t(d){return d&&d[we]}class qt{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new jn,this.attachRef=null}}let jn=(()=>{class d{constructor(){this.contexts=new Map}onChildOutletCreated(c,m){const w=this.getOrCreateContext(c);w.outlet=m,this.contexts.set(c,w)}onChildOutletDestroyed(c){const m=this.getContext(c);m&&(m.outlet=null,m.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let m=this.getContext(c);return m||(m=new qt,this.contexts.set(c,m)),m}getContext(c){return this.contexts.get(c)||null}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const ln=!1;let rr=(()=>{class d{constructor(){this.activated=null,this._activatedRoute=null,this.name=fe,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.attachEvents=new s.vpe,this.detachEvents=new s.vpe,this.parentContexts=(0,s.f3M)(jn),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb)}ngOnChanges(c){if(c.name){const{firstChange:m,previousValue:w}=c.name;if(m)return;this.isTrackedInParentContexts(w)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(w)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(c){return this.parentContexts.getContext(c)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const c=this.parentContexts.getContext(this.name);c?.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.vHH(4012,ln);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,ln);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,ln);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,m){this.activated=c,this._activatedRoute=m,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,m){if(this.isActivated)throw new s.vHH(4013,ln);this._activatedRoute=c;const w=this.location,V=c.snapshot.component,Re=this.parentContexts.getOrCreateContext(this.name).children,st=new Nr(c,Re,w.injector);if(m&&function Ai(d){return!!d.resolveComponentFactory}(m)){const Ct=m.resolveComponentFactory(V);this.activated=w.createComponent(Ct,w.length,st)}else this.activated=w.createComponent(V,{index:w.length,injector:st,environmentInjector:m??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275dir=s.lG2({type:d,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[s.TTD]}),d})();class Nr{constructor(h,c,m){this.route=h,this.childContexts=c,this.parent=m}get(h,c){return h===Mi?this.route:h===jn?this.childContexts:this.parent.get(h,c)}}let ai=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275cmp=s.Xpm({type:d,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(c,m){1&c&&s._UZ(0,"router-outlet")},dependencies:[rr],encapsulation:2}),d})();function li(d,h){return d.providers&&!d._injector&&(d._injector=(0,s.MMx)(d.providers,h,`Route: ${d.path}`)),d._injector??h}function ri(d){const h=d.children&&d.children.map(ri),c=h?{...d,children:h}:{...d};return!c.component&&!c.loadComponent&&(h||c.loadChildren)&&c.outlet&&c.outlet!==fe&&(c.component=ai),c}function Rn(d){return d.outlet||fe}function xo(d,h){const c=d.filter(m=>Rn(m)===h);return c.push(...d.filter(m=>Rn(m)!==h)),c}function Zr(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let h=d.parent;h;h=h.parent){const c=h.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class ao{constructor(h,c,m,w){this.routeReuseStrategy=h,this.futureState=c,this.currState=m,this.forwardEvent=w}activate(h){const c=this.futureState._root,m=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,m,h),yo(this.futureState.root),this.activateChildRoutes(c,m,h)}deactivateChildRoutes(h,c,m){const w=ei(c);h.children.forEach(L=>{const V=L.value.outlet;this.deactivateRoutes(L,w[V],m),delete w[V]}),Pt(w,(L,V)=>{this.deactivateRouteAndItsChildren(L,m)})}deactivateRoutes(h,c,m){const w=h.value,L=c?c.value:null;if(w===L)if(w.component){const V=m.getContext(w.outlet);V&&this.deactivateChildRoutes(h,c,V.children)}else this.deactivateChildRoutes(h,c,m);else L&&this.deactivateRouteAndItsChildren(c,m)}deactivateRouteAndItsChildren(h,c){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,c):this.deactivateRouteAndOutlet(h,c)}detachAndStoreRouteSubtree(h,c){const m=c.getContext(h.value.outlet),w=m&&h.value.component?m.children:c,L=ei(h);for(const V of Object.keys(L))this.deactivateRouteAndItsChildren(L[V],w);if(m&&m.outlet){const V=m.outlet.detach(),Re=m.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:V,route:h,contexts:Re})}}deactivateRouteAndOutlet(h,c){const m=c.getContext(h.value.outlet),w=m&&h.value.component?m.children:c,L=ei(h);for(const V of Object.keys(L))this.deactivateRouteAndItsChildren(L[V],w);m&&m.outlet&&(m.outlet.deactivate(),m.children.onOutletDeactivated(),m.attachRef=null,m.resolver=null,m.route=null)}activateChildRoutes(h,c,m){const w=ei(c);h.children.forEach(L=>{this.activateRoutes(L,w[L.value.outlet],m),this.forwardEvent(new Bn(L.value.snapshot))}),h.children.length&&this.forwardEvent(new hi(h.value.snapshot))}activateRoutes(h,c,m){const w=h.value,L=c?c.value:null;if(yo(w),w===L)if(w.component){const V=m.getOrCreateContext(w.outlet);this.activateChildRoutes(h,c,V.children)}else this.activateChildRoutes(h,c,m);else if(w.component){const V=m.getOrCreateContext(w.outlet);if(this.routeReuseStrategy.shouldAttach(w.snapshot)){const Re=this.routeReuseStrategy.retrieve(w.snapshot);this.routeReuseStrategy.store(w.snapshot,null),V.children.onOutletReAttached(Re.contexts),V.attachRef=Re.componentRef,V.route=Re.route.value,V.outlet&&V.outlet.attach(Re.componentRef,Re.route.value),yo(Re.route.value),this.activateChildRoutes(h,null,V.children)}else{const Re=Zr(w.snapshot),st=Re?.get(s._Vd)??null;V.attachRef=null,V.route=w,V.resolver=st,V.injector=Re,V.outlet&&V.outlet.activateWith(w,V.injector),this.activateChildRoutes(h,null,V.children)}}else this.activateChildRoutes(h,null,m)}}class Yi{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class Qr{constructor(h,c){this.component=h,this.route=c}}function kr(d,h,c){const m=d._root;return Ao(m,h?h._root:null,c,[m.value])}function yi(d,h){const c=Symbol(),m=h.get(d,c);return m===c?"function"!=typeof d||(0,s.Z0I)(d)?h.get(d):d:m}function Ao(d,h,c,m,w={canDeactivateChecks:[],canActivateChecks:[]}){const L=ei(h);return d.children.forEach(V=>{(function ci(d,h,c,m,w={canDeactivateChecks:[],canActivateChecks:[]}){const L=d.value,V=h?h.value:null,Re=c?c.getContext(d.value.outlet):null;if(V&&L.routeConfig===V.routeConfig){const st=function Jo(d,h,c){if("function"==typeof c)return c(d,h);switch(c){case"pathParamsChange":return!Ne(d.url,h.url);case"pathParamsOrQueryParamsChange":return!Ne(d.url,h.url)||!te(d.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!So(d,h)||!te(d.queryParams,h.queryParams);default:return!So(d,h)}}(V,L,L.routeConfig.runGuardsAndResolvers);st?w.canActivateChecks.push(new Yi(m)):(L.data=V.data,L._resolvedData=V._resolvedData),Ao(d,h,L.component?Re?Re.children:null:c,m,w),st&&Re&&Re.outlet&&Re.outlet.isActivated&&w.canDeactivateChecks.push(new Qr(Re.outlet.component,V))}else V&&_i(h,Re,w),w.canActivateChecks.push(new Yi(m)),Ao(d,null,L.component?Re?Re.children:null:c,m,w)})(V,L[V.value.outlet],c,m.concat([V.value]),w),delete L[V.value.outlet]}),Pt(L,(V,Re)=>_i(V,c.getContext(Re),w)),w}function _i(d,h,c){const m=ei(d),w=d.value;Pt(m,(L,V)=>{_i(L,w.component?h?h.children.getContext(V):null:h,c)}),c.canDeactivateChecks.push(new Qr(w.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,w))}function en(d){return"function"==typeof d}function et(d){return d instanceof X.K||"EmptyError"===d?.name}const mn=Symbol("INITIAL_VALUE");function Zi(){return(0,De.w)(d=>(0,J.a)(d.map(h=>h.pipe((0,H.q)(1),(0,le.O)(mn)))).pipe((0,ve.U)(h=>{for(const c of h)if(!0!==c){if(c===mn)return mn;if(!1===c||c instanceof pt)return c}return!0}),(0,ce.h)(h=>h!==mn),(0,H.q)(1)))}function Qi(d){return(0,Q.z)((0,Z.b)(h=>{if($(h))throw Be(0,h)}),(0,ve.U)(h=>!0===h))}const zn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function vi(d,h,c,m,w){const L=Vr(d,h,c);return L.matched?function xr(d,h,c,m){const w=h.canMatch;if(!w||0===w.length)return(0,F.of)(!0);const L=w.map(V=>{const Re=yi(V,d);return yn(function es(d){return d&&en(d.canMatch)}(Re)?Re.canMatch(h,c):d.runInContext(()=>Re(h,c)))});return(0,F.of)(L).pipe(Zi(),Qi())}(m=li(h,m),h,c).pipe((0,ve.U)(V=>!0===V?L:{...zn})):(0,F.of)(L)}function Vr(d,h,c){if(""===h.path)return"full"===h.pathMatch&&(d.hasChildren()||c.length>0)?{...zn}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const w=(h.matcher||Ye)(c,d,h);if(!w)return{...zn};const L={};Pt(w.posParams,(Re,st)=>{L[st]=Re.path});const V=w.consumed.length>0?{...L,...w.consumed[w.consumed.length-1].parameters}:L;return{matched:!0,consumedSegments:w.consumed,remainingSegments:c.slice(w.consumed.length),parameters:V,positionalParamSegments:w.posParams??{}}}function zr(d,h,c,m){if(c.length>0&&function Ro(d,h,c){return c.some(m=>lo(d,h,m)&&Rn(m)!==fe)}(d,c,m)){const L=new Bt(h,function bo(d,h,c,m){const w={};w[fe]=m,m._sourceSegment=d,m._segmentIndexShift=h.length;for(const L of c)if(""===L.path&&Rn(L)!==fe){const V=new Bt([],{});V._sourceSegment=d,V._segmentIndexShift=h.length,w[Rn(L)]=V}return w}(d,h,m,new Bt(c,d.children)));return L._sourceSegment=d,L._segmentIndexShift=h.length,{segmentGroup:L,slicedSegments:[]}}if(0===c.length&&function ns(d,h,c){return c.some(m=>lo(d,h,m))}(d,c,m)){const L=new Bt(d.segments,function ts(d,h,c,m,w){const L={};for(const V of m)if(lo(d,c,V)&&!w[Rn(V)]){const Re=new Bt([],{});Re._sourceSegment=d,Re._segmentIndexShift=h.length,L[Rn(V)]=Re}return{...w,...L}}(d,h,c,m,d.children));return L._sourceSegment=d,L._segmentIndexShift=h.length,{segmentGroup:L,slicedSegments:c}}const w=new Bt(d.segments,d.children);return w._sourceSegment=d,w._segmentIndexShift=h.length,{segmentGroup:w,slicedSegments:c}}function lo(d,h,c){return(!(d.hasChildren()||h.length>0)||"full"!==c.pathMatch)&&""===c.path}function Ii(d,h,c,m){return!!(Rn(d)===m||m!==fe&&lo(h,c,d))&&("**"===d.path||Vr(h,d,c).matched)}function zo(d,h,c){return 0===h.length&&!d.children[c]}const Oi=!1;class Pi{constructor(h){this.segmentGroup=h||null}}class co{constructor(h){this.urlTree=h}}function ar(d){return(0,j._)(new Pi(d))}function Xi(d){return(0,j._)(new co(d))}class bs{constructor(h,c,m,w,L){this.injector=h,this.configLoader=c,this.urlSerializer=m,this.urlTree=w,this.config=L,this.allowRedirects=!0}apply(){const h=zr(this.urlTree.root,[],[],this.config).segmentGroup,c=new Bt(h.segments,h.children);return this.expandSegmentGroup(this.injector,this.config,c,fe).pipe((0,ve.U)(L=>this.createUrlTree(C(L),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,oe.K)(L=>{if(L instanceof co)return this.allowRedirects=!1,this.match(L.urlTree);throw L instanceof Pi?this.noMatchError(L):L}))}match(h){return this.expandSegmentGroup(this.injector,this.config,h.root,fe).pipe((0,ve.U)(w=>this.createUrlTree(C(w),h.queryParams,h.fragment))).pipe((0,oe.K)(w=>{throw w instanceof Pi?this.noMatchError(w):w}))}noMatchError(h){return new s.vHH(4002,Oi)}createUrlTree(h,c,m){const w=I(h);return new pt(w,c,m)}expandSegmentGroup(h,c,m,w){return 0===m.segments.length&&m.hasChildren()?this.expandChildren(h,c,m).pipe((0,ve.U)(L=>new Bt([],L))):this.expandSegment(h,m,c,m.segments,w,!0)}expandChildren(h,c,m){const w=[];for(const L of Object.keys(m.children))"primary"===L?w.unshift(L):w.push(L);return(0,f.D)(w).pipe((0,pe.b)(L=>{const V=m.children[L],Re=xo(c,L);return this.expandSegmentGroup(h,Re,V,L).pipe((0,ve.U)(st=>({segment:st,outlet:L})))}),(0,xe.R)((L,V)=>(L[V.outlet]=V.segment,L),{}),Wt())}expandSegment(h,c,m,w,L,V){return(0,f.D)(m).pipe((0,pe.b)(Re=>this.expandSegmentAgainstRoute(h,c,m,Re,w,L,V).pipe((0,oe.K)(Ct=>{if(Ct instanceof Pi)return(0,F.of)(null);throw Ct}))),(0,se.P)(Re=>!!Re),(0,oe.K)((Re,st)=>{if(et(Re))return zo(c,w,L)?(0,F.of)(new Bt([],{})):ar(c);throw Re}))}expandSegmentAgainstRoute(h,c,m,w,L,V,Re){return Ii(w,c,L,V)?void 0===w.redirectTo?this.matchSegmentAgainstRoute(h,c,w,L,V):Re&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,c,m,w,L,V):ar(c):ar(c)}expandSegmentAgainstRouteUsingRedirect(h,c,m,w,L,V){return"**"===w.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,m,w,V):this.expandRegularSegmentAgainstRouteUsingRedirect(h,c,m,w,L,V)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,c,m,w){const L=this.applyRedirectCommands([],m.redirectTo,{});return m.redirectTo.startsWith("/")?Xi(L):this.lineralizeSegments(m,L).pipe((0,ge.z)(V=>{const Re=new Bt(V,{});return this.expandSegment(h,Re,c,V,w,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,c,m,w,L,V){const{matched:Re,consumedSegments:st,remainingSegments:Ct,positionalParamSegments:Lt}=Vr(c,w,L);if(!Re)return ar(c);const Cn=this.applyRedirectCommands(st,w.redirectTo,Lt);return w.redirectTo.startsWith("/")?Xi(Cn):this.lineralizeSegments(w,Cn).pipe((0,ge.z)(Wr=>this.expandSegment(h,c,m,Wr.concat(Ct),V,!1)))}matchSegmentAgainstRoute(h,c,m,w,L){return"**"===m.path?(h=li(m,h),m.loadChildren?(m._loadedRoutes?(0,F.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):this.configLoader.loadChildren(h,m)).pipe((0,ve.U)(Re=>(m._loadedRoutes=Re.routes,m._loadedInjector=Re.injector,new Bt(w,{})))):(0,F.of)(new Bt(w,{}))):vi(c,m,w,h).pipe((0,De.w)(({matched:V,consumedSegments:Re,remainingSegments:st})=>V?this.getChildConfig(h=m._injector??h,m,w).pipe((0,ge.z)(Lt=>{const Cn=Lt.injector??h,Wr=Lt.routes,{segmentGroup:wo,slicedSegments:To}=zr(c,Re,st,Wr),Ei=new Bt(wo.segments,wo.children);if(0===To.length&&Ei.hasChildren())return this.expandChildren(Cn,Wr,Ei).pipe((0,ve.U)(rl=>new Bt(Re,rl)));if(0===Wr.length&&0===To.length)return(0,F.of)(new Bt(Re,{}));const ro=Rn(m)===L;return this.expandSegment(Cn,Ei,Wr,To,ro?fe:L,!0).pipe((0,ve.U)(ra=>new Bt(Re.concat(ra.segments),ra.children)))})):ar(c)))}getChildConfig(h,c,m){return c.children?(0,F.of)({routes:c.children,injector:h}):c.loadChildren?void 0!==c._loadedRoutes?(0,F.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function vs(d,h,c,m){const w=h.canLoad;if(void 0===w||0===w.length)return(0,F.of)(!0);const L=w.map(V=>{const Re=yi(V,d);return yn(function qo(d){return d&&en(d.canLoad)}(Re)?Re.canLoad(h,c):d.runInContext(()=>Re(h,c)))});return(0,F.of)(L).pipe(Zi(),Qi())}(h,c,m).pipe((0,ge.z)(w=>w?this.configLoader.loadChildren(h,c).pipe((0,Z.b)(L=>{c._loadedRoutes=L.routes,c._loadedInjector=L.injector})):function Ns(d){return(0,j._)(tt(Oi,3))}())):(0,F.of)({routes:[],injector:h})}lineralizeSegments(h,c){let m=[],w=c.root;for(;;){if(m=m.concat(w.segments),0===w.numberOfChildren)return(0,F.of)(m);if(w.numberOfChildren>1||!w.children[fe])return(0,j._)(new s.vHH(4e3,Oi));w=w.children[fe]}}applyRedirectCommands(h,c,m){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),h,m)}applyRedirectCreateUrlTree(h,c,m,w){const L=this.createSegmentGroup(h,c.root,m,w);return new pt(L,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(h,c){const m={};return Pt(h,(w,L)=>{if("string"==typeof w&&w.startsWith(":")){const Re=w.substring(1);m[L]=c[Re]}else m[L]=w}),m}createSegmentGroup(h,c,m,w){const L=this.createSegments(h,c.segments,m,w);let V={};return Pt(c.children,(Re,st)=>{V[st]=this.createSegmentGroup(h,Re,m,w)}),new Bt(L,V)}createSegments(h,c,m,w){return c.map(L=>L.path.startsWith(":")?this.findPosParam(h,L,w):this.findOrReturn(L,m))}findPosParam(h,c,m){const w=m[c.path.substring(1)];if(!w)throw new s.vHH(4001,Oi);return w}findOrReturn(h,c){let m=0;for(const w of c){if(w.path===h.path)return c.splice(m),w;m++}return h}}class Lr{}class Ds{constructor(h,c,m,w,L,V,Re){this.injector=h,this.rootComponentType=c,this.config=m,this.urlTree=w,this.url=L,this.paramsInheritanceStrategy=V,this.urlSerializer=Re}recognize(){const h=zr(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,h,fe).pipe((0,ve.U)(c=>{if(null===c)return null;const m=new Si([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},fe,this.rootComponentType,null,this.urlTree.root,-1,{}),w=new Wn(m,c),L=new Gi(this.url,w);return this.inheritParamsAndData(L._root),L}))}inheritParamsAndData(h){const c=h.value,m=go(c,this.paramsInheritanceStrategy);c.params=Object.freeze(m.params),c.data=Object.freeze(m.data),h.children.forEach(w=>this.inheritParamsAndData(w))}processSegmentGroup(h,c,m,w){return 0===m.segments.length&&m.hasChildren()?this.processChildren(h,c,m):this.processSegment(h,c,m,m.segments,w)}processChildren(h,c,m){return(0,f.D)(Object.keys(m.children)).pipe((0,pe.b)(w=>{const L=m.children[w],V=xo(c,w);return this.processSegmentGroup(h,V,L,w)}),(0,xe.R)((w,L)=>w&&L?(w.push(...L),w):null),(0,Xt.o)(w=>null!==w),(0,Je.d)(null),Wt(),(0,ve.U)(w=>{if(null===w)return null;const L=ws(w);return function rs(d){d.sort((h,c)=>h.value.outlet===fe?-1:c.value.outlet===fe?1:h.value.outlet.localeCompare(c.value.outlet))}(L),L}))}processSegment(h,c,m,w,L){return(0,f.D)(c).pipe((0,pe.b)(V=>this.processSegmentAgainstRoute(V._injector??h,V,m,w,L)),(0,se.P)(V=>!!V),(0,oe.K)(V=>{if(et(V))return zo(m,w,L)?(0,F.of)([]):(0,F.of)(null);throw V}))}processSegmentAgainstRoute(h,c,m,w,L){if(c.redirectTo||!Ii(c,m,w,L))return(0,F.of)(null);let V;if("**"===c.path){const Re=w.length>0?wt(w).parameters:{},st=g(m)+w.length,Ct=new Si(w,Re,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,_(c),Rn(c),c.component??c._loadedComponent??null,c,Eo(m),st,P(c));V=(0,F.of)({snapshot:Ct,consumedSegments:[],remainingSegments:[]})}else V=vi(m,c,w,h).pipe((0,ve.U)(({matched:Re,consumedSegments:st,remainingSegments:Ct,parameters:Lt})=>{if(!Re)return null;const Cn=g(m)+st.length;return{snapshot:new Si(st,Lt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,_(c),Rn(c),c.component??c._loadedComponent??null,c,Eo(m),Cn,P(c)),consumedSegments:st,remainingSegments:Ct}}));return V.pipe((0,De.w)(Re=>{if(null===Re)return(0,F.of)(null);const{snapshot:st,consumedSegments:Ct,remainingSegments:Lt}=Re;h=c._injector??h;const Cn=c._loadedInjector??h,Wr=function Dr(d){return d.children?d.children:d.loadChildren?d._loadedRoutes:[]}(c),{segmentGroup:wo,slicedSegments:To}=zr(m,Ct,Lt,Wr.filter(ro=>void 0===ro.redirectTo));if(0===To.length&&wo.hasChildren())return this.processChildren(Cn,Wr,wo).pipe((0,ve.U)(ro=>null===ro?null:[new Wn(st,ro)]));if(0===Wr.length&&0===To.length)return(0,F.of)([new Wn(st,[])]);const Ei=Rn(c)===L;return this.processSegment(Cn,Wr,wo,To,Ei?fe:L).pipe((0,ve.U)(ro=>null===ro?null:[new Wn(st,ro)]))}))}}function Cs(d){const h=d.value.routeConfig;return h&&""===h.path&&void 0===h.redirectTo}function ws(d){const h=[],c=new Set;for(const m of d){if(!Cs(m)){h.push(m);continue}const w=h.find(L=>m.value.routeConfig===L.value.routeConfig);void 0!==w?(w.children.push(...m.children),c.add(w)):h.push(m)}for(const m of c){const w=ws(m.children);h.push(new Wn(m.value,w))}return h.filter(m=>!c.has(m))}function Eo(d){let h=d;for(;h._sourceSegment;)h=h._sourceSegment;return h}function g(d){let h=d,c=h._segmentIndexShift??0;for(;h._sourceSegment;)h=h._sourceSegment,c+=h._segmentIndexShift??0;return c-1}function _(d){return d.data||{}}function P(d){return d.resolve||{}}function Fn(d){return"string"==typeof d.title||null===d.title}function pn(d){return(0,De.w)(h=>{const c=d(h);return c?(0,f.D)(c).pipe((0,ve.U)(()=>h)):(0,F.of)(h)})}const ir=new s.OlP("ROUTES");let pi=(()=>{class d{constructor(c,m){this.injector=c,this.compiler=m,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,F.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const m=yn(c.loadComponent()).pipe((0,ve.U)(Br),(0,Z.b)(L=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=L}),(0,Ot.x)(()=>{this.componentLoaders.delete(c)})),w=new Ae(m,()=>new Fe.x).pipe(Ke());return this.componentLoaders.set(c,w),w}loadChildren(c,m){if(this.childrenLoaders.get(m))return this.childrenLoaders.get(m);if(m._loadedRoutes)return(0,F.of)({routes:m._loadedRoutes,injector:m._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(m);const L=this.loadModuleFactoryOrRoutes(m.loadChildren).pipe((0,ve.U)(Re=>{this.onLoadEndListener&&this.onLoadEndListener(m);let st,Ct,Lt=!1;Array.isArray(Re)?Ct=Re:(st=Re.create(c).injector,Ct=nt(st.get(ir,[],s.XFs.Self|s.XFs.Optional)));return{routes:Ct.map(ri),injector:st}}),(0,Ot.x)(()=>{this.childrenLoaders.delete(m)})),V=new Ae(L,()=>new Fe.x).pipe(Ke());return this.childrenLoaders.set(m,V),V}loadModuleFactoryOrRoutes(c){return yn(c()).pipe((0,ve.U)(Br),(0,ge.z)(w=>w instanceof s.YKP||Array.isArray(w)?(0,F.of)(w):(0,f.D)(this.compiler.compileModuleAsync(w))))}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(s.zs3),s.LFG(s.Sil))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function Br(d){return function ii(d){return d&&"object"==typeof d&&"default"in d}(d)?d.default:d}let Ri=(()=>{class d{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Fe.x,this.configLoader=(0,s.f3M)(pi),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(Vt),this.rootContexts=(0,s.f3M)(jn),this.navigationId=0,this.afterPreactivation=()=>(0,F.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=w=>this.events.next(new fi(w)),this.configLoader.onLoadStartListener=w=>this.events.next(new gi(w))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const m=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:m})}setupNavigations(c){return this.transitions=new W.X({id:0,targetPageId:0,currentUrlTree:c.currentUrlTree,currentRawUrl:c.currentUrlTree,extractedUrl:c.urlHandlingStrategy.extract(c.currentUrlTree),urlAfterRedirects:c.urlHandlingStrategy.extract(c.currentUrlTree),rawUrl:c.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:wr,restoredState:null,currentSnapshot:c.routerState.snapshot,targetSnapshot:null,currentRouterState:c.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ce.h)(m=>0!==m.id),(0,ve.U)(m=>({...m,extractedUrl:c.urlHandlingStrategy.extract(m.rawUrl)})),(0,De.w)(m=>{let w=!1,L=!1;return(0,F.of)(m).pipe((0,Z.b)(V=>{this.currentNavigation={id:V.id,initialUrl:V.rawUrl,extractedUrl:V.extractedUrl,trigger:V.source,extras:V.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,De.w)(V=>{const Re=c.browserUrlTree.toString(),st=!c.navigated||V.extractedUrl.toString()!==Re||Re!==c.currentUrlTree.toString();if(!st&&"reload"!==(V.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const Lt="";return this.events.next(new Tr(V.id,c.serializeUrl(m.rawUrl),Lt,0)),c.rawUrlTree=V.rawUrl,V.resolve(null),G.E}if(c.urlHandlingStrategy.shouldProcessUrl(V.rawUrl))return Do(V.source)&&(c.browserUrlTree=V.extractedUrl),(0,F.of)(V).pipe((0,De.w)(Lt=>{const Cn=this.transitions?.getValue();return this.events.next(new _r(Lt.id,this.urlSerializer.serialize(Lt.extractedUrl),Lt.source,Lt.restoredState)),Cn!==this.transitions?.getValue()?G.E:Promise.resolve(Lt)}),function Es(d,h,c,m){return(0,De.w)(w=>function Fo(d,h,c,m,w){return new bs(d,h,c,m,w).apply()}(d,h,c,w.extractedUrl,m).pipe((0,ve.U)(L=>({...w,urlAfterRedirects:L}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,c.config),(0,Z.b)(Lt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Lt.urlAfterRedirects},m.urlAfterRedirects=Lt.urlAfterRedirects}),function ne(d,h,c,m,w){return(0,ge.z)(L=>function Jn(d,h,c,m,w,L,V="emptyOnly"){return new Ds(d,h,c,m,w,V,L).recognize().pipe((0,De.w)(Re=>null===Re?function qi(d){return new Y.y(h=>h.error(d))}(new Lr):(0,F.of)(Re)))}(d,h,c,L.urlAfterRedirects,m.serialize(L.urlAfterRedirects),m,w).pipe((0,ve.U)(V=>({...L,targetSnapshot:V}))))}(this.environmentInjector,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,Z.b)(Lt=>{if(m.targetSnapshot=Lt.targetSnapshot,"eager"===c.urlUpdateStrategy){if(!Lt.extras.skipLocationChange){const Wr=c.urlHandlingStrategy.merge(Lt.urlAfterRedirects,Lt.rawUrl);c.setBrowserUrl(Wr,Lt)}c.browserUrlTree=Lt.urlAfterRedirects}const Cn=new Ci(Lt.id,this.urlSerializer.serialize(Lt.extractedUrl),this.urlSerializer.serialize(Lt.urlAfterRedirects),Lt.targetSnapshot);this.events.next(Cn)}));if(st&&c.urlHandlingStrategy.shouldProcessUrl(c.rawUrlTree)){const{id:Lt,extractedUrl:Cn,source:Wr,restoredState:wo,extras:To}=V,Ei=new _r(Lt,this.urlSerializer.serialize(Cn),Wr,wo);this.events.next(Ei);const ro=zi(Cn,this.rootComponentType).snapshot;return m={...V,targetSnapshot:ro,urlAfterRedirects:Cn,extras:{...To,skipLocationChange:!1,replaceUrl:!1}},(0,F.of)(m)}{const Lt="";return this.events.next(new Tr(V.id,c.serializeUrl(m.extractedUrl),Lt,1)),c.rawUrlTree=V.rawUrl,V.resolve(null),G.E}}),(0,Z.b)(V=>{const Re=new wi(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot);this.events.next(Re)}),(0,ve.U)(V=>m={...V,guards:kr(V.targetSnapshot,V.currentSnapshot,this.rootContexts)}),function jo(d,h){return(0,ge.z)(c=>{const{targetSnapshot:m,currentSnapshot:w,guards:{canActivateChecks:L,canDeactivateChecks:V}}=c;return 0===V.length&&0===L.length?(0,F.of)({...c,guardsResult:!0}):function Er(d,h,c,m){return(0,f.D)(d).pipe((0,ge.z)(w=>function Vo(d,h,c,m,w){const L=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!L||0===L.length)return(0,F.of)(!0);const V=L.map(Re=>{const st=Zr(h)??w,Ct=yi(Re,st);return yn(function Ho(d){return d&&en(d.canDeactivate)}(Ct)?Ct.canDeactivate(d,h,c,m):st.runInContext(()=>Ct(d,h,c,m))).pipe((0,se.P)())});return(0,F.of)(V).pipe(Zi())}(w.component,w.route,c,h,m)),(0,se.P)(w=>!0!==w,!0))}(V,m,w,d).pipe((0,ge.z)(Re=>Re&&function _o(d){return"boolean"==typeof d}(Re)?function vo(d,h,c,m){return(0,f.D)(h).pipe((0,pe.b)(w=>(0,ie.z)(function $r(d,h){return null!==d&&h&&h(new Mr(d)),(0,F.of)(!0)}(w.route.parent,m),function Oo(d,h){return null!==d&&h&&h(new $i(d)),(0,F.of)(!0)}(w.route,m),function $o(d,h,c){const m=h[h.length-1],L=h.slice(0,h.length-1).reverse().map(V=>function Uo(d){const h=d.routeConfig?d.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:d,guards:h}:null}(V)).filter(V=>null!==V).map(V=>(0,q.P)(()=>{const Re=V.guards.map(st=>{const Ct=Zr(V.node)??c,Lt=yi(st,Ct);return yn(function Ps(d){return d&&en(d.canActivateChild)}(Lt)?Lt.canActivateChild(m,d):Ct.runInContext(()=>Lt(m,d))).pipe((0,se.P)())});return(0,F.of)(Re).pipe(Zi())}));return(0,F.of)(L).pipe(Zi())}(d,w.path,c),function Po(d,h,c){const m=h.routeConfig?h.routeConfig.canActivate:null;if(!m||0===m.length)return(0,F.of)(!0);const w=m.map(L=>(0,q.P)(()=>{const V=Zr(h)??c,Re=yi(L,V);return yn(function Io(d){return d&&en(d.canActivate)}(Re)?Re.canActivate(h,d):V.runInContext(()=>Re(h,d))).pipe((0,se.P)())}));return(0,F.of)(w).pipe(Zi())}(d,w.route,c))),(0,se.P)(w=>!0!==w,!0))}(m,L,d,h):(0,F.of)(Re)),(0,ve.U)(Re=>({...c,guardsResult:Re})))})}(this.environmentInjector,V=>this.events.next(V)),(0,Z.b)(V=>{if(m.guardsResult=V.guardsResult,$(V.guardsResult))throw Be(0,V.guardsResult);const Re=new ji(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot,!!V.guardsResult);this.events.next(Re)}),(0,ce.h)(V=>!!V.guardsResult||(c.restoreHistory(V),this.cancelNavigationTransition(V,"",3),!1)),pn(V=>{if(V.guards.canActivateChecks.length)return(0,F.of)(V).pipe((0,Z.b)(Re=>{const st=new nr(Re.id,this.urlSerializer.serialize(Re.extractedUrl),this.urlSerializer.serialize(Re.urlAfterRedirects),Re.targetSnapshot);this.events.next(st)}),(0,De.w)(Re=>{let st=!1;return(0,F.of)(Re).pipe(function $e(d,h){return(0,ge.z)(c=>{const{targetSnapshot:m,guards:{canActivateChecks:w}}=c;if(!w.length)return(0,F.of)(c);let L=0;return(0,f.D)(w).pipe((0,pe.b)(V=>function Ze(d,h,c,m){const w=d.routeConfig,L=d._resolve;return void 0!==w?.title&&!Fn(w)&&(L[Le]=w.title),function Dt(d,h,c,m){const w=function Nn(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===w.length)return(0,F.of)({});const L={};return(0,f.D)(w).pipe((0,ge.z)(V=>function xn(d,h,c,m){const w=Zr(h)??m,L=yi(d,w);return yn(L.resolve?L.resolve(h,c):w.runInContext(()=>L(h,c)))}(d[V],h,c,m).pipe((0,se.P)(),(0,Z.b)(Re=>{L[V]=Re}))),ye(1),function Rt(d){return(0,ve.U)(()=>d)}(L),(0,oe.K)(V=>et(V)?G.E:(0,j._)(V)))}(L,d,h,m).pipe((0,ve.U)(V=>(d._resolvedData=V,d.data=go(d,c).resolve,w&&Fn(w)&&(d.data[Le]=w.title),null)))}(V.route,m,d,h)),(0,Z.b)(()=>L++),ye(1),(0,ge.z)(V=>L===w.length?(0,F.of)(c):G.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,Z.b)({next:()=>st=!0,complete:()=>{st||(c.restoreHistory(Re),this.cancelNavigationTransition(Re,"",2))}}))}),(0,Z.b)(Re=>{const st=new hr(Re.id,this.urlSerializer.serialize(Re.extractedUrl),this.urlSerializer.serialize(Re.urlAfterRedirects),Re.targetSnapshot);this.events.next(st)}))}),pn(V=>{const Re=st=>{const Ct=[];st.routeConfig?.loadComponent&&!st.routeConfig._loadedComponent&&Ct.push(this.configLoader.loadComponent(st.routeConfig).pipe((0,Z.b)(Lt=>{st.component=Lt}),(0,ve.U)(()=>{})));for(const Lt of st.children)Ct.push(...Re(Lt));return Ct};return(0,J.a)(Re(V.targetSnapshot.root)).pipe((0,Je.d)(),(0,H.q)(1))}),pn(()=>this.afterPreactivation()),(0,ve.U)(V=>{const Re=function ys(d,h,c){const m=xi(d,h._root,c?c._root:void 0);return new Vi(m,h)}(c.routeReuseStrategy,V.targetSnapshot,V.currentRouterState);return m={...V,targetRouterState:Re}}),(0,Z.b)(V=>{c.currentUrlTree=V.urlAfterRedirects,c.rawUrlTree=c.urlHandlingStrategy.merge(V.urlAfterRedirects,V.rawUrl),c.routerState=V.targetRouterState,"deferred"===c.urlUpdateStrategy&&(V.extras.skipLocationChange||c.setBrowserUrl(c.rawUrlTree,V),c.browserUrlTree=V.urlAfterRedirects)}),((d,h,c)=>(0,ve.U)(m=>(new ao(h,m.targetRouterState,m.currentRouterState,c).activate(d),m)))(this.rootContexts,c.routeReuseStrategy,V=>this.events.next(V)),(0,Z.b)({next:V=>{w=!0,this.lastSuccessfulNavigation=this.currentNavigation,c.navigated=!0,this.events.next(new gn(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(c.currentUrlTree))),c.titleStrategy?.updateTitle(V.targetRouterState.snapshot),V.resolve(!0)},complete:()=>{w=!0}}),(0,Ot.x)(()=>{w||L||this.cancelNavigationTransition(m,"",1),this.currentNavigation?.id===m.id&&(this.currentNavigation=null)}),(0,oe.K)(V=>{if(L=!0,_t(V)){dt(V)||(c.navigated=!0,c.restoreHistory(m,!0));const Re=new Or(m.id,this.urlSerializer.serialize(m.extractedUrl),V.message,V.cancellationCode);if(this.events.next(Re),dt(V)){const st=c.urlHandlingStrategy.merge(V.url,c.rawUrlTree),Ct={skipLocationChange:m.extras.skipLocationChange,replaceUrl:"eager"===c.urlUpdateStrategy||Do(m.source)};c.scheduleNavigation(st,wr,null,Ct,{resolve:m.resolve,reject:m.reject,promise:m.promise})}else m.resolve(!1)}else{c.restoreHistory(m,!0);const Re=new an(m.id,this.urlSerializer.serialize(m.extractedUrl),V,m.targetSnapshot??void 0);this.events.next(Re);try{m.resolve(c.errorHandler(V))}catch(st){m.reject(st)}}return G.E}))}))}cancelNavigationTransition(c,m,w){const L=new Or(c.id,this.urlSerializer.serialize(c.extractedUrl),m,w);this.events.next(L),c.resolve(!1)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function Do(d){return d!==wr}let uo=(()=>{class d{buildTitle(c){let m,w=c.root;for(;void 0!==w;)m=this.getResolvedTitleForRoute(w)??m,w=w.children.find(L=>L.outlet===fe);return m}getResolvedTitleForRoute(c){return c.data[Le]}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(is)},providedIn:"root"}),d})(),is=(()=>{class d extends uo{constructor(c){super(),this.title=c}updateTitle(c){const m=this.buildTitle(c);void 0!==m&&this.title.setTitle(m)}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(rt.Dx))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),os=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(ss)},providedIn:"root"}),d})();class Go{shouldDetach(h){return!1}store(h,c){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,c){return h.routeConfig===c.routeConfig}}let ss=(()=>{class d extends Go{}return d.\u0275fac=function(){let h;return function(m){return(h||(h=s.n5z(d)))(m||d)}}(),d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const eo=new s.OlP("",{providedIn:"root",factory:()=>({})});let as=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(zs)},providedIn:"root"}),d})(),zs=(()=>{class d{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,m){return c}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function Bs(d){throw d}function No(d,h,c){return h.parse("/")}const Wo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ts={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ur=(()=>{class d{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this.options=(0,s.f3M)(eo,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Bs,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||No,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(as),this.routeReuseStrategy=(0,s.f3M)(os),this.urlCreationStrategy=(0,s.f3M)(gr),this.titleStrategy=(0,s.f3M)(uo),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=nt((0,s.f3M)(ir,{optional:!0})??[]),this.navigationTransitions=(0,s.f3M)(Ri),this.urlSerializer=(0,s.f3M)(Vt),this.location=(0,s.f3M)(Pe.Ye),this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new pt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=zi(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(c=>{this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)})}resetRootComponentType(c){this.routerState.root.component=c,this.navigationTransitions.rootComponentType=c}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const c=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),wr,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const m="popstate"===c.type?"popstate":"hashchange";"popstate"===m&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,m,c.state)},0)}))}navigateToSyncWithBrowser(c,m,w){const L={replaceUrl:!0},V=w?.navigationId?w:null;if(w){const st={...w};delete st.navigationId,delete st.\u0275routerPageId,0!==Object.keys(st).length&&(L.state=st)}const Re=this.parseUrl(c);this.scheduleNavigation(Re,m,V,L)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(c){this.config=c.map(ri),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(c,m={}){const{relativeTo:w,queryParams:L,fragment:V,queryParamsHandling:Re,preserveFragment:st}=m,Ct=st?this.currentUrlTree.fragment:V;let Lt=null;switch(Re){case"merge":Lt={...this.currentUrlTree.queryParams,...L};break;case"preserve":Lt=this.currentUrlTree.queryParams;break;default:Lt=L||null}return null!==Lt&&(Lt=this.removeEmptyProps(Lt)),this.urlCreationStrategy.createUrlTree(w,this.routerState,this.currentUrlTree,c,Lt,Ct??null)}navigateByUrl(c,m={skipLocationChange:!1}){const w=$(c)?c:this.parseUrl(c),L=this.urlHandlingStrategy.merge(w,this.rawUrlTree);return this.scheduleNavigation(L,wr,null,m)}navigate(c,m={skipLocationChange:!1}){return function D(d){for(let h=0;h<d.length;h++){if(null==d[h])throw new s.vHH(4008,!1)}}(c),this.navigateByUrl(this.createUrlTree(c,m),m)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let m;try{m=this.urlSerializer.parse(c)}catch(w){m=this.malformedUriErrorHandler(w,this.urlSerializer,c)}return m}isActive(c,m){let w;if(w=!0===m?{...Wo}:!1===m?{...Ts}:m,$(c))return sn(this.currentUrlTree,c,w);const L=this.parseUrl(c);return sn(this.currentUrlTree,L,w)}removeEmptyProps(c){return Object.keys(c).reduce((m,w)=>{const L=c[w];return null!=L&&(m[w]=L),m},{})}scheduleNavigation(c,m,w,L,V){if(this.disposed)return Promise.resolve(!1);let Re,st,Ct,Lt;return V?(Re=V.resolve,st=V.reject,Ct=V.promise):Ct=new Promise((Cn,Wr)=>{Re=Cn,st=Wr}),Lt="computed"===this.canceledNavigationResolution?w&&w.\u0275routerPageId?w.\u0275routerPageId:L.replaceUrl||L.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Lt,source:m,restoredState:w,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:c,extras:L,resolve:Re,reject:st,promise:Ct,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ct.catch(Cn=>Promise.reject(Cn))}setBrowserUrl(c,m){const w=this.urlSerializer.serialize(c),L={...m.extras.state,...this.generateNgRouterState(m.id,m.targetPageId)};this.location.isCurrentPathEqualTo(w)||m.extras.replaceUrl?this.location.replaceState(w,"",L):this.location.go(w,"",L)}restoreHistory(c,m=!1){if("computed"===this.canceledNavigationResolution){const w=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===w?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===w&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(w)}else"replace"===this.canceledNavigationResolution&&(m&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(c,m){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:m}:{navigationId:c}}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),a=(()=>{class d{constructor(c,m,w,L,V,Re){this.router=c,this.route=m,this.tabIndexAttribute=w,this.renderer=L,this.el=V,this.locationStrategy=Re,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Fe.x;const st=V.nativeElement.tagName;this.isAnchorElement="A"===st||"AREA"===st,this.isAnchorElement?this.subscription=c.events.subscribe(Ct=>{Ct instanceof gn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(c){this._preserveFragment=(0,s.D6c)(c)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(c){this._skipLocationChange=(0,s.D6c)(c)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(c){this._replaceUrl=(0,s.D6c)(c)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(c){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",c)}ngOnChanges(c){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(c,m,w,L,V){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||m||w||L||V||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const c=null===this.href?null:(0,s.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",c)}applyAttributeValue(c,m){const w=this.renderer,L=this.el.nativeElement;null!==m?w.setAttribute(L,c,m):w.removeAttribute(L,c)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return d.\u0275fac=function(c){return new(c||d)(s.Y36(ur),s.Y36(Mi),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(Pe.S$))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(c,m){1&c&&s.NdJ("click",function(L){return m.onClick(L.button,L.ctrlKey,L.shiftKey,L.altKey,L.metaKey)}),2&c&&s.uIk("target",m.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[s.TTD]}),d})(),l=(()=>{class d{get isActive(){return this._isActive}constructor(c,m,w,L,V){this.router=c,this.element=m,this.renderer=w,this.cdr=L,this.link=V,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new s.vpe,this.routerEventsSubscription=c.events.subscribe(Re=>{Re instanceof gn&&this.update()})}ngAfterContentInit(){(0,F.of)(this.links.changes,(0,F.of)(null)).pipe((0,Ue.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const c=[...this.links.toArray(),this.link].filter(m=>!!m).map(m=>m.onChanges);this.linkInputChangesSubscription=(0,f.D)(c).pipe((0,Ue.J)()).subscribe(m=>{this._isActive!==this.isLinkActive(this.router)(m)&&this.update()})}set routerLinkActive(c){const m=Array.isArray(c)?c:c.split(" ");this.classes=m.filter(w=>!!w)}ngOnChanges(c){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const c=this.hasActiveLinks();this._isActive!==c&&(this._isActive=c,this.cdr.markForCheck(),this.classes.forEach(m=>{c?this.renderer.addClass(this.element.nativeElement,m):this.renderer.removeClass(this.element.nativeElement,m)}),c&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(c))})}isLinkActive(c){const m=function y(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return w=>!!w.urlTree&&c.isActive(w.urlTree,m)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.links.some(c)}}return d.\u0275fac=function(c){return new(c||d)(s.Y36(ur),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(a,8))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(c,m,w){if(1&c&&s.Suo(w,a,5),2&c){let L;s.iGM(L=s.CRH())&&(m.links=L)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[s.TTD]}),d})();class O{}let de=(()=>{class d{constructor(c,m,w,L,V){this.router=c,this.injector=w,this.preloadingStrategy=L,this.loader=V}setUpPreloading(){this.subscription=this.router.events.pipe((0,ce.h)(c=>c instanceof gn),(0,pe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,m){const w=[];for(const L of m){L.providers&&!L._injector&&(L._injector=(0,s.MMx)(L.providers,c,`Route: ${L.path}`));const V=L._injector??c,Re=L._loadedInjector??V;L.loadChildren&&!L._loadedRoutes&&void 0===L.canLoad||L.loadComponent&&!L._loadedComponent?w.push(this.preloadConfig(V,L)):(L.children||L._loadedRoutes)&&w.push(this.processRoutes(Re,L.children??L._loadedRoutes))}return(0,f.D)(w).pipe((0,Ue.J)())}preloadConfig(c,m){return this.preloadingStrategy.preload(m,()=>{let w;w=m.loadChildren&&void 0===m.canLoad?this.loader.loadChildren(c,m):(0,F.of)(null);const L=w.pipe((0,ge.z)(V=>null===V?(0,F.of)(void 0):(m._loadedRoutes=V.routes,m._loadedInjector=V.injector,this.processRoutes(V.injector??c,V.routes))));if(m.loadComponent&&!m._loadedComponent){const V=this.loader.loadComponent(m);return(0,f.D)([L,V]).pipe((0,Ue.J)())}return L})}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(ur),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(O),s.LFG(pi))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const ke=new s.OlP("");let it=(()=>{class d{constructor(c,m,w,L,V={}){this.urlSerializer=c,this.transitions=m,this.viewportScroller=w,this.zone=L,this.options=V,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},V.scrollPositionRestoration=V.scrollPositionRestoration||"disabled",V.anchorScrolling=V.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof _r?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof gn&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof pr&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,m){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new pr(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,m))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return d.\u0275fac=function(c){s.$Z()},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),d})();function dn(d,h){return{\u0275kind:d,\u0275providers:h}}function mr(){const d=(0,s.f3M)(s.zs3);return h=>{const c=d.get(s.z2F);if(h!==c.components[0])return;const m=d.get(ur),w=d.get(or);1===d.get(sr)&&m.initialNavigation(),d.get(oi,null,s.XFs.Optional)?.setUpPreloading(),d.get(ke,null,s.XFs.Optional)?.init(),m.resetRootComponentType(c.componentTypes[0]),w.closed||(w.next(),w.unsubscribe())}}const or=new s.OlP("",{factory:()=>new Fe.x}),sr=new s.OlP("",{providedIn:"root",factory:()=>1});const oi=new s.OlP("");function fo(d){return dn(0,[{provide:oi,useExisting:de},{provide:O,useExisting:d}])}const Us=new s.OlP("ROUTER_FORROOT_GUARD"),Gs=[Pe.Ye,{provide:Vt,useClass:kt},ur,jn,{provide:Mi,useFactory:function un(d){return d.routerState.root},deps:[ur]},pi,[]];function jt(){return new s.PXZ("Router",ur)}let Qt=(()=>{class d{constructor(c){}static forRoot(c,m){return{ngModule:d,providers:[Gs,[],{provide:ir,multi:!0,useValue:c},{provide:Us,useFactory:no,deps:[[ur,new s.FiY,new s.tp0]]},{provide:eo,useValue:m||{}},m?.useHash?{provide:Pe.S$,useClass:Pe.Do}:{provide:Pe.S$,useClass:Pe.b0},{provide:ke,useFactory:()=>{const d=(0,s.f3M)(Pe.EM),h=(0,s.f3M)(s.R0b),c=(0,s.f3M)(eo),m=(0,s.f3M)(Ri),w=(0,s.f3M)(Vt);return c.scrollOffset&&d.setOffset(c.scrollOffset),new it(w,m,d,h,c)}},m?.preloadingStrategy?fo(m.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:jt},m?.initialNavigation?kn(m):[],[{provide:bi,useFactory:mr},{provide:s.tb,multi:!0,useExisting:bi}]]}}static forChild(c){return{ngModule:d,providers:[{provide:ir,multi:!0,useValue:c}]}}}return d.\u0275fac=function(c){return new(c||d)(s.LFG(Us,8))},d.\u0275mod=s.oAB({type:d}),d.\u0275inj=s.cJS({imports:[ai]}),d})();function no(d){return"guarded"}function kn(d){return["disabled"===d.initialNavigation?dn(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const h=(0,s.f3M)(ur);return()=>{h.setUpLocationChangeListener()}}},{provide:sr,useValue:2}]).\u0275providers:[],"enabledBlocking"===d.initialNavigation?dn(2,[{provide:sr,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:h=>{const c=h.get(Pe.V_,Promise.resolve());return()=>c.then(()=>new Promise(w=>{const L=h.get(ur),V=h.get(or);(function m(w){h.get(ur).events.pipe((0,ce.h)(V=>V instanceof gn||V instanceof Or||V instanceof an),(0,ve.U)(V=>V instanceof gn||V instanceof Or&&(0===V.code||1===V.code)&&null),(0,ce.h)(V=>null!==V),(0,H.q)(1)).subscribe(()=>{w()})})(()=>{w(!0)}),h.get(Ri).afterPreactivation=()=>(w(!0),V.closed?(0,F.of)(void 0):V),L.initialNavigation()}))}}]).\u0275providers:[]]}const bi=new s.OlP("")},3942:(at,be,v)=>{v.d(be,{Z:()=>Ve});var s=v(2090),f=v(4859),F=v(9681),W=v(1877);class X{constructor(Ae,Fe){this._delegate=Ae,this.firebase=Fe,(0,F._addComponent)(Ae,new f.wA("app-compat",()=>this,"PUBLIC")),this.container=Ae.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(Ae){this._delegate.automaticDataCollectionEnabled=Ae}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(Ae=>{this._delegate.checkDestroyed(),Ae()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,F.deleteApp)(this._delegate)))}_getService(Ae,Fe=F._DEFAULT_ENTRY_NAME){var Pe;this._delegate.checkDestroyed();const ve=this._delegate.container.getProvider(Ae);return!ve.isInitialized()&&"EXPLICIT"===(null===(Pe=ve.getComponent())||void 0===Pe?void 0:Pe.instantiationMode)&&ve.initialize(),ve.getImmediate({identifier:Fe})}_removeServiceInstance(Ae,Fe=F._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(Ae).clearInstance(Fe)}_addComponent(Ae){(0,F._addComponent)(this._delegate,Ae)}_addOrOverwriteComponent(Ae){(0,F._addOrOverwriteComponent)(this._delegate,Ae)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const ie=new s.LL("app-compat","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance."}),j=function Q(){const Ke=function q(Ke){const Ae={},Fe={__esModule:!0,initializeApp:function De(ge,se={}){const pe=F.initializeApp(ge,se);if((0,s.r3)(Ae,pe.name))return Ae[pe.name];const Z=new Ke(pe,Fe);return Ae[pe.name]=Z,Z},app:ve,registerVersion:F.registerVersion,setLogLevel:F.setLogLevel,onLog:F.onLog,apps:null,SDK_VERSION:F.SDK_VERSION,INTERNAL:{registerComponent:function le(ge){const se=ge.name,pe=se.replace("-compat","");if(F._registerComponent(ge)&&"PUBLIC"===ge.type){const Z=(oe=ve())=>{if("function"!=typeof oe[pe])throw ie.create("invalid-app-argument",{appName:se});return oe[pe]()};void 0!==ge.serviceProps&&(0,s.ZB)(Z,ge.serviceProps),Fe[pe]=Z,Ke.prototype[pe]=function(...oe){return this._getService.bind(this,se).apply(this,ge.multipleInstances?oe:[])}}return"PUBLIC"===ge.type?Fe[pe]:null},removeApp:function Pe(ge){delete Ae[ge]},useAsService:function ce(ge,se){return"serverAuth"===se?null:se},modularAPIs:F}};function ve(ge){if(!(0,s.r3)(Ae,ge=ge||F._DEFAULT_ENTRY_NAME))throw ie.create("no-app",{appName:ge});return Ae[ge]}return Fe.default=Fe,Object.defineProperty(Fe,"apps",{get:function H(){return Object.keys(Ae).map(ge=>Ae[ge])}}),ve.App=Ke,Fe}(X);return Ke.INTERNAL=Object.assign(Object.assign({},Ke.INTERNAL),{createFirebaseNamespace:Q,extendNamespace:function Ae(Fe){(0,s.ZB)(Ke,Fe)},createSubscribe:s.ne,ErrorFactory:s.LL,deepExtend:s.ZB}),Ke}(),Y=new W.Yd("@firebase/app-compat");if((0,s.jU)()&&void 0!==self.firebase){Y.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const Ke=self.firebase.SDK_VERSION;Ke&&Ke.indexOf("LITE")>=0&&Y.warn("\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n ")}const Ve=j;!function Me(Ke){(0,F.registerVersion)("@firebase/app-compat","0.1.37",Ke)}()},9681:(at,be,v)=>{v.r(be),v.d(be,{FirebaseError:()=>W.ZR,SDK_VERSION:()=>nt,_DEFAULT_ENTRY_NAME:()=>Xt,_addComponent:()=>rt,_addOrOverwriteComponent:()=>fe,_apps:()=>Ot,_clearComponents:()=>Ye,_components:()=>Ue,_getProvider:()=>lt,_registerComponent:()=>Le,_removeServiceInstance:()=>$t,deleteApp:()=>yn,getApp:()=>bt,getApps:()=>Pt,initializeApp:()=>wt,onLog:()=>Ft,registerVersion:()=>Tt,setLogLevel:()=>sn});var s=v(5861),f=v(4859),F=v(1877),W=v(2090),X=v(8766);class J{constructor(re){this.container=re}getPlatformInfoString(){return this.container.getProviders().map(N=>{if(function ie(ft){return"VERSION"===ft.getComponent()?.type}(N)){const M=N.getImmediate();return`${M.library}/${M.version}`}return null}).filter(N=>N).join(" ")}}const q="@firebase/app",Q="0.8.2",j=new F.Yd("@firebase/app"),Xt="[DEFAULT]",Rt={[q]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","fire-js":"fire-js",firebase:"fire-js-all"},Ot=new Map,Ue=new Map;function rt(ft,re){try{ft.container.addComponent(re)}catch(N){j.debug(`Component ${re.name} failed to register with FirebaseApp ${ft.name}`,N)}}function fe(ft,re){ft.container.addOrOverwriteComponent(re)}function Le(ft){const re=ft.name;if(Ue.has(re))return j.debug(`There were multiple attempts to register component ${re}.`),!1;Ue.set(re,ft);for(const N of Ot.values())rt(N,ft);return!0}function lt(ft,re){const N=ft.container.getProvider("heartbeat").getImmediate({optional:!0});return N&&N.triggerHeartbeat(),ft.container.getProvider(re)}function $t(ft,re,N=Xt){lt(ft,re).clearInstance(N)}function Ye(){Ue.clear()}const te=new W.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."});class Xe{constructor(re,N,M){this._isDeleted=!1,this._options=Object.assign({},re),this._config=Object.assign({},N),this._name=N.name,this._automaticDataCollectionEnabled=N.automaticDataCollectionEnabled,this._container=M,this.container.addComponent(new f.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(re){this.checkDestroyed(),this._automaticDataCollectionEnabled=re}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(re){this._isDeleted=re}checkDestroyed(){if(this.isDeleted)throw te.create("app-deleted",{appName:this._name})}}const nt="9.12.1";function wt(ft,re={}){let N=ft;"object"!=typeof re&&(re={name:re});const M=Object.assign({name:Xt,automaticDataCollectionEnabled:!1},re),R=M.name;if("string"!=typeof R||!R)throw te.create("bad-app-name",{appName:String(R)});if(N||(N=(0,W.aH)()),!N)throw te.create("no-options");const Ce=Ot.get(R);if(Ce){if((0,W.vZ)(N,Ce.options)&&(0,W.vZ)(M,Ce.config))return Ce;throw te.create("duplicate-app",{appName:R})}const B=new f.H0(R);for(const he of Ue.values())B.addComponent(he);const K=new Xe(N,M,B);return Ot.set(R,K),K}function bt(ft=Xt){const re=Ot.get(ft);if(!re&&ft===Xt)return wt();if(!re)throw te.create("no-app",{appName:ft});return re}function Pt(){return Array.from(Ot.values())}function yn(ft){return Yt.apply(this,arguments)}function Yt(){return(Yt=(0,s.Z)(function*(ft){const re=ft.name;Ot.has(re)&&(Ot.delete(re),yield Promise.all(ft.container.getProviders().map(N=>N.delete())),ft.isDeleted=!0)})).apply(this,arguments)}function Tt(ft,re,N){var M;let R=null!==(M=Rt[ft])&&void 0!==M?M:ft;N&&(R+=`-${N}`);const Ce=R.match(/\s|\//),B=re.match(/\s|\//);if(Ce||B){const K=[`Unable to register library "${R}" with version "${re}":`];return Ce&&K.push(`library name "${R}" contains illegal characters (whitespace or "/")`),Ce&&B&&K.push("and"),B&&K.push(`version name "${re}" contains illegal characters (whitespace or "/")`),void j.warn(K.join(" "))}Le(new f.wA(`${R}-version`,()=>({library:R,version:re}),"VERSION"))}function Ft(ft,re){if(null!==ft&&"function"!=typeof ft)throw te.create("invalid-log-argument");(0,F.Am)(ft,re)}function sn(ft){(0,F.Ub)(ft)}const wn="firebase-heartbeat-store";let Hn=null;function Ut(){return Hn||(Hn=(0,X.X3)("firebase-heartbeat-database",1,{upgrade:(ft,re)=>{0===re&&ft.createObjectStore(wn)}}).catch(ft=>{throw te.create("idb-open",{originalErrorMessage:ft.message})})),Hn}function pt(){return(pt=(0,s.Z)(function*(ft){var re;try{return(yield Ut()).transaction(wn).objectStore(wn).get(yt(ft))}catch(N){if(N instanceof W.ZR)j.warn(N.message);else{const M=te.create("idb-get",{originalErrorMessage:null===(re=N)||void 0===re?void 0:re.message});j.warn(M.message)}}})).apply(this,arguments)}function Bt(ft,re){return Ge.apply(this,arguments)}function Ge(){return(Ge=(0,s.Z)(function*(ft,re){var N;try{const R=(yield Ut()).transaction(wn,"readwrite");return yield R.objectStore(wn).put(re,yt(ft)),R.done}catch(M){if(M instanceof W.ZR)j.warn(M.message);else{const R=te.create("idb-set",{originalErrorMessage:null===(N=M)||void 0===N?void 0:N.message});j.warn(R.message)}}})).apply(this,arguments)}function yt(ft){return`${ft.name}!${ft.options.appId}`}class Vt{constructor(re){this.container=re,this._heartbeatsCache=null;const N=this.container.getProvider("app").getImmediate();this._storage=new Ht(N),this._heartbeatsCachePromise=this._storage.read().then(M=>(this._heartbeatsCache=M,M))}triggerHeartbeat(){var re=this;return(0,s.Z)(function*(){const M=re.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),R=kt();if(null===re._heartbeatsCache&&(re._heartbeatsCache=yield re._heartbeatsCachePromise),re._heartbeatsCache.lastSentHeartbeatDate!==R&&!re._heartbeatsCache.heartbeats.some(Ce=>Ce.date===R))return re._heartbeatsCache.heartbeats.push({date:R,agent:M}),re._heartbeatsCache.heartbeats=re._heartbeatsCache.heartbeats.filter(Ce=>{const B=new Date(Ce.date).valueOf();return Date.now()-B<=2592e6}),re._storage.overwrite(re._heartbeatsCache)})()}getHeartbeatsHeader(){var re=this;return(0,s.Z)(function*(){if(null===re._heartbeatsCache&&(yield re._heartbeatsCachePromise),null===re._heartbeatsCache||0===re._heartbeatsCache.heartbeats.length)return"";const N=kt(),{heartbeatsToSend:M,unsentEntries:R}=function Qn(ft,re=1024){const N=[];let M=ft.slice();for(const R of ft){const Ce=N.find(B=>B.agent===R.agent);if(Ce){if(Ce.dates.push(R.date),An(N)>re){Ce.dates.pop();break}}else if(N.push({agent:R.agent,dates:[R.date]}),An(N)>re){N.pop();break}M=M.slice(1)}return{heartbeatsToSend:N,unsentEntries:M}}(re._heartbeatsCache.heartbeats),Ce=(0,W.L)(JSON.stringify({version:2,heartbeats:M}));return re._heartbeatsCache.lastSentHeartbeatDate=N,R.length>0?(re._heartbeatsCache.heartbeats=R,yield re._storage.overwrite(re._heartbeatsCache)):(re._heartbeatsCache.heartbeats=[],re._storage.overwrite(re._heartbeatsCache)),Ce})()}}function kt(){return(new Date).toISOString().substring(0,10)}class Ht{constructor(re){this.app=re,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,s.Z)(function*(){return!!(0,W.hl)()&&(0,W.eu)().then(()=>!0).catch(()=>!1)})()}read(){var re=this;return(0,s.Z)(function*(){return(yield re._canUseIndexedDBPromise)&&(yield function Nt(ft){return pt.apply(this,arguments)}(re.app))||{heartbeats:[]}})()}overwrite(re){var N=this;return(0,s.Z)(function*(){var M;if(yield N._canUseIndexedDBPromise){const Ce=yield N.read();return Bt(N.app,{lastSentHeartbeatDate:null!==(M=re.lastSentHeartbeatDate)&&void 0!==M?M:Ce.lastSentHeartbeatDate,heartbeats:re.heartbeats})}})()}add(re){var N=this;return(0,s.Z)(function*(){var M;if(yield N._canUseIndexedDBPromise){const Ce=yield N.read();return Bt(N.app,{lastSentHeartbeatDate:null!==(M=re.lastSentHeartbeatDate)&&void 0!==M?M:Ce.lastSentHeartbeatDate,heartbeats:[...Ce.heartbeats,...re.heartbeats]})}})()}}function An(ft){return(0,W.L)(JSON.stringify({version:2,heartbeats:ft})).length}!function Xn(ft){Le(new f.wA("platform-logger",re=>new J(re),"PRIVATE")),Le(new f.wA("heartbeat",re=>new Vt(re),"PRIVATE")),Tt(q,Q,ft),Tt(q,Q,"esm2017"),Tt("fire-js","")}("")},4859:(at,be,v)=>{v.d(be,{H0:()=>q,wA:()=>F});var s=v(5861),f=v(2090);class F{constructor(j,Y,G){this.name=j,this.instanceFactory=Y,this.type=G,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(j){return this.instantiationMode=j,this}setMultipleInstances(j){return this.multipleInstances=j,this}setServiceProps(j){return this.serviceProps=j,this}setInstanceCreatedCallback(j){return this.onInstanceCreated=j,this}}const W="[DEFAULT]";class X{constructor(j,Y){this.name=j,this.container=Y,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(j){const Y=this.normalizeInstanceIdentifier(j);if(!this.instancesDeferred.has(Y)){const G=new f.BH;if(this.instancesDeferred.set(Y,G),this.isInitialized(Y)||this.shouldAutoInitialize())try{const Ie=this.getOrInitializeService({instanceIdentifier:Y});Ie&&G.resolve(Ie)}catch{}}return this.instancesDeferred.get(Y).promise}getImmediate(j){var Y;const G=this.normalizeInstanceIdentifier(j?.identifier),Ie=null!==(Y=j?.optional)&&void 0!==Y&&Y;if(!this.isInitialized(G)&&!this.shouldAutoInitialize()){if(Ie)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:G})}catch(Me){if(Ie)return null;throw Me}}getComponent(){return this.component}setComponent(j){if(j.name!==this.name)throw Error(`Mismatching Component ${j.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=j,this.shouldAutoInitialize()){if(function ie(Q){return"EAGER"===Q.instantiationMode}(j))try{this.getOrInitializeService({instanceIdentifier:W})}catch{}for(const[Y,G]of this.instancesDeferred.entries()){const Ie=this.normalizeInstanceIdentifier(Y);try{const Me=this.getOrInitializeService({instanceIdentifier:Ie});G.resolve(Me)}catch{}}}}clearInstance(j=W){this.instancesDeferred.delete(j),this.instancesOptions.delete(j),this.instances.delete(j)}delete(){var j=this;return(0,s.Z)(function*(){const Y=Array.from(j.instances.values());yield Promise.all([...Y.filter(G=>"INTERNAL"in G).map(G=>G.INTERNAL.delete()),...Y.filter(G=>"_delete"in G).map(G=>G._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(j=W){return this.instances.has(j)}getOptions(j=W){return this.instancesOptions.get(j)||{}}initialize(j={}){const{options:Y={}}=j,G=this.normalizeInstanceIdentifier(j.instanceIdentifier);if(this.isInitialized(G))throw Error(`${this.name}(${G}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const Ie=this.getOrInitializeService({instanceIdentifier:G,options:Y});for(const[Me,Ve]of this.instancesDeferred.entries())G===this.normalizeInstanceIdentifier(Me)&&Ve.resolve(Ie);return Ie}onInit(j,Y){var G;const Ie=this.normalizeInstanceIdentifier(Y),Me=null!==(G=this.onInitCallbacks.get(Ie))&&void 0!==G?G:new Set;Me.add(j),this.onInitCallbacks.set(Ie,Me);const Ve=this.instances.get(Ie);return Ve&&j(Ve,Ie),()=>{Me.delete(j)}}invokeOnInitCallbacks(j,Y){const G=this.onInitCallbacks.get(Y);if(G)for(const Ie of G)try{Ie(j,Y)}catch{}}getOrInitializeService({instanceIdentifier:j,options:Y={}}){let G=this.instances.get(j);if(!G&&this.component&&(G=this.component.instanceFactory(this.container,{instanceIdentifier:(Q=j,Q===W?void 0:Q),options:Y}),this.instances.set(j,G),this.instancesOptions.set(j,Y),this.invokeOnInitCallbacks(G,j),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,j,G)}catch{}var Q;return G||null}normalizeInstanceIdentifier(j=W){return this.component?this.component.multipleInstances?j:W:j}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class q{constructor(j){this.name=j,this.providers=new Map}addComponent(j){const Y=this.getProvider(j.name);if(Y.isComponentSet())throw new Error(`Component ${j.name} has already been registered with ${this.name}`);Y.setComponent(j)}addOrOverwriteComponent(j){this.getProvider(j.name).isComponentSet()&&this.providers.delete(j.name),this.addComponent(j)}getProvider(j){if(this.providers.has(j))return this.providers.get(j);const Y=new X(j,this);return this.providers.set(j,Y),Y}getProviders(){return Array.from(this.providers.values())}}},1877:(at,be,v)=>{v.d(be,{Am:()=>Q,Ub:()=>q,Yd:()=>ie,in:()=>f});const s=[];var f=(()=>{return(j=f||(f={}))[j.DEBUG=0]="DEBUG",j[j.VERBOSE=1]="VERBOSE",j[j.INFO=2]="INFO",j[j.WARN=3]="WARN",j[j.ERROR=4]="ERROR",j[j.SILENT=5]="SILENT",f;var j})();const F={debug:f.DEBUG,verbose:f.VERBOSE,info:f.INFO,warn:f.WARN,error:f.ERROR,silent:f.SILENT},W=f.INFO,X={[f.DEBUG]:"log",[f.VERBOSE]:"log",[f.INFO]:"info",[f.WARN]:"warn",[f.ERROR]:"error"},J=(j,Y,...G)=>{if(Y<j.logLevel)return;const Ie=(new Date).toISOString(),Me=X[Y];if(!Me)throw new Error(`Attempted to log a message with an invalid logType (value: ${Y})`);console[Me](`[${Ie}] ${j.name}:`,...G)};class ie{constructor(Y){this.name=Y,this._logLevel=W,this._logHandler=J,this._userLogHandler=null,s.push(this)}get logLevel(){return this._logLevel}set logLevel(Y){if(!(Y in f))throw new TypeError(`Invalid value "${Y}" assigned to \`logLevel\``);this._logLevel=Y}setLogLevel(Y){this._logLevel="string"==typeof Y?F[Y]:Y}get logHandler(){return this._logHandler}set logHandler(Y){if("function"!=typeof Y)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=Y}get userLogHandler(){return this._userLogHandler}set userLogHandler(Y){this._userLogHandler=Y}debug(...Y){this._userLogHandler&&this._userLogHandler(this,f.DEBUG,...Y),this._logHandler(this,f.DEBUG,...Y)}log(...Y){this._userLogHandler&&this._userLogHandler(this,f.VERBOSE,...Y),this._logHandler(this,f.VERBOSE,...Y)}info(...Y){this._userLogHandler&&this._userLogHandler(this,f.INFO,...Y),this._logHandler(this,f.INFO,...Y)}warn(...Y){this._userLogHandler&&this._userLogHandler(this,f.WARN,...Y),this._logHandler(this,f.WARN,...Y)}error(...Y){this._userLogHandler&&this._userLogHandler(this,f.ERROR,...Y),this._logHandler(this,f.ERROR,...Y)}}function q(j){s.forEach(Y=>{Y.setLogLevel(j)})}function Q(j,Y){for(const G of s){let Ie=null;Y&&Y.level&&(Ie=F[Y.level]),G.userLogHandler=null===j?null:(Me,Ve,...Ke)=>{const Ae=Ke.map(Fe=>{if(null==Fe)return null;if("string"==typeof Fe)return Fe;if("number"==typeof Fe||"boolean"==typeof Fe)return Fe.toString();if(Fe instanceof Error)return Fe.message;try{return JSON.stringify(Fe)}catch{return null}}).filter(Fe=>Fe).join(" ");Ve>=(Ie??Me.logLevel)&&j({level:f[Ve].toLowerCase(),message:Ae,args:Ke,type:Me.name})}}}},8766:(at,be,v)=>{v.d(be,{Lj:()=>De,X3:()=>ve});var s=v(5861);let F,W;const ie=new WeakMap,q=new WeakMap,Q=new WeakMap,j=new WeakMap,Y=new WeakMap;let Me={get(se,pe,Z){if(se instanceof IDBTransaction){if("done"===pe)return q.get(se);if("objectStoreNames"===pe)return se.objectStoreNames||Q.get(se);if("store"===pe)return Z.objectStoreNames[1]?void 0:Z.objectStore(Z.objectStoreNames[0])}return Fe(se[pe])},set:(se,pe,Z)=>(se[pe]=Z,!0),has:(se,pe)=>se instanceof IDBTransaction&&("done"===pe||"store"===pe)||pe in se};function Ae(se){return"function"==typeof se?function Ke(se){return se!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function J(){return W||(W=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(se)?function(...pe){return se.apply(Pe(this),pe),Fe(ie.get(this))}:function(...pe){return Fe(se.apply(Pe(this),pe))}:function(pe,...Z){const oe=se.call(Pe(this),pe,...Z);return Q.set(oe,pe.sort?pe.sort():[pe]),Fe(oe)}}(se):(se instanceof IDBTransaction&&function Ie(se){if(q.has(se))return;const pe=new Promise((Z,oe)=>{const xe=()=>{se.removeEventListener("complete",ye),se.removeEventListener("error",We),se.removeEventListener("abort",We)},ye=()=>{Z(),xe()},We=()=>{oe(se.error||new DOMException("AbortError","AbortError")),xe()};se.addEventListener("complete",ye),se.addEventListener("error",We),se.addEventListener("abort",We)});q.set(se,pe)}(se),((se,pe)=>pe.some(Z=>se instanceof Z))(se,function X(){return F||(F=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(se,Me):se)}function Fe(se){if(se instanceof IDBRequest)return function G(se){const pe=new Promise((Z,oe)=>{const xe=()=>{se.removeEventListener("success",ye),se.removeEventListener("error",We)},ye=()=>{Z(Fe(se.result)),xe()},We=()=>{oe(se.error),xe()};se.addEventListener("success",ye),se.addEventListener("error",We)});return pe.then(Z=>{Z instanceof IDBCursor&&ie.set(Z,se)}).catch(()=>{}),Y.set(pe,se),pe}(se);if(j.has(se))return j.get(se);const pe=Ae(se);return pe!==se&&(j.set(se,pe),Y.set(pe,se)),pe}const Pe=se=>Y.get(se);function ve(se,pe,{blocked:Z,upgrade:oe,blocking:xe,terminated:ye}={}){const We=indexedDB.open(se,pe),Je=Fe(We);return oe&&We.addEventListener("upgradeneeded",mt=>{oe(Fe(We.result),mt.oldVersion,mt.newVersion,Fe(We.transaction))}),Z&&We.addEventListener("blocked",()=>Z()),Je.then(mt=>{ye&&mt.addEventListener("close",()=>ye()),xe&&mt.addEventListener("versionchange",()=>xe())}).catch(()=>{}),Je}function De(se,{blocked:pe}={}){const Z=indexedDB.deleteDatabase(se);return pe&&Z.addEventListener("blocked",()=>pe()),Fe(Z).then(()=>{})}const H=["get","getKey","getAll","getAllKeys","count"],le=["put","add","delete","clear"],ce=new Map;function ge(se,pe){if(!(se instanceof IDBDatabase)||pe in se||"string"!=typeof pe)return;if(ce.get(pe))return ce.get(pe);const Z=pe.replace(/FromIndex$/,""),oe=pe!==Z,xe=le.includes(Z);if(!(Z in(oe?IDBIndex:IDBObjectStore).prototype)||!xe&&!H.includes(Z))return;const ye=function(){var We=(0,s.Z)(function*(Je,...mt){const Wt=this.transaction(Je,xe?"readwrite":"readonly");let Xt=Wt.store;return oe&&(Xt=Xt.index(mt.shift())),(yield Promise.all([Xt[Z](...mt),xe&&Wt.done]))[0]});return function(mt){return We.apply(this,arguments)}}();return ce.set(pe,ye),ye}!function Ve(se){Me=se(Me)}(se=>({...se,get:(pe,Z,oe)=>ge(pe,Z)||se.get(pe,Z,oe),has:(pe,Z)=>!!ge(pe,Z)||se.has(pe,Z)}))},5421:(at,be,v)=>{v.d(be,{Cz:()=>Pe,ys:()=>Fe});var s=v(5861),f=v(4650),F=v(6895),W=v(9751),X=v(8996),J=v(9841),ie=v(7579),q=v(5698);function Q(ve,De,H,le){return new Promise((ce,ge)=>{ve||ge("IndexedDB not available");const se=ve.open(De,H);let pe;se.onsuccess=Z=>{pe=se.result,ce(pe)},se.onerror=Z=>{ge(`IndexedDB error: ${se.error}`)},"function"==typeof le&&(se.onupgradeneeded=Z=>{le(Z,pe)})})}function j(ve,De,H,le,ce){if(!ve)return;const ge=ve.open(De,H);ge.onupgradeneeded=se=>{const pe=se.target.result;le.forEach(oe=>{if(!pe.objectStoreNames.contains(oe.store)){const xe=pe.createObjectStore(oe.store,oe.storeConfig);oe.storeSchema.forEach(ye=>{xe.createIndex(ye.name,ye.keypath,ye.options)})}});const Z=ce&&ce();Z&&Object.keys(Z).map(oe=>parseInt(oe,10)).filter(oe=>oe>se.oldVersion).sort((oe,xe)=>oe-xe).forEach(oe=>{Z[oe](pe,ge.transaction)}),pe.close()},ge.onsuccess=se=>{se.target.result.close()}}function Ie(ve,De,H){ve||H("You need to use the openDatabase function to create a database before you query it!"),function G(ve,De){return ve.objectStoreNames.contains(De)}(ve,De)||H(`objectStore does not exists: ${De}`)}function Me(ve,De){const H=ve.transaction(De.storeName,De.dbMode);return H.onerror=De.error,H.onabort=De.abort,H}function Ve(ve,De,H,le){return{storeName:De,dbMode:ve,error:ce=>{H(ce)},abort:ce=>{H(ce)}}}var Ke=(()=>{return(ve=Ke||(Ke={})).readonly="readonly",ve.readwrite="readwrite",Ke;var ve})();const Ae=new f.OlP(null);let Fe=(()=>{class ve{constructor(H,le){if(this.dbConfig=H,this.platformId=le,!H.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!H.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=(0,F.NF)(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,j(this.indexedDB,H.name,H.version,H.objectStoresMeta,H.migrationFactory),Q(this.indexedDB,H.name).then(ce=>{ce.version!==H.version&&(this.dbConfig.version=ce.version)}))}createObjectStore(H,le){const ce=[H];j(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,ce,le)}add(H,le,ce){return new W.y(ge=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(se=>{const Z=Me(se,Ve(Ke.readwrite,H,xe=>ge.error(xe))).objectStore(H);(Boolean(ce)?Z.add(le,ce):Z.add(le)).onsuccess=function(){var xe=(0,s.Z)(function*(ye){Z.get(ye.target.result).onsuccess=mt=>{ge.next(mt.target.result),ge.complete()}});return function(ye){return xe.apply(this,arguments)}}()}).catch(se=>ge.error(se))})}bulkAdd(H,le){const ce=new Promise((ge,se)=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{const oe=Me(pe,Ve(Ke.readwrite,H,ge)).objectStore(H),xe=le.map(ye=>new Promise((We,Je)=>{const mt=ye.key;delete ye.key,(Boolean(mt)?oe.add(ye,mt):oe.add(ye)).onsuccess=Xt=>{We(Xt.target.result)}}));ge(Promise.all(xe))}).catch(pe=>se(pe))});return(0,X.D)(ce)}bulkDelete(H,le){const ce=le.map(ge=>new Promise((se,pe)=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Z=>{const oe=Me(Z,Ve(Ke.readwrite,H,pe));oe.objectStore(H).delete(ge),oe.oncomplete=()=>{this.getAll(H).pipe((0,q.q)(1)).subscribe(ye=>{se(ye)})}}).catch(Z=>pe(Z))}));return(0,X.D)(Promise.all(ce))}getByKey(H,le){return new W.y(ce=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{const Z=Me(ge,Ve(Ke.readonly,H,ce.error)).objectStore(H).get(le);Z.onsuccess=oe=>{ce.next(oe.target.result),ce.complete()},Z.onerror=oe=>{ce.error(oe)}}).catch(ge=>ce.error(ge))})}bulkGet(H,le){const ce=le.map(ge=>this.getByKey(H,ge));return new W.y(ge=>{(0,J.a)(ce).subscribe(se=>{ge.next(se),ge.complete()})})}getByID(H,le){return new W.y(ce=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Ie(ge,H,oe=>ce.error(oe)),Me(ge,Ve(Ke.readonly,H,ce.error)).objectStore(H).get(le).onsuccess=oe=>{ce.next(oe.target.result)}}).catch(ge=>ce.error(ge))})}getByIndex(H,le,ce){return new W.y(ge=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(se=>{Ie(se,H,ye=>ge.error(ye)),Me(se,Ve(Ke.readonly,H,ge.error)).objectStore(H).index(le).get(ce).onsuccess=ye=>{ge.next(ye.target.result),ge.complete()}}).catch(se=>ge.error(se))})}getAll(H){return new W.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ce=>{Ie(ce,H,Z=>le.error(Z));const pe=Me(ce,Ve(Ke.readonly,H,le.error)).objectStore(H).getAll();pe.onerror=Z=>{le.error(Z)},pe.onsuccess=({target:{result:Z}})=>{le.next(Z),le.complete()}}).catch(ce=>le.error(ce))})}update(H,le){return new W.y(ce=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Ie(ge,H,oe=>ce.error(oe));const pe=Me(ge,Ve(Ke.readwrite,H,oe=>ce.error(oe))).objectStore(H);pe.put(le).onsuccess=function(){var oe=(0,s.Z)(function*(xe){pe.get(xe.target.result).onsuccess=Je=>{ce.next(Je.target.result),ce.complete()}});return function(xe){return oe.apply(this,arguments)}}()}).catch(ge=>ce.error(ge))})}delete(H,le){return new W.y(ce=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Ie(ge,H,Z=>ce.error(Z));const se=Me(ge,Ve(Ke.readwrite,H,Z=>ce.error(Z)));se.objectStore(H).delete(le),se.oncomplete=()=>{this.getAll(H).pipe((0,q.q)(1)).subscribe(Z=>{ce.next(Z),ce.complete()})}}).catch(ge=>ce.error(ge))})}deleteByKey(H,le){return new W.y(ce=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Ie(ge,H,Z=>ce.error(Z));const se=Me(ge,Ve(Ke.readwrite,H,Z=>ce.error(Z))),pe=se.objectStore(H);se.oncomplete=()=>{ce.next(!0),ce.complete()},pe.delete(le)}).catch(ge=>ce.error(ge))})}clear(H){return new W.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ce=>{Ie(ce,H,pe=>le.error(pe));const ge=Me(ce,Ve(Ke.readwrite,H,pe=>le.error(pe)));ge.objectStore(H).clear(),ge.oncomplete=()=>{le.next(!0),le.complete()}}).catch(ce=>le.error(ce))})}deleteDatabase(){var H=this;return new W.y(le=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(function(){var ce=(0,s.Z)(function*(ge){yield ge.close();const se=H.indexedDB.deleteDatabase(H.dbConfig.name);se.onsuccess=()=>{le.next(!0),le.complete()},se.onerror=pe=>le.error(pe),se.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}});return function(ge){return ce.apply(this,arguments)}}()).catch(ce=>le.error(ce))})}openCursor(H,le){return new W.y(ce=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Ie(ge,H,oe=>ce.error(oe));const pe=Me(ge,Ve(Ke.readonly,H,ce.error)).objectStore(H);(void 0===le?pe.openCursor():pe.openCursor(le)).onsuccess=oe=>{ce.next(oe),ce.complete()}}).catch(ge=>ce.error(ge))})}openCursorByIndex(H,le,ce,ge=Ke.readonly){const se=new ie.x;return Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{Ie(pe,H,We=>{se.error(We)}),Me(pe,Ve(ge,H,We=>{se.error(We)})).objectStore(H).index(le).openCursor(ce).onsuccess=We=>{se.next(We)}}).catch(pe=>se.error(pe)),se}getAllByIndex(H,le,ce){const ge=[];return new W.y(se=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{Ie(pe,H,We=>se.error(We)),Me(pe,Ve(Ke.readonly,H,se.error)).objectStore(H).index(le).openCursor(ce).onsuccess=We=>{const Je=We.target.result;Je?(ge.push(Je.value),Je.continue()):(se.next(ge),se.complete())}}).catch(pe=>se.error(pe))})}getAllKeysByIndex(H,le,ce){const ge=[];return new W.y(se=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(pe=>{Ie(pe,H,We=>se.error(We)),Me(pe,Ve(Ke.readonly,H,se.error)).objectStore(H).index(le).openKeyCursor(ce).onsuccess=We=>{const Je=We.target.result;Je?(ge.push({primaryKey:Je.primaryKey,key:Je.key}),Je.continue()):(se.next(ge),se.complete())}}).catch(pe=>se.error(pe))})}count(H,le){return new W.y(ce=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Ie(ge,H,oe=>ce.error(oe));const Z=Me(ge,Ve(Ke.readonly,H,ce.error)).objectStore(H).count(le);Z.onerror=oe=>ce.error(oe),Z.onsuccess=oe=>{ce.next(oe.target.result),ce.complete()}}).catch(ge=>ce.error(ge))})}countByIndex(H,le,ce){return new W.y(ge=>{Q(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(se=>{Ie(se,H,ye=>ge.error(ye));const xe=Me(se,Ve(Ke.readonly,H,ge.error)).objectStore(H).index(le).count(ce);xe.onerror=ye=>ge.error(ye),xe.onsuccess=ye=>{ge.next(ye.target.result),ge.complete()}}).catch(se=>ge.error(se))})}deleteObjectStore(H){return function Y(ve,De,H){if(!ve||!De||!H)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new W.y(le=>{try{const ge=indexedDB.open(ve,De+1);ge.onupgradeneeded=se=>{const pe=se.target.result;pe.deleteObjectStore(H),pe.close(),console.log("onupgradeneeded"),le.next(!0),le.complete()},ge.onerror=se=>le.error(se)}catch(ce){le.error(ce)}})}(this.dbConfig.name,++this.dbConfig.version,H)}}return ve.\u0275fac=function(H){return new(H||ve)(f.LFG(Ae),f.LFG(f.Lbi))},ve.\u0275prov=f.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Pe=(()=>{class ve{static forRoot(H){return{ngModule:ve,providers:[Fe,{provide:Ae,useValue:H}]}}}return ve.\u0275fac=function(H){return new(H||ve)},ve.\u0275mod=f.oAB({type:ve}),ve.\u0275inj=f.cJS({imports:[[F.ez]]}),ve})()},4954:(at,be,v)=>{v.d(be,{gE:()=>Rt,VI:()=>Le,YI:()=>xe});var s=v(4650),f=v(1135),F=v(9646),W=v(8996),X=v(6451),J=v(4128),ie=v(4004),q=v(3900),Q=v(262),j=v(8189),Y=v(590),G=v(5577),Ie=v(4482),Me=v(5403),Ke=v(5684),Ae=v(5698),Fe=v(8505),Pe=v(284);function De(Ye){return"function"==typeof Ye}function H(Ye){if("[object Object]"!==Object.prototype.toString.call(Ye))return!1;{const At=Object.getPrototypeOf(Ye);return null===At||At===Object.prototype}}function le(Ye){return!!Ye&&"string"==typeof Ye}function ce(Ye){return"boolean"==typeof Ye}function se(Ye){return Array.isArray(Ye)?Ye.length>0:!!Ye}function pe(Ye){return le(Ye)?[Ye]:Ye}let Z=(()=>{class Ye{constructor(){this.permissionsSource=new f.X({}),this.permissions$=this.permissionsSource.asObservable()}}return Ye.\u0275fac=function(te){return new(te||Ye)},Ye.\u0275prov=s.Yz7({token:Ye,factory:Ye.\u0275fac}),Ye})();const oe=new s.OlP("USE_PERMISSIONS_STORE");let xe=(()=>{class Ye{constructor(te=!1,Xe){this.isolate=te,this.permissionsStore=Xe,this.permissionsSource=te?new f.X({}):Xe.permissionsSource,this.permissions$=this.permissionsSource.asObservable()}flushPermissions(){this.permissionsSource.next({})}hasPermission(te){return!te||Array.isArray(te)&&0===te.length?Promise.resolve(!0):(te=pe(te),this.hasArrayPermission(te))}loadPermissions(te,Xe){const nt=te.reduce((wt,bt)=>this.reducePermission(wt,bt,Xe),{});this.permissionsSource.next(nt)}addPermission(te,Xe){if(Array.isArray(te)){const nt=te.reduce((wt,bt)=>this.reducePermission(wt,bt,Xe),this.permissionsSource.value);this.permissionsSource.next(nt)}else{const nt=this.reducePermission(this.permissionsSource.value,te,Xe);this.permissionsSource.next(nt)}}removePermission(te){const Xe={...this.permissionsSource.value};delete Xe[te],this.permissionsSource.next(Xe)}getPermission(te){return this.permissionsSource.value[te]}getPermissions(){return this.permissionsSource.value}reducePermission(te,Xe,nt){return nt&&De(nt)?{...te,[Xe]:{name:Xe,validationFunction:nt}}:{...te,[Xe]:{name:Xe}}}hasArrayPermission(te){const Xe=te.map(nt=>{if(this.hasPermissionValidationFunction(nt)){const wt=this.permissionsSource.value[nt].validationFunction,bt={...this.permissionsSource.value};return(0,F.of)(null).pipe((0,ie.U)(()=>wt(nt,bt)),(0,q.w)(Pt=>ce(Pt)?(0,F.of)(Pt):Pt),(0,Q.K)(()=>(0,F.of)(!1)))}return(0,F.of)(!!this.permissionsSource.value[nt])});return(0,W.D)(Xe).pipe((0,j.J)(),(0,Y.P)(nt=>!1!==nt,!1),(0,ie.U)(nt=>!1!==nt)).toPromise().then(nt=>nt)}hasPermissionValidationFunction(te){return!!this.permissionsSource.value[te]&&!!this.permissionsSource.value[te].validationFunction&&De(this.permissionsSource.value[te].validationFunction)}}return Ye.\u0275fac=function(te){return new(te||Ye)(s.LFG(oe),s.LFG(Z))},Ye.\u0275prov=s.Yz7({token:Ye,factory:Ye.\u0275fac}),Ye})(),ye=(()=>{class Ye{constructor(){this.strategiesSource=new f.X({}),this.strategies$=this.strategiesSource.asObservable()}}return Ye.\u0275fac=function(te){return new(te||Ye)},Ye.\u0275prov=s.Yz7({token:Ye,factory:Ye.\u0275fac}),Ye})();const We=new s.OlP("USE_CONFIGURATION_STORE");let Je=(()=>{class Ye{constructor(te=!1,Xe){this.isolate=te,this.configurationStore=Xe,this.strategiesSource=this.isolate?new f.X({}):this.configurationStore.strategiesSource,this.strategies$=this.strategiesSource.asObservable(),this.onAuthorisedDefaultStrategy=this.isolate?void 0:this.configurationStore.onAuthorisedDefaultStrategy,this.onUnAuthorisedDefaultStrategy=this.isolate?void 0:this.configurationStore.onUnAuthorisedDefaultStrategy}setDefaultOnAuthorizedStrategy(te){this.isolate?this.onAuthorisedDefaultStrategy=this.getDefinedStrategy(te):(this.configurationStore.onAuthorisedDefaultStrategy=this.getDefinedStrategy(te),this.onAuthorisedDefaultStrategy=this.configurationStore.onAuthorisedDefaultStrategy)}setDefaultOnUnauthorizedStrategy(te){this.isolate?this.onUnAuthorisedDefaultStrategy=this.getDefinedStrategy(te):(this.configurationStore.onUnAuthorisedDefaultStrategy=this.getDefinedStrategy(te),this.onUnAuthorisedDefaultStrategy=this.configurationStore.onUnAuthorisedDefaultStrategy)}addPermissionStrategy(te,Xe){this.strategiesSource.value[te]=Xe}getStrategy(te){return this.strategiesSource.value[te]}getAllStrategies(){return this.strategiesSource.value}getDefinedStrategy(te){if(this.strategiesSource.value[te]||this.isPredefinedStrategy(te))return te;throw new Error(`No ' ${te} ' strategy is found please define one`)}isPredefinedStrategy(te){return"show"===te||"remove"===te}}return Ye.\u0275fac=function(te){return new(te||Ye)(s.LFG(We),s.LFG(ye))},Ye.\u0275prov=s.Yz7({token:Ye,factory:Ye.\u0275fac}),Ye})();class mt{constructor(){this.rolesSource=new f.X({}),this.roles$=this.rolesSource.asObservable()}}const Wt=new s.OlP("USE_ROLES_STORE");let Xt=(()=>{class Ye{constructor(te=!1,Xe,nt){this.isolate=te,this.rolesStore=Xe,this.permissionsService=nt,this.rolesSource=this.isolate?new f.X({}):this.rolesStore.rolesSource,this.roles$=this.rolesSource.asObservable()}addRole(te,Xe){const nt={...this.rolesSource.value,[te]:{name:te,validationFunction:Xe}};this.rolesSource.next(nt)}addRoleWithPermissions(te,Xe){this.permissionsService.addPermission(Xe),this.addRole(te,Xe)}addRoles(te){Object.keys(te).forEach((Xe,nt)=>{this.addRole(Xe,te[Xe])})}addRolesWithPermissions(te){Object.keys(te).forEach((Xe,nt)=>{this.addRoleWithPermissions(Xe,te[Xe])})}flushRoles(){this.rolesSource.next({})}flushRolesAndPermissions(){this.flushRoles(),this.permissionsService.flushPermissions()}removeRole(te){const Xe={...this.rolesSource.value};delete Xe[te],this.rolesSource.next(Xe)}getRoles(){return this.rolesSource.value}getRole(te){return this.rolesSource.value[te]}hasOnlyRoles(te){return!te||Array.isArray(te)&&0===te.length?Promise.resolve(!0):(te=pe(te),Promise.all([this.hasRoleKey(te),this.hasRolePermission(this.rolesSource.value,te)]).then(([nt,wt])=>nt||wt))}hasRoleKey(te){const Xe=te.map(nt=>{if(this.rolesSource.value[nt]&&this.rolesSource.value[nt].validationFunction&&De(this.rolesSource.value[nt].validationFunction)&&!function ge(Ye){return"[object Promise]"===Object.prototype.toString.call(Ye)}(this.rolesSource.value[nt].validationFunction)){const bt=this.rolesSource.value[nt].validationFunction,Pt={...this.rolesSource.value};return(0,F.of)(null).pipe((0,ie.U)(()=>bt(nt,Pt)),(0,q.w)(yn=>ce(yn)?(0,F.of)(yn):yn),(0,Q.K)(()=>(0,F.of)(!1)))}return(0,F.of)(!1)});return(0,W.D)(Xe).pipe((0,j.J)(),(0,Y.P)(nt=>!1!==nt,!1),(0,ie.U)(nt=>!1!==nt)).toPromise().then(nt=>nt)}hasRolePermission(te,Xe){return(0,W.D)(Xe).pipe((0,G.z)(nt=>te[nt]&&Array.isArray(te[nt].validationFunction)?(0,W.D)(te[nt].validationFunction).pipe((0,G.z)(wt=>this.permissionsService.hasPermission(wt)),function Ve(Ye,At){return(0,Ie.e)((te,Xe)=>{let nt=0;te.subscribe((0,Me.x)(Xe,wt=>{Ye.call(At,wt,nt++,te)||(Xe.next(!1),Xe.complete())},()=>{Xe.next(!0),Xe.complete()}))})}(wt=>!0===wt)):(0,F.of)(!1)),(0,Y.P)(nt=>!0===nt,!1)).toPromise()}}return Ye.\u0275fac=function(te){return new(te||Ye)(s.LFG(Wt),s.LFG(mt),s.LFG(xe))},Ye.\u0275prov=s.Yz7({token:Ye,factory:Ye.\u0275fac}),Ye})(),Rt=(()=>{class Ye{constructor(te,Xe,nt,wt,bt,Pt){this.permissionsService=te,this.configurationService=Xe,this.rolesService=nt,this.viewContainer=wt,this.changeDetector=bt,this.templateRef=Pt,this.permissionsAuthorized=new s.vpe,this.permissionsUnauthorized=new s.vpe,this.firstMergeUnusedRun=1}ngOnInit(){this.viewContainer.clear(),this.initPermissionSubscription=this.validateExceptOnlyPermissions()}ngOnChanges(te){const Xe=te.ngxPermissionsOnly,nt=te.ngxPermissionsExcept;if(Xe||nt){if(Xe&&Xe.firstChange||nt&&nt.firstChange)return;(0,X.T)(this.permissionsService.permissions$,this.rolesService.roles$).pipe((0,Ke.T)(this.firstMergeUnusedRun),(0,Ae.q)(1)).subscribe(()=>{se(this.ngxPermissionsExcept)?this.validateExceptAndOnlyPermissions():se(this.ngxPermissionsOnly)?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.getAuthorisedTemplates())})}}ngOnDestroy(){this.initPermissionSubscription&&this.initPermissionSubscription.unsubscribe()}validateExceptOnlyPermissions(){return(0,X.T)(this.permissionsService.permissions$,this.rolesService.roles$).pipe((0,Ke.T)(this.firstMergeUnusedRun)).subscribe(()=>{se(this.ngxPermissionsExcept)?this.validateExceptAndOnlyPermissions():se(this.ngxPermissionsOnly)?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.getAuthorisedTemplates())})}validateExceptAndOnlyPermissions(){Promise.all([this.permissionsService.hasPermission(this.ngxPermissionsExcept),this.rolesService.hasOnlyRoles(this.ngxPermissionsExcept)]).then(([te,Xe])=>{if(te||Xe)this.handleUnauthorisedPermission(this.ngxPermissionsExceptElse||this.ngxPermissionsElse);else{if(this.ngxPermissionsOnly)throw!1;this.handleAuthorisedPermission(this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef)}}).catch(()=>{this.ngxPermissionsOnly?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef)})}validateOnlyPermissions(){Promise.all([this.permissionsService.hasPermission(this.ngxPermissionsOnly),this.rolesService.hasOnlyRoles(this.ngxPermissionsOnly)]).then(([te,Xe])=>{te||Xe?this.handleAuthorisedPermission(this.ngxPermissionsOnlyThen||this.ngxPermissionsThen||this.templateRef):this.handleUnauthorisedPermission(this.ngxPermissionsOnlyElse||this.ngxPermissionsElse)}).catch(()=>{this.handleUnauthorisedPermission(this.ngxPermissionsOnlyElse||this.ngxPermissionsElse)})}handleUnauthorisedPermission(te){if(!ce(this.currentAuthorizedState)||this.currentAuthorizedState){if(this.currentAuthorizedState=!1,this.permissionsUnauthorized.emit(),this.getUnAuthorizedStrategyInput())return void this.applyStrategyAccordingToStrategyType(this.getUnAuthorizedStrategyInput());this.configurationService.onUnAuthorisedDefaultStrategy&&!this.elseBlockDefined()?this.applyStrategy(this.configurationService.onUnAuthorisedDefaultStrategy):this.showTemplateBlockInView(te)}}handleAuthorisedPermission(te){if(!ce(this.currentAuthorizedState)||!this.currentAuthorizedState){if(this.currentAuthorizedState=!0,this.permissionsAuthorized.emit(),this.getAuthorizedStrategyInput())return void this.applyStrategyAccordingToStrategyType(this.getAuthorizedStrategyInput());this.configurationService.onAuthorisedDefaultStrategy&&!this.thenBlockDefined()?this.applyStrategy(this.configurationService.onAuthorisedDefaultStrategy):this.showTemplateBlockInView(te)}}applyStrategyAccordingToStrategyType(te){if(!le(te))return De(te)?(this.showTemplateBlockInView(this.templateRef),void te(this.templateRef)):void 0;this.applyStrategy(te)}showTemplateBlockInView(te){this.viewContainer.clear(),te&&(this.viewContainer.createEmbeddedView(te),this.changeDetector.markForCheck())}getAuthorisedTemplates(){return this.ngxPermissionsOnlyThen||this.ngxPermissionsExceptThen||this.ngxPermissionsThen||this.templateRef}elseBlockDefined(){return!!this.ngxPermissionsExceptElse||!!this.ngxPermissionsElse}thenBlockDefined(){return!!this.ngxPermissionsExceptThen||!!this.ngxPermissionsThen}getAuthorizedStrategyInput(){return this.ngxPermissionsOnlyAuthorisedStrategy||this.ngxPermissionsExceptAuthorisedStrategy||this.ngxPermissionsAuthorisedStrategy}getUnAuthorizedStrategyInput(){return this.ngxPermissionsOnlyUnauthorisedStrategy||this.ngxPermissionsExceptUnauthorisedStrategy||this.ngxPermissionsUnauthorisedStrategy}applyStrategy(te){if("show"===te)return void this.showTemplateBlockInView(this.templateRef);if("remove"===te)return void this.viewContainer.clear();const Xe=this.configurationService.getStrategy(te);this.showTemplateBlockInView(this.templateRef),Xe(this.templateRef)}}return Ye.\u0275fac=function(te){return new(te||Ye)(s.Y36(xe),s.Y36(Je),s.Y36(Xt),s.Y36(s.s_b),s.Y36(s.sBO),s.Y36(s.Rgc))},Ye.\u0275dir=s.lG2({type:Ye,selectors:[["","ngxPermissionsOnly",""],["","ngxPermissionsExcept",""]],inputs:{ngxPermissionsOnly:"ngxPermissionsOnly",ngxPermissionsOnlyThen:"ngxPermissionsOnlyThen",ngxPermissionsOnlyElse:"ngxPermissionsOnlyElse",ngxPermissionsExcept:"ngxPermissionsExcept",ngxPermissionsExceptElse:"ngxPermissionsExceptElse",ngxPermissionsExceptThen:"ngxPermissionsExceptThen",ngxPermissionsThen:"ngxPermissionsThen",ngxPermissionsElse:"ngxPermissionsElse",ngxPermissionsOnlyAuthorisedStrategy:"ngxPermissionsOnlyAuthorisedStrategy",ngxPermissionsOnlyUnauthorisedStrategy:"ngxPermissionsOnlyUnauthorisedStrategy",ngxPermissionsExceptUnauthorisedStrategy:"ngxPermissionsExceptUnauthorisedStrategy",ngxPermissionsExceptAuthorisedStrategy:"ngxPermissionsExceptAuthorisedStrategy",ngxPermissionsUnauthorisedStrategy:"ngxPermissionsUnauthorisedStrategy",ngxPermissionsAuthorisedStrategy:"ngxPermissionsAuthorisedStrategy"},outputs:{permissionsAuthorized:"permissionsAuthorized",permissionsUnauthorized:"permissionsUnauthorized"},features:[s.TTD]}),Ye})(),Ue=(()=>{class Ye{constructor(te,Xe,nt){this.permissionsService=te,this.rolesService=Xe,this.router=nt}canActivate(te,Xe){return this.hasPermissions(te,Xe)}canActivateChild(te,Xe){return this.hasPermissions(te,Xe)}canLoad(te){return this.hasPermissions(te)}canMatch(te){return this.hasPermissions(te)}hasPermissions(te,Xe){const wt=this.transformPermission(te&&te.data?te.data.permissions:{},te,Xe);return this.isParameterAvailable(wt.except)?this.passingExceptPermissionsValidation(wt,te,Xe):!this.isParameterAvailable(wt.only)||this.passingOnlyPermissionsValidation(wt,te,Xe)}transformPermission(te,Xe,nt){return{only:De(te.only)?te.only(Xe,nt):pe(te.only),except:De(te.except)?te.except(Xe,nt):pe(te.except),redirectTo:te.redirectTo}}isParameterAvailable(te){return!!te&&te.length>0}passingExceptPermissionsValidation(te,Xe,nt){if(te.redirectTo&&(De(te.redirectTo)||H(te.redirectTo)&&!this.isRedirectionWithParameters(te.redirectTo))){let wt="";return(0,W.D)(te.except).pipe((0,G.z)(bt=>(0,J.D)([this.permissionsService.hasPermission(bt),this.rolesService.hasOnlyRoles(bt)]).pipe((0,Fe.b)(Pt=>{Pt.every(Yt=>!1===Yt)||(wt=bt)}))),(0,Y.P)(bt=>bt.some(Pt=>!0===Pt),!1),(0,G.z)(bt=>wt?(this.handleRedirectOfFailedPermission(te,wt,Xe,nt),(0,F.of)(!1)):!bt&&te.only?this.onlyRedirectCheck(te,Xe,nt):(0,F.of)(!bt))).toPromise()}return Promise.all([this.permissionsService.hasPermission(te.except),this.rolesService.hasOnlyRoles(te.except)]).then(([wt,bt])=>wt||bt?(te.redirectTo&&this.redirectToAnotherRoute(te.redirectTo,Xe,nt),!1):!te.only||this.checkOnlyPermissions(te,Xe,nt))}redirectToAnotherRoute(te,Xe,nt,wt){const bt=De(te)?te(wt,Xe,nt):te;if(this.isRedirectionWithParameters(bt))return bt.navigationCommands=this.transformNavigationCommands(bt.navigationCommands,Xe,nt),bt.navigationExtras=this.transformNavigationExtras(bt.navigationExtras,Xe,nt),void this.router.navigate(bt.navigationCommands,bt.navigationExtras);Array.isArray(bt)?this.router.navigate(bt):this.router.navigate([bt])}isRedirectionWithParameters(te){return H(te)&&(!!te.navigationCommands||!!te.navigationExtras)}transformNavigationCommands(te,Xe,nt){return De(te)?te(Xe,nt):te}transformNavigationExtras(te,Xe,nt){return De(te)?te(Xe,nt):te}onlyRedirectCheck(te,Xe,nt){let wt="";return(0,W.D)(te.only).pipe((0,G.z)(bt=>(0,J.D)([this.permissionsService.hasPermission(bt),this.rolesService.hasOnlyRoles(bt)]).pipe((0,Fe.b)(Pt=>{Pt.every(Yt=>!1===Yt)&&(wt=bt)}))),(0,Y.P)(bt=>De(te.redirectTo)?bt.some(Pt=>!0===Pt):bt.every(Pt=>!1===Pt),!1),(0,G.z)(bt=>De(te.redirectTo)?bt?(0,F.of)(!0):(this.handleRedirectOfFailedPermission(te,wt,Xe,nt),(0,F.of)(!1)):(wt&&this.handleRedirectOfFailedPermission(te,wt,Xe,nt),(0,F.of)(!bt)))).toPromise()}handleRedirectOfFailedPermission(te,Xe,nt,wt){this.isFailedPermissionPropertyOfRedirectTo(te,Xe)?this.redirectToAnotherRoute(te.redirectTo[Xe],nt,wt,Xe):De(te.redirectTo)?this.redirectToAnotherRoute(te.redirectTo,nt,wt,Xe):this.redirectToAnotherRoute(te.redirectTo.default,nt,wt,Xe)}isFailedPermissionPropertyOfRedirectTo(te,Xe){return!!te.redirectTo&&te.redirectTo[Xe]}checkOnlyPermissions(te,Xe,nt){const wt={...te};return Promise.all([this.permissionsService.hasPermission(wt.only),this.rolesService.hasOnlyRoles(wt.only)]).then(([bt,Pt])=>!(!bt&&!Pt&&(wt.redirectTo&&this.redirectToAnotherRoute(wt.redirectTo,Xe,nt),1)))}passingOnlyPermissionsValidation(te,Xe,nt){return De(te.redirectTo)||H(te.redirectTo)&&!this.isRedirectionWithParameters(te.redirectTo)?this.onlyRedirectCheck(te,Xe,nt):this.checkOnlyPermissions(te,Xe,nt)}}return Ye.\u0275fac=function(te){return new(te||Ye)(s.LFG(xe),s.LFG(Xt),s.LFG(Pe.F0))},Ye.\u0275prov=s.Yz7({token:Ye,factory:Ye.\u0275fac}),Ye})(),Le=(()=>{class Ye{static forRoot(te={}){return{ngModule:Ye,providers:[Z,mt,ye,xe,Ue,Xt,Je,{provide:oe,useValue:te.permissionsIsolate},{provide:Wt,useValue:te.rolesIsolate},{provide:We,useValue:te.configurationIsolate}]}}static forChild(te={}){return{ngModule:Ye,providers:[{provide:oe,useValue:te.permissionsIsolate},{provide:Wt,useValue:te.rolesIsolate},{provide:We,useValue:te.configurationIsolate},Je,xe,Xt,Ue]}}}return Ye.\u0275fac=function(te){return new(te||Ye)},Ye.\u0275mod=s.oAB({type:Ye}),Ye.\u0275inj=s.cJS({}),Ye})()},7185:(at,be,v)=>{v.d(be,{FN:()=>We,PR:()=>ce,Rh:()=>mt,_W:()=>ye});var s=v(4650),f=v(7340),F=v(7579),W=v(6895),X=v(1481);const J=["toast-component",""];function ie(Ue,rt){if(1&Ue){const fe=s.EpF();s.TgZ(0,"button",5),s.NdJ("click",function(){s.CHM(fe);const lt=s.oxw();return s.KtG(lt.remove())}),s.TgZ(1,"span",6),s._uU(2,"\xd7"),s.qZA()()}}function q(Ue,rt){if(1&Ue&&(s.ynx(0),s._uU(1),s.BQk()),2&Ue){const fe=s.oxw(2);s.xp6(1),s.hij("[",fe.duplicatesCount+1,"]")}}function Q(Ue,rt){if(1&Ue&&(s.TgZ(0,"div"),s._uU(1),s.YNc(2,q,2,1,"ng-container",4),s.qZA()),2&Ue){const fe=s.oxw();s.Tol(fe.options.titleClass),s.uIk("aria-label",fe.title),s.xp6(1),s.hij(" ",fe.title," "),s.xp6(1),s.Q6J("ngIf",fe.duplicatesCount)}}function j(Ue,rt){if(1&Ue&&s._UZ(0,"div",7),2&Ue){const fe=s.oxw();s.Tol(fe.options.messageClass),s.Q6J("innerHTML",fe.message,s.oJD)}}function Y(Ue,rt){if(1&Ue&&(s.TgZ(0,"div",8),s._uU(1),s.qZA()),2&Ue){const fe=s.oxw();s.Tol(fe.options.messageClass),s.uIk("aria-label",fe.message),s.xp6(1),s.hij(" ",fe.message," ")}}function G(Ue,rt){if(1&Ue&&(s.TgZ(0,"div"),s._UZ(1,"div",9),s.qZA()),2&Ue){const fe=s.oxw();s.xp6(1),s.Udp("width",fe.width+"%")}}class De{constructor(rt,fe){this.component=rt,this.injector=fe}attach(rt,fe){return this._attachedHost=rt,rt.attach(this,fe)}detach(){const rt=this._attachedHost;if(rt)return this._attachedHost=void 0,rt.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(rt){this._attachedHost=rt}}class H{attach(rt,fe){return this._attachedPortal=rt,this.attachComponentPortal(rt,fe)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(rt){this._disposeFn=rt}}class le{constructor(rt){this._overlayRef=rt,this.duplicatesCount=0,this._afterClosed=new F.x,this._activate=new F.x,this._manualClose=new F.x,this._resetTimeout=new F.x,this._countDuplicate=new F.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(rt,fe){rt&&this._resetTimeout.next(),fe&&this._countDuplicate.next(++this.duplicatesCount)}}class ce{constructor(rt,fe,Le,lt,$t,Ye){this.toastId=rt,this.config=fe,this.message=Le,this.title=lt,this.toastType=$t,this.toastRef=Ye,this._onTap=new F.x,this._onAction=new F.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(rt){this._onAction.next(rt)}onAction(){return this._onAction.asObservable()}}const se=new s.OlP("ToastConfig");class pe extends H{constructor(rt,fe,Le){super(),this._hostDomElement=rt,this._componentFactoryResolver=fe,this._appRef=Le}attachComponentPortal(rt,fe){const Le=this._componentFactoryResolver.resolveComponentFactory(rt.component);let lt;return lt=Le.create(rt.injector),this._appRef.attachView(lt.hostView),this.setDisposeFn(()=>{this._appRef.detachView(lt.hostView),lt.destroy()}),fe?this._hostDomElement.insertBefore(this._getComponentRootNode(lt),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(lt)),lt}_getComponentRootNode(rt){return rt.hostView.rootNodes[0]}}class Z{constructor(rt){this._portalHost=rt}attach(rt,fe=!0){return this._portalHost.attach(rt,fe)}detach(){return this._portalHost.detach()}}let oe=(()=>{class Ue{constructor(fe){this._document=fe}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const fe=this._document.createElement("div");fe.classList.add("overlay-container"),fe.setAttribute("aria-live","polite"),this._document.body.appendChild(fe),this._containerElement=fe}}return Ue.\u0275fac=function(fe){return new(fe||Ue)(s.LFG(W.K0))},Ue.\u0275prov=s.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})(),xe=(()=>{class Ue{constructor(fe,Le,lt,$t){this._overlayContainer=fe,this._componentFactoryResolver=Le,this._appRef=lt,this._document=$t,this._paneElements=new Map}create(fe,Le){return this._createOverlayRef(this.getPaneElement(fe,Le))}getPaneElement(fe="",Le){return this._paneElements.get(Le)||this._paneElements.set(Le,{}),this._paneElements.get(Le)[fe]||(this._paneElements.get(Le)[fe]=this._createPaneElement(fe,Le)),this._paneElements.get(Le)[fe]}_createPaneElement(fe,Le){const lt=this._document.createElement("div");return lt.id="toast-container",lt.classList.add(fe),lt.classList.add("toast-container"),Le?Le.getContainerElement().appendChild(lt):this._overlayContainer.getContainerElement().appendChild(lt),lt}_createPortalHost(fe){return new pe(fe,this._componentFactoryResolver,this._appRef)}_createOverlayRef(fe){return new Z(this._createPortalHost(fe))}}return Ue.\u0275fac=function(fe){return new(fe||Ue)(s.LFG(oe),s.LFG(s._Vd),s.LFG(s.z2F),s.LFG(W.K0))},Ue.\u0275prov=s.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})(),ye=(()=>{class Ue{constructor(fe,Le,lt,$t,Ye){this.overlay=Le,this._injector=lt,this.sanitizer=$t,this.ngZone=Ye,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...fe.default,...fe.config},fe.config.iconClasses&&(this.toastrConfig.iconClasses={...fe.default.iconClasses,...fe.config.iconClasses})}show(fe,Le,lt={},$t=""){return this._preBuildNotification($t,fe,Le,this.applyConfig(lt))}success(fe,Le,lt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",fe,Le,this.applyConfig(lt))}error(fe,Le,lt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",fe,Le,this.applyConfig(lt))}info(fe,Le,lt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",fe,Le,this.applyConfig(lt))}warning(fe,Le,lt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",fe,Le,this.applyConfig(lt))}clear(fe){for(const Le of this.toasts)if(void 0!==fe){if(Le.toastId===fe)return void Le.toastRef.manualClose()}else Le.toastRef.manualClose()}remove(fe){const Le=this._findToast(fe);if(!Le||(Le.activeToast.toastRef.close(),this.toasts.splice(Le.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const lt=this.toasts[this.currentlyActive].toastRef;lt.isInactive()||(this.currentlyActive=this.currentlyActive+1,lt.activate())}return!0}findDuplicate(fe="",Le="",lt,$t){const{includeTitleDuplicates:Ye}=this.toastrConfig;for(const At of this.toasts)if((!Ye||Ye&&At.title===fe)&&At.message===Le)return At.toastRef.onDuplicate(lt,$t),At;return null}applyConfig(fe={}){return{...this.toastrConfig,...fe}}_findToast(fe){for(let Le=0;Le<this.toasts.length;Le++)if(this.toasts[Le].toastId===fe)return{index:Le,activeToast:this.toasts[Le]};return null}_preBuildNotification(fe,Le,lt,$t){return $t.onActivateTick?this.ngZone.run(()=>this._buildNotification(fe,Le,lt,$t)):this._buildNotification(fe,Le,lt,$t)}_buildNotification(fe,Le,lt,$t){if(!$t.toastComponent)throw new Error("toastComponent required");const Ye=this.findDuplicate(lt,Le,this.toastrConfig.resetTimeoutOnDuplicate&&$t.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&lt||Le)&&this.toastrConfig.preventDuplicates&&null!==Ye)return Ye;this.previousToastMessage=Le;let At=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(At=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const te=this.overlay.create($t.positionClass,this.overlayContainer);this.index=this.index+1;let Xe=Le;Le&&$t.enableHtml&&(Xe=this.sanitizer.sanitize(s.q3G.HTML,Le));const nt=new le(te),wt=new ce(this.index,$t,Xe,lt,fe,nt),Pt=s.zs3.create({providers:[{provide:ce,useValue:wt}],parent:this._injector}),yn=new De($t.toastComponent,Pt),Yt=te.attach(yn,$t.newestOnTop);nt.componentInstance=Yt.instance;const Tt={toastId:this.index,title:lt||"",message:Le||"",toastRef:nt,onShown:nt.afterActivate(),onHidden:nt.afterClosed(),onTap:wt.onTap(),onAction:wt.onAction(),portal:Yt};return At||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Tt.toastRef.activate()})),this.toasts.push(Tt),Tt}}return Ue.\u0275fac=function(fe){return new(fe||Ue)(s.LFG(se),s.LFG(xe),s.LFG(s.zs3),s.LFG(X.H7),s.LFG(s.R0b))},Ue.\u0275prov=s.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})(),We=(()=>{class Ue{constructor(fe,Le,lt){this.toastrService=fe,this.toastPackage=Le,this.ngZone=lt,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Le.message,this.title=Le.title,this.options=Le.config,this.originalTimeout=Le.config.timeOut,this.toastClasses=`${Le.toastType} ${Le.config.toastClass}`,this.sub=Le.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Le.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Le.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Le.toastRef.countDuplicate().subscribe($t=>{this.duplicatesCount=$t})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const fe=(new Date).getTime();this.width=(this.hideTime-fe)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(fe,Le){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(fe),Le)):this.timeout=setTimeout(()=>fe(),Le)}outsideInterval(fe,Le){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(fe),Le)):this.intervalId=setInterval(()=>fe(),Le)}runInsideAngular(fe){this.ngZone?this.ngZone.run(()=>fe()):fe()}}return Ue.\u0275fac=function(fe){return new(fe||Ue)(s.Y36(ye),s.Y36(ce),s.Y36(s.R0b))},Ue.\u0275cmp=s.Xpm({type:Ue,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(fe,Le){1&fe&&s.NdJ("click",function(){return Le.tapToast()})("mouseenter",function(){return Le.stickAround()})("mouseleave",function(){return Le.delayedHideToast()}),2&fe&&(s.d8E("@flyInOut",Le.state),s.Tol(Le.toastClasses),s.Udp("display",Le.displayStyle))},attrs:J,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(fe,Le){1&fe&&(s.YNc(0,ie,3,0,"button",0),s.YNc(1,Q,3,5,"div",1),s.YNc(2,j,1,3,"div",2),s.YNc(3,Y,2,4,"div",3),s.YNc(4,G,2,2,"div",4)),2&fe&&(s.Q6J("ngIf",Le.options.closeButton),s.xp6(1),s.Q6J("ngIf",Le.title),s.xp6(1),s.Q6J("ngIf",Le.message&&Le.options.enableHtml),s.xp6(1),s.Q6J("ngIf",Le.message&&!Le.options.enableHtml),s.xp6(1),s.Q6J("ngIf",Le.options.progressBar))},dependencies:[W.O5],encapsulation:2,data:{animation:[(0,f.X$)("flyInOut",[(0,f.SB)("inactive",(0,f.oB)({opacity:0})),(0,f.SB)("active",(0,f.oB)({opacity:1})),(0,f.SB)("removed",(0,f.oB)({opacity:0})),(0,f.eR)("inactive => active",(0,f.jt)("{{ easeTime }}ms {{ easing }}")),(0,f.eR)("active => removed",(0,f.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),Ue})();const Je={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null,toastComponent:We};let mt=(()=>{class Ue{static forRoot(fe={}){return{ngModule:Ue,providers:[{provide:se,useValue:{default:Je,config:fe}}]}}}return Ue.\u0275fac=function(fe){return new(fe||Ue)},Ue.\u0275mod=s.oAB({type:Ue}),Ue.\u0275inj=s.cJS({imports:[W.ez]}),Ue})()},5861:(at,be,v)=>{function s(F,W,X,J,ie,q,Q){try{var j=F[q](Q),Y=j.value}catch(G){return void X(G)}j.done?W(Y):Promise.resolve(Y).then(J,ie)}function f(F){return function(){var W=this,X=arguments;return new Promise(function(J,ie){var q=F.apply(W,X);function Q(Y){s(q,J,ie,Q,j,"next",Y)}function j(Y){s(q,J,ie,Q,j,"throw",Y)}Q(void 0)})}}v.d(be,{Z:()=>f})}},at=>{at(at.s=5059)}]);