dealpostools 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[179],{2011:(rt,ye,S)=>{S.d(ye,{Dh:()=>ie,GT:()=>Q,cc:()=>Ne,hO:()=>Ve,on:()=>B,pX:()=>G,xv:()=>fe});var l=S(4650),d=S(9260),$=S(2122);rt=S.hmd(rt);const z=["ngOnDestroy"],G=(he,et,nt,Oe={})=>new Proxy(he,{get:(ae,Ce)=>nt.runOutsideAngular(()=>{var Ge;if(he[Ce])return!(null===(Ge=Oe?.spy)||void 0===Ge)&&Ge.get&&Oe.spy.get(Ce,he[Ce]),he[Ce];if(z.indexOf(Ce)>-1)return()=>{};const Be=et.toPromise().then(ve=>{const Ee=ve&&ve[Ce];return"function"==typeof Ee?Ee.bind(ve):Ee&&Ee.then?Ee.then(se=>nt.run(()=>se)):nt.run(()=>Ee)});return new Proxy(()=>{},{get:(ve,Ee)=>Be[Ee],apply:(ve,Ee,se)=>Be.then(ge=>{var Te;const le=ge&&ge(...se);return!(null===(Te=Oe?.spy)||void 0===Te)&&Te.apply&&Oe.spy.apply(Ce,se,le),le})})})}),Q=(he,et)=>{et.forEach(nt=>{Object.getOwnPropertyNames(nt.prototype||nt).forEach(Oe=>{Object.defineProperty(he.prototype,Oe,Object.getOwnPropertyDescriptor(nt.prototype||nt,Oe))})})};class q{constructor(et){return et}}const ie=new l.OlP("angularfire2.app.options"),fe=new l.OlP("angularfire2.app.name");function B(he,et,nt){const ae="object"==typeof nt&&nt||{};ae.name=ae.name||"string"==typeof nt&&nt||"[DEFAULT]";const Ge=d.Z.apps.filter(Be=>Be&&Be.name===ae.name)[0]||et.runOutsideAngular(()=>d.Z.initializeApp(he,ae));try{JSON.stringify(he)!==JSON.stringify(Ge.options)&&L("error",`${Ge.name} Firebase App already initialized with different options${rt.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch{}return new q(Ge)}const L=(he,...et)=>{(0,l.X6Q)()&&typeof console<"u"&&console[he](...et)},ne={provide:q,useFactory:B,deps:[ie,l.R0b,[new l.FiY,fe]]};let Ve=(()=>{class he{constructor(nt){d.Z.registerVersion("angularfire",$.q4.full,"core"),d.Z.registerVersion("angularfire",$.q4.full,"app-compat"),d.Z.registerVersion("angular",l.q4F.full,nt.toString())}static initializeApp(nt,Oe){return{ngModule:he,providers:[{provide:ie,useValue:nt},{provide:fe,useValue:Oe}]}}}return he.\u0275fac=function(nt){return new(nt||he)(l.LFG(l.Lbi))},he.\u0275mod=l.oAB({type:he}),he.\u0275inj=l.cJS({providers:[ne]}),he})();function Ne(he,et,nt,Oe,ae){const[,Ce,Ge]=globalThis.\u0275AngularfireInstanceCache.find(Be=>Be[0]===he)||[];if(Ce)return function Se(he,et){try{return he.toString()===et.toString()}catch{return he===et}}(ae,Ge)||(Me("error",`${et} was already initialized on the ${nt} Firebase App with different settings.${Ye?" You may need to reload as Firebase is not HMR aware.":""}`),Me("warn",{is:ae,was:Ge})),Ce;{const Be=Oe();return globalThis.\u0275AngularfireInstanceCache.push([he,Be,ae]),Be}}const Ye=!!rt.hot,Me=(he,...et)=>{(0,l.X6Q)()&&typeof console<"u"&&console[he](...et)};globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=[])},2122:(rt,ye,S)=>{S.d(ye,{q4:()=>Zt,iC:()=>nr,HU:()=>ul,vb:()=>Rs,JM:()=>$a});var l=S(4650),d=S(259),$=S(5861),z=S(9681),G=S(2090),Q=S(4859),q=S(1877),ie=S(8766);const fe="@firebase/installations",B="0.6.0",ne=`w:${B}`,Ve="FIS_v2",et=new G.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 nt(v){return v instanceof G.ZR&&v.code.includes("request-failed")}function Oe({projectId:v}){return`https://firebaseinstallations.googleapis.com/v1/projects/${v}/installations`}function ae(v){return{token:v.token,requestStatus:2,expiresIn:ge(v.expiresIn),creationTime:Date.now()}}function Ce(v,M){return Ge.apply(this,arguments)}function Ge(){return(Ge=(0,$.Z)(function*(v,M){const Z=(yield M.json()).error;return et.create("request-failed",{requestName:v,serverCode:Z.code,serverMessage:Z.message,serverStatus:Z.status})})).apply(this,arguments)}function Be({apiKey:v}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":v})}function ve(v,{refreshToken:M}){const P=Be(v);return P.append("Authorization",function Te(v){return`${Ve} ${v}`}(M)),P}function Ee(v){return se.apply(this,arguments)}function se(){return(se=(0,$.Z)(function*(v){const M=yield v();return M.status>=500&&M.status<600?v():M})).apply(this,arguments)}function ge(v){return Number(v.replace("s","000"))}function le(v,M){return $e.apply(this,arguments)}function $e(){return($e=(0,$.Z)(function*({appConfig:v,heartbeatServiceProvider:M},{fid:P}){const Z=Oe(v),_e=Be(v),Ie=M.getImmediate({optional:!0});if(Ie){const Vt=yield Ie.getHeartbeatsHeader();Vt&&_e.append("x-firebase-client",Vt)}const Dt={method:"POST",headers:_e,body:JSON.stringify({fid:P,authVersion:Ve,appId:v.appId,sdkVersion:ne})},Rt=yield Ee(()=>fetch(Z,Dt));if(Rt.ok){const Vt=yield Rt.json();return{fid:Vt.fid||P,registrationStatus:2,refreshToken:Vt.refreshToken,authToken:ae(Vt.authToken)}}throw yield Ce("Create Installation",Rt)})).apply(this,arguments)}function Je(v){return new Promise(M=>{setTimeout(M,v)})}const Nt=/^[cdef][\w-]{21}$/;function lt(){try{const v=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(v),v[0]=112+v[0]%16;const P=function Ht(v){return function yt(v){return btoa(String.fromCharCode(...v)).replace(/\+/g,"-").replace(/\//g,"_")}(v).substr(0,22)}(v);return Nt.test(P)?P:""}catch{return""}}function We(v){return`${v.appName}!${v.appId}`}const qe=new Map;function de(v,M){const P=We(v);at(P,M),function Nn(v,M){const P=function Ln(){return!gn&&"BroadcastChannel"in self&&(gn=new BroadcastChannel("[Firebase] FID Change"),gn.onmessage=v=>{at(v.data.key,v.data.fid)}),gn}();P&&P.postMessage({key:v,fid:M}),function ur(){0===qe.size&&gn&&(gn.close(),gn=null)}()}(P,M)}function at(v,M){const P=qe.get(v);if(P)for(const Z of P)Z(M)}let gn=null;const Dn="firebase-installations-store";let Hn=null;function Ct(){return Hn||(Hn=(0,ie.X3)("firebase-installations-database",1,{upgrade:(v,M)=>{0===M&&v.createObjectStore(Dn)}})),Hn}function xt(v,M){return pn.apply(this,arguments)}function pn(){return(pn=(0,$.Z)(function*(v,M){const P=We(v),_e=(yield Ct()).transaction(Dn,"readwrite"),Ie=_e.objectStore(Dn),Xe=yield Ie.get(P);return yield Ie.put(M,P),yield _e.done,(!Xe||Xe.fid!==M.fid)&&de(v,M.fid),M})).apply(this,arguments)}function nn(v){return Vn.apply(this,arguments)}function Vn(){return(Vn=(0,$.Z)(function*(v){const M=We(v),Z=(yield Ct()).transaction(Dn,"readwrite");yield Z.objectStore(Dn).delete(M),yield Z.done})).apply(this,arguments)}function pr(v,M){return dn.apply(this,arguments)}function dn(){return(dn=(0,$.Z)(function*(v,M){const P=We(v),_e=(yield Ct()).transaction(Dn,"readwrite"),Ie=_e.objectStore(Dn),Xe=yield Ie.get(P),Dt=M(Xe);return void 0===Dt?yield Ie.delete(P):yield Ie.put(Dt,P),yield _e.done,Dt&&(!Xe||Xe.fid!==Dt.fid)&&de(v,Dt.fid),Dt})).apply(this,arguments)}function Cn(v){return Ue.apply(this,arguments)}function Ue(){return(Ue=(0,$.Z)(function*(v){let M;const P=yield pr(v.appConfig,Z=>{const _e=ee(Z),Ie=W(v,_e);return M=Ie.registrationPromise,Ie.installationEntry});return""===P.fid?{installationEntry:yield M}:{installationEntry:P,registrationPromise:M}})).apply(this,arguments)}function ee(v){return At(v||{fid:lt(),registrationStatus:0})}function W(v,M){if(0===M.registrationStatus){if(!navigator.onLine)return{installationEntry:M,registrationPromise:Promise.reject(et.create("app-offline"))};const P={fid:M.fid,registrationStatus:1,registrationTime:Date.now()},Z=function be(v,M){return Ze.apply(this,arguments)}(v,P);return{installationEntry:P,registrationPromise:Z}}return 1===M.registrationStatus?{installationEntry:M,registrationPromise:Et(v)}:{installationEntry:M}}function Ze(){return(Ze=(0,$.Z)(function*(v,M){try{const P=yield le(v,M);return xt(v.appConfig,P)}catch(P){throw nt(P)&&409===P.customData.serverCode?yield nn(v.appConfig):yield xt(v.appConfig,{fid:M.fid,registrationStatus:0}),P}})).apply(this,arguments)}function Et(v){return wt.apply(this,arguments)}function wt(){return(wt=(0,$.Z)(function*(v){let M=yield Qe(v.appConfig);for(;1===M.registrationStatus;)yield Je(100),M=yield Qe(v.appConfig);if(0===M.registrationStatus){const{installationEntry:P,registrationPromise:Z}=yield Cn(v);return Z||P}return M})).apply(this,arguments)}function Qe(v){return pr(v,M=>{if(!M)throw et.create("installation-not-found");return At(M)})}function At(v){return function On(v){return 1===v.registrationStatus&&v.registrationTime+1e4<Date.now()}(v)?{fid:v.fid,registrationStatus:0}:v}function Ot(v,M){return jn.apply(this,arguments)}function jn(){return(jn=(0,$.Z)(function*({appConfig:v,heartbeatServiceProvider:M},P){const Z=Ft(v,P),_e=ve(v,P),Ie=M.getImmediate({optional:!0});if(Ie){const Vt=yield Ie.getHeartbeatsHeader();Vt&&_e.append("x-firebase-client",Vt)}const Dt={method:"POST",headers:_e,body:JSON.stringify({installation:{sdkVersion:ne,appId:v.appId}})},Rt=yield Ee(()=>fetch(Z,Dt));if(Rt.ok)return ae(yield Rt.json());throw yield Ce("Generate Auth Token",Rt)})).apply(this,arguments)}function Ft(v,{fid:M}){return`${Oe(v)}/${M}/authTokens:generate`}function rn(v){return an.apply(this,arguments)}function an(){return(an=(0,$.Z)(function*(v,M=!1){let P;const Z=yield pr(v.appConfig,Ie=>{if(!Jt(Ie))throw et.create("not-registered");const Xe=Ie.authToken;if(!M&&X(Xe))return Ie;if(1===Xe.requestStatus)return P=ut(v,M),Ie;{if(!navigator.onLine)throw et.create("app-offline");const Dt=ce(Ie);return P=Lt(v,Dt),Dt}});return P?yield P:Z.authToken})).apply(this,arguments)}function ut(v,M){return He.apply(this,arguments)}function He(){return(He=(0,$.Z)(function*(v,M){let P=yield ct(v.appConfig);for(;1===P.authToken.requestStatus;)yield Je(100),P=yield ct(v.appConfig);const Z=P.authToken;return 0===Z.requestStatus?rn(v,M):Z})).apply(this,arguments)}function ct(v){return pr(v,M=>{if(!Jt(M))throw et.create("not-registered");return function Pe(v){return 1===v.requestStatus&&v.requestTime+1e4<Date.now()}(M.authToken)?Object.assign(Object.assign({},M),{authToken:{requestStatus:0}}):M})}function Lt(v,M){return Wt.apply(this,arguments)}function Wt(){return(Wt=(0,$.Z)(function*(v,M){try{const P=yield Ot(v,M),Z=Object.assign(Object.assign({},M),{authToken:P});return yield xt(v.appConfig,Z),P}catch(P){if(!nt(P)||401!==P.customData.serverCode&&404!==P.customData.serverCode){const Z=Object.assign(Object.assign({},M),{authToken:{requestStatus:0}});yield xt(v.appConfig,Z)}else yield nn(v.appConfig);throw P}})).apply(this,arguments)}function Jt(v){return void 0!==v&&2===v.registrationStatus}function X(v){return 2===v.requestStatus&&!function K(v){const M=Date.now();return M<v.creationTime||v.creationTime+v.expiresIn<M+36e5}(v)}function ce(v){const M={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},v),{authToken:M})}function ft(){return(ft=(0,$.Z)(function*(v){const M=v,{installationEntry:P,registrationPromise:Z}=yield Cn(M);return Z?Z.catch(console.error):rn(M).catch(console.error),P.fid})).apply(this,arguments)}function Kt(){return(Kt=(0,$.Z)(function*(v,M=!1){const P=v;return yield it(P),(yield rn(P,M)).token})).apply(this,arguments)}function it(v){return _t.apply(this,arguments)}function _t(){return(_t=(0,$.Z)(function*(v){const{registrationPromise:M}=yield Cn(v);M&&(yield M)})).apply(this,arguments)}function bt(v){return et.create("missing-app-config-values",{valueName:v})}const Fn="installations",gr=v=>{const M=v.getProvider("app").getImmediate(),P=function Gt(v){if(!v||!v.options)throw bt("App Configuration");if(!v.name)throw bt("App Name");const M=["projectId","apiKey","appId"];for(const P of M)if(!v.options[P])throw bt(P);return{appName:v.name,projectId:v.options.projectId,apiKey:v.options.apiKey,appId:v.options.appId}}(M);return{app:M,appConfig:P,heartbeatServiceProvider:(0,z._getProvider)(M,"heartbeat"),_delete:()=>Promise.resolve()}},Zn=v=>{const M=v.getProvider("app").getImmediate(),P=(0,z._getProvider)(M,Fn).getImmediate();return{getId:()=>function De(v){return ft.apply(this,arguments)}(P),getToken:_e=>function Tt(v){return Kt.apply(this,arguments)}(P,_e)}};(function Bn(){(0,z._registerComponent)(new Q.wA(Fn,gr,"PUBLIC")),(0,z._registerComponent)(new Q.wA("installations-internal",Zn,"PRIVATE"))})(),(0,z.registerVersion)(fe,B),(0,z.registerVersion)(fe,B,"esm2017");const Wr="@firebase/remote-config",on=new G.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 hs{constructor(M,P,Z,_e){this.client=M,this.storage=P,this.storageCache=Z,this.logger=_e}isCachedDataFresh(M,P){if(!P)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const Z=Date.now()-P,_e=Z<=M;return this.logger.debug(`Config fetch cache check. Cache age millis: ${Z}. Cache max age millis (minimumFetchIntervalMillis setting): ${M}. Is cache hit: ${_e}.`),_e}fetch(M){var P=this;return(0,$.Z)(function*(){const[Z,_e]=yield Promise.all([P.storage.getLastSuccessfulFetchTimestampMillis(),P.storage.getLastSuccessfulFetchResponse()]);if(_e&&P.isCachedDataFresh(M.cacheMaxAgeMillis,Z))return _e;M.eTag=_e&&_e.eTag;const Ie=yield P.client.fetch(M),Xe=[P.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===Ie.status&&Xe.push(P.storage.setLastSuccessfulFetchResponse(Ie)),yield Promise.all(Xe),Ie})()}}function ps(v=navigator){return v.languages&&v.languages[0]||v.language}class $s{constructor(M,P,Z,_e,Ie,Xe){this.firebaseInstallations=M,this.sdkVersion=P,this.namespace=Z,this.projectId=_e,this.apiKey=Ie,this.appId=Xe}fetch(M){var P=this;return(0,$.Z)(function*(){const[Z,_e]=yield Promise.all([P.firebaseInstallations.getId(),P.firebaseInstallations.getToken()]),Xe=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${P.projectId}/namespaces/${P.namespace}:fetch?key=${P.apiKey}`,Dt={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":M.eTag||"*"},Rt={sdk_version:P.sdkVersion,app_instance_id:Z,app_instance_id_token:_e,app_id:P.appId,language_code:ps()},Vt={method:"POST",headers:Dt,body:JSON.stringify(Rt)},sn=fetch(Xe,Vt),qt=new Promise((Ni,is)=>{M.signal.addEventListener(()=>{const Ca=new Error("The operation was aborted.");Ca.name="AbortError",is(Ca)})});let Xr;try{yield Promise.race([sn,qt]),Xr=yield sn}catch(Ni){let is="fetch-client-network";throw"AbortError"===Ni?.name&&(is="fetch-timeout"),on.create(is,{originalErrorMessage:Ni?.message})}let wr=Xr.status;const za=Xr.headers.get("ETag")||void 0;let qi,Bo;if(200===Xr.status){let Ni;try{Ni=yield Xr.json()}catch(is){throw on.create("fetch-client-parse",{originalErrorMessage:is?.message})}qi=Ni.entries,Bo=Ni.state}if("INSTANCE_STATE_UNSPECIFIED"===Bo?wr=500:"NO_CHANGE"===Bo?wr=304:("NO_TEMPLATE"===Bo||"EMPTY_CONFIG"===Bo)&&(qi={}),304!==wr&&200!==wr)throw on.create("fetch-status",{httpStatus:wr});return{status:wr,eTag:za,config:qi}})()}}class $o{constructor(M,P){this.client=M,this.storage=P}fetch(M){var P=this;return(0,$.Z)(function*(){const Z=(yield P.storage.getThrottleMetadata())||{backoffCount:0,throttleEndTimeMillis:Date.now()};return P.attemptFetch(M,Z)})()}attemptFetch(M,{throttleEndTimeMillis:P,backoffCount:Z}){var _e=this;return(0,$.Z)(function*(){yield function Er(v,M){return new Promise((P,Z)=>{const _e=Math.max(M-Date.now(),0),Ie=setTimeout(P,_e);v.addEventListener(()=>{clearTimeout(Ie),Z(on.create("fetch-throttle",{throttleEndTimeMillis:M}))})})}(M.signal,P);try{const Ie=yield _e.client.fetch(M);return yield _e.storage.deleteThrottleMetadata(),Ie}catch(Ie){if(!function Co(v){if(!(v instanceof G.ZR&&v.customData))return!1;const M=Number(v.customData.httpStatus);return 429===M||500===M||503===M||504===M}(Ie))throw Ie;const Xe={throttleEndTimeMillis:Date.now()+(0,G.$s)(Z),backoffCount:Z+1};return yield _e.storage.setThrottleMetadata(Xe),_e.attemptFetch(M,Xe)}})()}}class io{constructor(M,P,Z,_e,Ie){this.app=M,this._client=P,this._storageCache=Z,this._storage=_e,this._logger=Ie,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 Ui(v,M){const P=v.target.error||void 0;return on.create(M,{originalErrorMessage:P&&P?.message})}const Vr="app_namespace_store";class wi{constructor(M,P,Z,_e=function Eo(){return new Promise((v,M)=>{try{const P=indexedDB.open("firebase_remote_config",1);P.onerror=Z=>{M(Ui(Z,"storage-open"))},P.onsuccess=Z=>{v(Z.target.result)},P.onupgradeneeded=Z=>{0===Z.oldVersion&&Z.target.result.createObjectStore(Vr,{keyPath:"compositeKey"})}}catch(P){M(on.create("storage-open",{originalErrorMessage:P?.message}))}})}()){this.appId=M,this.appName=P,this.namespace=Z,this.openDbPromise=_e}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(M){return this.set("last_fetch_status",M)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(M){return this.set("last_successful_fetch_timestamp_millis",M)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(M){return this.set("last_successful_fetch_response",M)}getActiveConfig(){return this.get("active_config")}setActiveConfig(M){return this.set("active_config",M)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(M){return this.set("active_config_etag",M)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(M){return this.set("throttle_metadata",M)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}get(M){var P=this;return(0,$.Z)(function*(){const Z=yield P.openDbPromise;return new Promise((_e,Ie)=>{const Dt=Z.transaction([Vr],"readonly").objectStore(Vr),Rt=P.createCompositeKey(M);try{const Vt=Dt.get(Rt);Vt.onerror=sn=>{Ie(Ui(sn,"storage-get"))},Vt.onsuccess=sn=>{const qt=sn.target.result;_e(qt?qt.value:void 0)}}catch(Vt){Ie(on.create("storage-get",{originalErrorMessage:Vt?.message}))}})})()}set(M,P){var Z=this;return(0,$.Z)(function*(){const _e=yield Z.openDbPromise;return new Promise((Ie,Xe)=>{const Rt=_e.transaction([Vr],"readwrite").objectStore(Vr),Vt=Z.createCompositeKey(M);try{const sn=Rt.put({compositeKey:Vt,value:P});sn.onerror=qt=>{Xe(Ui(qt,"storage-set"))},sn.onsuccess=()=>{Ie()}}catch(sn){Xe(on.create("storage-set",{originalErrorMessage:sn?.message}))}})})()}delete(M){var P=this;return(0,$.Z)(function*(){const Z=yield P.openDbPromise;return new Promise((_e,Ie)=>{const Dt=Z.transaction([Vr],"readwrite").objectStore(Vr),Rt=P.createCompositeKey(M);try{const Vt=Dt.delete(Rt);Vt.onerror=sn=>{Ie(Ui(sn,"storage-delete"))},Vt.onsuccess=()=>{_e()}}catch(Vt){Ie(on.create("storage-delete",{originalErrorMessage:Vt?.message}))}})})()}createCompositeKey(M){return[this.appId,this.appName,this.namespace,M].join()}}class Hi{constructor(M){this.storage=M}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}loadFromStorage(){var M=this;return(0,$.Z)(function*(){const P=M.storage.getLastFetchStatus(),Z=M.storage.getLastSuccessfulFetchTimestampMillis(),_e=M.storage.getActiveConfig(),Ie=yield P;Ie&&(M.lastFetchStatus=Ie);const Xe=yield Z;Xe&&(M.lastSuccessfulFetchTimestampMillis=Xe);const Dt=yield _e;Dt&&(M.activeConfig=Dt)})()}setLastFetchStatus(M){return this.lastFetchStatus=M,this.storage.setLastFetchStatus(M)}setLastSuccessfulFetchTimestampMillis(M){return this.lastSuccessfulFetchTimestampMillis=M,this.storage.setLastSuccessfulFetchTimestampMillis(M)}setActiveConfig(M){return this.activeConfig=M,this.storage.setActiveConfig(M)}}function Br(){return Zr.apply(this,arguments)}function Zr(){return(Zr=(0,$.Z)(function*(){if(!(0,G.hl)())return!1;try{return yield(0,G.eu)()}catch{return!1}})).apply(this,arguments)}!function ii(){(0,z._registerComponent)(new Q.wA("remote-config",function v(M,{instanceIdentifier:P}){const Z=M.getProvider("app").getImmediate(),_e=M.getProvider("installations-internal").getImmediate();if(typeof window>"u")throw on.create("registration-window");if(!(0,G.hl)())throw on.create("indexed-db-unavailable");const{projectId:Ie,apiKey:Xe,appId:Dt}=Z.options;if(!Ie)throw on.create("registration-project-id");if(!Xe)throw on.create("registration-api-key");if(!Dt)throw on.create("registration-app-id");const Rt=new wi(Dt,Z.name,P=P||"firebase"),Vt=new Hi(Rt),sn=new q.Yd(Wr);sn.logLevel=q.in.ERROR;const qt=new $s(_e,z.SDK_VERSION,P,Ie,Xe,Dt),Xr=new $o(qt,Rt),wr=new hs(Xr,Rt,Vt,sn),za=new io(Z,wr,Vt,Rt,sn);return function Pn(v){const M=(0,G.m9)(v);M._initializePromise||(M._initializePromise=M._storageCache.loadFromStorage().then(()=>{M._isInitializationComplete=!0}))}(za),za},"PUBLIC").setMultipleInstances(!0)),(0,z.registerVersion)(Wr,"0.4.0"),(0,z.registerVersion)(Wr,"0.4.0","esm2017")}();const Ti="/firebase-messaging-sw.js",oi="/firebase-cloud-messaging-push-scope",ao="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",Si="google.c.a.c_id",Ur="google.c.a.c_l",bo="google.c.a.ts",wo="google.c.a.e";var zn=(()=>{return(v=zn||(zn={})).PUSH_RECEIVED="push-received",v.NOTIFICATION_CLICKED="notification-clicked",zn;var v})();function mr(v){const M=new Uint8Array(v);return btoa(String.fromCharCode(...M)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function zo(v){const P=(v+"=".repeat((4-v.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),Z=atob(P),_e=new Uint8Array(Z.length);for(let Ie=0;Ie<Z.length;++Ie)_e[Ie]=Z.charCodeAt(Ie);return _e}const Yr="fcm_token_details_db",Ii="fcm_token_object_Store";function xn(v){return ji.apply(this,arguments)}function ji(){return ji=(0,$.Z)(function*(v){if("databases"in indexedDB&&!(yield indexedDB.databases()).map(Ie=>Ie.name).includes(Yr))return null;let M=null;return(yield(0,ie.X3)(Yr,5,{upgrade:(Z=(0,$.Z)(function*(_e,Ie,Xe,Dt){var Rt;if(Ie<2||!_e.objectStoreNames.contains(Ii))return;const Vt=Dt.objectStore(Ii),sn=yield Vt.index("fcmSenderId").get(v);if(yield Vt.clear(),sn)if(2===Ie){const qt=sn;if(!qt.auth||!qt.p256dh||!qt.endpoint)return;M={token:qt.fcmToken,createTime:null!==(Rt=qt.createTime)&&void 0!==Rt?Rt:Date.now(),subscriptionOptions:{auth:qt.auth,p256dh:qt.p256dh,endpoint:qt.endpoint,swScope:qt.swScope,vapidKey:"string"==typeof qt.vapidKey?qt.vapidKey:mr(qt.vapidKey)}}}else if(3===Ie){const qt=sn;M={token:qt.fcmToken,createTime:qt.createTime,subscriptionOptions:{auth:mr(qt.auth),p256dh:mr(qt.p256dh),endpoint:qt.endpoint,swScope:qt.swScope,vapidKey:mr(qt.vapidKey)}}}else if(4===Ie){const qt=sn;M={token:qt.fcmToken,createTime:qt.createTime,subscriptionOptions:{auth:mr(qt.auth),p256dh:mr(qt.p256dh),endpoint:qt.endpoint,swScope:qt.swScope,vapidKey:mr(qt.vapidKey)}}}}),function(Ie,Xe,Dt,Rt){return Z.apply(this,arguments)})})).close(),yield(0,ie.Lj)(Yr),yield(0,ie.Lj)("fcm_vapid_details_db"),yield(0,ie.Lj)("undefined"),fa(M)?M:null;var Z}),ji.apply(this,arguments)}function fa(v){if(!v||!v.subscriptionOptions)return!1;const{subscriptionOptions:M}=v;return"number"==typeof v.createTime&&v.createTime>0&&"string"==typeof v.token&&v.token.length>0&&"string"==typeof M.auth&&M.auth.length>0&&"string"==typeof M.p256dh&&M.p256dh.length>0&&"string"==typeof M.endpoint&&M.endpoint.length>0&&"string"==typeof M.swScope&&M.swScope.length>0&&"string"==typeof M.vapidKey&&M.vapidKey.length>0}const Ir="firebase-messaging-store";let Oi=null;function sr(){return Oi||(Oi=(0,ie.X3)("firebase-messaging-database",1,{upgrade:(v,M)=>{0===M&&v.createObjectStore(Ir)}})),Oi}function cr(v){return E.apply(this,arguments)}function E(){return(E=(0,$.Z)(function*(v){const M=ke(v),Z=yield(yield sr()).transaction(Ir).objectStore(Ir).get(M);if(Z)return Z;{const _e=yield xn(v.appConfig.senderId);if(_e)return yield x(v,_e),_e}})).apply(this,arguments)}function x(v,M){return A.apply(this,arguments)}function A(){return(A=(0,$.Z)(function*(v,M){const P=ke(v),_e=(yield sr()).transaction(Ir,"readwrite");return yield _e.objectStore(Ir).put(M,P),yield _e.done,M})).apply(this,arguments)}function k(v){return oe.apply(this,arguments)}function oe(){return(oe=(0,$.Z)(function*(v){const M=ke(v),Z=(yield sr()).transaction(Ir,"readwrite");yield Z.objectStore(Ir).delete(M),yield Z.done})).apply(this,arguments)}function ke({appConfig:v}){return v.appId}const ht=new G.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 wn(v,M){return En.apply(this,arguments)}function En(){return(En=(0,$.Z)(function*(v,M){const P=yield ze(v),Z=Pi(M),_e={method:"POST",headers:P,body:JSON.stringify(Z)};let Ie;try{Ie=yield(yield fetch($n(v.appConfig),_e)).json()}catch(Xe){throw ht.create("token-subscribe-failed",{errorInfo:Xe?.toString()})}if(Ie.error)throw ht.create("token-subscribe-failed",{errorInfo:Ie.error.message});if(!Ie.token)throw ht.create("token-subscribe-no-token");return Ie.token})).apply(this,arguments)}function An(v,M){return ln.apply(this,arguments)}function ln(){return(ln=(0,$.Z)(function*(v,M){const P=yield ze(v),Z=Pi(M.subscriptionOptions),_e={method:"PATCH",headers:P,body:JSON.stringify(Z)};let Ie;try{Ie=yield(yield fetch(`${$n(v.appConfig)}/${M.token}`,_e)).json()}catch(Xe){throw ht.create("token-update-failed",{errorInfo:Xe?.toString()})}if(Ie.error)throw ht.create("token-update-failed",{errorInfo:Ie.error.message});if(!Ie.token)throw ht.create("token-update-no-token");return Ie.token})).apply(this,arguments)}function Rn(v,M){return Tn.apply(this,arguments)}function Tn(){return(Tn=(0,$.Z)(function*(v,M){const Z={method:"DELETE",headers:yield ze(v)};try{const Ie=yield(yield fetch(`${$n(v.appConfig)}/${M}`,Z)).json();if(Ie.error)throw ht.create("token-unsubscribe-failed",{errorInfo:Ie.error.message})}catch(_e){throw ht.create("token-unsubscribe-failed",{errorInfo:_e?.toString()})}})).apply(this,arguments)}function $n({projectId:v}){return`https://fcmregistrations.googleapis.com/v1/projects/${v}/registrations`}function ze(v){return Bt.apply(this,arguments)}function Bt(){return(Bt=(0,$.Z)(function*({appConfig:v,installations:M}){const P=yield M.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":v.apiKey,"x-goog-firebase-installations-auth":`FIS ${P}`})})).apply(this,arguments)}function Pi({p256dh:v,auth:M,endpoint:P,vapidKey:Z}){const _e={web:{endpoint:P,auth:M,p256dh:v}};return Z!==ao&&(_e.web.applicationPubKey=Z),_e}const Hr=6048e5;function Sn(v){return Or.apply(this,arguments)}function Or(){return(Or=(0,$.Z)(function*(v){const M=yield sl(v.swRegistration,v.vapidKey),P={vapidKey:v.vapidKey,swScope:v.swRegistration.scope,endpoint:M.endpoint,auth:mr(M.getKey("auth")),p256dh:mr(M.getKey("p256dh"))},Z=yield cr(v.firebaseDependencies);if(Z){if(T(Z.subscriptionOptions,P))return Date.now()>=Z.createTime+Hr?Wo(v,{token:Z.token,createTime:Date.now(),subscriptionOptions:P}):Z.token;try{yield Rn(v.firebaseDependencies,Z.token)}catch(_e){console.warn(_e)}return Gs(v.firebaseDependencies,P)}return Gs(v.firebaseDependencies,P)})).apply(this,arguments)}function si(v){return Pr.apply(this,arguments)}function Pr(){return(Pr=(0,$.Z)(function*(v){const M=yield cr(v.firebaseDependencies);M&&(yield Rn(v.firebaseDependencies,M.token),yield k(v.firebaseDependencies));const P=yield v.swRegistration.pushManager.getSubscription();return!P||P.unsubscribe()})).apply(this,arguments)}function Wo(v,M){return Mo.apply(this,arguments)}function Mo(){return(Mo=(0,$.Z)(function*(v,M){try{const P=yield An(v.firebaseDependencies,M),Z=Object.assign(Object.assign({},M),{token:P,createTime:Date.now()});return yield x(v.firebaseDependencies,Z),P}catch(P){throw yield si(v),P}})).apply(this,arguments)}function Gs(v,M){return gs.apply(this,arguments)}function gs(){return(gs=(0,$.Z)(function*(v,M){const Z={token:yield wn(v,M),createTime:Date.now(),subscriptionOptions:M};return yield x(v,Z),Z.token})).apply(this,arguments)}function sl(v,M){return lo.apply(this,arguments)}function lo(){return(lo=(0,$.Z)(function*(v,M){return(yield v.pushManager.getSubscription())||v.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:zo(M)})})).apply(this,arguments)}function T(v,M){return M.vapidKey===v.vapidKey&&M.endpoint===v.endpoint&&M.auth===v.auth&&M.p256dh===v.p256dh}function C(v){const M={from:v.from,collapseKey:v.collapse_key,messageId:v.fcmMessageId};return function D(v,M){if(!M.notification)return;v.notification={};const P=M.notification.title;P&&(v.notification.title=P);const Z=M.notification.body;Z&&(v.notification.body=Z);const _e=M.notification.image;_e&&(v.notification.image=_e);const Ie=M.notification.icon;Ie&&(v.notification.icon=Ie)}(M,v),function F(v,M){!M.data||(v.data=M.data)}(M,v),function Fe(v,M){var P,Z,_e,Ie,Xe;if(!(M.fcmOptions||null!==(P=M.notification)&&void 0!==P&&P.click_action))return;v.fcmOptions={};const Dt=null!==(_e=null===(Z=M.fcmOptions)||void 0===Z?void 0:Z.link)&&void 0!==_e?_e:null===(Ie=M.notification)||void 0===Ie?void 0:Ie.click_action;Dt&&(v.fcmOptions.link=Dt);const Rt=null===(Xe=M.fcmOptions)||void 0===Xe?void 0:Xe.analytics_label;Rt&&(v.fcmOptions.analyticsLabel=Rt)}(M,v),M}function It(v){return"object"==typeof v&&!!v&&Si in v}function kn(v,M){const P=[];for(let Z=0;Z<v.length;Z++)P.push(v.charAt(Z)),Z<M.length&&P.push(M.charAt(Z));return P.join("")}function ar(v){return ht.create("missing-app-config-values",{valueName:v})}kn("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o"),kn("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");class ai{constructor(M,P,Z){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const _e=function jr(v){if(!v||!v.options)throw ar("App Configuration Object");if(!v.name)throw ar("App Name");const M=["projectId","apiKey","appId","messagingSenderId"],{options:P}=v;for(const Z of M)if(!P[Z])throw ar(Z);return{appName:v.name,projectId:P.projectId,apiKey:P.apiKey,appId:P.appId,senderId:P.messagingSenderId}}(M);this.firebaseDependencies={app:M,appConfig:_e,installations:P,analyticsProvider:Z}}_delete(){return Promise.resolve()}}function pi(v){return xi.apply(this,arguments)}function xi(){return(xi=(0,$.Z)(function*(v){try{v.swRegistration=yield navigator.serviceWorker.register(Ti,{scope:oi}),v.swRegistration.update().catch(()=>{})}catch(M){throw ht.create("failed-service-worker-registration",{browserErrorMessage:M?.message})}})).apply(this,arguments)}function uo(v,M){return ms.apply(this,arguments)}function ms(){return(ms=(0,$.Z)(function*(v,M){if(!M&&!v.swRegistration&&(yield pi(v)),M||!v.swRegistration){if(!(M instanceof ServiceWorkerRegistration))throw ht.create("invalid-sw-registration");v.swRegistration=M}})).apply(this,arguments)}function Ko(v,M){return co.apply(this,arguments)}function co(){return(co=(0,$.Z)(function*(v,M){M?v.vapidKey=M:v.vapidKey||(v.vapidKey=ao)})).apply(this,arguments)}function $i(){return($i=(0,$.Z)(function*(v,M){if(!navigator)throw ht.create("only-available-in-window");if("default"===Notification.permission&&(yield Notification.requestPermission()),"granted"!==Notification.permission)throw ht.create("permission-blocked");return yield Ko(v,M?.vapidKey),yield uo(v,M?.serviceWorkerRegistration),Sn(v)})).apply(this,arguments)}function Ia(v,M,P){return Io.apply(this,arguments)}function Io(){return(Io=(0,$.Z)(function*(v,M,P){const Z=zs(M);(yield v.firebaseDependencies.analyticsProvider.get()).logEvent(Z,{message_id:P[Si],message_name:P[Ur],message_time:P[bo],message_device_time:Math.floor(Date.now()/1e3)})})).apply(this,arguments)}function zs(v){switch(v){case zn.NOTIFICATION_CLICKED:return"notification_open";case zn.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}function Oo(){return(Oo=(0,$.Z)(function*(v,M){const P=M.data;if(!P.isFirebaseMessaging)return;v.onMessageHandler&&P.messageType===zn.PUSH_RECEIVED&&("function"==typeof v.onMessageHandler?v.onMessageHandler(C(P)):v.onMessageHandler.next(C(P)));const Z=P.data;It(Z)&&"1"===Z[wo]&&(yield Ia(v,P.messageType,Z))})).apply(this,arguments)}const dr="@firebase/messaging",jt=v=>{const M=new ai(v.getProvider("app").getImmediate(),v.getProvider("installations-internal").getImmediate(),v.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",P=>function Oa(v,M){return Oo.apply(this,arguments)}(M,P)),M},ys=v=>{const M=v.getProvider("messaging").getImmediate();return{getToken:Z=>function So(v,M){return $i.apply(this,arguments)}(M,Z)}};function fo(){return _s.apply(this,arguments)}function _s(){return(_s=(0,$.Z)(function*(){try{yield(0,G.eu)()}catch{return!1}return typeof window<"u"&&(0,G.hl)()&&(0,G.zI)()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")})).apply(this,arguments)}!function Ws(){(0,z._registerComponent)(new Q.wA("messaging",jt,"PUBLIC")),(0,z._registerComponent)(new Q.wA("messaging-internal",ys,"PRIVATE")),(0,z.registerVersion)(dr,"0.12.0"),(0,z.registerVersion)(dr,"0.12.0","esm2017")}();const mi="analytics",Zo="firebase_id",Yo="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig",qo="https://www.googletagmanager.com/gtag/js",fr=new q.Yd("@firebase/analytics");function qs(v){return Promise.all(v.map(M=>M.catch(P=>P)))}function Fa(v,M){const P=document.createElement("script");P.src=`${qo}?l=${v}&id=${M}`,P.async=!0,document.head.appendChild(P)}function Qo(v,M,P,Z,_e,Ie){return Jo.apply(this,arguments)}function Jo(){return(Jo=(0,$.Z)(function*(v,M,P,Z,_e,Ie){const Xe=Z[_e];try{if(Xe)yield M[Xe];else{const Rt=(yield qs(P)).find(Vt=>Vt.measurementId===_e);Rt&&(yield M[Rt.appId])}}catch(Dt){fr.error(Dt)}v("config",_e,Ie)})).apply(this,arguments)}function ha(v,M,P,Z,_e){return zi.apply(this,arguments)}function zi(){return(zi=(0,$.Z)(function*(v,M,P,Z,_e){try{let Ie=[];if(_e&&_e.send_to){let Xe=_e.send_to;Array.isArray(Xe)||(Xe=[Xe]);const Dt=yield qs(P);for(const Rt of Xe){const Vt=Dt.find(qt=>qt.measurementId===Rt),sn=Vt&&M[Vt.appId];if(!sn){Ie=[];break}Ie.push(sn)}}0===Ie.length&&(Ie=Object.values(M)),yield Promise.all(Ie),v("event",Z,_e||{})}catch(Ie){fr.error(Ie)}})).apply(this,arguments)}function Po(v){const M=window.document.getElementsByTagName("script");for(const P of Object.values(M))if(P.src&&P.src.includes(qo)&&P.src.includes(v))return P;return null}const lr=new G.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.'}),Cs=new class Va{constructor(M={},P=1e3){this.throttleMetadata=M,this.intervalMillis=P}getThrottleMetadata(M){return this.throttleMetadata[M]}setThrottleMetadata(M,P){this.throttleMetadata[M]=P}deleteThrottleMetadata(M){delete this.throttleMetadata[M]}};function Ba(v){return new Headers({Accept:"application/json","x-goog-api-key":v})}function Ua(v){return qr.apply(this,arguments)}function qr(){return(qr=(0,$.Z)(function*(v){var M;const{appId:P,apiKey:Z}=v,_e={method:"GET",headers:Ba(Z)},Ie=Yo.replace("{app-id}",P),Xe=yield fetch(Ie,_e);if(200!==Xe.status&&304!==Xe.status){let Dt="";try{const Rt=yield Xe.json();null!==(M=Rt.error)&&void 0!==M&&M.message&&(Dt=Rt.error.message)}catch{}throw lr.create("config-fetch-failed",{httpStatus:Xe.status,responseMessage:Dt})}return Xe.json()})).apply(this,arguments)}function Ha(v){return li.apply(this,arguments)}function li(){return(li=(0,$.Z)(function*(v,M=Cs,P){const{appId:Z,apiKey:_e,measurementId:Ie}=v.options;if(!Z)throw lr.create("no-app-id");if(!_e){if(Ie)return{measurementId:Ie,appId:Z};throw lr.create("no-api-key")}const Xe=M.getThrottleMetadata(Z)||{backoffCount:0,throttleEndTimeMillis:Date.now()},Dt=new Qs;return setTimeout((0,$.Z)(function*(){Dt.abort()}),void 0!==P?P:6e4),Qr({appId:Z,apiKey:_e,measurementId:Ie},Xe,Dt,M)})).apply(this,arguments)}function Qr(v,M,P){return Wi.apply(this,arguments)}function Wi(){return(Wi=(0,$.Z)(function*(v,{throttleEndTimeMillis:M,backoffCount:P},Z,_e=Cs){var Ie;const{appId:Xe,measurementId:Dt}=v;try{yield Ki(Z,M)}catch(Rt){if(Dt)return fr.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Dt} provided in the "measurementId" field in the local Firebase config. [${Rt?.message}]`),{appId:Xe,measurementId:Dt};throw Rt}try{const Rt=yield Ua(v);return _e.deleteThrottleMetadata(Xe),Rt}catch(Rt){const Vt=Rt;if(!Ro(Vt)){if(_e.deleteThrottleMetadata(Xe),Dt)return fr.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Dt} provided in the "measurementId" field in the local Firebase config. [${Vt?.message}]`),{appId:Xe,measurementId:Dt};throw Rt}const sn=503===Number(null===(Ie=Vt?.customData)||void 0===Ie?void 0:Ie.httpStatus)?(0,G.$s)(P,_e.intervalMillis,30):(0,G.$s)(P,_e.intervalMillis),qt={throttleEndTimeMillis:Date.now()+sn,backoffCount:P+1};return _e.setThrottleMetadata(Xe,qt),fr.debug(`Calling attemptFetch again in ${sn} millis`),Qr(v,qt,Z,_e)}})).apply(this,arguments)}function Ki(v,M){return new Promise((P,Z)=>{const _e=Math.max(M-Date.now(),0),Ie=setTimeout(P,_e);v.addEventListener(()=>{clearTimeout(Ie),Z(lr.create("fetch-throttle",{throttleEndTimeMillis:M}))})})}function Ro(v){if(!(v instanceof G.ZR&&v.customData))return!1;const M=Number(v.customData.httpStatus);return 429===M||500===M||503===M||504===M}class Qs{constructor(){this.listeners=[]}addEventListener(M){this.listeners.push(M)}abort(){this.listeners.forEach(M=>M())}}let er,Xo;function No(){return(No=(0,$.Z)(function*(v,M,P,Z,_e){if(_e&&_e.global)v("event",P,Z);else{const Ie=yield M;v("event",P,Object.assign(Object.assign({},Z),{send_to:Ie}))}})).apply(this,arguments)}function ws(v){Xo=v}function es(v){er=v}function ea(){return ma.apply(this,arguments)}function ma(){return(ma=(0,$.Z)(function*(){if(!(0,G.hl)())return fr.warn(lr.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,G.eu)()}catch(v){return fr.warn(lr.create("indexeddb-unavailable",{errorInfo:v?.toString()}).message),!1}return!0})).apply(this,arguments)}function ui(){return(ui=(0,$.Z)(function*(v,M,P,Z,_e,Ie,Xe){var Dt;const Rt=Ha(v);Rt.then(wr=>{P[wr.measurementId]=wr.appId,v.options.measurementId&&wr.measurementId!==v.options.measurementId&&fr.warn(`The measurement ID in the local Firebase config (${v.options.measurementId}) does not match the measurement ID fetched from the server (${wr.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(wr=>fr.error(wr)),M.push(Rt);const Vt=ea().then(wr=>{if(wr)return Z.getId()}),[sn,qt]=yield Promise.all([Rt,Vt]);Po(Ie)||Fa(Ie,sn.measurementId),Xo&&(_e("consent","default",Xo),ws(void 0)),_e("js",new Date);const Xr=null!==(Dt=Xe?.config)&&void 0!==Dt?Dt:{};return Xr.origin="firebase",Xr.update=!0,null!=qt&&(Xr[Zo]=qt),_e("config",sn.measurementId,Xr),er&&(_e("set",er),es(void 0)),sn.measurementId})).apply(this,arguments)}class po{constructor(M){this.app=M}_delete(){return delete br[this.app.options.appId],Promise.resolve()}}let br={},vi=[];const ts={};let ns,hn,$r="dataLayer",As=!1;function na(v,M,P){!function Ts(){const v=[];if((0,G.ru)()&&v.push("This is a browser extension environment."),(0,G.zI)()||v.push("Cookies are not available."),v.length>0){const M=v.map((Z,_e)=>`(${_e+1}) ${Z}`).join(" "),P=lr.create("invalid-analytics-context",{errorInfo:M});fr.warn(P.message)}}();const Z=v.options.appId;if(!Z)throw lr.create("no-app-id");if(!v.options.apiKey){if(!v.options.measurementId)throw lr.create("no-api-key");fr.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 ${v.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=br[Z])throw lr.create("already-exists",{id:Z});if(!As){!function ka(v){let M=[];Array.isArray(window[v])?M=window[v]:window[v]=M}($r);const{wrappedGtag:Ie,gtagCore:Xe}=function ga(v,M,P,Z,_e){let Ie=function(...Xe){window[Z].push(arguments)};return window[_e]&&"function"==typeof window[_e]&&(Ie=window[_e]),window[_e]=function pa(v,M,P,Z){function Ie(){return(Ie=(0,$.Z)(function*(Xe,Dt,Rt){try{"event"===Xe?yield ha(v,M,P,Dt,Rt):"config"===Xe?yield Qo(v,M,P,Z,Dt,Rt):"consent"===Xe?v("consent","update",Rt):v("set",Dt)}catch(Vt){fr.error(Vt)}})).apply(this,arguments)}return function _e(Xe,Dt,Rt){return Ie.apply(this,arguments)}}(Ie,v,M,P),{gtagCore:Ie,wrappedGtag:window[_e]}}(br,vi,ts,$r,"gtag");hn=Ie,ns=Xe,As=!0}return br[Z]=function ta(v,M,P,Z,_e,Ie,Xe){return ui.apply(this,arguments)}(v,vi,ts,M,ns,$r,P),new po(v)}function ra(){return go.apply(this,arguments)}function go(){return(go=(0,$.Z)(function*(){if((0,G.ru)()||!(0,G.zI)()||!(0,G.hl)())return!1;try{return yield(0,G.eu)()}catch{return!1}})).apply(this,arguments)}const xr="@firebase/analytics";!function ya(){(0,z._registerComponent)(new Q.wA(mi,(M,{options:P})=>na(M.getProvider("app").getImmediate(),M.getProvider("installations-internal").getImmediate(),P),"PUBLIC")),(0,z._registerComponent)(new Q.wA("analytics-internal",function v(M){try{const P=M.getProvider(mi).getImmediate();return{logEvent:(Z,_e,Ie)=>function Zi(v,M,P,Z){v=(0,G.m9)(v),function Js(v,M,P,Z,_e){return No.apply(this,arguments)}(hn,br[v.app.options.appId],M,P,Z).catch(_e=>fr.error(_e))}(P,Z,_e,Ie)}}catch(P){throw lr.create("interop-component-reg-failed",{reason:P})}},"PRIVATE")),(0,z.registerVersion)(xr,"0.9.0"),(0,z.registerVersion)(xr,"0.9.0","esm2017")}();var f=S(4408),c=S(7565);const b=new class _ extends c.v{}(class g extends f.o{constructor(M,P){super(M,P),this.scheduler=M,this.work=P}schedule(M,P=0){return P>0?super.schedule(M,P):(this.delay=P,this.state=M,this.scheduler.flush(this),this)}execute(M,P){return P>0||this.closed?super.execute(M,P):this._execute(M,P)}requestAsyncId(M,P,Z=0){return null!=Z&&Z>0||null==Z&&this.delay>0?super.requestAsyncId(M,P,Z):(M.flush(this),0)}});var j=S(4986),J=S(8505),xe=S(9468),dt=S(5363);const Zt=new l.GfV("7.5.0"),vt="__angularfire_symbol__analyticsIsSupportedValue",yn="__angularfire_symbol__analyticsIsSupported",_r="__angularfire_symbol__remoteConfigIsSupportedValue",Ci="__angularfire_symbol__remoteConfigIsSupported",Yi="__angularfire_symbol__messagingIsSupportedValue",vr="__angularfire_symbol__messagingIsSupported";function $a(v,M,P){if(M){if(1===M.length)return M[0];const Ie=M.filter(Xe=>Xe.app===P);if(1===Ie.length)return Ie[0]}return P.container.getProvider(v).getImmediate({optional:!0})}globalThis[yn]||(globalThis[yn]=ra().then(v=>globalThis[vt]=v).catch(()=>globalThis[vt]=!1)),globalThis[vr]||(globalThis[vr]=fo().then(v=>globalThis[Yi]=v).catch(()=>globalThis[Yi]=!1)),globalThis[Ci]||(globalThis[Ci]=Br().then(v=>globalThis[_r]=v).catch(()=>globalThis[_r]=!1));const Rs=(v,M)=>{const P=M?[M]:(0,d.C6)(),Z=[];return P.forEach(_e=>{_e.container.getProvider(v).instances.forEach(Xe=>{Z.includes(Xe)||Z.push(Xe)})}),Z};function mo(){}class ia{constructor(M,P=b){this.zone=M,this.delegate=P}now(){return this.delegate.now()}schedule(M,P,Z){const _e=this.zone;return this.delegate.schedule(function(Xe){_e.runGuarded(()=>{M.apply(this,[Xe])})},P,Z)}}class Ga{constructor(M){this.zone=M,this.task=null}call(M,P){const Z=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",mo,{},mo,mo)),P.pipe((0,J.b)({next:Z,complete:Z,error:Z})).subscribe(M).add(Z)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}let ul=(()=>{class v{constructor(P){this.ngZone=P,this.outsideAngular=P.runOutsideAngular(()=>new ia(Zone.current)),this.insideAngular=P.run(()=>new ia(Zone.current,j.z)),globalThis.\u0275AngularFireScheduler||(globalThis.\u0275AngularFireScheduler=this)}}return v.\u0275fac=function(P){return new(P||v)(l.LFG(l.R0b))},v.\u0275prov=l.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();function rs(){const v=globalThis.\u0275AngularFireScheduler;if(!v)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 v}function nr(v){return rs(),function Vo(v){return function(P){return(P=P.lift(new Ga(v.ngZone))).pipe((0,xe.R)(v.outsideAngular),(0,dt.Q)(v.insideAngular))}}(rs())(v)}},2090:(rt,ye,S)=>{S.d(ye,{$s:()=>ct,BH:()=>kt,L:()=>ie,LL:()=>qe,Pz:()=>Nt,UG:()=>Se,US:()=>Q,ZB:()=>L,ZR:()=>We,aH:()=>yt,b$:()=>he,eu:()=>Be,hl:()=>Ge,jU:()=>Ye,m9:()=>Jt,ne:()=>Ue,pd:()=>dn,r3:()=>Un,ru:()=>Me,tV:()=>fe,uI:()=>Ne,vZ:()=>xt,w1:()=>nt,xO:()=>Vn,xb:()=>Hn,z$:()=>Ve,zI:()=>ve,zd:()=>pr});const z=function(X){const K=[];let ce=0;for(let Pe=0;Pe<X.length;Pe++){let De=X.charCodeAt(Pe);De<128?K[ce++]=De:De<2048?(K[ce++]=De>>6|192,K[ce++]=63&De|128):55296==(64512&De)&&Pe+1<X.length&&56320==(64512&X.charCodeAt(Pe+1))?(De=65536+((1023&De)<<10)+(1023&X.charCodeAt(++Pe)),K[ce++]=De>>18|240,K[ce++]=De>>12&63|128,K[ce++]=De>>6&63|128,K[ce++]=63&De|128):(K[ce++]=De>>12|224,K[ce++]=De>>6&63|128,K[ce++]=63&De|128)}return K},Q={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(X,K){if(!Array.isArray(X))throw Error("encodeByteArray takes an array as a parameter");this.init_();const ce=K?this.byteToCharMapWebSafe_:this.byteToCharMap_,Pe=[];for(let De=0;De<X.length;De+=3){const ft=X[De],Tt=De+1<X.length,Kt=Tt?X[De+1]:0,it=De+2<X.length,_t=it?X[De+2]:0;let te=(15&Kt)<<2|_t>>6,U=63&_t;it||(U=64,Tt||(te=64)),Pe.push(ce[ft>>2],ce[(3&ft)<<4|Kt>>4],ce[te],ce[U])}return Pe.join("")},encodeString(X,K){return this.HAS_NATIVE_SUPPORT&&!K?btoa(X):this.encodeByteArray(z(X),K)},decodeString(X,K){return this.HAS_NATIVE_SUPPORT&&!K?atob(X):function(X){const K=[];let ce=0,Pe=0;for(;ce<X.length;){const De=X[ce++];if(De<128)K[Pe++]=String.fromCharCode(De);else if(De>191&&De<224){const ft=X[ce++];K[Pe++]=String.fromCharCode((31&De)<<6|63&ft)}else if(De>239&&De<365){const it=((7&De)<<18|(63&X[ce++])<<12|(63&X[ce++])<<6|63&X[ce++])-65536;K[Pe++]=String.fromCharCode(55296+(it>>10)),K[Pe++]=String.fromCharCode(56320+(1023&it))}else{const ft=X[ce++],Tt=X[ce++];K[Pe++]=String.fromCharCode((15&De)<<12|(63&ft)<<6|63&Tt)}}return K.join("")}(this.decodeStringToByteArray(X,K))},decodeStringToByteArray(X,K){this.init_();const ce=K?this.charToByteMapWebSafe_:this.charToByteMap_,Pe=[];for(let De=0;De<X.length;){const ft=ce[X.charAt(De++)],Kt=De<X.length?ce[X.charAt(De)]:0;++De;const _t=De<X.length?ce[X.charAt(De)]:64;++De;const re=De<X.length?ce[X.charAt(De)]:64;if(++De,null==ft||null==Kt||null==_t||null==re)throw Error();Pe.push(ft<<2|Kt>>4),64!==_t&&(Pe.push(Kt<<4&240|_t>>2),64!==re&&Pe.push(_t<<6&192|re))}return Pe},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let X=0;X<this.ENCODED_VALS.length;X++)this.byteToCharMap_[X]=this.ENCODED_VALS.charAt(X),this.charToByteMap_[this.byteToCharMap_[X]]=X,this.byteToCharMapWebSafe_[X]=this.ENCODED_VALS_WEBSAFE.charAt(X),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[X]]=X,X>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(X)]=X,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(X)]=X)}}},ie=function(X){return function(X){const K=z(X);return Q.encodeByteArray(K,!0)}(X).replace(/\./g,"")},fe=function(X){try{return Q.decodeString(X,!0)}catch(K){console.error("base64Decode failed: ",K)}return null};function L(X,K){if(!(K instanceof Object))return K;switch(K.constructor){case Date:return new Date(K.getTime());case Object:void 0===X&&(X={});break;case Array:X=[];break;default:return K}for(const ce in K)!K.hasOwnProperty(ce)||!ne(ce)||(X[ce]=L(X[ce],K[ce]));return X}function ne(X){return"__proto__"!==X}function Ve(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function Ne(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(Ve())}function Se(){try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function Ye(){return"object"==typeof self&&self.self===self}function Me(){const X="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof X&&void 0!==X.id}function he(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function nt(){const X=Ve();return X.indexOf("MSIE ")>=0||X.indexOf("Trident/")>=0}function Ge(){try{return"object"==typeof indexedDB}catch{return!1}}function Be(){return new Promise((X,K)=>{try{let ce=!0;const Pe="validate-browser-context-for-indexeddb-analytics-module",De=self.indexedDB.open(Pe);De.onsuccess=()=>{De.result.close(),ce||self.indexedDB.deleteDatabase(Pe),X(!0)},De.onupgradeneeded=()=>{ce=!1},De.onerror=()=>{var ft;K((null===(ft=De.error)||void 0===ft?void 0:ft.message)||"")}}catch(ce){K(ce)}})}function ve(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}const le=()=>{try{return function Ee(){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 X=process.env.__FIREBASE_DEFAULTS__;return X?JSON.parse(X):void 0})()||(()=>{if(typeof document>"u")return;let X;try{X=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const K=X&&fe(X[1]);return K&&JSON.parse(K)})()}catch(X){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${X}`)}},yt=()=>{var X;return null===(X=le())||void 0===X?void 0:X.config},Nt=X=>{var K;return null===(K=le())||void 0===K?void 0:K[`_${X}`]};class kt{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((K,ce)=>{this.resolve=K,this.reject=ce})}wrapCallback(K){return(ce,Pe)=>{ce?this.reject(ce):this.resolve(Pe),"function"==typeof K&&(this.promise.catch(()=>{}),1===K.length?K(ce):K(ce,Pe))}}}class We extends Error{constructor(K,ce,Pe){super(ce),this.code=K,this.customData=Pe,this.name="FirebaseError",Object.setPrototypeOf(this,We.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,qe.prototype.create)}}class qe{constructor(K,ce,Pe){this.service=K,this.serviceName=ce,this.errors=Pe}create(K,...ce){const Pe=ce[0]||{},De=`${this.service}/${K}`,ft=this.errors[K],Tt=ft?function de(X,K){return X.replace(Re,(ce,Pe)=>{const De=K[Pe];return null!=De?String(De):`<${Pe}?>`})}(ft,Pe):"Error";return new We(De,`${this.serviceName}: ${Tt} (${De}).`,Pe)}}const Re=/\{\$([^}]+)}/g;function Un(X,K){return Object.prototype.hasOwnProperty.call(X,K)}function Hn(X){for(const K in X)if(Object.prototype.hasOwnProperty.call(X,K))return!1;return!0}function xt(X,K){if(X===K)return!0;const ce=Object.keys(X),Pe=Object.keys(K);for(const De of ce){if(!Pe.includes(De))return!1;const ft=X[De],Tt=K[De];if(pn(ft)&&pn(Tt)){if(!xt(ft,Tt))return!1}else if(ft!==Tt)return!1}for(const De of Pe)if(!ce.includes(De))return!1;return!0}function pn(X){return null!==X&&"object"==typeof X}function Vn(X){const K=[];for(const[ce,Pe]of Object.entries(X))Array.isArray(Pe)?Pe.forEach(De=>{K.push(encodeURIComponent(ce)+"="+encodeURIComponent(De))}):K.push(encodeURIComponent(ce)+"="+encodeURIComponent(Pe));return K.length?"&"+K.join("&"):""}function pr(X){const K={};return X.replace(/^\?/,"").split("&").forEach(Pe=>{if(Pe){const[De,ft]=Pe.split("=");K[decodeURIComponent(De)]=decodeURIComponent(ft)}}),K}function dn(X){const K=X.indexOf("?");if(!K)return"";const ce=X.indexOf("#",K);return X.substring(K,ce>0?ce:void 0)}function Ue(X,K){const ce=new ee(X,K);return ce.subscribe.bind(ce)}class ee{constructor(K,ce){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=ce,this.task.then(()=>{K(this)}).catch(Pe=>{this.error(Pe)})}next(K){this.forEachObserver(ce=>{ce.next(K)})}error(K){this.forEachObserver(ce=>{ce.error(K)}),this.close(K)}complete(){this.forEachObserver(K=>{K.complete()}),this.close()}subscribe(K,ce,Pe){let De;if(void 0===K&&void 0===ce&&void 0===Pe)throw new Error("Missing Observer.");De=function be(X,K){if("object"!=typeof X||null===X)return!1;for(const ce of K)if(ce in X&&"function"==typeof X[ce])return!0;return!1}(K,["next","error","complete"])?K:{next:K,error:ce,complete:Pe},void 0===De.next&&(De.next=Ze),void 0===De.error&&(De.error=Ze),void 0===De.complete&&(De.complete=Ze);const ft=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?De.error(this.finalError):De.complete()}catch{}}),this.observers.push(De),ft}unsubscribeOne(K){void 0===this.observers||void 0===this.observers[K]||(delete this.observers[K],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(K){if(!this.finalized)for(let ce=0;ce<this.observers.length;ce++)this.sendOne(ce,K)}sendOne(K,ce){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[K])try{ce(this.observers[K])}catch(Pe){typeof console<"u"&&console.error&&console.error(Pe)}})}close(K){this.finalized||(this.finalized=!0,void 0!==K&&(this.finalError=K),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function Ze(){}function ct(X,K=1e3,ce=2){const Pe=K*Math.pow(ce,X),De=Math.round(.5*Pe*(Math.random()-.5)*2);return Math.min(144e5,Pe+De)}function Jt(X){return X&&X._delegate?X._delegate:X}},5826:(rt,ye,S)=>{S.d(ye,{a:()=>z});var l=S(4650),d=S(7217),$=S(9527);let z=(()=>{class G{constructor(q,ie){this._authService=q,this._router=ie}canActivate(q,ie){return!!this._authService.isAuthentication()||(this._router.navigate([""]),!1)}}return G.\u0275fac=function(q){return new(q||G)(l.LFG(d.$),l.LFG($.F0))},G.\u0275prov=l.Yz7({token:G,factory:G.\u0275fac}),G})()},7217:(rt,ye,S)=>{S.d(ye,{$:()=>z});var l=S(4650),d=S(9527),$=S(7185);let z=(()=>{class G{constructor(q,ie){this._router=q,this.toaster=ie}login(q){this._router.navigate([q])}logout(){localStorage.removeItem("Token"),localStorage.removeItem("Domain"),this._router.navigate([""])}isAuthentication(){return null!=localStorage.getItem("Token")&&!this.isTokenExpired()}isTokenExpired(){return!1}setLocalStorage(q,ie){localStorage.setItem("posdomain",q),localStorage.setItem("username",ie)}getUsernameLocalStorage(){return localStorage.getItem("username")}getDomainLocalStorage(){return localStorage.getItem("posdomain")}isLocalStorageExist(){let q=localStorage.getItem("posdomain"),ie=localStorage.getItem("username"),fe=!1;return q&&ie&&(fe=!0),fe}}return G.\u0275fac=function(q){return new(q||G)(l.LFG(d.F0),l.LFG($._W))},G.\u0275prov=l.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})()},381:(rt,ye,S)=>{S.d(ye,{O:()=>Se});var l=S(529),d=S(9751),$=S(4986),z=S(1165),G=S(4482),Q=S(8421),q=S(3888),ie=S(5403),fe=S(9672);const B=(0,q.d)(Ye=>function(he=null){Ye(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=he});function ne(Ye){throw new B(Ye)}var Ve=S(4650),Ne=S(7185);let Se=(()=>{class Ye{constructor(he,et){this.http=he,this.toastr=et}delete(he,et){let nt=localStorage.getItem("Token"),Oe=new l.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});return nt&&(Oe=Oe.append("Authorization","Bearer "+nt)),this.http.delete(he,{body:et,headers:Oe})}post(he,et,nt=1e5){return new d.y(Oe=>{let ae=localStorage.getItem("Token"),Ce=new l.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});ae&&(Ce=Ce.append("Authorization","Bearer "+ae)),this.http.post(he,et,{headers:Ce}).pipe(function L(Ye,Me){const{first:he,each:et,with:nt=ne,scheduler:Oe=Me??$.z,meta:ae=null}=(0,z.q)(Ye)?{first:Ye}:"number"==typeof Ye?{each:Ye}:Ye;if(null==he&&null==et)throw new TypeError("No timeout provided.");return(0,G.e)((Ce,Ge)=>{let Be,ve,Ee=null,se=0;const ge=Te=>{ve=(0,fe.f)(Ge,Oe,()=>{try{Be.unsubscribe(),(0,Q.Xf)(nt({meta:ae,lastValue:Ee,seen:se})).subscribe(Ge)}catch(le){Ge.error(le)}},Te)};Be=Ce.subscribe((0,ie.x)(Ge,Te=>{ve?.unsubscribe(),se++,Ge.next(Ee=Te),et>0&&ge(et)},void 0,void 0,()=>{ve?.closed||ve?.unsubscribe(),Ee=null})),!se&&ge(null!=he?"number"==typeof he?he:+he-Oe.now():et)})}(nt)).subscribe(Be=>{Oe.next(Be),Oe.complete()},Be=>{if(200==Be.status)Oe.next(Be.error.text),Oe.complete();else{if(!this.unauthorizedErrorHandling(Be)){let Ee=this.errorMessageHandling(Be);this.toastr.error(""!=Ee.message?Ee.message:"An unknown error has occured!",Ee.header)}Oe.error(Be)}})})}unauthorizedErrorHandling(he){let et=!1;return 401==he.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",et=!0),et}errorMessageHandling(he){let et="API Error",nt="Exception Message";return he.error?(et="API Error - "+he.status,he.error.Message&&(nt=he.error.Message)):he.message&&(et="API Error - "+he.name,nt=he.message),{header:et,message:nt}}}return Ye.\u0275fac=function(he){return new(he||Ye)(Ve.LFG(l.eN),Ve.LFG(Ne._W))},Ye.\u0275prov=Ve.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})()},1597:(rt,ye,S)=>{S.d(ye,{g:()=>l});class l{static StringFormat(z,...G){for(let Q=0;Q<G.length;Q++)z=z.replace(`{${Q}}`,G[Q]);return z}static parseJwt(z){var Q=z.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),q=decodeURIComponent(atob(Q).split("").map(function(ie){return"%"+("00"+ie.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(q)}static IsNotEmpty(z){return""!=z&&z!=l.GuidEmpty&&null!=z&&null!=z}static IsEmpty(z){return""==z||null==z||null==z||z==l.GuidEmpty}static FilterByID(z,G){try{const Q=z.filter(q=>q.ID==G);if(Q.length>0)return Q[0]}catch{console.log("error filter")}return null}static DateOnly(z){return z?new Date(new Date(z).toDateString()):new Date((new Date).toDateString())}static GenerateYears(z,G,Q){var q=-1;(null==G||null==G)&&(G=11),(null==Q||null==Q||!Q)&&(q=1);for(var ie=[],fe=0;fe<G;fe++)ie.push(z+fe*q);return ie}}l.apiBase="https://"+localStorage.getItem("Domain")+"/API/",l.GuidEmpty="00000000-0000-0000-0000-000000000000",l.DecimalMinValue="-7.922816251426434e+28",l.InputLockTimeSpan=500,l.MinDate="0001-01-01T00:00:00",l.MinTime="00:00:00",l.Month=[{ID:1,Label:"January"},{ID:2,Label:"February"},{ID:3,Label:"March"},{ID:4,Label:"April"},{ID:5,Label:"May"},{ID:6,Label:"June"},{ID:7,Label:"July"},{ID:8,Label:"August"},{ID:9,Label:"September"},{ID:10,Label:"October"},{ID:11,Label:"November"},{ID:12,Label:"December"}]},6356:(rt,ye,S)=>{var l=S(1481),d=S(4650),$=S(9527);function z(p){this.message=p}(z.prototype=new Error).name="InvalidCharacterError";var G=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(p){var s=String(p).replace(/=+$/,"");if(s.length%4==1)throw new z("'atob' failed: The string to be decoded is not correctly encoded.");for(var a,h,w=0,O=0,H="";h=s.charAt(O++);~h&&(a=w%4?64*a+h:h,w++%4)?H+=String.fromCharCode(255&a>>(-2*w&6)):0)h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(h);return H};function q(p){this.message=p}(q.prototype=new Error).name="InvalidTokenError";var B=S(1597),L=S(3942),ne=S(8996),Ve=S(4004),Ne=S(3900),Se=S(8505),Ye=S(381),Me=S(7185),he=S(7217),et=S(7579),nt=S(9646),Oe=S(9751),ae=S(6451),Ce=S(5363),Ge=S(4782),Be=S(590),ve=S(576);function Ee(p,s){return(0,ve.m)(s)?(0,Ne.w)(()=>p,s):(0,Ne.w)(()=>p)}var se=S(9468),ge=S(9300),Te=S(2122),le=S(2011),$e=S(6895);S(259);var Dn=S(5861),Hn=S(9681),Ct=S(4859),xt=S(2090),pn=S(1877);const nn=new Map,Vn={activated:!1,tokenObservers:[]},pr={initialized:!1,enabled:!1};function dn(p){return nn.get(p)||Object.assign({},Vn)}function Ue(){return pr}class Qe{constructor(s,a,h,w,O){if(this.operation=s,this.retryPolicy=a,this.getWaitDuration=h,this.lowerBound=w,this.upperBound=O,this.pending=null,this.nextErrorWaitInterval=w,w>O)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(s){var a=this;return(0,Dn.Z)(function*(){a.stop();try{a.pending=new xt.BH,yield function At(p){return new Promise(s=>{setTimeout(s,p)})}(a.getNextRun(s)),a.pending.resolve(),yield a.pending.promise,a.pending=new xt.BH,yield a.operation(),a.pending.resolve(),yield a.pending.promise,a.process(!0).catch(()=>{})}catch(h){a.retryPolicy(h)?a.process(!1).catch(()=>{}):a.stop()}})()}getNextRun(s){if(s)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const a=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),a}}}const Ot=new xt.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 Ft(p){if(!dn(p).activated)throw Ot.create("use-before-activation",{appName:p.name})}function ut(p,s){return He.apply(this,arguments)}function He(){return(He=(0,Dn.Z)(function*({url:p,body:s},a){const h={"Content-Type":"application/json"},w=a.getImmediate({optional:!0});if(w){const gt=yield w.getHeartbeatsHeader();gt&&(h["X-Firebase-Client"]=gt)}const O={method:"POST",body:JSON.stringify(s),headers:h};let H,Y;try{H=yield fetch(p,O)}catch(gt){throw Ot.create("fetch-network-error",{originalErrorMessage:gt?.message})}if(200!==H.status)throw Ot.create("fetch-status-error",{httpStatus:H.status});try{Y=yield H.json()}catch(gt){throw Ot.create("fetch-parse-error",{originalErrorMessage:gt?.message})}const pe=Y.ttl.match(/^([\d.]+)(s)$/);if(!pe||!pe[2]||isNaN(Number(pe[1])))throw Ot.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${Y.ttl}`});const je=1e3*Number(pe[1]),pt=Date.now();return{token:Y.token,expireTimeMillis:pt+je,issuedAtTimeMillis:pt}})).apply(this,arguments)}function Wt(p,s){const{projectId:a,appId:h,apiKey:w}=p.options;return{url:`https://content-firebaseappcheck.googleapis.com/v1/projects/${a}/apps/${h}:exchangeDebugToken?key=${w}`,body:{debug_token:s}}}const K="firebase-app-check-store";let Pe=null;function De(){return Pe||(Pe=new Promise((p,s)=>{try{const a=indexedDB.open("firebase-app-check-database",1);a.onsuccess=h=>{p(h.target.result)},a.onerror=h=>{var w;s(Ot.create("storage-open",{originalErrorMessage:null===(w=h.target.error)||void 0===w?void 0:w.message}))},a.onupgradeneeded=h=>{0===h.oldVersion&&h.target.result.createObjectStore(K,{keyPath:"compositeKey"})}}catch(a){s(Ot.create("storage-open",{originalErrorMessage:a?.message}))}}),Pe)}function tn(){return(tn=(0,Dn.Z)(function*(p,s){const h=(yield De()).transaction(K,"readwrite"),O=h.objectStore(K).put({compositeKey:p,value:s});return new Promise((H,Y)=>{O.onsuccess=pe=>{H()},h.onerror=pe=>{var je;Y(Ot.create("storage-set",{originalErrorMessage:null===(je=pe.target.error)||void 0===je?void 0:je.message}))}})})).apply(this,arguments)}const me=new pn.Yd("@firebase/app-check");function Gt(p,s){return(0,xt.hl)()?function Tt(p,s){return function _t(p,s){return tn.apply(this,arguments)}(function U(p){return`${p.options.appId}-${p.name}`}(p),s)}(p,s).catch(a=>{me.warn(`Failed to write token to IndexedDB. Error: ${a}`)}):Promise.resolve()}function Mr(){return Ue().enabled}function gr(){return Zn.apply(this,arguments)}function Zn(){return(Zn=(0,Dn.Z)(function*(){const p=Ue();if(p.enabled&&p.token)return p.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const Wr={error:"UNKNOWN_ERROR"};function Cr(p){return xt.US.encodeString(JSON.stringify(p),!1)}function Wn(p){return Yn.apply(this,arguments)}function Yn(){return(Yn=(0,Dn.Z)(function*(p,s=!1){const a=p.app;Ft(a);const h=dn(a);let O,w=h.token;if(w&&!qn(w)&&(h.token=void 0,w=void 0),!w){const pe=yield h.cachedTokenPromise;pe&&(qn(pe)?w=pe:yield Gt(a,void 0))}if(!s&&w&&qn(w))return{token:w.token};let Y,H=!1;if(Mr()){h.exchangeTokenPromise||(h.exchangeTokenPromise=ut(Wt(a,yield gr()),p.heartbeatServiceProvider).finally(()=>{h.exchangeTokenPromise=void 0}),H=!0);const pe=yield h.exchangeTokenPromise;return yield Gt(a,pe),h.token=pe,{token:pe.token}}try{h.exchangeTokenPromise||(h.exchangeTokenPromise=h.provider.getToken().finally(()=>{h.exchangeTokenPromise=void 0}),H=!0),w=yield dn(a).exchangeTokenPromise}catch(pe){"appCheck/throttled"===pe.code?me.warn(pe.message):me.error(pe),O=pe}return w?O?Y=qn(w)?{token:w.token,internalError:O}:ri(O):(Y={token:w.token},h.token=w,yield Gt(a,w)):Y=ri(O),H&&ni(a,Y),Y})).apply(this,arguments)}function on(p,s){const a=dn(p),h=a.tokenObservers.filter(w=>w.next!==s);0===h.length&&a.tokenRefresher&&a.tokenRefresher.isRunning()&&a.tokenRefresher.stop(),a.tokenObservers=h}function Xi(p){const{app:s}=p,a=dn(s);let h=a.tokenRefresher;h||(h=function eo(p){const{app:s}=p;return new Qe((0,Dn.Z)(function*(){let h;if(h=dn(s).token?yield Wn(p,!0):yield Wn(p),h.error)throw h.error;if(h.internalError)throw h.internalError}),()=>!0,()=>{const a=dn(s);if(a.token){let h=a.token.issuedAtTimeMillis+.5*(a.token.expireTimeMillis-a.token.issuedAtTimeMillis)+3e5;return h=Math.min(h,a.token.expireTimeMillis-3e5),Math.max(0,h-Date.now())}return 0},3e4,96e4)}(p),a.tokenRefresher=h),!h.isRunning()&&a.isTokenAutoRefreshEnabled&&h.start()}function ni(p,s){const a=dn(p).tokenObservers;for(const h of a)try{"EXTERNAL"===h.type&&null!=s.error?h.error(s.error):h.next(s)}catch{}}function qn(p){return p.expireTimeMillis-Date.now()>0}function ri(p){return{token:Cr(Wr),error:p}}class Fr{constructor(s,a){this.app=s,this.heartbeatServiceProvider=a}_delete(){const{tokenObservers:s}=dn(this.app);for(const a of s)on(this.app,a.next);return Promise.resolve()}}const wi="app-check-internal";!function Hi(){(0,Hn._registerComponent)(new Ct.wA("app-check",p=>function kr(p,s){return new Fr(p,s)}(p.getProvider("app").getImmediate(),p.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((p,s,a)=>{p.getProvider(wi).initialize()})),(0,Hn._registerComponent)(new Ct.wA(wi,p=>function Gn(p){return{getToken:s=>Wn(p,s),addTokenListener:s=>function Vi(p,s,a,h){const{app:w}=p,O=dn(w);if(O.tokenObservers=[...O.tokenObservers,{next:a,error:h,type:s}],O.token&&qn(O.token)){const Y=O.token;Promise.resolve().then(()=>{a({token:Y.token}),Xi(p)}).catch(()=>{})}O.cachedTokenPromise.then(()=>Xi(p))}(p,"INTERNAL",s),removeTokenListener:s=>on(p.app,s)}}(p.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,Hn.registerVersion)("@firebase/app-check","0.6.0")}();class Ai{constructor(){return(0,Te.vb)("app-check")}}typeof window<"u"&&window;var To=S(9260);const xn=new d.OlP("angularfire2.auth.use-emulator"),ji=new d.OlP("angularfire2.auth.settings"),fa=new d.OlP("angularfire2.auth.tenant-id"),hi=new d.OlP("angularfire2.auth.langugage-code"),or=new d.OlP("angularfire2.auth.use-device-language"),Ir=new d.OlP("angularfire.auth.persistence");let sr=(()=>{class p{constructor(a,h,w,O,H,Y,pe,je,pt,gt,fn,un){const $t=new et.x,Yt=(0,nt.of)(void 0).pipe((0,Ce.Q)(H.outsideAngular),(0,Ne.w)(()=>O.runOutsideAngular(()=>S.e(169).then(S.bind(S,9169)))),(0,Ve.U)(()=>(0,le.on)(a,O,h)),(0,Ve.U)(_n=>((p,s,a,h,w,O,H,Y)=>(0,le.cc)(`${p.name}.auth`,"AngularFireAuth",p.name,()=>{const pe=s.runOutsideAngular(()=>p.auth());if(a&&pe.useEmulator(...a),h&&(pe.tenantId=h),pe.languageCode=w,O&&pe.useDeviceLanguage(),H)for(const[je,pt]of Object.entries(H))pe.settings[je]=pt;return Y&&pe.setPersistence(Y),pe},[a,h,w,O,H,Y]))(_n,O,Y,je,pt,gt,pe,fn)),(0,Ge.d)({bufferSize:1,refCount:!1}));if((0,$e.PM)(w))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,nt.of)(null);else{Yt.pipe((0,Be.P)()).subscribe();const In=Yt.pipe((0,Ne.w)(vn=>vn.getRedirectResult().then(Nr=>Nr,()=>null)),Te.iC,(0,Ge.d)({bufferSize:1,refCount:!1})),Jn=Yt.pipe((0,Ne.w)(vn=>new Oe.y(Nr=>({unsubscribe:O.runOutsideAngular(()=>vn.onAuthStateChanged(Ar=>Nr.next(Ar),Ar=>Nr.error(Ar),()=>Nr.complete()))})))),Rr=Yt.pipe((0,Ne.w)(vn=>new Oe.y(Nr=>({unsubscribe:O.runOutsideAngular(()=>vn.onIdTokenChanged(Ar=>Nr.next(Ar),Ar=>Nr.error(Ar),()=>Nr.complete()))}))));this.authState=In.pipe(Ee(Jn),(0,se.R)(H.outsideAngular),(0,Ce.Q)(H.insideAngular)),this.user=In.pipe(Ee(Rr),(0,se.R)(H.outsideAngular),(0,Ce.Q)(H.insideAngular)),this.idToken=this.user.pipe((0,Ne.w)(vn=>vn?(0,ne.D)(vn.getIdToken()):(0,nt.of)(null))),this.idTokenResult=this.user.pipe((0,Ne.w)(vn=>vn?(0,ne.D)(vn.getIdTokenResult()):(0,nt.of)(null))),this.credential=(0,ae.T)(In,$t,this.authState.pipe((0,ge.h)(vn=>!vn))).pipe((0,Ve.U)(vn=>vn?.user?vn:null),(0,se.R)(H.outsideAngular),(0,Ce.Q)(H.insideAngular))}return(0,le.pX)(this,Yt,O,{spy:{apply:(_n,In,Jn)=>{(_n.startsWith("signIn")||_n.startsWith("createUser"))&&Jn.then(Rr=>$t.next(Rr))}}})}}return p.\u0275fac=function(a){return new(a||p)(d.LFG(le.Dh),d.LFG(le.xv,8),d.LFG(d.Lbi),d.LFG(d.R0b),d.LFG(Te.HU),d.LFG(xn,8),d.LFG(ji,8),d.LFG(fa,8),d.LFG(hi,8),d.LFG(or,8),d.LFG(Ir,8),d.LFG(Ai,8))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"any"}),p})(),cr=(()=>{class p{constructor(){To.Z.registerVersion("angularfire",Te.q4.full,"auth-compat")}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=d.oAB({type:p}),p.\u0275inj=d.cJS({providers:[sr]}),p})();var E=S(433);const x=["domainAutoFocus"],A=["passAutoFocus"];function k(p,s){if(1&p){const a=d.EpF();d.ynx(0),d.TgZ(1,"div",17)(2,"div",18)(3,"form")(4,"div",19)(5,"h2",20),d._uU(6,"Sign in"),d.qZA(),d.TgZ(7,"div",21)(8,"div",22)(9,"div",23)(10,"span",24),d._UZ(11,"i",25),d.qZA(),d.TgZ(12,"input",26,27),d.NdJ("ngModelChange",function(w){d.CHM(a);const O=d.oxw();return d.KtG(O.posDomain=w)}),d.qZA()()(),d.TgZ(14,"select",28),d.NdJ("ngModelChange",function(w){d.CHM(a);const O=d.oxw();return d.KtG(O.domain=w)}),d.TgZ(15,"option",29),d._uU(16,".dealpos.co.id"),d.qZA(),d.TgZ(17,"option",30),d._uU(18,".dealpos.net"),d.qZA(),d.TgZ(19,"option",31),d._uU(20,".dealpos.com"),d.qZA()()()(),d.TgZ(21,"div",32)(22,"button",33),d.NdJ("click",function(){d.CHM(a);const w=d.oxw();return d.KtG(w.onNextState())}),d._uU(23," Next "),d.qZA()()()()(),d.BQk()}if(2&p){const a=d.oxw();d.xp6(12),d.Q6J("ngModel",a.posDomain),d.xp6(2),d.Q6J("ngModel",a.domain)}}function oe(p,s){1&p&&(d.TgZ(0,"p"),d._uU(1," Username is required "),d.qZA())}function ke(p,s){if(1&p&&(d.TgZ(0,"div",57),d.YNc(1,oe,2,0,"p",58),d.qZA()),2&p){d.oxw();const a=d.MAs(13);d.xp6(1),d.Q6J("ngIf",a.errors.required)}}const we=function(p,s){return{"fa-eye":p,"fa-eye-slash":s}};function ht(p,s){if(1&p){const a=d.EpF();d.TgZ(0,"i",59),d.NdJ("click",function(){d.CHM(a);const w=d.oxw(2);return d.KtG(w.hideShowPassword())}),d.qZA()}if(2&p){const a=d.oxw(2);d.Q6J("ngClass",d.WLB(1,we,"eye-off"==a.passwordIcon,"eye"==a.passwordIcon))}}function wn(p,s){1&p&&(d.TgZ(0,"p"),d._uU(1," Password is required "),d.qZA())}function En(p,s){if(1&p&&(d.TgZ(0,"div",57),d.YNc(1,wn,2,0,"p",58),d.qZA()),2&p){d.oxw();const a=d.MAs(19);d.xp6(1),d.Q6J("ngIf",a.errors.required)}}function An(p,s){if(1&p){const a=d.EpF();d.TgZ(0,"div",17)(1,"div",18)(2,"div",34)(3,"h2",20),d._uU(4,"Sign in"),d.qZA(),d.TgZ(5,"div",35),d._uU(6," to "),d.TgZ(7,"h6",36),d._uU(8),d.qZA(),d.TgZ(9,"i",37),d.NdJ("click",function(){d.CHM(a);const w=d.oxw();return d.KtG(w.onEditDomain())}),d.qZA()()(),d.TgZ(10,"form",38)(11,"div",39)(12,"input",40,41),d.NdJ("ngModelChange",function(w){d.CHM(a);const O=d.oxw();return d.KtG(O.username=w)}),d.qZA(),d.TgZ(14,"label",42),d._uU(15,"Username"),d.qZA(),d.YNc(16,ke,2,1,"div",43),d.qZA(),d.TgZ(17,"div",44)(18,"input",45,46),d.NdJ("ngModelChange",function(w){d.CHM(a);const O=d.oxw();return d.KtG(O.password=w)}),d.qZA(),d.TgZ(20,"label",47),d._uU(21,"Password"),d.qZA(),d.YNc(22,ht,1,4,"i",48),d.YNc(23,En,2,1,"div",43),d.qZA(),d.TgZ(24,"div",49)(25,"a",50),d._uU(26,"Forgot Password?"),d.qZA()(),d.TgZ(27,"div",51)(28,"button",52),d.NdJ("click",function(){d.CHM(a);const w=d.oxw();return d.KtG(w.login())}),d._uU(29," Log in "),d.qZA()(),d.TgZ(30,"div",53),d._UZ(31,"hr"),d.TgZ(32,"span",54),d._uU(33,"or"),d.qZA(),d._UZ(34,"hr"),d.qZA(),d.TgZ(35,"div")(36,"button",55),d.NdJ("click",function(w){d.CHM(a);const O=d.oxw();return d.KtG(O.onLoginByGoogle(w))}),d._UZ(37,"i",56),d._uU(38," Sign In with Google "),d.qZA()()()()()}if(2&p){const a=d.MAs(13),h=d.MAs(19),w=d.oxw();d.xp6(8),d.AsE(" (",w.posDomain,"",w.domain,") "),d.xp6(4),d.Q6J("ngModel",w.username),d.xp6(4),d.Q6J("ngIf",a.invalid&&(a.dirty||a.touched)),d.xp6(2),d.Q6J("type",w.passwordType)("ngModel",w.password),d.xp6(4),d.Q6J("ngIf",""!=w.password&&"edge"!=w.browser),d.xp6(1),d.Q6J("ngIf",h.invalid&&(h.dirty||h.touched)),d.xp6(2),d.Q6J("href","https://"+w.posDomain+w.domain+"/ForgotPassword",d.LSH)}}const Rn=[{path:"",component:(()=>{class p{constructor(a,h,w,O,H,Y,pe){this._httpService=a,this.toastr=h,this.auth=w,this.elementRef=O,this.cdr=H,this.afAuth=Y,this.router=pe,this.loginState="FORM_DOMAIN",this.domain=".dealpos.co.id",this.passwordType="password",this.passwordIcon="eye-off"}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#edefff"}ngAfterViewInit(){this.getLocalStorage()}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}getLocalStorage(){let a=this.auth.isLocalStorageExist();this.setAutoFocusDomain(),a&&(this.posDomain=this.auth.getDomainLocalStorage(),this.username=this.auth.getUsernameLocalStorage(),this.setAutoFocusPass(),this.cdr.detectChanges())}setAutoFocusDomain(){this.domainElementRef.nativeElement.focus()}setAutoFocusPass(){this.passElementRef.nativeElement.focus()}hideShowPassword(){this.passwordType="text"===this.passwordType?"password":"text",this.passwordIcon="eye-off"===this.passwordIcon?"eye":"eye-off"}login(){var a={client_id:this.username,client_secret:this.password},h="";this.posDomain.includes("http://")||(h="https://"+this.posDomain+this.domain),this._httpService.post(h+"/api/v3/Token",JSON.stringify(a)).toPromise().then(w=>{null==w.access_token&&null==w.access_token||(localStorage.setItem("Domain",this.posDomain+this.domain),localStorage.setItem("Token",w.access_token),"Tools"==function ie(p,s){if("string"!=typeof p)throw new q("Invalid token specified");var a=!0===(s=s||{}).header?0:1;try{return JSON.parse(function Q(p){var s=p.replace(/-/g,"+").replace(/_/g,"/");switch(s.length%4){case 0:break;case 2:s+="==";break;case 3:s+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(G(s).replace(/(.)/g,function(h,w){var O=w.charCodeAt(0).toString(16).toUpperCase();return O.length<2&&(O="0"+O),"%"+O}))}catch{return G(s)}}(p.split(".")[a]))}catch(h){throw new q("Invalid token specified: "+h.message)}}(w.access_token)["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"].filter(pe=>"Tools"==pe)?(this.auth.login("/menu/product"),this.saveToLocalStorage()):this.toastr.error("Please check your role","Error"))}).catch(w=>{this.toastr.error(0==w.status?"Please check your domain name":w.error.Message,"Error")})}saveToLocalStorage(){this.auth.setLocalStorage(this.posDomain+this.domain,this.username)}onNextState(){B.g.IsEmpty(this.posDomain+this.domain)?this.toastr.warning("Account Domain is required","Warning"):this.loginState="FORM_AUTH"}onEditDomain(){this.loginState="FORM_DOMAIN"}onLoginByGoogle(a){a.preventDefault();const h=new L.Z.auth.GoogleAuthProvider;h.setCustomParameters({prompt:"select_account"});const w="https://"+this.posDomain+this.domain+"/api/login/Google".trim();console.log(w),(0,ne.D)(this.afAuth.signInWithPopup(h)).pipe((0,Ve.U)(H=>H.credential),(0,Ve.U)(H=>H.idToken),(0,Ne.w)(H=>this._httpService.post(w,JSON.stringify({IDToken:H}))),(0,Se.b)(H=>{localStorage.setItem("Token",H.Token),this.router.navigate(["/menu/product/existing"])})).subscribe()}}return p.\u0275fac=function(a){return new(a||p)(d.Y36(Ye.O),d.Y36(Me._W),d.Y36(he.$),d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(sr),d.Y36($.F0))},p.\u0275cmp=d.Xpm({type:p,selectors:[["app-login"]],viewQuery:function(a,h){if(1&a&&(d.Gf(x,5),d.Gf(A,5)),2&a){let w;d.iGM(w=d.CRH())&&(h.domainElementRef=w.first),d.iGM(w=d.CRH())&&(h.passElementRef=w.first)}},decls:27,vars:2,consts:[[1,"container"],[1,"d-flex","align-items-center","mt-5","mt-md-0","align-self-center"],[1,"col-12","col-md-7","text-center"],[1,"big-display","robotoslab","d-none","d-md-block"],["src","https://res.cloudinary.com/pos/image/upload/w_200/v1614247725/Apps/Login/tools-dealpos-app.png","alt","integration-image",1,"img-fluid","mt-5","pt-5"],[4,"ngIf","ngIfElse"],["USR_PASS",""],[1,"col-12","d-block","d-md-none","text-center"],[1,"pt-1rem","me-3"],["target","_blank","href","https://www.dealpos.com"],["src","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png","alt","dealpos-logo",1,"img-fluid"],[1,"pt-1rem","fst-italic"],[1,"mx-5","pb-5","mb-5","d-none","d-md-block"],[1,"row","justify-content-between","align-items-center"],[1,"col-auto","d-inline-flex"],[1,"col-auto"],["href","https://changelog.dealpos.com/?categories=cat_GkdUyaD9rSSIk&view=complete","target","_blank",1,"pt-1rem","fst-italic"],[1,"card","mt-5",2,"width","500px"],[1,"card-body","p-8"],[1,"card-title"],[1,"fw-normal","font-xl","robotoslab"],[1,"d-flex","align-items-center","mt-6"],[1,"mt-7","w-75","rounded-end-0"],[1,"input-group","mb-3"],["id","basic-addon1",1,"input-group-text","border-end-0","rounded-start"],[1,"fa-solid","fa-cloud"],["type","text","required","","name","subdomain","id","inputHost","placeholder","Store Address",1,"form-control","text-start","subdomain-input","border-start-0",2,"padding-left","0px",3,"ngModel","ngModelChange"],["subdomainEl",""],["name","domainOption",1,"form-select","form-control","border-start-0","mt-4","rounded-end","rounded-start-0","domain-option",3,"ngModel","ngModelChange"],["selected","","value",".dealpos.co.id"],["value",".dealpos.net"],["value",".dealpos.com"],[1,"w-100","mt-10"],["name","next","data-cy","next","type","submit",1,"btn","btn-lg","btn-primary","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"card-title","d-flex","align-items-center"],[1,"pt-2","ms-2"],[1,"fw-bold","me-2","robotoslab","d-inline-block","text-primary"],[1,"fa-solid","fa-edit","link-primary","fs-5","pointer",3,"click"],[1,"mt-10"],[1,"form-label-group"],["autofocus","","type","text","name","Username","id","inputUsername","placeholder","Username","required","",1,"form-control","text-start",3,"ngModel","ngModelChange"],["usernameCtrl","ngModel"],["for","inputUsername",1,"text-start"],["class","text-danger",4,"ngIf"],[1,"form-label-group","mb-5","mb-sm-1"],["name","Password","id","inputPassword","placeholder","Password","required","",1,"form-control","text-start",3,"type","ngModel","ngModelChange"],["passwordCtrl","ngModel"],["for","inputPassword",1,"text-start"],["class","passwordIcon fas fa-lg",3,"ngClass","click",4,"ngIf"],[1,"text-end","mt-3"],[3,"href"],[1,"w-100","mt-8"],["data-cy","login","type","submit",1,"btn","btn-lg","btn-primary","btn-block","font125rem","robotoslab","w-100",3,"click"],[1,"divider","d-flex","align-items-center","justify-content-center"],[1,"mx-4","text-muted"],[1,"btn","btn-social-login","text-primary","w-100","fw-bold",3,"click"],[1,"fa-brands","fa-google"],[1,"text-danger"],[4,"ngIf"],[1,"passwordIcon","fas","fa-lg",3,"ngClass","click"]],template:function(a,h){if(1&a&&(d.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),d._uU(4,"DealPOS - Tools"),d.qZA(),d._UZ(5,"img",4),d.qZA(),d.YNc(6,k,24,2,"ng-container",5),d.YNc(7,An,39,9,"ng-template",null,6,d.W1O),d.TgZ(9,"div",7)(10,"p",8),d._uU(11,"Powered by : "),d.qZA(),d.TgZ(12,"a",9),d._UZ(13,"img",10),d.qZA(),d.TgZ(14,"a")(15,"p",11),d._uU(16,"Version 2.1.2"),d.qZA()()()()(),d.TgZ(17,"footer",12)(18,"div",13)(19,"div",14)(20,"p",8),d._uU(21,"Powered by : "),d.qZA(),d.TgZ(22,"a",9),d._UZ(23,"img",10),d.qZA()(),d.TgZ(24,"div",15)(25,"a",16),d._uU(26,"Version 2.1.2"),d.qZA()()()()),2&a){const w=d.MAs(8);d.xp6(6),d.Q6J("ngIf","FORM_DOMAIN"==h.loginState)("ngIfElse",w)}},dependencies:[$e.mk,$e.O5,E._Y,E.YN,E.Kr,E.Fj,E.EJ,E.JJ,E.JL,E.Q7,E.On,E.F],styles:[".passwordIcon[_ngcontent-%COMP%]{top:1.5rem;right:.5rem;position:absolute;margin:0 auto!important;cursor:pointer}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:90%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:2.5rem}}@media (min-width: 1200px){.container[_ngcontent-%COMP%]{max-width:70%}.big-display[_ngcontent-%COMP%]{font-size:3rem}}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%}body[_ngcontent-%COMP%]{display:flex;align-items:center;padding-top:40px;padding-bottom:40px}.pt-1rem[_ngcontent-%COMP%]{padding-top:1rem}.btn-login[_ngcontent-%COMP%]{width:145px}.container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.card[_ngcontent-%COMP%]{margin-bottom:30px;padding-bottom:5px;padding-top:5px}.passwordIcon[_ngcontent-%COMP%]{top:1.8rem;right:.8rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:300;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:70%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:3rem}}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}button.btn-social-login[_ngcontent-%COMP%]{border:1px solid var(--bs-primary)}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.domain-option[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df;width:10rem}.subdomain-input[_ngcontent-%COMP%]{height:3.625rem;padding:.75rem;color:#343434;font-size:.875rem;border-color:#c8d3df}.form-select[_ngcontent-%COMP%]:focus{border:solid 1.5px #1A73E8!important;box-shadow:none!important}"]}),p})(),pathMatch:"full"},{path:"menu",loadChildren:()=>S.e(753).then(S.bind(S,5753)).then(p=>p.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let Tn=(()=>{class p{}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=d.oAB({type:p}),p.\u0275inj=d.cJS({imports:[$.Bz.forRoot(Rn,{relativeLinkResolution:"legacy"}),$.Bz]}),p})();var $n=S(4707);function ze(p,s){return(a,h)=>!p.call(s,a,h)}var Bt=S(8421),Hr=S(2805),Sn=S(8746),Or=S(4482),si=S(5032),Pr=S(5403);function Wo(p){return(0,Or.e)((s,a)=>{let h=!1,w=null,O=null;const H=()=>{if(O?.unsubscribe(),O=null,h){h=!1;const Y=w;w=null,a.next(Y)}};s.subscribe((0,Pr.x)(a,Y=>{O?.unsubscribe(),h=!0,w=Y,O=(0,Pr.x)(a,H,si.Z),(0,Bt.Xf)(p(Y)).subscribe(O)},()=>{H(),a.complete()},void 0,()=>{w=O=null}))})}var Mo=S(1884),Gs=S(529);function gs(p,s){1&p&&d.GkF(0)}function sl(p,s){if(1&p&&d._UZ(0,"sk-cube-grid",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function lo(p,s){if(1&p&&d._UZ(0,"sk-chasing-dots",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function T(p,s){if(1&p&&d._UZ(0,"sk-double-bounce",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function C(p,s){if(1&p&&d._UZ(0,"sk-rotating-plane",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function D(p,s){if(1&p&&d._UZ(0,"sk-spinner-pulse",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function F(p,s){if(1&p&&d._UZ(0,"sk-three-bounce",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function Fe(p,s){if(1&p&&d._UZ(0,"sk-wandering-cubes",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}function It(p,s){if(1&p&&d._UZ(0,"sk-wave",4),2&p){const a=d.oxw(2);d.Q6J("backgroundColor",a.backgroundColor)}}const kn=function(p){return{"background-color":p}};function jr(p,s){if(1&p&&(d.TgZ(0,"div",1),d.YNc(1,gs,1,0,"ng-container",2),d.YNc(2,sl,1,1,"sk-cube-grid",3),d.YNc(3,lo,1,1,"sk-chasing-dots",3),d.YNc(4,T,1,1,"sk-double-bounce",3),d.YNc(5,C,1,1,"sk-rotating-plane",3),d.YNc(6,D,1,1,"sk-spinner-pulse",3),d.YNc(7,F,1,1,"sk-three-bounce",3),d.YNc(8,Fe,1,1,"sk-wandering-cubes",3),d.YNc(9,It,1,1,"sk-wave",3),d.qZA()),2&p){const a=d.oxw();d.Udp("opacity",a.opacity),d.ekj("backdrop",a.backdrop),d.Q6J("ngStyle",d.VKq(14,kn,a.backdrop?a.backdropBackgroundColor:"transparent")),d.xp6(1),d.Q6J("ngComponentOutlet",a.entryComponent),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skCubeGrid),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skChasingDots),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skDoubleBounce),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skRotatingPlane),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skSpinnerPulse),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skThreeBounce),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skWanderingCubes),d.xp6(1),d.Q6J("ngIf",a.spinner===a.spinkit.skWave)}}let ar=(()=>{class p{}return p.\u0275fac=function(a){return new(a||p)},p.\u0275dir=d.lG2({type:p,inputs:{backgroundColor:"backgroundColor"}}),p})(),ai=(()=>{class p extends ar{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-chasing-dots"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(a,h){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation: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:sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),p})(),pi=(()=>{class p extends ar{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-cube-grid"]],features:[d.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(a,h){1&a&&(d.TgZ(0,"div",0),d._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),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.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: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 sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),p})(),xi=(()=>{class p extends ar{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-double-bounce"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(a,h){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.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:sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),p})(),uo=(()=>{class p extends ar{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-rotating-plane"]],features:[d.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(a,h){1&a&&d._UZ(0,"div",0),2&a&&d.Udp("background-color",h.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s infinite ease-in-out}@keyframes 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)}}"]}),p})(),ms=(()=>{class p extends ar{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-spinner-pulse"]],features:[d.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(a,h){1&a&&d._UZ(0,"div",0),2&a&&d.Udp("background-color",h.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s infinite ease-in-out}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),p})(),Ko=(()=>{class p extends ar{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-three-bounce"]],features:[d.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(a,h){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.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: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 sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),p})(),co=(()=>{class p extends ar{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-wandering-cubes"]],features:[d.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(a,h){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.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:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes 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)}}"]}),p})(),So=(()=>{class p extends ar{}return p.\u0275fac=function(){let s;return function(h){return(s||(s=d.n5z(p)))(h||p)}}(),p.\u0275cmp=d.Xpm({type:p,selectors:[["sk-wave"]],features:[d.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(a,h){1&a&&(d.TgZ(0,"div",0),d._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),d.qZA()),2&a&&(d.ekj("colored",!h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.backgroundColor),d.xp6(1),d.Udp("background-color",h.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: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 sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),p})();const $i={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 Io=(()=>{class p{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new $n.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(a){this._filteredMethods=a}set filteredHeaders(a){this._filteredHeaders=a}set forceByPass(a){this._forceByPass=a}shouldBypassUrl(a){return this._filteredUrlPatterns.some(h=>h.test(a))}shouldBypassMethod(a){return this._filteredMethods.some(h=>h.toUpperCase()===a.method.toUpperCase())}shouldBypassHeader(a){return this._filteredHeaders.some(h=>a.headers.has(h))}shouldBypass(a){return this._forceByPass||this.shouldBypassUrl(a.urlWithParams)||this.shouldBypassMethod(a)||this.shouldBypassHeader(a)}intercept(a,h){const w=this.shouldBypass(a);return w||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),h.handle(a).pipe((0,Sn.x)(()=>{w||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})();const zs=[{provide:Gs.TP,useExisting:Io,multi:!0}];let Oa=(()=>{class p{constructor(a){this.pendingRequestsInterceptor=a,this._visibility$=new $n.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 p.\u0275fac=function(a){return new(a||p)(d.LFG(Io))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),Oo=(()=>{class p{constructor(a,h){this.pendingRequestsInterceptor=a,this.spinnerVisibility=h,this.spinkit=$i,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=$i.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[a,h]=function Pi(p,s,a){return[(0,ge.h)(s,a)((0,Bt.Xf)(p)),(0,ge.h)(ze(s,a))((0,Bt.Xf)(p))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,w=>w);this.isVisible$=(0,ae.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,Ne.w)(()=>a.pipe(Wo(()=>(0,Hr.H)(this.debounceDelay))))),a.pipe((0,Ne.w)(()=>h.pipe(Wo(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Mo.x)(),(0,Se.b)(w=>this.updateExpirationDelay(w)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(a=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(a)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(a){a&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,Hr.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return p.\u0275fac=function(a){return new(a||p)(d.Y36(Io),d.Y36(Oa))},p.\u0275cmp=d.Xpm({type:p,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(a,h){1&a&&(d.YNc(0,jr,10,16,"div",0),d.ALo(1,"async")),2&a&&d.Q6J("ngIf",d.lcZ(1,1,h.isVisible$))},dependencies:[$e.$G,$e.O5,$e.PC,pi,ai,xi,uo,ms,Ko,co,So,$e.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}"]}),p})(),dr=(()=>{class p{static forRoot(){return{ngModule:p,providers:[zs]}}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=d.oAB({type:p}),p.\u0275inj=d.cJS({imports:[$e.ez]}),p})();var gi=S(5826),jt=S(7340);function Ws(p){return new d.vHH(3e3,!1)}function Ha(){return typeof window<"u"&&typeof window.document<"u"}function li(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Qr(p){switch(p.length){case 0:return new jt.ZN;case 1:return p[0];default:return new jt.ZE(p)}}function Wi(p,s,a,h,w=new Map,O=new Map){const H=[],Y=[];let pe=-1,je=null;if(h.forEach(pt=>{const gt=pt.get("offset"),fn=gt==pe,un=fn&&je||new Map;pt.forEach(($t,Yt)=>{let _n=Yt,In=$t;if("offset"!==Yt)switch(_n=s.normalizePropertyName(_n,H),In){case jt.k1:In=w.get(Yt);break;case jt.l3:In=O.get(Yt);break;default:In=s.normalizeStyleValue(Yt,_n,In,H)}un.set(_n,In)}),fn||Y.push(un),je=un,pe=gt}),H.length)throw function zi(p){return new d.vHH(3502,!1)}();return Y}function Ki(p,s,a,h){switch(s){case"start":p.onStart(()=>h(a&&Ro(a,"start",p)));break;case"done":p.onDone(()=>h(a&&Ro(a,"done",p)));break;case"destroy":p.onDestroy(()=>h(a&&Ro(a,"destroy",p)))}}function Ro(p,s,a){const O=Qs(p.element,p.triggerName,p.fromState,p.toState,s||p.phaseName,a.totalTime??p.totalTime,!!a.disabled),H=p._data;return null!=H&&(O._data=H),O}function Qs(p,s,a,h,w="",O=0,H){return{element:p,triggerName:s,fromState:a,toState:h,phaseName:w,totalTime:O,disabled:!!H}}function er(p,s,a){let h=p.get(s);return h||p.set(s,h=a),h}function Js(p){const s=p.indexOf(":");return[p.substring(1,s),p.slice(s+1)]}let No=(p,s)=>!1,Xs=(p,s,a)=>[],Es=null;function Fo(p){const s=p.parentNode||p.host;return s===Es?null:s}(li()||typeof Element<"u")&&(Ha()?(Es=(()=>document.documentElement)(),No=(p,s)=>{for(;s;){if(s===p)return!0;s=Fo(s)}return!1}):No=(p,s)=>p.contains(s),Xs=(p,s,a)=>{if(a)return Array.from(p.querySelectorAll(s));const h=p.querySelector(s);return h?[h]:[]});let yi=null,bs=!1;const es=No,ea=Xs;let ta=(()=>{class p{validateStyleProperty(a){return function _i(p){yi||(yi=function ws(){return typeof document<"u"?document.body:null}()||{},bs=!!yi.style&&"WebkitAppearance"in yi.style);let s=!0;return yi.style&&!function yr(p){return"ebkit"==p.substring(1,6)}(p)&&(s=p in yi.style,!s&&bs&&(s="Webkit"+p.charAt(0).toUpperCase()+p.slice(1)in yi.style)),s}(a)}matchesElement(a,h){return!1}containsElement(a,h){return es(a,h)}getParentElement(a){return Fo(a)}query(a,h,w){return ea(a,h,w)}computeStyle(a,h,w){return w||""}animate(a,h,w,O,H,Y=[],pe){return new jt.ZN(w,O)}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac}),p})(),ui=(()=>{class p{}return p.NOOP=new ta,p})();const ts="ng-enter",$r="ng-leave",Di="ng-trigger",ns=".ng-trigger",hn="ng-animating",As=".ng-animating";function ko(p){if("number"==typeof p)return p;const s=p.match(/^(-?[\.\d]+)(m?s)/);return!s||s.length<2?0:Ts(parseFloat(s[1]),s[2])}function Ts(p,s){return"s"===s?1e3*p:p}function na(p,s,a){return p.hasOwnProperty("duration")?p:function ll(p,s,a){let w,O=0,H="";if("string"==typeof p){const Y=p.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Y)return s.push(Ws()),{duration:0,delay:0,easing:""};w=Ts(parseFloat(Y[1]),Y[2]);const pe=Y[3];null!=pe&&(O=Ts(parseFloat(pe),Y[4]));const je=Y[5];je&&(H=je)}else w=p;if(!a){let Y=!1,pe=s.length;w<0&&(s.push(function fo(){return new d.vHH(3100,!1)}()),Y=!0),O<0&&(s.push(function _s(){return new d.vHH(3101,!1)}()),Y=!0),Y&&s.splice(pe,0,Ws())}return{duration:w,delay:O,easing:H}}(p,s,a)}function Ms(p,s={}){return Object.keys(p).forEach(a=>{s[a]=p[a]}),s}function ra(p){const s=new Map;return Object.keys(p).forEach(a=>{s.set(a,p[a])}),s}function Lo(p,s=new Map,a){if(a)for(let[h,w]of a)s.set(h,w);for(let[h,w]of p)s.set(h,w);return s}function tr(p,s,a){return a?s+":"+a+";":""}function Ss(p){let s="";for(let a=0;a<p.style.length;a++){const h=p.style.item(a);s+=tr(0,h,p.style.getPropertyValue(h))}for(const a in p.style)p.style.hasOwnProperty(a)&&!a.startsWith("_")&&(s+=tr(0,b(a),p.style[a]));p.setAttribute("style",s)}function Gr(p,s,a){p.style&&(s.forEach((h,w)=>{const O=_(w);a&&!a.has(w)&&a.set(w,p.style[O]),p.style[O]=h}),li()&&Ss(p))}function Zi(p,s){p.style&&(s.forEach((a,h)=>{const w=_(h);p.style[w]=""}),li()&&Ss(p))}function Is(p){return Array.isArray(p)?1==p.length?p[0]:(0,jt.vP)(p):p}const Jr=new RegExp("{{\\s*(.+?)\\s*}}","g");function ya(p){let s=[];if("string"==typeof p){let a;for(;a=Jr.exec(p);)s.push(a[1]);Jr.lastIndex=0}return s}function f(p,s,a){const h=p.toString(),w=h.replace(Jr,(O,H)=>{let Y=s[H];return null==Y&&(a.push(function Ks(p){return new d.vHH(3003,!1)}()),Y=""),Y.toString()});return w==h?p:w}function g(p){const s=[];let a=p.next();for(;!a.done;)s.push(a.value),a=p.next();return s}const c=/-+([a-z0-9])/g;function _(p){return p.replace(c,(...s)=>s[1].toUpperCase())}function b(p){return p.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function J(p,s,a){switch(s.type){case 7:return p.visitTrigger(s,a);case 0:return p.visitState(s,a);case 1:return p.visitTransition(s,a);case 2:return p.visitSequence(s,a);case 3:return p.visitGroup(s,a);case 4:return p.visitAnimate(s,a);case 5:return p.visitKeyframes(s,a);case 6:return p.visitStyle(s,a);case 8:return p.visitReference(s,a);case 9:return p.visitAnimateChild(s,a);case 10:return p.visitAnimateRef(s,a);case 11:return p.visitQuery(s,a);case 12:return p.visitStagger(s,a);default:throw function vs(p){return new d.vHH(3004,!1)}()}}function xe(p,s){return window.getComputedStyle(p)[s]}function Os(p,s){const a=[];return"string"==typeof p?p.split(/\s*,\s*/).forEach(h=>function Ps(p,s,a){if(":"==p[0]){const pe=function _a(p,s){switch(p){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,h)=>parseFloat(h)>parseFloat(a);case":decrement":return(a,h)=>parseFloat(h)<parseFloat(a);default:return s.push(function ka(p){return new d.vHH(3016,!1)}()),"* => *"}}(p,a);if("function"==typeof pe)return void s.push(pe);p=pe}const h=p.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==h||h.length<4)return a.push(function Fa(p){return new d.vHH(3015,!1)}()),s;const w=h[1],O=h[2],H=h[3];s.push(Rs(w,H));"<"==O[0]&&!("*"==w&&"*"==H)&&s.push(Rs(H,w))}(h,a,s)):a.push(p),a}const xs=new Set(["true","1"]),$a=new Set(["false","0"]);function Rs(p,s){const a=xs.has(p)||$a.has(p),h=xs.has(s)||$a.has(s);return(w,O)=>{let H="*"==p||p==w,Y="*"==s||s==O;return!H&&a&&"boolean"==typeof w&&(H=w?xs.has(p):$a.has(p)),!Y&&h&&"boolean"==typeof O&&(Y=O?xs.has(s):$a.has(s)),H&&Y}}const ia=new RegExp("s*:selfs*,?","g");function Ga(p,s,a,h){return new rs(p).build(s,a,h)}class rs{constructor(s){this._driver=s}build(s,a,h){const w=new oa(a);return this._resetContextStyleTimingState(w),J(this,Is(s),w)}_resetContextStyleTimingState(s){s.currentQuerySelector="",s.collectedStyles=new Map,s.collectedStyles.set("",new Map),s.currentTime=0}visitTrigger(s,a){let h=a.queryCount=0,w=a.depCount=0;const O=[],H=[];return"@"==s.name.charAt(0)&&a.errors.push(function Ys(){return new d.vHH(3006,!1)}()),s.definitions.forEach(Y=>{if(this._resetContextStyleTimingState(a),0==Y.type){const pe=Y,je=pe.name;je.toString().split(/\s*,\s*/).forEach(pt=>{pe.name=pt,O.push(this.visitState(pe,a))}),pe.name=je}else if(1==Y.type){const pe=this.visitTransition(Y,a);h+=pe.queryCount,w+=pe.depCount,H.push(pe)}else a.errors.push(function Gi(){return new d.vHH(3007,!1)}())}),{type:7,name:s.name,states:O,transitions:H,queryCount:h,depCount:w,options:null}}visitState(s,a){const h=this.visitStyle(s.styles,a),w=s.options&&s.options.params||null;if(h.containsDynamicStyles){const O=new Set,H=w||{};h.styles.forEach(Y=>{Y instanceof Map&&Y.forEach(pe=>{ya(pe).forEach(je=>{H.hasOwnProperty(je)||O.add(je)})})}),O.size&&(g(O.values()),a.errors.push(function xa(p,s){return new d.vHH(3008,!1)}()))}return{type:0,name:s.name,style:h,options:w?{params:w}:null}}visitTransition(s,a){a.queryCount=0,a.depCount=0;const h=J(this,Is(s.animation),a);return{type:1,matchers:Os(s.expr,a.errors),animation:h,queryCount:a.queryCount,depCount:a.depCount,options:Vo(s.options)}}visitSequence(s,a){return{type:2,steps:s.steps.map(h=>J(this,h,a)),options:Vo(s.options)}}visitGroup(s,a){const h=a.currentTime;let w=0;const O=s.steps.map(H=>{a.currentTime=h;const Y=J(this,H,a);return w=Math.max(w,a.currentTime),Y});return a.currentTime=w,{type:3,steps:O,options:Vo(s.options)}}visitAnimate(s,a){const h=function nr(p,s){if(p.hasOwnProperty("duration"))return p;if("number"==typeof p)return va(na(p,s).duration,0,"");const a=p;if(a.split(/\s+/).some(O=>"{"==O.charAt(0)&&"{"==O.charAt(1))){const O=va(0,0,"");return O.dynamic=!0,O.strValue=a,O}const w=na(a,s);return va(w.duration,w.delay,w.easing)}(s.timings,a.errors);a.currentAnimateTimings=h;let w,O=s.styles?s.styles:(0,jt.oB)({});if(5==O.type)w=this.visitKeyframes(O,a);else{let H=s.styles,Y=!1;if(!H){Y=!0;const je={};h.easing&&(je.easing=h.easing),H=(0,jt.oB)(je)}a.currentTime+=h.duration+h.delay;const pe=this.visitStyle(H,a);pe.isEmptyStep=Y,w=pe}return a.currentAnimateTimings=null,{type:4,timings:h,style:w,options:null}}visitStyle(s,a){const h=this._makeStyleAst(s,a);return this._validateStyleAst(h,a),h}_makeStyleAst(s,a){const h=[],w=Array.isArray(s.styles)?s.styles:[s.styles];for(let Y of w)"string"==typeof Y?Y===jt.l3?h.push(Y):a.errors.push(new d.vHH(3002,!1)):h.push(ra(Y));let O=!1,H=null;return h.forEach(Y=>{if(Y instanceof Map&&(Y.has("easing")&&(H=Y.get("easing"),Y.delete("easing")),!O))for(let pe of Y.values())if(pe.toString().indexOf("{{")>=0){O=!0;break}}),{type:6,styles:h,easing:H,offset:s.offset,containsDynamicStyles:O,options:null}}_validateStyleAst(s,a){const h=a.currentAnimateTimings;let w=a.currentTime,O=a.currentTime;h&&O>0&&(O-=h.duration+h.delay),s.styles.forEach(H=>{"string"!=typeof H&&H.forEach((Y,pe)=>{const je=a.collectedStyles.get(a.currentQuerySelector),pt=je.get(pe);let gt=!0;pt&&(O!=w&&O>=pt.startTime&&w<=pt.endTime&&(a.errors.push(function Zo(p,s,a,h,w){return new d.vHH(3010,!1)}()),gt=!1),O=pt.startTime),gt&&je.set(pe,{startTime:O,endTime:w}),a.options&&function xr(p,s,a){const h=s.params||{},w=ya(p);w.length&&w.forEach(O=>{h.hasOwnProperty(O)||a.push(function Pa(p){return new d.vHH(3001,!1)}())})}(Y,a.options,a.errors)})})}visitKeyframes(s,a){const h={type:5,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function Ra(){return new d.vHH(3011,!1)}()),h;let O=0;const H=[];let Y=!1,pe=!1,je=0;const pt=s.steps.map(In=>{const Jn=this._makeStyleAst(In,a);let Rr=null!=Jn.offset?Jn.offset:function vu(p){if("string"==typeof p)return null;let s=null;if(Array.isArray(p))p.forEach(a=>{if(a instanceof Map&&a.has("offset")){const h=a;s=parseFloat(h.get("offset")),h.delete("offset")}});else if(p instanceof Map&&p.has("offset")){const a=p;s=parseFloat(a.get("offset")),a.delete("offset")}return s}(Jn.styles),vn=0;return null!=Rr&&(O++,vn=Jn.offset=Rr),pe=pe||vn<0||vn>1,Y=Y||vn<je,je=vn,H.push(vn),Jn});pe&&a.errors.push(function Na(){return new d.vHH(3012,!1)}()),Y&&a.errors.push(function Yo(){return new d.vHH(3200,!1)}());const gt=s.steps.length;let fn=0;O>0&&O<gt?a.errors.push(function qo(){return new d.vHH(3202,!1)}()):0==O&&(fn=1/(gt-1));const un=gt-1,$t=a.currentTime,Yt=a.currentAnimateTimings,_n=Yt.duration;return pt.forEach((In,Jn)=>{const Rr=fn>0?Jn==un?1:fn*Jn:H[Jn],vn=Rr*_n;a.currentTime=$t+Yt.delay+vn,Yt.duration=vn,this._validateStyleAst(In,a),In.offset=Rr,h.styles.push(In)}),h}visitReference(s,a){return{type:8,animation:J(this,Is(s.animation),a),options:Vo(s.options)}}visitAnimateChild(s,a){return a.depCount++,{type:9,options:Vo(s.options)}}visitAnimateRef(s,a){return{type:10,animation:this.visitReference(s.animation,a),options:Vo(s.options)}}visitQuery(s,a){const h=a.currentQuerySelector,w=s.options||{};a.queryCount++,a.currentQuery=s;const[O,H]=function cl(p){const s=!!p.split(/\s*,\s*/).find(a=>":self"==a);return s&&(p=p.replace(ia,"")),p=p.replace(/@\*/g,ns).replace(/@\w+/g,a=>ns+"-"+a.slice(1)).replace(/:animating/g,As),[p,s]}(s.selector);a.currentQuerySelector=h.length?h+" "+O:O,er(a.collectedStyles,a.currentQuerySelector,new Map);const Y=J(this,Is(s.animation),a);return a.currentQuery=null,a.currentQuerySelector=h,{type:11,selector:O,limit:w.limit||0,optional:!!w.optional,includeSelf:H,animation:Y,originalSelector:s.selector,options:Vo(s.options)}}visitStagger(s,a){a.currentQuery||a.errors.push(function fr(){return new d.vHH(3013,!1)}());const h="full"===s.timings?{duration:0,delay:0,easing:"full"}:na(s.timings,a.errors,!0);return{type:12,animation:J(this,Is(s.animation),a),timings:h,options:null}}}class oa{constructor(s){this.errors=s,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 Vo(p){return p?(p=Ms(p)).params&&(p.params=function Ri(p){return p?Ms(p):null}(p.params)):p={},p}function va(p,s,a){return{duration:p,delay:s,easing:a}}function Da(p,s,a,h,w,O,H=null,Y=!1){return{type:1,element:p,keyframes:s,preStyleProps:a,postStyleProps:h,duration:w,delay:O,totalTime:w+O,easing:H,subTimeline:Y}}class v{constructor(){this._map=new Map}get(s){return this._map.get(s)||[]}append(s,a){let h=this._map.get(s);h||this._map.set(s,h=[]),h.push(...a)}has(s){return this._map.has(s)}clear(){this._map.clear()}}const Z=new RegExp(":enter","g"),Ie=new RegExp(":leave","g");function Xe(p,s,a,h,w,O=new Map,H=new Map,Y,pe,je=[]){return(new Dt).buildKeyframes(p,s,a,h,w,O,H,Y,pe,je)}class Dt{buildKeyframes(s,a,h,w,O,H,Y,pe,je,pt=[]){je=je||new v;const gt=new Vt(s,a,je,w,O,pt,[]);gt.options=pe;const fn=pe.delay?ko(pe.delay):0;gt.currentTimeline.delayNextStep(fn),gt.currentTimeline.setStyles([H],null,gt.errors,pe),J(this,h,gt);const un=gt.timelines.filter($t=>$t.containsAnimation());if(un.length&&Y.size){let $t;for(let Yt=un.length-1;Yt>=0;Yt--){const _n=un[Yt];if(_n.element===a){$t=_n;break}}$t&&!$t.allowOnlyTimelineStyles()&&$t.setStyles([Y],null,gt.errors,pe)}return un.length?un.map($t=>$t.buildKeyframes()):[Da(a,[],[],[],0,fn,"",!1)]}visitTrigger(s,a){}visitState(s,a){}visitTransition(s,a){}visitAnimateChild(s,a){const h=a.subInstructions.get(a.element);if(h){const w=a.createSubContext(s.options),O=a.currentTimeline.currentTime,H=this._visitSubInstructions(h,w,w.options);O!=H&&a.transformIntoNewTimeline(H)}a.previousNode=s}visitAnimateRef(s,a){const h=a.createSubContext(s.options);h.transformIntoNewTimeline(),this.visitReference(s.animation,h),a.transformIntoNewTimeline(h.currentTimeline.currentTime),a.previousNode=s}_visitSubInstructions(s,a,h){let O=a.currentTimeline.currentTime;const H=null!=h.duration?ko(h.duration):null,Y=null!=h.delay?ko(h.delay):null;return 0!==H&&s.forEach(pe=>{const je=a.appendInstructionToTimeline(pe,H,Y);O=Math.max(O,je.duration+je.delay)}),O}visitReference(s,a){a.updateOptions(s.options,!0),J(this,s.animation,a),a.previousNode=s}visitSequence(s,a){const h=a.subContextCount;let w=a;const O=s.options;if(O&&(O.params||O.delay)&&(w=a.createSubContext(O),w.transformIntoNewTimeline(),null!=O.delay)){6==w.previousNode.type&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=Rt);const H=ko(O.delay);w.delayNextStep(H)}s.steps.length&&(s.steps.forEach(H=>J(this,H,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>h&&w.transformIntoNewTimeline()),a.previousNode=s}visitGroup(s,a){const h=[];let w=a.currentTimeline.currentTime;const O=s.options&&s.options.delay?ko(s.options.delay):0;s.steps.forEach(H=>{const Y=a.createSubContext(s.options);O&&Y.delayNextStep(O),J(this,H,Y),w=Math.max(w,Y.currentTimeline.currentTime),h.push(Y.currentTimeline)}),h.forEach(H=>a.currentTimeline.mergeTimelineCollectedStyles(H)),a.transformIntoNewTimeline(w),a.previousNode=s}_visitTiming(s,a){if(s.dynamic){const h=s.strValue;return na(a.params?f(h,a.params,a.errors):h,a.errors)}return{duration:s.duration,delay:s.delay,easing:s.easing}}visitAnimate(s,a){const h=a.currentAnimateTimings=this._visitTiming(s.timings,a),w=a.currentTimeline;h.delay&&(a.incrementTime(h.delay),w.snapshotCurrentStyles());const O=s.style;5==O.type?this.visitKeyframes(O,a):(a.incrementTime(h.duration),this.visitStyle(O,a),w.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=s}visitStyle(s,a){const h=a.currentTimeline,w=a.currentAnimateTimings;!w&&h.hasCurrentStyleProperties()&&h.forwardFrame();const O=w&&w.easing||s.easing;s.isEmptyStep?h.applyEmptyStep(O):h.setStyles(s.styles,O,a.errors,a.options),a.previousNode=s}visitKeyframes(s,a){const h=a.currentAnimateTimings,w=a.currentTimeline.duration,O=h.duration,Y=a.createSubContext().currentTimeline;Y.easing=h.easing,s.styles.forEach(pe=>{Y.forwardTime((pe.offset||0)*O),Y.setStyles(pe.styles,pe.easing,a.errors,a.options),Y.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(Y),a.transformIntoNewTimeline(w+O),a.previousNode=s}visitQuery(s,a){const h=a.currentTimeline.currentTime,w=s.options||{},O=w.delay?ko(w.delay):0;O&&(6===a.previousNode.type||0==h&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=Rt);let H=h;const Y=a.invokeQuery(s.selector,s.originalSelector,s.limit,s.includeSelf,!!w.optional,a.errors);a.currentQueryTotal=Y.length;let pe=null;Y.forEach((je,pt)=>{a.currentQueryIndex=pt;const gt=a.createSubContext(s.options,je);O&>.delayNextStep(O),je===a.element&&(pe=gt.currentTimeline),J(this,s.animation,gt),gt.currentTimeline.applyStylesToKeyframe(),H=Math.max(H,gt.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(H),pe&&(a.currentTimeline.mergeTimelineCollectedStyles(pe),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=s}visitStagger(s,a){const h=a.parentContext,w=a.currentTimeline,O=s.timings,H=Math.abs(O.duration),Y=H*(a.currentQueryTotal-1);let pe=H*a.currentQueryIndex;switch(O.duration<0?"reverse":O.easing){case"reverse":pe=Y-pe;break;case"full":pe=h.currentStaggerTime}const pt=a.currentTimeline;pe&&pt.delayNextStep(pe);const gt=pt.currentTime;J(this,s.animation,a),a.previousNode=s,h.currentStaggerTime=w.currentTime-gt+(w.startTime-h.currentTimeline.startTime)}}const Rt={};class Vt{constructor(s,a,h,w,O,H,Y,pe){this._driver=s,this.element=a,this.subInstructions=h,this._enterClassName=w,this._leaveClassName=O,this.errors=H,this.timelines=Y,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Rt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=pe||new sn(this._driver,a,0),Y.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(s,a){if(!s)return;const h=s;let w=this.options;null!=h.duration&&(w.duration=ko(h.duration)),null!=h.delay&&(w.delay=ko(h.delay));const O=h.params;if(O){let H=w.params;H||(H=this.options.params={}),Object.keys(O).forEach(Y=>{(!a||!H.hasOwnProperty(Y))&&(H[Y]=f(O[Y],H,this.errors))})}}_copyOptions(){const s={};if(this.options){const a=this.options.params;if(a){const h=s.params={};Object.keys(a).forEach(w=>{h[w]=a[w]})}}return s}createSubContext(s=null,a,h){const w=a||this.element,O=new Vt(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,h||0));return O.previousNode=this.previousNode,O.currentAnimateTimings=this.currentAnimateTimings,O.options=this._copyOptions(),O.updateOptions(s),O.currentQueryIndex=this.currentQueryIndex,O.currentQueryTotal=this.currentQueryTotal,O.parentContext=this,this.subContextCount++,O}transformIntoNewTimeline(s){return this.previousNode=Rt,this.currentTimeline=this.currentTimeline.fork(this.element,s),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(s,a,h){const w={duration:a??s.duration,delay:this.currentTimeline.currentTime+(h??0)+s.delay,easing:""},O=new qt(this._driver,s.element,s.keyframes,s.preStyleProps,s.postStyleProps,w,s.stretchStartingKeyframe);return this.timelines.push(O),w}incrementTime(s){this.currentTimeline.forwardTime(this.currentTimeline.duration+s)}delayNextStep(s){s>0&&this.currentTimeline.delayNextStep(s)}invokeQuery(s,a,h,w,O,H){let Y=[];if(w&&Y.push(this.element),s.length>0){s=(s=s.replace(Z,"."+this._enterClassName)).replace(Ie,"."+this._leaveClassName);let je=this._driver.query(this.element,s,1!=h);0!==h&&(je=h<0?je.slice(je.length+h,je.length):je.slice(0,h)),Y.push(...je)}return!O&&0==Y.length&&H.push(function qs(p){return new d.vHH(3014,!1)}()),Y}}class sn{constructor(s,a,h,w){this._driver=s,this.element=a,this.startTime=h,this._elementTimelineStylesLookup=w,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,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(s){const a=1===this._keyframes.size&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+s),a&&this.snapshotCurrentStyles()):this.startTime+=s}fork(s,a){return this.applyStylesToKeyframe(),new sn(this._driver,s,a||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(s){this.applyStylesToKeyframe(),this.duration=s,this._loadKeyframe()}_updateStyle(s,a){this._localTimelineStyles.set(s,a),this._globalTimelineStyles.set(s,a),this._styleSummary.set(s,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(s){s&&this._previousKeyframe.set("easing",s);for(let[a,h]of this._globalTimelineStyles)this._backFill.set(a,h||jt.l3),this._currentKeyframe.set(a,jt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(s,a,h,w){a&&this._previousKeyframe.set("easing",a);const O=w&&w.params||{},H=function wr(p,s){const a=new Map;let h;return p.forEach(w=>{if("*"===w){h=h||s.keys();for(let O of h)a.set(O,jt.l3)}else Lo(w,a)}),a}(s,this._globalTimelineStyles);for(let[Y,pe]of H){const je=f(pe,O,h);this._pendingStyles.set(Y,je),this._localTimelineStyles.has(Y)||this._backFill.set(Y,this._globalTimelineStyles.get(Y)??jt.l3),this._updateStyle(Y,je)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((s,a)=>{this._currentKeyframe.set(a,s)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((s,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,s)}))}snapshotCurrentStyles(){for(let[s,a]of this._localTimelineStyles)this._pendingStyles.set(s,a),this._updateStyle(s,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const s=[];for(let a in this._currentKeyframe)s.push(a);return s}mergeTimelineCollectedStyles(s){s._styleSummary.forEach((a,h)=>{const w=this._styleSummary.get(h);(!w||a.time>w.time)&&this._updateStyle(h,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const s=new Set,a=new Set,h=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((Y,pe)=>{const je=Lo(Y,new Map,this._backFill);je.forEach((pt,gt)=>{pt===jt.k1?s.add(gt):pt===jt.l3&&a.add(gt)}),h||je.set("offset",pe/this.duration),w.push(je)});const O=s.size?g(s.values()):[],H=a.size?g(a.values()):[];if(h){const Y=w[0],pe=new Map(Y);Y.set("offset",0),pe.set("offset",1),w=[Y,pe]}return Da(this.element,w,O,H,this.duration,this.startTime,this.easing,!1)}}class qt extends sn{constructor(s,a,h,w,O,H,Y=!1){super(s,a,H.delay),this.keyframes=h,this.preStyleProps=w,this.postStyleProps=O,this._stretchStartingKeyframe=Y,this.timings={duration:H.duration,delay:H.delay,easing:H.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let s=this.keyframes,{delay:a,duration:h,easing:w}=this.timings;if(this._stretchStartingKeyframe&&a){const O=[],H=h+a,Y=a/H,pe=Lo(s[0]);pe.set("offset",0),O.push(pe);const je=Lo(s[0]);je.set("offset",Xr(Y)),O.push(je);const pt=s.length-1;for(let gt=1;gt<=pt;gt++){let fn=Lo(s[gt]);const un=fn.get("offset");fn.set("offset",Xr((a+un*h)/H)),O.push(fn)}h=H,a=0,w="",s=O}return Da(this.element,s,this.preStyleProps,this.postStyleProps,h,a,w,!0)}}function Xr(p,s=3){const a=Math.pow(10,s-1);return Math.round(p*a)/a}class qi{}const Ni=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 is extends qi{normalizePropertyName(s,a){return _(s)}normalizeStyleValue(s,a,h,w){let O="";const H=h.toString().trim();if(Ni.has(a)&&0!==h&&"0"!==h)if("number"==typeof h)O="px";else{const Y=h.match(/^[+-]?[\d\.]+([a-z]*)$/);Y&&0==Y[1].length&&w.push(function Zs(p,s){return new d.vHH(3005,!1)}())}return H+O}}function Ca(p,s,a,h,w,O,H,Y,pe,je,pt,gt,fn){return{type:0,element:p,triggerName:s,isRemovalTransition:w,fromState:a,fromStyles:O,toState:h,toStyles:H,timelines:Y,queriedElements:pe,preStyleProps:je,postStyleProps:pt,totalTime:gt,errors:fn}}const jl={};class _c{constructor(s,a,h){this._triggerName=s,this.ast=a,this._stateStyles=h}match(s,a,h,w){return function vc(p,s,a,h,w){return p.some(O=>O(s,a,h,w))}(this.ast.matchers,s,a,h,w)}buildStyles(s,a,h){let w=this._stateStyles.get("*");return void 0!==s&&(w=this._stateStyles.get(s?.toString())||w),w?w.buildStyles(a,h):new Map}build(s,a,h,w,O,H,Y,pe,je,pt){const gt=[],fn=this.ast.options&&this.ast.options.params||jl,$t=this.buildStyles(h,Y&&Y.params||jl,gt),Yt=pe&&pe.params||jl,_n=this.buildStyles(w,Yt,gt),In=new Set,Jn=new Map,Rr=new Map,vn="void"===w,Nr={params:Dc(Yt,fn),delay:this.ast.options?.delay},Ar=pt?[]:Xe(s,a,this.ast.animation,O,H,$t,_n,Nr,je,gt);let ei=0;if(Ar.forEach(os=>{ei=Math.max(os.duration+os.delay,ei)}),gt.length)return Ca(a,this._triggerName,h,w,vn,$t,_n,[],[],Jn,Rr,ei,gt);Ar.forEach(os=>{const yo=os.element,Ya=er(Jn,yo,new Set);os.preStyleProps.forEach(ss=>Ya.add(ss));const qa=er(Rr,yo,new Set);os.postStyleProps.forEach(ss=>qa.add(ss)),yo!==a&&In.add(yo)});const di=g(In.values());return Ca(a,this._triggerName,h,w,vn,$t,_n,Ar,di,Jn,Rr,ei)}}function Dc(p,s){const a=Ms(s);for(const h in p)p.hasOwnProperty(h)&&null!=p[h]&&(a[h]=p[h]);return a}class dl{constructor(s,a,h){this.styles=s,this.defaultParams=a,this.normalizer=h}buildStyles(s,a){const h=new Map,w=Ms(this.defaultParams);return Object.keys(s).forEach(O=>{const H=s[O];null!==H&&(w[O]=H)}),this.styles.styles.forEach(O=>{"string"!=typeof O&&O.forEach((H,Y)=>{H&&(H=f(H,w,a));const pe=this.normalizer.normalizePropertyName(Y,a);H=this.normalizer.normalizeStyleValue(Y,pe,H,a),h.set(pe,H)})}),h}}class Cc{constructor(s,a,h){this.name=s,this.ast=a,this._normalizer=h,this.transitionFactories=[],this.states=new Map,a.states.forEach(w=>{this.states.set(w.name,new dl(w.style,w.options&&w.options.params||{},h))}),Ec(this.states,"true","1"),Ec(this.states,"false","0"),a.transitions.forEach(w=>{this.transitionFactories.push(new _c(s,w,this.states))}),this.fallbackTransition=function Cu(p,s,a){return new _c(p,{type:1,animation:{type:2,steps:[],options:null},matchers:[(H,Y)=>!0],options:null,queryCount:0,depCount:0},s)}(s,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(s,a,h,w){return this.transitionFactories.find(H=>H.match(s,a,h,w))||null}matchStyles(s,a,h){return this.fallbackTransition.buildStyles(s,a,h)}}function Ec(p,s,a){p.has(s)?p.has(a)||p.set(a,p.get(s)):p.has(a)&&p.set(s,p.get(a))}const Eu=new v;class Kf{constructor(s,a,h){this.bodyNode=s,this._driver=a,this._normalizer=h,this._animations=new Map,this._playersById=new Map,this.players=[]}register(s,a){const h=[],O=Ga(this._driver,a,h,[]);if(h.length)throw function pa(p){return new d.vHH(3503,!1)}();this._animations.set(s,O)}_buildPlayer(s,a,h){const w=s.element,O=Wi(0,this._normalizer,0,s.keyframes,a,h);return this._driver.animate(w,O,s.duration,s.delay,s.easing,[],!0)}create(s,a,h={}){const w=[],O=this._animations.get(s);let H;const Y=new Map;if(O?(H=Xe(this._driver,a,O,ts,$r,new Map,new Map,h,Eu,w),H.forEach(pt=>{const gt=er(Y,pt.element,new Map);pt.postStyleProps.forEach(fn=>gt.set(fn,null))})):(w.push(function ga(){return new d.vHH(3300,!1)}()),H=[]),w.length)throw function Po(p){return new d.vHH(3504,!1)}();Y.forEach((pt,gt)=>{pt.forEach((fn,un)=>{pt.set(un,this._driver.computeStyle(gt,un,jt.l3))})});const je=Qr(H.map(pt=>{const gt=Y.get(pt.element);return this._buildPlayer(pt,new Map,gt)}));return this._playersById.set(s,je),je.onDestroy(()=>this.destroy(s)),this.players.push(je),je}destroy(s){const a=this._getPlayer(s);a.destroy(),this._playersById.delete(s);const h=this.players.indexOf(a);h>=0&&this.players.splice(h,1)}_getPlayer(s){const a=this._playersById.get(s);if(!a)throw function La(p){return new d.vHH(3301,!1)}();return a}listen(s,a,h,w){const O=Qs(a,"","","");return Ki(this._getPlayer(s),h,O,w),()=>{}}command(s,a,h,w){if("register"==h)return void this.register(s,w[0]);if("create"==h)return void this.create(s,a,w[0]||{});const O=this._getPlayer(s);switch(h){case"play":O.play();break;case"pause":O.pause();break;case"reset":O.reset();break;case"restart":O.restart();break;case"finish":O.finish();break;case"init":O.init();break;case"setPosition":O.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(s)}}}const fl="ng-animate-queued",hl="ng-animate-disabled",wc=[],bu={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Zf={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ci="__ng_removed";class Wa{constructor(s,a=""){this.namespaceId=a;const h=s&&s.hasOwnProperty("value");if(this.value=function Tc(p){return p??null}(h?s.value:s),h){const O=Ms(s);delete O.value,this.options=O}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(s){const a=s.params;if(a){const h=this.options.params;Object.keys(a).forEach(w=>{null==h[w]&&(h[w]=a[w])})}}}const ba="void",gl=new Wa(ba);class wu{constructor(s,a,h){this.id=s,this.hostElement=a,this._engine=h,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+s,Qi(a,this._hostClassName)}listen(s,a,h,w){if(!this._triggers.has(a))throw function lr(p,s){return new d.vHH(3302,!1)}();if(null==h||0==h.length)throw function Ds(p){return new d.vHH(3303,!1)}();if(!function Mc(p){return"start"==p||"done"==p}(h))throw function xo(p,s){return new d.vHH(3400,!1)}();const O=er(this._elementListeners,s,[]),H={name:a,phase:h,callback:w};O.push(H);const Y=er(this._engine.statesByElement,s,new Map);return Y.has(a)||(Qi(s,Di),Qi(s,Di+"-"+a),Y.set(a,gl)),()=>{this._engine.afterFlush(()=>{const pe=O.indexOf(H);pe>=0&&O.splice(pe,1),this._triggers.has(a)||Y.delete(a)})}}register(s,a){return!this._triggers.has(s)&&(this._triggers.set(s,a),!0)}_getTrigger(s){const a=this._triggers.get(s);if(!a)throw function Va(p){return new d.vHH(3401,!1)}();return a}trigger(s,a,h,w=!0){const O=this._getTrigger(a),H=new Gl(this.id,a,s);let Y=this._engine.statesByElement.get(s);Y||(Qi(s,Di),Qi(s,Di+"-"+a),this._engine.statesByElement.set(s,Y=new Map));let pe=Y.get(a);const je=new Wa(h,this.id);if(!(h&&h.hasOwnProperty("value"))&&pe&&je.absorbOptions(pe.options),Y.set(a,je),pe||(pe=gl),je.value!==ba&&pe.value===je.value){if(!function Mu(p,s){const a=Object.keys(p),h=Object.keys(s);if(a.length!=h.length)return!1;for(let w=0;w<a.length;w++){const O=a[w];if(!s.hasOwnProperty(O)||p[O]!==s[O])return!1}return!0}(pe.params,je.params)){const Yt=[],_n=O.matchStyles(pe.value,pe.params,Yt),In=O.matchStyles(je.value,je.params,Yt);Yt.length?this._engine.reportError(Yt):this._engine.afterFlush(()=>{Zi(s,_n),Gr(s,In)})}return}const fn=er(this._engine.playersByElement,s,[]);fn.forEach(Yt=>{Yt.namespaceId==this.id&&Yt.triggerName==a&&Yt.queued&&Yt.destroy()});let un=O.matchTransition(pe.value,je.value,s,je.params),$t=!1;if(!un){if(!w)return;un=O.fallbackTransition,$t=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:a,transition:un,fromState:pe,toState:je,player:H,isFallbackTransition:$t}),$t||(Qi(s,fl),H.onStart(()=>{wa(s,fl)})),H.onDone(()=>{let Yt=this.players.indexOf(H);Yt>=0&&this.players.splice(Yt,1);const _n=this._engine.playersByElement.get(s);if(_n){let In=_n.indexOf(H);In>=0&&_n.splice(In,1)}}),this.players.push(H),fn.push(H),H}deregister(s){this._triggers.delete(s),this._engine.statesByElement.forEach(a=>a.delete(s)),this._elementListeners.forEach((a,h)=>{this._elementListeners.set(h,a.filter(w=>w.name!=s))})}clearElementCache(s){this._engine.statesByElement.delete(s),this._elementListeners.delete(s);const a=this._engine.playersByElement.get(s);a&&(a.forEach(h=>h.destroy()),this._engine.playersByElement.delete(s))}_signalRemovalForInnerTriggers(s,a){const h=this._engine.driver.query(s,ns,!0);h.forEach(w=>{if(w[ci])return;const O=this._engine.fetchNamespacesByElement(w);O.size?O.forEach(H=>H.triggerLeaveAnimation(w,a,!1,!0)):this.clearElementCache(w)}),this._engine.afterFlushAnimationsDone(()=>h.forEach(w=>this.clearElementCache(w)))}triggerLeaveAnimation(s,a,h,w){const O=this._engine.statesByElement.get(s),H=new Map;if(O){const Y=[];if(O.forEach((pe,je)=>{if(H.set(je,pe.value),this._triggers.has(je)){const pt=this.trigger(s,je,ba,w);pt&&Y.push(pt)}}),Y.length)return this._engine.markElementAsRemoved(this.id,s,!0,a,H),h&&Qr(Y).onDone(()=>this._engine.processLeaveNode(s)),!0}return!1}prepareLeaveAnimationListeners(s){const a=this._elementListeners.get(s),h=this._engine.statesByElement.get(s);if(a&&h){const w=new Set;a.forEach(O=>{const H=O.name;if(w.has(H))return;w.add(H);const pe=this._triggers.get(H).fallbackTransition,je=h.get(H)||gl,pt=new Wa(ba),gt=new Gl(this.id,H,s);this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:H,transition:pe,fromState:je,toState:pt,player:gt,isFallbackTransition:!0})})}}removeNode(s,a){const h=this._engine;if(s.childElementCount&&this._signalRemovalForInnerTriggers(s,a),this.triggerLeaveAnimation(s,a,!0))return;let w=!1;if(h.totalAnimations){const O=h.players.length?h.playersByQueriedElement.get(s):[];if(O&&O.length)w=!0;else{let H=s;for(;H=H.parentNode;)if(h.statesByElement.get(H)){w=!0;break}}}if(this.prepareLeaveAnimationListeners(s),w)h.markElementAsRemoved(this.id,s,!1,a);else{const O=s[ci];(!O||O===bu)&&(h.afterFlush(()=>this.clearElementCache(s)),h.destroyInnerAnimations(s),h._onRemovalComplete(s,a))}}insertNode(s,a){Qi(s,this._hostClassName)}drainQueuedTransitions(s){const a=[];return this._queue.forEach(h=>{const w=h.player;if(w.destroyed)return;const O=h.element,H=this._elementListeners.get(O);H&&H.forEach(Y=>{if(Y.name==h.triggerName){const pe=Qs(O,h.triggerName,h.fromState.value,h.toState.value);pe._data=s,Ki(h.player,Y.phase,pe,Y.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):a.push(h)}),this._queue=[],a.sort((h,w)=>{const O=h.transition.ast.depCount,H=w.transition.ast.depCount;return 0==O||0==H?O-H:this._engine.driver.containsElement(h.element,w.element)?1:-1})}destroy(s){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,s)}elementContainsData(s){let a=!1;return this._elementListeners.has(s)&&(a=!0),a=!!this._queue.find(h=>h.element===s)||a,a}}class sa{constructor(s,a,h){this.bodyNode=s,this.driver=a,this._normalizer=h,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=(w,O)=>{}}_onRemovalComplete(s,a){this.onRemovalComplete(s,a)}get queuedPlayers(){const s=[];return this._namespaceList.forEach(a=>{a.players.forEach(h=>{h.queued&&s.push(h)})}),s}createNamespace(s,a){const h=new wu(s,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(h,a):(this.newHostElements.set(a,h),this.collectEnterElement(a)),this._namespaceLookup[s]=h}_balanceNamespaceList(s,a){const h=this._namespaceList,w=this.namespacesByHostElement;if(h.length-1>=0){let H=!1,Y=this.driver.getParentElement(a);for(;Y;){const pe=w.get(Y);if(pe){const je=h.indexOf(pe);h.splice(je+1,0,s),H=!0;break}Y=this.driver.getParentElement(Y)}H||h.unshift(s)}else h.push(s);return w.set(a,s),s}register(s,a){let h=this._namespaceLookup[s];return h||(h=this.createNamespace(s,a)),h}registerTrigger(s,a,h){let w=this._namespaceLookup[s];w&&w.register(a,h)&&this.totalAnimations++}destroy(s,a){if(!s)return;const h=this._fetchNamespace(s);this.afterFlush(()=>{this.namespacesByHostElement.delete(h.hostElement),delete this._namespaceLookup[s];const w=this._namespaceList.indexOf(h);w>=0&&this._namespaceList.splice(w,1)}),this.afterFlushAnimationsDone(()=>h.destroy(a))}_fetchNamespace(s){return this._namespaceLookup[s]}fetchNamespacesByElement(s){const a=new Set,h=this.statesByElement.get(s);if(h)for(let w of h.values())if(w.namespaceId){const O=this._fetchNamespace(w.namespaceId);O&&a.add(O)}return a}trigger(s,a,h,w){if(ml(a)){const O=this._fetchNamespace(s);if(O)return O.trigger(a,h,w),!0}return!1}insertNode(s,a,h,w){if(!ml(a))return;const O=a[ci];if(O&&O.setForRemoval){O.setForRemoval=!1,O.setForMove=!0;const H=this.collectedLeaveElements.indexOf(a);H>=0&&this.collectedLeaveElements.splice(H,1)}if(s){const H=this._fetchNamespace(s);H&&H.insertNode(a,h)}w&&this.collectEnterElement(a)}collectEnterElement(s){this.collectedEnterElements.push(s)}markElementAsDisabled(s,a){a?this.disabledNodes.has(s)||(this.disabledNodes.add(s),Qi(s,hl)):this.disabledNodes.has(s)&&(this.disabledNodes.delete(s),wa(s,hl))}removeNode(s,a,h,w){if(ml(a)){const O=s?this._fetchNamespace(s):null;if(O?O.removeNode(a,w):this.markElementAsRemoved(s,a,!1,w),h){const H=this.namespacesByHostElement.get(a);H&&H.id!==s&&H.removeNode(a,w)}}else this._onRemovalComplete(a,w)}markElementAsRemoved(s,a,h,w,O){this.collectedLeaveElements.push(a),a[ci]={namespaceId:s,setForRemoval:w,hasAnimation:h,removedBeforeQueried:!1,previousTriggersValues:O}}listen(s,a,h,w,O){return ml(a)?this._fetchNamespace(s).listen(a,h,w,O):()=>{}}_buildInstruction(s,a,h,w,O){return s.transition.build(this.driver,s.element,s.fromState.value,s.toState.value,h,w,s.fromState.options,s.toState.options,a,O)}destroyInnerAnimations(s){let a=this.driver.query(s,ns,!0);a.forEach(h=>this.destroyActiveAnimationsForElement(h)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(s,As,!0),a.forEach(h=>this.finishActiveQueriedAnimationOnElement(h)))}destroyActiveAnimationsForElement(s){const a=this.playersByElement.get(s);a&&a.forEach(h=>{h.queued?h.markedForDestroy=!0:h.destroy()})}finishActiveQueriedAnimationOnElement(s){const a=this.playersByQueriedElement.get(s);a&&a.forEach(h=>h.finish())}whenRenderingDone(){return new Promise(s=>{if(this.players.length)return Qr(this.players).onDone(()=>s());s()})}processLeaveNode(s){const a=s[ci];if(a&&a.setForRemoval){if(s[ci]=bu,a.namespaceId){this.destroyInnerAnimations(s);const h=this._fetchNamespace(a.namespaceId);h&&h.clearElementCache(s)}this._onRemovalComplete(s,a.setForRemoval)}s.classList?.contains(hl)&&this.markElementAsDisabled(s,!1),this.driver.query(s,".ng-animate-disabled",!0).forEach(h=>{this.markElementAsDisabled(h,!1)})}flush(s=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((h,w)=>this._balanceNamespaceList(h,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let h=0;h<this.collectedEnterElements.length;h++)Qi(this.collectedEnterElements[h],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const h=[];try{a=this._flushAnimations(h,s)}finally{for(let w=0;w<h.length;w++)h[w]()}}else for(let h=0;h<this.collectedLeaveElements.length;h++)this.processLeaveNode(this.collectedLeaveElements[h]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(h=>h()),this._flushFns=[],this._whenQuietFns.length){const h=this._whenQuietFns;this._whenQuietFns=[],a.length?Qr(a).onDone(()=>{h.forEach(w=>w())}):h.forEach(w=>w())}}reportError(s){throw function Cs(p){return new d.vHH(3402,!1)}()}_flushAnimations(s,a){const h=new v,w=[],O=new Map,H=[],Y=new Map,pe=new Map,je=new Map,pt=new Set;this.disabledNodes.forEach(Pt=>{pt.add(Pt);const Ut=this.driver.query(Pt,".ng-animate-queued",!0);for(let Xt=0;Xt<Ut.length;Xt++)pt.add(Ut[Xt])});const gt=this.bodyNode,fn=Array.from(this.statesByElement.keys()),un=Au(fn,this.collectedEnterElements),$t=new Map;let Yt=0;un.forEach((Pt,Ut)=>{const Xt=ts+Yt++;$t.set(Ut,Xt),Pt.forEach(Mn=>Qi(Mn,Xt))});const _n=[],In=new Set,Jn=new Set;for(let Pt=0;Pt<this.collectedLeaveElements.length;Pt++){const Ut=this.collectedLeaveElements[Pt],Xt=Ut[ci];Xt&&Xt.setForRemoval&&(_n.push(Ut),In.add(Ut),Xt.hasAnimation?this.driver.query(Ut,".ng-star-inserted",!0).forEach(Mn=>In.add(Mn)):Jn.add(Ut))}const Rr=new Map,vn=Au(fn,Array.from(In));vn.forEach((Pt,Ut)=>{const Xt=$r+Yt++;Rr.set(Ut,Xt),Pt.forEach(Mn=>Qi(Mn,Xt))}),s.push(()=>{un.forEach((Pt,Ut)=>{const Xt=$t.get(Ut);Pt.forEach(Mn=>wa(Mn,Xt))}),vn.forEach((Pt,Ut)=>{const Xt=Rr.get(Ut);Pt.forEach(Mn=>wa(Mn,Xt))}),_n.forEach(Pt=>{this.processLeaveNode(Pt)})});const Nr=[],Ar=[];for(let Pt=this._namespaceList.length-1;Pt>=0;Pt--)this._namespaceList[Pt].drainQueuedTransitions(a).forEach(Xt=>{const Mn=Xt.player,Tr=Xt.element;if(Nr.push(Mn),this.collectedEnterElements.length){const ti=Tr[ci];if(ti&&ti.setForMove){if(ti.previousTriggersValues&&ti.previousTriggersValues.has(Xt.triggerName)){const ks=ti.previousTriggersValues.get(Xt.triggerName),Ji=this.statesByElement.get(Xt.element);if(Ji&&Ji.has(Xt.triggerName)){const Ja=Ji.get(Xt.triggerName);Ja.value=ks,Ji.set(Xt.triggerName,Ja)}}return void Mn.destroy()}}const fi=!gt||!this.driver.containsElement(gt,Tr),Fi=Rr.get(Tr),Fs=$t.get(Tr),rr=this._buildInstruction(Xt,h,Fs,Fi,fi);if(rr.errors&&rr.errors.length)return void Ar.push(rr);if(fi)return Mn.onStart(()=>Zi(Tr,rr.fromStyles)),Mn.onDestroy(()=>Gr(Tr,rr.toStyles)),void w.push(Mn);if(Xt.isFallbackTransition)return Mn.onStart(()=>Zi(Tr,rr.fromStyles)),Mn.onDestroy(()=>Gr(Tr,rr.toStyles)),void w.push(Mn);const Fu=[];rr.timelines.forEach(ti=>{ti.stretchStartingKeyframe=!0,this.disabledNodes.has(ti.element)||Fu.push(ti)}),rr.timelines=Fu,h.append(Tr,rr.timelines),H.push({instruction:rr,player:Mn,element:Tr}),rr.queriedElements.forEach(ti=>er(Y,ti,[]).push(Mn)),rr.preStyleProps.forEach((ti,ks)=>{if(ti.size){let Ji=pe.get(ks);Ji||pe.set(ks,Ji=new Set),ti.forEach((Ja,ku)=>Ji.add(ku))}}),rr.postStyleProps.forEach((ti,ks)=>{let Ji=je.get(ks);Ji||je.set(ks,Ji=new Set),ti.forEach((Ja,ku)=>Ji.add(ku))})});if(Ar.length){const Pt=[];Ar.forEach(Ut=>{Pt.push(function Ua(p,s){return new d.vHH(3505,!1)}())}),Nr.forEach(Ut=>Ut.destroy()),this.reportError(Pt)}const ei=new Map,di=new Map;H.forEach(Pt=>{const Ut=Pt.element;h.has(Ut)&&(di.set(Ut,Ut),this._beforeAnimationBuild(Pt.player.namespaceId,Pt.instruction,ei))}),w.forEach(Pt=>{const Ut=Pt.element;this._getPreviousPlayers(Ut,!1,Pt.namespaceId,Pt.triggerName,null).forEach(Mn=>{er(ei,Ut,[]).push(Mn),Mn.destroy()})});const os=_n.filter(Pt=>Su(Pt,pe,je)),yo=new Map;aa(yo,this.driver,Jn,je,jt.l3).forEach(Pt=>{Su(Pt,pe,je)&&os.push(Pt)});const qa=new Map;un.forEach((Pt,Ut)=>{aa(qa,this.driver,new Set(Pt),pe,jt.k1)}),os.forEach(Pt=>{const Ut=yo.get(Pt),Xt=qa.get(Pt);yo.set(Pt,new Map([...Array.from(Ut?.entries()??[]),...Array.from(Xt?.entries()??[])]))});const ss=[],Qa=[],Ns={};H.forEach(Pt=>{const{element:Ut,player:Xt,instruction:Mn}=Pt;if(h.has(Ut)){if(pt.has(Ut))return Xt.onDestroy(()=>Gr(Ut,Mn.toStyles)),Xt.disabled=!0,Xt.overrideTotalTime(Mn.totalTime),void w.push(Xt);let Tr=Ns;if(di.size>1){let Fi=Ut;const Fs=[];for(;Fi=Fi.parentNode;){const rr=di.get(Fi);if(rr){Tr=rr;break}Fs.push(Fi)}Fs.forEach(rr=>di.set(rr,Tr))}const fi=this._buildAnimation(Xt.namespaceId,Mn,ei,O,qa,yo);if(Xt.setRealPlayer(fi),Tr===Ns)ss.push(Xt);else{const Fi=this.playersByElement.get(Tr);Fi&&Fi.length&&(Xt.parentPlayer=Qr(Fi)),w.push(Xt)}}else Zi(Ut,Mn.fromStyles),Xt.onDestroy(()=>Gr(Ut,Mn.toStyles)),Qa.push(Xt),pt.has(Ut)&&w.push(Xt)}),Qa.forEach(Pt=>{const Ut=O.get(Pt.element);if(Ut&&Ut.length){const Xt=Qr(Ut);Pt.setRealPlayer(Xt)}}),w.forEach(Pt=>{Pt.parentPlayer?Pt.syncPlayerEvents(Pt.parentPlayer):Pt.destroy()});for(let Pt=0;Pt<_n.length;Pt++){const Ut=_n[Pt],Xt=Ut[ci];if(wa(Ut,$r),Xt&&Xt.hasAnimation)continue;let Mn=[];if(Y.size){let fi=Y.get(Ut);fi&&fi.length&&Mn.push(...fi);let Fi=this.driver.query(Ut,As,!0);for(let Fs=0;Fs<Fi.length;Fs++){let rr=Y.get(Fi[Fs]);rr&&rr.length&&Mn.push(...rr)}}const Tr=Mn.filter(fi=>!fi.destroyed);Tr.length?Sc(this,Ut,Tr):this.processLeaveNode(Ut)}return _n.length=0,ss.forEach(Pt=>{this.players.push(Pt),Pt.onDone(()=>{Pt.destroy();const Ut=this.players.indexOf(Pt);this.players.splice(Ut,1)}),Pt.play()}),ss}elementContainsData(s,a){let h=!1;const w=a[ci];return w&&w.setForRemoval&&(h=!0),this.playersByElement.has(a)&&(h=!0),this.playersByQueriedElement.has(a)&&(h=!0),this.statesByElement.has(a)&&(h=!0),this._fetchNamespace(s).elementContainsData(a)||h}afterFlush(s){this._flushFns.push(s)}afterFlushAnimationsDone(s){this._whenQuietFns.push(s)}_getPreviousPlayers(s,a,h,w,O){let H=[];if(a){const Y=this.playersByQueriedElement.get(s);Y&&(H=Y)}else{const Y=this.playersByElement.get(s);if(Y){const pe=!O||O==ba;Y.forEach(je=>{je.queued||!pe&&je.triggerName!=w||H.push(je)})}}return(h||w)&&(H=H.filter(Y=>!(h&&h!=Y.namespaceId||w&&w!=Y.triggerName))),H}_beforeAnimationBuild(s,a,h){const O=a.element,H=a.isRemovalTransition?void 0:s,Y=a.isRemovalTransition?void 0:a.triggerName;for(const pe of a.timelines){const je=pe.element,pt=je!==O,gt=er(h,je,[]);this._getPreviousPlayers(je,pt,H,Y,a.toState).forEach(un=>{const $t=un.getRealPlayer();$t.beforeDestroy&&$t.beforeDestroy(),un.destroy(),gt.push(un)})}Zi(O,a.fromStyles)}_buildAnimation(s,a,h,w,O,H){const Y=a.triggerName,pe=a.element,je=[],pt=new Set,gt=new Set,fn=a.timelines.map($t=>{const Yt=$t.element;pt.add(Yt);const _n=Yt[ci];if(_n&&_n.removedBeforeQueried)return new jt.ZN($t.duration,$t.delay);const In=Yt!==pe,Jn=function Ic(p){const s=[];return Tu(p,s),s}((h.get(Yt)||wc).map(ei=>ei.getRealPlayer())).filter(ei=>!!ei.element&&ei.element===Yt),Rr=O.get(Yt),vn=H.get(Yt),Nr=Wi(0,this._normalizer,0,$t.keyframes,Rr,vn),Ar=this._buildPlayer($t,Nr,Jn);if($t.subTimeline&&w&>.add(Yt),In){const ei=new Gl(s,Y,Yt);ei.setRealPlayer(Ar),je.push(ei)}return Ar});je.forEach($t=>{er(this.playersByQueriedElement,$t.element,[]).push($t),$t.onDone(()=>function Ac(p,s,a){let h=p.get(s);if(h){if(h.length){const w=h.indexOf(a);h.splice(w,1)}0==h.length&&p.delete(s)}return h}(this.playersByQueriedElement,$t.element,$t))}),pt.forEach($t=>Qi($t,hn));const un=Qr(fn);return un.onDestroy(()=>{pt.forEach($t=>wa($t,hn)),Gr(pe,a.toStyles)}),gt.forEach($t=>{er(w,$t,[]).push(un)}),un}_buildPlayer(s,a,h){return a.length>0?this.driver.animate(s.element,a,s.duration,s.delay,s.easing,h):new jt.ZN(s.duration,s.delay)}}class Gl{constructor(s,a,h){this.namespaceId=s,this.triggerName=a,this.element=h,this._player=new jt.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(s){this._containsRealPlayer||(this._player=s,this._queuedCallbacks.forEach((a,h)=>{a.forEach(w=>Ki(s,h,void 0,w))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(s.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(s){this.totalTime=s}syncPlayerEvents(s){const a=this._player;a.triggerCallback&&s.onStart(()=>a.triggerCallback("start")),s.onDone(()=>this.finish()),s.onDestroy(()=>this.destroy())}_queueEvent(s,a){er(this._queuedCallbacks,s,[]).push(a)}onDone(s){this.queued&&this._queueEvent("done",s),this._player.onDone(s)}onStart(s){this.queued&&this._queueEvent("start",s),this._player.onStart(s)}onDestroy(s){this.queued&&this._queueEvent("destroy",s),this._player.onDestroy(s)}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(s){this.queued||this._player.setPosition(s)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(s){const a=this._player;a.triggerCallback&&a.triggerCallback(s)}}function ml(p){return p&&1===p.nodeType}function Uo(p,s){const a=p.style.display;return p.style.display=s??"none",a}function aa(p,s,a,h,w){const O=[];a.forEach(pe=>O.push(Uo(pe)));const H=[];h.forEach((pe,je)=>{const pt=new Map;pe.forEach(gt=>{const fn=s.computeStyle(je,gt,w);pt.set(gt,fn),(!fn||0==fn.length)&&(je[ci]=Zf,H.push(je))}),p.set(je,pt)});let Y=0;return a.forEach(pe=>Uo(pe,O[Y++])),H}function Au(p,s){const a=new Map;if(p.forEach(Y=>a.set(Y,[])),0==s.length)return a;const w=new Set(s),O=new Map;function H(Y){if(!Y)return 1;let pe=O.get(Y);if(pe)return pe;const je=Y.parentNode;return pe=a.has(je)?je:w.has(je)?1:H(je),O.set(Y,pe),pe}return s.forEach(Y=>{const pe=H(Y);1!==pe&&a.get(pe).push(Y)}),a}function Qi(p,s){p.classList?.add(s)}function wa(p,s){p.classList?.remove(s)}function Sc(p,s,a){Qr(a).onDone(()=>p.processLeaveNode(s))}function Tu(p,s){for(let a=0;a<p.length;a++){const h=p[a];h instanceof jt.ZE?Tu(h.players,s):s.push(h)}}function Su(p,s,a){const h=a.get(p);if(!h)return!1;let w=s.get(p);return w?h.forEach(O=>w.add(O)):s.set(p,h),a.delete(p),!0}class yl{constructor(s,a,h){this.bodyNode=s,this._driver=a,this._normalizer=h,this._triggerCache={},this.onRemovalComplete=(w,O)=>{},this._transitionEngine=new sa(s,a,h),this._timelineEngine=new Kf(s,a,h),this._transitionEngine.onRemovalComplete=(w,O)=>this.onRemovalComplete(w,O)}registerTrigger(s,a,h,w,O){const H=s+"-"+w;let Y=this._triggerCache[H];if(!Y){const pe=[],pt=Ga(this._driver,O,pe,[]);if(pe.length)throw function ha(p,s){return new d.vHH(3404,!1)}();Y=function Du(p,s,a){return new Cc(p,s,a)}(w,pt,this._normalizer),this._triggerCache[H]=Y}this._transitionEngine.registerTrigger(a,w,Y)}register(s,a){this._transitionEngine.register(s,a)}destroy(s,a){this._transitionEngine.destroy(s,a)}onInsert(s,a,h,w){this._transitionEngine.insertNode(s,a,h,w)}onRemove(s,a,h,w){this._transitionEngine.removeNode(s,a,w||!1,h)}disableAnimations(s,a){this._transitionEngine.markElementAsDisabled(s,a)}process(s,a,h,w){if("@"==h.charAt(0)){const[O,H]=Js(h);this._timelineEngine.command(O,a,H,w)}else this._transitionEngine.trigger(s,a,h,w)}listen(s,a,h,w,O){if("@"==h.charAt(0)){const[H,Y]=Js(h);return this._timelineEngine.listen(H,a,Y,O)}return this._transitionEngine.listen(s,a,h,w,O)}flush(s=-1){this._transitionEngine.flush(s)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Pc=(()=>{class p{constructor(a,h,w){this._element=a,this._startStyles=h,this._endStyles=w,this._state=0;let O=p.initialStylesByElement.get(a);O||p.initialStylesByElement.set(a,O=new Map),this._initialStyles=O}start(){this._state<1&&(this._startStyles&&Gr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Gr(this._element,this._initialStyles),this._endStyles&&(Gr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(p.initialStylesByElement.delete(this._element),this._startStyles&&(Zi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zi(this._element,this._endStyles),this._endStyles=null),Gr(this._element,this._initialStyles),this._state=3)}}return p.initialStylesByElement=new WeakMap,p})();function Iu(p){let s=null;return p.forEach((a,h)=>{(function xc(p){return"display"===p||"position"===p})(h)&&(s=s||new Map,s.set(h,a))}),s}class Aa{constructor(s,a,h,w){this.element=s,this.keyframes=a,this.options=h,this._specialStyles=w,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=h.duration,this._delay=h.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const s=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,s,this.options),this._finalKeyframe=s.length?s[s.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(s){const a=[];return s.forEach(h=>{a.push(Object.fromEntries(h))}),a}_triggerWebAnimation(s,a,h){return s.animate(this._convertKeyframesToObject(a),h)}onStart(s){this._originalOnStartFns.push(s),this._onStartFns.push(s)}onDone(s){this._originalOnDoneFns.push(s),this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(s=>s()),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(s=>s()),this._onDestroyFns=[])}setPosition(s){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=s*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const s=new Map;this.hasStarted()&&this._finalKeyframe.forEach((h,w)=>{"offset"!==w&&s.set(w,this._finished?h:xe(this.element,w))}),this.currentSnapshot=s}triggerCallback(s){const a="start"===s?this._onStartFns:this._onDoneFns;a.forEach(h=>h()),a.length=0}}class Ou{validateStyleProperty(s){return!0}validateAnimatableStyleProperty(s){return!0}matchesElement(s,a){return!1}containsElement(s,a){return es(s,a)}getParentElement(s){return Fo(s)}query(s,a,h){return ea(s,a,h)}computeStyle(s,a,h){return window.getComputedStyle(s)[a]}animate(s,a,h,w,O,H=[]){const pe={duration:h,delay:w,fill:0==w?"both":"forwards"};O&&(pe.easing=O);const je=new Map,pt=H.filter(un=>un instanceof Aa);(function N(p,s){return 0===p||0===s})(h,w)&&pt.forEach(un=>{un.currentSnapshot.forEach(($t,Yt)=>je.set(Yt,$t))});let gt=function go(p){return p.length?p[0]instanceof Map?p:p.map(s=>ra(s)):[]}(a).map(un=>Lo(un));gt=function j(p,s,a){if(a.size&&s.length){let h=s[0],w=[];if(a.forEach((O,H)=>{h.has(H)||w.push(H),h.set(H,O)}),w.length)for(let O=1;O<s.length;O++){let H=s[O];w.forEach(Y=>H.set(Y,xe(p,Y)))}}return s}(s,gt,je);const fn=function Oc(p,s){let a=null,h=null;return Array.isArray(s)&&s.length?(a=Iu(s[0]),s.length>1&&(h=Iu(s[s.length-1]))):s instanceof Map&&(a=Iu(s)),a||h?new Pc(p,a,h):null}(s,gt);return new Aa(s,gt,pe,fn)}}let Ho=(()=>{class p extends jt._j{constructor(a,h){super(),this._nextAnimationId=0,this._renderer=a.createRenderer(h.body,{id:"0",encapsulation:d.ifc.None,styles:[],data:{animation:[]}})}build(a){const h=this._nextAnimationId.toString();this._nextAnimationId++;const w=Array.isArray(a)?(0,jt.vP)(a):a;return zl(this._renderer,null,h,"register",[w]),new Ka(h,this._renderer)}}return p.\u0275fac=function(a){return new(a||p)(d.LFG(d.FYo),d.LFG($e.K0))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac}),p})();class Ka extends jt.LC{constructor(s,a){super(),this._id=s,this._renderer=a}create(s,a){return new Pu(this._id,s,a||{},this._renderer)}}class Pu{constructor(s,a,h,w){this.id=s,this.element=a,this._renderer=w,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",h)}_listen(s,a){return this._renderer.listen(this.element,`@@${this.id}:${s}`,a)}_command(s,...a){return zl(this._renderer,this.element,this.id,s,a)}onDone(s){this._listen("done",s)}onStart(s){this._listen("start",s)}onDestroy(s){this._listen("destroy",s)}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(s){this._command("setPosition",s)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function zl(p,s,a,h,w){return p.setProperty(s,`@@${a}:${h}`,w)}const Rc="@.disabled";let Yf=(()=>{class p{constructor(a,h,w){this.delegate=a,this.engine=h,this._zone=w,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),h.onRemovalComplete=(O,H)=>{const Y=H?.parentNode(O);Y&&H.removeChild(Y,O)}}createRenderer(a,h){const O=this.delegate.createRenderer(a,h);if(!(a&&h&&h.data&&h.data.animation)){let pt=this._rendererCache.get(O);return pt||(pt=new Nc("",O,this.engine),this._rendererCache.set(O,pt)),pt}const H=h.id,Y=h.id+"-"+this._currentId;this._currentId++,this.engine.register(Y,a);const pe=pt=>{Array.isArray(pt)?pt.forEach(pe):this.engine.registerTrigger(H,Y,a,pt.name,pt)};return h.data.animation.forEach(pe),new Wl(this,Y,O,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(a,h,w){a>=0&&a<this._microtaskId?this._zone.run(()=>h(w)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(O=>{const[H,Y]=O;H(Y)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([h,w]))}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 p.\u0275fac=function(a){return new(a||p)(d.LFG(d.FYo),d.LFG(yl),d.LFG(d.R0b))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac}),p})();class Nc{constructor(s,a,h){this.namespaceId=s,this.delegate=a,this.engine=h,this.destroyNode=this.delegate.destroyNode?w=>a.destroyNode(w):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(s,a){return this.delegate.createElement(s,a)}createComment(s){return this.delegate.createComment(s)}createText(s){return this.delegate.createText(s)}appendChild(s,a){this.delegate.appendChild(s,a),this.engine.onInsert(this.namespaceId,a,s,!1)}insertBefore(s,a,h,w=!0){this.delegate.insertBefore(s,a,h),this.engine.onInsert(this.namespaceId,a,s,w)}removeChild(s,a,h){this.engine.onRemove(this.namespaceId,a,this.delegate,h)}selectRootElement(s,a){return this.delegate.selectRootElement(s,a)}parentNode(s){return this.delegate.parentNode(s)}nextSibling(s){return this.delegate.nextSibling(s)}setAttribute(s,a,h,w){this.delegate.setAttribute(s,a,h,w)}removeAttribute(s,a,h){this.delegate.removeAttribute(s,a,h)}addClass(s,a){this.delegate.addClass(s,a)}removeClass(s,a){this.delegate.removeClass(s,a)}setStyle(s,a,h,w){this.delegate.setStyle(s,a,h,w)}removeStyle(s,a,h){this.delegate.removeStyle(s,a,h)}setProperty(s,a,h){"@"==a.charAt(0)&&a==Rc?this.disableAnimations(s,!!h):this.delegate.setProperty(s,a,h)}setValue(s,a){this.delegate.setValue(s,a)}listen(s,a,h){return this.delegate.listen(s,a,h)}disableAnimations(s,a){this.engine.disableAnimations(s,a)}}class Wl extends Nc{constructor(s,a,h,w){super(a,h,w),this.factory=s,this.namespaceId=a}setProperty(s,a,h){"@"==a.charAt(0)?"."==a.charAt(1)&&a==Rc?this.disableAnimations(s,h=void 0===h||!!h):this.engine.process(this.namespaceId,s,a.slice(1),h):this.delegate.setProperty(s,a,h)}listen(s,a,h){if("@"==a.charAt(0)){const w=function Kl(p){switch(p){case"body":return document.body;case"document":return document;case"window":return window;default:return p}}(s);let O=a.slice(1),H="";return"@"!=O.charAt(0)&&([O,H]=function Zl(p){const s=p.indexOf(".");return[p.substring(0,s),p.slice(s+1)]}(O)),this.engine.listen(this.namespaceId,w,O,H,Y=>{this.factory.scheduleListenerCallback(Y._data||-1,h,Y)})}return this.delegate.listen(s,a,h)}}const Ru=[{provide:jt._j,useClass:Ho},{provide:qi,useFactory:function Qf(){return new is}},{provide:yl,useClass:(()=>{class p extends yl{constructor(a,h,w,O){super(a.body,h,w)}ngOnDestroy(){this.flush()}}return p.\u0275fac=function(a){return new(a||p)(d.LFG($e.K0),d.LFG(ui),d.LFG(qi),d.LFG(d.z2F))},p.\u0275prov=d.Yz7({token:p,factory:p.\u0275fac}),p})()},{provide:d.FYo,useFactory:function xu(p,s,a){return new Yf(p,s,a)},deps:[l.se,yl,d.R0b]}],Yl=[{provide:ui,useFactory:()=>new Ou},{provide:d.QbO,useValue:"BrowserAnimations"},...Ru],Nu=[{provide:ui,useClass:ta},{provide:d.QbO,useValue:"NoopAnimations"},...Ru];let Fc=(()=>{class p{static withConfig(a){return{ngModule:p,providers:a.disableAnimations?Nu:Yl}}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=d.oAB({type:p}),p.\u0275inj=d.cJS({providers:Yl,imports:[l.b2]}),p})(),Ql=(()=>{class p{constructor(){this.title="web-tools"}}return p.\u0275fac=function(a){return new(a||p)},p.\u0275cmp=d.Xpm({type:p,selectors:[["app-root"]],decls:2,vars:0,template:function(a,h){1&a&&d._UZ(0,"ng-http-loader")(1,"router-outlet")},dependencies:[$.lC,Oo]}),p})();const Vc={apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"};let hr=(()=>{class p{}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=d.oAB({type:p,bootstrap:[Ql]}),p.\u0275inj=d.cJS({providers:[Ye.O,gi.a],imports:[l.b2,Fc,Tn,E.u5,$.Bz,le.hO.initializeApp(Vc),cr,Gs.JF,dr.forRoot(),Me.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0,closeButton:!0,timeOut:5e3}),$.Bz]}),p})();(0,d.G48)(),l.q6().bootstrapModule(hr).catch(p=>console.error(p))},1135:(rt,ye,S)=>{S.d(ye,{X:()=>d});var l=S(7579);class d extends l.x{constructor(z){super(),this._value=z}get value(){return this.getValue()}_subscribe(z){const G=super._subscribe(z);return!G.closed&&z.next(this._value),G}getValue(){const{hasError:z,thrownError:G,_value:Q}=this;if(z)throw G;return this._throwIfClosed(),Q}next(z){super.next(this._value=z)}}},9751:(rt,ye,S)=>{S.d(ye,{y:()=>ie});var l=S(930),d=S(727),$=S(8822),z=S(9635),G=S(2416),Q=S(576),q=S(2806);let ie=(()=>{class ne{constructor(Ne){Ne&&(this._subscribe=Ne)}lift(Ne){const Se=new ne;return Se.source=this,Se.operator=Ne,Se}subscribe(Ne,Se,Ye){const Me=function L(ne){return ne&&ne instanceof l.Lv||function B(ne){return ne&&(0,Q.m)(ne.next)&&(0,Q.m)(ne.error)&&(0,Q.m)(ne.complete)}(ne)&&(0,d.Nn)(ne)}(Ne)?Ne:new l.Hp(Ne,Se,Ye);return(0,q.x)(()=>{const{operator:he,source:et}=this;Me.add(he?he.call(Me,et):et?this._subscribe(Me):this._trySubscribe(Me))}),Me}_trySubscribe(Ne){try{return this._subscribe(Ne)}catch(Se){Ne.error(Se)}}forEach(Ne,Se){return new(Se=fe(Se))((Ye,Me)=>{const he=new l.Hp({next:et=>{try{Ne(et)}catch(nt){Me(nt),he.unsubscribe()}},error:Me,complete:Ye});this.subscribe(he)})}_subscribe(Ne){var Se;return null===(Se=this.source)||void 0===Se?void 0:Se.subscribe(Ne)}[$.L](){return this}pipe(...Ne){return(0,z.U)(Ne)(this)}toPromise(Ne){return new(Ne=fe(Ne))((Se,Ye)=>{let Me;this.subscribe(he=>Me=he,he=>Ye(he),()=>Se(Me))})}}return ne.create=Ve=>new ne(Ve),ne})();function fe(ne){var Ve;return null!==(Ve=ne??G.v.Promise)&&void 0!==Ve?Ve:Promise}},4707:(rt,ye,S)=>{S.d(ye,{t:()=>$});var l=S(7579),d=S(6063);class $ extends l.x{constructor(G=1/0,Q=1/0,q=d.l){super(),this._bufferSize=G,this._windowTime=Q,this._timestampProvider=q,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Q===1/0,this._bufferSize=Math.max(1,G),this._windowTime=Math.max(1,Q)}next(G){const{isStopped:Q,_buffer:q,_infiniteTimeWindow:ie,_timestampProvider:fe,_windowTime:B}=this;Q||(q.push(G),!ie&&q.push(fe.now()+B)),this._trimBuffer(),super.next(G)}_subscribe(G){this._throwIfClosed(),this._trimBuffer();const Q=this._innerSubscribe(G),{_infiniteTimeWindow:q,_buffer:ie}=this,fe=ie.slice();for(let B=0;B<fe.length&&!G.closed;B+=q?1:2)G.next(fe[B]);return this._checkFinalizedStatuses(G),Q}_trimBuffer(){const{_bufferSize:G,_timestampProvider:Q,_buffer:q,_infiniteTimeWindow:ie}=this,fe=(ie?1:2)*G;if(G<1/0&&fe<q.length&&q.splice(0,q.length-fe),!ie){const B=Q.now();let L=0;for(let ne=1;ne<q.length&&q[ne]<=B;ne+=2)L=ne;L&&q.splice(0,L+1)}}}},7579:(rt,ye,S)=>{S.d(ye,{x:()=>q});var l=S(9751),d=S(727);const z=(0,S(3888).d)(fe=>function(){fe(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var G=S(8737),Q=S(2806);let q=(()=>{class fe extends l.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(L){const ne=new ie(this,this);return ne.operator=L,ne}_throwIfClosed(){if(this.closed)throw new z}next(L){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ne of this.currentObservers)ne.next(L)}})}error(L){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=L;const{observers:ne}=this;for(;ne.length;)ne.shift().error(L)}})}complete(){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:L}=this;for(;L.length;)L.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var L;return(null===(L=this.observers)||void 0===L?void 0:L.length)>0}_trySubscribe(L){return this._throwIfClosed(),super._trySubscribe(L)}_subscribe(L){return this._throwIfClosed(),this._checkFinalizedStatuses(L),this._innerSubscribe(L)}_innerSubscribe(L){const{hasError:ne,isStopped:Ve,observers:Ne}=this;return ne||Ve?d.Lc:(this.currentObservers=null,Ne.push(L),new d.w0(()=>{this.currentObservers=null,(0,G.P)(Ne,L)}))}_checkFinalizedStatuses(L){const{hasError:ne,thrownError:Ve,isStopped:Ne}=this;ne?L.error(Ve):Ne&&L.complete()}asObservable(){const L=new l.y;return L.source=this,L}}return fe.create=(B,L)=>new ie(B,L),fe})();class ie extends q{constructor(B,L){super(),this.destination=B,this.source=L}next(B){var L,ne;null===(ne=null===(L=this.destination)||void 0===L?void 0:L.next)||void 0===ne||ne.call(L,B)}error(B){var L,ne;null===(ne=null===(L=this.destination)||void 0===L?void 0:L.error)||void 0===ne||ne.call(L,B)}complete(){var B,L;null===(L=null===(B=this.destination)||void 0===B?void 0:B.complete)||void 0===L||L.call(B)}_subscribe(B){var L,ne;return null!==(ne=null===(L=this.source)||void 0===L?void 0:L.subscribe(B))&&void 0!==ne?ne:d.Lc}}},930:(rt,ye,S)=>{S.d(ye,{Hp:()=>Ye,Lv:()=>ne});var l=S(576),d=S(727),$=S(2416),z=S(7849),G=S(5032);const Q=fe("C",void 0,void 0);function fe(Oe,ae,Ce){return{kind:Oe,value:ae,error:Ce}}var B=S(3410),L=S(2806);class ne extends d.w0{constructor(ae){super(),this.isStopped=!1,ae?(this.destination=ae,(0,d.Nn)(ae)&&ae.add(this)):this.destination=nt}static create(ae,Ce,Ge){return new Ye(ae,Ce,Ge)}next(ae){this.isStopped?et(function ie(Oe){return fe("N",Oe,void 0)}(ae),this):this._next(ae)}error(ae){this.isStopped?et(function q(Oe){return fe("E",void 0,Oe)}(ae),this):(this.isStopped=!0,this._error(ae))}complete(){this.isStopped?et(Q,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ae){this.destination.next(ae)}_error(ae){try{this.destination.error(ae)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ve=Function.prototype.bind;function Ne(Oe,ae){return Ve.call(Oe,ae)}class Se{constructor(ae){this.partialObserver=ae}next(ae){const{partialObserver:Ce}=this;if(Ce.next)try{Ce.next(ae)}catch(Ge){Me(Ge)}}error(ae){const{partialObserver:Ce}=this;if(Ce.error)try{Ce.error(ae)}catch(Ge){Me(Ge)}else Me(ae)}complete(){const{partialObserver:ae}=this;if(ae.complete)try{ae.complete()}catch(Ce){Me(Ce)}}}class Ye extends ne{constructor(ae,Ce,Ge){let Be;if(super(),(0,l.m)(ae)||!ae)Be={next:ae??void 0,error:Ce??void 0,complete:Ge??void 0};else{let ve;this&&$.v.useDeprecatedNextContext?(ve=Object.create(ae),ve.unsubscribe=()=>this.unsubscribe(),Be={next:ae.next&&Ne(ae.next,ve),error:ae.error&&Ne(ae.error,ve),complete:ae.complete&&Ne(ae.complete,ve)}):Be=ae}this.destination=new Se(Be)}}function Me(Oe){$.v.useDeprecatedSynchronousErrorHandling?(0,L.O)(Oe):(0,z.h)(Oe)}function et(Oe,ae){const{onStoppedNotification:Ce}=$.v;Ce&&B.z.setTimeout(()=>Ce(Oe,ae))}const nt={closed:!0,next:G.Z,error:function he(Oe){throw Oe},complete:G.Z}},727:(rt,ye,S)=>{S.d(ye,{Lc:()=>Q,w0:()=>G,Nn:()=>q});var l=S(576);const $=(0,S(3888).d)(fe=>function(L){fe(this),this.message=L?`${L.length} errors occurred during unsubscription:\n${L.map((ne,Ve)=>`${Ve+1}) ${ne.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=L});var z=S(8737);class G{constructor(B){this.initialTeardown=B,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let B;if(!this.closed){this.closed=!0;const{_parentage:L}=this;if(L)if(this._parentage=null,Array.isArray(L))for(const Ne of L)Ne.remove(this);else L.remove(this);const{initialTeardown:ne}=this;if((0,l.m)(ne))try{ne()}catch(Ne){B=Ne instanceof $?Ne.errors:[Ne]}const{_finalizers:Ve}=this;if(Ve){this._finalizers=null;for(const Ne of Ve)try{ie(Ne)}catch(Se){B=B??[],Se instanceof $?B=[...B,...Se.errors]:B.push(Se)}}if(B)throw new $(B)}}add(B){var L;if(B&&B!==this)if(this.closed)ie(B);else{if(B instanceof G){if(B.closed||B._hasParent(this))return;B._addParent(this)}(this._finalizers=null!==(L=this._finalizers)&&void 0!==L?L:[]).push(B)}}_hasParent(B){const{_parentage:L}=this;return L===B||Array.isArray(L)&&L.includes(B)}_addParent(B){const{_parentage:L}=this;this._parentage=Array.isArray(L)?(L.push(B),L):L?[L,B]:B}_removeParent(B){const{_parentage:L}=this;L===B?this._parentage=null:Array.isArray(L)&&(0,z.P)(L,B)}remove(B){const{_finalizers:L}=this;L&&(0,z.P)(L,B),B instanceof G&&B._removeParent(this)}}G.EMPTY=(()=>{const fe=new G;return fe.closed=!0,fe})();const Q=G.EMPTY;function q(fe){return fe instanceof G||fe&&"closed"in fe&&(0,l.m)(fe.remove)&&(0,l.m)(fe.add)&&(0,l.m)(fe.unsubscribe)}function ie(fe){(0,l.m)(fe)?fe():fe.unsubscribe()}},2416:(rt,ye,S)=>{S.d(ye,{v:()=>l});const l={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(rt,ye,S)=>{S.d(ye,{a:()=>B});var l=S(9751),d=S(4742),$=S(8996),z=S(4671),G=S(3268),Q=S(3269),q=S(1810),ie=S(5403),fe=S(9672);function B(...Ve){const Ne=(0,Q.yG)(Ve),Se=(0,Q.jO)(Ve),{args:Ye,keys:Me}=(0,d.D)(Ve);if(0===Ye.length)return(0,$.D)([],Ne);const he=new l.y(function L(Ve,Ne,Se=z.y){return Ye=>{ne(Ne,()=>{const{length:Me}=Ve,he=new Array(Me);let et=Me,nt=Me;for(let Oe=0;Oe<Me;Oe++)ne(Ne,()=>{const ae=(0,$.D)(Ve[Oe],Ne);let Ce=!1;ae.subscribe((0,ie.x)(Ye,Ge=>{he[Oe]=Ge,Ce||(Ce=!0,nt--),nt||Ye.next(Se(he.slice()))},()=>{--et||Ye.complete()}))},Ye)},Ye)}}(Ye,Ne,Me?et=>(0,q.n)(Me,et):z.y));return Se?he.pipe((0,G.Z)(Se)):he}function ne(Ve,Ne,Se){Ve?(0,fe.f)(Se,Ve,Ne):Ne()}},7272:(rt,ye,S)=>{S.d(ye,{z:()=>G});var l=S(8189),$=S(3269),z=S(8996);function G(...Q){return function d(){return(0,l.J)(1)}()((0,z.D)(Q,(0,$.yG)(Q)))}},9770:(rt,ye,S)=>{S.d(ye,{P:()=>$});var l=S(9751),d=S(8421);function $(z){return new l.y(G=>{(0,d.Xf)(z()).subscribe(G)})}},515:(rt,ye,S)=>{S.d(ye,{E:()=>d});const d=new(S(9751).y)(G=>G.complete())},8996:(rt,ye,S)=>{S.d(ye,{D:()=>ae});var l=S(8421),d=S(5363),$=S(9468),Q=S(9751),ie=S(2202),fe=S(576),B=S(9672);function ne(Ce,Ge){if(!Ce)throw new Error("Iterable cannot be null");return new Q.y(Be=>{(0,B.f)(Be,Ge,()=>{const ve=Ce[Symbol.asyncIterator]();(0,B.f)(Be,Ge,()=>{ve.next().then(Ee=>{Ee.done?Be.complete():Be.next(Ee.value)})},0,!0)})})}var Ve=S(3670),Ne=S(8239),Se=S(1144),Ye=S(6495),Me=S(2206),he=S(4532),et=S(3260);function ae(Ce,Ge){return Ge?function Oe(Ce,Ge){if(null!=Ce){if((0,Ve.c)(Ce))return function z(Ce,Ge){return(0,l.Xf)(Ce).pipe((0,$.R)(Ge),(0,d.Q)(Ge))}(Ce,Ge);if((0,Se.z)(Ce))return function q(Ce,Ge){return new Q.y(Be=>{let ve=0;return Ge.schedule(function(){ve===Ce.length?Be.complete():(Be.next(Ce[ve++]),Be.closed||this.schedule())})})}(Ce,Ge);if((0,Ne.t)(Ce))return function G(Ce,Ge){return(0,l.Xf)(Ce).pipe((0,$.R)(Ge),(0,d.Q)(Ge))}(Ce,Ge);if((0,Me.D)(Ce))return ne(Ce,Ge);if((0,Ye.T)(Ce))return function L(Ce,Ge){return new Q.y(Be=>{let ve;return(0,B.f)(Be,Ge,()=>{ve=Ce[ie.h](),(0,B.f)(Be,Ge,()=>{let Ee,se;try{({value:Ee,done:se}=ve.next())}catch(ge){return void Be.error(ge)}se?Be.complete():Be.next(Ee)},0,!0)}),()=>(0,fe.m)(ve?.return)&&ve.return()})}(Ce,Ge);if((0,et.L)(Ce))return function nt(Ce,Ge){return ne((0,et.Q)(Ce),Ge)}(Ce,Ge)}throw(0,he.z)(Ce)}(Ce,Ge):(0,l.Xf)(Ce)}},8421:(rt,ye,S)=>{S.d(ye,{Xf:()=>Ve});var l=S(655),d=S(1144),$=S(8239),z=S(9751),G=S(3670),Q=S(2206),q=S(4532),ie=S(6495),fe=S(3260),B=S(576),L=S(7849),ne=S(8822);function Ve(Oe){if(Oe instanceof z.y)return Oe;if(null!=Oe){if((0,G.c)(Oe))return function Ne(Oe){return new z.y(ae=>{const Ce=Oe[ne.L]();if((0,B.m)(Ce.subscribe))return Ce.subscribe(ae);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Oe);if((0,d.z)(Oe))return function Se(Oe){return new z.y(ae=>{for(let Ce=0;Ce<Oe.length&&!ae.closed;Ce++)ae.next(Oe[Ce]);ae.complete()})}(Oe);if((0,$.t)(Oe))return function Ye(Oe){return new z.y(ae=>{Oe.then(Ce=>{ae.closed||(ae.next(Ce),ae.complete())},Ce=>ae.error(Ce)).then(null,L.h)})}(Oe);if((0,Q.D)(Oe))return he(Oe);if((0,ie.T)(Oe))return function Me(Oe){return new z.y(ae=>{for(const Ce of Oe)if(ae.next(Ce),ae.closed)return;ae.complete()})}(Oe);if((0,fe.L)(Oe))return function et(Oe){return he((0,fe.Q)(Oe))}(Oe)}throw(0,q.z)(Oe)}function he(Oe){return new z.y(ae=>{(function nt(Oe,ae){var Ce,Ge,Be,ve;return(0,l.mG)(this,void 0,void 0,function*(){try{for(Ce=(0,l.KL)(Oe);!(Ge=yield Ce.next()).done;)if(ae.next(Ge.value),ae.closed)return}catch(Ee){Be={error:Ee}}finally{try{Ge&&!Ge.done&&(ve=Ce.return)&&(yield ve.call(Ce))}finally{if(Be)throw Be.error}}ae.complete()})})(Oe,ae).catch(Ce=>ae.error(Ce))})}},6451:(rt,ye,S)=>{S.d(ye,{T:()=>Q});var l=S(8189),d=S(8421),$=S(515),z=S(3269),G=S(8996);function Q(...q){const ie=(0,z.yG)(q),fe=(0,z._6)(q,1/0),B=q;return B.length?1===B.length?(0,d.Xf)(B[0]):(0,l.J)(fe)((0,G.D)(B,ie)):$.E}},9646:(rt,ye,S)=>{S.d(ye,{of:()=>$});var l=S(3269),d=S(8996);function $(...z){const G=(0,l.yG)(z);return(0,d.D)(z,G)}},2805:(rt,ye,S)=>{S.d(ye,{H:()=>G});var l=S(9751),d=S(4986),$=S(3532),z=S(1165);function G(Q=0,q,ie=d.P){let fe=-1;return null!=q&&((0,$.K)(q)?ie=q:fe=q),new l.y(B=>{let L=(0,z.q)(Q)?+Q-ie.now():Q;L<0&&(L=0);let ne=0;return ie.schedule(function(){B.closed||(B.next(ne++),0<=fe?this.schedule(void 0,fe):B.complete())},L)})}},5403:(rt,ye,S)=>{S.d(ye,{x:()=>d});var l=S(930);function d(z,G,Q,q,ie){return new $(z,G,Q,q,ie)}class $ extends l.Lv{constructor(G,Q,q,ie,fe,B){super(G),this.onFinalize=fe,this.shouldUnsubscribe=B,this._next=Q?function(L){try{Q(L)}catch(ne){G.error(ne)}}:super._next,this._error=ie?function(L){try{ie(L)}catch(ne){G.error(ne)}finally{this.unsubscribe()}}:super._error,this._complete=q?function(){try{q()}catch(L){G.error(L)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var G;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Q}=this;super.unsubscribe(),!Q&&(null===(G=this.onFinalize)||void 0===G||G.call(this))}}}},4351:(rt,ye,S)=>{S.d(ye,{b:()=>$});var l=S(5577),d=S(576);function $(z,G){return(0,d.m)(G)?(0,l.z)(z,G,1):(0,l.z)(z,1)}},6590:(rt,ye,S)=>{S.d(ye,{d:()=>$});var l=S(4482),d=S(5403);function $(z){return(0,l.e)((G,Q)=>{let q=!1;G.subscribe((0,d.x)(Q,ie=>{q=!0,Q.next(ie)},()=>{q||Q.next(z),Q.complete()}))})}},1884:(rt,ye,S)=>{S.d(ye,{x:()=>z});var l=S(4671),d=S(4482),$=S(5403);function z(Q,q=l.y){return Q=Q??G,(0,d.e)((ie,fe)=>{let B,L=!0;ie.subscribe((0,$.x)(fe,ne=>{const Ve=q(ne);(L||!Q(B,Ve))&&(L=!1,B=Ve,fe.next(ne))}))})}function G(Q,q){return Q===q}},9300:(rt,ye,S)=>{S.d(ye,{h:()=>$});var l=S(4482),d=S(5403);function $(z,G){return(0,l.e)((Q,q)=>{let ie=0;Q.subscribe((0,d.x)(q,fe=>z.call(G,fe,ie++)&&q.next(fe)))})}},8746:(rt,ye,S)=>{S.d(ye,{x:()=>d});var l=S(4482);function d($){return(0,l.e)((z,G)=>{try{z.subscribe(G)}finally{G.add($)}})}},590:(rt,ye,S)=>{S.d(ye,{P:()=>q});var l=S(6805),d=S(9300),$=S(5698),z=S(6590),G=S(8068),Q=S(4671);function q(ie,fe){const B=arguments.length>=2;return L=>L.pipe(ie?(0,d.h)((ne,Ve)=>ie(ne,Ve,L)):Q.y,(0,$.q)(1),B?(0,z.d)(fe):(0,G.T)(()=>new l.K))}},4004:(rt,ye,S)=>{S.d(ye,{U:()=>$});var l=S(4482),d=S(5403);function $(z,G){return(0,l.e)((Q,q)=>{let ie=0;Q.subscribe((0,d.x)(q,fe=>{q.next(z.call(G,fe,ie++))}))})}},9718:(rt,ye,S)=>{S.d(ye,{h:()=>d});var l=S(4004);function d($){return(0,l.U)(()=>$)}},8189:(rt,ye,S)=>{S.d(ye,{J:()=>$});var l=S(5577),d=S(4671);function $(z=1/0){return(0,l.z)(d.y,z)}},5577:(rt,ye,S)=>{S.d(ye,{z:()=>ie});var l=S(4004),d=S(8421),$=S(4482),z=S(9672),G=S(5403),q=S(576);function ie(fe,B,L=1/0){return(0,q.m)(B)?ie((ne,Ve)=>(0,l.U)((Ne,Se)=>B(ne,Ne,Ve,Se))((0,d.Xf)(fe(ne,Ve))),L):("number"==typeof B&&(L=B),(0,$.e)((ne,Ve)=>function Q(fe,B,L,ne,Ve,Ne,Se,Ye){const Me=[];let he=0,et=0,nt=!1;const Oe=()=>{nt&&!Me.length&&!he&&B.complete()},ae=Ge=>he<ne?Ce(Ge):Me.push(Ge),Ce=Ge=>{Ne&&B.next(Ge),he++;let Be=!1;(0,d.Xf)(L(Ge,et++)).subscribe((0,G.x)(B,ve=>{Ve?.(ve),Ne?ae(ve):B.next(ve)},()=>{Be=!0},void 0,()=>{if(Be)try{for(he--;Me.length&&he<ne;){const ve=Me.shift();Se?(0,z.f)(B,Se,()=>Ce(ve)):Ce(ve)}Oe()}catch(ve){B.error(ve)}}))};return fe.subscribe((0,G.x)(B,ae,()=>{nt=!0,Oe()})),()=>{Ye?.()}}(ne,Ve,fe,L)))}},5363:(rt,ye,S)=>{S.d(ye,{Q:()=>z});var l=S(9672),d=S(4482),$=S(5403);function z(G,Q=0){return(0,d.e)((q,ie)=>{q.subscribe((0,$.x)(ie,fe=>(0,l.f)(ie,G,()=>ie.next(fe),Q),()=>(0,l.f)(ie,G,()=>ie.complete(),Q),fe=>(0,l.f)(ie,G,()=>ie.error(fe),Q)))})}},3099:(rt,ye,S)=>{S.d(ye,{B:()=>G});var l=S(8421),d=S(7579),$=S(930),z=S(4482);function G(q={}){const{connector:ie=(()=>new d.x),resetOnError:fe=!0,resetOnComplete:B=!0,resetOnRefCountZero:L=!0}=q;return ne=>{let Ve,Ne,Se,Ye=0,Me=!1,he=!1;const et=()=>{Ne?.unsubscribe(),Ne=void 0},nt=()=>{et(),Ve=Se=void 0,Me=he=!1},Oe=()=>{const ae=Ve;nt(),ae?.unsubscribe()};return(0,z.e)((ae,Ce)=>{Ye++,!he&&!Me&&et();const Ge=Se=Se??ie();Ce.add(()=>{Ye--,0===Ye&&!he&&!Me&&(Ne=Q(Oe,L))}),Ge.subscribe(Ce),!Ve&&Ye>0&&(Ve=new $.Hp({next:Be=>Ge.next(Be),error:Be=>{he=!0,et(),Ne=Q(nt,fe,Be),Ge.error(Be)},complete:()=>{Me=!0,et(),Ne=Q(nt,B),Ge.complete()}}),(0,l.Xf)(ae).subscribe(Ve))})(ne)}}function Q(q,ie,...fe){if(!0===ie)return void q();if(!1===ie)return;const B=new $.Hp({next:()=>{B.unsubscribe(),q()}});return ie(...fe).subscribe(B)}},4782:(rt,ye,S)=>{S.d(ye,{d:()=>$});var l=S(4707),d=S(3099);function $(z,G,Q){let q,ie=!1;return z&&"object"==typeof z?({bufferSize:q=1/0,windowTime:G=1/0,refCount:ie=!1,scheduler:Q}=z):q=z??1/0,(0,d.B)({connector:()=>new l.t(q,G,Q),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ie})}},8675:(rt,ye,S)=>{S.d(ye,{O:()=>z});var l=S(7272),d=S(3269),$=S(4482);function z(...G){const Q=(0,d.yG)(G);return(0,$.e)((q,ie)=>{(Q?(0,l.z)(G,q,Q):(0,l.z)(G,q)).subscribe(ie)})}},9468:(rt,ye,S)=>{S.d(ye,{R:()=>d});var l=S(4482);function d($,z=0){return(0,l.e)((G,Q)=>{Q.add($.schedule(()=>G.subscribe(Q),z))})}},3900:(rt,ye,S)=>{S.d(ye,{w:()=>z});var l=S(8421),d=S(4482),$=S(5403);function z(G,Q){return(0,d.e)((q,ie)=>{let fe=null,B=0,L=!1;const ne=()=>L&&!fe&&ie.complete();q.subscribe((0,$.x)(ie,Ve=>{fe?.unsubscribe();let Ne=0;const Se=B++;(0,l.Xf)(G(Ve,Se)).subscribe(fe=(0,$.x)(ie,Ye=>ie.next(Q?Q(Ve,Ye,Se,Ne++):Ye),()=>{fe=null,ne()}))},()=>{L=!0,ne()}))})}},5698:(rt,ye,S)=>{S.d(ye,{q:()=>z});var l=S(515),d=S(4482),$=S(5403);function z(G){return G<=0?()=>l.E:(0,d.e)((Q,q)=>{let ie=0;Q.subscribe((0,$.x)(q,fe=>{++ie<=G&&(q.next(fe),G<=ie&&q.complete())}))})}},2529:(rt,ye,S)=>{S.d(ye,{o:()=>$});var l=S(4482),d=S(5403);function $(z,G=!1){return(0,l.e)((Q,q)=>{let ie=0;Q.subscribe((0,d.x)(q,fe=>{const B=z(fe,ie++);(B||G)&&q.next(fe),!B&&q.complete()}))})}},8505:(rt,ye,S)=>{S.d(ye,{b:()=>G});var l=S(576),d=S(4482),$=S(5403),z=S(4671);function G(Q,q,ie){const fe=(0,l.m)(Q)||q||ie?{next:Q,error:q,complete:ie}:Q;return fe?(0,d.e)((B,L)=>{var ne;null===(ne=fe.subscribe)||void 0===ne||ne.call(fe);let Ve=!0;B.subscribe((0,$.x)(L,Ne=>{var Se;null===(Se=fe.next)||void 0===Se||Se.call(fe,Ne),L.next(Ne)},()=>{var Ne;Ve=!1,null===(Ne=fe.complete)||void 0===Ne||Ne.call(fe),L.complete()},Ne=>{var Se;Ve=!1,null===(Se=fe.error)||void 0===Se||Se.call(fe,Ne),L.error(Ne)},()=>{var Ne,Se;Ve&&(null===(Ne=fe.unsubscribe)||void 0===Ne||Ne.call(fe)),null===(Se=fe.finalize)||void 0===Se||Se.call(fe)}))}):z.y}},8068:(rt,ye,S)=>{S.d(ye,{T:()=>z});var l=S(6805),d=S(4482),$=S(5403);function z(Q=G){return(0,d.e)((q,ie)=>{let fe=!1;q.subscribe((0,$.x)(ie,B=>{fe=!0,ie.next(B)},()=>fe?ie.complete():ie.error(Q())))})}function G(){return new l.K}},4408:(rt,ye,S)=>{S.d(ye,{o:()=>G});var l=S(727);class d extends l.w0{constructor(q,ie){super()}schedule(q,ie=0){return this}}const $={setInterval(Q,q,...ie){const{delegate:fe}=$;return fe?.setInterval?fe.setInterval(Q,q,...ie):setInterval(Q,q,...ie)},clearInterval(Q){const{delegate:q}=$;return(q?.clearInterval||clearInterval)(Q)},delegate:void 0};var z=S(8737);class G extends d{constructor(q,ie){super(q,ie),this.scheduler=q,this.work=ie,this.pending=!1}schedule(q,ie=0){var fe;if(this.closed)return this;this.state=q;const B=this.id,L=this.scheduler;return null!=B&&(this.id=this.recycleAsyncId(L,B,ie)),this.pending=!0,this.delay=ie,this.id=null!==(fe=this.id)&&void 0!==fe?fe:this.requestAsyncId(L,this.id,ie),this}requestAsyncId(q,ie,fe=0){return $.setInterval(q.flush.bind(q,this),fe)}recycleAsyncId(q,ie,fe=0){if(null!=fe&&this.delay===fe&&!1===this.pending)return ie;null!=ie&&$.clearInterval(ie)}execute(q,ie){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const fe=this._execute(q,ie);if(fe)return fe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(q,ie){let B,fe=!1;try{this.work(q)}catch(L){fe=!0,B=L||new Error("Scheduled action threw falsy error")}if(fe)return this.unsubscribe(),B}unsubscribe(){if(!this.closed){const{id:q,scheduler:ie}=this,{actions:fe}=ie;this.work=this.state=this.scheduler=null,this.pending=!1,(0,z.P)(fe,this),null!=q&&(this.id=this.recycleAsyncId(ie,q,null)),this.delay=null,super.unsubscribe()}}}},7565:(rt,ye,S)=>{S.d(ye,{v:()=>$});var l=S(6063);class d{constructor(G,Q=d.now){this.schedulerActionCtor=G,this.now=Q}schedule(G,Q=0,q){return new this.schedulerActionCtor(this,G).schedule(q,Q)}}d.now=l.l.now;class $ extends d{constructor(G,Q=d.now){super(G,Q),this.actions=[],this._active=!1}flush(G){const{actions:Q}=this;if(this._active)return void Q.push(G);let q;this._active=!0;do{if(q=G.execute(G.state,G.delay))break}while(G=Q.shift());if(this._active=!1,q){for(;G=Q.shift();)G.unsubscribe();throw q}}}},4986:(rt,ye,S)=>{S.d(ye,{P:()=>z,z:()=>$});var l=S(4408);const $=new(S(7565).v)(l.o),z=$},6063:(rt,ye,S)=>{S.d(ye,{l:()=>l});const l={now:()=>(l.delegate||Date).now(),delegate:void 0}},3410:(rt,ye,S)=>{S.d(ye,{z:()=>l});const l={setTimeout(d,$,...z){const{delegate:G}=l;return G?.setTimeout?G.setTimeout(d,$,...z):setTimeout(d,$,...z)},clearTimeout(d){const{delegate:$}=l;return($?.clearTimeout||clearTimeout)(d)},delegate:void 0}},2202:(rt,ye,S)=>{S.d(ye,{h:()=>d});const d=function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(rt,ye,S)=>{S.d(ye,{L:()=>l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(rt,ye,S)=>{S.d(ye,{K:()=>d});const d=(0,S(3888).d)($=>function(){$(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(rt,ye,S)=>{S.d(ye,{_6:()=>Q,jO:()=>z,yG:()=>G});var l=S(576),d=S(3532);function $(q){return q[q.length-1]}function z(q){return(0,l.m)($(q))?q.pop():void 0}function G(q){return(0,d.K)($(q))?q.pop():void 0}function Q(q,ie){return"number"==typeof $(q)?q.pop():ie}},4742:(rt,ye,S)=>{S.d(ye,{D:()=>G});const{isArray:l}=Array,{getPrototypeOf:d,prototype:$,keys:z}=Object;function G(q){if(1===q.length){const ie=q[0];if(l(ie))return{args:ie,keys:null};if(function Q(q){return q&&"object"==typeof q&&d(q)===$}(ie)){const fe=z(ie);return{args:fe.map(B=>ie[B]),keys:fe}}}return{args:q,keys:null}}},8737:(rt,ye,S)=>{function l(d,$){if(d){const z=d.indexOf($);0<=z&&d.splice(z,1)}}S.d(ye,{P:()=>l})},3888:(rt,ye,S)=>{function l(d){const z=d(G=>{Error.call(G),G.stack=(new Error).stack});return z.prototype=Object.create(Error.prototype),z.prototype.constructor=z,z}S.d(ye,{d:()=>l})},1810:(rt,ye,S)=>{function l(d,$){return d.reduce((z,G,Q)=>(z[G]=$[Q],z),{})}S.d(ye,{n:()=>l})},2806:(rt,ye,S)=>{S.d(ye,{O:()=>z,x:()=>$});var l=S(2416);let d=null;function $(G){if(l.v.useDeprecatedSynchronousErrorHandling){const Q=!d;if(Q&&(d={errorThrown:!1,error:null}),G(),Q){const{errorThrown:q,error:ie}=d;if(d=null,q)throw ie}}else G()}function z(G){l.v.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=G)}},9672:(rt,ye,S)=>{function l(d,$,z,G=0,Q=!1){const q=$.schedule(function(){z(),Q?d.add(this.schedule(null,G)):this.unsubscribe()},G);if(d.add(q),!Q)return q}S.d(ye,{f:()=>l})},4671:(rt,ye,S)=>{function l(d){return d}S.d(ye,{y:()=>l})},1144:(rt,ye,S)=>{S.d(ye,{z:()=>l});const l=d=>d&&"number"==typeof d.length&&"function"!=typeof d},2206:(rt,ye,S)=>{S.d(ye,{D:()=>d});var l=S(576);function d($){return Symbol.asyncIterator&&(0,l.m)($?.[Symbol.asyncIterator])}},1165:(rt,ye,S)=>{function l(d){return d instanceof Date&&!isNaN(d)}S.d(ye,{q:()=>l})},576:(rt,ye,S)=>{function l(d){return"function"==typeof d}S.d(ye,{m:()=>l})},3670:(rt,ye,S)=>{S.d(ye,{c:()=>$});var l=S(8822),d=S(576);function $(z){return(0,d.m)(z[l.L])}},6495:(rt,ye,S)=>{S.d(ye,{T:()=>$});var l=S(2202),d=S(576);function $(z){return(0,d.m)(z?.[l.h])}},8239:(rt,ye,S)=>{S.d(ye,{t:()=>d});var l=S(576);function d($){return(0,l.m)($?.then)}},3260:(rt,ye,S)=>{S.d(ye,{L:()=>z,Q:()=>$});var l=S(655),d=S(576);function $(G){return(0,l.FC)(this,arguments,function*(){const q=G.getReader();try{for(;;){const{value:ie,done:fe}=yield(0,l.qq)(q.read());if(fe)return yield(0,l.qq)(void 0);yield yield(0,l.qq)(ie)}}finally{q.releaseLock()}})}function z(G){return(0,d.m)(G?.getReader)}},3532:(rt,ye,S)=>{S.d(ye,{K:()=>d});var l=S(576);function d($){return $&&(0,l.m)($.schedule)}},4482:(rt,ye,S)=>{S.d(ye,{A:()=>d,e:()=>$});var l=S(576);function d(z){return(0,l.m)(z?.lift)}function $(z){return G=>{if(d(G))return G.lift(function(Q){try{return z(Q,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(rt,ye,S)=>{S.d(ye,{Z:()=>z});var l=S(4004);const{isArray:d}=Array;function z(G){return(0,l.U)(Q=>function $(G,Q){return d(Q)?G(...Q):G(Q)}(G,Q))}},5032:(rt,ye,S)=>{function l(){}S.d(ye,{Z:()=>l})},9635:(rt,ye,S)=>{S.d(ye,{U:()=>$,z:()=>d});var l=S(4671);function d(...z){return $(z)}function $(z){return 0===z.length?l.y:1===z.length?z[0]:function(Q){return z.reduce((q,ie)=>ie(q),Q)}}},7849:(rt,ye,S)=>{S.d(ye,{h:()=>$});var l=S(2416),d=S(3410);function $(z){d.z.setTimeout(()=>{const{onUnhandledError:G}=l.v;if(!G)throw z;G(z)})}},4532:(rt,ye,S)=>{function l(d){return new TypeError(`You provided ${null!==d&&"object"==typeof d?"an invalid object":`'${d}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}S.d(ye,{z:()=>l})},655:(rt,ye,S)=>{function z(se,ge){var Te={};for(var le in se)Object.prototype.hasOwnProperty.call(se,le)&&ge.indexOf(le)<0&&(Te[le]=se[le]);if(null!=se&&"function"==typeof Object.getOwnPropertySymbols){var $e=0;for(le=Object.getOwnPropertySymbols(se);$e<le.length;$e++)ge.indexOf(le[$e])<0&&Object.prototype.propertyIsEnumerable.call(se,le[$e])&&(Te[le[$e]]=se[le[$e]])}return Te}function ie(se,ge,Te,le){return new(Te||(Te=Promise))(function(Je,yt){function Nt(Ht){try{lt(le.next(Ht))}catch(We){yt(We)}}function kt(Ht){try{lt(le.throw(Ht))}catch(We){yt(We)}}function lt(Ht){Ht.done?Je(Ht.value):function $e(Je){return Je instanceof Te?Je:new Te(function(yt){yt(Je)})}(Ht.value).then(Nt,kt)}lt((le=le.apply(se,ge||[])).next())})}function Me(se){return this instanceof Me?(this.v=se,this):new Me(se)}function he(se,ge,Te){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var $e,le=Te.apply(se,ge||[]),Je=[];return $e={},yt("next"),yt("throw"),yt("return"),$e[Symbol.asyncIterator]=function(){return this},$e;function yt(qe){le[qe]&&($e[qe]=function(de){return new Promise(function(Re,st){Je.push([qe,de,Re,st])>1||Nt(qe,de)})})}function Nt(qe,de){try{!function kt(qe){qe.value instanceof Me?Promise.resolve(qe.value.v).then(lt,Ht):We(Je[0][2],qe)}(le[qe](de))}catch(Re){We(Je[0][3],Re)}}function lt(qe){Nt("next",qe)}function Ht(qe){Nt("throw",qe)}function We(qe,de){qe(de),Je.shift(),Je.length&&Nt(Je[0][0],Je[0][1])}}function nt(se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Te,ge=se[Symbol.asyncIterator];return ge?ge.call(se):(se=function ne(se){var ge="function"==typeof Symbol&&Symbol.iterator,Te=ge&&se[ge],le=0;if(Te)return Te.call(se);if(se&&"number"==typeof se.length)return{next:function(){return se&&le>=se.length&&(se=void 0),{value:se&&se[le++],done:!se}}};throw new TypeError(ge?"Object is not iterable.":"Symbol.iterator is not defined.")}(se),Te={},le("next"),le("throw"),le("return"),Te[Symbol.asyncIterator]=function(){return this},Te);function le(Je){Te[Je]=se[Je]&&function(yt){return new Promise(function(Nt,kt){!function $e(Je,yt,Nt,kt){Promise.resolve(kt).then(function(lt){Je({value:lt,done:Nt})},yt)}(Nt,kt,(yt=se[Je](yt)).done,yt.value)})}}}S.d(ye,{FC:()=>he,KL:()=>nt,_T:()=>z,mG:()=>ie,qq:()=>Me})},7340:(rt,ye,S)=>{S.d(ye,{F4:()=>B,IO:()=>Se,LC:()=>d,SB:()=>fe,X$:()=>z,ZE:()=>et,ZN:()=>he,_j:()=>l,eR:()=>L,jt:()=>G,k1:()=>nt,l3:()=>$,oB:()=>ie,pV:()=>Ve,ru:()=>Q,vP:()=>q});class l{}class d{}const $="*";function z(Oe,ae){return{type:7,name:Oe,definitions:ae,options:{}}}function G(Oe,ae=null){return{type:4,styles:ae,timings:Oe}}function Q(Oe,ae=null){return{type:3,steps:Oe,options:ae}}function q(Oe,ae=null){return{type:2,steps:Oe,options:ae}}function ie(Oe){return{type:6,styles:Oe,offset:null}}function fe(Oe,ae,Ce){return{type:0,name:Oe,styles:ae,options:Ce}}function B(Oe){return{type:5,steps:Oe}}function L(Oe,ae,Ce=null){return{type:1,expr:Oe,animation:ae,options:Ce}}function Ve(Oe=null){return{type:9,options:Oe}}function Se(Oe,ae,Ce=null){return{type:11,selector:Oe,animation:ae,options:Ce}}function Me(Oe){Promise.resolve(null).then(Oe)}class he{constructor(ae=0,Ce=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=ae+Ce}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ae=>ae()),this._onDoneFns=[])}onStart(ae){this._originalOnStartFns.push(ae),this._onStartFns.push(ae)}onDone(ae){this._originalOnDoneFns.push(ae),this._onDoneFns.push(ae)}onDestroy(ae){this._onDestroyFns.push(ae)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Me(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ae=>ae()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ae=>ae()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ae){this._position=this.totalTime?ae*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ae){const Ce="start"==ae?this._onStartFns:this._onDoneFns;Ce.forEach(Ge=>Ge()),Ce.length=0}}class et{constructor(ae){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ae;let Ce=0,Ge=0,Be=0;const ve=this.players.length;0==ve?Me(()=>this._onFinish()):this.players.forEach(Ee=>{Ee.onDone(()=>{++Ce==ve&&this._onFinish()}),Ee.onDestroy(()=>{++Ge==ve&&this._onDestroy()}),Ee.onStart(()=>{++Be==ve&&this._onStart()})}),this.totalTime=this.players.reduce((Ee,se)=>Math.max(Ee,se.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ae=>ae()),this._onDoneFns=[])}init(){this.players.forEach(ae=>ae.init())}onStart(ae){this._onStartFns.push(ae)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ae=>ae()),this._onStartFns=[])}onDone(ae){this._onDoneFns.push(ae)}onDestroy(ae){this._onDestroyFns.push(ae)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ae=>ae.play())}pause(){this.players.forEach(ae=>ae.pause())}restart(){this.players.forEach(ae=>ae.restart())}finish(){this._onFinish(),this.players.forEach(ae=>ae.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ae=>ae.destroy()),this._onDestroyFns.forEach(ae=>ae()),this._onDestroyFns=[])}reset(){this.players.forEach(ae=>ae.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ae){const Ce=ae*this.totalTime;this.players.forEach(Ge=>{const Be=Ge.totalTime?Math.min(1,Ce/Ge.totalTime):1;Ge.setPosition(Be)})}getPosition(){const ae=this.players.reduce((Ce,Ge)=>null===Ce||Ge.totalTime>Ce.totalTime?Ge:Ce,null);return null!=ae?ae.getPosition():0}beforeDestroy(){this.players.forEach(ae=>{ae.beforeDestroy&&ae.beforeDestroy()})}triggerCallback(ae){const Ce="start"==ae?this._onStartFns:this._onDoneFns;Ce.forEach(Ge=>Ge()),Ce.length=0}}const nt="!"},6895:(rt,ye,S)=>{S.d(ye,{$G:()=>ni,Do:()=>nt,ED:()=>Do,EM:()=>hi,HT:()=>G,JF:()=>cr,JJ:()=>oi,K0:()=>q,Mx:()=>Xi,NF:()=>To,O5:()=>Pn,OU:()=>bo,Ov:()=>io,PC:()=>hs,PM:()=>Ii,RF:()=>Kr,S$:()=>Me,V_:()=>B,Ye:()=>Oe,b0:()=>et,bD:()=>zn,ez:()=>Ao,mk:()=>eo,n9:()=>Qn,q:()=>$,sg:()=>kr,tP:()=>ps,uU:()=>wi,w_:()=>Q});var l=S(4650);let d=null;function $(){return d}function G(E){d||(d=E)}class Q{}const q=new l.OlP("DocumentToken");let ie=(()=>{class E{historyGo(A){throw new Error("Not implemented")}}return E.\u0275fac=function(A){return new(A||E)},E.\u0275prov=l.Yz7({token:E,factory:function(){return function fe(){return(0,l.LFG)(L)}()},providedIn:"platform"}),E})();const B=new l.OlP("Location Initialized");let L=(()=>{class E extends ie{constructor(A){super(),this._doc=A,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $().getBaseHref(this._doc)}onPopState(A){const k=$().getGlobalEventTarget(this._doc,"window");return k.addEventListener("popstate",A,!1),()=>k.removeEventListener("popstate",A)}onHashChange(A){const k=$().getGlobalEventTarget(this._doc,"window");return k.addEventListener("hashchange",A,!1),()=>k.removeEventListener("hashchange",A)}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(A){this.location.pathname=A}pushState(A,k,oe){ne()?this._history.pushState(A,k,oe):this.location.hash=oe}replaceState(A,k,oe){ne()?this._history.replaceState(A,k,oe):this.location.hash=oe}forward(){this._history.forward()}back(){this._history.back()}historyGo(A=0){this._history.go(A)}getState(){return this._history.state}}return E.\u0275fac=function(A){return new(A||E)(l.LFG(q))},E.\u0275prov=l.Yz7({token:E,factory:function(){return function Ve(){return new L((0,l.LFG)(q))}()},providedIn:"platform"}),E})();function ne(){return!!window.history.pushState}function Ne(E,x){if(0==E.length)return x;if(0==x.length)return E;let A=0;return E.endsWith("/")&&A++,x.startsWith("/")&&A++,2==A?E+x.substring(1):1==A?E+x:E+"/"+x}function Se(E){const x=E.match(/#|\?|$/),A=x&&x.index||E.length;return E.slice(0,A-("/"===E[A-1]?1:0))+E.slice(A)}function Ye(E){return E&&"?"!==E[0]?"?"+E:E}let Me=(()=>{class E{historyGo(A){throw new Error("Not implemented")}}return E.\u0275fac=function(A){return new(A||E)},E.\u0275prov=l.Yz7({token:E,factory:function(){return(0,l.f3M)(et)},providedIn:"root"}),E})();const he=new l.OlP("appBaseHref");let et=(()=>{class E extends Me{constructor(A,k){super(),this._platformLocation=A,this._removeListenerFns=[],this._baseHref=k??this._platformLocation.getBaseHrefFromDOM()??(0,l.f3M)(q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(A){this._removeListenerFns.push(this._platformLocation.onPopState(A),this._platformLocation.onHashChange(A))}getBaseHref(){return this._baseHref}prepareExternalUrl(A){return Ne(this._baseHref,A)}path(A=!1){const k=this._platformLocation.pathname+Ye(this._platformLocation.search),oe=this._platformLocation.hash;return oe&&A?`${k}${oe}`:k}pushState(A,k,oe,ke){const we=this.prepareExternalUrl(oe+Ye(ke));this._platformLocation.pushState(A,k,we)}replaceState(A,k,oe,ke){const we=this.prepareExternalUrl(oe+Ye(ke));this._platformLocation.replaceState(A,k,we)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(A=0){this._platformLocation.historyGo?.(A)}}return E.\u0275fac=function(A){return new(A||E)(l.LFG(ie),l.LFG(he,8))},E.\u0275prov=l.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),nt=(()=>{class E extends Me{constructor(A,k){super(),this._platformLocation=A,this._baseHref="",this._removeListenerFns=[],null!=k&&(this._baseHref=k)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(A){this._removeListenerFns.push(this._platformLocation.onPopState(A),this._platformLocation.onHashChange(A))}getBaseHref(){return this._baseHref}path(A=!1){let k=this._platformLocation.hash;return null==k&&(k="#"),k.length>0?k.substring(1):k}prepareExternalUrl(A){const k=Ne(this._baseHref,A);return k.length>0?"#"+k:k}pushState(A,k,oe,ke){let we=this.prepareExternalUrl(oe+Ye(ke));0==we.length&&(we=this._platformLocation.pathname),this._platformLocation.pushState(A,k,we)}replaceState(A,k,oe,ke){let we=this.prepareExternalUrl(oe+Ye(ke));0==we.length&&(we=this._platformLocation.pathname),this._platformLocation.replaceState(A,k,we)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(A=0){this._platformLocation.historyGo?.(A)}}return E.\u0275fac=function(A){return new(A||E)(l.LFG(ie),l.LFG(he,8))},E.\u0275prov=l.Yz7({token:E,factory:E.\u0275fac}),E})(),Oe=(()=>{class E{constructor(A){this._subject=new l.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=A;const k=this._locationStrategy.getBaseHref();this._baseHref=Se(Ge(k)),this._locationStrategy.onPopState(oe=>{this._subject.emit({url:this.path(!0),pop:!0,state:oe.state,type:oe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(A=!1){return this.normalize(this._locationStrategy.path(A))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(A,k=""){return this.path()==this.normalize(A+Ye(k))}normalize(A){return E.stripTrailingSlash(function Ce(E,x){return E&&x.startsWith(E)?x.substring(E.length):x}(this._baseHref,Ge(A)))}prepareExternalUrl(A){return A&&"/"!==A[0]&&(A="/"+A),this._locationStrategy.prepareExternalUrl(A)}go(A,k="",oe=null){this._locationStrategy.pushState(oe,"",A,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(A+Ye(k)),oe)}replaceState(A,k="",oe=null){this._locationStrategy.replaceState(oe,"",A,k),this._notifyUrlChangeListeners(this.prepareExternalUrl(A+Ye(k)),oe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(A=0){this._locationStrategy.historyGo?.(A)}onUrlChange(A){return this._urlChangeListeners.push(A),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(k=>{this._notifyUrlChangeListeners(k.url,k.state)})),()=>{const k=this._urlChangeListeners.indexOf(A);this._urlChangeListeners.splice(k,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(A="",k){this._urlChangeListeners.forEach(oe=>oe(A,k))}subscribe(A,k,oe){return this._subject.subscribe({next:A,error:k,complete:oe})}}return E.normalizeQueryParams=Ye,E.joinWithSlash=Ne,E.stripTrailingSlash=Se,E.\u0275fac=function(A){return new(A||E)(l.LFG(Me))},E.\u0275prov=l.Yz7({token:E,factory:function(){return function ae(){return new Oe((0,l.LFG)(Me))}()},providedIn:"root"}),E})();function Ge(E){return E.replace(/\/index.html$/,"")}var ve=(()=>((ve=ve||{})[ve.Decimal=0]="Decimal",ve[ve.Percent=1]="Percent",ve[ve.Currency=2]="Currency",ve[ve.Scientific=3]="Scientific",ve))(),se=(()=>((se=se||{})[se.Format=0]="Format",se[se.Standalone=1]="Standalone",se))(),ge=(()=>((ge=ge||{})[ge.Narrow=0]="Narrow",ge[ge.Abbreviated=1]="Abbreviated",ge[ge.Wide=2]="Wide",ge[ge.Short=3]="Short",ge))(),Te=(()=>((Te=Te||{})[Te.Short=0]="Short",Te[Te.Medium=1]="Medium",Te[Te.Long=2]="Long",Te[Te.Full=3]="Full",Te))(),le=(()=>((le=le||{})[le.Decimal=0]="Decimal",le[le.Group=1]="Group",le[le.List=2]="List",le[le.PercentSign=3]="PercentSign",le[le.PlusSign=4]="PlusSign",le[le.MinusSign=5]="MinusSign",le[le.Exponential=6]="Exponential",le[le.SuperscriptingExponent=7]="SuperscriptingExponent",le[le.PerMille=8]="PerMille",le[le.Infinity=9]="Infinity",le[le.NaN=10]="NaN",le[le.TimeSeparator=11]="TimeSeparator",le[le.CurrencyDecimal=12]="CurrencyDecimal",le[le.CurrencyGroup=13]="CurrencyGroup",le))();function qe(E,x){return xt((0,l.cg1)(E)[l.wAp.DateFormat],x)}function de(E,x){return xt((0,l.cg1)(E)[l.wAp.TimeFormat],x)}function Re(E,x){return xt((0,l.cg1)(E)[l.wAp.DateTimeFormat],x)}function st(E,x){const A=(0,l.cg1)(E),k=A[l.wAp.NumberSymbols][x];if(typeof k>"u"){if(x===le.CurrencyDecimal)return A[l.wAp.NumberSymbols][le.Decimal];if(x===le.CurrencyGroup)return A[l.wAp.NumberSymbols][le.Group]}return k}function Un(E){if(!E[l.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${E[l.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function xt(E,x){for(let A=x;A>-1;A--)if(typeof E[A]<"u")return E[A];throw new Error("Locale data API: locale data undefined")}function pn(E){const[x,A]=E.split(":");return{hours:+x,minutes:+A}}const dn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Cn={},Ue=/((?:[^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 ee=(()=>((ee=ee||{})[ee.Short=0]="Short",ee[ee.ShortGMT=1]="ShortGMT",ee[ee.Long=2]="Long",ee[ee.Extended=3]="Extended",ee))(),W=(()=>((W=W||{})[W.FullYear=0]="FullYear",W[W.Month=1]="Month",W[W.Date=2]="Date",W[W.Hours=3]="Hours",W[W.Minutes=4]="Minutes",W[W.Seconds=5]="Seconds",W[W.FractionalSeconds=6]="FractionalSeconds",W[W.Day=7]="Day",W))(),be=(()=>((be=be||{})[be.DayPeriods=0]="DayPeriods",be[be.Days=1]="Days",be[be.Months=2]="Months",be[be.Eras=3]="Eras",be))();function Ze(E,x,A,k){let oe=function ft(E){if(Kt(E))return E;if("number"==typeof E&&!isNaN(E))return new Date(E);if("string"==typeof E){if(E=E.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(E)){const[oe,ke=1,we=1]=E.split("-").map(ht=>+ht);return Et(oe,ke-1,we)}const A=parseFloat(E);if(!isNaN(E-A))return new Date(A);let k;if(k=E.match(dn))return function Tt(E){const x=new Date(0);let A=0,k=0;const oe=E[8]?x.setUTCFullYear:x.setFullYear,ke=E[8]?x.setUTCHours:x.setHours;E[9]&&(A=Number(E[9]+E[10]),k=Number(E[9]+E[11])),oe.call(x,Number(E[1]),Number(E[2])-1,Number(E[3]));const we=Number(E[4]||0)-A,ht=Number(E[5]||0)-k,wn=Number(E[6]||0),En=Math.floor(1e3*parseFloat("0."+(E[7]||0)));return ke.call(x,we,ht,wn,En),x}(k)}const x=new Date(E);if(!Kt(x))throw new Error(`Unable to convert "${E}" into a date`);return x}(E);x=wt(A,x)||x;let ht,we=[];for(;x;){if(ht=Ue.exec(x),!ht){we.push(x);break}{we=we.concat(ht.slice(1));const An=we.pop();if(!An)break;x=An}}let wn=oe.getTimezoneOffset();k&&(wn=ce(k,wn),oe=function De(E,x,A){const k=A?-1:1,oe=E.getTimezoneOffset();return function Pe(E,x){return(E=new Date(E.getTime())).setMinutes(E.getMinutes()+x),E}(E,k*(ce(x,oe)-oe))}(oe,k,!0));let En="";return we.forEach(An=>{const ln=function K(E){if(X[E])return X[E];let x;switch(E){case"G":case"GG":case"GGG":x=Ft(be.Eras,ge.Abbreviated);break;case"GGGG":x=Ft(be.Eras,ge.Wide);break;case"GGGGG":x=Ft(be.Eras,ge.Narrow);break;case"y":x=Ot(W.FullYear,1,0,!1,!0);break;case"yy":x=Ot(W.FullYear,2,0,!0,!0);break;case"yyy":x=Ot(W.FullYear,3,0,!1,!0);break;case"yyyy":x=Ot(W.FullYear,4,0,!1,!0);break;case"Y":x=Jt(1);break;case"YY":x=Jt(2,!0);break;case"YYY":x=Jt(3);break;case"YYYY":x=Jt(4);break;case"M":case"L":x=Ot(W.Month,1,1);break;case"MM":case"LL":x=Ot(W.Month,2,1);break;case"MMM":x=Ft(be.Months,ge.Abbreviated);break;case"MMMM":x=Ft(be.Months,ge.Wide);break;case"MMMMM":x=Ft(be.Months,ge.Narrow);break;case"LLL":x=Ft(be.Months,ge.Abbreviated,se.Standalone);break;case"LLLL":x=Ft(be.Months,ge.Wide,se.Standalone);break;case"LLLLL":x=Ft(be.Months,ge.Narrow,se.Standalone);break;case"w":x=Wt(1);break;case"ww":x=Wt(2);break;case"W":x=Wt(1,!0);break;case"d":x=Ot(W.Date,1);break;case"dd":x=Ot(W.Date,2);break;case"c":case"cc":x=Ot(W.Day,1);break;case"ccc":x=Ft(be.Days,ge.Abbreviated,se.Standalone);break;case"cccc":x=Ft(be.Days,ge.Wide,se.Standalone);break;case"ccccc":x=Ft(be.Days,ge.Narrow,se.Standalone);break;case"cccccc":x=Ft(be.Days,ge.Short,se.Standalone);break;case"E":case"EE":case"EEE":x=Ft(be.Days,ge.Abbreviated);break;case"EEEE":x=Ft(be.Days,ge.Wide);break;case"EEEEE":x=Ft(be.Days,ge.Narrow);break;case"EEEEEE":x=Ft(be.Days,ge.Short);break;case"a":case"aa":case"aaa":x=Ft(be.DayPeriods,ge.Abbreviated);break;case"aaaa":x=Ft(be.DayPeriods,ge.Wide);break;case"aaaaa":x=Ft(be.DayPeriods,ge.Narrow);break;case"b":case"bb":case"bbb":x=Ft(be.DayPeriods,ge.Abbreviated,se.Standalone,!0);break;case"bbbb":x=Ft(be.DayPeriods,ge.Wide,se.Standalone,!0);break;case"bbbbb":x=Ft(be.DayPeriods,ge.Narrow,se.Standalone,!0);break;case"B":case"BB":case"BBB":x=Ft(be.DayPeriods,ge.Abbreviated,se.Format,!0);break;case"BBBB":x=Ft(be.DayPeriods,ge.Wide,se.Format,!0);break;case"BBBBB":x=Ft(be.DayPeriods,ge.Narrow,se.Format,!0);break;case"h":x=Ot(W.Hours,1,-12);break;case"hh":x=Ot(W.Hours,2,-12);break;case"H":x=Ot(W.Hours,1);break;case"HH":x=Ot(W.Hours,2);break;case"m":x=Ot(W.Minutes,1);break;case"mm":x=Ot(W.Minutes,2);break;case"s":x=Ot(W.Seconds,1);break;case"ss":x=Ot(W.Seconds,2);break;case"S":x=Ot(W.FractionalSeconds,1);break;case"SS":x=Ot(W.FractionalSeconds,2);break;case"SSS":x=Ot(W.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":x=an(ee.Short);break;case"ZZZZZ":x=an(ee.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":x=an(ee.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":x=an(ee.Long);break;default:return null}return X[E]=x,x}(An);En+=ln?ln(oe,A,wn):"''"===An?"'":An.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),En}function Et(E,x,A){const k=new Date(0);return k.setFullYear(E,x,A),k.setHours(0,0,0),k}function wt(E,x){const A=function Je(E){return(0,l.cg1)(E)[l.wAp.LocaleId]}(E);if(Cn[A]=Cn[A]||{},Cn[A][x])return Cn[A][x];let k="";switch(x){case"shortDate":k=qe(E,Te.Short);break;case"mediumDate":k=qe(E,Te.Medium);break;case"longDate":k=qe(E,Te.Long);break;case"fullDate":k=qe(E,Te.Full);break;case"shortTime":k=de(E,Te.Short);break;case"mediumTime":k=de(E,Te.Medium);break;case"longTime":k=de(E,Te.Long);break;case"fullTime":k=de(E,Te.Full);break;case"short":const oe=wt(E,"shortTime"),ke=wt(E,"shortDate");k=Qe(Re(E,Te.Short),[oe,ke]);break;case"medium":const we=wt(E,"mediumTime"),ht=wt(E,"mediumDate");k=Qe(Re(E,Te.Medium),[we,ht]);break;case"long":const wn=wt(E,"longTime"),En=wt(E,"longDate");k=Qe(Re(E,Te.Long),[wn,En]);break;case"full":const An=wt(E,"fullTime"),ln=wt(E,"fullDate");k=Qe(Re(E,Te.Full),[An,ln])}return k&&(Cn[A][x]=k),k}function Qe(E,x){return x&&(E=E.replace(/\{([^}]+)}/g,function(A,k){return null!=x&&k in x?x[k]:A})),E}function At(E,x,A="-",k,oe){let ke="";(E<0||oe&&E<=0)&&(oe?E=1-E:(E=-E,ke=A));let we=String(E);for(;we.length<x;)we="0"+we;return k&&(we=we.slice(we.length-x)),ke+we}function Ot(E,x,A=0,k=!1,oe=!1){return function(ke,we){let ht=function jn(E,x){switch(E){case W.FullYear:return x.getFullYear();case W.Month:return x.getMonth();case W.Date:return x.getDate();case W.Hours:return x.getHours();case W.Minutes:return x.getMinutes();case W.Seconds:return x.getSeconds();case W.FractionalSeconds:return x.getMilliseconds();case W.Day:return x.getDay();default:throw new Error(`Unknown DateType value "${E}".`)}}(E,ke);if((A>0||ht>-A)&&(ht+=A),E===W.Hours)0===ht&&-12===A&&(ht=12);else if(E===W.FractionalSeconds)return function On(E,x){return At(E,3).substring(0,x)}(ht,x);const wn=st(we,le.MinusSign);return At(ht,x,wn,k,oe)}}function Ft(E,x,A=se.Format,k=!1){return function(oe,ke){return function rn(E,x,A,k,oe,ke){switch(A){case be.Months:return function kt(E,x,A){const k=(0,l.cg1)(E),ke=xt([k[l.wAp.MonthsFormat],k[l.wAp.MonthsStandalone]],x);return xt(ke,A)}(x,oe,k)[E.getMonth()];case be.Days:return function Nt(E,x,A){const k=(0,l.cg1)(E),ke=xt([k[l.wAp.DaysFormat],k[l.wAp.DaysStandalone]],x);return xt(ke,A)}(x,oe,k)[E.getDay()];case be.DayPeriods:const we=E.getHours(),ht=E.getMinutes();if(ke){const En=function Dn(E){const x=(0,l.cg1)(E);return Un(x),(x[l.wAp.ExtraData][2]||[]).map(k=>"string"==typeof k?pn(k):[pn(k[0]),pn(k[1])])}(x),An=function Hn(E,x,A){const k=(0,l.cg1)(E);Un(k);const ke=xt([k[l.wAp.ExtraData][0],k[l.wAp.ExtraData][1]],x)||[];return xt(ke,A)||[]}(x,oe,k),ln=En.findIndex(Rn=>{if(Array.isArray(Rn)){const[Tn,$n]=Rn,ze=we>=Tn.hours&&ht>=Tn.minutes,Bt=we<$n.hours||we===$n.hours&&ht<$n.minutes;if(Tn.hours<$n.hours){if(ze&&Bt)return!0}else if(ze||Bt)return!0}else if(Rn.hours===we&&Rn.minutes===ht)return!0;return!1});if(-1!==ln)return An[ln]}return function yt(E,x,A){const k=(0,l.cg1)(E),ke=xt([k[l.wAp.DayPeriodsFormat],k[l.wAp.DayPeriodsStandalone]],x);return xt(ke,A)}(x,oe,k)[we<12?0:1];case be.Eras:return function lt(E,x){return xt((0,l.cg1)(E)[l.wAp.Eras],x)}(x,k)[E.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${A}`)}}(oe,ke,E,x,A,k)}}function an(E){return function(x,A,k){const oe=-1*k,ke=st(A,le.MinusSign),we=oe>0?Math.floor(oe/60):Math.ceil(oe/60);switch(E){case ee.Short:return(oe>=0?"+":"")+At(we,2,ke)+At(Math.abs(oe%60),2,ke);case ee.ShortGMT:return"GMT"+(oe>=0?"+":"")+At(we,1,ke);case ee.Long:return"GMT"+(oe>=0?"+":"")+At(we,2,ke)+":"+At(Math.abs(oe%60),2,ke);case ee.Extended:return 0===k?"Z":(oe>=0?"+":"")+At(we,2,ke)+":"+At(Math.abs(oe%60),2,ke);default:throw new Error(`Unknown zone width "${E}"`)}}}function Lt(E){return Et(E.getFullYear(),E.getMonth(),E.getDate()+(4-E.getDay()))}function Wt(E,x=!1){return function(A,k){let oe;if(x){const ke=new Date(A.getFullYear(),A.getMonth(),1).getDay()-1,we=A.getDate();oe=1+Math.floor((we+ke)/7)}else{const ke=Lt(A),we=function ct(E){const x=Et(E,0,1).getDay();return Et(E,0,1+(x<=4?4:11)-x)}(ke.getFullYear()),ht=ke.getTime()-we.getTime();oe=1+Math.round(ht/6048e5)}return At(oe,E,st(k,le.MinusSign))}}function Jt(E,x=!1){return function(A,k){return At(Lt(A).getFullYear(),E,st(k,le.MinusSign),x)}}const X={};function ce(E,x){E=E.replace(/:/g,"");const A=Date.parse("Jan 01, 1970 00:00:00 "+E)/6e4;return isNaN(A)?x:A}function Kt(E){return E instanceof Date&&!isNaN(E.valueOf())}const it=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Cr(E){const x=parseInt(E);if(isNaN(x))throw new Error("Invalid integer literal when parsing "+E);return x}function Xi(E,x){x=encodeURIComponent(x);for(const A of E.split(";")){const k=A.indexOf("="),[oe,ke]=-1==k?[A,""]:[A.slice(0,k),A.slice(k+1)];if(oe.trim()===x)return decodeURIComponent(ke)}return null}let eo=(()=>{class E{constructor(A,k,oe,ke){this._iterableDiffers=A,this._keyValueDiffers=k,this._ngEl=oe,this._renderer=ke,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(A){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof A?A.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(A){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof A?A.split(/\s+/):A,this._rawClass&&((0,l.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const A=this._iterableDiffer.diff(this._rawClass);A&&this._applyIterableChanges(A)}else if(this._keyValueDiffer){const A=this._keyValueDiffer.diff(this._rawClass);A&&this._applyKeyValueChanges(A)}}_applyKeyValueChanges(A){A.forEachAddedItem(k=>this._toggleClass(k.key,k.currentValue)),A.forEachChangedItem(k=>this._toggleClass(k.key,k.currentValue)),A.forEachRemovedItem(k=>{k.previousValue&&this._toggleClass(k.key,!1)})}_applyIterableChanges(A){A.forEachAddedItem(k=>{if("string"!=typeof k.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,l.AaK)(k.item)}`);this._toggleClass(k.item,!0)}),A.forEachRemovedItem(k=>this._toggleClass(k.item,!1))}_applyClasses(A){A&&(Array.isArray(A)||A instanceof Set?A.forEach(k=>this._toggleClass(k,!0)):Object.keys(A).forEach(k=>this._toggleClass(k,!!A[k])))}_removeClasses(A){A&&(Array.isArray(A)||A instanceof Set?A.forEach(k=>this._toggleClass(k,!1)):Object.keys(A).forEach(k=>this._toggleClass(k,!1)))}_toggleClass(A,k){(A=A.trim())&&A.split(/\s+/g).forEach(oe=>{k?this._renderer.addClass(this._ngEl.nativeElement,oe):this._renderer.removeClass(this._ngEl.nativeElement,oe)})}}return E.\u0275fac=function(A){return new(A||E)(l.Y36(l.ZZ4),l.Y36(l.aQg),l.Y36(l.SBq),l.Y36(l.Qsj))},E.\u0275dir=l.lG2({type:E,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),E})(),ni=(()=>{class E{constructor(A){this._viewContainerRef=A,this.ngComponentOutlet=null}ngOnChanges(A){const{_viewContainerRef:k,ngComponentOutletNgModule:oe,ngComponentOutletNgModuleFactory:ke}=this;if(k.clear(),this._componentRef=void 0,this.ngComponentOutlet){const we=this.ngComponentOutletInjector||k.parentInjector;(A.ngComponentOutletNgModule||A.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=oe?(0,l.Lck)(oe,qn(we)):ke?ke.create(qn(we)):void 0),this._componentRef=k.createComponent(this.ngComponentOutlet,{index:k.length,injector:we,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return E.\u0275fac=function(A){return new(A||E)(l.Y36(l.s_b))},E.\u0275dir=l.lG2({type:E,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[l.TTD]}),E})();function qn(E){return E.get(l.h0i).injector}class Fr{constructor(x,A,k,oe){this.$implicit=x,this.ngForOf=A,this.index=k,this.count=oe}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 kr=(()=>{class E{constructor(A,k,oe){this._viewContainer=A,this._template=k,this._differs=oe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(A){this._ngForOf=A,this._ngForOfDirty=!0}set ngForTrackBy(A){this._trackByFn=A}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(A){A&&(this._template=A)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const A=this._ngForOf;!this._differ&&A&&(this._differ=this._differs.find(A).create(this.ngForTrackBy))}if(this._differ){const A=this._differ.diff(this._ngForOf);A&&this._applyChanges(A)}}_applyChanges(A){const k=this._viewContainer;A.forEachOperation((oe,ke,we)=>{if(null==oe.previousIndex)k.createEmbeddedView(this._template,new Fr(oe.item,this._ngForOf,-1,-1),null===we?void 0:we);else if(null==we)k.remove(null===ke?void 0:ke);else if(null!==ke){const ht=k.get(ke);k.move(ht,we),Gn(ht,oe)}});for(let oe=0,ke=k.length;oe<ke;oe++){const ht=k.get(oe).context;ht.index=oe,ht.count=ke,ht.ngForOf=this._ngForOf}A.forEachIdentityChange(oe=>{Gn(k.get(oe.currentIndex),oe)})}static ngTemplateContextGuard(A,k){return!0}}return E.\u0275fac=function(A){return new(A||E)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(l.ZZ4))},E.\u0275dir=l.lG2({type:E,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),E})();function Gn(E,x){E.context.$implicit=x.item}let Pn=(()=>{class E{constructor(A,k){this._viewContainer=A,this._context=new Kn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=k}set ngIf(A){this._context.$implicit=this._context.ngIf=A,this._updateView()}set ngIfThen(A){Xn("ngIfThen",A),this._thenTemplateRef=A,this._thenViewRef=null,this._updateView()}set ngIfElse(A){Xn("ngIfElse",A),this._elseTemplateRef=A,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(A,k){return!0}}return E.\u0275fac=function(A){return new(A||E)(l.Y36(l.s_b),l.Y36(l.Rgc))},E.\u0275dir=l.lG2({type:E,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),E})();class Kn{constructor(){this.$implicit=null,this.ngIf=null}}function Xn(E,x){if(x&&!x.createEmbeddedView)throw new Error(`${E} must be a TemplateRef, but received '${(0,l.AaK)(x)}'.`)}class Lr{constructor(x,A){this._viewContainerRef=x,this._templateRef=A,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(x){x&&!this._created?this.create():!x&&this._created&&this.destroy()}}let Kr=(()=>{class E{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(A){this._ngSwitch=A,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(A){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(A)}_matchCase(A){const k=A==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||k,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),k}_updateDefaultCases(A){if(this._defaultViews&&A!==this._defaultUsed){this._defaultUsed=A;for(let k=0;k<this._defaultViews.length;k++)this._defaultViews[k].enforceState(A)}}}return E.\u0275fac=function(A){return new(A||E)},E.\u0275dir=l.lG2({type:E,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),E})(),Qn=(()=>{class E{constructor(A,k,oe){this.ngSwitch=oe,oe._addCase(),this._view=new Lr(A,k)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return E.\u0275fac=function(A){return new(A||E)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(Kr,9))},E.\u0275dir=l.lG2({type:E,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),E})(),Do=(()=>{class E{constructor(A,k,oe){oe._addDefault(new Lr(A,k))}}return E.\u0275fac=function(A){return new(A||E)(l.Y36(l.s_b),l.Y36(l.Rgc),l.Y36(Kr,9))},E.\u0275dir=l.lG2({type:E,selectors:[["","ngSwitchDefault",""]],standalone:!0}),E})(),hs=(()=>{class E{constructor(A,k,oe){this._ngEl=A,this._differs=k,this._renderer=oe,this._ngStyle=null,this._differ=null}set ngStyle(A){this._ngStyle=A,!this._differ&&A&&(this._differ=this._differs.find(A).create())}ngDoCheck(){if(this._differ){const A=this._differ.diff(this._ngStyle);A&&this._applyChanges(A)}}_setStyle(A,k){const[oe,ke]=A.split("."),we=-1===oe.indexOf("-")?void 0:l.JOm.DashCase;null!=k?this._renderer.setStyle(this._ngEl.nativeElement,oe,ke?`${k}${ke}`:k,we):this._renderer.removeStyle(this._ngEl.nativeElement,oe,we)}_applyChanges(A){A.forEachRemovedItem(k=>this._setStyle(k.key,null)),A.forEachAddedItem(k=>this._setStyle(k.key,k.currentValue)),A.forEachChangedItem(k=>this._setStyle(k.key,k.currentValue))}}return E.\u0275fac=function(A){return new(A||E)(l.Y36(l.SBq),l.Y36(l.aQg),l.Y36(l.Qsj))},E.\u0275dir=l.lG2({type:E,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),E})(),ps=(()=>{class E{constructor(A){this._viewContainerRef=A,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(A){if(A.ngTemplateOutlet||A.ngTemplateOutletInjector){const k=this._viewContainerRef;if(this._viewRef&&k.remove(k.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:oe,ngTemplateOutletContext:ke,ngTemplateOutletInjector:we}=this;this._viewRef=k.createEmbeddedView(oe,ke,we?{injector:we}:void 0)}else this._viewRef=null}else this._viewRef&&A.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return E.\u0275fac=function(A){return new(A||E)(l.Y36(l.s_b))},E.\u0275dir=l.lG2({type:E,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[l.TTD]}),E})();function Er(E,x){return new l.vHH(2100,!1)}class Co{createSubscription(x,A){return x.subscribe({next:A,error:k=>{throw k}})}dispose(x){x.unsubscribe()}}class $o{createSubscription(x,A){return x.then(A,k=>{throw k})}dispose(x){}}const ro=new $o,Go=new Co;let io=(()=>{class E{constructor(A){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=A}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(A){return this._obj?A!==this._obj?(this._dispose(),this.transform(A)):this._latestValue:(A&&this._subscribe(A),this._latestValue)}_subscribe(A){this._obj=A,this._strategy=this._selectStrategy(A),this._subscription=this._strategy.createSubscription(A,k=>this._updateLatestValue(A,k))}_selectStrategy(A){if((0,l.QGY)(A))return ro;if((0,l.F4k)(A))return Go;throw Er()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(A,k){A===this._obj&&(this._latestValue=k,this._ref.markForCheck())}}return E.\u0275fac=function(A){return new(A||E)(l.Y36(l.sBO,16))},E.\u0275pipe=l.Yjl({name:"async",type:E,pure:!1,standalone:!0}),E})();const Eo=new l.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let wi=(()=>{class E{constructor(A,k){this.locale=A,this.defaultTimezone=k}transform(A,k="mediumDate",oe,ke){if(null==A||""===A||A!=A)return null;try{return Ze(A,k,ke||this.locale,oe??this.defaultTimezone??void 0)}catch(we){throw Er()}}}return E.\u0275fac=function(A){return new(A||E)(l.Y36(l.soG,16),l.Y36(Eo,24))},E.\u0275pipe=l.Yjl({name:"date",type:E,pure:!0,standalone:!0}),E})(),oi=(()=>{class E{constructor(A){this._locale=A}transform(A,k,oe){if(!function Si(E){return!(null==E||""===E||E!=E)}(A))return null;oe=oe||this._locale;try{return function Mr(E,x,A){return function Gt(E,x,A,k,oe,ke,we=!1){let ht="",wn=!1;if(isFinite(E)){let En=function Bn(E){let k,oe,ke,we,ht,x=Math.abs(E)+"",A=0;for((oe=x.indexOf("."))>-1&&(x=x.replace(".","")),(ke=x.search(/e/i))>0?(oe<0&&(oe=ke),oe+=+x.slice(ke+1),x=x.substring(0,ke)):oe<0&&(oe=x.length),ke=0;"0"===x.charAt(ke);ke++);if(ke===(ht=x.length))k=[0],oe=1;else{for(ht--;"0"===x.charAt(ht);)ht--;for(oe-=ke,k=[],we=0;ke<=ht;ke++,we++)k[we]=Number(x.charAt(ke))}return oe>22&&(k=k.splice(0,21),A=oe-1,oe=1),{digits:k,exponent:A,integerLen:oe}}(E);we&&(En=function Zn(E){if(0===E.digits[0])return E;const x=E.digits.length-E.integerLen;return E.exponent?E.exponent+=2:(0===x?E.digits.push(0,0):1===x&&E.digits.push(0),E.integerLen+=2),E}(En));let An=x.minInt,ln=x.minFrac,Rn=x.maxFrac;if(ke){const Hr=ke.match(it);if(null===Hr)throw new Error(`${ke} is not a valid digit info`);const Sn=Hr[1],Or=Hr[3],si=Hr[5];null!=Sn&&(An=Cr(Sn)),null!=Or&&(ln=Cr(Or)),null!=si?Rn=Cr(si):null!=Or&&ln>Rn&&(Rn=ln)}!function Wr(E,x,A){if(x>A)throw new Error(`The minimum number of digits after fraction (${x}) is higher than the maximum (${A}).`);let k=E.digits,oe=k.length-E.integerLen;const ke=Math.min(Math.max(x,oe),A);let we=ke+E.integerLen,ht=k[we];if(we>0){k.splice(Math.max(E.integerLen,we));for(let ln=we;ln<k.length;ln++)k[ln]=0}else{oe=Math.max(0,oe),E.integerLen=1,k.length=Math.max(1,we=ke+1),k[0]=0;for(let ln=1;ln<we;ln++)k[ln]=0}if(ht>=5)if(we-1<0){for(let ln=0;ln>we;ln--)k.unshift(0),E.integerLen++;k.unshift(1),E.integerLen++}else k[we-1]++;for(;oe<Math.max(0,ke);oe++)k.push(0);let wn=0!==ke;const En=x+E.integerLen,An=k.reduceRight(function(ln,Rn,Tn,$n){return $n[Tn]=(Rn+=ln)<10?Rn:Rn-10,wn&&(0===$n[Tn]&&Tn>=En?$n.pop():wn=!1),Rn>=10?1:0},0);An&&(k.unshift(An),E.integerLen++)}(En,ln,Rn);let Tn=En.digits,$n=En.integerLen;const ze=En.exponent;let Bt=[];for(wn=Tn.every(Hr=>!Hr);$n<An;$n++)Tn.unshift(0);for(;$n<0;$n++)Tn.unshift(0);$n>0?Bt=Tn.splice($n,Tn.length):(Bt=Tn,Tn=[0]);const Pi=[];for(Tn.length>=x.lgSize&&Pi.unshift(Tn.splice(-x.lgSize,Tn.length).join(""));Tn.length>x.gSize;)Pi.unshift(Tn.splice(-x.gSize,Tn.length).join(""));Tn.length&&Pi.unshift(Tn.join("")),ht=Pi.join(st(A,k)),Bt.length&&(ht+=st(A,oe)+Bt.join("")),ze&&(ht+=st(A,le.Exponential)+"+"+ze)}else ht=st(A,le.Infinity);return ht=E<0&&!wn?x.negPre+ht+x.negSuf:x.posPre+ht+x.posSuf,ht}(E,function gr(E,x="-"){const A={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},k=E.split(";"),oe=k[0],ke=k[1],we=-1!==oe.indexOf(".")?oe.split("."):[oe.substring(0,oe.lastIndexOf("0")+1),oe.substring(oe.lastIndexOf("0")+1)],ht=we[0],wn=we[1]||"";A.posPre=ht.substring(0,ht.indexOf("#"));for(let An=0;An<wn.length;An++){const ln=wn.charAt(An);"0"===ln?A.minFrac=A.maxFrac=An+1:"#"===ln?A.maxFrac=An+1:A.posSuf+=ln}const En=ht.split(",");if(A.gSize=En[1]?En[1].length:0,A.lgSize=En[2]||En[1]?(En[2]||En[1]).length:0,ke){const An=oe.length-A.posPre.length-A.posSuf.length,ln=ke.indexOf("#");A.negPre=ke.substring(0,ln).replace(/'/g,""),A.negSuf=ke.slice(ln+An).replace(/'/g,"")}else A.negPre=x+A.posPre,A.negSuf=A.posSuf;return A}(function at(E,x){return(0,l.cg1)(E)[l.wAp.NumberFormats][x]}(x,ve.Decimal),st(x,le.MinusSign)),x,le.Group,le.Decimal,A)}(function Ur(E){if("string"==typeof E&&!isNaN(Number(E)-parseFloat(E)))return Number(E);if("number"!=typeof E)throw new Error(`${E} is not a number`);return E}(A),oe,k)}catch(ke){throw Er()}}}return E.\u0275fac=function(A){return new(A||E)(l.Y36(l.soG,16))},E.\u0275pipe=l.Yjl({name:"number",type:E,pure:!0,standalone:!0}),E})();let bo=(()=>{class E{transform(A,k,oe){if(null==A)return null;if(!this.supports(A))throw Er();return A.slice(k,oe)}supports(A){return"string"==typeof A||Array.isArray(A)}}return E.\u0275fac=function(A){return new(A||E)},E.\u0275pipe=l.Yjl({name:"slice",type:E,pure:!1,standalone:!0}),E})(),Ao=(()=>{class E{}return E.\u0275fac=function(A){return new(A||E)},E.\u0275mod=l.oAB({type:E}),E.\u0275inj=l.cJS({}),E})();const zn="browser";function To(E){return E===zn}function Ii(E){return"server"===E}let hi=(()=>{class E{}return E.\u0275prov=(0,l.Yz7)({token:E,providedIn:"root",factory:()=>new or((0,l.LFG)(q),window)}),E})();class or{constructor(x,A){this.document=x,this.window=A,this.offset=()=>[0,0]}setOffset(x){this.offset=Array.isArray(x)?()=>x:x}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(x){this.supportsScrolling()&&this.window.scrollTo(x[0],x[1])}scrollToAnchor(x){if(!this.supportsScrolling())return;const A=function Oi(E,x){const A=E.getElementById(x)||E.getElementsByName(x)[0];if(A)return A;if("function"==typeof E.createTreeWalker&&E.body&&(E.body.createShadowRoot||E.body.attachShadow)){const k=E.createTreeWalker(E.body,NodeFilter.SHOW_ELEMENT);let oe=k.currentNode;for(;oe;){const ke=oe.shadowRoot;if(ke){const we=ke.getElementById(x)||ke.querySelector(`[name="${x}"]`);if(we)return we}oe=k.nextNode()}}return null}(this.document,x);A&&(this.scrollToElement(A),A.focus())}setHistoryScrollRestoration(x){if(this.supportScrollRestoration()){const A=this.window.history;A&&A.scrollRestoration&&(A.scrollRestoration=x)}}scrollToElement(x){const A=x.getBoundingClientRect(),k=A.left+this.window.pageXOffset,oe=A.top+this.window.pageYOffset,ke=this.offset();this.window.scrollTo(k-ke[0],oe-ke[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const x=Ir(this.window.history)||Ir(Object.getPrototypeOf(this.window.history));return!(!x||!x.writable&&!x.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Ir(E){return Object.getOwnPropertyDescriptor(E,"scrollRestoration")}class cr{}},529:(rt,ye,S)=>{S.d(ye,{JF:()=>pr,TP:()=>Nt,WM:()=>B,eN:()=>Je});var l=S(6895),d=S(4650),$=S(9646),z=S(9751),G=S(4351),Q=S(9300),q=S(4004);class ie{}class fe{}class B{constructor(ee){this.normalizedNames=new Map,this.lazyUpdate=null,ee?this.lazyInit="string"==typeof ee?()=>{this.headers=new Map,ee.split("\n").forEach(W=>{const be=W.indexOf(":");if(be>0){const Ze=W.slice(0,be),Et=Ze.toLowerCase(),wt=W.slice(be+1).trim();this.maybeSetNormalizedName(Ze,Et),this.headers.has(Et)?this.headers.get(Et).push(wt):this.headers.set(Et,[wt])}})}:()=>{this.headers=new Map,Object.keys(ee).forEach(W=>{let be=ee[W];const Ze=W.toLowerCase();"string"==typeof be&&(be=[be]),be.length>0&&(this.headers.set(Ze,be),this.maybeSetNormalizedName(W,Ze))})}:this.headers=new Map}has(ee){return this.init(),this.headers.has(ee.toLowerCase())}get(ee){this.init();const W=this.headers.get(ee.toLowerCase());return W&&W.length>0?W[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ee){return this.init(),this.headers.get(ee.toLowerCase())||null}append(ee,W){return this.clone({name:ee,value:W,op:"a"})}set(ee,W){return this.clone({name:ee,value:W,op:"s"})}delete(ee,W){return this.clone({name:ee,value:W,op:"d"})}maybeSetNormalizedName(ee,W){this.normalizedNames.has(W)||this.normalizedNames.set(W,ee)}init(){this.lazyInit&&(this.lazyInit instanceof B?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(W=>{this.headers.set(W,ee.headers.get(W)),this.normalizedNames.set(W,ee.normalizedNames.get(W))})}clone(ee){const W=new B;return W.lazyInit=this.lazyInit&&this.lazyInit instanceof B?this.lazyInit:this,W.lazyUpdate=(this.lazyUpdate||[]).concat([ee]),W}applyUpdate(ee){const W=ee.name.toLowerCase();switch(ee.op){case"a":case"s":let be=ee.value;if("string"==typeof be&&(be=[be]),0===be.length)return;this.maybeSetNormalizedName(ee.name,W);const Ze=("a"===ee.op?this.headers.get(W):void 0)||[];Ze.push(...be),this.headers.set(W,Ze);break;case"d":const Et=ee.value;if(Et){let wt=this.headers.get(W);if(!wt)return;wt=wt.filter(Qe=>-1===Et.indexOf(Qe)),0===wt.length?(this.headers.delete(W),this.normalizedNames.delete(W)):this.headers.set(W,wt)}else this.headers.delete(W),this.normalizedNames.delete(W)}}forEach(ee){this.init(),Array.from(this.normalizedNames.keys()).forEach(W=>ee(this.normalizedNames.get(W),this.headers.get(W)))}}class ne{encodeKey(ee){return Ye(ee)}encodeValue(ee){return Ye(ee)}decodeKey(ee){return decodeURIComponent(ee)}decodeValue(ee){return decodeURIComponent(ee)}}const Ne=/%(\d[a-f0-9])/gi,Se={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ye(Ue){return encodeURIComponent(Ue).replace(Ne,(ee,W)=>Se[W]??ee)}function Me(Ue){return`${Ue}`}class he{constructor(ee={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ee.encoder||new ne,ee.fromString){if(ee.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ve(Ue,ee){const W=new Map;return Ue.length>0&&Ue.replace(/^\?/,"").split("&").forEach(Ze=>{const Et=Ze.indexOf("="),[wt,Qe]=-1==Et?[ee.decodeKey(Ze),""]:[ee.decodeKey(Ze.slice(0,Et)),ee.decodeValue(Ze.slice(Et+1))],At=W.get(wt)||[];At.push(Qe),W.set(wt,At)}),W}(ee.fromString,this.encoder)}else ee.fromObject?(this.map=new Map,Object.keys(ee.fromObject).forEach(W=>{const be=ee.fromObject[W],Ze=Array.isArray(be)?be.map(Me):[Me(be)];this.map.set(W,Ze)})):this.map=null}has(ee){return this.init(),this.map.has(ee)}get(ee){this.init();const W=this.map.get(ee);return W?W[0]:null}getAll(ee){return this.init(),this.map.get(ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ee,W){return this.clone({param:ee,value:W,op:"a"})}appendAll(ee){const W=[];return Object.keys(ee).forEach(be=>{const Ze=ee[be];Array.isArray(Ze)?Ze.forEach(Et=>{W.push({param:be,value:Et,op:"a"})}):W.push({param:be,value:Ze,op:"a"})}),this.clone(W)}set(ee,W){return this.clone({param:ee,value:W,op:"s"})}delete(ee,W){return this.clone({param:ee,value:W,op:"d"})}toString(){return this.init(),this.keys().map(ee=>{const W=this.encoder.encodeKey(ee);return this.map.get(ee).map(be=>W+"="+this.encoder.encodeValue(be)).join("&")}).filter(ee=>""!==ee).join("&")}clone(ee){const W=new he({encoder:this.encoder});return W.cloneFrom=this.cloneFrom||this,W.updates=(this.updates||[]).concat(ee),W}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 W=("a"===ee.op?this.map.get(ee.param):void 0)||[];W.push(Me(ee.value)),this.map.set(ee.param,W);break;case"d":if(void 0===ee.value){this.map.delete(ee.param);break}{let be=this.map.get(ee.param)||[];const Ze=be.indexOf(Me(ee.value));-1!==Ze&&be.splice(Ze,1),be.length>0?this.map.set(ee.param,be):this.map.delete(ee.param)}}}),this.cloneFrom=this.updates=null)}}class nt{constructor(){this.map=new Map}set(ee,W){return this.map.set(ee,W),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 ae(Ue){return typeof ArrayBuffer<"u"&&Ue instanceof ArrayBuffer}function Ce(Ue){return typeof Blob<"u"&&Ue instanceof Blob}function Ge(Ue){return typeof FormData<"u"&&Ue instanceof FormData}class ve{constructor(ee,W,be,Ze){let Et;if(this.url=W,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ee.toUpperCase(),function Oe(Ue){switch(Ue){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ze?(this.body=void 0!==be?be:null,Et=Ze):Et=be,Et&&(this.reportProgress=!!Et.reportProgress,this.withCredentials=!!Et.withCredentials,Et.responseType&&(this.responseType=Et.responseType),Et.headers&&(this.headers=Et.headers),Et.context&&(this.context=Et.context),Et.params&&(this.params=Et.params)),this.headers||(this.headers=new B),this.context||(this.context=new nt),this.params){const wt=this.params.toString();if(0===wt.length)this.urlWithParams=W;else{const Qe=W.indexOf("?");this.urlWithParams=W+(-1===Qe?"?":Qe<W.length-1?"&":"")+wt}}else this.params=new he,this.urlWithParams=W}serializeBody(){return null===this.body?null:ae(this.body)||Ce(this.body)||Ge(this.body)||function Be(Ue){return typeof URLSearchParams<"u"&&Ue instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof he?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||Ge(this.body)?null:Ce(this.body)?this.body.type||null:ae(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof he?"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 W=ee.method||this.method,be=ee.url||this.url,Ze=ee.responseType||this.responseType,Et=void 0!==ee.body?ee.body:this.body,wt=void 0!==ee.withCredentials?ee.withCredentials:this.withCredentials,Qe=void 0!==ee.reportProgress?ee.reportProgress:this.reportProgress;let At=ee.headers||this.headers,On=ee.params||this.params;const Ot=ee.context??this.context;return void 0!==ee.setHeaders&&(At=Object.keys(ee.setHeaders).reduce((jn,Ft)=>jn.set(Ft,ee.setHeaders[Ft]),At)),ee.setParams&&(On=Object.keys(ee.setParams).reduce((jn,Ft)=>jn.set(Ft,ee.setParams[Ft]),On)),new ve(W,be,Et,{params:On,headers:At,context:Ot,reportProgress:Qe,responseType:Ze,withCredentials:wt})}}var Ee=(()=>((Ee=Ee||{})[Ee.Sent=0]="Sent",Ee[Ee.UploadProgress=1]="UploadProgress",Ee[Ee.ResponseHeader=2]="ResponseHeader",Ee[Ee.DownloadProgress=3]="DownloadProgress",Ee[Ee.Response=4]="Response",Ee[Ee.User=5]="User",Ee))();class se{constructor(ee,W=200,be="OK"){this.headers=ee.headers||new B,this.status=void 0!==ee.status?ee.status:W,this.statusText=ee.statusText||be,this.url=ee.url||null,this.ok=this.status>=200&&this.status<300}}class ge extends se{constructor(ee={}){super(ee),this.type=Ee.ResponseHeader}clone(ee={}){return new ge({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 Te extends se{constructor(ee={}){super(ee),this.type=Ee.Response,this.body=void 0!==ee.body?ee.body:null}clone(ee={}){return new Te({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 le extends se{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 $e(Ue,ee){return{body:ee,headers:Ue.headers,context:Ue.context,observe:Ue.observe,params:Ue.params,reportProgress:Ue.reportProgress,responseType:Ue.responseType,withCredentials:Ue.withCredentials}}let Je=(()=>{class Ue{constructor(W){this.handler=W}request(W,be,Ze={}){let Et;if(W instanceof ve)Et=W;else{let At,On;At=Ze.headers instanceof B?Ze.headers:new B(Ze.headers),Ze.params&&(On=Ze.params instanceof he?Ze.params:new he({fromObject:Ze.params})),Et=new ve(W,be,void 0!==Ze.body?Ze.body:null,{headers:At,context:Ze.context,params:On,reportProgress:Ze.reportProgress,responseType:Ze.responseType||"json",withCredentials:Ze.withCredentials})}const wt=(0,$.of)(Et).pipe((0,G.b)(At=>this.handler.handle(At)));if(W instanceof ve||"events"===Ze.observe)return wt;const Qe=wt.pipe((0,Q.h)(At=>At instanceof Te));switch(Ze.observe||"body"){case"body":switch(Et.responseType){case"arraybuffer":return Qe.pipe((0,q.U)(At=>{if(null!==At.body&&!(At.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return At.body}));case"blob":return Qe.pipe((0,q.U)(At=>{if(null!==At.body&&!(At.body instanceof Blob))throw new Error("Response is not a Blob.");return At.body}));case"text":return Qe.pipe((0,q.U)(At=>{if(null!==At.body&&"string"!=typeof At.body)throw new Error("Response is not a string.");return At.body}));default:return Qe.pipe((0,q.U)(At=>At.body))}case"response":return Qe;default:throw new Error(`Unreachable: unhandled observe type ${Ze.observe}}`)}}delete(W,be={}){return this.request("DELETE",W,be)}get(W,be={}){return this.request("GET",W,be)}head(W,be={}){return this.request("HEAD",W,be)}jsonp(W,be){return this.request("JSONP",W,{params:(new he).append(be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(W,be={}){return this.request("OPTIONS",W,be)}patch(W,be,Ze={}){return this.request("PATCH",W,$e(Ze,be))}post(W,be,Ze={}){return this.request("POST",W,$e(Ze,be))}put(W,be,Ze={}){return this.request("PUT",W,$e(Ze,be))}}return Ue.\u0275fac=function(W){return new(W||Ue)(d.LFG(ie))},Ue.\u0275prov=d.Yz7({token:Ue,factory:Ue.\u0275fac}),Ue})();class yt{constructor(ee,W){this.next=ee,this.interceptor=W}handle(ee){return this.interceptor.intercept(ee,this.next)}}const Nt=new d.OlP("HTTP_INTERCEPTORS");let kt=(()=>{class Ue{intercept(W,be){return be.handle(W)}}return Ue.\u0275fac=function(W){return new(W||Ue)},Ue.\u0275prov=d.Yz7({token:Ue,factory:Ue.\u0275fac}),Ue})();const gn=/^\)\]\}',?\n/;let ur=(()=>{class Ue{constructor(W){this.xhrFactory=W}handle(W){if("JSONP"===W.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new z.y(be=>{const Ze=this.xhrFactory.build();if(Ze.open(W.method,W.urlWithParams),W.withCredentials&&(Ze.withCredentials=!0),W.headers.forEach((rn,an)=>Ze.setRequestHeader(rn,an.join(","))),W.headers.has("Accept")||Ze.setRequestHeader("Accept","application/json, text/plain, */*"),!W.headers.has("Content-Type")){const rn=W.detectContentTypeHeader();null!==rn&&Ze.setRequestHeader("Content-Type",rn)}if(W.responseType){const rn=W.responseType.toLowerCase();Ze.responseType="json"!==rn?rn:"text"}const Et=W.serializeBody();let wt=null;const Qe=()=>{if(null!==wt)return wt;const rn=Ze.statusText||"OK",an=new B(Ze.getAllResponseHeaders()),ut=function Ln(Ue){return"responseURL"in Ue&&Ue.responseURL?Ue.responseURL:/^X-Request-URL:/m.test(Ue.getAllResponseHeaders())?Ue.getResponseHeader("X-Request-URL"):null}(Ze)||W.url;return wt=new ge({headers:an,status:Ze.status,statusText:rn,url:ut}),wt},At=()=>{let{headers:rn,status:an,statusText:ut,url:He}=Qe(),ct=null;204!==an&&(ct=typeof Ze.response>"u"?Ze.responseText:Ze.response),0===an&&(an=ct?200:0);let Lt=an>=200&&an<300;if("json"===W.responseType&&"string"==typeof ct){const Wt=ct;ct=ct.replace(gn,"");try{ct=""!==ct?JSON.parse(ct):null}catch(Jt){ct=Wt,Lt&&(Lt=!1,ct={error:Jt,text:ct})}}Lt?(be.next(new Te({body:ct,headers:rn,status:an,statusText:ut,url:He||void 0})),be.complete()):be.error(new le({error:ct,headers:rn,status:an,statusText:ut,url:He||void 0}))},On=rn=>{const{url:an}=Qe(),ut=new le({error:rn,status:Ze.status||0,statusText:Ze.statusText||"Unknown Error",url:an||void 0});be.error(ut)};let Ot=!1;const jn=rn=>{Ot||(be.next(Qe()),Ot=!0);let an={type:Ee.DownloadProgress,loaded:rn.loaded};rn.lengthComputable&&(an.total=rn.total),"text"===W.responseType&&!!Ze.responseText&&(an.partialText=Ze.responseText),be.next(an)},Ft=rn=>{let an={type:Ee.UploadProgress,loaded:rn.loaded};rn.lengthComputable&&(an.total=rn.total),be.next(an)};return Ze.addEventListener("load",At),Ze.addEventListener("error",On),Ze.addEventListener("timeout",On),Ze.addEventListener("abort",On),W.reportProgress&&(Ze.addEventListener("progress",jn),null!==Et&&Ze.upload&&Ze.upload.addEventListener("progress",Ft)),Ze.send(Et),be.next({type:Ee.Sent}),()=>{Ze.removeEventListener("error",On),Ze.removeEventListener("abort",On),Ze.removeEventListener("load",At),Ze.removeEventListener("timeout",On),W.reportProgress&&(Ze.removeEventListener("progress",jn),null!==Et&&Ze.upload&&Ze.upload.removeEventListener("progress",Ft)),Ze.readyState!==Ze.DONE&&Ze.abort()}})}}return Ue.\u0275fac=function(W){return new(W||Ue)(d.LFG(l.JF))},Ue.\u0275prov=d.Yz7({token:Ue,factory:Ue.\u0275fac}),Ue})();const mn=new d.OlP("XSRF_COOKIE_NAME"),Un=new d.OlP("XSRF_HEADER_NAME");class Dn{}let Hn=(()=>{class Ue{constructor(W,be,Ze){this.doc=W,this.platform=be,this.cookieName=Ze,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const W=this.doc.cookie||"";return W!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.Mx)(W,this.cookieName),this.lastCookieString=W),this.lastToken}}return Ue.\u0275fac=function(W){return new(W||Ue)(d.LFG(l.K0),d.LFG(d.Lbi),d.LFG(mn))},Ue.\u0275prov=d.Yz7({token:Ue,factory:Ue.\u0275fac}),Ue})(),Ct=(()=>{class Ue{constructor(W,be){this.tokenService=W,this.headerName=be}intercept(W,be){const Ze=W.url.toLowerCase();if("GET"===W.method||"HEAD"===W.method||Ze.startsWith("http://")||Ze.startsWith("https://"))return be.handle(W);const Et=this.tokenService.getToken();return null!==Et&&!W.headers.has(this.headerName)&&(W=W.clone({headers:W.headers.set(this.headerName,Et)})),be.handle(W)}}return Ue.\u0275fac=function(W){return new(W||Ue)(d.LFG(Dn),d.LFG(Un))},Ue.\u0275prov=d.Yz7({token:Ue,factory:Ue.\u0275fac}),Ue})(),xt=(()=>{class Ue{constructor(W,be){this.backend=W,this.injector=be,this.chain=null}handle(W){if(null===this.chain){const be=this.injector.get(Nt,[]);this.chain=be.reduceRight((Ze,Et)=>new yt(Ze,Et),this.backend)}return this.chain.handle(W)}}return Ue.\u0275fac=function(W){return new(W||Ue)(d.LFG(fe),d.LFG(d.zs3))},Ue.\u0275prov=d.Yz7({token:Ue,factory:Ue.\u0275fac}),Ue})(),Vn=(()=>{class Ue{static disable(){return{ngModule:Ue,providers:[{provide:Ct,useClass:kt}]}}static withOptions(W={}){return{ngModule:Ue,providers:[W.cookieName?{provide:mn,useValue:W.cookieName}:[],W.headerName?{provide:Un,useValue:W.headerName}:[]]}}}return Ue.\u0275fac=function(W){return new(W||Ue)},Ue.\u0275mod=d.oAB({type:Ue}),Ue.\u0275inj=d.cJS({providers:[Ct,{provide:Nt,useExisting:Ct,multi:!0},{provide:Dn,useClass:Hn},{provide:mn,useValue:"XSRF-TOKEN"},{provide:Un,useValue:"X-XSRF-TOKEN"}]}),Ue})(),pr=(()=>{class Ue{}return Ue.\u0275fac=function(W){return new(W||Ue)},Ue.\u0275mod=d.oAB({type:Ue}),Ue.\u0275inj=d.cJS({providers:[Je,{provide:ie,useClass:xt},ur,{provide:fe,useExisting:ur}],imports:[Vn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Ue})()},4650:(rt,ye,S)=>{S.d(ye,{$8M:()=>ta,$Z:()=>Yh,AFp:()=>dy,ALo:()=>Sm,AaK:()=>ie,AsE:()=>Jd,BQk:()=>ec,CHM:()=>Pi,CRH:()=>Hm,CZH:()=>fc,CqO:()=>Hp,D6c:()=>ZE,DdM:()=>ym,Dn7:()=>Pm,EJc:()=>lE,EiD:()=>Lc,EpF:()=>Bp,F$t:()=>Wp,F4k:()=>Up,FYo:()=>Jf,FiY:()=>Ie,G48:()=>OE,Gf:()=>Bm,GfV:()=>Xf,GkF:()=>jd,Gpc:()=>L,Gre:()=>wg,Hsn:()=>Kp,IIB:()=>tE,Ikx:()=>Xd,JOm:()=>Ls,JVY:()=>Qi,Jf7:()=>dh,KtG:()=>Hr,L6J:()=>rE,L6k:()=>wa,LAX:()=>Ic,LFG:()=>nr,LSH:()=>s,Lbi:()=>iE,Lck:()=>rC,MAs:()=>Vp,MMx:()=>df,NdJ:()=>Gd,O4$:()=>ys,OlP:()=>hn,Oqu:()=>Qd,PXZ:()=>bE,Q6J:()=>Bd,QGY:()=>$d,QP$:()=>Ul,QbO:()=>oE,Qsj:()=>zy,R0b:()=>vo,RDi:()=>bc,Rgc:()=>yu,SBq:()=>eu,Sil:()=>cE,Suo:()=>Um,TTD:()=>Ti,TgZ:()=>Qu,Tol:()=>ug,Udp:()=>Zd,VKq:()=>_m,W1O:()=>zm,WFA:()=>zd,WLB:()=>vm,X6Q:()=>IE,XFs:()=>Ct,Xpm:()=>ut,Xts:()=>gt,Y36:()=>El,YKP:()=>um,YNc:()=>Lp,Yjl:()=>ce,Yz7:()=>de,ZZ4:()=>Ff,_Bn:()=>lm,_UZ:()=>Hd,_Vd:()=>Xl,_c5:()=>WE,_uU:()=>mg,aQ5:()=>ll,aQg:()=>kf,c2e:()=>sE,cJS:()=>st,cg1:()=>tf,d8E:()=>ef,dDg:()=>vE,dqk:()=>be,eBb:()=>Sc,eFA:()=>wy,ekj:()=>Yd,eoX:()=>Cy,f3M:()=>va,g9A:()=>hy,gM2:()=>xm,gxx:()=>fn,h0i:()=>Vl,hGG:()=>KE,hij:()=>nc,i9L:()=>ra,iGM:()=>Vm,ifc:()=>W,ip1:()=>cy,kEZ:()=>Dm,kL8:()=>Ng,kYT:()=>Jt,kcU:()=>fo,l5B:()=>Cm,lG2:()=>K,lcZ:()=>Im,lqb:()=>Ns,lri:()=>vy,mCW:()=>Aa,n5z:()=>ws,n_E:()=>ac,oAB:()=>Wt,oJD:()=>Bc,oxw:()=>zp,pB0:()=>Tu,q3G:()=>hr,q4F:()=>eh,qLn:()=>tu,qOj:()=>Fd,qZA:()=>Ju,qbA:()=>Em,qzn:()=>aa,rWj:()=>Dy,r_U:()=>nE,s9C:()=>Wd,sBO:()=>PE,sIi:()=>lu,s_b:()=>uc,soG:()=>hc,tBr:()=>_e,tb:()=>py,tp0:()=>Dt,uIk:()=>Vd,vHH:()=>Se,vpe:()=>js,wAp:()=>Qt,xi3:()=>Om,xp6:()=>kh,ynx:()=>Xu,z2F:()=>pc,z3N:()=>Uo,zSh:()=>yo,zs3:()=>el});var l=S(7579),d=S(727),$=S(9751),z=S(6451),G=S(3099);function Q(e){for(let t in e)if(e[t]===Q)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 ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ie).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 fe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const B=Q({__forward_ref__:Q});function L(e){return e.__forward_ref__=L,e.toString=function(){return ie(this())},e}function ne(e){return Ve(e)?e():e}function Ve(e){return"function"==typeof e&&e.hasOwnProperty(B)&&e.__forward_ref__===L}class Se extends Error{constructor(t,n){super(function Ye(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Me(e){return"string"==typeof e?e:null==e?"":String(e)}function ae(e,t){throw new Se(-201,!1)}function kt(e,t){null==e&&function lt(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function de(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function st(e){return{providers:e.providers||[],imports:e.imports||[]}}function at(e){return Nn(e,mn)||Nn(e,Dn)}function Nn(e,t){return e.hasOwnProperty(t)?e[t]:null}function ur(e){return e&&(e.hasOwnProperty(Un)||e.hasOwnProperty(Hn))?e[Un]:null}const mn=Q({\u0275prov:Q}),Un=Q({\u0275inj:Q}),Dn=Q({ngInjectableDef:Q}),Hn=Q({ngInjectorDef:Q});var Ct=(()=>((Ct=Ct||{})[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional",Ct))();let xt;function nn(e){const t=xt;return xt=e,t}function Vn(e,t,n){const r=at(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ct.Optional?null:void 0!==t?t:void ae(ie(e))}function dn(e){return{toString:e}.toString()}var Cn=(()=>((Cn=Cn||{})[Cn.OnPush=0]="OnPush",Cn[Cn.Default=1]="Default",Cn))(),W=(()=>{return(e=W||(W={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",W;var e})();const be=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),wt={},Qe=[],At=Q({\u0275cmp:Q}),On=Q({\u0275dir:Q}),Ot=Q({\u0275pipe:Q}),jn=Q({\u0275mod:Q}),Ft=Q({\u0275fac:Q}),rn=Q({__NG_ELEMENT_ID__:Q});let an=0;function ut(e){return dn(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Cn.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Qe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||W.Emulated,id:"c"+an++,styles:e.styles||Qe,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,u=e.features;return i.inputs=X(e.inputs,r),i.outputs=X(e.outputs),u&&u.forEach(m=>m(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(ct).filter(Lt):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(ft).filter(Lt):null,i})}function ct(e){return Pe(e)||De(e)}function Lt(e){return null!==e}function Wt(e){return dn(()=>({type:e.type,bootstrap:e.bootstrap||Qe,declarations:e.declarations||Qe,imports:e.imports||Qe,exports:e.exports||Qe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Jt(e,t){return dn(()=>{const n=Tt(e,!0);n.declarations=t.declarations||Qe,n.imports=t.imports||Qe,n.exports=t.exports||Qe})}function X(e,t){if(null==e)return wt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const K=ut;function ce(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 Pe(e){return e[At]||null}function De(e){return e[On]||null}function ft(e){return e[Ot]||null}function Tt(e,t){const n=e[jn]||null;if(!n&&!0===t)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function Pn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Kn(e){return Array.isArray(e)&&!0===e[1]}function Xn(e){return 0!=(8&e.flags)}function Lr(e){return 2==(2&e.flags)}function Kr(e){return 1==(1&e.flags)}function Qn(e){return null!==e.template}function Do(e){return 0!=(256&e[2])}function Br(e,t){return e.hasOwnProperty(Ft)?e[Ft]:null}class Zr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ti(){return oi}function oi(e){return e.type.prototype.ngOnChanges&&(e.setInput=Mi),ao}function ao(){const e=Ur(this),t=e?.current;if(t){const n=e.previous;if(n===wt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Mi(e,t,n,r){const i=Ur(e)||function bo(e,t){return e[Si]=t}(e,{previous:wt,current:null}),o=i.current||(i.current={}),u=i.previous,m=this.declaredInputs[n],y=u[m];o[m]=new Zr(y&&y.currentValue,t,u===wt),e[r]=t}Ti.ngInherit=!0;const Si="__ngSimpleChanges__";function Ur(e){return e[Si]||null}function xn(e){for(;Array.isArray(e);)e=e[0];return e}function hi(e,t){return xn(t[e])}function or(e,t){return xn(t[e.index])}function Oi(e,t){return e.data[t]}function sr(e,t){return e[t]}function cr(e,t){const n=t[e];return Pn(n)?n:n[0]}function E(e){return 4==(4&e[2])}function x(e){return 64==(64&e[2])}function k(e,t){return null==t?null:e[t]}function oe(e){e[18]=0}function ke(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const we={lFrame:$i(null),bindingsEnabled:!0};function Rn(){return we.bindingsEnabled}function ze(){return we.lFrame.lView}function Bt(){return we.lFrame.tView}function Pi(e){return we.lFrame.contextLView=e,e[8]}function Hr(e){return we.lFrame.contextLView=null,e}function Sn(){let e=Or();for(;null!==e&&64===e.type;)e=e.parent;return e}function Or(){return we.lFrame.currentTNode}function Pr(e,t){const n=we.lFrame;n.currentTNode=e,n.isParent=t}function Wo(){return we.lFrame.isParent}function Mo(){we.lFrame.isParent=!1}function T(){const e=we.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function F(){return we.lFrame.bindingIndex++}function Fe(e){const t=we.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function jr(e,t){const n=we.lFrame;n.bindingIndex=n.bindingRootIndex=e,ai(t)}function ai(e){we.lFrame.currentDirectiveIndex=e}function pi(e){const t=we.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function xi(){return we.lFrame.currentQueryIndex}function uo(e){we.lFrame.currentQueryIndex=e}function ms(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Ko(e,t,n){if(n&Ct.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&Ct.Host||(i=ms(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=we.lFrame=So();return r.currentTNode=t,r.lView=e,!0}function co(e){const t=So(),n=e[1];we.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function So(){const e=we.lFrame,t=null===e?null:e.child;return null===t?$i(e):t}function $i(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 Ia(){const e=we.lFrame;return we.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Io=Ia;function zs(){const e=Ia();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 dr(){return we.lFrame.selectedIndex}function gi(e){we.lFrame.selectedIndex=e}function jt(){const e=we.lFrame;return Oi(e.tView,e.selectedIndex)}function ys(){we.lFrame.currentNamespace="svg"}function fo(){!function _s(){we.lFrame.currentNamespace=null}()}function vs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:m,ngAfterViewInit:y,ngAfterViewChecked:I,ngOnDestroy:R}=o;u&&(e.contentHooks||(e.contentHooks=[])).push(-n,u),m&&((e.contentHooks||(e.contentHooks=[])).push(n,m),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,m)),y&&(e.viewHooks||(e.viewHooks=[])).push(-n,y),I&&((e.viewHooks||(e.viewHooks=[])).push(n,I),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,I)),null!=R&&(e.destroyHooks||(e.destroyHooks=[])).push(n,R)}}function Zs(e,t,n){xa(e,t,3,n)}function Ys(e,t,n,r){(3&e[2])===n&&xa(e,t,n,r)}function Gi(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function xa(e,t,n,r){const o=r??-1,u=t.length-1;let m=0;for(let y=void 0!==r?65535&e[18]:0;y<u;y++)if("number"==typeof t[y+1]){if(m=t[y],null!=r&&m>=r)break}else t[y]<0&&(e[18]+=65536),(m<o||-1==o)&&(al(e,n,t,y),e[18]=(4294901760&e[18])+y+2),y++}function al(e,t,n,r){const i=n[r]<0,o=n[r+1],m=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(m)}finally{}}}else try{o.call(m)}finally{}}class Zo{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Qo(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],u=n[r++],m=n[r++];e.setAttribute(t,u,m,o)}else{const o=i,u=n[++r];ha(o)?e.setProperty(t,o,u):e.setAttribute(t,o,u),r++}}return r}function Jo(e){return 3===e||4===e||6===e}function ha(e){return 64===e.charCodeAt(0)}function zi(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||pa(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function pa(e,t,n,r,i){let o=0,u=e.length;if(-1===t)u=-1;else for(;o<e.length;){const m=e[o++];if("number"==typeof m){if(m===t){u=-1;break}if(m>t){u=o-1;break}}}for(;o<e.length;){const m=e[o];if("number"==typeof m)break;if(m===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==u&&(e.splice(u,0,t),o=u+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function ga(e){return-1!==e}function Po(e){return 32767&e}function lr(e,t){let n=function La(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Ds=!0;function xo(e){const t=Ds;return Ds=e,t}let Ua=0;const qr={};function li(e,t){const n=Wi(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Qr(r.data,e),Qr(t,null),Qr(r.blueprint,null));const i=Ki(e,t),o=e.injectorIndex;if(ga(i)){const u=Po(i),m=lr(i,t),y=m[1].data;for(let I=0;I<8;I++)t[o+I]=m[u+I]|y[u+I]}return t[o+8]=i,o}function Qr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wi(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ki(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=ma(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ro(e,t,n){!function Ha(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(rn)&&(r=n[rn]),null==r&&(r=n[rn]=Ua++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function er(e,t,n){if(n&Ct.Optional)return e;ae()}function Js(e,t,n,r){if(n&Ct.Optional&&void 0===r&&(r=null),0==(n&(Ct.Self|Ct.Host))){const i=e[9],o=nn(void 0);try{return i?i.get(t,r,n&Ct.Optional):Vn(t,r,n&Ct.Optional)}finally{nn(o)}}return er(r,0,n)}function No(e,t,n,r=Ct.Default,i){if(null!==e){if(1024&t[2]){const u=function ea(e,t,n,r,i){let o=e,u=t;for(;null!==o&&null!==u&&1024&u[2]&&!(256&u[2]);){const m=Xs(o,u,n,r|Ct.Self,qr);if(m!==qr)return m;let y=o.parent;if(!y){const I=u[21];if(I){const R=I.get(n,qr,r);if(R!==qr)return R}y=ma(u),u=u[15]}o=y}return i}(e,t,n,r,qr);if(u!==qr)return u}const o=Xs(e,t,n,r,qr);if(o!==qr)return o}return Js(t,n,r,i)}function Xs(e,t,n,r,i){const o=function yr(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(rn)?e[rn]:void 0;return"number"==typeof t?t>=0?255&t:Xo:t}(n);if("function"==typeof o){if(!Ko(t,e,r))return r&Ct.Host?er(i,0,r):Js(t,n,r,i);try{const u=o(r);if(null!=u||r&Ct.Optional)return u;ae()}finally{Io()}}else if("number"==typeof o){let u=null,m=Wi(e,t),y=-1,I=r&Ct.Host?t[16][6]:null;for((-1===m||r&Ct.SkipSelf)&&(y=-1===m?Ki(e,t):t[m+8],-1!==y&&bs(r,!1)?(u=t[1],m=Po(y),t=lr(y,t)):m=-1);-1!==m;){const R=t[1];if(yi(o,m,R.data)){const V=Es(m,t,n,u,r,I);if(V!==qr)return V}y=t[m+8],-1!==y&&bs(r,t[1].data[m+8]===I)&&yi(o,m,t)?(u=R,m=Po(y),t=lr(y,t)):m=-1}}return i}function Es(e,t,n,r,i,o){const u=t[1],m=u.data[e+8],R=Fo(m,u,n,null==r?Lr(m)&&Ds:r!=u&&0!=(3&m.type),i&Ct.Host&&o===m);return null!==R?ho(t,u,R,m):qr}function Fo(e,t,n,r,i){const o=e.providerIndexes,u=t.data,m=1048575&o,y=e.directiveStart,R=o>>20,ue=i?m+R:e.directiveEnd;for(let Ae=r?m:m+R;Ae<ue;Ae++){const Ke=u[Ae];if(Ae<y&&n===Ke||Ae>=y&&Ke.type===n)return Ae}if(i){const Ae=u[y];if(Ae&&Qn(Ae)&&Ae.type===n)return y}return null}function ho(e,t,n,r){let i=e[n];const o=t.data;if(function Ra(e){return e instanceof Zo}(i)){const u=i;u.resolving&&function et(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Se(-200,`Circular dependency in DI detected for ${e}${n}`)}(function he(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Me(e)}(o[n]));const m=xo(u.canSeeViewProviders);u.resolving=!0;const y=u.injectImpl?nn(u.injectImpl):null;Ko(e,r,Ct.Default);try{i=e[n]=u.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Ks(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const u=oi(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==y&&nn(y),xo(m),u.resolving=!1,Io()}}return i}function yi(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function bs(e,t){return!(e&Ct.Self||e&Ct.Host&&t)}class _i{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return No(this._tNode,this._lView,t,r,n)}}function Xo(){return new _i(Sn(),ze())}function ws(e){return dn(()=>{const t=e.prototype.constructor,n=t[Ft]||es(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Ft]||es(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function es(e){return Ve(e)?()=>{const t=es(ne(e));return t&&t()}:Br(e)}function ma(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function ta(e){return function Qs(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(Jo(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}(Sn(),e)}const po="__parameters__",br="__prop__metadata__";function ts(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}function $r(e,t,n){return dn(()=>{const r=ts(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const u=new i(...o);return m.annotation=u,m;function m(y,I,R){const V=y.hasOwnProperty(po)?y[po]:Object.defineProperty(y,po,{value:[]})[po];for(;V.length<=R;)V.push(null);return(V[R]=V[R]||[]).push(u),y}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Di(e,t,n,r){return dn(()=>{const i=ts(t);function o(...u){if(this instanceof o)return i.apply(this,u),this;const m=new o(...u);return function y(I,R){const V=I.constructor,ue=V.hasOwnProperty(br)?V[br]:Object.defineProperty(V,br,{value:{}})[br];ue[R]=ue.hasOwnProperty(R)&&ue[R]||[],ue[R].unshift(m),r&&r(I,R,...u)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class hn{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=de({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}class Ts{}const ll=Di("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),Ts),ra=Di("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Ts);function xr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),xr(r,t)):t!==e&&t.push(r)}return t}function Jr(e,t){e.forEach(n=>Array.isArray(n)?Jr(n,t):t(n))}function ya(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function f(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function g(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function xe(e,t,n){let r=Zt(e,t);return r>=0?e[1|r]=n:(r=~r,function b(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 dt(e,t){const n=Zt(e,t);if(n>=0)return e[1|n]}function Zt(e,t){return function yn(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),u=e[o<<n];if(t===u)return o<<n;u>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const Rs={},mo="__NG_DI_FLAG__",ia="ngTempTokenPath",ul=/\n/gm,cl="__source";let Ri;function oa(e){const t=Ri;return Ri=e,t}function vu(e,t=Ct.Default){if(void 0===Ri)throw new Se(-203,!1);return null===Ri?Vn(e,void 0,t):Ri.get(e,t&Ct.Optional?null:void 0,t)}function nr(e,t=Ct.Default){return(function pn(){return xt}()||vu)(ne(e),t)}function va(e,t=Ct.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),nr(e,t)}function Da(e){const t=[];for(let n=0;n<e.length;n++){const r=ne(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Se(900,!1);let i,o=Ct.Default;for(let u=0;u<r.length;u++){const m=r[u],y=M(m);"number"==typeof y?-1===y?i=m.token:o|=y:i=m}t.push(nr(i,o))}else t.push(nr(r))}return t}function v(e,t){return e[mo]=t,e.prototype[mo]=t,e}function M(e){return e[mo]}const _e=v($r("Inject",e=>({token:e})),-1),Ie=v($r("Optional"),8),Dt=v($r("SkipSelf"),4);let fl,pl,ci;function bc(e){fl=e}function Ea(e){return function $l(){if(void 0===pl&&(pl=null,be.trustedTypes))try{pl=be.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pl}()?.createHTML(e)||e}function ba(e){return function Wa(){if(void 0===ci&&(ci=null,be.trustedTypes))try{ci=be.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ci}()?.createHTML(e)||e}class sa{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Gl extends sa{getTypeName(){return"HTML"}}class Ac extends sa{getTypeName(){return"Style"}}class Tc extends sa{getTypeName(){return"Script"}}class ml extends sa{getTypeName(){return"URL"}}class Mc extends sa{getTypeName(){return"ResourceURL"}}function Uo(e){return e instanceof sa?e.changingThisBreaksApplicationSecurity:e}function aa(e,t){const n=function Au(e){return e instanceof sa&&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 https://g.co/ng/security#xss)`)}return n===t}function Qi(e){return new Gl(e)}function wa(e){return new Ac(e)}function Sc(e){return new Tc(e)}function Ic(e){return new ml(e)}function Tu(e){return new Mc(e)}class Su{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ea(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class yl{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Ea(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ea(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const u=n.item(i).name;("xmlns:ns1"===u||0===u.indexOf("ns1:"))&&t.removeAttribute(u)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Pc=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,xc=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Aa(e){return(e=String(e)).match(Pc)||e.match(xc)?e:"unsafe:"+e}function Ho(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ka(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Pu=Ho("area,br,col,hr,img,wbr"),zl=Ho("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Za=Ho("rp,rt"),Wl=Ka(Pu,Ka(zl,Ho("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")),Ka(Za,Ho("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")),Ka(Za,zl)),Kl=Ho("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Zl=Ho("srcset"),xu=Ka(Kl,Zl,Ho("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ho("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")),Ru=Ho("script,style,template");class Yl{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(!Wl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ru.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),u=o.name,m=u.toLowerCase();if(!xu.hasOwnProperty(m)){this.sanitizedSomething=!0;continue}let y=o.value;Kl[m]&&(y=Aa(y)),Zl[m]&&(e=y,y=(e=String(e)).split(",").map(t=>Aa(t.trim())).join(", ")),this.buf.push(" ",u,'="',kc(y),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Wl.hasOwnProperty(n)&&!Pu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(kc(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 Nu=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fc=/([^\#-~ |!])/g;function kc(e){return e.replace(/&/g,"&").replace(Nu,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Fc,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ql;function Lc(e,t){let n=null;try{ql=ql||function Mu(e){const t=new yl(e);return function Oc(){try{return!!(new window.DOMParser).parseFromString(Ea(""),"text/html")}catch{return!1}}()?new Su(t):t}(e);let r=t?String(t):"";n=ql.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=ql.getInertBodyElement(r)}while(r!==o);return Ea((new Yl).sanitizeChildren(Ql(n)||n))}finally{if(n){const r=Ql(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Ql(e){return"content"in e&&function Vc(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var hr=(()=>((hr=hr||{})[hr.NONE=0]="NONE",hr[hr.HTML=1]="HTML",hr[hr.STYLE=2]="STYLE",hr[hr.SCRIPT=3]="SCRIPT",hr[hr.URL=4]="URL",hr[hr.RESOURCE_URL=5]="RESOURCE_URL",hr))();function Bc(e){const t=pt();return t?ba(t.sanitize(hr.HTML,e)||""):aa(e,"HTML")?ba(Uo(e)):Lc(function hl(){return void 0!==fl?fl:typeof document<"u"?document:void 0}(),Me(e))}function s(e){const t=pt();return t?t.sanitize(hr.URL,e)||"":aa(e,"URL")?Uo(e):Aa(Me(e))}function pt(){const e=ze();return e&&e[12]}const gt=new hn("ENVIRONMENT_INITIALIZER"),fn=new hn("INJECTOR",-1),un=new hn("INJECTOR_DEF_TYPES");class $t{get(t,n=Rs){if(n===Rs){const r=new Error(`NullInjectorError: No provider for ${ie(t)}!`);throw r.name="NullInjectorError",r}return n}}function Yt(...e){return{\u0275providers:_n(0,e)}}function _n(e,...t){const n=[],r=new Set;let i;return Jr(t,o=>{const u=o;Jn(u,n,[],r)&&(i||(i=[]),i.push(u))}),void 0!==i&&In(i,n),n}function In(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];Jr(i,o=>{t.push(o)})}}function Jn(e,t,n,r){if(!(e=ne(e)))return!1;let i=null,o=ur(e);const u=!o&&Pe(e);if(o||u){if(u&&!u.standalone)return!1;i=e}else{const y=e.ngModule;if(o=ur(y),!o)return!1;i=y}const m=r.has(i);if(u){if(m)return!1;if(r.add(i),u.dependencies){const y="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const I of y)Jn(I,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!m){let I;r.add(i);try{Jr(o.imports,R=>{Jn(R,t,n,r)&&(I||(I=[]),I.push(R))})}finally{}void 0!==I&&In(I,t)}if(!m){const I=Br(i)||(()=>new i);t.push({provide:i,useFactory:I,deps:Qe},{provide:un,useValue:i,multi:!0},{provide:gt,useValue:()=>nr(i),multi:!0})}const y=o.providers;null==y||m||Jr(y,R=>{t.push(R)})}}return i!==e&&void 0!==e.providers}const vn=Q({provide:String,useValue:Q});function Nr(e){return null!==e&&"object"==typeof e&&vn in e}function di(e){return"function"==typeof e}const yo=new hn("Set Injector scope."),Ya={},qa={};let ss;function Qa(){return void 0===ss&&(ss=new $t),ss}class Ns{}class Pt extends Ns{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,Jl(t,u=>this.processProvider(u)),this.records.set(fn,fi(void 0,this)),i.has("environment")&&this.records.set(Ns,fi(void 0,this));const o=this.records.get(yo);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(un.multi,Qe,Ct.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=oa(this),r=nn(void 0);try{return t()}finally{oa(n),nn(r)}}get(t,n=Rs,r=Ct.Default){this.assertNotDestroyed();const i=oa(this),o=nn(void 0);try{if(!(r&Ct.SkipSelf)){let m=this.records.get(t);if(void 0===m){const y=function rr(e){return"function"==typeof e||"object"==typeof e&&e instanceof hn}(t)&&at(t);m=y&&this.injectableDefInScope(y)?fi(Ut(t),Ya):null,this.records.set(t,m)}if(null!=m)return this.hydrate(t,m)}return(r&Ct.Self?Qa():this.parent).get(t,n=r&Ct.Optional&&n===Rs?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[ia]=u[ia]||[]).unshift(ie(t)),i)throw u;return function P(e,t,n,r){const i=e[ia];throw t[cl]&&i.unshift(t[cl]),e.message=function Z(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ie(t);if(Array.isArray(t))i=t.map(ie).join(" -> ");else if("object"==typeof t){let o=[];for(let u in t)if(t.hasOwnProperty(u)){let m=t[u];o.push(u+":"+("string"==typeof m?JSON.stringify(m):ie(m)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(ul,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[ia]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{nn(o),oa(i)}}resolveInjectorInitializers(){const t=oa(this),n=nn(void 0);try{const r=this.get(gt.multi,Qe,Ct.Self);for(const i of r)i()}finally{oa(t),nn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ie(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Se(205,!1)}processProvider(t){let n=di(t=ne(t))?t:ne(t&&t.provide);const r=function Mn(e){return Nr(e)?fi(void 0,e.useValue):fi(Tr(e),Ya)}(t);if(di(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=fi(void 0,Ya,!0),i.factory=()=>Da(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ya&&(n.value=qa,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Fs(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=ne(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Ut(e){const t=at(e),n=null!==t?t.factory:Br(e);if(null!==n)return n;if(e instanceof hn)throw new Se(204,!1);if(e instanceof Function)return function Xt(e){const t=e.length;if(t>0)throw g(t,"?"),new Se(204,!1);const n=function gn(e){const t=e&&(e[mn]||e[Dn]);if(t){const n=function Ln(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Se(204,!1)}function Tr(e,t,n){let r;if(di(e)){const i=ne(e);return Br(i)||Ut(i)}if(Nr(e))r=()=>ne(e.useValue);else if(function ei(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Da(e.deps||[]));else if(function Ar(e){return!(!e||!e.useExisting)}(e))r=()=>nr(ne(e.useExisting));else{const i=ne(e&&(e.useClass||e.provide));if(!function Fi(e){return!!e.deps}(e))return Br(i)||Ut(i);r=()=>new i(...Da(e.deps))}return r}function fi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fu(e){return!!e.\u0275providers}function Jl(e,t){for(const n of e)Array.isArray(n)?Jl(n,t):Fu(n)?Jl(n.\u0275providers,t):t(n)}class ks{}class jy{resolveComponentFactory(t){throw function Ji(e){const t=Error(`No component factory found for ${ie(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Xl=(()=>{class e{}return e.NULL=new jy,e})();function $y(){return _l(Sn(),ze())}function _l(e,t){return new eu(or(e,t))}let eu=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=$y,e})();function Gy(e){return e instanceof eu?e.nativeElement:e}class Jf{}let zy=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Wy(){const e=ze(),n=cr(Sn().index,e);return(Pn(n)?n:e)[11]}(),e})(),Ky=(()=>{class e{}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>null}),e})();class Xf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const eh=new Xf("14.1.2"),Uc={};function zc(e){return e.ngOriginalError}class tu{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&&zc(t);for(;n&&zc(n);)n=zc(n);return n||null}}const Wc=new Map;let o_=0;const Zc="__ngContext__";function Ei(e,t){Pn(t)?(e[Zc]=t[20],function a_(e){Wc.set(e[20],e)}(t)):e[Zc]=t}function nu(e){const t=e[Zc];return"number"==typeof t?function sh(e){return Wc.get(e)||null}(t):t||null}function Yc(e){const t=nu(e);return t?Pn(t)?t:t.lView:null}const m_=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(be))();function dh(e){return e.ownerDocument.defaultView}function la(e){return e instanceof Function?e():e}var Ls=(()=>((Ls=Ls||{})[Ls.Important=1]="Important",Ls[Ls.DashCase=2]="DashCase",Ls))();function Qc(e,t){return undefined(e,t)}function ru(e){const t=e[3];return Kn(t)?t[3]:t}function Jc(e){return gh(e[13])}function Xc(e){return gh(e[4])}function gh(e){for(;null!==e&&!Kn(e);)e=e[4];return e}function Dl(e,t,n,r,i){if(null!=r){let o,u=!1;Kn(r)?o=r:Pn(r)&&(u=!0,r=r[0]);const m=xn(r);0===e&&null!==n?null==i?Ch(t,n,m):Xa(t,n,m,i||null,!0):1===e&&null!==n?Xa(t,n,m,i||null,!0):2===e?function Sh(e,t,n){const r=Lu(e,t);r&&function R_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,m,u):3===e&&t.destroyNode(m),null!=o&&function k_(e,t,n,r,i){const o=n[7];o!==xn(n)&&Dl(t,e,r,o,i);for(let m=10;m<n.length;m++){const y=n[m];iu(y[1],y,e,t,r,o)}}(t,e,o,n,i)}}function td(e,t,n){return e.createElement(t,n)}function yh(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,ke(i,-1)),n.splice(r,1)}function nd(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&yh(i,r),t>0&&(e[n-1][4]=r[4]);const o=f(e,10+t);!function A_(e,t){iu(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const u=o[19];null!==u&&u.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function _h(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&iu(e,t,n,3,null,null),function S_(e){let t=e[13];if(!t)return rd(e[1],e);for(;t;){let n=null;if(Pn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Pn(t)&&rd(t[1],t),t=t[3];null===t&&(t=e),Pn(t)&&rd(t[1],t),n=t&&t[4]}t=n}}(t)}}function rd(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function x_(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 Zo)){const o=n[r+1];if(Array.isArray(o))for(let u=0;u<o.length;u+=2){const m=i[o[u]],y=o[u+1];try{y.call(m)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function P_(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const u=n[o+1],m="function"==typeof u?u(t):xn(t[u]),y=r[i=n[o+2]],I=n[o+3];"boolean"==typeof I?m.removeEventListener(n[o],y,I):I>=0?r[i=I]():r[i=-I].unsubscribe(),o+=2}else{const u=r[i=n[o+1]];n[o].call(u)}if(null!==r){for(let o=i+1;o<r.length;o++)(0,r[o])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Kn(t[3])){n!==t[3]&&yh(n,t);const r=t[19];null!==r&&r.detachView(e)}!function l_(e){Wc.delete(e[20])}(t)}}function vh(e,t,n){return function Dh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===W.None||i===W.Emulated)return null}return or(r,n)}(e,t.parent,n)}function Xa(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Ch(e,t,n){e.appendChild(t,n)}function Eh(e,t,n,r,i){null!==r?Xa(e,t,n,r,i):Ch(e,t,n)}function Lu(e,t){return e.parentNode(t)}function bh(e,t,n){return Ah(e,t,n)}let Ah=function wh(e,t,n){return 40&e.type?or(e,n):null};function Vu(e,t,n,r){const i=vh(e,r,t),o=t[11],m=bh(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let y=0;y<n.length;y++)Eh(o,i,n[y],m,!1);else Eh(o,i,n,m,!1)}function Bu(e,t){if(null!==t){const n=t.type;if(3&n)return or(t,e);if(4&n)return od(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Bu(e,r);{const i=e[t.index];return Kn(i)?od(-1,i):xn(i)}}if(32&n)return Qc(t,e)()||xn(e[t.index]);{const r=Mh(e,t);return null!==r?Array.isArray(r)?r[0]:Bu(ru(e[16]),r):Bu(e,t.next)}}return null}function Mh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function od(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return Bu(r,i)}return t[7]}function sd(e,t,n,r,i,o,u){for(;null!=n;){const m=r[n.index],y=n.type;if(u&&0===t&&(m&&Ei(xn(m),r),n.flags|=4),64!=(64&n.flags))if(8&y)sd(e,t,n.child,r,i,o,!1),Dl(t,e,i,m,o);else if(32&y){const I=Qc(n,r);let R;for(;R=I();)Dl(t,e,i,R,o);Dl(t,e,i,m,o)}else 16&y?Ih(e,t,r,n,i,o):Dl(t,e,i,m,o);n=u?n.projectionNext:n.next}}function iu(e,t,n,r,i,o){sd(n,r,e.firstChild,t,i,o,!1)}function Ih(e,t,n,r,i,o){const u=n[16],y=u[6].projection[r.projection];if(Array.isArray(y))for(let I=0;I<y.length;I++)Dl(t,e,i,y[I],o);else sd(e,t,y,u[3],i,o,!0)}function Oh(e,t,n){e.setAttribute(t,"style",n)}function ad(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ph(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const xh="ng-template";function V_(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==Ph(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Rh(e){return 4===e.type&&e.value!==xh}function B_(e,t,n){return t===(4!==e.type||n?e.value:xh)}function U_(e,t,n){let r=4;const i=e.attrs||[],o=function $_(e){for(let t=0;t<e.length;t++)if(Jo(e[t]))return t;return e.length}(i);let u=!1;for(let m=0;m<t.length;m++){const y=t[m];if("number"!=typeof y){if(!u)if(4&r){if(r=2|1&r,""!==y&&!B_(e,y,n)||""===y&&1===t.length){if(as(r))return!1;u=!0}}else{const I=8&r?y:t[++m];if(8&r&&null!==e.attrs){if(!V_(e.attrs,I,n)){if(as(r))return!1;u=!0}continue}const V=H_(8&r?"class":y,i,Rh(e),n);if(-1===V){if(as(r))return!1;u=!0;continue}if(""!==I){let ue;ue=V>o?"":i[V+1].toLowerCase();const Ae=8&r?ue:null;if(Ae&&-1!==Ph(Ae,I,0)||2&r&&I!==ue){if(as(r))return!1;u=!0}}}}else{if(!u&&!as(r)&&!as(y))return!1;if(u&&as(y))continue;u=!1,r=y|1&r}}return as(r)||u}function as(e){return 0==(1&e)}function H_(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const u=t[i];if(u===e)return i;if(3===u||6===u)o=!0;else{if(1===u||2===u){let m=t[++i];for(;"string"==typeof m;)m=t[++i];continue}if(4===u)break;if(0===u){i+=4;continue}}i+=o?1:2}return-1}return function G_(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 Nh(e,t,n=!1){for(let r=0;r<t.length;r++)if(U_(e,t[r],n))return!0;return!1}function z_(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 Fh(e,t){return e?":not("+t.trim()+")":t}function W_(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&r){const m=e[++n];i+="["+u+(m.length>0?'="'+m+'"':"")+"]"}else 8&r?i+="."+u:4&r&&(i+=" "+u);else""!==i&&!as(u)&&(t+=Fh(o,i),i=""),r=u,o=o||!as(r);n++}return""!==i&&(t+=Fh(o,i)),t}const cn={};function kh(e){Lh(Bt(),ze(),dr()+e,!1)}function Lh(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&Zs(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ys(t,o,0,n)}gi(n)}function Hh(e,t=null,n=null,r){const i=jh(e,t,n,r);return i.resolveInjectorInitializers(),i}function jh(e,t=null,n=null,r,i=new Set){const o=[n||Qe,Yt(e)];return r=r||("object"==typeof e?void 0:ie(e)),new Pt(o,t||Qa(),r||null,i)}let el=(()=>{class e{static create(n,r){if(Array.isArray(n))return Hh({name:""},r,n,"");{const i=n.name??"";return Hh({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Rs,e.NULL=new $t,e.\u0275prov=de({token:e,providedIn:"any",factory:()=>nr(fn)}),e.__NG_ELEMENT_ID__=-1,e})();function El(e,t=Ct.Default){const n=ze();return null===n?nr(e,t):No(Sn(),n,ne(e),t)}function Yh(){throw new Error("invalid")}function Hu(e,t){return e<<17|t<<2}function ls(e){return e>>17&32767}function fd(e){return 2|e}function ua(e){return(131068&e)>>2}function hd(e,t){return-131069&e|t<<2}function pd(e){return 1|e}function sp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const u=e.data[o];uo(i),u.contentQueries(2,t[o],o)}}}function Gu(e,t,n,r,i,o,u,m,y,I,R){const V=t.blueprint.slice();return V[0]=i,V[2]=76|r,(null!==R||e&&1024&e[2])&&(V[2]|=1024),oe(V),V[3]=V[15]=e,V[8]=n,V[10]=u||e&&e[10],V[11]=m||e&&e[11],V[12]=y||e&&e[12]||null,V[9]=I||e&&e[9]||null,V[6]=o,V[20]=function s_(){return o_++}(),V[21]=R,V[16]=2==t.type?e[16]:V,V}function bl(e,t,n,r,i){let o=e.data[t];if(null===o)o=function bd(e,t,n,r,i){const o=Or(),u=Wo(),y=e.data[t]=function Iv(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=y),null!==o&&(u?null==o.child&&null!==y.parent&&(o.child=y):null===o.next&&(o.next=y)),y}(e,t,n,r,i),function It(){return we.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const u=function si(){const e=we.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===u?-1:u.injectorIndex}return Pr(o,!0),o}function wl(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 zu(e,t,n){co(t);try{const r=e.viewQuery;null!==r&&xd(1,r,n);const i=e.template;null!==i&&ap(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&sp(e,t),e.staticViewQueries&&xd(2,e.viewQuery,n);const o=e.components;null!==o&&function Av(e,t){for(let n=0;n<t.length;n++)zv(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,zs()}}function ou(e,t,n,r){const i=t[2];if(128!=(128&i)){co(t);try{oe(t),function D(e){return we.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&ap(e,t,n,2,r);const u=3==(3&i);if(u){const I=e.preOrderCheckHooks;null!==I&&Zs(t,I,null)}else{const I=e.preOrderHooks;null!==I&&Ys(t,I,0,null),Gi(t,0)}if(function $v(e){for(let t=Jc(e);null!==t;t=Xc(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],o=i[3];0==(512&i[2])&&ke(o,1),i[2]|=512}}}(t),function jv(e){for(let t=Jc(e);null!==t;t=Xc(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];x(r)&&ou(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&sp(e,t),u){const I=e.contentCheckHooks;null!==I&&Zs(t,I)}else{const I=e.contentHooks;null!==I&&Ys(t,I,1),Gi(t,1)}!function bv(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)gi(~i);else{const o=i,u=n[++r],m=n[++r];jr(u,o),m(2,t[o])}}}finally{gi(-1)}}(e,t);const m=e.components;null!==m&&function wv(e,t){for(let n=0;n<t.length;n++)Gv(e,t[n])}(t,m);const y=e.viewQuery;if(null!==y&&xd(2,y,r),u){const I=e.viewCheckHooks;null!==I&&Zs(t,I)}else{const I=e.viewHooks;null!==I&&Ys(t,I,2),Gi(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,ke(t[3],-1))}finally{zs()}}}function Tv(e,t,n,r){const i=t[10],u=E(t);try{!u&&i.begin&&i.begin(),u&&zu(e,t,r),ou(e,t,n,r)}finally{!u&&i.end&&i.end()}}function ap(e,t,n,r,i){const o=dr(),u=2&r;try{gi(-1),u&&t.length>22&&Lh(e,t,22,!1),n(r,i)}finally{gi(o)}}function lp(e,t,n){if(Xn(t)){const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const u=e.data[o];u.contentQueries&&u.contentQueries(1,n[o],o)}}}function wd(e,t,n){!Rn()||(function Nv(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||li(n,t),Ei(r,t);const u=n.initialInputs;for(let m=i;m<o;m++){const y=e.data[m],I=Qn(y);I&&Bv(t,n,y);const R=ho(t,e,m,n);Ei(R,t),null!==u&&Uv(0,m-i,R,y,0,u),I&&(cr(n.index,t)[8]=R)}}(e,t,n,or(n,t)),128==(128&n.flags)&&function Fv(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,u=function ar(){return we.lFrame.currentDirectiveIndex}();try{gi(o);for(let m=r;m<i;m++){const y=e.data[m],I=t[m];ai(m),(null!==y.hostBindings||0!==y.hostVars||null!==y.hostAttrs)&&gp(y,I)}}finally{gi(-1),ai(u)}}(e,t,n))}function Ad(e,t,n=or){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const u=r[o+1],m=-1===u?n(t,e):e[u];e[i++]=m}}}function up(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Td(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Td(e,t,n,r,i,o,u,m,y,I){const R=22+r,V=R+i,ue=function Mv(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:cn);return n}(R,V),Ae="function"==typeof I?I():I;return ue[1]={type:e,blueprint:ue,template:n,queries:null,viewQuery:m,declTNode:t,data:ue.slice().fill(null,R),bindingStartIndex:R,expandoStartIndex:V,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:y,consts:Ae,incompleteFirstPass:!1}}function cp(e,t,n,r){const i=Ep(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&bp(e).push(r,i.length-1))}function dp(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function fp(e,t){const r=t.directiveEnd,i=e.data,o=t.attrs,u=[];let m=null,y=null;for(let I=t.directiveStart;I<r;I++){const R=i[I],V=R.inputs,ue=null===o||Rh(t)?null:Hv(V,o);u.push(ue),m=dp(V,I,m),y=dp(R.outputs,I,y)}null!==m&&(m.hasOwnProperty("class")&&(t.flags|=16),m.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=u,t.inputs=m,t.outputs=y}function _o(e,t,n,r,i,o,u,m){const y=or(t,n);let R,I=t.inputs;!m&&null!=I&&(R=I[r])?(Rd(e,n,R,r,i),Lr(t)&&hp(n,t.index)):3&t.type&&(r=function Ov(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=u?u(i,t.value||"",r):i,o.setProperty(y,r,i))}function hp(e,t){const n=cr(t,e);16&n[2]||(n[2]|=32)}function Md(e,t,n,r){let i=!1;if(Rn()){const o=function kv(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const u=r[o];Nh(n,u.selectors,!1)&&(i||(i=[]),Ro(li(n,t),e,u.type),Qn(u)?(mp(e,n),i.unshift(u)):i.push(u))}return i}(e,t,n),u=null===r?null:{"":-1};if(null!==o){i=!0,yp(n,e.data.length,o.length);for(let R=0;R<o.length;R++){const V=o[R];V.providersResolver&&V.providersResolver(V)}let m=!1,y=!1,I=wl(e,t,o.length,null);for(let R=0;R<o.length;R++){const V=o[R];n.mergedAttrs=zi(n.mergedAttrs,V.hostAttrs),_p(e,n,t,I,V),Vv(I,V,u),null!==V.contentQueries&&(n.flags|=8),(null!==V.hostBindings||null!==V.hostAttrs||0!==V.hostVars)&&(n.flags|=128);const ue=V.type.prototype;!m&&(ue.ngOnChanges||ue.ngOnInit||ue.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),m=!0),!y&&(ue.ngOnChanges||ue.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),y=!0),I++}fp(e,n)}u&&function Lv(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 Se(-301,!1);r.push(t[i],o)}}}(n,r,u)}return n.mergedAttrs=zi(n.mergedAttrs,n.attrs),i}function pp(e,t,n,r,i,o){const u=o.hostBindings;if(u){let m=e.hostBindingOpCodes;null===m&&(m=e.hostBindingOpCodes=[]);const y=~t.index;(function Rv(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(m)!=y&&m.push(y),m.push(r,i,u)}}function gp(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function mp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Vv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Qn(t)&&(n[""]=e)}}function yp(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function _p(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=Br(i.type)),u=new Zo(o,Qn(i),El);e.blueprint[r]=u,n[r]=u,pp(e,t,0,r,wl(e,n,i.hostVars,cn),i)}function Bv(e,t,n){const r=or(t,e),i=up(n),o=e[10],u=Wu(e,Gu(e,i,null,n.onPush?32:16,r,t,o,o.createRenderer(r,n),null,null,null));e[t.index]=u}function Vs(e,t,n,r,i,o){const u=or(e,t);!function Sd(e,t,n,r,i,o,u){if(null==o)e.removeAttribute(t,i,n);else{const m=null==u?Me(o):u(o,r||"",i);e.setAttribute(t,i,m,n)}}(t[11],u,o,e.value,n,r,i)}function Uv(e,t,n,r,i,o){const u=o[t];if(null!==u){const m=r.setInput;for(let y=0;y<u.length;){const I=u[y++],R=u[y++],V=u[y++];null!==m?r.setInput(n,V,I,R):n[R]=V}}}function Hv(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function vp(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Gv(e,t){const n=cr(t,e);if(x(n)){const r=n[1];48&n[2]?ou(r,n,r.template,n[8]):n[5]>0&&Id(n)}}function Id(e){for(let r=Jc(e);null!==r;r=Xc(r))for(let i=10;i<r.length;i++){const o=r[i];if(x(o))if(512&o[2]){const u=o[1];ou(u,o,u.template,o[8])}else o[5]>0&&Id(o)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=cr(n[r],e);x(i)&&i[5]>0&&Id(i)}}function zv(e,t){const n=cr(t,e),r=n[1];(function Wv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),zu(r,n,n[8])}function Wu(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Od(e){for(;e;){e[2]|=32;const t=ru(e);if(Do(e)&&!t)return e;e=t}return null}function Cp(e){!function Dp(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Yc(n);if(null!==r){const i=r[1];Tv(i,r,i.template,n)}}}(e[8])}function xd(e,t,n){uo(0),t(e,n)}const Zv=(()=>Promise.resolve(null))();function Ep(e){return e[7]||(e[7]=[])}function bp(e){return e.cleanup||(e.cleanup=[])}function wp(e,t,n){return(null===e||Qn(e))&&(n=function ji(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Ap(e,t){const n=e[9],r=n?n.get(tu,null):null;r&&r.handleError(t)}function Rd(e,t,n,r,i){for(let o=0;o<n.length;){const u=n[o++],m=n[o++],y=t[u],I=e.data[u];null!==I.setInput?I.setInput(y,i,r,m):y[m]=i}}function ca(e,t,n){const r=hi(t,e);!function mh(e,t,n){e.setValue(t,n)}(e[11],r,n)}function Ku(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let u=0;u<t.length;u++){const m=t[u];"number"==typeof m?o=m:1==o?i=fe(i,m):2==o&&(r=fe(r,m+": "+t[++u]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Zu(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(xn(o)),Kn(o))for(let m=10;m<o.length;m++){const y=o[m],I=y[1].firstChild;null!==I&&Zu(y[1],y,I,r)}const u=n.type;if(8&u)Zu(e,t,n.child,r);else if(32&u){const m=Qc(n,t);let y;for(;y=m();)r.push(y)}else if(16&u){const m=Mh(t,n);if(Array.isArray(m))r.push(...m);else{const y=ru(t[16]);Zu(y[1],y,m,r,!0)}}n=i?n.projectionNext:n.next}return r}class su{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Zu(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Kn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(nd(t,r),f(n,r))}this._attachedToViewContainer=!1}_h(this._lView[1],this._lView)}onDestroy(t){cp(this._lView[1],this._lView,null,t)}markForCheck(){Od(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function Pd(e,t,n){const r=t[10];r.begin&&r.begin();try{ou(e,t,e.template,n)}catch(i){throw Ap(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Se(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function M_(e,t){iu(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Se(902,!1);this._appRef=t}}class Yv extends su{constructor(t){super(t),this._view=t}detectChanges(){Cp(this._view)}checkNoChanges(){}get context(){return null}}class Nd extends Xl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Pe(t);return new au(n,this.ngModule)}}function Tp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Qv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,Uc,r);return i!==Uc||n===Uc?i:this.parentInjector.get(t,n,r)}}class au extends ks{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function K_(e){return e.map(W_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Tp(this.componentDef.inputs)}get outputs(){return Tp(this.componentDef.outputs)}create(t,n,r,i){let o=(i=i||this.ngModule)instanceof Ns?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const u=o?new Qv(t,o):t,m=u.get(Jf,null);if(null===m)throw new Se(407,!1);const y=u.get(Ky,null),I=m.createRenderer(null,this.componentDef),R=this.componentDef.selectors[0][0]||"div",V=r?function Sv(e,t,n){return e.selectRootElement(t,n===W.ShadowDom)}(I,r,this.componentDef.encapsulation):td(m.createRenderer(null,this.componentDef),R,function qv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(R)),ue=this.componentDef.onPush?288:272,Ae=function nD(e,t){return{components:[],scheduler:e||m_,clean:Zv,playerHandler:t||null,flags:0}}(),Ke=Td(0,null,null,1,0,null,null,null,null,null),ot=Gu(null,Ke,Ae,ue,null,null,m,I,y,u,null);let mt,St;co(ot);try{const en=function eD(e,t,n,r,i,o){const u=n[1];n[22]=e;const y=bl(u,22,2,"#host",null),I=y.mergedAttrs=t.hostAttrs;null!==I&&(Ku(y,I,!0),null!==e&&(Qo(i,e,I),null!==y.classes&&ad(i,e,y.classes),null!==y.styles&&Oh(i,e,y.styles)));const R=r.createRenderer(e,t),V=Gu(n,up(t),null,t.onPush?32:16,n[22],y,r,R,o||null,null,null);return u.firstCreatePass&&(Ro(li(y,n),u,t.type),mp(u,y),yp(y,n.length,1)),Wu(n,V),n[22]=V}(V,this.componentDef,ot,m,I);if(V)if(r)Qo(I,V,["ng-version",eh.full]);else{const{attrs:tt,classes:zt}=function Z_(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(!as(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);tt&&Qo(I,V,tt),zt&&zt.length>0&&ad(I,V,zt.join(" "))}if(St=Oi(Ke,22),void 0!==n){const tt=St.projection=[];for(let zt=0;zt<this.ngContentSelectors.length;zt++){const bn=n[zt];tt.push(null!=bn?Array.from(bn):null)}}mt=function tD(e,t,n,r,i){const o=n[1],u=function xv(e,t,n){const r=Sn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),_p(e,r,t,wl(e,t,1,null),n),fp(e,r));const i=ho(t,e,r.directiveStart,r);Ei(i,t);const o=or(r,t);return o&&Ei(o,t),i}(o,n,t);if(r.components.push(u),e[8]=u,null!==i)for(const y of i)y(u,t);if(t.contentQueries){const y=Sn();t.contentQueries(1,u,y.directiveStart)}const m=Sn();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(gi(m.index),pp(n[1],m,0,m.directiveStart,m.directiveEnd,t),gp(t,u)),u}(en,this.componentDef,ot,Ae,[rD]),zu(Ke,ot,null)}finally{zs()}return new Xv(this.componentType,mt,_l(St,ot),ot,St)}}class Xv extends class ti{}{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new Yv(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const o=this._rootLView;Rd(o[1],o,i,t,n),hp(o,this._tNode.index)}}get injector(){return new _i(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function rD(){const e=Sn();vs(ze()[1],e)}function Fd(e){let t=function Mp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Qn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Se(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const u=e;u.inputs=kd(e.inputs),u.declaredInputs=kd(e.declaredInputs),u.outputs=kd(e.outputs);const m=i.hostBindings;m&&aD(e,m);const y=i.viewQuery,I=i.contentQueries;if(y&&oD(e,y),I&&sD(e,I),q(e.inputs,i.inputs),q(e.declaredInputs,i.declaredInputs),q(e.outputs,i.outputs),Qn(i)&&i.data.animation){const R=e.data;R.animation=(R.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let u=0;u<o.length;u++){const m=o[u];m&&m.ngInherit&&m(e),m===Fd&&(n=!1)}}t=Object.getPrototypeOf(t)}!function iD(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=zi(i.hostAttrs,n=zi(n,i.hostAttrs))}}(r)}function kd(e){return e===wt?{}:e===Qe?[]:e}function oD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function sD(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function aD(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let Yu=null;function tl(){if(!Yu){const e=be.Symbol;if(e&&e.iterator)Yu=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Yu=r)}}}return Yu}function lu(e){return!!Ld(e)&&(Array.isArray(e)||!(e instanceof Map)&&tl()in e)}function Ld(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Bs(e,t,n){return e[t]=n}function uu(e,t){return e[t]}function bi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function nl(e,t,n,r){const i=bi(e,t,n);return bi(e,t+1,r)||i}function jo(e,t,n,r,i,o){const u=nl(e,t,n,r);return nl(e,t+2,i,o)||u}function Vd(e,t,n,r){const i=ze();return bi(i,F(),t)&&(Bt(),Vs(jt(),i,e,t,n,r)),Vd}function Tl(e,t,n,r){return bi(e,F(),n)?t+Me(n)+r:cn}function Ml(e,t,n,r,i,o){const m=nl(e,function C(){return we.lFrame.bindingIndex}(),n,i);return Fe(2),m?t+Me(n)+r+Me(i)+o:cn}function Lp(e,t,n,r,i,o,u,m){const y=ze(),I=Bt(),R=e+22,V=I.firstCreatePass?function mD(e,t,n,r,i,o,u,m,y){const I=t.consts,R=bl(t,e,4,u||null,k(I,m));Md(t,n,R,k(I,y)),vs(t,R);const V=R.tViews=Td(2,R,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,I);return null!==t.queries&&(t.queries.template(t,R),V.queries=t.queries.embeddedTView(R)),R}(R,I,y,t,n,r,i,o,u):I.data[R];Pr(V,!1);const ue=y[11].createComment("");Vu(I,y,ue,V),Ei(ue,y),Wu(y,y[R]=vp(ue,y,ue,V)),Kr(V)&&wd(I,y,V),null!=u&&Ad(y,V,m)}function Vp(e){return sr(function gs(){return we.lFrame.contextLView}(),22+e)}function Bd(e,t,n){const r=ze();return bi(r,F(),t)&&_o(Bt(),jt(),r,e,t,r[11],n,!1),Bd}function Ud(e,t,n,r,i){const u=i?"class":"style";Rd(e,n,t.inputs[u],u,r)}function Qu(e,t,n,r){const i=ze(),o=Bt(),u=22+e,m=i[11],y=i[u]=td(m,t,function Pa(){return we.lFrame.currentNamespace}()),I=o.firstCreatePass?function _D(e,t,n,r,i,o,u){const m=t.consts,I=bl(t,e,2,i,k(m,o));return Md(t,n,I,k(m,u)),null!==I.attrs&&Ku(I,I.attrs,!1),null!==I.mergedAttrs&&Ku(I,I.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,I),I}(u,o,i,0,t,n,r):o.data[u];Pr(I,!0);const R=I.mergedAttrs;null!==R&&Qo(m,y,R);const V=I.classes;null!==V&&ad(m,y,V);const ue=I.styles;return null!==ue&&Oh(m,y,ue),64!=(64&I.flags)&&Vu(o,i,y,I),0===function En(){return we.lFrame.elementDepthCount}()&&Ei(y,i),function An(){we.lFrame.elementDepthCount++}(),Kr(I)&&(wd(o,i,I),lp(o,I,i)),null!==r&&Ad(i,I),Qu}function Ju(){let e=Sn();Wo()?Mo():(e=e.parent,Pr(e,!1));const t=e;!function ln(){we.lFrame.elementDepthCount--}();const n=Bt();return n.firstCreatePass&&(vs(n,e),Xn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function fr(e){return 0!=(16&e.flags)}(t)&&Ud(n,t,ze(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function qs(e){return 0!=(32&e.flags)}(t)&&Ud(n,t,ze(),t.stylesWithoutHost,!1),Ju}function Hd(e,t,n,r){return Qu(e,t,n,r),Ju(),Hd}function Xu(e,t,n){const r=ze(),i=Bt(),o=e+22,u=i.firstCreatePass?function vD(e,t,n,r,i){const o=t.consts,u=k(o,r),m=bl(t,e,8,"ng-container",u);return null!==u&&Ku(m,u,!0),Md(t,n,m,k(o,i)),null!==t.queries&&t.queries.elementStart(t,m),m}(o,i,r,t,n):i.data[o];Pr(u,!0);const m=r[o]=r[11].createComment("");return Vu(i,r,m,u),Ei(m,r),Kr(u)&&(wd(i,r,u),lp(i,u,r)),null!=n&&Ad(r,u),Xu}function ec(){let e=Sn();const t=Bt();return Wo()?Mo():(e=e.parent,Pr(e,!1)),t.firstCreatePass&&(vs(t,e),Xn(e)&&t.queries.elementEnd(e)),ec}function jd(e,t,n){return Xu(e,t,n),ec(),jd}function Bp(){return ze()}function $d(e){return!!e&&"function"==typeof e.then}function Up(e){return!!e&&"function"==typeof e.subscribe}const Hp=Up;function Gd(e,t,n,r){const i=ze(),o=Bt(),u=Sn();return jp(o,i,i[11],u,e,t,0,r),Gd}function zd(e,t){const n=Sn(),r=ze(),i=Bt();return jp(i,r,wp(pi(i.data),n,r),n,e,t),zd}function jp(e,t,n,r,i,o,u,m){const y=Kr(r),R=e.firstCreatePass&&bp(e),V=t[8],ue=Ep(t);let Ae=!0;if(3&r.type||m){const mt=or(r,t),St=m?m(mt):mt,en=ue.length,tt=m?bn=>m(xn(bn[r.index])):r.index;let zt=null;if(!m&&y&&(zt=function DD(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const u=i[o];if(u===n&&i[o+1]===r){const m=t[7],y=i[o+2];return m.length>y?m[y]:null}"string"==typeof u&&(o+=2)}return null}(e,t,i,r.index)),null!==zt)(zt.__ngLastListenerFn__||zt).__ngNextListenerFn__=o,zt.__ngLastListenerFn__=o,Ae=!1;else{o=Gp(r,t,V,o,!1);const bn=n.listen(St,i,o);ue.push(o,bn),R&&R.push(i,tt,en,en+1)}}else o=Gp(r,t,V,o,!1);const Ke=r.outputs;let ot;if(Ae&&null!==Ke&&(ot=Ke[i])){const mt=ot.length;if(mt)for(let St=0;St<mt;St+=2){const ir=t[ot[St]][ot[St+1]].subscribe(o),ol=ue.length;ue.push(o,ir),R&&R.push(i,r.index,ol,-(ol+1))}}}function $p(e,t,n,r){try{return!1!==n(r)}catch(i){return Ap(e,i),!1}}function Gp(e,t,n,r,i){return function o(u){if(u===Function)return r;Od(2&e.flags?cr(e.index,t):t);let y=$p(t,0,r,u),I=o.__ngNextListenerFn__;for(;I;)y=$p(t,0,I,u)&&y,I=I.__ngNextListenerFn__;return i&&!1===y&&(u.preventDefault(),u.returnValue=!1),y}}function zp(e=1){return function Oa(e){return(we.lFrame.contextLView=function Oo(e,t){for(;e>0;)t=t[15],e--;return t}(e,we.lFrame.contextLView))[8]}(e)}function CD(e,t){let n=null;const r=function j_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?Nh(e,o,!0):z_(r,o))return i}else n=i}return n}function Wp(e){const t=ze()[16][6];if(!t.projection){const r=t.projection=g(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){const u=e?CD(o,e):0;null!==u&&(i[u]?i[u].projectionNext=o:r[u]=o,i[u]=o),o=o.next}}}function Kp(e,t=0,n){const r=ze(),i=Bt(),o=bl(i,22+e,16,null,n||null);null===o.projection&&(o.projection=t),Mo(),64!=(64&o.flags)&&function F_(e,t,n){Ih(t[11],0,t,n,vh(e,n,t),bh(n.parent||t[6],n,t))}(i,r,o)}function Wd(e,t,n){return Kd(e,"",t,"",n),Wd}function Kd(e,t,n,r,i){const o=ze(),u=Tl(o,t,n,r);return u!==cn&&_o(Bt(),jt(),o,e,u,o[11],i,!1),Kd}function ng(e,t,n,r,i){const o=e[n+1],u=null===t;let m=r?ls(o):ua(o),y=!1;for(;0!==m&&(!1===y||u);){const R=e[m+1];wD(e[m],t)&&(y=!0,e[m+1]=r?pd(R):fd(R)),m=r?ls(R):ua(R)}y&&(e[n+1]=r?fd(o):pd(o))}function wD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Zt(e,t)>=0}const zr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rg(e){return e.substring(zr.key,zr.keyEnd)}function ig(e,t){const n=zr.textEnd;return n===t?-1:(t=zr.keyEnd=function SD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,zr.key=t,n),Nl(e,t,n))}function Nl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Zd(e,t,n){return us(e,t,n,!1),Zd}function Yd(e,t){return us(e,t,null,!0),Yd}function ug(e){cs(xe,Hs,e,!0)}function Hs(e,t){for(let n=function TD(e){return function sg(e){zr.key=0,zr.keyEnd=0,zr.value=0,zr.valueEnd=0,zr.textEnd=e.length}(e),ig(e,Nl(e,0,zr.textEnd))}(t);n>=0;n=ig(t,n))xe(e,rg(t),!0)}function us(e,t,n,r){const i=ze(),o=Bt(),u=Fe(2);o.firstUpdatePass&&dg(o,e,u,r),t!==cn&&bi(i,u,t)&&hg(o,o.data[dr()],i,i[11],e,i[u+1]=function VD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ie(Uo(e)))),e}(t,n),r,u)}function cs(e,t,n,r){const i=Bt(),o=Fe(2);i.firstUpdatePass&&dg(i,null,o,r);const u=ze();if(n!==cn&&bi(u,o,n)){const m=i.data[dr()];if(gg(m,r)&&!cg(i,o)){let y=r?m.classesWithoutHost:m.stylesWithoutHost;null!==y&&(n=fe(y,n||"")),Ud(i,m,u,n,r)}else!function LD(e,t,n,r,i,o,u,m){i===cn&&(i=Qe);let y=0,I=0,R=0<i.length?i[0]:null,V=0<o.length?o[0]:null;for(;null!==R||null!==V;){const ue=y<i.length?i[y+1]:void 0,Ae=I<o.length?o[I+1]:void 0;let ot,Ke=null;R===V?(y+=2,I+=2,ue!==Ae&&(Ke=V,ot=Ae)):null===V||null!==R&&R<V?(y+=2,Ke=R):(I+=2,Ke=V,ot=Ae),null!==Ke&&hg(e,t,n,r,Ke,ot,u,m),R=y<i.length?i[y]:null,V=I<o.length?o[I]:null}}(i,m,u,u[11],u[o+1],u[o+1]=function kD(e,t,n){if(null==n||""===n)return Qe;const r=[],i=Uo(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 cg(e,t){return t>=e.expandoStartIndex}function dg(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[dr()],u=cg(e,n);gg(o,r)&&null===t&&!u&&(t=!1),t=function xD(e,t,n,r){const i=pi(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=cu(n=qd(null,e,t,n,r),t.attrs,r),o=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==i)if(n=qd(i,e,t,n,r),null===o){let y=function RD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ua(r))return e[ls(r)]}(e,t,r);void 0!==y&&Array.isArray(y)&&(y=qd(null,e,t,y[1],r),y=cu(y,t.attrs,r),function ND(e,t,n,r){e[ls(n?t.classBindings:t.styleBindings)]=r}(e,t,r,y))}else o=function FD(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=cu(r,e[o].hostAttrs,n);return cu(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function ED(e,t,n,r,i,o){let u=o?t.classBindings:t.styleBindings,m=ls(u),y=ua(u);e[r]=n;let R,I=!1;if(Array.isArray(n)){const V=n;R=V[1],(null===R||Zt(V,R)>0)&&(I=!0)}else R=n;if(i)if(0!==y){const ue=ls(e[m+1]);e[r+1]=Hu(ue,m),0!==ue&&(e[ue+1]=hd(e[ue+1],r)),e[m+1]=function hv(e,t){return 131071&e|t<<17}(e[m+1],r)}else e[r+1]=Hu(m,0),0!==m&&(e[m+1]=hd(e[m+1],r)),m=r;else e[r+1]=Hu(y,0),0===m?m=r:e[y+1]=hd(e[y+1],r),y=r;I&&(e[r+1]=fd(e[r+1])),ng(e,R,r,!0),ng(e,R,r,!1),function bD(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Zt(o,t)>=0&&(n[r+1]=pd(n[r+1]))}(t,R,e,r,o),u=Hu(m,y),o?t.classBindings=u:t.styleBindings=u}(i,o,t,n,u,r)}}function qd(e,t,n,r,i){let o=null;const u=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m<u&&(o=t[m],r=cu(r,o.hostAttrs,i),o!==e);)m++;return null!==e&&(n.directiveStylingLast=m),r}function cu(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const u=t[o];"number"==typeof u?i=u:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),xe(e,u,!!n||t[++o]))}return void 0===e?null:e}function hg(e,t,n,r,i,o,u,m){if(!(3&t.type))return;const y=e.data,I=y[m+1];tc(function Jh(e){return 1==(1&e)}(I)?pg(y,t,n,i,ua(I),u):void 0)||(tc(o)||function Qh(e){return 2==(2&e)}(I)&&(o=pg(y,null,n,i,m,u)),function L_(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:Ls.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Ls.Important),e.setStyle(n,r,i,o))}}(r,u,hi(dr(),n),i,o))}function pg(e,t,n,r,i,o){const u=null===t;let m;for(;i>0;){const y=e[i],I=Array.isArray(y),R=I?y[1]:y,V=null===R;let ue=n[i+1];ue===cn&&(ue=V?Qe:void 0);let Ae=V?dt(ue,r):R===r?ue:void 0;if(I&&!tc(Ae)&&(Ae=dt(y,r)),tc(Ae)&&(m=Ae,u))return m;const Ke=e[i+1];i=u?ls(Ke):ua(Ke)}if(null!==t){let y=o?t.residualClasses:t.residualStyles;null!=y&&(m=dt(y,r))}return m}function tc(e){return void 0!==e}function gg(e,t){return 0!=(e.flags&(t?16:32))}function mg(e,t=""){const n=ze(),r=Bt(),i=e+22,o=r.firstCreatePass?bl(r,i,1,t,null):r.data[i],u=n[i]=function ed(e,t){return e.createText(t)}(n[11],t);Vu(r,n,u,o),Pr(o,!1)}function Qd(e){return nc("",e,""),Qd}function nc(e,t,n){const r=ze(),i=Tl(r,e,t,n);return i!==cn&&ca(r,dr(),i),nc}function Jd(e,t,n,r,i){const o=ze(),u=Ml(o,e,t,n,r,i);return u!==cn&&ca(o,dr(),u),Jd}function wg(e,t,n){cs(xe,Hs,Tl(ze(),e,t,n),!0)}function Xd(e,t,n){const r=ze();return bi(r,F(),t)&&_o(Bt(),jt(),r,e,t,r[11],n,!0),Xd}function ef(e,t,n){const r=ze();if(bi(r,F(),t)){const o=Bt(),u=jt();_o(o,u,r,e,t,wp(pi(o.data),u,r),n,!0)}return ef}const rl=void 0;var r0=["en",[["a","p"],["AM","PM"],rl],[["AM","PM"],rl,rl],[["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"]],rl,[["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"]],rl,[["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}",rl,"{1} 'at' {0}",rl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function n0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Fl={};function tf(e){const t=function o0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Fg(t);if(n)return n;const r=t.split("-")[0];if(n=Fg(r),n)return n;if("en"===r)return r0;throw new Se(701,!1)}function Ng(e){return tf(e)[Qt.PluralCase]}function Fg(e){return e in Fl||(Fl[e]=be.ng&&be.ng.common&&be.ng.common.locales&&be.ng.common.locales[e]),Fl[e]}var Qt=(()=>((Qt=Qt||{})[Qt.LocaleId=0]="LocaleId",Qt[Qt.DayPeriodsFormat=1]="DayPeriodsFormat",Qt[Qt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Qt[Qt.DaysFormat=3]="DaysFormat",Qt[Qt.DaysStandalone=4]="DaysStandalone",Qt[Qt.MonthsFormat=5]="MonthsFormat",Qt[Qt.MonthsStandalone=6]="MonthsStandalone",Qt[Qt.Eras=7]="Eras",Qt[Qt.FirstDayOfWeek=8]="FirstDayOfWeek",Qt[Qt.WeekendRange=9]="WeekendRange",Qt[Qt.DateFormat=10]="DateFormat",Qt[Qt.TimeFormat=11]="TimeFormat",Qt[Qt.DateTimeFormat=12]="DateTimeFormat",Qt[Qt.NumberSymbols=13]="NumberSymbols",Qt[Qt.NumberFormats=14]="NumberFormats",Qt[Qt.CurrencyCode=15]="CurrencyCode",Qt[Qt.CurrencySymbol=16]="CurrencySymbol",Qt[Qt.CurrencyName=17]="CurrencyName",Qt[Qt.Currencies=18]="Currencies",Qt[Qt.Directionality=19]="Directionality",Qt[Qt.PluralCase=20]="PluralCase",Qt[Qt.ExtraData=21]="ExtraData",Qt))();const kl="en-US";let kg=kl;function sf(e,t,n,r,i){if(e=ne(e),Array.isArray(e))for(let o=0;o<e.length;o++)sf(e[o],t,n,r,i);else{const o=Bt(),u=ze();let m=di(e)?e:ne(e.provide),y=Tr(e);const I=Sn(),R=1048575&I.providerIndexes,V=I.directiveStart,ue=I.providerIndexes>>20;if(di(e)||!e.multi){const Ae=new Zo(y,i,El),Ke=lf(m,t,i?R:R+ue,V);-1===Ke?(Ro(li(I,u),o,m),af(o,e,t.length),t.push(m),I.directiveStart++,I.directiveEnd++,i&&(I.providerIndexes+=1048576),n.push(Ae),u.push(Ae)):(n[Ke]=Ae,u[Ke]=Ae)}else{const Ae=lf(m,t,R+ue,V),Ke=lf(m,t,R,R+ue),ot=Ae>=0&&n[Ae],mt=Ke>=0&&n[Ke];if(i&&!mt||!i&&!ot){Ro(li(I,u),o,m);const St=function nC(e,t,n,r,i){const o=new Zo(e,n,El);return o.multi=[],o.index=t,o.componentProviders=0,am(o,i,r&&!n),o}(i?tC:eC,n.length,i,r,y);!i&&mt&&(n[Ke].providerFactory=St),af(o,e,t.length,0),t.push(m),I.directiveStart++,I.directiveEnd++,i&&(I.providerIndexes+=1048576),n.push(St),u.push(St)}else af(o,e,Ae>-1?Ae:Ke,am(n[i?Ke:Ae],y,!i&&r));!i&&r&&mt&&n[Ke].componentProviders++}}}function af(e,t,n,r){const i=di(t),o=function os(e){return!!e.useClass}(t);if(i||o){const y=(o?ne(t.useClass):t).prototype.ngOnDestroy;if(y){const I=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const R=I.indexOf(n);-1===R?I.push(n,[r,y]):I[R+1].push(r,y)}else I.push(n,y)}}}function am(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function lf(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function eC(e,t,n,r){return uf(this.multi,[])}function tC(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const u=this.providerFactory.componentProviders,m=ho(n,n[1],this.providerFactory.index,r);o=m.slice(0,u),uf(i,o);for(let y=u;y<m.length;y++)o.push(m[y])}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 lm(e,t=[]){return n=>{n.providersResolver=(r,i)=>function X0(e,t,n){const r=Bt();if(r.firstCreatePass){const i=Qn(e);sf(n,r.data,r.blueprint,i,!0),sf(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Vl{}class um{}function rC(e,t){return new cm(e,t??null)}class cm extends Vl{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Nd(this);const r=Tt(t);this._bootstrapComponents=la(r.bootstrap),this._r3Injector=jh(t,n,[{provide:Vl,useValue:this},{provide:Xl,useValue:this.componentFactoryResolver}],ie(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 cf extends um{constructor(t){super(),this.moduleType=t}create(t){return new cm(this.moduleType,t)}}class iC extends Vl{constructor(t,n,r){super(),this.componentFactoryResolver=new Nd(this),this.instance=null;const i=new Pt([...t,{provide:Vl,useValue:this},{provide:Xl,useValue:this.componentFactoryResolver}],n||Qa(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function df(e,t,n=null){return new iC(e,t,n).injector}function ym(e,t,n){const r=T()+e,i=ze();return i[r]===cn?Bs(i,r,n?t.call(n):t()):uu(i,r)}function _m(e,t,n,r){return bm(ze(),T(),e,t,n,r)}function vm(e,t,n,r,i){return wm(ze(),T(),e,t,n,r,i)}function Dm(e,t,n,r,i,o){return Am(ze(),T(),e,t,n,r,i,o)}function Cm(e,t,n,r,i,o,u){return Tm(ze(),T(),e,t,n,r,i,o,u)}function Em(e,t,n,r,i,o,u,m){const y=T()+e,I=ze(),R=jo(I,y,n,r,i,o);return bi(I,y+4,u)||R?Bs(I,y+5,m?t.call(m,n,r,i,o,u):t(n,r,i,o,u)):uu(I,y+5)}function gu(e,t){const n=e[t];return n===cn?void 0:n}function bm(e,t,n,r,i,o){const u=t+n;return bi(e,u,i)?Bs(e,u+1,o?r.call(o,i):r(i)):gu(e,u+1)}function wm(e,t,n,r,i,o,u){const m=t+n;return nl(e,m,i,o)?Bs(e,m+2,u?r.call(u,i,o):r(i,o)):gu(e,m+2)}function Am(e,t,n,r,i,o,u,m){const y=t+n;return function qu(e,t,n,r,i){const o=nl(e,t,n,r);return bi(e,t+2,i)||o}(e,y,i,o,u)?Bs(e,y+3,m?r.call(m,i,o,u):r(i,o,u)):gu(e,y+3)}function Tm(e,t,n,r,i,o,u,m,y){const I=t+n;return jo(e,I,i,o,u,m)?Bs(e,I+4,y?r.call(y,i,o,u,m):r(i,o,u,m)):gu(e,I+4)}function Sm(e,t){const n=Bt();let r;const i=e+22;n.firstCreatePass?(r=function vC(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=Br(r.type)),u=nn(El);try{const m=xo(!1),y=o();return xo(m),function yD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ze(),i,y),y}finally{nn(u)}}function Im(e,t,n){const r=e+22,i=ze(),o=sr(i,r);return mu(i,r)?bm(i,T(),t,o.transform,n,o):o.transform(n)}function Om(e,t,n,r){const i=e+22,o=ze(),u=sr(o,i);return mu(o,i)?wm(o,T(),t,u.transform,n,r,u):u.transform(n,r)}function Pm(e,t,n,r,i){const o=e+22,u=ze(),m=sr(u,o);return mu(u,o)?Am(u,T(),t,m.transform,n,r,i,m):m.transform(n,r,i)}function xm(e,t,n,r,i,o){const u=e+22,m=ze(),y=sr(m,u);return mu(m,u)?Tm(m,T(),t,y.transform,n,r,i,o,y):y.transform(n,r,i,o)}function mu(e,t){return e[1].data[t].pure}function hf(e){return t=>{setTimeout(e,void 0,t)}}const js=class CC extends l.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,o=n||(()=>null),u=r;if(t&&"object"==typeof t){const y=t;i=y.next?.bind(y),o=y.error?.bind(y),u=y.complete?.bind(y)}this.__isAsync&&(o=hf(o),i&&(i=hf(i)),u&&(u=hf(u)));const m=super.subscribe({next:i,error:o,complete:u});return t instanceof d.w0&&t.add(m),m}};function EC(){return this._results[tl()]()}class ac{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=tl(),r=ac.prototype;r[n]||(r[n]=EC)}get changes(){return this._changes||(this._changes=new js)}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=xr(t);(this._changesDetected=!function Is(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let yu=(()=>{class e{}return e.__NG_ELEMENT_ID__=AC,e})();const bC=yu,wC=class extends bC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=Gu(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(i[19]=u.createEmbeddedView(r)),zu(r,i,t),new su(i)}};function AC(){return lc(Sn(),ze())}function lc(e,t){return 4&e.type?new wC(t,e,_l(e,t)):null}let uc=(()=>{class e{}return e.__NG_ELEMENT_ID__=TC,e})();function TC(){return Fm(Sn(),ze())}const MC=uc,Rm=class extends MC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return _l(this._hostTNode,this._hostLView)}get injector(){return new _i(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ki(this._hostTNode,this._hostLView);if(ga(t)){const n=lr(t,this._hostLView),r=Po(t);return new _i(n[1].data[r+8],n)}return new _i(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Nm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const u=t.createEmbeddedView(n||{},o);return this.insert(u,i),u}createComponent(t,n,r,i,o){const u=t&&!function Gr(e){return"function"==typeof e}(t);let m;if(u)m=n;else{const V=n||{};m=V.index,r=V.injector,i=V.projectableNodes,o=V.environmentInjector||V.ngModuleRef}const y=u?t:new au(Pe(t)),I=r||this.parentInjector;if(!o&&null==y.ngModule){const ue=(u?I:this.parentInjector).get(Ns,null);ue&&(o=ue)}const R=y.create(I,i,void 0,o);return this.insert(R.hostView,m),R}insert(t,n){const r=t._lView,i=r[1];if(function A(e){return Kn(e[3])}(r)){const R=this.indexOf(t);if(-1!==R)this.detach(R);else{const V=r[3],ue=new Rm(V,V[6],V[3]);ue.detach(ue.indexOf(t))}}const o=this._adjustIndex(n),u=this._lContainer;!function I_(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],ya(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const u=t[17];null!==u&&n!==u&&function O_(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(u,t);const m=t[19];null!==m&&m.insertView(e),t[2]|=64}(i,r,u,o);const m=od(o,u),y=r[11],I=Lu(y,u[7]);return null!==I&&function T_(e,t,n,r,i,o){r[0]=i,r[6]=t,iu(e,r,n,1,i,o)}(i,u[6],y,r,I,m),t.attachToViewContainerRef(),ya(pf(u),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Nm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=nd(this._lContainer,n);r&&(f(pf(this._lContainer),n),_h(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=nd(this._lContainer,n);return r&&null!=f(pf(this._lContainer),n)?new su(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Nm(e){return e[8]}function pf(e){return e[8]||(e[8]=[])}function Fm(e,t){let n;const r=t[e.index];if(Kn(r))n=r;else{let i;if(8&e.type)i=xn(r);else{const o=t[11];i=o.createComment("");const u=or(e,t);Xa(o,Lu(o,u),i,function N_(e,t){return e.nextSibling(t)}(o,u),!1)}t[e.index]=n=vp(r,t,i,e),Wu(t,n)}return new Rm(n,e,t)}class gf{constructor(t){this.queryList=t,this.matches=null}clone(){return new gf(this.queryList)}setDirty(){this.queryList.setDirty()}}class mf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const u=n.getByIndex(o);i.push(this.queries[u.indexInDeclarationView].clone())}return new mf(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!==Gm(t,n).matches&&this.queries[n].setDirty()}}class km{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class yf{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 yf(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 _f{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 _f(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,OC(n,o)),this.matchTNodeWithReadOption(t,n,Fo(n,t,o,!1,!1))}else r===yu?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Fo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===eu||i===uc||i===yu&&4&n.type)this.addMatch(n.index,-2);else{const o=Fo(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 OC(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 xC(e,t,n,r){return-1===n?function PC(e,t){return 11&e.type?_l(e,t):4&e.type?lc(e,t):null}(t,e):-2===n?function RC(e,t,n){return n===eu?_l(t,e):n===yu?lc(t,e):n===uc?Fm(t,e):void 0}(e,t,r):ho(e,e[1],n,t)}function Lm(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const o=e.data,u=n.matches,m=[];for(let y=0;y<u.length;y+=2){const I=u[y];m.push(I<0?null:xC(t,o[I],u[y+1],n.metadata.read))}i.matches=m}return i.matches}function vf(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const u=Lm(e,t,i,n);for(let m=0;m<o.length;m+=2){const y=o[m];if(y>0)r.push(u[m/2]);else{const I=o[m+1],R=t[-y];for(let V=10;V<R.length;V++){const ue=R[V];ue[17]===ue[3]&&vf(ue[1],ue,I,r)}if(null!==R[9]){const V=R[9];for(let ue=0;ue<V.length;ue++){const Ae=V[ue];vf(Ae[1],Ae,I,r)}}}}}return r}function Vm(e){const t=ze(),n=Bt(),r=xi();uo(r+1);const i=Gm(n,r);if(e.dirty&&E(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?vf(n,t,r,[]):Lm(n,t,i,r);e.reset(o,Gy),e.notifyOnChanges()}return!0}return!1}function Bm(e,t,n){const r=Bt();r.firstCreatePass&&($m(r,new km(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),jm(r,ze(),t)}function Um(e,t,n,r){const i=Bt();if(i.firstCreatePass){const o=Sn();$m(i,new km(t,n,r),o.index),function FC(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)}jm(i,ze(),n)}function Hm(){return function NC(e,t){return e[19].queries[t].queryList}(ze(),xi())}function jm(e,t,n){const r=new ac(4==(4&n));cp(e,t,r,r.destroy),null===t[19]&&(t[19]=new mf),t[19].queries.push(new gf(r))}function $m(e,t,n){null===e.queries&&(e.queries=new yf),e.queries.track(new _f(t,n))}function Gm(e,t){return e.queries.getByIndex(t)}function zm(e,t){return lc(e,t)}function Ul(e){const t=Pe(e)||De(e)||ft(e);return null!==t&&t.standalone}const tE=Di("Input",e=>({bindingPropertyName:e})),nE=Di("Output",e=>({bindingPropertyName:e})),rE=Di("HostListener",(e,t)=>({eventName:e,args:t}));function dc(...e){}const cy=new hn("Application Initializer");let fc=(()=>{class e{constructor(n){this.appInits=n,this.resolve=dc,this.reject=dc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if($d(o))n.push(o);else if(Hp(o)){const u=new Promise((m,y)=>{o.subscribe({complete:m,error:y})});n.push(u)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(nr(cy,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const dy=new hn("AppId",{providedIn:"root",factory:function fy(){return`${wf()}${wf()}${wf()}`}});function wf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const hy=new hn("Platform Initializer"),iE=new hn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),py=new hn("appBootstrapListener"),oE=new hn("AnimationModuleType");let sE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const hc=new hn("LocaleId",{providedIn:"root",factory:()=>va(hc,Ct.Optional|Ct.SkipSelf)||function aE(){return typeof $localize<"u"&&$localize.locale||kl}()}),lE=new hn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class uE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let cE=(()=>{class e{compileModuleSync(n){return new cf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=la(Tt(n).declarations).reduce((u,m)=>{const y=Pe(m);return y&&u.push(new au(y)),u},[]);return new uE(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const hE=(()=>Promise.resolve(0))();function Af(e){typeof Zone>"u"?hE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class vo{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new js(!1),this.onMicrotaskEmpty=new js(!1),this.onStable=new js(!1),this.onError=new js(!1),typeof Zone>"u")throw new Se(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new o("Angular"))}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 pE(){let e=be.requestAnimationFrame,t=be.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function yE(e){const t=()=>{!function mE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(be,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Mf(e),e.isCheckStableRunning=!0,Tf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Mf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,u,m)=>{try{return yy(e),n.invokeTask(i,o,u,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),_y(e)}},onInvoke:(n,r,i,o,u,m,y)=>{try{return yy(e),n.invoke(i,o,u,m,y)}finally{e.shouldCoalesceRunChangeDetection&&t(),_y(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Mf(e),Tf(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(!vo.isInAngularZone())throw new Se(909,!1)}static assertNotInAngularZone(){if(vo.isInAngularZone())throw new Se(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,u=o.scheduleEventTask("NgZoneEvent: "+i,t,gE,dc,dc);try{return o.runTask(u,n,r)}finally{o.cancelTask(u)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const gE={};function Tf(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 Mf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function yy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function _y(e){e._nesting--,Tf(e)}class _E{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new js,this.onMicrotaskEmpty=new js,this.onStable=new js,this.onError=new js}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 vy=new hn(""),Dy=new hn("");let Sf,vE=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Sf||(function DE(e){Sf=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{vo.assertNotInAngularZone(),Af(()=>{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())Af(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(nr(vo),nr(Cy),nr(Dy))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Cy=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Sf?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Sa=null;const Ey=new hn("AllowMultipleToken"),If=new hn("PlatformDestroyListeners");class bE{constructor(t,n){this.name=t,this.token=n}}function wy(e,t,n=[]){const r=`Platform: ${t}`,i=new hn(r);return(o=[])=>{let u=Of();if(!u||u.injector.get(Ey,!1)){const m=[...n,...o,{provide:i,useValue:!0}];e?e(m):function wE(e){if(Sa&&!Sa.get(Ey,!1))throw new Se(400,!1);Sa=e;const t=e.get(Ty);(function by(e){const t=e.get(hy,null);t&&t.forEach(n=>n())})(e)}(function Ay(e=[],t){return el.create({name:t,providers:[{provide:yo,useValue:"platform"},{provide:If,useValue:new Set([()=>Sa=null])},...e]})}(m,r))}return function TE(e){const t=Of();if(!t)throw new Se(401,!1);return t}()}}function Of(){return Sa?.get(Ty)??null}let Ty=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function ME(e,t){let n;return n="noop"===e?new _E:("zone.js"===e?void 0:e)||new vo(t),n}(r?.ngZone,function My(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:vo,useValue:i}];return i.run(()=>{const u=el.create({providers:o,parent:this.injector,name:n.moduleType.name}),m=n.create(u),y=m.injector.get(tu,null);if(!y)throw new Se(402,!1);return i.runOutsideAngular(()=>{const I=i.onError.subscribe({next:R=>{y.handleError(R)}});m.onDestroy(()=>{gc(this._modules,m),I.unsubscribe()})}),function Sy(e,t,n){try{const r=n();return $d(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(y,i,()=>{const I=m.injector.get(fc);return I.runInitializers(),I.donePromise.then(()=>(function Lg(e){kt(e,"Expected localeId to be defined"),"string"==typeof e&&(kg=e.toLowerCase().replace(/_/g,"-"))}(m.injector.get(hc,kl)||kl),this._moduleDoBootstrap(m),m))})})}bootstrapModule(n,r=[]){const i=Iy({},r);return function CE(e,t,n){const r=new cf(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(pc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Se(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Se(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(If,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(nr(el))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Iy(e,t){return Array.isArray(t)?t.reduce(Iy,e):{...e,...t}}let pc=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new $.y(m=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{m.next(this._stable),m.complete()})}),u=new $.y(m=>{let y;this._zone.runOutsideAngular(()=>{y=this._zone.onStable.subscribe(()=>{vo.assertNotInAngularZone(),Af(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,m.next(!0))})})});const I=this._zone.onUnstable.subscribe(()=>{vo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{m.next(!1)}))});return()=>{y.unsubscribe(),I.unsubscribe()}});this.isStable=(0,z.T)(o,u.pipe((0,G.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof ks;if(!this._injector.get(fc).done)throw!i&&Ul(n),new Se(405,false);let u;u=i?n:this._injector.get(Xl).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const m=function EE(e){return e.isBoundToModule}(u)?void 0:this._injector.get(Vl),I=u.create(el.NULL,[],r||u.selector,m),R=I.location.nativeElement,V=I.injector.get(vy,null);return V?.registerApplication(R),I.onDestroy(()=>{this.detachView(I.hostView),gc(this.components,I),V?.unregisterApplication(R)}),this._loadComponent(I),I}tick(){if(this._runningTick)throw new Se(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;gc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(py,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>gc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Se(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(nr(vo),nr(Ns),nr(tu))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function gc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Py=!0,xy=!1;function IE(){return xy=!0,Py}function OE(){if(xy)throw new Error("Cannot enable prod mode after platform setup.");Py=!1}let PE=(()=>{class e{}return e.__NG_ELEMENT_ID__=xE,e})();function xE(e){return function RE(e,t,n){if(Lr(e)&&!n){const r=cr(e.index,t);return new su(r,r)}return 47&e.type?new su(t[16],t):null}(Sn(),ze(),16==(16&e))}class ky{constructor(){}supports(t){return lu(t)}create(t){return new BE(t)}}const VE=(e,t)=>t;class BE{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||VE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const u=!r||n&&n.currentIndex<Vy(r,i,o)?n:r,m=Vy(u,i,o),y=u.currentIndex;if(u===r)i--,r=r._nextRemoved;else if(n=n._next,null==u.previousIndex)i++;else{o||(o=[]);const I=m-i,R=y-i;if(I!=R){for(let ue=0;ue<I;ue++){const Ae=ue<o.length?o[ue]:o[ue]=0,Ke=Ae+ue;R<=Ke&&Ke<I&&(o[ue]=Ae+1)}o[u.previousIndex]=R-I}}m!==y&&t(u,m,y)}}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=[]),!lu(t))throw new Se(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,u,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let m=0;m<this.length;m++)o=t[m],u=this._trackByFn(m,o),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,o,u,m)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,u,m),r=!0),n=n._next}else i=0,function fD(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[tl()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,m=>{u=this._trackByFn(i,m),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,m,u,i)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,u,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new UE(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 Ly),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 Ly),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 UE{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 HE{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 Ly{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new HE,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 Vy(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 By{constructor(){}supports(t){return t instanceof Map||Ld(t)}create(){return new jE}}class jE{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||Ld(t)))throw new Se(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,u=i._next;return o&&(o._next=u),u&&(u._prev=o),i._next=null,i._prev=null,i}const r=new $E(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 $E{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 Uy(){return new Ff([new ky])}let Ff=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Uy()),deps:[[e,new Dt,new Ie]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Se(901,!1)}}return e.\u0275prov=de({token:e,providedIn:"root",factory:Uy}),e})();function Hy(){return new kf([new By])}let kf=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Hy()),deps:[[e,new Dt,new Ie]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Se(901,!1)}}return e.\u0275prov=de({token:e,providedIn:"root",factory:Hy}),e})();const WE=wy(null,"core",[]);let KE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(nr(pc))},e.\u0275mod=Wt({type:e}),e.\u0275inj=st({}),e})();function ZE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},433:(rt,ye,S)=>{S.d(ye,{Wl:()=>Me,Fj:()=>Oe,oH:()=>Zr,sg:()=>oi,u5:()=>Sn,nD:()=>Rn,Cf:()=>Be,JU:()=>Se,a5:()=>Vn,JJ:()=>Ue,JL:()=>ee,F:()=>Xn,On:()=>Go,YN:()=>To,wV:()=>Vr,UX:()=>Or,Q7:()=>ke,EJ:()=>Yr,p4:()=>Do,kI:()=>se,_Y:()=>io,Kr:()=>or});var l=S(4650),d=S(6895),$=S(9751),z=S(4742),G=S(8421),Q=S(3269),q=S(5403),ie=S(3268),fe=S(1810),L=S(8996),ne=S(4004);let Ve=(()=>{class T{constructor(D,F){this._renderer=D,this._elementRef=F,this.onChange=Fe=>{},this.onTouched=()=>{}}setProperty(D,F){this._renderer.setProperty(this._elementRef.nativeElement,D,F)}registerOnTouched(D){this.onTouched=D}registerOnChange(D){this.onChange=D}setDisabledState(D){this.setProperty("disabled",D)}}return T.\u0275fac=function(D){return new(D||T)(l.Y36(l.Qsj),l.Y36(l.SBq))},T.\u0275dir=l.lG2({type:T}),T})(),Ne=(()=>{class T extends Ve{}return T.\u0275fac=function(){let C;return function(F){return(C||(C=l.n5z(T)))(F||T)}}(),T.\u0275dir=l.lG2({type:T,features:[l.qOj]}),T})();const Se=new l.OlP("NgValueAccessor"),Ye={provide:Se,useExisting:(0,l.Gpc)(()=>Me),multi:!0};let Me=(()=>{class T extends Ne{writeValue(D){this.setProperty("checked",D)}}return T.\u0275fac=function(){let C;return function(F){return(C||(C=l.n5z(T)))(F||T)}}(),T.\u0275dir=l.lG2({type:T,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(D,F){1&D&&l.NdJ("change",function(It){return F.onChange(It.target.checked)})("blur",function(){return F.onTouched()})},features:[l._Bn([Ye]),l.qOj]}),T})();const he={provide:Se,useExisting:(0,l.Gpc)(()=>Oe),multi:!0},nt=new l.OlP("CompositionEventMode");let Oe=(()=>{class T extends Ve{constructor(D,F,Fe){super(D,F),this._compositionMode=Fe,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function et(){const T=(0,d.q)()?(0,d.q)().getUserAgent():"";return/android (\d+)/.test(T.toLowerCase())}())}writeValue(D){this.setProperty("value",D??"")}_handleInput(D){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(D)}_compositionStart(){this._composing=!0}_compositionEnd(D){this._composing=!1,this._compositionMode&&this.onChange(D)}}return T.\u0275fac=function(D){return new(D||T)(l.Y36(l.Qsj),l.Y36(l.SBq),l.Y36(nt,8))},T.\u0275dir=l.lG2({type:T,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(D,F){1&D&&l.NdJ("input",function(It){return F._handleInput(It.target.value)})("blur",function(){return F.onTouched()})("compositionstart",function(){return F._compositionStart()})("compositionend",function(It){return F._compositionEnd(It.target.value)})},features:[l._Bn([he]),l.qOj]}),T})();function Ce(T){return null==T||("string"==typeof T||Array.isArray(T))&&0===T.length}function Ge(T){return null!=T&&"number"==typeof T.length}const Be=new l.OlP("NgValidators"),ve=new l.OlP("NgAsyncValidators"),Ee=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class se{static min(C){return function ge(T){return C=>{if(Ce(C.value)||Ce(T))return null;const D=parseFloat(C.value);return!isNaN(D)&&D<T?{min:{min:T,actual:C.value}}:null}}(C)}static max(C){return function Te(T){return C=>{if(Ce(C.value)||Ce(T))return null;const D=parseFloat(C.value);return!isNaN(D)&&D>T?{max:{max:T,actual:C.value}}:null}}(C)}static required(C){return le(C)}static requiredTrue(C){return function $e(T){return!0===T.value?null:{required:!0}}(C)}static email(C){return function Je(T){return Ce(T.value)||Ee.test(T.value)?null:{email:!0}}(C)}static minLength(C){return function yt(T){return C=>Ce(C.value)||!Ge(C.value)?null:C.value.length<T?{minlength:{requiredLength:T,actualLength:C.value.length}}:null}(C)}static maxLength(C){return Nt(C)}static pattern(C){return function kt(T){if(!T)return lt;let C,D;return"string"==typeof T?(D="","^"!==T.charAt(0)&&(D+="^"),D+=T,"$"!==T.charAt(T.length-1)&&(D+="$"),C=new RegExp(D)):(D=T.toString(),C=T),F=>{if(Ce(F.value))return null;const Fe=F.value;return C.test(Fe)?null:{pattern:{requiredPattern:D,actualValue:Fe}}}}(C)}static nullValidator(C){return null}static compose(C){return at(C)}static composeAsync(C){return gn(C)}}function le(T){return Ce(T.value)?{required:!0}:null}function Nt(T){return C=>Ge(C.value)&&C.value.length>T?{maxlength:{requiredLength:T,actualLength:C.value.length}}:null}function lt(T){return null}function Ht(T){return null!=T}function We(T){return(0,l.QGY)(T)?(0,L.D)(T):T}function qe(T){let C={};return T.forEach(D=>{C=null!=D?{...C,...D}:C}),0===Object.keys(C).length?null:C}function de(T,C){return C.map(D=>D(T))}function st(T){return T.map(C=>function Re(T){return!T.validate}(C)?C:D=>C.validate(D))}function at(T){if(!T)return null;const C=T.filter(Ht);return 0==C.length?null:function(D){return qe(de(D,C))}}function Nn(T){return null!=T?at(st(T)):null}function gn(T){if(!T)return null;const C=T.filter(Ht);return 0==C.length?null:function(D){return function B(...T){const C=(0,Q.jO)(T),{args:D,keys:F}=(0,z.D)(T),Fe=new $.y(It=>{const{length:kn}=D;if(!kn)return void It.complete();const jr=new Array(kn);let ar=kn,ai=kn;for(let pi=0;pi<kn;pi++){let xi=!1;(0,G.Xf)(D[pi]).subscribe((0,q.x)(It,uo=>{xi||(xi=!0,ai--),jr[pi]=uo},()=>ar--,void 0,()=>{(!ar||!xi)&&(ai||It.next(F?(0,fe.n)(F,jr):jr),It.complete())}))}});return C?Fe.pipe((0,ie.Z)(C)):Fe}(de(D,C).map(We)).pipe((0,ne.U)(qe))}}function Ln(T){return null!=T?gn(st(T)):null}function ur(T,C){return null===T?[C]:Array.isArray(T)?[...T,C]:[T,C]}function mn(T){return T._rawValidators}function Un(T){return T._rawAsyncValidators}function Dn(T){return T?Array.isArray(T)?T:[T]:[]}function Hn(T,C){return Array.isArray(T)?T.includes(C):T===C}function Ct(T,C){const D=Dn(C);return Dn(T).forEach(Fe=>{Hn(D,Fe)||D.push(Fe)}),D}function xt(T,C){return Dn(C).filter(D=>!Hn(T,D))}class pn{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(C){this._rawValidators=C||[],this._composedValidatorFn=Nn(this._rawValidators)}_setAsyncValidators(C){this._rawAsyncValidators=C||[],this._composedAsyncValidatorFn=Ln(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(C){this._onDestroyCallbacks.push(C)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(C=>C()),this._onDestroyCallbacks=[]}reset(C){this.control&&this.control.reset(C)}hasError(C,D){return!!this.control&&this.control.hasError(C,D)}getError(C,D){return this.control?this.control.getError(C,D):null}}class nn extends pn{get formDirective(){return null}get path(){return null}}class Vn extends pn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class pr{constructor(C){this._cd=C}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ue=(()=>{class T extends pr{constructor(D){super(D)}}return T.\u0275fac=function(D){return new(D||T)(l.Y36(Vn,2))},T.\u0275dir=l.lG2({type:T,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(D,F){2&D&&l.ekj("ng-untouched",F.isUntouched)("ng-touched",F.isTouched)("ng-pristine",F.isPristine)("ng-dirty",F.isDirty)("ng-valid",F.isValid)("ng-invalid",F.isInvalid)("ng-pending",F.isPending)},features:[l.qOj]}),T})(),ee=(()=>{class T extends pr{constructor(D){super(D)}}return T.\u0275fac=function(D){return new(D||T)(l.Y36(nn,10))},T.\u0275dir=l.lG2({type:T,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(D,F){2&D&&l.ekj("ng-untouched",F.isUntouched)("ng-touched",F.isTouched)("ng-pristine",F.isPristine)("ng-dirty",F.isDirty)("ng-valid",F.isValid)("ng-invalid",F.isInvalid)("ng-pending",F.isPending)("ng-submitted",F.isSubmitted)},features:[l.qOj]}),T})();const Jt="VALID",X="INVALID",K="PENDING",ce="DISABLED";function Pe(T){return(Kt(T)?T.validators:T)||null}function De(T){return Array.isArray(T)?Nn(T):T||null}function ft(T,C){return(Kt(C)?C.asyncValidators:T)||null}function Tt(T){return Array.isArray(T)?Ln(T):T||null}function Kt(T){return null!=T&&!Array.isArray(T)&&"object"==typeof T}class tn{constructor(C,D){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=C,this._rawAsyncValidators=D,this._composedValidatorFn=De(this._rawValidators),this._composedAsyncValidatorFn=Tt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(C){this._rawValidators=this._composedValidatorFn=C}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(C){this._rawAsyncValidators=this._composedAsyncValidatorFn=C}get parent(){return this._parent}get valid(){return this.status===Jt}get invalid(){return this.status===X}get pending(){return this.status==K}get disabled(){return this.status===ce}get enabled(){return this.status!==ce}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(C){this._rawValidators=C,this._composedValidatorFn=De(C)}setAsyncValidators(C){this._rawAsyncValidators=C,this._composedAsyncValidatorFn=Tt(C)}addValidators(C){this.setValidators(Ct(C,this._rawValidators))}addAsyncValidators(C){this.setAsyncValidators(Ct(C,this._rawAsyncValidators))}removeValidators(C){this.setValidators(xt(C,this._rawValidators))}removeAsyncValidators(C){this.setAsyncValidators(xt(C,this._rawAsyncValidators))}hasValidator(C){return Hn(this._rawValidators,C)}hasAsyncValidator(C){return Hn(this._rawAsyncValidators,C)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(C={}){this.touched=!0,this._parent&&!C.onlySelf&&this._parent.markAsTouched(C)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(C=>C.markAllAsTouched())}markAsUntouched(C={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(D=>{D.markAsUntouched({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}markAsDirty(C={}){this.pristine=!1,this._parent&&!C.onlySelf&&this._parent.markAsDirty(C)}markAsPristine(C={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(D=>{D.markAsPristine({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}markAsPending(C={}){this.status=K,!1!==C.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!C.onlySelf&&this._parent.markAsPending(C)}disable(C={}){const D=this._parentMarkedDirty(C.onlySelf);this.status=ce,this.errors=null,this._forEachChild(F=>{F.disable({...C,onlySelf:!0})}),this._updateValue(),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...C,skipPristineCheck:D}),this._onDisabledChange.forEach(F=>F(!0))}enable(C={}){const D=this._parentMarkedDirty(C.onlySelf);this.status=Jt,this._forEachChild(F=>{F.enable({...C,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent}),this._updateAncestors({...C,skipPristineCheck:D}),this._onDisabledChange.forEach(F=>F(!1))}_updateAncestors(C){this._parent&&!C.onlySelf&&(this._parent.updateValueAndValidity(C),C.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(C){this._parent=C}getRawValue(){return this.value}updateValueAndValidity(C={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Jt||this.status===K)&&this._runAsyncValidator(C.emitEvent)),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.updateValueAndValidity(C)}_updateTreeValidity(C={emitEvent:!0}){this._forEachChild(D=>D._updateTreeValidity(C)),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ce:Jt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(C){if(this.asyncValidator){this.status=K,this._hasOwnPendingAsyncValidator=!0;const D=We(this.asyncValidator(this));this._asyncValidationSubscription=D.subscribe(F=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(F,{emitEvent:C})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(C,D={}){this.errors=C,this._updateControlsErrors(!1!==D.emitEvent)}get(C){let D=C;return null==D||(Array.isArray(D)||(D=D.split(".")),0===D.length)?null:D.reduce((F,Fe)=>F&&F._find(Fe),this)}getError(C,D){const F=D?this.get(D):this;return F&&F.errors?F.errors[C]:null}hasError(C,D){return!!this.getError(C,D)}get root(){let C=this;for(;C._parent;)C=C._parent;return C}_updateControlsErrors(C){this.status=this._calculateStatus(),C&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(C)}_initObservables(){this.valueChanges=new l.vpe,this.statusChanges=new l.vpe}_calculateStatus(){return this._allControlsDisabled()?ce:this.errors?X:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(K)?K:this._anyControlsHaveStatus(X)?X:Jt}_anyControlsHaveStatus(C){return this._anyControls(D=>D.status===C)}_anyControlsDirty(){return this._anyControls(C=>C.dirty)}_anyControlsTouched(){return this._anyControls(C=>C.touched)}_updatePristine(C={}){this.pristine=!this._anyControlsDirty(),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}_updateTouched(C={}){this.touched=this._anyControlsTouched(),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}_registerOnCollectionChange(C){this._onCollectionChange=C}_setUpdateStrategy(C){Kt(C)&&null!=C.updateOn&&(this._updateOn=C.updateOn)}_parentMarkedDirty(C){return!C&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(C){return null}}class re extends tn{constructor(C,D,F){super(Pe(D),ft(F,D)),this.controls=C,this._initObservables(),this._setUpdateStrategy(D),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(C,D){return this.controls[C]?this.controls[C]:(this.controls[C]=D,D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange),D)}addControl(C,D,F={}){this.registerControl(C,D),this.updateValueAndValidity({emitEvent:F.emitEvent}),this._onCollectionChange()}removeControl(C,D={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],this.updateValueAndValidity({emitEvent:D.emitEvent}),this._onCollectionChange()}setControl(C,D,F={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],D&&this.registerControl(C,D),this.updateValueAndValidity({emitEvent:F.emitEvent}),this._onCollectionChange()}contains(C){return this.controls.hasOwnProperty(C)&&this.controls[C].enabled}setValue(C,D={}){(function _t(T,C,D){T._forEachChild((F,Fe)=>{if(void 0===D[Fe])throw new l.vHH(1002,"")})})(this,0,C),Object.keys(C).forEach(F=>{(function it(T,C,D){const F=T.controls;if(!(C?Object.keys(F):F).length)throw new l.vHH(1e3,"");if(!F[D])throw new l.vHH(1001,"")})(this,!0,F),this.controls[F].setValue(C[F],{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D)}patchValue(C,D={}){null!=C&&(Object.keys(C).forEach(F=>{const Fe=this.controls[F];Fe&&Fe.patchValue(C[F],{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D))}reset(C={},D={}){this._forEachChild((F,Fe)=>{F.reset(C[Fe],{onlySelf:!0,emitEvent:D.emitEvent})}),this._updatePristine(D),this._updateTouched(D),this.updateValueAndValidity(D)}getRawValue(){return this._reduceChildren({},(C,D,F)=>(C[F]=D.getRawValue(),C))}_syncPendingControls(){let C=this._reduceChildren(!1,(D,F)=>!!F._syncPendingControls()||D);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){Object.keys(this.controls).forEach(D=>{const F=this.controls[D];F&&C(F,D)})}_setUpControls(){this._forEachChild(C=>{C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(C){for(const[D,F]of Object.entries(this.controls))if(this.contains(D)&&C(F))return!0;return!1}_reduceValue(){return this._reduceChildren({},(D,F,Fe)=>((F.enabled||this.disabled)&&(D[Fe]=F.value),D))}_reduceChildren(C,D){let F=C;return this._forEachChild((Fe,It)=>{F=D(F,Fe,It)}),F}_allControlsDisabled(){for(const C of Object.keys(this.controls))if(this.controls[C].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(C){return this.controls.hasOwnProperty(C)?this.controls[C]:null}}function Gt(T,C){gr(T,C),C.valueAccessor.writeValue(T.value),T.disabled&&C.valueAccessor.setDisabledState?.(!0),function Bn(T,C){C.valueAccessor.registerOnChange(D=>{T._pendingValue=D,T._pendingChange=!0,T._pendingDirty=!0,"change"===T.updateOn&&Cr(T,C)})}(T,C),function Wn(T,C){const D=(F,Fe)=>{C.valueAccessor.writeValue(F),Fe&&C.viewToModelUpdate(F)};T.registerOnChange(D),C._registerOnDestroy(()=>{T._unregisterOnChange(D)})}(T,C),function Wr(T,C){C.valueAccessor.registerOnTouched(()=>{T._pendingTouched=!0,"blur"===T.updateOn&&T._pendingChange&&Cr(T,C),"submit"!==T.updateOn&&T.markAsTouched()})}(T,C),function Mr(T,C){if(C.valueAccessor.setDisabledState){const D=F=>{C.valueAccessor.setDisabledState(F)};T.registerOnDisabledChange(D),C._registerOnDestroy(()=>{T._unregisterOnDisabledChange(D)})}}(T,C)}function bt(T,C,D=!0){const F=()=>{};C.valueAccessor&&(C.valueAccessor.registerOnChange(F),C.valueAccessor.registerOnTouched(F)),Zn(T,C),T&&(C._invokeOnDestroyCallbacks(),T._registerOnCollectionChange(()=>{}))}function Fn(T,C){T.forEach(D=>{D.registerOnValidatorChange&&D.registerOnValidatorChange(C)})}function gr(T,C){const D=mn(T);null!==C.validator?T.setValidators(ur(D,C.validator)):"function"==typeof D&&T.setValidators([D]);const F=Un(T);null!==C.asyncValidator?T.setAsyncValidators(ur(F,C.asyncValidator)):"function"==typeof F&&T.setAsyncValidators([F]);const Fe=()=>T.updateValueAndValidity();Fn(C._rawValidators,Fe),Fn(C._rawAsyncValidators,Fe)}function Zn(T,C){let D=!1;if(null!==T){if(null!==C.validator){const Fe=mn(T);if(Array.isArray(Fe)&&Fe.length>0){const It=Fe.filter(kn=>kn!==C.validator);It.length!==Fe.length&&(D=!0,T.setValidators(It))}}if(null!==C.asyncValidator){const Fe=Un(T);if(Array.isArray(Fe)&&Fe.length>0){const It=Fe.filter(kn=>kn!==C.asyncValidator);It.length!==Fe.length&&(D=!0,T.setAsyncValidators(It))}}}const F=()=>{};return Fn(C._rawValidators,F),Fn(C._rawAsyncValidators,F),D}function Cr(T,C){T._pendingDirty&&T.markAsDirty(),T.setValue(T._pendingValue,{emitModelToViewChange:!1}),C.viewToModelUpdate(T._pendingValue),T._pendingChange=!1}function Yn(T,C){gr(T,C)}function qn(T,C){if(!T.hasOwnProperty("model"))return!1;const D=T.model;return!!D.isFirstChange()||!Object.is(C,D.currentValue)}function Fr(T,C){T._syncPendingControls(),C.forEach(D=>{const F=D.control;"submit"===F.updateOn&&F._pendingChange&&(D.viewToModelUpdate(F._pendingValue),F._pendingChange=!1)})}function kr(T,C){if(!C)return null;let D,F,Fe;return Array.isArray(C),C.forEach(It=>{It.constructor===Oe?D=It:function ri(T){return Object.getPrototypeOf(T.constructor)===Ne}(It)?F=It:Fe=It}),Fe||F||D||null}const Pn={provide:nn,useExisting:(0,l.Gpc)(()=>Xn)},Kn=(()=>Promise.resolve(null))();let Xn=(()=>{class T extends nn{constructor(D,F){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new l.vpe,this.form=new re({},Nn(D),Ln(F))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(D){Kn.then(()=>{const F=this._findContainer(D.path);D.control=F.registerControl(D.name,D.control),Gt(D.control,D),D.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(D)})}getControl(D){return this.form.get(D.path)}removeControl(D){Kn.then(()=>{const F=this._findContainer(D.path);F&&F.removeControl(D.name),this._directives.delete(D)})}addFormGroup(D){Kn.then(()=>{const F=this._findContainer(D.path),Fe=new re({});Yn(Fe,D),F.registerControl(D.name,Fe),Fe.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(D){Kn.then(()=>{const F=this._findContainer(D.path);F&&F.removeControl(D.name)})}getFormGroup(D){return this.form.get(D.path)}updateModel(D,F){Kn.then(()=>{this.form.get(D.path).setValue(F)})}setValue(D){this.control.setValue(D)}onSubmit(D){return this.submitted=!0,Fr(this.form,this._directives),this.ngSubmit.emit(D),!1}onReset(){this.resetForm()}resetForm(D){this.form.reset(D),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(D){return D.pop(),D.length?this.form.get(D):this.form}}return T.\u0275fac=function(D){return new(D||T)(l.Y36(Be,10),l.Y36(ve,10))},T.\u0275dir=l.lG2({type:T,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(D,F){1&D&&l.NdJ("submit",function(It){return F.onSubmit(It)})("reset",function(){return F.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([Pn]),l.qOj]}),T})();function Lr(T,C){const D=T.indexOf(C);D>-1&&T.splice(D,1)}function Kr(T){return"object"==typeof T&&null!==T&&2===Object.keys(T).length&&"value"in T&&"disabled"in T}const Qn=class extends tn{constructor(C=null,D,F){super(Pe(D),ft(F,D)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(C),this._setUpdateStrategy(D),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Kt(D)&&(D.nonNullable||D.initialValueIsDefault)&&(this.defaultValue=Kr(C)?C.value:C)}setValue(C,D={}){this.value=this._pendingValue=C,this._onChange.length&&!1!==D.emitModelToViewChange&&this._onChange.forEach(F=>F(this.value,!1!==D.emitViewToModelChange)),this.updateValueAndValidity(D)}patchValue(C,D={}){this.setValue(C,D)}reset(C=this.defaultValue,D={}){this._applyFormState(C),this.markAsPristine(D),this.markAsUntouched(D),this.setValue(this.value,D),this._pendingChange=!1}_updateValue(){}_anyControls(C){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(C){this._onChange.push(C)}_unregisterOnChange(C){Lr(this._onChange,C)}registerOnDisabledChange(C){this._onDisabledChange.push(C)}_unregisterOnDisabledChange(C){Lr(this._onDisabledChange,C)}_forEachChild(C){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(C){Kr(C)?(this.value=this._pendingValue=C.value,C.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=C}},Do=Qn,$o={provide:Vn,useExisting:(0,l.Gpc)(()=>Go)},ro=(()=>Promise.resolve(null))();let Go=(()=>{class T extends Vn{constructor(D,F,Fe,It,kn){super(),this._changeDetectorRef=kn,this.control=new Qn,this._registered=!1,this.update=new l.vpe,this._parent=D,this._setValidators(F),this._setAsyncValidators(Fe),this.valueAccessor=kr(0,It)}ngOnChanges(D){if(this._checkForErrors(),!this._registered||"name"in D){if(this._registered&&(this._checkName(),this.formDirective)){const F=D.name.previousValue;this.formDirective.removeControl({name:F,path:this._getPath(F)})}this._setUpControl()}"isDisabled"in D&&this._updateDisabled(D),qn(D,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(D){this.viewModel=D,this.update.emit(D)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Gt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(D){ro.then(()=>{this.control.setValue(D,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(D){const F=D.isDisabled.currentValue,Fe=0!==F&&(0,l.D6c)(F);ro.then(()=>{Fe&&!this.control.disabled?this.control.disable():!Fe&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(D){return this._parent?function Mt(T,C){return[...C.path,T]}(D,this._parent):[D]}}return T.\u0275fac=function(D){return new(D||T)(l.Y36(nn,9),l.Y36(Be,10),l.Y36(ve,10),l.Y36(Se,10),l.Y36(l.sBO,8))},T.\u0275dir=l.lG2({type:T,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[l._Bn([$o]),l.qOj,l.TTD]}),T})(),io=(()=>{class T{}return T.\u0275fac=function(D){return new(D||T)},T.\u0275dir=l.lG2({type:T,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),T})();const Ui={provide:Se,useExisting:(0,l.Gpc)(()=>Vr),multi:!0};let Vr=(()=>{class T extends Ne{writeValue(D){this.setProperty("value",D??"")}registerOnChange(D){this.onChange=F=>{D(""==F?null:parseFloat(F))}}}return T.\u0275fac=function(){let C;return function(F){return(C||(C=l.n5z(T)))(F||T)}}(),T.\u0275dir=l.lG2({type:T,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(D,F){1&D&&l.NdJ("input",function(It){return F.onChange(It.target.value)})("blur",function(){return F.onTouched()})},features:[l._Bn([Ui]),l.qOj]}),T})(),Eo=(()=>{class T{}return T.\u0275fac=function(D){return new(D||T)},T.\u0275mod=l.oAB({type:T}),T.\u0275inj=l.cJS({}),T})();const Ai=new l.OlP("NgModelWithFormControlWarning"),Br={provide:Vn,useExisting:(0,l.Gpc)(()=>Zr)};let Zr=(()=>{class T extends Vn{constructor(D,F,Fe,It){super(),this._ngModelWarningConfig=It,this.update=new l.vpe,this._ngModelWarningSent=!1,this._setValidators(D),this._setAsyncValidators(F),this.valueAccessor=kr(0,Fe)}set isDisabled(D){}ngOnChanges(D){if(this._isControlChanged(D)){const F=D.form.previousValue;F&&bt(F,this,!1),Gt(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}qn(D,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&bt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(D){this.viewModel=D,this.update.emit(D)}_isControlChanged(D){return D.hasOwnProperty("form")}}return T._ngModelWarningSentOnce=!1,T.\u0275fac=function(D){return new(D||T)(l.Y36(Be,10),l.Y36(ve,10),l.Y36(Se,10),l.Y36(Ai,8))},T.\u0275dir=l.lG2({type:T,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[l._Bn([Br]),l.qOj,l.TTD]}),T})();const Ti={provide:nn,useExisting:(0,l.Gpc)(()=>oi)};let oi=(()=>{class T extends nn{constructor(D,F){super(),this.validators=D,this.asyncValidators=F,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new l.vpe,this._setValidators(D),this._setAsyncValidators(F)}ngOnChanges(D){this._checkFormPresent(),D.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Zn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(D){const F=this.form.get(D.path);return Gt(F,D),F.updateValueAndValidity({emitEvent:!1}),this.directives.push(D),F}getControl(D){return this.form.get(D.path)}removeControl(D){bt(D.control||null,D,!1),function Gn(T,C){const D=T.indexOf(C);D>-1&&T.splice(D,1)}(this.directives,D)}addFormGroup(D){this._setUpFormContainer(D)}removeFormGroup(D){this._cleanUpFormContainer(D)}getFormGroup(D){return this.form.get(D.path)}addFormArray(D){this._setUpFormContainer(D)}removeFormArray(D){this._cleanUpFormContainer(D)}getFormArray(D){return this.form.get(D.path)}updateModel(D,F){this.form.get(D.path).setValue(F)}onSubmit(D){return this.submitted=!0,Fr(this.form,this.directives),this.ngSubmit.emit(D),!1}onReset(){this.resetForm()}resetForm(D){this.form.reset(D),this.submitted=!1}_updateDomValue(){this.directives.forEach(D=>{const F=D.control,Fe=this.form.get(D.path);F!==Fe&&(bt(F||null,D),(T=>T instanceof Qn)(Fe)&&(Gt(Fe,D),D.control=Fe))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(D){const F=this.form.get(D.path);Yn(F,D),F.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(D){if(this.form){const F=this.form.get(D.path);F&&function Vi(T,C){return Zn(T,C)}(F,D)&&F.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){gr(this.form,this),this._oldForm&&Zn(this._oldForm,this)}_checkFormPresent(){}}return T.\u0275fac=function(D){return new(D||T)(l.Y36(Be,10),l.Y36(ve,10))},T.\u0275dir=l.lG2({type:T,selectors:[["","formGroup",""]],hostBindings:function(D,F){1&D&&l.NdJ("submit",function(It){return F.onSubmit(It)})("reset",function(){return F.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[l._Bn([Ti]),l.qOj,l.TTD]}),T})();const zn={provide:Se,useExisting:(0,l.Gpc)(()=>Yr),multi:!0};function mr(T,C){return null==T?`${C}`:(C&&"object"==typeof C&&(C="Object"),`${T}: ${C}`.slice(0,50))}let Yr=(()=>{class T extends Ne{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(D){this._compareWith=D}writeValue(D){this.value=D;const Fe=mr(this._getOptionId(D),D);this.setProperty("value",Fe)}registerOnChange(D){this.onChange=F=>{this.value=this._getOptionValue(F),D(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(D){for(const F of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(F),D))return F;return null}_getOptionValue(D){const F=function zo(T){return T.split(":")[0]}(D);return this._optionMap.has(F)?this._optionMap.get(F):D}}return T.\u0275fac=function(){let C;return function(F){return(C||(C=l.n5z(T)))(F||T)}}(),T.\u0275dir=l.lG2({type:T,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(D,F){1&D&&l.NdJ("change",function(It){return F.onChange(It.target.value)})("blur",function(){return F.onTouched()})},inputs:{compareWith:"compareWith"},features:[l._Bn([zn]),l.qOj]}),T})(),To=(()=>{class T{constructor(D,F,Fe){this._element=D,this._renderer=F,this._select=Fe,this._select&&(this.id=this._select._registerOption())}set ngValue(D){null!=this._select&&(this._select._optionMap.set(this.id,D),this._setElementValue(mr(this.id,D)),this._select.writeValue(this._select.value))}set value(D){this._setElementValue(D),this._select&&this._select.writeValue(this._select.value)}_setElementValue(D){this._renderer.setProperty(this._element.nativeElement,"value",D)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return T.\u0275fac=function(D){return new(D||T)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(Yr,9))},T.\u0275dir=l.lG2({type:T,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),T})();const Ii={provide:Se,useExisting:(0,l.Gpc)(()=>hi),multi:!0};function xn(T,C){return null==T?`${C}`:("string"==typeof C&&(C=`'${C}'`),C&&"object"==typeof C&&(C="Object"),`${T}: ${C}`.slice(0,50))}let hi=(()=>{class T extends Ne{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(D){this._compareWith=D}writeValue(D){let F;if(this.value=D,Array.isArray(D)){const Fe=D.map(It=>this._getOptionId(It));F=(It,kn)=>{It._setSelected(Fe.indexOf(kn.toString())>-1)}}else F=(Fe,It)=>{Fe._setSelected(!1)};this._optionMap.forEach(F)}registerOnChange(D){this.onChange=F=>{const Fe=[],It=F.selectedOptions;if(void 0!==It){const kn=It;for(let jr=0;jr<kn.length;jr++){const ai=this._getOptionValue(kn[jr].value);Fe.push(ai)}}else{const kn=F.options;for(let jr=0;jr<kn.length;jr++){const ar=kn[jr];if(ar.selected){const ai=this._getOptionValue(ar.value);Fe.push(ai)}}}this.value=Fe,D(Fe)}}_registerOption(D){const F=(this._idCounter++).toString();return this._optionMap.set(F,D),F}_getOptionId(D){for(const F of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(F)._value,D))return F;return null}_getOptionValue(D){const F=function ji(T){return T.split(":")[0]}(D);return this._optionMap.has(F)?this._optionMap.get(F)._value:D}}return T.\u0275fac=function(){let C;return function(F){return(C||(C=l.n5z(T)))(F||T)}}(),T.\u0275dir=l.lG2({type:T,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(D,F){1&D&&l.NdJ("change",function(It){return F.onChange(It.target)})("blur",function(){return F.onTouched()})},inputs:{compareWith:"compareWith"},features:[l._Bn([Ii]),l.qOj]}),T})(),or=(()=>{class T{constructor(D,F,Fe){this._element=D,this._renderer=F,this._select=Fe,this._select&&(this.id=this._select._registerOption(this))}set ngValue(D){null!=this._select&&(this._value=D,this._setElementValue(xn(this.id,D)),this._select.writeValue(this._select.value))}set value(D){this._select?(this._value=D,this._setElementValue(xn(this.id,D)),this._select.writeValue(this._select.value)):this._setElementValue(D)}_setElementValue(D){this._renderer.setProperty(this._element.nativeElement,"value",D)}_setSelected(D){this._renderer.setProperty(this._element.nativeElement,"selected",D)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return T.\u0275fac=function(D){return new(D||T)(l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(hi,9))},T.\u0275dir=l.lG2({type:T,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),T})();let sr=(()=>{class T{constructor(){this._validator=lt}ngOnChanges(D){if(this.inputName in D){const F=this.normalizeInput(D[this.inputName].currentValue);this._enabled=this.enabled(F),this._validator=this._enabled?this.createValidator(F):lt,this._onChange&&this._onChange()}}validate(D){return this._validator(D)}registerOnValidatorChange(D){this._onChange=D}enabled(D){return null!=D}}return T.\u0275fac=function(D){return new(D||T)},T.\u0275dir=l.lG2({type:T,features:[l.TTD]}),T})();const k={provide:Be,useExisting:(0,l.Gpc)(()=>ke),multi:!0};let ke=(()=>{class T extends sr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=l.D6c,this.createValidator=D=>le}enabled(D){return D}}return T.\u0275fac=function(){let C;return function(F){return(C||(C=l.n5z(T)))(F||T)}}(),T.\u0275dir=l.lG2({type:T,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(D,F){2&D&&l.uIk("required",F._enabled?"":null)},inputs:{required:"required"},features:[l._Bn([k]),l.qOj]}),T})();const ln={provide:Be,useExisting:(0,l.Gpc)(()=>Rn),multi:!0};let Rn=(()=>{class T extends sr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=D=>function Ir(T){return"number"==typeof T?T:parseInt(T,10)}(D),this.createValidator=D=>Nt(D)}}return T.\u0275fac=function(){let C;return function(F){return(C||(C=l.n5z(T)))(F||T)}}(),T.\u0275dir=l.lG2({type:T,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(D,F){2&D&&l.uIk("maxlength",F._enabled?F.maxlength:null)},inputs:{maxlength:"maxlength"},features:[l._Bn([ln]),l.qOj]}),T})(),Hr=(()=>{class T{}return T.\u0275fac=function(D){return new(D||T)},T.\u0275mod=l.oAB({type:T}),T.\u0275inj=l.cJS({imports:[Eo]}),T})(),Sn=(()=>{class T{}return T.\u0275fac=function(D){return new(D||T)},T.\u0275mod=l.oAB({type:T}),T.\u0275inj=l.cJS({imports:[Hr]}),T})(),Or=(()=>{class T{static withConfig(D){return{ngModule:T,providers:[{provide:Ai,useValue:D.warnOnNgModelWithFormControl}]}}}return T.\u0275fac=function(D){return new(D||T)},T.\u0275mod=l.oAB({type:T}),T.\u0275inj=l.cJS({imports:[Hr]}),T})()},1481:(rt,ye,S)=>{S.d(ye,{Dx:()=>ee,H7:()=>Kt,b2:()=>Vn,q6:()=>Ct,se:()=>le});var l=S(6895),d=S(4650);class $ extends l.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class z extends ${static makeCurrent(){(0,l.HT)(new z)}onAndCancel(te,U,me){return te.addEventListener(U,me,!1),()=>{te.removeEventListener(U,me,!1)}}dispatchEvent(te,U){te.dispatchEvent(U)}remove(te){te.parentNode&&te.parentNode.removeChild(te)}createElement(te,U){return(U=U||this.getDefaultDocument()).createElement(te)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(te){return te.nodeType===Node.ELEMENT_NODE}isShadowRoot(te){return te instanceof DocumentFragment}getGlobalEventTarget(te,U){return"window"===U?window:"document"===U?te:"body"===U?te.body:null}getBaseHref(te){const U=function Q(){return G=G||document.querySelector("base"),G?G.getAttribute("href"):null}();return null==U?null:function ie(re){q=q||document.createElement("a"),q.setAttribute("href",re);const te=q.pathname;return"/"===te.charAt(0)?te:`/${te}`}(U)}resetBaseElement(){G=null}getUserAgent(){return window.navigator.userAgent}getCookie(te){return(0,l.Mx)(document.cookie,te)}}let q,G=null;const fe=new d.OlP("TRANSITION_ID"),L=[{provide:d.ip1,useFactory:function B(re,te,U){return()=>{U.get(d.CZH).donePromise.then(()=>{const me=(0,l.q)(),Le=te.querySelectorAll(`style[ng-transition="${re}"]`);for(let Mt=0;Mt<Le.length;Mt++)me.remove(Le[Mt])})}},deps:[fe,l.K0,d.zs3],multi:!0}];let Ve=(()=>{class re{build(){return new XMLHttpRequest}}return re.\u0275fac=function(U){return new(U||re)},re.\u0275prov=d.Yz7({token:re,factory:re.\u0275fac}),re})();const Ne=new d.OlP("EventManagerPlugins");let Se=(()=>{class re{constructor(U,me){this._zone=me,this._eventNameToPlugin=new Map,U.forEach(Le=>Le.manager=this),this._plugins=U.slice().reverse()}addEventListener(U,me,Le){return this._findPluginFor(me).addEventListener(U,me,Le)}addGlobalEventListener(U,me,Le){return this._findPluginFor(me).addGlobalEventListener(U,me,Le)}getZone(){return this._zone}_findPluginFor(U){const me=this._eventNameToPlugin.get(U);if(me)return me;const Le=this._plugins;for(let Mt=0;Mt<Le.length;Mt++){const Gt=Le[Mt];if(Gt.supports(U))return this._eventNameToPlugin.set(U,Gt),Gt}throw new Error(`No event manager plugin found for event ${U}`)}}return re.\u0275fac=function(U){return new(U||re)(d.LFG(Ne),d.LFG(d.R0b))},re.\u0275prov=d.Yz7({token:re,factory:re.\u0275fac}),re})();class Ye{constructor(te){this._doc=te}addGlobalEventListener(te,U,me){const Le=(0,l.q)().getGlobalEventTarget(this._doc,te);if(!Le)throw new Error(`Unsupported event target ${Le} for event ${U}`);return this.addEventListener(Le,U,me)}}let Me=(()=>{class re{constructor(){this._stylesSet=new Set}addStyles(U){const me=new Set;U.forEach(Le=>{this._stylesSet.has(Le)||(this._stylesSet.add(Le),me.add(Le))}),this.onStylesAdded(me)}onStylesAdded(U){}getAllStyles(){return Array.from(this._stylesSet)}}return re.\u0275fac=function(U){return new(U||re)},re.\u0275prov=d.Yz7({token:re,factory:re.\u0275fac}),re})(),he=(()=>{class re extends Me{constructor(U){super(),this._doc=U,this._hostNodes=new Map,this._hostNodes.set(U.head,[])}_addStylesToHost(U,me,Le){U.forEach(Mt=>{const Gt=this._doc.createElement("style");Gt.textContent=Mt,Le.push(me.appendChild(Gt))})}addHost(U){const me=[];this._addStylesToHost(this._stylesSet,U,me),this._hostNodes.set(U,me)}removeHost(U){const me=this._hostNodes.get(U);me&&me.forEach(et),this._hostNodes.delete(U)}onStylesAdded(U){this._hostNodes.forEach((me,Le)=>{this._addStylesToHost(U,Le,me)})}ngOnDestroy(){this._hostNodes.forEach(U=>U.forEach(et))}}return re.\u0275fac=function(U){return new(U||re)(d.LFG(l.K0))},re.\u0275prov=d.Yz7({token:re,factory:re.\u0275fac}),re})();function et(re){(0,l.q)().remove(re)}const nt={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/"},Oe=/%COMP%/g;function se(re,te,U){for(let me=0;me<te.length;me++){let Le=te[me];Array.isArray(Le)?se(re,Le,U):(Le=Le.replace(Oe,re),U.push(Le))}return U}function ge(re){return te=>{if("__ngUnwrap__"===te)return re;!1===re(te)&&(te.preventDefault(),te.returnValue=!1)}}let le=(()=>{class re{constructor(U,me,Le){this.eventManager=U,this.sharedStylesHost=me,this.appId=Le,this.rendererByCompId=new Map,this.defaultRenderer=new $e(U)}createRenderer(U,me){if(!U||!me)return this.defaultRenderer;switch(me.encapsulation){case d.ifc.Emulated:{let Le=this.rendererByCompId.get(me.id);return Le||(Le=new kt(this.eventManager,this.sharedStylesHost,me,this.appId),this.rendererByCompId.set(me.id,Le)),Le.applyToHost(U),Le}case 1:case d.ifc.ShadowDom:return new lt(this.eventManager,this.sharedStylesHost,U,me);default:if(!this.rendererByCompId.has(me.id)){const Le=se(me.id,me.styles,[]);this.sharedStylesHost.addStyles(Le),this.rendererByCompId.set(me.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return re.\u0275fac=function(U){return new(U||re)(d.LFG(Se),d.LFG(he),d.LFG(d.AFp))},re.\u0275prov=d.Yz7({token:re,factory:re.\u0275fac}),re})();class $e{constructor(te){this.eventManager=te,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(te,U){return U?document.createElementNS(nt[U]||U,te):document.createElement(te)}createComment(te){return document.createComment(te)}createText(te){return document.createTextNode(te)}appendChild(te,U){(Nt(te)?te.content:te).appendChild(U)}insertBefore(te,U,me){te&&(Nt(te)?te.content:te).insertBefore(U,me)}removeChild(te,U){te&&te.removeChild(U)}selectRootElement(te,U){let me="string"==typeof te?document.querySelector(te):te;if(!me)throw new Error(`The selector "${te}" did not match any elements`);return U||(me.textContent=""),me}parentNode(te){return te.parentNode}nextSibling(te){return te.nextSibling}setAttribute(te,U,me,Le){if(Le){U=Le+":"+U;const Mt=nt[Le];Mt?te.setAttributeNS(Mt,U,me):te.setAttribute(U,me)}else te.setAttribute(U,me)}removeAttribute(te,U,me){if(me){const Le=nt[me];Le?te.removeAttributeNS(Le,U):te.removeAttribute(`${me}:${U}`)}else te.removeAttribute(U)}addClass(te,U){te.classList.add(U)}removeClass(te,U){te.classList.remove(U)}setStyle(te,U,me,Le){Le&(d.JOm.DashCase|d.JOm.Important)?te.style.setProperty(U,me,Le&d.JOm.Important?"important":""):te.style[U]=me}removeStyle(te,U,me){me&d.JOm.DashCase?te.style.removeProperty(U):te.style[U]=""}setProperty(te,U,me){te[U]=me}setValue(te,U){te.nodeValue=U}listen(te,U,me){return"string"==typeof te?this.eventManager.addGlobalEventListener(te,U,ge(me)):this.eventManager.addEventListener(te,U,ge(me))}}function Nt(re){return"TEMPLATE"===re.tagName&&void 0!==re.content}class kt extends $e{constructor(te,U,me,Le){super(te),this.component=me;const Mt=se(Le+"-"+me.id,me.styles,[]);U.addStyles(Mt),this.contentAttr=function ve(re){return"_ngcontent-%COMP%".replace(Oe,re)}(Le+"-"+me.id),this.hostAttr=function Ee(re){return"_nghost-%COMP%".replace(Oe,re)}(Le+"-"+me.id)}applyToHost(te){super.setAttribute(te,this.hostAttr,"")}createElement(te,U){const me=super.createElement(te,U);return super.setAttribute(me,this.contentAttr,""),me}}class lt extends $e{constructor(te,U,me,Le){super(te),this.sharedStylesHost=U,this.hostEl=me,this.shadowRoot=me.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mt=se(Le.id,Le.styles,[]);for(let Gt=0;Gt<Mt.length;Gt++){const bt=document.createElement("style");bt.textContent=Mt[Gt],this.shadowRoot.appendChild(bt)}}nodeOrShadowRoot(te){return te===this.hostEl?this.shadowRoot:te}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(te,U){return super.appendChild(this.nodeOrShadowRoot(te),U)}insertBefore(te,U,me){return super.insertBefore(this.nodeOrShadowRoot(te),U,me)}removeChild(te,U){return super.removeChild(this.nodeOrShadowRoot(te),U)}parentNode(te){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(te)))}}let Ht=(()=>{class re extends Ye{constructor(U){super(U)}supports(U){return!0}addEventListener(U,me,Le){return U.addEventListener(me,Le,!1),()=>this.removeEventListener(U,me,Le)}removeEventListener(U,me,Le){return U.removeEventListener(me,Le)}}return re.\u0275fac=function(U){return new(U||re)(d.LFG(l.K0))},re.\u0275prov=d.Yz7({token:re,factory:re.\u0275fac}),re})();const We=["alt","control","meta","shift"],de={"\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"},Re={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},st={alt:re=>re.altKey,control:re=>re.ctrlKey,meta:re=>re.metaKey,shift:re=>re.shiftKey};let at=(()=>{class re extends Ye{constructor(U){super(U)}supports(U){return null!=re.parseEventName(U)}addEventListener(U,me,Le){const Mt=re.parseEventName(me),Gt=re.eventCallback(Mt.fullKey,Le,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.q)().onAndCancel(U,Mt.domEventName,Gt))}static parseEventName(U){const me=U.toLowerCase().split("."),Le=me.shift();if(0===me.length||"keydown"!==Le&&"keyup"!==Le)return null;const Mt=re._normalizeKey(me.pop());let Gt="";if(We.forEach(Fn=>{const Mr=me.indexOf(Fn);Mr>-1&&(me.splice(Mr,1),Gt+=Fn+".")}),Gt+=Mt,0!=me.length||0===Mt.length)return null;const bt={};return bt.domEventName=Le,bt.fullKey=Gt,bt}static getEventFullKey(U){let me="",Le=function Nn(re){let te=re.key;if(null==te){if(te=re.keyIdentifier,null==te)return"Unidentified";te.startsWith("U+")&&(te=String.fromCharCode(parseInt(te.substring(2),16)),3===re.location&&Re.hasOwnProperty(te)&&(te=Re[te]))}return de[te]||te}(U);return Le=Le.toLowerCase()," "===Le?Le="space":"."===Le&&(Le="dot"),We.forEach(Mt=>{Mt!=Le&&(0,st[Mt])(U)&&(me+=Mt+".")}),me+=Le,me}static eventCallback(U,me,Le){return Mt=>{re.getEventFullKey(Mt)===U&&Le.runGuarded(()=>me(Mt))}}static _normalizeKey(U){return"esc"===U?"escape":U}}return re.\u0275fac=function(U){return new(U||re)(d.LFG(l.K0))},re.\u0275prov=d.Yz7({token:re,factory:re.\u0275fac}),re})();const Ct=(0,d.eFA)(d._c5,"browser",[{provide:d.Lbi,useValue:l.bD},{provide:d.g9A,useValue:function mn(){z.makeCurrent()},multi:!0},{provide:l.K0,useFactory:function Dn(){return(0,d.RDi)(document),document},deps:[]}]),xt=new d.OlP(""),pn=[{provide:d.rWj,useClass:class ne{addToWindow(te){d.dqk.getAngularTestability=(me,Le=!0)=>{const Mt=te.findTestabilityInTree(me,Le);if(null==Mt)throw new Error("Could not find testability for element.");return Mt},d.dqk.getAllAngularTestabilities=()=>te.getAllTestabilities(),d.dqk.getAllAngularRootElements=()=>te.getAllRootElements(),d.dqk.frameworkStabilizers||(d.dqk.frameworkStabilizers=[]),d.dqk.frameworkStabilizers.push(me=>{const Le=d.dqk.getAllAngularTestabilities();let Mt=Le.length,Gt=!1;const bt=function(Fn){Gt=Gt||Fn,Mt--,0==Mt&&me(Gt)};Le.forEach(function(Fn){Fn.whenStable(bt)})})}findTestabilityInTree(te,U,me){return null==U?null:te.getTestability(U)??(me?(0,l.q)().isShadowRoot(U)?this.findTestabilityInTree(te,U.host,!0):this.findTestabilityInTree(te,U.parentElement,!0):null)}},deps:[]},{provide:d.lri,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]},{provide:d.dDg,useClass:d.dDg,deps:[d.R0b,d.eoX,d.rWj]}],nn=[{provide:d.zSh,useValue:"root"},{provide:d.qLn,useFactory:function Un(){return new d.qLn},deps:[]},{provide:Ne,useClass:Ht,multi:!0,deps:[l.K0,d.R0b,d.Lbi]},{provide:Ne,useClass:at,multi:!0,deps:[l.K0]},{provide:le,useClass:le,deps:[Se,he,d.AFp]},{provide:d.FYo,useExisting:le},{provide:Me,useExisting:he},{provide:he,useClass:he,deps:[l.K0]},{provide:Se,useClass:Se,deps:[Ne,d.R0b]},{provide:l.JF,useClass:Ve,deps:[]},[]];let Vn=(()=>{class re{constructor(U){}static withServerTransition(U){return{ngModule:re,providers:[{provide:d.AFp,useValue:U.appId},{provide:fe,useExisting:d.AFp},L]}}}return re.\u0275fac=function(U){return new(U||re)(d.LFG(xt,12))},re.\u0275mod=d.oAB({type:re}),re.\u0275inj=d.cJS({providers:[...nn,...pn],imports:[l.ez,d.hGG]}),re})(),ee=(()=>{class re{constructor(U){this._doc=U}getTitle(){return this._doc.title}setTitle(U){this._doc.title=U||""}}return re.\u0275fac=function(U){return new(U||re)(d.LFG(l.K0))},re.\u0275prov=d.Yz7({token:re,factory:function(U){let me=null;return me=U?new U:function Ue(){return new ee((0,d.LFG)(l.K0))}(),me},providedIn:"root"}),re})();typeof window<"u"&&window;let Kt=(()=>{class re{}return re.\u0275fac=function(U){return new(U||re)},re.\u0275prov=d.Yz7({token:re,factory:function(U){let me=null;return me=U?new(U||re):d.LFG(_t),me},providedIn:"root"}),re})(),_t=(()=>{class re extends Kt{constructor(U){super(),this._doc=U}sanitize(U,me){if(null==me)return null;switch(U){case d.q3G.NONE:return me;case d.q3G.HTML:return(0,d.qzn)(me,"HTML")?(0,d.z3N)(me):(0,d.EiD)(this._doc,String(me)).toString();case d.q3G.STYLE:return(0,d.qzn)(me,"Style")?(0,d.z3N)(me):me;case d.q3G.SCRIPT:if((0,d.qzn)(me,"Script"))return(0,d.z3N)(me);throw new Error("unsafe value used in a script context");case d.q3G.URL:return(0,d.qzn)(me,"URL")?(0,d.z3N)(me):(0,d.mCW)(String(me));case d.q3G.RESOURCE_URL:if((0,d.qzn)(me,"ResourceURL"))return(0,d.z3N)(me);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${U} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(U){return(0,d.JVY)(U)}bypassSecurityTrustStyle(U){return(0,d.L6k)(U)}bypassSecurityTrustScript(U){return(0,d.eBb)(U)}bypassSecurityTrustUrl(U){return(0,d.LAX)(U)}bypassSecurityTrustResourceUrl(U){return(0,d.pB0)(U)}}return re.\u0275fac=function(U){return new(U||re)(d.LFG(l.K0))},re.\u0275prov=d.Yz7({token:re,factory:function(U){let me=null;return me=U?new U:function it(re){return new _t(re.get(l.K0))}(d.LFG(d.zs3)),me},providedIn:"root"}),re})()},9527:(rt,ye,S)=>{S.d(ye,{gz:()=>ii,F0:()=>yr,Od:()=>ws,yS:()=>Xo,Bz:()=>ko,lC:()=>ji});var l=S(4650),d=S(9751),$=S(576);function z(f,g){const c=(0,$.m)(f)?f:()=>f,_=b=>b.error(c());return new d.y(g?b=>g.schedule(_,0,b):_)}var G=S(727),Q=S(4482),q=S(5403);function ie(){return(0,Q.e)((f,g)=>{let c=null;f._refCount++;const _=(0,q.x)(g,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(c=null);const b=f._connection,N=c;c=null,b&&(!N||b===N)&&b.unsubscribe(),g.unsubscribe()});f.subscribe(_),_.closed||(c=f.connect())})}class fe extends d.y{constructor(g,c){super(),this.source=g,this.subjectFactory=c,this._subject=null,this._refCount=0,this._connection=null,(0,Q.A)(g)&&(this.lift=g.lift)}_subscribe(g){return this.getSubject().subscribe(g)}getSubject(){const g=this._subject;return(!g||g.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:g}=this;this._subject=this._connection=null,g?.unsubscribe()}connect(){let g=this._connection;if(!g){g=this._connection=new G.w0;const c=this.getSubject();g.add(this.source.subscribe((0,q.x)(c,void 0,()=>{this._teardown(),c.complete()},_=>{this._teardown(),c.error(_)},()=>this._teardown()))),g.closed&&(this._connection=null,g=G.w0.EMPTY)}return g}refCount(){return ie()(this)}}var B=S(8996),L=S(9646),ne=S(1135),Ve=S(6805),Ne=S(9841),Se=S(7272),Ye=S(9770),Me=S(9635),he=S(515),et=S(7579),nt=S(6895),Oe=S(8421);function ae(f){return(0,Q.e)((g,c)=>{let N,_=null,b=!1;_=g.subscribe((0,q.x)(c,void 0,void 0,j=>{N=(0,Oe.Xf)(f(j,ae(f)(g))),_?(_.unsubscribe(),_=null,N.subscribe(c)):b=!0})),b&&(_.unsubscribe(),_=null,N.subscribe(c))})}function Ce(f,g,c,_,b){return(N,j)=>{let J=c,xe=g,dt=0;N.subscribe((0,q.x)(j,Zt=>{const vt=dt++;xe=J?f(xe,Zt,vt):(J=!0,Zt),_&&j.next(xe)},b&&(()=>{J&&j.next(xe),j.complete()})))}}function Ge(f,g){return(0,Q.e)(Ce(f,g,arguments.length>=2,!0))}var Be=S(9300);function ve(f){return f<=0?()=>he.E:(0,Q.e)((g,c)=>{let _=[];g.subscribe((0,q.x)(c,b=>{_.push(b),f<_.length&&_.shift()},()=>{for(const b of _)c.next(b);c.complete()},void 0,()=>{_=null}))})}var Ee=S(8068),se=S(6590),ge=S(4671);function Te(f,g){const c=arguments.length>=2;return _=>_.pipe(f?(0,Be.h)((b,N)=>f(b,N,_)):ge.y,ve(1),c?(0,se.d)(g):(0,Ee.T)(()=>new Ve.K))}var le=S(4004),$e=S(3900),Je=S(5698),yt=S(8675),Nt=S(5577),kt=S(590),lt=S(4351),Ht=S(8505),We=S(2529),qe=S(9718),de=S(8746),Re=S(8189),st=S(1481);const at="primary";class Nn{constructor(g){this.params=g||{}}has(g){return Object.prototype.hasOwnProperty.call(this.params,g)}get(g){if(this.has(g)){const c=this.params[g];return Array.isArray(c)?c[0]:c}return null}getAll(g){if(this.has(g)){const c=this.params[g];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function gn(f){return new Nn(f)}function Ln(f,g,c){const _=c.path.split("/");if(_.length>f.length||"full"===c.pathMatch&&(g.hasChildren()||_.length<f.length))return null;const b={};for(let N=0;N<_.length;N++){const j=_[N],J=f[N];if(j.startsWith(":"))b[j.substring(1)]=J;else if(j!==J.path)return null}return{consumed:f.slice(0,_.length),posParams:b}}function mn(f,g){const c=f?Object.keys(f):void 0,_=g?Object.keys(g):void 0;if(!c||!_||c.length!=_.length)return!1;let b;for(let N=0;N<c.length;N++)if(b=c[N],!Un(f[b],g[b]))return!1;return!0}function Un(f,g){if(Array.isArray(f)&&Array.isArray(g)){if(f.length!==g.length)return!1;const c=[...f].sort(),_=[...g].sort();return c.every((b,N)=>_[N]===b)}return f===g}function Dn(f){return Array.prototype.concat.apply([],f)}function Hn(f){return f.length>0?f[f.length-1]:null}function xt(f,g){for(const c in f)f.hasOwnProperty(c)&&g(f[c],c)}function pn(f){return(0,l.CqO)(f)?f:(0,l.QGY)(f)?(0,B.D)(Promise.resolve(f)):(0,L.of)(f)}const pr={exact:function ee(f,g,c){if(!Ot(f.segments,g.segments)||!Et(f.segments,g.segments,c)||f.numberOfChildren!==g.numberOfChildren)return!1;for(const _ in g.children)if(!f.children[_]||!ee(f.children[_],g.children[_],c))return!1;return!0},subset:be},dn={exact:function Ue(f,g){return mn(f,g)},subset:function W(f,g){return Object.keys(g).length<=Object.keys(f).length&&Object.keys(g).every(c=>Un(f[c],g[c]))},ignored:()=>!0};function Cn(f,g,c){return pr[c.paths](f.root,g.root,c.matrixParams)&&dn[c.queryParams](f.queryParams,g.queryParams)&&!("exact"===c.fragment&&f.fragment!==g.fragment)}function be(f,g,c){return Ze(f,g,g.segments,c)}function Ze(f,g,c,_){if(f.segments.length>c.length){const b=f.segments.slice(0,c.length);return!(!Ot(b,c)||g.hasChildren()||!Et(b,c,_))}if(f.segments.length===c.length){if(!Ot(f.segments,c)||!Et(f.segments,c,_))return!1;for(const b in g.children)if(!f.children[b]||!be(f.children[b],g.children[b],_))return!1;return!0}{const b=c.slice(0,f.segments.length),N=c.slice(f.segments.length);return!!(Ot(f.segments,b)&&Et(f.segments,b,_)&&f.children[at])&&Ze(f.children[at],g,N,_)}}function Et(f,g,c){return g.every((_,b)=>dn[c](f[b].parameters,_.parameters))}class wt{constructor(g,c,_){this.root=g,this.queryParams=c,this.fragment=_}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=gn(this.queryParams)),this._queryParamMap}toString(){return an.serialize(this)}}class Qe{constructor(g,c){this.segments=g,this.children=c,this.parent=null,xt(c,(_,b)=>_.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ut(this)}}class At{constructor(g,c){this.path=g,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=gn(this.parameters)),this._parameterMap}toString(){return ce(this)}}function Ot(f,g){return f.length===g.length&&f.every((c,_)=>c.path===g[_].path)}let Ft=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=l.Yz7({token:f,factory:function(){return new rn},providedIn:"root"}),f})();class rn{parse(g){const c=new re(g);return new wt(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(g){const c=`/${He(g.root,!0)}`,_=function De(f){const g=Object.keys(f).map(c=>{const _=f[c];return Array.isArray(_)?_.map(b=>`${Lt(c)}=${Lt(b)}`).join("&"):`${Lt(c)}=${Lt(_)}`}).filter(c=>!!c);return g.length?`?${g.join("&")}`:""}(g.queryParams);return`${c}${_}${"string"==typeof g.fragment?`#${function Wt(f){return encodeURI(f)}(g.fragment)}`:""}`}}const an=new rn;function ut(f){return f.segments.map(g=>ce(g)).join("/")}function He(f,g){if(!f.hasChildren())return ut(f);if(g){const c=f.children[at]?He(f.children[at],!1):"",_=[];return xt(f.children,(b,N)=>{N!==at&&_.push(`${N}:${He(b,!1)}`)}),_.length>0?`${c}(${_.join("//")})`:c}{const c=function jn(f,g){let c=[];return xt(f.children,(_,b)=>{b===at&&(c=c.concat(g(_,b)))}),xt(f.children,(_,b)=>{b!==at&&(c=c.concat(g(_,b)))}),c}(f,(_,b)=>b===at?[He(f.children[at],!1)]:[`${b}:${He(_,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[at]?`${ut(f)}/${c[0]}`:`${ut(f)}/(${c.join("//")})`}}function ct(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Lt(f){return ct(f).replace(/%3B/gi,";")}function Jt(f){return ct(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function X(f){return decodeURIComponent(f)}function K(f){return X(f.replace(/\+/g,"%20"))}function ce(f){return`${Jt(f.path)}${function Pe(f){return Object.keys(f).map(g=>`;${Jt(g)}=${Jt(f[g])}`).join("")}(f.parameters)}`}const ft=/^[^\/()?;=#]+/;function Tt(f){const g=f.match(ft);return g?g[0]:""}const Kt=/^[^=?&#]+/,_t=/^[^&#]+/;class re{constructor(g){this.url=g,this.remaining=g}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Qe([],{}):new Qe([],this.parseChildren())}parseQueryParams(){const g={};if(this.consumeOptional("?"))do{this.parseQueryParam(g)}while(this.consumeOptional("&"));return g}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const g=[];for(this.peekStartsWith("(")||g.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),g.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let _={};return this.peekStartsWith("(")&&(_=this.parseParens(!1)),(g.length>0||Object.keys(c).length>0)&&(_[at]=new Qe(g,c)),_}parseSegment(){const g=Tt(this.remaining);if(""===g&&this.peekStartsWith(";"))throw new l.vHH(4009,!1);return this.capture(g),new At(X(g),this.parseMatrixParams())}parseMatrixParams(){const g={};for(;this.consumeOptional(";");)this.parseParam(g);return g}parseParam(g){const c=Tt(this.remaining);if(!c)return;this.capture(c);let _="";if(this.consumeOptional("=")){const b=Tt(this.remaining);b&&(_=b,this.capture(_))}g[X(c)]=X(_)}parseQueryParam(g){const c=function it(f){const g=f.match(Kt);return g?g[0]:""}(this.remaining);if(!c)return;this.capture(c);let _="";if(this.consumeOptional("=")){const j=function tn(f){const g=f.match(_t);return g?g[0]:""}(this.remaining);j&&(_=j,this.capture(_))}const b=K(c),N=K(_);if(g.hasOwnProperty(b)){let j=g[b];Array.isArray(j)||(j=[j],g[b]=j),j.push(N)}else g[b]=N}parseParens(g){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const _=Tt(this.remaining),b=this.remaining[_.length];if("/"!==b&&")"!==b&&";"!==b)throw new l.vHH(4010,!1);let N;_.indexOf(":")>-1?(N=_.slice(0,_.indexOf(":")),this.capture(N),this.capture(":")):g&&(N=at);const j=this.parseChildren();c[N]=1===Object.keys(j).length?j[at]:new Qe([],j),this.consumeOptional("//")}return c}peekStartsWith(g){return this.remaining.startsWith(g)}consumeOptional(g){return!!this.peekStartsWith(g)&&(this.remaining=this.remaining.substring(g.length),!0)}capture(g){if(!this.consumeOptional(g))throw new l.vHH(4011,!1)}}function te(f){return f.segments.length>0?new Qe([],{[at]:f}):f}function U(f){const g={};for(const _ of Object.keys(f.children)){const N=U(f.children[_]);(N.segments.length>0||N.hasChildren())&&(g[_]=N)}return function me(f){if(1===f.numberOfChildren&&f.children[at]){const g=f.children[at];return new Qe(f.segments.concat(g.segments),g.children)}return f}(new Qe(f.segments,g))}function Le(f){return f instanceof wt}function Mr(f,g,c,_,b){if(0===c.length)return Bn(g.root,g.root,g.root,_,b);const N=function Wn(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new Cr(!0,0,f);let g=0,c=!1;const _=f.reduce((b,N,j)=>{if("object"==typeof N&&null!=N){if(N.outlets){const J={};return xt(N.outlets,(xe,dt)=>{J[dt]="string"==typeof xe?xe.split("/"):xe}),[...b,{outlets:J}]}if(N.segmentPath)return[...b,N.segmentPath]}return"string"!=typeof N?[...b,N]:0===j?(N.split("/").forEach((J,xe)=>{0==xe&&"."===J||(0==xe&&""===J?c=!0:".."===J?g++:""!=J&&b.push(J))}),b):[...b,N]},[]);return new Cr(c,g,_)}(c);return N.toRoot()?Bn(g.root,g.root,new Qe([],{}),_,b):function j(xe){const dt=function on(f,g,c,_){if(f.isAbsolute)return new Yn(g.root,!0,0);if(-1===_)return new Yn(c,c===g.root,0);return function Xi(f,g,c){let _=f,b=g,N=c;for(;N>b;){if(N-=b,_=_.parent,!_)throw new l.vHH(4005,!1);b=_.segments.length}return new Yn(_,!1,b-N)}(c,_+(gr(f.commands[0])?0:1),f.numberOfDoubleDots)}(N,g,f.snapshot?._urlSegment,xe),Zt=dt.processChildren?qn(dt.segmentGroup,dt.index,N.commands):ni(dt.segmentGroup,dt.index,N.commands);return Bn(g.root,dt.segmentGroup,Zt,_,b)}(f.snapshot?._lastPathIndex)}function gr(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Zn(f){return"object"==typeof f&&null!=f&&f.outlets}function Bn(f,g,c,_,b){let j,N={};_&&xt(_,(xe,dt)=>{N[dt]=Array.isArray(xe)?xe.map(Zt=>`${Zt}`):`${xe}`}),j=f===g?c:Wr(f,g,c);const J=te(U(j));return new wt(J,N,b)}function Wr(f,g,c){const _={};return xt(f.children,(b,N)=>{_[N]=b===g?c:Wr(b,g,c)}),new Qe(f.segments,_)}class Cr{constructor(g,c,_){if(this.isAbsolute=g,this.numberOfDoubleDots=c,this.commands=_,g&&_.length>0&&gr(_[0]))throw new l.vHH(4003,!1);const b=_.find(Zn);if(b&&b!==Hn(_))throw new l.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Yn{constructor(g,c,_){this.segmentGroup=g,this.processChildren=c,this.index=_}}function ni(f,g,c){if(f||(f=new Qe([],{})),0===f.segments.length&&f.hasChildren())return qn(f,g,c);const _=function ri(f,g,c){let _=0,b=g;const N={match:!1,pathIndex:0,commandIndex:0};for(;b<f.segments.length;){if(_>=c.length)return N;const j=f.segments[b],J=c[_];if(Zn(J))break;const xe=`${J}`,dt=_<c.length-1?c[_+1]:null;if(b>0&&void 0===xe)break;if(xe&&dt&&"object"==typeof dt&&void 0===dt.outlets){if(!to(xe,dt,j))return N;_+=2}else{if(!to(xe,{},j))return N;_++}b++}return{match:!0,pathIndex:b,commandIndex:_}}(f,g,c),b=c.slice(_.commandIndex);if(_.match&&_.pathIndex<f.segments.length){const N=new Qe(f.segments.slice(0,_.pathIndex),{});return N.children[at]=new Qe(f.segments.slice(_.pathIndex),f.children),qn(N,0,b)}return _.match&&0===b.length?new Qe(f.segments,{}):_.match&&!f.hasChildren()?Fr(f,g,c):_.match?qn(f,0,b):Fr(f,g,c)}function qn(f,g,c){if(0===c.length)return new Qe(f.segments,{});{const _=function eo(f){return Zn(f[0])?f[0].outlets:{[at]:f}}(c),b={};return xt(_,(N,j)=>{"string"==typeof N&&(N=[N]),null!==N&&(b[j]=ni(f.children[j],g,N))}),xt(f.children,(N,j)=>{void 0===_[j]&&(b[j]=N)}),new Qe(f.segments,b)}}function Fr(f,g,c){const _=f.segments.slice(0,g);let b=0;for(;b<c.length;){const N=c[b];if(Zn(N)){const xe=kr(N.outlets);return new Qe(_,xe)}if(0===b&&gr(c[0])){_.push(new At(f.segments[g].path,Gn(c[0]))),b++;continue}const j=Zn(N)?N.outlets[at]:`${N}`,J=b<c.length-1?c[b+1]:null;j&&J&&gr(J)?(_.push(new At(j,Gn(J))),b+=2):(_.push(new At(j,{})),b++)}return new Qe(_,{})}function kr(f){const g={};return xt(f,(c,_)=>{"string"==typeof c&&(c=[c]),null!==c&&(g[_]=Fr(new Qe([],{}),0,c))}),g}function Gn(f){const g={};return xt(f,(c,_)=>g[_]=`${c}`),g}function to(f,g,c){return f==c.path&&mn(g,c.parameters)}class Pn{constructor(g,c){this.id=g,this.url=c}}class Kn extends Pn{constructor(g,c,_="imperative",b=null){super(g,c),this.type=0,this.navigationTrigger=_,this.restoredState=b}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Xn extends Pn{constructor(g,c,_){super(g,c),this.urlAfterRedirects=_,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Lr extends Pn{constructor(g,c,_,b){super(g,c),this.reason=_,this.code=b,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Kr extends Pn{constructor(g,c,_,b){super(g,c),this.error=_,this.target=b,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Qn extends Pn{constructor(g,c,_,b){super(g,c),this.urlAfterRedirects=_,this.state=b,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Do extends Pn{constructor(g,c,_,b){super(g,c),this.urlAfterRedirects=_,this.state=b,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class no extends Pn{constructor(g,c,_,b,N){super(g,c),this.urlAfterRedirects=_,this.state=b,this.shouldActivate=N,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Bi extends Pn{constructor(g,c,_,b){super(g,c),this.urlAfterRedirects=_,this.state=b,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fs extends Pn{constructor(g,c,_,b){super(g,c),this.urlAfterRedirects=_,this.state=b,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hs{constructor(g){this.route=g,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ps{constructor(g){this.route=g,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class $s{constructor(g){this.snapshot=g,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Er{constructor(g){this.snapshot=g,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Co{constructor(g){this.snapshot=g,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $o{constructor(g){this.snapshot=g,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ro{constructor(g,c,_){this.routerEvent=g,this.position=c,this.anchor=_,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class io{constructor(g){this._root=g}get root(){return this._root.value}parent(g){const c=this.pathFromRoot(g);return c.length>1?c[c.length-2]:null}children(g){const c=Ui(g,this._root);return c?c.children.map(_=>_.value):[]}firstChild(g){const c=Ui(g,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(g){const c=Vr(g,this._root);return c.length<2?[]:c[c.length-2].children.map(b=>b.value).filter(b=>b!==g)}pathFromRoot(g){return Vr(g,this._root).map(c=>c.value)}}function Ui(f,g){if(f===g.value)return g;for(const c of g.children){const _=Ui(f,c);if(_)return _}return null}function Vr(f,g){if(f===g.value)return[g];for(const c of g.children){const _=Vr(f,c);if(_.length)return _.unshift(g),_}return[]}class Sr{constructor(g,c){this.value=g,this.children=c}toString(){return`TreeNode(${this.value})`}}function oo(f){const g={};return f&&f.children.forEach(c=>g[c.value.outlet]=c),g}class Eo extends io{constructor(g,c){super(g),this.snapshot=c,Ti(this,g)}toString(){return this.snapshot.toString()}}function wi(f,g){const c=function Hi(f,g){const j=new Br([],{},{},"",{},at,g,null,f.root,-1,{});return new Zr("",new Sr(j,[]))}(f,g),_=new ne.X([new At("",{})]),b=new ne.X({}),N=new ne.X({}),j=new ne.X({}),J=new ne.X(""),xe=new ii(_,b,j,J,N,at,g,c.root);return xe.snapshot=c.root,new Eo(new Sr(xe,[]),c)}class ii{constructor(g,c,_,b,N,j,J,xe){this.url=g,this.params=c,this.queryParams=_,this.fragment=b,this.data=N,this.outlet=j,this.component=J,this._futureSnapshot=xe}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,le.U)(g=>gn(g)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,le.U)(g=>gn(g)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function so(f,g="emptyOnly"){const c=f.pathFromRoot;let _=0;if("always"!==g)for(_=c.length-1;_>=1;){const b=c[_],N=c[_-1];if(b.routeConfig&&""===b.routeConfig.path)_--;else{if(N.component)break;_--}}return function Ai(f){return f.reduce((g,c)=>({params:{...g.params,...c.params},data:{...g.data,...c.data},resolve:{...c.data,...g.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(_))}class Br{constructor(g,c,_,b,N,j,J,xe,dt,Zt,vt,yn){this.url=g,this.params=c,this.queryParams=_,this.fragment=b,this.data=N,this.outlet=j,this.component=J,this.routeConfig=xe,this._urlSegment=dt,this._lastPathIndex=Zt,this._correctedLastPathIndex=yn??Zt,this._resolve=vt}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=gn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=gn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(_=>_.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Zr extends io{constructor(g,c){super(c),this.url=g,Ti(this,c)}toString(){return oi(this._root)}}function Ti(f,g){g.value._routerState=f,g.children.forEach(c=>Ti(f,c))}function oi(f){const g=f.children.length>0?` { ${f.children.map(oi).join(", ")} } `:"";return`${f.value}${g}`}function ao(f){if(f.snapshot){const g=f.snapshot,c=f._futureSnapshot;f.snapshot=c,mn(g.queryParams,c.queryParams)||f.queryParams.next(c.queryParams),g.fragment!==c.fragment&&f.fragment.next(c.fragment),mn(g.params,c.params)||f.params.next(c.params),function ur(f,g){if(f.length!==g.length)return!1;for(let c=0;c<f.length;++c)if(!mn(f[c],g[c]))return!1;return!0}(g.url,c.url)||f.url.next(c.url),mn(g.data,c.data)||f.data.next(c.data)}else f.snapshot=f._futureSnapshot,f.data.next(f._futureSnapshot.data)}function Mi(f,g){const c=mn(f.params,g.params)&&function On(f,g){return Ot(f,g)&&f.every((c,_)=>mn(c.parameters,g[_].parameters))}(f.url,g.url);return c&&!(!f.parent!=!g.parent)&&(!f.parent||Mi(f.parent,g.parent))}function Ur(f,g,c){if(c&&f.shouldReuseRoute(g.value,c.value.snapshot)){const _=c.value;_._futureSnapshot=g.value;const b=function bo(f,g,c){return g.children.map(_=>{for(const b of c.children)if(f.shouldReuseRoute(_.value,b.value.snapshot))return Ur(f,_,b);return Ur(f,_)})}(f,g,c);return new Sr(_,b)}{if(f.shouldAttach(g.value)){const N=f.retrieve(g.value);if(null!==N){const j=N.route;return j.value._futureSnapshot=g.value,j.children=g.children.map(J=>Ur(f,J)),j}}const _=function wo(f){return new ii(new ne.X(f.url),new ne.X(f.params),new ne.X(f.queryParams),new ne.X(f.fragment),new ne.X(f.data),f.outlet,f.component,f)}(g.value),b=g.children.map(N=>Ur(f,N));return new Sr(_,b)}}const Ao="ngNavigationCancelingError";function zn(f,g){const{redirectTo:c,navigationBehaviorOptions:_}=Le(g)?{redirectTo:g,navigationBehaviorOptions:void 0}:g,b=mr(!1,0,g);return b.url=c,b.navigationBehaviorOptions=_,b}function mr(f,g,c){const _=new Error("NavigationCancelingError: "+(f||""));return _[Ao]=!0,_.cancellationCode=g,c&&(_.url=c),_}function zo(f){return Yr(f)&&Le(f.url)}function Yr(f){return f&&f[Ao]}class To{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ii,this.attachRef=null}}let Ii=(()=>{class f{constructor(){this.contexts=new Map}onChildOutletCreated(c,_){const b=this.getOrCreateContext(c);b.outlet=_,this.contexts.set(c,b)}onChildOutletDestroyed(c){const _=this.getContext(c);_&&(_.outlet=null,_.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let _=this.getContext(c);return _||(_=new To,this.contexts.set(c,_)),_}getContext(c){return this.contexts.get(c)||null}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const xn=!1;let ji=(()=>{class f{constructor(c,_,b,N,j){this.parentContexts=c,this.location=_,this.changeDetector=N,this.environmentInjector=j,this.activated=null,this._activatedRoute=null,this.activateEvents=new l.vpe,this.deactivateEvents=new l.vpe,this.attachEvents=new l.vpe,this.detachEvents=new l.vpe,this.name=b||at,c.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const c=this.parentContexts.getContext(this.name);c&&c.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new l.vHH(4012,xn);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new l.vHH(4012,xn);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new l.vHH(4012,xn);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,_){this.activated=c,this._activatedRoute=_,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,_){if(this.isActivated)throw new l.vHH(4013,xn);this._activatedRoute=c;const b=this.location,j=c._futureSnapshot.component,J=this.parentContexts.getOrCreateContext(this.name).children,xe=new fa(c,J,b.injector);if(_&&function hi(f){return!!f.resolveComponentFactory}(_)){const dt=_.resolveComponentFactory(j);this.activated=b.createComponent(dt,b.length,xe)}else this.activated=b.createComponent(j,{index:b.length,injector:xe,environmentInjector:_??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return f.\u0275fac=function(c){return new(c||f)(l.Y36(Ii),l.Y36(l.s_b),l.$8M("name"),l.Y36(l.sBO),l.Y36(l.lqb))},f.\u0275dir=l.lG2({type:f,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),f})();class fa{constructor(g,c,_){this.route=g,this.childContexts=c,this.parent=_}get(g,c){return g===ii?this.route:g===Ii?this.childContexts:this.parent.get(g,c)}}let or=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275cmp=l.Xpm({type:f,selectors:[["ng-component"]],decls:1,vars:0,template:function(c,_){1&c&&l._UZ(0,"router-outlet")},dependencies:[ji],encapsulation:2}),f})();function Ir(f,g){return f.providers&&!f._injector&&(f._injector=(0,l.MMx)(f.providers,g,`Route: ${f.path}`)),f._injector??g}function ke(f){const g=f.children&&f.children.map(ke),c=g?{...f,children:g}:{...f};return!c.component&&!c.loadComponent&&(g||c.loadChildren)&&c.outlet&&c.outlet!==at&&(c.component=or),c}function we(f){return f.outlet||at}function ht(f,g){const c=f.filter(_=>we(_)===g);return c.push(...f.filter(_=>we(_)!==g)),c}function wn(f){if(!f)return null;if(f.routeConfig?._injector)return f.routeConfig._injector;for(let g=f.parent;g;g=g.parent){const c=g.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class An{constructor(g,c,_,b){this.routeReuseStrategy=g,this.futureState=c,this.currState=_,this.forwardEvent=b}activate(g){const c=this.futureState._root,_=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,_,g),ao(this.futureState.root),this.activateChildRoutes(c,_,g)}deactivateChildRoutes(g,c,_){const b=oo(c);g.children.forEach(N=>{const j=N.value.outlet;this.deactivateRoutes(N,b[j],_),delete b[j]}),xt(b,(N,j)=>{this.deactivateRouteAndItsChildren(N,_)})}deactivateRoutes(g,c,_){const b=g.value,N=c?c.value:null;if(b===N)if(b.component){const j=_.getContext(b.outlet);j&&this.deactivateChildRoutes(g,c,j.children)}else this.deactivateChildRoutes(g,c,_);else N&&this.deactivateRouteAndItsChildren(c,_)}deactivateRouteAndItsChildren(g,c){g.value.component&&this.routeReuseStrategy.shouldDetach(g.value.snapshot)?this.detachAndStoreRouteSubtree(g,c):this.deactivateRouteAndOutlet(g,c)}detachAndStoreRouteSubtree(g,c){const _=c.getContext(g.value.outlet),b=_&&g.value.component?_.children:c,N=oo(g);for(const j of Object.keys(N))this.deactivateRouteAndItsChildren(N[j],b);if(_&&_.outlet){const j=_.outlet.detach(),J=_.children.onOutletDeactivated();this.routeReuseStrategy.store(g.value.snapshot,{componentRef:j,route:g,contexts:J})}}deactivateRouteAndOutlet(g,c){const _=c.getContext(g.value.outlet),b=_&&g.value.component?_.children:c,N=oo(g);for(const j of Object.keys(N))this.deactivateRouteAndItsChildren(N[j],b);_&&_.outlet&&(_.outlet.deactivate(),_.children.onOutletDeactivated(),_.attachRef=null,_.resolver=null,_.route=null)}activateChildRoutes(g,c,_){const b=oo(c);g.children.forEach(N=>{this.activateRoutes(N,b[N.value.outlet],_),this.forwardEvent(new $o(N.value.snapshot))}),g.children.length&&this.forwardEvent(new Er(g.value.snapshot))}activateRoutes(g,c,_){const b=g.value,N=c?c.value:null;if(ao(b),b===N)if(b.component){const j=_.getOrCreateContext(b.outlet);this.activateChildRoutes(g,c,j.children)}else this.activateChildRoutes(g,c,_);else if(b.component){const j=_.getOrCreateContext(b.outlet);if(this.routeReuseStrategy.shouldAttach(b.snapshot)){const J=this.routeReuseStrategy.retrieve(b.snapshot);this.routeReuseStrategy.store(b.snapshot,null),j.children.onOutletReAttached(J.contexts),j.attachRef=J.componentRef,j.route=J.route.value,j.outlet&&j.outlet.attach(J.componentRef,J.route.value),ao(J.route.value),this.activateChildRoutes(g,null,j.children)}else{const J=wn(b.snapshot),xe=J?.get(l._Vd)??null;j.attachRef=null,j.route=b,j.resolver=xe,j.injector=J,j.outlet&&j.outlet.activateWith(b,j.injector),this.activateChildRoutes(g,null,j.children)}}else this.activateChildRoutes(g,null,_)}}class ln{constructor(g){this.path=g,this.route=this.path[this.path.length-1]}}class Rn{constructor(g,c){this.component=g,this.route=c}}function Tn(f,g,c){const _=f._root;return Bt(_,g?g._root:null,c,[_.value])}function ze(f,g,c){return(wn(g)??c).get(f)}function Bt(f,g,c,_,b={canDeactivateChecks:[],canActivateChecks:[]}){const N=oo(g);return f.children.forEach(j=>{(function Pi(f,g,c,_,b={canDeactivateChecks:[],canActivateChecks:[]}){const N=f.value,j=g?g.value:null,J=c?c.getContext(f.value.outlet):null;if(j&&N.routeConfig===j.routeConfig){const xe=function Hr(f,g,c){if("function"==typeof c)return c(f,g);switch(c){case"pathParamsChange":return!Ot(f.url,g.url);case"pathParamsOrQueryParamsChange":return!Ot(f.url,g.url)||!mn(f.queryParams,g.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Mi(f,g)||!mn(f.queryParams,g.queryParams);default:return!Mi(f,g)}}(j,N,N.routeConfig.runGuardsAndResolvers);xe?b.canActivateChecks.push(new ln(_)):(N.data=j.data,N._resolvedData=j._resolvedData),Bt(f,g,N.component?J?J.children:null:c,_,b),xe&&J&&J.outlet&&J.outlet.isActivated&&b.canDeactivateChecks.push(new Rn(J.outlet.component,j))}else j&&Sn(g,J,b),b.canActivateChecks.push(new ln(_)),Bt(f,null,N.component?J?J.children:null:c,_,b)})(j,N[j.value.outlet],c,_.concat([j.value]),b),delete N[j.value.outlet]}),xt(N,(j,J)=>Sn(j,c.getContext(J),b)),b}function Sn(f,g,c){const _=oo(f),b=f.value;xt(_,(N,j)=>{Sn(N,b.component?g?g.children.getContext(j):null:g,c)}),c.canDeactivateChecks.push(new Rn(b.component&&g&&g.outlet&&g.outlet.isActivated?g.outlet.component:null,b))}function Or(f){return"function"==typeof f}function T(f){return f instanceof Ve.K||"EmptyError"===f?.name}const C=Symbol("INITIAL_VALUE");function D(){return(0,$e.w)(f=>(0,Ne.a)(f.map(g=>g.pipe((0,Je.q)(1),(0,yt.O)(C)))).pipe((0,le.U)(g=>{for(const c of g)if(!0!==c){if(c===C)return C;if(!1===c||c instanceof wt)return c}return!0}),(0,Be.h)(g=>g!==C),(0,Je.q)(1)))}function uo(f){return(0,Me.z)((0,Ht.b)(g=>{if(Le(g))throw zn(0,g)}),(0,le.U)(g=>!0===g))}const Ko={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function co(f,g,c,_,b){const N=So(f,g,c);return N.matched?function ms(f,g,c,_){const b=g.canMatch;if(!b||0===b.length)return(0,L.of)(!0);const N=b.map(j=>{const J=f.get(j),xe=function gs(f){return f&&Or(f.canMatch)}(J)?J.canMatch(g,c):J(g,c);return pn(xe)});return(0,L.of)(N).pipe(D(),uo())}(_=Ir(g,_),g,c).pipe((0,le.U)(j=>!0===j?N:{...Ko})):(0,L.of)(N)}function So(f,g,c){if(""===g.path)return"full"===g.pathMatch&&(f.hasChildren()||c.length>0)?{...Ko}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const b=(g.matcher||Ln)(c,f,g);if(!b)return{...Ko};const N={};xt(b.posParams,(J,xe)=>{N[xe]=J.path});const j=b.consumed.length>0?{...N,...b.consumed[b.consumed.length-1].parameters}:N;return{matched:!0,consumedSegments:b.consumed,remainingSegments:c.slice(b.consumed.length),parameters:j,positionalParamSegments:b.posParams??{}}}function $i(f,g,c,_,b="corrected"){if(c.length>0&&function zs(f,g,c){return c.some(_=>Oo(f,g,_)&&we(_)!==at)}(f,c,_)){const j=new Qe(g,function Io(f,g,c,_){const b={};b[at]=_,_._sourceSegment=f,_._segmentIndexShift=g.length;for(const N of c)if(""===N.path&&we(N)!==at){const j=new Qe([],{});j._sourceSegment=f,j._segmentIndexShift=g.length,b[we(N)]=j}return b}(f,g,_,new Qe(c,f.children)));return j._sourceSegment=f,j._segmentIndexShift=g.length,{segmentGroup:j,slicedSegments:[]}}if(0===c.length&&function Oa(f,g,c){return c.some(_=>Oo(f,g,_))}(f,c,_)){const j=new Qe(f.segments,function Ia(f,g,c,_,b,N){const j={};for(const J of _)if(Oo(f,c,J)&&!b[we(J)]){const xe=new Qe([],{});xe._sourceSegment=f,xe._segmentIndexShift="legacy"===N?f.segments.length:g.length,j[we(J)]=xe}return{...b,...j}}(f,g,c,_,f.children,b));return j._sourceSegment=f,j._segmentIndexShift=g.length,{segmentGroup:j,slicedSegments:c}}const N=new Qe(f.segments,f.children);return N._sourceSegment=f,N._segmentIndexShift=g.length,{segmentGroup:N,slicedSegments:c}}function Oo(f,g,c){return(!(f.hasChildren()||g.length>0)||"full"!==c.pathMatch)&&""===c.path}function dr(f,g,c,_){return!!(we(f)===_||_!==at&&Oo(g,c,f))&&("**"===f.path||So(g,f,c).matched)}function gi(f,g,c){return 0===g.length&&!f.children[c]}const jt=!1;class ys{constructor(g){this.segmentGroup=g||null}}class Ws{constructor(g){this.urlTree=g}}function fo(f){return z(new ys(f))}function _s(f){return z(new Ws(f))}class Zs{constructor(g,c,_,b,N){this.injector=g,this.configLoader=c,this.urlSerializer=_,this.urlTree=b,this.config=N,this.allowRedirects=!0}apply(){const g=$i(this.urlTree.root,[],[],this.config).segmentGroup,c=new Qe(g.segments,g.children);return this.expandSegmentGroup(this.injector,this.config,c,at).pipe((0,le.U)(N=>this.createUrlTree(U(N),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ae(N=>{if(N instanceof Ws)return this.allowRedirects=!1,this.match(N.urlTree);throw N instanceof ys?this.noMatchError(N):N}))}match(g){return this.expandSegmentGroup(this.injector,this.config,g.root,at).pipe((0,le.U)(b=>this.createUrlTree(U(b),g.queryParams,g.fragment))).pipe(ae(b=>{throw b instanceof ys?this.noMatchError(b):b}))}noMatchError(g){return new l.vHH(4002,jt)}createUrlTree(g,c,_){const b=te(g);return new wt(b,c,_)}expandSegmentGroup(g,c,_,b){return 0===_.segments.length&&_.hasChildren()?this.expandChildren(g,c,_).pipe((0,le.U)(N=>new Qe([],N))):this.expandSegment(g,_,c,_.segments,b,!0)}expandChildren(g,c,_){const b=[];for(const N of Object.keys(_.children))"primary"===N?b.unshift(N):b.push(N);return(0,B.D)(b).pipe((0,lt.b)(N=>{const j=_.children[N],J=ht(c,N);return this.expandSegmentGroup(g,J,j,N).pipe((0,le.U)(xe=>({segment:xe,outlet:N})))}),Ge((N,j)=>(N[j.outlet]=j.segment,N),{}),Te())}expandSegment(g,c,_,b,N,j){return(0,B.D)(_).pipe((0,lt.b)(J=>this.expandSegmentAgainstRoute(g,c,_,J,b,N,j).pipe(ae(dt=>{if(dt instanceof ys)return(0,L.of)(null);throw dt}))),(0,kt.P)(J=>!!J),ae((J,xe)=>{if(T(J))return gi(c,b,N)?(0,L.of)(new Qe([],{})):fo(c);throw J}))}expandSegmentAgainstRoute(g,c,_,b,N,j,J){return dr(b,c,N,j)?void 0===b.redirectTo?this.matchSegmentAgainstRoute(g,c,b,N,j):J&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(g,c,_,b,N,j):fo(c):fo(c)}expandSegmentAgainstRouteUsingRedirect(g,c,_,b,N,j){return"**"===b.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(g,_,b,j):this.expandRegularSegmentAgainstRouteUsingRedirect(g,c,_,b,N,j)}expandWildCardWithParamsAgainstRouteUsingRedirect(g,c,_,b){const N=this.applyRedirectCommands([],_.redirectTo,{});return _.redirectTo.startsWith("/")?_s(N):this.lineralizeSegments(_,N).pipe((0,Nt.z)(j=>{const J=new Qe(j,{});return this.expandSegment(g,J,c,j,b,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(g,c,_,b,N,j){const{matched:J,consumedSegments:xe,remainingSegments:dt,positionalParamSegments:Zt}=So(c,b,N);if(!J)return fo(c);const vt=this.applyRedirectCommands(xe,b.redirectTo,Zt);return b.redirectTo.startsWith("/")?_s(vt):this.lineralizeSegments(b,vt).pipe((0,Nt.z)(yn=>this.expandSegment(g,c,_,yn.concat(dt),j,!1)))}matchSegmentAgainstRoute(g,c,_,b,N){return"**"===_.path?(g=Ir(_,g),_.loadChildren?(_._loadedRoutes?(0,L.of)({routes:_._loadedRoutes,injector:_._loadedInjector}):this.configLoader.loadChildren(g,_)).pipe((0,le.U)(J=>(_._loadedRoutes=J.routes,_._loadedInjector=J.injector,new Qe(b,{})))):(0,L.of)(new Qe(b,{}))):co(c,_,b,g).pipe((0,$e.w)(({matched:j,consumedSegments:J,remainingSegments:xe})=>j?this.getChildConfig(g=_._injector??g,_,b).pipe((0,Nt.z)(Zt=>{const vt=Zt.injector??g,yn=Zt.routes,{segmentGroup:_r,slicedSegments:Ci}=$i(c,J,xe,yn),Yi=new Qe(_r.segments,_r.children);if(0===Ci.length&&Yi.hasChildren())return this.expandChildren(vt,yn,Yi).pipe((0,le.U)(_a=>new Qe(J,_a)));if(0===yn.length&&0===Ci.length)return(0,L.of)(new Qe(J,{}));const vr=we(_)===N;return this.expandSegment(vt,Yi,yn,Ci,vr?at:N,!0).pipe((0,le.U)(Ps=>new Qe(J.concat(Ps.segments),Ps.children)))})):fo(c)))}getChildConfig(g,c,_){return c.children?(0,L.of)({routes:c.children,injector:g}):c.loadChildren?void 0!==c._loadedRoutes?(0,L.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function xi(f,g,c,_){const b=g.canLoad;if(void 0===b||0===b.length)return(0,L.of)(!0);const N=b.map(j=>{const J=f.get(j),xe=function Pr(f){return f&&Or(f.canLoad)}(J)?J.canLoad(g,c):J(g,c);return pn(xe)});return(0,L.of)(N).pipe(D(),uo())}(g,c,_).pipe((0,Nt.z)(b=>b?this.configLoader.loadChildren(g,c).pipe((0,Ht.b)(N=>{c._loadedRoutes=N.routes,c._loadedInjector=N.injector})):function Ks(f){return z(mr(jt,3))}())):(0,L.of)({routes:[],injector:g})}lineralizeSegments(g,c){let _=[],b=c.root;for(;;){if(_=_.concat(b.segments),0===b.numberOfChildren)return(0,L.of)(_);if(b.numberOfChildren>1||!b.children[at])return z(new l.vHH(4e3,jt));b=b.children[at]}}applyRedirectCommands(g,c,_){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),g,_)}applyRedirectCreateUrlTree(g,c,_,b){const N=this.createSegmentGroup(g,c.root,_,b);return new wt(N,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(g,c){const _={};return xt(g,(b,N)=>{if("string"==typeof b&&b.startsWith(":")){const J=b.substring(1);_[N]=c[J]}else _[N]=b}),_}createSegmentGroup(g,c,_,b){const N=this.createSegments(g,c.segments,_,b);let j={};return xt(c.children,(J,xe)=>{j[xe]=this.createSegmentGroup(g,J,_,b)}),new Qe(N,j)}createSegments(g,c,_,b){return c.map(N=>N.path.startsWith(":")?this.findPosParam(g,N,b):this.findOrReturn(N,_))}findPosParam(g,c,_){const b=_[c.path.substring(1)];if(!b)throw new l.vHH(4001,jt);return b}findOrReturn(g,c){let _=0;for(const b of c){if(b.path===g.path)return c.splice(_),b;_++}return g}}class xa{}class Zo{constructor(g,c,_,b,N,j,J,xe){this.injector=g,this.rootComponentType=c,this.config=_,this.urlTree=b,this.url=N,this.paramsInheritanceStrategy=j,this.relativeLinkResolution=J,this.urlSerializer=xe}recognize(){const g=$i(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,g,at).pipe((0,le.U)(c=>{if(null===c)return null;const _=new Br([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},at,this.rootComponentType,null,this.urlTree.root,-1,{}),b=new Sr(_,c),N=new Zr(this.url,b);return this.inheritParamsAndData(N._root),N}))}inheritParamsAndData(g){const c=g.value,_=so(c,this.paramsInheritanceStrategy);c.params=Object.freeze(_.params),c.data=Object.freeze(_.data),g.children.forEach(b=>this.inheritParamsAndData(b))}processSegmentGroup(g,c,_,b){return 0===_.segments.length&&_.hasChildren()?this.processChildren(g,c,_):this.processSegment(g,c,_,_.segments,b)}processChildren(g,c,_){return(0,B.D)(Object.keys(_.children)).pipe((0,lt.b)(b=>{const N=_.children[b],j=ht(c,b);return this.processSegmentGroup(g,j,N,b)}),Ge((b,N)=>b&&N?(b.push(...N),b):null),(0,We.o)(b=>null!==b),(0,se.d)(null),Te(),(0,le.U)(b=>{if(null===b)return null;const N=qo(b);return function Ra(f){f.sort((g,c)=>g.value.outlet===at?-1:c.value.outlet===at?1:g.value.outlet.localeCompare(c.value.outlet))}(N),N}))}processSegment(g,c,_,b,N){return(0,B.D)(c).pipe((0,lt.b)(j=>this.processSegmentAgainstRoute(j._injector??g,j,_,b,N)),(0,kt.P)(j=>!!j),ae(j=>{if(T(j))return gi(_,b,N)?(0,L.of)([]):(0,L.of)(null);throw j}))}processSegmentAgainstRoute(g,c,_,b,N){if(c.redirectTo||!dr(c,_,b,N))return(0,L.of)(null);let j;if("**"===c.path){const J=b.length>0?Hn(b).parameters:{},xe=Fa(_)+b.length,dt=new Br(b,J,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Qo(c),we(c),c.component??c._loadedComponent??null,c,qs(_),xe,Jo(c),xe);j=(0,L.of)({snapshot:dt,consumedSegments:[],remainingSegments:[]})}else j=co(_,c,b,g).pipe((0,le.U)(({matched:J,consumedSegments:xe,remainingSegments:dt,parameters:Zt})=>{if(!J)return null;const vt=Fa(_)+xe.length;return{snapshot:new Br(xe,Zt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Qo(c),we(c),c.component??c._loadedComponent??null,c,qs(_),vt,Jo(c),vt),consumedSegments:xe,remainingSegments:dt}}));return j.pipe((0,$e.w)(J=>{if(null===J)return(0,L.of)(null);const{snapshot:xe,consumedSegments:dt,remainingSegments:Zt}=J;g=c._injector??g;const vt=c._loadedInjector??g,yn=function Na(f){return f.children?f.children:f.loadChildren?f._loadedRoutes:[]}(c),{segmentGroup:_r,slicedSegments:Ci}=$i(_,dt,Zt,yn.filter(vr=>void 0===vr.redirectTo),this.relativeLinkResolution);if(0===Ci.length&&_r.hasChildren())return this.processChildren(vt,yn,_r).pipe((0,le.U)(vr=>null===vr?null:[new Sr(xe,vr)]));if(0===yn.length&&0===Ci.length)return(0,L.of)([new Sr(xe,[])]);const Yi=we(c)===N;return this.processSegment(vt,yn,_r,Ci,Yi?at:N).pipe((0,le.U)(vr=>null===vr?null:[new Sr(xe,vr)]))}))}}function Yo(f){const g=f.value.routeConfig;return g&&""===g.path&&void 0===g.redirectTo}function qo(f){const g=[],c=new Set;for(const _ of f){if(!Yo(_)){g.push(_);continue}const b=g.find(N=>_.value.routeConfig===N.value.routeConfig);void 0!==b?(b.children.push(..._.children),c.add(b)):g.push(_)}for(const _ of c){const b=qo(_.children);g.push(new Sr(_.value,b))}return g.filter(_=>!c.has(_))}function qs(f){let g=f;for(;g._sourceSegment;)g=g._sourceSegment;return g}function Fa(f){let g=f,c=g._segmentIndexShift??0;for(;g._sourceSegment;)g=g._sourceSegment,c+=g._segmentIndexShift??0;return c-1}function Qo(f){return f.data||{}}function Jo(f){return f.resolve||{}}const zi=Symbol("RouteTitle");function Ds(f){return"string"==typeof f.title||null===f.title}function xo(f){return(0,$e.w)(g=>{const c=f(g);return c?(0,B.D)(c).pipe((0,le.U)(()=>g)):(0,L.of)(g)})}let Va=(()=>{class f{buildTitle(c){let _,b=c.root;for(;void 0!==b;)_=this.getResolvedTitleForRoute(b)??_,b=b.children.find(N=>N.outlet===at);return _}getResolvedTitleForRoute(c){return c.data[zi]}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=l.Yz7({token:f,factory:function(){return(0,l.f3M)(Cs)},providedIn:"root"}),f})(),Cs=(()=>{class f extends Va{constructor(c){super(),this.title=c}updateTitle(c){const _=this.buildTitle(c);void 0!==_&&this.title.setTitle(_)}}return f.\u0275fac=function(c){return new(c||f)(l.LFG(st.Dx))},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();class Ba{}class qr extends class Ua{shouldDetach(g){return!1}store(g,c){}shouldAttach(g){return!1}retrieve(g){return null}shouldReuseRoute(g,c){return g.routeConfig===c.routeConfig}}{}const li=new l.OlP("",{providedIn:"root",factory:()=>({})}),Wi=new l.OlP("ROUTES");let Ki=(()=>{class f{constructor(c,_){this.injector=c,this.compiler=_,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,L.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const _=pn(c.loadComponent()).pipe((0,Ht.b)(N=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=N}),(0,de.x)(()=>{this.componentLoaders.delete(c)})),b=new fe(_,()=>new et.x).pipe(ie());return this.componentLoaders.set(c,b),b}loadChildren(c,_){if(this.childrenLoaders.get(_))return this.childrenLoaders.get(_);if(_._loadedRoutes)return(0,L.of)({routes:_._loadedRoutes,injector:_._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(_);const N=this.loadModuleFactoryOrRoutes(_.loadChildren).pipe((0,le.U)(J=>{this.onLoadEndListener&&this.onLoadEndListener(_);let xe,dt,Zt=!1;Array.isArray(J)?dt=J:(xe=J.create(c).injector,dt=Dn(xe.get(Wi,[],l.XFs.Self|l.XFs.Optional)));return{routes:dt.map(ke),injector:xe}}),(0,de.x)(()=>{this.childrenLoaders.delete(_)})),j=new fe(N,()=>new et.x).pipe(ie());return this.childrenLoaders.set(_,j),j}loadModuleFactoryOrRoutes(c){return pn(c()).pipe((0,Nt.z)(_=>_ instanceof l.YKP||Array.isArray(_)?(0,L.of)(_):(0,B.D)(this.compiler.compileModuleAsync(_))))}}return f.\u0275fac=function(c){return new(c||f)(l.LFG(l.zs3),l.LFG(l.Sil))},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();class Ro{}class Qs{shouldProcessUrl(g){return!0}extract(g){return g}merge(g,c){return g}}function Js(f){throw f}function No(f,g,c){return g.parse("/")}const Xs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Es={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function ho(){const f=(0,l.f3M)(Ft),g=(0,l.f3M)(Ii),c=(0,l.f3M)(nt.Ye),_=(0,l.f3M)(l.zs3),b=(0,l.f3M)(l.Sil),N=(0,l.f3M)(Wi,{optional:!0})??[],j=(0,l.f3M)(li,{optional:!0})??{},J=(0,l.f3M)(Cs),xe=(0,l.f3M)(Va,{optional:!0}),dt=(0,l.f3M)(Ro,{optional:!0}),Zt=(0,l.f3M)(Ba,{optional:!0}),vt=new yr(null,f,g,c,_,b,Dn(N));return dt&&(vt.urlHandlingStrategy=dt),Zt&&(vt.routeReuseStrategy=Zt),vt.titleStrategy=xe??J,function Fo(f,g){f.errorHandler&&(g.errorHandler=f.errorHandler),f.malformedUriErrorHandler&&(g.malformedUriErrorHandler=f.malformedUriErrorHandler),f.onSameUrlNavigation&&(g.onSameUrlNavigation=f.onSameUrlNavigation),f.paramsInheritanceStrategy&&(g.paramsInheritanceStrategy=f.paramsInheritanceStrategy),f.relativeLinkResolution&&(g.relativeLinkResolution=f.relativeLinkResolution),f.urlUpdateStrategy&&(g.urlUpdateStrategy=f.urlUpdateStrategy),f.canceledNavigationResolution&&(g.canceledNavigationResolution=f.canceledNavigationResolution)}(j,vt),vt}let yr=(()=>{class f{constructor(c,_,b,N,j,J,xe){this.rootComponentType=c,this.urlSerializer=_,this.rootContexts=b,this.location=N,this.config=xe,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new et.x,this.errorHandler=Js,this.malformedUriErrorHandler=No,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,L.of)(void 0),this.urlHandlingStrategy=new Qs,this.routeReuseStrategy=new qr,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=j.get(Ki),this.configLoader.onLoadEndListener=yn=>this.triggerEvent(new ps(yn)),this.configLoader.onLoadStartListener=yn=>this.triggerEvent(new hs(yn)),this.ngModule=j.get(l.h0i),this.console=j.get(l.c2e);const vt=j.get(l.R0b);this.isNgZoneEnabled=vt instanceof l.R0b&&l.R0b.isInAngularZone(),this.resetConfig(xe),this.currentUrlTree=function Vn(){return new wt(new Qe([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=wi(this.currentUrlTree,this.rootComponentType),this.transitions=new ne.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(c){const _=this.events;return c.pipe((0,Be.h)(b=>0!==b.id),(0,le.U)(b=>({...b,extractedUrl:this.urlHandlingStrategy.extract(b.rawUrl)})),(0,$e.w)(b=>{let N=!1,j=!1;return(0,L.of)(b).pipe((0,Ht.b)(J=>{this.currentNavigation={id:J.id,initialUrl:J.rawUrl,extractedUrl:J.extractedUrl,trigger:J.source,extras:J.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,$e.w)(J=>{const xe=this.browserUrlTree.toString(),dt=!this.navigated||J.extractedUrl.toString()!==xe||xe!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||dt)&&this.urlHandlingStrategy.shouldProcessUrl(J.rawUrl))return bs(J.source)&&(this.browserUrlTree=J.extractedUrl),(0,L.of)(J).pipe((0,$e.w)(vt=>{const yn=this.transitions.getValue();return _.next(new Kn(vt.id,this.serializeUrl(vt.extractedUrl),vt.source,vt.restoredState)),yn!==this.transitions.getValue()?he.E:Promise.resolve(vt)}),function Ys(f,g,c,_){return(0,$e.w)(b=>function vs(f,g,c,_,b){return new Zs(f,g,c,_,b).apply()}(f,g,c,b.extractedUrl,_).pipe((0,le.U)(N=>({...b,urlAfterRedirects:N}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Ht.b)(vt=>{this.currentNavigation={...this.currentNavigation,finalUrl:vt.urlAfterRedirects},b.urlAfterRedirects=vt.urlAfterRedirects}),function ha(f,g,c,_,b,N){return(0,Nt.z)(j=>function mi(f,g,c,_,b,N,j="emptyOnly",J="legacy"){return new Zo(f,g,c,_,b,j,J,N).recognize().pipe((0,$e.w)(xe=>null===xe?function al(f){return new d.y(g=>g.error(f))}(new xa):(0,L.of)(xe)))}(f,g,c,j.urlAfterRedirects,_.serialize(j.urlAfterRedirects),_,b,N).pipe((0,le.U)(J=>({...j,targetSnapshot:J}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Ht.b)(vt=>{if(b.targetSnapshot=vt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!vt.extras.skipLocationChange){const _r=this.urlHandlingStrategy.merge(vt.urlAfterRedirects,vt.rawUrl);this.setBrowserUrl(_r,vt)}this.browserUrlTree=vt.urlAfterRedirects}const yn=new Qn(vt.id,this.serializeUrl(vt.extractedUrl),this.serializeUrl(vt.urlAfterRedirects),vt.targetSnapshot);_.next(yn)}));if(dt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:yn,extractedUrl:_r,source:Ci,restoredState:Yi,extras:vr}=J,Os=new Kn(yn,this.serializeUrl(_r),Ci,Yi);_.next(Os);const Ps=wi(_r,this.rootComponentType).snapshot;return b={...J,targetSnapshot:Ps,urlAfterRedirects:_r,extras:{...vr,skipLocationChange:!1,replaceUrl:!1}},(0,L.of)(b)}return this.rawUrlTree=J.rawUrl,J.resolve(null),he.E}),(0,Ht.b)(J=>{const xe=new Do(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(J.urlAfterRedirects),J.targetSnapshot);this.triggerEvent(xe)}),(0,le.U)(J=>b={...J,guards:Tn(J.targetSnapshot,J.currentSnapshot,this.rootContexts)}),function F(f,g){return(0,Nt.z)(c=>{const{targetSnapshot:_,currentSnapshot:b,guards:{canActivateChecks:N,canDeactivateChecks:j}}=c;return 0===j.length&&0===N.length?(0,L.of)({...c,guardsResult:!0}):function Fe(f,g,c,_){return(0,B.D)(f).pipe((0,Nt.z)(b=>function pi(f,g,c,_,b){const N=g&&g.routeConfig?g.routeConfig.canDeactivate:null;if(!N||0===N.length)return(0,L.of)(!0);const j=N.map(J=>{const xe=ze(J,g,b);return pn(function Gs(f){return f&&Or(f.canDeactivate)}(xe)?xe.canDeactivate(f,g,c,_):xe(f,g,c,_)).pipe((0,kt.P)())});return(0,L.of)(j).pipe(D())}(b.component,b.route,c,g,_)),(0,kt.P)(b=>!0!==b,!0))}(j,_,b,f).pipe((0,Nt.z)(J=>J&&function si(f){return"boolean"==typeof f}(J)?function It(f,g,c,_){return(0,B.D)(g).pipe((0,lt.b)(b=>(0,Se.z)(function jr(f,g){return null!==f&&g&&g(new $s(f)),(0,L.of)(!0)}(b.route.parent,_),function kn(f,g){return null!==f&&g&&g(new Co(f)),(0,L.of)(!0)}(b.route,_),function ai(f,g,c){const _=g[g.length-1],N=g.slice(0,g.length-1).reverse().map(j=>function $n(f){const g=f.routeConfig?f.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:f,guards:g}:null}(j)).filter(j=>null!==j).map(j=>(0,Ye.P)(()=>{const J=j.guards.map(xe=>{const dt=ze(xe,j.node,c);return pn(function Mo(f){return f&&Or(f.canActivateChild)}(dt)?dt.canActivateChild(_,f):dt(_,f)).pipe((0,kt.P)())});return(0,L.of)(J).pipe(D())}));return(0,L.of)(N).pipe(D())}(f,b.path,c),function ar(f,g,c){const _=g.routeConfig?g.routeConfig.canActivate:null;if(!_||0===_.length)return(0,L.of)(!0);const b=_.map(N=>(0,Ye.P)(()=>{const j=ze(N,g,c);return pn(function Wo(f){return f&&Or(f.canActivate)}(j)?j.canActivate(g,f):j(g,f)).pipe((0,kt.P)())}));return(0,L.of)(b).pipe(D())}(f,b.route,c))),(0,kt.P)(b=>!0!==b,!0))}(_,N,f,g):(0,L.of)(J)),(0,le.U)(J=>({...c,guardsResult:J})))})}(this.ngModule.injector,J=>this.triggerEvent(J)),(0,Ht.b)(J=>{if(b.guardsResult=J.guardsResult,Le(J.guardsResult))throw zn(0,J.guardsResult);const xe=new no(J.id,this.serializeUrl(J.extractedUrl),this.serializeUrl(J.urlAfterRedirects),J.targetSnapshot,!!J.guardsResult);this.triggerEvent(xe)}),(0,Be.h)(J=>!!J.guardsResult||(this.restoreHistory(J),this.cancelNavigationTransition(J,"",3),!1)),xo(J=>{if(J.guards.canActivateChecks.length)return(0,L.of)(J).pipe((0,Ht.b)(xe=>{const dt=new Bi(xe.id,this.serializeUrl(xe.extractedUrl),this.serializeUrl(xe.urlAfterRedirects),xe.targetSnapshot);this.triggerEvent(dt)}),(0,$e.w)(xe=>{let dt=!1;return(0,L.of)(xe).pipe(function pa(f,g){return(0,Nt.z)(c=>{const{targetSnapshot:_,guards:{canActivateChecks:b}}=c;if(!b.length)return(0,L.of)(c);let N=0;return(0,B.D)(b).pipe((0,lt.b)(j=>function ga(f,g,c,_){const b=f.routeConfig,N=f._resolve;return void 0!==b?.title&&!Ds(b)&&(N[zi]=b.title),function Po(f,g,c,_){const b=function La(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}(f);if(0===b.length)return(0,L.of)({});const N={};return(0,B.D)(b).pipe((0,Nt.z)(j=>function lr(f,g,c,_){const b=ze(f,g,_);return pn(b.resolve?b.resolve(g,c):b(g,c))}(f[j],g,c,_).pipe((0,kt.P)(),(0,Ht.b)(J=>{N[j]=J}))),ve(1),(0,qe.h)(N),ae(j=>T(j)?he.E:z(j)))}(N,f,g,_).pipe((0,le.U)(j=>(f._resolvedData=j,f.data=so(f,c).resolve,b&&Ds(b)&&(f.data[zi]=b.title),null)))}(j.route,_,f,g)),(0,Ht.b)(()=>N++),ve(1),(0,Nt.z)(j=>N===b.length?(0,L.of)(c):he.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Ht.b)({next:()=>dt=!0,complete:()=>{dt||(this.restoreHistory(xe),this.cancelNavigationTransition(xe,"",2))}}))}),(0,Ht.b)(xe=>{const dt=new fs(xe.id,this.serializeUrl(xe.extractedUrl),this.serializeUrl(xe.urlAfterRedirects),xe.targetSnapshot);this.triggerEvent(dt)}))}),xo(J=>{const xe=dt=>{const Zt=[];dt.routeConfig?.loadComponent&&!dt.routeConfig._loadedComponent&&Zt.push(this.configLoader.loadComponent(dt.routeConfig).pipe((0,Ht.b)(vt=>{dt.component=vt}),(0,le.U)(()=>{})));for(const vt of dt.children)Zt.push(...xe(vt));return Zt};return(0,Ne.a)(xe(J.targetSnapshot.root)).pipe((0,se.d)(),(0,Je.q)(1))}),xo(()=>this.afterPreactivation()),(0,le.U)(J=>{const xe=function Si(f,g,c){const _=Ur(f,g._root,c?c._root:void 0);return new Eo(_,g)}(this.routeReuseStrategy,J.targetSnapshot,J.currentRouterState);return b={...J,targetRouterState:xe}}),(0,Ht.b)(J=>{this.currentUrlTree=J.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(J.urlAfterRedirects,J.rawUrl),this.routerState=J.targetRouterState,"deferred"===this.urlUpdateStrategy&&(J.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,J),this.browserUrlTree=J.urlAfterRedirects)}),((f,g,c)=>(0,le.U)(_=>(new An(g,_.targetRouterState,_.currentRouterState,c).activate(f),_)))(this.rootContexts,this.routeReuseStrategy,J=>this.triggerEvent(J)),(0,Ht.b)({next(){N=!0},complete(){N=!0}}),(0,de.x)(()=>{N||j||this.cancelNavigationTransition(b,"",1),this.currentNavigation?.id===b.id&&(this.currentNavigation=null)}),ae(J=>{if(j=!0,Yr(J)){zo(J)||(this.navigated=!0,this.restoreHistory(b,!0));const xe=new Lr(b.id,this.serializeUrl(b.extractedUrl),J.message,J.cancellationCode);if(_.next(xe),zo(J)){const dt=this.urlHandlingStrategy.merge(J.url,this.rawUrlTree),Zt={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||bs(b.source)};this.scheduleNavigation(dt,"imperative",null,Zt,{resolve:b.resolve,reject:b.reject,promise:b.promise})}else b.resolve(!1)}else{this.restoreHistory(b,!0);const xe=new Kr(b.id,this.serializeUrl(b.extractedUrl),J,b.targetSnapshot??void 0);_.next(xe);try{b.resolve(this.errorHandler(J))}catch(dt){b.reject(dt)}}return he.E}))}))}resetRootComponentType(c){this.rootComponentType=c,this.routerState.root.component=this.rootComponentType}setTransition(c){this.transitions.next({...this.transitions.value,...c})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const _="popstate"===c.type?"popstate":"hashchange";"popstate"===_&&setTimeout(()=>{const b={replaceUrl:!0},N=c.state?.navigationId?c.state:null;if(N){const J={...N};delete J.navigationId,delete J.\u0275routerPageId,0!==Object.keys(J).length&&(b.state=J)}const j=this.parseUrl(c.url);this.scheduleNavigation(j,_,N,b)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(c){this.events.next(c)}resetConfig(c){this.config=c.map(ke),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(c,_={}){const{relativeTo:b,queryParams:N,fragment:j,queryParamsHandling:J,preserveFragment:xe}=_,dt=b||this.routerState.root,Zt=xe?this.currentUrlTree.fragment:j;let vt=null;switch(J){case"merge":vt={...this.currentUrlTree.queryParams,...N};break;case"preserve":vt=this.currentUrlTree.queryParams;break;default:vt=N||null}return null!==vt&&(vt=this.removeEmptyProps(vt)),Mr(dt,this.currentUrlTree,c,vt,Zt??null)}navigateByUrl(c,_={skipLocationChange:!1}){const b=Le(c)?c:this.parseUrl(c),N=this.urlHandlingStrategy.merge(b,this.rawUrlTree);return this.scheduleNavigation(N,"imperative",null,_)}navigate(c,_={skipLocationChange:!1}){return function yi(f){for(let g=0;g<f.length;g++){if(null==f[g])throw new l.vHH(4008,false)}}(c),this.navigateByUrl(this.createUrlTree(c,_),_)}serializeUrl(c){return this.urlSerializer.serialize(c)}parseUrl(c){let _;try{_=this.urlSerializer.parse(c)}catch(b){_=this.malformedUriErrorHandler(b,this.urlSerializer,c)}return _}isActive(c,_){let b;if(b=!0===_?{...Xs}:!1===_?{...Es}:_,Le(c))return Cn(this.currentUrlTree,c,b);const N=this.parseUrl(c);return Cn(this.currentUrlTree,N,b)}removeEmptyProps(c){return Object.keys(c).reduce((_,b)=>{const N=c[b];return null!=N&&(_[b]=N),_},{})}processNavigations(){this.navigations.subscribe(c=>{this.navigated=!0,this.lastSuccessfulId=c.id,this.currentPageId=c.targetPageId,this.events.next(new Xn(c.id,this.serializeUrl(c.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),c.resolve(!0)},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)})}scheduleNavigation(c,_,b,N,j){if(this.disposed)return Promise.resolve(!1);let J,xe,dt;j?(J=j.resolve,xe=j.reject,dt=j.promise):dt=new Promise((yn,_r)=>{J=yn,xe=_r});const Zt=++this.navigationId;let vt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(b=this.location.getState()),vt=b&&b.\u0275routerPageId?b.\u0275routerPageId:N.replaceUrl||N.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):vt=0,this.setTransition({id:Zt,targetPageId:vt,source:_,restoredState:b,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:c,extras:N,resolve:J,reject:xe,promise:dt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),dt.catch(yn=>Promise.reject(yn))}setBrowserUrl(c,_){const b=this.urlSerializer.serialize(c),N={..._.extras.state,...this.generateNgRouterState(_.id,_.targetPageId)};this.location.isCurrentPathEqualTo(b)||_.extras.replaceUrl?this.location.replaceState(b,"",N):this.location.go(b,"",N)}restoreHistory(c,_=!1){if("computed"===this.canceledNavigationResolution){const b=this.currentPageId-c.targetPageId;"popstate"!==c.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===b?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===b&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(b)}else"replace"===this.canceledNavigationResolution&&(_&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(c,_,b){const N=new Lr(c.id,this.serializeUrl(c.extractedUrl),_,b);this.triggerEvent(N),c.resolve(!1)}generateNgRouterState(c,_){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:_}:{navigationId:c}}}return f.\u0275fac=function(c){l.$Z()},f.\u0275prov=l.Yz7({token:f,factory:function(){return ho()},providedIn:"root"}),f})();function bs(f){return"imperative"!==f}let _i=(()=>{class f{constructor(c,_,b,N,j){this.router=c,this.route=_,this.tabIndexAttribute=b,this.renderer=N,this.el=j,this.commands=null,this.onChanges=new et.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(c){if(null!=this.tabIndexAttribute)return;const _=this.renderer,b=this.el.nativeElement;null!==c?_.setAttribute(b,"tabindex",c):_.removeAttribute(b,"tabindex")}ngOnChanges(c){this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const c={skipLocationChange:(0,l.D6c)(this.skipLocationChange),replaceUrl:(0,l.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,c),!0}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:(0,l.D6c)(this.preserveFragment)})}}return f.\u0275fac=function(c){return new(c||f)(l.Y36(yr),l.Y36(ii),l.$8M("tabindex"),l.Y36(l.Qsj),l.Y36(l.SBq))},f.\u0275dir=l.lG2({type:f,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(c,_){1&c&&l.NdJ("click",function(){return _.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[l.TTD]}),f})(),Xo=(()=>{class f{constructor(c,_,b){this.router=c,this.route=_,this.locationStrategy=b,this.commands=null,this.href=null,this.onChanges=new et.x,this.subscription=c.events.subscribe(N=>{N instanceof Xn&&this.updateTargetUrlAndHref()})}set routerLink(c){this.commands=null!=c?Array.isArray(c)?c:[c]:null}ngOnChanges(c){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(c,_,b,N,j){if(0!==c||_||b||N||j||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const J={skipLocationChange:(0,l.D6c)(this.skipLocationChange),replaceUrl:(0,l.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,J),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:(0,l.D6c)(this.preserveFragment)})}}return f.\u0275fac=function(c){return new(c||f)(l.Y36(yr),l.Y36(ii),l.Y36(nt.S$))},f.\u0275dir=l.lG2({type:f,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(c,_){1&c&&l.NdJ("click",function(N){return _.onClick(N.button,N.ctrlKey,N.shiftKey,N.altKey,N.metaKey)}),2&c&&l.uIk("target",_.target)("href",_.href,l.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[l.TTD]}),f})(),ws=(()=>{class f{constructor(c,_,b,N,j,J){this.router=c,this.element=_,this.renderer=b,this.cdr=N,this.link=j,this.linkWithHref=J,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new l.vpe,this.routerEventsSubscription=c.events.subscribe(xe=>{xe instanceof Xn&&this.update()})}ngAfterContentInit(){(0,L.of)(this.links.changes,this.linksWithHrefs.changes,(0,L.of)(null)).pipe((0,Re.J)()).subscribe(c=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const c=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(_=>!!_).map(_=>_.onChanges);this.linkInputChangesSubscription=(0,B.D)(c).pipe((0,Re.J)()).subscribe(_=>{this.isActive!==this.isLinkActive(this.router)(_)&&this.update()})}set routerLinkActive(c){const _=Array.isArray(c)?c:c.split(" ");this.classes=_.filter(b=>!!b)}ngOnChanges(c){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const c=this.hasActiveLinks();this.isActive!==c&&(this.isActive=c,this.cdr.markForCheck(),this.classes.forEach(_=>{c?this.renderer.addClass(this.element.nativeElement,_):this.renderer.removeClass(this.element.nativeElement,_)}),c&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(c))})}isLinkActive(c){const _=function es(f){return!!f.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return b=>!!b.urlTree&&c.isActive(b.urlTree,_)}hasActiveLinks(){const c=this.isLinkActive(this.router);return this.link&&c(this.link)||this.linkWithHref&&c(this.linkWithHref)||this.links.some(c)||this.linksWithHrefs.some(c)}}return f.\u0275fac=function(c){return new(c||f)(l.Y36(yr),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.sBO),l.Y36(_i,8),l.Y36(Xo,8))},f.\u0275dir=l.lG2({type:f,selectors:[["","routerLinkActive",""]],contentQueries:function(c,_,b){if(1&c&&(l.Suo(b,_i,5),l.Suo(b,Xo,5)),2&c){let N;l.iGM(N=l.CRH())&&(_.links=N),l.iGM(N=l.CRH())&&(_.linksWithHrefs=N)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[l.TTD]}),f})();class ea{}let ui=(()=>{class f{constructor(c,_,b,N,j){this.router=c,this.injector=b,this.preloadingStrategy=N,this.loader=j}setUpPreloading(){this.subscription=this.router.events.pipe((0,Be.h)(c=>c instanceof Xn),(0,lt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,_){const b=[];for(const N of _){N.providers&&!N._injector&&(N._injector=(0,l.MMx)(N.providers,c,`Route: ${N.path}`));const j=N._injector??c,J=N._loadedInjector??j;N.loadChildren&&!N._loadedRoutes&&void 0===N.canLoad||N.loadComponent&&!N._loadedComponent?b.push(this.preloadConfig(j,N)):(N.children||N._loadedRoutes)&&b.push(this.processRoutes(J,N.children??N._loadedRoutes))}return(0,B.D)(b).pipe((0,Re.J)())}preloadConfig(c,_){return this.preloadingStrategy.preload(_,()=>{let b;b=_.loadChildren&&void 0===_.canLoad?this.loader.loadChildren(c,_):(0,L.of)(null);const N=b.pipe((0,Nt.z)(j=>null===j?(0,L.of)(void 0):(_._loadedRoutes=j.routes,_._loadedInjector=j.injector,this.processRoutes(j.injector??c,j.routes))));if(_.loadComponent&&!_._loadedComponent){const j=this.loader.loadComponent(_);return(0,B.D)([N,j]).pipe((0,Re.J)())}return N})}}return f.\u0275fac=function(c){return new(c||f)(l.LFG(yr),l.LFG(l.Sil),l.LFG(l.lqb),l.LFG(ea),l.LFG(Ki))},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac}),f})();const po=new l.OlP("");let br=(()=>{class f{constructor(c,_,b={}){this.router=c,this.viewportScroller=_,this.options=b,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},b.scrollPositionRestoration=b.scrollPositionRestoration||"disabled",b.anchorScrolling=b.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(c=>{c instanceof Kn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof Xn&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.router.parseUrl(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(c=>{c instanceof ro&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,_){this.router.triggerEvent(new ro(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,_))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return f.\u0275fac=function(c){l.$Z()},f.\u0275prov=l.Yz7({token:f,factory:f.\u0275fac}),f})();const $r=new l.OlP("ROUTER_FORROOT_GUARD"),Di=new l.OlP(""),ns=[nt.Ye,{provide:Ft,useClass:rn},{provide:yr,useFactory:ho},Ii,{provide:ii,useFactory:function hn(f){return f.routerState.root},deps:[yr]},Ki];function As(){return new l.PXZ("Router",yr)}let ko=(()=>{class f{constructor(c){}static forRoot(c,_){return{ngModule:f,providers:[ns,[],ra(c),{provide:$r,useFactory:Ms,deps:[[yr,new l.FiY,new l.tp0]]},{provide:li,useValue:_||{}},_?.useHash?{provide:nt.S$,useClass:nt.Do}:{provide:nt.S$,useClass:nt.b0},{provide:po,useFactory:()=>{const f=(0,l.f3M)(yr),g=(0,l.f3M)(nt.EM),c=(0,l.f3M)(li);return c.scrollOffset&&g.setOffset(c.scrollOffset),new br(f,g,c)}},_?.preloadingStrategy?Jr(_.preloadingStrategy):[],{provide:l.PXZ,multi:!0,useFactory:As},_?.initialNavigation?Lo(_):[],[{provide:ja,useFactory:go},{provide:l.tb,multi:!0,useExisting:ja}]]}}static forChild(c){return{ngModule:f,providers:[ra(c)]}}}return f.\u0275fac=function(c){return new(c||f)(l.LFG($r,8))},f.\u0275mod=l.oAB({type:f}),f.\u0275inj=l.cJS({}),f})();function Ms(f){return"guarded"}function ra(f){return[{provide:Wi,multi:!0,useValue:f}]}function go(){const f=(0,l.f3M)(l.zs3);return g=>{const c=f.get(l.z2F);if(g!==c.components[0])return;const _=f.get(yr),b=f.get(Ss);1===f.get(Zi)&&_.initialNavigation(),f.get(Di,null,l.XFs.Optional)?.setUpPreloading(),f.get(po,null,l.XFs.Optional)?.init(),_.resetRootComponentType(c.componentTypes[0]),b.next(),b.complete()}}const ja=new l.OlP("");function Lo(f){return["disabled"===f.initialNavigation?[{provide:l.ip1,multi:!0,useFactory:()=>{const f=(0,l.f3M)(yr);return()=>{f.setUpLocationChangeListener()}}},{provide:Zi,useValue:2}]:[],"enabledBlocking"===f.initialNavigation?[{provide:Zi,useValue:0},{provide:l.ip1,multi:!0,deps:[l.zs3],useFactory:f=>{const g=f.get(nt.V_,Promise.resolve(null));let c=!1;return()=>g.then(()=>new Promise(b=>{const N=f.get(yr),j=f.get(Ss);(function _(b){f.get(yr).events.pipe((0,Be.h)(j=>j instanceof Xn||j instanceof Lr||j instanceof Kr),(0,le.U)(j=>j instanceof Xn||j instanceof Lr&&(0===j.code||1===j.code)&&null),(0,Be.h)(j=>null!==j),(0,Je.q)(1)).subscribe(()=>{b()})})(()=>{b(!0),c=!0}),N.afterPreactivation=()=>(b(!0),c||j.closed?(0,L.of)(void 0):j),N.initialNavigation()}))}}]:[]]}const Ss=new l.OlP("",{factory:()=>new et.x}),Zi=new l.OlP("",{providedIn:"root",factory:()=>1});function Jr(f){return[ui,{provide:Di,useExisting:ui},{provide:ea,useExisting:f}]}},3942:(rt,ye,S)=>{S.d(ye,{Z:()=>Se});var l=S(2090),d=S(4859),$=S(9681),z=S(1877);class G{constructor(Me,he){this._delegate=Me,this.firebase=he,(0,$._addComponent)(Me,new d.wA("app-compat",()=>this,"PUBLIC")),this.container=Me.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(Me){this._delegate.automaticDataCollectionEnabled=Me}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(Me=>{this._delegate.checkDestroyed(),Me()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,$.deleteApp)(this._delegate)))}_getService(Me,he=$._DEFAULT_ENTRY_NAME){var et;this._delegate.checkDestroyed();const nt=this._delegate.container.getProvider(Me);return!nt.isInitialized()&&"EXPLICIT"===(null===(et=nt.getComponent())||void 0===et?void 0:et.instantiationMode)&&nt.initialize(),nt.getImmediate({identifier:he})}_removeServiceInstance(Me,he=$._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(Me).clearInstance(he)}_addComponent(Me){(0,$._addComponent)(this._delegate,Me)}_addOrOverwriteComponent(Me){(0,$._addOrOverwriteComponent)(this._delegate,Me)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const q=new l.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."}),B=function fe(){const Ye=function ie(Ye){const Me={},he={__esModule:!0,initializeApp:function Oe(Be,ve={}){const Ee=$.initializeApp(Be,ve);if((0,l.r3)(Me,Ee.name))return Me[Ee.name];const se=new Ye(Ee,he);return Me[Ee.name]=se,se},app:nt,registerVersion:$.registerVersion,setLogLevel:$.setLogLevel,onLog:$.onLog,apps:null,SDK_VERSION:$.SDK_VERSION,INTERNAL:{registerComponent:function Ce(Be){const ve=Be.name,Ee=ve.replace("-compat","");if($._registerComponent(Be)&&"PUBLIC"===Be.type){const se=(ge=nt())=>{if("function"!=typeof ge[Ee])throw q.create("invalid-app-argument",{appName:ve});return ge[Ee]()};void 0!==Be.serviceProps&&(0,l.ZB)(se,Be.serviceProps),he[Ee]=se,Ye.prototype[Ee]=function(...ge){return this._getService.bind(this,ve).apply(this,Be.multipleInstances?ge:[])}}return"PUBLIC"===Be.type?he[Ee]:null},removeApp:function et(Be){delete Me[Be]},useAsService:function Ge(Be,ve){return"serverAuth"===ve?null:ve},modularAPIs:$}};function nt(Be){if(!(0,l.r3)(Me,Be=Be||$._DEFAULT_ENTRY_NAME))throw q.create("no-app",{appName:Be});return Me[Be]}return he.default=he,Object.defineProperty(he,"apps",{get:function ae(){return Object.keys(Me).map(Be=>Me[Be])}}),nt.App=Ye,he}(G);return Ye.INTERNAL=Object.assign(Object.assign({},Ye.INTERNAL),{createFirebaseNamespace:fe,extendNamespace:function Me(he){(0,l.ZB)(Ye,he)},createSubscribe:l.ne,ErrorFactory:l.LL,deepExtend:l.ZB}),Ye}(),L=new z.Yd("@firebase/app-compat");if((0,l.jU)()&&void 0!==self.firebase){L.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const Ye=self.firebase.SDK_VERSION;Ye&&Ye.indexOf("LITE")>=0&&L.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 Se=B;!function Ne(Ye){(0,$.registerVersion)("@firebase/app-compat","0.2.0",Ye)}()},9681:(rt,ye,S)=>{S.r(ye),S.d(ye,{FirebaseError:()=>z.ZR,SDK_VERSION:()=>mn,_DEFAULT_ENTRY_NAME:()=>kt,_addComponent:()=>qe,_addOrOverwriteComponent:()=>de,_apps:()=>Ht,_clearComponents:()=>Nn,_components:()=>We,_getProvider:()=>st,_registerComponent:()=>Re,_removeServiceInstance:()=>at,deleteApp:()=>Ct,getApp:()=>Dn,getApps:()=>Hn,initializeApp:()=>Un,onLog:()=>nn,registerVersion:()=>pn,setLogLevel:()=>Vn});var l=S(5861),d=S(4859),$=S(1877),z=S(2090),G=S(8766);class Q{constructor(He){this.container=He}getPlatformInfoString(){return this.container.getProviders().map(ct=>{if(function q(ut){return"VERSION"===ut.getComponent()?.type}(ct)){const Lt=ct.getImmediate();return`${Lt.library}/${Lt.version}`}return null}).filter(ct=>ct).join(" ")}}const ie="@firebase/app",B=new $.Yd("@firebase/app"),kt="[DEFAULT]",lt={[ie]:"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"},Ht=new Map,We=new Map;function qe(ut,He){try{ut.container.addComponent(He)}catch(ct){B.debug(`Component ${He.name} failed to register with FirebaseApp ${ut.name}`,ct)}}function de(ut,He){ut.container.addOrOverwriteComponent(He)}function Re(ut){const He=ut.name;if(We.has(He))return B.debug(`There were multiple attempts to register component ${He}.`),!1;We.set(He,ut);for(const ct of Ht.values())qe(ct,ut);return!0}function st(ut,He){const ct=ut.container.getProvider("heartbeat").getImmediate({optional:!0});return ct&&ct.triggerHeartbeat(),ut.container.getProvider(He)}function at(ut,He,ct=kt){st(ut,He).clearInstance(ct)}function Nn(){We.clear()}const Ln=new z.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."});class ur{constructor(He,ct,Lt){this._isDeleted=!1,this._options=Object.assign({},He),this._config=Object.assign({},ct),this._name=ct.name,this._automaticDataCollectionEnabled=ct.automaticDataCollectionEnabled,this._container=Lt,this.container.addComponent(new d.wA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(He){this.checkDestroyed(),this._automaticDataCollectionEnabled=He}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(He){this._isDeleted=He}checkDestroyed(){if(this.isDeleted)throw Ln.create("app-deleted",{appName:this._name})}}const mn="9.15.0";function Un(ut,He={}){let ct=ut;"object"!=typeof He&&(He={name:He});const Lt=Object.assign({name:kt,automaticDataCollectionEnabled:!1},He),Wt=Lt.name;if("string"!=typeof Wt||!Wt)throw Ln.create("bad-app-name",{appName:String(Wt)});if(ct||(ct=(0,z.aH)()),!ct)throw Ln.create("no-options");const Jt=Ht.get(Wt);if(Jt){if((0,z.vZ)(ct,Jt.options)&&(0,z.vZ)(Lt,Jt.config))return Jt;throw Ln.create("duplicate-app",{appName:Wt})}const X=new d.H0(Wt);for(const ce of We.values())X.addComponent(ce);const K=new ur(ct,Lt,X);return Ht.set(Wt,K),K}function Dn(ut=kt){const He=Ht.get(ut);if(!He&&ut===kt)return Un();if(!He)throw Ln.create("no-app",{appName:ut});return He}function Hn(){return Array.from(Ht.values())}function Ct(ut){return xt.apply(this,arguments)}function xt(){return(xt=(0,l.Z)(function*(ut){const He=ut.name;Ht.has(He)&&(Ht.delete(He),yield Promise.all(ut.container.getProviders().map(ct=>ct.delete())),ut.isDeleted=!0)})).apply(this,arguments)}function pn(ut,He,ct){var Lt;let Wt=null!==(Lt=lt[ut])&&void 0!==Lt?Lt:ut;ct&&(Wt+=`-${ct}`);const Jt=Wt.match(/\s|\//),X=He.match(/\s|\//);if(Jt||X){const K=[`Unable to register library "${Wt}" with version "${He}":`];return Jt&&K.push(`library name "${Wt}" contains illegal characters (whitespace or "/")`),Jt&&X&&K.push("and"),X&&K.push(`version name "${He}" contains illegal characters (whitespace or "/")`),void B.warn(K.join(" "))}Re(new d.wA(`${Wt}-version`,()=>({library:Wt,version:He}),"VERSION"))}function nn(ut,He){if(null!==ut&&"function"!=typeof ut)throw Ln.create("invalid-log-argument");(0,$.Am)(ut,He)}function Vn(ut){(0,$.Ub)(ut)}const Cn="firebase-heartbeat-store";let Ue=null;function ee(){return Ue||(Ue=(0,G.X3)("firebase-heartbeat-database",1,{upgrade:(ut,He)=>{0===He&&ut.createObjectStore(Cn)}}).catch(ut=>{throw Ln.create("idb-open",{originalErrorMessage:ut.message})})),Ue}function be(){return(be=(0,l.Z)(function*(ut){try{return(yield ee()).transaction(Cn).objectStore(Cn).get(wt(ut))}catch(He){if(He instanceof z.ZR)B.warn(He.message);else{const ct=Ln.create("idb-get",{originalErrorMessage:He?.message});B.warn(ct.message)}}})).apply(this,arguments)}function Ze(ut,He){return Et.apply(this,arguments)}function Et(){return(Et=(0,l.Z)(function*(ut,He){try{const Lt=(yield ee()).transaction(Cn,"readwrite");return yield Lt.objectStore(Cn).put(He,wt(ut)),Lt.done}catch(ct){if(ct instanceof z.ZR)B.warn(ct.message);else{const Lt=Ln.create("idb-set",{originalErrorMessage:ct?.message});B.warn(Lt.message)}}})).apply(this,arguments)}function wt(ut){return`${ut.name}!${ut.options.appId}`}class On{constructor(He){this.container=He,this._heartbeatsCache=null;const ct=this.container.getProvider("app").getImmediate();this._storage=new Ft(ct),this._heartbeatsCachePromise=this._storage.read().then(Lt=>(this._heartbeatsCache=Lt,Lt))}triggerHeartbeat(){var He=this;return(0,l.Z)(function*(){const Lt=He.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),Wt=Ot();if(null===He._heartbeatsCache&&(He._heartbeatsCache=yield He._heartbeatsCachePromise),He._heartbeatsCache.lastSentHeartbeatDate!==Wt&&!He._heartbeatsCache.heartbeats.some(Jt=>Jt.date===Wt))return He._heartbeatsCache.heartbeats.push({date:Wt,agent:Lt}),He._heartbeatsCache.heartbeats=He._heartbeatsCache.heartbeats.filter(Jt=>{const X=new Date(Jt.date).valueOf();return Date.now()-X<=2592e6}),He._storage.overwrite(He._heartbeatsCache)})()}getHeartbeatsHeader(){var He=this;return(0,l.Z)(function*(){if(null===He._heartbeatsCache&&(yield He._heartbeatsCachePromise),null===He._heartbeatsCache||0===He._heartbeatsCache.heartbeats.length)return"";const ct=Ot(),{heartbeatsToSend:Lt,unsentEntries:Wt}=function jn(ut,He=1024){const ct=[];let Lt=ut.slice();for(const Wt of ut){const Jt=ct.find(X=>X.agent===Wt.agent);if(Jt){if(Jt.dates.push(Wt.date),rn(ct)>He){Jt.dates.pop();break}}else if(ct.push({agent:Wt.agent,dates:[Wt.date]}),rn(ct)>He){ct.pop();break}Lt=Lt.slice(1)}return{heartbeatsToSend:ct,unsentEntries:Lt}}(He._heartbeatsCache.heartbeats),Jt=(0,z.L)(JSON.stringify({version:2,heartbeats:Lt}));return He._heartbeatsCache.lastSentHeartbeatDate=ct,Wt.length>0?(He._heartbeatsCache.heartbeats=Wt,yield He._storage.overwrite(He._heartbeatsCache)):(He._heartbeatsCache.heartbeats=[],He._storage.overwrite(He._heartbeatsCache)),Jt})()}}function Ot(){return(new Date).toISOString().substring(0,10)}class Ft{constructor(He){this.app=He,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,l.Z)(function*(){return!!(0,z.hl)()&&(0,z.eu)().then(()=>!0).catch(()=>!1)})()}read(){var He=this;return(0,l.Z)(function*(){return(yield He._canUseIndexedDBPromise)&&(yield function W(ut){return be.apply(this,arguments)}(He.app))||{heartbeats:[]}})()}overwrite(He){var ct=this;return(0,l.Z)(function*(){var Lt;if(yield ct._canUseIndexedDBPromise){const Jt=yield ct.read();return Ze(ct.app,{lastSentHeartbeatDate:null!==(Lt=He.lastSentHeartbeatDate)&&void 0!==Lt?Lt:Jt.lastSentHeartbeatDate,heartbeats:He.heartbeats})}})()}add(He){var ct=this;return(0,l.Z)(function*(){var Lt;if(yield ct._canUseIndexedDBPromise){const Jt=yield ct.read();return Ze(ct.app,{lastSentHeartbeatDate:null!==(Lt=He.lastSentHeartbeatDate)&&void 0!==Lt?Lt:Jt.lastSentHeartbeatDate,heartbeats:[...Jt.heartbeats,...He.heartbeats]})}})()}}function rn(ut){return(0,z.L)(JSON.stringify({version:2,heartbeats:ut})).length}!function an(ut){Re(new d.wA("platform-logger",He=>new Q(He),"PRIVATE")),Re(new d.wA("heartbeat",He=>new On(He),"PRIVATE")),pn(ie,"0.9.0",ut),pn(ie,"0.9.0","esm2017"),pn("fire-js","")}("")},4859:(rt,ye,S)=>{S.d(ye,{H0:()=>ie,wA:()=>$});var l=S(5861),d=S(2090);class ${constructor(B,L,ne){this.name=B,this.instanceFactory=L,this.type=ne,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(B){return this.instantiationMode=B,this}setMultipleInstances(B){return this.multipleInstances=B,this}setServiceProps(B){return this.serviceProps=B,this}setInstanceCreatedCallback(B){return this.onInstanceCreated=B,this}}const z="[DEFAULT]";class G{constructor(B,L){this.name=B,this.container=L,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(B){const L=this.normalizeInstanceIdentifier(B);if(!this.instancesDeferred.has(L)){const ne=new d.BH;if(this.instancesDeferred.set(L,ne),this.isInitialized(L)||this.shouldAutoInitialize())try{const Ve=this.getOrInitializeService({instanceIdentifier:L});Ve&&ne.resolve(Ve)}catch{}}return this.instancesDeferred.get(L).promise}getImmediate(B){var L;const ne=this.normalizeInstanceIdentifier(B?.identifier),Ve=null!==(L=B?.optional)&&void 0!==L&&L;if(!this.isInitialized(ne)&&!this.shouldAutoInitialize()){if(Ve)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:ne})}catch(Ne){if(Ve)return null;throw Ne}}getComponent(){return this.component}setComponent(B){if(B.name!==this.name)throw Error(`Mismatching Component ${B.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=B,this.shouldAutoInitialize()){if(function q(fe){return"EAGER"===fe.instantiationMode}(B))try{this.getOrInitializeService({instanceIdentifier:z})}catch{}for(const[L,ne]of this.instancesDeferred.entries()){const Ve=this.normalizeInstanceIdentifier(L);try{const Ne=this.getOrInitializeService({instanceIdentifier:Ve});ne.resolve(Ne)}catch{}}}}clearInstance(B=z){this.instancesDeferred.delete(B),this.instancesOptions.delete(B),this.instances.delete(B)}delete(){var B=this;return(0,l.Z)(function*(){const L=Array.from(B.instances.values());yield Promise.all([...L.filter(ne=>"INTERNAL"in ne).map(ne=>ne.INTERNAL.delete()),...L.filter(ne=>"_delete"in ne).map(ne=>ne._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(B=z){return this.instances.has(B)}getOptions(B=z){return this.instancesOptions.get(B)||{}}initialize(B={}){const{options:L={}}=B,ne=this.normalizeInstanceIdentifier(B.instanceIdentifier);if(this.isInitialized(ne))throw Error(`${this.name}(${ne}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const Ve=this.getOrInitializeService({instanceIdentifier:ne,options:L});for(const[Ne,Se]of this.instancesDeferred.entries())ne===this.normalizeInstanceIdentifier(Ne)&&Se.resolve(Ve);return Ve}onInit(B,L){var ne;const Ve=this.normalizeInstanceIdentifier(L),Ne=null!==(ne=this.onInitCallbacks.get(Ve))&&void 0!==ne?ne:new Set;Ne.add(B),this.onInitCallbacks.set(Ve,Ne);const Se=this.instances.get(Ve);return Se&&B(Se,Ve),()=>{Ne.delete(B)}}invokeOnInitCallbacks(B,L){const ne=this.onInitCallbacks.get(L);if(ne)for(const Ve of ne)try{Ve(B,L)}catch{}}getOrInitializeService({instanceIdentifier:B,options:L={}}){let ne=this.instances.get(B);if(!ne&&this.component&&(ne=this.component.instanceFactory(this.container,{instanceIdentifier:(fe=B,fe===z?void 0:fe),options:L}),this.instances.set(B,ne),this.instancesOptions.set(B,L),this.invokeOnInitCallbacks(ne,B),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,B,ne)}catch{}var fe;return ne||null}normalizeInstanceIdentifier(B=z){return this.component?this.component.multipleInstances?B:z:B}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class ie{constructor(B){this.name=B,this.providers=new Map}addComponent(B){const L=this.getProvider(B.name);if(L.isComponentSet())throw new Error(`Component ${B.name} has already been registered with ${this.name}`);L.setComponent(B)}addOrOverwriteComponent(B){this.getProvider(B.name).isComponentSet()&&this.providers.delete(B.name),this.addComponent(B)}getProvider(B){if(this.providers.has(B))return this.providers.get(B);const L=new G(B,this);return this.providers.set(B,L),L}getProviders(){return Array.from(this.providers.values())}}},1877:(rt,ye,S)=>{S.d(ye,{Am:()=>fe,Ub:()=>ie,Yd:()=>q,in:()=>d});const l=[];var d=(()=>{return(B=d||(d={}))[B.DEBUG=0]="DEBUG",B[B.VERBOSE=1]="VERBOSE",B[B.INFO=2]="INFO",B[B.WARN=3]="WARN",B[B.ERROR=4]="ERROR",B[B.SILENT=5]="SILENT",d;var B})();const $={debug:d.DEBUG,verbose:d.VERBOSE,info:d.INFO,warn:d.WARN,error:d.ERROR,silent:d.SILENT},z=d.INFO,G={[d.DEBUG]:"log",[d.VERBOSE]:"log",[d.INFO]:"info",[d.WARN]:"warn",[d.ERROR]:"error"},Q=(B,L,...ne)=>{if(L<B.logLevel)return;const Ve=(new Date).toISOString(),Ne=G[L];if(!Ne)throw new Error(`Attempted to log a message with an invalid logType (value: ${L})`);console[Ne](`[${Ve}] ${B.name}:`,...ne)};class q{constructor(L){this.name=L,this._logLevel=z,this._logHandler=Q,this._userLogHandler=null,l.push(this)}get logLevel(){return this._logLevel}set logLevel(L){if(!(L in d))throw new TypeError(`Invalid value "${L}" assigned to \`logLevel\``);this._logLevel=L}setLogLevel(L){this._logLevel="string"==typeof L?$[L]:L}get logHandler(){return this._logHandler}set logHandler(L){if("function"!=typeof L)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=L}get userLogHandler(){return this._userLogHandler}set userLogHandler(L){this._userLogHandler=L}debug(...L){this._userLogHandler&&this._userLogHandler(this,d.DEBUG,...L),this._logHandler(this,d.DEBUG,...L)}log(...L){this._userLogHandler&&this._userLogHandler(this,d.VERBOSE,...L),this._logHandler(this,d.VERBOSE,...L)}info(...L){this._userLogHandler&&this._userLogHandler(this,d.INFO,...L),this._logHandler(this,d.INFO,...L)}warn(...L){this._userLogHandler&&this._userLogHandler(this,d.WARN,...L),this._logHandler(this,d.WARN,...L)}error(...L){this._userLogHandler&&this._userLogHandler(this,d.ERROR,...L),this._logHandler(this,d.ERROR,...L)}}function ie(B){l.forEach(L=>{L.setLogLevel(B)})}function fe(B,L){for(const ne of l){let Ve=null;L&&L.level&&(Ve=$[L.level]),ne.userLogHandler=null===B?null:(Ne,Se,...Ye)=>{const Me=Ye.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(" ");Se>=(Ve??Ne.logLevel)&&B({level:d[Se].toLowerCase(),message:Me,args:Ye,type:Ne.name})}}}},259:(rt,ye,S)=>{S.d(ye,{C6:()=>l.getApps,Mq:()=>l.getApp});var l=S(9681);(0,l.registerVersion)("firebase","9.15.0","app")},9260:(rt,ye,S)=>{S.d(ye,{Z:()=>l.Z});var l=S(3942);l.Z.registerVersion("firebase","9.15.0","app-compat")},8766:(rt,ye,S)=>{S.d(ye,{Lj:()=>Oe,X3:()=>nt});var l=S(5861);let $,z;const q=new WeakMap,ie=new WeakMap,fe=new WeakMap,B=new WeakMap,L=new WeakMap;let Ne={get(ve,Ee,se){if(ve instanceof IDBTransaction){if("done"===Ee)return ie.get(ve);if("objectStoreNames"===Ee)return ve.objectStoreNames||fe.get(ve);if("store"===Ee)return se.objectStoreNames[1]?void 0:se.objectStore(se.objectStoreNames[0])}return he(ve[Ee])},set:(ve,Ee,se)=>(ve[Ee]=se,!0),has:(ve,Ee)=>ve instanceof IDBTransaction&&("done"===Ee||"store"===Ee)||Ee in ve};function Me(ve){return"function"==typeof ve?function Ye(ve){return ve!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function Q(){return z||(z=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(ve)?function(...Ee){return ve.apply(et(this),Ee),he(q.get(this))}:function(...Ee){return he(ve.apply(et(this),Ee))}:function(Ee,...se){const ge=ve.call(et(this),Ee,...se);return fe.set(ge,Ee.sort?Ee.sort():[Ee]),he(ge)}}(ve):(ve instanceof IDBTransaction&&function Ve(ve){if(ie.has(ve))return;const Ee=new Promise((se,ge)=>{const Te=()=>{ve.removeEventListener("complete",le),ve.removeEventListener("error",$e),ve.removeEventListener("abort",$e)},le=()=>{se(),Te()},$e=()=>{ge(ve.error||new DOMException("AbortError","AbortError")),Te()};ve.addEventListener("complete",le),ve.addEventListener("error",$e),ve.addEventListener("abort",$e)});ie.set(ve,Ee)}(ve),((ve,Ee)=>Ee.some(se=>ve instanceof se))(ve,function G(){return $||($=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(ve,Ne):ve)}function he(ve){if(ve instanceof IDBRequest)return function ne(ve){const Ee=new Promise((se,ge)=>{const Te=()=>{ve.removeEventListener("success",le),ve.removeEventListener("error",$e)},le=()=>{se(he(ve.result)),Te()},$e=()=>{ge(ve.error),Te()};ve.addEventListener("success",le),ve.addEventListener("error",$e)});return Ee.then(se=>{se instanceof IDBCursor&&q.set(se,ve)}).catch(()=>{}),L.set(Ee,ve),Ee}(ve);if(B.has(ve))return B.get(ve);const Ee=Me(ve);return Ee!==ve&&(B.set(ve,Ee),L.set(Ee,ve)),Ee}const et=ve=>L.get(ve);function nt(ve,Ee,{blocked:se,upgrade:ge,blocking:Te,terminated:le}={}){const $e=indexedDB.open(ve,Ee),Je=he($e);return ge&&$e.addEventListener("upgradeneeded",yt=>{ge(he($e.result),yt.oldVersion,yt.newVersion,he($e.transaction))}),se&&$e.addEventListener("blocked",()=>se()),Je.then(yt=>{le&&yt.addEventListener("close",()=>le()),Te&&yt.addEventListener("versionchange",()=>Te())}).catch(()=>{}),Je}function Oe(ve,{blocked:Ee}={}){const se=indexedDB.deleteDatabase(ve);return Ee&&se.addEventListener("blocked",()=>Ee()),he(se).then(()=>{})}const ae=["get","getKey","getAll","getAllKeys","count"],Ce=["put","add","delete","clear"],Ge=new Map;function Be(ve,Ee){if(!(ve instanceof IDBDatabase)||Ee in ve||"string"!=typeof Ee)return;if(Ge.get(Ee))return Ge.get(Ee);const se=Ee.replace(/FromIndex$/,""),ge=Ee!==se,Te=Ce.includes(se);if(!(se in(ge?IDBIndex:IDBObjectStore).prototype)||!Te&&!ae.includes(se))return;const le=function(){var $e=(0,l.Z)(function*(Je,...yt){const Nt=this.transaction(Je,Te?"readwrite":"readonly");let kt=Nt.store;return ge&&(kt=kt.index(yt.shift())),(yield Promise.all([kt[se](...yt),Te&&Nt.done]))[0]});return function(yt){return $e.apply(this,arguments)}}();return Ge.set(Ee,le),le}!function Se(ve){Ne=ve(Ne)}(ve=>({...ve,get:(Ee,se,ge)=>Be(Ee,se)||ve.get(Ee,se,ge),has:(Ee,se)=>!!Be(Ee,se)||ve.has(Ee,se)}))},7185:(rt,ye,S)=>{S.d(ye,{Rh:()=>yt,_W:()=>le});var l=S(4650),d=S(7340),$=S(7579),z=S(6895),G=S(1481);const Q=["toast-component",""];function q(We,qe){if(1&We){const de=l.EpF();l.TgZ(0,"button",5),l.NdJ("click",function(){l.CHM(de);const st=l.oxw();return l.KtG(st.remove())}),l.TgZ(1,"span",6),l._uU(2,"\xd7"),l.qZA()()}}function ie(We,qe){if(1&We&&(l.ynx(0),l._uU(1),l.BQk()),2&We){const de=l.oxw(2);l.xp6(1),l.hij("[",de.duplicatesCount+1,"]")}}function fe(We,qe){if(1&We&&(l.TgZ(0,"div"),l._uU(1),l.YNc(2,ie,2,1,"ng-container",4),l.qZA()),2&We){const de=l.oxw();l.Tol(de.options.titleClass),l.uIk("aria-label",de.title),l.xp6(1),l.hij(" ",de.title," "),l.xp6(1),l.Q6J("ngIf",de.duplicatesCount)}}function B(We,qe){if(1&We&&l._UZ(0,"div",7),2&We){const de=l.oxw();l.Tol(de.options.messageClass),l.Q6J("innerHTML",de.message,l.oJD)}}function L(We,qe){if(1&We&&(l.TgZ(0,"div",8),l._uU(1),l.qZA()),2&We){const de=l.oxw();l.Tol(de.options.messageClass),l.uIk("aria-label",de.message),l.xp6(1),l.hij(" ",de.message," ")}}function ne(We,qe){if(1&We&&(l.TgZ(0,"div"),l._UZ(1,"div",9),l.qZA()),2&We){const de=l.oxw();l.xp6(1),l.Udp("width",de.width+"%")}}class Oe{constructor(qe,de){this.component=qe,this.injector=de}attach(qe,de){return this._attachedHost=qe,qe.attach(this,de)}detach(){const qe=this._attachedHost;if(qe)return this._attachedHost=void 0,qe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(qe){this._attachedHost=qe}}class Ce{constructor(qe){this._overlayRef=qe,this.duplicatesCount=0,this._afterClosed=new $.x,this._activate=new $.x,this._manualClose=new $.x,this._resetTimeout=new $.x,this._countDuplicate=new $.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(qe,de){qe&&this._resetTimeout.next(),de&&this._countDuplicate.next(++this.duplicatesCount)}}class Ge{constructor(qe,de,Re,st,at,Nn){this.toastId=qe,this.config=de,this.message=Re,this.title=st,this.toastType=at,this.toastRef=Nn,this._onTap=new $.x,this._onAction=new $.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(qe){this._onAction.next(qe)}onAction(){return this._onAction.asObservable()}}const ve=new l.OlP("ToastConfig");class Ee extends class ae{attach(qe,de){return this._attachedPortal=qe,this.attachComponentPortal(qe,de)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(qe){this._disposeFn=qe}}{constructor(qe,de,Re){super(),this._hostDomElement=qe,this._componentFactoryResolver=de,this._appRef=Re}attachComponentPortal(qe,de){const Re=this._componentFactoryResolver.resolveComponentFactory(qe.component);let st;return st=Re.create(qe.injector),this._appRef.attachView(st.hostView),this.setDisposeFn(()=>{this._appRef.detachView(st.hostView),st.destroy()}),de?this._hostDomElement.insertBefore(this._getComponentRootNode(st),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(st)),st}_getComponentRootNode(qe){return qe.hostView.rootNodes[0]}}class se{constructor(qe){this._portalHost=qe}attach(qe,de=!0){return this._portalHost.attach(qe,de)}detach(){return this._portalHost.detach()}}let ge=(()=>{class We{constructor(de){this._document=de}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const de=this._document.createElement("div");de.classList.add("overlay-container"),de.setAttribute("aria-live","polite"),this._document.body.appendChild(de),this._containerElement=de}}return We.\u0275fac=function(de){return new(de||We)(l.LFG(z.K0))},We.\u0275prov=l.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),Te=(()=>{class We{constructor(de,Re,st,at){this._overlayContainer=de,this._componentFactoryResolver=Re,this._appRef=st,this._document=at,this._paneElements=new Map}create(de,Re){return this._createOverlayRef(this.getPaneElement(de,Re))}getPaneElement(de="",Re){return this._paneElements.get(Re)||this._paneElements.set(Re,{}),this._paneElements.get(Re)[de]||(this._paneElements.get(Re)[de]=this._createPaneElement(de,Re)),this._paneElements.get(Re)[de]}_createPaneElement(de,Re){const st=this._document.createElement("div");return st.id="toast-container",st.classList.add(de),st.classList.add("toast-container"),Re?Re.getContainerElement().appendChild(st):this._overlayContainer.getContainerElement().appendChild(st),st}_createPortalHost(de){return new Ee(de,this._componentFactoryResolver,this._appRef)}_createOverlayRef(de){return new se(this._createPortalHost(de))}}return We.\u0275fac=function(de){return new(de||We)(l.LFG(ge),l.LFG(l._Vd),l.LFG(l.z2F),l.LFG(z.K0))},We.\u0275prov=l.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),le=(()=>{class We{constructor(de,Re,st,at,Nn){this.overlay=Re,this._injector=st,this.sanitizer=at,this.ngZone=Nn,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...de.default,...de.config},de.config.iconClasses&&(this.toastrConfig.iconClasses={...de.default.iconClasses,...de.config.iconClasses})}show(de,Re,st={},at=""){return this._preBuildNotification(at,de,Re,this.applyConfig(st))}success(de,Re,st={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",de,Re,this.applyConfig(st))}error(de,Re,st={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",de,Re,this.applyConfig(st))}info(de,Re,st={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",de,Re,this.applyConfig(st))}warning(de,Re,st={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",de,Re,this.applyConfig(st))}clear(de){for(const Re of this.toasts)if(void 0!==de){if(Re.toastId===de)return void Re.toastRef.manualClose()}else Re.toastRef.manualClose()}remove(de){const Re=this._findToast(de);if(!Re||(Re.activeToast.toastRef.close(),this.toasts.splice(Re.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 st=this.toasts[this.currentlyActive].toastRef;st.isInactive()||(this.currentlyActive=this.currentlyActive+1,st.activate())}return!0}findDuplicate(de="",Re="",st,at){const{includeTitleDuplicates:Nn}=this.toastrConfig;for(const gn of this.toasts){const Ln=Nn&&gn.title===de;if((!Nn||Ln)&&gn.message===Re)return gn.toastRef.onDuplicate(st,at),gn}return null}applyConfig(de={}){return{...this.toastrConfig,...de}}_findToast(de){for(let Re=0;Re<this.toasts.length;Re++)if(this.toasts[Re].toastId===de)return{index:Re,activeToast:this.toasts[Re]};return null}_preBuildNotification(de,Re,st,at){return at.onActivateTick?this.ngZone.run(()=>this._buildNotification(de,Re,st,at)):this._buildNotification(de,Re,st,at)}_buildNotification(de,Re,st,at){if(!at.toastComponent)throw new Error("toastComponent required");const Nn=this.findDuplicate(st,Re,this.toastrConfig.resetTimeoutOnDuplicate&&at.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&st||Re)&&this.toastrConfig.preventDuplicates&&null!==Nn)return Nn;this.previousToastMessage=Re;let gn=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(gn=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Ln=this.overlay.create(at.positionClass,this.overlayContainer);this.index=this.index+1;let ur=Re;Re&&at.enableHtml&&(ur=this.sanitizer.sanitize(l.q3G.HTML,Re));const mn=new Ce(Ln),Un=new Ge(this.index,at,ur,st,de,mn),Hn=l.zs3.create({providers:[{provide:Ge,useValue:Un}],parent:this._injector}),Ct=new Oe(at.toastComponent,Hn),xt=Ln.attach(Ct,at.newestOnTop);mn.componentInstance=xt.instance;const pn={toastId:this.index,title:st||"",message:Re||"",toastRef:mn,onShown:mn.afterActivate(),onHidden:mn.afterClosed(),onTap:Un.onTap(),onAction:Un.onAction(),portal:xt};return gn||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{pn.toastRef.activate()})),this.toasts.push(pn),pn}}return We.\u0275fac=function(de){return new(de||We)(l.LFG(ve),l.LFG(Te),l.LFG(l.zs3),l.LFG(G.H7),l.LFG(l.R0b))},We.\u0275prov=l.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();const Je={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null,toastComponent:(()=>{class We{constructor(de,Re,st){this.toastrService=de,this.toastPackage=Re,this.ngZone=st,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Re.message,this.title=Re.title,this.options=Re.config,this.originalTimeout=Re.config.timeOut,this.toastClasses=`${Re.toastType} ${Re.config.toastClass}`,this.sub=Re.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Re.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Re.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Re.toastRef.countDuplicate().subscribe(at=>{this.duplicatesCount=at})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const de=(new Date).getTime();this.width=(this.hideTime-de)/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(de,Re){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(de),Re)):this.timeout=setTimeout(()=>de(),Re)}outsideInterval(de,Re){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(de),Re)):this.intervalId=setInterval(()=>de(),Re)}runInsideAngular(de){this.ngZone?this.ngZone.run(()=>de()):de()}}return We.\u0275fac=function(de){return new(de||We)(l.Y36(le),l.Y36(Ge),l.Y36(l.R0b))},We.\u0275cmp=l.Xpm({type:We,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(de,Re){1&de&&l.NdJ("click",function(){return Re.tapToast()})("mouseenter",function(){return Re.stickAround()})("mouseleave",function(){return Re.delayedHideToast()}),2&de&&(l.d8E("@flyInOut",Re.state),l.Tol(Re.toastClasses),l.Udp("display",Re.displayStyle))},attrs:Q,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(de,Re){1&de&&(l.YNc(0,q,3,0,"button",0),l.YNc(1,fe,3,5,"div",1),l.YNc(2,B,1,3,"div",2),l.YNc(3,L,2,4,"div",3),l.YNc(4,ne,2,2,"div",4)),2&de&&(l.Q6J("ngIf",Re.options.closeButton),l.xp6(1),l.Q6J("ngIf",Re.title),l.xp6(1),l.Q6J("ngIf",Re.message&&Re.options.enableHtml),l.xp6(1),l.Q6J("ngIf",Re.message&&!Re.options.enableHtml),l.xp6(1),l.Q6J("ngIf",Re.options.progressBar))},dependencies:[z.O5],encapsulation:2,data:{animation:[(0,d.X$)("flyInOut",[(0,d.SB)("inactive",(0,d.oB)({opacity:0})),(0,d.SB)("active",(0,d.oB)({opacity:1})),(0,d.SB)("removed",(0,d.oB)({opacity:0})),(0,d.eR)("inactive => active",(0,d.jt)("{{ easeTime }}ms {{ easing }}")),(0,d.eR)("active => removed",(0,d.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),We})()};let yt=(()=>{class We{static forRoot(de={}){return{ngModule:We,providers:[{provide:ve,useValue:{default:Je,config:de}}]}}}return We.\u0275fac=function(de){return new(de||We)},We.\u0275mod=l.oAB({type:We}),We.\u0275inj=l.cJS({imports:[z.ez]}),We})()},5861:(rt,ye,S)=>{function l($,z,G,Q,q,ie,fe){try{var B=$[ie](fe),L=B.value}catch(ne){return void G(ne)}B.done?z(L):Promise.resolve(L).then(Q,q)}function d($){return function(){var z=this,G=arguments;return new Promise(function(Q,q){var ie=$.apply(z,G);function fe(L){l(ie,Q,q,fe,B,"next",L)}function B(L){l(ie,Q,q,fe,B,"throw",L)}fe(void 0)})}}S.d(ye,{Z:()=>d})}},rt=>{rt(rt.s=6356)}]);
|