marketplacepos 2.9.7 → 2.9.8

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.
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[179],{6897:(mt,Ce,v)=>{v.d(Ce,{zQ:()=>qt,ww:()=>Ni});var s=v(5879),m=v(8645),z=v(2096),j=v(5592),I=v(2459),K=v(3019),Y=v(3093),re=v(4664),te=v(7398),U=v(7081),Q=v(1374),he=v(4674);function Me(Ie,Ee){return(0,he.m)(Ee)?(0,re.w)(()=>Ie,Ee):(0,re.w)(()=>Ie)}var Ae=v(5137),Ge=v(2181),xe=v(8186),Ye=v(6304),He=v(6814);v(3182);var Ot,ye,be,ft,q,Ue=v(5861),We=v(534),Qe=v(4537),at=v(9058),ht=v(7879);const St=new Map,kt={activated:!1,tokenObservers:[]},rn={initialized:!1,enabled:!1};function bt(Ie){return St.get(Ie)||Object.assign({},kt)}function Un(){return rn}const Pn="https://content-firebaseappcheck.googleapis.com/v1",zt="exchangeDebugToken",sn={OFFSET_DURATION:3e5,RETRIAL_MIN_WAIT:3e4,RETRIAL_MAX_WAIT:96e4};class Sn{constructor(Ee,Pe,st,_t,Mt){if(this.operation=Ee,this.retryPolicy=Pe,this.getWaitDuration=st,this.lowerBound=_t,this.upperBound=Mt,this.pending=null,this.nextErrorWaitInterval=_t,_t>Mt)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(Ee){var Pe=this;return(0,Ue.Z)(function*(){Pe.stop();try{Pe.pending=new at.BH,yield function dn(Ie){return new Promise(Ee=>{setTimeout(Ee,Ie)})}(Pe.getNextRun(Ee)),Pe.pending.resolve(),yield Pe.pending.promise,Pe.pending=new at.BH,yield Pe.operation(),Pe.pending.resolve(),yield Pe.pending.promise,Pe.process(!0).catch(()=>{})}catch(st){Pe.retryPolicy(st)?Pe.process(!1).catch(()=>{}):Pe.stop()}})()}getNextRun(Ee){if(Ee)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const Pe=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),Pe}}}const Fn=new at.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 or(Ie){if(!bt(Ie).activated)throw Fn.create("use-before-activation",{appName:Ie.name})}function Kn(Ie,Ee){return(Ot=Ot||(0,Ue.Z)(function*({url:Pe,body:st},_t){const Mt={"Content-Type":"application/json"},Yt=_t.getImmediate({optional:!0});if(Yt){const di=yield Yt.getHeartbeatsHeader();di&&(Mt["X-Firebase-Client"]=di)}const $n={method:"POST",body:JSON.stringify(st),headers:Mt};let Tn,En;try{Tn=yield fetch(Pe,$n)}catch(di){throw Fn.create("fetch-network-error",{originalErrorMessage:di?.message})}if(200!==Tn.status)throw Fn.create("fetch-status-error",{httpStatus:Tn.status});try{En=yield Tn.json()}catch(di){throw Fn.create("fetch-parse-error",{originalErrorMessage:di?.message})}const Er=En.ttl.match(/^([\d.]+)(s)$/);if(!Er||!Er[2]||isNaN(Number(Er[1])))throw Fn.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${En.ttl}`});const Kr=1e3*Number(Er[1]),hn=Date.now();return{token:En.token,expireTimeMillis:hn+Kr,issuedAtTimeMillis:hn}})).apply(this,arguments)}function Ke(Ie,Ee){const{projectId:Pe,appId:st,apiKey:_t}=Ie.options;return{url:`${Pn}/projects/${Pe}/apps/${st}:${zt}?key=${_t}`,body:{debug_token:Ee}}}const wt="firebase-app-check-database",Et=1,ze="firebase-app-check-store";let Ht=null;function O(Ie,Ee){return(ye=ye||(0,Ue.Z)(function*(Pe,st){const Mt=(yield function tn(){return Ht||(Ht=new Promise((Ie,Ee)=>{try{const Pe=indexedDB.open(wt,Et);Pe.onsuccess=st=>{Ie(st.target.result)},Pe.onerror=st=>{var _t;Ee(Fn.create("storage-open",{originalErrorMessage:null===(_t=st.target.error)||void 0===_t?void 0:_t.message}))},Pe.onupgradeneeded=st=>{0===st.oldVersion&&st.target.result.createObjectStore(ze,{keyPath:"compositeKey"})}}catch(Pe){Ee(Fn.create("storage-open",{originalErrorMessage:Pe?.message}))}}),Ht)}()).transaction(ze,"readwrite"),$n=Mt.objectStore(ze).put({compositeKey:Pe,value:st});return new Promise((Tn,En)=>{$n.onsuccess=Er=>{Tn()},Mt.onerror=Er=>{var Kr;En(Fn.create("storage-set",{originalErrorMessage:null===(Kr=Er.target.error)||void 0===Kr?void 0:Kr.message}))}})})).apply(this,arguments)}const R=new ht.Yd("@firebase/app-check");function $(Ie,Ee){return(0,at.hl)()?function me(Ie,Ee){return O(function k(Ie){return`${Ie.options.appId}-${Ie.name}`}(Ie),Ee)}(Ie,Ee).catch(Pe=>{R.warn(`Failed to write token to IndexedDB. Error: ${Pe}`)}):Promise.resolve()}function ne(){return Un().enabled}function le(){return(be=be||(0,Ue.Z)(function*(){const Ie=Un();if(Ie.enabled&&Ie.token)return Ie.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const oe={error:"UNKNOWN_ERROR"};function ee(Ie){return at.US.encodeString(JSON.stringify(Ie),!1)}function Oe(Ie){return(ft=ft||(0,Ue.Z)(function*(Ee,Pe=!1){const st=Ee.app;or(st);const _t=bt(st);let Yt,Mt=_t.token;if(Mt&&!Pt(Mt)&&(_t.token=void 0,Mt=void 0),!Mt){const En=yield _t.cachedTokenPromise;En&&(Pt(En)?Mt=En:yield $(st,void 0))}if(!Pe&&Mt&&Pt(Mt))return{token:Mt.token};let Tn,$n=!1;if(ne()){_t.exchangeTokenPromise||(_t.exchangeTokenPromise=Kn(Ke(st,yield le()),Ee.heartbeatServiceProvider).finally(()=>{_t.exchangeTokenPromise=void 0}),$n=!0);const En=yield _t.exchangeTokenPromise;return yield $(st,En),_t.token=En,{token:En.token}}try{_t.exchangeTokenPromise||(_t.exchangeTokenPromise=_t.provider.getToken().finally(()=>{_t.exchangeTokenPromise=void 0}),$n=!0),Mt=yield bt(st).exchangeTokenPromise}catch(En){"appCheck/throttled"===En.code?R.warn(En.message):R.error(En),Yt=En}return Mt?Yt?Tn=Pt(Mt)?{token:Mt.token,internalError:Yt}:Rn(Yt):(Tn={token:Mt.token},_t.token=Mt,yield $(st,Mt)):Tn=Rn(Yt),$n&&function xt(Ie,Ee){const Pe=bt(Ie).tokenObservers;for(const st of Pe)try{"EXTERNAL"===st.type&&null!=Ee.error?st.error(Ee.error):st.next(Ee)}catch{}}(st,Tn),Tn})).apply(this,arguments)}function we(Ie,Ee){const Pe=bt(Ie),st=Pe.tokenObservers.filter(_t=>_t.next!==Ee);0===st.length&&Pe.tokenRefresher&&Pe.tokenRefresher.isRunning()&&Pe.tokenRefresher.stop(),Pe.tokenObservers=st}function rt(Ie){const{app:Ee}=Ie,Pe=bt(Ee);let st=Pe.tokenRefresher;st||(st=function Je(Ie){const{app:Ee}=Ie;return new Sn((0,Ue.Z)(function*(){let st;if(st=bt(Ee).token?yield Oe(Ie,!0):yield Oe(Ie),st.error)throw st.error;if(st.internalError)throw st.internalError}),()=>!0,()=>{const Pe=bt(Ee);if(Pe.token){let st=Pe.token.issuedAtTimeMillis+.5*(Pe.token.expireTimeMillis-Pe.token.issuedAtTimeMillis)+3e5;return st=Math.min(st,Pe.token.expireTimeMillis-3e5),Math.max(0,st-Date.now())}return 0},sn.RETRIAL_MIN_WAIT,sn.RETRIAL_MAX_WAIT)}(Ie),Pe.tokenRefresher=st),!st.isRunning()&&Pe.isTokenAutoRefreshEnabled&&st.start()}function Pt(Ie){return Ie.expireTimeMillis-Date.now()>0}function Rn(Ie){return{token:ee(oe),error:Ie}}class zn{constructor(Ee,Pe){this.app=Ee,this.heartbeatServiceProvider=Pe}_delete(){const{tokenObservers:Ee}=bt(this.app);for(const Pe of Ee)we(this.app,Pe.next);return Promise.resolve()}}const pi="app-check-internal";!function Eo(){(0,We._registerComponent)(new Qe.wA("app-check",Ie=>function Nn(Ie,Ee){return new zn(Ie,Ee)}(Ie.getProvider("app").getImmediate(),Ie.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((Ie,Ee,Pe)=>{Ie.getProvider(pi).initialize()})),(0,We._registerComponent)(new Qe.wA(pi,Ie=>function sr(Ie){return{getToken:Ee=>Oe(Ie,Ee),getLimitedUseToken:()=>function X(Ie){return(q=q||(0,Ue.Z)(function*(Ee){const Pe=Ee.app;or(Pe);const{provider:st}=bt(Pe);if(ne()){const _t=yield le(),{token:Mt}=yield Kn(Ke(Pe,_t),Ee.heartbeatServiceProvider);return{token:Mt}}{const{token:_t}=yield st.getToken();return{token:_t}}})).apply(this,arguments)}(Ie),addTokenListener:Ee=>function ue(Ie,Ee,Pe,st){const{app:_t}=Ie,Mt=bt(_t);if(Mt.tokenObservers=[...Mt.tokenObservers,{next:Pe,error:st,type:Ee}],Mt.token&&Pt(Mt.token)){const $n=Mt.token;Promise.resolve().then(()=>{Pe({token:$n.token}),rt(Ie)}).catch(()=>{})}Mt.cachedTokenPromise.then(()=>rt(Ie))}(Ie,"INTERNAL",Ee),removeTokenListener:Ee=>we(Ie.app,Ee)}}(Ie.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,We.registerVersion)("@firebase/app-check","0.8.0")}();class tr{constructor(){return(0,xe.vb)("app-check")}}typeof window<"u"&&window;var ln=v(7142);const Nr=new s.OlP("angularfire2.auth.use-emulator"),ui=new s.OlP("angularfire2.auth.settings"),hr=new s.OlP("angularfire2.auth.tenant-id"),Ri=new s.OlP("angularfire2.auth.langugage-code"),lr=new s.OlP("angularfire2.auth.use-device-language"),Wr=new s.OlP("angularfire.auth.persistence");let qt=(()=>{class Ie{constructor(Pe,st,_t,Mt,Yt,$n,Tn,En,Er,Kr,hn,di){const Ci=new m.x,Mr=(0,z.of)(void 0).pipe((0,Y.Q)(Yt.outsideAngular),(0,re.w)(()=>Mt.runOutsideAngular(()=>v.e(967).then(v.bind(v,5967)))),(0,te.U)(()=>(0,Ye.on)(Pe,Mt,st)),(0,te.U)(nr=>((Ie,Ee,Pe,st,_t,Mt,Yt,$n)=>(0,Ye.cc)(`${Ie.name}.auth`,"AngularFireAuth",Ie.name,()=>{const Tn=Ee.runOutsideAngular(()=>Ie.auth());if(Pe&&Tn.useEmulator(...Pe),st&&(Tn.tenantId=st),Tn.languageCode=_t,Mt&&Tn.useDeviceLanguage(),Yt)for(const[En,Er]of Object.entries(Yt))Tn.settings[En]=Er;return $n&&Tn.setPersistence($n),Tn},[Pe,st,_t,Mt,Yt,$n]))(nr,Mt,$n,En,Er,Kr,Tn,hn)),(0,U.d)({bufferSize:1,refCount:!1}));if((0,He.PM)(_t))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,z.of)(null);else{Mr.pipe((0,Q.P)()).subscribe();const kr=Mr.pipe((0,re.w)(Cn=>Cn.getRedirectResult().then(wi=>wi,()=>null)),xe.iC,(0,U.d)({bufferSize:1,refCount:!1})),si=Mr.pipe((0,re.w)(Cn=>new j.y(wi=>({unsubscribe:Mt.runOutsideAngular(()=>Cn.onAuthStateChanged(rr=>wi.next(rr),rr=>wi.error(rr),()=>wi.complete()))})))),mi=Mr.pipe((0,re.w)(Cn=>new j.y(wi=>({unsubscribe:Mt.runOutsideAngular(()=>Cn.onIdTokenChanged(rr=>wi.next(rr),rr=>wi.error(rr),()=>wi.complete()))}))));this.authState=kr.pipe(Me(si),(0,Ae.R)(Yt.outsideAngular),(0,Y.Q)(Yt.insideAngular)),this.user=kr.pipe(Me(mi),(0,Ae.R)(Yt.outsideAngular),(0,Y.Q)(Yt.insideAngular)),this.idToken=this.user.pipe((0,re.w)(Cn=>Cn?(0,I.D)(Cn.getIdToken()):(0,z.of)(null))),this.idTokenResult=this.user.pipe((0,re.w)(Cn=>Cn?(0,I.D)(Cn.getIdTokenResult()):(0,z.of)(null))),this.credential=(0,K.T)(kr,Ci,this.authState.pipe((0,Ge.h)(Cn=>!Cn))).pipe((0,te.U)(Cn=>Cn?.user?Cn:null),(0,Ae.R)(Yt.outsideAngular),(0,Y.Q)(Yt.insideAngular))}return(0,Ye.pX)(this,Mr,Mt,{spy:{apply:(nr,kr,si)=>{(nr.startsWith("signIn")||nr.startsWith("createUser"))&&si.then(mi=>Ci.next(mi))}}})}}return Ie.\u0275fac=function(Pe){return new(Pe||Ie)(s.LFG(Ye.Dh),s.LFG(Ye.xv,8),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(xe.HU),s.LFG(Nr,8),s.LFG(ui,8),s.LFG(hr,8),s.LFG(Ri,8),s.LFG(lr,8),s.LFG(Wr,8),s.LFG(tr,8))},Ie.\u0275prov=s.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"any"}),Ie})(),Ni=(()=>{class Ie{constructor(){ln.Z.registerVersion("angularfire",xe.q4.full,"auth-compat")}}return Ie.\u0275fac=function(Pe){return new(Pe||Ie)},Ie.\u0275mod=s.oAB({type:Ie}),Ie.\u0275inj=s.cJS({providers:[qt]}),Ie})()},6304:(mt,Ce,v)=>{v.d(Ce,{Dh:()=>re,GT:()=>K,cc:()=>Ae,hO:()=>Me,on:()=>U,pX:()=>I,xv:()=>te});var s=v(5879),m=v(7142),z=v(8186);mt=v.hmd(mt);const j=["ngOnDestroy"],I=(He,dt,Ne,W={})=>new Proxy(He,{get:(V,ie)=>Ne.runOutsideAngular(()=>{var ce;if(He[ie])return!(null===(ce=W?.spy)||void 0===ce)&&ce.get&&W.spy.get(ie,He[ie]),He[ie];if(j.indexOf(ie)>-1)return()=>{};const ge=dt.toPromise().then(Se=>{const Ve=Se&&Se[ie];return"function"==typeof Ve?Ve.bind(Se):Ve&&Ve.then?Ve.then(it=>Ne.run(()=>it)):Ne.run(()=>Ve)});return new Proxy(()=>{},{get:(Se,Ve)=>ge[Ve],apply:(Se,Ve,it)=>ge.then(pt=>{var At;const Rt=pt&&pt(...it);return!(null===(At=W?.spy)||void 0===At)&&At.apply&&W.spy.apply(ie,it,Rt),Rt})})})}),K=(He,dt)=>{dt.forEach(Ne=>{Object.getOwnPropertyNames(Ne.prototype||Ne).forEach(W=>{Object.defineProperty(He.prototype,W,Object.getOwnPropertyDescriptor(Ne.prototype||Ne,W))})})};class Y{constructor(dt){return dt}}const re=new s.OlP("angularfire2.app.options"),te=new s.OlP("angularfire2.app.name");function U(He,dt,Ne){const V="object"==typeof Ne&&Ne||{};V.name=V.name||"string"==typeof Ne&&Ne||"[DEFAULT]";const ce=m.Z.apps.filter(ge=>ge&&ge.name===V.name)[0]||dt.runOutsideAngular(()=>m.Z.initializeApp(He,V));try{JSON.stringify(He)!==JSON.stringify(ce.options)&&Q("error",`${ce.name} Firebase App already initialized with different options${mt.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new Y(ce)}const Q=(He,...dt)=>{(0,s.X6Q)()&&typeof console<"u"&&console[He](...dt)},he={provide:Y,useFactory:U,deps:[re,s.R0b,[new s.FiY,te]]};let Me=(()=>{class He{constructor(Ne){m.Z.registerVersion("angularfire",z.q4.full,"core"),m.Z.registerVersion("angularfire",z.q4.full,"app-compat"),m.Z.registerVersion("angular",s.q4F.full,Ne.toString())}static initializeApp(Ne,W){return{ngModule:He,providers:[{provide:re,useValue:Ne},{provide:te,useValue:W}]}}}return He.\u0275fac=function(Ne){return new(Ne||He)(s.LFG(s.Lbi))},He.\u0275mod=s.oAB({type:He}),He.\u0275inj=s.cJS({providers:[he]}),He})();function Ae(He,dt,Ne,W,V){const[,ie,ce]=globalThis.\u0275AngularfireInstanceCache.find(ge=>ge[0]===He)||[];if(ie)return function Ge(He,dt){try{return He.toString()===dt.toString()}catch{return He===dt}}(V,ce)||(Ye("error",`${dt} was already initialized on the ${Ne} Firebase App with different settings.${xe?" You may need to reload as Firebase is not HMR aware.":""}`),Ye("warn",{is:V,was:ce})),ie;{const ge=W();return globalThis.\u0275AngularfireInstanceCache.push([He,ge,V]),ge}}const xe=!!mt.hot,Ye=(He,...dt)=>{(0,s.X6Q)()&&typeof console<"u"&&console[He](...dt)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},8186:(mt,Ce,v)=>{v.d(Ce,{q4:()=>al,iC:()=>dl,HU:()=>vu,vb:()=>_u,JM:()=>Rs});var s=v(5879),m=v(3182),z=v(5861),j=v(534),I=v(9058),K=v(4537),Y=v(7879);const re=(E,w)=>w.some(S=>E instanceof S);let te,U;const Me=new WeakMap,Ae=new WeakMap,Ge=new WeakMap,xe=new WeakMap,Ye=new WeakMap;let Ne={get(E,w,S){if(E instanceof IDBTransaction){if("done"===w)return Ae.get(E);if("objectStoreNames"===w)return E.objectStoreNames||Ge.get(E);if("store"===w)return S.objectStoreNames[1]?void 0:S.objectStore(S.objectStoreNames[0])}return ce(E[w])},set:(E,w,S)=>(E[w]=S,!0),has:(E,w)=>E instanceof IDBTransaction&&("done"===w||"store"===w)||w in E};function ie(E){return"function"==typeof E?function V(E){return E!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function he(){return U||(U=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(E)?function(...w){return E.apply(ge(this),w),ce(Me.get(this))}:function(...w){return ce(E.apply(ge(this),w))}:function(w,...S){const Z=E.call(ge(this),w,...S);return Ge.set(Z,w.sort?w.sort():[w]),ce(Z)}}(E):(E instanceof IDBTransaction&&function dt(E){if(Ae.has(E))return;const w=new Promise((S,Z)=>{const pe=()=>{E.removeEventListener("complete",je),E.removeEventListener("error",ot),E.removeEventListener("abort",ot)},je=()=>{S(),pe()},ot=()=>{Z(E.error||new DOMException("AbortError","AbortError")),pe()};E.addEventListener("complete",je),E.addEventListener("error",ot),E.addEventListener("abort",ot)});Ae.set(E,w)}(E),re(E,function Q(){return te||(te=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(E,Ne):E)}function ce(E){if(E instanceof IDBRequest)return function He(E){const w=new Promise((S,Z)=>{const pe=()=>{E.removeEventListener("success",je),E.removeEventListener("error",ot)},je=()=>{S(ce(E.result)),pe()},ot=()=>{Z(E.error),pe()};E.addEventListener("success",je),E.addEventListener("error",ot)});return w.then(S=>{S instanceof IDBCursor&&Me.set(S,E)}).catch(()=>{}),Ye.set(w,E),w}(E);if(xe.has(E))return xe.get(E);const w=ie(E);return w!==E&&(xe.set(E,w),Ye.set(w,E)),w}const ge=E=>Ye.get(E),it=["get","getKey","getAll","getAllKeys","count"],pt=["put","add","delete","clear"],At=new Map;function Rt(E,w){var S;if(!(E instanceof IDBDatabase)||w in E||"string"!=typeof w)return;if(At.get(w))return At.get(w);const Z=w.replace(/FromIndex$/,""),pe=w!==Z,je=pt.includes(Z);if(!(Z in(pe?IDBIndex:IDBObjectStore).prototype)||!je&&!it.includes(Z))return;const ot=function(Tt){return(S=S||(0,z.Z)(function*(jt,...Gt){const Xt=this.transaction(jt,je?"readwrite":"readonly");let kn=Xt.store;return pe&&(kn=kn.index(Gt.shift())),(yield Promise.all([kn[Z](...Gt),je&&Xt.done]))[0]})).apply(this,arguments)};return At.set(w,ot),ot}var Wt,$t,vn,xn,Be,Ue,We,Qe,at,ht,Ot,ye,Ze,Xe,fe,be;!function W(E){Ne=E(Ne)}(E=>({...E,get:(w,S,Z)=>Rt(w,S)||E.get(w,S,Z),has:(w,S)=>!!Rt(w,S)||E.has(w,S)}));const tt="@firebase/installations",et="0.6.4",St=1e4,kt=`w:${et}`,rn="FIS_v2",bt="https://firebaseinstallations.googleapis.com/v1",Gn=36e5,Ut=new I.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 zt(E){return E instanceof I.ZR&&E.code.includes("request-failed")}function sn({projectId:E}){return`${bt}/projects/${E}/installations`}function en(E){return{token:E.token,requestStatus:2,expiresIn:Zt(E.expiresIn),creationTime:Date.now()}}function Sn(E,w){return(Wt=Wt||(0,z.Z)(function*(S,Z){const je=(yield Z.json()).error;return Ut.create("request-failed",{requestName:S,serverCode:je.code,serverMessage:je.message,serverStatus:je.status})})).apply(this,arguments)}function dn({apiKey:E}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":E})}function Fn(E){return($t=$t||(0,z.Z)(function*(w){const S=yield w();return S.status>=500&&S.status<600?w():S})).apply(this,arguments)}function Zt(E){return Number(E.replace("s","000"))}function Jn(E){return new Promise(w=>{setTimeout(w,E)})}const An=/^[cdef][\w-]{21}$/,dr="";function Ke(){try{const E=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(E),E[0]=112+E[0]%16;const S=function wt(E){return function Kn(E){return btoa(String.fromCharCode(...E)).replace(/\+/g,"-").replace(/\//g,"_")}(E).substr(0,22)}(E);return An.test(S)?S:dr}catch{return dr}}function Et(E){return`${E.appName}!${E.appId}`}const ze=new Map;function lt(E,w){const S=Et(E);qn(S,w),function me(E,w){const S=function N(){return!L&&"BroadcastChannel"in self&&(L=new BroadcastChannel("[Firebase] FID Change"),L.onmessage=E=>{qn(E.data.key,E.data.fid)}),L}();S&&S.postMessage({key:E,fid:w}),function O(){0===ze.size&&L&&(L.close(),L=null)}()}(S,w)}function qn(E,w){const S=ze.get(E);if(S)for(const Z of S)Z(w)}let L=null;const D="firebase-installations-database",k=1,R="firebase-installations-store";let P=null;function $(){return P||(P=function Se(E,w,{blocked:S,upgrade:Z,blocking:pe,terminated:je}={}){const ot=indexedDB.open(E,w),gt=ce(ot);return Z&&ot.addEventListener("upgradeneeded",Tt=>{Z(ce(ot.result),Tt.oldVersion,Tt.newVersion,ce(ot.transaction))}),S&&ot.addEventListener("blocked",()=>S()),gt.then(Tt=>{je&&Tt.addEventListener("close",()=>je()),pe&&Tt.addEventListener("versionchange",()=>pe())}).catch(()=>{}),gt}(D,k,{upgrade:(E,w)=>{0===w&&E.createObjectStore(R)}})),P}function _e(E,w){return(xn=xn||(0,z.Z)(function*(S,Z){const pe=Et(S),ot=(yield $()).transaction(R,"readwrite"),gt=ot.objectStore(R),Tt=yield gt.get(pe);return yield gt.put(Z,pe),yield ot.done,(!Tt||Tt.fid!==Z.fid)&&lt(S,Z.fid),Z})).apply(this,arguments)}function ne(E){return(Be=Be||(0,z.Z)(function*(w){const S=Et(w),pe=(yield $()).transaction(R,"readwrite");yield pe.objectStore(R).delete(S),yield pe.done})).apply(this,arguments)}function le(E,w){return(Ue=Ue||(0,z.Z)(function*(S,Z){const pe=Et(S),ot=(yield $()).transaction(R,"readwrite"),gt=ot.objectStore(R),Tt=yield gt.get(pe),jt=Z(Tt);return void 0===jt?yield gt.delete(pe):yield gt.put(jt,pe),yield ot.done,jt&&(!Tt||Tt.fid!==jt.fid)&&lt(S,jt.fid),jt})).apply(this,arguments)}function Le(E){return(We=We||(0,z.Z)(function*(w){let S;const Z=yield le(w.appConfig,pe=>{const je=function oe(E){return we(E||{fid:Ke(),registrationStatus:0})}(pe),ot=function ee(E,w){if(0===w.registrationStatus){if(!navigator.onLine)return{installationEntry:w,registrationPromise:Promise.reject(Ut.create("app-offline"))};const S={fid:w.fid,registrationStatus:1,registrationTime:Date.now()},Z=function Oe(E,w){return(Qe=Qe||(0,z.Z)(function*(S,Z){try{const pe=yield function an(E,w){return(vn=vn||(0,z.Z)(function*({appConfig:S,heartbeatServiceProvider:Z},{fid:pe}){const je=sn(S),ot=dn(S),gt=Z.getImmediate({optional:!0});if(gt){const Xt=yield gt.getHeartbeatsHeader();Xt&&ot.append("x-firebase-client",Xt)}const jt={method:"POST",headers:ot,body:JSON.stringify({fid:pe,authVersion:rn,appId:S.appId,sdkVersion:kt})},Gt=yield Fn(()=>fetch(je,jt));if(Gt.ok){const Xt=yield Gt.json();return{fid:Xt.fid||pe,registrationStatus:2,refreshToken:Xt.refreshToken,authToken:en(Xt.authToken)}}throw yield Sn("Create Installation",Gt)})).apply(this,arguments)}(S,Z);return _e(S.appConfig,pe)}catch(pe){throw zt(pe)&&409===pe.customData.serverCode?yield ne(S.appConfig):yield _e(S.appConfig,{fid:Z.fid,registrationStatus:0}),pe}})).apply(this,arguments)}(E,S);return{installationEntry:S,registrationPromise:Z}}return 1===w.registrationStatus?{installationEntry:w,registrationPromise:X(E)}:{installationEntry:w}}(w,je);return S=ot.registrationPromise,ot.installationEntry});return Z.fid===dr?{installationEntry:yield S}:{installationEntry:Z,registrationPromise:S}})).apply(this,arguments)}function X(E){return(at=at||(0,z.Z)(function*(w){let S=yield ue(w.appConfig);for(;1===S.registrationStatus;)yield Jn(100),S=yield ue(w.appConfig);if(0===S.registrationStatus){const{installationEntry:Z,registrationPromise:pe}=yield Le(w);return pe||Z}return S})).apply(this,arguments)}function ue(E){return le(E,w=>{if(!w)throw Ut.create("installation-not-found");return we(w)})}function we(E){return function rt(E){return 1===E.registrationStatus&&E.registrationTime+St<Date.now()}(E)?{fid:E.fid,registrationStatus:0}:E}function Je(E,w){return(ht=ht||(0,z.Z)(function*({appConfig:S,heartbeatServiceProvider:Z},pe){const je=function xt(E,{fid:w}){return`${sn(E)}/${w}/authTokens:generate`}(S,pe),ot=function yn(E,{refreshToken:w}){const S=dn(E);return S.append("Authorization",function or(E){return`${rn} ${E}`}(w)),S}(S,pe),gt=Z.getImmediate({optional:!0});if(gt){const Xt=yield gt.getHeartbeatsHeader();Xt&&ot.append("x-firebase-client",Xt)}const jt={method:"POST",headers:ot,body:JSON.stringify({installation:{sdkVersion:kt,appId:S.appId}})},Gt=yield Fn(()=>fetch(je,jt));if(Gt.ok)return en(yield Gt.json());throw yield Sn("Generate Auth Token",Gt)})).apply(this,arguments)}function Pt(E){return(Ot=Ot||(0,z.Z)(function*(w,S=!1){let Z;const pe=yield le(w.appConfig,ot=>{if(!sr(ot))throw Ut.create("not-registered");const gt=ot.authToken;if(!S&&function Vr(E){return 2===E.requestStatus&&!function Ar(E){const w=Date.now();return w<E.creationTime||E.creationTime+E.expiresIn<w+Gn}(E)}(gt))return ot;if(1===gt.requestStatus)return Z=function Rn(E,w){return(ye=ye||(0,z.Z)(function*(S,Z){let pe=yield zn(S.appConfig);for(;1===pe.authToken.requestStatus;)yield Jn(100),pe=yield zn(S.appConfig);const je=pe.authToken;return 0===je.requestStatus?Pt(S,Z):je})).apply(this,arguments)}(w,S),ot;{if(!navigator.onLine)throw Ut.create("app-offline");const Tt=function Ln(E){const w={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},E),{authToken:w})}(ot);return Z=function Nn(E,w){return(Ze=Ze||(0,z.Z)(function*(S,Z){try{const pe=yield Je(S,Z),je=Object.assign(Object.assign({},Z),{authToken:pe});return yield _e(S.appConfig,je),pe}catch(pe){if(!zt(pe)||401!==pe.customData.serverCode&&404!==pe.customData.serverCode){const je=Object.assign(Object.assign({},Z),{authToken:{requestStatus:0}});yield _e(S.appConfig,je)}else yield ne(S.appConfig);throw pe}})).apply(this,arguments)}(w,Tt),Tt}});return Z?yield Z:pe.authToken})).apply(this,arguments)}function zn(E){return le(E,w=>{if(!sr(w))throw Ut.create("not-registered");return function Hn(E){return 1===E.requestStatus&&E.requestTime+St<Date.now()}(w.authToken)?Object.assign(Object.assign({},w),{authToken:{requestStatus:0}}):w})}function sr(E){return void 0!==E&&2===E.registrationStatus}function Tr(E){return Ut.create("missing-app-config-values",{valueName:E})}const Ai="installations",zo=E=>{const w=E.getProvider("app").getImmediate(),S=function yr(E){if(!E||!E.options)throw Tr("App Configuration");if(!E.name)throw Tr("App Name");const w=["projectId","apiKey","appId"];for(const S of w)if(!E.options[S])throw Tr(S);return{appName:E.name,projectId:E.options.projectId,apiKey:E.options.apiKey,appId:E.options.appId}}(w);return{app:w,appConfig:S,heartbeatServiceProvider:(0,j._getProvider)(w,"heartbeat"),_delete:()=>Promise.resolve()}},Ji=E=>{const w=E.getProvider("app").getImmediate(),S=(0,j._getProvider)(w,Ai).getImmediate();return{getId:()=>function zr(E){return(Xe=Xe||(0,z.Z)(function*(w){const S=w,{installationEntry:Z,registrationPromise:pe}=yield Le(S);return pe?pe.catch(console.error):Pt(S).catch(console.error),Z.fid})).apply(this,arguments)}(S),getToken:pe=>function Or(E){return(fe=fe||(0,z.Z)(function*(w,S=!1){const Z=w;return yield function On(E){return(be=be||(0,z.Z)(function*(w){const{registrationPromise:S}=yield Le(w);S&&(yield S)})).apply(this,arguments)}(Z),(yield Pt(Z,S)).token})).apply(this,arguments)}(S,pe)}};var br;(function Oo(){(0,j._registerComponent)(new K.wA(Ai,zo,"PUBLIC")),(0,j._registerComponent)(new K.wA("installations-internal",Ji,"PRIVATE"))})(),(0,j.registerVersion)(tt,et),(0,j.registerVersion)(tt,et,"esm2017");const oi="@firebase/remote-config",tr=new I.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 Nr{constructor(w,S,Z,pe){this.client=w,this.storage=S,this.storageCache=Z,this.logger=pe}isCachedDataFresh(w,S){if(!S)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const Z=Date.now()-S,pe=Z<=w;return this.logger.debug(`Config fetch cache check. Cache age millis: ${Z}. Cache max age millis (minimumFetchIntervalMillis setting): ${w}. Is cache hit: ${pe}.`),pe}fetch(w){var S=this;return(0,z.Z)(function*(){const[Z,pe]=yield Promise.all([S.storage.getLastSuccessfulFetchTimestampMillis(),S.storage.getLastSuccessfulFetchResponse()]);if(pe&&S.isCachedDataFresh(w.cacheMaxAgeMillis,Z))return pe;w.eTag=pe&&pe.eTag;const je=yield S.client.fetch(w),ot=[S.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===je.status&&ot.push(S.storage.setLastSuccessfulFetchResponse(je)),yield Promise.all(ot),je})()}}function ui(E=navigator){return E.languages&&E.languages[0]||E.language}class hr{constructor(w,S,Z,pe,je,ot){this.firebaseInstallations=w,this.sdkVersion=S,this.namespace=Z,this.projectId=pe,this.apiKey=je,this.appId=ot}fetch(w){var S=this;return(0,z.Z)(function*(){const[Z,pe]=yield Promise.all([S.firebaseInstallations.getId(),S.firebaseInstallations.getToken()]),ot=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${S.projectId}/namespaces/${S.namespace}:fetch?key=${S.apiKey}`,gt={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":w.eTag||"*"},Tt={sdk_version:S.sdkVersion,app_instance_id:Z,app_instance_id_token:pe,app_id:S.appId,language_code:ui()},jt={method:"POST",headers:gt,body:JSON.stringify(Tt)},Gt=fetch(ot,jt),Xt=new Promise((_n,So)=>{w.signal.addEventListener(()=>{const hi=new Error("The operation was aborted.");hi.name="AbortError",So(hi)})});let kn;try{yield Promise.race([Gt,Xt]),kn=yield Gt}catch(_n){let So="fetch-client-network";throw"AbortError"===_n?.name&&(So="fetch-timeout"),tr.create(So,{originalErrorMessage:_n?.message})}let $r=kn.status;const qr=kn.headers.get("ETag")||void 0;let Qn,Yi;if(200===kn.status){let _n;try{_n=yield kn.json()}catch(So){throw tr.create("fetch-client-parse",{originalErrorMessage:So?.message})}Qn=_n.entries,Yi=_n.state}if("INSTANCE_STATE_UNSPECIFIED"===Yi?$r=500:"NO_CHANGE"===Yi?$r=304:("NO_TEMPLATE"===Yi||"EMPTY_CONFIG"===Yi)&&(Qn={}),304!==$r&&200!==$r)throw tr.create("fetch-status",{httpStatus:$r});return{status:$r,eTag:qr,config:Qn}})()}}class Wr{constructor(w,S){this.client=w,this.storage=S}fetch(w){var S=this;return(0,z.Z)(function*(){const Z=(yield S.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return S.attemptFetch(w,Z)})()}attemptFetch(w,{throttleEndTimeMillis:S,backoffCount:Z}){var pe=this;return(0,z.Z)(function*(){yield function Ri(E,w){return new Promise((S,Z)=>{const pe=Math.max(w-Date.now(),0),je=setTimeout(S,pe);E.addEventListener(()=>{clearTimeout(je),Z(tr.create("fetch-throttle",{throttleEndTimeMillis:w}))})})}(w.signal,S);try{const je=yield pe.client.fetch(w);return yield pe.storage.deleteThrottleMetadata(),je}catch(je){if(!function lr(E){if(!(E instanceof I.ZR&&E.customData))return!1;const w=Number(E.customData.httpStatus);return 429===w||500===w||503===w||504===w}(je))throw je;const ot={throttleEndTimeMillis:Date.now()+(0,I.$s)(Z),backoffCount:Z+1};return yield pe.storage.setThrottleMetadata(ot),pe.attemptFetch(w,ot)}})()}}class Ni{constructor(w,S,Z,pe,je){this.app=w,this._client=S,this._storageCache=Z,this._storage=pe,this._logger=je,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 Ie(E,w){const S=E.target.error||void 0;return tr.create(w,{originalErrorMessage:S&&S?.message})}const Ee="app_namespace_store";class Mt{constructor(w,S,Z,pe=function _t(){return new Promise((E,w)=>{try{const S=indexedDB.open("firebase_remote_config",1);S.onerror=Z=>{w(Ie(Z,"storage-open"))},S.onsuccess=Z=>{E(Z.target.result)},S.onupgradeneeded=Z=>{0===Z.oldVersion&&Z.target.result.createObjectStore(Ee,{keyPath:"compositeKey"})}}catch(S){w(tr.create("storage-open",{originalErrorMessage:S?.message}))}})}()){this.appId=w,this.appName=S,this.namespace=Z,this.openDbPromise=pe}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(w){return this.set("last_fetch_status",w)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(w){return this.set("last_successful_fetch_timestamp_millis",w)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(w){return this.set("last_successful_fetch_response",w)}getActiveConfig(){return this.get("active_config")}setActiveConfig(w){return this.set("active_config",w)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(w){return this.set("active_config_etag",w)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(w){return this.set("throttle_metadata",w)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(w){var S=this;return(0,z.Z)(function*(){const Z=yield S.openDbPromise;return new Promise((pe,je)=>{const gt=Z.transaction([Ee],"readonly").objectStore(Ee),Tt=S.createCompositeKey(w);try{const jt=gt.get(Tt);jt.onerror=Gt=>{je(Ie(Gt,"storage-get"))},jt.onsuccess=Gt=>{const Xt=Gt.target.result;pe(Xt?Xt.value:void 0)}}catch(jt){je(tr.create("storage-get",{originalErrorMessage:jt?.message}))}})})()}set(w,S){var Z=this;return(0,z.Z)(function*(){const pe=yield Z.openDbPromise;return new Promise((je,ot)=>{const Tt=pe.transaction([Ee],"readwrite").objectStore(Ee),jt=Z.createCompositeKey(w);try{const Gt=Tt.put({compositeKey:jt,value:S});Gt.onerror=Xt=>{ot(Ie(Xt,"storage-set"))},Gt.onsuccess=()=>{je()}}catch(Gt){ot(tr.create("storage-set",{originalErrorMessage:Gt?.message}))}})})()}delete(w){var S=this;return(0,z.Z)(function*(){const Z=yield S.openDbPromise;return new Promise((pe,je)=>{const gt=Z.transaction([Ee],"readwrite").objectStore(Ee),Tt=S.createCompositeKey(w);try{const jt=gt.delete(Tt);jt.onerror=Gt=>{je(Ie(Gt,"storage-delete"))},jt.onsuccess=()=>{pe()}}catch(jt){je(tr.create("storage-delete",{originalErrorMessage:jt?.message}))}})})()}createCompositeKey(w){return[this.appId,this.appName,this.namespace,w].join()}}class Yt{constructor(w){this.storage=w}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var w=this;return(0,z.Z)(function*(){const S=w.storage.getLastFetchStatus(),Z=w.storage.getLastSuccessfulFetchTimestampMillis(),pe=w.storage.getActiveConfig(),je=yield S;je&&(w.lastFetchStatus=je);const ot=yield Z;ot&&(w.lastSuccessfulFetchTimestampMillis=ot);const gt=yield pe;gt&&(w.activeConfig=gt)})()}setLastFetchStatus(w){return this.lastFetchStatus=w,this.storage.setLastFetchStatus(w)}setLastSuccessfulFetchTimestampMillis(w){return this.lastSuccessfulFetchTimestampMillis=w,this.storage.setLastSuccessfulFetchTimestampMillis(w)}setActiveConfig(w){return this.activeConfig=w,this.storage.setActiveConfig(w)}}function En(){return(br=br||(0,z.Z)(function*(){if(!(0,I.hl)())return!1;try{return yield(0,I.eu)()}catch{return!1}})).apply(this,arguments)}!function $n(){(0,j._registerComponent)(new K.wA("remote-config",function E(w,{instanceIdentifier:S}){const Z=w.getProvider("app").getImmediate(),pe=w.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw tr.create("registration-window");if(!(0,I.hl)())throw tr.create("indexed-db-unavailable");const{projectId:je,apiKey:ot,appId:gt}=Z.options;if(!je)throw tr.create("registration-project-id");if(!ot)throw tr.create("registration-api-key");if(!gt)throw tr.create("registration-app-id");const Tt=new Mt(gt,Z.name,S=S||"firebase"),jt=new Yt(Tt),Gt=new Y.Yd(oi);Gt.logLevel=Y.in.ERROR;const Xt=new hr(pe,j.SDK_VERSION,S,je,ot,gt),kn=new Wr(Xt,Tt),$r=new Nr(kn,Tt,jt,Gt),qr=new Ni(Z,$r,jt,Tt,Gt);return function Hi(E){const w=(0,I.m9)(E);w._initializePromise||(w._initializePromise=w._storageCache.loadFromStorage().then(()=>{w._isInitializationComplete=!0}))}(qr),qr},"PUBLIC").setMultipleInstances(!0)),(0,j.registerVersion)(oi,"0.4.4"),(0,j.registerVersion)(oi,"0.4.4","esm2017")}();const Er=(E,w)=>w.some(S=>E instanceof S);let Kr,hn;const Mr=new WeakMap,nr=new WeakMap,kr=new WeakMap,si=new WeakMap,mi=new WeakMap;let rr={get(E,w,S){if(E instanceof IDBTransaction){if("done"===w)return nr.get(E);if("objectStoreNames"===w)return E.objectStoreNames||kr.get(E);if("store"===w)return S.objectStoreNames[1]?void 0:S.objectStore(S.objectStoreNames[0])}return Yr(E[w])},set:(E,w,S)=>(E[w]=S,!0),has:(E,w)=>E instanceof IDBTransaction&&("done"===w||"store"===w)||w in E};function fi(E){return"function"==typeof E?function ls(E){return E!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function Ci(){return hn||(hn=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(E)?function(...w){return E.apply(ai(this),w),Yr(Mr.get(this))}:function(...w){return Yr(E.apply(ai(this),w))}:function(w,...S){const Z=E.call(ai(this),w,...S);return kr.set(Z,w.sort?w.sort():[w]),Yr(Z)}}(E):(E instanceof IDBTransaction&&function wi(E){if(nr.has(E))return;const w=new Promise((S,Z)=>{const pe=()=>{E.removeEventListener("complete",je),E.removeEventListener("error",ot),E.removeEventListener("abort",ot)},je=()=>{S(),pe()},ot=()=>{Z(E.error||new DOMException("AbortError","AbortError")),pe()};E.addEventListener("complete",je),E.addEventListener("error",ot),E.addEventListener("abort",ot)});nr.set(E,w)}(E),Er(E,function di(){return Kr||(Kr=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(E,rr):E)}function Yr(E){if(E instanceof IDBRequest)return function Cn(E){const w=new Promise((S,Z)=>{const pe=()=>{E.removeEventListener("success",je),E.removeEventListener("error",ot)},je=()=>{S(Yr(E.result)),pe()},ot=()=>{Z(E.error),pe()};E.addEventListener("success",je),E.addEventListener("error",ot)});return w.then(S=>{S instanceof IDBCursor&&Mr.set(S,E)}).catch(()=>{}),mi.set(w,E),w}(E);if(si.has(E))return si.get(E);const w=fi(E);return w!==E&&(si.set(E,w),mi.set(w,E)),w}const ai=E=>mi.get(E);function ao(E,w,{blocked:S,upgrade:Z,blocking:pe,terminated:je}={}){const ot=indexedDB.open(E,w),gt=Yr(ot);return Z&&ot.addEventListener("upgradeneeded",Tt=>{Z(Yr(ot.result),Tt.oldVersion,Tt.newVersion,Yr(ot.transaction))}),S&&ot.addEventListener("blocked",()=>S()),gt.then(Tt=>{je&&Tt.addEventListener("close",()=>je()),pe&&Tt.addEventListener("versionchange",()=>pe())}).catch(()=>{}),gt}function $i(E,{blocked:w}={}){const S=indexedDB.deleteDatabase(E);return w&&S.addEventListener("blocked",()=>w()),Yr(S).then(()=>{})}const No=["get","getKey","getAll","getAllKeys","count"],ea=["put","add","delete","clear"],cs=new Map;function us(E,w){var S;if(!(E instanceof IDBDatabase)||w in E||"string"!=typeof w)return;if(cs.get(w))return cs.get(w);const Z=w.replace(/FromIndex$/,""),pe=w!==Z,je=ea.includes(Z);if(!(Z in(pe?IDBIndex:IDBObjectStore).prototype)||!je&&!No.includes(Z))return;const ot=function(Tt){return(S=S||(0,z.Z)(function*(jt,...Gt){const Xt=this.transaction(jt,je?"readwrite":"readonly");let kn=Xt.store;return pe&&(kn=kn.index(Gt.shift())),(yield Promise.all([kn[Z](...Gt),je&&Xt.done]))[0]})).apply(this,arguments)};return cs.set(w,ot),ot}var ws,xs,Us,Hs,pr,Wo,ko,lo,Ko,Ts,Ms,$s,Fo,Yo,Ss,gi,Lo,ei,_i,co;!function Fr(E){rr=E(rr)}(E=>({...E,get:(w,S,Z)=>us(w,S)||E.get(w,S,Z),has:(w,S)=>!!us(w,S)||E.has(w,S)}));const Do="/firebase-messaging-sw.js",li="/firebase-cloud-messaging-push-scope",ki="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",ds="https://fcmregistrations.googleapis.com/v1",uo="google.c.a.c_id",Zo="google.c.a.c_l",eo="google.c.a.ts";var to=function(E){return E.PUSH_RECEIVED="push-received",E.NOTIFICATION_CLICKED="notification-clicked",E}(to||{});function Li(E){const w=new Uint8Array(E);return btoa(String.fromCharCode(...w)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function fs(E){const S=(E+"=".repeat((4-E.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),Z=atob(S),pe=new Uint8Array(Z.length);for(let je=0;je<Z.length;++je)pe[je]=Z.charCodeAt(je);return pe}const fo="fcm_token_details_db",Bo=5,zi="fcm_token_object_Store",hs="firebase-messaging-database",Qo=1,xi="firebase-messaging-store";let jo=null;function Jo(){return jo||(jo=ao(hs,Qo,{upgrade:(E,w)=>{0===w&&E.createObjectStore(xi)}})),jo}function As(E){return(xs=xs||(0,z.Z)(function*(w){const S=Co(w),pe=yield(yield Jo()).transaction(xi).objectStore(xi).get(S);if(pe)return pe;{const je=yield function ho(E){return(ws=ws||(0,z.Z)(function*(w){var S;if("databases"in indexedDB&&!(yield indexedDB.databases()).map(gt=>gt.name).includes(fo))return null;let Z=null;return(yield ao(fo,Bo,{upgrade:function(ot,gt,Tt,jt){return(S=S||(0,z.Z)(function*(Gt,Xt,kn,$r){var qr;if(Xt<2||!Gt.objectStoreNames.contains(zi))return;const Qn=$r.objectStore(zi),Yi=yield Qn.index("fcmSenderId").get(w);if(yield Qn.clear(),Yi)if(2===Xt){const _n=Yi;if(!_n.auth||!_n.p256dh||!_n.endpoint)return;Z={token:_n.fcmToken,createTime:null!==(qr=_n.createTime)&&void 0!==qr?qr:Date.now(),subscriptionOptions:{auth:_n.auth,p256dh:_n.p256dh,endpoint:_n.endpoint,swScope:_n.swScope,vapidKey:"string"==typeof _n.vapidKey?_n.vapidKey:Li(_n.vapidKey)}}}else if(3===Xt){const _n=Yi;Z={token:_n.fcmToken,createTime:_n.createTime,subscriptionOptions:{auth:Li(_n.auth),p256dh:Li(_n.p256dh),endpoint:_n.endpoint,swScope:_n.swScope,vapidKey:Li(_n.vapidKey)}}}else if(4===Xt){const _n=Yi;Z={token:_n.fcmToken,createTime:_n.createTime,subscriptionOptions:{auth:Li(_n.auth),p256dh:Li(_n.p256dh),endpoint:_n.endpoint,swScope:_n.swScope,vapidKey:Li(_n.vapidKey)}}}})).apply(this,arguments)}})).close(),yield $i(fo),yield $i("fcm_vapid_details_db"),yield $i("undefined"),function Is(E){if(!E||!E.subscriptionOptions)return!1;const{subscriptionOptions:w}=E;return"number"==typeof E.createTime&&E.createTime>0&&"string"==typeof E.token&&E.token.length>0&&"string"==typeof w.auth&&w.auth.length>0&&"string"==typeof w.p256dh&&w.p256dh.length>0&&"string"==typeof w.endpoint&&w.endpoint.length>0&&"string"==typeof w.swScope&&w.swScope.length>0&&"string"==typeof w.vapidKey&&w.vapidKey.length>0}(Z)?Z:null})).apply(this,arguments)}(w.appConfig.senderId);if(je)return yield qo(w,je),je}})).apply(this,arguments)}function qo(E,w){return(Us=Us||(0,z.Z)(function*(S,Z){const pe=Co(S),ot=(yield Jo()).transaction(xi,"readwrite");return yield ot.objectStore(xi).put(Z,pe),yield ot.done,Z})).apply(this,arguments)}function Co({appConfig:E}){return E.appId}const Zr=new I.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 Vs(E,w){return(pr=pr||(0,z.Z)(function*(S,Z){const pe=yield T(S),je=se(Z),ot={method:"POST",headers:pe,body:JSON.stringify(je)};let gt;try{gt=yield(yield fetch(f(S.appConfig),ot)).json()}catch(Tt){throw Zr.create("token-subscribe-failed",{errorInfo:Tt?.toString()})}if(gt.error)throw Zr.create("token-subscribe-failed",{errorInfo:gt.error.message});if(!gt.token)throw Zr.create("token-subscribe-no-token");return gt.token})).apply(this,arguments)}function xo(E,w){return(ko=ko||(0,z.Z)(function*(S,Z){const je={method:"DELETE",headers:yield T(S)};try{const gt=yield(yield fetch(`${f(S.appConfig)}/${Z}`,je)).json();if(gt.error)throw Zr.create("token-unsubscribe-failed",{errorInfo:gt.error.message})}catch(ot){throw Zr.create("token-unsubscribe-failed",{errorInfo:ot?.toString()})}})).apply(this,arguments)}function f({projectId:E}){return`${ds}/projects/${E}/registrations`}function T(E){return(lo=lo||(0,z.Z)(function*({appConfig:w,installations:S}){const Z=yield S.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":w.apiKey,"x-goog-firebase-installations-auth":`FIS ${Z}`})})).apply(this,arguments)}function se({p256dh:E,auth:w,endpoint:S,vapidKey:Z}){const pe={web:{endpoint:S,auth:w,p256dh:E}};return Z!==ki&&(pe.web.applicationPubKey=Z),pe}const b=6048e5;function H(E){return(Ko=Ko||(0,z.Z)(function*(w){const S=yield function mn(E,w){return(Fo=Fo||(0,z.Z)(function*(S,Z){return(yield S.pushManager.getSubscription())||S.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:fs(Z)})})).apply(this,arguments)}(w.swRegistration,w.vapidKey),Z={vapidKey:w.vapidKey,swScope:w.swRegistration.scope,endpoint:S.endpoint,auth:Li(S.getKey("auth")),p256dh:Li(S.getKey("p256dh"))},pe=yield As(w.firebaseDependencies);if(pe){if(function Vn(E,w){return w.vapidKey===E.vapidKey&&w.endpoint===E.endpoint&&w.auth===E.auth&&w.p256dh===E.p256dh}(pe.subscriptionOptions,Z))return Date.now()>=pe.createTime+b?function qe(E,w){return(Ms=Ms||(0,z.Z)(function*(S,Z){try{const pe=yield function wo(E,w){return(Wo=Wo||(0,z.Z)(function*(S,Z){const pe=yield T(S),je=se(Z.subscriptionOptions),ot={method:"PATCH",headers:pe,body:JSON.stringify(je)};let gt;try{gt=yield(yield fetch(`${f(S.appConfig)}/${Z.token}`,ot)).json()}catch(Tt){throw Zr.create("token-update-failed",{errorInfo:Tt?.toString()})}if(gt.error)throw Zr.create("token-update-failed",{errorInfo:gt.error.message});if(!gt.token)throw Zr.create("token-update-no-token");return gt.token})).apply(this,arguments)}(S.firebaseDependencies,Z),je=Object.assign(Object.assign({},Z),{token:pe,createTime:Date.now()});return yield qo(S.firebaseDependencies,je),pe}catch(pe){throw yield function de(E){return(Ts=Ts||(0,z.Z)(function*(w){const S=yield As(w.firebaseDependencies);S&&(yield xo(w.firebaseDependencies,S.token),yield function Xo(E){return(Hs=Hs||(0,z.Z)(function*(w){const S=Co(w),pe=(yield Jo()).transaction(xi,"readwrite");yield pe.objectStore(xi).delete(S),yield pe.done})).apply(this,arguments)}(w.firebaseDependencies));const Z=yield w.swRegistration.pushManager.getSubscription();return!Z||Z.unsubscribe()})).apply(this,arguments)}(S),pe}})).apply(this,arguments)}(w,{token:pe.token,createTime:Date.now(),subscriptionOptions:Z}):pe.token;try{yield xo(w.firebaseDependencies,pe.token)}catch(je){console.warn(je)}return yt(w.firebaseDependencies,Z)}return yt(w.firebaseDependencies,Z)})).apply(this,arguments)}function yt(E,w){return($s=$s||(0,z.Z)(function*(S,Z){const je={token:yield Vs(S,Z),createTime:Date.now(),subscriptionOptions:Z};return yield qo(S,je),je.token})).apply(this,arguments)}function Bn(E){const w={from:E.from,collapseKey:E.collapse_key,messageId:E.fcmMessageId};return function gn(E,w){if(!w.notification)return;E.notification={};const S=w.notification.title;S&&(E.notification.title=S);const Z=w.notification.body;Z&&(E.notification.body=Z);const pe=w.notification.image;pe&&(E.notification.image=pe);const je=w.notification.icon;je&&(E.notification.icon=je)}(w,E),function cr(E,w){w.data&&(E.data=w.data)}(w,E),function Xn(E,w){var S,Z,pe,je,ot;if(!(w.fcmOptions||null!==(S=w.notification)&&void 0!==S&&S.click_action))return;E.fcmOptions={};const gt=null!==(pe=null===(Z=w.fcmOptions)||void 0===Z?void 0:Z.link)&&void 0!==pe?pe:null===(je=w.notification)||void 0===je?void 0:je.click_action;gt&&(E.fcmOptions.link=gt);const Tt=null===(ot=w.fcmOptions)||void 0===ot?void 0:ot.analytics_label;Tt&&(E.fcmOptions.analyticsLabel=Tt)}(w,E),w}function vi(E,w){const S=[];for(let Z=0;Z<E.length;Z++)S.push(E.charAt(Z)),Z<w.length&&S.push(w.charAt(Z));return S.join("")}function Mi(E){return Zr.create("missing-app-config-values",{valueName:E})}vi("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),vi("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class yi{constructor(w,S,Z){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const pe=function Ti(E){if(!E||!E.options)throw Mi("App Configuration Object");if(!E.name)throw Mi("App Name");const w=["projectId","apiKey","appId","messagingSenderId"],{options:S}=E;for(const Z of w)if(!S[Z])throw Mi(Z);return{appName:E.name,projectId:S.projectId,apiKey:S.apiKey,appId:S.appId,senderId:S.messagingSenderId}}(w);this.firebaseDependencies={app:w,appConfig:pe,installations:S,analyticsProvider:Z}}_delete(){return Promise.resolve()}}function er(E,w){return(Lo=Lo||(0,z.Z)(function*(S,Z){if(!navigator)throw Zr.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw Zr.create("permission-blocked");return yield function no(E,w){return(gi=gi||(0,z.Z)(function*(S,Z){Z?S.vapidKey=Z:S.vapidKey||(S.vapidKey=ki)})).apply(this,arguments)}(S,Z?.vapidKey),yield function xr(E,w){return(Ss=Ss||(0,z.Z)(function*(S,Z){if(!Z&&!S.swRegistration&&(yield function Lr(E){return(Yo=Yo||(0,z.Z)(function*(w){try{w.swRegistration=yield navigator.serviceWorker.register(Do,{scope:li}),w.swRegistration.update().catch(()=>{})}catch(S){throw Zr.create("failed-service-worker-registration",{browserErrorMessage:S?.message})}})).apply(this,arguments)}(S)),Z||!S.swRegistration){if(!(Z instanceof ServiceWorkerRegistration))throw Zr.create("invalid-sw-registration");S.swRegistration=Z}})).apply(this,arguments)}(S,Z?.serviceWorkerRegistration),H(S)})).apply(this,arguments)}function ci(E,w){return(_i=_i||(0,z.Z)(function*(S,Z){const pe=Z.data;if(!pe.isFirebaseMessaging)return;S.onMessageHandler&&pe.messageType===to.PUSH_RECEIVED&&("function"==typeof S.onMessageHandler?S.onMessageHandler(Bn(pe)):S.onMessageHandler.next(Bn(pe)));const je=pe.data;(function mr(E){return"object"==typeof E&&!!E&&uo in E})(je)&&"1"===je["google.c.a.e"]&&(yield function Uo(E,w,S){return(ei=ei||(0,z.Z)(function*(Z,pe,je){const ot=function ts(E){switch(E){case to.NOTIFICATION_CLICKED:return"notification_open";case to.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}(pe);(yield Z.firebaseDependencies.analyticsProvider.get()).logEvent(ot,{message_id:je[uo],message_name:je[Zo],message_time:je[eo],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}(S,pe.messageType,je))})).apply(this,arguments)}const Os="@firebase/messaging",ns=E=>{const w=new yi(E.getProvider("app").getImmediate(),E.getProvider("installations-internal").getImmediate(),E.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",S=>ci(w,S)),w},bi=E=>{const w=E.getProvider("messaging").getImmediate();return{getToken:Z=>er(w,Z)}};function C(){return(co=co||(0,z.Z)(function*(){try{yield(0,I.eu)()}catch{return!1}return typeof window<"u"&&(0,I.hl)()&&(0,I.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}var De,$e,ke,Bt,Nt,wn,Hr,ni,Qr;!function Ps(){(0,j._registerComponent)(new K.wA("messaging",ns,"PUBLIC")),(0,j._registerComponent)(new K.wA("messaging-internal",bi,"PRIVATE")),(0,j.registerVersion)(Os,"0.12.4"),(0,j.registerVersion)(Os,"0.12.4","esm2017")}();const ut="analytics",cn="firebase_id",Gi="origin",Wi=6e4,gr="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",rs="https://www.googletagmanager.com/gtag/js",ur=new Y.Yd("@firebase/analytics"),jr=new I.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.',"no-client-id":'The "client_id" field is empty.',"invalid-gtag-resource":"Trusted Types detected an invalid gtag resource: {$gtagURL}."});function ps(E){if(!E.startsWith(rs)){const w=jr.create("invalid-gtag-resource",{gtagURL:E});return ur.warn(w.message),""}return E}function Vt(E){return Promise.all(E.map(w=>w.catch(S=>S)))}const p=30,J=new class B{constructor(w={},S=1e3){this.throttleMetadata=w,this.intervalMillis=S}getThrottleMetadata(w){return this.throttleMetadata[w]}setThrottleMetadata(w,S){this.throttleMetadata[w]=S}deleteThrottleMetadata(w){delete this.throttleMetadata[w]}};function Re(E){return new Headers({Accept:"application/json","x-goog-api-key":E})}function nt(E){return(Bt=Bt||(0,z.Z)(function*(w,S=J,Z){const{appId:pe,apiKey:je,measurementId:ot}=w.options;if(!pe)throw jr.create("no-app-id");if(!je){if(ot)return{measurementId:ot,appId:pe};throw jr.create("no-api-key")}const gt=S.getThrottleMetadata(pe)||{backoffCount:0,throttleEndTimeMillis:Date.now()},Tt=new Zn;return setTimeout((0,z.Z)(function*(){Tt.abort()}),void 0!==Z?Z:Wi),Qt({appId:pe,apiKey:je,measurementId:ot},gt,Tt,S)})).apply(this,arguments)}function Qt(E,w,S){return(Nt=Nt||(0,z.Z)(function*(Z,{throttleEndTimeMillis:pe,backoffCount:je},ot,gt=J){var Tt;const{appId:jt,measurementId:Gt}=Z;try{yield function In(E,w){return new Promise((S,Z)=>{const pe=Math.max(w-Date.now(),0),je=setTimeout(S,pe);E.addEventListener(()=>{clearTimeout(je),Z(jr.create("fetch-throttle",{throttleEndTimeMillis:w}))})})}(ot,pe)}catch(Xt){if(Gt)return ur.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Gt} provided in the "measurementId" field in the local Firebase config. [${Xt?.message}]`),{appId:jt,measurementId:Gt};throw Xt}try{const Xt=yield function Dt(E){return(ke=ke||(0,z.Z)(function*(w){var S;const{appId:Z,apiKey:pe}=w,je={method:"GET",headers:Re(pe)},ot=gr.replace("{app-id}",Z),gt=yield fetch(ot,je);if(200!==gt.status&&304!==gt.status){let Tt="";try{const jt=yield gt.json();null!==(S=jt.error)&&void 0!==S&&S.message&&(Tt=jt.error.message)}catch{}throw jr.create("config-fetch-failed",{httpStatus:gt.status,responseMessage:Tt})}return gt.json()})).apply(this,arguments)}(Z);return gt.deleteThrottleMetadata(jt),Xt}catch(Xt){const kn=Xt;if(!function Ur(E){if(!(E instanceof I.ZR&&E.customData))return!1;const w=Number(E.customData.httpStatus);return 429===w||500===w||503===w||504===w}(kn)){if(gt.deleteThrottleMetadata(jt),Gt)return ur.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Gt} provided in the "measurementId" field in the local Firebase config. [${kn?.message}]`),{appId:jt,measurementId:Gt};throw Xt}const $r=503===Number(null===(Tt=kn?.customData)||void 0===Tt?void 0:Tt.httpStatus)?(0,I.$s)(je,gt.intervalMillis,p):(0,I.$s)(je,gt.intervalMillis),qr={throttleEndTimeMillis:Date.now()+$r,backoffCount:je+1};return gt.setThrottleMetadata(jt,qr),ur.debug(`Calling attemptFetch again in ${$r} millis`),Qt(Z,qr,ot,gt)}})).apply(this,arguments)}class Zn{constructor(){this.listeners=[]}addEventListener(w){this.listeners.push(w)}abort(){this.listeners.forEach(w=>w())}}let Si,is;function Wl(E,w,S,Z,pe,je,ot){return(ni=ni||(0,z.Z)(function*(gt,Tt,jt,Gt,Xt,kn,$r){var qr;const Qn=nt(gt);Qn.then(io=>{jt[io.measurementId]=io.appId,gt.options.measurementId&&io.measurementId!==gt.options.measurementId&&ur.warn(`The measurement ID in the local Firebase config (${gt.options.measurementId}) does not match the measurement ID fetched from the server (${io.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(io=>ur.error(io)),Tt.push(Qn);const Yi=function uu(){return(Hr=Hr||(0,z.Z)(function*(){if(!(0,I.hl)())return ur.warn(jr.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,I.eu)()}catch(E){return ur.warn(jr.create("indexeddb-unavailable",{errorInfo:E?.toString()}).message),!1}return!0})).apply(this,arguments)}().then(io=>{if(io)return Gt.getId()}),[_n,So]=yield Promise.all([Qn,Yi]);(function y(E){const w=window.document.getElementsByTagName("script");for(const S of Object.values(w))if(S.src&&S.src.includes(rs)&&S.src.includes(E))return S;return null})(kn)||function on(E,w){const S=function nn(E,w){let S;return window.trustedTypes&&(S=window.trustedTypes.createPolicy(E,w)),S}("firebase-js-sdk-policy",{createScriptURL:ps}),Z=document.createElement("script"),pe=`${rs}?l=${E}&id=${w}`;Z.src=S?S?.createScriptURL(pe):pe,Z.async=!0,document.head.appendChild(Z)}(kn,_n.measurementId),is&&(Xt("consent","default",is),function Ir(E){is=E}(void 0)),Xt("js",new Date);const hi=null!==(qr=$r?.config)&&void 0!==qr?qr:{};return hi[Gi]="firebase",hi.update=!0,null!=So&&(hi[cn]=So),Xt("config",_n.measurementId,hi),Si&&(Xt("set",Si),function il(E){Si=E}(void 0)),_n.measurementId})).apply(this,arguments)}class du{constructor(w){this.app=w}_delete(){return delete To[this.app.options.appId],Promise.resolve()}}let To={},ol=[];const ta={};let na,ro,Mo="dataLayer",Ws=!1;function Ql(E,w,S){!function Zl(){const E=[];if((0,I.ru)()&&E.push("This is a browser extension environment."),(0,I.zI)()||E.push("Cookies are not available."),E.length>0){const w=E.map((Z,pe)=>`(${pe+1}) ${Z}`).join(" "),S=jr.create("invalid-analytics-context",{errorInfo:w});ur.warn(S.message)}}();const Z=E.options.appId;if(!Z)throw jr.create("no-app-id");if(!E.options.apiKey){if(!E.options.measurementId)throw jr.create("no-api-key");ur.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!=To[Z])throw jr.create("already-exists",{id:Z});if(!Ws){!function pn(E){let w=[];Array.isArray(window[E])?w=window[E]:window[E]=w}(Mo);const{wrappedGtag:je,gtagCore:ot}=function h(E,w,S,Z,pe){let je=function(...ot){window[Z].push(arguments)};return window[pe]&&"function"==typeof window[pe]&&(je=window[pe]),window[pe]=function d(E,w,S,Z){var pe;return function je(ot){return(pe=pe||(0,z.Z)(function*(gt,...Tt){try{if("event"===gt){const[jt,Gt]=Tt;yield function Ki(E,w,S,Z,pe){return($e=$e||(0,z.Z)(function*(je,ot,gt,Tt,jt){try{let Gt=[];if(jt&&jt.send_to){let Xt=jt.send_to;Array.isArray(Xt)||(Xt=[Xt]);const kn=yield Vt(gt);for(const $r of Xt){const qr=kn.find(Yi=>Yi.measurementId===$r),Qn=qr&&ot[qr.appId];if(!Qn){Gt=[];break}Gt.push(Qn)}}0===Gt.length&&(Gt=Object.values(ot)),yield Promise.all(Gt),je("event",Tt,jt||{})}catch(Gt){ur.error(Gt)}})).apply(this,arguments)}(E,w,S,jt,Gt)}else if("config"===gt){const[jt,Gt]=Tt;yield function _r(E,w,S,Z,pe,je){return(De=De||(0,z.Z)(function*(ot,gt,Tt,jt,Gt,Xt){const kn=jt[Gt];try{if(kn)yield gt[kn];else{const qr=(yield Vt(Tt)).find(Qn=>Qn.measurementId===Gt);qr&&(yield gt[qr.appId])}}catch($r){ur.error($r)}ot("config",Gt,Xt)})).apply(this,arguments)}(E,w,S,Z,jt,Gt)}else if("consent"===gt){const[jt]=Tt;E("consent","update",jt)}else if("get"===gt){const[jt,Gt,Xt]=Tt;E("get",jt,Gt,Xt)}else if("set"===gt){const[jt]=Tt;E("set",jt)}else E(gt,...Tt)}catch(jt){ur.error(jt)}})).apply(this,arguments)}}(je,E,w,S),{gtagCore:je,wrappedGtag:window[pe]}}(To,ol,ta,Mo,"gtag");ro=je,na=ot,Ws=!0}return To[Z]=Wl(E,ol,ta,w,na,Mo,S),new du(E)}function ra(){return(Qr=Qr||(0,z.Z)(function*(){if((0,I.ru)()||!(0,I.zI)()||!(0,I.hl)())return!1;try{return yield(0,I.eu)()}catch{return!1}})).apply(this,arguments)}const _a="@firebase/analytics";!function fu(){(0,j._registerComponent)(new K.wA(ut,(w,{options:S})=>Ql(w.getProvider("app").getImmediate(),w.getProvider("installations-internal").getImmediate(),S),"PUBLIC")),(0,j._registerComponent)(new K.wA("analytics-internal",function E(w){try{const S=w.getProvider(ut).getImmediate();return{logEvent:(Z,pe,je)=>function zf(E,w,S,Z){E=(0,I.m9)(E),function ms(E,w,S,Z,pe){return(wn=wn||(0,z.Z)(function*(je,ot,gt,Tt,jt){if(jt&&jt.global)je("event",gt,Tt);else{const Gt=yield ot;je("event",gt,Object.assign(Object.assign({},Tt),{send_to:Gt}))}})).apply(this,arguments)}(ro,To[E.app.options.appId],w,S,Z).catch(pe=>ur.error(pe))}(S,Z,pe,je)}}catch(S){throw jr.create("interop-component-reg-failed",{reason:S})}},"PRIVATE")),(0,j.registerVersion)(_a,"0.10.0"),(0,j.registerVersion)(_a,"0.10.0","esm2017")}();var ia=v(1954),va=v(2631);const ql=new class Gf extends va.v{}(class sl extends ia.o{constructor(w,S){super(w,S),this.scheduler=w,this.work=S}schedule(w,S=0){return S>0?super.schedule(w,S):(this.delay=S,this.state=w,this.scheduler.flush(this),this)}execute(w,S){return S>0||this.closed?super.execute(w,S):this._execute(w,S)}requestAsyncId(w,S,Z=0){return null!=Z&&Z>0||null==Z&&this.delay>0?super.requestAsyncId(w,S,Z):(w.flush(this),0)}});var pu=v(6321),$o=v(9397),mu=v(5137),ya=v(3093);const al=new s.GfV("7.6.1"),ba="__angularfire_symbol__analyticsIsSupportedValue",Zs="__angularfire_symbol__analyticsIsSupported",oa="__angularfire_symbol__remoteConfigIsSupportedValue",ll="__angularfire_symbol__remoteConfigIsSupported",Ea="__angularfire_symbol__messagingIsSupportedValue",Da="__angularfire_symbol__messagingIsSupported";function Rs(E,w,S){if(w){if(1===w.length)return w[0];const je=w.filter(ot=>ot.app===S);if(1===je.length)return je[0]}return S.container.getProvider(E).getImmediate({optional:!0})}globalThis[Zs]||(globalThis[Zs]=ra().then(E=>globalThis[ba]=E).catch(()=>globalThis[ba]=!1)),globalThis[Da]||(globalThis[Da]=C().then(E=>globalThis[Ea]=E).catch(()=>globalThis[Ea]=!1)),globalThis[ll]||(globalThis[ll]=En().then(E=>globalThis[oa]=E).catch(()=>globalThis[oa]=!1));const _u=(E,w)=>{const S=w?[w]:(0,m.C6)(),Z=[];return S.forEach(pe=>{pe.container.getProvider(E).instances.forEach(ot=>{Z.includes(ot)||Z.push(ot)})}),Z};function Ns(){}class ul{constructor(w,S=ql){this.zone=w,this.delegate=S}now(){return this.delegate.now()}schedule(w,S,Z){const pe=this.zone;return this.delegate.schedule(function(ot){pe.runGuarded(()=>{w.apply(this,[ot])})},S,Z)}}class sa{constructor(w){this.zone=w,this.task=null}call(w,S){const Z=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",Ns,{},Ns,Ns)),S.pipe((0,$o.b)({next:Z,complete:Z,error:Z})).subscribe(w).add(Z)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let vu=(()=>{class E{constructor(S){this.ngZone=S,this.outsideAngular=S.runOutsideAngular(()=>new ul(Zone.current)),this.insideAngular=S.run(()=>new ul(Zone.current,pu.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return E.\u0275fac=function(S){return new(S||E)(s.LFG(s.R0b))},E.\u0275prov=s.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();function Jr(){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 dl(E){return Jr(),function fl(E){return function(S){return(S=S.lift(new sa(E.ngZone))).pipe((0,mu.R)(E.outsideAngular),(0,ya.Q)(E.insideAngular))}}(Jr())(E)}},9058:(mt,Ce,v)=>{v.d(Ce,{$s:()=>lt,BH:()=>ie,L:()=>te,LL:()=>ht,Pz:()=>V,UG:()=>Ve,US:()=>K,ZB:()=>he,ZR:()=>at,aH:()=>W,b$:()=>At,eu:()=>Ue,hl:()=>Be,jU:()=>it,m9:()=>qn,ne:()=>sn,pd:()=>Ut,r3:()=>et,ru:()=>pt,tV:()=>U,uI:()=>Se,vZ:()=>bt,w1:()=>Wt,xO:()=>Pn,xb:()=>kt,z$:()=>ge,zI:()=>We,zd:()=>Ft});const j=function(me){const L=[];let N=0;for(let O=0;O<me.length;O++){let D=me.charCodeAt(O);D<128?L[N++]=D:D<2048?(L[N++]=D>>6|192,L[N++]=63&D|128):55296==(64512&D)&&O+1<me.length&&56320==(64512&me.charCodeAt(O+1))?(D=65536+((1023&D)<<10)+(1023&me.charCodeAt(++O)),L[N++]=D>>18|240,L[N++]=D>>12&63|128,L[N++]=D>>6&63|128,L[N++]=63&D|128):(L[N++]=D>>12|224,L[N++]=D>>6&63|128,L[N++]=63&D|128)}return L},K={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(me,L){if(!Array.isArray(me))throw Error("encodeByteArray takes an array as a parameter");this.init_();const N=L?this.byteToCharMapWebSafe_:this.byteToCharMap_,O=[];for(let D=0;D<me.length;D+=3){const k=me[D],R=D+1<me.length,P=R?me[D+1]:0,$=D+2<me.length,_e=$?me[D+2]:0;let Le=(15&P)<<2|_e>>6,oe=63&_e;$||(oe=64,R||(Le=64)),O.push(N[k>>2],N[(3&k)<<4|P>>4],N[Le],N[oe])}return O.join("")},encodeString(me,L){return this.HAS_NATIVE_SUPPORT&&!L?btoa(me):this.encodeByteArray(j(me),L)},decodeString(me,L){return this.HAS_NATIVE_SUPPORT&&!L?atob(me):function(me){const L=[];let N=0,O=0;for(;N<me.length;){const D=me[N++];if(D<128)L[O++]=String.fromCharCode(D);else if(D>191&&D<224){const k=me[N++];L[O++]=String.fromCharCode((31&D)<<6|63&k)}else if(D>239&&D<365){const $=((7&D)<<18|(63&me[N++])<<12|(63&me[N++])<<6|63&me[N++])-65536;L[O++]=String.fromCharCode(55296+($>>10)),L[O++]=String.fromCharCode(56320+(1023&$))}else{const k=me[N++],R=me[N++];L[O++]=String.fromCharCode((15&D)<<12|(63&k)<<6|63&R)}}return L.join("")}(this.decodeStringToByteArray(me,L))},decodeStringToByteArray(me,L){this.init_();const N=L?this.charToByteMapWebSafe_:this.charToByteMap_,O=[];for(let D=0;D<me.length;){const k=N[me.charAt(D++)],P=D<me.length?N[me.charAt(D)]:0;++D;const _e=D<me.length?N[me.charAt(D)]:64;++D;const le=D<me.length?N[me.charAt(D)]:64;if(++D,null==k||null==P||null==_e||null==le)throw new Y;O.push(k<<2|P>>4),64!==_e&&(O.push(P<<4&240|_e>>2),64!==le&&O.push(_e<<6&192|le))}return O},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let me=0;me<this.ENCODED_VALS.length;me++)this.byteToCharMap_[me]=this.ENCODED_VALS.charAt(me),this.charToByteMap_[this.byteToCharMap_[me]]=me,this.byteToCharMapWebSafe_[me]=this.ENCODED_VALS_WEBSAFE.charAt(me),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[me]]=me,me>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(me)]=me,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(me)]=me)}}};class Y extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const te=function(me){return function(me){const L=j(me);return K.encodeByteArray(L,!0)}(me).replace(/\./g,"")},U=function(me){try{return K.decodeString(me,!0)}catch(L){console.error("base64Decode failed: ",L)}return null};function he(me,L){if(!(L instanceof Object))return L;switch(L.constructor){case Date:return new Date(L.getTime());case Object:void 0===me&&(me={});break;case Array:me=[];break;default:return L}for(const N in L)!L.hasOwnProperty(N)||!Me(N)||(me[N]=he(me[N],L[N]));return me}function Me(me){return"__proto__"!==me}const He=()=>{try{return function Ae(){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 me=process.env.__FIREBASE_DEFAULTS__;return me?JSON.parse(me):void 0})()||(()=>{if(typeof document>"u")return;let me;try{me=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const L=me&&U(me[1]);return L&&JSON.parse(L)})()}catch(me){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${me}`)}},W=()=>{var me;return null===(me=He())||void 0===me?void 0:me.config},V=me=>{var L;return null===(L=He())||void 0===L?void 0:L[`_${me}`]};class ie{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((L,N)=>{this.resolve=L,this.reject=N})}wrapCallback(L){return(N,O)=>{N?this.reject(N):this.resolve(O),"function"==typeof L&&(this.promise.catch(()=>{}),1===L.length?L(N):L(N,O))}}}function ge(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function Se(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(ge())}function Ve(){var me;const L=null===(me=He())||void 0===me?void 0:me.forceEnvironment;if("node"===L)return!0;if("browser"===L)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function it(){return"object"==typeof self&&self.self===self}function pt(){const me="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof me&&void 0!==me.id}function At(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function Wt(){const me=ge();return me.indexOf("MSIE ")>=0||me.indexOf("Trident/")>=0}function Be(){try{return"object"==typeof indexedDB}catch{return!1}}function Ue(){return new Promise((me,L)=>{try{let N=!0;const O="validate-browser-context-for-indexeddb-analytics-module",D=self.indexedDB.open(O);D.onsuccess=()=>{D.result.close(),N||self.indexedDB.deleteDatabase(O),me(!0)},D.onupgradeneeded=()=>{N=!1},D.onerror=()=>{var k;L((null===(k=D.error)||void 0===k?void 0:k.message)||"")}}catch(N){L(N)}})}function We(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}class at extends Error{constructor(L,N,O){super(N),this.code=L,this.customData=O,this.name="FirebaseError",Object.setPrototypeOf(this,at.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,ht.prototype.create)}}class ht{constructor(L,N,O){this.service=L,this.serviceName=N,this.errors=O}create(L,...N){const O=N[0]||{},D=`${this.service}/${L}`,k=this.errors[L],R=k?function Ot(me,L){return me.replace(ye,(N,O)=>{const D=L[O];return null!=D?String(D):`<${O}?>`})}(k,O):"Error";return new at(D,`${this.serviceName}: ${R} (${D}).`,O)}}const ye=/\{\$([^}]+)}/g;function et(me,L){return Object.prototype.hasOwnProperty.call(me,L)}function kt(me){for(const L in me)if(Object.prototype.hasOwnProperty.call(me,L))return!1;return!0}function bt(me,L){if(me===L)return!0;const N=Object.keys(me),O=Object.keys(L);for(const D of N){if(!O.includes(D))return!1;const k=me[D],R=L[D];if(Gn(k)&&Gn(R)){if(!bt(k,R))return!1}else if(k!==R)return!1}for(const D of O)if(!N.includes(D))return!1;return!0}function Gn(me){return null!==me&&"object"==typeof me}function Pn(me){const L=[];for(const[N,O]of Object.entries(me))Array.isArray(O)?O.forEach(D=>{L.push(encodeURIComponent(N)+"="+encodeURIComponent(D))}):L.push(encodeURIComponent(N)+"="+encodeURIComponent(O));return L.length?"&"+L.join("&"):""}function Ft(me){const L={};return me.replace(/^\?/,"").split("&").forEach(O=>{if(O){const[D,k]=O.split("=");L[decodeURIComponent(D)]=decodeURIComponent(k)}}),L}function Ut(me){const L=me.indexOf("?");if(!L)return"";const N=me.indexOf("#",L);return me.substring(L,N>0?N:void 0)}function sn(me,L){const N=new en(me,L);return N.subscribe.bind(N)}class en{constructor(L,N){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=N,this.task.then(()=>{L(this)}).catch(O=>{this.error(O)})}next(L){this.forEachObserver(N=>{N.next(L)})}error(L){this.forEachObserver(N=>{N.error(L)}),this.close(L)}complete(){this.forEachObserver(L=>{L.complete()}),this.close()}subscribe(L,N,O){let D;if(void 0===L&&void 0===N&&void 0===O)throw new Error("Missing Observer.");D=function dn(me,L){if("object"!=typeof me||null===me)return!1;for(const N of L)if(N in me&&"function"==typeof me[N])return!0;return!1}(L,["next","error","complete"])?L:{next:L,error:N,complete:O},void 0===D.next&&(D.next=yn),void 0===D.error&&(D.error=yn),void 0===D.complete&&(D.complete=yn);const k=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?D.error(this.finalError):D.complete()}catch{}}),this.observers.push(D),k}unsubscribeOne(L){void 0===this.observers||void 0===this.observers[L]||(delete this.observers[L],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(L){if(!this.finalized)for(let N=0;N<this.observers.length;N++)this.sendOne(N,L)}sendOne(L,N){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[L])try{N(this.observers[L])}catch(O){typeof console<"u"&&console.error&&console.error(O)}})}close(L){this.finalized||(this.finalized=!0,void 0!==L&&(this.finalError=L),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function yn(){}const Ke=1e3,wt=2,Et=144e5,ze=.5;function lt(me,L=Ke,N=wt){const O=L*Math.pow(N,me),D=Math.round(ze*O*(Math.random()-.5)*2);return Math.min(Et,O+D)}function qn(me){return me&&me._delegate?me._delegate:me}},4750:(mt,Ce,v)=>{v.d(Ce,{e:()=>he});var s=v(9397),m=v(2459),z=v(7398),j=v(4664),I=v(3106),K=v(5802),Y=v(5879),re=v(9659),te=v(6639),U=v(6897),Q=v(621);let he=(()=>{var Me;class Ae{constructor(xe,Ye,He,dt){this.httpService=xe,this.tokenDecodeService=Ye,this.afAuth=He,this.ngxPermission=dt}login(xe){return this.httpService.post("/api/token/Login",xe).pipe((0,s.b)(Ye=>{this.setLocalStorage(Ye,xe.Host,xe.Username),this.loadPermissions()}))}loginWithGoogle(xe,Ye){xe.preventDefault();const He=new I.Z.auth.GoogleAuthProvider;return He.setCustomParameters({prompt:"select_account"}),(0,m.D)(this.afAuth.signInWithPopup(He)).pipe((0,z.U)(dt=>dt.credential),(0,z.U)(dt=>dt.idToken),(0,j.w)(dt=>this.httpService.post("/api/token/LoginWithSocialProvider",JSON.stringify({IDToken:dt,Host:Ye}))),(0,s.b)(dt=>{this.setLocalStorage(dt,Ye,null),this.loadPermissions()}))}setLocalStorage(xe,Ye,He){localStorage.setItem("user",JSON.stringify(xe)),localStorage.setItem("Authorization",JSON.stringify({Host:Ye,username:He})),localStorage.setItem("Intercom",JSON.stringify(xe.IntercomWidget))}loadPermissions(){this.ngxPermission.loadPermissions([]);let xe=localStorage.getItem("user");if(K.g.IsNotEmpty(xe)){let Ye=this.tokenDecodeService.GetRoles();this.ngxPermission.loadPermissions(Ye)}}logout(){this.clearLocalStorage(),this.ngxPermission.flushPermissions()}isActiveToken(){let xe=JSON.parse(window.localStorage.getItem("user"));return null!=xe&&(new Date<new Date(xe.Token.expiredAt)||(this.clearLocalStorage(),!1))}getDomain(){if(!this.domain){const xe=localStorage.getItem("Authorization");this.domain="https://"+JSON.parse(xe).Host}return this.domain}clearLocalStorage(){localStorage.removeItem("Intercom"),localStorage.removeItem("Authorization"),localStorage.removeItem("user")}}return(Me=Ae).\u0275fac=function(xe){return new(xe||Me)(Y.LFG(re.O),Y.LFG(te.e),Y.LFG(U.zQ),Y.LFG(Q.YI))},Me.\u0275prov=Y.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Ae})()},5802:(mt,Ce,v)=>{v.d(Ce,{g:()=>z});var s=v(851),m=v(754);let z=(()=>{var j;class I{static IsNotEmpty(Y){return""!=Y&&Y!=I.GuidEMpty&&null!=Y&&null!=Y}static IsEmpty(Y){return""==Y||null==Y||null==Y||Y==I.GuidEMpty}static getChannelLogoByTypeId(Y){let re;switch(Y){case m.x.Tokopedia:re=s.$.TOKOPEDIA;break;case m.x.ShopeeV2:re=s.$.SHOOPE;break;case m.x.WooCommerce:re=s.$.WOOCOMMERCE;break;case m.x.Lazada:re=s.$.LAZADA;break;case m.x.Tiktok:re=s.$.TIKTOK;break;case m.x.KalCare:re=s.$.KALCARE}return re}static getChannelLogoByName(Y=""){let re;switch(Y=Y.toLowerCase()){case"tokopedia":re=s.$.TOKOPEDIA;break;case"shoppe":re=s.$.SHOOPE;break;case"woocommerce":re=s.$.WOOCOMMERCE;break;case"tiktok":re=s.$.TIKTOK;break;case"lazada":re=s.$.LAZADA;break;case"kalCare":re=s.$.KALCARE}return re}static getChannelName(Y){let re;switch(Y){case m.x.ShopeeV2:re="Shopee";break;case m.x.Tokopedia:re="Tokopedia";break;case m.x.Lazada:re="Lazada";break;case m.x.Tiktok:re="Tiktok";break;case m.x.WooCommerce:case m.x.KalCare:re="WooCommerce"}return re}static assignChannelLogo(Y){return Y.map(re=>(re.logo=this.getChannelLogoByTypeId(re.TypeID),re))}static getCssChannelColor(Y){let re;switch(Y){case m.x.ShopeeV2:re="#ee4d2d";break;case m.x.Tokopedia:re="var(--G500,#03AC0E)";break;case m.x.Lazada:re="#FF00B2";break;case m.x.Tiktok:re="black";break;case m.x.WooCommerce:re="#674399";break;case m.x.KalCare:re="rgb(128, 188, 0)"}return re}static getDaysDiff(Y,re){return(re.getTime()-Y.getTime())/864e5}static addDays(Y,re){const te=new Date(Number(Y));return te.setDate(Y.getDate()-re),te}static isValidDate(Y){return Y instanceof Date&&!isNaN(Y)}static getImageInfo(Y){return new Promise((re,te)=>{let U=new Image;U.src=Y,U.decode().then(()=>{re({img:Y,height:U.height,width:U.width})}).catch(()=>{te(new Error(`Image load error for ${Y}`))})})}static formatTitleFromDate(Y,re){let te=null;const U=new Date(Y),Q=new Date(re);return U.getDate()!=Q.getDate()&&(te="dd"),U.getMonth()!=Q.getMonth()&&(te="dd MMM"),U.getFullYear()!=Q.getFullYear()&&(te="dd MMM yyyy"),te}static openDownloadFile(Y,re){var te=window.URL.createObjectURL(Y),U=document.createElement("a");U.href=te,U.download=re,U.click()}static compare(Y,re,te){return(Y<re?-1:1)*(te?1:-1)}}return(j=I).GuidEMpty="00000000-0000-0000-0000-000000000000",j.MinDate="0001-01-01T00:00:00",I})()},851:(mt,Ce,v)=>{v.d(Ce,{$:()=>s});var s=function(m){return m.SHOOPE="//res.cloudinary.com/pos/image/upload/v1598262220/icons/marketplace_icons/shopee.png",m.WOOCOMMERCE="//res.cloudinary.com/pos/image/upload/w_50/v1632447439/icons/WooCommerce/woocommerce-icon.webp",m.TOKOPEDIA="//res.cloudinary.com/pos/image/upload/v1598262221/icons/marketplace_icons/tokopedia.png",m.TIKTOK="//res.cloudinary.com/pos/image/upload/w_30/v1645761611/icons/Marketplace%20logo/tiktok.png",m.LAZADA="//res.cloudinary.com/pos/image/upload/v1680681836/icons/marketplace_icons/Lazadanew.png",m.KALCARE="//res.cloudinary.com/pos/image/upload/v1654230268/icons/marketplace_icons/kalcare.png",m}(s||{})},754:(mt,Ce,v)=>{v.d(Ce,{x:()=>s});var s=function(m){return m[m.Shopee=0]="Shopee",m[m.Tokopedia=1]="Tokopedia",m[m.WooCommerce=2]="WooCommerce",m[m.None=3]="None",m[m.KalCare=4]="KalCare",m[m.ShopeeV2=5]="ShopeeV2",m[m.Tiktok=6]="Tiktok",m[m.Lazada=7]="Lazada",m}(s||{})},9659:(mt,Ce,v)=>{v.d(Ce,{O:()=>Ye});var s=v(6232),m=v(5592),z=v(6306),j=v(6321),I=v(93),K=v(9360),Y=v(4829),re=v(2306),te=v(8251),U=v(7103);const Q=(0,re.d)(He=>function(Ne=null){He(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Ne});function Me(He){throw new Q(He)}var Ae=v(5879),Ge=v(9862),xe=v(9229);let Ye=(()=>{var He;class dt{constructor(W,V){this.http=W,this.toastr=V}get(W){return this.http.get(W).pipe((0,z.K)(V=>{let ie=this.errorMessageHandling(V);return this.toastr.error(""!=ie.message?ie.message:"An unknown error has occured!",ie.header),s.E}))}post(W,V,ie={},ce=1e5){return new m.y(ge=>{this.http.post(W,V,ie).pipe(function he(He,dt){const{first:Ne,each:W,with:V=Me,scheduler:ie=dt??j.z,meta:ce=null}=(0,I.q)(He)?{first:He}:"number"==typeof He?{each:He}:He;if(null==Ne&&null==W)throw new TypeError("No timeout provided.");return(0,K.e)((ge,Se)=>{let Ve,it,pt=null,At=0;const Rt=Wt=>{it=(0,U.f)(Se,ie,()=>{try{Ve.unsubscribe(),(0,Y.Xf)(V({meta:ce,lastValue:pt,seen:At})).subscribe(Se)}catch($t){Se.error($t)}},Wt)};Ve=ge.subscribe((0,te.x)(Se,Wt=>{it?.unsubscribe(),At++,Se.next(pt=Wt),W>0&&Rt(W)},void 0,void 0,()=>{it?.closed||it?.unsubscribe(),pt=null})),!At&&Rt(null!=Ne?"number"==typeof Ne?Ne:+Ne-ie.now():W)})}(ce)).subscribe({next:Se=>{ge.next(Se),ge.complete()},error:Se=>{if(200==Se.status)ge.next(Se.error.text),ge.complete();else{if(!this.unauthorizedErrorHandling(Se)&&!Array.isArray(Se?.error?.Message)){let it=this.errorMessageHandling(Se);this.toastr.error(""!=it.message?it.message:"An unknown error has occured!",it.header,{enableHtml:!0})}ge.error(Se)}}})})}unauthorizedErrorHandling(W){let V=!1;return 401==W.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",V=!0),V}errorMessageHandling(W){let V="API Error",ie="Exception Message";return W.error?(V="API Error - "+W.status,W.error.Message&&(ie=-1!=W.error.Message.indexOf("Message")?JSON.parse(W.error.Message).Message:W.error.Message)):W.message&&(V="API Error - "+W.name,ie=W.message),{header:V,message:ie}}}return(He=dt).\u0275fac=function(W){return new(W||He)(Ae.LFG(Ge.eN),Ae.LFG(xe._W))},He.\u0275prov=Ae.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),dt})()},6639:(mt,Ce,v)=>{v.d(Ce,{e:()=>m});var s=v(5879);let m=(()=>{var z;class j{constructor(){}getParseToken(){let K=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(K.Token.access_token)}GetRoles(){return this.getParseToken()["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"]||[]}ParseToken(K){try{const re=K.split(".")[0].replace("-","+").replace("_","/"),te=JSON.parse(window.atob(re)),Q=K.split(".")[1].replace("-","+").replace("_","/"),he=JSON.parse(window.atob(Q));return he.header=te,he}catch{return!1}}}return(z=j).\u0275fac=function(K){return new(K||z)},z.\u0275prov=s.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),j})()},553:(mt,Ce,v)=>{v.d(Ce,{N:()=>s});const s={production:!0,version:"2.9.8",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"}}},3943:(mt,Ce,v)=>{var s=v(6593),m=v(5879),z=v(9862),j=v(7328);function I(C,l){return(c,g)=>!C.call(l,c,g)}var K=v(2181),Y=v(4829),te=v(3019),U=v(9080),Q=v(4716),he=v(4664),Me=v(9360),Ae=v(2420),Ge=v(8251);function xe(C){return(0,Me.e)((l,c)=>{let g=!1,A=null,G=null;const ve=()=>{if(G?.unsubscribe(),G=null,g){g=!1;const De=A;A=null,c.next(De)}};l.subscribe((0,Ge.x)(c,De=>{G?.unsubscribe(),g=!0,A=De,G=(0,Ge.x)(c,ve,Ae.Z),(0,Y.Xf)(C(De)).subscribe(G)},()=>{ve(),c.complete()},void 0,()=>{A=G=null}))})}var Ye=v(3997),He=v(9397),dt=v(6814);function Ne(C,l){1&C&&m.GkF(0)}function W(C,l){if(1&C&&m._UZ(0,"sk-cube-grid",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function V(C,l){if(1&C&&m._UZ(0,"sk-chasing-dots",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function ie(C,l){if(1&C&&m._UZ(0,"sk-double-bounce",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function ce(C,l){if(1&C&&m._UZ(0,"sk-rotating-plane",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function ge(C,l){if(1&C&&m._UZ(0,"sk-spinner-pulse",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function Se(C,l){if(1&C&&m._UZ(0,"sk-three-bounce",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function Ve(C,l){if(1&C&&m._UZ(0,"sk-wandering-cubes",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}function it(C,l){if(1&C&&m._UZ(0,"sk-wave",4),2&C){const c=m.oxw(2);m.Q6J("backgroundColor",c.backgroundColor)}}const pt=function(C){return{"background-color":C}};function At(C,l){if(1&C&&(m.TgZ(0,"div",1),m.YNc(1,Ne,1,0,"ng-container",2),m.YNc(2,W,1,1,"sk-cube-grid",3),m.YNc(3,V,1,1,"sk-chasing-dots",3),m.YNc(4,ie,1,1,"sk-double-bounce",3),m.YNc(5,ce,1,1,"sk-rotating-plane",3),m.YNc(6,ge,1,1,"sk-spinner-pulse",3),m.YNc(7,Se,1,1,"sk-three-bounce",3),m.YNc(8,Ve,1,1,"sk-wandering-cubes",3),m.YNc(9,it,1,1,"sk-wave",3),m.qZA()),2&C){const c=m.oxw();m.Udp("opacity",c.opacity),m.ekj("backdrop",c.backdrop),m.Q6J("ngStyle",m.VKq(14,pt,c.backdrop?c.backdropBackgroundColor:"transparent")),m.xp6(1),m.Q6J("ngComponentOutlet",c.entryComponent),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skCubeGrid),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skChasingDots),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skDoubleBounce),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skRotatingPlane),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skSpinnerPulse),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skThreeBounce),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skWanderingCubes),m.xp6(1),m.Q6J("ngIf",c.spinner===c.spinkit.skWave)}}let Rt=(()=>{class C{}return C.\u0275fac=function(c){return new(c||C)},C.\u0275dir=m.lG2({type:C,inputs:{backgroundColor:"backgroundColor"}}),C})(),Wt=(()=>{class C extends Rt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-chasing-dots"]],features:[m.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),$t=(()=>{class C extends Rt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-cube-grid"]],features:[m.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(c,g){1&c&&(m.TgZ(0,"div",0),m._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),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),vn=(()=>{class C extends Rt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-double-bounce"]],features:[m.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),xn=(()=>{class C extends Rt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-rotating-plane"]],features:[m.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(c,g){1&c&&m._UZ(0,"div",0),2&c&&m.Udp("background-color",g.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)}}"]}),C})(),Be=(()=>{class C extends Rt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-spinner-pulse"]],features:[m.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(c,g){1&c&&m._UZ(0,"div",0),2&c&&m.Udp("background-color",g.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}}"]}),C})(),Ue=(()=>{class C extends Rt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-three-bounce"]],features:[m.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(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2)(3,"div",3),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),We=(()=>{class C extends Rt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-wandering-cubes"]],features:[m.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})(),Qe=(()=>{class C extends Rt{}return C.\u0275fac=function(){let l;return function(g){return(l||(l=m.n5z(C)))(g||C)}}(),C.\u0275cmp=m.Xpm({type:C,selectors:[["sk-wave"]],features:[m.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(c,g){1&c&&(m.TgZ(0,"div",0),m._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),m.qZA()),2&c&&(m.ekj("colored",!g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.backgroundColor),m.xp6(1),m.Udp("background-color",g.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)}}"]}),C})();const at={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 Ot=(()=>{class C{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new j.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(c){this._filteredMethods=c}set filteredHeaders(c){this._filteredHeaders=c}set forceByPass(c){this._forceByPass=c}shouldBypassUrl(c){return this._filteredUrlPatterns.some(g=>g.test(c))}shouldBypassMethod(c){return this._filteredMethods.some(g=>g.toUpperCase()===c.method.toUpperCase())}shouldBypassHeader(c){return this._filteredHeaders.some(g=>c.headers.has(g))}shouldBypass(c){return this._forceByPass||this.shouldBypassUrl(c.urlWithParams)||this.shouldBypassMethod(c)||this.shouldBypassHeader(c)}intercept(c,g){const A=this.shouldBypass(c);return A||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),g.handle(c).pipe((0,Q.x)(()=>{A||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return C.\u0275fac=function(c){return new(c||C)},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();const ye=[{provide:z.TP,useExisting:Ot,multi:!0}];let Ze=(()=>{class C{constructor(c){this.pendingRequestsInterceptor=c,this._visibility$=new j.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 C.\u0275fac=function(c){return new(c||C)(m.LFG(Ot))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})(),Xe=(()=>{class C{constructor(c,g){this.pendingRequestsInterceptor=c,this.spinnerVisibility=g,this.spinkit=at,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=at.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[c,g]=function re(C,l,c){return[(0,K.h)(l,c)((0,Y.Xf)(C)),(0,K.h)(I(l,c))((0,Y.Xf)(C))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,A=>A);this.isVisible$=(0,te.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,he.w)(()=>c.pipe(xe(()=>(0,U.H)(this.debounceDelay))))),c.pipe((0,he.w)(()=>g.pipe(xe(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Ye.x)(),(0,He.b)(A=>this.updateExpirationDelay(A)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(c=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(c)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(c){c&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,U.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return C.\u0275fac=function(c){return new(c||C)(m.Y36(Ot),m.Y36(Ze))},C.\u0275cmp=m.Xpm({type:C,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(c,g){1&c&&(m.YNc(0,At,10,16,"div",0),m.ALo(1,"async")),2&c&&m.Q6J("ngIf",m.lcZ(1,1,g.isVisible$))},dependencies:[dt.$G,dt.O5,dt.PC,$t,Wt,vn,xn,Be,Ue,We,Qe,dt.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}"]}),C})(),fe=(()=>{class C{static forRoot(){return{ngModule:C,providers:[ye]}}}return C.\u0275fac=function(c){return new(c||C)},C.\u0275mod=m.oAB({type:C}),C.\u0275inj=m.cJS({imports:[dt.ez]}),C})();var be=v(9659),ft=v(6639),q=v(9790);const tt=[{path:"",loadChildren:()=>Promise.all([v.e(56),v.e(168)]).then(v.bind(v,7168)).then(C=>C.LoginModule)},{path:"menu",loadChildren:()=>Promise.all([v.e(56),v.e(452)]).then(v.bind(v,6452)).then(C=>C.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let et=(()=>{var C;class l{}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275mod=m.oAB({type:C}),C.\u0275inj=m.cJS({imports:[q.Bz.forRoot(tt,{}),q.Bz]}),l})();var St=v(7398),kt=v(1631);let rn=(()=>{var C;class l{constructor(g,A,G){this._router=g,this.titleService=A,this.activatedRoute=G}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe((0,K.h)(g=>g instanceof q.m2)).pipe((0,St.U)(()=>this.activatedRoute),(0,St.U)(g=>{for(;g.firstChild;)g=g.firstChild;return g}),(0,K.h)(g=>"primary"===g.outlet),(0,kt.z)(g=>g.data)).subscribe(g=>{let A=" | Marketplace";"Dealpos x Marketplace"==g.title&&(A=""),this.titleService.setTitle(g.title+A)})}overrideDateToJsonFunction(){function g(A){return A<10?"0"+A:A}Date.prototype.toJSON=function(){return this.getFullYear()+"-"+g(this.getMonth()+1)+"-"+g(this.getDate())+"T"+g(this.getHours())+":"+g(this.getMinutes())+":"+g(this.getSeconds())+".000"}}}return(C=l).\u0275fac=function(g){return new(g||C)(m.Y36(q.F0),m.Y36(s.Dx),m.Y36(q.gz))},C.\u0275cmp=m.Xpm({type:C,selectors:[["app-root"]],decls:2,vars:0,template:function(g,A){1&g&&m._UZ(0,"router-outlet")(1,"ng-http-loader")},dependencies:[q.lC,Xe]}),l})();var bt=v(6825);function Un(C){return new m.vHH(3e3,!1)}function le(C){switch(C.length){case 0:return new bt.ZN;case 1:return C[0];default:return new bt.ZE(C)}}function Le(C,l,c=new Map,g=new Map){const A=[],G=[];let ve=-1,De=null;if(l.forEach($e=>{const ke=$e.get("offset"),Bt=ke==ve,Nt=Bt&&De||new Map;$e.forEach((wn,bn)=>{let Kt=bn,un=wn;if("offset"!==bn)switch(Kt=C.normalizePropertyName(Kt,A),un){case bt.k1:un=c.get(bn);break;case bt.l3:un=g.get(bn);break;default:un=C.normalizeStyleValue(bn,Kt,un,A)}Nt.set(Kt,un)}),Bt||G.push(Nt),De=Nt,ve=ke}),A.length)throw function tn(C){return new m.vHH(3502,!1)}();return G}function oe(C,l,c,g){switch(l){case"start":C.onStart(()=>g(c&&ee(c,"start",C)));break;case"done":C.onDone(()=>g(c&&ee(c,"done",C)));break;case"destroy":C.onDestroy(()=>g(c&&ee(c,"destroy",C)))}}function ee(C,l,c){const G=Oe(C.element,C.triggerName,C.fromState,C.toState,l||C.phaseName,c.totalTime??C.totalTime,!!c.disabled),ve=C._data;return null!=ve&&(G._data=ve),G}function Oe(C,l,c,g,A="",G=0,ve){return{element:C,triggerName:l,fromState:c,toState:g,phaseName:A,totalTime:G,disabled:!!ve}}function X(C,l,c){let g=C.get(l);return g||C.set(l,g=c),g}function ue(C){const l=C.indexOf(":");return[C.substring(1,l),C.slice(l+1)]}const we=(()=>typeof document>"u"?null:document.documentElement)();function rt(C){const l=C.parentNode||C.host||null;return l===we?null:l}let xt=null,Pt=!1;function sr(C,l){for(;l;){if(l===C)return!0;l=rt(l)}return!1}function Vr(C,l,c){if(c)return Array.from(C.querySelectorAll(l));const g=C.querySelector(l);return g?[g]:[]}let Ln=(()=>{var C;class l{validateStyleProperty(g){return function Rn(C){xt||(xt=function Nn(){return typeof document<"u"?document.body:null}()||{},Pt=!!xt.style&&"WebkitAppearance"in xt.style);let l=!0;return xt.style&&!function Je(C){return"ebkit"==C.substring(1,6)}(C)&&(l=C in xt.style,!l&&Pt&&(l="Webkit"+C.charAt(0).toUpperCase()+C.slice(1)in xt.style)),l}(g)}matchesElement(g,A){return!1}containsElement(g,A){return sr(g,A)}getParentElement(g){return rt(g)}query(g,A,G){return Vr(g,A,G)}computeStyle(g,A,G){return G||""}animate(g,A,G,ve,De,$e=[],ke){return new bt.ZN(G,ve)}}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})(),Hn=(()=>{class l{}return l.NOOP=new Ln,l})();const zr=1e3,Pr="ng-enter",Sr="ng-leave",Rr="ng-trigger",ii=".ng-trigger",Xr="ng-animating",yr=".ng-animating";function Tr(C){if("number"==typeof C)return C;const l=C.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:Ai(parseFloat(l[1]),l[2])}function Ai(C,l){return"s"===l?C*zr:C}function ji(C,l,c){return C.hasOwnProperty("duration")?C:function zo(C,l,c){let A,G=0,ve="";if("string"==typeof C){const De=C.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===De)return l.push(Un()),{duration:0,delay:0,easing:""};A=Ai(parseFloat(De[1]),De[2]);const $e=De[3];null!=$e&&(G=Ai(parseFloat($e),De[4]));const ke=De[5];ke&&(ve=ke)}else A=C;if(!c){let De=!1,$e=l.length;A<0&&(l.push(function Pn(){return new m.vHH(3100,!1)}()),De=!0),G<0&&(l.push(function Ft(){return new m.vHH(3101,!1)}()),De=!0),De&&l.splice($e,0,Un())}return{duration:A,delay:G,easing:ve}}(C,l,c)}function Ji(C,l={}){return Object.keys(C).forEach(c=>{l[c]=C[c]}),l}function Oo(C){const l=new Map;return Object.keys(C).forEach(c=>{l.set(c,C[c])}),l}function Oi(C,l=new Map,c){if(c)for(let[g,A]of c)l.set(g,A);for(let[g,A]of C)l.set(g,A);return l}function br(C,l,c){l.forEach((g,A)=>{const G=Xi(A);c&&!c.has(A)&&c.set(A,C.style[G]),C.style[G]=g})}function oi(C,l){l.forEach((c,g)=>{const A=Xi(g);C.style[A]=""})}function pi(C){return Array.isArray(C)?1==C.length?C[0]:(0,bt.vP)(C):C}const so=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pi(C){let l=[];if("string"==typeof C){let c;for(;c=so.exec(C);)l.push(c[1]);so.lastIndex=0}return l}function tr(C,l,c){const g=C.toString(),A=g.replace(so,(G,ve)=>{let De=l[ve];return null==De&&(c.push(function zt(C){return new m.vHH(3003,!1)}()),De=""),De.toString()});return A==g?C:A}function qi(C){const l=[];let c=C.next();for(;!c.done;)l.push(c.value),c=C.next();return l}const Ui=/-+([a-z0-9])/g;function Xi(C){return C.replace(Ui,(...l)=>l[1].toUpperCase())}function Dr(C,l,c){switch(l.type){case 7:return C.visitTrigger(l,c);case 0:return C.visitState(l,c);case 1:return C.visitTransition(l,c);case 2:return C.visitSequence(l,c);case 3:return C.visitGroup(l,c);case 4:return C.visitAnimate(l,c);case 5:return C.visitKeyframes(l,c);case 6:return C.visitStyle(l,c);case 8:return C.visitReference(l,c);case 9:return C.visitAnimateChild(l,c);case 10:return C.visitAnimateRef(l,c);case 11:return C.visitQuery(l,c);case 12:return C.visitStagger(l,c);default:throw function sn(C){return new m.vHH(3004,!1)}()}}function Gr(C,l){return window.getComputedStyle(C)[l]}const It="*";function ln(C,l){const c=[];return"string"==typeof C?C.split(/\s*,\s*/).forEach(g=>function Wn(C,l,c){if(":"==C[0]){const $e=function Nr(C,l){switch(C){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,g)=>parseFloat(g)>parseFloat(c);case":decrement":return(c,g)=>parseFloat(g)<parseFloat(c);default:return l.push(function Et(C){return new m.vHH(3016,!1)}()),"* => *"}}(C,c);if("function"==typeof $e)return void l.push($e);C=$e}const g=C.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return c.push(function wt(C){return new m.vHH(3015,!1)}()),l;const A=g[1],G=g[2],ve=g[3];l.push(Ri(A,ve));"<"==G[0]&&!(A==It&&ve==It)&&l.push(Ri(ve,A))}(g,c,l)):c.push(C),c}const ui=new Set(["true","1"]),hr=new Set(["false","0"]);function Ri(C,l){const c=ui.has(C)||hr.has(C),g=ui.has(l)||hr.has(l);return(A,G)=>{let ve=C==It||C==A,De=l==It||l==G;return!ve&&c&&"boolean"==typeof A&&(ve=A?ui.has(C):hr.has(C)),!De&&g&&"boolean"==typeof G&&(De=G?ui.has(l):hr.has(l)),ve&&De}}const Wr=new RegExp("s*:selfs*,?","g");function Di(C,l,c,g){return new Ni(C).build(l,c,g)}class Ni{constructor(l){this._driver=l}build(l,c,g){const A=new Pe(c);return this._resetContextStyleTimingState(A),Dr(this,pi(l),A)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles=new Map,l.collectedStyles.set("",new Map),l.currentTime=0}visitTrigger(l,c){let g=c.queryCount=0,A=c.depCount=0;const G=[],ve=[];return"@"==l.name.charAt(0)&&c.errors.push(function Sn(){return new m.vHH(3006,!1)}()),l.definitions.forEach(De=>{if(this._resetContextStyleTimingState(c),0==De.type){const $e=De,ke=$e.name;ke.toString().split(/\s*,\s*/).forEach(Bt=>{$e.name=Bt,G.push(this.visitState($e,c))}),$e.name=ke}else if(1==De.type){const $e=this.visitTransition(De,c);g+=$e.queryCount,A+=$e.depCount,ve.push($e)}else c.errors.push(function dn(){return new m.vHH(3007,!1)}())}),{type:7,name:l.name,states:G,transitions:ve,queryCount:g,depCount:A,options:null}}visitState(l,c){const g=this.visitStyle(l.styles,c),A=l.options&&l.options.params||null;if(g.containsDynamicStyles){const G=new Set,ve=A||{};g.styles.forEach(De=>{De instanceof Map&&De.forEach($e=>{Pi($e).forEach(ke=>{ve.hasOwnProperty(ke)||G.add(ke)})})}),G.size&&(qi(G.values()),c.errors.push(function yn(C,l){return new m.vHH(3008,!1)}()))}return{type:0,name:l.name,style:g,options:A?{params:A}:null}}visitTransition(l,c){c.queryCount=0,c.depCount=0;const g=Dr(this,pi(l.animation),c);return{type:1,matchers:ln(l.expr,c.errors),animation:g,queryCount:c.queryCount,depCount:c.depCount,options:Mt(l.options)}}visitSequence(l,c){return{type:2,steps:l.steps.map(g=>Dr(this,g,c)),options:Mt(l.options)}}visitGroup(l,c){const g=c.currentTime;let A=0;const G=l.steps.map(ve=>{c.currentTime=g;const De=Dr(this,ve,c);return A=Math.max(A,c.currentTime),De});return c.currentTime=A,{type:3,steps:G,options:Mt(l.options)}}visitAnimate(l,c){const g=function _t(C,l){if(C.hasOwnProperty("duration"))return C;if("number"==typeof C)return Yt(ji(C,l).duration,0,"");const c=C;if(c.split(/\s+/).some(G=>"{"==G.charAt(0)&&"{"==G.charAt(1))){const G=Yt(0,0,"");return G.dynamic=!0,G.strValue=c,G}const A=ji(c,l);return Yt(A.duration,A.delay,A.easing)}(l.timings,c.errors);c.currentAnimateTimings=g;let A,G=l.styles?l.styles:(0,bt.oB)({});if(5==G.type)A=this.visitKeyframes(G,c);else{let ve=l.styles,De=!1;if(!ve){De=!0;const ke={};g.easing&&(ke.easing=g.easing),ve=(0,bt.oB)(ke)}c.currentTime+=g.duration+g.delay;const $e=this.visitStyle(ve,c);$e.isEmptyStep=De,A=$e}return c.currentAnimateTimings=null,{type:4,timings:g,style:A,options:null}}visitStyle(l,c){const g=this._makeStyleAst(l,c);return this._validateStyleAst(g,c),g}_makeStyleAst(l,c){const g=[],A=Array.isArray(l.styles)?l.styles:[l.styles];for(let De of A)"string"==typeof De?De===bt.l3?g.push(De):c.errors.push(new m.vHH(3002,!1)):g.push(Oo(De));let G=!1,ve=null;return g.forEach(De=>{if(De instanceof Map&&(De.has("easing")&&(ve=De.get("easing"),De.delete("easing")),!G))for(let $e of De.values())if($e.toString().indexOf("{{")>=0){G=!0;break}}),{type:6,styles:g,easing:ve,offset:l.offset,containsDynamicStyles:G,options:null}}_validateStyleAst(l,c){const g=c.currentAnimateTimings;let A=c.currentTime,G=c.currentTime;g&&G>0&&(G-=g.duration+g.delay),l.styles.forEach(ve=>{"string"!=typeof ve&&ve.forEach((De,$e)=>{const ke=c.collectedStyles.get(c.currentQuerySelector),Bt=ke.get($e);let Nt=!0;Bt&&(G!=A&&G>=Bt.startTime&&A<=Bt.endTime&&(c.errors.push(function or(C,l,c,g,A){return new m.vHH(3010,!1)}()),Nt=!1),G=Bt.startTime),Nt&&ke.set($e,{startTime:G,endTime:A}),c.options&&function Eo(C,l,c){const g=l.params||{},A=Pi(C);A.length&&A.forEach(G=>{g.hasOwnProperty(G)||c.push(function Ut(C){return new m.vHH(3001,!1)}())})}(De,c.options,c.errors)})})}visitKeyframes(l,c){const g={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function an(){return new m.vHH(3011,!1)}()),g;let G=0;const ve=[];let De=!1,$e=!1,ke=0;const Bt=l.steps.map(Br=>{const Hr=this._makeStyleAst(Br,c);let ni=null!=Hr.offset?Hr.offset:function st(C){if("string"==typeof C)return null;let l=null;if(Array.isArray(C))C.forEach(c=>{if(c instanceof Map&&c.has("offset")){const g=c;l=parseFloat(g.get("offset")),g.delete("offset")}});else if(C instanceof Map&&C.has("offset")){const c=C;l=parseFloat(c.get("offset")),c.delete("offset")}return l}(Hr.styles),Qr=0;return null!=ni&&(G++,Qr=Hr.offset=ni),$e=$e||Qr<0||Qr>1,De=De||Qr<ke,ke=Qr,ve.push(Qr),Hr});$e&&c.errors.push(function Jn(){return new m.vHH(3012,!1)}()),De&&c.errors.push(function Kn(){return new m.vHH(3200,!1)}());const Nt=l.steps.length;let wn=0;G>0&&G<Nt?c.errors.push(function An(){return new m.vHH(3202,!1)}()):0==G&&(wn=1/(Nt-1));const bn=Nt-1,Kt=c.currentTime,un=c.currentAnimateTimings,Yn=un.duration;return Bt.forEach((Br,Hr)=>{const ni=wn>0?Hr==bn?1:wn*Hr:ve[Hr],Qr=ni*Yn;c.currentTime=Kt+un.delay+Qr,un.duration=Qr,this._validateStyleAst(Br,c),Br.offset=ni,g.styles.push(Br)}),g}visitReference(l,c){return{type:8,animation:Dr(this,pi(l.animation),c),options:Mt(l.options)}}visitAnimateChild(l,c){return c.depCount++,{type:9,options:Mt(l.options)}}visitAnimateRef(l,c){return{type:10,animation:this.visitReference(l.animation,c),options:Mt(l.options)}}visitQuery(l,c){const g=c.currentQuerySelector,A=l.options||{};c.queryCount++,c.currentQuery=l;const[G,ve]=function Ie(C){const l=!!C.split(/\s*,\s*/).find(c=>":self"==c);return l&&(C=C.replace(Wr,"")),C=C.replace(/@\*/g,ii).replace(/@\w+/g,c=>ii+"-"+c.slice(1)).replace(/:animating/g,yr),[C,l]}(l.selector);c.currentQuerySelector=g.length?g+" "+G:G,X(c.collectedStyles,c.currentQuerySelector,new Map);const De=Dr(this,pi(l.animation),c);return c.currentQuery=null,c.currentQuerySelector=g,{type:11,selector:G,limit:A.limit||0,optional:!!A.optional,includeSelf:ve,animation:De,originalSelector:l.selector,options:Mt(l.options)}}visitStagger(l,c){c.currentQuery||c.errors.push(function dr(){return new m.vHH(3013,!1)}());const g="full"===l.timings?{duration:0,delay:0,easing:"full"}:ji(l.timings,c.errors,!0);return{type:12,animation:Dr(this,pi(l.animation),c),timings:g,options:null}}}class Pe{constructor(l){this.errors=l,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 Mt(C){return C?(C=Ji(C)).params&&(C.params=function Ee(C){return C?Ji(C):null}(C.params)):C={},C}function Yt(C,l,c){return{duration:C,delay:l,easing:c}}function $n(C,l,c,g,A,G,ve=null,De=!1){return{type:1,element:C,keyframes:l,preStyleProps:c,postStyleProps:g,duration:A,delay:G,totalTime:A+G,easing:ve,subTimeline:De}}class Tn{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,c){let g=this._map.get(l);g||this._map.set(l,g=[]),g.push(...c)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Kr=new RegExp(":enter","g"),di=new RegExp(":leave","g");function Ci(C,l,c,g,A,G=new Map,ve=new Map,De,$e,ke=[]){return(new Mr).buildKeyframes(C,l,c,g,A,G,ve,De,$e,ke)}class Mr{buildKeyframes(l,c,g,A,G,ve,De,$e,ke,Bt=[]){ke=ke||new Tn;const Nt=new kr(l,c,ke,A,G,Bt,[]);Nt.options=$e;const wn=$e.delay?Tr($e.delay):0;Nt.currentTimeline.delayNextStep(wn),Nt.currentTimeline.setStyles([ve],null,Nt.errors,$e),Dr(this,g,Nt);const bn=Nt.timelines.filter(Kt=>Kt.containsAnimation());if(bn.length&&De.size){let Kt;for(let un=bn.length-1;un>=0;un--){const Yn=bn[un];if(Yn.element===c){Kt=Yn;break}}Kt&&!Kt.allowOnlyTimelineStyles()&&Kt.setStyles([De],null,Nt.errors,$e)}return bn.length?bn.map(Kt=>Kt.buildKeyframes()):[$n(c,[],[],[],0,wn,"",!1)]}visitTrigger(l,c){}visitState(l,c){}visitTransition(l,c){}visitAnimateChild(l,c){const g=c.subInstructions.get(c.element);if(g){const A=c.createSubContext(l.options),G=c.currentTimeline.currentTime,ve=this._visitSubInstructions(g,A,A.options);G!=ve&&c.transformIntoNewTimeline(ve)}c.previousNode=l}visitAnimateRef(l,c){const g=c.createSubContext(l.options);g.transformIntoNewTimeline(),this._applyAnimationRefDelays([l.options,l.animation.options],c,g),this.visitReference(l.animation,g),c.transformIntoNewTimeline(g.currentTimeline.currentTime),c.previousNode=l}_applyAnimationRefDelays(l,c,g){for(const A of l){const G=A?.delay;if(G){const ve="number"==typeof G?G:Tr(tr(G,A?.params??{},c.errors));g.delayNextStep(ve)}}}_visitSubInstructions(l,c,g){let G=c.currentTimeline.currentTime;const ve=null!=g.duration?Tr(g.duration):null,De=null!=g.delay?Tr(g.delay):null;return 0!==ve&&l.forEach($e=>{const ke=c.appendInstructionToTimeline($e,ve,De);G=Math.max(G,ke.duration+ke.delay)}),G}visitReference(l,c){c.updateOptions(l.options,!0),Dr(this,l.animation,c),c.previousNode=l}visitSequence(l,c){const g=c.subContextCount;let A=c;const G=l.options;if(G&&(G.params||G.delay)&&(A=c.createSubContext(G),A.transformIntoNewTimeline(),null!=G.delay)){6==A.previousNode.type&&(A.currentTimeline.snapshotCurrentStyles(),A.previousNode=nr);const ve=Tr(G.delay);A.delayNextStep(ve)}l.steps.length&&(l.steps.forEach(ve=>Dr(this,ve,A)),A.currentTimeline.applyStylesToKeyframe(),A.subContextCount>g&&A.transformIntoNewTimeline()),c.previousNode=l}visitGroup(l,c){const g=[];let A=c.currentTimeline.currentTime;const G=l.options&&l.options.delay?Tr(l.options.delay):0;l.steps.forEach(ve=>{const De=c.createSubContext(l.options);G&&De.delayNextStep(G),Dr(this,ve,De),A=Math.max(A,De.currentTimeline.currentTime),g.push(De.currentTimeline)}),g.forEach(ve=>c.currentTimeline.mergeTimelineCollectedStyles(ve)),c.transformIntoNewTimeline(A),c.previousNode=l}_visitTiming(l,c){if(l.dynamic){const g=l.strValue;return ji(c.params?tr(g,c.params,c.errors):g,c.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,c){const g=c.currentAnimateTimings=this._visitTiming(l.timings,c),A=c.currentTimeline;g.delay&&(c.incrementTime(g.delay),A.snapshotCurrentStyles());const G=l.style;5==G.type?this.visitKeyframes(G,c):(c.incrementTime(g.duration),this.visitStyle(G,c),A.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=l}visitStyle(l,c){const g=c.currentTimeline,A=c.currentAnimateTimings;!A&&g.hasCurrentStyleProperties()&&g.forwardFrame();const G=A&&A.easing||l.easing;l.isEmptyStep?g.applyEmptyStep(G):g.setStyles(l.styles,G,c.errors,c.options),c.previousNode=l}visitKeyframes(l,c){const g=c.currentAnimateTimings,A=c.currentTimeline.duration,G=g.duration,De=c.createSubContext().currentTimeline;De.easing=g.easing,l.styles.forEach($e=>{De.forwardTime(($e.offset||0)*G),De.setStyles($e.styles,$e.easing,c.errors,c.options),De.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(De),c.transformIntoNewTimeline(A+G),c.previousNode=l}visitQuery(l,c){const g=c.currentTimeline.currentTime,A=l.options||{},G=A.delay?Tr(A.delay):0;G&&(6===c.previousNode.type||0==g&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=nr);let ve=g;const De=c.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!A.optional,c.errors);c.currentQueryTotal=De.length;let $e=null;De.forEach((ke,Bt)=>{c.currentQueryIndex=Bt;const Nt=c.createSubContext(l.options,ke);G&&Nt.delayNextStep(G),ke===c.element&&($e=Nt.currentTimeline),Dr(this,l.animation,Nt),Nt.currentTimeline.applyStylesToKeyframe(),ve=Math.max(ve,Nt.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(ve),$e&&(c.currentTimeline.mergeTimelineCollectedStyles($e),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=l}visitStagger(l,c){const g=c.parentContext,A=c.currentTimeline,G=l.timings,ve=Math.abs(G.duration),De=ve*(c.currentQueryTotal-1);let $e=ve*c.currentQueryIndex;switch(G.duration<0?"reverse":G.easing){case"reverse":$e=De-$e;break;case"full":$e=g.currentStaggerTime}const Bt=c.currentTimeline;$e&&Bt.delayNextStep($e);const Nt=Bt.currentTime;Dr(this,l.animation,c),c.previousNode=l,g.currentStaggerTime=A.currentTime-Nt+(A.startTime-g.currentTimeline.startTime)}}const nr={};class kr{constructor(l,c,g,A,G,ve,De,$e){this._driver=l,this.element=c,this.subInstructions=g,this._enterClassName=A,this._leaveClassName=G,this.errors=ve,this.timelines=De,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=nr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=$e||new si(this._driver,c,0),De.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,c){if(!l)return;const g=l;let A=this.options;null!=g.duration&&(A.duration=Tr(g.duration)),null!=g.delay&&(A.delay=Tr(g.delay));const G=g.params;if(G){let ve=A.params;ve||(ve=this.options.params={}),Object.keys(G).forEach(De=>{(!c||!ve.hasOwnProperty(De))&&(ve[De]=tr(G[De],ve,this.errors))})}}_copyOptions(){const l={};if(this.options){const c=this.options.params;if(c){const g=l.params={};Object.keys(c).forEach(A=>{g[A]=c[A]})}}return l}createSubContext(l=null,c,g){const A=c||this.element,G=new kr(this._driver,A,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(A,g||0));return G.previousNode=this.previousNode,G.currentAnimateTimings=this.currentAnimateTimings,G.options=this._copyOptions(),G.updateOptions(l),G.currentQueryIndex=this.currentQueryIndex,G.currentQueryTotal=this.currentQueryTotal,G.parentContext=this,this.subContextCount++,G}transformIntoNewTimeline(l){return this.previousNode=nr,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,c,g){const A={duration:c??l.duration,delay:this.currentTimeline.currentTime+(g??0)+l.delay,easing:""},G=new mi(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,A,l.stretchStartingKeyframe);return this.timelines.push(G),A}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,c,g,A,G,ve){let De=[];if(A&&De.push(this.element),l.length>0){l=(l=l.replace(Kr,"."+this._enterClassName)).replace(di,"."+this._leaveClassName);let ke=this._driver.query(this.element,l,1!=g);0!==g&&(ke=g<0?ke.slice(ke.length+g,ke.length):ke.slice(0,g)),De.push(...ke)}return!G&&0==De.length&&ve.push(function Ke(C){return new m.vHH(3014,!1)}()),De}}class si{constructor(l,c,g,A){this._driver=l,this.element=c,this.startTime=g,this._elementTimelineStylesLookup=A,this.duration=0,this.easing=null,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(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,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(l){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+l),c&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,c){return this.applyStylesToKeyframe(),new si(this._driver,l,c||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(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,c){this._localTimelineStyles.set(l,c),this._globalTimelineStyles.set(l,c),this._styleSummary.set(l,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&this._previousKeyframe.set("easing",l);for(let[c,g]of this._globalTimelineStyles)this._backFill.set(c,g||bt.l3),this._currentKeyframe.set(c,bt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,c,g,A){c&&this._previousKeyframe.set("easing",c);const G=A&&A.params||{},ve=function wi(C,l){const c=new Map;let g;return C.forEach(A=>{if("*"===A){g=g||l.keys();for(let G of g)c.set(G,bt.l3)}else Oi(A,c)}),c}(l,this._globalTimelineStyles);for(let[De,$e]of ve){const ke=tr($e,G,g);this._pendingStyles.set(De,ke),this._localTimelineStyles.has(De)||this._backFill.set(De,this._globalTimelineStyles.get(De)??bt.l3),this._updateStyle(De,ke)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((l,c)=>{this._currentKeyframe.set(c,l)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((l,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,l)}))}snapshotCurrentStyles(){for(let[l,c]of this._localTimelineStyles)this._pendingStyles.set(l,c),this._updateStyle(l,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let c in this._currentKeyframe)l.push(c);return l}mergeTimelineCollectedStyles(l){l._styleSummary.forEach((c,g)=>{const A=this._styleSummary.get(g);(!A||c.time>A.time)&&this._updateStyle(g,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,c=new Set,g=1===this._keyframes.size&&0===this.duration;let A=[];this._keyframes.forEach((De,$e)=>{const ke=Oi(De,new Map,this._backFill);ke.forEach((Bt,Nt)=>{Bt===bt.k1?l.add(Nt):Bt===bt.l3&&c.add(Nt)}),g||ke.set("offset",$e/this.duration),A.push(ke)});const G=l.size?qi(l.values()):[],ve=c.size?qi(c.values()):[];if(g){const De=A[0],$e=new Map(De);De.set("offset",0),$e.set("offset",1),A=[De,$e]}return $n(this.element,A,G,ve,this.duration,this.startTime,this.easing,!1)}}class mi extends si{constructor(l,c,g,A,G,ve,De=!1){super(l,c,ve.delay),this.keyframes=g,this.preStyleProps=A,this.postStyleProps=G,this._stretchStartingKeyframe=De,this.timings={duration:ve.duration,delay:ve.delay,easing:ve.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:c,duration:g,easing:A}=this.timings;if(this._stretchStartingKeyframe&&c){const G=[],ve=g+c,De=c/ve,$e=Oi(l[0]);$e.set("offset",0),G.push($e);const ke=Oi(l[0]);ke.set("offset",Cn(De)),G.push(ke);const Bt=l.length-1;for(let Nt=1;Nt<=Bt;Nt++){let wn=Oi(l[Nt]);const bn=wn.get("offset");wn.set("offset",Cn((c+bn*g)/ve)),G.push(wn)}g=ve,c=0,A="",l=G}return $n(this.element,l,this.preStyleProps,this.postStyleProps,g,c,A,!0)}}function Cn(C,l=3){const c=Math.pow(10,l-1);return Math.round(C*c)/c}class Fr{}const fi=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 Yr extends Fr{normalizePropertyName(l,c){return Xi(l)}normalizeStyleValue(l,c,g,A){let G="";const ve=g.toString().trim();if(fi.has(c)&&0!==g&&"0"!==g)if("number"==typeof g)G="px";else{const De=g.match(/^[+-]?[\d\.]+([a-z]*)$/);De&&0==De[1].length&&A.push(function en(C,l){return new m.vHH(3005,!1)}())}return ve+G}}function ai(C,l,c,g,A,G,ve,De,$e,ke,Bt,Nt,wn){return{type:0,element:C,triggerName:l,isRemovalTransition:A,fromState:c,fromStyles:G,toState:g,toStyles:ve,timelines:De,queriedElements:$e,preStyleProps:ke,postStyleProps:Bt,totalTime:Nt,errors:wn}}const ao={};class $i{constructor(l,c,g){this._triggerName=l,this.ast=c,this._stateStyles=g}match(l,c,g,A){return function ea(C,l,c,g,A){return C.some(G=>G(l,c,g,A))}(this.ast.matchers,l,c,g,A)}buildStyles(l,c,g){let A=this._stateStyles.get("*");return void 0!==l&&(A=this._stateStyles.get(l?.toString())||A),A?A.buildStyles(c,g):new Map}build(l,c,g,A,G,ve,De,$e,ke,Bt){const Nt=[],wn=this.ast.options&&this.ast.options.params||ao,Kt=this.buildStyles(g,De&&De.params||ao,Nt),un=$e&&$e.params||ao,Yn=this.buildStyles(A,un,Nt),Br=new Set,Hr=new Map,ni=new Map,Qr="void"===A,po={params:cs(un,wn),delay:this.ast.options?.delay},ut=Bt?[]:Ci(l,c,this.ast.animation,G,ve,Kt,Yn,po,ke,Nt);let cn=0;if(ut.forEach(Wi=>{cn=Math.max(Wi.duration+Wi.delay,cn)}),Nt.length)return ai(c,this._triggerName,g,A,Qr,Kt,Yn,[],[],Hr,ni,cn,Nt);ut.forEach(Wi=>{const gr=Wi.element,rs=X(Hr,gr,new Set);Wi.preStyleProps.forEach(ri=>rs.add(ri));const ur=X(ni,gr,new Set);Wi.postStyleProps.forEach(ri=>ur.add(ri)),gr!==c&&Br.add(gr)});const Gi=qi(Br.values());return ai(c,this._triggerName,g,A,Qr,Kt,Yn,ut,Gi,Hr,ni,cn)}}function cs(C,l){const c=Ji(l);for(const g in C)C.hasOwnProperty(g)&&null!=C[g]&&(c[g]=C[g]);return c}class us{constructor(l,c,g){this.styles=l,this.defaultParams=c,this.normalizer=g}buildStyles(l,c){const g=new Map,A=Ji(this.defaultParams);return Object.keys(l).forEach(G=>{const ve=l[G];null!==ve&&(A[G]=ve)}),this.styles.styles.forEach(G=>{"string"!=typeof G&&G.forEach((ve,De)=>{ve&&(ve=tr(ve,A,c));const $e=this.normalizer.normalizePropertyName(De,c);ve=this.normalizer.normalizeStyleValue(De,$e,ve,c),g.set(De,ve)})}),g}}class xs{constructor(l,c,g){this.name=l,this.ast=c,this._normalizer=g,this.transitionFactories=[],this.states=new Map,c.states.forEach(A=>{this.states.set(A.name,new us(A.style,A.options&&A.options.params||{},g))}),Hs(this.states,"true","1"),Hs(this.states,"false","0"),c.transitions.forEach(A=>{this.transitionFactories.push(new $i(l,A,this.states))}),this.fallbackTransition=function Us(C,l,c){return new $i(C,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ve,De)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,c,g,A){return this.transitionFactories.find(ve=>ve.match(l,c,g,A))||null}matchStyles(l,c,g){return this.fallbackTransition.buildStyles(l,c,g)}}function Hs(C,l,c){C.has(l)?C.has(c)||C.set(c,C.get(l)):C.has(c)&&C.set(l,C.get(c))}const pr=new Tn;class Wo{constructor(l,c,g){this.bodyNode=l,this._driver=c,this._normalizer=g,this._animations=new Map,this._playersById=new Map,this.players=[]}register(l,c){const g=[],G=Di(this._driver,c,g,[]);if(g.length)throw function qn(C){return new m.vHH(3503,!1)}();this._animations.set(l,G)}_buildPlayer(l,c,g){const A=l.element,G=Le(this._normalizer,l.keyframes,c,g);return this._driver.animate(A,G,l.duration,l.delay,l.easing,[],!0)}create(l,c,g={}){const A=[],G=this._animations.get(l);let ve;const De=new Map;if(G?(ve=Ci(this._driver,c,G,Pr,Sr,new Map,new Map,g,pr,A),ve.forEach(Bt=>{const Nt=X(De,Bt.element,new Map);Bt.postStyleProps.forEach(wn=>Nt.set(wn,null))})):(A.push(function me(){return new m.vHH(3300,!1)}()),ve=[]),A.length)throw function L(C){return new m.vHH(3504,!1)}();De.forEach((Bt,Nt)=>{Bt.forEach((wn,bn)=>{Bt.set(bn,this._driver.computeStyle(Nt,bn,bt.l3))})});const ke=le(ve.map(Bt=>{const Nt=De.get(Bt.element);return this._buildPlayer(Bt,new Map,Nt)}));return this._playersById.set(l,ke),ke.onDestroy(()=>this.destroy(l)),this.players.push(ke),ke}destroy(l){const c=this._getPlayer(l);c.destroy(),this._playersById.delete(l);const g=this.players.indexOf(c);g>=0&&this.players.splice(g,1)}_getPlayer(l){const c=this._playersById.get(l);if(!c)throw function N(C){return new m.vHH(3301,!1)}();return c}listen(l,c,g,A){const G=Oe(c,"","","");return oe(this._getPlayer(l),g,G,A),()=>{}}command(l,c,g,A){if("register"==g)return void this.register(l,A[0]);if("create"==g)return void this.create(l,c,A[0]||{});const G=this._getPlayer(l);switch(g){case"play":G.play();break;case"pause":G.pause();break;case"reset":G.reset();break;case"restart":G.restart();break;case"finish":G.finish();break;case"init":G.init();break;case"setPosition":G.setPosition(parseFloat(A[0]));break;case"destroy":this.destroy(l)}}}const ko="ng-animate-queued",Ko="ng-animate-disabled",Fo=[],Yo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ss={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},gi="__ng_removed";class Lo{get params(){return this.options.params}constructor(l,c=""){this.namespaceId=c;const g=l&&l.hasOwnProperty("value");if(this.value=function li(C){return C??null}(g?l.value:l),g){const G=Ji(l);delete G.value,this.options=G}else this.options={};this.options.params||(this.options.params={})}absorbOptions(l){const c=l.params;if(c){const g=this.options.params;Object.keys(c).forEach(A=>{null==g[A]&&(g[A]=c[A])})}}}const ei="void",_i=new Lo(ei);class co{constructor(l,c,g){this.id=l,this.hostElement=c,this._engine=g,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,ti(c,this._hostClassName)}listen(l,c,g,A){if(!this._triggers.has(c))throw function O(C,l){return new m.vHH(3302,!1)}();if(null==g||0==g.length)throw function D(C){return new m.vHH(3303,!1)}();if(!function ds(C){return"start"==C||"done"==C}(g))throw function k(C,l){return new m.vHH(3400,!1)}();const G=X(this._elementListeners,l,[]),ve={name:c,phase:g,callback:A};G.push(ve);const De=X(this._engine.statesByElement,l,new Map);return De.has(c)||(ti(l,Rr),ti(l,Rr+"-"+c),De.set(c,_i)),()=>{this._engine.afterFlush(()=>{const $e=G.indexOf(ve);$e>=0&&G.splice($e,1),this._triggers.has(c)||De.delete(c)})}}register(l,c){return!this._triggers.has(l)&&(this._triggers.set(l,c),!0)}_getTrigger(l){const c=this._triggers.get(l);if(!c)throw function R(C){return new m.vHH(3401,!1)}();return c}trigger(l,c,g,A=!0){const G=this._getTrigger(c),ve=new ir(this.id,c,l);let De=this._engine.statesByElement.get(l);De||(ti(l,Rr),ti(l,Rr+"-"+c),this._engine.statesByElement.set(l,De=new Map));let $e=De.get(c);const ke=new Lo(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&$e&&ke.absorbOptions($e.options),De.set(c,ke),$e||($e=_i),ke.value!==ei&&$e.value===ke.value){if(!function fo(C,l){const c=Object.keys(C),g=Object.keys(l);if(c.length!=g.length)return!1;for(let A=0;A<c.length;A++){const G=c[A];if(!l.hasOwnProperty(G)||C[G]!==l[G])return!1}return!0}($e.params,ke.params)){const un=[],Yn=G.matchStyles($e.value,$e.params,un),Br=G.matchStyles(ke.value,ke.params,un);un.length?this._engine.reportError(un):this._engine.afterFlush(()=>{oi(l,Yn),br(l,Br)})}return}const wn=X(this._engine.playersByElement,l,[]);wn.forEach(un=>{un.namespaceId==this.id&&un.triggerName==c&&un.queued&&un.destroy()});let bn=G.matchTransition($e.value,ke.value,l,ke.params),Kt=!1;if(!bn){if(!A)return;bn=G.fallbackTransition,Kt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:c,transition:bn,fromState:$e,toState:ke,player:ve,isFallbackTransition:Kt}),Kt||(ti(l,ko),ve.onStart(()=>{Fi(l,ko)})),ve.onDone(()=>{let un=this.players.indexOf(ve);un>=0&&this.players.splice(un,1);const Yn=this._engine.playersByElement.get(l);if(Yn){let Br=Yn.indexOf(ve);Br>=0&&Yn.splice(Br,1)}}),this.players.push(ve),wn.push(ve),ve}deregister(l){this._triggers.delete(l),this._engine.statesByElement.forEach(c=>c.delete(l)),this._elementListeners.forEach((c,g)=>{this._elementListeners.set(g,c.filter(A=>A.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const c=this._engine.playersByElement.get(l);c&&(c.forEach(g=>g.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,c){const g=this._engine.driver.query(l,ii,!0);g.forEach(A=>{if(A[gi])return;const G=this._engine.fetchNamespacesByElement(A);G.size?G.forEach(ve=>ve.triggerLeaveAnimation(A,c,!1,!0)):this.clearElementCache(A)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(A=>this.clearElementCache(A)))}triggerLeaveAnimation(l,c,g,A){const G=this._engine.statesByElement.get(l),ve=new Map;if(G){const De=[];if(G.forEach(($e,ke)=>{if(ve.set(ke,$e.value),this._triggers.has(ke)){const Bt=this.trigger(l,ke,ei,A);Bt&&De.push(Bt)}}),De.length)return this._engine.markElementAsRemoved(this.id,l,!0,c,ve),g&&le(De).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const c=this._elementListeners.get(l),g=this._engine.statesByElement.get(l);if(c&&g){const A=new Set;c.forEach(G=>{const ve=G.name;if(A.has(ve))return;A.add(ve);const $e=this._triggers.get(ve).fallbackTransition,ke=g.get(ve)||_i,Bt=new Lo(ei),Nt=new ir(this.id,ve,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:ve,transition:$e,fromState:ke,toState:Bt,player:Nt,isFallbackTransition:!0})})}}removeNode(l,c){const g=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,c),this.triggerLeaveAnimation(l,c,!0))return;let A=!1;if(g.totalAnimations){const G=g.players.length?g.playersByQueriedElement.get(l):[];if(G&&G.length)A=!0;else{let ve=l;for(;ve=ve.parentNode;)if(g.statesByElement.get(ve)){A=!0;break}}}if(this.prepareLeaveAnimationListeners(l),A)g.markElementAsRemoved(this.id,l,!1,c);else{const G=l[gi];(!G||G===Yo)&&(g.afterFlush(()=>this.clearElementCache(l)),g.destroyInnerAnimations(l),g._onRemovalComplete(l,c))}}insertNode(l,c){ti(l,this._hostClassName)}drainQueuedTransitions(l){const c=[];return this._queue.forEach(g=>{const A=g.player;if(A.destroyed)return;const G=g.element,ve=this._elementListeners.get(G);ve&&ve.forEach(De=>{if(De.name==g.triggerName){const $e=Oe(G,g.triggerName,g.fromState.value,g.toState.value);$e._data=l,oe(g.player,De.phase,$e,De.callback)}}),A.markedForDestroy?this._engine.afterFlush(()=>{A.destroy()}):c.push(g)}),this._queue=[],c.sort((g,A)=>{const G=g.transition.ast.depCount,ve=A.transition.ast.depCount;return 0==G||0==ve?G-ve:this._engine.driver.containsElement(g.element,A.element)?1:-1})}destroy(l){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}}class Vi{_onRemovalComplete(l,c){this.onRemovalComplete(l,c)}constructor(l,c,g){this.bodyNode=l,this.driver=c,this._normalizer=g,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=(A,G)=>{}}get queuedPlayers(){const l=[];return this._namespaceList.forEach(c=>{c.players.forEach(g=>{g.queued&&l.push(g)})}),l}createNamespace(l,c){const g=new co(l,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(g,c):(this.newHostElements.set(c,g),this.collectEnterElement(c)),this._namespaceLookup[l]=g}_balanceNamespaceList(l,c){const g=this._namespaceList,A=this.namespacesByHostElement;if(g.length-1>=0){let ve=!1,De=this.driver.getParentElement(c);for(;De;){const $e=A.get(De);if($e){const ke=g.indexOf($e);g.splice(ke+1,0,l),ve=!0;break}De=this.driver.getParentElement(De)}ve||g.unshift(l)}else g.push(l);return A.set(c,l),l}register(l,c){let g=this._namespaceLookup[l];return g||(g=this.createNamespace(l,c)),g}registerTrigger(l,c,g){let A=this._namespaceLookup[l];A&&A.register(c,g)&&this.totalAnimations++}destroy(l,c){l&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const g=this._fetchNamespace(l);this.namespacesByHostElement.delete(g.hostElement);const A=this._namespaceList.indexOf(g);A>=0&&this._namespaceList.splice(A,1),g.destroy(c),delete this._namespaceLookup[l]}))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const c=new Set,g=this.statesByElement.get(l);if(g)for(let A of g.values())if(A.namespaceId){const G=this._fetchNamespace(A.namespaceId);G&&c.add(G)}return c}trigger(l,c,g,A){if(ki(c)){const G=this._fetchNamespace(l);if(G)return G.trigger(c,g,A),!0}return!1}insertNode(l,c,g,A){if(!ki(c))return;const G=c[gi];if(G&&G.setForRemoval){G.setForRemoval=!1,G.setForMove=!0;const ve=this.collectedLeaveElements.indexOf(c);ve>=0&&this.collectedLeaveElements.splice(ve,1)}if(l){const ve=this._fetchNamespace(l);ve&&ve.insertNode(c,g)}A&&this.collectEnterElement(c)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,c){c?this.disabledNodes.has(l)||(this.disabledNodes.add(l),ti(l,Ko)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Fi(l,Ko))}removeNode(l,c,g){if(ki(c)){const A=l?this._fetchNamespace(l):null;A?A.removeNode(c,g):this.markElementAsRemoved(l,c,!1,g);const G=this.namespacesByHostElement.get(c);G&&G.id!==l&&G.removeNode(c,g)}else this._onRemovalComplete(c,g)}markElementAsRemoved(l,c,g,A,G){this.collectedLeaveElements.push(c),c[gi]={namespaceId:l,setForRemoval:A,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:G}}listen(l,c,g,A,G){return ki(c)?this._fetchNamespace(l).listen(c,g,A,G):()=>{}}_buildInstruction(l,c,g,A,G){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,g,A,l.fromState.options,l.toState.options,c,G)}destroyInnerAnimations(l){let c=this.driver.query(l,ii,!0);c.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(l,yr,!0),c.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(l){const c=this.playersByElement.get(l);c&&c.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(l){const c=this.playersByQueriedElement.get(l);c&&c.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return le(this.players).onDone(()=>l());l()})}processLeaveNode(l){const c=l[gi];if(c&&c.setForRemoval){if(l[gi]=Yo,c.namespaceId){this.destroyInnerAnimations(l);const g=this._fetchNamespace(c.namespaceId);g&&g.clearElementCache(l)}this._onRemovalComplete(l,c.setForRemoval)}l.classList?.contains(Ko)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(l=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,A)=>this._balanceNamespaceList(g,A)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;g<this.collectedEnterElements.length;g++)ti(this.collectedEnterElements[g],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const g=[];try{c=this._flushAnimations(g,l)}finally{for(let A=0;A<g.length;A++)g[A]()}}else for(let g=0;g<this.collectedLeaveElements.length;g++)this.processLeaveNode(this.collectedLeaveElements[g]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(g=>g()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],c.length?le(c).onDone(()=>{g.forEach(A=>A())}):g.forEach(A=>A())}}reportError(l){throw function P(C){return new m.vHH(3402,!1)}()}_flushAnimations(l,c){const g=new Tn,A=[],G=new Map,ve=[],De=new Map,$e=new Map,ke=new Map,Bt=new Set;this.disabledNodes.forEach(Vt=>{Bt.add(Vt);const nn=this.driver.query(Vt,".ng-animate-queued",!0);for(let on=0;on<nn.length;on++)Bt.add(nn[on])});const Nt=this.bodyNode,wn=Array.from(this.statesByElement.keys()),bn=eo(wn,this.collectedEnterElements),Kt=new Map;let un=0;bn.forEach((Vt,nn)=>{const on=Pr+un++;Kt.set(nn,on),Vt.forEach(pn=>ti(pn,on))});const Yn=[],Br=new Set,Hr=new Set;for(let Vt=0;Vt<this.collectedLeaveElements.length;Vt++){const nn=this.collectedLeaveElements[Vt],on=nn[gi];on&&on.setForRemoval&&(Yn.push(nn),Br.add(nn),on.hasAnimation?this.driver.query(nn,".ng-star-inserted",!0).forEach(pn=>Br.add(pn)):Hr.add(nn))}const ni=new Map,Qr=eo(wn,Array.from(Br));Qr.forEach((Vt,nn)=>{const on=Sr+un++;ni.set(nn,on),Vt.forEach(pn=>ti(pn,on))}),l.push(()=>{bn.forEach((Vt,nn)=>{const on=Kt.get(nn);Vt.forEach(pn=>Fi(pn,on))}),Qr.forEach((Vt,nn)=>{const on=ni.get(nn);Vt.forEach(pn=>Fi(pn,on))}),Yn.forEach(Vt=>{this.processLeaveNode(Vt)})});const po=[],ut=[];for(let Vt=this._namespaceList.length-1;Vt>=0;Vt--)this._namespaceList[Vt].drainQueuedTransitions(c).forEach(on=>{const pn=on.player,_r=on.element;if(po.push(pn),this.collectedEnterElements.length){const B=_r[gi];if(B&&B.setForMove){if(B.previousTriggersValues&&B.previousTriggersValues.has(on.triggerName)){const J=B.previousTriggersValues.get(on.triggerName),Re=this.statesByElement.get(on.element);if(Re&&Re.has(on.triggerName)){const Dt=Re.get(on.triggerName);Dt.value=J,Re.set(on.triggerName,Dt)}}return void pn.destroy()}}const Ki=!Nt||!this.driver.containsElement(Nt,_r),d=ni.get(_r),h=Kt.get(_r),y=this._buildInstruction(on,g,h,d,Ki);if(y.errors&&y.errors.length)return void ut.push(y);if(Ki)return pn.onStart(()=>oi(_r,y.fromStyles)),pn.onDestroy(()=>br(_r,y.toStyles)),void A.push(pn);if(on.isFallbackTransition)return pn.onStart(()=>oi(_r,y.fromStyles)),pn.onDestroy(()=>br(_r,y.toStyles)),void A.push(pn);const p=[];y.timelines.forEach(B=>{B.stretchStartingKeyframe=!0,this.disabledNodes.has(B.element)||p.push(B)}),y.timelines=p,g.append(_r,y.timelines),ve.push({instruction:y,player:pn,element:_r}),y.queriedElements.forEach(B=>X(De,B,[]).push(pn)),y.preStyleProps.forEach((B,J)=>{if(B.size){let Re=$e.get(J);Re||$e.set(J,Re=new Set),B.forEach((Dt,nt)=>Re.add(nt))}}),y.postStyleProps.forEach((B,J)=>{let Re=ke.get(J);Re||ke.set(J,Re=new Set),B.forEach((Dt,nt)=>Re.add(nt))})});if(ut.length){const Vt=[];ut.forEach(nn=>{Vt.push(function _e(C,l){return new m.vHH(3505,!1)}())}),po.forEach(nn=>nn.destroy()),this.reportError(Vt)}const cn=new Map,Gi=new Map;ve.forEach(Vt=>{const nn=Vt.element;g.has(nn)&&(Gi.set(nn,nn),this._beforeAnimationBuild(Vt.player.namespaceId,Vt.instruction,cn))}),A.forEach(Vt=>{const nn=Vt.element;this._getPreviousPlayers(nn,!1,Vt.namespaceId,Vt.triggerName,null).forEach(pn=>{X(cn,nn,[]).push(pn),pn.destroy()})});const Wi=Yn.filter(Vt=>Bo(Vt,$e,ke)),gr=new Map;Zo(gr,this.driver,Hr,ke,bt.l3).forEach(Vt=>{Bo(Vt,$e,ke)&&Wi.push(Vt)});const ur=new Map;bn.forEach((Vt,nn)=>{Zo(ur,this.driver,new Set(Vt),$e,bt.k1)}),Wi.forEach(Vt=>{const nn=gr.get(Vt),on=ur.get(Vt);gr.set(Vt,new Map([...nn?.entries()??[],...on?.entries()??[]]))});const ri=[],jr=[],ps={};ve.forEach(Vt=>{const{element:nn,player:on,instruction:pn}=Vt;if(g.has(nn)){if(Bt.has(nn))return on.onDestroy(()=>br(nn,pn.toStyles)),on.disabled=!0,on.overrideTotalTime(pn.totalTime),void A.push(on);let _r=ps;if(Gi.size>1){let d=nn;const h=[];for(;d=d.parentNode;){const y=Gi.get(d);if(y){_r=y;break}h.push(d)}h.forEach(y=>Gi.set(y,_r))}const Ki=this._buildAnimation(on.namespaceId,pn,cn,G,ur,gr);if(on.setRealPlayer(Ki),_r===ps)ri.push(on);else{const d=this.playersByElement.get(_r);d&&d.length&&(on.parentPlayer=le(d)),A.push(on)}}else oi(nn,pn.fromStyles),on.onDestroy(()=>br(nn,pn.toStyles)),jr.push(on),Bt.has(nn)&&A.push(on)}),jr.forEach(Vt=>{const nn=G.get(Vt.element);if(nn&&nn.length){const on=le(nn);Vt.setRealPlayer(on)}}),A.forEach(Vt=>{Vt.parentPlayer?Vt.syncPlayerEvents(Vt.parentPlayer):Vt.destroy()});for(let Vt=0;Vt<Yn.length;Vt++){const nn=Yn[Vt],on=nn[gi];if(Fi(nn,Sr),on&&on.hasAnimation)continue;let pn=[];if(De.size){let Ki=De.get(nn);Ki&&Ki.length&&pn.push(...Ki);let d=this.driver.query(nn,yr,!0);for(let h=0;h<d.length;h++){let y=De.get(d[h]);y&&y.length&&pn.push(...y)}}const _r=pn.filter(Ki=>!Ki.destroyed);_r.length?to(this,nn,_r):this.processLeaveNode(nn)}return Yn.length=0,ri.forEach(Vt=>{this.players.push(Vt),Vt.onDone(()=>{Vt.destroy();const nn=this.players.indexOf(Vt);this.players.splice(nn,1)}),Vt.play()}),ri}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,c,g,A,G){let ve=[];if(c){const De=this.playersByQueriedElement.get(l);De&&(ve=De)}else{const De=this.playersByElement.get(l);if(De){const $e=!G||G==ei;De.forEach(ke=>{ke.queued||!$e&&ke.triggerName!=A||ve.push(ke)})}}return(g||A)&&(ve=ve.filter(De=>!(g&&g!=De.namespaceId||A&&A!=De.triggerName))),ve}_beforeAnimationBuild(l,c,g){const G=c.element,ve=c.isRemovalTransition?void 0:l,De=c.isRemovalTransition?void 0:c.triggerName;for(const $e of c.timelines){const ke=$e.element,Bt=ke!==G,Nt=X(g,ke,[]);this._getPreviousPlayers(ke,Bt,ve,De,c.toState).forEach(bn=>{const Kt=bn.getRealPlayer();Kt.beforeDestroy&&Kt.beforeDestroy(),bn.destroy(),Nt.push(bn)})}oi(G,c.fromStyles)}_buildAnimation(l,c,g,A,G,ve){const De=c.triggerName,$e=c.element,ke=[],Bt=new Set,Nt=new Set,wn=c.timelines.map(Kt=>{const un=Kt.element;Bt.add(un);const Yn=un[gi];if(Yn&&Yn.removedBeforeQueried)return new bt.ZN(Kt.duration,Kt.delay);const Br=un!==$e,Hr=function Li(C){const l=[];return fs(C,l),l}((g.get(un)||Fo).map(cn=>cn.getRealPlayer())).filter(cn=>!!cn.element&&cn.element===un),ni=G.get(un),Qr=ve.get(un),po=Le(this._normalizer,Kt.keyframes,ni,Qr),ut=this._buildPlayer(Kt,po,Hr);if(Kt.subTimeline&&A&&Nt.add(un),Br){const cn=new ir(l,De,un);cn.setRealPlayer(ut),ke.push(cn)}return ut});ke.forEach(Kt=>{X(this.playersByQueriedElement,Kt.element,[]).push(Kt),Kt.onDone(()=>function Do(C,l,c){let g=C.get(l);if(g){if(g.length){const A=g.indexOf(c);g.splice(A,1)}0==g.length&&C.delete(l)}return g}(this.playersByQueriedElement,Kt.element,Kt))}),Bt.forEach(Kt=>ti(Kt,Xr));const bn=le(wn);return bn.onDestroy(()=>{Bt.forEach(Kt=>Fi(Kt,Xr)),br($e,c.toStyles)}),Nt.forEach(Kt=>{X(A,Kt,[]).push(bn)}),bn}_buildPlayer(l,c,g){return c.length>0?this.driver.animate(l.element,c,l.duration,l.delay,l.easing,g):new bt.ZN(l.duration,l.delay)}}class ir{constructor(l,c,g){this.namespaceId=l,this.triggerName=c,this.element=g,this._player=new bt.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,this._queuedCallbacks.forEach((c,g)=>{c.forEach(A=>oe(l,g,void 0,A))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const c=this._player;c.triggerCallback&&l.onStart(()=>c.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,c){X(this._queuedCallbacks,l,[]).push(c)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}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(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const c=this._player;c.triggerCallback&&c.triggerCallback(l)}}function ki(C){return C&&1===C.nodeType}function uo(C,l){const c=C.style.display;return C.style.display=l??"none",c}function Zo(C,l,c,g,A){const G=[];c.forEach($e=>G.push(uo($e)));const ve=[];g.forEach(($e,ke)=>{const Bt=new Map;$e.forEach(Nt=>{const wn=l.computeStyle(ke,Nt,A);Bt.set(Nt,wn),(!wn||0==wn.length)&&(ke[gi]=Ss,ve.push(ke))}),C.set(ke,Bt)});let De=0;return c.forEach($e=>uo($e,G[De++])),ve}function eo(C,l){const c=new Map;if(C.forEach(De=>c.set(De,[])),0==l.length)return c;const A=new Set(l),G=new Map;function ve(De){if(!De)return 1;let $e=G.get(De);if($e)return $e;const ke=De.parentNode;return $e=c.has(ke)?ke:A.has(ke)?1:ve(ke),G.set(De,$e),$e}return l.forEach(De=>{const $e=ve(De);1!==$e&&c.get($e).push(De)}),c}function ti(C,l){C.classList?.add(l)}function Fi(C,l){C.classList?.remove(l)}function to(C,l,c){le(c).onDone(()=>C.processLeaveNode(l))}function fs(C,l){for(let c=0;c<C.length;c++){const g=C[c];g instanceof bt.ZE?fs(g.players,l):l.push(g)}}function Bo(C,l,c){const g=c.get(C);if(!g)return!1;let A=l.get(C);return A?g.forEach(G=>A.add(G)):l.set(C,g),c.delete(C),!0}class zi{constructor(l,c,g){this.bodyNode=l,this._driver=c,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(A,G)=>{},this._transitionEngine=new Vi(l,c,g),this._timelineEngine=new Wo(l,c,g),this._transitionEngine.onRemovalComplete=(A,G)=>this.onRemovalComplete(A,G)}registerTrigger(l,c,g,A,G){const ve=l+"-"+A;let De=this._triggerCache[ve];if(!De){const $e=[],Bt=Di(this._driver,G,$e,[]);if($e.length)throw function Ht(C,l){return new m.vHH(3404,!1)}();De=function ws(C,l,c){return new xs(C,l,c)}(A,Bt,this._normalizer),this._triggerCache[ve]=De}this._transitionEngine.registerTrigger(c,A,De)}register(l,c){this._transitionEngine.register(l,c)}destroy(l,c){this._transitionEngine.destroy(l,c)}onInsert(l,c,g,A){this._transitionEngine.insertNode(l,c,g,A)}onRemove(l,c,g){this._transitionEngine.removeNode(l,c,g)}disableAnimations(l,c){this._transitionEngine.markElementAsDisabled(l,c)}process(l,c,g,A){if("@"==g.charAt(0)){const[G,ve]=ue(g);this._timelineEngine.command(G,c,ve,A)}else this._transitionEngine.trigger(l,c,g,A)}listen(l,c,g,A,G){if("@"==g.charAt(0)){const[ve,De]=ue(g);return this._timelineEngine.listen(ve,c,De,G)}return this._transitionEngine.listen(l,c,g,A,G)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(l){this._transitionEngine.afterFlushAnimationsDone(l)}}let Is=(()=>{class l{constructor(g,A,G){this._element=g,this._startStyles=A,this._endStyles=G,this._state=0;let ve=l.initialStylesByElement.get(g);ve||l.initialStylesByElement.set(g,ve=new Map),this._initialStyles=ve}start(){this._state<1&&(this._startStyles&&br(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(br(this._element,this._initialStyles),this._endStyles&&(br(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(l.initialStylesByElement.delete(this._element),this._startStyles&&(oi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(oi(this._element,this._endStyles),this._endStyles=null),br(this._element,this._initialStyles),this._state=3)}}return l.initialStylesByElement=new WeakMap,l})();function hs(C){let l=null;return C.forEach((c,g)=>{(function Qo(C){return"display"===C||"position"===C})(g)&&(l=l||new Map,l.set(g,c))}),l}class xi{constructor(l,c,g,A){this.element=l,this.keyframes=c,this.options=g,this._specialStyles=A,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=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(l){const c=[];return l.forEach(g=>{c.push(Object.fromEntries(g))}),c}_triggerWebAnimation(l,c,g){return l.animate(this._convertKeyframesToObject(c),g)}onStart(l){this._originalOnStartFns.push(l),this._onStartFns.push(l)}onDone(l){this._originalOnDoneFns.push(l),this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),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(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l=new Map;this.hasStarted()&&this._finalKeyframe.forEach((g,A)=>{"offset"!==A&&l.set(A,this._finished?g:Gr(this.element,A))}),this.currentSnapshot=l}triggerCallback(l){const c="start"===l?this._onStartFns:this._onDoneFns;c.forEach(g=>g()),c.length=0}}class jo{validateStyleProperty(l){return!0}validateAnimatableStyleProperty(l){return!0}matchesElement(l,c){return!1}containsElement(l,c){return sr(l,c)}getParentElement(l){return rt(l)}query(l,c,g){return Vr(l,c,g)}computeStyle(l,c,g){return window.getComputedStyle(l)[c]}animate(l,c,g,A,G,ve=[]){const $e={duration:g,delay:A,fill:0==A?"both":"forwards"};G&&($e.easing=G);const ke=new Map,Bt=ve.filter(bn=>bn instanceof xi);(function fr(C,l){return 0===C||0===l})(g,A)&&Bt.forEach(bn=>{bn.currentSnapshot.forEach((Kt,un)=>ke.set(un,Kt))});let Nt=function yo(C){return C.length?C[0]instanceof Map?C:C.map(l=>Oo(l)):[]}(c).map(bn=>Oi(bn));Nt=function wr(C,l,c){if(c.size&&l.length){let g=l[0],A=[];if(c.forEach((G,ve)=>{g.has(ve)||A.push(ve),g.set(ve,G)}),A.length)for(let G=1;G<l.length;G++){let ve=l[G];A.forEach(De=>ve.set(De,Gr(C,De)))}}return l}(l,Nt,ke);const wn=function ho(C,l){let c=null,g=null;return Array.isArray(l)&&l.length?(c=hs(l[0]),l.length>1&&(g=hs(l[l.length-1]))):l instanceof Map&&(c=hs(l)),c||g?new Is(C,c,g):null}(l,Nt);return new xi(l,Nt,$e,wn)}}let Jo=(()=>{var C;class l extends bt._j{constructor(g,A){super(),this._nextAnimationId=0,this._renderer=g.createRenderer(A.body,{id:"0",encapsulation:m.ifc.None,styles:[],data:{animation:[]}})}build(g){const A=this._nextAnimationId.toString();this._nextAnimationId++;const G=Array.isArray(g)?(0,bt.vP)(g):g;return Xo(this._renderer,null,A,"register",[G]),new As(A,this._renderer)}}return(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(m.FYo),m.LFG(dt.K0))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})();class As extends bt.LC{constructor(l,c){super(),this._id=l,this._renderer=c}create(l,c){return new qo(this._id,l,c||{},this._renderer)}}class qo{constructor(l,c,g,A){this.id=l,this.element=c,this._renderer=A,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",g)}_listen(l,c){return this._renderer.listen(this.element,`@@${this.id}:${l}`,c)}_command(l,...c){return Xo(this._renderer,this.element,this.id,l,c)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}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(l){this._command("setPosition",l)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Xo(C,l,c,g,A){return C.setProperty(l,`@@${c}:${g}`,A)}const es="@.disabled";let Zr=(()=>{var C;class l{constructor(g,A,G){this.delegate=g,this.engine=A,this._zone=G,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,A.onRemovalComplete=(ve,De)=>{const $e=De?.parentNode(ve);$e&&De.removeChild($e,ve)}}createRenderer(g,A){const ve=this.delegate.createRenderer(g,A);if(!(g&&A&&A.data&&A.data.animation)){let Nt=this._rendererCache.get(ve);return Nt||(Nt=new Vs("",ve,this.engine,()=>this._rendererCache.delete(ve)),this._rendererCache.set(ve,Nt)),Nt}const De=A.id,$e=A.id+"-"+this._currentId;this._currentId++,this.engine.register($e,g);const ke=Nt=>{Array.isArray(Nt)?Nt.forEach(ke):this.engine.registerTrigger(De,$e,g,Nt.name,Nt)};return A.data.animation.forEach(ke),new wo(this,$e,ve,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(g,A,G){g>=0&&g<this._microtaskId?this._zone.run(()=>A(G)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(ve=>{const[De,$e]=ve;De($e)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([A,G]))}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(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(m.FYo),m.LFG(zi),m.LFG(m.R0b))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})();class Vs{constructor(l,c,g,A){this.namespaceId=l,this.delegate=c,this.engine=g,this._onDestroy=A}get data(){return this.delegate.data}destroyNode(l){this.delegate.destroyNode?.(l)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(l,c){return this.delegate.createElement(l,c)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,c){this.delegate.appendChild(l,c),this.engine.onInsert(this.namespaceId,c,l,!1)}insertBefore(l,c,g,A=!0){this.delegate.insertBefore(l,c,g),this.engine.onInsert(this.namespaceId,c,l,A)}removeChild(l,c,g){this.engine.onRemove(this.namespaceId,c,this.delegate)}selectRootElement(l,c){return this.delegate.selectRootElement(l,c)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,c,g,A){this.delegate.setAttribute(l,c,g,A)}removeAttribute(l,c,g){this.delegate.removeAttribute(l,c,g)}addClass(l,c){this.delegate.addClass(l,c)}removeClass(l,c){this.delegate.removeClass(l,c)}setStyle(l,c,g,A){this.delegate.setStyle(l,c,g,A)}removeStyle(l,c,g){this.delegate.removeStyle(l,c,g)}setProperty(l,c,g){"@"==c.charAt(0)&&c==es?this.disableAnimations(l,!!g):this.delegate.setProperty(l,c,g)}setValue(l,c){this.delegate.setValue(l,c)}listen(l,c,g){return this.delegate.listen(l,c,g)}disableAnimations(l,c){this.engine.disableAnimations(l,c)}}class wo extends Vs{constructor(l,c,g,A,G){super(c,g,A,G),this.factory=l,this.namespaceId=c}setProperty(l,c,g){"@"==c.charAt(0)?"."==c.charAt(1)&&c==es?this.disableAnimations(l,g=void 0===g||!!g):this.engine.process(this.namespaceId,l,c.slice(1),g):this.delegate.setProperty(l,c,g)}listen(l,c,g){if("@"==c.charAt(0)){const A=function xo(C){switch(C){case"body":return document.body;case"document":return document;case"window":return window;default:return C}}(l);let G=c.slice(1),ve="";return"@"!=G.charAt(0)&&([G,ve]=function f(C){const l=C.indexOf(".");return[C.substring(0,l),C.slice(l+1)]}(G)),this.engine.listen(this.namespaceId,A,G,ve,De=>{this.factory.scheduleListenerCallback(De._data||-1,g,De)})}return this.delegate.listen(l,c,g)}}const H=[{provide:bt._j,useClass:Jo},{provide:Fr,useFactory:function se(){return new Yr}},{provide:zi,useClass:(()=>{var C;class l extends zi{constructor(g,A,G,ve){super(g.body,A,G)}ngOnDestroy(){this.flush()}}return(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(dt.K0),m.LFG(Hn),m.LFG(Fr),m.LFG(m.z2F))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})()},{provide:m.FYo,useFactory:function b(C,l,c){return new Zr(C,l,c)},deps:[s.se,zi,m.R0b]}],de=[{provide:Hn,useFactory:()=>new jo},{provide:m.QbO,useValue:"BrowserAnimations"},...H],qe=[{provide:Hn,useClass:Ln},{provide:m.QbO,useValue:"NoopAnimations"},...H];let yt=(()=>{var C;class l{static withConfig(g){return{ngModule:l,providers:g.disableAnimations?qe:de}}}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275mod=m.oAB({type:C}),C.\u0275inj=m.cJS({providers:de,imports:[s.b2]}),l})(),gn=(()=>{var C;class l{constructor(g){this._router=g}intercept(g,A){let G=JSON.parse(window.localStorage.getItem("user")),ve=new Date;if(null!=G){let De=new Date(G.Token.expiredAt);g=g.clone(ve<De?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${G.Token.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else g=g.clone({setHeaders:{"Content-Type":"application/json"}});return A.handle(g)}}return(C=l).\u0275fac=function(g){return new(g||C)(m.LFG(q.F0))},C.\u0275prov=m.Yz7({token:C,factory:C.\u0275fac}),l})();var cr=v(9229);const Xn=["custom-toast-component",""];function mr(C,l){if(1&C){const c=m.EpF();m.TgZ(0,"a",10),m.NdJ("click",function(){m.CHM(c);const A=m.oxw(2);return m.KtG(A.remove())}),m._uU(1," x "),m.qZA()}}function vi(C,l){if(1&C&&(m.TgZ(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),m._uU(4),m.qZA()()(),m.TgZ(5,"div",8),m.YNc(6,mr,2,0,"a",9),m.qZA()()),2&C){const c=m.oxw();m.Udp("display","inactive"===c.state.value?"none":""),m.xp6(2),m.Tol(c.options.titleClass),m.uIk("aria-label",c.title),m.xp6(2),m.Oqu(c.title),m.xp6(2),m.Q6J("ngIf",c.options.closeButton)}}const Ti=function(C){return{notitle:C}};function Mi(C,l){if(1&C&&m._UZ(0,"div",11),2&C){const c=m.oxw();m.Tol(c.options.messageClass),m.Q6J("ngClass",m.VKq(4,Ti,null==c.title))("innerHTML",c.message,m.oJD)}}function yi(C,l){if(1&C&&(m.TgZ(0,"div",12),m._uU(1),m.qZA()),2&C){const c=m.oxw();m.Tol(c.options.messageClass),m.Q6J("ngClass",m.VKq(5,Ti,null==c.title)),m.uIk("aria-label",c.message),m.xp6(1),m.hij(" ",c.message," ")}}function Lr(C,l){if(1&C){const c=m.EpF();m.TgZ(0,"a",10),m.NdJ("click",function(){m.CHM(c);const A=m.oxw();return m.KtG(A.remove())}),m._uU(1," x "),m.qZA()}}function xr(C,l){if(1&C&&(m.TgZ(0,"div"),m._UZ(1,"div",13),m.qZA()),2&C){const c=m.oxw();m.xp6(1),m.Udp("width",c.width+"%")}}let no=(()=>{var C;class l extends cr.FN{constructor(g,A){super(g,A),this.toastrService=g,this.toastPackage=A}ngOnInit(){}action(g){return g.stopPropagation(),this.toastPackage.triggerAction(),!1}}return(C=l).\u0275fac=function(g){return new(g||C)(m.Y36(cr._W),m.Y36(cr.PR))},C.\u0275cmp=m.Xpm({type:C,selectors:[["","custom-toast-component",""]],features:[m.qOj],attrs:Xn,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(g,A){1&g&&(m.TgZ(0,"div",0),m.YNc(1,vi,7,7,"div",1),m.YNc(2,Mi,1,6,"div",2),m.YNc(3,yi,2,7,"div",3),m.YNc(4,Lr,2,0,"a",4),m.YNc(5,xr,2,2,"div",5),m.qZA()),2&g&&(m.xp6(1),m.Q6J("ngIf",A.title),m.xp6(1),m.Q6J("ngIf",A.message&&A.options.enableHtml),m.xp6(1),m.Q6J("ngIf",A.message&&!A.options.enableHtml),m.xp6(1),m.Q6J("ngIf",A.options.closeButton&&null==A.title),m.xp6(1),m.Q6J("ngIf",A.options.progressBar))},dependencies:[dt.mk,dt.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,bt.X$)("flyInOut",[(0,bt.SB)("inactive",(0,bt.oB)({opacity:0})),(0,bt.eR)("inactive => active",(0,bt.jt)("400ms ease-out",(0,bt.F4)([(0,bt.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,bt.oB)({transform:"skewX(20deg)",opacity:1}),(0,bt.oB)({transform:"skewX(-5deg)",opacity:1}),(0,bt.oB)({transform:"none",opacity:1})]))),(0,bt.eR)("active => removed",(0,bt.jt)("400ms ease-out",(0,bt.F4)([(0,bt.oB)({opacity:1}),(0,bt.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),l})();var er=v(6280),Uo=v(6304),ts=v(6897),ci=v(553),Os=v(4170),zs=v(621),ns=v(4750);const bi={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]};let Ps=(()=>{var C;class l{}return(C=l).\u0275fac=function(g){return new(g||C)},C.\u0275mod=m.oAB({type:C,bootstrap:[rn]}),C.\u0275inj=m.cJS({providers:[{provide:z.TP,useClass:gn,multi:!0},{provide:Os.o2,useValue:{subscriptSizing:"dynamic"}},be.O,ft.e,{provide:m.ip1,useFactory:c=>function(){c.loadPermissions()},deps:[ns.e],multi:!0}],imports:[s.b2,et,yt,cr.Rh.forRoot({toastComponent:no,positionClass:"toast-bottom-right",closeButton:!0}),z.JF,er.Cz.forRoot(bi),fe.forRoot(),Uo.hO.initializeApp(ci.N.firebaseConfig),ts.ww,zs.VI.forRoot()]}),l})();ci.N.production&&(0,m.G48)(),s.q6().bootstrapModule(Ps).catch(C=>console.error(C))},5619:(mt,Ce,v)=>{v.d(Ce,{X:()=>m});var s=v(8645);class m extends s.x{constructor(j){super(),this._value=j}get value(){return this.getValue()}_subscribe(j){const I=super._subscribe(j);return!I.closed&&j.next(this._value),I}getValue(){const{hasError:j,thrownError:I,_value:K}=this;if(j)throw I;return this._throwIfClosed(),K}next(j){super.next(this._value=j)}}},5592:(mt,Ce,v)=>{v.d(Ce,{y:()=>re});var s=v(305),m=v(7394),z=v(4850),j=v(8407),I=v(2653),K=v(4674),Y=v(1441);let re=(()=>{class he{constructor(Ae){Ae&&(this._subscribe=Ae)}lift(Ae){const Ge=new he;return Ge.source=this,Ge.operator=Ae,Ge}subscribe(Ae,Ge,xe){const Ye=function Q(he){return he&&he instanceof s.Lv||function U(he){return he&&(0,K.m)(he.next)&&(0,K.m)(he.error)&&(0,K.m)(he.complete)}(he)&&(0,m.Nn)(he)}(Ae)?Ae:new s.Hp(Ae,Ge,xe);return(0,Y.x)(()=>{const{operator:He,source:dt}=this;Ye.add(He?He.call(Ye,dt):dt?this._subscribe(Ye):this._trySubscribe(Ye))}),Ye}_trySubscribe(Ae){try{return this._subscribe(Ae)}catch(Ge){Ae.error(Ge)}}forEach(Ae,Ge){return new(Ge=te(Ge))((xe,Ye)=>{const He=new s.Hp({next:dt=>{try{Ae(dt)}catch(Ne){Ye(Ne),He.unsubscribe()}},error:Ye,complete:xe});this.subscribe(He)})}_subscribe(Ae){var Ge;return null===(Ge=this.source)||void 0===Ge?void 0:Ge.subscribe(Ae)}[z.L](){return this}pipe(...Ae){return(0,j.U)(Ae)(this)}toPromise(Ae){return new(Ae=te(Ae))((Ge,xe)=>{let Ye;this.subscribe(He=>Ye=He,He=>xe(He),()=>Ge(Ye))})}}return he.create=Me=>new he(Me),he})();function te(he){var Me;return null!==(Me=he??I.config.Promise)&&void 0!==Me?Me:Promise}},7328:(mt,Ce,v)=>{v.d(Ce,{t:()=>z});var s=v(8645),m=v(4552);class z extends s.x{constructor(I=1/0,K=1/0,Y=m.l){super(),this._bufferSize=I,this._windowTime=K,this._timestampProvider=Y,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=K===1/0,this._bufferSize=Math.max(1,I),this._windowTime=Math.max(1,K)}next(I){const{isStopped:K,_buffer:Y,_infiniteTimeWindow:re,_timestampProvider:te,_windowTime:U}=this;K||(Y.push(I),!re&&Y.push(te.now()+U)),this._trimBuffer(),super.next(I)}_subscribe(I){this._throwIfClosed(),this._trimBuffer();const K=this._innerSubscribe(I),{_infiniteTimeWindow:Y,_buffer:re}=this,te=re.slice();for(let U=0;U<te.length&&!I.closed;U+=Y?1:2)I.next(te[U]);return this._checkFinalizedStatuses(I),K}_trimBuffer(){const{_bufferSize:I,_timestampProvider:K,_buffer:Y,_infiniteTimeWindow:re}=this,te=(re?1:2)*I;if(I<1/0&&te<Y.length&&Y.splice(0,Y.length-te),!re){const U=K.now();let Q=0;for(let he=1;he<Y.length&&Y[he]<=U;he+=2)Q=he;Q&&Y.splice(0,Q+1)}}}},8645:(mt,Ce,v)=>{v.d(Ce,{x:()=>Y});var s=v(5592),m=v(7394);const j=(0,v(2306).d)(te=>function(){te(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var I=v(9039),K=v(1441);let Y=(()=>{class te extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Q){const he=new re(this,this);return he.operator=Q,he}_throwIfClosed(){if(this.closed)throw new j}next(Q){(0,K.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const he of this.currentObservers)he.next(Q)}})}error(Q){(0,K.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Q;const{observers:he}=this;for(;he.length;)he.shift().error(Q)}})}complete(){(0,K.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Q}=this;for(;Q.length;)Q.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Q;return(null===(Q=this.observers)||void 0===Q?void 0:Q.length)>0}_trySubscribe(Q){return this._throwIfClosed(),super._trySubscribe(Q)}_subscribe(Q){return this._throwIfClosed(),this._checkFinalizedStatuses(Q),this._innerSubscribe(Q)}_innerSubscribe(Q){const{hasError:he,isStopped:Me,observers:Ae}=this;return he||Me?m.Lc:(this.currentObservers=null,Ae.push(Q),new m.w0(()=>{this.currentObservers=null,(0,I.P)(Ae,Q)}))}_checkFinalizedStatuses(Q){const{hasError:he,thrownError:Me,isStopped:Ae}=this;he?Q.error(Me):Ae&&Q.complete()}asObservable(){const Q=new s.y;return Q.source=this,Q}}return te.create=(U,Q)=>new re(U,Q),te})();class re extends Y{constructor(U,Q){super(),this.destination=U,this.source=Q}next(U){var Q,he;null===(he=null===(Q=this.destination)||void 0===Q?void 0:Q.next)||void 0===he||he.call(Q,U)}error(U){var Q,he;null===(he=null===(Q=this.destination)||void 0===Q?void 0:Q.error)||void 0===he||he.call(Q,U)}complete(){var U,Q;null===(Q=null===(U=this.destination)||void 0===U?void 0:U.complete)||void 0===Q||Q.call(U)}_subscribe(U){var Q,he;return null!==(he=null===(Q=this.source)||void 0===Q?void 0:Q.subscribe(U))&&void 0!==he?he:m.Lc}}},305:(mt,Ce,v)=>{v.d(Ce,{Hp:()=>xe,Lv:()=>he});var s=v(4674),m=v(7394),z=v(2653),j=v(3894),I=v(2420);const K=te("C",void 0,void 0);function te(W,V,ie){return{kind:W,value:V,error:ie}}var U=v(7599),Q=v(1441);class he extends m.w0{constructor(V){super(),this.isStopped=!1,V?(this.destination=V,(0,m.Nn)(V)&&V.add(this)):this.destination=Ne}static create(V,ie,ce){return new xe(V,ie,ce)}next(V){this.isStopped?dt(function re(W){return te("N",W,void 0)}(V),this):this._next(V)}error(V){this.isStopped?dt(function Y(W){return te("E",void 0,W)}(V),this):(this.isStopped=!0,this._error(V))}complete(){this.isStopped?dt(K,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(V){this.destination.next(V)}_error(V){try{this.destination.error(V)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Me=Function.prototype.bind;function Ae(W,V){return Me.call(W,V)}class Ge{constructor(V){this.partialObserver=V}next(V){const{partialObserver:ie}=this;if(ie.next)try{ie.next(V)}catch(ce){Ye(ce)}}error(V){const{partialObserver:ie}=this;if(ie.error)try{ie.error(V)}catch(ce){Ye(ce)}else Ye(V)}complete(){const{partialObserver:V}=this;if(V.complete)try{V.complete()}catch(ie){Ye(ie)}}}class xe extends he{constructor(V,ie,ce){let ge;if(super(),(0,s.m)(V)||!V)ge={next:V??void 0,error:ie??void 0,complete:ce??void 0};else{let Se;this&&z.config.useDeprecatedNextContext?(Se=Object.create(V),Se.unsubscribe=()=>this.unsubscribe(),ge={next:V.next&&Ae(V.next,Se),error:V.error&&Ae(V.error,Se),complete:V.complete&&Ae(V.complete,Se)}):ge=V}this.destination=new Ge(ge)}}function Ye(W){z.config.useDeprecatedSynchronousErrorHandling?(0,Q.O)(W):(0,j.h)(W)}function dt(W,V){const{onStoppedNotification:ie}=z.config;ie&&U.z.setTimeout(()=>ie(W,V))}const Ne={closed:!0,next:I.Z,error:function He(W){throw W},complete:I.Z}},7394:(mt,Ce,v)=>{v.d(Ce,{Lc:()=>K,w0:()=>I,Nn:()=>Y});var s=v(4674);const z=(0,v(2306).d)(te=>function(Q){te(this),this.message=Q?`${Q.length} errors occurred during unsubscription:\n${Q.map((he,Me)=>`${Me+1}) ${he.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Q});var j=v(9039);class I{constructor(U){this.initialTeardown=U,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let U;if(!this.closed){this.closed=!0;const{_parentage:Q}=this;if(Q)if(this._parentage=null,Array.isArray(Q))for(const Ae of Q)Ae.remove(this);else Q.remove(this);const{initialTeardown:he}=this;if((0,s.m)(he))try{he()}catch(Ae){U=Ae instanceof z?Ae.errors:[Ae]}const{_finalizers:Me}=this;if(Me){this._finalizers=null;for(const Ae of Me)try{re(Ae)}catch(Ge){U=U??[],Ge instanceof z?U=[...U,...Ge.errors]:U.push(Ge)}}if(U)throw new z(U)}}add(U){var Q;if(U&&U!==this)if(this.closed)re(U);else{if(U instanceof I){if(U.closed||U._hasParent(this))return;U._addParent(this)}(this._finalizers=null!==(Q=this._finalizers)&&void 0!==Q?Q:[]).push(U)}}_hasParent(U){const{_parentage:Q}=this;return Q===U||Array.isArray(Q)&&Q.includes(U)}_addParent(U){const{_parentage:Q}=this;this._parentage=Array.isArray(Q)?(Q.push(U),Q):Q?[Q,U]:U}_removeParent(U){const{_parentage:Q}=this;Q===U?this._parentage=null:Array.isArray(Q)&&(0,j.P)(Q,U)}remove(U){const{_finalizers:Q}=this;Q&&(0,j.P)(Q,U),U instanceof I&&U._removeParent(this)}}I.EMPTY=(()=>{const te=new I;return te.closed=!0,te})();const K=I.EMPTY;function Y(te){return te instanceof I||te&&"closed"in te&&(0,s.m)(te.remove)&&(0,s.m)(te.add)&&(0,s.m)(te.unsubscribe)}function re(te){(0,s.m)(te)?te():te.unsubscribe()}},2653:(mt,Ce,v)=>{v.d(Ce,{config:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(mt,Ce,v)=>{v.d(Ce,{a:()=>U});var s=v(5592),m=v(7453),z=v(2459),j=v(2737),I=v(7400),K=v(9940),Y=v(2714),re=v(8251),te=v(7103);function U(...Me){const Ae=(0,K.yG)(Me),Ge=(0,K.jO)(Me),{args:xe,keys:Ye}=(0,m.D)(Me);if(0===xe.length)return(0,z.D)([],Ae);const He=new s.y(function Q(Me,Ae,Ge=j.y){return xe=>{he(Ae,()=>{const{length:Ye}=Me,He=new Array(Ye);let dt=Ye,Ne=Ye;for(let W=0;W<Ye;W++)he(Ae,()=>{const V=(0,z.D)(Me[W],Ae);let ie=!1;V.subscribe((0,re.x)(xe,ce=>{He[W]=ce,ie||(ie=!0,Ne--),Ne||xe.next(Ge(He.slice()))},()=>{--dt||xe.complete()}))},xe)},xe)}}(xe,Ae,Ye?dt=>(0,Y.n)(Ye,dt):j.y));return Ge?He.pipe((0,I.Z)(Ge)):He}function he(Me,Ae,Ge){Me?(0,te.f)(Ge,Me,Ae):Ae()}},5211:(mt,Ce,v)=>{v.d(Ce,{z:()=>I});var s=v(7537),z=v(9940),j=v(2459);function I(...K){return function m(){return(0,s.J)(1)}()((0,j.D)(K,(0,z.yG)(K)))}},4911:(mt,Ce,v)=>{v.d(Ce,{P:()=>z});var s=v(5592),m=v(4829);function z(j){return new s.y(I=>{(0,m.Xf)(j()).subscribe(I)})}},6232:(mt,Ce,v)=>{v.d(Ce,{E:()=>m});const m=new(v(5592).y)(I=>I.complete())},9315:(mt,Ce,v)=>{v.d(Ce,{D:()=>re});var s=v(5592),m=v(7453),z=v(4829),j=v(9940),I=v(8251),K=v(7400),Y=v(2714);function re(...te){const U=(0,j.jO)(te),{args:Q,keys:he}=(0,m.D)(te),Me=new s.y(Ae=>{const{length:Ge}=Q;if(!Ge)return void Ae.complete();const xe=new Array(Ge);let Ye=Ge,He=Ge;for(let dt=0;dt<Ge;dt++){let Ne=!1;(0,z.Xf)(Q[dt]).subscribe((0,I.x)(Ae,W=>{Ne||(Ne=!0,He--),xe[dt]=W},()=>Ye--,void 0,()=>{(!Ye||!Ne)&&(He||Ae.next(he?(0,Y.n)(he,xe):xe),Ae.complete())}))}});return U?Me.pipe((0,K.Z)(U)):Me}},2459:(mt,Ce,v)=>{v.d(Ce,{D:()=>V});var s=v(4829),m=v(3093),z=v(5137),K=v(5592),re=v(4971),te=v(4674),U=v(7103);function he(ie,ce){if(!ie)throw new Error("Iterable cannot be null");return new K.y(ge=>{(0,U.f)(ge,ce,()=>{const Se=ie[Symbol.asyncIterator]();(0,U.f)(ge,ce,()=>{Se.next().then(Ve=>{Ve.done?ge.complete():ge.next(Ve.value)})},0,!0)})})}var Me=v(8382),Ae=v(4026),Ge=v(4266),xe=v(3664),Ye=v(5726),He=v(9853),dt=v(541);function V(ie,ce){return ce?function W(ie,ce){if(null!=ie){if((0,Me.c)(ie))return function j(ie,ce){return(0,s.Xf)(ie).pipe((0,z.R)(ce),(0,m.Q)(ce))}(ie,ce);if((0,Ge.z)(ie))return function Y(ie,ce){return new K.y(ge=>{let Se=0;return ce.schedule(function(){Se===ie.length?ge.complete():(ge.next(ie[Se++]),ge.closed||this.schedule())})})}(ie,ce);if((0,Ae.t)(ie))return function I(ie,ce){return(0,s.Xf)(ie).pipe((0,z.R)(ce),(0,m.Q)(ce))}(ie,ce);if((0,Ye.D)(ie))return he(ie,ce);if((0,xe.T)(ie))return function Q(ie,ce){return new K.y(ge=>{let Se;return(0,U.f)(ge,ce,()=>{Se=ie[re.h](),(0,U.f)(ge,ce,()=>{let Ve,it;try{({value:Ve,done:it}=Se.next())}catch(pt){return void ge.error(pt)}it?ge.complete():ge.next(Ve)},0,!0)}),()=>(0,te.m)(Se?.return)&&Se.return()})}(ie,ce);if((0,dt.L)(ie))return function Ne(ie,ce){return he((0,dt.Q)(ie),ce)}(ie,ce)}throw(0,He.z)(ie)}(ie,ce):(0,s.Xf)(ie)}},4829:(mt,Ce,v)=>{v.d(Ce,{Xf:()=>Me});var s=v(7582),m=v(4266),z=v(4026),j=v(5592),I=v(8382),K=v(5726),Y=v(9853),re=v(3664),te=v(541),U=v(4674),Q=v(3894),he=v(4850);function Me(W){if(W instanceof j.y)return W;if(null!=W){if((0,I.c)(W))return function Ae(W){return new j.y(V=>{const ie=W[he.L]();if((0,U.m)(ie.subscribe))return ie.subscribe(V);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(W);if((0,m.z)(W))return function Ge(W){return new j.y(V=>{for(let ie=0;ie<W.length&&!V.closed;ie++)V.next(W[ie]);V.complete()})}(W);if((0,z.t)(W))return function xe(W){return new j.y(V=>{W.then(ie=>{V.closed||(V.next(ie),V.complete())},ie=>V.error(ie)).then(null,Q.h)})}(W);if((0,K.D)(W))return He(W);if((0,re.T)(W))return function Ye(W){return new j.y(V=>{for(const ie of W)if(V.next(ie),V.closed)return;V.complete()})}(W);if((0,te.L)(W))return function dt(W){return He((0,te.Q)(W))}(W)}throw(0,Y.z)(W)}function He(W){return new j.y(V=>{(function Ne(W,V){var ie,ce,ge,Se;return(0,s.mG)(this,void 0,void 0,function*(){try{for(ie=(0,s.KL)(W);!(ce=yield ie.next()).done;)if(V.next(ce.value),V.closed)return}catch(Ve){ge={error:Ve}}finally{try{ce&&!ce.done&&(Se=ie.return)&&(yield Se.call(ie))}finally{if(ge)throw ge.error}}V.complete()})})(W,V).catch(ie=>V.error(ie))})}},3019:(mt,Ce,v)=>{v.d(Ce,{T:()=>K});var s=v(7537),m=v(4829),z=v(6232),j=v(9940),I=v(2459);function K(...Y){const re=(0,j.yG)(Y),te=(0,j._6)(Y,1/0),U=Y;return U.length?1===U.length?(0,m.Xf)(U[0]):(0,s.J)(te)((0,I.D)(U,re)):z.E}},2096:(mt,Ce,v)=>{v.d(Ce,{of:()=>z});var s=v(9940),m=v(2459);function z(...j){const I=(0,s.yG)(j);return(0,m.D)(j,I)}},8504:(mt,Ce,v)=>{v.d(Ce,{_:()=>z});var s=v(5592),m=v(4674);function z(j,I){const K=(0,m.m)(j)?j:()=>j,Y=re=>re.error(K());return new s.y(I?re=>I.schedule(Y,0,re):Y)}},9080:(mt,Ce,v)=>{v.d(Ce,{H:()=>I});var s=v(5592),m=v(6321),z=v(671),j=v(93);function I(K=0,Y,re=m.P){let te=-1;return null!=Y&&((0,z.K)(Y)?re=Y:te=Y),new s.y(U=>{let Q=(0,j.q)(K)?+K-re.now():K;Q<0&&(Q=0);let he=0;return re.schedule(function(){U.closed||(U.next(he++),0<=te?this.schedule(void 0,te):U.complete())},Q)})}},8251:(mt,Ce,v)=>{v.d(Ce,{x:()=>m});var s=v(305);function m(j,I,K,Y,re){return new z(j,I,K,Y,re)}class z extends s.Lv{constructor(I,K,Y,re,te,U){super(I),this.onFinalize=te,this.shouldUnsubscribe=U,this._next=K?function(Q){try{K(Q)}catch(he){I.error(he)}}:super._next,this._error=re?function(Q){try{re(Q)}catch(he){I.error(he)}finally{this.unsubscribe()}}:super._error,this._complete=Y?function(){try{Y()}catch(Q){I.error(Q)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var I;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:K}=this;super.unsubscribe(),!K&&(null===(I=this.onFinalize)||void 0===I||I.call(this))}}}},6306:(mt,Ce,v)=>{v.d(Ce,{K:()=>j});var s=v(4829),m=v(8251),z=v(9360);function j(I){return(0,z.e)((K,Y)=>{let U,re=null,te=!1;re=K.subscribe((0,m.x)(Y,void 0,void 0,Q=>{U=(0,s.Xf)(I(Q,j(I)(K))),re?(re.unsubscribe(),re=null,U.subscribe(Y)):te=!0})),te&&(re.unsubscribe(),re=null,U.subscribe(Y))})}},6328:(mt,Ce,v)=>{v.d(Ce,{b:()=>z});var s=v(1631),m=v(4674);function z(j,I){return(0,m.m)(I)?(0,s.z)(j,I,1):(0,s.z)(j,1)}},3620:(mt,Ce,v)=>{v.d(Ce,{b:()=>j});var s=v(6321),m=v(9360),z=v(8251);function j(I,K=s.z){return(0,m.e)((Y,re)=>{let te=null,U=null,Q=null;const he=()=>{if(te){te.unsubscribe(),te=null;const Ae=U;U=null,re.next(Ae)}};function Me(){const Ae=Q+I,Ge=K.now();if(Ge<Ae)return te=this.schedule(void 0,Ae-Ge),void re.add(te);he()}Y.subscribe((0,z.x)(re,Ae=>{U=Ae,Q=K.now(),te||(te=K.schedule(Me,I),re.add(te))},()=>{he(),re.complete()},void 0,()=>{U=te=null}))})}},3572:(mt,Ce,v)=>{v.d(Ce,{d:()=>z});var s=v(9360),m=v(8251);function z(j){return(0,s.e)((I,K)=>{let Y=!1;I.subscribe((0,m.x)(K,re=>{Y=!0,K.next(re)},()=>{Y||K.next(j),K.complete()}))})}},3997:(mt,Ce,v)=>{v.d(Ce,{x:()=>j});var s=v(2737),m=v(9360),z=v(8251);function j(K,Y=s.y){return K=K??I,(0,m.e)((re,te)=>{let U,Q=!0;re.subscribe((0,z.x)(te,he=>{const Me=Y(he);(Q||!K(U,Me))&&(Q=!1,U=Me,te.next(he))}))})}function I(K,Y){return K===Y}},2181:(mt,Ce,v)=>{v.d(Ce,{h:()=>z});var s=v(9360),m=v(8251);function z(j,I){return(0,s.e)((K,Y)=>{let re=0;K.subscribe((0,m.x)(Y,te=>j.call(I,te,re++)&&Y.next(te)))})}},4716:(mt,Ce,v)=>{v.d(Ce,{x:()=>m});var s=v(9360);function m(z){return(0,s.e)((j,I)=>{try{j.subscribe(I)}finally{I.add(z)}})}},1374:(mt,Ce,v)=>{v.d(Ce,{P:()=>Y});var s=v(6973),m=v(2181),z=v(8180),j=v(3572),I=v(3026),K=v(2737);function Y(re,te){const U=arguments.length>=2;return Q=>Q.pipe(re?(0,m.h)((he,Me)=>re(he,Me,Q)):K.y,(0,z.q)(1),U?(0,j.d)(te):(0,I.T)(()=>new s.K))}},7398:(mt,Ce,v)=>{v.d(Ce,{U:()=>z});var s=v(9360),m=v(8251);function z(j,I){return(0,s.e)((K,Y)=>{let re=0;K.subscribe((0,m.x)(Y,te=>{Y.next(j.call(I,te,re++))}))})}},7537:(mt,Ce,v)=>{v.d(Ce,{J:()=>z});var s=v(1631),m=v(2737);function z(j=1/0){return(0,s.z)(m.y,j)}},1631:(mt,Ce,v)=>{v.d(Ce,{z:()=>re});var s=v(7398),m=v(4829),z=v(9360),j=v(7103),I=v(8251),Y=v(4674);function re(te,U,Q=1/0){return(0,Y.m)(U)?re((he,Me)=>(0,s.U)((Ae,Ge)=>U(he,Ae,Me,Ge))((0,m.Xf)(te(he,Me))),Q):("number"==typeof U&&(Q=U),(0,z.e)((he,Me)=>function K(te,U,Q,he,Me,Ae,Ge,xe){const Ye=[];let He=0,dt=0,Ne=!1;const W=()=>{Ne&&!Ye.length&&!He&&U.complete()},V=ce=>He<he?ie(ce):Ye.push(ce),ie=ce=>{Ae&&U.next(ce),He++;let ge=!1;(0,m.Xf)(Q(ce,dt++)).subscribe((0,I.x)(U,Se=>{Me?.(Se),Ae?V(Se):U.next(Se)},()=>{ge=!0},void 0,()=>{if(ge)try{for(He--;Ye.length&&He<he;){const Se=Ye.shift();Ge?(0,j.f)(U,Ge,()=>ie(Se)):ie(Se)}W()}catch(Se){U.error(Se)}}))};return te.subscribe((0,I.x)(U,V,()=>{Ne=!0,W()})),()=>{xe?.()}}(he,Me,te,Q)))}},3093:(mt,Ce,v)=>{v.d(Ce,{Q:()=>j});var s=v(7103),m=v(9360),z=v(8251);function j(I,K=0){return(0,m.e)((Y,re)=>{Y.subscribe((0,z.x)(re,te=>(0,s.f)(re,I,()=>re.next(te),K),()=>(0,s.f)(re,I,()=>re.complete(),K),te=>(0,s.f)(re,I,()=>re.error(te),K)))})}},6699:(mt,Ce,v)=>{v.d(Ce,{R:()=>j});var s=v(9360),m=v(8251);function j(I,K){return(0,s.e)(function z(I,K,Y,re,te){return(U,Q)=>{let he=Y,Me=K,Ae=0;U.subscribe((0,m.x)(Q,Ge=>{const xe=Ae++;Me=he?I(Me,Ge,xe):(he=!0,Ge),re&&Q.next(Me)},te&&(()=>{he&&Q.next(Me),Q.complete()})))}}(I,K,arguments.length>=2,!0))}},3020:(mt,Ce,v)=>{v.d(Ce,{B:()=>I});var s=v(4829),m=v(8645),z=v(305),j=v(9360);function I(Y={}){const{connector:re=(()=>new m.x),resetOnError:te=!0,resetOnComplete:U=!0,resetOnRefCountZero:Q=!0}=Y;return he=>{let Me,Ae,Ge,xe=0,Ye=!1,He=!1;const dt=()=>{Ae?.unsubscribe(),Ae=void 0},Ne=()=>{dt(),Me=Ge=void 0,Ye=He=!1},W=()=>{const V=Me;Ne(),V?.unsubscribe()};return(0,j.e)((V,ie)=>{xe++,!He&&!Ye&&dt();const ce=Ge=Ge??re();ie.add(()=>{xe--,0===xe&&!He&&!Ye&&(Ae=K(W,Q))}),ce.subscribe(ie),!Me&&xe>0&&(Me=new z.Hp({next:ge=>ce.next(ge),error:ge=>{He=!0,dt(),Ae=K(Ne,te,ge),ce.error(ge)},complete:()=>{Ye=!0,dt(),Ae=K(Ne,U),ce.complete()}}),(0,s.Xf)(V).subscribe(Me))})(he)}}function K(Y,re,...te){if(!0===re)return void Y();if(!1===re)return;const U=new z.Hp({next:()=>{U.unsubscribe(),Y()}});return(0,s.Xf)(re(...te)).subscribe(U)}},7081:(mt,Ce,v)=>{v.d(Ce,{d:()=>z});var s=v(7328),m=v(3020);function z(j,I,K){let Y,re=!1;return j&&"object"==typeof j?({bufferSize:Y=1/0,windowTime:I=1/0,refCount:re=!1,scheduler:K}=j):Y=j??1/0,(0,m.B)({connector:()=>new s.t(Y,I,K),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:re})}},836:(mt,Ce,v)=>{v.d(Ce,{T:()=>m});var s=v(2181);function m(z){return(0,s.h)((j,I)=>z<=I)}},7921:(mt,Ce,v)=>{v.d(Ce,{O:()=>j});var s=v(5211),m=v(9940),z=v(9360);function j(...I){const K=(0,m.yG)(I);return(0,z.e)((Y,re)=>{(K?(0,s.z)(I,Y,K):(0,s.z)(I,Y)).subscribe(re)})}},5137:(mt,Ce,v)=>{v.d(Ce,{R:()=>m});var s=v(9360);function m(z,j=0){return(0,s.e)((I,K)=>{K.add(z.schedule(()=>I.subscribe(K),j))})}},4664:(mt,Ce,v)=>{v.d(Ce,{w:()=>j});var s=v(4829),m=v(9360),z=v(8251);function j(I,K){return(0,m.e)((Y,re)=>{let te=null,U=0,Q=!1;const he=()=>Q&&!te&&re.complete();Y.subscribe((0,z.x)(re,Me=>{te?.unsubscribe();let Ae=0;const Ge=U++;(0,s.Xf)(I(Me,Ge)).subscribe(te=(0,z.x)(re,xe=>re.next(K?K(Me,xe,Ge,Ae++):xe),()=>{te=null,he()}))},()=>{Q=!0,he()}))})}},8180:(mt,Ce,v)=>{v.d(Ce,{q:()=>j});var s=v(6232),m=v(9360),z=v(8251);function j(I){return I<=0?()=>s.E:(0,m.e)((K,Y)=>{let re=0;K.subscribe((0,z.x)(Y,te=>{++re<=I&&(Y.next(te),I<=re&&Y.complete())}))})}},9773:(mt,Ce,v)=>{v.d(Ce,{R:()=>I});var s=v(9360),m=v(8251),z=v(4829),j=v(2420);function I(K){return(0,s.e)((Y,re)=>{(0,z.Xf)(K).subscribe((0,m.x)(re,()=>re.complete(),j.Z)),!re.closed&&Y.subscribe(re)})}},9397:(mt,Ce,v)=>{v.d(Ce,{b:()=>I});var s=v(4674),m=v(9360),z=v(8251),j=v(2737);function I(K,Y,re){const te=(0,s.m)(K)||Y||re?{next:K,error:Y,complete:re}:K;return te?(0,m.e)((U,Q)=>{var he;null===(he=te.subscribe)||void 0===he||he.call(te);let Me=!0;U.subscribe((0,z.x)(Q,Ae=>{var Ge;null===(Ge=te.next)||void 0===Ge||Ge.call(te,Ae),Q.next(Ae)},()=>{var Ae;Me=!1,null===(Ae=te.complete)||void 0===Ae||Ae.call(te),Q.complete()},Ae=>{var Ge;Me=!1,null===(Ge=te.error)||void 0===Ge||Ge.call(te,Ae),Q.error(Ae)},()=>{var Ae,Ge;Me&&(null===(Ae=te.unsubscribe)||void 0===Ae||Ae.call(te)),null===(Ge=te.finalize)||void 0===Ge||Ge.call(te)}))}):j.y}},3026:(mt,Ce,v)=>{v.d(Ce,{T:()=>j});var s=v(6973),m=v(9360),z=v(8251);function j(K=I){return(0,m.e)((Y,re)=>{let te=!1;Y.subscribe((0,z.x)(re,U=>{te=!0,re.next(U)},()=>te?re.complete():re.error(K())))})}function I(){return new s.K}},1954:(mt,Ce,v)=>{v.d(Ce,{o:()=>I});var s=v(7394);class m extends s.w0{constructor(Y,re){super()}schedule(Y,re=0){return this}}const z={setInterval(K,Y,...re){const{delegate:te}=z;return te?.setInterval?te.setInterval(K,Y,...re):setInterval(K,Y,...re)},clearInterval(K){const{delegate:Y}=z;return(Y?.clearInterval||clearInterval)(K)},delegate:void 0};var j=v(9039);class I extends m{constructor(Y,re){super(Y,re),this.scheduler=Y,this.work=re,this.pending=!1}schedule(Y,re=0){var te;if(this.closed)return this;this.state=Y;const U=this.id,Q=this.scheduler;return null!=U&&(this.id=this.recycleAsyncId(Q,U,re)),this.pending=!0,this.delay=re,this.id=null!==(te=this.id)&&void 0!==te?te:this.requestAsyncId(Q,this.id,re),this}requestAsyncId(Y,re,te=0){return z.setInterval(Y.flush.bind(Y,this),te)}recycleAsyncId(Y,re,te=0){if(null!=te&&this.delay===te&&!1===this.pending)return re;null!=re&&z.clearInterval(re)}execute(Y,re){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const te=this._execute(Y,re);if(te)return te;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Y,re){let U,te=!1;try{this.work(Y)}catch(Q){te=!0,U=Q||new Error("Scheduled action threw falsy error")}if(te)return this.unsubscribe(),U}unsubscribe(){if(!this.closed){const{id:Y,scheduler:re}=this,{actions:te}=re;this.work=this.state=this.scheduler=null,this.pending=!1,(0,j.P)(te,this),null!=Y&&(this.id=this.recycleAsyncId(re,Y,null)),this.delay=null,super.unsubscribe()}}}},2631:(mt,Ce,v)=>{v.d(Ce,{v:()=>z});var s=v(4552);class m{constructor(I,K=m.now){this.schedulerActionCtor=I,this.now=K}schedule(I,K=0,Y){return new this.schedulerActionCtor(this,I).schedule(Y,K)}}m.now=s.l.now;class z extends m{constructor(I,K=m.now){super(I,K),this.actions=[],this._active=!1}flush(I){const{actions:K}=this;if(this._active)return void K.push(I);let Y;this._active=!0;do{if(Y=I.execute(I.state,I.delay))break}while(I=K.shift());if(this._active=!1,Y){for(;I=K.shift();)I.unsubscribe();throw Y}}}},6321:(mt,Ce,v)=>{v.d(Ce,{P:()=>j,z:()=>z});var s=v(1954);const z=new(v(2631).v)(s.o),j=z},4552:(mt,Ce,v)=>{v.d(Ce,{l:()=>s});const s={now:()=>(s.delegate||Date).now(),delegate:void 0}},7599:(mt,Ce,v)=>{v.d(Ce,{z:()=>s});const s={setTimeout(m,z,...j){const{delegate:I}=s;return I?.setTimeout?I.setTimeout(m,z,...j):setTimeout(m,z,...j)},clearTimeout(m){const{delegate:z}=s;return(z?.clearTimeout||clearTimeout)(m)},delegate:void 0}},4971:(mt,Ce,v)=>{v.d(Ce,{h:()=>m});const m=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(mt,Ce,v)=>{v.d(Ce,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(mt,Ce,v)=>{v.d(Ce,{K:()=>m});const m=(0,v(2306).d)(z=>function(){z(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(mt,Ce,v)=>{v.d(Ce,{_6:()=>K,jO:()=>j,yG:()=>I});var s=v(4674),m=v(671);function z(Y){return Y[Y.length-1]}function j(Y){return(0,s.m)(z(Y))?Y.pop():void 0}function I(Y){return(0,m.K)(z(Y))?Y.pop():void 0}function K(Y,re){return"number"==typeof z(Y)?Y.pop():re}},7453:(mt,Ce,v)=>{v.d(Ce,{D:()=>I});const{isArray:s}=Array,{getPrototypeOf:m,prototype:z,keys:j}=Object;function I(Y){if(1===Y.length){const re=Y[0];if(s(re))return{args:re,keys:null};if(function K(Y){return Y&&"object"==typeof Y&&m(Y)===z}(re)){const te=j(re);return{args:te.map(U=>re[U]),keys:te}}}return{args:Y,keys:null}}},9039:(mt,Ce,v)=>{function s(m,z){if(m){const j=m.indexOf(z);0<=j&&m.splice(j,1)}}v.d(Ce,{P:()=>s})},2306:(mt,Ce,v)=>{function s(m){const j=m(I=>{Error.call(I),I.stack=(new Error).stack});return j.prototype=Object.create(Error.prototype),j.prototype.constructor=j,j}v.d(Ce,{d:()=>s})},2714:(mt,Ce,v)=>{function s(m,z){return m.reduce((j,I,K)=>(j[I]=z[K],j),{})}v.d(Ce,{n:()=>s})},1441:(mt,Ce,v)=>{v.d(Ce,{O:()=>j,x:()=>z});var s=v(2653);let m=null;function z(I){if(s.config.useDeprecatedSynchronousErrorHandling){const K=!m;if(K&&(m={errorThrown:!1,error:null}),I(),K){const{errorThrown:Y,error:re}=m;if(m=null,Y)throw re}}else I()}function j(I){s.config.useDeprecatedSynchronousErrorHandling&&m&&(m.errorThrown=!0,m.error=I)}},7103:(mt,Ce,v)=>{function s(m,z,j,I=0,K=!1){const Y=z.schedule(function(){j(),K?m.add(this.schedule(null,I)):this.unsubscribe()},I);if(m.add(Y),!K)return Y}v.d(Ce,{f:()=>s})},2737:(mt,Ce,v)=>{function s(m){return m}v.d(Ce,{y:()=>s})},4266:(mt,Ce,v)=>{v.d(Ce,{z:()=>s});const s=m=>m&&"number"==typeof m.length&&"function"!=typeof m},5726:(mt,Ce,v)=>{v.d(Ce,{D:()=>m});var s=v(4674);function m(z){return Symbol.asyncIterator&&(0,s.m)(z?.[Symbol.asyncIterator])}},93:(mt,Ce,v)=>{function s(m){return m instanceof Date&&!isNaN(m)}v.d(Ce,{q:()=>s})},4674:(mt,Ce,v)=>{function s(m){return"function"==typeof m}v.d(Ce,{m:()=>s})},8382:(mt,Ce,v)=>{v.d(Ce,{c:()=>z});var s=v(4850),m=v(4674);function z(j){return(0,m.m)(j[s.L])}},3664:(mt,Ce,v)=>{v.d(Ce,{T:()=>z});var s=v(4971),m=v(4674);function z(j){return(0,m.m)(j?.[s.h])}},4026:(mt,Ce,v)=>{v.d(Ce,{t:()=>m});var s=v(4674);function m(z){return(0,s.m)(z?.then)}},541:(mt,Ce,v)=>{v.d(Ce,{L:()=>j,Q:()=>z});var s=v(7582),m=v(4674);function z(I){return(0,s.FC)(this,arguments,function*(){const Y=I.getReader();try{for(;;){const{value:re,done:te}=yield(0,s.qq)(Y.read());if(te)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(re)}}finally{Y.releaseLock()}})}function j(I){return(0,m.m)(I?.getReader)}},671:(mt,Ce,v)=>{v.d(Ce,{K:()=>m});var s=v(4674);function m(z){return z&&(0,s.m)(z.schedule)}},9360:(mt,Ce,v)=>{v.d(Ce,{A:()=>m,e:()=>z});var s=v(4674);function m(j){return(0,s.m)(j?.lift)}function z(j){return I=>{if(m(I))return I.lift(function(K){try{return j(K,this)}catch(Y){this.error(Y)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(mt,Ce,v)=>{v.d(Ce,{Z:()=>j});var s=v(7398);const{isArray:m}=Array;function j(I){return(0,s.U)(K=>function z(I,K){return m(K)?I(...K):I(K)}(I,K))}},2420:(mt,Ce,v)=>{function s(){}v.d(Ce,{Z:()=>s})},8407:(mt,Ce,v)=>{v.d(Ce,{U:()=>z,z:()=>m});var s=v(2737);function m(...j){return z(j)}function z(j){return 0===j.length?s.y:1===j.length?j[0]:function(K){return j.reduce((Y,re)=>re(Y),K)}}},3894:(mt,Ce,v)=>{v.d(Ce,{h:()=>z});var s=v(2653),m=v(7599);function z(j){m.z.setTimeout(()=>{const{onUnhandledError:I}=s.config;if(!I)throw j;I(j)})}},9853:(mt,Ce,v)=>{function s(m){return new TypeError(`You provided ${null!==m&&"object"==typeof m?"an invalid object":`'${m}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}v.d(Ce,{z:()=>s})},6825:(mt,Ce,v)=>{v.d(Ce,{F4:()=>U,IO:()=>Ge,LC:()=>m,SB:()=>te,X$:()=>j,ZE:()=>He,ZN:()=>Ye,_j:()=>s,eR:()=>Q,jt:()=>I,k1:()=>dt,l3:()=>z,oB:()=>re,pV:()=>Me,ru:()=>K,vP:()=>Y});class s{}class m{}const z="*";function j(Ne,W){return{type:7,name:Ne,definitions:W,options:{}}}function I(Ne,W=null){return{type:4,styles:W,timings:Ne}}function K(Ne,W=null){return{type:3,steps:Ne,options:W}}function Y(Ne,W=null){return{type:2,steps:Ne,options:W}}function re(Ne){return{type:6,styles:Ne,offset:null}}function te(Ne,W,V){return{type:0,name:Ne,styles:W,options:V}}function U(Ne){return{type:5,steps:Ne}}function Q(Ne,W,V=null){return{type:1,expr:Ne,animation:W,options:V}}function Me(Ne=null){return{type:9,options:Ne}}function Ge(Ne,W,V=null){return{type:11,selector:Ne,animation:W,options:V}}class Ye{constructor(W=0,V=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=W+V}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(W=>W()),this._onDoneFns=[])}onStart(W){this._originalOnStartFns.push(W),this._onStartFns.push(W)}onDone(W){this._originalOnDoneFns.push(W),this._onDoneFns.push(W)}onDestroy(W){this._onDestroyFns.push(W)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(W=>W()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(W=>W()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(W){this._position=this.totalTime?W*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(W){const V="start"==W?this._onStartFns:this._onDoneFns;V.forEach(ie=>ie()),V.length=0}}class He{constructor(W){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=W;let V=0,ie=0,ce=0;const ge=this.players.length;0==ge?queueMicrotask(()=>this._onFinish()):this.players.forEach(Se=>{Se.onDone(()=>{++V==ge&&this._onFinish()}),Se.onDestroy(()=>{++ie==ge&&this._onDestroy()}),Se.onStart(()=>{++ce==ge&&this._onStart()})}),this.totalTime=this.players.reduce((Se,Ve)=>Math.max(Se,Ve.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(W=>W()),this._onDoneFns=[])}init(){this.players.forEach(W=>W.init())}onStart(W){this._onStartFns.push(W)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(W=>W()),this._onStartFns=[])}onDone(W){this._onDoneFns.push(W)}onDestroy(W){this._onDestroyFns.push(W)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(W=>W.play())}pause(){this.players.forEach(W=>W.pause())}restart(){this.players.forEach(W=>W.restart())}finish(){this._onFinish(),this.players.forEach(W=>W.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(W=>W.destroy()),this._onDestroyFns.forEach(W=>W()),this._onDestroyFns=[])}reset(){this.players.forEach(W=>W.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(W){const V=W*this.totalTime;this.players.forEach(ie=>{const ce=ie.totalTime?Math.min(1,V/ie.totalTime):1;ie.setPosition(ce)})}getPosition(){const W=this.players.reduce((V,ie)=>null===V||ie.totalTime>V.totalTime?ie:V,null);return null!=W?W.getPosition():0}beforeDestroy(){this.players.forEach(W=>{W.beforeDestroy&&W.beforeDestroy()})}triggerCallback(W){const V="start"==W?this._onStartFns:this._onDoneFns;V.forEach(ie=>ie()),V.length=0}}const dt="!"},4191:(mt,Ce,v)=>{v.d(Ce,{rt:()=>R,s1:()=>Ze,$s:()=>at,kH:()=>L,mK:()=>sn,Em:()=>Xe,tE:()=>me,qV:()=>zt,qm:()=>k,ic:()=>be,Kd:()=>lt,Zf:()=>$t,X6:()=>Zt,yG:()=>or,iD:()=>vn});var s=v(6814),m=v(5879),z=v(2831),j=v(8645),I=v(7394),K=v(5619),Y=v(2096),re=v(6028),te=v(9397),U=v(3620),Q=v(2181),he=v(7398),Me=v(8180),Ae=v(836),Ge=v(3997),xe=v(9773),Ye=v(2495),He=v(7131),dt=v(2572),Ne=v(5211),W=v(5592),V=v(7921);const ce=new Set;let ge,Se=(()=>{var P;class ${constructor(ne,le){this._platform=ne,this._nonce=le,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):it}matchMedia(ne){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ve(P,$){if(!ce.has(P))try{ge||(ge=document.createElement("style"),$&&(ge.nonce=$),ge.setAttribute("type","text/css"),document.head.appendChild(ge)),ge.sheet&&(ge.sheet.insertRule(`@media ${P} {body{ }}`,0),ce.add(P))}catch(_e){console.error(_e)}}(ne,this._nonce),this._matchMedia(ne)}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.LFG(z.t4),m.LFG(m.Ojb,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),$})();function it(P){return{matches:"all"===P||""===P,media:P,addListener:()=>{},removeListener:()=>{}}}let pt=(()=>{var P;class ${constructor(ne,le){this._mediaMatcher=ne,this._zone=le,this._queries=new Map,this._destroySubject=new j.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ne){return At((0,Ye.Eq)(ne)).some(Le=>this._registerQuery(Le).mql.matches)}observe(ne){const Le=At((0,Ye.Eq)(ne)).map(ee=>this._registerQuery(ee).observable);let oe=(0,dt.a)(Le);return oe=(0,Ne.z)(oe.pipe((0,Me.q)(1)),oe.pipe((0,Ae.T)(1),(0,U.b)(0))),oe.pipe((0,he.U)(ee=>{const Oe={matches:!1,breakpoints:{}};return ee.forEach(({matches:X,query:ue})=>{Oe.matches=Oe.matches||X,Oe.breakpoints[ue]=X}),Oe}))}_registerQuery(ne){if(this._queries.has(ne))return this._queries.get(ne);const le=this._mediaMatcher.matchMedia(ne),oe={observable:new W.y(ee=>{const Oe=X=>this._zone.run(()=>ee.next(X));return le.addListener(Oe),()=>{le.removeListener(Oe)}}).pipe((0,V.O)(le),(0,he.U)(({matches:ee})=>({query:ne,matches:ee})),(0,xe.R)(this._destroySubject)),mql:le};return this._queries.set(ne,oe),oe}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.LFG(Se),m.LFG(m.R0b))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),$})();function At(P){return P.map($=>$.split(",")).reduce(($,_e)=>$.concat(_e)).map($=>$.trim())}const Wt=" ";function $t(P,$,_e){const ne=xn(P,$);ne.some(le=>le.trim()==_e.trim())||(ne.push(_e.trim()),P.setAttribute($,ne.join(Wt)))}function vn(P,$,_e){const le=xn(P,$).filter(Le=>Le!=_e.trim());le.length?P.setAttribute($,le.join(Wt)):P.removeAttribute($)}function xn(P,$){return(P.getAttribute($)||"").match(/\S+/g)||[]}const Ue="cdk-describedby-message",We="cdk-describedby-host";let Qe=0,at=(()=>{var P;class ${constructor(ne,le){this._platform=le,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Qe++,this._document=ne,this._id=(0,m.f3M)(m.AFp)+"-"+Qe++}describe(ne,le,Le){if(!this._canBeDescribed(ne,le))return;const oe=ht(le,Le);"string"!=typeof le?(Ot(le,this._id),this._messageRegistry.set(oe,{messageElement:le,referenceCount:0})):this._messageRegistry.has(oe)||this._createMessageElement(le,Le),this._isElementDescribedByMessage(ne,oe)||this._addMessageReference(ne,oe)}removeDescription(ne,le,Le){if(!le||!this._isElementNode(ne))return;const oe=ht(le,Le);if(this._isElementDescribedByMessage(ne,oe)&&this._removeMessageReference(ne,oe),"string"==typeof le){const ee=this._messageRegistry.get(oe);ee&&0===ee.referenceCount&&this._deleteMessageElement(oe)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const ne=this._document.querySelectorAll(`[${We}="${this._id}"]`);for(let le=0;le<ne.length;le++)this._removeCdkDescribedByReferenceIds(ne[le]),ne[le].removeAttribute(We);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(ne,le){const Le=this._document.createElement("div");Ot(Le,this._id),Le.textContent=ne,le&&Le.setAttribute("role",le),this._createMessagesContainer(),this._messagesContainer.appendChild(Le),this._messageRegistry.set(ht(ne,le),{messageElement:Le,referenceCount:0})}_deleteMessageElement(ne){this._messageRegistry.get(ne)?.messageElement?.remove(),this._messageRegistry.delete(ne)}_createMessagesContainer(){if(this._messagesContainer)return;const ne="cdk-describedby-message-container",le=this._document.querySelectorAll(`.${ne}[platform="server"]`);for(let oe=0;oe<le.length;oe++)le[oe].remove();const Le=this._document.createElement("div");Le.style.visibility="hidden",Le.classList.add(ne),Le.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Le.setAttribute("platform","server"),this._document.body.appendChild(Le),this._messagesContainer=Le}_removeCdkDescribedByReferenceIds(ne){const le=xn(ne,"aria-describedby").filter(Le=>0!=Le.indexOf(Ue));ne.setAttribute("aria-describedby",le.join(" "))}_addMessageReference(ne,le){const Le=this._messageRegistry.get(le);$t(ne,"aria-describedby",Le.messageElement.id),ne.setAttribute(We,this._id),Le.referenceCount++}_removeMessageReference(ne,le){const Le=this._messageRegistry.get(le);Le.referenceCount--,vn(ne,"aria-describedby",Le.messageElement.id),ne.removeAttribute(We)}_isElementDescribedByMessage(ne,le){const Le=xn(ne,"aria-describedby"),oe=this._messageRegistry.get(le),ee=oe&&oe.messageElement.id;return!!ee&&-1!=Le.indexOf(ee)}_canBeDescribed(ne,le){if(!this._isElementNode(ne))return!1;if(le&&"object"==typeof le)return!0;const Le=null==le?"":`${le}`.trim(),oe=ne.getAttribute("aria-label");return!(!Le||oe&&oe.trim()===Le)}_isElementNode(ne){return ne.nodeType===this._document.ELEMENT_NODE}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.LFG(s.K0),m.LFG(z.t4))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),$})();function ht(P,$){return"string"==typeof P?`${$||""}/${P}`:P}function Ot(P,$){P.id||(P.id=`${Ue}-${$}-${Qe++}`)}class ye{constructor($){this._items=$,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new j.x,this._typeaheadSubscription=I.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=_e=>_e.disabled,this._pressedLetters=[],this.tabOut=new j.x,this.change=new j.x,$ instanceof m.n_E&&(this._itemChangesSubscription=$.changes.subscribe(_e=>{if(this._activeItem){const le=_e.toArray().indexOf(this._activeItem);le>-1&&le!==this._activeItemIndex&&(this._activeItemIndex=le)}}))}skipPredicate($){return this._skipPredicateFn=$,this}withWrap($=!0){return this._wrap=$,this}withVerticalOrientation($=!0){return this._vertical=$,this}withHorizontalOrientation($){return this._horizontal=$,this}withAllowedModifierKeys($){return this._allowedModifierKeys=$,this}withTypeAhead($=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,te.b)(_e=>this._pressedLetters.push(_e)),(0,U.b)($),(0,Q.h)(()=>this._pressedLetters.length>0),(0,he.U)(()=>this._pressedLetters.join(""))).subscribe(_e=>{const ne=this._getItemsArray();for(let le=1;le<ne.length+1;le++){const Le=(this._activeItemIndex+le)%ne.length,oe=ne[Le];if(!this._skipPredicateFn(oe)&&0===oe.getLabel().toUpperCase().trim().indexOf(_e)){this.setActiveItem(Le);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd($=!0){return this._homeAndEnd=$,this}withPageUpDown($=!0,_e=10){return this._pageUpAndDown={enabled:$,delta:_e},this}setActiveItem($){const _e=this._activeItem;this.updateActiveItem($),this._activeItem!==_e&&this.change.next(this._activeItemIndex)}onKeydown($){const _e=$.keyCode,le=["altKey","ctrlKey","metaKey","shiftKey"].every(Le=>!$[Le]||this._allowedModifierKeys.indexOf(Le)>-1);switch(_e){case re.Mf:return void this.tabOut.next();case re.JH:if(this._vertical&&le){this.setNextItemActive();break}return;case re.LH:if(this._vertical&&le){this.setPreviousItemActive();break}return;case re.SV:if(this._horizontal&&le){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case re.oh:if(this._horizontal&&le){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case re.Sd:if(this._homeAndEnd&&le){this.setFirstItemActive();break}return;case re.uR:if(this._homeAndEnd&&le){this.setLastItemActive();break}return;case re.Ku:if(this._pageUpAndDown.enabled&&le){const Le=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Le>0?Le:0,1);break}return;case re.VM:if(this._pageUpAndDown.enabled&&le){const Le=this._activeItemIndex+this._pageUpAndDown.delta,oe=this._getItemsArray().length;this._setActiveItemByIndex(Le<oe?Le:oe-1,-1);break}return;default:return void((le||(0,re.Vb)($,"shiftKey"))&&($.key&&1===$.key.length?this._letterKeyStream.next($.key.toLocaleUpperCase()):(_e>=re.A&&_e<=re.Z||_e>=re.xE&&_e<=re.aO)&&this._letterKeyStream.next(String.fromCharCode(_e))))}this._pressedLetters=[],$.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($){const _e=this._getItemsArray(),ne="number"==typeof $?$:_e.indexOf($);this._activeItem=_e[ne]??null,this._activeItemIndex=ne}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta($){this._wrap?this._setActiveInWrapMode($):this._setActiveInDefaultMode($)}_setActiveInWrapMode($){const _e=this._getItemsArray();for(let ne=1;ne<=_e.length;ne++){const le=(this._activeItemIndex+$*ne+_e.length)%_e.length;if(!this._skipPredicateFn(_e[le]))return void this.setActiveItem(le)}}_setActiveInDefaultMode($){this._setActiveItemByIndex(this._activeItemIndex+$,$)}_setActiveItemByIndex($,_e){const ne=this._getItemsArray();if(ne[$]){for(;this._skipPredicateFn(ne[$]);)if(!ne[$+=_e])return;this.setActiveItem($)}}_getItemsArray(){return this._items instanceof m.n_E?this._items.toArray():this._items}}class Ze extends ye{setActiveItem($){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem($),this.activeItem&&this.activeItem.setActiveStyles()}}class Xe extends ye{constructor(){super(...arguments),this._origin="program"}setFocusOrigin($){return this._origin=$,this}setActiveItem($){super.setActiveItem($),this.activeItem&&this.activeItem.focus(this._origin)}}let be=(()=>{var P;class ${constructor(ne){this._platform=ne}isDisabled(ne){return ne.hasAttribute("disabled")}isVisible(ne){return function q(P){return!!(P.offsetWidth||P.offsetHeight||"function"==typeof P.getClientRects&&P.getClientRects().length)}(ne)&&"visible"===getComputedStyle(ne).visibility}isTabbable(ne){if(!this._platform.isBrowser)return!1;const le=function ft(P){try{return P.frameElement}catch{return null}}(function Ft(P){return P.ownerDocument&&P.ownerDocument.defaultView||window}(ne));if(le&&(-1===Gn(le)||!this.isVisible(le)))return!1;let Le=ne.nodeName.toLowerCase(),oe=Gn(ne);return ne.hasAttribute("contenteditable")?-1!==oe:!("iframe"===Le||"object"===Le||this._platform.WEBKIT&&this._platform.IOS&&!function Un(P){let $=P.nodeName.toLowerCase(),_e="input"===$&&P.type;return"text"===_e||"password"===_e||"select"===$||"textarea"===$}(ne))&&("audio"===Le?!!ne.hasAttribute("controls")&&-1!==oe:"video"===Le?-1!==oe&&(null!==oe||this._platform.FIREFOX||ne.hasAttribute("controls")):ne.tabIndex>=0)}isFocusable(ne,le){return function Pn(P){return!function et(P){return function kt(P){return"input"==P.nodeName.toLowerCase()}(P)&&"hidden"==P.type}(P)&&(function tt(P){let $=P.nodeName.toLowerCase();return"input"===$||"select"===$||"button"===$||"textarea"===$}(P)||function St(P){return function rn(P){return"a"==P.nodeName.toLowerCase()}(P)&&P.hasAttribute("href")}(P)||P.hasAttribute("contenteditable")||bt(P))}(ne)&&!this.isDisabled(ne)&&(le?.ignoreVisibility||this.isVisible(ne))}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.LFG(z.t4))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),$})();function bt(P){if(!P.hasAttribute("tabindex")||void 0===P.tabIndex)return!1;let $=P.getAttribute("tabindex");return!(!$||isNaN(parseInt($,10)))}function Gn(P){if(!bt(P))return null;const $=parseInt(P.getAttribute("tabindex")||"",10);return isNaN($)?-1:$}class Ut{get enabled(){return this._enabled}set enabled($){this._enabled=$,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex($,this._startAnchor),this._toggleAnchorTabIndex($,this._endAnchor))}constructor($,_e,ne,le,Le=!1){this._element=$,this._checker=_e,this._ngZone=ne,this._document=le,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Le||this.attachAnchors()}destroy(){const $=this._startAnchor,_e=this._endAnchor;$&&($.removeEventListener("focus",this.startAnchorListener),$.remove()),_e&&(_e.removeEventListener("focus",this.endAnchorListener),_e.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($){return new Promise(_e=>{this._executeOnStable(()=>_e(this.focusInitialElement($)))})}focusFirstTabbableElementWhenReady($){return new Promise(_e=>{this._executeOnStable(()=>_e(this.focusFirstTabbableElement($)))})}focusLastTabbableElementWhenReady($){return new Promise(_e=>{this._executeOnStable(()=>_e(this.focusLastTabbableElement($)))})}_getRegionBoundary($){const _e=this._element.querySelectorAll(`[cdk-focus-region-${$}], [cdkFocusRegion${$}], [cdk-focus-${$}]`);return"start"==$?_e.length?_e[0]:this._getFirstTabbableElement(this._element):_e.length?_e[_e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement($){const _e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(_e){if(!this._checker.isFocusable(_e)){const ne=this._getFirstTabbableElement(_e);return ne?.focus($),!!ne}return _e.focus($),!0}return this.focusFirstTabbableElement($)}focusFirstTabbableElement($){const _e=this._getRegionBoundary("start");return _e&&_e.focus($),!!_e}focusLastTabbableElement($){const _e=this._getRegionBoundary("end");return _e&&_e.focus($),!!_e}hasAttached(){return this._hasAttached}_getFirstTabbableElement($){if(this._checker.isFocusable($)&&this._checker.isTabbable($))return $;const _e=$.children;for(let ne=0;ne<_e.length;ne++){const le=_e[ne].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(_e[ne]):null;if(le)return le}return null}_getLastTabbableElement($){if(this._checker.isFocusable($)&&this._checker.isTabbable($))return $;const _e=$.children;for(let ne=_e.length-1;ne>=0;ne--){const le=_e[ne].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(_e[ne]):null;if(le)return le}return null}_createAnchor(){const $=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,$),$.classList.add("cdk-visually-hidden"),$.classList.add("cdk-focus-trap-anchor"),$.setAttribute("aria-hidden","true"),$}_toggleAnchorTabIndex($,_e){$?_e.setAttribute("tabindex","0"):_e.removeAttribute("tabindex")}toggleAnchors($){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex($,this._startAnchor),this._toggleAnchorTabIndex($,this._endAnchor))}_executeOnStable($){this._ngZone.isStable?$():this._ngZone.onStable.pipe((0,Me.q)(1)).subscribe($)}}let zt=(()=>{var P;class ${constructor(ne,le,Le){this._checker=ne,this._ngZone=le,this._document=Le}create(ne,le=!1){return new Ut(ne,this._checker,this._ngZone,this._document,le)}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.LFG(be),m.LFG(m.R0b),m.LFG(s.K0))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),$})(),sn=(()=>{var P;class ${get enabled(){return this.focusTrap.enabled}set enabled(ne){this.focusTrap.enabled=(0,Ye.Ig)(ne)}get autoCapture(){return this._autoCapture}set autoCapture(ne){this._autoCapture=(0,Ye.Ig)(ne)}constructor(ne,le,Le){this._elementRef=ne,this._focusTrapFactory=le,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(ne){const le=ne.autoCapture;le&&!le.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,z.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.Y36(m.SBq),m.Y36(zt),m.Y36(s.K0))},P.\u0275dir=m.lG2({type:P,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[m.TTD]}),$})();function Zt(P){return 0===P.buttons||0===P.offsetX&&0===P.offsetY}function or(P){const $=P.touches&&P.touches[0]||P.changedTouches&&P.changedTouches[0];return!(!$||-1!==$.identifier||null!=$.radiusX&&1!==$.radiusX||null!=$.radiusY&&1!==$.radiusY)}const an=new m.OlP("cdk-input-modality-detector-options"),Jn={ignoreKeys:[re.zL,re.jx,re.b2,re.MW,re.JU]},An=(0,z.i$)({passive:!0,capture:!0});let dr=(()=>{var P;class ${get mostRecentModality(){return this._modality.value}constructor(ne,le,Le,oe){this._platform=ne,this._mostRecentTarget=null,this._modality=new K.X(null),this._lastTouchMs=0,this._onKeydown=ee=>{this._options?.ignoreKeys?.some(Oe=>Oe===ee.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,z.sA)(ee))},this._onMousedown=ee=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Zt(ee)?"keyboard":"mouse"),this._mostRecentTarget=(0,z.sA)(ee))},this._onTouchstart=ee=>{or(ee)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,z.sA)(ee))},this._options={...Jn,...oe},this.modalityDetected=this._modality.pipe((0,Ae.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Ge.x)()),ne.isBrowser&&le.runOutsideAngular(()=>{Le.addEventListener("keydown",this._onKeydown,An),Le.addEventListener("mousedown",this._onMousedown,An),Le.addEventListener("touchstart",this._onTouchstart,An)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,An),document.removeEventListener("mousedown",this._onMousedown,An),document.removeEventListener("touchstart",this._onTouchstart,An))}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.LFG(z.t4),m.LFG(m.R0b),m.LFG(s.K0),m.LFG(an,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),$})();const Ke=new m.OlP("liveAnnouncerElement",{providedIn:"root",factory:function wt(){return null}}),Et=new m.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ze=0,lt=(()=>{var P;class ${constructor(ne,le,Le,oe){this._ngZone=le,this._defaultOptions=oe,this._document=Le,this._liveElement=ne||this._createLiveElement()}announce(ne,...le){const Le=this._defaultOptions;let oe,ee;return 1===le.length&&"number"==typeof le[0]?ee=le[0]:[oe,ee]=le,this.clear(),clearTimeout(this._previousTimeout),oe||(oe=Le&&Le.politeness?Le.politeness:"polite"),null==ee&&Le&&(ee=Le.duration),this._liveElement.setAttribute("aria-live",oe),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Oe=>this._currentResolve=Oe)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=ne,"number"==typeof ee&&(this._previousTimeout=setTimeout(()=>this.clear(),ee)),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 ne="cdk-live-announcer-element",le=this._document.getElementsByClassName(ne),Le=this._document.createElement("div");for(let oe=0;oe<le.length;oe++)le[oe].remove();return Le.classList.add(ne),Le.classList.add("cdk-visually-hidden"),Le.setAttribute("aria-atomic","true"),Le.setAttribute("aria-live","polite"),Le.id="cdk-live-announcer-"+ze++,this._document.body.appendChild(Le),Le}_exposeAnnouncerToModals(ne){const le=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Le=0;Le<le.length;Le++){const oe=le[Le],ee=oe.getAttribute("aria-owns");ee?-1===ee.indexOf(ne)&&oe.setAttribute("aria-owns",ee+" "+ne):oe.setAttribute("aria-owns",ne)}}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.LFG(Ke,8),m.LFG(m.R0b),m.LFG(s.K0),m.LFG(Et,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),$})();const tn=new m.OlP("cdk-focus-monitor-default-options"),qn=(0,z.i$)({passive:!0,capture:!0});let me=(()=>{var P;class ${constructor(ne,le,Le,oe,ee){this._ngZone=ne,this._platform=le,this._inputModalityDetector=Le,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 j.x,this._rootNodeFocusAndBlurListener=Oe=>{for(let ue=(0,z.sA)(Oe);ue;ue=ue.parentElement)"focus"===Oe.type?this._onFocus(Oe,ue):this._onBlur(Oe,ue)},this._document=oe,this._detectionMode=ee?.detectionMode||0}monitor(ne,le=!1){const Le=(0,Ye.fI)(ne);if(!this._platform.isBrowser||1!==Le.nodeType)return(0,Y.of)();const oe=(0,z.kV)(Le)||this._getDocument(),ee=this._elementInfo.get(Le);if(ee)return le&&(ee.checkChildren=!0),ee.subject;const Oe={checkChildren:le,subject:new j.x,rootNode:oe};return this._elementInfo.set(Le,Oe),this._registerGlobalListeners(Oe),Oe.subject}stopMonitoring(ne){const le=(0,Ye.fI)(ne),Le=this._elementInfo.get(le);Le&&(Le.subject.complete(),this._setClasses(le),this._elementInfo.delete(le),this._removeGlobalListeners(Le))}focusVia(ne,le,Le){const oe=(0,Ye.fI)(ne);oe===this._getDocument().activeElement?this._getClosestElementsInfo(oe).forEach(([Oe,X])=>this._originChanged(Oe,le,X)):(this._setOrigin(le),"function"==typeof oe.focus&&oe.focus(Le))}ngOnDestroy(){this._elementInfo.forEach((ne,le)=>this.stopMonitoring(le))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(ne){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ne)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:ne&&this._isLastInteractionFromInputLabel(ne)?"mouse":"program"}_shouldBeAttributedToTouch(ne){return 1===this._detectionMode||!!ne?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(ne,le){ne.classList.toggle("cdk-focused",!!le),ne.classList.toggle("cdk-touch-focused","touch"===le),ne.classList.toggle("cdk-keyboard-focused","keyboard"===le),ne.classList.toggle("cdk-mouse-focused","mouse"===le),ne.classList.toggle("cdk-program-focused","program"===le)}_setOrigin(ne,le=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ne,this._originFromTouchInteraction="touch"===ne&&le,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ne,le){const Le=this._elementInfo.get(le),oe=(0,z.sA)(ne);!Le||!Le.checkChildren&&le!==oe||this._originChanged(le,this._getFocusOrigin(oe),Le)}_onBlur(ne,le){const Le=this._elementInfo.get(le);!Le||Le.checkChildren&&ne.relatedTarget instanceof Node&&le.contains(ne.relatedTarget)||(this._setClasses(le),this._emitOrigin(Le,null))}_emitOrigin(ne,le){ne.subject.observers.length&&this._ngZone.run(()=>ne.subject.next(le))}_registerGlobalListeners(ne){if(!this._platform.isBrowser)return;const le=ne.rootNode,Le=this._rootNodeFocusListenerCount.get(le)||0;Le||this._ngZone.runOutsideAngular(()=>{le.addEventListener("focus",this._rootNodeFocusAndBlurListener,qn),le.addEventListener("blur",this._rootNodeFocusAndBlurListener,qn)}),this._rootNodeFocusListenerCount.set(le,Le+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,xe.R)(this._stopInputModalityDetector)).subscribe(oe=>{this._setOrigin(oe,!0)}))}_removeGlobalListeners(ne){const le=ne.rootNode;if(this._rootNodeFocusListenerCount.has(le)){const Le=this._rootNodeFocusListenerCount.get(le);Le>1?this._rootNodeFocusListenerCount.set(le,Le-1):(le.removeEventListener("focus",this._rootNodeFocusAndBlurListener,qn),le.removeEventListener("blur",this._rootNodeFocusAndBlurListener,qn),this._rootNodeFocusListenerCount.delete(le))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ne,le,Le){this._setClasses(ne,le),this._emitOrigin(Le,le),this._lastFocusOrigin=le}_getClosestElementsInfo(ne){const le=[];return this._elementInfo.forEach((Le,oe)=>{(oe===ne||Le.checkChildren&&oe.contains(ne))&&le.push([oe,Le])}),le}_isLastInteractionFromInputLabel(ne){const{_mostRecentTarget:le,mostRecentModality:Le}=this._inputModalityDetector;if("mouse"!==Le||!le||le===ne||"INPUT"!==ne.nodeName&&"TEXTAREA"!==ne.nodeName||ne.disabled)return!1;const oe=ne.labels;if(oe)for(let ee=0;ee<oe.length;ee++)if(oe[ee].contains(le))return!0;return!1}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.LFG(m.R0b),m.LFG(z.t4),m.LFG(dr),m.LFG(s.K0,8),m.LFG(tn,8))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),$})(),L=(()=>{var P;class ${constructor(ne,le){this._elementRef=ne,this._focusMonitor=le,this._focusOrigin=null,this.cdkFocusChange=new m.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const ne=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ne,1===ne.nodeType&&ne.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(le=>{this._focusOrigin=le,this.cdkFocusChange.emit(le)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.Y36(m.SBq),m.Y36(me))},P.\u0275dir=m.lG2({type:P,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),$})();const N="cdk-high-contrast-black-on-white",O="cdk-high-contrast-white-on-black",D="cdk-high-contrast-active";let k=(()=>{var P;class ${constructor(ne,le){this._platform=ne,this._document=le,this._breakpointSubscription=(0,m.f3M)(pt).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const ne=this._document.createElement("div");ne.style.backgroundColor="rgb(1,2,3)",ne.style.position="absolute",this._document.body.appendChild(ne);const le=this._document.defaultView||window,Le=le&&le.getComputedStyle?le.getComputedStyle(ne):null,oe=(Le&&Le.backgroundColor||"").replace(/ /g,"");switch(ne.remove(),oe){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 ne=this._document.body.classList;ne.remove(D,N,O),this._hasCheckedHighContrastMode=!0;const le=this.getHighContrastMode();1===le?ne.add(D,N):2===le&&ne.add(D,O)}}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.LFG(z.t4),m.LFG(s.K0))},P.\u0275prov=m.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),$})(),R=(()=>{var P;class ${constructor(ne){ne._applyBodyHighContrastModeCssClasses()}}return(P=$).\u0275fac=function(ne){return new(ne||P)(m.LFG(k))},P.\u0275mod=m.oAB({type:P}),P.\u0275inj=m.cJS({imports:[He.Q8]}),$})()},9388:(mt,Ce,v)=>{v.d(Ce,{Is:()=>Y,vT:()=>te});var s=v(5879),m=v(6814);const z=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function j(){return(0,s.f3M)(m.K0)}}),I=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Y=(()=>{var U;class Q{constructor(Me){this.value="ltr",this.change=new s.vpe,Me&&(this.value=function K(U){const Q=U?.toLowerCase()||"";return"auto"===Q&&typeof navigator<"u"&&navigator?.language?I.test(navigator.language)?"rtl":"ltr":"rtl"===Q?"rtl":"ltr"}((Me.body?Me.body.dir:null)||(Me.documentElement?Me.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return(U=Q).\u0275fac=function(Me){return new(Me||U)(s.LFG(z,8))},U.\u0275prov=s.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),Q})(),te=(()=>{var U;class Q{}return(U=Q).\u0275fac=function(Me){return new(Me||U)},U.\u0275mod=s.oAB({type:U}),U.\u0275inj=s.cJS({}),Q})()},2495:(mt,Ce,v)=>{v.d(Ce,{Eq:()=>I,HM:()=>K,Ig:()=>m,du:()=>re,fI:()=>Y,su:()=>z});var s=v(5879);function m(te){return null!=te&&"false"!=`${te}`}function z(te,U=0){return function j(te){return!isNaN(parseFloat(te))&&!isNaN(Number(te))}(te)?Number(te):U}function I(te){return Array.isArray(te)?te:[te]}function K(te){return null==te?"":"string"==typeof te?te:`${te}px`}function Y(te){return te instanceof s.SBq?te.nativeElement:te}function re(te,U=/\s+/){const Q=[];if(null!=te){const he=Array.isArray(te)?te:`${te}`.split(U);for(const Me of he){const Ae=`${Me}`.trim();Ae&&Q.push(Ae)}}return Q}},6028:(mt,Ce,v)=>{v.d(Ce,{A:()=>Qe,JH:()=>Ne,JU:()=>K,K5:()=>I,Ku:()=>Me,LH:()=>He,L_:()=>he,MW:()=>dn,Mf:()=>z,SV:()=>dt,Sd:()=>xe,VM:()=>Ae,Vb:()=>ii,Z:()=>Sn,ZH:()=>m,aO:()=>vn,b2:()=>Rr,hY:()=>Q,jx:()=>Y,oh:()=>Ye,uR:()=>Ge,xE:()=>ge,yY:()=>ce,zL:()=>re});const m=8,z=9,I=13,K=16,Y=17,re=18,Q=27,he=32,Me=33,Ae=34,Ge=35,xe=36,Ye=37,He=38,dt=39,Ne=40,ce=46,ge=48,vn=57,Qe=65,Sn=90,dn=91,Rr=224;function ii(Xr,...yr){return yr.length?yr.some(Tr=>Xr[Tr]):Xr.altKey||Xr.shiftKey||Xr.ctrlKey||Xr.metaKey}},7131:(mt,Ce,v)=>{v.d(Ce,{Q8:()=>I});var s=v(5879);let m=(()=>{var K;class Y{create(te){return typeof MutationObserver>"u"?null:new MutationObserver(te)}}return(K=Y).\u0275fac=function(te){return new(te||K)},K.\u0275prov=s.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"}),Y})(),I=(()=>{var K;class Y{}return(K=Y).\u0275fac=function(te){return new(te||K)},K.\u0275mod=s.oAB({type:K}),K.\u0275inj=s.cJS({providers:[m]}),Y})()},2831:(mt,Ce,v)=>{v.d(Ce,{Mq:()=>Ae,Oy:()=>W,ht:()=>dt,i$:()=>Q,kV:()=>He,qK:()=>re,sA:()=>Ne,t4:()=>j});var s=v(5879),m=v(6814);let z;try{z=typeof Intl<"u"&&Intl.v8BreakIterator}catch{z=!1}let K,j=(()=>{var V;class ie{constructor(ge){this._platformId=ge,this.isBrowser=this._platformId?(0,m.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&&!z)&&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(V=ie).\u0275fac=function(ge){return new(ge||V)(s.LFG(s.Lbi))},V.\u0275prov=s.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),ie})();const Y=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function re(){if(K)return K;if("object"!=typeof document||!document)return K=new Set(Y),K;let V=document.createElement("input");return K=new Set(Y.filter(ie=>(V.setAttribute("type",ie),V.type===ie))),K}let te,Me,xe;function Q(V){return function U(){if(null==te&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>te=!0}))}finally{te=te||!1}return te}()?V:!!V.capture}function Ae(){if(null==Me){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Me=!1,Me;if("scrollBehavior"in document.documentElement.style)Me=!0;else{const V=Element.prototype.scrollTo;Me=!!V&&!/\{\s*\[native code\]\s*\}/.test(V.toString())}}return Me}function He(V){if(function Ye(){if(null==xe){const V=typeof document<"u"?document.head:null;xe=!(!V||!V.createShadowRoot&&!V.attachShadow)}return xe}()){const ie=V.getRootNode?V.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ie instanceof ShadowRoot)return ie}return null}function dt(){let V=typeof document<"u"&&document?document.activeElement:null;for(;V&&V.shadowRoot;){const ie=V.shadowRoot.activeElement;if(ie===V)break;V=ie}return V}function Ne(V){return V.composedPath?V.composedPath()[0]:V.target}function W(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6814:(mt,Ce,v)=>{v.d(Ce,{$G:()=>Hn,Do:()=>xe,ED:()=>ji,EM:()=>Mt,HT:()=>j,JF:()=>En,JJ:()=>It,K0:()=>K,Mx:()=>sr,NF:()=>Ie,O5:()=>Rr,Ov:()=>Pi,PC:()=>yo,PM:()=>Ee,RF:()=>Tr,S$:()=>Me,Ts:()=>Ro,V_:()=>re,Ye:()=>Ye,Zd:()=>Fi,b0:()=>Ge,bD:()=>Wr,ez:()=>lr,mk:()=>Ln,n9:()=>Ai,q:()=>z,sg:()=>On,tP:()=>bo,uU:()=>Dr,w_:()=>I});var s=v(5879);let m=null;function z(){return m}function j(f){m||(m=f)}class I{}const K=new s.OlP("DocumentToken");let Y=(()=>{var f;class T{historyGo(b){throw new Error("Not implemented")}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:function(){return(0,s.f3M)(te)},providedIn:"platform"}),T})();const re=new s.OlP("Location Initialized");let te=(()=>{var f;class T extends Y{constructor(){super(),this._doc=(0,s.f3M)(K),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return z().getBaseHref(this._doc)}onPopState(b){const H=z().getGlobalEventTarget(this._doc,"window");return H.addEventListener("popstate",b,!1),()=>H.removeEventListener("popstate",b)}onHashChange(b){const H=z().getGlobalEventTarget(this._doc,"window");return H.addEventListener("hashchange",b,!1),()=>H.removeEventListener("hashchange",b)}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(b){this._location.pathname=b}pushState(b,H,de){this._history.pushState(b,H,de)}replaceState(b,H,de){this._history.replaceState(b,H,de)}forward(){this._history.forward()}back(){this._history.back()}historyGo(b=0){this._history.go(b)}getState(){return this._history.state}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:function(){return new f},providedIn:"platform"}),T})();function U(f,T){if(0==f.length)return T;if(0==T.length)return f;let se=0;return f.endsWith("/")&&se++,T.startsWith("/")&&se++,2==se?f+T.substring(1):1==se?f+T:f+"/"+T}function Q(f){const T=f.match(/#|\?|$/),se=T&&T.index||f.length;return f.slice(0,se-("/"===f[se-1]?1:0))+f.slice(se)}function he(f){return f&&"?"!==f[0]?"?"+f:f}let Me=(()=>{var f;class T{historyGo(b){throw new Error("Not implemented")}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:function(){return(0,s.f3M)(Ge)},providedIn:"root"}),T})();const Ae=new s.OlP("appBaseHref");let Ge=(()=>{var f;class T extends Me{constructor(b,H){super(),this._platformLocation=b,this._removeListenerFns=[],this._baseHref=H??this._platformLocation.getBaseHrefFromDOM()??(0,s.f3M)(K).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}prepareExternalUrl(b){return U(this._baseHref,b)}path(b=!1){const H=this._platformLocation.pathname+he(this._platformLocation.search),de=this._platformLocation.hash;return de&&b?`${H}${de}`:H}pushState(b,H,de,qe){const yt=this.prepareExternalUrl(de+he(qe));this._platformLocation.pushState(b,H,yt)}replaceState(b,H,de,qe){const yt=this.prepareExternalUrl(de+he(qe));this._platformLocation.replaceState(b,H,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return(f=T).\u0275fac=function(b){return new(b||f)(s.LFG(Y),s.LFG(Ae,8))},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),T})(),xe=(()=>{var f;class T extends Me{constructor(b,H){super(),this._platformLocation=b,this._baseHref="",this._removeListenerFns=[],null!=H&&(this._baseHref=H)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(b){this._removeListenerFns.push(this._platformLocation.onPopState(b),this._platformLocation.onHashChange(b))}getBaseHref(){return this._baseHref}path(b=!1){let H=this._platformLocation.hash;return null==H&&(H="#"),H.length>0?H.substring(1):H}prepareExternalUrl(b){const H=U(this._baseHref,b);return H.length>0?"#"+H:H}pushState(b,H,de,qe){let yt=this.prepareExternalUrl(de+he(qe));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.pushState(b,H,yt)}replaceState(b,H,de,qe){let yt=this.prepareExternalUrl(de+he(qe));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.replaceState(b,H,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(b=0){this._platformLocation.historyGo?.(b)}}return(f=T).\u0275fac=function(b){return new(b||f)(s.LFG(Y),s.LFG(Ae,8))},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac}),T})(),Ye=(()=>{var f;class T{constructor(b){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=b;const H=this._locationStrategy.getBaseHref();this._basePath=function W(f){if(new RegExp("^(https?:)?//").test(f)){const[,se]=f.split(/\/\/[^\/]+/);return se}return f}(Q(Ne(H))),this._locationStrategy.onPopState(de=>{this._subject.emit({url:this.path(!0),pop:!0,state:de.state,type:de.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(b=!1){return this.normalize(this._locationStrategy.path(b))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(b,H=""){return this.path()==this.normalize(b+he(H))}normalize(b){return T.stripTrailingSlash(function dt(f,T){if(!f||!T.startsWith(f))return T;const se=T.substring(f.length);return""===se||["/",";","?","#"].includes(se[0])?se:T}(this._basePath,Ne(b)))}prepareExternalUrl(b){return b&&"/"!==b[0]&&(b="/"+b),this._locationStrategy.prepareExternalUrl(b)}go(b,H="",de=null){this._locationStrategy.pushState(de,"",b,H),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+he(H)),de)}replaceState(b,H="",de=null){this._locationStrategy.replaceState(de,"",b,H),this._notifyUrlChangeListeners(this.prepareExternalUrl(b+he(H)),de)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(b=0){this._locationStrategy.historyGo?.(b)}onUrlChange(b){return this._urlChangeListeners.push(b),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(H=>{this._notifyUrlChangeListeners(H.url,H.state)})),()=>{const H=this._urlChangeListeners.indexOf(b);this._urlChangeListeners.splice(H,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(b="",H){this._urlChangeListeners.forEach(de=>de(b,H))}subscribe(b,H,de){return this._subject.subscribe({next:b,error:H,complete:de})}}return(f=T).normalizeQueryParams=he,f.joinWithSlash=U,f.stripTrailingSlash=Q,f.\u0275fac=function(b){return new(b||f)(s.LFG(Me))},f.\u0275prov=s.Yz7({token:f,factory:function(){return function He(){return new Ye((0,s.LFG)(Me))}()},providedIn:"root"}),T})();function Ne(f){return f.replace(/\/index.html$/,"")}var ie=function(f){return f[f.Decimal=0]="Decimal",f[f.Percent=1]="Percent",f[f.Currency=2]="Currency",f[f.Scientific=3]="Scientific",f}(ie||{}),ge=function(f){return f[f.Format=0]="Format",f[f.Standalone=1]="Standalone",f}(ge||{}),Se=function(f){return f[f.Narrow=0]="Narrow",f[f.Abbreviated=1]="Abbreviated",f[f.Wide=2]="Wide",f[f.Short=3]="Short",f}(Se||{}),Ve=function(f){return f[f.Short=0]="Short",f[f.Medium=1]="Medium",f[f.Long=2]="Long",f[f.Full=3]="Full",f}(Ve||{}),it=function(f){return f[f.Decimal=0]="Decimal",f[f.Group=1]="Group",f[f.List=2]="List",f[f.PercentSign=3]="PercentSign",f[f.PlusSign=4]="PlusSign",f[f.MinusSign=5]="MinusSign",f[f.Exponential=6]="Exponential",f[f.SuperscriptingExponent=7]="SuperscriptingExponent",f[f.PerMille=8]="PerMille",f[f.Infinity=9]="Infinity",f[f.NaN=10]="NaN",f[f.TimeSeparator=11]="TimeSeparator",f[f.CurrencyDecimal=12]="CurrencyDecimal",f[f.CurrencyGroup=13]="CurrencyGroup",f}(it||{});function Ue(f,T){return et((0,s.cg1)(f)[s.wAp.DateFormat],T)}function We(f,T){return et((0,s.cg1)(f)[s.wAp.TimeFormat],T)}function Qe(f,T){return et((0,s.cg1)(f)[s.wAp.DateTimeFormat],T)}function at(f,T){const se=(0,s.cg1)(f),b=se[s.wAp.NumberSymbols][T];if(typeof b>"u"){if(T===it.CurrencyDecimal)return se[s.wAp.NumberSymbols][it.Decimal];if(T===it.CurrencyGroup)return se[s.wAp.NumberSymbols][it.Group]}return b}function be(f){if(!f[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${f[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function et(f,T){for(let se=T;se>-1;se--)if(typeof f[se]<"u")return f[se];throw new Error("Locale data API: locale data undefined")}function St(f){const[T,se]=f.split(":");return{hours:+T,minutes:+se}}const Gn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Un={},Pn=/((?:[^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 Ft=function(f){return f[f.Short=0]="Short",f[f.ShortGMT=1]="ShortGMT",f[f.Long=2]="Long",f[f.Extended=3]="Extended",f}(Ft||{}),Ut=function(f){return f[f.FullYear=0]="FullYear",f[f.Month=1]="Month",f[f.Date=2]="Date",f[f.Hours=3]="Hours",f[f.Minutes=4]="Minutes",f[f.Seconds=5]="Seconds",f[f.FractionalSeconds=6]="FractionalSeconds",f[f.Day=7]="Day",f}(Ut||{}),zt=function(f){return f[f.DayPeriods=0]="DayPeriods",f[f.Days=1]="Days",f[f.Months=2]="Months",f[f.Eras=3]="Eras",f}(zt||{});function sn(f,T,se,b){let H=function L(f){if(O(f))return f;if("number"==typeof f&&!isNaN(f))return new Date(f);if("string"==typeof f){if(f=f.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(f)){const[H,de=1,qe=1]=f.split("-").map(yt=>+yt);return en(H,de-1,qe)}const se=parseFloat(f);if(!isNaN(f-se))return new Date(se);let b;if(b=f.match(Gn))return function N(f){const T=new Date(0);let se=0,b=0;const H=f[8]?T.setUTCFullYear:T.setFullYear,de=f[8]?T.setUTCHours:T.setHours;f[9]&&(se=Number(f[9]+f[10]),b=Number(f[9]+f[11])),H.call(T,Number(f[1]),Number(f[2])-1,Number(f[3]));const qe=Number(f[4]||0)-se,yt=Number(f[5]||0)-b,mn=Number(f[6]||0),Vn=Math.floor(1e3*parseFloat("0."+(f[7]||0)));return de.call(T,qe,yt,mn,Vn),T}(b)}const T=new Date(f);if(!O(T))throw new Error(`Unable to convert "${f}" into a date`);return T}(f);T=Sn(se,T)||T;let yt,qe=[];for(;T;){if(yt=Pn.exec(T),!yt){qe.push(T);break}{qe=qe.concat(yt.slice(1));const Bn=qe.pop();if(!Bn)break;T=Bn}}let mn=H.getTimezoneOffset();b&&(mn=tn(b,mn),H=function me(f,T,se){const b=se?-1:1,H=f.getTimezoneOffset();return function qn(f,T){return(f=new Date(f.getTime())).setMinutes(f.getMinutes()+T),f}(f,b*(tn(T,H)-H))}(H,b,!0));let Vn="";return qe.forEach(Bn=>{const gn=function Ht(f){if(lt[f])return lt[f];let T;switch(f){case"G":case"GG":case"GGG":T=an(zt.Eras,Se.Abbreviated);break;case"GGGG":T=an(zt.Eras,Se.Wide);break;case"GGGGG":T=an(zt.Eras,Se.Narrow);break;case"y":T=Zt(Ut.FullYear,1,0,!1,!0);break;case"yy":T=Zt(Ut.FullYear,2,0,!0,!0);break;case"yyy":T=Zt(Ut.FullYear,3,0,!1,!0);break;case"yyyy":T=Zt(Ut.FullYear,4,0,!1,!0);break;case"Y":T=ze(1);break;case"YY":T=ze(2,!0);break;case"YYY":T=ze(3);break;case"YYYY":T=ze(4);break;case"M":case"L":T=Zt(Ut.Month,1,1);break;case"MM":case"LL":T=Zt(Ut.Month,2,1);break;case"MMM":T=an(zt.Months,Se.Abbreviated);break;case"MMMM":T=an(zt.Months,Se.Wide);break;case"MMMMM":T=an(zt.Months,Se.Narrow);break;case"LLL":T=an(zt.Months,Se.Abbreviated,ge.Standalone);break;case"LLLL":T=an(zt.Months,Se.Wide,ge.Standalone);break;case"LLLLL":T=an(zt.Months,Se.Narrow,ge.Standalone);break;case"w":T=Et(1);break;case"ww":T=Et(2);break;case"W":T=Et(1,!0);break;case"d":T=Zt(Ut.Date,1);break;case"dd":T=Zt(Ut.Date,2);break;case"c":case"cc":T=Zt(Ut.Day,1);break;case"ccc":T=an(zt.Days,Se.Abbreviated,ge.Standalone);break;case"cccc":T=an(zt.Days,Se.Wide,ge.Standalone);break;case"ccccc":T=an(zt.Days,Se.Narrow,ge.Standalone);break;case"cccccc":T=an(zt.Days,Se.Short,ge.Standalone);break;case"E":case"EE":case"EEE":T=an(zt.Days,Se.Abbreviated);break;case"EEEE":T=an(zt.Days,Se.Wide);break;case"EEEEE":T=an(zt.Days,Se.Narrow);break;case"EEEEEE":T=an(zt.Days,Se.Short);break;case"a":case"aa":case"aaa":T=an(zt.DayPeriods,Se.Abbreviated);break;case"aaaa":T=an(zt.DayPeriods,Se.Wide);break;case"aaaaa":T=an(zt.DayPeriods,Se.Narrow);break;case"b":case"bb":case"bbb":T=an(zt.DayPeriods,Se.Abbreviated,ge.Standalone,!0);break;case"bbbb":T=an(zt.DayPeriods,Se.Wide,ge.Standalone,!0);break;case"bbbbb":T=an(zt.DayPeriods,Se.Narrow,ge.Standalone,!0);break;case"B":case"BB":case"BBB":T=an(zt.DayPeriods,Se.Abbreviated,ge.Format,!0);break;case"BBBB":T=an(zt.DayPeriods,Se.Wide,ge.Format,!0);break;case"BBBBB":T=an(zt.DayPeriods,Se.Narrow,ge.Format,!0);break;case"h":T=Zt(Ut.Hours,1,-12);break;case"hh":T=Zt(Ut.Hours,2,-12);break;case"H":T=Zt(Ut.Hours,1);break;case"HH":T=Zt(Ut.Hours,2);break;case"m":T=Zt(Ut.Minutes,1);break;case"mm":T=Zt(Ut.Minutes,2);break;case"s":T=Zt(Ut.Seconds,1);break;case"ss":T=Zt(Ut.Seconds,2);break;case"S":T=Zt(Ut.FractionalSeconds,1);break;case"SS":T=Zt(Ut.FractionalSeconds,2);break;case"SSS":T=Zt(Ut.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":T=Kn(Ft.Short);break;case"ZZZZZ":T=Kn(Ft.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=Kn(Ft.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=Kn(Ft.Long);break;default:return null}return lt[f]=T,T}(Bn);Vn+=gn?gn(H,se,mn):"''"===Bn?"'":Bn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Vn}function en(f,T,se){const b=new Date(0);return b.setFullYear(f,T,se),b.setHours(0,0,0),b}function Sn(f,T){const se=function At(f){return(0,s.cg1)(f)[s.wAp.LocaleId]}(f);if(Un[se]=Un[se]||{},Un[se][T])return Un[se][T];let b="";switch(T){case"shortDate":b=Ue(f,Ve.Short);break;case"mediumDate":b=Ue(f,Ve.Medium);break;case"longDate":b=Ue(f,Ve.Long);break;case"fullDate":b=Ue(f,Ve.Full);break;case"shortTime":b=We(f,Ve.Short);break;case"mediumTime":b=We(f,Ve.Medium);break;case"longTime":b=We(f,Ve.Long);break;case"fullTime":b=We(f,Ve.Full);break;case"short":const H=Sn(f,"shortTime"),de=Sn(f,"shortDate");b=dn(Qe(f,Ve.Short),[H,de]);break;case"medium":const qe=Sn(f,"mediumTime"),yt=Sn(f,"mediumDate");b=dn(Qe(f,Ve.Medium),[qe,yt]);break;case"long":const mn=Sn(f,"longTime"),Vn=Sn(f,"longDate");b=dn(Qe(f,Ve.Long),[mn,Vn]);break;case"full":const Bn=Sn(f,"fullTime"),gn=Sn(f,"fullDate");b=dn(Qe(f,Ve.Full),[Bn,gn])}return b&&(Un[se][T]=b),b}function dn(f,T){return T&&(f=f.replace(/\{([^}]+)}/g,function(se,b){return null!=T&&b in T?T[b]:se})),f}function yn(f,T,se="-",b,H){let de="";(f<0||H&&f<=0)&&(H?f=1-f:(f=-f,de=se));let qe=String(f);for(;qe.length<T;)qe="0"+qe;return b&&(qe=qe.slice(qe.length-T)),de+qe}function Zt(f,T,se=0,b=!1,H=!1){return function(de,qe){let yt=function or(f,T){switch(f){case Ut.FullYear:return T.getFullYear();case Ut.Month:return T.getMonth();case Ut.Date:return T.getDate();case Ut.Hours:return T.getHours();case Ut.Minutes:return T.getMinutes();case Ut.Seconds:return T.getSeconds();case Ut.FractionalSeconds:return T.getMilliseconds();case Ut.Day:return T.getDay();default:throw new Error(`Unknown DateType value "${f}".`)}}(f,de);if((se>0||yt>-se)&&(yt+=se),f===Ut.Hours)0===yt&&-12===se&&(yt=12);else if(f===Ut.FractionalSeconds)return function Fn(f,T){return yn(f,3).substring(0,T)}(yt,T);const mn=at(qe,it.MinusSign);return yn(yt,T,mn,b,H)}}function an(f,T,se=ge.Format,b=!1){return function(H,de){return function Jn(f,T,se,b,H,de){switch(se){case zt.Months:return function $t(f,T,se){const b=(0,s.cg1)(f),de=et([b[s.wAp.MonthsFormat],b[s.wAp.MonthsStandalone]],T);return et(de,se)}(T,H,b)[f.getMonth()];case zt.Days:return function Wt(f,T,se){const b=(0,s.cg1)(f),de=et([b[s.wAp.DaysFormat],b[s.wAp.DaysStandalone]],T);return et(de,se)}(T,H,b)[f.getDay()];case zt.DayPeriods:const qe=f.getHours(),yt=f.getMinutes();if(de){const Vn=function ft(f){const T=(0,s.cg1)(f);return be(T),(T[s.wAp.ExtraData][2]||[]).map(b=>"string"==typeof b?St(b):[St(b[0]),St(b[1])])}(T),Bn=function q(f,T,se){const b=(0,s.cg1)(f);be(b);const de=et([b[s.wAp.ExtraData][0],b[s.wAp.ExtraData][1]],T)||[];return et(de,se)||[]}(T,H,b),gn=Vn.findIndex(cr=>{if(Array.isArray(cr)){const[Xn,mr]=cr,vi=qe>=Xn.hours&&yt>=Xn.minutes,Ti=qe<mr.hours||qe===mr.hours&&yt<mr.minutes;if(Xn.hours<mr.hours){if(vi&&Ti)return!0}else if(vi||Ti)return!0}else if(cr.hours===qe&&cr.minutes===yt)return!0;return!1});if(-1!==gn)return Bn[gn]}return function Rt(f,T,se){const b=(0,s.cg1)(f),de=et([b[s.wAp.DayPeriodsFormat],b[s.wAp.DayPeriodsStandalone]],T);return et(de,se)}(T,H,b)[qe<12?0:1];case zt.Eras:return function vn(f,T){return et((0,s.cg1)(f)[s.wAp.Eras],T)}(T,b)[f.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${se}`)}}(H,de,f,T,se,b)}}function Kn(f){return function(T,se,b){const H=-1*b,de=at(se,it.MinusSign),qe=H>0?Math.floor(H/60):Math.ceil(H/60);switch(f){case Ft.Short:return(H>=0?"+":"")+yn(qe,2,de)+yn(Math.abs(H%60),2,de);case Ft.ShortGMT:return"GMT"+(H>=0?"+":"")+yn(qe,1,de);case Ft.Long:return"GMT"+(H>=0?"+":"")+yn(qe,2,de)+":"+yn(Math.abs(H%60),2,de);case Ft.Extended:return 0===b?"Z":(H>=0?"+":"")+yn(qe,2,de)+":"+yn(Math.abs(H%60),2,de);default:throw new Error(`Unknown zone width "${f}"`)}}}const An=0,dr=4;function wt(f){return en(f.getFullYear(),f.getMonth(),f.getDate()+(dr-f.getDay()))}function Et(f,T=!1){return function(se,b){let H;if(T){const de=new Date(se.getFullYear(),se.getMonth(),1).getDay()-1,qe=se.getDate();H=1+Math.floor((qe+de)/7)}else{const de=wt(se),qe=function Ke(f){const T=en(f,An,1).getDay();return en(f,0,1+(T<=dr?dr:dr+7)-T)}(de.getFullYear()),yt=de.getTime()-qe.getTime();H=1+Math.round(yt/6048e5)}return yn(H,f,at(b,it.MinusSign))}}function ze(f,T=!1){return function(se,b){return yn(wt(se).getFullYear(),f,at(b,it.MinusSign),T)}}const lt={};function tn(f,T){f=f.replace(/:/g,"");const se=Date.parse("Jan 01, 1970 00:00:00 "+f)/6e4;return isNaN(se)?T:se}function O(f){return f instanceof Date&&!isNaN(f.valueOf())}const D=/^(\d+)?\.((\d+)(-(\d+))?)?$/,R=".",P="0";function xt(f){const T=parseInt(f);if(isNaN(T))throw new Error("Invalid integer literal when parsing "+f);return T}function sr(f,T){T=encodeURIComponent(T);for(const se of f.split(";")){const b=se.indexOf("="),[H,de]=-1==b?[se,""]:[se.slice(0,b),se.slice(b+1)];if(H.trim()===T)return decodeURIComponent(de)}return null}const Vr=/\s+/,Ar=[];let Ln=(()=>{var f;class T{constructor(b,H,de,qe){this._iterableDiffers=b,this._keyValueDiffers=H,this._ngEl=de,this._renderer=qe,this.initialClasses=Ar,this.stateMap=new Map}set klass(b){this.initialClasses=null!=b?b.trim().split(Vr):Ar}set ngClass(b){this.rawClass="string"==typeof b?b.trim().split(Vr):b}ngDoCheck(){for(const H of this.initialClasses)this._updateState(H,!0);const b=this.rawClass;if(Array.isArray(b)||b instanceof Set)for(const H of b)this._updateState(H,!0);else if(null!=b)for(const H of Object.keys(b))this._updateState(H,!!b[H]);this._applyStateDiff()}_updateState(b,H){const de=this.stateMap.get(b);void 0!==de?(de.enabled!==H&&(de.changed=!0,de.enabled=H),de.touched=!0):this.stateMap.set(b,{enabled:H,changed:!0,touched:!0})}_applyStateDiff(){for(const b of this.stateMap){const H=b[0],de=b[1];de.changed?(this._toggleClass(H,de.enabled),de.changed=!1):de.touched||(de.enabled&&this._toggleClass(H,!1),this.stateMap.delete(H)),de.touched=!1}}_toggleClass(b,H){(b=b.trim()).length>0&&b.split(Vr).forEach(de=>{H?this._renderer.addClass(this._ngEl.nativeElement,de):this._renderer.removeClass(this._ngEl.nativeElement,de)})}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),T})(),Hn=(()=>{var f;class T{constructor(b){this._viewContainerRef=b,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(b){return void 0!==b.ngComponentOutletNgModule||void 0!==b.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(b){return void 0!==b.ngComponentOutlet||void 0!==b.ngComponentOutletContent||void 0!==b.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(b)}ngOnChanges(b){if(this._needToReCreateComponentInstance(b)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const H=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(b)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,s.Lck)(this.ngComponentOutletNgModule,zr(H)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(zr(H)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:H,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const b of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(b,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(b){for(const[H,de]of this._inputsUsed)de?(b.setInput(H,this.ngComponentOutletInputs[H]),this._inputsUsed.set(H,!1)):(b.setInput(H,void 0),this._inputsUsed.delete(H))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[s.TTD]}),T})();function zr(f){return f.get(s.h0i).injector}class Or{constructor(T,se,b,H){this.$implicit=T,this.ngForOf=se,this.index=b,this.count=H}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 On=(()=>{var f;class T{set ngForOf(b){this._ngForOf=b,this._ngForOfDirty=!0}set ngForTrackBy(b){this._trackByFn=b}get ngForTrackBy(){return this._trackByFn}constructor(b,H,de){this._viewContainer=b,this._template=H,this._differs=de,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(b){b&&(this._template=b)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const b=this._ngForOf;!this._differ&&b&&(this._differ=this._differs.find(b).create(this.ngForTrackBy))}if(this._differ){const b=this._differ.diff(this._ngForOf);b&&this._applyChanges(b)}}_applyChanges(b){const H=this._viewContainer;b.forEachOperation((de,qe,yt)=>{if(null==de.previousIndex)H.createEmbeddedView(this._template,new Or(de.item,this._ngForOf,-1,-1),null===yt?void 0:yt);else if(null==yt)H.remove(null===qe?void 0:qe);else if(null!==qe){const mn=H.get(qe);H.move(mn,yt),Pr(mn,de)}});for(let de=0,qe=H.length;de<qe;de++){const mn=H.get(de).context;mn.index=de,mn.count=qe,mn.ngForOf=this._ngForOf}b.forEachIdentityChange(de=>{Pr(H.get(de.currentIndex),de)})}static ngTemplateContextGuard(b,H){return!0}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),T})();function Pr(f,T){f.context.$implicit=T.item}let Rr=(()=>{var f;class T{constructor(b,H){this._viewContainer=b,this._context=new ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=H}set ngIf(b){this._context.$implicit=this._context.ngIf=b,this._updateView()}set ngIfThen(b){Xr("ngIfThen",b),this._thenTemplateRef=b,this._thenViewRef=null,this._updateView()}set ngIfElse(b){Xr("ngIfElse",b),this._elseTemplateRef=b,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(b,H){return!0}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),T})();class ii{constructor(){this.$implicit=null,this.ngIf=null}}function Xr(f,T){if(T&&!T.createEmbeddedView)throw new Error(`${f} must be a TemplateRef, but received '${(0,s.AaK)(T)}'.`)}class yr{constructor(T,se){this._viewContainerRef=T,this._templateRef=se,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(T){T&&!this._created?this.create():!T&&this._created&&this.destroy()}}let Tr=(()=>{var f;class T{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(b){this._ngSwitch=b,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(b){this._defaultViews.push(b)}_matchCase(b){const H=b==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||H,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),H}_updateDefaultCases(b){if(this._defaultViews.length>0&&b!==this._defaultUsed){this._defaultUsed=b;for(const H of this._defaultViews)H.enforceState(b)}}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275dir=s.lG2({type:f,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),T})(),Ai=(()=>{var f;class T{constructor(b,H,de){this.ngSwitch=de,de._addCase(),this._view=new yr(b,H)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(Tr,9))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),T})(),ji=(()=>{var f;class T{constructor(b,H,de){de._addDefault(new yr(b,H))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(Tr,9))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngSwitchDefault",""]],standalone:!0}),T})(),yo=(()=>{var f;class T{constructor(b,H,de){this._ngEl=b,this._differs=H,this._renderer=de,this._ngStyle=null,this._differ=null}set ngStyle(b){this._ngStyle=b,!this._differ&&b&&(this._differ=this._differs.find(b).create())}ngDoCheck(){if(this._differ){const b=this._differ.diff(this._ngStyle);b&&this._applyChanges(b)}}_setStyle(b,H){const[de,qe]=b.split("."),yt=-1===de.indexOf("-")?void 0:s.JOm.DashCase;null!=H?this._renderer.setStyle(this._ngEl.nativeElement,de,qe?`${H}${qe}`:H,yt):this._renderer.removeStyle(this._ngEl.nativeElement,de,yt)}_applyChanges(b){b.forEachRemovedItem(H=>this._setStyle(H.key,null)),b.forEachAddedItem(H=>this._setStyle(H.key,H.currentValue)),b.forEachChangedItem(H=>this._setStyle(H.key,H.currentValue))}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),T})(),bo=(()=>{var f;class T{constructor(b){this._viewContainerRef=b,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(b){if(b.ngTemplateOutlet||b.ngTemplateOutletInjector){const H=this._viewContainerRef;if(this._viewRef&&H.remove(H.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:de,ngTemplateOutletContext:qe,ngTemplateOutletInjector:yt}=this;this._viewRef=H.createEmbeddedView(de,qe,yt?{injector:yt}:void 0)}else this._viewRef=null}else this._viewRef&&b.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.s_b))},f.\u0275dir=s.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[s.TTD]}),T})();function br(f,T){return new s.vHH(2100,!1)}class oi{createSubscription(T,se){return(0,s.rg0)(()=>T.subscribe({next:se,error:b=>{throw b}}))}dispose(T){(0,s.rg0)(()=>T.unsubscribe())}}class pi{createSubscription(T,se){return T.then(se,b=>{throw b})}dispose(T){}}const Eo=new pi,so=new oi;let Pi=(()=>{var f;class T{constructor(b){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=b}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(b){return this._obj?b!==this._obj?(this._dispose(),this.transform(b)):this._latestValue:(b&&this._subscribe(b),this._latestValue)}_subscribe(b){this._obj=b,this._strategy=this._selectStrategy(b),this._subscription=this._strategy.createSubscription(b,H=>this._updateLatestValue(b,H))}_selectStrategy(b){if((0,s.QGY)(b))return Eo;if((0,s.F4k)(b))return so;throw br()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(b,H){b===this._obj&&(this._latestValue=H,this._ref.markForCheck())}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.sBO,16))},f.\u0275pipe=s.Yjl({name:"async",type:f,pure:!1,standalone:!0}),T})();const fr=new s.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),wr=new s.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Dr=(()=>{var f;class T{constructor(b,H,de){this.locale=b,this.defaultTimezone=H,this.defaultOptions=de}transform(b,H,de,qe){if(null==b||""===b||b!=b)return null;try{return sn(b,H??this.defaultOptions?.dateFormat??"mediumDate",qe||this.locale,de??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(yt){throw br()}}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.soG,16),s.Y36(fr,24),s.Y36(wr,24))},f.\u0275pipe=s.Yjl({name:"date",type:f,pure:!0,standalone:!0}),T})(),Ro=(()=>{var f;class T{transform(b){return JSON.stringify(b,null,2)}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275pipe=s.Yjl({name:"json",type:f,pure:!1,standalone:!0}),T})(),It=(()=>{var f;class T{constructor(b){this._locale=b}transform(b,H,de){if(!function Nr(f){return!(null==f||""===f||f!=f)}(b))return null;de=de||this._locale;try{return function X(f,T,se){return function oe(f,T,se,b,H,de,qe=!1){let yt="",mn=!1;if(isFinite(f)){let Vn=function rt(f){let b,H,de,qe,yt,T=Math.abs(f)+"",se=0;for((H=T.indexOf(R))>-1&&(T=T.replace(R,"")),(de=T.search(/e/i))>0?(H<0&&(H=de),H+=+T.slice(de+1),T=T.substring(0,de)):H<0&&(H=T.length),de=0;T.charAt(de)===P;de++);if(de===(yt=T.length))b=[0],H=1;else{for(yt--;T.charAt(yt)===P;)yt--;for(H-=de,b=[],qe=0;de<=yt;de++,qe++)b[qe]=Number(T.charAt(de))}return H>22&&(b=b.splice(0,21),se=H-1,H=1),{digits:b,exponent:se,integerLen:H}}(f);qe&&(Vn=function we(f){if(0===f.digits[0])return f;const T=f.digits.length-f.integerLen;return f.exponent?f.exponent+=2:(0===T?f.digits.push(0,0):1===T&&f.digits.push(0),f.integerLen+=2),f}(Vn));let Bn=T.minInt,gn=T.minFrac,cr=T.maxFrac;if(de){const yi=de.match(D);if(null===yi)throw new Error(`${de} is not a valid digit info`);const Lr=yi[1],xr=yi[3],no=yi[5];null!=Lr&&(Bn=xt(Lr)),null!=xr&&(gn=xt(xr)),null!=no?cr=xt(no):null!=xr&&gn>cr&&(cr=gn)}!function Je(f,T,se){if(T>se)throw new Error(`The minimum number of digits after fraction (${T}) is higher than the maximum (${se}).`);let b=f.digits,H=b.length-f.integerLen;const de=Math.min(Math.max(T,H),se);let qe=de+f.integerLen,yt=b[qe];if(qe>0){b.splice(Math.max(f.integerLen,qe));for(let gn=qe;gn<b.length;gn++)b[gn]=0}else{H=Math.max(0,H),f.integerLen=1,b.length=Math.max(1,qe=de+1),b[0]=0;for(let gn=1;gn<qe;gn++)b[gn]=0}if(yt>=5)if(qe-1<0){for(let gn=0;gn>qe;gn--)b.unshift(0),f.integerLen++;b.unshift(1),f.integerLen++}else b[qe-1]++;for(;H<Math.max(0,de);H++)b.push(0);let mn=0!==de;const Vn=T+f.integerLen,Bn=b.reduceRight(function(gn,cr,Xn,mr){return mr[Xn]=(cr+=gn)<10?cr:cr-10,mn&&(0===mr[Xn]&&Xn>=Vn?mr.pop():mn=!1),cr>=10?1:0},0);Bn&&(b.unshift(Bn),f.integerLen++)}(Vn,gn,cr);let Xn=Vn.digits,mr=Vn.integerLen;const vi=Vn.exponent;let Ti=[];for(mn=Xn.every(yi=>!yi);mr<Bn;mr++)Xn.unshift(0);for(;mr<0;mr++)Xn.unshift(0);mr>0?Ti=Xn.splice(mr,Xn.length):(Ti=Xn,Xn=[0]);const Mi=[];for(Xn.length>=T.lgSize&&Mi.unshift(Xn.splice(-T.lgSize,Xn.length).join(""));Xn.length>T.gSize;)Mi.unshift(Xn.splice(-T.gSize,Xn.length).join(""));Xn.length&&Mi.unshift(Xn.join("")),yt=Mi.join(at(se,b)),Ti.length&&(yt+=at(se,H)+Ti.join("")),vi&&(yt+=at(se,it.Exponential)+"+"+vi)}else yt=at(se,it.Infinity);return yt=f<0&&!mn?T.negPre+yt+T.negSuf:T.posPre+yt+T.posSuf,yt}(f,function ue(f,T="-"){const se={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},b=f.split(";"),H=b[0],de=b[1],qe=-1!==H.indexOf(R)?H.split(R):[H.substring(0,H.lastIndexOf(P)+1),H.substring(H.lastIndexOf(P)+1)],yt=qe[0],mn=qe[1]||"";se.posPre=yt.substring(0,yt.indexOf("#"));for(let Bn=0;Bn<mn.length;Bn++){const gn=mn.charAt(Bn);gn===P?se.minFrac=se.maxFrac=Bn+1:"#"===gn?se.maxFrac=Bn+1:se.posSuf+=gn}const Vn=yt.split(",");if(se.gSize=Vn[1]?Vn[1].length:0,se.lgSize=Vn[2]||Vn[1]?(Vn[2]||Vn[1]).length:0,de){const Bn=H.length-se.posPre.length-se.posSuf.length,gn=de.indexOf("#");se.negPre=de.substring(0,gn).replace(/'/g,""),se.negSuf=de.slice(gn+Bn).replace(/'/g,"")}else se.negPre=T+se.posPre,se.negSuf=se.posSuf;return se}(function ht(f,T){return(0,s.cg1)(f)[s.wAp.NumberFormats][T]}(T,ie.Decimal),at(T,it.MinusSign)),T,it.Group,it.Decimal,se)}(function ui(f){if("string"==typeof f&&!isNaN(Number(f)-parseFloat(f)))return Number(f);if("number"!=typeof f)throw new Error(`${f} is not a number`);return f}(b),de,H)}catch(qe){throw br()}}}return(f=T).\u0275fac=function(b){return new(b||f)(s.Y36(s.soG,16))},f.\u0275pipe=s.Yjl({name:"number",type:f,pure:!0,standalone:!0}),T})();let lr=(()=>{var f;class T{}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275mod=s.oAB({type:f}),f.\u0275inj=s.cJS({}),T})();const Wr="browser",Di="server";function Ie(f){return f===Wr}function Ee(f){return f===Di}let Mt=(()=>{var f;class T{}return(f=T).\u0275prov=(0,s.Yz7)({token:f,providedIn:"root",factory:()=>new Yt((0,s.LFG)(K),window)}),T})();class Yt{constructor(T,se){this.document=T,this.window=se,this.offset=()=>[0,0]}setOffset(T){this.offset=Array.isArray(T)?()=>T:T}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(T){this.supportsScrolling()&&this.window.scrollTo(T[0],T[1])}scrollToAnchor(T){if(!this.supportsScrolling())return;const se=function $n(f,T){const se=f.getElementById(T)||f.getElementsByName(T)[0];if(se)return se;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const b=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let H=b.currentNode;for(;H;){const de=H.shadowRoot;if(de){const qe=de.getElementById(T)||de.querySelector(`[name="${T}"]`);if(qe)return qe}H=b.nextNode()}}return null}(this.document,T);se&&(this.scrollToElement(se),se.focus())}setHistoryScrollRestoration(T){this.supportsScrolling()&&(this.window.history.scrollRestoration=T)}scrollToElement(T){const se=T.getBoundingClientRect(),b=se.left+this.window.pageXOffset,H=se.top+this.window.pageYOffset,de=this.offset();this.window.scrollTo(b-de[0],H-de[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class En{}const nr=f=>f.src,kr=new s.OlP("ImageLoader",{providedIn:"root",factory:()=>nr}),Ss=new s.OlP("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let gi=(()=>{var f;class T{constructor(){this.preloadedImages=(0,s.f3M)(Ss),this.document=(0,s.f3M)(K)}createPreloadLinkTag(b,H,de,qe){if(this.preloadedImages.has(H))return;this.preloadedImages.add(H);const yt=b.createElement("link");b.setAttribute(yt,"as","image"),b.setAttribute(yt,"href",H),b.setAttribute(yt,"rel","preload"),b.setAttribute(yt,"fetchpriority","high"),qe&&b.setAttribute(yt,"imageSizes",qe),de&&b.setAttribute(yt,"imageSrcset",de),b.appendChild(this.document.head,yt)}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275prov=s.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),T})();const ei=/^((\s*\d+w\s*(,|$)){1,})$/,ir=[1,2],eo={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},ti=new s.OlP("ImageConfig",{providedIn:"root",factory:()=>eo});let Fi=(()=>{var f;class T{constructor(){this.imageLoader=(0,s.f3M)(kr),this.config=function to(f){let T={};return f.breakpoints&&(T.breakpoints=f.breakpoints.sort((se,b)=>se-b)),Object.assign({},eo,f,T)}((0,s.f3M)(ti)),this.renderer=(0,s.f3M)(s.Qsj),this.imgElement=(0,s.f3M)(s.SBq).nativeElement,this.injector=(0,s.f3M)(s.zs3),this.isServer=Ee((0,s.f3M)(s.Lbi)),this.preloadLinkCreator=(0,s.f3M)(gi),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}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 b=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),b,this.sizes)}ngOnChanges(b){if(b.ngSrc&&!b.ngSrc.isFirstChange()){const H=this._renderedSrc;this.updateSrcAndSrcset(!0);const de=this._renderedSrc;null!==this.lcpObserver&&H&&de&&H!==de&&this.injector.get(s.R0b).runOutsideAngular(()=>{this.lcpObserver?.updateImage(H,de)})}}callImageLoader(b){let H=b;return this.loaderParams&&(H.loaderParams=this.loaderParams),this.imageLoader(H)}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.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const b=ei.test(this.ngSrcset);return this.ngSrcset.split(",").filter(de=>""!==de).map(de=>{de=de.trim();const qe=b?parseFloat(de):parseFloat(de)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:qe})} ${de}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:b}=this.config;let H=b;return"100vw"===this.sizes?.trim()&&(H=b.filter(qe=>qe>=640)),H.map(qe=>`${this.callImageLoader({src:this.ngSrc,width:qe})} ${qe}w`).join(", ")}updateSrcAndSrcset(b=!1){b&&(this._renderedSrc=null);const H=this.getRewrittenSrc();let de;return this.setHostAttribute("src",H),this.ngSrcset?de=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(de=this.getAutomaticSrcset()),de&&this.setHostAttribute("srcset",de),de}getFixedSrcset(){return ir.map(H=>`${this.callImageLoader({src:this.ngSrc,width:this.width*H})} ${H}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==nr&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(b,H){this.renderer.setAttribute(this.imgElement,b,H)}}return(f=T).\u0275fac=function(b){return new(b||f)},f.\u0275dir=s.lG2({type:f,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(b,H){2&b&&s.Udp("position",H.fill?"absolute":null)("width",H.fill?"100%":null)("height",H.fill?"100%":null)("inset",H.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",xo],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",s.Cb_],height:["height","height",s.Cb_],loading:"loading",priority:["priority","priority",s.VuI],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",s.VuI],fill:["fill","fill",s.VuI],src:"src",srcset:"srcset"},standalone:!0,features:[s.Xq5,s.TTD]}),T})();function xo(f){return"string"==typeof f?f:(0,s.z3N)(f)}},9862:(mt,Ce,v)=>{v.d(Ce,{JF:()=>D,TP:()=>be,eN:()=>Be});var s=v(5879),m=v(2096),z=v(2459),j=v(5592),I=v(6328),K=v(2181),Y=v(7398),re=v(4716),te=v(4664),U=v(6814);class Q{}class he{}class Me{constructor(ee){this.normalizedNames=new Map,this.lazyUpdate=null,ee?"string"==typeof ee?this.lazyInit=()=>{this.headers=new Map,ee.split("\n").forEach(Oe=>{const X=Oe.indexOf(":");if(X>0){const ue=Oe.slice(0,X),we=ue.toLowerCase(),rt=Oe.slice(X+1).trim();this.maybeSetNormalizedName(ue,we),this.headers.has(we)?this.headers.get(we).push(rt):this.headers.set(we,[rt])}})}:typeof Headers<"u"&&ee instanceof Headers?(this.headers=new Map,ee.forEach((Oe,X)=>{this.setHeaderEntries(X,Oe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ee).forEach(([Oe,X])=>{this.setHeaderEntries(Oe,X)})}:this.headers=new Map}has(ee){return this.init(),this.headers.has(ee.toLowerCase())}get(ee){this.init();const Oe=this.headers.get(ee.toLowerCase());return Oe&&Oe.length>0?Oe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ee){return this.init(),this.headers.get(ee.toLowerCase())||null}append(ee,Oe){return this.clone({name:ee,value:Oe,op:"a"})}set(ee,Oe){return this.clone({name:ee,value:Oe,op:"s"})}delete(ee,Oe){return this.clone({name:ee,value:Oe,op:"d"})}maybeSetNormalizedName(ee,Oe){this.normalizedNames.has(Oe)||this.normalizedNames.set(Oe,ee)}init(){this.lazyInit&&(this.lazyInit instanceof Me?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ee=>this.applyUpdate(ee)),this.lazyUpdate=null))}copyFrom(ee){ee.init(),Array.from(ee.headers.keys()).forEach(Oe=>{this.headers.set(Oe,ee.headers.get(Oe)),this.normalizedNames.set(Oe,ee.normalizedNames.get(Oe))})}clone(ee){const Oe=new Me;return Oe.lazyInit=this.lazyInit&&this.lazyInit instanceof Me?this.lazyInit:this,Oe.lazyUpdate=(this.lazyUpdate||[]).concat([ee]),Oe}applyUpdate(ee){const Oe=ee.name.toLowerCase();switch(ee.op){case"a":case"s":let X=ee.value;if("string"==typeof X&&(X=[X]),0===X.length)return;this.maybeSetNormalizedName(ee.name,Oe);const ue=("a"===ee.op?this.headers.get(Oe):void 0)||[];ue.push(...X),this.headers.set(Oe,ue);break;case"d":const we=ee.value;if(we){let rt=this.headers.get(Oe);if(!rt)return;rt=rt.filter(Je=>-1===we.indexOf(Je)),0===rt.length?(this.headers.delete(Oe),this.normalizedNames.delete(Oe)):this.headers.set(Oe,rt)}else this.headers.delete(Oe),this.normalizedNames.delete(Oe)}}setHeaderEntries(ee,Oe){const X=(Array.isArray(Oe)?Oe:[Oe]).map(we=>we.toString()),ue=ee.toLowerCase();this.headers.set(ue,X),this.maybeSetNormalizedName(ee,ue)}forEach(ee){this.init(),Array.from(this.normalizedNames.keys()).forEach(Oe=>ee(this.normalizedNames.get(Oe),this.headers.get(Oe)))}}class Ge{encodeKey(ee){return dt(ee)}encodeValue(ee){return dt(ee)}decodeKey(ee){return decodeURIComponent(ee)}decodeValue(ee){return decodeURIComponent(ee)}}const Ye=/%(\d[a-f0-9])/gi,He={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dt(oe){return encodeURIComponent(oe).replace(Ye,(ee,Oe)=>He[Oe]??ee)}function Ne(oe){return`${oe}`}class W{constructor(ee={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ee.encoder||new Ge,ee.fromString){if(ee.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function xe(oe,ee){const Oe=new Map;return oe.length>0&&oe.replace(/^\?/,"").split("&").forEach(ue=>{const we=ue.indexOf("="),[rt,Je]=-1==we?[ee.decodeKey(ue),""]:[ee.decodeKey(ue.slice(0,we)),ee.decodeValue(ue.slice(we+1))],xt=Oe.get(rt)||[];xt.push(Je),Oe.set(rt,xt)}),Oe}(ee.fromString,this.encoder)}else ee.fromObject?(this.map=new Map,Object.keys(ee.fromObject).forEach(Oe=>{const X=ee.fromObject[Oe],ue=Array.isArray(X)?X.map(Ne):[Ne(X)];this.map.set(Oe,ue)})):this.map=null}has(ee){return this.init(),this.map.has(ee)}get(ee){this.init();const Oe=this.map.get(ee);return Oe?Oe[0]:null}getAll(ee){return this.init(),this.map.get(ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ee,Oe){return this.clone({param:ee,value:Oe,op:"a"})}appendAll(ee){const Oe=[];return Object.keys(ee).forEach(X=>{const ue=ee[X];Array.isArray(ue)?ue.forEach(we=>{Oe.push({param:X,value:we,op:"a"})}):Oe.push({param:X,value:ue,op:"a"})}),this.clone(Oe)}set(ee,Oe){return this.clone({param:ee,value:Oe,op:"s"})}delete(ee,Oe){return this.clone({param:ee,value:Oe,op:"d"})}toString(){return this.init(),this.keys().map(ee=>{const Oe=this.encoder.encodeKey(ee);return this.map.get(ee).map(X=>Oe+"="+this.encoder.encodeValue(X)).join("&")}).filter(ee=>""!==ee).join("&")}clone(ee){const Oe=new W({encoder:this.encoder});return Oe.cloneFrom=this.cloneFrom||this,Oe.updates=(this.updates||[]).concat(ee),Oe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ee=>this.map.set(ee,this.cloneFrom.map.get(ee))),this.updates.forEach(ee=>{switch(ee.op){case"a":case"s":const Oe=("a"===ee.op?this.map.get(ee.param):void 0)||[];Oe.push(Ne(ee.value)),this.map.set(ee.param,Oe);break;case"d":if(void 0===ee.value){this.map.delete(ee.param);break}{let X=this.map.get(ee.param)||[];const ue=X.indexOf(Ne(ee.value));-1!==ue&&X.splice(ue,1),X.length>0?this.map.set(ee.param,X):this.map.delete(ee.param)}}}),this.cloneFrom=this.updates=null)}}class ie{constructor(){this.map=new Map}set(ee,Oe){return this.map.set(ee,Oe),this}get(ee){return this.map.has(ee)||this.map.set(ee,ee.defaultValue()),this.map.get(ee)}delete(ee){return this.map.delete(ee),this}has(ee){return this.map.has(ee)}keys(){return this.map.keys()}}function ge(oe){return typeof ArrayBuffer<"u"&&oe instanceof ArrayBuffer}function Se(oe){return typeof Blob<"u"&&oe instanceof Blob}function Ve(oe){return typeof FormData<"u"&&oe instanceof FormData}class pt{constructor(ee,Oe,X,ue){let we;if(this.url=Oe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ee.toUpperCase(),function ce(oe){switch(oe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ue?(this.body=void 0!==X?X:null,we=ue):we=X,we&&(this.reportProgress=!!we.reportProgress,this.withCredentials=!!we.withCredentials,we.responseType&&(this.responseType=we.responseType),we.headers&&(this.headers=we.headers),we.context&&(this.context=we.context),we.params&&(this.params=we.params)),this.headers||(this.headers=new Me),this.context||(this.context=new ie),this.params){const rt=this.params.toString();if(0===rt.length)this.urlWithParams=Oe;else{const Je=Oe.indexOf("?");this.urlWithParams=Oe+(-1===Je?"?":Je<Oe.length-1?"&":"")+rt}}else this.params=new W,this.urlWithParams=Oe}serializeBody(){return null===this.body?null:ge(this.body)||Se(this.body)||Ve(this.body)||function it(oe){return typeof URLSearchParams<"u"&&oe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof W?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||Ve(this.body)?null:Se(this.body)?this.body.type||null:ge(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof W?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(ee={}){const Oe=ee.method||this.method,X=ee.url||this.url,ue=ee.responseType||this.responseType,we=void 0!==ee.body?ee.body:this.body,rt=void 0!==ee.withCredentials?ee.withCredentials:this.withCredentials,Je=void 0!==ee.reportProgress?ee.reportProgress:this.reportProgress;let xt=ee.headers||this.headers,Pt=ee.params||this.params;const Rn=ee.context??this.context;return void 0!==ee.setHeaders&&(xt=Object.keys(ee.setHeaders).reduce((zn,Nn)=>zn.set(Nn,ee.setHeaders[Nn]),xt)),ee.setParams&&(Pt=Object.keys(ee.setParams).reduce((zn,Nn)=>zn.set(Nn,ee.setParams[Nn]),Pt)),new pt(Oe,X,we,{params:Pt,headers:xt,context:Rn,reportProgress:Je,responseType:ue,withCredentials:rt})}}var At=function(oe){return oe[oe.Sent=0]="Sent",oe[oe.UploadProgress=1]="UploadProgress",oe[oe.ResponseHeader=2]="ResponseHeader",oe[oe.DownloadProgress=3]="DownloadProgress",oe[oe.Response=4]="Response",oe[oe.User=5]="User",oe}(At||{});class Rt{constructor(ee,Oe=200,X="OK"){this.headers=ee.headers||new Me,this.status=void 0!==ee.status?ee.status:Oe,this.statusText=ee.statusText||X,this.url=ee.url||null,this.ok=this.status>=200&&this.status<300}}class Wt extends Rt{constructor(ee={}){super(ee),this.type=At.ResponseHeader}clone(ee={}){return new Wt({headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0})}}class $t extends Rt{constructor(ee={}){super(ee),this.type=At.Response,this.body=void 0!==ee.body?ee.body:null}clone(ee={}){return new $t({body:void 0!==ee.body?ee.body:this.body,headers:ee.headers||this.headers,status:void 0!==ee.status?ee.status:this.status,statusText:ee.statusText||this.statusText,url:ee.url||this.url||void 0})}}class vn extends Rt{constructor(ee){super(ee,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ee.url||"(unknown url)"}`:`Http failure response for ${ee.url||"(unknown url)"}: ${ee.status} ${ee.statusText}`,this.error=ee.error||null}}function xn(oe,ee){return{body:ee,headers:oe.headers,context:oe.context,observe:oe.observe,params:oe.params,reportProgress:oe.reportProgress,responseType:oe.responseType,withCredentials:oe.withCredentials}}let Be=(()=>{var oe;class ee{constructor(X){this.handler=X}request(X,ue,we={}){let rt;if(X instanceof pt)rt=X;else{let Pt,Rn;Pt=we.headers instanceof Me?we.headers:new Me(we.headers),we.params&&(Rn=we.params instanceof W?we.params:new W({fromObject:we.params})),rt=new pt(X,ue,void 0!==we.body?we.body:null,{headers:Pt,context:we.context,params:Rn,reportProgress:we.reportProgress,responseType:we.responseType||"json",withCredentials:we.withCredentials})}const Je=(0,m.of)(rt).pipe((0,I.b)(Pt=>this.handler.handle(Pt)));if(X instanceof pt||"events"===we.observe)return Je;const xt=Je.pipe((0,K.h)(Pt=>Pt instanceof $t));switch(we.observe||"body"){case"body":switch(rt.responseType){case"arraybuffer":return xt.pipe((0,Y.U)(Pt=>{if(null!==Pt.body&&!(Pt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Pt.body}));case"blob":return xt.pipe((0,Y.U)(Pt=>{if(null!==Pt.body&&!(Pt.body instanceof Blob))throw new Error("Response is not a Blob.");return Pt.body}));case"text":return xt.pipe((0,Y.U)(Pt=>{if(null!==Pt.body&&"string"!=typeof Pt.body)throw new Error("Response is not a string.");return Pt.body}));default:return xt.pipe((0,Y.U)(Pt=>Pt.body))}case"response":return xt;default:throw new Error(`Unreachable: unhandled observe type ${we.observe}}`)}}delete(X,ue={}){return this.request("DELETE",X,ue)}get(X,ue={}){return this.request("GET",X,ue)}head(X,ue={}){return this.request("HEAD",X,ue)}jsonp(X,ue){return this.request("JSONP",X,{params:(new W).append(ue,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(X,ue={}){return this.request("OPTIONS",X,ue)}patch(X,ue,we={}){return this.request("PATCH",X,xn(we,ue))}post(X,ue,we={}){return this.request("POST",X,xn(we,ue))}put(X,ue,we={}){return this.request("PUT",X,xn(we,ue))}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(Q))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();function Ze(oe,ee){return ee(oe)}function Xe(oe,ee){return(Oe,X)=>ee.intercept(Oe,{handle:ue=>oe(ue,X)})}const be=new s.OlP(""),ft=new s.OlP(""),q=new s.OlP("");function tt(){let oe=null;return(ee,Oe)=>{null===oe&&(oe=((0,s.f3M)(be,{optional:!0})??[]).reduceRight(Xe,Ze));const X=(0,s.f3M)(s.HDt),ue=X.add();return oe(ee,Oe).pipe((0,re.x)(()=>X.remove(ue)))}}let et=(()=>{var oe;class ee extends Q{constructor(X,ue){super(),this.backend=X,this.injector=ue,this.chain=null,this.pendingTasks=(0,s.f3M)(s.HDt)}handle(X){if(null===this.chain){const we=Array.from(new Set([...this.injector.get(ft),...this.injector.get(q,[])]));this.chain=we.reduceRight((rt,Je)=>function fe(oe,ee,Oe){return(X,ue)=>Oe.runInContext(()=>ee(X,we=>oe(we,ue)))}(rt,Je,this.injector),Ze)}const ue=this.pendingTasks.add();return this.chain(X,we=>this.backend.handle(we)).pipe((0,re.x)(()=>this.pendingTasks.remove(ue)))}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(he),s.LFG(s.lqb))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();const en=/^\)\]\}',?\n/;let dn=(()=>{var oe;class ee{constructor(X){this.xhrFactory=X}handle(X){if("JSONP"===X.method)throw new s.vHH(-2800,!1);const ue=this.xhrFactory;return(ue.\u0275loadImpl?(0,z.D)(ue.\u0275loadImpl()):(0,m.of)(null)).pipe((0,te.w)(()=>new j.y(rt=>{const Je=ue.build();if(Je.open(X.method,X.urlWithParams),X.withCredentials&&(Je.withCredentials=!0),X.headers.forEach((Ln,Hn)=>Je.setRequestHeader(Ln,Hn.join(","))),X.headers.has("Accept")||Je.setRequestHeader("Accept","application/json, text/plain, */*"),!X.headers.has("Content-Type")){const Ln=X.detectContentTypeHeader();null!==Ln&&Je.setRequestHeader("Content-Type",Ln)}if(X.responseType){const Ln=X.responseType.toLowerCase();Je.responseType="json"!==Ln?Ln:"text"}const xt=X.serializeBody();let Pt=null;const Rn=()=>{if(null!==Pt)return Pt;const Ln=Je.statusText||"OK",Hn=new Me(Je.getAllResponseHeaders()),zr=function Sn(oe){return"responseURL"in oe&&oe.responseURL?oe.responseURL:/^X-Request-URL:/m.test(oe.getAllResponseHeaders())?oe.getResponseHeader("X-Request-URL"):null}(Je)||X.url;return Pt=new Wt({headers:Hn,status:Je.status,statusText:Ln,url:zr}),Pt},zn=()=>{let{headers:Ln,status:Hn,statusText:zr,url:Or}=Rn(),On=null;204!==Hn&&(On=typeof Je.response>"u"?Je.responseText:Je.response),0===Hn&&(Hn=On?200:0);let Pr=Hn>=200&&Hn<300;if("json"===X.responseType&&"string"==typeof On){const Sr=On;On=On.replace(en,"");try{On=""!==On?JSON.parse(On):null}catch(Rr){On=Sr,Pr&&(Pr=!1,On={error:Rr,text:On})}}Pr?(rt.next(new $t({body:On,headers:Ln,status:Hn,statusText:zr,url:Or||void 0})),rt.complete()):rt.error(new vn({error:On,headers:Ln,status:Hn,statusText:zr,url:Or||void 0}))},Nn=Ln=>{const{url:Hn}=Rn(),zr=new vn({error:Ln,status:Je.status||0,statusText:Je.statusText||"Unknown Error",url:Hn||void 0});rt.error(zr)};let sr=!1;const Vr=Ln=>{sr||(rt.next(Rn()),sr=!0);let Hn={type:At.DownloadProgress,loaded:Ln.loaded};Ln.lengthComputable&&(Hn.total=Ln.total),"text"===X.responseType&&Je.responseText&&(Hn.partialText=Je.responseText),rt.next(Hn)},Ar=Ln=>{let Hn={type:At.UploadProgress,loaded:Ln.loaded};Ln.lengthComputable&&(Hn.total=Ln.total),rt.next(Hn)};return Je.addEventListener("load",zn),Je.addEventListener("error",Nn),Je.addEventListener("timeout",Nn),Je.addEventListener("abort",Nn),X.reportProgress&&(Je.addEventListener("progress",Vr),null!==xt&&Je.upload&&Je.upload.addEventListener("progress",Ar)),Je.send(xt),rt.next({type:At.Sent}),()=>{Je.removeEventListener("error",Nn),Je.removeEventListener("abort",Nn),Je.removeEventListener("load",zn),Je.removeEventListener("timeout",Nn),X.reportProgress&&(Je.removeEventListener("progress",Vr),null!==xt&&Je.upload&&Je.upload.removeEventListener("progress",Ar)),Je.readyState!==Je.DONE&&Je.abort()}})))}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(U.JF))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();const yn=new s.OlP("XSRF_ENABLED"),Zt=new s.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),an=new s.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Jn{}let Kn=(()=>{var oe;class ee{constructor(X,ue,we){this.doc=X,this.platform=ue,this.cookieName=we,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const X=this.doc.cookie||"";return X!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,U.Mx)(X,this.cookieName),this.lastCookieString=X),this.lastToken}}return(oe=ee).\u0275fac=function(X){return new(X||oe)(s.LFG(U.K0),s.LFG(s.Lbi),s.LFG(Zt))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac}),ee})();function An(oe,ee){const Oe=oe.url.toLowerCase();if(!(0,s.f3M)(yn)||"GET"===oe.method||"HEAD"===oe.method||Oe.startsWith("http://")||Oe.startsWith("https://"))return ee(oe);const X=(0,s.f3M)(Jn).getToken(),ue=(0,s.f3M)(an);return null!=X&&!oe.headers.has(ue)&&(oe=oe.clone({headers:oe.headers.set(ue,X)})),ee(oe)}var Ke=function(oe){return oe[oe.Interceptors=0]="Interceptors",oe[oe.LegacyInterceptors=1]="LegacyInterceptors",oe[oe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",oe[oe.NoXsrfProtection=3]="NoXsrfProtection",oe[oe.JsonpSupport=4]="JsonpSupport",oe[oe.RequestsMadeViaParent=5]="RequestsMadeViaParent",oe[oe.Fetch=6]="Fetch",oe}(Ke||{});function wt(oe,ee){return{\u0275kind:oe,\u0275providers:ee}}function Et(...oe){const ee=[Be,dn,et,{provide:Q,useExisting:et},{provide:he,useExisting:dn},{provide:ft,useValue:An,multi:!0},{provide:yn,useValue:!0},{provide:Jn,useClass:Kn}];for(const Oe of oe)ee.push(...Oe.\u0275providers);return(0,s.MR2)(ee)}const lt=new s.OlP("LEGACY_INTERCEPTOR_FN");let D=(()=>{var oe;class ee{}return(oe=ee).\u0275fac=function(X){return new(X||oe)},oe.\u0275mod=s.oAB({type:oe}),oe.\u0275inj=s.cJS({providers:[Et(wt(Ke.LegacyInterceptors,[{provide:lt,useFactory:tt},{provide:ft,useExisting:lt,multi:!0}]))]}),ee})()},5879:(mt,Ce,v)=>{v.d(Ce,{$8M:()=>fl,$WT:()=>Dr,$Z:()=>Rp,AFp:()=>qh,ALo:()=>m_,AaK:()=>he,AsE:()=>Xd,BQk:()=>Gc,CHM:()=>Gi,CRH:()=>P_,Cb_:()=>Wx,DdM:()=>i_,EJc:()=>kw,EiD:()=>Hh,EpF:()=>xm,F$t:()=>Om,F4k:()=>Tm,FYo:()=>op,FiY:()=>nc,G48:()=>_x,Gf:()=>A_,GfV:()=>sp,GkF:()=>jd,Gpc:()=>Ge,Gre:()=>cg,HDt:()=>tv,Hsn:()=>Pm,Ikx:()=>ef,JOm:()=>uc,JVY:()=>Yy,JZr:()=>Ne,KtG:()=>Wi,L6k:()=>Zy,LAX:()=>Jy,LFG:()=>P,LSH:()=>Vu,Lbi:()=>qu,Lck:()=>MC,MAs:()=>Dm,MMx:()=>Qg,MR2:()=>Gu,NdJ:()=>Hd,O4$:()=>il,Ojb:()=>wb,OlP:()=>vr,Oqu:()=>qd,P3R:()=>zh,PXZ:()=>lx,Q6J:()=>Fd,QGY:()=>Ud,QbO:()=>Cb,Qsj:()=>jb,R0b:()=>Ii,RDi:()=>Hy,Rgc:()=>Vl,SBq:()=>xl,Sil:()=>Bw,Suo:()=>O_,TTD:()=>Bn,TgZ:()=>$c,Tol:()=>Km,Udp:()=>Zd,VKq:()=>o_,VuI:()=>Gx,W1O:()=>F_,WFA:()=>$d,WLB:()=>s_,X6Q:()=>gx,XFs:()=>Ft,Xpm:()=>oi,Xq5:()=>sm,Xts:()=>El,Y36:()=>La,YKP:()=>Yg,YNc:()=>ym,Yjl:()=>Xi,Yz7:()=>be,Z0I:()=>et,ZZ4:()=>Ff,_Bn:()=>Kg,_UZ:()=>Bd,_Vd:()=>wl,_c5:()=>Rx,_uU:()=>eg,aQg:()=>Lf,c2e:()=>ev,cJS:()=>q,cg1:()=>nf,d8E:()=>tf,dDg:()=>ix,dqk:()=>dn,eBb:()=>Qy,eFA:()=>dv,eJc:()=>bf,ekj:()=>Qd,eoX:()=>av,f3M:()=>_e,g9A:()=>Xh,h0i:()=>ma,hGG:()=>Nx,hYB:()=>Gd,hij:()=>Yc,iGM:()=>I_,ifc:()=>we,ip1:()=>X_,jDz:()=>Jg,kEZ:()=>a_,kL8:()=>yg,kcU:()=>Wl,kuF:()=>V,l5B:()=>l_,lG2:()=>Ui,lcZ:()=>g_,lqb:()=>_s,lri:()=>ov,mCW:()=>yc,n5z:()=>gs,n_E:()=>Xc,oAB:()=>Pi,oJD:()=>$h,oxw:()=>Am,pB0:()=>qy,q3G:()=>ua,q4F:()=>ap,qFp:()=>Yx,qLn:()=>Js,qOj:()=>Sd,qZA:()=>Vc,qbA:()=>c_,qzn:()=>Aa,rWj:()=>sv,rg0:()=>H,s9C:()=>Vd,sBO:()=>vx,s_b:()=>nu,soG:()=>iu,tb:()=>Af,tp0:()=>rc,uIk:()=>Ad,vHH:()=>W,vpe:()=>vs,wAp:()=>Qa,xi3:()=>__,xp6:()=>Op,ynx:()=>zc,z2F:()=>el,z3N:()=>ks,zSh:()=>Yu,zs3:()=>os});var s=v(8645),m=v(7394),z=v(5592),j=v(3019),I=v(5619),K=v(2096),Y=v(3020),re=v(4664),te=v(3997);function U(e){for(let t in e)if(e[t]===U)return t;throw Error("Could not find renamed property on target object.")}function Q(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function he(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(he).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 Me(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ae=U({__forward_ref__:U});function Ge(e){return e.__forward_ref__=Ge,e.toString=function(){return he(this())},e}function xe(e){return Ye(e)?e():e}function Ye(e){return"function"==typeof e&&e.hasOwnProperty(Ae)&&e.__forward_ref__===Ge}function He(e){return e&&!!e.\u0275providers}const Ne="https://g.co/ng/security#xss";class W extends Error{constructor(t,n){super(V(t,n)),this.code=t}}function V(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function ie(e){return"string"==typeof e?e:null==e?"":String(e)}function it(e,t){throw new W(-201,!1)}function Ot(e,t){null==e&&function ye(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function be(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function q(e){return{providers:e.providers||[],imports:e.imports||[]}}function tt(e){return St(e,bt)||St(e,Un)}function et(e){return null!==tt(e)}function St(e,t){return e.hasOwnProperty(t)?e[t]:null}function rn(e){return e&&(e.hasOwnProperty(Gn)||e.hasOwnProperty(Pn))?e[Gn]:null}const bt=U({\u0275prov:U}),Gn=U({\u0275inj:U}),Un=U({ngInjectableDef:U}),Pn=U({ngInjectorDef:U});var Ft=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ft||{});let Ut;function sn(e){const t=Ut;return Ut=e,t}function en(e,t,n){const r=tt(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 it(he(e))}const dn=globalThis,lt={},Ht="__NG_DI_FLAG__",tn="ngTempTokenPath",me=/\n/gm,N="__source";let O;function k(e){const t=O;return O=e,t}function R(e,t=Ft.Default){if(void 0===O)throw new W(-203,!1);return null===O?en(e,void 0,t):O.get(e,t&Ft.Optional?null:void 0,t)}function P(e,t=Ft.Default){return(function zt(){return Ut}()||R)(xe(e),t)}function _e(e,t=Ft.Default){return P(e,ne(t))}function ne(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function le(e){const t=[];for(let n=0;n<e.length;n++){const r=xe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new W(900,!1);let i,o=Ft.Default;for(let a=0;a<r.length;a++){const u=r[a],_=oe(u);"number"==typeof _?-1===_?i=u.token:o|=_:i=u}t.push(P(i,o))}else t.push(P(r))}return t}function Le(e,t){return e[Ht]=t,e.prototype[Ht]=t,e}function oe(e){return e[Ht]}function X(e){return{toString:e}.toString()}var ue=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ue||{}),we=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(we||{});const rt={},Je=[],xt=U({\u0275cmp:U}),Pt=U({\u0275dir:U}),Rn=U({\u0275pipe:U}),zn=U({\u0275mod:U}),Nn=U({\u0275fac:U}),sr=U({__NG_ELEMENT_ID__:U}),Vr=U({__NG_ENV_ID__:U});function Ar(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}}function Ln(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++],a=n[r++],u=n[r++];e.setAttribute(t,a,u,o)}else{const o=i,a=n[++r];zr(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),r++}}return r}function Hn(e){return 3===e||4===e||6===e}function zr(e){return 64===e.charCodeAt(0)}function Or(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||On(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function On(e,t,n,r,i){let o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){const u=e[o++];if("number"==typeof u){if(u===t){a=-1;break}if(u>t){a=o-1;break}}}for(;o<e.length;){const u=e[o];if("number"==typeof u)break;if(u===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!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const Pr="ng-template";function Sr(e,t,n){let r=0,i=!0;for(;r<e.length;){let o=e[r++];if("string"==typeof o&&i){const a=e[r++];if(n&&"class"===o&&-1!==Ar(a.toLowerCase(),t,0))return!0}else{if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}"number"==typeof o&&(i=!1)}}return!1}function Rr(e){return 4===e.type&&e.value!==Pr}function ii(e,t,n){return t===(4!==e.type||n?e.value:Pr)}function Xr(e,t,n){let r=4;const i=e.attrs||[],o=function zo(e){for(let t=0;t<e.length;t++)if(Hn(e[t]))return t;return e.length}(i);let a=!1;for(let u=0;u<t.length;u++){const _=t[u];if("number"!=typeof _){if(!a)if(4&r){if(r=2|1&r,""!==_&&!ii(e,_,n)||""===_&&1===t.length){if(yr(r))return!1;a=!0}}else{const M=8&r?_:t[++u];if(8&r&&null!==e.attrs){if(!Sr(e.attrs,M,n)){if(yr(r))return!1;a=!0}continue}const ae=Tr(8&r?"class":_,i,Rr(e),n);if(-1===ae){if(yr(r))return!1;a=!0;continue}if(""!==M){let Te;Te=ae>o?"":i[ae+1].toLowerCase();const Fe=8&r?Te:null;if(Fe&&-1!==Ar(Fe,M,0)||2&r&&M!==Te){if(yr(r))return!1;a=!0}}}}else{if(!a&&!yr(r)&&!yr(_))return!1;if(a&&yr(_))continue;a=!1,r=_|1&r}}return yr(r)||a}function yr(e){return 0==(1&e)}function Tr(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)o=!0;else{if(1===a||2===a){let u=t[++i];for(;"string"==typeof u;)u=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=o?1:2}return-1}return function Ji(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 Ai(e,t,n=!1){for(let r=0;r<t.length;r++)if(Xr(e,t[r],n))return!0;return!1}function Oo(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 yo(e,t){return e?":not("+t.trim()+")":t}function bo(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const u=e[++n];i+="["+a+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!yr(a)&&(t+=yo(o,i),i=""),r=a,o=o||!yr(r);n++}return""!==i&&(t+=yo(o,i)),t}function oi(e){return X(()=>{const t=Hi(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ue.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||we.Emulated,styles:e.styles||Je,_:null,schemas:e.schemas||null,tView:null,id:""};Po(n);const r=e.dependencies;return n.directiveDefs=Ro(r,!1),n.pipeDefs=Ro(r,!0),n.id=function Cs(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Eo(e){return fn(e)||fr(e)}function so(e){return null!==e}function Pi(e){return X(()=>({type:e.type,bootstrap:e.bootstrap||Je,declarations:e.declarations||Je,imports:e.imports||Je,exports:e.exports||Je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qi(e,t){if(null==e)return rt;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}function Ui(e){return X(()=>{const t=Hi(e);return Po(t),t})}function Xi(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 fn(e){return e[xt]||null}function fr(e){return e[Pt]||null}function wr(e){return e[Rn]||null}function Dr(e){const t=fn(e)||fr(e)||wr(e);return null!==t&&t.standalone}function Gr(e,t){const n=e[zn]||null;if(!n&&!0===t)throw new Error(`Type ${he(e)} does not have '\u0275mod' property.`);return n}function Hi(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||rt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Je,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qi(e.inputs,t),outputs:qi(e.outputs)}}function Po(e){e.features?.forEach(t=>t(e))}function Ro(e,t){if(!e)return null;const n=t?wr:Eo;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(so)}const ar=0,It=1,ln=2,Wn=3,Nr=4,ui=5,hr=6,Ri=7,lr=8,Wr=9,Di=10,qt=11,Ni=12,Ie=13,Ee=14,Pe=15,st=16,_t=17,Mt=18,Yt=19,$n=20,Tn=21,En=22,Er=23,Kr=24,hn=25,Ci=1,Mr=2,nr=7,si=9,Cn=11;function rr(e){return Array.isArray(e)&&"object"==typeof e[Ci]}function Fr(e){return Array.isArray(e)&&!0===e[Ci]}function ls(e){return 0!=(4&e.flags)}function fi(e){return e.componentOffset>-1}function Yr(e){return 1==(1&e.flags)}function ai(e){return!!e.template}function ao(e){return 0!=(512&e[ln])}function ei(e,t){return e.hasOwnProperty(Nn)?e[Nn]:null}let ir=null,Do=!1;function li(e){const t=ir;return ir=e,t}const ki={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function uo(e){if(!zi(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Li(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function ti(e){e.dirty=!0,function Zo(e){if(void 0===e.liveConsumerNode)return;const t=Do;Do=!0;try{for(const n of e.liveConsumerNode)n.dirty||ti(n)}finally{Do=t}}(e),e.consumerMarkedDirty?.(e)}function Fi(e){return e&&(e.nextProducerIndex=0),li(e)}function to(e,t){if(li(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(zi(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Bo(e.producerNode[n],e.producerIndexOfThis[n]);for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Li(e){ho(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(uo(n),r!==n.version))return!0}return!1}function fs(e){if(ho(e),zi(e))for(let t=0;t<e.producerNode.length;t++)Bo(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Bo(e,t){if(function Is(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),ho(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Bo(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];ho(i),i.producerIndexOfThis[r]=t}}function zi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ho(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qo=null;function H(e){const t=li(null);try{return e()}finally{li(t)}}const qe=()=>{},yt={...ki,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:qe};class Vn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Bn(){return gn}function gn(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xn),cr}function cr(){const e=vi(this),t=e?.current;if(t){const n=e.previous;if(n===rt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Xn(e,t,n,r){const i=this.declaredInputs[n],o=vi(e)||function Ti(e,t){return e[mr]=t}(e,{previous:rt,current:null}),a=o.current||(o.current={}),u=o.previous,_=u[i];a[i]=new Vn(_&&_.currentValue,t,u===rt),e[r]=t}Bn.ngInherit=!0;const mr="__ngSimpleChanges__";function vi(e){return e[mr]||null}const Lr=function(e,t,n){},xr="svg";function er(e){for(;Array.isArray(e);)e=e[ar];return e}function ts(e,t){return er(t[e])}function ci(e,t){return er(t[e.index])}function zs(e,t){return e.data[t]}function ns(e,t){return e[t]}function bi(e,t){const n=t[e];return rr(n)?n:n[ar]}function c(e,t){return null==t?null:e[t]}function g(e){e[_t]=0}function A(e){1024&e[ln]||(e[ln]|=1024,ve(e,1))}function G(e){1024&e[ln]&&(e[ln]&=-1025,ve(e,-1))}function ve(e,t){let n=e[Wn];if(null===n)return;n[ui]+=t;let r=n;for(n=n[Wn];null!==n&&(1===t&&1===r[ui]||-1===t&&0===r[ui]);)n[ui]+=t,r=n,n=n[Wn]}const ke={lFrame:Si(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function un(){return ke.bindingsEnabled}function Yn(){return null!==ke.skipHydrationRootTNode}function ut(){return ke.lFrame.lView}function cn(){return ke.lFrame.tView}function Gi(e){return ke.lFrame.contextLView=e,e[lr]}function Wi(e){return ke.lFrame.contextLView=null,e}function gr(){let e=rs();for(;null!==e&&64===e.type;)e=e.parent;return e}function rs(){return ke.lFrame.currentTNode}function ri(e,t){const n=ke.lFrame;n.currentTNode=e,n.isParent=t}function jr(){return ke.lFrame.isParent}function ps(){ke.lFrame.isParent=!1}function pn(){const e=ke.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function d(){return ke.lFrame.bindingIndex++}function h(e){const t=ke.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function x(e,t){const n=ke.lFrame;n.bindingIndex=n.bindingRootIndex=e,J(t)}function J(e){ke.lFrame.currentDirectiveIndex=e}function Re(e){const t=ke.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Dt(){return ke.lFrame.currentQueryIndex}function nt(e){ke.lFrame.currentQueryIndex=e}function Qt(e){const t=e[It];return 2===t.type?t.declTNode:1===t.type?e[hr]:null}function In(e,t,n){if(n&Ft.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&Ft.Host||(i=Qt(o),null===i||(o=o[Ee],10&i.type))););if(null===i)return!1;t=i,e=o}const r=ke.lFrame=Zn();return r.currentTNode=t,r.lView=e,!0}function Ur(e){const t=Zn(),n=e[It];ke.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Zn(){const e=ke.lFrame,t=null===e?null:e.child;return null===t?Si(e):t}function Si(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 ms(){const e=ke.lFrame;return ke.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Gs=ms;function Ho(){const e=ms();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 Bi(){return ke.lFrame.selectedIndex}function is(e){ke.lFrame.selectedIndex=e}function Ir(){const e=ke.lFrame;return zs(e.tView,e.selectedIndex)}function il(){ke.lFrame.currentNamespace=xr}function Wl(){!function du(){ke.lFrame.currentNamespace=null}()}let ol=!0;function ta(){return ol}function Mo(e){ol=e}function na(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:u,ngAfterViewInit:_,ngAfterViewChecked:M,ngOnDestroy:F}=o;a&&(e.contentHooks??=[]).push(-n,a),u&&((e.contentHooks??=[]).push(n,u),(e.contentCheckHooks??=[]).push(n,u)),_&&(e.viewHooks??=[]).push(-n,_),M&&((e.viewHooks??=[]).push(n,M),(e.viewCheckHooks??=[]).push(n,M)),null!=F&&(e.destroyHooks??=[]).push(n,F)}}function ro(e,t,n){Zl(e,t,3,n)}function Ws(e,t,n,r){(3&e[ln])===n&&Zl(e,t,n,r)}function Yl(e,t){let n=e[ln];(3&n)===t&&(n&=8191,n+=1,e[ln]=n)}function Zl(e,t,n,r){const o=r??-1,a=t.length-1;let u=0;for(let _=void 0!==r?65535&e[_t]:0;_<a;_++)if("number"==typeof t[_+1]){if(u=t[_],null!=r&&u>=r)break}else t[_]<0&&(e[_t]+=65536),(u<o||-1==o)&&(Uf(e,n,t,_),e[_t]=(4294901760&e[_t])+_+2),_++}function Ql(e,t){Lr(4,e,t);const n=li(null);try{t.call(e)}finally{li(n),Lr(5,e,t)}}function Uf(e,t,n,r){const i=n[r]<0,o=n[r+1],u=e[i?-n[r]:n[r]];i?e[ln]>>13<e[_t]>>16&&(3&e[ln])===t&&(e[ln]+=8192,Ql(u,o)):Ql(u,o)}const Ks=-1;class ra{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function _a(e){return e!==Ks}function Ys(e){return 32767&e}function ia(e,t){let n=function fu(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ee],n--;return r}let sl=!0;function va(e){const t=sl;return sl=e,t}const ql=255,hu=5;let pu=0;const $o={};function ya(e,t){const n=ba(e,t);if(-1!==n)return n;const r=t[It];r.firstCreatePass&&(e.injectorIndex=t.length,al(r.data,e),al(t,null),al(r.blueprint,null));const i=Zs(e,t),o=e.injectorIndex;if(_a(i)){const a=Ys(i),u=ia(i,t),_=u[It].data;for(let M=0;M<8;M++)t[o+M]=u[a+M]|_[a+M]}return t[o+8]=i,o}function al(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ba(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Zs(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=dl(i),null===r)return Ks;if(n++,i=i[Ee],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ks}function oa(e,t,n){!function mu(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(sr)&&(r=n[sr]),null==r&&(r=n[sr]=pu++);const i=r&ql;t.data[e+(i>>hu)]|=1<<i}(e,t,n)}function Ea(e,t,n){if(n&Ft.Optional||void 0!==e)return e;it()}function Da(e,t,n,r){if(n&Ft.Optional&&void 0===r&&(r=null),!(n&(Ft.Self|Ft.Host))){const i=e[Wr],o=sn(void 0);try{return i?i.get(t,r,n&Ft.Optional):en(t,r,n&Ft.Optional)}finally{sn(o)}}return Ea(r,0,n)}function Ca(e,t,n,r=Ft.Default,i){if(null!==e){if(2048&t[ln]&&!(r&Ft.Self)){const a=function Kf(e,t,n,r,i){let o=e,a=t;for(;null!==o&&null!==a&&2048&a[ln]&&!(512&a[ln]);){const u=gu(o,a,n,r|Ft.Self,$o);if(u!==$o)return u;let _=o.parent;if(!_){const M=a[$n];if(M){const F=M.get(n,$o,r);if(F!==$o)return F}_=dl(a),a=a[Ee]}o=_}return i}(e,t,n,r,$o);if(a!==$o)return a}const o=gu(e,t,n,r,$o);if(o!==$o)return o}return Da(t,n,r,i)}function gu(e,t,n,r,i){const o=function _u(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(sr)?e[sr]:void 0;return"number"==typeof t?t>=0?t&ql:yu:t}(n);if("function"==typeof o){if(!In(t,e,r))return r&Ft.Host?Ea(i,0,r):Da(t,n,r,i);try{let a;if(a=o(r),null!=a||r&Ft.Optional)return a;it()}finally{Gs()}}else if("number"==typeof o){let a=null,u=ba(e,t),_=Ks,M=r&Ft.Host?t[Pe][hr]:null;for((-1===u||r&Ft.SkipSelf)&&(_=-1===u?Zs(e,t):t[u+8],_!==Ks&&ul(r,!1)?(a=t[It],u=Ys(_),t=ia(_,t)):u=-1);-1!==u;){const F=t[It];if(Ns(o,u,F.data)){const ae=Wf(u,t,n,a,r,M);if(ae!==$o)return ae}_=t[u+8],_!==Ks&&ul(r,t[It].data[u+8]===M)&&Ns(o,u,t)?(a=F,u=Ys(_),t=ia(_,t)):u=-1}}return i}function Wf(e,t,n,r,i,o){const a=t[It],u=a.data[e+8],F=cl(u,a,n,null==r?fi(u)&&sl:r!=a&&0!=(3&u.type),i&Ft.Host&&o===u);return null!==F?Rs(t,a,F,u):$o}function cl(e,t,n,r,i){const o=e.providerIndexes,a=t.data,u=1048575&o,_=e.directiveStart,F=o>>20,Te=i?u+F:e.directiveEnd;for(let Fe=r?u:u+F;Fe<Te;Fe++){const ct=a[Fe];if(Fe<_&&n===ct||Fe>=_&&ct.type===n)return Fe}if(i){const Fe=a[_];if(Fe&&ai(Fe)&&Fe.type===n)return _}return null}function Rs(e,t,n,r){let i=e[n];const o=t.data;if(function Hf(e){return e instanceof ra}(i)){const a=i;a.resolving&&function ge(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new W(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ce(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ie(e)}(o[n]));const u=va(a.canSeeViewProviders);a.resolving=!0;const M=a.injectImpl?sn(a.injectImpl):null;In(e,r,Ft.Default);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Kl(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const a=gn(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==M&&sn(M),va(u),a.resolving=!1,Gs()}}return i}function Ns(e,t,n){return!!(n[t+(e>>hu)]&1<<e)}function ul(e,t){return!(e&Ft.Self||e&Ft.Host&&t)}class Jr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ca(this._tNode,this._lView,t,ne(r),n)}}function yu(){return new Jr(gr(),ut())}function gs(e){return X(()=>{const t=e.prototype.constructor,n=t[Nn]||Xl(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Nn]||Xl(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Xl(e){return Ye(e)?()=>{const t=Xl(xe(e));return t&&t()}:ei(e)}function dl(e){const t=e[It],n=t.type;return 2===n?t.declTNode:1===n?e[hr]:null}function fl(e){return function ll(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(Hn(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}(gr(),e)}const aa="__parameters__";function Z(e,t,n){return X(()=>{const r=function S(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 a=new i(...o);return u.annotation=a,u;function u(_,M,F){const ae=_.hasOwnProperty(aa)?_[aa]:Object.defineProperty(_,aa,{value:[]})[aa];for(;ae.length<=F;)ae.push(null);return(ae[F]=ae[F]||[]).push(a),_}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function io(e,t){e.forEach(n=>Array.isArray(n)?io(n,t):t(n))}function Yf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ec(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hl(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Io(e,t,n){let r=wa(e,t);return r>=0?e[1|r]=n:(r=~r,function Hv(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 bu(e,t){const n=wa(e,t);if(n>=0)return e[1|n]}function wa(e,t){return function Zf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),a=e[o<<n];if(t===a)return o<<n;a>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const nc=Le(Z("Optional"),8),rc=Le(Z("SkipSelf"),4);function lc(e){return 128==(128&e.flags)}var uc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(uc||{});const ly=/^>|^->|<!--|-->|--!>|<!-$/g,cy=/(<|>)/g,uy="\u200b$1\u200b";const xu=new Map;let dy=0;const Mu="__ngContext__";function Zi(e,t){rr(t)?(e[Mu]=t[Yt],function hy(e){xu.set(e[Yt],e)}(t)):e[Mu]=t}let Su;function Iu(e,t){return Su(e,t)}function gl(e){const t=e[Wn];return Fr(t)?t[Wn]:t}function mh(e){return _h(e[Ni])}function gh(e){return _h(e[Nr])}function _h(e){for(;null!==e&&!Fr(e);)e=e[Nr];return e}function Ma(e,t,n,r,i){if(null!=r){let o,a=!1;Fr(r)?o=r:rr(r)&&(a=!0,r=r[ar]);const u=er(r);0===e&&null!==n?null==i?Eh(t,n,u):la(t,n,u,i||null,!0):1===e&&null!==n?la(t,n,u,i||null,!0):2===e?function gc(e,t,n){const r=pc(e,t);r&&function Py(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,u,a):3===e&&t.destroyNode(u),null!=o&&function ky(e,t,n,r,i){const o=n[nr];o!==er(n)&&Ma(t,e,r,o,i);for(let u=Cn;u<n.length;u++){const _=n[u];vl(_[It],_,e,t,r,o)}}(t,e,o,n,i)}}function Au(e,t){return e.createComment(function ah(e){return e.replace(ly,t=>t.replace(cy,uy))}(t))}function fc(e,t,n){return e.createElement(t,n)}function yh(e,t){const n=e[si],r=n.indexOf(t);G(t),n.splice(r,1)}function hc(e,t){if(e.length<=Cn)return;const n=Cn+t,r=e[n];if(r){const i=r[st];null!==i&&i!==e&&yh(i,r),t>0&&(e[n-1][Nr]=r[Nr]);const o=ec(e,Cn+t);!function wy(e,t){vl(e,t,t[qt],2,null,null),t[ar]=null,t[hr]=null}(r[It],r);const a=o[Mt];null!==a&&a.detachView(o[It]),r[Wn]=null,r[Nr]=null,r[ln]&=-129}return r}function Ou(e,t){if(!(256&t[ln])){const n=t[qt];t[Er]&&fs(t[Er]),t[Kr]&&fs(t[Kr]),n.destroyNode&&vl(e,t,n,3,null,null),function My(e){let t=e[Ni];if(!t)return Pu(e[It],e);for(;t;){let n=null;if(rr(t))n=t[Ni];else{const r=t[Cn];r&&(n=r)}if(!n){for(;t&&!t[Nr]&&t!==e;)rr(t)&&Pu(t[It],t),t=t[Wn];null===t&&(t=e),rr(t)&&Pu(t[It],t),n=t&&t[Nr]}t=n}}(t)}}function Pu(e,t){if(!(256&t[ln])){t[ln]&=-129,t[ln]|=256,function Oy(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 ra)){const o=n[r+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const u=i[o[a]],_=o[a+1];Lr(4,u,_);try{_.call(u)}finally{Lr(5,u,_)}}else{Lr(4,i,o);try{o.call(i)}finally{Lr(5,i,o)}}}}}(e,t),function Ay(e,t){const n=e.cleanup,r=t[Ri];if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const a=n[o+3];a>=0?r[a]():r[-a].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);null!==r&&(t[Ri]=null);const i=t[Tn];if(null!==i){t[Tn]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,t),1===t[It].type&&t[qt].destroy();const n=t[st];if(null!==n&&Fr(t[Wn])){n!==t[Wn]&&yh(n,t);const r=t[Mt];null!==r&&r.detachView(e)}!function py(e){xu.delete(e[Yt])}(t)}}function Ru(e,t,n){return function bh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ar];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===we.None||o===we.Emulated)return null}return ci(r,n)}}(e,t.parent,n)}function la(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Eh(e,t,n){e.appendChild(t,n)}function Dh(e,t,n,r,i){null!==r?la(e,t,n,r,i):Eh(e,t,n)}function pc(e,t){return e.parentNode(t)}function Ch(e,t,n){return xh(e,t,n)}let Nu,_c,Bu,vc,xh=function wh(e,t,n){return 40&e.type?ci(e,n):null};function mc(e,t,n,r){const i=Ru(e,r,t),o=t[qt],u=Ch(r.parent||t[hr],r,t);if(null!=i)if(Array.isArray(n))for(let _=0;_<n.length;_++)Dh(o,i,n[_],u,!1);else Dh(o,i,n,u,!1);void 0!==Nu&&Nu(o,r,t,n,i)}function _l(e,t){if(null!==t){const n=t.type;if(3&n)return ci(t,e);if(4&n)return ku(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return _l(e,r);{const i=e[t.index];return Fr(i)?ku(-1,i):er(i)}}if(32&n)return Iu(t,e)()||er(e[t.index]);{const r=Mh(e,t);return null!==r?Array.isArray(r)?r[0]:_l(gl(e[Pe]),r):_l(e,t.next)}}return null}function Mh(e,t){return null!==t?e[Pe][hr].projection[t.projection]:null}function ku(e,t){const n=Cn+e+1;if(n<t.length){const r=t[n],i=r[It].firstChild;if(null!==i)return _l(r,i)}return t[nr]}function Fu(e,t,n,r,i,o,a){for(;null!=n;){const u=r[n.index],_=n.type;if(a&&0===t&&(u&&Zi(er(u),r),n.flags|=2),32!=(32&n.flags))if(8&_)Fu(e,t,n.child,r,i,o,!1),Ma(t,e,i,u,o);else if(32&_){const M=Iu(n,r);let F;for(;F=M();)Ma(t,e,i,F,o);Ma(t,e,i,u,o)}else 16&_?Ih(e,t,r,n,i,o):Ma(t,e,i,u,o);n=a?n.projectionNext:n.next}}function vl(e,t,n,r,i,o){Fu(n,r,e.firstChild,t,i,o,!1)}function Ih(e,t,n,r,i,o){const a=n[Pe],_=a[hr].projection[r.projection];if(Array.isArray(_))for(let M=0;M<_.length;M++)Ma(t,e,i,_[M],o);else{let M=_;const F=a[Wn];lc(r)&&(M.flags|=128),Fu(e,t,M,F,i,o,!0)}}function Ah(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Oh(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&Ln(e,t,r),null!==i&&Ah(e,t,i),null!==o&&function Ly(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function Sa(e){return function Lu(){if(void 0===_c&&(_c=null,dn.trustedTypes))try{_c=dn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _c}()?.createHTML(e)||e}function Hy(e){Bu=e}function Ia(){if(void 0!==Bu)return Bu;if(typeof document<"u")return document;throw new W(210,!1)}function ju(){if(void 0===vc&&(vc=null,dn.trustedTypes))try{vc=dn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return vc}function Ph(e){return ju()?.createHTML(e)||e}function Nh(e){return ju()?.createScriptURL(e)||e}class ca{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ne})`}}class $y extends ca{getTypeName(){return"HTML"}}class Vy extends ca{getTypeName(){return"Style"}}class zy extends ca{getTypeName(){return"Script"}}class Gy extends ca{getTypeName(){return"URL"}}class Wy extends ca{getTypeName(){return"ResourceURL"}}function ks(e){return e instanceof ca?e.changingThisBreaksApplicationSecurity:e}function Aa(e,t){const n=function Ky(e){return e instanceof ca&&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 ${Ne})`)}return n===t}function Yy(e){return new $y(e)}function Zy(e){return new Vy(e)}function Qy(e){return new zy(e)}function Jy(e){return new Gy(e)}function qy(e){return new Wy(e)}class Xy{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Sa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class eb{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Sa(t),n}}const nb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yc(e){return(e=String(e)).match(nb)?e:"unsafe:"+e}function Fs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function yl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Fh=Fs("area,br,col,hr,img,wbr"),Lh=Fs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Bh=Fs("rp,rt"),Uu=yl(Fh,yl(Lh,Fs("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")),yl(Bh,Fs("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")),yl(Bh,Lh)),Hu=Fs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jh=yl(Hu,Fs("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"),Fs("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")),rb=Fs("script,style,template");class ib{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(!Uu.hasOwnProperty(n))return this.sanitizedSomething=!0,!rb.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),a=o.name,u=a.toLowerCase();if(!jh.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let _=o.value;Hu[u]&&(_=yc(_)),this.buf.push(" ",a,'="',Uh(_),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Uu.hasOwnProperty(n)&&!Fh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Uh(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 ob=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sb=/([^\#-~ |!])/g;function Uh(e){return e.replace(/&/g,"&amp;").replace(ob,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(sb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let bc;function Hh(e,t){let n=null;try{bc=bc||function kh(e){const t=new eb(e);return function tb(){try{return!!(new window.DOMParser).parseFromString(Sa(""),"text/html")}catch{return!1}}()?new Xy(t):t}(e);let r=t?String(t):"";n=bc.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=bc.getInertBodyElement(r)}while(r!==o);return Sa((new ib).sanitizeChildren($u(n)||n))}finally{if(n){const r=$u(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function $u(e){return"content"in e&&function ab(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ua=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ua||{});function $h(e){const t=bl();return t?Ph(t.sanitize(ua.HTML,e)||""):Aa(e,"HTML")?Ph(ks(e)):Hh(Ia(),ie(e))}function Vu(e){const t=bl();return t?t.sanitize(ua.URL,e)||"":Aa(e,"URL")?ks(e):yc(ie(e))}function Vh(e){const t=bl();if(t)return Nh(t.sanitize(ua.RESOURCE_URL,e)||"");if(Aa(e,"ResourceURL"))return Nh(ks(e));throw new W(904,!1)}function zh(e,t,n){return function fb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Vh:Vu}(t,n)(e)}function bl(){const e=ut();return e&&e[Di].sanitizer}class vr{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=be({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const El=new vr("ENVIRONMENT_INITIALIZER"),Gh=new vr("INJECTOR",-1),Wh=new vr("INJECTOR_DEF_TYPES");class zu{get(t,n=lt){if(n===lt){const r=new Error(`NullInjectorError: No provider for ${he(t)}!`);throw r.name="NullInjectorError",r}return n}}function Gu(e){return{\u0275providers:e}}function hb(...e){return{\u0275providers:Kh(0,e),\u0275fromNgModule:!0}}function Kh(e,...t){const n=[],r=new Set;let i;const o=a=>{n.push(a)};return io(t,a=>{const u=a;Ec(u,o,[],r)&&(i||=[],i.push(u))}),void 0!==i&&Yh(i,o),n}function Yh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Wu(i,o=>{t(o,r)})}}function Ec(e,t,n,r){if(!(e=xe(e)))return!1;let i=null,o=rn(e);const a=!o&&fn(e);if(o||a){if(a&&!a.standalone)return!1;i=e}else{const _=e.ngModule;if(o=rn(_),!o)return!1;i=_}const u=r.has(i);if(a){if(u)return!1;if(r.add(i),a.dependencies){const _="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const M of _)Ec(M,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let M;r.add(i);try{io(o.imports,F=>{Ec(F,t,n,r)&&(M||=[],M.push(F))})}finally{}void 0!==M&&Yh(M,t)}if(!u){const M=ei(i)||(()=>new i);t({provide:i,useFactory:M,deps:Je},i),t({provide:Wh,useValue:i,multi:!0},i),t({provide:El,useValue:()=>P(i),multi:!0},i)}const _=o.providers;if(null!=_&&!u){const M=e;Wu(_,F=>{t(F,M)})}}}return i!==e&&void 0!==e.providers}function Wu(e,t){for(let n of e)He(n)&&(n=n.\u0275providers),Array.isArray(n)?Wu(n,t):t(n)}const pb=U({provide:String,useValue:U});function Ku(e){return null!==e&&"object"==typeof e&&pb in e}function da(e){return"function"==typeof e}const Yu=new vr("Set Injector scope."),Dc={},gb={};let Zu;function Cc(){return void 0===Zu&&(Zu=new zu),Zu}class _s{}class wc extends _s{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,Ju(t,a=>this.processProvider(a)),this.records.set(Gh,Oa(void 0,this)),i.has("environment")&&this.records.set(_s,Oa(void 0,this));const o=this.records.get(Yu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Wh.multi,Je,Ft.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=k(this),r=sn(void 0);try{return t()}finally{k(n),sn(r)}}get(t,n=lt,r=Ft.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Vr))return t[Vr](this);r=ne(r);const o=k(this),a=sn(void 0);try{if(!(r&Ft.SkipSelf)){let _=this.records.get(t);if(void 0===_){const M=function Eb(e){return"function"==typeof e||"object"==typeof e&&e instanceof vr}(t)&&tt(t);_=M&&this.injectableDefInScope(M)?Oa(Qu(t),Dc):null,this.records.set(t,_)}if(null!=_)return this.hydrate(t,_)}return(r&Ft.Self?Cc():this.parent).get(t,n=r&Ft.Optional&&n===lt?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[tn]=u[tn]||[]).unshift(he(t)),o)throw u;return function ee(e,t,n,r){const i=e[tn];throw t[N]&&i.unshift(t[N]),e.message=function Oe(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=he(t);if(Array.isArray(t))i=t.map(he).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let u=t[a];o.push(a+":"+("string"==typeof u?JSON.stringify(u):he(u)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(me,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[tn]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{sn(a),k(o)}}resolveInjectorInitializers(){const t=k(this),n=sn(void 0);try{const i=this.get(El.multi,Je,Ft.Self);for(const o of i)o()}finally{k(t),sn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(he(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new W(205,!1)}processProvider(t){let n=da(t=xe(t))?t:xe(t&&t.provide);const r=function vb(e){return Ku(e)?Oa(void 0,e.useValue):Oa(Jh(e),Dc)}(t);if(da(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=Oa(void 0,Dc,!0),i.factory=()=>le(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Dc&&(n.value=gb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function bb(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=xe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Qu(e){const t=tt(e),n=null!==t?t.factory:ei(e);if(null!==n)return n;if(e instanceof vr)throw new W(204,!1);if(e instanceof Function)return function _b(e){const t=e.length;if(t>0)throw hl(t,"?"),new W(204,!1);const n=function kt(e){return e&&(e[bt]||e[Un])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new W(204,!1)}function Jh(e,t,n){let r;if(da(e)){const i=xe(e);return ei(i)||Qu(i)}if(Ku(e))r=()=>xe(e.useValue);else if(function Qh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...le(e.deps||[]));else if(function Zh(e){return!(!e||!e.useExisting)}(e))r=()=>P(xe(e.useExisting));else{const i=xe(e&&(e.useClass||e.provide));if(!function yb(e){return!!e.deps}(e))return ei(i)||Qu(i);r=()=>new i(...le(e.deps))}return r}function Oa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ju(e,t){for(const n of e)Array.isArray(n)?Ju(n,t):n&&He(n)?Ju(n.\u0275providers,t):t(n)}const qh=new vr("AppId",{providedIn:"root",factory:()=>Db}),Db="ng",Xh=new vr("Platform Initializer"),qu=new vr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Cb=new vr("AnimationModuleType"),wb=new vr("CSP nonce",{providedIn:"root",factory:()=>Ia().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let ep=(e,t,n)=>null;function sd(e,t,n=!1){return ep(e,t,n)}class Nb{}class rp{}class Fb{resolveComponentFactory(t){throw function kb(e){const t=Error(`No component factory found for ${he(e)}.`);return t.ngComponent=e,t}(t)}}let wl=(()=>{class t{}return t.NULL=new Fb,t})();function Lb(){return Na(gr(),ut())}function Na(e,t){return new xl(ci(e,t))}let xl=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=Lb,t})();function Bb(e){return e instanceof xl?e.nativeElement:e}class op{}let jb=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function Ub(){const e=ut(),n=bi(gr().index,e);return(rr(n)?n:e)[qt]}(),t})(),Hb=(()=>{var e;class t{}return(e=t).\u0275prov=be({token:e,providedIn:"root",factory:()=>null}),t})();class sp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ap=new sp("16.2.5"),cd={};function dp(e,t=null,n=null,r){const i=fp(e,t,n,r);return i.resolveInjectorInitializers(),i}function fp(e,t=null,n=null,r,i=new Set){const o=[n||Je,hb(e)];return r=r||("object"==typeof e?void 0:he(e)),new wc(o,t||Cc(),r||null,i)}let os=(()=>{var e;class t{static create(r,i){if(Array.isArray(r))return dp({name:""},i,r,"");{const o=r.name??"";return dp({name:o},r.parent,r.providers,o)}}}return(e=t).THROW_IF_NOT_FOUND=lt,e.NULL=new zu,e.\u0275prov=be({token:e,providedIn:"any",factory:()=>P(Gh)}),e.__NG_ELEMENT_ID__=-1,t})();function dd(e){return e.ngOriginalError}class Js{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&&dd(t);for(;n&&dd(n);)n=dd(n);return n||null}}function hd(e){return t=>{setTimeout(e,void 0,t)}}const vs=class Yb 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),a=r;if(t&&"object"==typeof t){const _=t;i=_.next?.bind(_),o=_.error?.bind(_),a=_.complete?.bind(_)}this.__isAsync&&(o=hd(o),i&&(i=hd(i)),a&&(a=hd(a)));const u=super.subscribe({next:i,error:o,complete:a});return t instanceof m.w0&&t.add(u),u}};function pp(...e){}class Ii{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new vs(!1),this.onMicrotaskEmpty=new vs(!1),this.onStable=new vs(!1),this.onError=new vs(!1),typeof Zone>"u")throw new W(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 Zb(){const e="function"==typeof dn.requestAnimationFrame;let t=dn[e?"requestAnimationFrame":"setTimeout"],n=dn[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function qb(e){const t=()=>{!function Jb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(dn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,pd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,a,u)=>{if(function e0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(u))return n.invokeTask(i,o,a,u);try{return mp(e),n.invokeTask(i,o,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),gp(e)}},onInvoke:(n,r,i,o,a,u,_)=>{try{return mp(e),n.invoke(i,o,a,u,_)}finally{e.shouldCoalesceRunChangeDetection&&t(),gp(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),pd(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(!Ii.isInAngularZone())throw new W(909,!1)}static assertNotInAngularZone(){if(Ii.isInAngularZone())throw new W(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+i,t,Qb,pp,pp);try{return o.runTask(a,n,r)}finally{o.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Qb={};function pd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function mp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gp(e){e._nesting--,pd(e)}class Xb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new vs,this.onMicrotaskEmpty=new vs,this.onStable=new vs,this.onError=new vs}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 _p=new vr("",{providedIn:"root",factory:vp});function vp(){const e=_e(Ii);let t=!0;const n=new z.y(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),r=new z.y(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{Ii.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const a=e.onUnstable.subscribe(()=>{Ii.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}});return(0,j.T)(n,r.pipe((0,Y.B)()))}function Ls(e){return e instanceof Function?e():e}let gd=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=be({token:e,providedIn:"root",factory:()=>new e}),t})();function Tl(e){for(;e;){e[ln]|=64;const t=gl(e);if(ao(e)&&!t)return e;e=t}return null}const Cp=new vr("",{providedIn:"root",factory:()=>!1});let Oc=null;function Mp(e,t){return e[t]??Ap()}function Sp(e,t){const n=Ap();n.producerNode?.length&&(e[t]=Oc,n.lView=e,Oc=Ip())}const d0={...ki,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Tl(e.lView)},lView:null};function Ip(){return Object.create(d0)}function Ap(){return Oc??=Ip(),Oc}const Mn={};function Op(e){Pp(cn(),ut(),Bi()+e,!1)}function Pp(e,t,n,r){if(!r)if(3==(3&t[ln])){const o=e.preOrderCheckHooks;null!==o&&ro(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ws(t,o,0,n)}is(n)}function La(e,t=Ft.Default){const n=ut();return null===n?P(e,t):Ca(gr(),n,xe(e),t)}function Rp(){throw new Error("invalid")}function Pc(e,t,n,r,i,o,a,u,_,M,F){const ae=t.blueprint.slice();return ae[ar]=i,ae[ln]=140|r,(null!==M||e&&2048&e[ln])&&(ae[ln]|=2048),g(ae),ae[Wn]=ae[Ee]=e,ae[lr]=n,ae[Di]=a||e&&e[Di],ae[qt]=u||e&&e[qt],ae[Wr]=_||e&&e[Wr]||null,ae[hr]=o,ae[Yt]=function fy(){return dy++}(),ae[En]=F,ae[$n]=M,ae[Pe]=2==t.type?e[Pe]:ae,ae}function Ba(e,t,n,r,i){let o=e.data[t];if(null===o)o=function _d(e,t,n,r,i){const o=rs(),a=jr(),_=e.data[t]=function y0(e,t,n,r,i,o){let a=t?t.injectorIndex:-1,u=0;return Yn()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=_),null!==o&&(a?null==o.child&&null!==_.parent&&(o.child=_):null===o.next&&(o.next=_,_.prev=o)),_}(e,t,n,r,i),function y(){return ke.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const a=function ur(){const e=ke.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return ri(o,!0),o}function Ml(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 Np(e,t,n,r,i){const o=Mp(t,Er),a=Bi(),u=2&r;try{is(-1),u&&t.length>hn&&Pp(e,t,hn,!1),Lr(u?2:0,i);const M=u?o:null,F=Fi(M);try{null!==M&&(M.dirty=!1),n(r,i)}finally{to(M,F)}}finally{u&&null===t[Er]&&Sp(t,Er),is(a),Lr(u?3:1,i)}}function vd(e,t,n){if(ls(t)){const r=li(null);try{const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const u=e.data[a];u.contentQueries&&u.contentQueries(1,n[a],a)}}finally{li(r)}}}function yd(e,t,n){un()&&(function T0(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;fi(n)&&function R0(e,t,n){const r=ci(t,e),i=kp(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const u=Rc(e,Pc(e,i,null,a,r,t,null,e[Di].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=u}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||ya(n,t),Zi(r,t);const a=n.initialInputs;for(let u=i;u<o;u++){const _=e.data[u],M=Rs(t,e,u,n);Zi(M,t),null!==a&&N0(0,u-i,M,_,0,a),ai(_)&&(bi(n.index,t)[lr]=Rs(t,e,u,n))}}(e,t,n,ci(n,t)),64==(64&n.flags)&&Up(e,t,n))}function bd(e,t,n=ci){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const a=r[o+1],u=-1===a?n(t,e):e[a];e[i++]=u}}}function kp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ed(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ed(e,t,n,r,i,o,a,u,_,M,F){const ae=hn+r,Te=ae+i,Fe=function h0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Mn);return n}(ae,Te),ct="function"==typeof M?M():M;return Fe[It]={type:e,blueprint:Fe,template:n,queries:null,viewQuery:u,declTNode:t,data:Fe.slice().fill(null,ae),bindingStartIndex:ae,expandoStartIndex:Te,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 a?a():a,firstChild:null,schemas:_,consts:ct,incompleteFirstPass:!1,ssrId:F}}let Fp=e=>null;function Lp(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const o=e[i];null===r?Bp(n,t,i,o):r.hasOwnProperty(i)&&Bp(n,t,r[i],o)}return n}function Bp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Ao(e,t,n,r,i,o,a,u){const _=ci(t,n);let F,M=t.inputs;!u&&null!=M&&(F=M[r])?(Td(e,n,F,r,i),fi(t)&&function D0(e,t){const n=bi(t,e);16&n[ln]||(n[ln]|=64)}(n,t.index)):3&t.type&&(r=function E0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,o.setProperty(_,r,i))}function Dd(e,t,n,r){if(un()){const i=null===r?null:{"":-1},o=function S0(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let o=0;o<n.length;o++){const a=n[o];if(Ai(t,a.selectors,!1))if(r||(r=[]),ai(a))if(null!==a.findHostDirectiveDefs){const u=[];i=i||new Map,a.findHostDirectiveDefs(a,u,i),r.unshift(...u,a),Cd(e,t,u.length)}else r.unshift(a),Cd(e,t,0);else i=i||new Map,a.findHostDirectiveDefs?.(a,r,i),r.push(a)}return null===r?null:[r,i]}(e,n);let a,u;null===o?a=u=null:[a,u]=o,null!==a&&jp(e,t,n,a,i,u),i&&function I0(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 W(-301,!1);r.push(t[i],o)}}}(n,r,i)}n.mergedAttrs=Or(n.mergedAttrs,n.attrs)}function jp(e,t,n,r,i,o){for(let M=0;M<r.length;M++)oa(ya(n,t),e,r[M].type);!function O0(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let M=0;M<r.length;M++){const F=r[M];F.providersResolver&&F.providersResolver(F)}let a=!1,u=!1,_=Ml(e,t,r.length,null);for(let M=0;M<r.length;M++){const F=r[M];n.mergedAttrs=Or(n.mergedAttrs,F.hostAttrs),P0(e,n,t,_,F),A0(_,F,i),null!==F.contentQueries&&(n.flags|=4),(null!==F.hostBindings||null!==F.hostAttrs||0!==F.hostVars)&&(n.flags|=64);const ae=F.type.prototype;!a&&(ae.ngOnChanges||ae.ngOnInit||ae.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!u&&(ae.ngOnChanges||ae.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),_++}!function b0(e,t,n){const i=t.directiveEnd,o=e.data,a=t.attrs,u=[];let _=null,M=null;for(let F=t.directiveStart;F<i;F++){const ae=o[F],Te=n?n.get(ae):null,ct=Te?Te.outputs:null;_=Lp(ae.inputs,F,_,Te?Te.inputs:null),M=Lp(ae.outputs,F,M,ct);const Ct=null===_||null===a||Rr(t)?null:k0(_,F,a);u.push(Ct)}null!==_&&(_.hasOwnProperty("class")&&(t.flags|=8),_.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=u,t.inputs=_,t.outputs=M}(e,n,o)}function Up(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,a=function B(){return ke.lFrame.currentDirectiveIndex}();try{is(o);for(let u=r;u<i;u++){const _=e.data[u],M=t[u];J(u),(null!==_.hostBindings||0!==_.hostVars||null!==_.hostAttrs)&&M0(_,M)}}finally{is(-1),J(a)}}function M0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Cd(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function A0(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ai(t)&&(n[""]=e)}}function P0(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=ei(i.type)),a=new ra(o,ai(i),La);e.blueprint[r]=a,n[r]=a,function w0(e,t,n,r,i){const o=i.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function x0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(n,r,o)}}(e,t,r,Ml(e,n,i.hostVars,Mn),i)}function ys(e,t,n,r,i,o){const a=ci(e,t);!function wd(e,t,n,r,i,o,a){if(null==o)e.removeAttribute(t,i,n);else{const u=null==a?ie(o):a(o,r||"",i);e.setAttribute(t,i,u,n)}}(t[qt],a,o,e.value,n,r,i)}function N0(e,t,n,r,i,o){const a=o[t];if(null!==a)for(let u=0;u<a.length;)Hp(r,n,a[u++],a[u++],a[u++])}function Hp(e,t,n,r,i){const o=li(null);try{const a=e.inputTransforms;null!==a&&a.hasOwnProperty(r)&&(i=a[r].call(t,i)),null!==e.setInput?e.setInput(t,i,n,r):t[r]=i}finally{li(o)}}function k0(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 a=e[o];for(let u=0;u<a.length;u+=2)if(a[u]===t){r.push(o,a[u+1],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function $p(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function Vp(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 a=e.data[o];nt(n[r]),a.contentQueries(2,t[o],o)}}}function Rc(e,t){return e[Ni]?e[Ie][Nr]=t:e[Ni]=t,e[Ie]=t,t}function xd(e,t,n){nt(0);const r=li(null);try{t(e,n)}finally{li(r)}}function zp(e){return e[Ri]||(e[Ri]=[])}function Gp(e){return e.cleanup||(e.cleanup=[])}function Wp(e,t,n){return(null===e||ai(e))&&(n=function Uo(e){for(;Array.isArray(e);){if("object"==typeof e[Ci])return e;e=e[ar]}return null}(n[t.index])),n[qt]}function Kp(e,t){const n=e[Wr],r=n?n.get(Js,null):null;r&&r.handleError(t)}function Td(e,t,n,r,i){for(let o=0;o<n.length;){const a=n[o++],u=n[o++];Hp(e.data[a],t[a],r,u,i)}}function Bs(e,t,n){const r=ts(t,e);!function vh(e,t,n){e.setValue(t,n)}(e[qt],r,n)}function F0(e,t){const n=bi(t,e),r=n[It];!function L0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[ar];null!==i&&null===n[En]&&(n[En]=sd(i,n[Wr])),Md(r,n,n[lr])}function Md(e,t,n){Ur(t);try{const r=e.viewQuery;null!==r&&xd(1,r,n);const i=e.template;null!==i&&Np(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Vp(e,t),e.staticViewQueries&&xd(2,e.viewQuery,n);const o=e.components;null!==o&&function B0(e,t){for(let n=0;n<t.length;n++)F0(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[ln]&=-5,Ho()}}let Yp=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,i,o){const a=typeof Zone>"u"?null:Zone.current,u=function de(e,t,n){const r=Object.create(yt);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=a=>{r.cleanupFn=a};return r.ref={notify:()=>ti(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Li(r))return;r.hasRun=!0;const a=Fi(r);try{r.cleanupFn(),r.cleanupFn=qe,r.fn(i)}finally{to(r,a)}},cleanup:()=>r.cleanupFn()},r.ref}(r,F=>{this.all.has(F)&&this.queue.set(F,a)},o);let _;this.all.add(u),u.notify();const M=()=>{u.cleanup(),_?.(),this.all.delete(u),this.queue.delete(u)};return _=i?.onDestroy(M),{destroy:M}}flush(){if(0!==this.queue.size)for(const[r,i]of this.queue)this.queue.delete(r),i?i.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=be({token:e,providedIn:"root",factory:()=>new e}),t})();function Nc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?o=u:1==o?i=Me(i,u):2==o&&(r=Me(r,u+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Sl(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];null!==o&&r.push(er(o)),Fr(o)&&Zp(o,r);const a=n.type;if(8&a)Sl(e,t,n.child,r);else if(32&a){const u=Iu(n,t);let _;for(;_=u();)r.push(_)}else if(16&a){const u=Mh(t,n);if(Array.isArray(u))r.push(...u);else{const _=gl(t[Pe]);Sl(_[It],_,u,r,!0)}}n=i?n.projectionNext:n.next}return r}function Zp(e,t){for(let n=Cn;n<e.length;n++){const r=e[n],i=r[It].firstChild;null!==i&&Sl(r[It],r,i,t)}e[nr]!==e[ar]&&t.push(e[nr])}function kc(e,t,n,r=!0){const i=t[Di],o=i.rendererFactory,a=i.afterRenderEventManager;o.begin?.(),a?.begin();try{Qp(e,t,e.template,n)}catch(_){throw r&&Kp(t,_),_}finally{o.end?.(),i.effectManager?.flush(),a?.end()}}function Qp(e,t,n,r){const i=t[ln];if(256!=(256&i)){t[Di].effectManager?.flush(),Ur(t);try{g(t),function Ki(e){return ke.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Np(e,t,n,2,r);const a=3==(3&i);if(a){const M=e.preOrderCheckHooks;null!==M&&ro(t,M,null)}else{const M=e.preOrderHooks;null!==M&&Ws(t,M,0,null),Yl(t,0)}if(function H0(e){for(let t=mh(e);null!==t;t=gh(t)){if(!t[Mr])continue;const n=t[si];for(let r=0;r<n.length;r++){A(n[r])}}}(t),Jp(t,2),null!==e.contentQueries&&Vp(e,t),a){const M=e.contentCheckHooks;null!==M&&ro(t,M)}else{const M=e.contentHooks;null!==M&&Ws(t,M,1),Yl(t,1)}!function f0(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Mp(t,Kr);try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)is(~o);else{const a=o,u=n[++i],_=n[++i];x(u,a),r.dirty=!1;const M=Fi(r);try{_(2,t[a])}finally{to(r,M)}}}}finally{null===t[Kr]&&Sp(t,Kr),is(-1)}}(e,t);const u=e.components;null!==u&&Xp(t,u,0);const _=e.viewQuery;if(null!==_&&xd(2,_,r),a){const M=e.viewCheckHooks;null!==M&&ro(t,M)}else{const M=e.viewHooks;null!==M&&Ws(t,M,2),Yl(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[ln]&=-73,G(t)}finally{Ho()}}}function Jp(e,t){for(let n=mh(e);null!==n;n=gh(n))for(let r=Cn;r<n.length;r++)qp(n[r],t)}function $0(e,t,n){qp(bi(t,e),n)}function qp(e,t){if(!function C(e){return 128==(128&e[ln])}(e))return;const n=e[It],r=e[ln];if(80&r&&0===t||1024&r||2===t)Qp(n,e,n.template,e[lr]);else if(e[ui]>0){Jp(e,1);const i=n.components;null!==i&&Xp(e,i,1)}}function Xp(e,t,n){for(let r=0;r<t.length;r++)$0(e,t[r],n)}class Il{get rootNodes(){const t=this._lView,n=t[It];return Sl(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[lr]}set context(t){this._lView[lr]=t}get destroyed(){return 256==(256&this._lView[ln])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Wn];if(Fr(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(hc(t,r),ec(n,r))}this._attachedToViewContainer=!1}Ou(this._lView[It],this._lView)}onDestroy(t){!function De(e,t){if(256==(256&e[ln]))throw new W(911,!1);null===e[Tn]&&(e[Tn]=[]),e[Tn].push(t)}(this._lView,t)}markForCheck(){Tl(this._cdRefInjectingView||this._lView)}detach(){this._lView[ln]&=-129}reattach(){this._lView[ln]|=128}detectChanges(){kc(this._lView[It],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new W(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ty(e,t){vl(e,t,t[qt],2,null,null)}(this._lView[It],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new W(902,!1);this._appRef=t}}class V0 extends Il{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;kc(t[It],t,t[lr],!1)}checkNoChanges(){}get context(){return null}}class em extends wl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=fn(t);return new Al(n,this.ngModule)}}function tm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class G0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ne(r);const i=this.injector.get(t,cd,r);return i!==cd||n===cd?i:this.parentInjector.get(t,n,r)}}class Al extends rp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=tm(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return tm(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Oi(e){return e.map(bo).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof _s?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new G0(t,o):t,u=a.get(op,null);if(null===u)throw new W(407,!1);const ae={rendererFactory:u,sanitizer:a.get(Hb,null),effectManager:a.get(Yp,null),afterRenderEventManager:a.get(gd,null)},Te=u.createRenderer(null,this.componentDef),Fe=this.componentDef.selectors[0][0]||"div",ct=r?function p0(e,t,n,r){const o=r.get(Cp,!1)||n===we.ShadowDom,a=e.selectRootElement(t,o);return function m0(e){Fp(e)}(a),a}(Te,r,this.componentDef.encapsulation,a):fc(Te,Fe,function z0(e){const t=e.toLowerCase();return"svg"===t?xr:"math"===t?"math":null}(Fe)),Jt=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let vt=null;null!==ct&&(vt=sd(ct,a,!0));const Dn=Ed(0,null,null,1,0,null,null,null,null,null,null),jn=Pc(null,Dn,null,Jt,null,null,ae,Te,a,null,vt);let Cr,vo;Ur(jn);try{const js=this.componentDef;let tl,jf=null;js.findHostDirectiveDefs?(tl=[],jf=new Map,js.findHostDirectiveDefs(js,tl,jf),tl.push(js)):tl=[js];const Zx=function K0(e,t){const n=e[It],r=hn;return e[r]=t,Ba(n,r,2,"#host",null)}(jn,ct),Qx=function Y0(e,t,n,r,i,o,a){const u=i[It];!function Z0(e,t,n,r){for(const i of e)t.mergedAttrs=Or(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Nc(t,t.mergedAttrs,!0),null!==n&&Oh(r,n,t))}(r,e,t,a);let _=null;null!==t&&(_=sd(t,i[Wr]));const M=o.rendererFactory.createRenderer(t,n);let F=16;n.signals?F=4096:n.onPush&&(F=64);const ae=Pc(i,kp(n),null,F,i[e.index],e,o,M,null,null,_);return u.firstCreatePass&&Cd(u,e,r.length-1),Rc(i,ae),i[e.index]=ae}(Zx,ct,js,tl,jn,ae,Te);vo=zs(Dn,hn),ct&&function J0(e,t,n,r){if(r)Ln(e,n,["ng-version",ap.full]);else{const{attrs:i,classes:o}=function br(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(!yr(i))break;i=o}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&Ln(e,n,i),o&&o.length>0&&Ah(e,n,o.join(" "))}}(Te,js,ct,r),void 0!==n&&function q0(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)}}(vo,this.ngContentSelectors,n),Cr=function Q0(e,t,n,r,i,o){const a=gr(),u=i[It],_=ci(a,i);jp(u,i,a,n,null,r);for(let F=0;F<n.length;F++)Zi(Rs(i,u,a.directiveStart+F,a),i);Up(u,i,a),_&&Zi(_,i);const M=Rs(i,u,a.directiveStart+a.componentOffset,a);if(e[lr]=i[lr]=M,null!==o)for(const F of o)F(M,t);return vd(u,a,e),M}(Qx,js,tl,jf,jn,[X0]),Md(Dn,jn,null)}finally{Ho()}return new W0(this.componentType,Cr,Na(vo,jn),jn,vo)}}class W0 extends Nb{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new V0(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;Td(o[It],o,i,t,n),this.previousInputValues.set(t,n),Tl(bi(this._tNode.index,o))}}get injector(){return new Jr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function X0(){const e=gr();na(ut()[It],e)}function Sd(e){let t=function nm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(ai(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new W(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const a=e;a.inputs=Fc(e.inputs),a.inputTransforms=Fc(e.inputTransforms),a.declaredInputs=Fc(e.declaredInputs),a.outputs=Fc(e.outputs);const u=i.hostBindings;u&&rE(e,u);const _=i.viewQuery,M=i.contentQueries;if(_&&tE(e,_),M&&nE(e,M),Q(e.inputs,i.inputs),Q(e.declaredInputs,i.declaredInputs),Q(e.outputs,i.outputs),null!==i.inputTransforms&&(null===a.inputTransforms&&(a.inputTransforms={}),Q(a.inputTransforms,i.inputTransforms)),ai(i)&&i.data.animation){const F=e.data;F.animation=(F.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let a=0;a<o.length;a++){const u=o[a];u&&u.ngInherit&&u(e),u===Sd&&(n=!1)}}t=Object.getPrototypeOf(t)}!function eE(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=Or(i.hostAttrs,n=Or(n,i.hostAttrs))}}(r)}function Fc(e){return e===rt?{}:e===Je?[]:e}function tE(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function nE(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function rE(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function sm(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Lc(e){return!!Id(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Id(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function bs(e,t,n){return e[t]=n}function Ol(e,t){return e[t]}function Qi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function fa(e,t,n,r){const i=Qi(e,t,n);return Qi(e,t+1,r)||i}function Vo(e,t,n,r,i,o){const a=fa(e,t,n,r);return fa(e,t+2,i,o)||a}function Ad(e,t,n,r){const i=ut();return Qi(i,d(),t)&&(cn(),ys(Ir(),i,e,t,n,r)),Ad}function Ua(e,t,n,r){return Qi(e,d(),n)?t+ie(n)+r:Mn}function Ha(e,t,n,r,i,o){const u=fa(e,function _r(){return ke.lFrame.bindingIndex}(),n,i);return h(2),u?t+ie(n)+r+ie(i)+o:Mn}function ym(e,t,n,r,i,o,a,u){const _=ut(),M=cn(),F=e+hn,ae=M.firstCreatePass?function SE(e,t,n,r,i,o,a,u,_){const M=t.consts,F=Ba(t,e,4,a||null,c(M,u));Dd(t,n,F,c(M,_)),na(t,F);const ae=F.tView=Ed(2,F,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,M,null);return null!==t.queries&&(t.queries.template(t,F),ae.queries=t.queries.embeddedTView(F)),F}(F,M,_,t,n,r,i,o,a):M.data[F];ri(ae,!1);const Te=bm(M,_,ae,e);ta()&&mc(M,_,Te,ae),Zi(Te,_),Rc(_,_[F]=$p(Te,_,Te,ae)),Yr(ae)&&yd(M,_,ae),null!=a&&bd(_,ae,u)}let bm=function Em(e,t,n,r){return Mo(!0),t[qt].createComment("")};function Dm(e){return ns(function Vt(){return ke.lFrame.contextLView}(),hn+e)}function Fd(e,t,n){const r=ut();return Qi(r,d(),t)&&Ao(cn(),Ir(),r,e,t,r[qt],n,!1),Fd}function Ld(e,t,n,r,i){const a=i?"class":"style";Td(e,n,t.inputs[a],a,r)}function $c(e,t,n,r){const i=ut(),o=cn(),a=hn+e,u=i[qt],_=o.firstCreatePass?function PE(e,t,n,r,i,o){const a=t.consts,_=Ba(t,e,2,r,c(a,i));return Dd(t,n,_,c(a,o)),null!==_.attrs&&Nc(_,_.attrs,!1),null!==_.mergedAttrs&&Nc(_,_.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,_),_}(a,o,i,t,n,r):o.data[a],M=Cm(o,i,_,u,t,e);i[a]=M;const F=Yr(_);return ri(_,!0),Oh(u,M,_),32!=(32&_.flags)&&ta()&&mc(o,i,M,_),0===function wn(){return ke.lFrame.elementDepthCount}()&&Zi(M,i),function bn(){ke.lFrame.elementDepthCount++}(),F&&(yd(o,i,_),vd(o,_,i)),null!==r&&bd(i,_),$c}function Vc(){let e=gr();jr()?ps():(e=e.parent,ri(e,!1));const t=e;(function Br(e){return ke.skipHydrationRootTNode===e})(t)&&function po(){ke.skipHydrationRootTNode=null}(),function Kt(){ke.lFrame.elementDepthCount--}();const n=cn();return n.firstCreatePass&&(na(n,e),ls(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function $f(e){return 0!=(8&e.flags)}(t)&&Ld(n,t,ut(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Vf(e){return 0!=(16&e.flags)}(t)&&Ld(n,t,ut(),t.stylesWithoutHost,!1),Vc}function Bd(e,t,n,r){return $c(e,t,n,r),Vc(),Bd}let Cm=(e,t,n,r,i,o)=>(Mo(!0),fc(r,i,function To(){return ke.lFrame.currentNamespace}()));function zc(e,t,n){const r=ut(),i=cn(),o=e+hn,a=i.firstCreatePass?function kE(e,t,n,r,i){const o=t.consts,a=c(o,r),u=Ba(t,e,8,"ng-container",a);return null!==a&&Nc(u,a,!0),Dd(t,n,u,c(o,i)),null!==t.queries&&t.queries.elementStart(t,u),u}(o,i,r,t,n):i.data[o];ri(a,!0);const u=wm(i,r,a,e);return r[o]=u,ta()&&mc(i,r,u,a),Zi(u,r),Yr(a)&&(yd(i,r,a),vd(i,a,r)),null!=n&&bd(r,a),zc}function Gc(){let e=gr();const t=cn();return jr()?ps():(e=e.parent,ri(e,!1)),t.firstCreatePass&&(na(t,e),ls(e)&&t.queries.elementEnd(e)),Gc}function jd(e,t,n){return zc(e,t,n),Gc(),jd}let wm=(e,t,n,r)=>(Mo(!0),Au(t[qt],""));function xm(){return ut()}function Ud(e){return!!e&&"function"==typeof e.then}function Tm(e){return!!e&&"function"==typeof e.subscribe}function Hd(e,t,n,r){const i=ut(),o=cn(),a=gr();return Mm(o,i,i[qt],a,e,t,r),Hd}function $d(e,t){const n=gr(),r=ut(),i=cn();return Mm(i,r,Wp(Re(i.data),n,r),n,e,t),$d}function Mm(e,t,n,r,i,o,a){const u=Yr(r),M=e.firstCreatePass&&Gp(e),F=t[lr],ae=zp(t);let Te=!0;if(3&r.type||a){const Ct=ci(r,t),Lt=a?a(Ct):Ct,Jt=ae.length,vt=a?jn=>a(er(jn[r.index])):r.index;let Dn=null;if(!a&&u&&(Dn=function BE(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const a=i[o];if(a===n&&i[o+1]===r){const u=t[Ri],_=i[o+2];return u.length>_?u[_]:null}"string"==typeof a&&(o+=2)}return null}(e,t,i,r.index)),null!==Dn)(Dn.__ngLastListenerFn__||Dn).__ngNextListenerFn__=o,Dn.__ngLastListenerFn__=o,Te=!1;else{o=Im(r,t,F,o,!1);const jn=n.listen(Lt,i,o);ae.push(o,jn),M&&M.push(i,vt,Jt,Jt+1)}}else o=Im(r,t,F,o,!1);const Fe=r.outputs;let ct;if(Te&&null!==Fe&&(ct=Fe[i])){const Ct=ct.length;if(Ct)for(let Lt=0;Lt<Ct;Lt+=2){const Cr=t[ct[Lt]][ct[Lt+1]].subscribe(o),vo=ae.length;ae.push(o,Cr),M&&M.push(i,r.index,vo,-(vo+1))}}}function Sm(e,t,n,r){try{return Lr(6,t,n),!1!==n(r)}catch(i){return Kp(e,i),!1}finally{Lr(7,t,n)}}function Im(e,t,n,r,i){return function o(a){if(a===Function)return r;Tl(e.componentOffset>-1?bi(e.index,t):t);let _=Sm(t,n,r,a),M=o.__ngNextListenerFn__;for(;M;)_=Sm(t,n,M,a)&&_,M=M.__ngNextListenerFn__;return i&&!1===_&&a.preventDefault(),_}}function Am(e=1){return function nl(e){return(ke.lFrame.contextLView=function rl(e,t){for(;e>0;)t=t[Ee],e--;return t}(e,ke.lFrame.contextLView))[lr]}(e)}function jE(e,t){let n=null;const r=function ji(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?Ai(e,o,!0):Oo(r,o))return i}else n=i}return n}function Om(e){const t=ut()[Pe][hr];if(!t.projection){const r=t.projection=hl(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){const a=e?jE(o,e):0;null!==a&&(i[a]?i[a].projectionNext=o:r[a]=o,i[a]=o),o=o.next}}}function Pm(e,t=0,n){const r=ut(),i=cn(),o=Ba(i,hn+e,16,null,n||null);null===o.projection&&(o.projection=t),ps(),(!r[En]||Yn())&&32!=(32&o.flags)&&function Ny(e,t,n){Ih(t[qt],0,t,n,Ru(e,n,t),Ch(n.parent||t[hr],n,t))}(i,r,o)}function Vd(e,t,n){return zd(e,"",t,"",n),Vd}function zd(e,t,n,r,i){const o=ut(),a=Ua(o,t,n,r);return a!==Mn&&Ao(cn(),Ir(),o,e,a,o[qt],i,!1),zd}function Gd(e,t,n,r,i,o,a){const u=ut(),_=Ha(u,t,n,r,i,o);return _!==Mn&&Ao(cn(),Ir(),u,e,_,u[qt],a,!1),Gd}function Wc(e,t){return e<<17|t<<2}function qs(e){return e>>17&32767}function Wd(e){return 2|e}function ha(e){return(131068&e)>>2}function Kd(e,t){return-131069&e|t<<2}function Yd(e){return 1|e}function Um(e,t,n,r,i){const o=e[n+1],a=null===t;let u=r?qs(o):ha(o),_=!1;for(;0!==u&&(!1===_||a);){const F=e[u+1];GE(e[u],t)&&(_=!0,e[u+1]=r?Yd(F):Wd(F)),u=r?qs(F):ha(F)}_&&(e[n+1]=r?Wd(o):Yd(o))}function GE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&wa(e,t)>=0}const Ei={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hm(e){return e.substring(Ei.key,Ei.keyEnd)}function $m(e,t){const n=Ei.textEnd;return n===t?-1:(t=Ei.keyEnd=function ZE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ei.key=t,n),Ya(e,t,n))}function Ya(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Zd(e,t,n){return ss(e,t,n,!1),Zd}function Qd(e,t){return ss(e,t,null,!0),Qd}function Km(e){as(iD,Ds,e,!0)}function Ds(e,t){for(let n=function KE(e){return function zm(e){Ei.key=0,Ei.keyEnd=0,Ei.value=0,Ei.valueEnd=0,Ei.textEnd=e.length}(e),$m(e,Ya(e,0,Ei.textEnd))}(t);n>=0;n=$m(t,n))Io(e,Hm(t),!0)}function ss(e,t,n,r){const i=ut(),o=cn(),a=h(2);o.firstUpdatePass&&Zm(o,e,a,r),t!==Mn&&Qi(i,a,t)&&Jm(o,o.data[Bi()],i,i[qt],e,i[a+1]=function sD(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=he(ks(e)))),e}(t,n),r,a)}function as(e,t,n,r){const i=cn(),o=h(2);i.firstUpdatePass&&Zm(i,null,o,r);const a=ut();if(n!==Mn&&Qi(a,o,n)){const u=i.data[Bi()];if(Xm(u,r)&&!Ym(i,o)){let _=r?u.classesWithoutHost:u.stylesWithoutHost;null!==_&&(n=Me(_,n||"")),Ld(i,u,a,n,r)}else!function oD(e,t,n,r,i,o,a,u){i===Mn&&(i=Je);let _=0,M=0,F=0<i.length?i[0]:null,ae=0<o.length?o[0]:null;for(;null!==F||null!==ae;){const Te=_<i.length?i[_+1]:void 0,Fe=M<o.length?o[M+1]:void 0;let Ct,ct=null;F===ae?(_+=2,M+=2,Te!==Fe&&(ct=ae,Ct=Fe)):null===ae||null!==F&&F<ae?(_+=2,ct=F):(M+=2,ct=ae,Ct=Fe),null!==ct&&Jm(e,t,n,r,ct,Ct,a,u),F=_<i.length?i[_]:null,ae=M<o.length?o[M]:null}}(i,u,a,a[qt],a[o+1],a[o+1]=function rD(e,t,n){if(null==n||""===n)return Je;const r=[],i=ks(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 Ym(e,t){return t>=e.expandoStartIndex}function Zm(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[Bi()],a=Ym(e,n);Xm(o,r)&&null===t&&!a&&(t=!1),t=function XE(e,t,n,r){const i=Re(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=kl(n=Jd(null,e,t,n,r),t.attrs,r),o=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=Jd(i,e,t,n,r),null===o){let _=function eD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ha(r))return e[qs(r)]}(e,t,r);void 0!==_&&Array.isArray(_)&&(_=Jd(null,e,t,_[1],r),_=kl(_,t.attrs,r),function tD(e,t,n,r){e[qs(n?t.classBindings:t.styleBindings)]=r}(e,t,r,_))}else o=function nD(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=kl(r,e[o].hostAttrs,n);return kl(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function VE(e,t,n,r,i,o){let a=o?t.classBindings:t.styleBindings,u=qs(a),_=ha(a);e[r]=n;let F,M=!1;if(Array.isArray(n)?(F=n[1],(null===F||wa(n,F)>0)&&(M=!0)):F=n,i)if(0!==_){const Te=qs(e[u+1]);e[r+1]=Wc(Te,u),0!==Te&&(e[Te+1]=Kd(e[Te+1],r)),e[u+1]=function HE(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=Wc(u,0),0!==u&&(e[u+1]=Kd(e[u+1],r)),u=r;else e[r+1]=Wc(_,0),0===u?u=r:e[_+1]=Kd(e[_+1],r),_=r;M&&(e[r+1]=Wd(e[r+1])),Um(e,F,r,!0),Um(e,F,r,!1),function zE(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&wa(o,t)>=0&&(n[r+1]=Yd(n[r+1]))}(t,F,e,r,o),a=Wc(u,_),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function Jd(e,t,n,r,i){let o=null;const a=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u<a&&(o=t[u],r=kl(r,o.hostAttrs,i),o!==e);)u++;return null!==e&&(n.directiveStylingLast=u),r}function kl(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Io(e,a,!!n||t[++o]))}return void 0===e?null:e}function iD(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Io(e,r,n)}function Jm(e,t,n,r,i,o,a,u){if(!(3&t.type))return;const _=e.data,M=_[u+1],F=function $E(e){return 1==(1&e)}(M)?qm(_,t,n,i,ha(M),a):void 0;Kc(F)||(Kc(o)||function UE(e){return 2==(2&e)}(M)&&(o=qm(_,null,n,i,u,a)),function Fy(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:uc.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=uc.Important),e.setStyle(n,r,i,o))}}(r,a,ts(Bi(),n),i,o))}function qm(e,t,n,r,i,o){const a=null===t;let u;for(;i>0;){const _=e[i],M=Array.isArray(_),F=M?_[1]:_,ae=null===F;let Te=n[i+1];Te===Mn&&(Te=ae?Je:void 0);let Fe=ae?bu(Te,r):F===r?Te:void 0;if(M&&!Kc(Fe)&&(Fe=bu(_,r)),Kc(Fe)&&(u=Fe,a))return u;const ct=e[i+1];i=a?qs(ct):ha(ct)}if(null!==t){let _=o?t.residualClasses:t.residualStyles;null!=_&&(u=bu(_,r))}return u}function Kc(e){return void 0!==e}function Xm(e,t){return 0!=(e.flags&(t?8:16))}function eg(e,t=""){const n=ut(),r=cn(),i=e+hn,o=r.firstCreatePass?Ba(r,i,1,t,null):r.data[i],a=tg(r,n,o,t,e);n[i]=a,ta()&&mc(r,n,a,o),ri(o,!1)}let tg=(e,t,n,r,i)=>(Mo(!0),function dc(e,t){return e.createText(t)}(t[qt],r));function qd(e){return Yc("",e,""),qd}function Yc(e,t,n){const r=ut(),i=Ua(r,e,t,n);return i!==Mn&&Bs(r,Bi(),i),Yc}function Xd(e,t,n,r,i){const o=ut(),a=Ha(o,e,t,n,r,i);return a!==Mn&&Bs(o,Bi(),a),Xd}function cg(e,t,n){as(Io,Ds,Ua(ut(),e,t,n),!0)}function ef(e,t,n){const r=ut();return Qi(r,d(),t)&&Ao(cn(),Ir(),r,e,t,r[qt],n,!0),ef}function tf(e,t,n){const r=ut();if(Qi(r,d(),t)){const o=cn(),a=Ir();Ao(o,a,r,e,t,Wp(Re(o.data),a,r),n,!0)}return tf}const pa=void 0;var MD=["en",[["a","p"],["AM","PM"],pa],[["AM","PM"],pa,pa],[["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"]],pa,[["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"]],pa,[["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}",pa,"{1} 'at' {0}",pa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function TD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Za={};function nf(e){const t=function SD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=bg(t);if(n)return n;const r=t.split("-")[0];if(n=bg(r),n)return n;if("en"===r)return MD;throw new W(701,!1)}function yg(e){return nf(e)[Qa.PluralCase]}function bg(e){return e in Za||(Za[e]=dn.ng&&dn.ng.common&&dn.ng.common.locales&&dn.ng.common.locales[e]),Za[e]}var Qa=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Qa||{});const Ja="en-US";let Eg=Ja;function af(e,t,n,r,i){if(e=xe(e),Array.isArray(e))for(let o=0;o<e.length;o++)af(e[o],t,n,r,i);else{const o=cn(),a=ut(),u=gr();let _=da(e)?e:xe(e.provide);const M=Jh(e),F=1048575&u.providerIndexes,ae=u.directiveStart,Te=u.providerIndexes>>20;if(da(e)||!e.multi){const Fe=new ra(M,i,La),ct=cf(_,t,i?F:F+Te,ae);-1===ct?(oa(ya(u,a),o,_),lf(o,e,t.length),t.push(_),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(Fe),a.push(Fe)):(n[ct]=Fe,a[ct]=Fe)}else{const Fe=cf(_,t,F+Te,ae),ct=cf(_,t,F,F+Te),Lt=ct>=0&&n[ct];if(i&&!Lt||!i&&!(Fe>=0&&n[Fe])){oa(ya(u,a),o,_);const Jt=function TC(e,t,n,r,i){const o=new ra(e,n,La);return o.multi=[],o.index=t,o.componentProviders=0,Wg(o,i,r&&!n),o}(i?xC:wC,n.length,i,r,M);!i&&Lt&&(n[ct].providerFactory=Jt),lf(o,e,t.length,0),t.push(_),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(Jt),a.push(Jt)}else lf(o,e,Fe>-1?Fe:ct,Wg(n[i?ct:Fe],M,!i&&r));!i&&r&&Lt&&n[ct].componentProviders++}}}function lf(e,t,n,r){const i=da(t),o=function mb(e){return!!e.useClass}(t);if(i||o){const _=(o?xe(t.useClass):t).prototype.ngOnDestroy;if(_){const M=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const F=M.indexOf(n);-1===F?M.push(n,[r,_]):M[F+1].push(r,_)}else M.push(n,_)}}}function Wg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function cf(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function wC(e,t,n,r){return uf(this.multi,[])}function xC(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const a=this.providerFactory.componentProviders,u=Rs(n,n[It],this.providerFactory.index,r);o=u.slice(0,a),uf(i,o);for(let _=a;_<u.length;_++)o.push(u[_])}else o=[],uf(i,o);return o}function uf(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Kg(e,t=[]){return n=>{n.providersResolver=(r,i)=>function CC(e,t,n){const r=cn();if(r.firstCreatePass){const i=ai(e);af(n,r.data,r.blueprint,i,!0),af(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class ma{}class Yg{}function MC(e,t){return new df(e,t??null,[])}class df extends ma{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new em(this);const i=Gr(t);this._bootstrapComponents=Ls(i.bootstrap),this._r3Injector=fp(t,n,[{provide:ma,useValue:this},{provide:wl,useValue:this.componentFactoryResolver},...r],he(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 ff extends Yg{constructor(t){super(),this.moduleType=t}create(t){return new df(this.moduleType,t,[])}}class Zg extends ma{constructor(t){super(),this.componentFactoryResolver=new em(this),this.instance=null;const n=new wc([...t.providers,{provide:ma,useValue:this},{provide:wl,useValue:this.componentFactoryResolver}],t.parent||Cc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Qg(e,t,n=null){return new Zg({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let IC=(()=>{var e;class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const i=Kh(0,r.type),o=i.length>0?Qg([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=be({token:e,providedIn:"environment",factory:()=>new e(P(_s))}),t})();function Jg(e){e.getStandaloneInjector=t=>t.get(IC).getOrCreateStandaloneInjector(e)}function i_(e,t,n){const r=pn()+e,i=ut();return i[r]===Mn?bs(i,r,n?t.call(n):t()):Ol(i,r)}function o_(e,t,n,r){return u_(ut(),pn(),e,t,n,r)}function s_(e,t,n,r,i){return d_(ut(),pn(),e,t,n,r,i)}function a_(e,t,n,r,i,o){return function f_(e,t,n,r,i,o,a,u){const _=t+n;return function Bc(e,t,n,r,i){const o=fa(e,t,n,r);return Qi(e,t+2,i)||o}(e,_,i,o,a)?bs(e,_+3,u?r.call(u,i,o,a):r(i,o,a)):Hl(e,_+3)}(ut(),pn(),e,t,n,r,i,o)}function l_(e,t,n,r,i,o,a){return function h_(e,t,n,r,i,o,a,u,_){const M=t+n;return Vo(e,M,i,o,a,u)?bs(e,M+4,_?r.call(_,i,o,a,u):r(i,o,a,u)):Hl(e,M+4)}(ut(),pn(),e,t,n,r,i,o,a)}function c_(e,t,n,r,i,o,a,u){const _=pn()+e,M=ut(),F=Vo(M,_,n,r,i,o);return Qi(M,_+4,a)||F?bs(M,_+5,u?t.call(u,n,r,i,o,a):t(n,r,i,o,a)):Ol(M,_+5)}function Hl(e,t){const n=e[t];return n===Mn?void 0:n}function u_(e,t,n,r,i,o){const a=t+n;return Qi(e,a,i)?bs(e,a+1,o?r.call(o,i):r(i)):Hl(e,a+1)}function d_(e,t,n,r,i,o,a){const u=t+n;return fa(e,u,i,o)?bs(e,u+2,a?r.call(a,i,o):r(i,o)):Hl(e,u+2)}function m_(e,t){const n=cn();let r;const i=e+hn;n.firstCreatePass?(r=function $C(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??=[]).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=ei(r.type)),u=sn(La);try{const _=va(!1),M=o();return va(_),function OE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ut(),i,M),M}finally{sn(u)}}function g_(e,t,n){const r=e+hn,i=ut(),o=ns(i,r);return $l(i,r)?u_(i,pn(),t,o.transform,n,o):o.transform(n)}function __(e,t,n,r){const i=e+hn,o=ut(),a=ns(o,i);return $l(o,i)?d_(o,pn(),t,a.transform,n,r,a):a.transform(n,r)}function $l(e,t){return e[It].data[t].pure}function WC(){return this._results[Symbol.iterator]()}class Xc{get changes(){return this._changes||(this._changes=new vs)}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=Xc.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=WC)}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 hi(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function So(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()}}function YC(e,t,n,r=!0){const i=t[It];if(function Sy(e,t,n,r){const i=Cn+r,o=n.length;r>0&&(n[i-1][Nr]=t),r<o-Cn?(t[Nr]=n[i],Yf(n,Cn+r,t)):(n.push(t),t[Nr]=null),t[Wn]=n;const a=t[st];null!==a&&n!==a&&function Iy(e,t){const n=e[si];t[Pe]!==t[Wn][Wn][Pe]&&(e[Mr]=!0),null===n?e[si]=[t]:n.push(t)}(a,t);const u=t[Mt];null!==u&&u.insertView(e),t[ln]|=128}(i,t,e,n),r){const o=ku(n,e),a=t[qt],u=pc(a,e[nr]);null!==u&&function xy(e,t,n,r,i,o){r[ar]=i,r[hr]=t,vl(e,r,n,1,i,o)}(i,e[hr],a,t,u,o)}}let Vl=(()=>{class t{}return t.__NG_ELEMENT_ID__=JC,t})();const ZC=Vl,QC=class extends ZC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function KC(e,t,n,r){const i=t.tView,u=Pc(e,i,n,4096&e[ln]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);u[st]=e[t.index];const M=e[Mt];return null!==M&&(u[Mt]=M.createEmbeddedView(i)),Md(i,u,n),u}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Il(i)}};function JC(){return eu(gr(),ut())}function eu(e,t){return 4&e.type?new QC(t,e,Na(e,t)):null}let nu=(()=>{class t{}return t.__NG_ELEMENT_ID__=rw,t})();function rw(){return w_(gr(),ut())}const iw=nu,D_=class extends iw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Na(this._hostTNode,this._hostLView)}get injector(){return new Jr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Zs(this._hostTNode,this._hostLView);if(_a(t)){const n=ia(t,this._hostLView),r=Ys(t);return new Jr(n[It].data[r+8],n)}return new Jr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=C_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Cn}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(u,i,false),u}createComponent(t,n,r,i,o){const a=t&&!function _n(e){return"function"==typeof e}(t);let u;if(a)u=n;else{const Ct=n||{};u=Ct.index,r=Ct.injector,i=Ct.projectableNodes,o=Ct.environmentInjector||Ct.ngModuleRef}const _=a?t:new Al(fn(t)),M=r||this.parentInjector;if(!o&&null==_.ngModule){const Lt=(a?M:this.parentInjector).get(_s,null);Lt&&(o=Lt)}fn(_.componentType??{});const Fe=_.create(M,i,null,o);return this.insertImpl(Fe.hostView,u,false),Fe}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const i=t._lView;if(function l(e){return Fr(e[Wn])}(i)){const _=this.indexOf(t);if(-1!==_)this.detach(_);else{const M=i[Wn],F=new D_(M,M[hr],M[Wn]);F.detach(F.indexOf(t))}}const a=this._adjustIndex(n),u=this._lContainer;return YC(u,i,a,!r),t.attachToViewContainerRef(),Yf(pf(u),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=C_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=hc(this._lContainer,n);r&&(ec(pf(this._lContainer),n),Ou(r[It],r))}detach(t){const n=this._adjustIndex(t,-1),r=hc(this._lContainer,n);return r&&null!=ec(pf(this._lContainer),n)?new Il(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function C_(e){return e[8]}function pf(e){return e[8]||(e[8]=[])}function w_(e,t){let n;const r=t[e.index];return Fr(r)?n=r:(n=$p(r,t,null,e),t[e.index]=n,Rc(t,n)),x_(n,t,e,r),new D_(n,e,t)}let x_=function T_(e,t,n,r){if(e[nr])return;let i;i=8&n.type?er(r):function ow(e,t){const n=e[qt],r=n.createComment(""),i=ci(t,e);return la(n,pc(n,i),r,function Ry(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[nr]=i};class mf{constructor(t){this.queryList=t,this.matches=null}clone(){return new mf(this.queryList)}setDirty(){this.queryList.setDirty()}}class gf{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 a=n.getByIndex(o);i.push(this.queries[a.indexInDeclarationView].clone())}return new gf(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!==k_(t,n).matches&&this.queries[n].setDirty()}}class M_{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class _f{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 _f(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 vf{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 vf(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,lw(n,o)),this.matchTNodeWithReadOption(t,n,cl(n,t,o,!1,!1))}else r===Vl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,cl(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===xl||i===nu||i===Vl&&4&n.type)this.addMatch(n.index,-2);else{const o=cl(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 lw(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 uw(e,t,n,r){return-1===n?function cw(e,t){return 11&e.type?Na(e,t):4&e.type?eu(e,t):null}(t,e):-2===n?function dw(e,t,n){return n===xl?Na(t,e):n===Vl?eu(t,e):n===nu?w_(t,e):void 0}(e,t,r):Rs(e,e[It],n,t)}function S_(e,t,n,r){const i=t[Mt].queries[r];if(null===i.matches){const o=e.data,a=n.matches,u=[];for(let _=0;_<a.length;_+=2){const M=a[_];u.push(M<0?null:uw(t,o[M],a[_+1],n.metadata.read))}i.matches=u}return i.matches}function yf(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const a=S_(e,t,i,n);for(let u=0;u<o.length;u+=2){const _=o[u];if(_>0)r.push(a[u/2]);else{const M=o[u+1],F=t[-_];for(let ae=Cn;ae<F.length;ae++){const Te=F[ae];Te[st]===Te[Wn]&&yf(Te[It],Te,M,r)}if(null!==F[si]){const ae=F[si];for(let Te=0;Te<ae.length;Te++){const Fe=ae[Te];yf(Fe[It],Fe,M,r)}}}}}return r}function I_(e){const t=ut(),n=cn(),r=Dt();nt(r+1);const i=k_(n,r);if(e.dirty&&function Ps(e){return 4==(4&e[ln])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?yf(n,t,r,[]):S_(n,t,i,r);e.reset(o,Bb),e.notifyOnChanges()}return!0}return!1}function A_(e,t,n){const r=cn();r.firstCreatePass&&(N_(r,new M_(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),R_(r,ut(),t)}function O_(e,t,n,r){const i=cn();if(i.firstCreatePass){const o=gr();N_(i,new M_(t,n,r),o.index),function hw(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)}R_(i,ut(),n)}function P_(){return function fw(e,t){return e[Mt].queries[t].queryList}(ut(),Dt())}function R_(e,t,n){const r=new Xc(4==(4&n));(function v0(e,t,n,r){const i=zp(t);i.push(n),e.firstCreatePass&&Gp(e).push(r,i.length-1)})(e,t,r,r.destroy),null===t[Mt]&&(t[Mt]=new gf),t[Mt].queries.push(new mf(r))}function N_(e,t,n){null===e.queries&&(e.queries=new _f),e.queries.track(new vf(t,n))}function k_(e,t){return e.queries.getByIndex(t)}function F_(e,t){return eu(e,t)}function bf(e){return!!Gr(e)}const X_=new vr("Application Initializer");let xf=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i}),this.appInits=_e(X_,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const o of this.appInits){const a=o();if(Ud(a))r.push(a);else if(Tm(a)){const u=new Promise((_,M)=>{a.subscribe({complete:_,error:M})});r.push(u)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(o=>{this.reject(o)}),0===r.length&&i(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=be({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),ev=(()=>{var e;class t{log(r){console.log(r)}warn(r){console.warn(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=be({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const iu=new vr("LocaleId",{providedIn:"root",factory:()=>_e(iu,Ft.Optional|Ft.SkipSelf)||function Nw(){return typeof $localize<"u"&&$localize.locale||Ja}()}),kw=new vr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let tv=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new I.X(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=be({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class Lw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Bw=(()=>{var e;class t{compileModuleSync(r){return new ff(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const i=this.compileModuleSync(r),a=Ls(Gr(r).declarations).reduce((u,_)=>{const M=fn(_);return M&&u.push(new Al(M)),u},[]);return new Lw(i,a)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=be({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const ov=new vr(""),sv=new vr("");let Sf,ix=(()=>{var e;class t{constructor(r,i,o){this._ngZone=r,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Sf||(function ox(e){Sf=e}(o),o.addToWindow(i)),this._watchAngularEvents(),r.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:()=>{Ii.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(r)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,i,o){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==a),r(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:r,timeoutId:a,updateCb:o})}whenStable(r,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,i,o){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(P(Ii),P(av),P(sv))},e.\u0275prov=be({token:e,factory:e.\u0275fac}),t})(),av=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,i){this._applications.set(r,i)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,i=!0){return Sf?.findTestabilityInTree(this,r,i)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=be({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Xs=null;const lv=new vr("AllowMultipleToken"),If=new vr("PlatformDestroyListeners"),Af=new vr("appBootstrapListener");class lx{constructor(t,n){this.name=t,this.token=n}}function dv(e,t,n=[]){const r=`Platform: ${t}`,i=new vr(r);return(o=[])=>{let a=Of();if(!a||a.injector.get(lv,!1)){const u=[...n,...o,{provide:i,useValue:!0}];e?e(u):function cx(e){if(Xs&&!Xs.get(lv,!1))throw new W(400,!1);(function cv(){!function Co(e){qo=e}(()=>{throw new W(600,!1)})})(),Xs=e;const t=e.get(hv);(function uv(e){e.get(Xh,null)?.forEach(n=>n())})(e)}(function fv(e=[],t){return os.create({name:t,providers:[{provide:Yu,useValue:"platform"},{provide:If,useValue:new Set([()=>Xs=null])},...e]})}(u,r))}return function dx(e){const t=Of();if(!t)throw new W(401,!1);return t}()}}function Of(){return Xs?.get(hv)??null}let hv=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,i){const o=function fx(e="zone.js",t){return"noop"===e?new Xb:"zone.js"===e?new Ii(t):e}(i?.ngZone,function pv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const a=function SC(e,t,n){return new df(e,t,n)}(r.moduleType,this.injector,function yv(e){return[{provide:Ii,useFactory:e},{provide:El,multi:!0,useFactory:()=>{const t=_e(px,{optional:!0});return()=>t.initialize()}},{provide:vv,useFactory:hx},{provide:_p,useFactory:vp}]}(()=>o)),u=a.injector.get(Js,null);return o.runOutsideAngular(()=>{const _=o.onError.subscribe({next:M=>{u.handleError(M)}});a.onDestroy(()=>{su(this._modules,a),_.unsubscribe()})}),function mv(e,t,n){try{const r=n();return Ud(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const _=a.injector.get(xf);return _.runInitializers(),_.donePromise.then(()=>(function Dg(e){Ot(e,"Expected localeId to be defined"),"string"==typeof e&&(Eg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(iu,Ja)||Ja),this._moduleDoBootstrap(a),a))})})}bootstrapModule(r,i=[]){const o=gv({},i);return function sx(e,t,n){const r=new ff(n);return Promise.resolve(r)}(0,0,r).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(r){const i=r.injector.get(el);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!r.instance.ngDoBootstrap)throw new W(-403,!1);r.instance.ngDoBootstrap(i)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new W(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const r=this._injector.get(If,null);r&&(r.forEach(i=>i()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(P(os))},e.\u0275prov=be({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function gv(e,t){return Array.isArray(t)?t.reduce(gv,e):{...e,...t}}let el=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_e(vv),this.zoneIsStable=_e(_p),this.componentTypes=[],this.components=[],this.isStable=_e(tv).hasPendingTasks.pipe((0,re.w)(r=>r?(0,K.of)(!1):this.zoneIsStable),(0,te.x)(),(0,Y.B)()),this._injector=_e(_s)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,i){const o=r instanceof rp;if(!this._injector.get(xf).done)throw!o&&Dr(r),new W(405,!1);let u;u=o?r:this._injector.get(wl).resolveComponentFactory(r),this.componentTypes.push(u.componentType);const _=function ax(e){return e.isBoundToModule}(u)?void 0:this._injector.get(ma),F=u.create(os.NULL,[],i||u.selector,_),ae=F.location.nativeElement,Te=F.injector.get(ov,null);return Te?.registerApplication(ae),F.onDestroy(()=>{this.detachView(F.hostView),su(this.components,F),Te?.unregisterApplication(ae)}),this._loadComponent(F),F}tick(){if(this._runningTick)throw new W(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){const i=r;su(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const i=this._injector.get(Af,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>su(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new W(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=be({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function su(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const vv=new vr("",{providedIn:"root",factory:()=>_e(Js).handleError.bind(void 0)});function hx(){const e=_e(Ii),t=_e(Js);return n=>e.runOutsideAngular(()=>t.handleError(n))}let px=(()=>{var e;class t{constructor(){this.zone=_e(Ii),this.applicationRef=_e(el)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=be({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function gx(){return!1}function _x(){}let vx=(()=>{class t{}return t.__NG_ELEMENT_ID__=yx,t})();function yx(e){return function bx(e,t,n){if(fi(e)&&!n){const r=bi(e.index,t);return new Il(r,r)}return 47&e.type?new Il(t[Pe],t):null}(gr(),ut(),16==(16&e))}class Cv{constructor(){}supports(t){return Lc(t)}create(t){return new Tx(t)}}const xx=(e,t)=>t;class Tx{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||xx}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 a=!r||n&&n.currentIndex<xv(r,i,o)?n:r,u=xv(a,i,o),_=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{o||(o=[]);const M=u-i,F=_-i;if(M!=F){for(let Te=0;Te<M;Te++){const Fe=Te<o.length?o[Te]:o[Te]=0,ct=Fe+Te;F<=ct&&ct<M&&(o[Te]=Fe+1)}o[a.previousIndex]=F-M}}u!==_&&t(a,u,_)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Lc(t))throw new W(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let u=0;u<this.length;u++)o=t[u],a=this._trackByFn(u,o),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,o,a,u)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,a,u),r=!0),n=n._next}else i=0,function uE(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,u=>{a=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,u,a,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,a,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let 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 Mx(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 wv),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 wv),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 Mx{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 Sx{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 wv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Sx,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 xv(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 Tv{constructor(){}supports(t){return t instanceof Map||Id(t)}create(){return new Ix}}class Ix{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||Id(t)))throw new W(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,a=i._next;return o&&(o._next=a),a&&(a._prev=o),i._next=null,i._prev=null,i}const r=new Ax(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 Ax{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 Mv(){return new Ff([new Cv])}let Ff=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,i){if(null!=i){const o=i.factories.slice();r=r.concat(o)}return new t(r)}static extend(r){return{provide:t,useFactory:i=>t.create(r,i||Mv()),deps:[[t,new rc,new nc]]}}find(r){const i=this.factories.find(o=>o.supports(r));if(null!=i)return i;throw new W(901,!1)}}return(e=t).\u0275prov=be({token:e,providedIn:"root",factory:Mv}),t})();function Sv(){return new Lf([new Tv])}let Lf=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,i){if(i){const o=i.factories.slice();r=r.concat(o)}return new t(r)}static extend(r){return{provide:t,useFactory:i=>t.create(r,i||Sv()),deps:[[t,new rc,new nc]]}}find(r){const i=this.factories.find(o=>o.supports(r));if(i)return i;throw new W(901,!1)}}return(e=t).\u0275prov=be({token:e,providedIn:"root",factory:Sv}),t})();const Rx=dv(null,"core",[]);let Nx=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(P(el))},e.\u0275mod=Pi({type:e}),e.\u0275inj=q({}),t})();function Gx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Wx(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function Yx(e){const t=fn(e);if(!t)return null;const n=new Al(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},3680:(mt,Ce,v)=>{v.d(Ce,{yN:()=>W,mZ:()=>V,_A:()=>Ue,rD:()=>fe,sG:()=>We,Ad:()=>xn,K7:()=>an,HF:()=>yn,Y2:()=>zt,BQ:()=>ge,XK:()=>Ze,ey:()=>Ke,Ng:()=>ze,wG:()=>sn,Fq:()=>N,si:()=>en,CB:()=>wt,jH:()=>Et,pj:()=>At,Kr:()=>Rt,Id:()=>pt,FD:()=>$t,dB:()=>vn,sb:()=>Wt});var s=v(5879),m=v(4191),z=v(9388),I=v(6814),K=v(2831),Y=v(2495),re=v(5592),te=v(8645),U=v(6028);const Ae=["text"];function Ge(O,D){if(1&O&&s._UZ(0,"mat-pseudo-checkbox",6),2&O){const k=s.oxw();s.Q6J("disabled",k.disabled)("state",k.selected?"checked":"unchecked")}}function xe(O,D){if(1&O&&s._UZ(0,"mat-pseudo-checkbox",7),2&O){const k=s.oxw();s.Q6J("disabled",k.disabled)}}function Ye(O,D){if(1&O&&(s.TgZ(0,"span",8),s._uU(1),s.qZA()),2&O){const k=s.oxw();s.xp6(1),s.hij("(",k.group.label,")")}}const He=[[["mat-icon"]],"*"],dt=["mat-icon","*"];let W=(()=>{var O;class D{}return(O=D).STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",O.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",O.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",O.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",D})(),V=(()=>{var O;class D{}return(O=D).COMPLEX="375ms",O.ENTERING="225ms",O.EXITING="195ms",D})();const ce=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function ie(){return!0}});let ge=(()=>{var O;class D{constructor(R,P,$){this._sanityChecks=P,this._document=$,this._hasDoneGlobalChecks=!1,R._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(R){return!(0,K.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[R])}}return(O=D).\u0275fac=function(R){return new(R||O)(s.LFG(m.qm),s.LFG(ce,8),s.LFG(I.K0))},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[z.vT,z.vT]}),D})();function pt(O){return class extends O{get disabled(){return this._disabled}set disabled(D){this._disabled=(0,Y.Ig)(D)}constructor(...D){super(...D),this._disabled=!1}}}function At(O,D){return class extends O{get color(){return this._color}set color(k){const R=k||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(...k){super(...k),this.defaultColor=D,this.color=D}}}function Rt(O){return class extends O{get disableRipple(){return this._disableRipple}set disableRipple(D){this._disableRipple=(0,Y.Ig)(D)}constructor(...D){super(...D),this._disableRipple=!1}}}function Wt(O,D=0){return class extends O{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(k){this._tabIndex=null!=k?(0,Y.su)(k):this.defaultTabIndex}constructor(...k){super(...k),this._tabIndex=D,this.defaultTabIndex=D}}}function $t(O){return class extends O{updateErrorState(){const D=this.errorState,$=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);$!==D&&(this.errorState=$,this.stateChanges.next())}constructor(...D){super(...D),this.errorState=!1}}}function vn(O){return class extends O{constructor(...D){super(...D),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new re.y(k=>{this._isInitialized?this._notifySubscriber(k):this._pendingSubscribers.push(k)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(D){D.next(),D.complete()}}}const xn=new s.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Be(){return(0,s.f3M)(s.soG)}});class Ue{constructor(){this._localeChanges=new te.x,this.localeChanges=this._localeChanges}getValidDateOrNull(D){return this.isDateInstance(D)&&this.isValid(D)?D:null}deserialize(D){return null==D||this.isDateInstance(D)&&this.isValid(D)?D:this.invalid()}setLocale(D){this.locale=D,this._localeChanges.next()}compareDate(D,k){return this.getYear(D)-this.getYear(k)||this.getMonth(D)-this.getMonth(k)||this.getDate(D)-this.getDate(k)}sameDate(D,k){if(D&&k){let R=this.isValid(D),P=this.isValid(k);return R&&P?!this.compareDate(D,k):R==P}return D==k}clampDate(D,k,R){return k&&this.compareDate(D,k)<0?k:R&&this.compareDate(D,R)>0?R:D}}const We=new s.OlP("mat-date-formats"),Qe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function at(O,D){const k=Array(O);for(let R=0;R<O;R++)k[R]=D(R);return k}let ht=(()=>{var O;class D extends Ue{constructor(R,P){super(),this.useUtcForDisplay=!1,super.setLocale(R)}getYear(R){return R.getFullYear()}getMonth(R){return R.getMonth()}getDate(R){return R.getDate()}getDayOfWeek(R){return R.getDay()}getMonthNames(R){const P=new Intl.DateTimeFormat(this.locale,{month:R,timeZone:"utc"});return at(12,$=>this._format(P,new Date(2017,$,1)))}getDateNames(){const R=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return at(31,P=>this._format(R,new Date(2017,0,P+1)))}getDayOfWeekNames(R){const P=new Intl.DateTimeFormat(this.locale,{weekday:R,timeZone:"utc"});return at(7,$=>this._format(P,new Date(2017,0,$+1)))}getYearName(R){const P=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(P,R)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(R){return this.getDate(this._createDateWithOverflow(this.getYear(R),this.getMonth(R)+1,0))}clone(R){return new Date(R.getTime())}createDate(R,P,$){let _e=this._createDateWithOverflow(R,P,$);return _e.getMonth(),_e}today(){return new Date}parse(R,P){return"number"==typeof R?new Date(R):R?new Date(Date.parse(R)):null}format(R,P){if(!this.isValid(R))throw Error("NativeDateAdapter: Cannot format invalid date.");const $=new Intl.DateTimeFormat(this.locale,{...P,timeZone:"utc"});return this._format($,R)}addCalendarYears(R,P){return this.addCalendarMonths(R,12*P)}addCalendarMonths(R,P){let $=this._createDateWithOverflow(this.getYear(R),this.getMonth(R)+P,this.getDate(R));return this.getMonth($)!=((this.getMonth(R)+P)%12+12)%12&&($=this._createDateWithOverflow(this.getYear($),this.getMonth($),0)),$}addCalendarDays(R,P){return this._createDateWithOverflow(this.getYear(R),this.getMonth(R),this.getDate(R)+P)}toIso8601(R){return[R.getUTCFullYear(),this._2digit(R.getUTCMonth()+1),this._2digit(R.getUTCDate())].join("-")}deserialize(R){if("string"==typeof R){if(!R)return null;if(Qe.test(R)){let P=new Date(R);if(this.isValid(P))return P}}return super.deserialize(R)}isDateInstance(R){return R instanceof Date}isValid(R){return!isNaN(R.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(R,P,$){const _e=new Date;return _e.setFullYear(R,P,$),_e.setHours(0,0,0,0),_e}_2digit(R){return("00"+R).slice(-2)}_format(R,P){const $=new Date;return $.setUTCFullYear(P.getFullYear(),P.getMonth(),P.getDate()),$.setUTCHours(P.getHours(),P.getMinutes(),P.getSeconds(),P.getMilliseconds()),R.format($)}}return(O=D).\u0275fac=function(R){return new(R||O)(s.LFG(xn,8),s.LFG(K.t4))},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac}),D})();const Ot={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 ye=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({providers:[{provide:Ue,useClass:ht}]}),D})(),Ze=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({providers:[{provide:We,useValue:Ot}],imports:[ye]}),D})(),fe=(()=>{var O;class D{isErrorState(R,P){return!!(R&&R.invalid&&(R.touched||P&&P.submitted))}}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),D})();class et{constructor(D,k,R,P=!1){this._renderer=D,this.element=k,this.config=R,this._animationForciblyDisabledThroughCss=P,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const St=(0,K.i$)({passive:!0,capture:!0});class kt{constructor(){this._events=new Map,this._delegateEventHandler=D=>{const k=(0,K.sA)(D);k&&this._events.get(D.type)?.forEach((R,P)=>{(P===k||P.contains(k))&&R.forEach($=>$.handleEvent(D))})}}addHandler(D,k,R,P){const $=this._events.get(k);if($){const _e=$.get(R);_e?_e.add(P):$.set(R,new Set([P]))}else this._events.set(k,new Map([[R,new Set([P])]])),D.runOutsideAngular(()=>{document.addEventListener(k,this._delegateEventHandler,St)})}removeHandler(D,k,R){const P=this._events.get(D);if(!P)return;const $=P.get(k);$&&($.delete(R),0===$.size&&P.delete(k),0===P.size&&(this._events.delete(D),document.removeEventListener(D,this._delegateEventHandler,St)))}}const rn={enterDuration:225,exitDuration:150},Gn=(0,K.i$)({passive:!0,capture:!0}),Un=["mousedown","touchstart"],Pn=["mouseup","mouseleave","touchend","touchcancel"];class Ft{constructor(D,k,R,P){this._target=D,this._ngZone=k,this._platform=P,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,P.isBrowser&&(this._containerElement=(0,Y.fI)(R))}fadeInRipple(D,k,R={}){const P=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),$={...rn,...R.animation};R.centered&&(D=P.left+P.width/2,k=P.top+P.height/2);const _e=R.radius||function Ut(O,D,k){const R=Math.max(Math.abs(O-k.left),Math.abs(O-k.right)),P=Math.max(Math.abs(D-k.top),Math.abs(D-k.bottom));return Math.sqrt(R*R+P*P)}(D,k,P),ne=D-P.left,le=k-P.top,Le=$.enterDuration,oe=document.createElement("div");oe.classList.add("mat-ripple-element"),oe.style.left=ne-_e+"px",oe.style.top=le-_e+"px",oe.style.height=2*_e+"px",oe.style.width=2*_e+"px",null!=R.color&&(oe.style.backgroundColor=R.color),oe.style.transitionDuration=`${Le}ms`,this._containerElement.appendChild(oe);const ee=window.getComputedStyle(oe),X=ee.transitionDuration,ue="none"===ee.transitionProperty||"0s"===X||"0s, 0s"===X||0===P.width&&0===P.height,we=new et(this,oe,R,ue);oe.style.transform="scale3d(1, 1, 1)",we.state=0,R.persistent||(this._mostRecentTransientRipple=we);let rt=null;return!ue&&(Le||$.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Je=()=>this._finishRippleTransition(we),xt=()=>this._destroyRipple(we);oe.addEventListener("transitionend",Je),oe.addEventListener("transitioncancel",xt),rt={onTransitionEnd:Je,onTransitionCancel:xt}}),this._activeRipples.set(we,rt),(ue||!Le)&&this._finishRippleTransition(we),we}fadeOutRipple(D){if(2===D.state||3===D.state)return;const k=D.element,R={...rn,...D.config.animation};k.style.transitionDuration=`${R.exitDuration}ms`,k.style.opacity="0",D.state=2,(D._animationForciblyDisabledThroughCss||!R.exitDuration)&&this._finishRippleTransition(D)}fadeOutAll(){this._getActiveRipples().forEach(D=>D.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(D=>{D.config.persistent||D.fadeOut()})}setupTriggerEvents(D){const k=(0,Y.fI)(D);!this._platform.isBrowser||!k||k===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=k,Un.forEach(R=>{Ft._eventManager.addHandler(this._ngZone,R,k,this)}))}handleEvent(D){"mousedown"===D.type?this._onMousedown(D):"touchstart"===D.type?this._onTouchStart(D):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Pn.forEach(k=>{this._triggerElement.addEventListener(k,this,Gn)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(D){0===D.state?this._startFadeOutTransition(D):2===D.state&&this._destroyRipple(D)}_startFadeOutTransition(D){const k=D===this._mostRecentTransientRipple,{persistent:R}=D.config;D.state=1,!R&&(!k||!this._isPointerDown)&&D.fadeOut()}_destroyRipple(D){const k=this._activeRipples.get(D)??null;this._activeRipples.delete(D),this._activeRipples.size||(this._containerRect=null),D===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),D.state=3,null!==k&&(D.element.removeEventListener("transitionend",k.onTransitionEnd),D.element.removeEventListener("transitioncancel",k.onTransitionCancel)),D.element.remove()}_onMousedown(D){const k=(0,m.X6)(D),R=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!k&&!R&&(this._isPointerDown=!0,this.fadeInRipple(D.clientX,D.clientY,this._target.rippleConfig))}_onTouchStart(D){if(!this._target.rippleDisabled&&!(0,m.yG)(D)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const k=D.changedTouches;if(k)for(let R=0;R<k.length;R++)this.fadeInRipple(k[R].clientX,k[R].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(D=>{!D.config.persistent&&(1===D.state||D.config.terminateOnPointerUp&&0===D.state)&&D.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const D=this._triggerElement;D&&(Un.forEach(k=>Ft._eventManager.removeHandler(k,D,this)),this._pointerUpEventsRegistered&&Pn.forEach(k=>D.removeEventListener(k,this,Gn)))}}Ft._eventManager=new kt;const zt=new s.OlP("mat-ripple-global-options");let sn=(()=>{var O;class D{get disabled(){return this._disabled}set disabled(R){R&&this.fadeOutAllNonPersistent(),this._disabled=R,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(R){this._trigger=R,this._setupTriggerEventsIfEnabled()}constructor(R,P,$,_e,ne){this._elementRef=R,this._animationMode=ne,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=_e||{},this._rippleRenderer=new Ft(this,P,R,$)}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(R,P=0,$){return"number"==typeof R?this._rippleRenderer.fadeInRipple(R,P,{...this.rippleConfig,...$}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...R})}}return(O=D).\u0275fac=function(R){return new(R||O)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(K.t4),s.Y36(zt,8),s.Y36(s.QbO,8))},O.\u0275dir=s.lG2({type:O,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(R,P){2&R&&s.ekj("mat-ripple-unbounded",P.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"]}),D})(),en=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[ge,ge]}),D})(),Sn=(()=>{var O;class D{constructor(R){this._animationMode=R,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return(O=D).\u0275fac=function(R){return new(R||O)(s.Y36(s.QbO,8))},O.\u0275cmp=s.Xpm({type:O,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(R,P){2&R&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===P.state)("mat-pseudo-checkbox-checked","checked"===P.state)("mat-pseudo-checkbox-disabled",P.disabled)("mat-pseudo-checkbox-minimal","minimal"===P.appearance)("mat-pseudo-checkbox-full","full"===P.appearance)("_mat-animation-noopable","NoopAnimations"===P._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(R,P){},styles:['.mat-pseudo-checkbox{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-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-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),D})(),dn=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[ge]}),D})();const yn=new s.OlP("MAT_OPTION_PARENT_COMPONENT"),an=new s.OlP("MatOptgroup");let Kn=0;class An{constructor(D,k=!1){this.source=D,this.isUserInput=k}}let dr=(()=>{var O;class D{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(R){this._disabled=(0,Y.Ig)(R)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(R,P,$,_e){this._element=R,this._changeDetectorRef=P,this._parent=$,this.group=_e,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Kn++,this.onSelectionChange=new s.vpe,this._stateChanges=new te.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(R=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),R&&this._emitSelectionChangeEvent())}deselect(R=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),R&&this._emitSelectionChangeEvent())}focus(R,P){const $=this._getHostElement();"function"==typeof $.focus&&$.focus(P)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(R){(R.keyCode===U.K5||R.keyCode===U.L_)&&!(0,U.Vb)(R)&&(this._selectViaInteraction(),R.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const R=this.viewValue;R!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=R)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(R=!1){this.onSelectionChange.emit(new An(this,R))}}return(O=D).\u0275fac=function(R){s.$Z()},O.\u0275dir=s.lG2({type:O,viewQuery:function(R,P){if(1&R&&s.Gf(Ae,7),2&R){let $;s.iGM($=s.CRH())&&(P._text=$.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),D})(),Ke=(()=>{var O;class D extends dr{constructor(R,P,$,_e){super(R,P,$,_e)}}return(O=D).\u0275fac=function(R){return new(R||O)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(yn,8),s.Y36(an,8))},O.\u0275cmp=s.Xpm({type:O,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(R,P){1&R&&s.NdJ("click",function(){return P._selectViaInteraction()})("keydown",function(_e){return P._handleKeydown(_e)}),2&R&&(s.Ikx("id",P.id),s.uIk("aria-selected",P.selected)("aria-disabled",P.disabled.toString()),s.ekj("mdc-list-item--selected",P.selected)("mat-mdc-option-multiple",P.multiple)("mat-mdc-option-active",P.active)("mdc-list-item--disabled",P.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:dt,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(R,P){1&R&&(s.F$t(He),s.YNc(0,Ge,1,2,"mat-pseudo-checkbox",0),s.Hsn(1),s.TgZ(2,"span",1,2),s.Hsn(4,1),s.qZA(),s.YNc(5,xe,1,1,"mat-pseudo-checkbox",3),s.YNc(6,Ye,2,1,"span",4),s._UZ(7,"div",5)),2&R&&(s.Q6J("ngIf",P.multiple),s.xp6(5),s.Q6J("ngIf",!P.multiple&&P.selected&&!P.hideSingleSelectionIndicator),s.xp6(1),s.Q6J("ngIf",P.group&&P.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",P._getHostElement())("matRippleDisabled",P.disabled||P.disableRipple))},dependencies:[sn,I.O5,Sn],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;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);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:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.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-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.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;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.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 .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),D})();function wt(O,D,k){if(k.length){let R=D.toArray(),P=k.toArray(),$=0;for(let _e=0;_e<O+1;_e++)R[_e].group&&R[_e].group===P[$]&&$++;return $}return 0}function Et(O,D,k,R){return O<k?O:O+D>k+R?Math.max(0,O-R+D):k}let ze=(()=>{var O;class D{}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275mod=s.oAB({type:O}),O.\u0275inj=s.cJS({imports:[en,I.ez,ge,dn]}),D})();const lt={capture:!0},Ht=["focus","click","mouseenter","touchstart"],tn="mat-ripple-loader-uninitialized",qn="mat-ripple-loader-class-name",me="mat-ripple-loader-centered",L="mat-ripple-loader-disabled";let N=(()=>{var O;class D{constructor(){this._document=(0,s.f3M)(I.K0,{optional:!0}),this._animationMode=(0,s.f3M)(s.QbO,{optional:!0}),this._globalRippleOptions=(0,s.f3M)(zt,{optional:!0}),this._platform=(0,s.f3M)(K.t4),this._ngZone=(0,s.f3M)(s.R0b),this._onInteraction=R=>{if(!(R.target instanceof HTMLElement))return;const $=R.target.closest(`[${tn}]`);$&&this.createRipple($)},this._ngZone.runOutsideAngular(()=>{for(const R of Ht)this._document?.addEventListener(R,this._onInteraction,lt)})}ngOnDestroy(){for(const R of Ht)this._document?.removeEventListener(R,this._onInteraction,lt)}configureRipple(R,P){R.setAttribute(tn,""),(P.className||!R.hasAttribute(qn))&&R.setAttribute(qn,P.className||""),P.centered&&R.setAttribute(me,""),P.disabled&&R.setAttribute(L,"")}getRipple(R){return R.matRipple?R.matRipple:this.createRipple(R)}setDisabled(R,P){const $=R.matRipple;$?$.disabled=P:P?R.setAttribute(L,""):R.removeAttribute(L)}createRipple(R){if(!this._document)return;R.querySelector(".mat-ripple")?.remove();const P=this._document.createElement("span");P.classList.add("mat-ripple",R.getAttribute(qn)),R.append(P);const $=new sn(new s.SBq(P),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return $._isInitialized=!0,$.trigger=R,$.centered=R.hasAttribute(me),$.disabled=R.hasAttribute(L),this.attachRipple(R,$),$}attachRipple(R,P){R.removeAttribute(tn),R.matRipple=P}}return(O=D).\u0275fac=function(R){return new(R||O)},O.\u0275prov=s.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),D})()},4170:(mt,Ce,v)=>{v.d(Ce,{G_:()=>yn,o2:()=>Fn,KE:()=>An,Eo:()=>sn,lN:()=>dr,hX:()=>Ze,qo:()=>et,R9:()=>kt});var s=v(5879),m=v(9388),z=v(2831),j=v(7394),I=v(8645),K=v(3019),Y=v(9773),re=v(5592),te=v(2181),U=v(7081);class he{constructor(wt){this._box=wt,this._destroyed=new I.x,this._resizeSubject=new I.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Et=>this._resizeSubject.next(Et)))}observe(wt){return this._elementObservables.has(wt)||this._elementObservables.set(wt,new re.y(Et=>{const ze=this._resizeSubject.subscribe(Et);return this._resizeObserver?.observe(wt,{box:this._box}),()=>{this._resizeObserver?.unobserve(wt),ze.unsubscribe(),this._elementObservables.delete(wt)}}).pipe((0,te.h)(Et=>Et.some(ze=>ze.target===wt)),(0,U.d)({bufferSize:1,refCount:!0}),(0,Y.R)(this._destroyed))),this._elementObservables.get(wt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Me=(()=>{var Ke;class wt{constructor(){this._observers=new Map,this._ngZone=(0,s.f3M)(s.R0b)}ngOnDestroy(){for(const[,ze]of this._observers)ze.destroy();this._observers.clear()}observe(ze,lt){const Ht=lt?.box||"content-box";return this._observers.has(Ht)||this._observers.set(Ht,new he(Ht)),this._observers.get(Ht).observe(ze)}}return(Ke=wt).\u0275fac=function(ze){return new(ze||Ke)},Ke.\u0275prov=s.Yz7({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),wt})();var Ae=v(2495),Ge=v(6825),xe=v(6814),Ye=v(7131),He=v(3680);const dt=["notch"],Ne=["matFormFieldNotchedOutline",""],W=["*"],V=["textField"],ie=["iconPrefixContainer"],ce=["textPrefixContainer"];function ge(Ke,wt){1&Ke&&s._UZ(0,"span",19)}function Se(Ke,wt){if(1&Ke&&(s.TgZ(0,"label",17),s.Hsn(1,1),s.YNc(2,ge,1,0,"span",18),s.qZA()),2&Ke){const Et=s.oxw(2);s.Q6J("floating",Et._shouldLabelFloat())("monitorResize",Et._hasOutline())("id",Et._labelId),s.uIk("for",Et._control.id),s.xp6(2),s.Q6J("ngIf",!Et.hideRequiredMarker&&Et._control.required)}}function Ve(Ke,wt){if(1&Ke&&s.YNc(0,Se,3,5,"label",16),2&Ke){const Et=s.oxw();s.Q6J("ngIf",Et._hasFloatingLabel())}}function it(Ke,wt){1&Ke&&s._UZ(0,"div",20)}function pt(Ke,wt){}function At(Ke,wt){if(1&Ke&&s.YNc(0,pt,0,0,"ng-template",22),2&Ke){s.oxw(2);const Et=s.MAs(1);s.Q6J("ngTemplateOutlet",Et)}}function Rt(Ke,wt){if(1&Ke&&(s.TgZ(0,"div",21),s.YNc(1,At,1,1,"ng-template",9),s.qZA()),2&Ke){const Et=s.oxw();s.Q6J("matFormFieldNotchedOutlineOpen",Et._shouldLabelFloat()),s.xp6(1),s.Q6J("ngIf",!Et._forceDisplayInfixLabel())}}function Wt(Ke,wt){1&Ke&&(s.TgZ(0,"div",23,24),s.Hsn(2,2),s.qZA())}function $t(Ke,wt){1&Ke&&(s.TgZ(0,"div",25,26),s.Hsn(2,3),s.qZA())}function vn(Ke,wt){}function xn(Ke,wt){if(1&Ke&&s.YNc(0,vn,0,0,"ng-template",22),2&Ke){s.oxw();const Et=s.MAs(1);s.Q6J("ngTemplateOutlet",Et)}}function Be(Ke,wt){1&Ke&&(s.TgZ(0,"div",27),s.Hsn(1,4),s.qZA())}function Ue(Ke,wt){1&Ke&&(s.TgZ(0,"div",28),s.Hsn(1,5),s.qZA())}function We(Ke,wt){1&Ke&&s._UZ(0,"div",29)}function Qe(Ke,wt){if(1&Ke&&(s.TgZ(0,"div",30),s.Hsn(1,6),s.qZA()),2&Ke){const Et=s.oxw();s.Q6J("@transitionMessages",Et._subscriptAnimationState)}}function at(Ke,wt){if(1&Ke&&(s.TgZ(0,"mat-hint",34),s._uU(1),s.qZA()),2&Ke){const Et=s.oxw(2);s.Q6J("id",Et._hintLabelId),s.xp6(1),s.Oqu(Et.hintLabel)}}function ht(Ke,wt){if(1&Ke&&(s.TgZ(0,"div",31),s.YNc(1,at,2,2,"mat-hint",32),s.Hsn(2,7),s._UZ(3,"div",33),s.Hsn(4,8),s.qZA()),2&Ke){const Et=s.oxw();s.Q6J("@transitionMessages",Et._subscriptAnimationState),s.xp6(1),s.Q6J("ngIf",Et.hintLabel)}}const Ot=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ye=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ze=(()=>{var Ke;class wt{}return(Ke=wt).\u0275fac=function(ze){return new(ze||Ke)},Ke.\u0275dir=s.lG2({type:Ke,selectors:[["mat-label"]]}),wt})();const fe=new s.OlP("MatError");let ft=0,q=(()=>{var Ke;class wt{constructor(){this.align="start",this.id="mat-mdc-hint-"+ft++}}return(Ke=wt).\u0275fac=function(ze){return new(ze||Ke)},Ke.\u0275dir=s.lG2({type:Ke,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(ze,lt){2&ze&&(s.Ikx("id",lt.id),s.uIk("align",null),s.ekj("mat-mdc-form-field-hint-end","end"===lt.align))},inputs:{align:"align",id:"id"}}),wt})();const tt=new s.OlP("MatPrefix");let et=(()=>{var Ke;class wt{constructor(){this._isText=!1}set _isTextSelector(ze){this._isText=!0}}return(Ke=wt).\u0275fac=function(ze){return new(ze||Ke)},Ke.\u0275dir=s.lG2({type:Ke,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[s._Bn([{provide:tt,useExisting:Ke}])]}),wt})();const St=new s.OlP("MatSuffix");let kt=(()=>{var Ke;class wt{constructor(){this._isText=!1}set _isTextSelector(ze){this._isText=!0}}return(Ke=wt).\u0275fac=function(ze){return new(ze||Ke)},Ke.\u0275dir=s.lG2({type:Ke,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[s._Bn([{provide:St,useExisting:Ke}])]}),wt})();const rn=new s.OlP("FloatingLabelParent");let bt=(()=>{var Ke;class wt{get floating(){return this._floating}set floating(ze){this._floating=ze,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(ze){this._monitorResize=ze,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(ze){this._elementRef=ze,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,s.f3M)(Me),this._ngZone=(0,s.f3M)(s.R0b),this._parent=(0,s.f3M)(rn),this._resizeSubscription=new j.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Gn(Ke){if(null!==Ke.offsetParent)return Ke.scrollWidth;const Et=Ke.cloneNode(!0);Et.style.setProperty("position","absolute"),Et.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Et);const ze=Et.scrollWidth;return Et.remove(),ze}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}}return(Ke=wt).\u0275fac=function(ze){return new(ze||Ke)(s.Y36(s.SBq))},Ke.\u0275dir=s.lG2({type:Ke,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(ze,lt){2&ze&&s.ekj("mdc-floating-label--float-above",lt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),wt})();const Un="mdc-line-ripple--active",Pn="mdc-line-ripple--deactivating";let Ft=(()=>{var Ke;class wt{constructor(ze,lt){this._elementRef=ze,this._handleTransitionEnd=Ht=>{const tn=this._elementRef.nativeElement.classList,qn=tn.contains(Pn);"opacity"===Ht.propertyName&&qn&&tn.remove(Un,Pn)},lt.runOutsideAngular(()=>{ze.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const ze=this._elementRef.nativeElement.classList;ze.remove(Pn),ze.add(Un)}deactivate(){this._elementRef.nativeElement.classList.add(Pn)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return(Ke=wt).\u0275fac=function(ze){return new(ze||Ke)(s.Y36(s.SBq),s.Y36(s.R0b))},Ke.\u0275dir=s.lG2({type:Ke,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),wt})(),Ut=(()=>{var Ke;class wt{constructor(ze,lt){this._elementRef=ze,this._ngZone=lt,this.open=!1}ngAfterViewInit(){const ze=this._elementRef.nativeElement.querySelector(".mdc-floating-label");ze?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(ze.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>ze.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(ze){this._notch.nativeElement.style.width=this.open&&ze?`calc(${ze}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}}return(Ke=wt).\u0275fac=function(ze){return new(ze||Ke)(s.Y36(s.SBq),s.Y36(s.R0b))},Ke.\u0275cmp=s.Xpm({type:Ke,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(ze,lt){if(1&ze&&s.Gf(dt,5),2&ze){let Ht;s.iGM(Ht=s.CRH())&&(lt._notch=Ht.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(ze,lt){2&ze&&s.ekj("mdc-notched-outline--notched",lt.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:Ne,ngContentSelectors:W,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(ze,lt){1&ze&&(s.F$t(),s._UZ(0,"div",0),s.TgZ(1,"div",1,2),s.Hsn(3),s.qZA(),s._UZ(4,"div",3))},encapsulation:2,changeDetection:0}),wt})();const zt={transitionMessages:(0,Ge.X$)("transitionMessages",[(0,Ge.SB)("enter",(0,Ge.oB)({opacity:1,transform:"translateY(0%)"})),(0,Ge.eR)("void => enter",[(0,Ge.oB)({opacity:0,transform:"translateY(-5px)"}),(0,Ge.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let sn=(()=>{var Ke;class wt{}return(Ke=wt).\u0275fac=function(ze){return new(ze||Ke)},Ke.\u0275dir=s.lG2({type:Ke}),wt})();const yn=new s.OlP("MatFormField"),Fn=new s.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Zt=0,An=(()=>{var Ke;class wt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(ze){this._hideRequiredMarker=(0,Ae.Ig)(ze)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(ze){ze!==this._floatLabel&&(this._floatLabel=ze,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(ze){const lt=this._appearance;this._appearance=ze||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==lt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(ze){this._subscriptSizing=ze||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(ze){this._hintLabel=ze,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(ze){this._explicitFormFieldControl=ze}constructor(ze,lt,Ht,tn,qn,me,L,N){this._elementRef=ze,this._changeDetectorRef=lt,this._ngZone=Ht,this._dir=tn,this._platform=qn,this._defaults=me,this._animationMode=L,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-"+Zt++,this._hintLabelId="mat-mdc-hint-"+Zt++,this._subscriptAnimationState="",this._destroyed=new I.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,me&&(me.appearance&&(this.appearance=me.appearance),this._hideRequiredMarker=!!me?.hideRequiredMarker,me.color&&(this.color=me.color))}ngAfterViewInit(){this._updateFocusState(),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 ze=this._control;ze.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${ze.controlType}`),ze.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),ze.ngControl&&ze.ngControl.valueChanges&&ze.ngControl.valueChanges.pipe((0,Y.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(ze=>!ze._isText),this._hasTextPrefix=!!this._prefixChildren.find(ze=>ze._isText),this._hasIconSuffix=!!this._suffixChildren.find(ze=>!ze._isText),this._hasTextSuffix=!!this._suffixChildren.find(ze=>ze._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,K.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,Y.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,Y.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(ze){const lt=this._control?this._control.ngControl:null;return lt&&lt[ze]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let ze=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&ze.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const lt=this._hintChildren?this._hintChildren.find(tn=>"start"===tn.align):null,Ht=this._hintChildren?this._hintChildren.find(tn=>"end"===tn.align):null;lt?ze.push(lt.id):this._hintLabel&&ze.push(this._hintLabelId),Ht&&ze.push(Ht.id)}else this._errorChildren&&ze.push(...this._errorChildren.map(lt=>lt.id));this._control.setDescribedByIds(ze)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const ze=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(ze.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const lt=this._iconPrefixContainer?.nativeElement,Ht=this._textPrefixContainer?.nativeElement,tn=lt?.getBoundingClientRect().width??0,qn=Ht?.getBoundingClientRect().width??0;ze.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${tn+qn}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const ze=this._elementRef.nativeElement;if(ze.getRootNode){const lt=ze.getRootNode();return lt&&lt!==ze}return document.documentElement.contains(ze)}}return(Ke=wt).\u0275fac=function(ze){return new(ze||Ke)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(m.Is),s.Y36(z.t4),s.Y36(Fn,8),s.Y36(s.QbO,8),s.Y36(xe.K0))},Ke.\u0275cmp=s.Xpm({type:Ke,selectors:[["mat-form-field"]],contentQueries:function(ze,lt,Ht){if(1&ze&&(s.Suo(Ht,Ze,5),s.Suo(Ht,Ze,7),s.Suo(Ht,sn,5),s.Suo(Ht,tt,5),s.Suo(Ht,St,5),s.Suo(Ht,fe,5),s.Suo(Ht,q,5)),2&ze){let tn;s.iGM(tn=s.CRH())&&(lt._labelChildNonStatic=tn.first),s.iGM(tn=s.CRH())&&(lt._labelChildStatic=tn.first),s.iGM(tn=s.CRH())&&(lt._formFieldControl=tn.first),s.iGM(tn=s.CRH())&&(lt._prefixChildren=tn),s.iGM(tn=s.CRH())&&(lt._suffixChildren=tn),s.iGM(tn=s.CRH())&&(lt._errorChildren=tn),s.iGM(tn=s.CRH())&&(lt._hintChildren=tn)}},viewQuery:function(ze,lt){if(1&ze&&(s.Gf(V,5),s.Gf(ie,5),s.Gf(ce,5),s.Gf(bt,5),s.Gf(Ut,5),s.Gf(Ft,5)),2&ze){let Ht;s.iGM(Ht=s.CRH())&&(lt._textField=Ht.first),s.iGM(Ht=s.CRH())&&(lt._iconPrefixContainer=Ht.first),s.iGM(Ht=s.CRH())&&(lt._textPrefixContainer=Ht.first),s.iGM(Ht=s.CRH())&&(lt._floatingLabel=Ht.first),s.iGM(Ht=s.CRH())&&(lt._notchedOutline=Ht.first),s.iGM(Ht=s.CRH())&&(lt._lineRipple=Ht.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(ze,lt){2&ze&&s.ekj("mat-mdc-form-field-label-always-float",lt._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",lt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",lt._hasIconSuffix)("mat-form-field-invalid",lt._control.errorState)("mat-form-field-disabled",lt._control.disabled)("mat-form-field-autofilled",lt._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===lt._animationMode)("mat-form-field-appearance-fill","fill"==lt.appearance)("mat-form-field-appearance-outline","outline"==lt.appearance)("mat-form-field-hide-placeholder",lt._hasFloatingLabel()&&!lt._shouldLabelFloat())("mat-focused",lt._control.focused)("mat-primary","accent"!==lt.color&&"warn"!==lt.color)("mat-accent","accent"===lt.color)("mat-warn","warn"===lt.color)("ng-untouched",lt._shouldForward("untouched"))("ng-touched",lt._shouldForward("touched"))("ng-pristine",lt._shouldForward("pristine"))("ng-dirty",lt._shouldForward("dirty"))("ng-valid",lt._shouldForward("valid"))("ng-invalid",lt._shouldForward("invalid"))("ng-pending",lt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[s._Bn([{provide:yn,useExisting:Ke},{provide:rn,useExisting:Ke}])],ngContentSelectors:ye,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",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","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["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"],[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(ze,lt){1&ze&&(s.F$t(Ot),s.YNc(0,Ve,1,1,"ng-template",null,0,s.W1O),s.TgZ(2,"div",1,2),s.NdJ("click",function(tn){return lt._control.onContainerClick(tn)}),s.YNc(4,it,1,0,"div",3),s.TgZ(5,"div",4),s.YNc(6,Rt,2,2,"div",5),s.YNc(7,Wt,3,0,"div",6),s.YNc(8,$t,3,0,"div",7),s.TgZ(9,"div",8),s.YNc(10,xn,1,1,"ng-template",9),s.Hsn(11),s.qZA(),s.YNc(12,Be,2,0,"div",10),s.YNc(13,Ue,2,0,"div",11),s.qZA(),s.YNc(14,We,1,0,"div",12),s.qZA(),s.TgZ(15,"div",13),s.YNc(16,Qe,2,1,"div",14),s.YNc(17,ht,5,2,"div",15),s.qZA()),2&ze&&(s.xp6(2),s.ekj("mdc-text-field--filled",!lt._hasOutline())("mdc-text-field--outlined",lt._hasOutline())("mdc-text-field--no-label",!lt._hasFloatingLabel())("mdc-text-field--disabled",lt._control.disabled)("mdc-text-field--invalid",lt._control.errorState),s.xp6(2),s.Q6J("ngIf",!lt._hasOutline()&&!lt._control.disabled),s.xp6(2),s.Q6J("ngIf",lt._hasOutline()),s.xp6(1),s.Q6J("ngIf",lt._hasIconPrefix),s.xp6(1),s.Q6J("ngIf",lt._hasTextPrefix),s.xp6(2),s.Q6J("ngIf",!lt._hasOutline()||lt._forceDisplayInfixLabel()),s.xp6(2),s.Q6J("ngIf",lt._hasTextSuffix),s.xp6(1),s.Q6J("ngIf",lt._hasIconSuffix),s.xp6(1),s.Q6J("ngIf",!lt._hasOutline()),s.xp6(1),s.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===lt.subscriptSizing),s.Q6J("ngSwitch",lt._getDisplayedMessages()),s.xp6(1),s.Q6J("ngSwitchCase","error"),s.xp6(1),s.Q6J("ngSwitchCase","hint"))},dependencies:[xe.O5,xe.tP,xe.RF,xe.n9,q,bt,Ut,Ft],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius: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:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;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:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius: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:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius: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:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;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-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%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.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{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}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.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}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[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-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);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-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);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-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.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-outlined-text-field-container-shape))}}[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-outlined-text-field-container-shape))}}.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-outlined-text-field-container-shape) + 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-outlined-text-field-container-shape) + 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:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.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{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;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-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.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-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.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;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.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;position:relative;z-index:1}.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(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 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(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 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(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 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(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 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(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 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)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[zt.transitionMessages]},changeDetection:0}),wt})(),dr=(()=>{var Ke;class wt{}return(Ke=wt).\u0275fac=function(ze){return new(ze||Ke)},Ke.\u0275mod=s.oAB({type:Ke}),Ke.\u0275inj=s.cJS({imports:[He.BQ,xe.ez,Ye.Q8,He.BQ]}),wt})()},6593:(mt,Ce,v)=>{v.d(Ce,{Dx:()=>Gn,H7:()=>An,b2:()=>et,q6:()=>be,se:()=>Se});var s=v(5879),m=v(6814);class z extends m.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class j extends z{static makeCurrent(){(0,m.HT)(new j)}onAndCancel(N,O,D){return N.addEventListener(O,D),()=>{N.removeEventListener(O,D)}}dispatchEvent(N,O){N.dispatchEvent(O)}remove(N){N.parentNode&&N.parentNode.removeChild(N)}createElement(N,O){return(O=O||this.getDefaultDocument()).createElement(N)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(N){return N.nodeType===Node.ELEMENT_NODE}isShadowRoot(N){return N instanceof DocumentFragment}getGlobalEventTarget(N,O){return"window"===O?window:"document"===O?N:"body"===O?N.body:null}getBaseHref(N){const O=function K(){return I=I||document.querySelector("base"),I?I.getAttribute("href"):null}();return null==O?null:function re(L){Y=Y||document.createElement("a"),Y.setAttribute("href",L);const N=Y.pathname;return"/"===N.charAt(0)?N:`/${N}`}(O)}resetBaseElement(){I=null}getUserAgent(){return window.navigator.userAgent}getCookie(N){return(0,m.Mx)(document.cookie,N)}}let Y,I=null,U=(()=>{var L;class N{build(){return new XMLHttpRequest}}return(L=N).\u0275fac=function(D){return new(D||L)},L.\u0275prov=s.Yz7({token:L,factory:L.\u0275fac}),N})();const Q=new s.OlP("EventManagerPlugins");let he=(()=>{var L;class N{constructor(D,k){this._zone=k,this._eventNameToPlugin=new Map,D.forEach(R=>{R.manager=this}),this._plugins=D.slice().reverse()}addEventListener(D,k,R){return this._findPluginFor(k).addEventListener(D,k,R)}getZone(){return this._zone}_findPluginFor(D){let k=this._eventNameToPlugin.get(D);if(k)return k;if(k=this._plugins.find(P=>P.supports(D)),!k)throw new s.vHH(5101,!1);return this._eventNameToPlugin.set(D,k),k}}return(L=N).\u0275fac=function(D){return new(D||L)(s.LFG(Q),s.LFG(s.R0b))},L.\u0275prov=s.Yz7({token:L,factory:L.\u0275fac}),N})();class Me{constructor(N){this._doc=N}}const Ae="ng-app-id";let Ge=(()=>{var L;class N{constructor(D,k,R,P={}){this.doc=D,this.appId=k,this.nonce=R,this.platformId=P,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,m.PM)(P),this.resetHostNodes()}addStyles(D){for(const k of D)1===this.changeUsageCount(k,1)&&this.onStyleAdded(k)}removeStyles(D){for(const k of D)this.changeUsageCount(k,-1)<=0&&this.onStyleRemoved(k)}ngOnDestroy(){const D=this.styleNodesInDOM;D&&(D.forEach(k=>k.remove()),D.clear());for(const k of this.getAllStyles())this.onStyleRemoved(k);this.resetHostNodes()}addHost(D){this.hostNodes.add(D);for(const k of this.getAllStyles())this.addStyleToHost(D,k)}removeHost(D){this.hostNodes.delete(D)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(D){for(const k of this.hostNodes)this.addStyleToHost(k,D)}onStyleRemoved(D){const k=this.styleRef;k.get(D)?.elements?.forEach(R=>R.remove()),k.delete(D)}collectServerRenderedStyles(){const D=this.doc.head?.querySelectorAll(`style[${Ae}="${this.appId}"]`);if(D?.length){const k=new Map;return D.forEach(R=>{null!=R.textContent&&k.set(R.textContent,R)}),k}return null}changeUsageCount(D,k){const R=this.styleRef;if(R.has(D)){const P=R.get(D);return P.usage+=k,P.usage}return R.set(D,{usage:k,elements:[]}),k}getStyleElement(D,k){const R=this.styleNodesInDOM,P=R?.get(k);if(P?.parentNode===D)return R.delete(k),P.removeAttribute(Ae),P;{const $=this.doc.createElement("style");return this.nonce&&$.setAttribute("nonce",this.nonce),$.textContent=k,this.platformIsServer&&$.setAttribute(Ae,this.appId),$}}addStyleToHost(D,k){const R=this.getStyleElement(D,k);D.appendChild(R);const P=this.styleRef,$=P.get(k)?.elements;$?$.push(R):P.set(k,{elements:[R],usage:1})}resetHostNodes(){const D=this.hostNodes;D.clear(),D.add(this.doc.head)}}return(L=N).\u0275fac=function(D){return new(D||L)(s.LFG(m.K0),s.LFG(s.AFp),s.LFG(s.Ojb,8),s.LFG(s.Lbi))},L.\u0275prov=s.Yz7({token:L,factory:L.\u0275fac}),N})();const xe={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/"},Ye=/%COMP%/g,V=new s.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function ge(L,N){return N.map(O=>O.replace(Ye,L))}let Se=(()=>{var L;class N{constructor(D,k,R,P,$,_e,ne,le=null){this.eventManager=D,this.sharedStylesHost=k,this.appId=R,this.removeStylesOnCompDestroy=P,this.doc=$,this.platformId=_e,this.ngZone=ne,this.nonce=le,this.rendererByCompId=new Map,this.platformIsServer=(0,m.PM)(_e),this.defaultRenderer=new Ve(D,$,ne,this.platformIsServer)}createRenderer(D,k){if(!D||!k)return this.defaultRenderer;this.platformIsServer&&k.encapsulation===s.ifc.ShadowDom&&(k={...k,encapsulation:s.ifc.Emulated});const R=this.getOrCreateRenderer(D,k);return R instanceof $t?R.applyToHost(D):R instanceof Wt&&R.applyStyles(),R}getOrCreateRenderer(D,k){const R=this.rendererByCompId;let P=R.get(k.id);if(!P){const $=this.doc,_e=this.ngZone,ne=this.eventManager,le=this.sharedStylesHost,Le=this.removeStylesOnCompDestroy,oe=this.platformIsServer;switch(k.encapsulation){case s.ifc.Emulated:P=new $t(ne,le,k,this.appId,Le,$,_e,oe);break;case s.ifc.ShadowDom:return new Rt(ne,le,D,k,$,_e,this.nonce,oe);default:P=new Wt(ne,le,k,Le,$,_e,oe)}R.set(k.id,P)}return P}ngOnDestroy(){this.rendererByCompId.clear()}}return(L=N).\u0275fac=function(D){return new(D||L)(s.LFG(he),s.LFG(Ge),s.LFG(s.AFp),s.LFG(V),s.LFG(m.K0),s.LFG(s.Lbi),s.LFG(s.R0b),s.LFG(s.Ojb))},L.\u0275prov=s.Yz7({token:L,factory:L.\u0275fac}),N})();class Ve{constructor(N,O,D,k){this.eventManager=N,this.doc=O,this.ngZone=D,this.platformIsServer=k,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(N,O){return O?this.doc.createElementNS(xe[O]||O,N):this.doc.createElement(N)}createComment(N){return this.doc.createComment(N)}createText(N){return this.doc.createTextNode(N)}appendChild(N,O){(At(N)?N.content:N).appendChild(O)}insertBefore(N,O,D){N&&(At(N)?N.content:N).insertBefore(O,D)}removeChild(N,O){N&&N.removeChild(O)}selectRootElement(N,O){let D="string"==typeof N?this.doc.querySelector(N):N;if(!D)throw new s.vHH(-5104,!1);return O||(D.textContent=""),D}parentNode(N){return N.parentNode}nextSibling(N){return N.nextSibling}setAttribute(N,O,D,k){if(k){O=k+":"+O;const R=xe[k];R?N.setAttributeNS(R,O,D):N.setAttribute(O,D)}else N.setAttribute(O,D)}removeAttribute(N,O,D){if(D){const k=xe[D];k?N.removeAttributeNS(k,O):N.removeAttribute(`${D}:${O}`)}else N.removeAttribute(O)}addClass(N,O){N.classList.add(O)}removeClass(N,O){N.classList.remove(O)}setStyle(N,O,D,k){k&(s.JOm.DashCase|s.JOm.Important)?N.style.setProperty(O,D,k&s.JOm.Important?"important":""):N.style[O]=D}removeStyle(N,O,D){D&s.JOm.DashCase?N.style.removeProperty(O):N.style[O]=""}setProperty(N,O,D){N[O]=D}setValue(N,O){N.nodeValue=O}listen(N,O,D){if("string"==typeof N&&!(N=(0,m.q)().getGlobalEventTarget(this.doc,N)))throw new Error(`Unsupported event target ${N} for event ${O}`);return this.eventManager.addEventListener(N,O,this.decoratePreventDefault(D))}decoratePreventDefault(N){return O=>{if("__ngUnwrap__"===O)return N;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>N(O)):N(O))&&O.preventDefault()}}}function At(L){return"TEMPLATE"===L.tagName&&void 0!==L.content}class Rt extends Ve{constructor(N,O,D,k,R,P,$,_e){super(N,R,P,_e),this.sharedStylesHost=O,this.hostEl=D,this.shadowRoot=D.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ne=ge(k.id,k.styles);for(const le of ne){const Le=document.createElement("style");$&&Le.setAttribute("nonce",$),Le.textContent=le,this.shadowRoot.appendChild(Le)}}nodeOrShadowRoot(N){return N===this.hostEl?this.shadowRoot:N}appendChild(N,O){return super.appendChild(this.nodeOrShadowRoot(N),O)}insertBefore(N,O,D){return super.insertBefore(this.nodeOrShadowRoot(N),O,D)}removeChild(N,O){return super.removeChild(this.nodeOrShadowRoot(N),O)}parentNode(N){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(N)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Wt extends Ve{constructor(N,O,D,k,R,P,$,_e){super(N,R,P,$),this.sharedStylesHost=O,this.removeStylesOnCompDestroy=k,this.styles=_e?ge(_e,D.styles):D.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class $t extends Wt{constructor(N,O,D,k,R,P,$,_e){const ne=k+"-"+D.id;super(N,O,D,R,P,$,_e,ne),this.contentAttr=function ie(L){return"_ngcontent-%COMP%".replace(Ye,L)}(ne),this.hostAttr=function ce(L){return"_nghost-%COMP%".replace(Ye,L)}(ne)}applyToHost(N){this.applyStyles(),this.setAttribute(N,this.hostAttr,"")}createElement(N,O){const D=super.createElement(N,O);return super.setAttribute(D,this.contentAttr,""),D}}let vn=(()=>{var L;class N extends Me{constructor(D){super(D)}supports(D){return!0}addEventListener(D,k,R){return D.addEventListener(k,R,!1),()=>this.removeEventListener(D,k,R)}removeEventListener(D,k,R){return D.removeEventListener(k,R)}}return(L=N).\u0275fac=function(D){return new(D||L)(s.LFG(m.K0))},L.\u0275prov=s.Yz7({token:L,factory:L.\u0275fac}),N})();const xn=["alt","control","meta","shift"],Be={"\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"},Ue={alt:L=>L.altKey,control:L=>L.ctrlKey,meta:L=>L.metaKey,shift:L=>L.shiftKey};let We=(()=>{var L;class N extends Me{constructor(D){super(D)}supports(D){return null!=N.parseEventName(D)}addEventListener(D,k,R){const P=N.parseEventName(k),$=N.eventCallback(P.fullKey,R,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,m.q)().onAndCancel(D,P.domEventName,$))}static parseEventName(D){const k=D.toLowerCase().split("."),R=k.shift();if(0===k.length||"keydown"!==R&&"keyup"!==R)return null;const P=N._normalizeKey(k.pop());let $="",_e=k.indexOf("code");if(_e>-1&&(k.splice(_e,1),$="code."),xn.forEach(le=>{const Le=k.indexOf(le);Le>-1&&(k.splice(Le,1),$+=le+".")}),$+=P,0!=k.length||0===P.length)return null;const ne={};return ne.domEventName=R,ne.fullKey=$,ne}static matchEventFullKeyCode(D,k){let R=Be[D.key]||D.key,P="";return k.indexOf("code.")>-1&&(R=D.code,P="code."),!(null==R||!R)&&(R=R.toLowerCase()," "===R?R="space":"."===R&&(R="dot"),xn.forEach($=>{$!==R&&(0,Ue[$])(D)&&(P+=$+".")}),P+=R,P===k)}static eventCallback(D,k,R){return P=>{N.matchEventFullKeyCode(P,D)&&R.runGuarded(()=>k(P))}}static _normalizeKey(D){return"esc"===D?"escape":D}}return(L=N).\u0275fac=function(D){return new(D||L)(s.LFG(m.K0))},L.\u0275prov=s.Yz7({token:L,factory:L.\u0275fac}),N})();const be=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:m.bD},{provide:s.g9A,useValue:function ye(){j.makeCurrent()},multi:!0},{provide:m.K0,useFactory:function Xe(){return(0,s.RDi)(document),document},deps:[]}]),ft=new s.OlP(""),q=[{provide:s.rWj,useClass:class te{addToWindow(N){s.dqk.getAngularTestability=(D,k=!0)=>{const R=N.findTestabilityInTree(D,k);if(null==R)throw new s.vHH(5103,!1);return R},s.dqk.getAllAngularTestabilities=()=>N.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>N.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(D=>{const k=s.dqk.getAllAngularTestabilities();let R=k.length,P=!1;const $=function(_e){P=P||_e,R--,0==R&&D(P)};k.forEach(_e=>{_e.whenStable($)})})}findTestabilityInTree(N,O,D){return null==O?null:N.getTestability(O)??(D?(0,m.q)().isShadowRoot(O)?this.findTestabilityInTree(N,O.host,!0):this.findTestabilityInTree(N,O.parentElement,!0):null)}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],tt=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function Ze(){return new s.qLn},deps:[]},{provide:Q,useClass:vn,multi:!0,deps:[m.K0,s.R0b,s.Lbi]},{provide:Q,useClass:We,multi:!0,deps:[m.K0]},Se,Ge,he,{provide:s.FYo,useExisting:Se},{provide:m.JF,useClass:U,deps:[]},[]];let et=(()=>{var L;class N{constructor(D){}static withServerTransition(D){return{ngModule:N,providers:[{provide:s.AFp,useValue:D.appId}]}}}return(L=N).\u0275fac=function(D){return new(D||L)(s.LFG(ft,12))},L.\u0275mod=s.oAB({type:L}),L.\u0275inj=s.cJS({providers:[...tt,...q],imports:[m.ez,s.hGG]}),N})(),Gn=(()=>{var L;class N{constructor(D){this._doc=D}getTitle(){return this._doc.title}setTitle(D){this._doc.title=D||""}}return(L=N).\u0275fac=function(D){return new(D||L)(s.LFG(m.K0))},L.\u0275prov=s.Yz7({token:L,factory:function(D){let k=null;return k=D?new D:function bt(){return new Gn((0,s.LFG)(m.K0))}(),k},providedIn:"root"}),N})();typeof window<"u"&&window;let An=(()=>{var L;class N{}return(L=N).\u0275fac=function(D){return new(D||L)},L.\u0275prov=s.Yz7({token:L,factory:function(D){let k=null;return k=D?new(D||L):s.LFG(Ke),k},providedIn:"root"}),N})(),Ke=(()=>{var L;class N extends An{constructor(D){super(),this._doc=D}sanitize(D,k){if(null==k)return null;switch(D){case s.q3G.NONE:return k;case s.q3G.HTML:return(0,s.qzn)(k,"HTML")?(0,s.z3N)(k):(0,s.EiD)(this._doc,String(k)).toString();case s.q3G.STYLE:return(0,s.qzn)(k,"Style")?(0,s.z3N)(k):k;case s.q3G.SCRIPT:if((0,s.qzn)(k,"Script"))return(0,s.z3N)(k);throw new s.vHH(5200,!1);case s.q3G.URL:return(0,s.qzn)(k,"URL")?(0,s.z3N)(k):(0,s.mCW)(String(k));case s.q3G.RESOURCE_URL:if((0,s.qzn)(k,"ResourceURL"))return(0,s.z3N)(k);throw new s.vHH(5201,!1);default:throw new s.vHH(5202,!1)}}bypassSecurityTrustHtml(D){return(0,s.JVY)(D)}bypassSecurityTrustStyle(D){return(0,s.L6k)(D)}bypassSecurityTrustScript(D){return(0,s.eBb)(D)}bypassSecurityTrustUrl(D){return(0,s.LAX)(D)}bypassSecurityTrustResourceUrl(D){return(0,s.pB0)(D)}}return(L=N).\u0275fac=function(D){return new(D||L)(s.LFG(m.K0))},L.\u0275prov=s.Yz7({token:L,factory:function(D){let k=null;return k=D?new D:function dr(L){return new Ke(L.get(m.K0))}(s.LFG(s.zs3)),k},providedIn:"root"}),N})()},9790:(mt,Ce,v)=>{v.d(Ce,{gz:()=>Hi,m2:()=>Sr,F0:()=>xr,rH:()=>Uo,Od:()=>ts,Bz:()=>Gi,lC:()=>Nr});var s=v(5879),m=v(5592),z=v(4674),I=v(2459),K=v(2096),Y=v(5619),re=v(2572),te=v(6973),U=v(5211),Q=v(4911),he=v(8407),Me=v(8504),Ae=v(6232),Ge=v(7394),xe=v(9360),Ye=v(8251);function He(){return(0,xe.e)((d,h)=>{let y=null;d._refCount++;const p=(0,Ye.x)(h,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(y=null);const x=d._connection,B=y;y=null,x&&(!B||x===B)&&x.unsubscribe(),h.unsubscribe()});d.subscribe(p),p.closed||(y=d.connect())})}class dt extends m.y{constructor(h,y){super(),this.source=h,this.subjectFactory=y,this._subject=null,this._refCount=0,this._connection=null,(0,xe.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 Ge.w0;const y=this.getSubject();h.add(this.source.subscribe((0,Ye.x)(y,void 0,()=>{this._teardown(),y.complete()},p=>{this._teardown(),y.error(p)},()=>this._teardown()))),h.closed&&(this._connection=null,h=Ge.w0.EMPTY)}return h}refCount(){return He()(this)}}var Ne=v(8645),W=v(6814),V=v(7398),ie=v(4664),ce=v(8180),ge=v(7921),Se=v(2181),Ve=v(1631),it=v(1374),pt=v(6328),At=v(9397),Rt=v(6306),Wt=v(6699),$t=v(3572);function vn(d){return d<=0?()=>Ae.E:(0,xe.e)((h,y)=>{let p=[];h.subscribe((0,Ye.x)(y,x=>{p.push(x),d<p.length&&p.shift()},()=>{for(const x of p)y.next(x);y.complete()},void 0,()=>{p=null}))})}var xn=v(3026),Be=v(2737),Qe=v(4716),at=v(9773),ht=v(7537),Ot=v(6593);const ye="primary",Ze=Symbol("RouteTitle");class Xe{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const y=this.params[h];return Array.isArray(y)?y[0]:y}return null}getAll(h){if(this.has(h)){const y=this.params[h];return Array.isArray(y)?y:[y]}return[]}get keys(){return Object.keys(this.params)}}function fe(d){return new Xe(d)}function be(d,h,y){const p=y.path.split("/");if(p.length>d.length||"full"===y.pathMatch&&(h.hasChildren()||p.length<d.length))return null;const x={};for(let B=0;B<p.length;B++){const J=p[B],Re=d[B];if(J.startsWith(":"))x[J.substring(1)]=Re;else if(J!==Re.path)return null}return{consumed:d.slice(0,p.length),posParams:x}}function q(d,h){const y=d?Object.keys(d):void 0,p=h?Object.keys(h):void 0;if(!y||!p||y.length!=p.length)return!1;let x;for(let B=0;B<y.length;B++)if(x=y[B],!tt(d[x],h[x]))return!1;return!0}function tt(d,h){if(Array.isArray(d)&&Array.isArray(h)){if(d.length!==h.length)return!1;const y=[...d].sort(),p=[...h].sort();return y.every((x,B)=>p[B]===x)}return d===h}function et(d){return d.length>0?d[d.length-1]:null}function St(d){return function j(d){return!!d&&(d instanceof m.y||(0,z.m)(d.lift)&&(0,z.m)(d.subscribe))}(d)?d:(0,s.QGY)(d)?(0,I.D)(Promise.resolve(d)):(0,K.of)(d)}const kt={exact:function Un(d,h,y){if(!yn(d.segments,h.segments)||!zt(d.segments,h.segments,y)||d.numberOfChildren!==h.numberOfChildren)return!1;for(const p in h.children)if(!d.children[p]||!Un(d.children[p],h.children[p],y))return!1;return!0},subset:Ft},rn={exact:function Gn(d,h){return q(d,h)},subset:function Pn(d,h){return Object.keys(h).length<=Object.keys(d).length&&Object.keys(h).every(y=>tt(d[y],h[y]))},ignored:()=>!0};function bt(d,h,y){return kt[y.paths](d.root,h.root,y.matrixParams)&&rn[y.queryParams](d.queryParams,h.queryParams)&&!("exact"===y.fragment&&d.fragment!==h.fragment)}function Ft(d,h,y){return Ut(d,h,h.segments,y)}function Ut(d,h,y,p){if(d.segments.length>y.length){const x=d.segments.slice(0,y.length);return!(!yn(x,y)||h.hasChildren()||!zt(x,y,p))}if(d.segments.length===y.length){if(!yn(d.segments,y)||!zt(d.segments,y,p))return!1;for(const x in h.children)if(!d.children[x]||!Ft(d.children[x],h.children[x],p))return!1;return!0}{const x=y.slice(0,d.segments.length),B=y.slice(d.segments.length);return!!(yn(d.segments,x)&&zt(d.segments,x,p)&&d.children[ye])&&Ut(d.children[ye],h,B,p)}}function zt(d,h,y){return h.every((p,x)=>rn[y](d[x].parameters,p.parameters))}class sn{constructor(h=new en([],{}),y={},p=null){this.root=h,this.queryParams=y,this.fragment=p}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fe(this.queryParams)),this._queryParamMap}toString(){return an.serialize(this)}}class en{constructor(h,y){this.segments=h,this.children=y,this.parent=null,Object.values(y).forEach(p=>p.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Jn(this)}}class Sn{constructor(h,y){this.path=h,this.parameters=y}get parameterMap(){return this._parameterMap||(this._parameterMap=fe(this.parameters)),this._parameterMap}toString(){return lt(this)}}function yn(d,h){return d.length===h.length&&d.every((y,p)=>y.path===h[p].path)}let Zt=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return new or},providedIn:"root"}),h})();class or{parse(h){const y=new P(h);return new sn(y.parseRootSegment(),y.parseQueryParams(),y.parseFragment())}serialize(h){const y=`/${Kn(h.root,!0)}`,p=function tn(d){const h=Object.keys(d).map(y=>{const p=d[y];return Array.isArray(p)?p.map(x=>`${dr(y)}=${dr(x)}`).join("&"):`${dr(y)}=${dr(p)}`}).filter(y=>!!y);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${y}${p}${"string"==typeof h.fragment?`#${function Ke(d){return encodeURI(d)}(h.fragment)}`:""}`}}const an=new or;function Jn(d){return d.segments.map(h=>lt(h)).join("/")}function Kn(d,h){if(!d.hasChildren())return Jn(d);if(h){const y=d.children[ye]?Kn(d.children[ye],!1):"",p=[];return Object.entries(d.children).forEach(([x,B])=>{x!==ye&&p.push(`${x}:${Kn(B,!1)}`)}),p.length>0?`${y}(${p.join("//")})`:y}{const y=function Fn(d,h){let y=[];return Object.entries(d.children).forEach(([p,x])=>{p===ye&&(y=y.concat(h(x,p)))}),Object.entries(d.children).forEach(([p,x])=>{p!==ye&&(y=y.concat(h(x,p)))}),y}(d,(p,x)=>x===ye?[Kn(d.children[ye],!1)]:[`${x}:${Kn(p,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[ye]?`${Jn(d)}/${y[0]}`:`${Jn(d)}/(${y.join("//")})`}}function An(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function dr(d){return An(d).replace(/%3B/gi,";")}function wt(d){return An(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Et(d){return decodeURIComponent(d)}function ze(d){return Et(d.replace(/\+/g,"%20"))}function lt(d){return`${wt(d.path)}${function Ht(d){return Object.keys(d).map(h=>`;${wt(h)}=${wt(d[h])}`).join("")}(d.parameters)}`}const qn=/^[^\/()?;#]+/;function me(d){const h=d.match(qn);return h?h[0]:""}const L=/^[^\/()?;=#]+/,O=/^[^=?&#]+/,k=/^[^&#]+/;class P{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new en([],{}):new en([],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 y={};this.peekStartsWith("/(")&&(this.capture("/"),y=this.parseParens(!0));let p={};return this.peekStartsWith("(")&&(p=this.parseParens(!1)),(h.length>0||Object.keys(y).length>0)&&(p[ye]=new en(h,y)),p}parseSegment(){const h=me(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new s.vHH(4009,!1);return this.capture(h),new Sn(Et(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const y=function N(d){const h=d.match(L);return h?h[0]:""}(this.remaining);if(!y)return;this.capture(y);let p="";if(this.consumeOptional("=")){const x=me(this.remaining);x&&(p=x,this.capture(p))}h[Et(y)]=Et(p)}parseQueryParam(h){const y=function D(d){const h=d.match(O);return h?h[0]:""}(this.remaining);if(!y)return;this.capture(y);let p="";if(this.consumeOptional("=")){const J=function R(d){const h=d.match(k);return h?h[0]:""}(this.remaining);J&&(p=J,this.capture(p))}const x=ze(y),B=ze(p);if(h.hasOwnProperty(x)){let J=h[x];Array.isArray(J)||(J=[J],h[x]=J),J.push(B)}else h[x]=B}parseParens(h){const y={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const p=me(this.remaining),x=this.remaining[p.length];if("/"!==x&&")"!==x&&";"!==x)throw new s.vHH(4010,!1);let B;p.indexOf(":")>-1?(B=p.slice(0,p.indexOf(":")),this.capture(B),this.capture(":")):h&&(B=ye);const J=this.parseChildren();y[B]=1===Object.keys(J).length?J[ye]:new en([],J),this.consumeOptional("//")}return y}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,!1)}}function $(d){return d.segments.length>0?new en([],{[ye]:d}):d}function _e(d){const h={};for(const p of Object.keys(d.children)){const B=_e(d.children[p]);if(p===ye&&0===B.segments.length&&B.hasChildren())for(const[J,Re]of Object.entries(B.children))h[J]=Re;else(B.segments.length>0||B.hasChildren())&&(h[p]=B)}return function ne(d){if(1===d.numberOfChildren&&d.children[ye]){const h=d.children[ye];return new en(d.segments.concat(h.segments),h.children)}return d}(new en(d.segments,h))}function le(d){return d instanceof sn}function oe(d){let h;const x=$(function y(B){const J={};for(const Dt of B.children){const nt=y(Dt);J[Dt.outlet]=nt}const Re=new en(B.url,J);return B===d&&(h=Re),Re}(d.root));return h??x}function ee(d,h,y,p){let x=d;for(;x.parent;)x=x.parent;if(0===h.length)return ue(x,x,x,y,p);const B=function Je(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new rt(!0,0,d);let h=0,y=!1;const p=d.reduce((x,B,J)=>{if("object"==typeof B&&null!=B){if(B.outlets){const Re={};return Object.entries(B.outlets).forEach(([Dt,nt])=>{Re[Dt]="string"==typeof nt?nt.split("/"):nt}),[...x,{outlets:Re}]}if(B.segmentPath)return[...x,B.segmentPath]}return"string"!=typeof B?[...x,B]:0===J?(B.split("/").forEach((Re,Dt)=>{0==Dt&&"."===Re||(0==Dt&&""===Re?y=!0:".."===Re?h++:""!=Re&&x.push(Re))}),x):[...x,B]},[]);return new rt(y,h,p)}(h);if(B.toRoot())return ue(x,x,new en([],{}),y,p);const J=function Pt(d,h,y){if(d.isAbsolute)return new xt(h,!0,0);if(!y)return new xt(h,!1,NaN);if(null===y.parent)return new xt(y,!0,0);const p=Oe(d.commands[0])?0:1;return function Rn(d,h,y){let p=d,x=h,B=y;for(;B>x;){if(B-=x,p=p.parent,!p)throw new s.vHH(4005,!1);x=p.segments.length}return new xt(p,!1,x-B)}(y,y.segments.length-1+p,d.numberOfDoubleDots)}(B,x,d),Re=J.processChildren?sr(J.segmentGroup,J.index,B.commands):Nn(J.segmentGroup,J.index,B.commands);return ue(x,J.segmentGroup,Re,y,p)}function Oe(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function X(d){return"object"==typeof d&&null!=d&&d.outlets}function ue(d,h,y,p,x){let J,B={};p&&Object.entries(p).forEach(([Dt,nt])=>{B[Dt]=Array.isArray(nt)?nt.map(Qt=>`${Qt}`):`${nt}`}),J=d===h?y:we(d,h,y);const Re=$(_e(J));return new sn(Re,B,x)}function we(d,h,y){const p={};return Object.entries(d.children).forEach(([x,B])=>{p[x]=B===h?y:we(B,h,y)}),new en(d.segments,p)}class rt{constructor(h,y,p){if(this.isAbsolute=h,this.numberOfDoubleDots=y,this.commands=p,h&&p.length>0&&Oe(p[0]))throw new s.vHH(4003,!1);const x=p.find(X);if(x&&x!==et(p))throw new s.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class xt{constructor(h,y,p){this.segmentGroup=h,this.processChildren=y,this.index=p}}function Nn(d,h,y){if(d||(d=new en([],{})),0===d.segments.length&&d.hasChildren())return sr(d,h,y);const p=function Vr(d,h,y){let p=0,x=h;const B={match:!1,pathIndex:0,commandIndex:0};for(;x<d.segments.length;){if(p>=y.length)return B;const J=d.segments[x],Re=y[p];if(X(Re))break;const Dt=`${Re}`,nt=p<y.length-1?y[p+1]:null;if(x>0&&void 0===Dt)break;if(Dt&&nt&&"object"==typeof nt&&void 0===nt.outlets){if(!zr(Dt,nt,J))return B;p+=2}else{if(!zr(Dt,{},J))return B;p++}x++}return{match:!0,pathIndex:x,commandIndex:p}}(d,h,y),x=y.slice(p.commandIndex);if(p.match&&p.pathIndex<d.segments.length){const B=new en(d.segments.slice(0,p.pathIndex),{});return B.children[ye]=new en(d.segments.slice(p.pathIndex),d.children),sr(B,0,x)}return p.match&&0===x.length?new en(d.segments,{}):p.match&&!d.hasChildren()?Ar(d,h,y):p.match?sr(d,0,x):Ar(d,h,y)}function sr(d,h,y){if(0===y.length)return new en(d.segments,{});{const p=function zn(d){return X(d[0])?d[0].outlets:{[ye]:d}}(y),x={};if(Object.keys(p).some(B=>B!==ye)&&d.children[ye]&&1===d.numberOfChildren&&0===d.children[ye].segments.length){const B=sr(d.children[ye],h,y);return new en(d.segments,B.children)}return Object.entries(p).forEach(([B,J])=>{"string"==typeof J&&(J=[J]),null!==J&&(x[B]=Nn(d.children[B],h,J))}),Object.entries(d.children).forEach(([B,J])=>{void 0===p[B]&&(x[B]=J)}),new en(d.segments,x)}}function Ar(d,h,y){const p=d.segments.slice(0,h);let x=0;for(;x<y.length;){const B=y[x];if(X(B)){const Dt=Ln(B.outlets);return new en(p,Dt)}if(0===x&&Oe(y[0])){p.push(new Sn(d.segments[h].path,Hn(y[0]))),x++;continue}const J=X(B)?B.outlets[ye]:`${B}`,Re=x<y.length-1?y[x+1]:null;J&&Re&&Oe(Re)?(p.push(new Sn(J,Hn(Re))),x+=2):(p.push(new Sn(J,{})),x++)}return new en(p,{})}function Ln(d){const h={};return Object.entries(d).forEach(([y,p])=>{"string"==typeof p&&(p=[p]),null!==p&&(h[y]=Ar(new en([],{}),0,p))}),h}function Hn(d){const h={};return Object.entries(d).forEach(([y,p])=>h[y]=`${p}`),h}function zr(d,h,y){return d==y.path&&q(h,y.parameters)}const Or="imperative";class On{constructor(h,y){this.id=h,this.url=y}}class Pr extends On{constructor(h,y,p="imperative",x=null){super(h,y),this.type=0,this.navigationTrigger=p,this.restoredState=x}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Sr extends On{constructor(h,y,p){super(h,y),this.urlAfterRedirects=p,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Rr extends On{constructor(h,y,p,x){super(h,y),this.reason=p,this.code=x,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ii extends On{constructor(h,y,p,x){super(h,y),this.reason=p,this.code=x,this.type=16}}class Xr extends On{constructor(h,y,p,x){super(h,y),this.error=p,this.target=x,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class yr extends On{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tr extends On{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ai extends On{constructor(h,y,p,x,B){super(h,y),this.urlAfterRedirects=p,this.state=x,this.shouldActivate=B,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ji extends On{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zo extends On{constructor(h,y,p,x){super(h,y),this.urlAfterRedirects=p,this.state=x,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ji{constructor(h){this.route=h,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Oo{constructor(h){this.route=h,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class yo{constructor(h){this.snapshot=h,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bo{constructor(h){this.snapshot=h,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oi{constructor(h){this.snapshot=h,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class br{constructor(h){this.snapshot=h,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oi{constructor(h,y,p){this.routerEvent=h,this.position=y,this.anchor=p,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class pi{}class Eo{constructor(h){this.url=h}}class Pi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new tr,this.attachRef=null}}let tr=(()=>{var d;class h{constructor(){this.contexts=new Map}onChildOutletCreated(p,x){const B=this.getOrCreateContext(p);B.outlet=x,this.contexts.set(p,B)}onChildOutletDestroyed(p){const x=this.getContext(p);x&&(x.outlet=null,x.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let x=this.getContext(p);return x||(x=new Pi,this.contexts.set(p,x)),x}getContext(p){return this.contexts.get(p)||null}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();class qi{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const y=this.pathFromRoot(h);return y.length>1?y[y.length-2]:null}children(h){const y=Ui(h,this._root);return y?y.children.map(p=>p.value):[]}firstChild(h){const y=Ui(h,this._root);return y&&y.children.length>0?y.children[0].value:null}siblings(h){const y=Xi(h,this._root);return y.length<2?[]:y[y.length-2].children.map(x=>x.value).filter(x=>x!==h)}pathFromRoot(h){return Xi(h,this._root).map(y=>y.value)}}function Ui(d,h){if(d===h.value)return h;for(const y of h.children){const p=Ui(d,y);if(p)return p}return null}function Xi(d,h){if(d===h.value)return[h];for(const y of h.children){const p=Xi(d,y);if(p.length)return p.unshift(h),p}return[]}class fn{constructor(h,y){this.value=h,this.children=y}toString(){return`TreeNode(${this.value})`}}function fr(d){const h={};return d&&d.children.forEach(y=>h[y.value.outlet]=y),h}class wr extends qi{constructor(h,y){super(h),this.snapshot=y,ar(this,h)}toString(){return this.snapshot.toString()}}function Dr(d,h){const y=function Gr(d,h){const J=new Go([],{},{},"",{},ye,h,null,{});return new Cs("",new fn(J,[]))}(0,h),p=new Y.X([new Sn("",{})]),x=new Y.X({}),B=new Y.X({}),J=new Y.X({}),Re=new Y.X(""),Dt=new Hi(p,x,J,Re,B,ye,h,y.root);return Dt.snapshot=y.root,new wr(new fn(Dt,[]),y)}class Hi{constructor(h,y,p,x,B,J,Re,Dt){this.urlSubject=h,this.paramsSubject=y,this.queryParamsSubject=p,this.fragmentSubject=x,this.dataSubject=B,this.outlet=J,this.component=Re,this._futureSnapshot=Dt,this.title=this.dataSubject?.pipe((0,V.U)(nt=>nt[Ze]))??(0,K.of)(void 0),this.url=h,this.params=y,this.queryParams=p,this.fragment=x,this.data=B}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,V.U)(h=>fe(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,V.U)(h=>fe(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Po(d,h="emptyOnly"){const y=d.pathFromRoot;let p=0;if("always"!==h)for(p=y.length-1;p>=1;){const x=y[p],B=y[p-1];if(x.routeConfig&&""===x.routeConfig.path)p--;else{if(B.component)break;p--}}return function Ro(d){return d.reduce((h,y)=>({params:{...h.params,...y.params},data:{...h.data,...y.data},resolve:{...y.data,...h.resolve,...y.routeConfig?.data,...y._resolvedData}}),{params:{},data:{},resolve:{}})}(y.slice(p))}class Go{get title(){return this.data?.[Ze]}constructor(h,y,p,x,B,J,Re,Dt,nt){this.url=h,this.params=y,this.queryParams=p,this.fragment=x,this.data=B,this.outlet=J,this.component=Re,this.routeConfig=Dt,this._resolve=nt}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=fe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(p=>p.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Cs extends qi{constructor(h,y){super(y),this.url=h,ar(this,y)}toString(){return It(this._root)}}function ar(d,h){h.value._routerState=d,h.children.forEach(y=>ar(d,y))}function It(d){const h=d.children.length>0?` { ${d.children.map(It).join(", ")} } `:"";return`${d.value}${h}`}function ln(d){if(d.snapshot){const h=d.snapshot,y=d._futureSnapshot;d.snapshot=y,q(h.queryParams,y.queryParams)||d.queryParamsSubject.next(y.queryParams),h.fragment!==y.fragment&&d.fragmentSubject.next(y.fragment),q(h.params,y.params)||d.paramsSubject.next(y.params),function ft(d,h){if(d.length!==h.length)return!1;for(let y=0;y<d.length;++y)if(!q(d[y],h[y]))return!1;return!0}(h.url,y.url)||d.urlSubject.next(y.url),q(h.data,y.data)||d.dataSubject.next(y.data)}else d.snapshot=d._futureSnapshot,d.dataSubject.next(d._futureSnapshot.data)}function Wn(d,h){const y=q(d.params,h.params)&&function dn(d,h){return yn(d,h)&&d.every((y,p)=>q(y.parameters,h[p].parameters))}(d.url,h.url);return y&&!(!d.parent!=!h.parent)&&(!d.parent||Wn(d.parent,h.parent))}let Nr=(()=>{var d;class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=ye,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)(tr),this.location=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.environmentInjector=(0,s.f3M)(s.lqb),this.inputBinder=(0,s.f3M)(hr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(p){if(p.name){const{firstChange:x,previousValue:B}=p.name;if(x)return;this.isTrackedInParentContexts(B)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(B)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(p){return this.parentContexts.getContext(p)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const p=this.parentContexts.getContext(this.name);p?.route&&(p.attachRef?this.attach(p.attachRef,p.route):this.activateWith(p.route,p.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new s.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new s.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new s.vHH(4012,!1);this.location.detach();const p=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(p.instance),p}attach(p,x){this.activated=p,this._activatedRoute=x,this.location.insert(p.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(p.instance)}deactivate(){if(this.activated){const p=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(p)}}activateWith(p,x){if(this.isActivated)throw new s.vHH(4013,!1);this._activatedRoute=p;const B=this.location,Re=p.snapshot.component,Dt=this.parentContexts.getOrCreateContext(this.name).children,nt=new ui(p,Dt,B.injector);this.activated=B.createComponent(Re,{index:B.length,injector:nt,environmentInjector:x??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(d=h).\u0275fac=function(p){return new(p||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]}),h})();class ui{constructor(h,y,p){this.route=h,this.childContexts=y,this.parent=p}get(h,y){return h===Hi?this.route:h===tr?this.childContexts:this.parent.get(h,y)}}const hr=new s.OlP("");let Ri=(()=>{var d;class h{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(p){this.unsubscribeFromRouteData(p),this.subscribeToRouteData(p)}unsubscribeFromRouteData(p){this.outletDataSubscriptions.get(p)?.unsubscribe(),this.outletDataSubscriptions.delete(p)}subscribeToRouteData(p){const{activatedRoute:x}=p,B=(0,re.a)([x.queryParams,x.params,x.data]).pipe((0,ie.w)(([J,Re,Dt],nt)=>(Dt={...J,...Re,...Dt},0===nt?(0,K.of)(Dt):Promise.resolve(Dt)))).subscribe(J=>{if(!p.isActivated||!p.activatedComponentRef||p.activatedRoute!==x||null===x.component)return void this.unsubscribeFromRouteData(p);const Re=(0,s.qFp)(x.component);if(Re)for(const{templateName:Dt}of Re.inputs)p.activatedComponentRef.setInput(Dt,J[Dt]);else this.unsubscribeFromRouteData(p)});this.outletDataSubscriptions.set(p,B)}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),h})();function Wr(d,h,y){if(y&&d.shouldReuseRoute(h.value,y.value.snapshot)){const p=y.value;p._futureSnapshot=h.value;const x=function Di(d,h,y){return h.children.map(p=>{for(const x of y.children)if(d.shouldReuseRoute(p.value,x.value.snapshot))return Wr(d,p,x);return Wr(d,p)})}(d,h,y);return new fn(p,x)}{if(d.shouldAttach(h.value)){const B=d.retrieve(h.value);if(null!==B){const J=B.route;return J.value._futureSnapshot=h.value,J.children=h.children.map(Re=>Wr(d,Re)),J}}const p=function qt(d){return new Hi(new Y.X(d.url),new Y.X(d.params),new Y.X(d.queryParams),new Y.X(d.fragment),new Y.X(d.data),d.outlet,d.component,d)}(h.value),x=h.children.map(B=>Wr(d,B));return new fn(p,x)}}const Ni="ngNavigationCancelingError";function Ie(d,h){const{redirectTo:y,navigationBehaviorOptions:p}=le(h)?{redirectTo:h,navigationBehaviorOptions:void 0}:h,x=Ee(!1,0,h);return x.url=y,x.navigationBehaviorOptions=p,x}function Ee(d,h,y){const p=new Error("NavigationCancelingError: "+(d||""));return p[Ni]=!0,p.cancellationCode=h,y&&(p.url=y),p}function st(d){return d&&d[Ni]}let _t=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275cmp=s.Xpm({type:d,selectors:[["ng-component"]],standalone:!0,features:[s.jDz],decls:1,vars:0,template:function(p,x){1&p&&s._UZ(0,"router-outlet")},dependencies:[Nr],encapsulation:2}),h})();function Ci(d){const h=d.children&&d.children.map(Ci),y=h?{...d,children:h}:{...d};return!y.component&&!y.loadComponent&&(h||y.loadChildren)&&y.outlet&&y.outlet!==ye&&(y.component=_t),y}function Mr(d){return d.outlet||ye}function kr(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let h=d.parent;h;h=h.parent){const y=h.routeConfig;if(y?._loadedInjector)return y._loadedInjector;if(y?._injector)return y._injector}return null}class Cn{constructor(h,y,p,x,B){this.routeReuseStrategy=h,this.futureState=y,this.currState=p,this.forwardEvent=x,this.inputBindingEnabled=B}activate(h){const y=this.futureState._root,p=this.currState?this.currState._root:null;this.deactivateChildRoutes(y,p,h),ln(this.futureState.root),this.activateChildRoutes(y,p,h)}deactivateChildRoutes(h,y,p){const x=fr(y);h.children.forEach(B=>{const J=B.value.outlet;this.deactivateRoutes(B,x[J],p),delete x[J]}),Object.values(x).forEach(B=>{this.deactivateRouteAndItsChildren(B,p)})}deactivateRoutes(h,y,p){const x=h.value,B=y?y.value:null;if(x===B)if(x.component){const J=p.getContext(x.outlet);J&&this.deactivateChildRoutes(h,y,J.children)}else this.deactivateChildRoutes(h,y,p);else B&&this.deactivateRouteAndItsChildren(y,p)}deactivateRouteAndItsChildren(h,y){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,y):this.deactivateRouteAndOutlet(h,y)}detachAndStoreRouteSubtree(h,y){const p=y.getContext(h.value.outlet),x=p&&h.value.component?p.children:y,B=fr(h);for(const J of Object.keys(B))this.deactivateRouteAndItsChildren(B[J],x);if(p&&p.outlet){const J=p.outlet.detach(),Re=p.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:J,route:h,contexts:Re})}}deactivateRouteAndOutlet(h,y){const p=y.getContext(h.value.outlet),x=p&&h.value.component?p.children:y,B=fr(h);for(const J of Object.keys(B))this.deactivateRouteAndItsChildren(B[J],x);p&&(p.outlet&&(p.outlet.deactivate(),p.children.onOutletDeactivated()),p.attachRef=null,p.route=null)}activateChildRoutes(h,y,p){const x=fr(y);h.children.forEach(B=>{this.activateRoutes(B,x[B.value.outlet],p),this.forwardEvent(new br(B.value.snapshot))}),h.children.length&&this.forwardEvent(new bo(h.value.snapshot))}activateRoutes(h,y,p){const x=h.value,B=y?y.value:null;if(ln(x),x===B)if(x.component){const J=p.getOrCreateContext(x.outlet);this.activateChildRoutes(h,y,J.children)}else this.activateChildRoutes(h,y,p);else if(x.component){const J=p.getOrCreateContext(x.outlet);if(this.routeReuseStrategy.shouldAttach(x.snapshot)){const Re=this.routeReuseStrategy.retrieve(x.snapshot);this.routeReuseStrategy.store(x.snapshot,null),J.children.onOutletReAttached(Re.contexts),J.attachRef=Re.componentRef,J.route=Re.route.value,J.outlet&&J.outlet.attach(Re.componentRef,Re.route.value),ln(Re.route.value),this.activateChildRoutes(h,null,J.children)}else{const Re=kr(x.snapshot);J.attachRef=null,J.route=x,J.injector=Re,J.outlet&&J.outlet.activateWith(x,J.injector),this.activateChildRoutes(h,null,J.children)}}else this.activateChildRoutes(h,null,p)}}class wi{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class rr{constructor(h,y){this.component=h,this.route=y}}function Fr(d,h,y){const p=d._root;return Yr(p,h?h._root:null,y,[p.value])}function fi(d,h){const y=Symbol(),p=h.get(d,y);return p===y?"function"!=typeof d||(0,s.Z0I)(d)?h.get(d):d:p}function Yr(d,h,y,p,x={canDeactivateChecks:[],canActivateChecks:[]}){const B=fr(h);return d.children.forEach(J=>{(function ai(d,h,y,p,x={canDeactivateChecks:[],canActivateChecks:[]}){const B=d.value,J=h?h.value:null,Re=y?y.getContext(d.value.outlet):null;if(J&&B.routeConfig===J.routeConfig){const Dt=function ao(d,h,y){if("function"==typeof y)return y(d,h);switch(y){case"pathParamsChange":return!yn(d.url,h.url);case"pathParamsOrQueryParamsChange":return!yn(d.url,h.url)||!q(d.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wn(d,h)||!q(d.queryParams,h.queryParams);default:return!Wn(d,h)}}(J,B,B.routeConfig.runGuardsAndResolvers);Dt?x.canActivateChecks.push(new wi(p)):(B.data=J.data,B._resolvedData=J._resolvedData),Yr(d,h,B.component?Re?Re.children:null:y,p,x),Dt&&Re&&Re.outlet&&Re.outlet.isActivated&&x.canDeactivateChecks.push(new rr(Re.outlet.component,J))}else J&&$i(h,Re,x),x.canActivateChecks.push(new wi(p)),Yr(d,null,B.component?Re?Re.children:null:y,p,x)})(J,B[J.value.outlet],y,p.concat([J.value]),x),delete B[J.value.outlet]}),Object.entries(B).forEach(([J,Re])=>$i(Re,y.getContext(J),x)),x}function $i(d,h,y){const p=fr(d),x=d.value;Object.entries(p).forEach(([B,J])=>{$i(J,x.component?h?h.children.getContext(B):null:h,y)}),y.canDeactivateChecks.push(new rr(x.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,x))}function No(d){return"function"==typeof d}function Wo(d){return d instanceof te.K||"EmptyError"===d?.name}const ko=Symbol("INITIAL_VALUE");function lo(){return(0,ie.w)(d=>(0,re.a)(d.map(h=>h.pipe((0,ce.q)(1),(0,ge.O)(ko)))).pipe((0,V.U)(h=>{for(const y of h)if(!0!==y){if(y===ko)return ko;if(!1===y||y instanceof sn)return y}return!0}),(0,Se.h)(h=>h!==ko),(0,ce.q)(1)))}function ei(d){return(0,he.z)((0,At.b)(h=>{if(le(h))throw Ie(0,h)}),(0,V.U)(h=>!0===h))}class co{constructor(h){this.segmentGroup=h||null}}class Vi{constructor(h){this.urlTree=h}}function ir(d){return(0,Me._)(new co(d))}function Do(d){return(0,Me._)(new Vi(d))}class ds{constructor(h,y){this.urlSerializer=h,this.urlTree=y}noMatchError(h){return new s.vHH(4002,!1)}lineralizeSegments(h,y){let p=[],x=y.root;for(;;){if(p=p.concat(x.segments),0===x.numberOfChildren)return(0,K.of)(p);if(x.numberOfChildren>1||!x.children[ye])return(0,Me._)(new s.vHH(4e3,!1));x=x.children[ye]}}applyRedirectCommands(h,y,p){return this.applyRedirectCreateUrlTree(y,this.urlSerializer.parse(y),h,p)}applyRedirectCreateUrlTree(h,y,p,x){const B=this.createSegmentGroup(h,y.root,p,x);return new sn(B,this.createQueryParams(y.queryParams,this.urlTree.queryParams),y.fragment)}createQueryParams(h,y){const p={};return Object.entries(h).forEach(([x,B])=>{if("string"==typeof B&&B.startsWith(":")){const Re=B.substring(1);p[x]=y[Re]}else p[x]=B}),p}createSegmentGroup(h,y,p,x){const B=this.createSegments(h,y.segments,p,x);let J={};return Object.entries(y.children).forEach(([Re,Dt])=>{J[Re]=this.createSegmentGroup(h,Dt,p,x)}),new en(B,J)}createSegments(h,y,p,x){return y.map(B=>B.path.startsWith(":")?this.findPosParam(h,B,x):this.findOrReturn(B,p))}findPosParam(h,y,p){const x=p[y.path.substring(1)];if(!x)throw new s.vHH(4001,!1);return x}findOrReturn(h,y){let p=0;for(const x of y){if(x.path===h.path)return y.splice(p),x;p++}return h}}const uo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Zo(d,h,y,p,x){const B=eo(d,h,y);return B.matched?(p=function Mt(d,h){return d.providers&&!d._injector&&(d._injector=(0,s.MMx)(d.providers,h,`Route: ${d.path}`)),d._injector??h}(h,p),function _i(d,h,y,p){const x=h.canMatch;if(!x||0===x.length)return(0,K.of)(!0);const B=x.map(J=>{const Re=fi(J,d);return St(function Us(d){return d&&No(d.canMatch)}(Re)?Re.canMatch(h,y):d.runInContext(()=>Re(h,y)))});return(0,K.of)(B).pipe(lo(),ei())}(p,h,y).pipe((0,V.U)(J=>!0===J?B:{...uo}))):(0,K.of)(B)}function eo(d,h,y){if(""===h.path)return"full"===h.pathMatch&&(d.hasChildren()||y.length>0)?{...uo}:{matched:!0,consumedSegments:[],remainingSegments:y,parameters:{},positionalParamSegments:{}};const x=(h.matcher||be)(y,d,h);if(!x)return{...uo};const B={};Object.entries(x.posParams??{}).forEach(([Re,Dt])=>{B[Re]=Dt.path});const J=x.consumed.length>0?{...B,...x.consumed[x.consumed.length-1].parameters}:B;return{matched:!0,consumedSegments:x.consumed,remainingSegments:y.slice(x.consumed.length),parameters:J,positionalParamSegments:x.posParams??{}}}function ti(d,h,y,p){return y.length>0&&function Li(d,h,y){return y.some(p=>fo(d,h,p)&&Mr(p)!==ye)}(d,y,p)?{segmentGroup:new en(h,to(p,new en(y,d.children))),slicedSegments:[]}:0===y.length&&function fs(d,h,y){return y.some(p=>fo(d,h,p))}(d,y,p)?{segmentGroup:new en(d.segments,Fi(d,0,y,p,d.children)),slicedSegments:y}:{segmentGroup:new en(d.segments,d.children),slicedSegments:y}}function Fi(d,h,y,p,x){const B={};for(const J of p)if(fo(d,y,J)&&!x[Mr(J)]){const Re=new en([],{});B[Mr(J)]=Re}return{...x,...B}}function to(d,h){const y={};y[ye]=h;for(const p of d)if(""===p.path&&Mr(p)!==ye){const x=new en([],{});y[Mr(p)]=x}return y}function fo(d,h,y){return(!(d.hasChildren()||h.length>0)||"full"!==y.pathMatch)&&""===y.path}class Is{constructor(h,y,p,x,B,J,Re){this.injector=h,this.configLoader=y,this.rootComponentType=p,this.config=x,this.urlTree=B,this.paramsInheritanceStrategy=J,this.urlSerializer=Re,this.allowRedirects=!0,this.applyRedirects=new ds(this.urlSerializer,this.urlTree)}noMatchError(h){return new s.vHH(4002,!1)}recognize(){const h=ti(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,h,ye).pipe((0,Rt.K)(y=>{if(y instanceof Vi)return this.allowRedirects=!1,this.urlTree=y.urlTree,this.match(y.urlTree);throw y instanceof co?this.noMatchError(y):y}),(0,V.U)(y=>{const p=new Go([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ye,this.rootComponentType,null,{}),x=new fn(p,y),B=new Cs("",x),J=function Le(d,h,y=null,p=null){return ee(oe(d),h,y,p)}(p,[],this.urlTree.queryParams,this.urlTree.fragment);return J.queryParams=this.urlTree.queryParams,B.url=this.urlSerializer.serialize(J),this.inheritParamsAndData(B._root),{state:B,tree:J}}))}match(h){return this.processSegmentGroup(this.injector,this.config,h.root,ye).pipe((0,Rt.K)(p=>{throw p instanceof co?this.noMatchError(p):p}))}inheritParamsAndData(h){const y=h.value,p=Po(y,this.paramsInheritanceStrategy);y.params=Object.freeze(p.params),y.data=Object.freeze(p.data),h.children.forEach(x=>this.inheritParamsAndData(x))}processSegmentGroup(h,y,p,x){return 0===p.segments.length&&p.hasChildren()?this.processChildren(h,y,p):this.processSegment(h,y,p,p.segments,x,!0)}processChildren(h,y,p){const x=[];for(const B of Object.keys(p.children))"primary"===B?x.unshift(B):x.push(B);return(0,I.D)(x).pipe((0,pt.b)(B=>{const J=p.children[B],Re=function nr(d,h){const y=d.filter(p=>Mr(p)===h);return y.push(...d.filter(p=>Mr(p)!==h)),y}(y,B);return this.processSegmentGroup(h,Re,J,B)}),(0,Wt.R)((B,J)=>(B.push(...J),B)),(0,$t.d)(null),function Ue(d,h){const y=arguments.length>=2;return p=>p.pipe(d?(0,Se.h)((x,B)=>d(x,B,p)):Be.y,vn(1),y?(0,$t.d)(h):(0,xn.T)(()=>new te.K))}(),(0,Ve.z)(B=>{if(null===B)return ir(p);const J=xi(B);return function hs(d){d.sort((h,y)=>h.value.outlet===ye?-1:y.value.outlet===ye?1:h.value.outlet.localeCompare(y.value.outlet))}(J),(0,K.of)(J)}))}processSegment(h,y,p,x,B,J){return(0,I.D)(y).pipe((0,pt.b)(Re=>this.processSegmentAgainstRoute(Re._injector??h,y,Re,p,x,B,J).pipe((0,Rt.K)(Dt=>{if(Dt instanceof co)return(0,K.of)(null);throw Dt}))),(0,it.P)(Re=>!!Re),(0,Rt.K)(Re=>{if(Wo(Re))return function zi(d,h,y){return 0===h.length&&!d.children[y]}(p,x,B)?(0,K.of)([]):ir(p);throw Re}))}processSegmentAgainstRoute(h,y,p,x,B,J,Re){return function Bo(d,h,y,p){return!!(Mr(d)===p||p!==ye&&fo(h,y,d))&&("**"===d.path||eo(h,d,y).matched)}(p,x,B,J)?void 0===p.redirectTo?this.matchSegmentAgainstRoute(h,x,p,B,J,Re):Re&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,x,y,p,B,J):ir(x):ir(x)}expandSegmentAgainstRouteUsingRedirect(h,y,p,x,B,J){return"**"===x.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,p,x,J):this.expandRegularSegmentAgainstRouteUsingRedirect(h,y,p,x,B,J)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,y,p,x){const B=this.applyRedirects.applyRedirectCommands([],p.redirectTo,{});return p.redirectTo.startsWith("/")?Do(B):this.applyRedirects.lineralizeSegments(p,B).pipe((0,Ve.z)(J=>{const Re=new en(J,{});return this.processSegment(h,y,Re,J,x,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,y,p,x,B,J){const{matched:Re,consumedSegments:Dt,remainingSegments:nt,positionalParamSegments:Qt}=eo(y,x,B);if(!Re)return ir(y);const In=this.applyRedirects.applyRedirectCommands(Dt,x.redirectTo,Qt);return x.redirectTo.startsWith("/")?Do(In):this.applyRedirects.lineralizeSegments(x,In).pipe((0,Ve.z)(Ur=>this.processSegment(h,p,y,Ur.concat(nt),J,!1)))}matchSegmentAgainstRoute(h,y,p,x,B,J){let Re;if("**"===p.path){const Dt=x.length>0?et(x).parameters:{},nt=new Go(x,Dt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Jo(p),Mr(p),p.component??p._loadedComponent??null,p,As(p));Re=(0,K.of)({snapshot:nt,consumedSegments:[],remainingSegments:[]}),y.children={}}else Re=Zo(y,p,x,h).pipe((0,V.U)(({matched:Dt,consumedSegments:nt,remainingSegments:Qt,parameters:In})=>Dt?{snapshot:new Go(nt,In,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Jo(p),Mr(p),p.component??p._loadedComponent??null,p,As(p)),consumedSegments:nt,remainingSegments:Qt}:null));return Re.pipe((0,ie.w)(Dt=>null===Dt?ir(y):this.getChildConfig(h=p._injector??h,p,x).pipe((0,ie.w)(({routes:nt})=>{const Qt=p._loadedInjector??h,{snapshot:In,consumedSegments:Ur,remainingSegments:Zn}=Dt,{segmentGroup:Si,slicedSegments:ms}=ti(y,Ur,Zn,nt);if(0===ms.length&&Si.hasChildren())return this.processChildren(Qt,nt,Si).pipe((0,V.U)(Ho=>null===Ho?null:[new fn(In,Ho)]));if(0===nt.length&&0===ms.length)return(0,K.of)([new fn(In,[])]);const Gs=Mr(p)===B;return this.processSegment(Qt,nt,Si,ms,Gs?ye:B,!0).pipe((0,V.U)(Ho=>[new fn(In,Ho)]))}))))}getChildConfig(h,y,p){return y.children?(0,K.of)({routes:y.children,injector:h}):y.loadChildren?void 0!==y._loadedRoutes?(0,K.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):function Lo(d,h,y,p){const x=h.canLoad;if(void 0===x||0===x.length)return(0,K.of)(!0);const B=x.map(J=>{const Re=fi(J,d);return St(function cs(d){return d&&No(d.canLoad)}(Re)?Re.canLoad(h,y):d.runInContext(()=>Re(h,y)))});return(0,K.of)(B).pipe(lo(),ei())}(h,y,p).pipe((0,Ve.z)(x=>x?this.configLoader.loadChildren(h,y).pipe((0,At.b)(B=>{y._loadedRoutes=B.routes,y._loadedInjector=B.injector})):function ki(d){return(0,Me._)(Ee(!1,3))}())):(0,K.of)({routes:[],injector:h})}}function Qo(d){const h=d.value.routeConfig;return h&&""===h.path}function xi(d){const h=[],y=new Set;for(const p of d){if(!Qo(p)){h.push(p);continue}const x=h.find(B=>p.value.routeConfig===B.value.routeConfig);void 0!==x?(x.children.push(...p.children),y.add(x)):h.push(p)}for(const p of y){const x=xi(p.children);h.push(new fn(p.value,x))}return h.filter(p=>!y.has(p))}function Jo(d){return d.data||{}}function As(d){return d.resolve||{}}function wo(d){return"string"==typeof d.title||null===d.title}function xo(d){return(0,ie.w)(h=>{const y=d(h);return y?(0,I.D)(y).pipe((0,V.U)(()=>h)):(0,K.of)(h)})}const f=new s.OlP("ROUTES");let T=(()=>{var d;class h{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,s.f3M)(s.Sil)}loadComponent(p){if(this.componentLoaders.get(p))return this.componentLoaders.get(p);if(p._loadedComponent)return(0,K.of)(p._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(p);const x=St(p.loadComponent()).pipe((0,V.U)(b),(0,At.b)(J=>{this.onLoadEndListener&&this.onLoadEndListener(p),p._loadedComponent=J}),(0,Qe.x)(()=>{this.componentLoaders.delete(p)})),B=new dt(x,()=>new Ne.x).pipe(He());return this.componentLoaders.set(p,B),B}loadChildren(p,x){if(this.childrenLoaders.get(x))return this.childrenLoaders.get(x);if(x._loadedRoutes)return(0,K.of)({routes:x._loadedRoutes,injector:x._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(x);const J=this.loadModuleFactoryOrRoutes(x.loadChildren).pipe((0,V.U)(Dt=>{this.onLoadEndListener&&this.onLoadEndListener(x);let nt,Qt;return Array.isArray(Dt)?Qt=Dt:(nt=Dt.create(p).injector,Qt=nt.get(f,[],s.XFs.Self|s.XFs.Optional).flat()),{routes:Qt.map(Ci),injector:nt}}),(0,Qe.x)(()=>{this.childrenLoaders.delete(x)})),Re=new dt(J,()=>new Ne.x).pipe(He());return this.childrenLoaders.set(x,Re),Re}loadModuleFactoryOrRoutes(p){return St(p()).pipe((0,V.U)(b),(0,Ve.z)(x=>x instanceof s.YKP||Array.isArray(x)?(0,K.of)(x):(0,I.D)(this.compiler.compileModuleAsync(x))))}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();function b(d){return function se(d){return d&&"object"==typeof d&&"default"in d}(d)?d.default:d}let H=(()=>{var d;class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ne.x,this.transitionAbortSubject=new Ne.x,this.configLoader=(0,s.f3M)(T),this.environmentInjector=(0,s.f3M)(s.lqb),this.urlSerializer=(0,s.f3M)(Zt),this.rootContexts=(0,s.f3M)(tr),this.inputBindingEnabled=null!==(0,s.f3M)(hr,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,K.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=B=>this.events.next(new Oo(B)),this.configLoader.onLoadStartListener=B=>this.events.next(new Ji(B))}complete(){this.transitions?.complete()}handleNavigationRequest(p){const x=++this.navigationId;this.transitions?.next({...this.transitions.value,...p,id:x})}setupNavigations(p,x,B){return this.transitions=new Y.X({id:0,currentUrlTree:x,currentRawUrl:x,currentBrowserUrl:x,extractedUrl:p.urlHandlingStrategy.extract(x),urlAfterRedirects:p.urlHandlingStrategy.extract(x),rawUrl:x,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Or,restoredState:null,currentSnapshot:B.snapshot,targetSnapshot:null,currentRouterState:B,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Se.h)(J=>0!==J.id),(0,V.U)(J=>({...J,extractedUrl:p.urlHandlingStrategy.extract(J.rawUrl)})),(0,ie.w)(J=>{this.currentTransition=J;let Re=!1,Dt=!1;return(0,K.of)(J).pipe((0,At.b)(nt=>{this.currentNavigation={id:nt.id,initialUrl:nt.rawUrl,extractedUrl:nt.extractedUrl,trigger:nt.source,extras:nt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ie.w)(nt=>{const Qt=nt.currentBrowserUrl.toString(),In=!p.navigated||nt.extractedUrl.toString()!==Qt||Qt!==nt.currentUrlTree.toString();if(!In&&"reload"!==(nt.extras.onSameUrlNavigation??p.onSameUrlNavigation)){const Zn="";return this.events.next(new ii(nt.id,this.urlSerializer.serialize(nt.rawUrl),Zn,0)),nt.resolve(null),Ae.E}if(p.urlHandlingStrategy.shouldProcessUrl(nt.rawUrl))return(0,K.of)(nt).pipe((0,ie.w)(Zn=>{const Si=this.transitions?.getValue();return this.events.next(new Pr(Zn.id,this.urlSerializer.serialize(Zn.extractedUrl),Zn.source,Zn.restoredState)),Si!==this.transitions?.getValue()?Ae.E:Promise.resolve(Zn)}),function qo(d,h,y,p,x,B){return(0,Ve.z)(J=>function ho(d,h,y,p,x,B,J="emptyOnly"){return new Is(d,h,y,p,x,J,B).recognize()}(d,h,y,p,J.extractedUrl,x,B).pipe((0,V.U)(({state:Re,tree:Dt})=>({...J,targetSnapshot:Re,urlAfterRedirects:Dt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,p.config,this.urlSerializer,p.paramsInheritanceStrategy),(0,At.b)(Zn=>{J.targetSnapshot=Zn.targetSnapshot,J.urlAfterRedirects=Zn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Zn.urlAfterRedirects};const Si=new yr(Zn.id,this.urlSerializer.serialize(Zn.extractedUrl),this.urlSerializer.serialize(Zn.urlAfterRedirects),Zn.targetSnapshot);this.events.next(Si)}));if(In&&p.urlHandlingStrategy.shouldProcessUrl(nt.currentRawUrl)){const{id:Zn,extractedUrl:Si,source:ms,restoredState:Gs,extras:Ho}=nt,nl=new Pr(Zn,this.urlSerializer.serialize(Si),ms,Gs);this.events.next(nl);const rl=Dr(0,this.rootComponentType).snapshot;return this.currentTransition=J={...nt,targetSnapshot:rl,urlAfterRedirects:Si,extras:{...Ho,skipLocationChange:!1,replaceUrl:!1}},(0,K.of)(J)}{const Zn="";return this.events.next(new ii(nt.id,this.urlSerializer.serialize(nt.extractedUrl),Zn,1)),nt.resolve(null),Ae.E}}),(0,At.b)(nt=>{const Qt=new Tr(nt.id,this.urlSerializer.serialize(nt.extractedUrl),this.urlSerializer.serialize(nt.urlAfterRedirects),nt.targetSnapshot);this.events.next(Qt)}),(0,V.U)(nt=>(this.currentTransition=J={...nt,guards:Fr(nt.targetSnapshot,nt.currentSnapshot,this.rootContexts)},J)),function Ko(d,h){return(0,Ve.z)(y=>{const{targetSnapshot:p,currentSnapshot:x,guards:{canActivateChecks:B,canDeactivateChecks:J}}=y;return 0===J.length&&0===B.length?(0,K.of)({...y,guardsResult:!0}):function Ts(d,h,y,p){return(0,I.D)(d).pipe((0,Ve.z)(x=>function gi(d,h,y,p,x){const B=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!B||0===B.length)return(0,K.of)(!0);const J=B.map(Re=>{const Dt=kr(h)??x,nt=fi(Re,Dt);return St(function xs(d){return d&&No(d.canDeactivate)}(nt)?nt.canDeactivate(d,h,y,p):Dt.runInContext(()=>nt(d,h,y,p))).pipe((0,it.P)())});return(0,K.of)(J).pipe(lo())}(x.component,x.route,y,h,p)),(0,it.P)(x=>!0!==x,!0))}(J,p,x,d).pipe((0,Ve.z)(Re=>Re&&function ea(d){return"boolean"==typeof d}(Re)?function Ms(d,h,y,p){return(0,I.D)(h).pipe((0,pt.b)(x=>(0,U.z)(function Fo(d,h){return null!==d&&h&&h(new yo(d)),(0,K.of)(!0)}(x.route.parent,p),function $s(d,h){return null!==d&&h&&h(new Oi(d)),(0,K.of)(!0)}(x.route,p),function Ss(d,h,y){const p=h[h.length-1],B=h.slice(0,h.length-1).reverse().map(J=>function ls(d){const h=d.routeConfig?d.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:d,guards:h}:null}(J)).filter(J=>null!==J).map(J=>(0,Q.P)(()=>{const Re=J.guards.map(Dt=>{const nt=kr(J.node)??y,Qt=fi(Dt,nt);return St(function ws(d){return d&&No(d.canActivateChild)}(Qt)?Qt.canActivateChild(p,d):nt.runInContext(()=>Qt(p,d))).pipe((0,it.P)())});return(0,K.of)(Re).pipe(lo())}));return(0,K.of)(B).pipe(lo())}(d,x.path,y),function Yo(d,h,y){const p=h.routeConfig?h.routeConfig.canActivate:null;if(!p||0===p.length)return(0,K.of)(!0);const x=p.map(B=>(0,Q.P)(()=>{const J=kr(h)??y,Re=fi(B,J);return St(function us(d){return d&&No(d.canActivate)}(Re)?Re.canActivate(h,d):J.runInContext(()=>Re(h,d))).pipe((0,it.P)())}));return(0,K.of)(x).pipe(lo())}(d,x.route,y))),(0,it.P)(x=>!0!==x,!0))}(p,B,d,h):(0,K.of)(Re)),(0,V.U)(Re=>({...y,guardsResult:Re})))})}(this.environmentInjector,nt=>this.events.next(nt)),(0,At.b)(nt=>{if(J.guardsResult=nt.guardsResult,le(nt.guardsResult))throw Ie(0,nt.guardsResult);const Qt=new Ai(nt.id,this.urlSerializer.serialize(nt.extractedUrl),this.urlSerializer.serialize(nt.urlAfterRedirects),nt.targetSnapshot,!!nt.guardsResult);this.events.next(Qt)}),(0,Se.h)(nt=>!!nt.guardsResult||(this.cancelNavigationTransition(nt,"",3),!1)),xo(nt=>{if(nt.guards.canActivateChecks.length)return(0,K.of)(nt).pipe((0,At.b)(Qt=>{const In=new ji(Qt.id,this.urlSerializer.serialize(Qt.extractedUrl),this.urlSerializer.serialize(Qt.urlAfterRedirects),Qt.targetSnapshot);this.events.next(In)}),(0,ie.w)(Qt=>{let In=!1;return(0,K.of)(Qt).pipe(function Xo(d,h){return(0,Ve.z)(y=>{const{targetSnapshot:p,guards:{canActivateChecks:x}}=y;if(!x.length)return(0,K.of)(y);let B=0;return(0,I.D)(x).pipe((0,pt.b)(J=>function Co(d,h,y,p){const x=d.routeConfig,B=d._resolve;return void 0!==x?.title&&!wo(x)&&(B[Ze]=x.title),function es(d,h,y,p){const x=function Zr(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===x.length)return(0,K.of)({});const B={};return(0,I.D)(x).pipe((0,Ve.z)(J=>function Vs(d,h,y,p){const x=kr(h)??p,B=fi(d,x);return St(B.resolve?B.resolve(h,y):x.runInContext(()=>B(h,y)))}(d[J],h,y,p).pipe((0,it.P)(),(0,At.b)(Re=>{B[J]=Re}))),vn(1),function We(d){return(0,V.U)(()=>d)}(B),(0,Rt.K)(J=>Wo(J)?Ae.E:(0,Me._)(J)))}(B,d,h,p).pipe((0,V.U)(J=>(d._resolvedData=J,d.data=Po(d,y).resolve,x&&wo(x)&&(d.data[Ze]=x.title),null)))}(J.route,p,d,h)),(0,At.b)(()=>B++),vn(1),(0,Ve.z)(J=>B===x.length?(0,K.of)(y):Ae.E))})}(p.paramsInheritanceStrategy,this.environmentInjector),(0,At.b)({next:()=>In=!0,complete:()=>{In||this.cancelNavigationTransition(Qt,"",2)}}))}),(0,At.b)(Qt=>{const In=new zo(Qt.id,this.urlSerializer.serialize(Qt.extractedUrl),this.urlSerializer.serialize(Qt.urlAfterRedirects),Qt.targetSnapshot);this.events.next(In)}))}),xo(nt=>{const Qt=In=>{const Ur=[];In.routeConfig?.loadComponent&&!In.routeConfig._loadedComponent&&Ur.push(this.configLoader.loadComponent(In.routeConfig).pipe((0,At.b)(Zn=>{In.component=Zn}),(0,V.U)(()=>{})));for(const Zn of In.children)Ur.push(...Qt(Zn));return Ur};return(0,re.a)(Qt(nt.targetSnapshot.root)).pipe((0,$t.d)(),(0,ce.q)(1))}),xo(()=>this.afterPreactivation()),(0,V.U)(nt=>{const Qt=function lr(d,h,y){const p=Wr(d,h._root,y?y._root:void 0);return new wr(p,h)}(p.routeReuseStrategy,nt.targetSnapshot,nt.currentRouterState);return this.currentTransition=J={...nt,targetRouterState:Qt},J}),(0,At.b)(()=>{this.events.next(new pi)}),((d,h,y,p)=>(0,V.U)(x=>(new Cn(h,x.targetRouterState,x.currentRouterState,y,p).activate(d),x)))(this.rootContexts,p.routeReuseStrategy,nt=>this.events.next(nt),this.inputBindingEnabled),(0,ce.q)(1),(0,At.b)({next:nt=>{Re=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Sr(nt.id,this.urlSerializer.serialize(nt.extractedUrl),this.urlSerializer.serialize(nt.urlAfterRedirects))),p.titleStrategy?.updateTitle(nt.targetRouterState.snapshot),nt.resolve(!0)},complete:()=>{Re=!0}}),(0,at.R)(this.transitionAbortSubject.pipe((0,At.b)(nt=>{throw nt}))),(0,Qe.x)(()=>{Re||Dt||this.cancelNavigationTransition(J,"",1),this.currentNavigation?.id===J.id&&(this.currentNavigation=null)}),(0,Rt.K)(nt=>{if(Dt=!0,st(nt))this.events.next(new Rr(J.id,this.urlSerializer.serialize(J.extractedUrl),nt.message,nt.cancellationCode)),function Pe(d){return st(d)&&le(d.url)}(nt)?this.events.next(new Eo(nt.url)):J.resolve(!1);else{this.events.next(new Xr(J.id,this.urlSerializer.serialize(J.extractedUrl),nt,J.targetSnapshot??void 0));try{J.resolve(p.errorHandler(nt))}catch(Qt){J.reject(Qt)}}return Ae.E}))}))}cancelNavigationTransition(p,x,B){const J=new Rr(p.id,this.urlSerializer.serialize(p.extractedUrl),x,B);this.events.next(J),p.resolve(!1)}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();function de(d){return d!==Or}let qe=(()=>{var d;class h{buildTitle(p){let x,B=p.root;for(;void 0!==B;)x=this.getResolvedTitleForRoute(B)??x,B=B.children.find(J=>J.outlet===ye);return x}getResolvedTitleForRoute(p){return p.data[Ze]}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(yt)},providedIn:"root"}),h})(),yt=(()=>{var d;class h extends qe{constructor(p){super(),this.title=p}updateTitle(p){const x=this.buildTitle(p);void 0!==x&&this.title.setTitle(x)}}return(d=h).\u0275fac=function(p){return new(p||d)(s.LFG(Ot.Dx))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})(),mn=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(Bn)},providedIn:"root"}),h})();class Vn{shouldDetach(h){return!1}store(h,y){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,y){return h.routeConfig===y.routeConfig}}let Bn=(()=>{var d;class h extends Vn{}return(d=h).\u0275fac=function(){let y;return function(x){return(y||(y=s.n5z(d)))(x||d)}}(),d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();const gn=new s.OlP("",{providedIn:"root",factory:()=>({})});let cr=(()=>{var d;class h{}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:function(){return(0,s.f3M)(Xn)},providedIn:"root"}),h})(),Xn=(()=>{var d;class h{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,x){return p}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();var mr=function(d){return d[d.COMPLETE=0]="COMPLETE",d[d.FAILED=1]="FAILED",d[d.REDIRECTING=2]="REDIRECTING",d}(mr||{});function vi(d,h){d.events.pipe((0,Se.h)(y=>y instanceof Sr||y instanceof Rr||y instanceof Xr||y instanceof ii),(0,V.U)(y=>y instanceof Sr||y instanceof ii?mr.COMPLETE:y instanceof Rr&&(0===y.code||1===y.code)?mr.REDIRECTING:mr.FAILED),(0,Se.h)(y=>y!==mr.REDIRECTING),(0,ce.q)(1)).subscribe(()=>{h()})}function Ti(d){throw d}function Mi(d,h,y){return h.parse("/")}const yi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Lr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xr=(()=>{var d;class h{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,s.f3M)(s.c2e),this.isNgZoneEnabled=!1,this._events=new Ne.x,this.options=(0,s.f3M)(gn,{optional:!0})||{},this.pendingTasks=(0,s.f3M)(s.HDt),this.errorHandler=this.options.errorHandler||Ti,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Mi,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,s.f3M)(cr),this.routeReuseStrategy=(0,s.f3M)(mn),this.titleStrategy=(0,s.f3M)(qe),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=(0,s.f3M)(f,{optional:!0})?.flat()??[],this.navigationTransitions=(0,s.f3M)(H),this.urlSerializer=(0,s.f3M)(Zt),this.location=(0,s.f3M)(W.Ye),this.componentInputBindingEnabled=!!(0,s.f3M)(hr,{optional:!0}),this.eventsSubscription=new Ge.w0,this.isNgZoneEnabled=(0,s.f3M)(s.R0b)instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new sn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Dr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(p=>{this.lastSuccessfulId=p.id,this.currentPageId=this.browserPageId},p=>{this.console.warn(`Unhandled Navigation Error: ${p}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const p=this.navigationTransitions.events.subscribe(x=>{try{const{currentTransition:B}=this.navigationTransitions;if(null===B)return void(er(x)&&this._events.next(x));if(x instanceof Pr)de(B.source)&&(this.browserUrlTree=B.extractedUrl);else if(x instanceof ii)this.rawUrlTree=B.rawUrl;else if(x instanceof yr){if("eager"===this.urlUpdateStrategy){if(!B.extras.skipLocationChange){const J=this.urlHandlingStrategy.merge(B.urlAfterRedirects,B.rawUrl);this.setBrowserUrl(J,B)}this.browserUrlTree=B.urlAfterRedirects}}else if(x instanceof pi)this.currentUrlTree=B.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(B.urlAfterRedirects,B.rawUrl),this.routerState=B.targetRouterState,"deferred"===this.urlUpdateStrategy&&(B.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,B),this.browserUrlTree=B.urlAfterRedirects);else if(x instanceof Rr)0!==x.code&&1!==x.code&&(this.navigated=!0),(3===x.code||2===x.code)&&this.restoreHistory(B);else if(x instanceof Eo){const J=this.urlHandlingStrategy.merge(x.url,B.currentRawUrl),Re={skipLocationChange:B.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||de(B.source)};this.scheduleNavigation(J,Or,null,Re,{resolve:B.resolve,reject:B.reject,promise:B.promise})}x instanceof Xr&&this.restoreHistory(B,!0),x instanceof Sr&&(this.navigated=!0),er(x)&&this._events.next(x)}catch(B){this.navigationTransitions.transitionAbortSubject.next(B)}});this.eventsSubscription.add(p)}resetRootComponentType(p){this.routerState.root.component=p,this.navigationTransitions.rootComponentType=p}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const p=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Or,p)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(p=>{const x="popstate"===p.type?"popstate":"hashchange";"popstate"===x&&setTimeout(()=>{this.navigateToSyncWithBrowser(p.url,x,p.state)},0)}))}navigateToSyncWithBrowser(p,x,B){const J={replaceUrl:!0},Re=B?.navigationId?B:null;if(B){const nt={...B};delete nt.navigationId,delete nt.\u0275routerPageId,0!==Object.keys(nt).length&&(J.state=nt)}const Dt=this.parseUrl(p);this.scheduleNavigation(Dt,x,Re,J)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(p){this.config=p.map(Ci),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,this.eventsSubscription.unsubscribe()}createUrlTree(p,x={}){const{relativeTo:B,queryParams:J,fragment:Re,queryParamsHandling:Dt,preserveFragment:nt}=x,Qt=nt?this.currentUrlTree.fragment:Re;let Ur,In=null;switch(Dt){case"merge":In={...this.currentUrlTree.queryParams,...J};break;case"preserve":In=this.currentUrlTree.queryParams;break;default:In=J||null}null!==In&&(In=this.removeEmptyProps(In));try{Ur=oe(B?B.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof p[0]||!p[0].startsWith("/"))&&(p=[]),Ur=this.currentUrlTree.root}return ee(Ur,p,In,Qt??null)}navigateByUrl(p,x={skipLocationChange:!1}){const B=le(p)?p:this.parseUrl(p),J=this.urlHandlingStrategy.merge(B,this.rawUrlTree);return this.scheduleNavigation(J,Or,null,x)}navigate(p,x={skipLocationChange:!1}){return function no(d){for(let h=0;h<d.length;h++)if(null==d[h])throw new s.vHH(4008,!1)}(p),this.navigateByUrl(this.createUrlTree(p,x),x)}serializeUrl(p){return this.urlSerializer.serialize(p)}parseUrl(p){let x;try{x=this.urlSerializer.parse(p)}catch(B){x=this.malformedUriErrorHandler(B,this.urlSerializer,p)}return x}isActive(p,x){let B;if(B=!0===x?{...yi}:!1===x?{...Lr}:x,le(p))return bt(this.currentUrlTree,p,B);const J=this.parseUrl(p);return bt(this.currentUrlTree,J,B)}removeEmptyProps(p){return Object.keys(p).reduce((x,B)=>{const J=p[B];return null!=J&&(x[B]=J),x},{})}scheduleNavigation(p,x,B,J,Re){if(this.disposed)return Promise.resolve(!1);let Dt,nt,Qt;Re?(Dt=Re.resolve,nt=Re.reject,Qt=Re.promise):Qt=new Promise((Ur,Zn)=>{Dt=Ur,nt=Zn});const In=this.pendingTasks.add();return vi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(In))}),this.navigationTransitions.handleNavigationRequest({source:x,restoredState:B,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:p,extras:J,resolve:Dt,reject:nt,promise:Qt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Qt.catch(Ur=>Promise.reject(Ur))}setBrowserUrl(p,x){const B=this.urlSerializer.serialize(p);if(this.location.isCurrentPathEqualTo(B)||x.extras.replaceUrl){const Re={...x.extras.state,...this.generateNgRouterState(x.id,this.browserPageId)};this.location.replaceState(B,"",Re)}else{const J={...x.extras.state,...this.generateNgRouterState(x.id,this.browserPageId+1)};this.location.go(B,"",J)}}restoreHistory(p,x=!1){if("computed"===this.canceledNavigationResolution){const J=this.currentPageId-this.browserPageId;0!==J?this.location.historyGo(J):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===J&&(this.resetState(p),this.browserUrlTree=p.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(x&&this.resetState(p),this.resetUrlToCurrentUrlTree())}resetState(p){this.routerState=p.currentRouterState,this.currentUrlTree=p.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,p.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(p,x){return"computed"===this.canceledNavigationResolution?{navigationId:p,\u0275routerPageId:x}:{navigationId:p}}}return(d=h).\u0275fac=function(p){return new(p||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();function er(d){return!(d instanceof pi||d instanceof Eo)}let Uo=(()=>{var d;class h{constructor(p,x,B,J,Re,Dt){this.router=p,this.route=x,this.tabIndexAttribute=B,this.renderer=J,this.el=Re,this.locationStrategy=Dt,this.href=null,this.commands=null,this.onChanges=new Ne.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const nt=Re.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===nt||"area"===nt,this.isAnchorElement?this.subscription=p.events.subscribe(Qt=>{Qt instanceof Sr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(p){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",p)}ngOnChanges(p){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(p){null!=p?(this.commands=Array.isArray(p)?p:[p],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(p,x,B,J,Re){return!!(null===this.urlTree||this.isAnchorElement&&(0!==p||x||B||J||Re||"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 p=null===this.href?null:(0,s.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",p)}applyAttributeValue(p,x){const B=this.renderer,J=this.el.nativeElement;null!==x?B.setAttribute(J,p,x):B.removeAttribute(J,p)}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=h).\u0275fac=function(p){return new(p||d)(s.Y36(xr),s.Y36(Hi),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(W.S$))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(p,x){1&p&&s.NdJ("click",function(J){return x.onClick(J.button,J.ctrlKey,J.shiftKey,J.altKey,J.metaKey)}),2&p&&s.uIk("target",x.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",s.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",s.VuI],replaceUrl:["replaceUrl","replaceUrl",s.VuI],routerLink:"routerLink"},standalone:!0,features:[s.Xq5,s.TTD]}),h})(),ts=(()=>{var d;class h{get isActive(){return this._isActive}constructor(p,x,B,J,Re){this.router=p,this.element=x,this.renderer=B,this.cdr=J,this.link=Re,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new s.vpe,this.routerEventsSubscription=p.events.subscribe(Dt=>{Dt instanceof Sr&&this.update()})}ngAfterContentInit(){(0,K.of)(this.links.changes,(0,K.of)(null)).pipe((0,ht.J)()).subscribe(p=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const p=[...this.links.toArray(),this.link].filter(x=>!!x).map(x=>x.onChanges);this.linkInputChangesSubscription=(0,I.D)(p).pipe((0,ht.J)()).subscribe(x=>{this._isActive!==this.isLinkActive(this.router)(x)&&this.update()})}set routerLinkActive(p){const x=Array.isArray(p)?p:p.split(" ");this.classes=x.filter(B=>!!B)}ngOnChanges(p){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const p=this.hasActiveLinks();this._isActive!==p&&(this._isActive=p,this.cdr.markForCheck(),this.classes.forEach(x=>{p?this.renderer.addClass(this.element.nativeElement,x):this.renderer.removeClass(this.element.nativeElement,x)}),p&&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(p))})}isLinkActive(p){const x=function ci(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return B=>!!B.urlTree&&p.isActive(B.urlTree,x)}hasActiveLinks(){const p=this.isLinkActive(this.router);return this.link&&p(this.link)||this.links.some(p)}}return(d=h).\u0275fac=function(p){return new(p||d)(s.Y36(xr),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(Uo,8))},d.\u0275dir=s.lG2({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(p,x,B){if(1&p&&s.Suo(B,Uo,5),2&p){let J;s.iGM(J=s.CRH())&&(x.links=J)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[s.TTD]}),h})();class Os{}let bi=(()=>{var d;class h{constructor(p,x,B,J,Re){this.router=p,this.injector=B,this.preloadingStrategy=J,this.loader=Re}setUpPreloading(){this.subscription=this.router.events.pipe((0,Se.h)(p=>p instanceof Sr),(0,pt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(p,x){const B=[];for(const J of x){J.providers&&!J._injector&&(J._injector=(0,s.MMx)(J.providers,p,`Route: ${J.path}`));const Re=J._injector??p,Dt=J._loadedInjector??Re;(J.loadChildren&&!J._loadedRoutes&&void 0===J.canLoad||J.loadComponent&&!J._loadedComponent)&&B.push(this.preloadConfig(Re,J)),(J.children||J._loadedRoutes)&&B.push(this.processRoutes(Dt,J.children??J._loadedRoutes))}return(0,I.D)(B).pipe((0,ht.J)())}preloadConfig(p,x){return this.preloadingStrategy.preload(x,()=>{let B;B=x.loadChildren&&void 0===x.canLoad?this.loader.loadChildren(p,x):(0,K.of)(null);const J=B.pipe((0,Ve.z)(Re=>null===Re?(0,K.of)(void 0):(x._loadedRoutes=Re.routes,x._loadedInjector=Re.injector,this.processRoutes(Re.injector??p,Re.routes))));if(x.loadComponent&&!x._loadedComponent){const Re=this.loader.loadComponent(x);return(0,I.D)([J,Re]).pipe((0,ht.J)())}return J})}}return(d=h).\u0275fac=function(p){return new(p||d)(s.LFG(xr),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(Os),s.LFG(T))},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),h})();const Ps=new s.OlP("");let C=(()=>{var d;class h{constructor(p,x,B,J,Re={}){this.urlSerializer=p,this.transitions=x,this.viewportScroller=B,this.zone=J,this.options=Re,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Re.scrollPositionRestoration=Re.scrollPositionRestoration||"disabled",Re.anchorScrolling=Re.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(p=>{p instanceof Pr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof Sr?(this.lastId=p.id,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.urlAfterRedirects).fragment)):p instanceof ii&&0===p.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof oi&&(p.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(p.position):p.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(p.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(p,x){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new oi(p,"popstate"===this.lastSource?this.store[this.restoredId]:null,x))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(d=h).\u0275fac=function(p){s.$Z()},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),h})();function g(d,h){return{\u0275kind:d,\u0275providers:h}}function $e(){const d=(0,s.f3M)(s.zs3);return h=>{const y=d.get(s.z2F);if(h!==y.components[0])return;const p=d.get(xr),x=d.get(ke);1===d.get(Bt)&&p.initialNavigation(),d.get(Kt,null,s.XFs.Optional)?.setUpPreloading(),d.get(Ps,null,s.XFs.Optional)?.init(),p.resetRootComponentType(y.componentTypes[0]),x.closed||(x.next(),x.complete(),x.unsubscribe())}}const ke=new s.OlP("",{factory:()=>new Ne.x}),Bt=new s.OlP("",{providedIn:"root",factory:()=>1}),Kt=new s.OlP("");function un(d){return g(0,[{provide:Kt,useExisting:bi},{provide:Os,useExisting:d}])}const po=new s.OlP("ROUTER_FORROOT_GUARD"),ut=[W.Ye,{provide:Zt,useClass:or},xr,tr,{provide:Hi,useFactory:function c(d){return d.routerState.root},deps:[xr]},T,[]];function cn(){return new s.PXZ("Router",xr)}let Gi=(()=>{var d;class h{constructor(p){}static forRoot(p,x){return{ngModule:h,providers:[ut,[],{provide:f,multi:!0,useValue:p},{provide:po,useFactory:ur,deps:[[xr,new s.FiY,new s.tp0]]},{provide:gn,useValue:x||{}},x?.useHash?{provide:W.S$,useClass:W.Do}:{provide:W.S$,useClass:W.b0},{provide:Ps,useFactory:()=>{const d=(0,s.f3M)(W.EM),h=(0,s.f3M)(s.R0b),y=(0,s.f3M)(gn),p=(0,s.f3M)(H),x=(0,s.f3M)(Zt);return y.scrollOffset&&d.setOffset(y.scrollOffset),new C(x,p,d,h,y)}},x?.preloadingStrategy?un(x.preloadingStrategy).\u0275providers:[],{provide:s.PXZ,multi:!0,useFactory:cn},x?.initialNavigation?ri(x):[],x?.bindToComponentInputs?g(8,[Ri,{provide:hr,useExisting:Ri}]).\u0275providers:[],[{provide:jr,useFactory:$e},{provide:s.tb,multi:!0,useExisting:jr}]]}}static forChild(p){return{ngModule:h,providers:[{provide:f,multi:!0,useValue:p}]}}}return(d=h).\u0275fac=function(p){return new(p||d)(s.LFG(po,8))},d.\u0275mod=s.oAB({type:d}),d.\u0275inj=s.cJS({}),h})();function ur(d){return"guarded"}function ri(d){return["disabled"===d.initialNavigation?g(3,[{provide:s.ip1,multi:!0,useFactory:()=>{const h=(0,s.f3M)(xr);return()=>{h.setUpLocationChangeListener()}}},{provide:Bt,useValue:2}]).\u0275providers:[],"enabledBlocking"===d.initialNavigation?g(2,[{provide:Bt,useValue:0},{provide:s.ip1,multi:!0,deps:[s.zs3],useFactory:h=>{const y=h.get(W.V_,Promise.resolve());return()=>y.then(()=>new Promise(p=>{const x=h.get(xr),B=h.get(ke);vi(x,()=>{p(!0)}),h.get(H).afterPreactivation=()=>(p(!0),B.closed?(0,K.of)(void 0):B),x.initialNavigation()}))}}]).\u0275providers:[]]}const jr=new s.OlP("")},3106:(mt,Ce,v)=>{v.d(Ce,{Z:()=>Ge});var s=v(9058),m=v(4537),z=v(534),j=v(7879);class I{constructor(Ye,He){this._delegate=Ye,this.firebase=He,(0,z._addComponent)(Ye,new m.wA("app-compat",()=>this,"PUBLIC")),this.container=Ye.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(Ye){this._delegate.automaticDataCollectionEnabled=Ye}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(Ye=>{this._delegate.checkDestroyed(),Ye()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,z.deleteApp)(this._delegate)))}_getService(Ye,He=z._DEFAULT_ENTRY_NAME){var dt;this._delegate.checkDestroyed();const Ne=this._delegate.container.getProvider(Ye);return!Ne.isInitialized()&&"EXPLICIT"===(null===(dt=Ne.getComponent())||void 0===dt?void 0:dt.instantiationMode)&&Ne.initialize(),Ne.getImmediate({identifier:He})}_removeServiceInstance(Ye,He=z._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(Ye).clearInstance(He)}_addComponent(Ye){(0,z._addComponent)(this._delegate,Ye)}_addOrOverwriteComponent(Ye){(0,z._addOrOverwriteComponent)(this._delegate,Ye)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const Y=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."}),U=function te(){const xe=function re(xe){const Ye={},He={__esModule:!0,initializeApp:function W(ge,Se={}){const Ve=z.initializeApp(ge,Se);if((0,s.r3)(Ye,Ve.name))return Ye[Ve.name];const it=new xe(Ve,He);return Ye[Ve.name]=it,it},app:Ne,registerVersion:z.registerVersion,setLogLevel:z.setLogLevel,onLog:z.onLog,apps:null,SDK_VERSION:z.SDK_VERSION,INTERNAL:{registerComponent:function ie(ge){const Se=ge.name,Ve=Se.replace("-compat","");if(z._registerComponent(ge)&&"PUBLIC"===ge.type){const it=(pt=Ne())=>{if("function"!=typeof pt[Ve])throw Y.create("invalid-app-argument",{appName:Se});return pt[Ve]()};void 0!==ge.serviceProps&&(0,s.ZB)(it,ge.serviceProps),He[Ve]=it,xe.prototype[Ve]=function(...pt){return this._getService.bind(this,Se).apply(this,ge.multipleInstances?pt:[])}}return"PUBLIC"===ge.type?He[Ve]:null},removeApp:function dt(ge){delete Ye[ge]},useAsService:function ce(ge,Se){return"serverAuth"===Se?null:Se},modularAPIs:z}};function Ne(ge){if(!(0,s.r3)(Ye,ge=ge||z._DEFAULT_ENTRY_NAME))throw Y.create("no-app",{appName:ge});return Ye[ge]}return He.default=He,Object.defineProperty(He,"apps",{get:function V(){return Object.keys(Ye).map(ge=>Ye[ge])}}),Ne.App=xe,He}(I);return xe.INTERNAL=Object.assign(Object.assign({},xe.INTERNAL),{createFirebaseNamespace:te,extendNamespace:function Ye(He){(0,s.ZB)(xe,He)},createSubscribe:s.ne,ErrorFactory:s.LL,deepExtend:s.ZB}),xe}(),Q=new j.Yd("@firebase/app-compat");if((0,s.jU)()&&void 0!==self.firebase){Q.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const xe=self.firebase.SDK_VERSION;xe&&xe.indexOf("LITE")>=0&&Q.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 Ge=U;!function Ae(xe){(0,z.registerVersion)("@firebase/app-compat","0.2.13",xe)}()},534:(mt,Ce,v)=>{v.r(Ce),v.d(Ce,{FirebaseError:()=>j.ZR,SDK_VERSION:()=>Ke,_DEFAULT_ENTRY_NAME:()=>sn,_addComponent:()=>yn,_addOrOverwriteComponent:()=>Fn,_apps:()=>Sn,_clearComponents:()=>Jn,_components:()=>dn,_getProvider:()=>or,_registerComponent:()=>Zt,_removeServiceInstance:()=>an,deleteApp:()=>lt,getApp:()=>Et,getApps:()=>ze,initializeApp:()=>wt,onLog:()=>tn,registerVersion:()=>Ht,setLogLevel:()=>qn});var s=v(5861),m=v(4537),z=v(7879),j=v(9058);const I=(X,ue)=>ue.some(we=>X instanceof we);let K,Y;const U=new WeakMap,Q=new WeakMap,he=new WeakMap,Me=new WeakMap,Ae=new WeakMap;let Ye={get(X,ue,we){if(X instanceof IDBTransaction){if("done"===ue)return Q.get(X);if("objectStoreNames"===ue)return X.objectStoreNames||he.get(X);if("store"===ue)return we.objectStoreNames[1]?void 0:we.objectStore(we.objectStoreNames[0])}return W(X[ue])},set:(X,ue,we)=>(X[ue]=we,!0),has:(X,ue)=>X instanceof IDBTransaction&&("done"===ue||"store"===ue)||ue in X};function Ne(X){return"function"==typeof X?function dt(X){return X!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function te(){return Y||(Y=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(X)?function(...ue){return X.apply(V(this),ue),W(U.get(this))}:function(...ue){return W(X.apply(V(this),ue))}:function(ue,...we){const rt=X.call(V(this),ue,...we);return he.set(rt,ue.sort?ue.sort():[ue]),W(rt)}}(X):(X instanceof IDBTransaction&&function xe(X){if(Q.has(X))return;const ue=new Promise((we,rt)=>{const Je=()=>{X.removeEventListener("complete",xt),X.removeEventListener("error",Pt),X.removeEventListener("abort",Pt)},xt=()=>{we(),Je()},Pt=()=>{rt(X.error||new DOMException("AbortError","AbortError")),Je()};X.addEventListener("complete",xt),X.addEventListener("error",Pt),X.addEventListener("abort",Pt)});Q.set(X,ue)}(X),I(X,function re(){return K||(K=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(X,Ye):X)}function W(X){if(X instanceof IDBRequest)return function Ge(X){const ue=new Promise((we,rt)=>{const Je=()=>{X.removeEventListener("success",xt),X.removeEventListener("error",Pt)},xt=()=>{we(W(X.result)),Je()},Pt=()=>{rt(X.error),Je()};X.addEventListener("success",xt),X.addEventListener("error",Pt)});return ue.then(we=>{we instanceof IDBCursor&&U.set(we,X)}).catch(()=>{}),Ae.set(ue,X),ue}(X);if(Me.has(X))return Me.get(X);const ue=Ne(X);return ue!==X&&(Me.set(X,ue),Ae.set(ue,X)),ue}const V=X=>Ae.get(X),ge=["get","getKey","getAll","getAllKeys","count"],Se=["put","add","delete","clear"],Ve=new Map;function it(X,ue){var we;if(!(X instanceof IDBDatabase)||ue in X||"string"!=typeof ue)return;if(Ve.get(ue))return Ve.get(ue);const rt=ue.replace(/FromIndex$/,""),Je=ue!==rt,xt=Se.includes(rt);if(!(rt in(Je?IDBIndex:IDBObjectStore).prototype)||!xt&&!ge.includes(rt))return;const Pt=function(zn){return(we=we||(0,s.Z)(function*(Nn,...sr){const Vr=this.transaction(Nn,xt?"readwrite":"readonly");let Ar=Vr.store;return Je&&(Ar=Ar.index(sr.shift())),(yield Promise.all([Ar[rt](...sr),xt&&Vr.done]))[0]})).apply(this,arguments)};return Ve.set(ue,Pt),Pt}var pt,At,Rt;!function He(X){Ye=X(Ye)}(X=>({...X,get:(ue,we,rt)=>it(ue,we)||X.get(ue,we,rt),has:(ue,we)=>!!it(ue,we)||X.has(ue,we)}));class Wt{constructor(ue){this.container=ue}getPlatformInfoString(){return this.container.getProviders().map(we=>{if(function $t(X){const ue=X.getComponent();return"VERSION"===ue?.type}(we)){const rt=we.getImmediate();return`${rt.library}/${rt.version}`}return null}).filter(we=>we).join(" ")}}const vn="@firebase/app",Be=new z.Yd("@firebase/app"),sn="[DEFAULT]",en={[vn]:"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"},Sn=new Map,dn=new Map;function yn(X,ue){try{X.container.addComponent(ue)}catch(we){Be.debug(`Component ${ue.name} failed to register with FirebaseApp ${X.name}`,we)}}function Fn(X,ue){X.container.addOrOverwriteComponent(ue)}function Zt(X){const ue=X.name;if(dn.has(ue))return Be.debug(`There were multiple attempts to register component ${ue}.`),!1;dn.set(ue,X);for(const we of Sn.values())yn(we,X);return!0}function or(X,ue){const we=X.container.getProvider("heartbeat").getImmediate({optional:!0});return we&&we.triggerHeartbeat(),X.container.getProvider(ue)}function an(X,ue,we=sn){or(X,ue).clearInstance(we)}function Jn(){dn.clear()}const An=new j.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","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 dr{constructor(ue,we,rt){this._isDeleted=!1,this._options=Object.assign({},ue),this._config=Object.assign({},we),this._name=we.name,this._automaticDataCollectionEnabled=we.automaticDataCollectionEnabled,this._container=rt,this.container.addComponent(new m.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(ue){this.checkDestroyed(),this._automaticDataCollectionEnabled=ue}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(ue){this._isDeleted=ue}checkDestroyed(){if(this.isDeleted)throw An.create("app-deleted",{appName:this._name})}}const Ke="9.23.0";function wt(X,ue={}){let we=X;"object"!=typeof ue&&(ue={name:ue});const rt=Object.assign({name:sn,automaticDataCollectionEnabled:!1},ue),Je=rt.name;if("string"!=typeof Je||!Je)throw An.create("bad-app-name",{appName:String(Je)});if(we||(we=(0,j.aH)()),!we)throw An.create("no-options");const xt=Sn.get(Je);if(xt){if((0,j.vZ)(we,xt.options)&&(0,j.vZ)(rt,xt.config))return xt;throw An.create("duplicate-app",{appName:Je})}const Pt=new m.H0(Je);for(const zn of dn.values())Pt.addComponent(zn);const Rn=new dr(we,rt,Pt);return Sn.set(Je,Rn),Rn}function Et(X=sn){const ue=Sn.get(X);if(!ue&&X===sn&&(0,j.aH)())return wt();if(!ue)throw An.create("no-app",{appName:X});return ue}function ze(){return Array.from(Sn.values())}function lt(X){return(pt=pt||(0,s.Z)(function*(ue){const we=ue.name;Sn.has(we)&&(Sn.delete(we),yield Promise.all(ue.container.getProviders().map(rt=>rt.delete())),ue.isDeleted=!0)})).apply(this,arguments)}function Ht(X,ue,we){var rt;let Je=null!==(rt=en[X])&&void 0!==rt?rt:X;we&&(Je+=`-${we}`);const xt=Je.match(/\s|\//),Pt=ue.match(/\s|\//);if(xt||Pt){const Rn=[`Unable to register library "${Je}" with version "${ue}":`];return xt&&Rn.push(`library name "${Je}" contains illegal characters (whitespace or "/")`),xt&&Pt&&Rn.push("and"),Pt&&Rn.push(`version name "${ue}" contains illegal characters (whitespace or "/")`),void Be.warn(Rn.join(" "))}Zt(new m.wA(`${Je}-version`,()=>({library:Je,version:ue}),"VERSION"))}function tn(X,ue){if(null!==X&&"function"!=typeof X)throw An.create("invalid-log-argument");(0,z.Am)(X,ue)}function qn(X){(0,z.Ub)(X)}const me="firebase-heartbeat-database",L=1,N="firebase-heartbeat-store";let O=null;function D(){return O||(O=function ie(X,ue,{blocked:we,upgrade:rt,blocking:Je,terminated:xt}={}){const Pt=indexedDB.open(X,ue),Rn=W(Pt);return rt&&Pt.addEventListener("upgradeneeded",zn=>{rt(W(Pt.result),zn.oldVersion,zn.newVersion,W(Pt.transaction),zn)}),we&&Pt.addEventListener("blocked",zn=>we(zn.oldVersion,zn.newVersion,zn)),Rn.then(zn=>{xt&&zn.addEventListener("close",()=>xt()),Je&&zn.addEventListener("versionchange",Nn=>Je(Nn.oldVersion,Nn.newVersion,Nn))}).catch(()=>{}),Rn}(me,L,{upgrade:(X,ue)=>{0===ue&&X.createObjectStore(N)}}).catch(X=>{throw An.create("idb-open",{originalErrorMessage:X.message})})),O}function R(X,ue){return(Rt=Rt||(0,s.Z)(function*(we,rt){try{const xt=(yield D()).transaction(N,"readwrite");yield xt.objectStore(N).put(rt,P(we)),yield xt.done}catch(Je){if(Je instanceof j.ZR)Be.warn(Je.message);else{const xt=An.create("idb-set",{originalErrorMessage:Je?.message});Be.warn(xt.message)}}})).apply(this,arguments)}function P(X){return`${X.name}!${X.options.appId}`}class ne{constructor(ue){this.container=ue,this._heartbeatsCache=null;const we=this.container.getProvider("app").getImmediate();this._storage=new oe(we),this._heartbeatsCachePromise=this._storage.read().then(rt=>(this._heartbeatsCache=rt,rt))}triggerHeartbeat(){var ue=this;return(0,s.Z)(function*(){const rt=ue.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),Je=le();if(null===ue._heartbeatsCache&&(ue._heartbeatsCache=yield ue._heartbeatsCachePromise),ue._heartbeatsCache.lastSentHeartbeatDate!==Je&&!ue._heartbeatsCache.heartbeats.some(xt=>xt.date===Je))return ue._heartbeatsCache.heartbeats.push({date:Je,agent:rt}),ue._heartbeatsCache.heartbeats=ue._heartbeatsCache.heartbeats.filter(xt=>{const Pt=new Date(xt.date).valueOf();return Date.now()-Pt<=2592e6}),ue._storage.overwrite(ue._heartbeatsCache)})()}getHeartbeatsHeader(){var ue=this;return(0,s.Z)(function*(){if(null===ue._heartbeatsCache&&(yield ue._heartbeatsCachePromise),null===ue._heartbeatsCache||0===ue._heartbeatsCache.heartbeats.length)return"";const we=le(),{heartbeatsToSend:rt,unsentEntries:Je}=function Le(X,ue=1024){const we=[];let rt=X.slice();for(const Je of X){const xt=we.find(Pt=>Pt.agent===Je.agent);if(xt){if(xt.dates.push(Je.date),ee(we)>ue){xt.dates.pop();break}}else if(we.push({agent:Je.agent,dates:[Je.date]}),ee(we)>ue){we.pop();break}rt=rt.slice(1)}return{heartbeatsToSend:we,unsentEntries:rt}}(ue._heartbeatsCache.heartbeats),xt=(0,j.L)(JSON.stringify({version:2,heartbeats:rt}));return ue._heartbeatsCache.lastSentHeartbeatDate=we,Je.length>0?(ue._heartbeatsCache.heartbeats=Je,yield ue._storage.overwrite(ue._heartbeatsCache)):(ue._heartbeatsCache.heartbeats=[],ue._storage.overwrite(ue._heartbeatsCache)),xt})()}}function le(){return(new Date).toISOString().substring(0,10)}class oe{constructor(ue){this.app=ue,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,s.Z)(function*(){return!!(0,j.hl)()&&(0,j.eu)().then(()=>!0).catch(()=>!1)})()}read(){var ue=this;return(0,s.Z)(function*(){return(yield ue._canUseIndexedDBPromise)&&(yield function k(X){return(At=At||(0,s.Z)(function*(ue){try{return yield(yield D()).transaction(N).objectStore(N).get(P(ue))}catch(we){if(we instanceof j.ZR)Be.warn(we.message);else{const rt=An.create("idb-get",{originalErrorMessage:we?.message});Be.warn(rt.message)}}})).apply(this,arguments)}(ue.app))||{heartbeats:[]}})()}overwrite(ue){var we=this;return(0,s.Z)(function*(){var rt;if(yield we._canUseIndexedDBPromise){const xt=yield we.read();return R(we.app,{lastSentHeartbeatDate:null!==(rt=ue.lastSentHeartbeatDate)&&void 0!==rt?rt:xt.lastSentHeartbeatDate,heartbeats:ue.heartbeats})}})()}add(ue){var we=this;return(0,s.Z)(function*(){var rt;if(yield we._canUseIndexedDBPromise){const xt=yield we.read();return R(we.app,{lastSentHeartbeatDate:null!==(rt=ue.lastSentHeartbeatDate)&&void 0!==rt?rt:xt.lastSentHeartbeatDate,heartbeats:[...xt.heartbeats,...ue.heartbeats]})}})()}}function ee(X){return(0,j.L)(JSON.stringify({version:2,heartbeats:X})).length}!function Oe(X){Zt(new m.wA("platform-logger",ue=>new Wt(ue),"PRIVATE")),Zt(new m.wA("heartbeat",ue=>new ne(ue),"PRIVATE")),Ht(vn,"0.9.13",X),Ht(vn,"0.9.13","esm2017"),Ht("fire-js","")}("")},4537:(mt,Ce,v)=>{v.d(Ce,{H0:()=>re,wA:()=>z});var s=v(5861),m=v(9058);class z{constructor(U,Q,he){this.name=U,this.instanceFactory=Q,this.type=he,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(U){return this.instantiationMode=U,this}setMultipleInstances(U){return this.multipleInstances=U,this}setServiceProps(U){return this.serviceProps=U,this}setInstanceCreatedCallback(U){return this.onInstanceCreated=U,this}}const j="[DEFAULT]";class I{constructor(U,Q){this.name=U,this.container=Q,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(U){const Q=this.normalizeInstanceIdentifier(U);if(!this.instancesDeferred.has(Q)){const he=new m.BH;if(this.instancesDeferred.set(Q,he),this.isInitialized(Q)||this.shouldAutoInitialize())try{const Me=this.getOrInitializeService({instanceIdentifier:Q});Me&&he.resolve(Me)}catch{}}return this.instancesDeferred.get(Q).promise}getImmediate(U){var Q;const he=this.normalizeInstanceIdentifier(U?.identifier),Me=null!==(Q=U?.optional)&&void 0!==Q&&Q;if(!this.isInitialized(he)&&!this.shouldAutoInitialize()){if(Me)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:he})}catch(Ae){if(Me)return null;throw Ae}}getComponent(){return this.component}setComponent(U){if(U.name!==this.name)throw Error(`Mismatching Component ${U.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=U,this.shouldAutoInitialize()){if(function Y(te){return"EAGER"===te.instantiationMode}(U))try{this.getOrInitializeService({instanceIdentifier:j})}catch{}for(const[Q,he]of this.instancesDeferred.entries()){const Me=this.normalizeInstanceIdentifier(Q);try{const Ae=this.getOrInitializeService({instanceIdentifier:Me});he.resolve(Ae)}catch{}}}}clearInstance(U=j){this.instancesDeferred.delete(U),this.instancesOptions.delete(U),this.instances.delete(U)}delete(){var U=this;return(0,s.Z)(function*(){const Q=Array.from(U.instances.values());yield Promise.all([...Q.filter(he=>"INTERNAL"in he).map(he=>he.INTERNAL.delete()),...Q.filter(he=>"_delete"in he).map(he=>he._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(U=j){return this.instances.has(U)}getOptions(U=j){return this.instancesOptions.get(U)||{}}initialize(U={}){const{options:Q={}}=U,he=this.normalizeInstanceIdentifier(U.instanceIdentifier);if(this.isInitialized(he))throw Error(`${this.name}(${he}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const Me=this.getOrInitializeService({instanceIdentifier:he,options:Q});for(const[Ae,Ge]of this.instancesDeferred.entries())he===this.normalizeInstanceIdentifier(Ae)&&Ge.resolve(Me);return Me}onInit(U,Q){var he;const Me=this.normalizeInstanceIdentifier(Q),Ae=null!==(he=this.onInitCallbacks.get(Me))&&void 0!==he?he:new Set;Ae.add(U),this.onInitCallbacks.set(Me,Ae);const Ge=this.instances.get(Me);return Ge&&U(Ge,Me),()=>{Ae.delete(U)}}invokeOnInitCallbacks(U,Q){const he=this.onInitCallbacks.get(Q);if(he)for(const Me of he)try{Me(U,Q)}catch{}}getOrInitializeService({instanceIdentifier:U,options:Q={}}){let he=this.instances.get(U);if(!he&&this.component&&(he=this.component.instanceFactory(this.container,{instanceIdentifier:(te=U,te===j?void 0:te),options:Q}),this.instances.set(U,he),this.instancesOptions.set(U,Q),this.invokeOnInitCallbacks(he,U),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,U,he)}catch{}var te;return he||null}normalizeInstanceIdentifier(U=j){return this.component?this.component.multipleInstances?U:j:U}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class re{constructor(U){this.name=U,this.providers=new Map}addComponent(U){const Q=this.getProvider(U.name);if(Q.isComponentSet())throw new Error(`Component ${U.name} has already been registered with ${this.name}`);Q.setComponent(U)}addOrOverwriteComponent(U){this.getProvider(U.name).isComponentSet()&&this.providers.delete(U.name),this.addComponent(U)}getProvider(U){if(this.providers.has(U))return this.providers.get(U);const Q=new I(U,this);return this.providers.set(U,Q),Q}getProviders(){return Array.from(this.providers.values())}}},7879:(mt,Ce,v)=>{v.d(Ce,{Am:()=>te,Ub:()=>re,Yd:()=>Y,in:()=>m});const s=[];var m=function(U){return U[U.DEBUG=0]="DEBUG",U[U.VERBOSE=1]="VERBOSE",U[U.INFO=2]="INFO",U[U.WARN=3]="WARN",U[U.ERROR=4]="ERROR",U[U.SILENT=5]="SILENT",U}(m||{});const z={debug:m.DEBUG,verbose:m.VERBOSE,info:m.INFO,warn:m.WARN,error:m.ERROR,silent:m.SILENT},j=m.INFO,I={[m.DEBUG]:"log",[m.VERBOSE]:"log",[m.INFO]:"info",[m.WARN]:"warn",[m.ERROR]:"error"},K=(U,Q,...he)=>{if(Q<U.logLevel)return;const Me=(new Date).toISOString(),Ae=I[Q];if(!Ae)throw new Error(`Attempted to log a message with an invalid logType (value: ${Q})`);console[Ae](`[${Me}] ${U.name}:`,...he)};class Y{constructor(Q){this.name=Q,this._logLevel=j,this._logHandler=K,this._userLogHandler=null,s.push(this)}get logLevel(){return this._logLevel}set logLevel(Q){if(!(Q in m))throw new TypeError(`Invalid value "${Q}" assigned to \`logLevel\``);this._logLevel=Q}setLogLevel(Q){this._logLevel="string"==typeof Q?z[Q]:Q}get logHandler(){return this._logHandler}set logHandler(Q){if("function"!=typeof Q)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=Q}get userLogHandler(){return this._userLogHandler}set userLogHandler(Q){this._userLogHandler=Q}debug(...Q){this._userLogHandler&&this._userLogHandler(this,m.DEBUG,...Q),this._logHandler(this,m.DEBUG,...Q)}log(...Q){this._userLogHandler&&this._userLogHandler(this,m.VERBOSE,...Q),this._logHandler(this,m.VERBOSE,...Q)}info(...Q){this._userLogHandler&&this._userLogHandler(this,m.INFO,...Q),this._logHandler(this,m.INFO,...Q)}warn(...Q){this._userLogHandler&&this._userLogHandler(this,m.WARN,...Q),this._logHandler(this,m.WARN,...Q)}error(...Q){this._userLogHandler&&this._userLogHandler(this,m.ERROR,...Q),this._logHandler(this,m.ERROR,...Q)}}function re(U){s.forEach(Q=>{Q.setLogLevel(U)})}function te(U,Q){for(const he of s){let Me=null;Q&&Q.level&&(Me=z[Q.level]),he.userLogHandler=null===U?null:(Ae,Ge,...xe)=>{const Ye=xe.map(He=>{if(null==He)return null;if("string"==typeof He)return He;if("number"==typeof He||"boolean"==typeof He)return He.toString();if(He instanceof Error)return He.message;try{return JSON.stringify(He)}catch{return null}}).filter(He=>He).join(" ");Ge>=(Me??Ae.logLevel)&&U({level:m[Ge].toLowerCase(),message:Ye,args:xe,type:Ae.name})}}}},3182:(mt,Ce,v)=>{v.d(Ce,{C6:()=>s.getApps,Mq:()=>s.getApp});var s=v(534);(0,s.registerVersion)("firebase","9.23.0","app")},7142:(mt,Ce,v)=>{v.d(Ce,{Z:()=>s.Z});var s=v(3106);s.Z.registerVersion("firebase","9.23.0","app-compat")},6280:(mt,Ce,v)=>{v.d(Ce,{Cz:()=>dt,ys:()=>He});var s=v(5861),m=v(5879),z=v(6814),j=v(5592),I=v(2459),K=v(2572),Y=v(8645),re=v(8180);function te(Ne,W,V,ie){return new Promise((ce,ge)=>{Ne||ge("IndexedDB not available");const Se=Ne.open(W,V);let Ve;Se.onsuccess=it=>{Ve=Se.result,ce(Ve)},Se.onerror=it=>{ge(`IndexedDB error: ${Se.error}`)},"function"==typeof ie&&(Se.onupgradeneeded=it=>{ie(it,Ve)})})}function U(Ne,W,V,ie,ce){if(!Ne)return;const ge=Ne.open(W,V);ge.onupgradeneeded=Se=>{const Ve=Se.target.result;ie.forEach(pt=>{if(!Ve.objectStoreNames.contains(pt.store)){const At=Ve.createObjectStore(pt.store,pt.storeConfig);pt.storeSchema.forEach(Rt=>{At.createIndex(Rt.name,Rt.keypath,Rt.options)})}});const it=ce&&ce();it&&Object.keys(it).map(pt=>parseInt(pt,10)).filter(pt=>pt>Se.oldVersion).sort((pt,At)=>pt-At).forEach(pt=>{it[pt](Ve,ge.transaction)}),Ve.close()},ge.onsuccess=Se=>{Se.target.result.close()}}function Me(Ne,W,V){Ne||V("You need to use the openDatabase function to create a database before you query it!"),function he(Ne,W){return Ne.objectStoreNames.contains(W)}(Ne,W)||V(`objectStore does not exists: ${W}`)}function Ae(Ne,W){const V=Ne.transaction(W.storeName,W.dbMode);return V.onerror=W.error,V.onabort=W.abort,V}function Ge(Ne,W,V,ie){return{storeName:W,dbMode:Ne,error:ce=>{V(ce)},abort:ce=>{V(ce)}}}var xe=function(Ne){return Ne.readonly="readonly",Ne.readwrite="readwrite",Ne}(xe||{});const Ye=new m.OlP(null);let He=(()=>{class Ne{constructor(V,ie){if(this.dbConfig=V,this.platformId=ie,!V.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!V.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=(0,z.NF)(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,U(this.indexedDB,V.name,V.version,V.objectStoresMeta,V.migrationFactory),te(this.indexedDB,V.name).then(ce=>{ce.version!==V.version&&(this.dbConfig.version=ce.version)}))}createObjectStore(V,ie){const ce=[V];U(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,ce,ie)}add(V,ie,ce){return new j.y(ge=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Se=>{var Ve;const pt=Ae(Se,Ge(xe.readwrite,V,Rt=>ge.error(Rt))).objectStore(V);(ce?pt.add(ie,ce):pt.add(ie)).onsuccess=function(Rt){return(Ve=Ve||(0,s.Z)(function*(Wt){pt.get(Wt.target.result).onsuccess=xn=>{ge.next(xn.target.result),ge.complete()}})).apply(this,arguments)}}).catch(Se=>ge.error(Se))})}bulkAdd(V,ie){const ce=new Promise((ge,Se)=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ve=>{const pt=Ae(Ve,Ge(xe.readwrite,V,ge)).objectStore(V),At=ie.map(Rt=>new Promise((Wt,$t)=>{const vn=Rt.key;delete Rt.key,(vn?pt.add(Rt,vn):pt.add(Rt)).onsuccess=Be=>{Wt(Be.target.result)}}));ge(Promise.all(At))}).catch(Ve=>Se(Ve))});return(0,I.D)(ce)}bulkDelete(V,ie){const ce=ie.map(ge=>new Promise((Se,Ve)=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(it=>{const pt=Ae(it,Ge(xe.readwrite,V,Ve));pt.objectStore(V).delete(ge),pt.oncomplete=()=>{this.getAll(V).pipe((0,re.q)(1)).subscribe(Rt=>{Se(Rt)})}}).catch(it=>Ve(it))}));return(0,I.D)(Promise.all(ce))}getByKey(V,ie){return new j.y(ce=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{const it=Ae(ge,Ge(xe.readonly,V,ce.error)).objectStore(V).get(ie);it.onsuccess=pt=>{ce.next(pt.target.result),ce.complete()},it.onerror=pt=>{ce.error(pt)}}).catch(ge=>ce.error(ge))})}bulkGet(V,ie){const ce=ie.map(ge=>this.getByKey(V,ge));return new j.y(ge=>{(0,K.a)(ce).subscribe(Se=>{ge.next(Se),ge.complete()})})}getByID(V,ie){return new j.y(ce=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Me(ge,V,pt=>ce.error(pt)),Ae(ge,Ge(xe.readonly,V,ce.error)).objectStore(V).get(ie).onsuccess=pt=>{ce.next(pt.target.result)}}).catch(ge=>ce.error(ge))})}getByIndex(V,ie,ce){return new j.y(ge=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Se=>{Me(Se,V,Rt=>ge.error(Rt)),Ae(Se,Ge(xe.readonly,V,ge.error)).objectStore(V).index(ie).get(ce).onsuccess=Rt=>{ge.next(Rt.target.result),ge.complete()}}).catch(Se=>ge.error(Se))})}getAll(V){return new j.y(ie=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ce=>{Me(ce,V,it=>ie.error(it));const Ve=Ae(ce,Ge(xe.readonly,V,ie.error)).objectStore(V).getAll();Ve.onerror=it=>{ie.error(it)},Ve.onsuccess=({target:{result:it}})=>{ie.next(it),ie.complete()}}).catch(ce=>ie.error(ce))})}update(V,ie){return new j.y(ce=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{var Se;Me(ge,V,At=>ce.error(At));const it=Ae(ge,Ge(xe.readwrite,V,At=>ce.error(At))).objectStore(V);it.put(ie).onsuccess=function(At){return(Se=Se||(0,s.Z)(function*(Rt){it.get(Rt.target.result).onsuccess=vn=>{ce.next(vn.target.result),ce.complete()}})).apply(this,arguments)}}).catch(ge=>ce.error(ge))})}delete(V,ie){return new j.y(ce=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Me(ge,V,it=>ce.error(it));const Se=Ae(ge,Ge(xe.readwrite,V,it=>ce.error(it)));Se.objectStore(V).delete(ie),Se.oncomplete=()=>{this.getAll(V).pipe((0,re.q)(1)).subscribe(it=>{ce.next(it),ce.complete()})}}).catch(ge=>ce.error(ge))})}deleteByKey(V,ie){return new j.y(ce=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Me(ge,V,it=>ce.error(it));const Se=Ae(ge,Ge(xe.readwrite,V,it=>ce.error(it))),Ve=Se.objectStore(V);Se.oncomplete=()=>{ce.next(!0),ce.complete()},Ve.delete(ie)}).catch(ge=>ce.error(ge))})}clear(V){return new j.y(ie=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ce=>{Me(ce,V,Ve=>ie.error(Ve));const ge=Ae(ce,Ge(xe.readwrite,V,Ve=>ie.error(Ve)));ge.objectStore(V).clear(),ge.oncomplete=()=>{ie.next(!0),ie.complete()}}).catch(ce=>ie.error(ce))})}deleteDatabase(){var V=this;return new j.y(ie=>{var ce;te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(function(ge){return(ce=ce||(0,s.Z)(function*(Se){yield Se.close();const Ve=V.indexedDB.deleteDatabase(V.dbConfig.name);Ve.onsuccess=()=>{ie.next(!0),ie.complete()},Ve.onerror=it=>ie.error(it),Ve.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}})).apply(this,arguments)}).catch(ge=>ie.error(ge))})}openCursor(V,ie){return new j.y(ce=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Me(ge,V,pt=>ce.error(pt));const Ve=Ae(ge,Ge(xe.readonly,V,ce.error)).objectStore(V);(void 0===ie?Ve.openCursor():Ve.openCursor(ie)).onsuccess=pt=>{ce.next(pt),ce.complete()}}).catch(ge=>ce.error(ge))})}openCursorByIndex(V,ie,ce,ge=xe.readonly){const Se=new Y.x;return te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ve=>{Me(Ve,V,Wt=>{Se.error(Wt)}),Ae(Ve,Ge(ge,V,Wt=>{Se.error(Wt)})).objectStore(V).index(ie).openCursor(ce).onsuccess=Wt=>{Se.next(Wt)}}).catch(Ve=>Se.error(Ve)),Se}getAllByIndex(V,ie,ce){const ge=[];return new j.y(Se=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ve=>{Me(Ve,V,Wt=>Se.error(Wt)),Ae(Ve,Ge(xe.readonly,V,Se.error)).objectStore(V).index(ie).openCursor(ce).onsuccess=Wt=>{const $t=Wt.target.result;$t?(ge.push($t.value),$t.continue()):(Se.next(ge),Se.complete())}}).catch(Ve=>Se.error(Ve))})}getAllKeysByIndex(V,ie,ce){const ge=[];return new j.y(Se=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ve=>{Me(Ve,V,Wt=>Se.error(Wt)),Ae(Ve,Ge(xe.readonly,V,Se.error)).objectStore(V).index(ie).openKeyCursor(ce).onsuccess=Wt=>{const $t=Wt.target.result;$t?(ge.push({primaryKey:$t.primaryKey,key:$t.key}),$t.continue()):(Se.next(ge),Se.complete())}}).catch(Ve=>Se.error(Ve))})}count(V,ie){return new j.y(ce=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ge=>{Me(ge,V,pt=>ce.error(pt));const it=Ae(ge,Ge(xe.readonly,V,ce.error)).objectStore(V).count(ie);it.onerror=pt=>ce.error(pt),it.onsuccess=pt=>{ce.next(pt.target.result),ce.complete()}}).catch(ge=>ce.error(ge))})}countByIndex(V,ie,ce){return new j.y(ge=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Se=>{Me(Se,V,Rt=>ge.error(Rt));const At=Ae(Se,Ge(xe.readonly,V,ge.error)).objectStore(V).index(ie).count(ce);At.onerror=Rt=>ge.error(Rt),At.onsuccess=Rt=>{ge.next(Rt.target.result),ge.complete()}}).catch(Se=>ge.error(Se))})}deleteObjectStore(V){return function Q(Ne,W,V){if(!Ne||!W||!V)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new j.y(ie=>{try{const ge=indexedDB.open(Ne,W+1);ge.onupgradeneeded=Se=>{const Ve=Se.target.result;Ve.deleteObjectStore(V),Ve.close(),console.log("onupgradeneeded"),ie.next(!0),ie.complete()},ge.onerror=Se=>ie.error(Se)}catch(ce){ie.error(ce)}})}(this.dbConfig.name,++this.dbConfig.version,V)}}return Ne.\u0275fac=function(V){return new(V||Ne)(m.LFG(Ye),m.LFG(m.Lbi))},Ne.\u0275prov=m.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),dt=(()=>{class Ne{static forRoot(V){return{ngModule:Ne,providers:[He,{provide:Ye,useValue:V}]}}}return Ne.\u0275fac=function(V){return new(V||Ne)},Ne.\u0275mod=m.oAB({type:Ne}),Ne.\u0275inj=m.cJS({imports:[[z.ez]]}),Ne})()},621:(mt,Ce,v)=>{v.d(Ce,{gE:()=>Ue,VI:()=>ye,YI:()=>$t});var s=v(5879),m=v(5619),z=v(2096),j=v(2459),I=v(3019),K=v(9315),Y=v(7398),re=v(4664),te=v(6306),U=v(7537),Q=v(1374),he=v(1631),Me=v(9360),Ae=v(8251),xe=v(836),Ye=v(8180),He=v(9397),dt=v(9790);let W=(()=>{var fe;class be{constructor(){this.strategiesSource=new m.X({}),this.strategies$=this.strategiesSource.asObservable()}}return(fe=be).\u0275fac=function(q){return new(q||fe)},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac}),be})();const V=new s.OlP("USE_CONFIGURATION_STORE");let ie=(()=>{var fe;class be{constructor(q=!1,tt){this.isolate=q,this.configurationStore=tt,this.strategiesSource=this.isolate?new m.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(q){this.isolate?this.onAuthorisedDefaultStrategy=this.getDefinedStrategy(q):(this.configurationStore.onAuthorisedDefaultStrategy=this.getDefinedStrategy(q),this.onAuthorisedDefaultStrategy=this.configurationStore.onAuthorisedDefaultStrategy)}setDefaultOnUnauthorizedStrategy(q){this.isolate?this.onUnAuthorisedDefaultStrategy=this.getDefinedStrategy(q):(this.configurationStore.onUnAuthorisedDefaultStrategy=this.getDefinedStrategy(q),this.onUnAuthorisedDefaultStrategy=this.configurationStore.onUnAuthorisedDefaultStrategy)}addPermissionStrategy(q,tt){this.strategiesSource.value[q]=tt}getStrategy(q){return this.strategiesSource.value[q]}getAllStrategies(){return this.strategiesSource.value}getDefinedStrategy(q){if(this.strategiesSource.value[q]||this.isPredefinedStrategy(q))return q;throw new Error(`No ' ${q} ' strategy is found please define one`)}isPredefinedStrategy(q){return"show"===q||"remove"===q}}return(fe=be).\u0275fac=function(q){return new(q||fe)(s.LFG(V),s.LFG(W))},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac}),be})();function ce(fe){return"function"==typeof fe}function ge(fe){if("[object Object]"!==Object.prototype.toString.call(fe))return!1;{const be=Object.getPrototypeOf(fe);return null===be||be===Object.prototype}}function Se(fe){return!!fe&&"string"==typeof fe}function Ve(fe){return"boolean"==typeof fe}function pt(fe){return Array.isArray(fe)?fe.length>0:!!fe}function At(fe){return Se(fe)?[fe]:fe}let Rt=(()=>{var fe;class be{constructor(){this.permissionsSource=new m.X({}),this.permissions$=this.permissionsSource.asObservable()}}return(fe=be).\u0275fac=function(q){return new(q||fe)},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac}),be})();const Wt=new s.OlP("USE_PERMISSIONS_STORE");let $t=(()=>{var fe;class be{constructor(q=!1,tt){this.isolate=q,this.permissionsStore=tt,this.permissionsSource=this.isolate?new m.X({}):this.permissionsStore.permissionsSource,this.permissions$=this.permissionsSource.asObservable()}flushPermissions(){this.permissionsSource.next({})}hasPermission(q){return!q||Array.isArray(q)&&0===q.length?Promise.resolve(!0):(q=At(q),this.hasArrayPermission(q))}loadPermissions(q,tt){const et=q.reduce((St,kt)=>this.reducePermission(St,kt,tt),{});this.permissionsSource.next(et)}addPermission(q,tt){if(Array.isArray(q)){const et=q.reduce((St,kt)=>this.reducePermission(St,kt,tt),this.permissionsSource.value);this.permissionsSource.next(et)}else{const et=this.reducePermission(this.permissionsSource.value,q,tt);this.permissionsSource.next(et)}}removePermission(q){const tt={...this.permissionsSource.value};delete tt[q],this.permissionsSource.next(tt)}getPermission(q){return this.permissionsSource.value[q]}getPermissions(){return this.permissionsSource.value}reducePermission(q,tt,et){return et&&ce(et)?{...q,[tt]:{name:tt,validationFunction:et}}:{...q,[tt]:{name:tt}}}hasArrayPermission(q){const tt=q.map(et=>{if(this.hasPermissionValidationFunction(et)){const St=this.permissionsSource.value[et].validationFunction,kt={...this.permissionsSource.value};return(0,z.of)(null).pipe((0,Y.U)(()=>St(et,kt)),(0,re.w)(rn=>Ve(rn)?(0,z.of)(rn):rn),(0,te.K)(()=>(0,z.of)(!1)))}return(0,z.of)(!!this.permissionsSource.value[et])});return(0,j.D)(tt).pipe((0,U.J)(),(0,Q.P)(et=>!1!==et,!1),(0,Y.U)(et=>!1!==et)).toPromise().then(et=>et)}hasPermissionValidationFunction(q){return!!this.permissionsSource.value[q]&&!!this.permissionsSource.value[q].validationFunction&&ce(this.permissionsSource.value[q].validationFunction)}}return(fe=be).\u0275fac=function(q){return new(q||fe)(s.LFG(Wt),s.LFG(Rt))},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac}),be})();class vn{constructor(){this.rolesSource=new m.X({}),this.roles$=this.rolesSource.asObservable()}}const xn=new s.OlP("USE_ROLES_STORE");let Be=(()=>{var fe;class be{constructor(q=!1,tt,et){this.isolate=q,this.rolesStore=tt,this.permissionsService=et,this.rolesSource=this.isolate?new m.X({}):this.rolesStore.rolesSource,this.roles$=this.rolesSource.asObservable()}addRole(q,tt){const et={...this.rolesSource.value,[q]:{name:q,validationFunction:tt}};this.rolesSource.next(et)}addRoleWithPermissions(q,tt){this.permissionsService.addPermission(tt),this.addRole(q,tt)}addRoles(q){Object.keys(q).forEach((tt,et)=>{this.addRole(tt,q[tt])})}addRolesWithPermissions(q){Object.keys(q).forEach((tt,et)=>{this.addRoleWithPermissions(tt,q[tt])})}flushRoles(){this.rolesSource.next({})}flushRolesAndPermissions(){this.flushRoles(),this.permissionsService.flushPermissions()}removeRole(q){const tt={...this.rolesSource.value};delete tt[q],this.rolesSource.next(tt)}getRoles(){return this.rolesSource.value}getRole(q){return this.rolesSource.value[q]}hasOnlyRoles(q){return!q||Array.isArray(q)&&0===q.length?Promise.resolve(!0):(q=At(q),Promise.all([this.hasRoleKey(q),this.hasRolePermission(this.rolesSource.value,q)]).then(([et,St])=>et||St))}hasRoleKey(q){const tt=q.map(et=>{if(this.rolesSource.value[et]&&this.rolesSource.value[et].validationFunction&&ce(this.rolesSource.value[et].validationFunction)&&!function it(fe){return"[object Promise]"===Object.prototype.toString.call(fe)}(this.rolesSource.value[et].validationFunction)){const kt=this.rolesSource.value[et].validationFunction,rn={...this.rolesSource.value};return(0,z.of)(null).pipe((0,Y.U)(()=>kt(et,rn)),(0,re.w)(bt=>Ve(bt)?(0,z.of)(bt):bt),(0,te.K)(()=>(0,z.of)(!1)))}return(0,z.of)(!1)});return(0,j.D)(tt).pipe((0,U.J)(),(0,Q.P)(et=>!1!==et,!1),(0,Y.U)(et=>!1!==et)).toPromise().then(et=>et)}hasRolePermission(q,tt){return(0,j.D)(tt).pipe((0,he.z)(et=>q[et]&&Array.isArray(q[et].validationFunction)?(0,j.D)(q[et].validationFunction).pipe((0,he.z)(St=>this.permissionsService.hasPermission(St)),function Ge(fe,be){return(0,Me.e)((ft,q)=>{let tt=0;ft.subscribe((0,Ae.x)(q,et=>{fe.call(be,et,tt++,ft)||(q.next(!1),q.complete())},()=>{q.next(!0),q.complete()}))})}(St=>!0===St)):(0,z.of)(!1)),(0,Q.P)(et=>!0===et,!1)).toPromise()}}return(fe=be).\u0275fac=function(q){return new(q||fe)(s.LFG(xn),s.LFG(vn),s.LFG($t))},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac}),be})(),Ue=(()=>{var fe;class be{constructor(){this.permissionsAuthorized=new s.vpe,this.permissionsUnauthorized=new s.vpe,this.firstMergeUnusedRun=1,this.permissionsService=(0,s.f3M)($t),this.configurationService=(0,s.f3M)(ie),this.rolesService=(0,s.f3M)(Be),this.viewContainer=(0,s.f3M)(s.s_b),this.changeDetector=(0,s.f3M)(s.sBO),this.templateRef=(0,s.f3M)(s.Rgc)}ngOnInit(){this.viewContainer.clear(),this.initPermissionSubscription=this.validateExceptOnlyPermissions()}ngOnChanges(q){const tt=q.ngxPermissionsOnly,et=q.ngxPermissionsExcept;if(tt||et){if(tt&&tt.firstChange||et&&et.firstChange)return;(0,I.T)(this.permissionsService.permissions$,this.rolesService.roles$).pipe((0,xe.T)(this.firstMergeUnusedRun),(0,Ye.q)(1)).subscribe(()=>{pt(this.ngxPermissionsExcept)?this.validateExceptAndOnlyPermissions():pt(this.ngxPermissionsOnly)?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.getAuthorisedTemplates())})}}ngOnDestroy(){this.initPermissionSubscription&&this.initPermissionSubscription.unsubscribe()}validateExceptOnlyPermissions(){return(0,I.T)(this.permissionsService.permissions$,this.rolesService.roles$).pipe((0,xe.T)(this.firstMergeUnusedRun)).subscribe(()=>{pt(this.ngxPermissionsExcept)?this.validateExceptAndOnlyPermissions():pt(this.ngxPermissionsOnly)?this.validateOnlyPermissions():this.handleAuthorisedPermission(this.getAuthorisedTemplates())})}validateExceptAndOnlyPermissions(){Promise.all([this.permissionsService.hasPermission(this.ngxPermissionsExcept),this.rolesService.hasOnlyRoles(this.ngxPermissionsExcept)]).then(([q,tt])=>{if(q||tt)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(([q,tt])=>{q||tt?this.handleAuthorisedPermission(this.ngxPermissionsOnlyThen||this.ngxPermissionsThen||this.templateRef):this.handleUnauthorisedPermission(this.ngxPermissionsOnlyElse||this.ngxPermissionsElse)}).catch(()=>{this.handleUnauthorisedPermission(this.ngxPermissionsOnlyElse||this.ngxPermissionsElse)})}handleUnauthorisedPermission(q){if(!Ve(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(q)}}handleAuthorisedPermission(q){if(!Ve(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(q)}}applyStrategyAccordingToStrategyType(q){if(!Se(q))return ce(q)?(this.showTemplateBlockInView(this.templateRef),void q(this.templateRef)):void 0;this.applyStrategy(q)}showTemplateBlockInView(q){this.viewContainer.clear(),q&&(this.viewContainer.createEmbeddedView(q),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(q){if("show"===q)return void this.showTemplateBlockInView(this.templateRef);if("remove"===q)return void this.viewContainer.clear();const tt=this.configurationService.getStrategy(q);this.showTemplateBlockInView(this.templateRef),tt(this.templateRef)}}return(fe=be).\u0275fac=function(q){return new(q||fe)},fe.\u0275dir=s.lG2({type:fe,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]}),be})(),at=(()=>{var fe;class be{constructor(q,tt,et){this.permissionsService=q,this.rolesService=tt,this.router=et}canActivate(q,tt){return this.hasPermissions(q,tt)}canActivateChild(q,tt){return this.hasPermissions(q,tt)}canLoad(q){return this.hasPermissions(q)}canMatch(q){return this.hasPermissions(q)}hasPermissions(q,tt){const St=this.transformPermission(q&&q.data?q.data.permissions:{},q,tt);return this.isParameterAvailable(St.except)?this.passingExceptPermissionsValidation(St,q,tt):!this.isParameterAvailable(St.only)||this.passingOnlyPermissionsValidation(St,q,tt)}transformPermission(q,tt,et){return{only:ce(q.only)?q.only(tt,et):At(q.only),except:ce(q.except)?q.except(tt,et):At(q.except),redirectTo:q.redirectTo}}isParameterAvailable(q){return!!q&&q.length>0}passingExceptPermissionsValidation(q,tt,et){if(q.redirectTo&&(ce(q.redirectTo)||ge(q.redirectTo)&&!this.isRedirectionWithParameters(q.redirectTo))){let St="";return(0,j.D)(q.except).pipe((0,he.z)(kt=>(0,K.D)([this.permissionsService.hasPermission(kt),this.rolesService.hasOnlyRoles(kt)]).pipe((0,He.b)(rn=>{rn.every(Gn=>!1===Gn)||(St=kt)}))),(0,Q.P)(kt=>kt.some(rn=>!0===rn),!1),(0,he.z)(kt=>St?(this.handleRedirectOfFailedPermission(q,St,tt,et),(0,z.of)(!1)):!kt&&q.only?this.onlyRedirectCheck(q,tt,et):(0,z.of)(!kt))).toPromise()}return Promise.all([this.permissionsService.hasPermission(q.except),this.rolesService.hasOnlyRoles(q.except)]).then(([St,kt])=>St||kt?(q.redirectTo&&this.redirectToAnotherRoute(q.redirectTo,tt,et),!1):!q.only||this.checkOnlyPermissions(q,tt,et))}redirectToAnotherRoute(q,tt,et,St){const kt=ce(q)?q(St,tt,et):q;if(this.isRedirectionWithParameters(kt))return kt.navigationCommands=this.transformNavigationCommands(kt.navigationCommands,tt,et),kt.navigationExtras=this.transformNavigationExtras(kt.navigationExtras,tt,et),void this.router.navigate(kt.navigationCommands,kt.navigationExtras);Array.isArray(kt)?this.router.navigate(kt):this.router.navigate([kt])}isRedirectionWithParameters(q){return ge(q)&&(!!q.navigationCommands||!!q.navigationExtras)}transformNavigationCommands(q,tt,et){return ce(q)?q(tt,et):q}transformNavigationExtras(q,tt,et){return ce(q)?q(tt,et):q}onlyRedirectCheck(q,tt,et){let St="";return(0,j.D)(q.only).pipe((0,he.z)(kt=>(0,K.D)([this.permissionsService.hasPermission(kt),this.rolesService.hasOnlyRoles(kt)]).pipe((0,He.b)(rn=>{rn.every(Gn=>!1===Gn)&&(St=kt)}))),(0,Q.P)(kt=>ce(q.redirectTo)?kt.some(rn=>!0===rn):kt.every(rn=>!1===rn),!1),(0,he.z)(kt=>ce(q.redirectTo)?kt?(0,z.of)(!0):(this.handleRedirectOfFailedPermission(q,St,tt,et),(0,z.of)(!1)):(St&&this.handleRedirectOfFailedPermission(q,St,tt,et),(0,z.of)(!kt)))).toPromise()}handleRedirectOfFailedPermission(q,tt,et,St){this.isFailedPermissionPropertyOfRedirectTo(q,tt)?this.redirectToAnotherRoute(q.redirectTo[tt],et,St,tt):ce(q.redirectTo)?this.redirectToAnotherRoute(q.redirectTo,et,St,tt):this.redirectToAnotherRoute(q.redirectTo.default,et,St,tt)}isFailedPermissionPropertyOfRedirectTo(q,tt){return!!q.redirectTo&&q.redirectTo[tt]}checkOnlyPermissions(q,tt,et){const St={...q};return Promise.all([this.permissionsService.hasPermission(St.only),this.rolesService.hasOnlyRoles(St.only)]).then(([kt,rn])=>!(!kt&&!rn&&(St.redirectTo&&this.redirectToAnotherRoute(St.redirectTo,tt,et),1)))}passingOnlyPermissionsValidation(q,tt,et){return ce(q.redirectTo)||ge(q.redirectTo)&&!this.isRedirectionWithParameters(q.redirectTo)?this.onlyRedirectCheck(q,tt,et):this.checkOnlyPermissions(q,tt,et)}}return(fe=be).\u0275fac=function(q){return new(q||fe)(s.LFG($t),s.LFG(Be),s.LFG(dt.F0))},fe.\u0275prov=s.Yz7({token:fe,factory:fe.\u0275fac}),be})(),ye=(()=>{var fe;class be{static forRoot(q={}){return{ngModule:be,providers:[Rt,vn,W,$t,at,Be,ie,{provide:Wt,useValue:q.permissionsIsolate},{provide:xn,useValue:q.rolesIsolate},{provide:V,useValue:q.configurationIsolate}]}}static forChild(q={}){return{ngModule:be,providers:[{provide:Wt,useValue:q.permissionsIsolate},{provide:xn,useValue:q.rolesIsolate},{provide:V,useValue:q.configurationIsolate},ie,$t,Be,at]}}}return(fe=be).\u0275fac=function(q){return new(q||fe)},fe.\u0275mod=s.oAB({type:fe}),fe.\u0275inj=s.cJS({}),be})()},9229:(mt,Ce,v)=>{function s(ye){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ze){return typeof Ze}:function(Ze){return Ze&&"function"==typeof Symbol&&Ze.constructor===Symbol&&Ze!==Symbol.prototype?"symbol":typeof Ze})(ye)}function j(ye,Ze,Xe){return(Ze=function z(ye){var Ze=function m(ye,Ze){if("object"!==s(ye)||null===ye)return ye;var Xe=ye[Symbol.toPrimitive];if(void 0!==Xe){var fe=Xe.call(ye,Ze||"default");if("object"!==s(fe))return fe;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===Ze?String:Number)(ye)}(ye,"string");return"symbol"===s(Ze)?Ze:String(Ze)}(Ze))in ye?Object.defineProperty(ye,Ze,{value:Xe,enumerable:!0,configurable:!0,writable:!0}):ye[Ze]=Xe,ye}v.d(Ce,{FN:()=>xn,PR:()=>Ve,Rh:()=>We,_W:()=>vn});var I=v(5879),K=v(6825),Y=v(6814),re=v(8645),te=v(6593);const U=["toast-component",""];function Q(ye,Ze){if(1&ye){const Xe=I.EpF();I.TgZ(0,"button",5),I.NdJ("click",function(){I.CHM(Xe);const be=I.oxw();return I.KtG(be.remove())}),I.TgZ(1,"span",6),I._uU(2,"\xd7"),I.qZA()()}}function he(ye,Ze){if(1&ye&&(I.ynx(0),I._uU(1),I.BQk()),2&ye){const Xe=I.oxw(2);I.xp6(1),I.hij("[",Xe.duplicatesCount+1,"]")}}function Me(ye,Ze){if(1&ye&&(I.TgZ(0,"div"),I._uU(1),I.YNc(2,he,2,1,"ng-container",4),I.qZA()),2&ye){const Xe=I.oxw();I.Tol(Xe.options.titleClass),I.uIk("aria-label",Xe.title),I.xp6(1),I.hij(" ",Xe.title," "),I.xp6(1),I.Q6J("ngIf",Xe.duplicatesCount)}}function Ae(ye,Ze){if(1&ye&&I._UZ(0,"div",7),2&ye){const Xe=I.oxw();I.Tol(Xe.options.messageClass),I.Q6J("innerHTML",Xe.message,I.oJD)}}function Ge(ye,Ze){if(1&ye&&(I.TgZ(0,"div",8),I._uU(1),I.qZA()),2&ye){const Xe=I.oxw();I.Tol(Xe.options.messageClass),I.uIk("aria-label",Xe.message),I.xp6(1),I.hij(" ",Xe.message," ")}}function xe(ye,Ze){if(1&ye&&(I.TgZ(0,"div"),I._UZ(1,"div",9),I.qZA()),2&ye){const Xe=I.oxw();I.xp6(1),I.Udp("width",Xe.width+"%")}}class ce{constructor(Ze,Xe){j(this,"_attachedHost",void 0),j(this,"component",void 0),j(this,"viewContainerRef",void 0),j(this,"injector",void 0),this.component=Ze,this.injector=Xe}attach(Ze,Xe){return this._attachedHost=Ze,Ze.attach(this,Xe)}detach(){const Ze=this._attachedHost;if(Ze)return this._attachedHost=void 0,Ze.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ze){this._attachedHost=Ze}}class ge{constructor(){j(this,"_attachedPortal",void 0),j(this,"_disposeFn",void 0)}attach(Ze,Xe){return this._attachedPortal=Ze,this.attachComponentPortal(Ze,Xe)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Ze){this._disposeFn=Ze}}class Se{constructor(Ze){j(this,"_overlayRef",void 0),j(this,"componentInstance",void 0),j(this,"duplicatesCount",0),j(this,"_afterClosed",new re.x),j(this,"_activate",new re.x),j(this,"_manualClose",new re.x),j(this,"_resetTimeout",new re.x),j(this,"_countDuplicate",new re.x),this._overlayRef=Ze}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(Ze,Xe){Ze&&this._resetTimeout.next(),Xe&&this._countDuplicate.next(++this.duplicatesCount)}}class Ve{constructor(Ze,Xe,fe,be,ft,q){j(this,"toastId",void 0),j(this,"config",void 0),j(this,"message",void 0),j(this,"title",void 0),j(this,"toastType",void 0),j(this,"toastRef",void 0),j(this,"_onTap",new re.x),j(this,"_onAction",new re.x),this.toastId=Ze,this.config=Xe,this.message=fe,this.title=be,this.toastType=ft,this.toastRef=q,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(Ze){this._onAction.next(Ze)}onAction(){return this._onAction.asObservable()}}const pt=new I.OlP("ToastConfig");class At extends ge{constructor(Ze,Xe,fe){super(),j(this,"_hostDomElement",void 0),j(this,"_componentFactoryResolver",void 0),j(this,"_appRef",void 0),this._hostDomElement=Ze,this._componentFactoryResolver=Xe,this._appRef=fe}attachComponentPortal(Ze,Xe){const fe=this._componentFactoryResolver.resolveComponentFactory(Ze.component);let be;return be=fe.create(Ze.injector),this._appRef.attachView(be.hostView),this.setDisposeFn(()=>{this._appRef.detachView(be.hostView),be.destroy()}),Xe?this._hostDomElement.insertBefore(this._getComponentRootNode(be),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(be)),be}_getComponentRootNode(Ze){return Ze.hostView.rootNodes[0]}}let Rt=(()=>{var ye;class Ze{constructor(){j(this,"_document",(0,I.f3M)(Y.K0)),j(this,"_containerElement",void 0)}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 ye=Ze,j(Ze,"\u0275fac",function(fe){return new(fe||ye)}),j(Ze,"\u0275prov",I.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})),Ze})();class Wt{constructor(Ze){j(this,"_portalHost",void 0),this._portalHost=Ze}attach(Ze,Xe=!0){return this._portalHost.attach(Ze,Xe)}detach(){return this._portalHost.detach()}}let $t=(()=>{var ye;class Ze{constructor(){j(this,"_overlayContainer",(0,I.f3M)(Rt)),j(this,"_componentFactoryResolver",(0,I.f3M)(I._Vd)),j(this,"_appRef",(0,I.f3M)(I.z2F)),j(this,"_document",(0,I.f3M)(Y.K0)),j(this,"_paneElements",new Map)}create(fe,be){return this._createOverlayRef(this.getPaneElement(fe,be))}getPaneElement(fe="",be){return this._paneElements.get(be)||this._paneElements.set(be,{}),this._paneElements.get(be)[fe]||(this._paneElements.get(be)[fe]=this._createPaneElement(fe,be)),this._paneElements.get(be)[fe]}_createPaneElement(fe,be){const ft=this._document.createElement("div");return ft.id="toast-container",ft.classList.add(fe),ft.classList.add("toast-container"),be?be.getContainerElement().appendChild(ft):this._overlayContainer.getContainerElement().appendChild(ft),ft}_createPortalHost(fe){return new At(fe,this._componentFactoryResolver,this._appRef)}_createOverlayRef(fe){return new Wt(this._createPortalHost(fe))}}return ye=Ze,j(Ze,"\u0275fac",function(fe){return new(fe||ye)}),j(Ze,"\u0275prov",I.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})),Ze})(),vn=(()=>{var ye;class Ze{constructor(fe,be,ft,q,tt){j(this,"overlay",void 0),j(this,"_injector",void 0),j(this,"sanitizer",void 0),j(this,"ngZone",void 0),j(this,"toastrConfig",void 0),j(this,"currentlyActive",0),j(this,"toasts",[]),j(this,"overlayContainer",void 0),j(this,"previousToastMessage",void 0),j(this,"index",0),this.overlay=be,this._injector=ft,this.sanitizer=q,this.ngZone=tt,this.toastrConfig={...fe.default,...fe.config},fe.config.iconClasses&&(this.toastrConfig.iconClasses={...fe.default.iconClasses,...fe.config.iconClasses})}show(fe,be,ft={},q=""){return this._preBuildNotification(q,fe,be,this.applyConfig(ft))}success(fe,be,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",fe,be,this.applyConfig(ft))}error(fe,be,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",fe,be,this.applyConfig(ft))}info(fe,be,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",fe,be,this.applyConfig(ft))}warning(fe,be,ft={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",fe,be,this.applyConfig(ft))}clear(fe){for(const be of this.toasts)if(void 0!==fe){if(be.toastId===fe)return void be.toastRef.manualClose()}else be.toastRef.manualClose()}remove(fe){const be=this._findToast(fe);if(!be||(be.activeToast.toastRef.close(),this.toasts.splice(be.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 ft=this.toasts[this.currentlyActive].toastRef;ft.isInactive()||(this.currentlyActive=this.currentlyActive+1,ft.activate())}return!0}findDuplicate(fe="",be="",ft,q){const{includeTitleDuplicates:tt}=this.toastrConfig;for(const et of this.toasts)if((!tt||tt&&et.title===fe)&&et.message===be)return et.toastRef.onDuplicate(ft,q),et;return null}applyConfig(fe={}){return{...this.toastrConfig,...fe}}_findToast(fe){for(let be=0;be<this.toasts.length;be++)if(this.toasts[be].toastId===fe)return{index:be,activeToast:this.toasts[be]};return null}_preBuildNotification(fe,be,ft,q){return q.onActivateTick?this.ngZone.run(()=>this._buildNotification(fe,be,ft,q)):this._buildNotification(fe,be,ft,q)}_buildNotification(fe,be,ft,q){if(!q.toastComponent)throw new Error("toastComponent required");const tt=this.findDuplicate(ft,be,this.toastrConfig.resetTimeoutOnDuplicate&&q.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&ft||be)&&this.toastrConfig.preventDuplicates&&null!==tt)return tt;this.previousToastMessage=be;let et=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(et=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const St=this.overlay.create(q.positionClass,this.overlayContainer);this.index=this.index+1;let kt=be;be&&q.enableHtml&&(kt=this.sanitizer.sanitize(I.q3G.HTML,be));const rn=new Se(St),bt=new Ve(this.index,q,kt,ft,fe,rn),Un=I.zs3.create({providers:[{provide:Ve,useValue:bt}],parent:this._injector}),Pn=new ce(q.toastComponent,Un),Ft=St.attach(Pn,q.newestOnTop);rn.componentInstance=Ft.instance;const Ut={toastId:this.index,title:ft||"",message:be||"",toastRef:rn,onShown:rn.afterActivate(),onHidden:rn.afterClosed(),onTap:bt.onTap(),onAction:bt.onAction(),portal:Ft};return et||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Ut.toastRef.activate()})),this.toasts.push(Ut),Ut}}return ye=Ze,j(Ze,"\u0275fac",function(fe){return new(fe||ye)(I.LFG(pt),I.LFG($t),I.LFG(I.zs3),I.LFG(te.H7),I.LFG(I.R0b))}),j(Ze,"\u0275prov",I.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})),Ze})(),xn=(()=>{var ye;class Ze{get displayStyle(){if("inactive"===this.state.value)return"none"}constructor(fe,be,ft){j(this,"toastrService",void 0),j(this,"toastPackage",void 0),j(this,"ngZone",void 0),j(this,"message",void 0),j(this,"title",void 0),j(this,"options",void 0),j(this,"duplicatesCount",void 0),j(this,"originalTimeout",void 0),j(this,"width",-1),j(this,"toastClasses",""),j(this,"state",void 0),j(this,"timeout",void 0),j(this,"intervalId",void 0),j(this,"hideTime",void 0),j(this,"sub",void 0),j(this,"sub1",void 0),j(this,"sub2",void 0),j(this,"sub3",void 0),this.toastrService=fe,this.toastPackage=be,this.ngZone=ft,this.message=be.message,this.title=be.title,this.options=be.config,this.originalTimeout=be.config.timeOut,this.toastClasses=`${be.toastType} ${be.config.toastClass}`,this.sub=be.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=be.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=be.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=be.toastRef.countDuplicate().subscribe(q=>{this.duplicatesCount=q}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}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,be){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(fe),be)):this.timeout=setTimeout(()=>fe(),be)}outsideInterval(fe,be){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(fe),be)):this.intervalId=setInterval(()=>fe(),be)}runInsideAngular(fe){this.ngZone?this.ngZone.run(()=>fe()):fe()}}return ye=Ze,j(Ze,"\u0275fac",function(fe){return new(fe||ye)(I.Y36(vn),I.Y36(Ve),I.Y36(I.R0b))}),j(Ze,"\u0275cmp",I.Xpm({type:ye,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(fe,be){1&fe&&I.NdJ("click",function(){return be.tapToast()})("mouseenter",function(){return be.stickAround()})("mouseleave",function(){return be.delayedHideToast()}),2&fe&&(I.d8E("@flyInOut",be.state),I.Tol(be.toastClasses),I.Udp("display",be.displayStyle))},standalone:!0,features:[I.jDz],attrs:U,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,be){1&fe&&(I.YNc(0,Q,3,0,"button",0),I.YNc(1,Me,3,5,"div",1),I.YNc(2,Ae,1,3,"div",2),I.YNc(3,Ge,2,4,"div",3),I.YNc(4,xe,2,2,"div",4)),2&fe&&(I.Q6J("ngIf",be.options.closeButton),I.xp6(1),I.Q6J("ngIf",be.title),I.xp6(1),I.Q6J("ngIf",be.message&&be.options.enableHtml),I.xp6(1),I.Q6J("ngIf",be.message&&!be.options.enableHtml),I.xp6(1),I.Q6J("ngIf",be.options.progressBar))},dependencies:[Y.O5],encapsulation:2,data:{animation:[(0,K.X$)("flyInOut",[(0,K.SB)("inactive",(0,K.oB)({opacity:0})),(0,K.SB)("active",(0,K.oB)({opacity:1})),(0,K.SB)("removed",(0,K.oB)({opacity:0})),(0,K.eR)("inactive => active",(0,K.jt)("{{ easeTime }}ms {{ easing }}")),(0,K.eR)("active => removed",(0,K.jt)("{{ easeTime }}ms {{ easing }}"))])]}})),Ze})();const Be={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",toastComponent:xn},Ue=(ye={})=>(0,I.MR2)([{provide:pt,useValue:{default:Be,config:ye}}]);let We=(()=>{var ye;class Ze{static forRoot(fe={}){return{ngModule:Ze,providers:[Ue(fe)]}}}return ye=Ze,j(Ze,"\u0275fac",function(fe){return new(fe||ye)}),j(Ze,"\u0275mod",I.oAB({type:ye})),j(Ze,"\u0275inj",I.cJS({})),Ze})()},5861:(mt,Ce,v)=>{function s(z,j,I,K,Y,re,te){try{var U=z[re](te),Q=U.value}catch(he){return void I(he)}U.done?j(Q):Promise.resolve(Q).then(K,Y)}function m(z){return function(){var j=this,I=arguments;return new Promise(function(K,Y){var re=z.apply(j,I);function te(Q){s(re,K,Y,te,U,"next",Q)}function U(Q){s(re,K,Y,te,U,"throw",Q)}te(void 0)})}}v.d(Ce,{Z:()=>m})},7582:(mt,Ce,v)=>{function j(Be,Ue){var We={};for(var Qe in Be)Object.prototype.hasOwnProperty.call(Be,Qe)&&Ue.indexOf(Qe)<0&&(We[Qe]=Be[Qe]);if(null!=Be&&"function"==typeof Object.getOwnPropertySymbols){var at=0;for(Qe=Object.getOwnPropertySymbols(Be);at<Qe.length;at++)Ue.indexOf(Qe[at])<0&&Object.prototype.propertyIsEnumerable.call(Be,Qe[at])&&(We[Qe[at]]=Be[Qe[at]])}return We}function he(Be,Ue,We,Qe){return new(We||(We=Promise))(function(ht,Ot){function ye(fe){try{Xe(Qe.next(fe))}catch(be){Ot(be)}}function Ze(fe){try{Xe(Qe.throw(fe))}catch(be){Ot(be)}}function Xe(fe){fe.done?ht(fe.value):function at(ht){return ht instanceof We?ht:new We(function(Ot){Ot(ht)})}(fe.value).then(ye,Ze)}Xe((Qe=Qe.apply(Be,Ue||[])).next())})}function W(Be){return this instanceof W?(this.v=Be,this):new W(Be)}function V(Be,Ue,We){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var at,Qe=We.apply(Be,Ue||[]),ht=[];return at={},Ot("next"),Ot("throw"),Ot("return"),at[Symbol.asyncIterator]=function(){return this},at;function Ot(ft){Qe[ft]&&(at[ft]=function(q){return new Promise(function(tt,et){ht.push([ft,q,tt,et])>1||ye(ft,q)})})}function ye(ft,q){try{!function Ze(ft){ft.value instanceof W?Promise.resolve(ft.value.v).then(Xe,fe):be(ht[0][2],ft)}(Qe[ft](q))}catch(tt){be(ht[0][3],tt)}}function Xe(ft){ye("next",ft)}function fe(ft){ye("throw",ft)}function be(ft,q){ft(q),ht.shift(),ht.length&&ye(ht[0][0],ht[0][1])}}function ce(Be){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var We,Ue=Be[Symbol.asyncIterator];return Ue?Ue.call(Be):(Be=function xe(Be){var Ue="function"==typeof Symbol&&Symbol.iterator,We=Ue&&Be[Ue],Qe=0;if(We)return We.call(Be);if(Be&&"number"==typeof Be.length)return{next:function(){return Be&&Qe>=Be.length&&(Be=void 0),{value:Be&&Be[Qe++],done:!Be}}};throw new TypeError(Ue?"Object is not iterable.":"Symbol.iterator is not defined.")}(Be),We={},Qe("next"),Qe("throw"),Qe("return"),We[Symbol.asyncIterator]=function(){return this},We);function Qe(ht){We[ht]=Be[ht]&&function(Ot){return new Promise(function(ye,Ze){!function at(ht,Ot,ye,Ze){Promise.resolve(Ze).then(function(Xe){ht({value:Xe,done:ye})},Ot)}(ye,Ze,(Ot=Be[ht](Ot)).done,Ot.value)})}}}v.d(Ce,{FC:()=>V,KL:()=>ce,_T:()=>j,mG:()=>he,qq:()=>W}),"function"==typeof SuppressedError&&SuppressedError}},mt=>{mt(mt.s=3943)}]);