PageSourceSearch

https://banking.apobank.de/auth/ui/main.8147f814d41c9c04.js

js apobank.de collected 2026-09-24 10:05:27 UTC 646,836 bytes, 1 lines download raw bytes

1(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8792],{5996:(ze,se,f)=>{"use strict";f.r(se),f.d(se,{ErrorModule:()=>Ee,RootErrorModule:()=>Wt});var c=f(4438),l=f(1552);class ${static clearModal(){document.querySelector(".modal-backdrop")?.remove(),document.body.classList.remove("modal-open")}}var M=f(5558),O=f(7673),x=f(7988),R=f(7006),T=f(7348),_=f(6354),k=f(9437),I=f(2315),P=f(7612),Z=f(4174),N=f(7613),V=f(1626);let b=(()=>{class Pe{constructor(me){this.http=me}getUiConfig(){return this.http.get((0,T.OZ)(["public","ui","static","configuration"]))}static#e=this.\u0275fac=function(Oe){return new(Oe||Pe)(c.KVO(V.Qq))};static#t=this.\u0275prov=c.jDH({token:Pe,factory:Pe.\u0275fac})}return Pe})(),ye=(()=>{class Pe extends x.t{constructor(me){super(),this.staticPageService=me}getUiConfig(){return this.staticPageService.getUiConfig().pipe((0,_.T)(me=>me.data.attributes))}static#e=this.\u0275fac=function(Oe){return new(Oe||Pe)(c.rXU(b))};static#t=this.\u0275dir=c.FsC({type:Pe,features:[c.Vt3]})}return Pe})();var ne=f(5159),z=f(177),W=f(57),G=f(4160),Y=f(6453),Ce=f(3813);function de(Pe,q){if(1&Pe){const me=c.RV6();c.j41(0,"iam-button-row")(1,"iam-button",4),c.bIt("buttonClick",function(){c.eBV(me);const it=c.XpG(2);return c.Njj(it.toStartPage())}),c.k0s()()}2&Pe&&(c.R7$(),c.Y8G("id","back")("text","general.error.back")("autofocus",!0))}function Ae(Pe,q){if(1&Pe&&(c.j41(0,"iam-page",1),c.nrm(1,"iam-text-message",2),c.DNE(2,de,2,3,"iam-button-row",3),c.k0s()),2&Pe){const me=c.XpG();c.Y8G("pageId",me.pageId)("bodyAttributes",me.bodyAttributes)("hideMaintenanceMessages",!0)("title","general.error.title"),c.R7$(),c.Y8G("id","errorDescription")("text","general.error.description"),c.R7$(),c.Y8G("ngIf",me.hasLastUrl())}}let Ye=(()=>{class Pe extends ye{get pageId(){return"iamError"}constructor(me,Oe,it,jt,wn){super(wn),this.history=me,this.terminateService=Oe,this.currentFlow=it,this.routes=jt,this.bodyAttributes={[x.I]:ne.g.Error},this.lastUrl=void 0}ngOnInit(){$.clearModal(),this.lastUrl=this.history.lastUrlFromHistory(),this.currentFlow.delete(),this.ready=this.initUiConfig().pipe((0,M.n)(()=>this.terminateService.terminateAllFlows()),(0,_.T)(()=>!0),(0,k.W)(()=>(0,O.of)(!0)))}hasLastUrl(){return R.D.isNotBlank(this.lastUrl)}toStartPage(){this.lastUrl&&this.routes.navigateTo((0,T.S0)()+this.lastUrl)}static#e=this.\u0275fac=function(Oe){return new(Oe||Pe)(c.rXU(P.W),c.rXU(Z.X),c.rXU(I.E),c.rXU(N.BV),c.rXU(b))};static#t=this.\u0275cmp=c.VBU({type:Pe,selectors:[["ng-component"]],standalone:!1,features:[c.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","hideMaintenanceMessages","title",4,"ngIf"],[3,"pageId","bodyAttributes","hideMaintenanceMessages","title"],[3,"id","text"],[4,"ngIf"],[3,"buttonClick","id","text","autofocus"]],template:function(Oe,it){1&Oe&&(c.DNE(0,Ae,3,7,"iam-page",0),c.nI1(1,"async")),2&Oe&&c.Y8G("ngIf",c.bMT(1,1,it.ready))},dependencies:[z.bT,W.m,G.Q,Y.I,Ce.H,z.Jj],encapsulation:2})}return Pe})();var xe=f(5624),Se=f(5231);let je=(()=>{class Pe extends ye{get pageId(){return"iamNotFound"}constructor(me,Oe){super(Oe),this.currentFlow=me,this.bodyAttributes={[x.I]:ne.g.Error}}ngOnInit(){super.ngOnInit(),$.clearModal(),this.currentFlow.delete()}static#e=this.\u0275fac=function(Oe){return new(Oe||Pe)(c.rXU(I.E),c.rXU(b))};static#t=this.\u0275cmp=c.VBU({type:Pe,selectors:[["ng-component"]],standalone:!1,features:[c.Vt3],decls:2,vars:6,consts:[[3,"hideMaintenanceMessages","bodyAttributes","pageId","title"],[3,"id","text"]],template:function(Oe,it){1&Oe&&(c.j41(0,"iam-page",0),c.nrm(1,"iam-text-message",1),c.k0s()),2&Oe&&(c.Y8G("hideMaintenanceMessages",!0)("bodyAttributes",it.bodyAttributes)("pageId","iamNotFound")("title","general.error.not-found.title"),c.R7$(),c.Y8G("id","notFoundDescription")("text","general.error.not-found.description"))},dependencies:[Y.I,Ce.H],encapsulation:2})}return Pe})();var et=f(7786),ht=f(2017);let Dt=(()=>{class Pe{constructor(me){this.maintenanceMessageService=me}getMaintenanceMessages(){return this.maintenanceMessageService.getMaintenanceMessages(void 0,[V.kG.NotImplemented])}isSystemUnavailable(){return this.getMaintenanceMessages().pipe((0,_.T)(me=>me.some(Oe=>!Oe.systemAvailable)))}static#e=this.\u0275fac=function(Oe){return new(Oe||Pe)(c.KVO(ht.e))};static#t=this.\u0275prov=c.jDH({token:Pe,factory:Pe.\u0275fac})}return Pe})();var dt=f(3408);const Pt=Pe=>["iam-maintenance-message",Pe];function Mt(Pe,q){if(1&Pe&&c.nrm(0,"iam-text-message",5),2&Pe){const me=c.XpG().$implicit;c.Y8G("id","maintenanceMessage"+me.name)("text",me.text)("textNgClass",c.eq3(4,Pt,me.location?"iam-maintenance-message-location-"+me.location:""))("safeHtml",!0)}}
1function $t(Pe,q){if(1&Pe&&(c.qex(0),c.DNE(1,Mt,1,6,"iam-text-message",4),c.bVm()),2&Pe){const me=q.$implicit;c.R7$(),c.Y8G("ngIf",me.text&&me.text.length>0&&!me.systemAvailable)}}function Re(Pe,q){if(1&Pe&&(c.j41(0,"iam-page",1),c.nrm(1,"iam-text-message",2),c.DNE(2,$t,2,1,"ng-container",3),c.k0s()),2&Pe){const me=q.ngIf,Oe=c.XpG();c.Y8G("pageId","iamNotAvailable")("bodyAttributes",Oe.bodyAttributes)("title","general.error.not-available.title")("hideMaintenanceMessages",!0),c.R7$(),c.Y8G("id","notAvailableDescription")("text","general.error.not-available.description"),c.R7$(),c.Y8G("ngForOf",me)}}let ae=(()=>{class Pe extends ye{get pageId(){return"iamNotAvailable"}constructor(me,Oe,it,jt,wn){super(wn),this.service=me,this.languageService=Oe,this.terminateService=it,this.currentFlow=jt,this.bodyAttributes={[x.I]:ne.g.Error}}ngOnInit(){this.currentFlow.delete(),this.maintenanceMessages=this.initUiConfig().pipe((0,M.n)(()=>this.terminateService.terminateAllFlowsAndUserSession()),(0,M.n)(()=>this.onUpdateTermsEvents()),(0,M.n)(()=>this.service.getMaintenanceMessages()))}onUpdateTermsEvents(){return(0,et.h)(this.languageService.onLanguageChange,(0,O.of)(!0))}static#e=this.\u0275fac=function(Oe){return new(Oe||Pe)(c.rXU(Dt),c.rXU(dt.g),c.rXU(Z.X),c.rXU(I.E),c.rXU(b))};static#t=this.\u0275cmp=c.VBU({type:Pe,selectors:[["ng-component"]],standalone:!1,features:[c.Jv_([Dt]),c.Vt3],decls:2,vars:3,consts:[[3,"pageId","bodyAttributes","title","hideMaintenanceMessages",4,"ngIf"],[3,"pageId","bodyAttributes","title","hideMaintenanceMessages"],[3,"id","text"],[4,"ngFor","ngForOf"],[3,"id","text","textNgClass","safeHtml",4,"ngIf"],[3,"id","text","textNgClass","safeHtml"]],template:function(Oe,it){1&Oe&&(c.DNE(0,Re,3,7,"iam-page",0),c.nI1(1,"async")),2&Oe&&c.Y8G("ngIf",c.bMT(1,1,it.maintenanceMessages))},dependencies:[z.Sq,z.bT,Y.I,Ce.H,z.Jj],encapsulation:2})}return Pe})();var fe=f(8141),we=f(7805);let Qe=(()=>{class Pe{constructor(me,Oe){this.notAvailableService=me,this.pages=Oe}canActivate(){return this.notAvailableService.isSystemUnavailable().pipe((0,fe.M)(me=>this.showApplicationAccess(!me)))}showApplicationAccess(me){me&&this.pages.routes.auth.application.access.navigate()}static#e=this.\u0275fac=function(Oe){return new(Oe||Pe)(c.KVO(Dt),c.KVO(we.b))};static#t=this.\u0275prov=c.jDH({token:Pe,factory:Pe.\u0275fac})}return Pe})(),Ke=(()=>{class Pe extends ye{get pageId(){return"iamNoAccess"}constructor(me,Oe,it){super(it),this.routes=me,this.currentFlow=Oe,this.bodyAttributes={[x.I]:ne.g.Error}}ngOnInit(){super.ngOnInit(),this.currentFlow.delete()}logout(){this.routes.auth.logout.root.navigate()}static#e=this.\u0275fac=function(Oe){return new(Oe||Pe)(c.rXU(N.BV),c.rXU(I.E),c.rXU(b))};static#t=this.\u0275cmp=c.VBU({type:Pe,selectors:[["ng-component"]],standalone:!1,features:[c.Vt3],decls:4,vars:9,consts:[[3,"hideMaintenanceMessages","bodyAttributes","pageId","title"],[3,"id","text"],[3,"buttonClick","id","text","autofocus"]],template:function(Oe,it){1&Oe&&(c.j41(0,"iam-page",0),c.nrm(1,"iam-text-message",1),c.j41(2,"iam-button-row")(3,"iam-button",2),c.bIt("buttonClick",function(){return it.logout()}),c.k0s()()()),2&Oe&&(c.Y8G("hideMaintenanceMessages",!0)("bodyAttributes",it.bodyAttributes)("pageId",it.pageId)("title","general.error.no-access.title"),c.R7$(),c.Y8G("id","noAccessDescription")("text","general.error.no-access.description"),c.R7$(2),c.Y8G("id","noAccessLogout")("text","general.error.no-access.logout")("autofocus",!0))},dependencies:[W.m,G.Q,Y.I,Ce.H],encapsulation:2})}return Pe})();var Ge=f(7912);function mt(Pe,q){if(1&Pe){const me=c.RV6();c.j41(0,"iam-button-row")(1,"iam-button",3),c.bIt("buttonClick",function(){c.eBV(me);const it=c.XpG();return c.Njj(it.goToTarget(it.errorDetails.target))}),c.k0s()()}if(2&Pe){const me=c.XpG();c.R7$(),c.Y8G("id","errorTarget")("text",me.errorDetails.target.buttonText)("autofocus",!0)}}const wt=[{path:"",component:Ye,pathMatch:"full",runGuardsAndResolvers:"always"},{path:"message",component:(()=>{class Pe extends ye{constructor(me,Oe,it){super(it),this.errorDetailsService=me,this.routes=Oe,this.bodyAttributes={[x.I]:ne.g.Error}}get pageId(){return"iamErrorMessage"}
1ngOnInit(){super.ngOnInit(),$.clearModal(),this.errorDetails=this.errorDetailsService.errorDetails()}goToTarget(me){this.routes.navigateTo(me.url,me.extras)}static#e=this.\u0275fac=function(Oe){return new(Oe||Pe)(c.rXU(Ge.iy),c.rXU(N.BV),c.rXU(b))};static#t=this.\u0275cmp=c.VBU({type:Pe,selectors:[["ng-component"]],standalone:!1,features:[c.Jv_([Ge.iy]),c.Vt3],decls:3,vars:8,consts:[[3,"pageId","hideMaintenanceMessages","bodyAttributes","title"],[3,"id","text","textArguments"],[4,"ngIf"],[3,"buttonClick","id","text","autofocus"]],template:function(Oe,it){1&Oe&&(c.j41(0,"iam-page",0),c.nrm(1,"iam-text-message",1),c.DNE(2,mt,2,3,"iam-button-row",2),c.k0s()),2&Oe&&(c.Y8G("pageId",it.pageId)("hideMaintenanceMessages",!0)("bodyAttributes",it.bodyAttributes)("title",it.errorDetails.message.title),c.R7$(),c.Y8G("id","errorDescription")("text",it.errorDetails.message.description)("textArguments",it.errorDetails.message.arguments),c.R7$(),c.Y8G("ngIf",it.errorDetails.target))},dependencies:[z.bT,W.m,G.Q,Y.I,Ce.H],encapsulation:2})}return Pe})(),pathMatch:"full",runGuardsAndResolvers:"always"},{path:"not-available",component:ae,canActivate:[()=>(0,c.WQX)(Qe).canActivate()],runGuardsAndResolvers:"always"},{path:"not-found",component:je,runGuardsAndResolvers:"always"},{path:"no-access",component:Ke,runGuardsAndResolvers:"always"}];let Wt=(()=>{class Pe{static#e=this.\u0275fac=function(Oe){return new(Oe||Pe)};static#t=this.\u0275mod=c.$C({type:Pe});static#n=this.\u0275inj=c.G2t({})}return Pe})(),Ee=(()=>{class Pe{static forRoot(){return{ngModule:Wt,providers:[xe.I,Qe,Dt,b]}}static#e=this.\u0275fac=function(Oe){return new(Oe||Pe)};static#t=this.\u0275mod=c.$C({type:Pe});static#n=this.\u0275inj=c.G2t({imports:[l.G,Se.iI.forChild(wt)]})}return Pe})()},951:(ze,se,f)=>{"use strict";f.d(se,{L:()=>l,f:()=>$});const l=new(f(1626).rx)(()=>[]);class ${static get LANGUAGE(){return"lang"}static get AVAILABLE_LANGUAGES(){return"availableLanguages"}static get SINGLE_LOGOUT_REDIRECT_URIS(){return"iam.slo-redirect-uris"}static get LOGOUT_TARGET_URI(){return"iam.logout-target-uri"}static get SHOW_DISCLAIMER_PAGE(){return"iam.show-disclaimer-page"}}},9149:(ze,se,f)=>{"use strict";f.d(se,{_:()=>$});var c=f(2771),l=f(4438);let $=(()=>{class M{constructor(){this.stateObserver=new c.m}setChallenge(x){this.challenge=x,this.stateObserver.next(this.challenge)}answerChallenge(x){this.response=x}getChallengeResponse(){return this.response}onChange(){return this.stateObserver.asObservable()}failed(){this.clear(),this.stateObserver.error(void 0)}clear(){this.response=void 0}static#e=this.\u0275fac=function(R){return new(R||M)};static#t=this.\u0275prov=l.jDH({token:M,factory:M.\u0275fac})}return M})()},7235:(ze,se,f)=>{"use strict";f.d(se,{d:()=>c});class c{}},3597:(ze,se,f)=>{"use strict";f.d(se,{T:()=>I});var c=f(7673),l=f(6648),$=f(7348),M=f(274),O=f(980),x=f(5109),R=f(2315),T=f(8035),_=f(4438),k=f(1626);let I=(()=>{class P{constructor(N,V){this.http=N,this.currentFlow=V,this.dynamicStepActivations=new Map}addActivation(N){this.dynamicStepActivations.has(N.targetStepId)?this.dynamicStepActivations.delete(N.targetStepId):this.dynamicStepActivations.set(N.targetStepId,N.activated)}handleActivations(){const N=[];return this.dynamicStepActivations.forEach((V,b)=>N.push(this.getUrlByFlowType(V,b))),0===N.length?(0,c.of)(!0):(0,l.H)(N).pipe((0,M.H)(V=>this.http.post(V,null,{observe:"response"})),(0,O.j)(()=>this.dynamicStepActivations.clear()),(0,x.o)(1))}getUrlByFlowType(N,V){const b=["dynamic-steps",V,N?"activate":"deactivate"];switch(this.currentFlow.retrieveType()){case T.S.Authentication:return(0,$.OZ)(["public","authentication"].concat(b));case T.S.Protected:return(0,$.OZ)(["protected","self-service"].concat(b));case T.S.PublicSelfService:return(0,$.OZ)(["public","self-service"].concat(b));case T.S.Registration:return(0,$.OZ)(["public","user-self-registration"].concat(b))}}static#e=this.\u0275fac=function(V){return new(V||P)(_.KVO(k.Qq),_.KVO(R.E))};static#t=this.\u0275prov=_.jDH({token:P,factory:P.\u0275fac})}return P})()},461:(ze,se,f)=>{"use strict";f.d(se,{p:()=>c});class c{}},8218:(ze,se,f)=>{"use strict";f.d(se,{K:()=>ne});var c=f(1626),l=f(1397),$=f(5060),M=f(7673),O=f(5558);class x{constructor(W){this.targetUri=W}}var R=f(7348),T=f(8141),_=f(6354),k=f(9437),I=f(7805),P=f(2263),Z=f(8035),N=f(5482),V=f(2652),b=f(6247),ie=f(4438),ye=f(461);let ne=(()=>{class z{constructor(G,Y,Ce,de,Ae,Ye){this.http=G,this.endpoints=Y,this.flowType=Ce,this.pages=de,this.flowSessionService=Ae,this.injector=Ye}handleFailure(G){return this.getOnFailureInfo(G).pipe((0,T.M)(()=>this.handleErrorAlert(G)),(0,T.M)(Y=>this.pages.routes.navigateTo(Y.targetUri,this.navigationExtras(G))),(0,l.Z)(()=>$.t))}handleKerberosNotPossible(){const G=(0,R.OZ)(["public","authentication","kerberos","
1not-possible"]);return this.http.post(G,null,(0,V.R)()).pipe((0,_.T)(Y=>this.flowSessionService.createFlowSession(Y)))}handleErrorAlert(G){if(!0===G.skipAlerts)return;const Y=this.pages.errors.handleErrors(G.errorResponse,P.l.emptyForm(),G.stepUiConfig);Y&&this.pages.pageAlertService.addAlert(Y)}getOnFailureInfo(G){return G.flowId?this.http.get((0,R.OZ)(this.endpoints.onFailure(G.flowId))).pipe((0,_.T)(Y=>Y.data.attributes),(0,O.n)(Y=>this.resolveTargetUri(Y,G)),(0,k.W)(()=>(0,M.of)(this.defaultFailureInfo(G)))):(0,M.of)(this.defaultFailureInfo(G))}resolveTargetUri(G,Y){return G.targetUri?(0,M.of)(G):!Y.flowId||Y.fromFlowStart?(G.targetUri=this.defaultFailureInfo(Y).targetUri,(0,M.of)(G)):this.getFlowPageService().selectFlowByIdAndStoreId(Y.flowId).pipe((0,_.T)(de=>de.getStepUiConfig()),(0,T.M)(de=>G.targetUri=de.path),(0,_.T)(()=>G))}getFlowPageService(){return this.injector.get(b.z)}defaultFailureInfo(G){const Y=G.fallbackPath?G.fallbackPath():void 0;return Y?new x(Y):G.errorResponse.status===c.kG.Forbidden&&this.flowType.type()===Z.S.Authentication?new x(this.pages.routes.error.noAccess.url):new x(G.errorDetails?this.pages.routes.error.message.url:this.pages.routes.error.root.url)}navigationExtras(G){return G.errorDetails?{state:{errorDetails:G.errorDetails}}:void 0}static#e=this.\u0275fac=function(Y){return new(Y||z)(ie.KVO(c.Qq),ie.KVO(ye.p),ie.KVO(Z.d),ie.KVO(I.b),ie.KVO(N.Q),ie.KVO(ie.zZn))};static#t=this.\u0275prov=ie.jDH({token:z,factory:z.\u0275fac})}return z})()},2315:(ze,se,f)=>{"use strict";f.d(se,{E:()=>M});var c=f(2367),l=f(7006),$=f(4438);let M=(()=>{class O{static#e=this.FLOW_ID_STORAGE_KEY="iam.current-flow.id";static#t=this.LOCATION_STORAGE_KEY="iam.current-flow.location";static#n=this.FLOW_COMPLETED_STORAGE_KEY="iam.current-flow.completed";static#r=this.FLOW_TYPE_STORAGE_KEY="iam.current-flow.type";static#i=this.FLOW_HAD_SUCCESSFUL_STEP_STORAGE_KEY="iam.current-flow.had-successful-step";constructor(R){this.storage=R}static clear(){sessionStorage.removeItem(O.FLOW_ID_STORAGE_KEY),sessionStorage.removeItem(O.LOCATION_STORAGE_KEY),sessionStorage.removeItem(O.FLOW_COMPLETED_STORAGE_KEY),sessionStorage.removeItem(O.FLOW_TYPE_STORAGE_KEY),sessionStorage.removeItem(O.FLOW_HAD_SUCCESSFUL_STEP_STORAGE_KEY)}storeId(R){this.storage.setValue(O.FLOW_ID_STORAGE_KEY,R)}retrieveId(){return this.storage.getValue(O.FLOW_ID_STORAGE_KEY)}storeLocation(R){this.storage.setValue(O.LOCATION_STORAGE_KEY,R)}retrieveLocation(){return this.storage.getValue(O.LOCATION_STORAGE_KEY)}clearId(){sessionStorage.removeItem(O.FLOW_ID_STORAGE_KEY)}hasId(){return l.D.isNotBlank(this.retrieveId())}storeType(R){this.storage.setValue(O.FLOW_TYPE_STORAGE_KEY,R)}retrieveType(){return this.storage.getValue(O.FLOW_TYPE_STORAGE_KEY)}delete(){O.clear()}markCompleted(R=!0){this.storage.setValue(O.FLOW_COMPLETED_STORAGE_KEY,R?"true":"false")}isCompleted(){return"true"===this.storage.getValue(O.FLOW_COMPLETED_STORAGE_KEY)}setHadSuccessfulStep(){this.storage.setValue(O.FLOW_HAD_SUCCESSFUL_STEP_STORAGE_KEY,"true")}inFirstStep(){return"true"!==this.storage.getValue(O.FLOW_HAD_SUCCESSFUL_STEP_STORAGE_KEY)}static#o=this.\u0275fac=function(T){return new(T||O)($.KVO(c.u))};static#s=this.\u0275prov=$.jDH({token:O,factory:O.\u0275fac})}return O})()},649:(ze,se,f)=>{"use strict";f.d(se,{S:()=>M});var c=f(2367),l=f(7006),$=f(4438);let M=(()=>{class O{static#e=this.STEP_ID_STORAGE_KEY="iam.current-step.id";static#t=this.STEP_UI_TENANT_ID_STORAGE_KEY="iam.current-step.tenantId";constructor(R){this.storage=R}storeId(R){R?this.storage.setValue(O.STEP_ID_STORAGE_KEY,R):this.clearStepId()}storeTenantId(R){R?this.storage.setValue(O.STEP_UI_TENANT_ID_STORAGE_KEY,R):this.clearTenantId()}retrieveId(){return this.storage.getValue(O.STEP_ID_STORAGE_KEY)}retrieveTenantId(){return this.storage.getValue(O.STEP_UI_TENANT_ID_STORAGE_KEY)}hasId(){return l.D.isNotBlank(this.retrieveId())}hasTenantId(){return l.D.isNotBlank(this.retrieveTenantId())}clear(){this.clearStepId(),this.clearTenantId()}clearStepId(){this.storage.clearValue(O.STEP_ID_STORAGE_KEY)}clearTenantId(){this.storage.clearValue(O.STEP_UI_TENANT_ID_STORAGE_KEY)}static#n=this.\u0275fac=function(T){return new(T||O)($.KVO(c.u))};static#r=this.\u0275prov=$.jDH({token:O,factory:O.\u0275fac})}return O})()},5159:(ze,se,f)=>{"use strict";f.d(se,{g:()=>c});var c=function(l){return l.Authentication="authentication",l.ProtectedSelfService="protected-self-service",l.PublicSelfService="public-self-service",l.UserSelfRegistration="user-self-registration",l.Error="error",l}(c||{})},2162:(ze,se,f)=>{"use strict";f.d(se,{Z:()=>R});var c=f(7673),l=f(8141),$=f(6354),M=f(2315),O=f(6247),x=f(4438);let R=(()=>{class T{constructor(k,I){this.currentFlow=k,this.flowPageService=I}handleFlowSwitch(k){if(this.currentFlow.hasId()&&this.currentFlow.retrieveId()!==k){const I=this.currentFlow.retrieveType();return this.flowPageService.cancelFlow().pipe((0,l.M)(()=>this.flowPageService.clearState()),(0,l.M)(()=>this.currentFlow.storeType(I)),(0,$.T)(()=>!0))}return(0,c.of)(!0)}static#e=this.\u0275fac=function(I){return new(I||T)(x.KVO(M.E),x.KVO(O.z))};static#t=this.\u0275prov=x.jDH({token:T,factory:T.\u0275fac})}return T})()},6247:(ze,se,f)=>{"use strict";f.d(se,{z:()=>Z});var c=f(9030),$=f(7673),M=f(2315),O=f(4900),x=f(9437),R=f(1397),T=f(6354),_=f(8141),k=f(7348),I=f(3510),P=f(6347);let Z=(()=>{class N{static#e=this.USER_TEMPORARILY_LOCKED="USER_TEMPORARILY_LOCKED";constructor(b,ie,ye,ne,z,W){this.pages=b,this.currentFlow=ie,this.currentStep=ye,this.failureService=ne,this.router=z,this.extensionData=W}handleErrorResponse(b){return this.notFound(b)?(this.handleNotFound(),!0):(this.handleTempLocking(P.Z.fromErrorResponse(b)),this.forbidden(b)?(this.handleForbidden(b),!0):!!this.isFailedKerberos(b)&&this.handleFailedKerberos())}getNonFlowUiConfig(){throw new Error("Non-flow specific config is not yet supported for this UI service")}handleSuccessfulStep(b){this.currentFlow.setHadSuccessfulStep(),this.handleSession(b)}handleFailedStep(b,ie){this.handleErrorResponse(b)||this.handleErrorResponseInternal(b,ie)}repeatOnNoFlow(b){return b().pipe((0,x.W)(ie=>this.handleNoFlowToContinue(ie,b)))}
1accessPath(b,ie){if(this.currentFlow.isCompleted()){if(ie)return this.toFlowAccessObservable(!0,b);{const ye=this.currentFlow.retrieveType();this.currentFlow.delete(),this.currentFlow.storeType(ye)}}return this.requiresFlowSelect(b).pipe((0,R.Z)(ye=>function l(N,V,b){return(0,c.v)(()=>N()?V:b)}(()=>ye,this.selectFlowByIdFromPath(b).pipe((0,T.T)(ne=>ne.getStepUiConfig())),this.getStepUiConfig())),(0,_.M)(()=>this.extensionData.clear()),(0,_.M)(ye=>this.updateStepUiConfig(ye)),(0,_.M)(ye=>this.extensionData.add(ye.allAdditionalAttributes())),(0,_.M)(ye=>this.currentStep.storeId(ye.stepId)),(0,_.M)(ye=>this.currentStep.storeTenantId(ye.uiTenantId)),(0,R.Z)(ye=>this.toFlowAccessObservable((0,k.ys)(b,ye.path,!0),ye.path)))}getStepUiConfig(){return(0,$.of)(this.currentStepUi)}clearState(b=!0){this.clearCurrentStepUi(),b&&this.currentFlow.delete()}selectFlowByIdAndStoreId(b){return this.selectFlowById(b).pipe((0,_.M)(()=>this.currentFlow.markCompleted(!1)),(0,_.M)(()=>this.currentFlow.storeId(b)),(0,_.M)(()=>this.currentStepUi=void 0))}handleNextFlowStep(b){const ie=b.stepUiConfig();this.updateStepUiConfig(ie),this.handleTempLocking(b.iamResponse()),this.pages.routes.navigateTo(ie.path)}flowIdFromPath(b){if(null!=b){const ie=b.match(this.flowIdPathRegexPattern());if(null!=ie&&ie.length>=2)return ie[1]}}clearCurrentStepUi(){this.currentStepUi=void 0}updateStepUiConfig(b){this.currentStepUi=b}getFlowId(b){const ie=this.flowIdFromPath(b||this.router.url);return ie?(0,$.of)(ie):this.getDefaultFlowId()}getDefaultFlowId(){throw new Error("flow ID must be present")}selectFlowByIdFromPath(b){return this.getFlowId(b).pipe((0,R.Z)(ie=>this.selectFlowByIdAndStoreId(ie)))}requiresFlowSelect(b){return this.currentFlow.hasId()&&this.currentStepUi?this.getFlowId(b).pipe((0,T.T)(ie=>ie!==this.currentFlow.retrieveId())):(0,$.of)(!0)}handleErrorResponseInternal(b,ie){this.hasJsonApiErrors(b)&&ie?this.handleJsonApiErrorResponse(b,ie):this.pages.errors.showErrorPage(b)}toFlowAccessObservable(b,ie){return(0,$.of)(this.toFlowAccess(b,ie))}toFlowAccess(b,ie){return{canAccess:b,path:ie}}handleJsonApiErrorResponse(b,ie){const ye=this.pages.errors.handleErrors(b,ie,this.getStepUiConfig());ie.hasFormErrors()||ie.markAllPristine(),ye&&this.pages.pageAlertService.addAlert(ye),this.pages.pageAlertService.display(),(0,O.o)()}forbidden(b){return 403===b.status}notFound(b){return 404===b.status}handleNotFound(){this.pages.routes.error.notFound.navigate()}handleTempLocking(b){const ie=b.getTempLockExpiry();ie&&this.pages.tempLockService.handleTempLocking(ie)}handleForbidden(b){this.getStepUiConfig().pipe((0,R.Z)(ie=>this.handleFailure(ie,b,this.currentFlow.retrieveId()))).subscribe()}handleFailure(b,ie,ye){return this.failureService.handleFailure({errorResponse:ie,flowId:ye,skipAlerts:this.getFirstError(ie).code===N.USER_TEMPORARILY_LOCKED,stepUiConfig:(0,$.of)(b),fallbackPath:()=>(this.onFlowPageNavigation(b.path),b.path)})}getFirstError(b){return this.hasJsonApiErrors(b)?this.getServerValidationErrors(b)[0]:this.defaultServerValidationError()}hasJsonApiErrors(b){return this.pages.validations.hasServerValidationErrors(b)}getServerValidationErrors(b){return this.pages.validations.getServerValidationErrors(b)}onFlowPageNavigation(b){this.pages.routes.isCurrentRoute(b)||M.E.clear()}isFailedKerberos(b){if(401!==b.status)return!1;const ie=b.headers.get("www-authenticate");return!!ie&&ie.startsWith("Negotiate")}handleFailedKerberos(){return this.failureService.handleKerberosNotPossible().subscribe({next:b=>this.handleSuccessfulStep(b),error:b=>{this.isKerberosNotPossibleError(b)?this.pages.errors.showErrorPage(this.kerberosNotPossibleError()):this.handleFailedStep(b)}}),!0}isKerberosNotPossibleError(b){if(403!==b.status)return!1;const ie=b.error?.errors;return!!ie&&"KERBEROS_AUTHENTICATION_NOT_POSSIBLE"===ie[0].code}kerberosNotPossibleError(){return new I.vj({title:"error.kerberos.not-possible.title",description:"error.kerberos.not-possible.description"})}handleNoFlowToContinue(b,ie){if(403===b.status&&"NO_FLOW_TO_CONTINUE"===b.error?.errors?.[0].code)return this.selectFlowById(this.currentFlow.retrieveId()).pipe((0,R.Z)(()=>this.resendIfInFirstFlowStep(ie,b)));throw b}resendIfInFirstFlowStep(b,ie){if(this.currentFlow.inFirstStep())return b();throw ie}}return N})()},7862:(ze,se,f)=>{"use strict";f.d(se,{K:()=>I});var c=f(7673),l=f(1397),$=f(6354),M=f(9437),O=f(7805),x=f(6253),R=f(2
1162),T=f(8218),_=f(4438),k=f(9236);let I=(()=>{class P{constructor(N,V,b,ie,ye){this.routingService=N,this.pages=V,this.flowTypeSwitchService=b,this.flowIdSwitchService=ie,this.failureService=ye}canActivate(N,V){return this.canAccess(N,V)}canActivateChild(N,V){return 0!==N.children.length||this.canAccess(N,V)}canAccess(N,V){const b=N.paramMap.get("flowId");return this.flowTypeSwitchService.terminateSessionOnFlowTypeSwitch().pipe((0,l.Z)(()=>this.flowIdSwitchService.handleFlowSwitch(b)),(0,l.Z)(()=>this.routingService.accessPath(V.url,!0===N.data.isFlowCompletedConfirmationPage)),(0,$.T)(ie=>this.handlePageAccess(ie)),(0,M.W)(ie=>this.handleError(ie,b)))}handlePageAccess(N){return N.canAccess||(N.path?this.pages.routes.navigateTo(N.path):this.routingService.defaultRoute().navigate()),N.canAccess}handleError(N,V){return 404===N.status?(this.pages.routes.error.notFound.navigate(),(0,c.of)(!1)):this.failureService.handleFailure({errorResponse:N,flowId:V,fromFlowStart:!0})}static#e=this.\u0275fac=function(V){return new(V||P)(_.KVO(k.w),_.KVO(O.b),_.KVO(x.Q),_.KVO(R.Z),_.KVO(T.K))};static#t=this.\u0275prov=_.jDH({token:P,factory:P.\u0275fac})}return P})()},9236:(ze,se,f)=>{"use strict";f.d(se,{w:()=>c});class c{}},889:(ze,se,f)=>{"use strict";f.d(se,{O:()=>M});var c=f(7348),l=f(4438),$=f(1626);let M=(()=>{class O{constructor(R){this.http=R}terminateSession(){return this.http.delete((0,c.OZ)(["public","authentication"]))}static#e=this.\u0275fac=function(T){return new(T||O)(l.KVO($.Qq))};static#t=this.\u0275prov=l.jDH({token:O,factory:O.\u0275fac})}return O})()},8452:(ze,se,f)=>{"use strict";f.d(se,{d:()=>M});var c=f(7006),l=f(7940),$=f(6347);class M{constructor(x){this.response=x}id(){return this.response.body.data.id}nextStep(){if(this.response.body?.data.attributes)return this.response.body.data.attributes.nextAuthStep||this.response.body.data.attributes.nextStep}hasNextStep(){return c.D.isNotBlank(this.nextStep())}additionalAttribute(x){return this.response.body?.data.attributes[x]}stepUiConfig(){return l.D0.createFromResponse(this.response.body)}iamResponse(){return $.N.fromJsonApiResponse(this.response)}}},5482:(ze,se,f)=>{"use strict";f.d(se,{Q:()=>$});var c=f(8452),l=f(4438);let $=(()=>{class M{createFlowSession(x){return new c.d(x)}static#e=this.\u0275fac=function(R){return new(R||M)};static#t=this.\u0275prov=l.jDH({token:M,factory:M.\u0275fac})}return M})()},4720:(ze,se,f)=>{"use strict";f.d(se,{S:()=>N});var c=f(7862),l=f(7055),$=f(6253),M=f(2315),O=f(889),x=f(649),R=f(820),T=f(2162),_=f(1552),k=f(8218),I=f(4438);let P=(()=>{class V{static#e=this.\u0275fac=function(ye){return new(ye||V)};static#t=this.\u0275mod=I.$C({type:V});static#n=this.\u0275inj=I.G2t({providers:[k.K],imports:[_.G]})}return V})(),Z=(()=>{class V{static#e=this.\u0275fac=function(ye){return new(ye||V)};static#t=this.\u0275mod=I.$C({type:V});static#n=this.\u0275inj=I.G2t({})}return V})(),N=(()=>{class V{static forRoot(){return{ngModule:Z,providers:[M.E,x.S,R.D]}}static#e=this.\u0275fac=function(ye){return new(ye||V)};static#t=this.\u0275mod=I.$C({type:V});static#n=this.\u0275inj=I.G2t({providers:[T.Z,c.K,l.o,$.Q,O.O],imports:[P]})}return V})()},7055:(ze,se,f)=>{"use strict";f.d(se,{o:()=>$});var c=f(6253),l=f(4438);let $=(()=>{class M{constructor(x){this.service=x}canActivateChild(){return this.service.terminateSessionOnFlowTypeSwitch()}static#e=this.\u0275fac=function(R){return new(R||M)(l.KVO(c.Q))};static#t=this.\u0275prov=l.jDH({token:M,factory:M.\u0275fac})}return M})()},6253:(ze,se,f)=>{"use strict";f.d(se,{Q:()=>T});var c=f(8035),l=f(7673),$=f(7006),M=f(6354),O=f(2315),x=f(4438),R=f(889);class T{static#e=this.SESSION_TERMINATION_FLOW_TYPES=[c.S.PublicSelfService,c.S.Registration];constructor(k,I,P){this.sessionTerminationService=k,this.flowType=I,this.currentFlow=P}terminateSessionOnFlowTypeSwitch(){const k=this.currentFlow.retrieveType();return $.D.isBlank(k)?(this.storeFlowType(),(0,l.of)(!0)):this.flowType.type()===k?(0,l.of)(!0):(this.currentFlow.delete(),this.storeFlowType(),this.isUserSessionTerminationRequired(k)?this.sessionTerminationService.terminateSession().pipe((0,M.T)(()=>!0)):(0,l.of)(!0))}isUserSessionTerminationRequired(k){return T.SESSION_TERMINATION_FLOW_TYPES.includes(k)||T.SESSION_TERMINATION_FLOW_TYPES.includes(this.flowType.type())}storeFlowType(){this.currentFlow.storeType(this.flowType.type())}static#t=this.\u0275fac=function(I){return new(I||T)(x.KVO(R.O),x.KVO(c.d),x.KVO(O.E))};static#n=this.\u0275prov=x.jDH({token:T,factory:T.\u0275fac})}},8035:(ze,se,f)=>{"use strict";f.d(se,{S:()=>c,d:()=>l});var c=function($){return $.Authentication="authentication",$.Protected="protected-self-service",$.PublicSelfService="public-self-service",$.Registration="user-self-registration",$}(c||{});class l{}},820:(ze,se,f)=>{"use strict";f.d(se,{D:()=>M});var c=f(2367),l=f(7006),$=f(4438);let M=(()=>
1{class O{static#e=this.FORWARD_LOCATION_STORAGE_KEY="iam.current-flow.forward-location";constructor(R){this.storage=R}static clear(){sessionStorage.removeItem(O.FORWARD_LOCATION_STORAGE_KEY)}store(R){this.storage.setValue(O.FORWARD_LOCATION_STORAGE_KEY,R)}retrieve(){return this.storage.getValue(O.FORWARD_LOCATION_STORAGE_KEY)}isPresent(){return l.D.isNotBlank(this.retrieve())}delete(){O.clear()}static#t=this.\u0275fac=function(T){return new(T||O)($.KVO(c.u))};static#n=this.\u0275prov=$.jDH({token:O,factory:O.\u0275fac})}return O})()},6347:(ze,se,f)=>{"use strict";f.d(se,{Z:()=>R,N:()=>x});var c=f(1626),l=f(7940),$=f(7348);class M{constructor(_,k=null){this.url=_,this.formPostParameters=k}static fromJsonApiResponse(_){const k=this.extractForwardUrl(_),I=this.extractFormPostParameters(_),P=this.extractSsoTicketParameters(_),Z=(0,$.kY)(k,P);return new M(Z,I)}static extractForwardUrl(_){const k=_.headers.getAll("X-Forward-URL");if(null===k)throw new Error("expected X-Forward-URL header on successful authentication response");if(!this.isSingleValuedHeader(k))throw new Error("expected X-Forward-URL header to contain only one value");return new URL(k[0],(0,$.TG)())}static extractFormPostParameters(_){const k=_.headers.getAll("X-Form-POST");if(null===k)return null;if(!this.isSingleValuedHeader(k))throw new Error("expected X-Form-POST header to contain only one value");const I=JSON.parse(decodeURIComponent(k[0]));if(!(I instanceof Object)||I instanceof Array)throw new Error("expected X-Form-POST header to contain a URL-encoded JSON object");return Object.keys(I).map(P=>({key:P,value:I[P]}))}static extractSsoTicketParameters(_){const k=new URLSearchParams,I=_.headers.getAll("X-SSO");return I&&I.forEach(P=>{P.split(",").map(N=>decodeURIComponent(N.trim())).forEach(N=>{const V=N.indexOf("=");if(V>0&&N.length>V+1){const b=N.substring(0,V),ie=N.substring(V+1);k.append(b,ie)}})}),k}static isSingleValuedHeader(_){return 1==_.length&&!_.some(k=>k.includes(","))}}var O=f(8452);class x{constructor(_){this.response=_}static fromJsonApiResponse(_){return new x(_)}getStepUiConfig(){return l.D0.createFromResponse(this.response.body)}getStatus(){return this.response.status}isSuccess(){return this.getStatus()==c.kG.Ok||this.getStatus()===c.kG.Created}getNextStep(){return this.response.body?.data.attributes.nextAuthStep||this.response.body?.data.attributes.nextStep||null}getTempLockExpiry(){return this.response.body?.meta?.temporaryLockExpiry}hasNextStep(){return!!this.getNextStep()}hasForwardUrl(){return!!this.response.headers.getAll("X-Forward-URL")}getForwardUrl(){return M.fromJsonApiResponse(this.response)}toFlowSession(){return new O.d(this.response)}}class R{constructor(_){this.error=_}static fromErrorResponse(_){return new R(_)}hasNextStep(){return!!this.getNextStep()}getNextStep(){return this.error.error?.meta?.nextAuthStep||this.error?.error?.meta.nextStep||null}getErrorCode(){return this.error.error?.errors?this.error.error.errors[0].code:null}getTempLockExpiry(){return this.error.error?.meta?.temporaryLockExpiry}hasForwardUrl(){return!1}getForwardUrl(){throw new Error("no forward url for errors")}getStatus(){return this.error.status}getStepUiConfig(){return l.D0.createFromErrorResponse(this.error)}isSuccess(){return!1}toFlowSession(){throw new Error("no flow session for errors")}}},4174:(ze,se,f)=>{"use strict";f.d(se,{X:()=>_});var c=f(7673),l=f(8810),$=f(7348),M=f(1397),O=f(9437),x=f(516),R=f(4438),T=f(1626);let _=(()=>{class k{constructor(P,Z){this.http=P,this.validations=Z}terminateAllFlows(){return this.terminateAuthFlow().pipe((0,M.Z)(()=>this.terminateSelfregFlow()),(0,M.Z)(()=>this.terminateSelfServiceFlow()),(0,M.Z)(()=>this.terminateProtectedSelfServiceFlow()))}terminateAllFlowsAndUserSession(){return this.terminateAllFlows().pipe((0,M.Z)(()=>this.terminateUserSession()))}terminateAuthFlow(){return this.http.delete((0,$.OZ)(["public","authentication","flow"]))}terminateSelfregFlow(){return this.http.delete((0,$.OZ)(["public","user-self-registration","flow"]))}terminateSelfServiceFlow(){return this.http.delete((0,$.OZ)(["public","self-service","flow"]))}terminateProtectedSelfServiceFlow(){return this.http.delete((0,$.OZ)(["protected","self-service","flow"])).pipe((0,O.W)(P=>{const Z=this.validations.getServerValidationErrors(P);return 401===P.status||this.isNotAuthenticatedLegacy(P,Z)?(0,c.of)(!0):(0,l.$)(P)}))}isNotAuthenticatedLegacy(P,Z){return 403===P.status&&Z.length>0&&"NOT_AUTHENTICATED"===Z[0].code}terminateUserSession(){return this.http.delete((0,$.OZ)(["public","authentication"]))}static#e=this.\u0275fac=function(Z){return new(Z||k)(R.KVO(T.Qq),R.KVO(x.R))};static#t=this.\u0275prov=R.jDH({token:k,factory:k.\u0275fac})}return k})()},7940:(ze,se,f)=>{"use strict";f.d(se,{D0:()=>P,Dx:()=>V,KL:()=>ie,VN:()=>W,Xq:()=>N,dK:()=>I,do:()=>R});var c=f(983),l=f(7348),$=f(7301),M=f(7376),x=f(7235),R=function(G){return G[G.Authentication=0]="Authentication",G[G.Protected=1]="Protected",G[G.PublicSelfService=2]="PublicSelfService",G[G.Registration=3]="Registration",G}(R||{}),T=function(G){return G.Authentication="authentication.session",G.Protected="self-service.session",G.PublicSelfService="public-self-service.session",G.Registration="user-self-registration.session",G}(T||{}),_=function(G){return G.Authentication="ui.authentication.step.config",G.Protected="ui.self-service.step.config",G.PublicSelfService="ui.public-self-service.step.config",G.Registration="ui.user-self-registration.step.config",G}(_||{});class k{static fromResponseType(Y){switch(Y){case T.Authentication:case _.Authentication:return R.Authentication;case T.Protected:case _.Protected:return R.Protected;case T.PublicSelfService:case _.PublicSelfService:return R.PublicSelfService;case T.Registration:case _.Registration:return R.Registration;default:throw Error("unsupported JSON API response type")}}static fromUiSettings(Y){switch(Y){case"auth":return R.Authentication;case"self-service":return R.PublicSelfService;case"protected":return R.Protected;case"registration":return R.Registration;default:throw Error("unsupported flow type from uiSettings")}}}class I extends x.d{static createFromResponse(Y){const Ce=new I;return(0,M.assign)(Ce,Y.data.attributes)}pageAttribute(Y){return this.pageSettings[Y]}}class P extends I{static createFromResponse(Y){const Ce=new P;
1if(Y.meta?.uiSettings){const de=Y.meta.uiSettings;(0,M.assignWith)(Ce,de),Ce.flowType=k.fromUiSettings(de.flowType)}else Ce.pageId=Y.data.id,(0,M.assignWith)(Ce,Y.data.attributes),Ce.flowType=k.fromResponseType(Y.data.type);return Ce}static createFromErrorResponse(Y){const Ce=new P;if(Y?.error?.meta){const de=Y.error.meta.uiSettings;(0,M.assignWith)(Ce,de),Ce.flowType=k.fromUiSettings(de.flowType)}return Ce}additionalAttribute(Y){return this.additionalAttributes?.[Y]}allAdditionalAttributes(){return this.additionalAttributes}getResourceKeyPrefix(){switch(this.flowType){case R.Authentication:return $.o.Authentication;case R.Registration:return $.o.Registration;case R.Protected:return $.o.Protected;case R.PublicSelfService:return $.o.PublicSelfService}}}class N{invoke(Y,Ce){let de;return Ce&&!this.withoutPayload&&(de=JSON.stringify(Ce)),"POST"===this.method?Y.post((0,l.OZ)(this.url),de,{observe:"response"}):"PATCH"===this.method?Y.patch((0,l.OZ)(this.url),de,{observe:"response"}):"PUT"===this.method?Y.put((0,l.OZ)(this.url),de,{observe:"response"}):"GET"===this.method?Y.get((0,l.OZ)(this.url),{observe:"response"}):"DELETE"===this.method?Y.delete((0,l.OZ)(this.url),{observe:"response"}):c.w}}class V{static isInputField(Y){return"input"===Y||"drop-down"===Y||"radio"===Y||"checkbox"===Y||"date"===Y||"hidden"===Y}}class b extends V{}class ie extends b{static required(Y){Y.validations=Y.validations||[];for(const Ce of Y.validations)if("required"===Ce.type||"required-checkbox"===Ce.type)return!0;return!1}}class W{constructor(Y){this.e2eEncryptionInfo=Y}}},2017:(ze,se,f)=>{"use strict";f.d(se,{e:()=>k});var c=f(1626),l=f(7673),$=f(7348),M=f(6354),O=f(9437);class x{}var R=f(7893),T=f(951),_=f(4438);let k=(()=>{class I{constructor(Z,N){this.http=Z,this.dates=N}getMaintenanceMessages(Z,N=[]){let V=new c.Nl;return Z&&(V=(new c.Nl).set("filter",Z)),this.http.get((0,$.OZ)(["public","maintenance-messages"]),{params:V,context:(new c._y).set(T.L,N)}).pipe((0,M.T)(b=>this.toMaintenanceMessages(b.data)),(0,O.W)(()=>(0,l.of)([])))}toMaintenanceMessages(Z){const N=[];for(const V of Z){const b=new x;b.name=V.id,b.text=V.attributes.text,b.language=V.attributes.language,b.location=V.attributes.location,b.systemAvailable=V.attributes.systemAvailable,b.validFrom=this.dates.toDateTimeFromServer(V.attributes.validFrom),b.validTo=this.dates.toDateTimeFromServer(V.attributes.validTo),N.push(b)}return N}static#e=this.\u0275fac=function(N){return new(N||I)(_.KVO(c.Qq),_.KVO(R.A))};static#t=this.\u0275prov=_.jDH({token:I,factory:I.\u0275fac})}return I})()},4387:(ze,se,f)=>{"use strict";f.d(se,{t:()=>M});var c=f(2771),l=f(7893),$=f(4438);let M=(()=>{class O{constructor(R){this.dates=R,this.events=new c.m(1)}handleTempLocking(R){const T=this.dates.toDateTimeFromServer(R),_=this.computeTempLockingMillis(T);_>500&&(this.events.next({active:!0,expiry:T}),setTimeout(()=>this.events.next({active:!1}),_))}subscribe(R){return this.events.subscribe(R)}computeTempLockingMillis(R){const T=R.valueOf()-Date.now();return Math.max(T,0)}static#e=this.\u0275fac=function(T){return new(T||O)($.KVO(l.A))};static#t=this.\u0275prov=$.jDH({token:O,factory:O.\u0275fac})}return O})()},3510:(ze,se,f)=>{"use strict";f.d(se,{vj:()=>$});class c{constructor(O){this.title=O.title||"general.error.title",this.description=O.description,this.arguments=O.arguments}}class l{constructor(O){this.url=O.url,this.extras=O.extras,this.buttonText=O.buttonText||"general.error.actions.try-again"}}class ${constructor(O,x){this.message=new c(O),x&&(this.target=new l(x))}}},5624:(ze,se,f)=>{"use strict";f.d(se,{I:()=>T});var c=f(4438),l=f(7613),$=f(3510),M=f(2263),O=f(516),x=f(7348),R=f(5964);let T=(()=>{class _{constructor(I,P){this.routes=I,this.validations=P}showErrorPage(I){I&&console&&console.error(I),I instanceof $.vj?this.routes.error.message.navigate({state:{errorDetails:I}}):this.routes.error.root.navigate()}handleErrors(I,P=M.l.emptyForm(),Z){const N=this.validations.getServerValidationErrors(I),V=this.validations.processJsonApiValidationErrors({form:P.formGroup,errors:N});if(V)return this.addGeneralAlertInfos(V,I,Z),V}addGeneralAlertInfos(I,P,Z){this.addRemainingAttemptsInfo(I,P),this.addSelfUnlockInfo(I,P,Z)}
1showNotAvailablePage(){this.routes.error.notAvailable.navigate()}addRemainingAttemptsInfo(I,P){if(!this.hasErrorMeta(P)||!P.error.meta.remainingFactorAttempts)return;const Z=P.error.meta.remainingFactorAttempts;I.extraInfos=Z>1?[{key:"authentication.pages.messages.remaining-attempts.warning",arguments:{remainingAttempts:Z}}]:[{key:"authentication.pages.messages.remaining-attempts.last-warning"}]}addSelfUnlockInfo(I,P,Z){!Z||!this.hasErrorMeta(P)||"USER_LOCKED"!==this.getFirstError(P)?.code||!P.error.meta.lockReasonAllowsSelfUnlock||Z.pipe((0,R.p)(N=>!!N.pageAttribute("selfUnlockFlowLink"))).subscribe(N=>{I.message="authentication.pages.messages.self-unlock",I.messageArguments={selfUnlockFlowLink:(0,x.Uc)(N.pageAttribute("selfUnlockFlowLink"))}})}hasErrorMeta(I){return I.error&&I.error.meta}getFirstError(I){if(this.hasJsonApiErrors(I))return this.getServerValidationErrors(I)[0]}hasJsonApiErrors(I){return this.validations.hasServerValidationErrors(I)}getServerValidationErrors(I){return this.validations.getServerValidationErrors(I)}static#e=this.\u0275fac=function(P){return new(P||_)(c.KVO((0,c.Rfq)(()=>l.BV)),c.KVO(O.R))};static#t=this.\u0275prov=c.jDH({token:_,factory:_.\u0275fac})}return _})()},8384:(ze,se,f)=>{"use strict";f.d(se,{D:()=>c});class c{static remove($,M){const O=M.indexOf($);c.removeAt(O,M)}static removeAt($,M){$>=0&&M.splice($,1)}}},2412:(ze,se,f)=>{"use strict";f.d(se,{_e:()=>l,nk:()=>$,tP:()=>M});var c=f(3981);const l=O=>{if(O)return $(O).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")},$=O=>{if(O)return(0,c.iI)(new Uint8Array(O))},M=O=>{const x=O.replace(/-/g,"+").replace(/_/g,"/"),R=O.length,T=(x+"====").substring(0,R+3-(R-1)%4);return new Uint8Array((0,c.bg)(T))}},527:(ze,se,f)=>{"use strict";f.d(se,{D:()=>O});var c=f(7006),l=f(8544),M=f(4438);let O=(()=>{class x{query(T,_){return l.query(T,_)}querySingleResult(T,_){if(!T||c.D.isBlank(_))return;const k=this.query(T,_);return k.length>0?k[0]:void 0}static#e=this.\u0275fac=function(_){return new(_||x)};static#t=this.\u0275prov=M.jDH({token:x,factory:x.\u0275fac})}return x})()},7893:(ze,se,f)=>{"use strict";f.d(se,{A:()=>x,c:()=>O});var c=f(3408),l=f(7006),$=f(661),M=f(4438),O=function(R){return R[R.DATE=0]="DATE",R[R.DATE_TIME=1]="DATE_TIME",R[R.FROM_NOW=2]="FROM_NOW",R}(O||{});let x=(()=>{class R{static#e=this.ISO_LIKE_FORMAT="sv-SE";static#t=this.SERVER_DATE_FORMAT={parse:/^(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})$/,render:_=>new Intl.DateTimeFormat(R.ISO_LIKE_FORMAT,R.DATE_ONLY_OPTIONS).format(_),time:!1};static#n=this.SERVER_DATE_TIME_FORMAT={parse:/^(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})T(?<hour>\d{1,2}):(?<minute>\d{1,2}):(?<second>\d{1,2})\.\d{3}.*/,render:_=>new Intl.DateTimeFormat(R.ISO_LIKE_FORMAT,R.DATE_TIME_OPTIONS).format(_).replace(",",""),time:!0};static#r=this.DATE_ONLY_OPTIONS={month:"2-digit",day:"2-digit",year:"numeric"};static#i=this.DATE_TIME_OPTIONS={month:"2-digit",day:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hourCycle:"h23"};static#o=this.TIME_ONLY_OPTIONS={hour:"2-digit",minute:"2-digit",second:"2-digit",hourCycle:"h23"};static#s=this.TIME_ONLY_WITHOUT_SECONDS_OPTIONS={hour:"2-digit",minute:"2-digit",hourCycle:"h23"};static#a=this.DATE_FORMATS={en:{placeholder:"mm/dd/yyyy",format:{parse:/^(?<month>\d{1,2})\/(?<day>\d{1,2})\/(?<year>\d{4})$/,render:_=>new Intl.DateTimeFormat("en-US",R.DATE_ONLY_OPTIONS).format(_),time:!1}},default:{placeholder:"dd.mm.yyyy",format:{parse:/^(?<day>\d{1,2})\.(?<month>\d{1,2})\.(?<year>\d{4})$/,render:_=>new Intl.DateTimeFormat("de",R.DATE_ONLY_OPTIONS).format(_),time:!1}}};static#u=this.DATE_TIME_FORMATS={en:{placeholder:"mm/dd/yyyy HH:mm",format:{parse:/^(?<month>\d{1,2})\/(?<day>\d{1,2})\/(?<year>\d{4}) (?<hour>\d{1,2}):(?<minute>\d{1,2})$/,render:_=>new Intl.DateTimeFormat("en-US",R.DATE_TIME_OPTIONS).format(_).replace(",",""),time:!0}},default:{placeholder:"dd.mm.yyyy HH:mm",format:{parse:/^(?<day>\d{1,2})\.(?<month>\d{1,2})\.(?<year>\d{4}) (?<hour>\d{1,2}):(?<minute>\d{1,2})$/,render:_=>new Intl.DateTimeFormat("de",R.DATE_TIME_OPTIONS).format(_).replace(",",""),time:!0}}};constructor(_){this.languageService=_}toDate(_,k){if(!_)return;if(this.isDateWithServerFormat(_)||this.isDateTimeWithServerFormat(_))return new Date(Date.parse(_));const I=k||this.getDateFormat();if(!this.isValid(_,I))return;const P=_.replace(I.parse,"$<year>-$<month>-$<day>"+(I.time?"T$<hour>:$<minute>:$<second>":""));return new Date(Date.parse(P))}toDateFromServer(_){return this.toDate(_,R.SERVER_DATE_FORMAT)}toDateTimeFromServer(_){return this.toDate(_,R.SERVER_DATE_TIME_FORMAT)}toString(_,k){switch(k){case O.DATE:return this.toDateString(_);case O.DATE_TIME:return this.toDateTimeString(_);case O.FROM_NOW:return this.toStringFromNow(_)}}toDateString(_){if(!_)return;const k="string"==typeof _?this.toDate(_):_;return this.getDateFormat().render(k)}toDateTimeString(_){if(_)return this.getDateTimeFormat().render(_)}toStringFromNow(_,k=new Date){if(!_)return;const I=Math.trunc((_.getTime()-k.getTime())/1e3),P=Math.trunc(I/3600/24);if(P<=-3)return this.toDateTimeString(_);const Z=new Intl.RelativeTimeFormat(this.languageService.language,{numeric:"always"});
1if(P<=-1)return Z.format(P,"day")+", "+this.toTimeOnlyString(_,!1);const N=Math.trunc(I/3600);if(N<=-1)return Z.format(N,"hour");const V=Math.trunc(I/60);return V<=-1?Z.format(V,"minute"):Z.format(I,"second")}toTimeOnlyString(_,k=!0){if(_)return k?new Intl.DateTimeFormat("de",R.TIME_ONLY_OPTIONS).format(_):new Intl.DateTimeFormat("de",R.TIME_ONLY_WITHOUT_SECONDS_OPTIONS).format(_)}toStringForServer(_){return new Intl.DateTimeFormat(R.ISO_LIKE_FORMAT,R.DATE_ONLY_OPTIONS).format(_)}datePlaceholder(_){return this.getPlaceholder(_)}validDateFormat(_){return k=>l.D.isNotBlank(k.value)&&!this.isDateWithServerFormat(k.value)?$.k.error(_||"error.validation-failed.wrong-format"):null}minRelativeDate(_,k){return I=>this.isDateWithServerFormat(I.value)?this.validateMinRelativeDate(_,I.value)?null:$.k.error(k||"error.validation-failed.before-min-date",{"min-date":this.toDateString(this.startOfRelativeDay(_))}):null}validateMinRelativeDate(_,k){const I=this.startOfRelativeDay(_).getTime();return this.toDateFromServer(k).getTime()>=I}minAbsoluteDate(_,k){return I=>{if(!this.isDateWithServerFormat(I.value))return null;const P=_.getTime();return this.toDateFromServer(I.value).getTime()<P?$.k.error(k||"error.validation-failed.before-min-date",{"min-date":this.toDateString(_)}):null}}maxRelativeDate(_,k){return I=>this.isDateWithServerFormat(I.value)?this.validateMaxRelativeDate(_,I.value)?null:$.k.error(k||"error.validation-failed.after-max-date",{"max-date":this.toDateString(this.endOfRelativeDay(_))}):null}validateMaxRelativeDate(_,k){const I=this.endOfRelativeDay(_).getTime();return this.toDateFromServer(k).getTime()<=I}maxAbsoluteDate(_,k){return I=>{if(!this.isDateWithServerFormat(I.value))return null;const P=_.getTime();return this.toDateFromServer(I.value).getTime()>P?$.k.error(k||"error.validation-failed.after-max-date",{"max-date":this.toDateString(_)}):null}}isDate(_,k){return this.isValid(_,k||this.getDateFormat())}isDateWithServerFormat(_){return"string"==typeof _?this.isValid(_,R.SERVER_DATE_FORMAT):_ instanceof Date}isDateTimeWithServerFormat(_){return"string"==typeof _?this.isValid(_,R.SERVER_DATE_TIME_FORMAT):_ instanceof Date}datesAreOnSameDay(_,k){return _.getFullYear()===k.getFullYear()&&_.getMonth()===k.getMonth()&&_.getDate()===k.getDate()}isValid(_,k){return k.parse.test(_)}getPlaceholder(_){return _||this.getLanguageBasedDateFormat().placeholder}getDateFormat(){return this.getLanguageBasedDateFormat().format}getDateTimeFormat(){return this.getLanguageBasedDateTimeFormat().format}getLanguageBasedDateFormat(){return R.DATE_FORMATS[this.languageService.language]||R.DATE_FORMATS.default}getLanguageBasedDateTimeFormat(){return R.DATE_TIME_FORMATS[this.languageService.language]||R.DATE_TIME_FORMATS.default}startOfRelativeDay(_){return new Date(24*(Math.floor((new Date).getTime()/24/3600/1e3)+_)*3600*1e3)}endOfRelativeDay(_){return new Date(24*(Math.ceil((new Date).getTime()/24/3600/1e3)+_)*3600*1e3)}static#l=this.\u0275fac=function(k){return new(k||R)(M.KVO(c.g))};static#c=this.\u0275prov=M.jDH({token:R,factory:R.\u0275fac})}return R})()},4900:(ze,se,f)=>{"use strict";f.d(se,{o:()=>c});const c=($=!0)=>{$?setTimeout(()=>l(),0):l()},l=()=>{window.iam.internal.focus.focusFirstField()}},2263:(ze,se,f)=>{"use strict";f.d(se,{l:()=>R});var c=f(9417),l=f(661),$=f(7376),O=f(8384);class x{constructor(_){this.options=_,this.options.prefixOrMapping=this.options.prefixOrMapping||{},this.options.validators=this.options.validators||{},this.options.required=this.options.required||[],this.options.asyncValidators=this.options.asyncValidators||{},this.options.valueAsString=this.options.valueAsString||[],this.options.checkboxes=this.options.checkboxes||{},this.options.extra=this.options.extra||{}}get prefixOrMapping(){return this.options.prefixOrMapping}set prefixOrMapping(_){this.options.prefixOrMapping=_}get validators(){return this.options.validators}set validators(_){this.options.validators=_}get required(){return this.options.required}set required(_){this.options.required=_}get asyncValidators(){return this.options.asyncValidators}set asyncValidators(_){this.options.asyncValidators=_}get valueAsString(){return this.options.valueAsString}set valueAsString(_){this.options.valueAsString=_}get checkboxes(){return this.options.checkboxes}set checkboxes(_){this.options.checkboxes=_}get extra(){return this.options.extra}set extra(_){this.options.extra=_}}class R{constructor(_,k){this.model=_,this.options=k,this.formGroup=this.controlsFor(_,k),this.initialModel=(0,$.cloneDeep)(_)}static of(_,k={}){return new R(_,new x(k))}static emptyForm(){return R.of({})}cancel(){return this.updateForm(this.initialModel,!1),this}saved(){return this.initialModel=(0,$.cloneDeep)(this.model),this.resetState(),this}updateForm(_,k=!0){return this.model=k?_:(0,$.cloneDeep)(_),this.initialModel=(0,$.cloneDeep)(this.model),this.formGroup=this.controlsFor(this.model,this.options),this}reset(){return this.formGroup.reset(),this}resetState(){return this.validate().markAllPristine().markAllUnTouched(),this}
1validate(){return Object.values(this.formGroup.controls).forEach(_=>_.updateValueAndValidity()),this.markAllTouched(),this}markAllPristine(){return this.changeDirtyStateTo(!1),this}markAllDirty(){return this.changeDirtyStateTo(!0),this}markAllTouched(){return this.changeTouchedStateTo(!0),this}markAllUnTouched(){return this.changeTouchedStateTo(!1),this}hasFormErrors(){for(const _ of Object.values(this.formGroup.controls))if(_.errors)return!0;return!1}get controls(){return this.formGroup.controls}get valid(){return this.formGroup.valid}get pristine(){return this.formGroup.pristine}addControl(_){this.formGroup.addControl(_,new c.hs)}patchValue(_,k){this.formGroup.patchValue(_,k)}enable(){this.formGroup.enable()}disable(){this.formGroup.disable()}changeTouchedStateTo(_){return Object.values(this.formGroup.controls).forEach(k=>{_?k.markAsTouched():k.markAsUntouched()}),this}changeDirtyStateTo(_){return Object.values(this.formGroup.controls).forEach(k=>{_?k.markAsDirty():k.markAsPristine()}),this}controlsFor(_,k){const I=new c.J3({},k.extra.validator,k.extra.asyncValidator);return this.addControlsTo(I,_,k),I}addControlsTo(_,k,I,P=""){Object.keys(k).forEach(Z=>{const N=k[Z];"function"!=typeof N&&(I.checkboxes[Z]?this.addControlsForCheckboxes(_,k[Z],I.checkboxes[Z]):Array.isArray(N)?this.addControlsForArray(_,k,Z,I,P):(0,$.isObject)(N)?this.addControlsTo(_,N,I,P+Z+"."):this.addControlForField(_,k,Z,I,P))})}addControlsForArray(_,k,I,P,Z=""){const N=k[I];for(let V=0;V<N.length;V++)this.addControlsTo(_,N[V],P,Z+I+"["+V+"].")}addControlForField(_,k,I,P,Z=""){const N=this.controlNameOf(Z+I,P.prefixOrMapping);let V=k[I];V&&P.valueAsString&&P.valueAsString.indexOf(N)>-1&&(V=V.toString());const b=P.validators[N];let ie=[];b&&(Array.isArray(b)?ie=b:ie.push(b)),P.required.indexOf(N)>-1&&!ie.includes(l.k.required)&&ie.push(l.k.required);const ye=l.k.composeAsync(P.asyncValidators[N]),ne=new c.hs(V,ie,ye);_.addControl(N,ne),ne.valueChanges.subscribe(z=>{"string"!=typeof k&&(k[I]=z)})}addControlsForCheckboxes(_,k,I){I.availableValues.forEach(P=>{const Z=k.includes(P);I.disabledValues=I.disabledValues||[];const N=I.disabledValues.includes(P),V=new c.hs(Z);N&&V.disable(),_.addControl(this.controlNameOf(P.toString(),I.prefixOrMapping),V),V.valueChanges.subscribe(b=>{b?k.includes(P)||k.push(P):O.D.remove(P,k)})})}controlNameOf(_,k=""){return"string"!=typeof k?k[_]||_:k+_}}},259:(ze,se,f)=>{"use strict";f.d(se,{lp:()=>c});const c=(M,O)=>l(document,M,O),l=(M,O,x)=>M.arrive(O,{onceOnly:!0,existing:!0},x)},2652:(ze,se,f)=>{"use strict";f.d(se,{R:()=>M,w:()=>l});var c=f(1626);const l=new c.rx(()=>!1),M=()=>({observe:"response",context:(new c._y).set(l,!0)})},7301:(ze,se,f)=>{"use strict";f.d(se,{U:()=>$,o:()=>l});var c=f(8035),l=function(M){return M.Protected="protected.self-service",M.PublicSelfService="public-self-service",M.Registration="registration",M.Authentication="authentication",M.Error="error",M}(l||{});const $=M=>{switch(M){case c.S.Protected:return l.Protected;case c.S.Registration:return l.Registration;case c.S.Authentication:return l.Authentication;case c.S.PublicSelfService:return l.PublicSelfService}}},7006:(ze,se,f)=>{"use strict";f.d(se,{D:()=>c});class c{static isBlank($){return!$||!$.trim()}static isNotBlank($){return!c.isBlank($)}static prependIfMissing($,M){return null==M||$.startsWith(M)?$:M+$}static replaceUnderscores($,M){return null!=M&&$?$.replace(/_/g,M):$}static asTranslationKey($){return $&&c.replaceUnderscores($.toLowerCase(),"-")}static removeFieldIndex($){return $&&"]"===$.slice(-1)?$.substring(0,$.indexOf("[")):$}static removeTrailingSlash($){return"/"===$.slice(-1)?$.substring(0,$.length-1):$}static concatSentences($,M){return c.toSentence($)+" "+c.toSentence(M)}static toSentence($){const M=$.trimEnd(),O=M.slice(-1);return"."===O||"!"===O||"?"===O?M:M+"."}}},7348:(ze,se,f)=>{"use strict";f.d(se,{Ji:()=>I,OZ:()=>ie,RQ:()=>R,S0:()=>T,TG:()=>x,UB:()=>k,Uc:()=>P,aG:()=>ne,b7:()=>V,e1:()=>G,kY:()=>Y,o2:()=>$,oT:()=>O,ys:()=>_,zJ:()=>z,zp:()=>Z});var c=f(7006),l=f(1626);const $="/app",O="{{SPA}}",x=()=>window.location.origin,R=()=>document.querySelector("base")?.attributes.getNamedItem("href")?.value||"",T=()=>c.D.removeTrailingSlash(window.location.origin+R()),_=(Ce,de,Ae=!1)=>I(Ae?V(Ce):Ce)===I(Ae?V(de):de),k=Ce=>Ce.startsWith(O),I=Ce=>k(Ce)?$+Ce.substring(O.length):Ce,P=Ce=>Ce&&k(Ce)?T()+I(Ce):Ce,Z=Ce=>k(Ce)?c.D.removeTrailingSlash(R())+$+Ce.substring(O.length):Ce,V=Ce=>Ce.split("?",1)[0],ie=Ce=>{const de=c.D.removeTrailingSlash((()=>{let Ce=T();return Ce.endsWith("/ui")&&(Ce=Ce.substring(0,Ce.length-3)),Ce+"/rest"})()),Ae=Array.isArray(Ce)?ye(Ce):Ce;return de+c.D.prependIfMissing(Ae,"/")},ye=Ce=>Ce.reduce((de,Ae)=>`${de}/${encodeURIComponent(Ae)}`),ne=Ce=>{Ce.startsWith("/")&&(Ce=c.D.removeTrailingSlash(window.location.origin)+Ce);const de={};
1return new URL(Ce).searchParams.forEach((Ae,Ye)=>{de[Ye]?Array.isArray(de[Ye])?de[Ye].push(Ae):de[Ye]=[de[Ye],Ae]:de[Ye]=Ae}),de},z=Ce=>new l.Nl({fromObject:Ce,encoder:new W}).toString();class W{encodeKey(de){return encodeURIComponent(de)}encodeValue(de){return encodeURIComponent(de)}decodeKey(de){return decodeURIComponent(de)}decodeValue(de){return decodeURIComponent(de)}}const G=(Ce,de)=>(0===Object.keys(Ce).length||((de=de||{}).queryParams=de.queryParams||{},Object.keys(Ce).forEach(Ae=>de.queryParams[Ae]=Ce[Ae])),de),Y=(Ce,de)=>{if(!Ce||!de)throw new Error("url and urlParameters must not be null");return de.forEach((Ae,Ye)=>{Ce.searchParams.append(Ye,Ae)}),Ce.toString()}},516:(ze,se,f)=>{"use strict";f.d(se,{R:()=>x});var c=f(7006),l=f(3408),$=f(7376),O=f(4438);let x=(()=>{class R{constructor(_){this.languageService=_}translationKeyFromError(_){return this.getTranslationKey(_)}getServerValidationErrors(_){return this.hasServerValidationErrors(_)?(0,$.cloneDeep)(_.error.errors):[]}hasServerValidationErrors(_){return _.error&&_.error.errors}getServerValidationErrorsWithCodes(_,k){return k.map(I=>this.getServerValidationErrorsWithCode(_,I)).filter(I=>!!I)}processJsonApiValidationErrors(_){const k=this.addJsonApiValidationErrorsInternal(_);if(k)return{message:k.errorKey,type:"error"}}getServerValidationErrorsWithCode(_,k){return this.getServerValidationErrors(_).find(I=>I.code===k)}addMetaToTranslationKey(_,k){if(_.meta&&_.meta.detail){const P=k+"."+c.D.asTranslationKey(_.meta.detail);if(this.hasTranslation(P)||!this.hasTranslation(k))return P}return k}getTranslationKey(_){const k=c.D.asTranslationKey("error."+(_.code||"unexpected")),I=this.addMetaToTranslationKey(_,k);return 400===_.status&&this.hasTranslation(I+".retry")?I+".retry":403===_.status&&this.hasTranslation(I+".no-retry")?I+".no-retry":I}hasTranslation(_){return this.languageService.hasTranslation(_)&&"string"==typeof this.languageService.translate(_)}addJsonApiValidationErrorsInternal(_){if(!_.errors.length)return;const k={},I=[];for(const P of _.errors)if(this.mapToAngularParameters(P),P.source&&P.source.pointer){const Z=this.fieldNameOf(P,_.prefixOrMapping||"");k[Z]=this.toErrorMessage(P),I.push(Z)}if(0===I.length)return this.toErrorMessage(_.errors[0]);Object.keys(_.form.controls).forEach(P=>{const Z=c.D.removeFieldIndex(P),N=k[Z];if(N){const V=_.form.controls[P];V.markAsDirty(),V.setErrors({error:N})}});for(const P of I)if(!_.form.controls[P])return k[P]}toErrorMessage(_){return{errorKey:this.translationKeyFromError(_),parameters:_.meta?.parameters}}mapToAngularParameters(_){const k=_.meta;if(k&&"jsonapi.metadata.validation.error"===k.type)switch(k.detail){case"MIN_LENGTH":{const I=k.parameters;I.requiredLength=I.minLength;break}case"MAX_LENGTH":{const I=k.parameters;I.requiredLength=I.maxLength;break}}}fieldNameOf(_,k){const I=_.source.pointer.replace("/data/attributes/","").replace("/data/","").replace(/^\//,"");return"string"!=typeof k?k[I]||I:k+I}static#e=this.\u0275fac=function(k){return new(k||R)(O.KVO(l.g))};static#t=this.\u0275prov=O.jDH({token:R,factory:R.\u0275fac})}return R})()},661:(ze,se,f)=>{"use strict";f.d(se,{k:()=>l});var c=f(9417);class l{static phoneNumberValidator(M,O){return x=>
1{if(x.value&&this.isDirty(x,M)){if("string"!=typeof x.value)return l.error(O||"error.validation-failed.invalid-phone-number");const R=x.value.replace(/(\(|\)|-|\s)/g,""),T=R.length>0&&"0"===R.charAt(0),_=R.length>0&&"+"===R.charAt(0);if(!T&&!_||!R.match(/^[+]?\d{10}\d*$/))return l.error(O||"error.validation-failed.invalid-phone-number")}return null}}static requiredField(M){return O=>l.required(O,M)}static required(M,O){return c.k0.required(M)?l.error(O||"error.validation-failed.required"):null}static checkboxState(M,O){return x=>M!==x.value?l.error(O||(M?"error.validation-failed.checked-expected":"error.validation-failed.unchecked-expected")):null}static email(M){return O=>c.k0.email(O)?l.error(M||"error.validation-failed.invalid-email"):null}static minLength(M,O){return x=>{if(!x||!x.value)return null;if("string"!=typeof x.value)return l.error(O||"error.validation-failed.min-length");const R=c.k0.minLength(M)(x);return R?l.error(O||"error.validation-failed.min-length",R.minlength):null}}static maxLength(M,O){return x=>{if(!x||!x.value)return null;if("string"!=typeof x.value)return l.error(O||"error.validation-failed.max-length");const R=c.k0.maxLength(M)(x);return R?l.error(O||"error.validation-failed.max-length",R.maxlength):null}}static matchingFields(M,O,x){return R=>{const T=R.controls[M],_=R.controls[O];return T&&_&&_.value&&_.setErrors(T.value!==_.value?l.error(x||"error.validation-failed.not-identical"):null),null}}static matches(M,O){return x=>{const R=x.value;if(null==R)return null;const _=new RegExp(M,O?.patternFlags).exec(R);return null!==_&&_[0]===R?null:l.error(O?.errorKey||"error.validation-failed.invalid-value")}}static composeAsync(M){return c.k0.composeAsync(M)}static error(M,O){return{[M]:{errorKey:M,parameters:O}}}static isDirty(M,O){return M.dirty||M.value!==O}}},6088:(ze,se,f)=>{"use strict";f.d(se,{R:()=>x});var c=f(3408),l=f(7006),$=f(7613),M=f(4438),O=f(7211);let x=(()=>{class R{constructor(_,k,I,P){this.languageService=_,this.ngZone=k,this.routes=I,this.extensionData=P,this.iam=window.iam}initialize(){this.iam.internal.initialize(),this.defineLanguageFunctions(this.languageService),this.addLogoutAndLanguageSwitcherListener(this.languageService,this.ngZone),this.defineAdditionalAttributesFunction()}createWebAuthnCredentials(_){return this.iam.internal.webauthn.createCredentials(_)}getWebAuthnCredentials(_){return this.iam.internal.webauthn.getCredentials(_)}isWebAuthnAvailable(){return this.iam.internal.webauthn.isAvailable()}addLogoutAndLanguageSwitcherListener(_,k){document.addEventListener("click",I=>{const P=I.target,Z=P.classList;if(Z.contains("iam-language-switcher-link")){const N=P.dataset.lang;l.D.isNotBlank(N)&&_.isSupportedLanguage(N)&&k.run(()=>_.language=N),I.stopPropagation(),I.preventDefault()}else(Z.contains("iam-logout-link")||Z.contains("iam-logout-link-text"))&&(k.run(()=>this.routes.auth.logout.root.navigate()),I.stopPropagation(),I.preventDefault())}),_.onLanguageChange.subscribe(I=>{document.querySelector(".iam-language-switcher-link")?.classList.remove("iam-active"),document.querySelector(".iam-language-switcher-link[data-lang="+I.lang+"]")?.classList.add("iam-active")})}defineLanguageFunctions(_){this.iam.api.language.current=()=>_.language,this.iam.internal.lang.translate=(k,I)=>_.translate(k,I),this.iam.internal.lang.getSupportedLanguages=()=>_.getSupportedLanguages(),this.iam.internal.lang.isActive=k=>_.language===k}defineAdditionalAttributesFunction(){this.iam.internal.attributes=()=>this.extensionData.data()}static#e=this.\u0275fac=function(k){return new(k||R)(M.KVO(c.g),M.KVO(M.SKi),M.KVO($.BV),M.KVO(O.E))};static#t=this.\u0275prov=M.jDH({token:R,factory:R.\u0275fac})}return R})()},7988:(ze,se,f)=>{"use strict";f.d(se,{I:()=>M,t:()=>O});var c=f(4900),l=f(8141),$=f(4438);const M="data-iam-domain";let O=(()=>{class x{ngOnInit(){this.abstractUiConfigSubscription=this.initUiConfig().subscribe()}initUiConfig(){return this.getUiConfig().pipe((0,l.M)(T=>this.onInitAbstractUiConfig(T)))}ngOnDestroy(){this.abstractUiConfigSubscription&&this.abstractUiConfigSubscription.unsubscribe()}autofocusFirstField(){(0,c.o)()}onInitAbstractUiConfig(T){T.uiTenantId&&(this.bodyAttributes["data-iam-tenant-id"]=T.uiTenantId)}static#e=this.\u0275fac=function(_){return new(_||x)};static#t=this.\u0275dir=$.FsC({type:x})}return x})()},7623:(ze,se,f)=>{"use strict";f.d(se,{_:()=>$});var c=f(2771),l=f(4438);let $=(()=>{class M{constructor(){this.onReady=new c.m}ready(){this.onReady.next(!0)}static#e=this.\u0275fac=function(R){return new(R||M)};static#t=this.\u0275prov=l.jDH({token:M,factory:M.\u0275fac})}return M})()},325:(ze,se,f)=>{"use strict";f.d(se,{R:()=>I});var c=f(9421),l=f(177),$=f(7805),M=f(6884),O=f(4438);let x=(()=>{class P{static#e=this.\u0275fac=function(V){return new(V||P)};static#t=this.\u0275mod=O.$C({type:P});
1static#n=this.\u0275inj=O.G2t({imports:[l.MD,c.L]})}return P})();var R=f(1460),T=f(4387),_=f(1116);let k=(()=>{class P{static#e=this.\u0275fac=function(V){return new(V||P)};static#t=this.\u0275mod=O.$C({type:P});static#n=this.\u0275inj=O.G2t({imports:[_.h,c.L]})}return P})(),I=(()=>{class P{static forRoot(){return{ngModule:P,providers:[M.D,T.t,$.b,R.y]}}static#e=this.\u0275fac=function(V){return new(V||P)};static#t=this.\u0275mod=O.$C({type:P});static#n=this.\u0275inj=O.G2t({imports:[c.L,l.MD,x,k]})}return P})()},6884:(ze,se,f)=>{"use strict";f.d(se,{D:()=>x});var c=f(2771),l=f(2315),$=f(7006),M=f(649),O=f(4438);let x=(()=>{class R{constructor(_,k){this.currentFlow=_,this.currentStep=k,this.events=new c.m(1),this.alerts=[]}error(_){return this.addAlert({message:_,type:"error"}),this}warning(_){return this.addAlert({message:_,type:"warning"}),this}info(_){return this.addAlert({message:_,type:"info"}),this}success(_){return this.addAlert({message:_,type:"success"}),this}display(){this.events.next(this.alerts),this.clearAlerts()}addAlert(_){return this.addFlowAndStepIds(_),this.alerts.push(_),this}setAlert(_){return this.addFlowAndStepIds(_),this.alerts=[_],this}clearAlerts(){this.alerts=[]}addFlowAndStepIds(_){$.D.isBlank(_.flowId)&&(_.flowId=this.currentFlow.retrieveId()),$.D.isBlank(_.stepId)&&(_.stepId=this.currentStep.retrieveId()),$.D.isBlank(_.tenantId)&&(_.tenantId=this.currentStep.retrieveTenantId())}static#e=this.\u0275fac=function(k){return new(k||R)(O.KVO(l.E),O.KVO(M.S))};static#t=this.\u0275prov=O.jDH({token:R,factory:R.\u0275fac})}return R})()},1460:(ze,se,f)=>{"use strict";f.d(se,{y:()=>$});var c=f(1985),l=f(4438);let $=(()=>{class M{constructor(){this.visible=!1,this.size="normal",this.title="",this.text="",this.textArguments={},this.okText="",this.closeOnOk=!0,this.showCancel=!0,this.cancelText=""}show(x){return this.title=x.title,this.text=x.text,this.textArguments=x.textArguments||{},this.size=x.size||"normal",this.okText=x.okText||"general.actions.ok",this.closeOnOk=x.closeOnOk||!0,this.showCancel=x.showCancel||!0,this.cancelText=x.cancelText||"general.actions.cancel",this.visible=!0,this.createObservable(),this.observable}onAction(x){this._observer.next({ok:"ok"===x,cancel:"ok"!==x}),this._observer.complete()}createObservable(){this.observable=new c.c(x=>this._observer=x)}static#e=this.\u0275fac=function(R){return new(R||M)};static#t=this.\u0275prov=l.jDH({token:M,factory:M.\u0275fac})}return M})()},3813:(ze,se,f)=>{"use strict";f.d(se,{H:()=>Wt});var c=f(3408),l=f(6884),$=f(4387),M=f(5231),O=f(5964),x=f(6354),R=f(259),T=f(4438),_=f(345),k=f(7022),I=f(1460),P=f(7623),Z=f(177),N=f(6198),V=f(4598),b=f(4160),ie=f(1463);const ye=["*"],ne=(Ee,Pe)=>({"iam-modal-sm":Ee,"iam-modal-lg":Pe});function z(Ee,Pe){if(1&Ee){const q=T.RV6();T.j41(0,"button",8),T.bIt("click",function(){T.eBV(q);const Oe=T.XpG();return T.Njj(Oe.onAction("cancel"))}),T.k0s()}if(2&Ee){const q=T.XpG();T.BMQ("id",q.id+"-dialog-close")}}function W(Ee,Pe){if(1&Ee){const q=T.RV6();T.j41(0,"iam-button",12),T.bIt("buttonClick",function(){T.eBV(q);const Oe=T.XpG(2);return T.Njj(Oe.onAction("cancel"))}),T.k0s()}if(2&Ee){const q=T.XpG(2);T.Y8G("id",q.id+"-dialog-cancel")("text",q.cancelText)}}function G(Ee,Pe){if(1&Ee){const q=T.RV6();T.j41(0,"iam-button",13),T.bIt("buttonClick",function(){T.eBV(q);const Oe=T.XpG(2);return T.Njj(Oe.onAction("ok"))}),T.k0s()}if(2&Ee){const q=T.XpG(2);T.Y8G("id",q.id+"-dialog-ok")("submit","submit"===q.okButtonType)("text",q.okText)("disabled",q.okDisabled)("type","primary")}}function Y(Ee,Pe){if(1&Ee&&(T.j41(0,"div",9),T.DNE(1,W,1,2,"iam-button",10)(2,G,1,5,"iam-button",11),T.k0s()),2&Ee){const q=T.XpG();T.R7$(),T.Y8G("ngIf",q.showCancel),T.R7$(),T.Y8G("ngIf",q.showOk)}}let Ce=(()=>{class Ee{set visible(q){q!==this._visible&&(this._visible=q,this._visible?this.show():this.hide(),this.visibleChange.emit(this._visible))}get visible(){return this._visible}constructor(q){this.pageAlertService=q,this.size="normal",this.title="",this.text="",this.okText="general.actions.ok",this.okDisabled=!1,this.closeOnOk=!1,this.showOk=!0,this.showCancel=!0,this.closeable=!0,this.okButtonType="button",this.cancelText="general.actions.cancel",this.fade=!1,this.action=new T.bkB,this.visibleChange=new T.bkB,this._visible=!1}onAction(q){this.action.emit(q),this.closeOnOk&&this.hide()}
1show(){new bootstrap.Modal("#"+this.id).show(),document.getElementById(this.id)?.addEventListener("hidden.bs.modal",()=>{this.action.emit("cancel"),this.visible=!1}),this._visible=!0}hide(){bootstrap.Modal.getInstance("#"+this.id)?.hide(),this._visible=!1,this.pageAlertService.display()}static#e=this.\u0275fac=function(me){return new(me||Ee)(T.rXU(l.D))};static#t=this.\u0275cmp=T.VBU({type:Ee,selectors:[["iam-modal"]],inputs:{id:"id",visible:"visible",size:"size",title:"title",titleArguments:"titleArguments",text:"text",textArguments:"textArguments",okText:"okText",okDisabled:"okDisabled",closeOnOk:"closeOnOk",showOk:"showOk",showCancel:"showCancel",closeable:"closeable",okButtonType:"okButtonType",cancelText:"cancelText",fade:"fade"},outputs:{action:"action",visibleChange:"visibleChange"},standalone:!1,ngContentSelectors:ye,decls:13,vars:15,consts:[["data-bs-backdrop","static","data-bs-keyboard","true",1,"iam-modal"],["role","dialog",1,"iam-modal-dialog","modal-dialog",3,"ngClass"],[1,"iam-modal-content"],[1,"iam-modal-header"],[1,"iam-modal-title"],["type","button","class","btn-close","aria-label","Close",3,"click",4,"ngIf"],[1,"iam-modal-body"],["class","iam-modal-footer iam-form-group iam-button-group",4,"ngIf"],["type","button","aria-label","Close",1,"btn-close",3,"click"],[1,"iam-modal-footer","iam-form-group","iam-button-group"],[3,"id","text","buttonClick",4,"ngIf"],[3,"id","submit","text","disabled","type","buttonClick",4,"ngIf"],[3,"buttonClick","id","text"],[3,"buttonClick","id","submit","text","disabled","type"]],template:function(me,Oe){1&me&&(T.NAR(),T.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h4",4),T.EFF(5),T.nI1(6,"translate"),T.k0s(),T.DNE(7,z,1,1,"button",5),T.k0s(),T.j41(8,"div",6),T.EFF(9),T.nI1(10,"translate"),T.SdG(11),T.k0s(),T.DNE(12,Y,3,2,"div",7),T.k0s()()()),2&me&&(T.BMQ("id",Oe.id),T.R7$(),T.Y8G("ngClass",T.l_i(12,ne,"small"===Oe.size,"large"===Oe.size)),T.R7$(4),T.JRh(T.i5U(6,6,Oe.title,Oe.titleArguments)),T.R7$(2),T.Y8G("ngIf",Oe.closeable),T.R7$(2),T.SpI(" ",T.i5U(10,9,Oe.text,Oe.textArguments)," "),T.R7$(3),T.Y8G("ngIf",Oe.showOk||Oe.showCancel))},dependencies:[Z.YU,Z.bT,b.Q,ie.t],encapsulation:2})}return Ee})();
1var de=f(2017),Ae=f(7673),Ye=f(7786),xe=f(1397),Se=f(6247),je=f(6453);const et=Ee=>["iam-maintenance-message",Ee];function ht(Ee,Pe){if(1&Ee&&T.nrm(0,"iam-text-message",3),2&Ee){const q=Pe.$implicit;T.Y8G("id","maintenanceMessage"+q.name)("text",q.text)("textNgClass",T.eq3(4,et,q.location?"iam-maintenance-message-location-"+q.location:""))("safeHtml",!0)}}function Dt(Ee,Pe){if(1&Ee&&(T.qex(0),T.j41(1,"div",1),T.DNE(2,ht,1,6,"iam-text-message",2),T.k0s(),T.bVm()),2&Ee){const q=Pe.ngIf;T.R7$(),T.Y8G("ngClass","iam-maintenance-messages"),T.R7$(),T.Y8G("ngForOf",q)}}let dt=(()=>{class Ee{constructor(q,me,Oe){this.service=q,this.languageService=me,this.flowPageService=Oe,this.isNonFlowPage=!1}ngOnInit(){this.maintenanceMessages=this.getUiConfig().pipe((0,xe.Z)(q=>this.loadMaintenanceMessages(q)))}getUiConfig(){return this.isNonFlowPage?this.flowPageService.getNonFlowUiConfig():this.flowPageService.getStepUiConfig()}get pageId(){return"iamMaintenanceMessage"}loadMaintenanceMessages(q){const me=q.pageAttribute("maintenanceMessageSettings");return me?this.onUpdateTermsEvents().pipe((0,xe.Z)(()=>this.service.getMaintenanceMessages(me.locationFilter))):(0,Ae.of)([])}onUpdateTermsEvents(){return(0,Ye.h)(this.languageService.onLanguageChange,(0,Ae.of)(!0))}static#e=this.\u0275fac=function(me){return new(me||Ee)(T.rXU(de.e),T.rXU(c.g),T.rXU(Se.z))};static#t=this.\u0275cmp=T.VBU({type:Ee,selectors:[["iam-maintenance-message"]],inputs:{isNonFlowPage:"isNonFlowPage"},standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"ngClass"],[3,"id","text","textNgClass","safeHtml",4,"ngFor","ngForOf"],[3,"id","text","textNgClass","safeHtml"]],template:function(me,Oe){1&me&&(T.DNE(0,Dt,3,2,"ng-container",0),T.nI1(1,"async")),2&me&&T.Y8G("ngIf",T.bMT(1,1,Oe.maintenanceMessages))},dependencies:[Z.YU,Z.Sq,Z.bT,je.I,Z.Jj],encapsulation:2})}return Ee})();var Pt=f(7893);const Mt=Ee=>({lockExpiry:Ee}),$t=Ee=>({key:"error.temp-lock-message",arguments:Ee}),Re=Ee=>[Ee];let ae=(()=>{class Ee{constructor(q){this.dates=q}formattedExpiry(){return this.dates.datesAreOnSameDay(this.tempLockExpiry,new Date)?this.dates.toTimeOnlyString(this.tempLockExpiry):this.dates.toDateTimeString(this.tempLockExpiry)}static#e=this.\u0275fac=function(me){return new(me||Ee)(T.rXU(Pt.A))};static#t=this.\u0275cmp=T.VBU({type:Ee,selectors:[["iam-temp-locking"]],inputs:{tempLockExpiry:"tempLockExpiry"},standalone:!1,decls:2,vars:11,consts:[[3,"type","id","messages"],[3,"ngClass","id"]],template:function(me,Oe){1&me&&T.nrm(0,"iam-alert",0)(1,"div",1),2&me&&(T.Y8G("type","warning")("id","tempLockMessage")("messages",T.eq3(9,Re,T.eq3(7,$t,T.eq3(5,Mt,Oe.formattedExpiry())))),T.R7$(),T.Y8G("ngClass","iam-temp-lock-overlay")("id","tempLockOverlay"))},dependencies:[Z.YU,N.C],encapsulation:2})}return Ee})();const fe=["bodyAttributes",""],we=["*"],Qe=(Ee,Pe,q,me,Oe,it)=>({key:Ee,arguments:Pe,extraInfos:q,flowId:me,stepId:Oe,tenantId:it}),Ke=Ee=>[Ee];function Ge(Ee,Pe){if(1&Ee&&T.nrm(0,"iam-alert",12),2&Ee){const q=Pe.$implicit;T.Y8G("type",q.type)("messages",T.eq3(9,Ke,T.l4e(2,Qe,q.message,q.messageArguments,q.extraInfos,q.flowId,q.stepId,q.tenantId)))}}function mt(Ee,Pe){if(1&Ee&&T.nrm(0,"iam-temp-locking",13),2&Ee){const q=T.XpG(2);T.Y8G("tempLockExpiry",q.currentTempLock.expiry)}}function Vt(Ee,Pe){if(1&Ee&&T.nrm(0,"iam-maintenance-message",14),2&Ee){const q=T.XpG(2);T.Y8G("isNonFlowPage",q.isNonFlowPage)}}function wt(Ee,Pe){if(1&Ee){const q=T.RV6();T.j41(0,"iam-card",3),T.nI1(1,"async"),T.j41(2,"div",4),T.DNE(3,Ge,1,11,"iam-alert",5)(4,mt,1,1,"iam-temp-locking",6),T.k0s(),T.j41(5,"div",7),T.nrm(6,"div",8),T.SdG(7),T.nrm(8,"div",9),T.k0s(),T.DNE(9,Vt,1,1,"iam-maintenance-message",10),T.j41(10,"iam-modal",11),T.mxI("visibleChange",function(Oe){T.eBV(q);const it=T.XpG();return T.DH7(it.pageDialog.visible,Oe)||(it.pageDialog.visible=Oe),T.Njj(Oe)}),T.bIt("action",function(Oe){T.eBV(q);const it=T.XpG();return T.Njj(it.pageDialog.onAction(Oe))}),T.k0s()()}if(2&Ee){const q=T.XpG();T.AVh("iam-d-none",T.bMT(1,16,q.navigating)),T.Y8G("title",q.caption),T.R7$(3),T.Y8G("ngForOf",q.pageAlerts),T.R7$(),T.Y8G("ngIf",q.currentTempLock.active),T.R7$(5),T.Y8G("ngIf",!q.hideMaintenanceMessages),T.R7$(),T.Y8G("id","globalPageDialog"),T.R50("visible",q.pageDialog.visible),T.Y8G("size",q.pageDialog.size)("title",q.pageDialog.title)("text",q.pageDialog.text)("textArguments",q.pageDialog.textArguments)("showCancel",q.pageDialog.showCancel)("cancelText",q.pageDialog.cancelText)("closeOnOk",q.pageDialog.closeOnOk)("okText",q.pageDialog.okText)}}let Wt=(()=>{class Ee{constructor(q,me,Oe,it,jt,wn,ct,Ft){this.titleService=q,this.languageService=me,this.pageAlertService=Oe,this.tempLockingService=it,this.router=jt,this.loadingSpinnerService=wn,this.pageDialog=ct,this.applicationReadySignal=Ft,this.isNonFlowPage=!1,this.currentTempLock={active:!1}}ngOnInit(){this.navigating=this.router.events.pipe((0,O.p)(q=>q instanceof M.Z||q instanceof M.wF),(0,x.T)(q=>q instanceof M.Z)),this.applicationReadySignal.onReady.subscribe(()=>this.setPageTitle()),this.alertSubscription=this.pageAlertService.events.subscribe(q=>this.pageAlerts=q),this.tempLockSubscription=this.tempLockingService.subscribe(q=>this.currentTempLock=q),this.languageChangeSubscription=this.languageService.onLanguageChange.subscribe(()=>this.setPageTitle()),this.navigationSubscription=this.router.events.subscribe(q=>this.showLoadingSpinnerOnNavigationStart(q)),this.setBodyAttributes()}ngAfterViewInit(){this.triggerEnterEventAndHideLoadingSpinner()}ngOnDestroy(){this.triggerExitEvent(),this.alertSubscription.unsubscribe(),this.tempLockSubscription.unsubscribe(),this.languageChangeSubscription.unsubscribe(),this.navigationSubscription.unsubscribe(),this.clearBodyAttributes()}triggerEnterEventAndHideLoadingSpinner(){(0,R.lp)("#iamContent[data-iam-arrive-hook]",q=>{this.triggerPageEvent("iam.internal.event.page.enter"),q.removeAttribute("data-iam-arrive-hook"),this.loadingSpinnerService.hide()})}triggerExitEvent(){this.triggerPageEvent("iam.internal.event.page.exit")}triggerPageEvent(q){document.dispatchEvent(new CustomEvent(q,{detail:this.pageAttributes()}))}get caption(){return this.title+".caption"}pageAttributes(){return{pageId:this.pageId,flowId:this.bodyAttributes["data-iam-flow-id"],stepId:this.bodyAttributes["data-iam-step-id"],tenantId:this.bodyAttributes["data-iam-tenant-id"]}}setPageTitle(){const q=this.getPageTitle();this.titleService.setTitle(this.stripHTML(q))}stripHTML(q){const me=document.createElement("div");return me.innerHTML=q,me.textContent||me.innerText||""}setBodyAttributes(){document.body.setAttribute("id",this.pageId),this.bodyAttributes&&Object.keys(this.bodyAttributes).forEac
1h(q=>document.body.setAttribute(q,this.bodyAttributes[q]))}clearBodyAttributes(){document.body.removeAttribute("id"),Object.keys(this.bodyAttributes).forEach(q=>document.body.removeAttribute(q))}getPageTitle(){const q=this.title+".page";return this.languageService.hasTranslation(q)?this.languageService.translate(q):this.languageService.translate(this.caption)}showLoadingSpinnerOnNavigationStart(q){q instanceof M.Z&&this.loadingSpinnerService.show()}static#e=this.\u0275fac=function(me){return new(me||Ee)(T.rXU(_.hE),T.rXU(c.g),T.rXU(l.D),T.rXU($.t),T.rXU(M.Ix),T.rXU(k.V),T.rXU(I.y),T.rXU(P._))};static#t=this.\u0275cmp=T.VBU({type:Ee,selectors:[["iam-page","bodyAttributes",""]],inputs:{title:"title",pageId:"pageId",bodyAttributes:"bodyAttributes",hideMaintenanceMessages:"hideMaintenanceMessages",isNonFlowPage:"isNonFlowPage"},standalone:!1,attrs:fe,ngContentSelectors:we,decls:6,vars:11,consts:[["id","iamCustomBlockBeforeContainer",1,"iam-custom-block"],[3,"title","iam-d-none",4,"ngIf"],["id","iamCustomBlockAfterContainer",1,"iam-custom-block"],[3,"title"],["id","iamPageAlerts",1,"iam-page-alerts"],[3,"type","messages",4,"ngFor","ngForOf"],["id","tempLocking",3,"tempLockExpiry",4,"ngIf"],["id","iamContent","data-iam-arrive-hook",""],["id","iamCustomBlockBeforeContent",1,"iam-custom-block"],["id","iamCustomBlockAfterContent",1,"iam-custom-block"],[3,"isNonFlowPage",4,"ngIf"],[3,"visibleChange","action","id","visible","size","title","text","textArguments","showCancel","cancelText","closeOnOk","okText"],[3,"type","messages"],["id","tempLocking",3,"tempLockExpiry"],[3,"isNonFlowPage"]],template:function(me,Oe){1&me&&(T.NAR(),T.nrm(0,"div",0),T.nI1(1,"async"),T.DNE(2,wt,11,18,"iam-card",1),T.nI1(3,"async"),T.nrm(4,"div",2),T.nI1(5,"async")),2&me&&(T.AVh("iam-d-none",T.bMT(1,5,Oe.navigating)),T.R7$(2),T.Y8G("ngIf",T.bMT(3,7,Oe.applicationReadySignal.onReady)),T.R7$(2),T.AVh("iam-d-none",T.bMT(5,9,Oe.navigating)))},dependencies:[Z.Sq,Z.bT,N.C,V.i,Ce,dt,ae,Z.Jj],encapsulation:2})}return Ee})()},7805:(ze,se,f)=>{"use strict";f.d(se,{b:()=>T});var c=f(6884),l=f(5624),$=f(7613),M=f(516),O=f(3408),x=f(4387),R=f(4438);let T=(()=>{class _{constructor(I,P,Z,N,V,b){this.pageAlertService=I,this.errors=P,this.routes=Z,this.validations=N,this.languageService=V,this.tempLockService=b}static#e=this.\u0275fac=function(P){return new(P||_)(R.KVO(c.D),R.KVO(l.I),R.KVO($.BV),R.KVO(M.R),R.KVO(O.g),R.KVO(x.t))};static#t=this.\u0275prov=R.jDH({token:_,factory:_.\u0275fac})}return _})()},1463:(ze,se,f)=>{"use strict";f.d(se,{t:()=>$});var c=f(3408),l=f(4438);let $=(()=>{class M{constructor(x){this.languageService=x}transform(x,...R){return this.languageService.translate(x,...R)}static#e=this.\u0275fac=function(R){return new(R||M)(l.rXU(c.g,16))};static#t=this.\u0275pipe=l.EJ8({name:"translate",type:M,pure:!1,standalone:!1});static#n=this.\u0275prov=l.jDH({token:M,factory:M.\u0275fac})}return M})()},3679:(ze,se,f)=>{"use strict";f.d(se,{Y:()=>l});var c=f(4438);let l=(()=>{class ${static#e=this.\u0275fac=function(x){return new(x||$)};static#t=this.\u0275mod=c.$C({type:$});static#n=this.\u0275inj=c.G2t({})}return $})()},247:(ze,se,f)=>{"use strict";f.d(se,{$:()=>$});var c=f(4438),l=f(345);let $=(()=>{class M{constructor(x){this.sanitizer=x}transform(x){return this.sanitizer.bypassSecurityTrustHtml(x)}static#e=this.\u0275fac=function(R){return new(R||M)(c.rXU(l.up,16))};static#t=this.\u0275pipe=c.EJ8({name:"toSafeHtml",type:M,pure:!0,standalone:!1})}return M})()},9339:(ze,se,f)=>{"use strict";f.d(se,{m:()=>M});var c=f(1413),l=f(8384),$=f(4438);let M=(()=>{class O{constructor(){this.onChange=new c.B,this.operations=[],this.runningOperations=0,this.pageHasTakenControl=!1}getRunningCalls(){let R="";for(let T=0;T<this.operations.length;T++)T>0&&(R+=" "),R+=this.operations[T].call;return R}getRunningOperations(){return this.runningOperations}isBusy(){return!this.pageHasTakenControl||0!==this.runningOperations}leaveCurrentPage(){this.pageHasTakenControl=!1,this.onChange.next(this)}newPageLoadingWithoutOperations(){this.pageHasTakenControl=!0,this.onChange.next(this)}startOperation(R){this.pageHasTakenControl=!0,this.runningOperations++,this.operations.push(R),this.onChange.next(this)}endOperation(R){this.removeOperation(R)&&(this.runningOperations--,this.onChange.next(this))}removeOperation(R){for(let T=0;T<this.operations.length;T++)if(this.operations[T].call===R.call)return l.D.removeAt(T,this.operations),!0;return!1}static#e=this.\u0275fac=function(T){return new(T||O)};static#t=this.\u0275prov=$.jDH({token:O,factory:O.\u0275fac})}return O})()},4706:(ze,se,f)=>{"use strict";f.d(se,{f:()=>O});var c=f(5624),l=f(5060),$=f(4438),M=f(4298);let O=(()=>{class x{constructor(T,_){this.errors=T,this.serverErrorSignal=_}handleServerError(T){return this.serverErrorSignal.triggerServerError(T),console.warn("Handling server error: "+T.message),this.showErrorPage()}showErrorPage(T){return this.errors.showErrorPage(T),l.t}handleNotAvailable(){return this.errors.showNotAvailablePage(),l.t}static#e=this.\u0275fac=function(_){return new(_||x)($.KVO(c.I),$.KVO(M.U))};static#t=this.\u0275prov=$.jDH({token:x,factory:x.\u0275fac})}return x})()},4298:(ze,se,f)=>{"use strict";f.d(se,{U:()=>$});var c=f(1413),l=f(4438);let $=(()=>{class M{constructor(){this.onServerError=new c.B}triggerServerError(x){this.onServerError.next(x)}static#e=this.\u0275fac=function(R){return new(R||M)};static#t=this.\u0275prov=l.jDH({token:M,factory:M.\u0275fac})}return M})()},7612:(ze,se,f)=>{"use strict";f.d(se,{W:()=>M});var c=f(2367),l=f(7613),$=f(4438);let M=(()=>{class O{static#e=this.ROUTE_HISTORY_STORAGE_KEY="app.route.history";constructor(R,T){this.store=R,this.routes=T}addUrlToHistory(R){if(this.rememberUrl(R)){const T=this.loadHistory();T.push(R),T.length>10&&T.shift(),this.store.setObject(O.ROUTE_HISTORY_STORAGE_KEY,T)}}lastUrlFromHistory(){const R=this.loadHistory();if(R.length>0)return R[R.length-1]}rememberUrl(R){return!(!R||this.routes.isFlowSelectUrl(R)||R.startsWith(this.routes.error.root.normalizedUrl()))}loadHistory(){return this.store.getObject(O.ROUTE_HISTORY_STORAGE_KEY)||[]}static#t=this.\u0275fac=function(T){return new(T||O)($.KVO(c.u),$.KVO(l.BV))};static#n=this.\u0275prov=$.jDH({token:O,factory:O.\u0275fac})}return O})()},7613:(ze,se,f)=>{"use strict";f.d(se,{BV:()=>b,ft:()=>k});var c=f(5231),l=f(7348),$=f(6648),M=f(7673),O=f(7006),x=f(7376),T=f(4438),_=f(9339);const k={path:"",redirectTo:l.o2+"/error/not-found",pathMatch:"full"},P=ie=>ie.startsWith((0,l.TG)()+O.D.removeTrailingSlash((0,l.RQ)())+l.o2),Z=ie=>{let ye=ie;if(ie.startsWith((0,l.RQ)()))ye=(0,l.b7)(O.D.prependIfMissing(ie.substring((0,l.RQ)().length),"/"));else if(P(ie)){const ne=(0,l.RQ)();ye=ie.substring(ie.indexOf(ne)+ne.length),ye=(0,l.b7)(O.D.prependIfMissing(ye,"/"))}return ye};class V{constructor(ye,ne,z={}){this.routes=ye,this.url=ne,this.queryParams=z}navigate(ye){this.routes.navigateTo(this.url,ye||{queryParams:this.queryParams})}normalizedUrl(){return(0,l.Ji)(this.url)}fullyQualifiedUrl(){return(0,l.Uc)(this.url)}fullyQualifiedUrlWithQueryParams(){return(0,l.Uc)(this.urlWithQueryParams(this.queryParams))}append(ye){return new V(this.routes,`${this.url}/${ye}`,this.queryParams)}addQueryParameter(ye,ne){return this.queryParams[ye]=ne,new V(this.routes,this.url,this.queryParams)}urlWithQueryParams(ye){const ne=(0,l.zJ)(ye);return O.D.isNotBlank(ne)?this.url+"?"+ne:this.url}}let b=(()=>{class ie{constructor(ne,z){this.router=ne,this.pageBusyIndicator=z,this.error={root:null,message:null,notAvailable:null,notFound:null,noAccess:null},this.auth={root:null,application:{access:null},oauth2:{root:null,client:{authorization:null}},saml2:{root:null,idp:{sso:{init:null}},sp:{sso:{init:null}}},mtan:null,logout:{root:null,disclaimer:null,resume:null},formPost:null},this.userSelfReg={root:null,select:{flow:null}},this.publicSelfService={root:null,select:{flow:null}},this.protected={root:null,accountLinks:null,oauth2Sessions:null,oauth2Consents:null,portal:null,select:{flow:null},tokens:{airlock2fa:{devices:null},mtan:{numbers:null},device:{tokens:null},cronto:{devices:null},fido:{credentials:null}},rememberMe:{devices:null},representation:{start:null,resume:null,stop:null},oauth2:{root:null,client:{authorization:null}}},this.error.root=new V(this,l.oT+"/error"),this.error.message=new V(this,this.error.root.url+"/message"),this.error.notAvailable=new V(this,this.error.root.url+"/not-available"),this.error.notFound=new V(this,this.error.root.url+"/not-found"),this.error.noAccess=new V(this,this.error.root.url+"/no-access"),this.auth.root=new V(this,l.oT+"/auth"),this.auth.oauth2.root=new V(this,this.auth.root.url+"/oauth2"),this.auth.oauth2.client.authorization=new V(this,this.auth.oauth2.root.url+"/client/authorization"),this.auth.saml2.root=new V(this,this.auth.root.url+"/saml2"),this.auth.saml2.idp.sso.init=new V(this,this.auth.saml2.root+"/idp/sso/init"),this.auth.mtan=new V(this,this.auth.root.url+"/mtan"),this.auth.application.access=new V(this,this.auth.root.url+"/application/access"),this.auth.logout.root=new V(this,this.auth.root.url+"/logout"),this.auth.logout.disclaimer=new V(this,this.auth.root.url+"/logout/disclaimer"),this.auth.logout.resume=new V(this,this.auth.root.url+"/logout/resume"),this.auth.formPost=new V(this,this.auth.root.url+"/location/forward"),this.userSelfReg.root=new V(this,l.oT+"/registration"),this.userSelfReg.select.flow=new V(this,this.userSelfReg.root.url+"/select/flow"),this.publicSelfService.root=new V(this,l.oT+"/self-service"),this.publicSelfService.select.flow=new V(this,this.publicSelfService.root.url+"/select/flow"),this.protected.root=new V(this,l.oT+"/protected"),this.protected.accountLinks=new V(this,this.protected.root.url+"/account-links"),this.protected.oauth2Sessions=new V(this,this.protected.root.url+"/oauth2-sessions"),this.protected.oauth2Consents=new V(this,this.protected.root.url+"/oauth2/consents"),this.protected.portal=new V(this,this.protected.root.url+"/portal"),this.protected.select.flow=new V(this,this.protected.root.url+"/select/flow"),this.protected.tokens.airlock2fa.devices=new V(this,this.protected.root.url+"/tokens/airlock-2fa/devices"),this.protected.tokens.mtan.numbers=new V(this,this.protected.root.url+"/tokens/mtan"),this.protected.tokens.device.tokens=new V(this,this.protected.root.url+"/tokens/device-token"),this.protected.tokens.cronto.devices=new V(this,this.protected.root.url+"/tokens/cronto/devices"),this.protected.tokens.fido.credentials=new V(this,this.protected.root.url+"/tokens/fido/credentials"),this.protected.rememberMe.devices=new V(this,this.protected.root.url+"/remember-me/devices"),this.protected.representation.start=new V(this,this.protected.root.url+"/representation/start"),this.protected.representation.resume=new V(this,this.protected.root.url+"/representation/resume"),this.protected.representation.stop=new V(this,this.protected.root.url+"/representation/stop"),this.protected.oauth2.root=new V(this,this.protected.root.url+"/oauth2"),this.protected.oauth2.client.authorization=new V(this,this.protected.oauth2.root.url+"/client/authorization")}isCurrentRoute(ne){return(0,l.ys)(this.router.routerState.snapshot.url,ne)}navigateTo(ne,z){ne.startsWith(this.error.root.url)&&console.warn("Navigating to the error page given the following stack trace: "+this.getStackTrace());const W=this.handleNavigationExtras(z);return(0,l.UB)(ne)?(0,$.H)(this.router.navigate([(0,l.Ji)(ne)],W)):(ie=>ie.startsWith((0,l.RQ)()))(ne)||P(ne)?(0,$.H)(this.router.navigate([Z(ne)],(0,l.e1)((0,l.aG)(ne),W))):(ie=>!!ie.match(/^[a-zA-Z][a-zA-Z0-9+.-]*:\/\/?.+$/))(ne)||ne.startsWith("/")||window.location.href.startsWith("intent://")?this.redirectBrowser(ne,z):(0,$.H)(this.router.navigate([ne],z))}getCurrentQueryParameters(){return this.router.routerState.snapshot.root.queryParams}isFlowSelectUrl(ne){return ne.startsWith(this.auth.application.access.normalizedUrl())||ne.startsWith(this.publicSelfService.select.flow.normalizedUrl())||ne.startsWith(this.userSelfReg.select.flow.normalizedUrl())||ne.startsWith(this.protected.select.flow.normalizedUrl())}handleNavigationExtras(ne){return this.isFlowSelectUrl(this.router.routerState.snapshot.url)?(0,x.assign)({replaceUrl:!0},ne):ne}getStackTrace(){let ne;try{throw new Error("")}catch(W){ne=W.stack||""}const z=ne.split("\n").map(W=>W.trim());return z.splice("Error"===z[0]?2:1)}redirectBrowser(ne,z){if(this.pageBusyIndicator.startOperation({call:ne}),z?.queryParams){const G=new URL(ne),Y=(0,c.wl)(z?.queryParams);Y.keys.forEach(Ce=>{const de=Y.get(Ce);de&&G.searchParams.append(Ce,de)}),ne=G.toString()}return window.iam.internal.navigation.externalRedirect(ne,z),(0,M.of)(!0)}static#e=this.\u0275fac=function(z){return new(z||ie)(T.KVO(c.Ix),T.KVO(_.m))};static#t=this.\u0275prov=T.jDH({token:ie,factory:ie.\u0275fac})}return ie})()},6751:(ze,se,f)=>{"use strict";f.d(se,{v:()=>c});class c{}},968:(ze,se,f)=>{"use strict";f.d(se,{Q:()=>$});var c=f(2378),l=f(4438);let $=(()=>
1{class M{interpolate(x,...R){let T=x;return R.filter(_=>!!_).forEach(_=>{const k=c.A.render(T,_);k&&(T=k)}),T}static#e=this.\u0275fac=function(R){return new(R||M)};static#t=this.\u0275prov=l.jDH({token:M,factory:M.\u0275fac})}return M})()},3408:(ze,se,f)=>{"use strict";f.d(se,{g:()=>G});var c=f(4438),l=f(2367),$=f(951),M=f(7348),O=f(2315),x=f(8703),R=f(1397),T=f(8141),_=f(649),k=f(7006),I=f(7376);const P=(Y,Ce)=>(0,I.isArray)(Y)?Y.map(de=>P(de,Ce)):(0,I.isMap)(Y)?(0,I.mapValues)(Object.fromEntries(Y),de=>P(de,Ce)):(0,I.isObject)(Y)?(0,I.mapValues)(Y,de=>P(de,Ce)):Ce(Y);var N=f(7893),V=f(968),b=f(4616),ie=f(6751),ye=f(1626),ne=f(7717),z=f(7211);let G=(()=>{class Y{constructor(de,Ae,Ye,xe,Se,je,et,ht,Dt,dt){this.translateService=de,this.currentFlow=Ae,this.currentStep=Ye,this.environmentService=xe,this.store=Se,this.httpClient=je,this.initialPageData=et,this.extensionData=ht,this.interpolationService=Dt,this.injector=dt,this.onLanguageChange=de.onLangChange}init(){return this.httpClient.get((0,M.OZ)(["public","ui","languages"])).pipe((0,R.Z)(de=>this.handleInitialization(de.data.attributes)),(0,T.M)(()=>this.translateService.setDefaultLang(this.language)))}set language(de){de!==this.language&&(this.setLanguageInternal(de),this.translateService.use(de).subscribe(()=>{this.injector.get(c.o8S).tick(),document.dispatchEvent(new CustomEvent("iam.internal.event.language.changed",{detail:de}))}))}get language(){return this._language}isSupportedLanguage(de){const Ae=this.getSupportedLanguages()||["en","de","fr","it"];return!(!de||-1===Ae.indexOf(de))}getSupportedLanguages(){return this.store.getObject($.f.AVAILABLE_LANGUAGES)}getCurrentLanguageTranslations(){return this.translateService.getTranslation(this._language)}translate(de,Ae){if(!de)return"";const Ye=this.lookupFlowSpecificKey(de);if(this.environmentService.showI18nKeys())return Ye;Ae=this.extendInterpolationParams(Ae);const xe=this.translateService.instant(Ye,this.escapeInterpolationArguments(Ae));return(0,I.isString)(xe)?this.interpolationService.interpolate(xe,Ae):Ye}lookupFlowSpecificKey(de){return this.toTranslationLookup(de).getMostSpecificKey(Ye=>this.hasTranslationInternal(Ye))}hasTranslation(de){return this.hasTranslationInternal(this.lookupFlowSpecificKey(de))}extendInterpolationParams(de){if(this.initialPageData.data&&(de=(0,I.merge)(de,this.initialPageData.data)),!this.extensionData.isEmpty()){let Ae=Object.fromEntries(this.extensionData.data());Ae=this.customFormatAttributes(Ae),Ae=P(Ae,this.transformDate()),de=(0,I.merge)(de,Ae)}return de}customFormatAttributes(de){const Ae=(Y=>Object.keys(Y).reduce((de,Ae)=>{return de[Ae]=(xe=Y[Ae],window.iam.api.additionalAttributes.format(Ae,xe)||xe),de;var xe},{}))(de);return(0,I.merge)(de,Ae)}transformDate(){return de=>{const Ae=this.injector.get(N.A);if(Ae.isDateWithServerFormat(de)){const Ye=Ae.toDateFromServer(de);return Ae.toString(Ye,N.c.DATE)}if(Ae.isDateTimeWithServerFormat(de)){const Ye=Ae.toDateTimeFromServer(de);return Ae.toString(Ye,N.c.DATE_TIME)}return de}}escapeInterpolationArguments(de){const Ae={};return(0,I.forOwn)(de,(Ye,xe)=>{Ae[xe]="string"==typeof Ye?(0,I.escape)(Ye):"object"==typeof Ye?this.escapeInterpolationArguments(Ye):Ye}),Ae}toTranslationLookup(de){const Ae=(0,I.isString)(de)?new x.Y(de):de;return Ae.hasFlowId()||(Ae.flowId=this.currentFlow.retrieveId()),Ae.hasStepId()||(Ae.stepId=this.currentStep.retrieveId()),Ae.hasTenantId()||(Ae.tenantId=this.currentStep.retrieveTenantId()),Ae}setLanguageInternal(de){this._language=de;const Ae=document.querySelector("html");Ae&&(Ae.lang=de),this.store.setValue($.f.LANGUAGE,de)}hasTranslationInternal(de){return k.D.isNotBlank(de)&&this.translateService.instant(de)!==de}handleInitialization(de){return this.store.setObject($.f.AVAILABLE_LANGUAGES,de.availableLanguages),this.setLanguageInternal(this.detectLanguage()||de.defaultLanguage),this.getCurrentLanguageTranslations()}detectLanguage(){let de=this.getLanguageParameter();if(this.isSupportedLanguage(de))return de;return this.store.getValue($.f.LANGUAGE)||(de=this.getBrowserLanguage(),this.isSupportedLanguage(de)?de:void 0)}getBrowserLanguage(){return navigator.language?navigator.language.split("-")[0]:navigator.browserLanguage?navigator.browserLanguage.split("-")[0]:""}getLanguageParameter(){const de=window.location.search,Ye=new RegExp("[?&]lang(=([^&#]*)|&|#|$)").exec(de);if(Ye&&Ye[2])return decodeURIComponent(Ye[2].replace(/\+/g," "))}static#e=this.\u0275fac=function(Ae){return new(Ae||Y)(c.KVO(b.c$),c.KVO(O.E),c.KVO(_.S),c.KVO(ie.v),c.KVO(l.u),c.KVO(ye.Qq),c.KVO(ne.C),c.KVO(z.E),c.KVO(V.Q),c.KVO(c.zZn))};static#t=this.\u0275prov=c.jDH({token:Y,factory:Y.\u0275fac})}return Y})()},7022:(ze,se,f)=>{"use strict";f.d(se,{V:()=>l});var c=f(4438);let l=(()=>{class ${show(){document.getElementById("iamLoader")?.classList.remove("iam-d-none")}hide(){document.getElementById("iamLoader")?.classList.add("iam-d-none")}static#e=this.\u0275fac=function(x){return new(x||$)};static#t=this.\u0275prov=c.jDH({token:$,factory:$.\u0275fac})}return $})()},8703:(ze,se,f)=>{"use strict";f.d(se,{Y:()=>l});var c=f(7006);class l{constructor(M){this.key=M}hasFlowId(){return c.D.isNotBlank(this.flowId)}
1hasStepId(){return c.D.isNotBlank(this.stepId)}hasTenantId(){return c.D.isNotBlank(this.tenantId)}getMostSpecificKey(M){const O=this.key.startsWith("custom.")?this.key.substring(7):this.key,x="custom.flow-step-tenant."+this.flowId+"."+this.stepId+"."+this.tenantId+"."+O;if(this.hasFlowId()&&this.hasStepId()&&this.hasTenantId()&&M(x))return x;const R="custom.step-tenant."+this.stepId+"."+this.tenantId+"."+O;if(this.hasStepId()&&this.hasTenantId()&&M(R))return R;const T="custom.flow-tenant."+this.flowId+"."+this.tenantId+"."+O;if(this.hasFlowId()&&this.hasTenantId()&&M(T))return T;const _="custom.tenant."+this.tenantId+"."+O;if(this.hasTenantId()&&M(_))return _;const k="custom.flow-step."+this.flowId+"."+this.stepId+"."+O;if(this.hasFlowId()&&this.hasStepId()&&M(k))return k;const I="custom.step."+this.stepId+"."+O;if(this.hasStepId()&&M(I))return I;const P="custom.flow."+this.flowId+"."+O;return this.hasFlowId()&&M(P)?P:this.key}}},1552:(ze,se,f)=>{"use strict";f.d(se,{G:()=>xe});var c=f(1116),l=f(3408),$=f(2367),M=f(6088),O=f(9421),x=f(177),R=f(9417),T=f(9339),_=f(7613),k=f(325),I=f(516),P=f(4298),Z=f(7623),N=f(7893),V=f(7612),b=f(3679),ie=f(4174),ye=f(527),ne=f(4706),z=f(3597),W=f(2017),G=f(7022),Y=f(9149),Ce=f(4438);let de=(()=>{class Se{static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275mod=Ce.$C({type:Se});static#n=this.\u0275inj=Ce.G2t({imports:[O.L]})}return Se})();var Ae=f(7211),Ye=f(968);let xe=(()=>{class Se{static forRoot(){return{ngModule:Se,providers:[Ae.E,P.U,Z._,Y._,N.A,ye.D,z.T,Ye.Q,l.g,W.e,ie.X,T.m,$.u,V.W,M.R,_.BV,I.R,ne.f,G.V]}}static#e=this.\u0275fac=function(ht){return new(ht||Se)};static#t=this.\u0275mod=Ce.$C({type:Se});static#n=this.\u0275inj=Ce.G2t({imports:[x.MD,O.L,k.R,b.Y,R.X1,c.h,de]})}return Se})()},7211:(ze,se,f)=>{"use strict";f.d(se,{E:()=>l});var c=f(4438);let l=(()=>{class ${constructor(){this.extensionData=new Map}add(O){return O&&Object.entries(O).forEach(([x,R])=>this.extensionData.set(x,R)),this.data()}isEmpty(){return 0===this.extensionData.size}data(){return new Map(this.extensionData)}clear(){this.extensionData.clear()}static#e=this.\u0275fac=function(x){return new(x||$)};static#t=this.\u0275prov=c.jDH({token:$,factory:$.\u0275fac})}return $})()},7717:(ze,se,f)=>{"use strict";f.d(se,{C:()=>l});var c=f(4438);let l=(()=>{class ${clearInitialPageData(){this.data=void 0}static#e=this.\u0275fac=function(x){return new(x||$)};static#t=this.\u0275prov=c.jDH({token:$,factory:$.\u0275fac})}return $})()},2367:(ze,se,f)=>{"use strict";f.d(se,{u:()=>$});var c=f(951),l=f(4438);let $=(()=>{class M{getValue(x){const R=sessionStorage.getItem(x);if(R)return R}setValue(x,R){sessionStorage.setItem(x,R)}clearValue(x){sessionStorage.removeItem(x)}setObject(x,R){const T=JSON.stringify(R);this.setValue(x,T)}getObject(x){const R=this.getValue(x);if(R)return JSON.parse(R)}clearAllPreservingLanguage(){const x=this.getValue(c.f.LANGUAGE),R=this.getValue(c.f.AVAILABLE_LANGUAGES);sessionStorage.clear(),x&&this.setValue(c.f.LANGUAGE,x),R&&this.setValue(c.f.AVAILABLE_LANGUAGES,R)}static#e=this.\u0275fac=function(R){return new(R||M)};static#t=this.\u0275prov=l.jDH({token:M,factory:M.\u0275fac})}return M})()},1116:(ze,se,f)=>{"use strict";f.d(se,{h:()=>$});var c=f(4616),l=f(4438);let $=(()=>{class M{static#e=this.\u0275fac=function(R){return new(R||M)};static#t=this.\u0275mod=l.$C({type:M});static#n=this.\u0275inj=l.G2t({imports:[c.h]})}return M})()},6198:(ze,se,f)=>{"use strict";f.d(se,{C:()=>k});var c=f(8703),l=f(3408),$=f(7006),M=f(4438),O=f(177);const x=(I,P,Z,N)=>({"iam-alert-danger":I,"iam-alert-warning":P,"iam-alert-info":Z,"iam-alert-success":N});function R(I,P){if(1&I&&M.nrm(0,"li",4),2&I){const Z=P.$implicit,N=M.XpG(2);M.Y8G("innerHTML",N.createMessage(Z),M.npT)}}function T(I,P){if(1&I&&(M.j41(0,"ul"),M.DNE(1,R,1,1,"li",3),M.k0s()),2&I){const Z=M.XpG();M.R7$(),M.Y8G("ngForOf",Z.messages)}}function _(I,P){if(1&I&&M.nrm(0,"span",4),2&I){const Z=M.XpG();M.Y8G("innerHTML",Z.createMessage(Z.messages[0]),M.npT),M.BMQ("id",Z.id)}}let k=(()=>{class I{set text(Z){this.messages.push({key:Z})}constructor(Z){this.translator=Z,this.type="error",this.messages=[],this.id="alertText"}createMessage(Z){const N=new c.Y(Z.key);N.flowId=Z.flowId,N.stepId=Z.stepId,N.tenantId=Z.tenantId;let V=this.translator.translate(N,Z.arguments);if(!Z.extraInfos)return V;for(const b of Z.extraInfos){const ie=new c.Y(b.key);ie.flowId=Z.flowId,ie.stepId=Z.stepId,ie.tenantId=Z.tenantId,V=$.D.concatSentences(V,this.translator.translate(ie,b.arguments))}return V}static#e=this.\u0275fac=function(N){return new(N||I)(M.rXU(l.g))};static#t=this.\u0275cmp=M.VBU({type:I,selectors:[["iam-alert"]],inputs:{type:"type",text:"text",messages:"messages",id:"id"},standalone:!1,decls:3,vars:8,consts:[["role","alert",1,"alert","iam-alert",3,"ngClass"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"]],template:function(N,V){1&N&&(M.j41(0,"div",0),M.DNE(1,T,2,1,"ul",1)(2,_,1,2,"span",2),M.k0s()),2&N&&(M.Y8G("ngClass",M.ziG(3,x,"error"===V.type,"warning"===V.type,"info"===V.type,"success"===V.type)),M.R7$(),M.Y8G("ngIf",V.messages.length>1),M.R7$(),M.Y8G("ngIf",1===V.messages.length))},dependencies:[O.YU,O.Sq,O.bT],encapsulation:2})}return I})()},57:(ze,se,f)=>{"use strict";f.d(se,{m:()=>M});var c=f(4438),l=f(177);const $=["*"];let M=(()=>{class O{constructor(){this.rowNgClass={}}get hostCss(){return"iam-form-group iam-row"}static#e=this.\u0275fac=function(T){return new(T||O)};static#t=this.\u0275cmp=c.VBU({type:O,selectors:[["iam-button-row"]],hostVars:2,hostBindings:function(T,_){2&T&&c.HbH(_.hostCss)},inputs:{rowNgClass:"rowNgClass"},standalone:!1,ngContentSelectors:$,decls:2,vars:1,consts:[[1,"iam-col-12","iam-button-group",3,"ngClass"]],template:function(T,_){1&T&&(c.NAR(),c.j41(0,"div",0),c.SdG(1),c.k0s()),2&T&&c.Y8G("ngClass",_.rowNgClass)},dependencies:[l.YU],encapsulation:2})}return O})()},4160:(ze,se,f)=>{"use strict";f.d(se,{Q:()=>de});var c=f(4438),l=f(4412),$=f(4572),M=f(6354),O=f(9172),x=f(8839),R=f(8793),T=f(6697),_=f(9974),k=f(4360),I=f(5343),N=f(1397),V=f(8750);function b(Ae,Ye){return Ye?xe=>(0,R.x)(Ye.pipe((0,T.s)(1),function P(){return(0,_.N)((Ae,Ye)=>{Ae.subscribe((0,k._)(Ye,I.l))})}()),xe.pipe(b(Ae))):(0,N.Z)((xe,Se)=>(0,V.Tg)(Ae(xe,Se)).pipe((0,T.s)(1),function Z(Ae){return(0,M.T)(()=>Ae)}(xe)))}var ie=f(1807),ne=f(5964),z=f(8141),W=f(9339),G=f(6751),Y=f(177),Ce=f(1463);let de=(()=>{class Ae{set disabled(xe){this._disabled.next(xe)}
1set disableWhenBusy(xe){this._disabledWhenBusy.next(xe)}get hostCss(){let xe="iam-btn-wrapper iam-btn-block-level-sm-down";return this.noFloat||(xe+=" iam-float-"+(this.right?"right":"left")),xe}constructor(xe,Se){this.pageBusyIndicator=xe,this.environmentService=Se,this.text="",this.submit=!1,this.right=!0,this.noFloat=!1,this.block=!0,this.type="primary",this.autofocus=!1,this.buttonNgClass={},this.buttonClick=new c.bkB,this._disabled=new l.t(!1),this._disabledWhenBusy=new l.t(!0)}ngOnInit(){this.isDisabled=(0,$.z)([this._disabled,this._disabledWhenBusy,this.pageBusyIndicator.onChange.pipe((0,M.T)(xe=>xe.isBusy()),(0,O.Z)(!1))]).pipe(function ye(Ae,Ye=x.E){const xe=(0,ie.O)(Ae,Ye);return b(()=>xe)}(0),(0,M.T)(([xe,Se,je])=>xe||Se&&je)),this.isAutofocus=this.isDisabled.pipe((0,ne.p)(xe=>!xe),(0,ne.p)(()=>this.autoselectable()),(0,M.T)(()=>!0),(0,z.M)(()=>document.dispatchEvent(new CustomEvent("iam.internal.event.button.request-focus",{detail:this.id}))))}buttonClicked(xe){this.environmentService.isClickable(this.id)&&this.buttonClick.emit(xe)}autoselectable(){return!!this.id&&this.autofocus}static#e=this.\u0275fac=function(Se){return new(Se||Ae)(c.rXU(W.m),c.rXU(G.v))};static#t=this.\u0275cmp=c.VBU({type:Ae,selectors:[["iam-button"]],hostVars:2,hostBindings:function(Se,je){2&Se&&c.HbH(je.hostCss)},inputs:{id:"id",text:"text",title:"title",submit:"submit",right:"right",noFloat:"noFloat",block:"block",type:"type",autofocus:"autofocus",buttonNgClass:"buttonNgClass",disabled:"disabled",disableWhenBusy:"disableWhenBusy"},outputs:{buttonClick:"buttonClick"},standalone:!1,decls:5,vars:27,consts:[[1,"iam-btn",3,"click","type","ngClass","disabled","innerHTML"]],template:function(Se,je){1&Se&&(c.j41(0,"button",0),c.nI1(1,"async"),c.nI1(2,"translate"),c.nI1(3,"translate"),c.nI1(4,"async"),c.bIt("click",function(ht){return je.buttonClicked(ht)}),c.k0s()),2&Se&&(c.AVh("iam-btn-block-level-sm-down",je.block)("iam-float-right",!je.noFloat&&je.right)("iam-float-left",!je.noFloat&&!je.right)("iam-btn-outline-primary","primary"===je.type)("iam-btn-outline-secondary","secondary"===je.type)("btn-danger","error"===je.type),c.Y8G("type",je.submit?"submit":"button")("ngClass",je.buttonNgClass)("disabled",c.bMT(1,19,je.isDisabled))("innerHTML",c.bMT(2,21,je.text),c.npT),c.BMQ("id",je.id)("title",c.bMT(3,23,je.title))("iam-autofocus",c.bMT(4,25,je.isAutofocus)))},dependencies:[Y.YU,Ce.t,Y.Jj],encapsulation:2})}return Ae})()},4598:(ze,se,f)=>{"use strict";f.d(se,{i:()=>M});var c=f(4438),l=f(1463);const $=["*"];let M=(()=>{class O{constructor(){this.detailCard=!1}static#e=this.\u0275fac=function(T){return new(T||O)};static#t=this.\u0275cmp=c.VBU({type:O,selectors:[["iam-card"]],inputs:{title:"title",titleArguments:"titleArguments",id:"id",detailCard:"detailCard"},standalone:!1,ngContentSelectors:$,decls:5,vars:7,consts:[[1,"iam-card"],[1,"iam-card-header",3,"innerHTML"],[1,"iam-card-body","iam-no-margin-for-last-row"]],template:function(T,_){1&T&&(c.NAR(),c.j41(0,"div",0),c.nrm(1,"div",1),c.nI1(2,"translate"),c.j41(3,"div",2),c.SdG(4),c.k0s()()),2&T&&(c.AVh("iam-detail-card",_.detailCard),c.BMQ("id",_.id),c.R7$(),c.Y8G("innerHTML",c.i5U(2,4,_.title,_.titleArguments),c.npT))},dependencies:[l.t],encapsulation:2})}return O})()},6453:(ze,se,f)=>{"use strict";f.d(se,{I:()=>O});var c=f(4438),l=f(177),$=f(1463),M=f(247);let O=(()=>{class x{constructor(){this.safeHtml=!1}static#e=this.\u0275fac=function(_){return new(_||x)};static#t=this.\u0275cmp=c.VBU({type:x,selectors:[["iam-text-message"]],inputs:{id:"id",textArguments:"textArguments",text:"text",textNgClass:"textNgClass",safeHtml:"safeHtml"},standalone:!1,decls:4,vars:11,consts:[[1,"iam-text-message",3,"ngClass","innerHtml"]],template:function(_,k){1&_&&(c.nrm(0,"div",0),c.nI1(1,"translate"),c.nI1(2,"toSafeHtml"),c.nI1(3,"translate")),2&_&&(c.Y8G("ngClass",k.textNgClass)("innerHtml",k.safeHtml?c.bMT(2,6,c.i5U(1,3,k.text,k.textArguments)):c.i5U(3,8,k.text,k.textArguments),c.npT),c.BMQ("id",k.id))},dependencies:[l.YU,$.t,M.$],encapsulation:2})}return x})()},9421:(ze,se,f)=>{"use strict";f.d(se,{L:()=>R});var c=f(1116),l=f(177),$=f(9417),M=f(5231),O=f(3679),x=f(4438);let R=(()=>{class T{static#e=this.\u0275fac=function(I){return new(I||T)};static#t=this.\u0275mod=x.$C({type:T});static#n=this.\u0275inj=x.G2t({imports:[c.h,l.MD,$.X1,M.iI,O.Y,c.h,l.MD,$.X1]})}return T})()},7912:(ze,se,f)=>{"use strict";f.d(se,{iy:()=>ye,_5:()=>V,jS:()=>O,Bp:()=>M,u7:()=>I});var c=f(4438);let l=(()=>{class ne{isSdk(){return!1}showI18nKeys(){return!1}isClickable(){return!0}static#e=this.\u0275fac=function(G){return new(G||ne)};static#t=this.\u0275prov=c.jDH({token:ne,factory:ne.\u0275fac})}return ne})();var $=f(6751);let M=(()=>{class ne{static#e=this.\u0275fac=function(G){return new(G||ne)};static#t=this.\u0275mod=c.$C({type:ne});static#n=this.\u0275inj=c.G2t({providers:[{provide:$.v,useClass:l}]})}return ne})();class O{intercept(z,W){return W.handle(z)}}var x=f(6648),R=f(6354),T=f(6088),_=f(2412);class k{isAbortError(z){return"AbortError"===z.name}isNotAllowedError(z){return"NotAllowedError"===z.name}isNotSupportedError(z){return"NotSupportedError"===z.name}}let I=(()=>{class ne extends k{constructor(W){super(),this.iam=W,typeof TextDecoder<"u"&&(this.decoder=new TextDecoder("UTF-8"))}isAvailable(){return this.hasDecoder()&&this.iam.isWebAuthnAvailable()}createCredentials(W){return(0,x.H)(this.iam.createWebAuthnCredentials({publicKey:W})).pipe((0,R.T)(G=>this.toFidoPublicKeyCreationRequest(G)))}getCredentials(W){return(0,x.H)(this.iam.getWebAuthnCredentials({publicKey:W})).pipe((0,R.T)(G=>this.toFidoAuthenticationResponse(G)))}hasDecoder(){return!!this.decoder}toFidoPublicKeyCreationRequest(W){const G=W.response;return{publicKeyCredential:{id:W.id,response:{attestationObject:(0,_._e)(G.attestationObject),clientDataJSON:this.arrayBufferToString(G.clientDataJSON),transports:G.getTransports()},type:W.type}}}toFidoAuthenticationResponse(W){const G=W.response;return{publicKeyCredential:{id:W.id,response:{clientDataJSON:this.arrayBufferToString(G.clientDataJSON),authenticatorData:(0,_._e)(G.authenticatorData),signature:(0,_._e)(G.signature),userHandle:(0,_._e)(G.userHandle)},type:W.type}}}arrayBufferToString(W){return this.decoder.decode(W)}static#e=this.\u0275fac=function(G){return new(G||ne)(c.KVO(T.R))};static#t=this.\u0275prov=c.jDH({token:ne,factory:ne.\u0275fac})}return ne})();var P=f(7805),Z=f(7348);class N{constructor(z){this.pages=z}getUrl(z){return z.redirectByAccess?this.pages.routes.auth.application.access.addQueryParameter("Location",(0,Z.zp)(z.redirectTarget)).fullyQualifiedUrlWithQueryParams():z.redirectTarget}}let V=(()=>{class ne extends N{constructor(W){super(W),this.pages=W}redirectToTarget(W){W.openInNewTab?window.open(this.getUrl(W),"_blank"):this.pages.routes.navigateTo(this.getUrl(W))}static#e=this.\u0275fac=function(G){return new(G||ne)(c.KVO(P.b))};static#t=this.\u0275prov=c.jDH({token:ne,factory:ne.\u0275fac})}return ne})();var b=f(3510);class ie{}let ye=(()=>{class ne extends ie{errorDetails(){return window.history.state?.errorDetails?new b.vj(window.history.state.errorDetails.message,window.history.state.errorDetails.target):new b.vj({description:"general.error.description"})}static#e=this.\u0275fac=(()=>{let W;return function(Y){return(W||(W=c.xGo(ne)))(Y||ne)}})();static#t=this.\u0275prov=c.jDH({token:ne,factory:ne.\u0275fac})}return ne})()},6171:(ze,se,f)=>{"use strict";var c=f(345),l=f(4438),$=f(177),M=f(4616),O=f(1626),x=f(5231),R=f(6884),T=f(3408),_=f(4572),k=f(7613),I=f(7348),P=f(6354),Z=f(5964),N=f(6697),V=f(6088),b=f(9339),ie=f(7623),ye=f(7022),ne=f(6751);let z=(()=>{class Fe{static#e=this.\u0275fac=function(ot){return new(ot||Fe)};static#t=this.\u0275cmp=l.VBU({type:Fe,selectors:[["iam-loginapp-sdk"]],standalone:!1,decls:0,vars:0,template:function(ot,Tt){},encapsulation:2})}return Fe})();function W(Fe,jn){1&Fe&&l.nrm(0,"iam-loginapp-sdk",5)}let G=(()=>{class Fe{constructor(be,ot,Tt,Fn,In,kt,lr,Ue,$e){this.router=be,this.routes=ot,this.pageAlertService=Tt,this.iamJs=Fn,this.languageService=In,this.pageBusyIndicator=kt,this.applicationReadySignal=lr,this.loadingSpinnerService=Ue,this.environment=$e}ngOnInit(){this.iamJs.initialize(),this.router.events.subscribe(be=>this.handleRouting(be)),this.whenTranslationsLoadedAndRoutingEnded().subscribe(()=>this.showContent())}whenTranslationsLoadedAndRoutingEnded(){return(0,_.z)([this.languageService.init(),this.router.events]).pipe((0,P.T)(([,be])=>be),(0,Z.p)(be=>this.isNavigationEnd(be)),(0,N.s)(1))}showContent(){this.loadingSpinnerService.hide(),this.applicationReadySignal.ready()}handleRouting(be){this.handlePageBusyState(be),this.handlePageAlert(be)}handlePageBusyState(be){be instanceof x.Z?this.pageBusyIndicator.startOperation({call:be.url}):this.isNavigationEnd(be)&&this.pageBusyIndicator.endOperation({call:be.url})}isNavigationEnd(be){return be instanceof x.OY&&(be=be.routerEvent),be instanceof x.j5||be instanceof x.wF||be instanceof x.L6}handlePageAlert(be){be instanceof x.wF&&this.isUiUrl(be.url)&&this.pageAlertService.display()}isUiUrl(be){return!(this.routes.isFlowSelectUrl(be)||be===(0,I.Ji)(this.routes.auth.logout.root.url))}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.rXU(x.Ix),l.rXU(k.BV),l.rXU(R.D),l.rXU(V.R),l.rXU(T.g),l.rXU(b.m),l.rXU(ie._),l.rXU(ye.V),l.rXU(ne.v))};static#t=this.\u0275cmp=l.VBU({type:Fe,selectors:[["iam-loginapp"]],standalone:!1,decls:6,vars:1,consts:[["id","iamSdk",4,"ngIf"],["id","iamHeaderContainer"],["id","iamLayoutContainer"],["id","iamContentContainer"],["id","iamFooterContainer"],["id","iamSdk"]],template:function(ot,Tt){1&ot&&(l.DNE(0,W,1,0,"iam-loginapp-sdk",0),l.nrm(1,"div",1)(2,"div",2),l.j41(3,"div",3),l.nrm(4,"router-outlet"),l.k0s(),l.nrm(5,"div",4)),2&ot&&l.Y8G("ngIf",Tt.environment.isSdk())},dependencies:[$.bT,z,x.n3],encapsulation:2})}return Fe})();var Y=f(7612);let Ce=(()=>{class Fe{constructor(be){this.history=be}canActivateChild(be,ot){return be.children.length>0||this.history.addUrlToHistory(ot.url),!0}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO(Y.W))};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var de=f(7717);let Ae=(()=>{class Fe{constructor(be){this.initialPageData=be}canActivateChild(be){return 0===be.children.length&&this.initialPageData.clearInitialPageData(),!0}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO(de.C))};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();const Ye=[{path:"",redirectTo:"app/auth",pathMatch:"full"},{path:"index.html",redirectTo:"app",pathMatch:"full"},{path:"app",canActivateChild:[(Fe,jn)=>(0,l.WQX)(Ce).canActivateChild(Fe,jn),Fe=>(0,l.WQX)(Ae).canActivateChild(Fe)],children:[{path:"",redirectTo:"auth",pathMatch:"full"},{path:"auth",loadChildren:()=>Promise.all([f.e(2076),f.e(3950)]).then(f.bind(f,3950)).then(Fe=>Fe.AuthModule)},{path:"oauth2",loadChildren:()=>Promise.all([f.e(2076),f.e(314)]).then(f.bind(f,314)).then(Fe=>Fe.OAuth2Module)},{path:"registration",loadChildren:()=>Promise.all([f.e(2076),f.e(1642)]).then(f.bind(f,1642)).then(Fe=>Fe.RegistrationModule)}
1,{path:"self-service",loadChildren:()=>Promise.all([f.e(2076),f.e(1932)]).then(f.bind(f,1932)).then(Fe=>Fe.PublicSelfServiceModule)},{path:"protected",loadChildren:()=>Promise.all([f.e(2076),f.e(6373)]).then(f.bind(f,6373)).then(Fe=>Fe.ProtectedModule)},{path:"error",loadChildren:()=>Promise.resolve().then(f.bind(f,5996)).then(Fe=>Fe.ErrorModule)}]},{path:"**",redirectTo:I.o2+"/error/not-found",runGuardsAndResolvers:"always"}];let xe=(()=>{class Fe{static forRoot(){return x.iI.forRoot(Ye,{onSameUrlNavigation:"reload"})}static#e=this.\u0275fac=function(ot){return new(ot||Fe)};static#t=this.\u0275mod=l.$C({type:Fe});static#n=this.\u0275inj=l.G2t({})}return Fe})();var Se=f(1552),je=f(5996),et=f(325),ht=f(951),Dt=f(2367);class dt{static isRestCall(jn){return jn.url.indexOf("/rest/")>=0}}let Pt=(()=>{class Fe{constructor(be){this.store=be}intercept(be,ot){if(!dt.isRestCall(be))return ot.handle(be);let Tt=be.headers;Tt=Tt.set("Cache-Control","no-cache"),Tt=Tt.set("Pragma","no-cache"),Tt=Tt.set("If-Modified-Since","0"),Tt=Tt.set("X-Same-Domain","1"),Tt=Tt.set("Content-Type","application/json");const Fn=this.store.getValue(ht.f.LANGUAGE);Fn&&(Tt=Tt.set("Accept-Language",this.normalizeAcceptLanguage(Fn)));const In=be.clone({withCredentials:!0,headers:Tt});return ot.handle(In)}normalizeAcceptLanguage(be){return be.replace("_","-")}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO(Dt.u))};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var Mt=f(8810),$t=f(9974),Re=f(4360),ae=f(3669),fe=f(1807),we=f(8750),Ke=f(7673),Ge=f(5060),mt=f(9437),Vt=f(4706),wt=f(2315),Wt=f(8035);let Ee=(()=>{class Fe{constructor(be,ot,Tt,Fn){this.currentFlow=be,this.iamRoutes=ot,this.pageAlertService=Tt,this.store=Fn}restartCurrentFlow(){const be=this.currentFlow.retrieveType(),ot=this.currentFlow.retrieveId(),Tt=this.currentFlow.retrieveLocation();if(this.pageAlertService.error("error.flow-session-expired"),be===Wt.S.Authentication&&Tt)return this.iamRoutes.auth.application.access.addQueryParameter("Location",(0,I.zp)(Tt)).navigate(),Ge.t;if(be&&ot)switch(be){case Wt.S.Authentication:this.iamRoutes.auth.application.access.append(ot).navigate();break;case Wt.S.Protected:this.iamRoutes.protected.select.flow.append(ot).navigate();break;case Wt.S.PublicSelfService:this.iamRoutes.publicSelfService.select.flow.append(ot).navigate();break;case Wt.S.Registration:this.iamRoutes.userSelfReg.select.flow.append(ot).navigate();break;default:console.error("Unexpected flow type: "+be),this.iamRoutes.error.root.navigate()}else this.iamRoutes.auth.application.access.navigate();return Ge.t}handleSessionTerminated(){return this.pageAlertService.error("error.session-terminated"),this.store.clearAllPreservingLanguage(),this.iamRoutes.auth.application.access.navigate(),Ge.t}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO(wt.E),l.KVO(k.BV),l.KVO(R.D),l.KVO(Dt.u))};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var Pe=f(516);let q=(()=>{class Fe{constructor(be,ot,Tt){this.serverErrorHandler=be,this.deserializationFailureService=ot,this.validations=Tt}intercept(be,ot){return dt.isRestCall(be)?ot.handle(be).pipe((0,mt.W)(Tt=>this.isCsrfBlock(Tt)?this.handleCsrfBlock(be,ot):this.callerHandlesError(be,Tt)?(0,Mt.$)(()=>Tt):503===Tt.status?this.serverErrorHandler.handleNotAvailable():400===Tt.status&&this.hasErrorCode(Tt,"CONCURRENT_ACCESS")&&"true"!==be.params.get("queryOnly")?ot.handle(be).pipe(function Qe(Fe=1/0){let jn;jn=Fe&&"object"==typeof Fe?Fe:{count:Fe};const{count:be=1/0,delay:ot,resetOnSuccess:Tt=!1}=jn;return be<=0?ae.D:(0,$t.N)((Fn,In)=>{let lr,kt=0;const Ue=()=>{let $e=!1;lr=Fn.subscribe((0,Re._)(In,ge=>{Tt&&(kt=0),In.next(ge)},void 0,ge=>{if(kt++<be){const Ne=()=>{lr?(lr.unsubscribe(),lr=null,Ue()):$e=!0};if(null!=ot){const qe="number"==typeof ot?(0,fe.O)(ot):(0,we.Tg)(ot(ge,kt)),Et=(0,Re._)(In,()=>{Et.unsubscribe(),Ne()},()=>{In.complete()});qe.subscribe(Et)}else Ne()}else In.error(ge)})),$e&&(lr.unsubscribe(),lr=null,Ue())};Ue()})}({count:3,delay:(Fn,In)=>(0,fe.O)(100*In)})):Tt.status>=500?"DELETE"===be.method&&501===Tt.status?(0,Ke.of)(new O.cS):be.url.includes("/ui/languages")?(location.reload(),Ge.t):this.hasErrorCode(Tt,"FLOW_SESSION_EXPIRED")?this.deserializationFailureService.restartCurrentFlow():this.hasErrorCode(Tt,"SESSION_TERMINATED")?this.deserializationFailureService.handleSessionTerminated():this.serverErrorHandler.handleServerError(Tt):(0,Mt.$)(()=>Tt))):ot.handle(be)}hasErrorCode(be,ot){return this.validations.getServerValidationErrorsWithCodes(be,[ot]).length>0}callerHandlesError(be,ot){return(be.context.get(ht.L)||[]).includes(ot.status)}isCsrfBlock(be){return 403===be.status&&be.url?.endsWith("/invalid/csrf-token")}handleCsrfBlock(be,ot){return ot.handle(be)}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO(Vt.f),l.KVO(Ee),l.KVO(Pe.R))};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var me=f(980);let Oe=(()=>{class Fe{constructor(be){this.pageBusyIndicator=be}intercept(be,ot){if(!dt.isRestCall(be))return ot.handle(be);const Tt=this.createOperation(be.method,be.url);return this.pageBusyIndicator.startOperation(Tt),ot.handle(be).pipe((0,me.j)(()=>{this.pageBusyIndicator.endOperation(Tt)}))}createOperation(be,ot){return{call:be+" "+ot}}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO((0,l.Rfq)(()=>b.m)))};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var it=f(4720);
1class jt{encodeKey(jn){return encodeURIComponent(jn)}encodeValue(jn){return encodeURIComponent(jn)}decodeKey(jn){return decodeURIComponent(jn)}decodeValue(jn){return decodeURIComponent(jn)}}let wn=(()=>{class Fe{intercept(be,ot){let Tt=new O.Nl({encoder:new jt});be.params.keys().forEach(In=>{(be.params.getAll(In)||[]).forEach(lr=>Tt=Tt.append(In,lr))});const Fn=be.clone({withCredentials:!0,params:Tt});return ot.handle(Fn)}static#e=this.\u0275fac=function(ot){return new(ot||Fe)};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var ct=f(5624);let Ft=(()=>{class Fe{constructor(be){this.injector=be}handleError(be){if(be instanceof O.yz)return;const ot=this.injector.get(ct.I);console.warn("An uncaught error was detected: "+be),ot.showErrorPage(be)}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO(l.zZn))};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})(),Hn=(()=>{class Fe{retrieve(){return null}shouldAttach(){return!1}shouldDetach(){return!1}shouldReuseRoute(){return!1}store(){}static#e=this.\u0275fac=function(ot){return new(ot||Fe)};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})(),yr=(()=>{class Fe{constructor(be){this.currentFlow=be}intercept(be,ot){if(!dt.isRestCall(be)||this.isNoContinueHeaderUrl(be)||!this.currentFlow.hasId())return ot.handle(be);const Tt=be.headers.append("X-Continue-Flow","true"),Fn=be.clone({withCredentials:!0,headers:Tt});return ot.handle(Fn)}isNoContinueHeaderUrl(be){return be.url.indexOf("/public/authentication/applications/")>0||be.url.indexOf("/public/authentication/default-application/access")>0||be.url.indexOf("/public/authentication/location/access")>0||be.url.indexOf("/public/user-self-registration/flows/")>0||be.url.indexOf("/public/user-self-registration/default-flow/select")>0||be.url.indexOf("/protected/self-service/flows/")>0||be.url.indexOf("/public/self-service/flows")>0||be.url.indexOf("/public/self-service/flow/continue")>0}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO(wt.E))};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var br=f(7912);let $r=(()=>{class Fe{http;prefix;suffix;constructor(be,ot="/assets/i18n/",Tt=".json"){this.http=be,this.prefix=ot,this.suffix=Tt}getTranslation(be){return this.http.get(`${this.prefix}${be}${this.suffix}`)}static \u0275fac=function(ot){return new(ot||Fe)(l.KVO(O.Qq),l.KVO(String),l.KVO(String))};static \u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var Gt=f(3597),Ut=f(1397),Qt=f(2652);let Rt=(()=>{class Fe{constructor(be){this.dynamicStepActivationService=be}intercept(be,ot){return be.context.get(Qt.w)?this.handleDynamicStepActivation(be,ot):ot.handle(be)}handleDynamicStepActivation(be,ot){return this.dynamicStepActivationService.handleActivations().pipe((0,Ut.Z)(()=>ot.handle(be)))}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO(Gt.T))};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})(),Tn=(()=>{class Fe{static#e=this.CLIENT_REDIRECT_ERRORS=["OAUTH2_AUTHORIZATION_SERVER_INVALID_AUTHORIZATION_REQUEST","OAUTH2_AUTHORIZATION_SERVER_AUTHORIZATION_FAILED"];constructor(be,ot){this.routes=be,this.validations=ot}intercept(be,ot){return dt.isRestCall(be)?ot.handle(be).pipe((0,mt.W)(Tt=>{const Fn=this.validations.getServerValidationErrorsWithCodes(Tt,Fe.CLIENT_REDIRECT_ERRORS),In=Tt.error?.meta?.clientRedirectUri;return Fn.length>0&&In?(Tt.error?.meta?.formPostParameters?(console.log("Redirecting to OAuth 2.0 client using form post: "+In),this.redirectUsingFormPost(Tt.error?.meta?.formPostParameters,In)):(console.log("Redirecting to OAuth 2.0 client: "+In),this.routes.navigateTo(In)),Ge.t):(0,Mt.$)(()=>Tt)})):ot.handle(be)}redirectUsingFormPost(be,ot){if(!(be instanceof Object)||be instanceof Array)throw new Error('expected "formPostParameters" attribute to contain a JSON object');const Tt=Object.keys(be).map(kt=>({key:kt,value:be[kt]}));this.routes.auth.formPost.navigate({state:{forwardUrl:{url:ot,formPostParameters:Tt}}})}static#t=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO(k.BV),l.KVO(Pe.R))};static#n=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var St=f(9149);let rr=(()=>{class Fe{constructor(be,ot){this.service=be,this.validations=ot}intercept(be,ot){const Tt=this.service.getChallengeResponse();if(Tt){let Fn=be.headers;Fn=Fn.set("X-Captcha-Solution",Tt.response),this.service.clear();const In=be.clone({headers:Fn});return ot.handle(In).pipe((0,mt.W)(kt=>(this.validations.getServerValidationErrorsWithCodes(kt,["CAPTCHA_CHECK_FAILED"]).length>0&&this.service.failed(),(0,Mt.$)(()=>kt))))}return ot.handle(be)}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO(St._),l.KVO(Pe.R))};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();var un=f(8141),Cr=f(7211);let Rn=(()=>{class Fe{constructor(be){this.extensionData=be}intercept(be,ot){return dt.isRestCall(be)?ot.handle(be).pipe((0,un.M)(Tt=>{const Fn=Tt;
1Fn.body?.meta?.uiSettings&&(this.extensionData.clear(),this.extensionData.add(Fn.body.meta.uiSettings.additionalAttributes))}),(0,mt.W)(Tt=>(Tt.error?.meta?.uiSettings&&(this.extensionData.clear(),this.extensionData.add(Tt.error.meta.uiSettings.additionalAttributes)),(0,Mt.$)(()=>Tt)))):ot.handle(be)}static#e=this.\u0275fac=function(ot){return new(ot||Fe)(l.KVO(Cr.E))};static#t=this.\u0275prov=l.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();const hi=Fe=>new $r(Fe,"./assets/airlock/i18n/",".json");let ir=(()=>{class Fe{static#e=this.\u0275fac=function(ot){return new(ot||Fe)};static#t=this.\u0275mod=l.$C({type:Fe,bootstrap:[G]});static#n=this.\u0275inj=l.G2t({providers:[{provide:x.b,useClass:Hn},{provide:$.kB,useFactory:I.RQ},{provide:l.zcH,useClass:Ft},{provide:de.C,useClass:de.C},{provide:O.a7,useClass:br.jS,multi:!0},{provide:O.a7,useClass:q,multi:!0},{provide:O.a7,useClass:Tn,multi:!0},{provide:O.a7,useClass:Rt,multi:!0},{provide:O.a7,useClass:rr,multi:!0},{provide:O.a7,useClass:Pt,multi:!0},{provide:O.a7,useClass:yr,multi:!0},{provide:O.a7,useClass:Oe,multi:!0},{provide:O.a7,useClass:wn,multi:!0},{provide:O.a7,useClass:Rn,multi:!0},Ce,Ae,Ee,(0,O.$R)((0,O.Sx)())],imports:[c.Bb,Se.G.forRoot(),et.R.forRoot(),M.h.forRoot({loader:{provide:M.Wr,useFactory:hi,deps:[O.Qq]}}),je.ErrorModule.forRoot(),it.S.forRoot(),br.Bp,xe,xe.forRoot()]})}return Fe})();c.sG().bootstrapModule(ir).catch(Fe=>console.error(Fe))},3981:(ze,se)=>{"use strict";se.bg=function k(N){var V,G,b=function R(N){var V=N.length;if(V%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var b=N.indexOf("=");return-1===b&&(b=V),[b,b===V?0:4-b%4]}(N),ie=b[0],ye=b[1],ne=new $(function _(N,V,b){return 3*(V+b)/4-b}(0,ie,ye)),z=0,W=ye>0?ie-4:ie;for(G=0;G<W;G+=4)V=l[N.charCodeAt(G)]<<18|l[N.charCodeAt(G+1)]<<12|l[N.charCodeAt(G+2)]<<6|l[N.charCo
1deAt(G+3)],ne[z++]=V>>16&255,ne[z++]=V>>8&255,ne[z++]=255&V;return 2===ye&&(V=l[N.charCodeAt(G)]<<2|l[N.charCodeAt(G+1)]>>4,ne[z++]=255&V),1===ye&&(V=l[N.charCodeAt(G)]<<10|l[N.charCodeAt(G+1)]<<4|l[N.charCodeAt(G+2)]>>2,ne[z++]=V>>8&255,ne[z++]=255&V),ne},se.iI=function Z(N){for(var V,b=N.length,ie=b%3,ye=[],z=0,W=b-ie;z<W;z+=16383)ye.push(P(N,z,z+16383>W?W:z+16383));return 1===ie?ye.push(c[(V=N[b-1])>>2]+c[V<<4&63]+"=="):2===ie&&ye.push(c[(V=(N[b-2]<<8)+N[b-1])>>10]+c[V>>4&63]+c[V<<2&63]+"="),ye.join("")};for(var c=[],l=[],$=typeof Uint8Array<"u"?Uint8Array:Array,M="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",O=0;O<64;++O)c[O]=M[O],l[M.charCodeAt(O)]=O;function I(N){return c[N>>18&63]+c[N>>12&63]+c[N>>6&63]+c[63&N]}function P(N,V,b){for(var ye=[],ne=V;ne<b;ne+=3)ye.push(I((N[ne]<<16&16711680)+(N[ne+1]<<8&65280)+(255&N[ne+2])));return ye.join("")}l[45]=62,l[95]=63},8544:ze=>{ze.exports=function l($,M,O){function x(_,k){if(!M[_]){if(!$[_]){if(R)return R(_,!0);var P=new Error("Cannot find module '"+_+"'");throw P.code="MODULE_NOT_FOUND",P}var Z=M[_]={exports:{}};$[_][0].call(Z.exports,function(N){return x($[_][1][N]||N)},Z,Z.exports,l,$,M,O)}return M[_].exports}for(var R=void 0,T=0;T<O.length;T++)x(O[T]);return x}({"./aesprim":[function(l,$,M){!function(O,x){"use strict";x(typeof M<"u"?M:O.esprima={})}(this,function(O){"use strict";var x,R,T,_,k,I,P,Z,N,V,b,ie,ye,ne,z,W,G,Y;function Ce(y,j){if(!y)throw new Error("ASSERT: "+j)}function de(y){return y>=48&&y<=57}function Ae(y){return"0123456789abcdefABCDEF".indexOf(y)>=0}function Ye(y){return"01234567".indexOf(y)>=0}function xe(y){return 32===y||9===y||11===y||12===y||160===y||y>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(y)>=0}function Se(y){return 10===y||13===y||8232===y||8233===y}function je(y){return 64==y||36===y||95===y||y>=65&&y<=90||y>=97&&y<=122||92===y||y>=128&&P.NonAsciiIdentifierStart.test(String.fromCharCode(y))}function et(y){return 36===y||95===y||y>=65&&y<=90||y>=97&&y<=122||y>=48&&y<=57||92===y||y>=128&&P.NonAsciiIdentifierPart.test(String.fromCharCode(y))}function Dt(y){switch(y){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function dt(y){return"eval"===y||"arguments"===y}function Pt(y){if(V&&Dt(y))return!0;switch(y.length){case 2:return"if"===y||"in"===y||"do"===y;case 3:return"var"===y||"for"===y||"new"===y||"try"===y||"let"===y;case 4:return"this"===y||"else"===y||"case"===y||"void"===y||"with"===y||"enum"===y;case 5:return"while"===y||"break"===y||"catch"===y||"throw"===y||"const"===y||"yield"===y||"class"===y||"super"===y;case 6:return"return"===y||"typeof"===y||"delete"===y||"switch"===y||"export"===y||"import"===y;case 7:return"default"===y||"finally"===y||"extends"===y;case 8:return"function"===y||"continue"===y||"debugger"===y;case 10:return"instanceof"===y;default:return!1}}function Mt(y,j,le,Te,He){var _t;Ce("number"==typeof le,"Comment must have valid position"),!(G.lastCommentStart>=le)&&(G.lastCommentStart=le,_t={type:y,value:j},Y.range&&(_t.range=[le,Te]),Y.loc&&(_t.loc=He),Y.comments.push(_t),Y.attachComment&&(Y.leadingComments.push(_t),Y.trailingComments.push(_t)))}function $t(y){var j,le,Te,He;for(j=b-y,le={start:{line:ie,column:b-ye-y}};b<ne;)if(Te=N.charCodeAt(b),++b,Se(Te))return Y.comments&&(He=N.slice(j+y,b-1),le.end={line:ie,column:b-ye-1},Mt("Line",He,j,b-1,le)),13===Te&&10===N.charCodeAt(b)&&++b,++ie,void(ye=b);Y.comments&&(He=N.slice(j+y,b),le.end={line:ie,column:b-ye},Mt("Line",He,j,b,le))}function Re(){var y,j,le,Te;for(Y.comments&&(y=b-2,j={start:{line:ie,column:b-ye-2}});b<ne;)if(Se(le=N.charCodeAt(b)))13===le&&10===N.charCodeAt(b+1)&&++b,++ie,++b,ye=b,b>=ne&&Gt({},I.UnexpectedToken,"ILLEGAL");else if(42===le){if(47===N.charCodeAt(b+1))return++b,++b,void(Y.comments&&(Te=N.slice(y+2,b-2),j.end={line:ie,column:b-ye},Mt("Block",Te,y,b,j)));++b}else++b;Gt({},I.UnexpectedToken,"ILLEGAL")}function ae(){var y,j;for(j=0===b;b<ne;)if(xe(y=N.charCodeAt(b)))++b;else if(Se(y))++b,13===y&&10===N.charCodeAt(b)&&++b,++ie,ye=b,j=!0;else if(47===y)if(47===(y=N.charCodeAt(b+1)))++b,++b,$t(2),j=!0;else{if(42!==y)break;++b,++b,Re()}else if(j&&45===y){if(45!==N.charCodeAt(b+1)||62!==N.charCodeAt(b+2))break;b+=3,$t(3)}else{if(60!==y)break;if("!--"!==N.slice(b+1,b+4))break;++b,++b,++b,++b,$t(4)}}function fe(y){var j,le,Te,He=0;for(le="u"===y?4:2,j=0;j<le;++j){if(!(b<ne&&Ae(N[b])))return"";Te=N[b++],He=16*He+"0123456789abcdef".indexOf(Te.toLowerCase())}return String.fromCharCode(He)}function we(){var y,j;
1for(y=N.charCodeAt(b++),j=String.fromCharCode(y),92===y&&(117!==N.charCodeAt(b)&&Gt({},I.UnexpectedToken,"ILLEGAL"),++b,(!(y=fe("u"))||"\\"===y||!je(y.charCodeAt(0)))&&Gt({},I.UnexpectedToken,"ILLEGAL"),j=y);b<ne&&et(y=N.charCodeAt(b));)++b,j+=String.fromCharCode(y),92===y&&(j=j.substr(0,j.length-1),117!==N.charCodeAt(b)&&Gt({},I.UnexpectedToken,"ILLEGAL"),++b,(!(y=fe("u"))||"\\"===y||!et(y.charCodeAt(0)))&&Gt({},I.UnexpectedToken,"ILLEGAL"),j+=y);return j}function Qe(){var y,j;for(y=b++;b<ne;){if(92===(j=N.charCodeAt(b)))return b=y,we();if(!et(j))break;++b}return N.slice(y,b)}function Ge(){var le,He,_t,Xt,y=b,j=N.charCodeAt(b),Te=N[b];switch(j){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++b,Y.tokenize&&(40===j?Y.openParenToken=Y.tokens.length:123===j&&(Y.openCurlyToken=Y.tokens.length)),{type:x.Punctuator,value:String.fromCharCode(j),lineNumber:ie,lineStart:ye,start:y,end:b};default:if(61===(le=N.charCodeAt(b+1)))switch(j){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return b+=2,{type:x.Punctuator,value:String.fromCharCode(j)+String.fromCharCode(le),lineNumber:ie,lineStart:ye,start:y,end:b};case 33:case 61:return 61===N.charCodeAt(b+=2)&&++b,{type:x.Punctuator,value:N.slice(y,b),lineNumber:ie,lineStart:ye,start:y,end:b}}}return">>>="===(Xt=N.substr(b,4))?{type:x.Punctuator,value:Xt,lineNumber:ie,lineStart:ye,start:y,end:b+=4}:">>>"===(_t=Xt.substr(0,3))||"<<="===_t||">>="===_t?{type:x.Punctuator,value:_t,lineNumber:ie,lineStart:ye,start:y,end:b+=3}:Te===(He=_t.substr(0,2))[1]&&"+-<>&|".indexOf(Te)>=0||"=>"===He?{type:x.Punctuator,value:He,lineNumber:ie,lineStart:ye,start:y,end:b+=2}:"<>=!+-*%&|^/".indexOf(Te)>=0?(++b,{type:x.Punctuator,value:Te,lineNumber:ie,lineStart:ye,start:y,end:b}):void Gt({},I.UnexpectedToken,"ILLEGAL")}function wt(){var y,j,le;if(Ce(de((le=N[b]).charCodeAt(0))||"."===le,"Numeric literal must start with a decimal digit or a decimal point"),j=b,y="","."!==le){if(y=N[b++],le=N[b],"0"===y){if("x"===le||"X"===le)return++b,function mt(y){for(var j="";b<ne&&Ae(N[b]);)j+=N[b++];return 0===j.length&&Gt({},I.UnexpectedToken,"ILLEGAL"),je(N.charCodeAt(b))&&Gt({},I.UnexpectedToken,"ILLEGAL"),{type:x.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:ie,lineStart:ye,start:y,end:b}}(j);if(Ye(le))return function Vt(y){for(var j="0"+N[b++];b<ne&&Ye(N[b]);)j+=N[b++];return(je(N.charCodeAt(b))||de(N.charCodeAt(b)))&&Gt({},I.UnexpectedToken,"ILLEGAL"),{type:x.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:ie,lineStart:ye,start:y,end:b}}(j);le&&de(le.charCodeAt(0))&&Gt({},I.UnexpectedToken,"ILLEGAL")}for(;de(N.charCodeAt(b));)y+=N[b++];le=N[b]}if("."===le){for(y+=N[b++];de(N.charCodeAt(b));)y+=N[b++];le=N[b]}if("e"===le||"E"===le)if(y+=N[b++],("+"===(le=N[b])||"-"===le)&&(y+=N[b++]),de(N.charCodeAt(b)))for(;de(N.charCodeAt(b));)y+=N[b++];else Gt({},I.UnexpectedToken,"ILLEGAL");return je(N.charCodeAt(b))&&Gt({},I.UnexpectedToken,"ILLEGAL"),{type:x.NumericLiteral,value:parseFloat(y),lineNumber:ie,lineStart:ye,start:j,end:b}}function me(){var y,j,le,He;return W=null,ae(),y=b,j=function Pe(){var y,j,le,Te;for(Ce("/"===(y=N[b]),"Regular expression literal must start with a slash"),j=N[b++],le=!1,Te=!1;b<ne;
1)if(j+=y=N[b++],"\\"===y)Se((y=N[b++]).charCodeAt(0))&&Gt({},I.UnterminatedRegExp),j+=y;else if(Se(y.charCodeAt(0)))Gt({},I.UnterminatedRegExp);else if(le)"]"===y&&(le=!1);else{if("/"===y){Te=!0;break}"["===y&&(le=!0)}return Te||Gt({},I.UnterminatedRegExp),{value:j.substr(1,j.length-2),literal:j}}(),le=function q(){var y,j,le,Te;for(j="",le="";b<ne&&et((y=N[b]).charCodeAt(0));)if(++b,"\\"===y&&b<ne)if("u"===(y=N[b])){if(Te=++b,y=fe("u"))for(le+=y,j+="\\u";Te<b;++Te)j+=N[Te];else b=Te,le+="u",j+="\\u";Ut({},I.UnexpectedToken,"ILLEGAL")}else j+="\\",Ut({},I.UnexpectedToken,"ILLEGAL");else le+=y,j+=y;return{value:le,literal:j}}(),He=function Ee(y,j){var le;try{le=new RegExp(y,j)}catch{Gt({},I.InvalidRegExp)}return le}(j.value,le.value),Y.tokenize?{type:x.RegularExpression,value:He,lineNumber:ie,lineStart:ye,start:y,end:b}:{literal:j.literal+le.literal,value:He,start:y,end:b}}function Oe(){var y,j,le,Te;return ae(),y=b,j={start:{line:ie,column:b-ye}},le=me(),j.end={line:ie,column:b-ye},Y.tokenize||(Y.tokens.length>0&&(Te=Y.tokens[Y.tokens.length-1]).range[0]===y&&"Punctuator"===Te.type&&("/"===Te.value||"/="===Te.value)&&Y.tokens.pop(),Y.tokens.push({type:"RegularExpression",value:le.literal,range:[y,b],loc:j})),le}function wn(){var y;return ae(),b>=ne?{type:x.EOF,lineNumber:ie,lineStart:ye,start:b,end:b}:je(y=N.charCodeAt(b))?function Ke(){var y,j;return y=b,{type:1===(j=92===N.charCodeAt(b)?we():Qe()).length?x.Identifier:Pt(j)?x.Keyword:"null"===j?x.NullLiteral:"true"===j||"false"===j?x.BooleanLiteral:x.Identifier,value:j,lineNumber:ie,lineStart:ye,start:y,end:b}}():40===y||41===y||59===y?Ge():39===y||34===y?function Wt(){var j,le,Te,He,_t,Xt,Lt,Nn,y="",vt=!1;for(Lt=ie,Nn=ye,Ce("'"===(j=N[b])||'"'===j,"String literal must starts with a quote"),le=b,++b;b<ne;){if((Te=N[b++])===j){j="";break}if("\\"===Te)if((Te=N[b++])&&Se(Te.charCodeAt(0)))++ie,"\r"===Te&&"\n"===N[b]&&++b,ye=b;else switch(Te){case"u":case"x":Xt=b,(_t=fe(Te))?y+=_t:(b=Xt,y+=Te);break;case"n":y+="\n";break;case"r":y+="\r";break;case"t":y+="\t";break;case"b":y+="\b";break;case"f":y+="\f";break;case"v":y+="\v";break;default:Ye(Te)?(0!==(He="01234567".indexOf(Te))&&(vt=!0),b<ne&&Ye(N[b])&&(vt=!0,He=8*He+"01234567".indexOf(N[b++]),"0123".indexOf(Te)>=0&&b<ne&&Ye(N[b])&&(He=8*He+"01234567".indexOf(N[b++]))),y+=String.fromCharCode(He)):y+=Te}else{if(Se(Te.charCodeAt(0)))break;y+=Te}}return""!==j&&Gt({},I.UnexpectedToken,"ILLEGAL"),{type:x.StringLiteral,value:y,octal:vt,startLineNumber:Lt,startLineStart:Nn,lineNumber:ie,lineStart:ye,start:le,end:b}}():46===y?de(N.charCodeAt(b+1))?wt():Ge():de(y)?wt():Y.tokenize&&47===y?function jt(){var y,j;if(!(y=Y.tokens[Y.tokens.length-1]))return Oe();if("Punctuator"===y.type){if("]"===y.value)return Ge();if(")"===y.value)return!(j=Y.tokens[Y.openParenToken-1])||"Keyword"!==j.type||"if"!==j.value&&"while"!==j.value&&"for"!==j.value&&"with"!==j.value?Ge():Oe();if("}"===y.value){if(Y.tokens[Y.openCurlyToken-3]&&"Keyword"===Y.tokens[Y.openCurlyToken-3].type){if(!(j=Y.tokens[Y.openCurlyToken-4]))return Ge()}else{if(!Y.tokens[Y.openCurlyToken-4]||"Keyword"!==Y.tokens[Y.openCurlyToken-4].type)return Ge();if(!(j=Y.tokens[Y.openCurlyToken-5]))return Oe()}return T.indexOf(j.value)>=0?Ge():Oe()}return Oe()}return"Keyword"===y.type?Oe():Ge()}():Ge()}function ct(){var y,j,Te;return ae(),y={start:{line:ie,column:b-ye}},j=wn(),y.end={line:ie,column:b-ye},j.type!==x.EOF&&(Te=N.slice(j.start,j.end),Y.tokens.push({type:R[j.type],value:Te,range:[j.start,j.end],loc:y})),j}function Ft(){var y;return b=(y=W).end,ie=y.lineNumber,ye=y.lineStart,W=typeof Y.tokens<"u"?ct():wn(),b=y.end,ie=y.lineNumber,ye=y.lineStart,y}function Hn(){var y,j,le;y=b,j=ie,le=ye,W=typeof Y.tokens<"u"?ct():wn(),b=y,ie=j,ye=le}function yr(y,j){this.line=y,this.column=j}function br(y,j,le,Te){this.start=new yr(y,j),this.end=new yr(le,Te)}function $r(){var y,j,le,Te;return y=b,j=ie,le=ye,ae(),Te=ie!==j,b=y,ie=j,ye=le,Te}function Gt(y,j){var le,Te=Array.prototype.slice.call(arguments,2),He=j.replace(/%(\d)/g,function(_t,Xt){return Ce(Xt<Te.length,"Message reference must be in range"),Te[Xt]});throw"number"==typeof y.lineNumber?((le=new Error("Line "+y.lineNumber+": "+He)).index=y.start,le.lineNumber=y.lineNumber,le.column=y.start-ye+1):((le=new Error("Line "+ie+": "+He)).index=b,le.lineNumber=ie,le.column=b-ye+1),le.description=
1He,le}function Ut(){try{Gt.apply(null,arguments)}catch(y){if(!Y.errors)throw y;Y.errors.push(y)}}function Qt(y){if(y.type===x.EOF&&Gt(y,I.UnexpectedEOS),y.type===x.NumericLiteral&&Gt(y,I.UnexpectedNumber),y.type===x.StringLiteral&&Gt(y,I.UnexpectedString),y.type===x.Identifier&&Gt(y,I.UnexpectedIdentifier),y.type===x.Keyword){if(function ht(y){switch(y){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}(y.value))Gt(y,I.UnexpectedReserved);else if(V&&Dt(y.value))return void Ut(y,I.StrictReservedWord);Gt(y,I.UnexpectedToken,y.value)}Gt(y,I.UnexpectedToken,y.value)}function Rt(y){var j=Ft();(j.type!==x.Punctuator||j.value!==y)&&Qt(j)}function Tn(y){var j=Ft();(j.type!==x.Keyword||j.value!==y)&&Qt(j)}function St(y){return W.type===x.Punctuator&&W.value===y}function rr(y){return W.type===x.Keyword&&W.value===y}function Cr(){var y;59===N.charCodeAt(b)||St(";")?Ft():(y=ie,ae(),ie===y&&W.type!==x.EOF&&!St("}")&&Qt(W))}function Rn(y){return y.type===_.Identifier||y.type===_.Member
1Expression}function ir(y,j){var le,Te,He;return le=V,He=W,Te=wr(),j&&V&&dt(y[0].name)&&Ut(j,I.StrictParamName),V=le,z.markEnd(z.createFunctionExpression(null,y,[],Te),He)}function Fe(){var y,j;return j=W,(y=Ft()).type===x.StringLiteral||y.type===x.NumericLiteral?(V&&y.octal&&Ut(y,I.StrictOctalLiteral),z.markEnd(z.createLiteral(y),j)):z.markEnd(z.createIdentifier(y.value),j)}function jn(){var y,j,le,Te,He,_t;return _t=W,(y=W).type===x.Identifier?(le=Fe(),"get"!==y.value||St(":")?"set"!==y.value||St(":")?(Rt(":"),Te=An(),z.markEnd(z.createProperty("init",le,Te),_t)):(j=Fe(),Rt("("),(y=W).type!==x.Identifier?(Rt(")"),Ut(y,I.UnexpectedToken,y.value),Te=ir([])):(He=[Er()],Rt(")"),Te=ir(He,y)),z.markEnd(z.createProperty("set",j,Te),_t)):(j=Fe(),Rt("("),Rt(")"),Te=ir([]),z.markEnd(z.createProperty("get",j,Te),_t))):y.type!==x.EOF&&y.type!==x.Punctuator?(j=Fe(),Rt(":"),Te=An(),z.markEnd(z.createProperty("init",j,Te),_t)):void Qt(y)}function Tt(){var y,j,le,Te;if(St("("))return function ot(){var y;return Rt("("),y=dn(),Rt(")"),y}();if(St("["))return function hi(){var j,y=[];for(j=W,Rt("[");!St("]");)St(",")?(Ft(),y.push(null)):(y.push(An()),St("]")||Rt(","));return Ft(),z.markEnd(z.createArrayExpression(y),j)}();if(St("{"))return function be(){var j,le,Te,He,vt,y=[],_t={},Xt=String;for(vt=W,Rt("{");!St("}");)le=(j=jn()).key.type===_.Identifier?j.key.name:Xt(j.key.value),He="init"===j.kind?k.Data:"get"===j.kind?k.Get:k.Set,Te="$"+le,Object.prototype.hasOwnProperty.call(_t,Te)?(_t[Te]===k.Data?V&&He===k.Data?Ut({},I.StrictDuplicateProperty):He!==k.Data&&Ut({},I.AccessorDataProperty):He===k.Data?Ut({},I.AccessorDataProperty):_t[Te]&He&&Ut({},I.AccessorGetSet),_t[Te]|=He):_t[Te]=He,y.push(j),St("}")||Rt(",");return Rt("}"),z.markEnd(z.createObjectExpression(y),vt)}();if(Te=W,(y=W.type)===x.Identifier)le=z.createIdentifier(Ft().value);else if(y===x.StringLiteral||y===x.NumericLiteral)V&&W.octal&&Ut(W,I.StrictOctalLiteral),le=z.createLiteral(Ft());else if(y===x.Keyword){if(rr("function"))return function pe(){var y,le,Te,He,_t,vt,Lt,Nn,j=null,Xt=[];return Nn=W,Tn("function"),St("(")||(y=W,j=Er(),V?dt(y.value)&&Ut(y,I.StrictFunctionName):dt(y.value)?(Te=y,He=I.StrictFunctionName):Dt(y.value)&&(Te=y,He=I.StrictReservedWord)),Xt=(_t=pi(Te)).params,le=_t.stricted,Te=_t.firstRestricted,_t.message&&(He=_t.message),Lt=V,vt=wr(),V&&Te&&Gt(Te,He),V&&le&&Ut(le,He),V=Lt,z.markEnd(z.createFunctionExpression(j,Xt,[],vt),Nn)}();rr("this")?(Ft(),le=z.createThisExpression()):Qt(Ft())}else y===x.BooleanLiteral?((j=Ft()).value="true"===j.value,le=z.createLiteral(j)):y===x.NullLiteral?((j=Ft()).value=null,le=z.createLiteral(j)):St("/")||St("/=")?(le=z.createLiteral(typeof Y.tokens<"u"?Oe():me()),Hn()):Qt(Ft());return z.markEnd(le,Te)}function Fn(){var y=[];if(Rt("("),!St(")"))for(;b<ne&&(y.push(An()),!St(")"));)Rt(",");return Rt(")"),y}function In(){var y,j;return j=W,function it(y){return y.type===x.Identifier||y.type===x.Keyword||y.type===x.BooleanLiteral||y.type===x.NullLiteral}(y=Ft())||Qt(y),z.markEnd(z.createIdentifier(y.value),j)}function kt(){return Rt("."),In()}function lr(){var y;return Rt("["),y=dn(),Rt("]"),y}function Ue(){var y,j,le;return le=W,Tn("new"),y=function ge(){var y,j,le,Te;for(Te=W,y=G.allowIn,j=rr("new")?Ue():Tt(),G.allowIn=y;St(".")||St("[");)St("[")?(le=lr(),j=z.createMemberExpression("[",j,le)):(le=kt(),j=z.createMemberExpression(".",j,le)),z.markEnd(j,Te);return j}(),j=St("(")?Fn():[],z.markEnd(z.createNewExpression(y,j),le)}function Ne(){var y,j,le=W;return y=function $e(){var y,j,le,Te,He;for(He=W,y=G.allowIn,G.allowIn=!0,j=rr("new")?Ue():Tt(),G.allowIn=y;;){if(St("."))Te=kt(),j=z.createMemberExpression(".",j,Te);else if(St("("))le=Fn(),j=z.createCallExpression(j,le);else{if(!St("["))break;Te=lr(),j=z.createMemberExpression("[",j,Te)}z.markEnd(j,He)}return j}(),W.type===x.Punctuator&&(St("++")||St("--"))&&!$r()&&(V&&y.type===_.Identifier&&dt(y.name)&&Ut({},I.StrictLHSPostfix),Rn(y)||Ut({},I.InvalidLHSInAssignment),j=Ft(),y=z.markEnd(z.createPostfixExpression(j.value,y),le)),y}function qe(){var y,j,le;return W.type!==x.Punctuator&&W.type!==x.Keyword?j=Ne():St("++")||St("--")?(le=W,y=Ft(),j=qe(),V&&j.type===_.Identifier&&dt(j.name)&&Ut({},I.StrictLHSPrefix),Rn(j)||Ut({}
1,I.InvalidLHSInAssignment),j=z.createUnaryExpression(y.value,j),j=z.markEnd(j,le)):St("+")||St("-")||St("~")||St("!")?(le=W,y=Ft(),j=qe(),j=z.createUnaryExpression(y.value,j),j=z.markEnd(j,le)):rr("delete")||rr("void")||rr("typeof")?(le=W,y=Ft(),j=qe(),j=z.createUnaryExpression(y.value,j),j=z.markEnd(j,le),V&&"delete"===j.operator&&j.argument.type===_.Identifier&&Ut({},I.StrictDelete)):j=Ne(),j}function Et(y,j){var le=0;if(y.type!==x.Punctuator&&y.type!==x.Keyword)return 0;switch(y.value){case"||":le=1;break;case"&&":le=2;break;case"|":le=3;break;case"^":le=4;break;case"&":le=5;break;case"==":case"!=":case"===":case"!==":le=6;break;case"<":case">":case"<=":case">=":case"instanceof":le=7;break;case"in":le=j?7:0;break;case"<<":case">>":case">>>":le=8;break;case"+":case"-":le=9;break;case"*":case"/":case"%":le=11}return le}function xn(){var y,j,le,Te,He;return He=W,y=function cn(){var y,j,le,Te,He,_t,Xt,vt,Lt,Nn;if(y=W,Lt=qe(),0===(He=Et(Te=W,G.allowIn)))return Lt;for(Te.prec=He,Ft(),j=[y,W],_t=[Lt,Te,Xt=qe()];(He=Et(W,G.allowIn))>0;){for(;_t.length>2&&He<=_t[_t.length-2].prec;)Xt=_t.pop(),vt=_t.pop().value,Lt=_t.pop(),le=z.createBinaryExpression(vt,Lt,Xt),j.pop(),z.markEnd(le,y=j[j.length-1]),_t.push(le);(Te=Ft()).prec=He,_t.push(Te),j.push(W),le=qe(),_t.push(le)}for(le=_t[Nn=_t.length-1],j.pop();Nn>1;)le=z.createBinaryExpression(_t[Nn-1].value,_t[Nn-2],le),Nn-=2,y=j.pop(),z.markEnd(le,y);return le}(),St("?")&&(Ft(),j=G.allowIn,G.allowIn=!0,le=An(),G.allowIn=j,Rt(":"),Te=An(),y=z.createConditionalExpression(y,le,Te),z.markEnd(y,He)),y}function An(){var y,j,le,Te,He;return y=W,He=W,Te=j=xn(),function un(){var y;return W.type===x.Punctuator&&("="===(y=W.value)||"*="===y||"/="===y||"%="===y||"+="===y||"-="===y||"<<="===y||">>="===y||">>>="===y||"&="===y||"^="===y||"|="===y)}()&&(Rn(j)||Ut({},I.InvalidLHSInAssignment),V&&j.type===_.Identifier&&dt(j.name)&&Ut(y,I.StrictLHSAssignment),y=Ft(),le=An(),Te=z.markEnd(z.createAssignmentExpression(y.value,j,le),He)),Te}function dn(){var y,j=W;if(y=An(),St(",")){for(y=z.createSequenceExpression([y]);b<ne&&St(",");)Ft(),y.expressions.push(An());z.markEnd(y,j)}return y}function Zr(){var y,j;return j=W,Rt("{"),y=function Rr(){for(var j,y=[];b<ne&&!(St("}")||(j=ve(),typeof j>"u"));)y.push(j);return y}(),Rt("}"),z.markEnd(z.createBlockStatement(y),j)}function Er(){var y,j;return j=W,(y=Ft()).type!==x.Identifier&&Qt(y),z.markEnd(z.createIdentifier(y.value),j)}function cr(y){var le,Te,j=null;return Te=W,le=Er(),V&&dt(le.name)&&Ut({},I.StrictVarName),"const"===y?(Rt("="),j=An()):St("=")&&(Ft(),j=An()),z.markEnd(z.createVariableDeclarator(le,j),Te)}function Kt(y){var j=[];do{if(j.push(cr(y)),!St(","))break;Ft()}while(b<ne);return j}function Yr(){var y,j,le,Te,He,_t,Xt;return y=j=le=null,Tn("for"),Rt("("),St(";")?Ft():(rr("var")||rr("let")?(G.allowIn=!1,y=function Qr(){var y,j,le;return le=W,y=Ft(),j=Kt(),z.markEnd(z.createVariableDeclaration(j,y.value),le)}(),G.allowIn=!0,1===y.declarations.length&&rr("in")&&(Ft(),Te=y,He=dn(),y=null)):(G.allowIn=!1,y=dn(),G.allowIn=!0,rr("in")&&(Rn(y)||Ut({},I.InvalidLHSInForIn),Ft(),Te=y,He=dn(),y=null)),typeof Te>"u"&&Rt(";")),typeof Te>"u"&&(St(";")||(j=dn()),Rt(";"),St(")")||(le=dn())),Rt(")"),Xt=G.inIteration,G.inIteration=!0,_t=nn(),G.inIteration=Xt,typeof Te>"u"?z.createForStatement(y,j,le,_t):z.createForInStatement(Te,He,_t)}function wi(){var y,le,Te,j=[];for(Te=W,rr("default")?(Ft(),y=null):(Tn("case"),y=dn()),Rt(":");b<ne&&!(St("}")||rr("default")||rr("case"));)le=nn(),j.push(le);return z.markEnd(z.createSwitchCase(y,j),Te)}function zt(){var y,j=[],le=null;return Tn("try"),y=Zr(),rr("catch")&&j.push(function Xo(){var y,j,le;return le=W,Tn("catch"),Rt("("),St(")")&&Qt(W),y=Er(),V&&dt(y.name)&&Ut({},I.StrictCatchVariable),Rt(")"),j=Zr(),z.markEnd(z.createCatchClause(y,j),le)}()),rr("finally")&&(Ft(),le=Zr()),0===j.length&&!le&&Gt({},I.NoCatchOrFinally),z.createTryStatement(y,[],j,le)}function nn(){var j,le,Te,He,y=W.type;if(y===x.EOF&&Qt(W),y===x.Punctuator&&"{"===W.value)return Zr();if(He=W,y===x.Punctuator)switch(W.value){case";":return z.markEnd(function Fi(){return Rt(";
1"),z.createEmptyStatement()}(),He);case"(":return z.markEnd(function Li(){var y=dn();return Cr(),z.createExpressionStatement(y)}(),He)}if(y===x.Keyword)switch(W.value){case"break":return z.markEnd(function Yi(){var y=null;return Tn("break"),59===N.charCodeAt(b)?(Ft(),G.inIteration||G.inSwitch||Gt({},I.IllegalBreak),z.createBreakStatement(null)):$r()?(G.inIteration||G.inSwitch||Gt({},I.IllegalBreak),z.createBreakStatement(null)):(W.type===x.Identifier&&(y=Er(),Object.prototype.hasOwnProperty.call(G.labelSet,"$"+y.name)||Gt({},I.UnknownLabel,y.name)),Cr(),null===y&&!(G.inIteration||G.inSwitch)&&Gt({},I.IllegalBreak),z.createBreakStatement(y))}(),He);case"continue":return z.markEnd(function Ds(){var y=null;return Tn("continue"),59===N.charCodeAt(b)?(Ft(),G.inIteration||Gt({},I.IllegalContinue),z.createContinueStatement(null)):$r()?(G.inIteration||Gt({},I.IllegalContinue),z.createContinueStatement(null)):(W.type===x.Identifier&&(y=Er(),Object.prototype.hasOwnProperty.call(G.labelSet,"$"+y.name)||Gt({},I.UnknownLabel,y.name)),Cr(),null===y&&!G.inIteration&&Gt({},I.IllegalContinue),z.createContinueStatement(y))}(),He);case"debugger":return z.markEnd(function ki(){return Tn("debugger"),Cr(),z.createDebuggerStatement()}(),He);case"do":return z.markEnd(function Dn(){var y,j,le;return Tn("do"),le=G.inIteration,G.inIteration=!0,y=nn(),G.inIteration=le,Tn("while"),Rt("("),j=dn(),Rt(")"),St(";")&&Ft(),z.createDoWhileStatement(y,j)}(),He);case"for":return z.markEnd(Yr(),He);case"function":return z.markEnd(re(),He);case"if":return z.markEnd(function po(){var y,j,le;return Tn("if"),Rt("("),y=dn(),Rt(")"),j=nn(),rr("else")?(Ft(),le=nn()):le=null,z.createIfStatement(y,j,le)}(),He);case"return":return z.markEnd(function Ji(){var y=null;return Tn("return"),G.inFunctionBody||Ut({},I.IllegalReturn),32===N.charCodeAt(b)&&je(N.charCodeAt(b+1))?(y=dn(),Cr(),z.createReturnStatement
1(y)):$r()?z.createReturnStatement(null):(St(";")||!St("}")&&W.type!==x.EOF&&(y=dn()),Cr(),z.createReturnStatement(y))}(),He);case"switch":return z.markEnd(function qi(){var y,j,le,Te,He;if(Tn("switch"),Rt("("),y=dn(),Rt(")"),Rt("{"),j=[],St("}"))return Ft(),z.createSwitchStatement(y,j);for(Te=G.inSwitch,G.inSwitch=!0,He=!1;b<ne&&!St("}");)null===(le=wi()).test&&(He&&Gt({},I.MultipleDefaultsInSwitch),He=!0),j.push(le);return G.inSwitch=Te,Rt("}"),z.createSwitchStatement(y,j)}(),He);case"throw":return z.markEnd(function xo(){var y;return Tn("throw"),$r()&&Gt({},I.NewlineAfterThrow),y=dn(),Cr(),z.createThrowStatement(y)}(),He);case"try":return z.markEnd(zt(),He);case"var":return z.markEnd(function Zi(){var y;return Tn("var"),y=Kt(),Cr(),z.createVariableDeclaration(y,"var")}(),He);case"while":return z.markEnd(function Qi(){var y,j,le;return Tn("while"),Rt("("),y=dn(),Rt(")"),le=G.inIteration,G.inIteration=!0,j=nn(),G.inIteration=le,z.createWhileStatement(y,j)}(),He);case"with":return z.markEnd(function Jr(){var y,j;return V&&(ae(),Ut({},I.StrictModeWith)),Tn("with"),Rt("("),y=dn(),Rt(")"),j=nn(),z.createWithStatement(y,j)}(),He)}return(j=dn()).type===_.Identifier&&St(":")?(Ft(),Te="$"+j.name,Object.prototype.hasOwnProperty.call(G.labelSet,Te)&&Gt({},I.Redeclaration,"Label",j.name),G.labelSet[Te]=!0,le=nn(),delete G.labelSet[Te],z.markEnd(z.createLabeledStatement(j,le),He)):(Cr(),z.markEnd(z.createExpressionStatement(j),He))}function wr(){var y,le,He,_t,Xt,vt,Lt,Nn,j=[];for(Nn=W,Rt("{");b<ne&&W.type===x.StringLiteral&&(le=W,y=ve(),j.push(y),y.expression.type===_.Literal);)"use strict"===N.slice(le.start+1,le.end-1)?(V=!0,He&&Ut(He,I.StrictOctalLiteral)):!He&&le.octal&&(He=le);for(_t=G.labelSet,Xt=G.inIteration,vt=G.inSwitch,Lt=G.inFunctionBody,G.labelSet={},G.inIteration=!1,G.inSwitch=!1,G.inFunctionBody=!0;b<ne&&!(St("}")||(y=ve(),typeof y>"u"));)j.push(y);return Rt("}"),G.labelSet=_t,G.inIteration=Xt,G.inSwitch=vt,G.inFunctionBody=Lt,z.markEnd(z.createBlockStatement(j),Nn)}function pi(y){var j,Te,He,_t,Xt,vt,le=[];if(Rt("("),!St(")"))for(_t={};b<ne&&(Te=W,j=Er(),Xt="$"+Te.value,V?(dt(Te.value)&&(He=Te,vt=I.StrictParamName),Object.prototype.hasOwnProperty.call(_t,Xt)&&(He=Te,vt=I.StrictParamDupe)):y||(dt(Te.value)?(y=Te,vt=I.StrictParamName):Dt(Te.value)?(y=Te,vt=I.StrictReservedWord):Object.prototype.hasOwnProperty.call(_t,Xt)&&(y=Te,vt=I.StrictParamDupe)),le.push(j),_t[Xt]=!0,!St(")"));)Rt(",");return Rt(")"),{params:le,stricted:He,firstRestricted:y,message:vt}}function re(){var y,le,Te,He,_t,Xt,vt,Lt,Nn,j;return Nn=W,Tn("function"),Te=W,y=Er(),V?dt(Te.value)&&Ut(Te,I.StrictFunctionName):dt(Te.value)?(Xt=Te,vt=I.StrictFunctionName):Dt(Te.value)&&(Xt=Te,vt=I.StrictReservedWord),j=(_t=pi(Xt)).params,He=_t.stricted,Xt=_t.firstRestricted,_t.message&&(vt=_t.message),Lt=V,le=wr(),V&&Xt&&Gt(Xt,vt),V&&He&&Ut(He,vt),V=Lt,z.markEnd(z.createFunctionDeclaration(y,j,[],le),Nn)}function ve(){if(W.type===x.Keyword)switch(W.value){case"const":case"let":return function Ci(y){var j,le;return le=W,Tn(y),j=Kt(y),Cr(),z.markEnd(z.createVariableDeclaration(j,y),le)}(W.value);case"function":return re();default:return nn()}if(W.type!==x.EOF)return nn()}function ft(){var y,j;return ae(),Hn(),j=W,V=!1,y=function Xe(){for(var y,le,He,j=[];b<ne&&(le=W).type===x.StringLiteral&&(y=ve(),j.push(y),y.expression.type===_.Literal);)"use strict"===N.slice(le.start+1,le.end-1)?(V=!0,He&&Ut(He,I.StrictOctalLiteral)):!He&&le.octal&&(He=le);for(;b<ne&&!(typeof(y=ve())>"u");)j.push(y);return j}(),z.markEnd(z.createProgram(y),j)}function At(){var y,j,le,Te=[];for(y=0;y<Y.tokens.length;++y)le={type:(j=Y.tokens[y]).type,value:j.value},Y.range&&(le.range=j.range),Y.loc&&(le.loc=j.loc),Te.push(le);Y.tokens=Te}(R={})[(x={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9}).BooleanLiteral]="Boolean",R[x.EOF]="<end>",R[x.Identifier]="Identifier",R[x.Keyword]="Keyword",R[x.NullLiteral]="Null",R[x.NumericLiteral]="Numeric",R[x.Punctuator]="Punctuator",R[x.StringLiteral]="String",R[x.RegularExpression]="RegularExpression",T=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],_={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},k={Data:1,Get:2,Set:4},I={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode co
1de may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},P={NonAsciiIdentifierStart:new RegExp("[\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]"),NonAsciiIdentifierPart:new RegExp("[\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02
1c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u05d0-\u05ea\u05f0-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u0800-\u082d\u0840-\u085b\u08a0\u08a2-\u08ac\u08e4-\u08fe\u0900-\u0963\u0966-\u096f\u0971-\u0977\u0979-\u097f\u0981-\u0983\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7\u09c8\u09cb-\u09ce\u09d7\u09dc\u09dd\u09df-\u09e3\u09e6-\u09f1\u0a01-\u0a03\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b5c\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c58\u0c59\u0c60-\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1\u0cf2\u0d02\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d57\u0d60-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772\u1773\u1780-\u17d3\u17d7\u17dc\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1877\u1880-\u18aa\u18b0-\u18f5\u1900-\u191c\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19d9\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1cd0-\u1cd2\u1cd4-\u1cf6\u1d00-\u1de6\u1dfc-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u200c\u200d\u203f\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u2e2f\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua697\ua69f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua827\ua840-\ua873\ua880-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua900-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a\uaa7b\uaa80-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabea\uabec\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]")},Z={name:"SyntaxTree",processComment:function(y){var j,le;
1if(!(y.type===_.Program&&y.body.length>0)){for(Y.trailingComments.length>0?Y.trailingComments[0].range[0]>=y.range[1]?(le=Y.trailingComments,Y.trailingComments=[]):Y.trailingComments.length=0:Y.bottomRightStack.length>0&&Y.bottomRightStack[Y.bottomRightStack.length-1].trailingComments&&Y.bottomRightStack[Y.bottomRightStack.length-1].trailingComments[0].range[0]>=y.range[1]&&(le=Y.bottomRightStack[Y.bottomRightStack.length-1].trailingComments,delete Y.bottomRightStack[Y.bottomRightStack.length-1].trailingComments);Y.bottomRightStack.length>0&&Y.bottomRightStack[Y.bottomRightStack.length-1].range[0]>=y.range[0];)j=Y.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=y.range[0]&&(y.leadingComments=j.leadingComments,delete j.leadingComments):Y.leadingComments.length>0&&Y.leadingComments[Y.leadingComments.length-1].range[1]<=y.range[0]&&(y.leadingComments=Y.leadingComments,Y.leadingComments=[]),le&&(y.trailingComments=le),Y.bottomRightStack.push(y)}},markEnd:function(y,j){return Y.range&&(y.range=[j.start,b]),Y.loc&&(y.loc=new br(void 0===j.startLineNumber?j.lineNumber:j.startLineNumber,j.start-(void 0===j.startLineStart?j.lineStart:j.startLineStart),ie,b-ye),this.postProcess(y)),Y.attachComment&&this.processComment(y),y},postProcess:function(y){return Y.source&&(y.loc.source=Y.source),y},createArrayExpression:function(y){return{type:_.ArrayExpression,elements:y}},createAssignmentExpression:function(y,j,le){return{type:_.AssignmentExpression,operator:y,left:j,right:le}},createBinaryExpression:function(y,j,le){return{type:"||"===y||"&&"===y?_.LogicalExpression:_.BinaryExpression,operator:y,left:j,right:le}},createBlockStatement:function(y){return{type:_.BlockStatement,body:y}},createBreakStatement:function(y){return{type:_.BreakStatement,label:y}},createCallExpression:function(y,j){return{type:_.CallExpression,callee:y,arguments:j}}
1,createCatchClause:function(y,j){return{type:_.CatchClause,param:y,body:j}},createConditionalExpression:function(y,j,le){return{type:_.ConditionalExpression,test:y,consequent:j,alternate:le}},createContinueStatement:function(y){return{type:_.ContinueStatement,label:y}},createDebuggerStatement:function(){return{type:_.DebuggerStatement}},createDoWhileStatement:function(y,j){return{type:_.DoWhileStatement,body:y,test:j}},createEmptyStatement:function(){return{type:_.EmptyStatement}},createExpressionStatement:function(y){return{type:_.ExpressionStatement,expression:y}},createForStatement:function(y,j,le,Te){return{type:_.ForStatement,init:y,test:j,update:le,body:Te}},createForInStatement:function(y,j,le){return{type:_.ForInStatement,left:y,right:j,body:le,each:!1}},createFunctionDeclaration:function(y,j,le,Te){return{type:_.FunctionDeclaration,id:y,params:j,defaults:le,body:Te,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(y,j,le,Te){return{type:_.FunctionExpression,id:y,params:j,defaults:le,body:Te,rest:null,generator:!1,expression:!1}},createIdentifier:function(y){return{type:_.Identifier,name:y}},createIfStatement:function(y,j,le){return{type:_.IfStatement,test:y,consequent:j,alternate:le}},createLabeledStatement:function(y,j){return{type:_.LabeledStatement,label:y,body:j}},createLiteral:function(y){return{type:_.Literal,value:y.value,raw:N.slice(y.start,y.end)}},createMemberExpression:function(y,j,le){return{type:_.MemberExpression,computed:"["===y,object:j,property:le}},createNewExpression:function(y,j){return{type:_.NewExpression,callee:y,arguments:j}},createObjectExpression:function(y){return{type:_.ObjectExpression,properties:y}},createPostfixExpression:function(y,j){return{type:_.UpdateExpression,operator:y,argument:j,prefix:!1}},createProgram:function(y){return{type:_.Program,body:y}},createProperty:function(y,j,le){return{type:_.Property,key:j,value:le,kind:y}},createReturnStatement:function(y){return{type:_.ReturnStatement,argument:y}},createSequenceExpression:function(y){return{type:_.SequenceExpression,expressions:y}},createSwitchCase:function(y,j){return{type:_.SwitchCase,test:y,consequent:j}},createSwitchStatement:function(y,j){return{type:_.SwitchStatement,discriminant:y,cases:j}},createThisExpression:function(){return{type:_.ThisExpression}},createThrowStatement:function(y){return{type:_.ThrowStatement,argument:y}},createTryStatement:function(y,j,le,Te){return{type:_.TryStatement,block:y,guardedHandlers:j,handlers:le,finalizer:Te}},createUnaryExpression:function(y,j){return"++"===y||"--"===y?{type:_.UpdateExpression,operator:y,argument:j,prefix:!0}:{type:_.UnaryExpression,operator:y,argument:j,prefix:!0}},createVariableDeclaration:function(y,j){return{type:_.VariableDeclaration,declarations:y,kind:j}},createVariableDeclarator:function(y,j){return{type:_.VariableDeclarator,id:y,init:j}},createWhileStatement:function(y,j){return{type:_.WhileStatement,test:y,body:j}},createWithStatement:function(y,j){return{type:_.WithStatement,object:y,body:j}}},O.version="1.2.2",O.tokenize=function Nt(y,j){var He;"string"!=typeof y&&!(y instanceof String)&&(y=String(y)),z=Z,b=0,ie=(N=y).length>0?1:0,ye=0,ne=N.length,W=null,G={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},Y={},(j=j||{}).tokens=!0,Y.tokens=[],Y.tokenize=!0,Y.openParenToken=-1,Y.openCurlyToken=-1,Y.range="boolean"==typeof j.range&&j.range,Y.loc="boolean"==typeof j.loc&&j.loc,"boolean"==typeof j.comment&&j.comment&&(Y.comments=[]),"boolean"==typeof j.tolerant&&j.tolerant&&(Y.errors=[]);try{if(Hn(),W.type===x.EOF)return Y.tokens;for(Ft();W.type!==x.EOF;)try{Ft()}catch(_t){if(Y.errors){Y.errors.push(_t);break}throw _t}At(),He=Y.tokens,typeof Y.comments<"u"&&(He.comments=Y.comments),typeof Y.errors<"u"&&(He.errors=Y.errors)}catch(_t){throw _t}finally{Y={}}return He},O.parse=function ln(y,j){var le,Te;Te=String,"string"!=typeof y&&!(y instanceof String)&&(y=Te(y)),z=Z,b=0,ie=(N=y).length>0?1:0,ye=0,ne=N.length,W=null,G={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},Y={},typeof j<"u"&&(Y.range="boolean"==typeof j.range&&j.range,Y.loc="boolean"==typeof j.loc&&j.loc,Y.attachComment="boolean"==typeof j.attachComment&&j.attachComment,Y.loc&&null!=j.source&&(Y.source=Te(j.source)),"boolean"==typeof j.tokens&&j.tokens&&(Y.tokens=[]),"boolean"==typeof j.comment&&j.comment&&(Y.comments=[]),"boolean"==typeof j.tolerant&&j.tolerant&&(Y.errors=[]),Y.attachComment&&(Y.range=!0,Y.comments=[],Y.bottomRightStack=[],Y.trailingComments=[],Y.leadingComments=[]));try{le=ft(),typeof Y.comments<"u"&&(le.comments=Y.comments),typeof Y.tokens<"u"&&(At(),le.tokens=Y.tokens),typeof Y.errors<"u"&&(le.errors=Y.errors)}catch(He){throw He}finally{Y={}}return le},O.Syntax=function(){var y,j={};for(y in"function"==typeof Object.create&&(j=Object.create(null)),_)_.hasOwnProperty(y)&&(j[y]=_[y]);return"function"==typeof Object.freeze&&Object.freeze(j),j}()})},{}],1:[function(l,$,M){(function(O){var x=function(){var R={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(P,Z,N,V,b,ie,ye){V.ast||(V.ast=T,T.initialize());var ne=ie.length-1;switch(b){case 1:return V.ast.set({expression:{type:"root",value:ie[ne]}}),V.ast.unshift(),V.ast.yield();case 2:return V.ast.set({expression:{type:"root",value:ie[ne-1]}}),V.ast.unshift(),V.ast.yield();case 3:return V.ast.unshift(),V.ast.yield();
1case 4:return V.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:ie[ne-1]}}),V.ast.unshift(),V.ast.yield();case 5:case 6:case 11:case 13:case 18:case 21:case 22:case 23:break;case 7:V.ast.set({operation:"member"}),V.ast.push();break;case 8:V.ast.set({operation:"subscript"}),V.ast.push();break;case 9:case 19:V.ast.set({scope:"child"});break;case 10:case 20:V.ast.set({scope:"descendant"});break;case 12:V.ast.set({scope:"child",operation:"member"});break;case 14:V.ast.set({expression:{type:"wildcard",value:ie[ne]}});break;case 15:V.ast.set({expression:{type:"identifier",value:ie[ne]}});break;case 16:V.ast.set({expression:{type:"script_expression",value:ie[ne]}});break;case 17:V.ast.set({expression:{type:"numeric_literal",value:parseInt(ie[ne])}});break;case 24:ie[ne].length>1?V.ast.set({expression:{type:"union",value:ie[ne]}}):this.$=ie[ne];break;case 25:this.$=[ie[ne]];break;case 26:this.$=ie[ne-2].concat(ie[ne]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(ie[ne])}},V.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:ie[ne]}},V.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:ie[ne]}},V.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:ie[ne]}},V.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:ie[ne]}},V.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:ie[ne]}},V.ast.set(this.$);break;case 33:case 34:this.$=ie[ne]}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(P,Z){if(!Z.recoverable)throw new Error(P);this.trace(P)},parse:function(P){var Z=this,N=[0],V=[null],b=[],ie=this.table,ye="",ne=0,z=0,W=0,Ce=b.slice.call(arguments,1);this.lexer.setInput(P),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var de=this.lexer.yylloc;b.push(de);var we,Ae=this.lexer.options&&this.lexer.options.ranges;this.parseError="function"==typeof this.yy.parseError?this.yy.parseError:Object.getPrototypeOf(this).parseError;for(var Se,je,et,ht,dt,Mt,$t,ae,Pt={};;){if(this.defaultActions[et=N[N.length-1]]?ht=this.defaultActions[et]:((null===Se||typeof Se>"u")&&(we=void 0,"number"!=typeof(we=Z.lexer.lex()||1)&&(we=Z.symbols_[we]||we),Se=we),ht=ie[et]&&ie[et][Se]),typeof ht>"u"||!ht.length||!ht[0]){var fe;for(Mt in ae=[],ie[et])this.terminals_[Mt]&&Mt>2&&ae.push("'"+this.terminals_[Mt]+"'");fe=this.lexer.showPosition?"Parse error on line "+(ne+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+ae.join(", ")+", got '"+(this.terminals_[Se]||Se)+"'":"Parse error on line "+(ne+1)+": Unexpected "+(1==Se?"end of input":"'"+(this.terminals_[Se]||Se)+"'"),this.parseError(fe,{text:this.lexer.match,token:this.terminals_[Se]||Se,line:this.lexer.yylineno,loc:de,expected:ae})}if(ht[0]instanceof Array&&ht.length>1)throw new Error("Parse Error: multiple actions possible at state: "+et+", token: "+Se);switch(ht[0]){case 1:N.push(Se),V.push(this.lexer.yytext),b.push(this.lexer.yylloc),N.push(ht[1]),Se=null,je?(Se=je,je=null):(z=this.lexer.yyleng,ye=this.lexer.yytext,ne=this.lexer.yylineno,de=this.lexer.yylloc,W>0&&W--);break;case 2:if(Pt.$=V[V.length-($t=this.productions_[ht[1]][1])],Pt._$={first_line:b[b.length-($t||1)].first_line,last_line:b[b.length-1].last_line,first_column:b[b.length-($t||1)].first_column,last_column:b[b.length-1].last_column},Ae&&(Pt._$.range=[b[b.length-($t||1)].range[0],b[b.length-1].range[1]]),typeof(dt=this.performAction.apply(Pt,[ye,z,ne,this.yy,ht[1],V,b].concat(Ce)))<"u")return dt;
1$t&&(N=N.slice(0,-1*$t*2),V=V.slice(0,-1*$t),b=b.slice(0,-1*$t)),N.push(this.productions_[ht[1]][0]),V.push(Pt.$),b.push(Pt._$),N.push(ie[N[N.length-2]][N[N.length-1]]);break;case 3:return!0}}return!0}},T={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(I){for(var P in I)this._node[P]=I[P];return this._node},node:function(I){return arguments.length&&(this._node=I),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var I=this._nodes;return this.initialize(),I}};function k(){this.yy={}}return R.lexer=function(){return{EOF:1,parseError:function(Z,N){if(!this.yy.parser)throw new Error(Z);this.yy.parser.parseError(Z,N)},setInput:function(P){return this._input=P,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var P=this._input[0];return this.yytext+=P,this.yyleng++,this.offset++,this.match+=P,this.matched+=P,P.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),P},unput:function(P){var Z=P.length,N=P.split(/(?:\r\n?|\n)/g);this._input=P+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Z-1),this.offset-=Z;var V=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),N.length-1&&(this.yylineno-=N.length-1);var b=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:N?(N.length===V.length?this.yylloc.first_column:0)+V[V.length-N.length].length-N[0].length:this.yylloc.first_column-Z},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-Z]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(P){this.unput(this.match.slice(P))},pastInput:function(){var P=this.matched.substr(0,this.matched.length-this.match.length);return(P.length>20?"...":"")+P.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var P=this.match;return P.length<20&&(P+=this._input.substr(0,20-P.length)),(P.substr(0,20)+(P.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var P=this.pastInput(),Z=new Array(P.length+1).join("-");return P+this.upcomingInput()+"\n"+Z+"^"},test_match:function(P,Z){var N,V,b;if(this.options.backtrack_lexer&&(b={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(b.yylloc.range=this.yylloc.range.slice(0))),(V=P[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=V.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:V?V[V.length-1].length-V[V.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+P[0].length},this.yytext+=P[0],this.match+=P[0],this.matches=P,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(P[0].length),this.matched+=P[0],N=this.performAction.call(this,this.yy,this,Z,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),N)return N;if(this._backtrack){for(var ie in b)this[ie]=b[ie];return!1}return!1},next:function(){if(this.done)return this.EOF;var P,Z,N,V;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var b=this._currentRules(),ie=0;ie<b.length;
1ie++)if((N=this._input.match(this.rules[b[ie]]))&&(!Z||N[0].length>Z[0].length)){if(Z=N,V=ie,this.options.backtrack_lexer){if(!1!==(P=this.test_match(N,b[ie])))return P;if(this._backtrack){Z=!1;continue}return!1}if(!this.options.flex)break}return Z?!1!==(P=this.test_match(Z,b[V]))&&P:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Z){this.conditionStack.push(Z)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Z){return(Z=this.conditionStack.length-1-Math.abs(Z||0))>=0?this.conditionStack[Z]:"INITIAL"},pushState:function(Z){this.begin(Z)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(Z,N,V,b){switch(V){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return N.yytext=N.yytext.substr(1,N.yyleng-2),32;case 11:return N.yytext=N.yytext.substr(1,N.yyleng-2),33;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}}}(),k.prototype=R,R.Parser=k,new k}();typeof l<"u"&&typeof M<"u"&&(M.parser=x,M.Parser=x.Parser,M.parse=function(){return x.parse.apply(x,arguments)},M.main=function(T){T[1]||(console.log("Usage: "+T[0]+" FILE"),O.exit(1));var _=l("fs").readFileSync(l("path").normalize(T[1]),"utf8");return M.parser.parse(_)},typeof $<"u"&&l.main===$&&M.main(O.argv.slice(1)))}).call(this,l("_process"))},{_process:14,fs:12,path:13}],2:[function(l,$,M){$.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(l,$,M){var O=l("./dict"),x=l("fs"),R={lex:{macros:{esc:"\\\\",int:O.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[O.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[O.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[O.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};x.readFileSync&&(R.moduleInclude=x.readFileSync(l.resolve("../include/module.js")),R.actionInclude=x.readFileSync(l.resolve("../include/action.js"))),$.exports=R},{"./dict":2,fs:12}],4:[function(l,$,M){var O=l("./aesprim"),x=l("./slice"),R=l("static-eval"),T=l("underscore").uniq,_=function(){return this.initialize.apply(this,arguments)};function k(ne,z,W){var G=l("./index"),Ce=b(O.parse(z).body[0].expression,{"@":ne.value}),de=W.replace(/\{\{\s*value\s*\}\}/g,Ce),Ae=G.nodes(ne.value,de);return Ae.forEach(function(Ye){Ye.path=ne.path.concat(Ye.path.slice(1))}),Ae}function I(ne){return Array.isArray(ne)}function Z(ne){return function(z,W,G,Y){var Ce=z.value,de=z.path,Ae=[],Ye=function(xe,Se){I(xe)?(xe.forEach(function(je,et){Ae.length>=Y||G(et,je,W)&&Ae.push({path:Se.concat(et),value:je})}),xe.forEach(function(je,et){Ae.length>=Y||ne&&Ye(je,Se.concat(et))})):function P(ne){return ne&&!(ne instanceof Array)&&ne instanceof Object}(xe)&&(this.keys(xe).forEach(function(je){Ae.length>=Y||G(je,xe[je],W)&&Ae.push({path:Se.concat(je),value:xe[je]})}),this.keys(xe).forEach(function(je){Ae.length>=Y||ne&&Ye(xe[je],Se.concat(je))}))}.bind(this);return Ye(Ce,de),Ae}}function N(ne){return function(z,W,G){return this.descend(W,z.expression.value,
1ne,G)}}function V(ne){return function(z,W,G){return this.traverse(W,z.expression.value,ne,G)}}function b(){try{return R.apply(this,arguments)}catch{}}function ie(ne){return ne=ne.filter(function(z){return z}),T(ne,function(z){return z.path.map(function(W){return String(W).replace("-","--")}).join("-")})}function ye(ne){var z=String(ne);return z.match(/^-?[0-9]+$/)?parseInt(z):null}_.prototype.initialize=function(){this.traverse=Z(!0),this.descend=Z()},_.prototype.keys=Object.keys,_.prototype.resolve=function(ne){var z=[ne.operation,ne.scope,ne.expression.type].join("-"),W=this._fns[z];if(!W)throw new Error("couldn't resolve key: "+z);return W.bind(this)},_.prototype.register=function(ne,z){if(!z instanceof Function)throw new Error("handler must be a function");this._fns[ne]=z},(_.prototype._fns={"member-child-identifier":function(ne,z){var W=ne.expression.value,G=z.value;if(G instanceof Object&&W in G)return[{value:G[W],path:z.path.concat(W)}]},"member-descendant-identifier":V(function(ne,z,W){return ne==W}),"subscript-child-numeric_literal":N(function(ne,z,W){return ne===W}),"member-child-numeric_literal":N(function(ne,z,W){return String(ne)===String(W)}),"subscript-descendant-numeric_literal":V(function(ne,z,W){return ne===W}),"member-child-wildcard":N(function(){return!0}),"member-descendant-wildcard":V(function(){return!0}),"subscript-descendant-wildcard":V(function(){return!0}),"subscript-child-wildcard":N(function(){return!0}),"subscript-child-slice":function(ne,z){if(I(z.value)){var W=ne.expression.value.split(":").map(ye),G=z.value.map(function(Y,Ce){return{value:Y,path:z.path.concat(Ce)}});return x.apply(null,[G].concat(W))}},"subscript-child-union":function(ne,z){var W=[];return ne.expression.value.forEach(function(G){var Y={operation:"subscript",scope:"child",expression:G.expression},de=this.resolve(Y)(Y,z);de&&(W=W.concat(de))},this),ie(W)},"subscript-descendant-union":function(ne,z,W){var G=l(".."),Y=this,Ce=[];return G.nodes(z,"$..*").slice(1).forEach(function(Ae){Ce.length>=W||ne.expression.value.forEach(function(Ye){var xe={operation:"subscript",scope:"child",expression:Ye.expression},je=Y.resolve(xe)(xe,Ae);Ce=Ce.concat(je)})}),ie(Ce)},"subscript-child-filter_expression":function(ne,z,W){var G=ne.expression.value.slice(2,-1),Y=O.parse(G).body[0].expression;return this.descend(z,null,function(de,Ae){return b(Y,{"@":Ae})},W)},"subscript-descendant-filter_expression":function(ne,z,W){var G=ne.expression.value.slice(2,-1),Y=O.parse(G).body[0].expression;return this.traverse(z,null,function(de,Ae){return b(Y,{"@":Ae})},W)},"subscript-child-script_expression":function(ne,z){return k(z,ne.expression.value.slice(1,-1),"$[{{value}}]")},"member-child-script_expression":function(ne,z){return k(z,ne.expression.value.slice(1,-1),"$.{{value}}")},"member-descendant-script_expression":function(ne,z){return k(z,ne.expression.value.slice(1,-1),"$..value")}})["subscript-child-string_literal"]=_.prototype._fns["member-child-identifier"],_.prototype._fns["member-descendant-numeric_literal"]=_.prototype._fns["subscript-descendant-string_literal"]=_.prototype._fns["member-descendant-identifier"],$.exports=_},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(l,$,M){var O=l("assert"),x=l("./dict"),R=l("./parser"),T=l("./handlers"),_=function(){this.initialize.apply(this,arguments)};function k(P){return"[object String]"==Object.prototype.toString.call(P)}
1_.prototype.initialize=function(){this.parser=new R,this.handlers=new T},_.prototype.parse=function(P){return O.ok(k(P),"we need a path"),this.parser.parse(P)},_.prototype.parent=function(P,Z){O.ok(P instanceof Object,"obj needs to be an object"),O.ok(Z,"we need a path");var N=this.nodes(P,Z)[0];return N.path.pop(),this.value(P,N.path)},_.prototype.apply=function(P,Z,N){O.ok(P instanceof Object,"obj needs to be an object"),O.ok(Z,"we need a path"),O.equal(typeof N,"function","fn needs to be function");var V=this.nodes(P,Z).sort(function(b,ie){return ie.path.length-b.path.length});return V.forEach(function(b){var ie=b.path.pop(),ye=this.value(P,this.stringify(b.path)),ne=b.value=N.call(P,ye[ie]);ye[ie]=ne},this),V},_.prototype.value=function(P,Z,N){if(O.ok(P instanceof Object,"obj needs to be an object"),O.ok(Z,"we need a path"),arguments.length>=3){var V=this.nodes(P,Z).shift();if(!V)return this._vivify(P,Z,N);var b=V.path.slice(-1).shift();this.parent(P,this.stringify(V.path))[b]=N}return this.query(P,this.stringify(Z),1).shift()},_.prototype._vivify=function(P,Z,N){var V=this;O.ok(P instanceof Object,"obj needs to be an object"),O.ok(Z,"we need a path");var b=this.parser.parse(Z).map(function(ye){return ye.expression.value}),ie=function(ye,ne){var z=ye.pop(),W=V.value(P,ye);W||(ie(ye.concat(),"string"==typeof z?{}:[]),W=V.value(P,ye)),W[z]=ne};return ie(b,N),this.query(P,Z)[0]},_.prototype.query=function(P,Z,N){return O.ok(P instanceof Object,"obj needs to be an object"),O.ok(k(Z),"we need a path"),this.nodes(P,Z,N).map(function(b){return b.value})},_.prototype.paths=function(P,Z,N){return O.ok(P instanceof Object,"obj needs to be an object"),O.ok(Z,"we need a path"),this.nodes(P,Z,N).map(function(b){return b.path})},_.prototype.nodes=function(P,Z,N){if(O.ok(P instanceof Object,"obj needs to be an object"),O.ok(Z,"we need a path"),0===N)return[];var V=this.parser.parse(Z),b=this.handlers,ie=[{path:["$"],value:P}],ye=[];return V.length&&"root"==V[0].expression.type&&V.shift(),V.length?(V.forEach(function(ne,z){if(!(ye.length>=N)){var W=b.resolve(ne),G=[];ie.forEach(function(Y){if(!(ye.length>=N)){var Ce=W(ne,Y,N);z==V.length-1?ye=ye.concat(Ce||[]):G=G.concat(Ce||[])}}),ie=G}}),N?ye.slice(0,N):ye):ie},_.prototype.stringify=function(P){O.ok(P,"we need a path");var Z="$",N={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return(P=this._normalize(P)).forEach(function(V){if("root"!=V.expression.type){var ye,b=[V.scope,V.operation].join("-"),ie=N[b];if(ye="string_literal"==V.expression.type?JSON.stringify(V.expression.value):V.expression.value,!ie)throw new Error("couldn't find template "+b);Z+=ie.replace(/{{value}}/,ye)}}),Z},_.prototype._normalize=function(P){if(O.ok(P,"we need a path"),"string"==typeof P)return this.parser.parse(P);if(Array.isArray(P)&&"string"==typeof P[0]){var Z=[{expression:{type:"root",value:"$"}}];return P.forEach(function(N,V){"$"==N&&0===V||("string"==typeof N&&N.match("^"+x.identifier+"$")?Z.push({operation:"member",scope:"child",expression:{value:N,type:"identifier"}}):Z.push({operation:"subscript",scope:"child",expression:{value:N,type:"number"==typeof N?"numeric_literal":"string_literal"}}))}),Z}if(Array.isArray(P)&&"object"==typeof P[0])return P;throw new Error("couldn't understand path "+P)},_.Handlers=T,_.Parser=R;var I=new _;I.JSONPath=_,$.exports=I},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(l,$,M){var O=l("./grammar"),x=l("../generated/parser"),R=function(){var T=new x.Parser,_=T.parseError;return T.yy.parseError=function(){T.yy.ast&&T.yy.ast.initialize(),_.apply(T,arguments)},T};R.grammar=O,$.exports=R},{"../generated/parser":1,"./grammar":3}],7:[function(l,$,M){function O(x){return String(x).match(/^[0-9]+$/)?parseInt(x):Number.isFinite(x)?parseInt(x,10):0}$.exports=function(x,R,T,_){if("string"==typeof R)throw new Error("start cannot be a string");if("string"==typeof T)throw new Error("end cannot be a string");if("string"==typeof _)throw new Error("step cannot be a string");var k=x.length;if(0===_)throw new Error("step cannot be zero");if(_=_?O(_):1,T=T<0?k+T:T,R=O(0===(R=R<0?k+R:R)?0:R||(_>0?0:k-1)),T=O(0===T?0:T||(_>0?k:-1)),R=_>0?Math.max(0,R):Math.min(k,R),T=_>0?Math.min(T,k):Math.max(-1,T),_>0&&T<=R)return[];if(_<0&&R<=T)return[];for(var I=[],P=R;P!=T&&!(_<0&&P<=T||_>0&&P>=T);P+=_)I.push(x[P]);return I}},{}],8:[function(l,$,M){var O=l("util/"),x=Array.prototype.slice,R=Object.prototype.hasOwnProperty,T=$.exports=Z;function _(z,W){return O.isUndefined(W)?""+W:O.isNumber(W)&&!isFinite(W)||O.isFunction(W)||O.isRegExp(W)?W.toString():W}function k(z,W){return O.isString(z)?z.length<W?z:z.slice(0,W):z}function P(z,W,G,Y,Ce){throw new T.AssertionError({message:G,actual:z,expected:W,operator:Y,stackStartFunction:Ce})}function Z(z,W){z||P(z,!0,W,"==",T.ok)}function N(z,W){if(z===W)return!0;
1if(O.isBuffer(z)&&O.isBuffer(W)){if(z.length!=W.length)return!1;for(var G=0;G<z.length;G++)if(z[G]!==W[G])return!1;return!0}return O.isDate(z)&&O.isDate(W)?z.getTime()===W.getTime():O.isRegExp(z)&&O.isRegExp(W)?z.source===W.source&&z.global===W.global&&z.multiline===W.multiline&&z.lastIndex===W.lastIndex&&z.ignoreCase===W.ignoreCase:O.isObject(z)||O.isObject(W)?function b(z,W){if(O.isNullOrUndefined(z)||O.isNullOrUndefined(W)||z.prototype!==W.prototype)return!1;if(O.isPrimitive(z)||O.isPrimitive(W))return z===W;var G=V(z),Y=V(W);if(G&&!Y||!G&&Y)return!1;if(G)return N(z=x.call(z),W=x.call(W));var Ae,Ye,Ce=ne(z),de=ne(W);if(Ce.length!=de.length)return!1;for(Ce.sort(),de.sort(),Ye=Ce.length-1;Ye>=0;Ye--)if(Ce[Ye]!=de[Ye])return!1;for(Ye=Ce.length-1;Ye>=0;Ye--)if(!N(z[Ae=Ce[Ye]],W[Ae]))return!1;return!0}(z,W):z==W}function V(z){return"[object Arguments]"==Object.prototype.toString.call(z)}function ie(z,W){return!(!z||!W)&&("[object RegExp]"==Object.prototype.toString.call(W)?W.test(z):z instanceof W||!0===W.call({},z))}function ye(z,W,G,Y){var Ce;O.isString(G)&&(Y=G,G=null);try{W()}catch(de){Ce=de}if(Y=(G&&G.name?" ("+G.name+").":".")+(Y?" "+Y:"."),z&&!Ce&&P(Ce,G,"Missing expected exception"+Y),!z&&ie(Ce,G)&&P(Ce,G,"Got unwanted exception"+Y),z&&Ce&&G&&!ie(Ce,G)||!z&&Ce)throw Ce}T.AssertionError=function(W){this.name="AssertionError",this.actual=W.actual,this.expected=W.expected,this.operator=W.operator,W.message?(this.message=W.message,this.generatedMessage=!1):(this.message=function I(z){return k(JSON.stringify(z.actual,_),128)+" "+z.operator+" "+k(JSON.stringify(z.expected,_),128)}(this),this.generatedMessage=!0);var G=W.stackStartFunction||P;if(Error.captureStackTrace)Error.captureStackTrace(this,G);else{var Y=new Error;if(Y.stack){var Ce=Y.stack,Ae=Ce.indexOf("\n"+G.name);if(Ae>=0){var Ye=Ce.indexOf("\n",Ae+1);Ce=Ce.substring(Ye+1)}this.stack=Ce}}},O.inherits(T.AssertionError,Error),T.fail=P,T.ok=Z,T.equal=function(W,G,Y){W!=G&&P(W,G,Y,"==",T.equal)},T.notEqual=function(W,G,Y){W==G&&P(W,G,Y,"!=",T.notEqual)},T.deepEqual=function(W,G,Y){N(W,G)||P(W,G,Y,"deepEqual",T.deepEqual)},T.notDeepEqual=function(W,G,Y){N(W,G)&&P(W,G,Y,"notDeepEqual",T.notDeepEqual)},T.strictEqual=function(W,G,Y){W!==G&&P(W,G,Y,"===",T.strictEqual)},T.notStrictEqual=function(W,G,Y){W===G&&P(W,G,Y,"!==",T.notStrictEqual)},T.throws=function(z,W,G){ye.apply(this,[!0].concat(x.call(arguments)))},T.doesNotThrow=function(z,W){ye.apply(this,[!1].concat(x.call(arguments)))},T.ifError=function(z){if(z)throw z};var ne=Object.keys||function(z){var W=[];for(var G in z)R.call(z,G)&&W.push(G);return W}},{"util/":11}],9:[function(l,$,M){$.exports="function"==typeof Object.create?function(x,R){x.super_=R,x.prototype=Object.create(R.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}})}:function(x,R){x.super_=R;var T=function(){};T.prototype=R.prototype,x.prototype=new T,x.prototype.constructor=x}},{}],10:[function(l,$,M){$.exports=function(x){return x&&"object"==typeof x&&"function"==typeof x.copy&&"function"==typeof x.fill&&"function"==typeof x.readUInt8}},{}],11:[function(l,$,M){(function(O,x){var R=/%[sdj%]/g;M.format=function(ae){if(!de(ae)){for(var fe=[],we=0;we<arguments.length;we++)fe.push(k(arguments[we]));return fe.join(" ")}we=1;for(var Qe=arguments,Ke=Qe.length,Ge=String(ae).replace(R,function(Vt){if("%%"===Vt)return"%";if(we>=Ke)return Vt;switch(Vt){case"%s":return String(Qe[we++]);case"%d":return Number(Qe[we++]);case"%j":try{return JSON.stringify(Qe[we++])}catch{return"[Circular]"}default:return Vt}}),mt=Qe[we];we<Ke;mt=Qe[++we])G(mt)||!Se(mt)?Ge+=" "+mt:Ge+=" "+k(mt);return Ge},M.deprecate=function(ae,fe){if(Ye(x.process))return function(){return M.deprecate(ae,fe).apply(this,arguments)};if(!0===O.noDeprecation)return ae;var we=!1;return function Qe(){if(!we){if(O.throwDeprecation)throw new Error(fe);O.traceDeprecation?console.trace(fe):console.error(fe),we=!0}return ae.apply(this,arguments)}};var _,T={};function k(ae,fe){var we={seen:[],stylize:P};return arguments.length>=3&&(we.depth=arguments[2]),arguments.length>=4&&(we.colors=arguments[3]),W(fe)?we.showHidden=fe:fe&&M._extend(we,fe),Ye(we.showHidden)&&(we.showHidden=!1),Ye(we.depth)&&(we.depth=2),Ye(we.colors)&&(we.colors=!1),Ye(we.customInspect)&&(we.customInspect=!0),we.colors&&(we.stylize=I),N(we,ae,we.depth)}function I(ae,fe){var we=k.styles[fe];return we?"\x1b["+k.colors[we][0]+"m"+ae+"\x1b["+k.colors[we][1]+"m":ae}function P(ae,fe){return ae}function N(ae,fe,we){if(ae.customInspect&&fe&&ht(fe.inspect)&&fe.inspect!==M.inspect&&(!fe.constructor||fe.constructor.prototype!==fe)){var Qe=fe.inspect(we,ae);return de(Qe)||(Qe=N(ae,Qe,we)),Qe}var Ke=function V(ae,fe){if(Ye(fe))return ae.stylize("undefined","undefined");if(de(fe)){var we="'"+JSON.stringify(fe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ae.stylize(we,"string")}return Ce(fe)?ae.stylize(""+fe,"number"):W(fe)?ae.stylize(""+fe,"boolean"):G(fe)?ae.stylize("null","null"):void 0}(ae,fe);if(Ke)return Ke;var Ge=Object.keys(fe),mt=function Z(ae){var fe={};return ae.forEach(function(we,Qe){fe[we]=!0}),fe}(Ge);if(ae.showHidden&&(Ge=Object.getOwnPropertyNames(fe)),et(fe)&&(Ge.indexOf("message")>=0||Ge.indexOf("description")>=0))return b(fe);if(0===Ge.length){if(ht(fe))return ae.stylize("[Function"+(fe.name?": "+fe.name:"")+"]","special");if(xe(fe))return ae.stylize(RegExp.prototype.toString.call(fe),"regexp");if(je(fe))return ae.stylize(Date.prototype.toString.call(fe),"date");if(et(fe))return b(fe)}var q,wt="",Wt=!1,Ee=["{","}"];return z(fe)&&(Wt=!0,Ee=["[","]"]),ht(fe)&&(wt=" [Function"+(fe.name?": "+fe.name:"")+"]"),xe(fe)&&(wt=" "+RegExp.prototype.toString.call(fe)),je(fe)&&(wt=" "+Date.prototype.toUTCString.call(fe)),et(fe)&&(wt=" "+b(fe)),0!==Ge.length||Wt&&0!=fe.length?we<0?xe(fe)?ae.stylize(RegExp.prototype.toString.call(fe),"regexp"):ae.stylize("[Object]","special"):(ae.seen.push(fe),q=Wt?function ie(ae,fe,we,Qe,Ke){for(var Ge=[],mt=0,Vt=fe.length;mt<Vt;++mt)Re(fe,String(mt))?Ge.push(ye(ae,fe,we,Qe,String(mt),!0)):Ge.push("");return Ke.forEach(function(wt){wt.match(/^\d+$/)||Ge.push(ye(ae,fe,we,Qe,wt,!0))}),Ge}(ae,fe,we,mt,Ge):Ge.map(function(me){return ye(ae,fe,we,mt,me,Wt)}),ae.seen.pop(),function ne(ae,fe,we){return ae.reduce(function(Ge,mt){return mt.indexOf("\n"),Ge+mt.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?we[0]+(""===fe?"":fe+"\n ")+" "+ae.join(",\n  ")+" "+we[1]:we[0]+fe+" "+ae.join(", ")+" "+we[1]}(q,wt,Ee)):Ee[0]+wt+Ee[1]}function b(ae){return"["+Error.prototype.toString.call(ae)+"]"}function ye(ae,fe,we,Qe,Ke,Ge){var mt,Vt,wt;if((wt=Object.getOwnPropertyDescriptor(fe,Ke)||{value:fe[Ke]}).get?Vt=ae.stylize(wt.set?"[Getter/Setter]":"[Getter]","special"):wt.set&&(Vt=ae.stylize("[
1Setter]","special")),Re(Qe,Ke)||(mt="["+Ke+"]"),Vt||(ae.seen.indexOf(wt.value)<0?(Vt=G(we)?N(ae,wt.value,null):N(ae,wt.value,we-1)).indexOf("\n")>-1&&(Vt=Ge?Vt.split("\n").map(function(Wt){return"  "+Wt}).join("\n").substr(2):"\n"+Vt.split("\n").map(function(Wt){return"   "+Wt}).join("\n")):Vt=ae.stylize("[Circular]","special")),Ye(mt)){if(Ge&&Ke.match(/^\d+$/))return Vt;(mt=JSON.stringify(""+Ke)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(mt=mt.substr(1,mt.length-2),mt=ae.stylize(mt,"name")):(mt=mt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),mt=ae.stylize(mt,"string"))}return mt+": "+Vt}function z(ae){return Array.isArray(ae)}function W(ae){return"boolean"==typeof ae}function G(ae){return null===ae}function Ce(ae){return"number"==typeof ae}function de(ae){return"string"==typeof ae}function Ye(ae){return void 0===ae}function xe(ae){return Se(ae)&&"[object RegExp]"===dt(ae)}function Se(ae){return"object"==typeof ae&&null!==ae}function je(ae){return Se(ae)&&"[object Date]"===dt(ae)}function et(ae){return Se(ae)&&("[object Error]"===dt(ae)||ae instanceof Error)}function ht(ae){return"function"==typeof ae}function dt(ae){return Object.prototype.toString.call(ae)}function Pt(ae){return ae<10?"0"+ae.toString(10):ae.toString(10)}M.debuglog=function(ae){if(Ye(_)&&(_=O.env.NODE_DEBUG||""),ae=ae.toUpperCase(),!T[ae])if(new RegExp("\\b"+ae+"\\b","i").test(_)){var fe=O.pid;T[ae]=function(){var we=M.format.apply(M,arguments);console.error("%s %d: %s",ae,fe,we)}}else T[ae]=function(){};return T[ae]},M.inspect=k,k.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},k.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},M.isArray=z,M.isBoolean=W,M.isNull=G,M.isNullOrUndefined=function Y(ae){return null==ae},M.isNumber=Ce,M.isString=de,M.isSymbol=function Ae(ae){return"symbol"==typeof ae},M.isUndefined=Ye,M.isRegExp=xe,M.isObject=Se,M.isDate=je,M.isError=et,M.isFunction=ht,M.isPrimitive=function Dt(ae){return null===ae||"boolean"==typeof ae||"number"==typeof ae||"string"==typeof ae||"symbol"==typeof ae||typeof ae>"u"},M.isBuffer=l("./support/isBuffer");var Mt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Re(ae,fe){return Object.prototype.hasOwnProperty.call(ae,fe)}M.log=function(){console.log("%s - %s",function $t(){var ae=new Date,fe=[Pt(ae.getHours()),Pt(ae.getMinutes()),Pt(ae.getSeconds())].join(":");return[ae.getDate(),Mt[ae.getMonth()],fe].join(" ")}(),M.format.apply(M,arguments))},M.inherits=l("inherits"),M._extend=function(ae,fe){if(!fe||!Se(fe))return ae;for(var we=Object.keys(fe),Qe=we.length;Qe--;)ae[we[Qe]]=fe[we[Qe]];return ae}}).call(this,l("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(l,$,M){},{}],13:[function(l,$,M){(function(O){function x(k,I){for(var P=0,Z=k.length-1;Z>=0;Z--){var N=k[Z];"."===N?k.splice(Z,1):".."===N?(k.splice(Z,1),P++):P&&(k.splice(Z,1),P--)}if(I)for(;P--;P)k.unshift("..");return k}function T(k,I){if(k.filter)return k.filter(I);for(var P=[],Z=0;Z<k.length;Z++)I(k[Z],Z,k)&&P.push(k[Z]);return P}M.resolve=function(){for(var k="",I=!1,P=arguments.length-1;P>=-1&&!I;P--){var Z=P>=0?arguments[P]:O.cwd();if("string"!=typeof Z)throw new TypeError("Arguments to path.resolve must be strings");Z&&(k=Z+"/"+k,I="/"===Z.charAt(0))}return(I?"/":"")+(k=x(T(k.split("/"),function(N){return!!N}),!I).join("/"))||"."},M.normalize=function(k){var I=M.isAbsolute(k),P="/"===_(k,-1);return!(k=x(T(k.split("/"),function(Z){return!!Z}),!I).join("/"))&&!I&&(k="."),k&&P&&(k+="/"),(I?"/":"")+k},M.isAbsolute=function(k){return"/"===k.charAt(0)},M.join=function(){var k=Array.prototype.slice.call(arguments,0);return M.normalize(T(k,function(I,P){if("string"!=typeof I)throw new TypeError("Arguments to path.join must be strings");return I}).join("/"))},M.relative=function(k,I){function P(ne){for(var z=0;z<ne.length&&""===ne[z];z++);for(var W=ne.length-1;W>=0&&""===ne[W];W--);return z>W?[]:ne.slice(z,W-z+1)}k=M.resolve(k).substr(1),I=M.resolve(I).substr(1);for(var Z=P(k.split("/")),N=P(I.split("/")),V=Math.min(Z.length,N.length),b=V,ie=0;ie<V;ie++)if(Z[ie]!==N[ie]){b=ie;break}var ye=[];for(ie=b;ie<Z.length;ie++)ye.push("..");return(ye=ye.concat(N.slice(b))).join("/")},M.sep="/",M.delimiter=":",M.dirname=function(k){if("string"!=typeof k&&(k+=""),0===k.length)return".";for(var I=k.charCodeAt(0),P=47===I,Z=-1,N=!0,V=k.length-1;V>=1;--V)if(47===(I=k.charCodeAt(V))){if(!N){Z=V;break}}else N=!1;return-1===Z?P?"/":".":P&&1===Z?"/":k.slice(0,Z)},M.basename=function(k,I){var P=function R(k){"string"!=typeof k&&(k+="");var N,I=0,P=-1,Z=!0;for(N=k.length-1;N>=0;
1--N)if(47===k.charCodeAt(N)){if(!Z){I=N+1;break}}else-1===P&&(Z=!1,P=N+1);return-1===P?"":k.slice(I,P)}(k);return I&&P.substr(-1*I.length)===I&&(P=P.substr(0,P.length-I.length)),P},M.extname=function(k){"string"!=typeof k&&(k+="");for(var I=-1,P=0,Z=-1,N=!0,V=0,b=k.length-1;b>=0;--b){var ie=k.charCodeAt(b);if(47!==ie)-1===Z&&(N=!1,Z=b+1),46===ie?-1===I?I=b:1!==V&&(V=1):-1!==I&&(V=-1);else if(!N){P=b+1;break}}return-1===I||-1===Z||0===V||1===V&&I===Z-1&&I===P+1?"":k.slice(I,Z)};var _=function(k,I,P){return k.substr(I,P)}}).call(this,l("_process"))},{_process:14}],14:[function(l,$,M){var x,R,O=$.exports={};function T(){throw new Error("setTimeout has not been defined")}function _(){throw new Error("clearTimeout has not been defined")}function k(z){if(x===setTimeout)return setTimeout(z,0);if((x===T||!x)&&setTimeout)return x=setTimeout,setTimeout(z,0);try{return x(z,0)}catch{try{return x.call(null,z,0)}catch{return x.call(this,z,0)}}}!function(){try{x="function"==typeof setTimeout?setTimeout:T}catch{x=T}try{R="function"==typeof clearTimeout?clearTimeout:_}catch{R=_}}();var N,P=[],Z=!1,V=-1;function b(){!Z||!N||(Z=!1,N.length?P=N.concat(P):V=-1,P.length&&ie())}function ie(){if(!Z){var z=k(b);Z=!0;for(var W=P.length;W;){for(N=P,P=[];++V<W;)N&&N[V].run();V=-1,W=P.length}N=null,Z=!1,function I(z){if(R===clearTimeout)return clearTimeout(z);if((R===_||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(z);try{return R(z)}catch{try{return R.call(null,z)}catch{return R.call(this,z)}}}(z)}}function ye(z,W){this.fun=z,this.array=W}function ne(){}O.nextTick=function(z){var W=new Array(arguments.length-1);if(arguments.length>1)for(var G=1;G<arguments.length;G++)W[G-1]=arguments[G];P.push(new ye(z,W)),1===P.length&&!Z&&k(ie)},ye.prototype.run=function(){this.fun.apply(null,this.array)},O.title="browser",O.browser=!0,O.env={},O.argv=[],O.version="",O.versions={},O.on=ne,O.addListener=ne,O.once=ne,O.off=ne,O.removeListener=ne,O.removeAllListeners=ne,O.emit=ne,O.prependListener=ne,O.prependOnceListener=ne,O.listeners=function(z){return[]},O.binding=function(z){throw new Error("process.binding is not supported")},O.cwd=function(){return"/"},O.chdir=function(z){throw new Error("process.chdir is not supported")},O.umask=function(){return 0}},{}],15:[function(l,$,M){var O=l("escodegen").generate;$.exports=function(x,R){R||(R={});var T={},_=function k(I,P){if("Literal"===I.type)return I.value;if("UnaryExpression"===I.type){var Z=k(I.argument);return"+"===I.operator?+Z:"-"===I.operator?-Z:"~"===I.operator?~Z:"!"===I.operator?!Z:T}if("ArrayExpression"===I.type){for(var N=[],V=0,b=I.elements.length;V<b;V++){if((ie=k(I.elements[V]))===T)return T;N.push(ie)}return N}if("ObjectExpression"===I.type){var ye={};for(V=0;V<I.properties.length;V++){var z=null===(ne=I.properties[V]).value?ne.value:k(ne.value);if(z===T)return T;ye[ne.key.value||ne.key.name]=z}return ye}if("BinaryExpression"===I.type||"LogicalExpression"===I.type){if((b=k(I.left))===T)return T;var W=k(I.right);if(W===T)return T;var G=I.operator;return"=="===G?b==W:"==="===G?b===W:"!="===G?b!=W:"!=="===G?b!==W:"+"===G?b+W:"-"===G?b-W:"*"===G?b*W:"/"===G?b/W:"%"===G?b%W:"<"===G?b<W:"<="===G?b<=W:">"===G?b>W:">="===G?b>=W:"|"===G?b|W:"&"===G?b&W:"^"===G?b^W:"&&"===G?b&&W:"||"===G?b||W:T}if("Identifier"===I.type)return{}.hasOwnProperty.call(R,I.name)?R[I.name]:T;if("ThisExpression"===I.type)return{}.hasOwnProperty.call(R,"this")?R.this:T;if("CallExpression"===I.type){var Y=k(I.callee);if(Y===T||"function"!=typeof Y)return T;var Ce=I.callee.object?k(I.callee.object):T;Ce===T&&(Ce=null);var de=[];for(V=0,b=I.arguments.length;V<b;V++){var ie;if((ie=k(I.arguments[V]))===T)return T;de.push(ie)}return Y.apply(Ce,de)}var ne;if("MemberExpression"===I.type)return(ye=k(I.object))===T||"function"==typeof ye?T:"Identifier"===I.property.type?ye[I.property.name]:(ne=k(I.property))===T?T:ye[ne];if("ConditionalExpression"===I.type)return(Z=k(I.test))===T?T:k(Z?I.consequent:I.alternate);if("ExpressionStatement"===I.type)return(Z=k(I.expression))===T?T:Z;if("ReturnStatement"===I.type)return k(I.argument);if("FunctionExpression"===I.type){var Ae=I.body.body,Ye={};
1for(Object.keys(R).forEach(function(Mt){Ye[Mt]=R[Mt]}),V=0;V<I.params.length;V++){var xe=I.params[V];if("Identifier"!=xe.type)return T;R[xe.name]=null}for(var V in Ae)if(k(Ae[V])===T)return T;R=Ye;var Se=Object.keys(R),je=Se.map(function(Mt){return R[Mt]});return Function(Se.join(", "),"return "+O(I)).apply(null,je)}if("TemplateLiteral"===I.type){var et="";for(V=0;V<I.expressions.length;V++)et+=k(I.quasis[V]),et+=k(I.expressions[V]);return et+k(I.quasis[V])}if("TaggedTemplateExpression"===I.type){var ht=k(I.tag),Dt=I.quasi,dt=Dt.quasis.map(k),Pt=Dt.expressions.map(k);return ht.apply(null,[dt].concat(Pt))}return"TemplateElement"===I.type?I.value.cooked:T}(x);return _===T?void 0:_}},{escodegen:12}],jsonpath:[function(l,$,M){$.exports=l("./lib/index")},{"./lib/index":5}]},{},["jsonpath"])("jsonpath")},7376:function(ze,se,f){var c;ze=f.nmd(ze),function(){var l,x="Expected a function",T="__lodash_hash_undefined__",k="__lodash_placeholder__",W=32,Y=128,Dt=1/0,dt=9007199254740991,$t=4294967295,fe=[["ary",Y],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",W],["partialRight",64],["rearg",256]],we="[object Arguments]",Qe="[object Array]",Ge="[object Boolean]",mt="[object Date]",wt="[object Error]",Wt="[object Function]",Ee="[object GeneratorFunction]",Pe="[object Map]",q="[object Number]",Oe="[object Object]",it="[object Promise]",wn="[object RegExp]",ct="[object Set]",Ft="[object String]",Hn="[object Symbol]",br="[object WeakMap]",Gt="[object ArrayBuffer]",Ut="[object DataView]",Qt="[object Float32Array]",Rt="[object Float64Array]",Tn="[object Int8Array]",St="[object Int16Array]",rr="[object Int32Array]",un="[object Uint8Array]",Cr="[object Uint8ClampedArray]",Rn="[object Uint16Array]",hi="[object Uint32Array]",ir=/\b__p \+= '';/g,Fe=/\b(__p \+=) '' \+/g,jn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,be=/&(?:amp|lt|gt|quot|#39);/g,ot=/[&<>"']/g,Tt=RegExp(be.source),Fn=RegExp(ot.source),In=/<%-([\s\S]+?)%>/g,kt=/<%([\s\S]+?)%>/g,lr=/<%=([\s\S]+?)%>/g,Ue=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$e=/^\w*$/,ge=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ne=/[\\^$.*+?()[\]{}|]/g,qe=RegExp(Ne.source),Et=/^\s+/,cn=/\s/,xn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,An=/\{\n\/\* \[wrapped with (.+)\] \*/,dn=/,? & /,Rr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Zr=/[()=,{}\[\]\/\s]/,Er=/\\(\\)?/g,cr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Kt=/\w*$/,Zi=/^[-+]0x[0-9a-f]+$/i,Ci=/^0b[01]+$/i,Fi=/^\[object .+?Constructor\]$/,Li=/^0o[0-7]+$/i,po=/^(?:0|[1-9]\d*)$/,Dn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 7,243 bytes, line 1
17f]/g,Qi=/($^)/,Qr=/['\n\r\u2028\u2029\\]/g,Yr="\\ud800-\\udfff",Jr="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",wi="\\u2700-\\u27bf",qi="a-z\\xdf-\\xf6\\xf8-\\xff",nn="A-Z\\xc0-\\xd6\\xd8-\\xde",wr="\\ufe0e\\ufe0f",pi="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="["+Yr+"]",ve="["+pi+"]",Xe="["+Jr+"]",ft="\\d+",At="["+wi+"]",Nt="["+qi+"]",ln="[^"+Yr+pi+ft+wi+qi+nn+"]",y="\\ud83c[\\udffb-\\udfff]",le="[^"+Yr+"]",Te="(?:\\ud83c[\\udde6-\\uddff]){2}",He="[\\ud800-\\udbff][\\udc00-\\udfff]",_t="["+nn+"]",vt="(?:"+Nt+"|"+ln+")",Lt="(?:"+_t+"|"+ln+")",Nn="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",qr="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",or="(?:"+Xe+"|"+y+")?",go="["+wr+"]?",Po=go+or+"(?:\\u200d(?:"+[le,Te,He].join("|")+")"+go+or+")*",Oa="(?:"+[At,Te,He].join("|")+")"+Po,oi="(?:"+[le+Xe+"?",Xe,Te,He,pe].join("|")+")",Ra=RegExp("['\u2019]","g"),sa=RegExp(Xe,"g"),aa=RegExp(y+"(?="+y+")|"+oi+Po,"g"),kr=RegExp([_t+"?"+Nt+"+"+Nn+"(?="+[ve,_t,"$"].join("|")+")",Lt+"+"+qr+"(?="+[ve,_t+vt,"$"].join("|")+")",_t+"?"+vt+"+"+Nn,_t+"+"+qr,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ft,Oa].join("|"),"g"),os=RegExp("[\\u200d"+Yr+Jr+wr+"]"),eo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ps=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ss=-1,Yn={};Yn[Qt]=Yn[Rt]=Yn[Tn]=Yn[St]=Yn[rr]=Yn[un]=Yn[Cr]=Yn[Rn]=Yn[hi]=!0,Yn[we]=Yn[Qe]=Yn[Gt]=Yn[Ge]=Yn[Ut]=Yn[mt]=Yn[wt]=Yn[Wt]=Yn[Pe]=Yn[q]=Yn[Oe]=Yn[wn]=Yn[ct]=Yn[Ft]=Yn[br]=!1;var $n={};$n[we]=$n[Qe]=$n[Gt]=$n[Ut]=$n[Ge]=$n[mt]=$n[Qt]=$n[Rt]=$n[Tn]=$n[St]=$n[rr]=$n[Pe]=$n[q]=$n[Oe]=$n[wn]=$n[ct]=$n[Ft]=$n[Hn]=$n[un]=$n[Cr]=$n[Rn]=$n[hi]=!0,$n[wt]=$n[Wt]=$n[br]=!1;var Fs={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Nr=parseFloat,Ls=parseInt,xt="object"==typeof global&&global&&global.Object===Object&&global,Ui="object"==typeof self&&self&&self.Object===Object&&self,Dr=xt||Ui||Function("return this")(),Vi=se&&!se.nodeType&&se,mo=Vi&&ze&&!ze.nodeType&&ze,ks=mo&&mo.exports===Vi,as=ks&&xt.process,ti=function(){try{return mo&&mo.require&&mo.require("util").types||as&&as.binding&&as.binding("util")}catch{}}(),vo=ti&&ti.isArrayBuffer,to=ti&&ti.isDate,Ai=ti&&ti.isMap,Qo=ti&&ti.isRegExp,si=ti&&ti.isSet,no=ti&&ti.isTypedArray;function sr(Le,lt,rt){switch(rt.length){case 0:return Le.call(lt);case 1:return Le.call(lt,rt[0]);case 2:return Le.call(lt,rt[0],rt[1]);case 3:return Le.call(lt,rt[0],rt[1],rt[2])}return Le.apply(lt,rt)}function Br(Le,lt,rt,Ot){for(var yn=-1,tr=null==Le?0:Le.length;++yn<tr;){var Ir=Le[yn];lt(Ot,Ir,rt(Ir),Le)}return Ot}function Wr(Le,lt){for(var rt=-1,Ot=null==Le?0:Le.length;++rt<Ot&&!1!==lt(Le[rt],rt,Le););return Le}function _s(Le,lt){for(var rt=null==Le?0:Le.length;rt--&&!1!==lt(Le[rt],rt,Le););return Le}function Fo(Le,lt){for(var rt=-1,Ot=null==Le?0:Le.length;++rt<Ot;)if(!lt(Le[rt],rt,Le))return!1;return!0}function Si(Le,lt){for(var rt=-1,Ot=null==Le?0:Le.length,yn=0,tr=[];++rt<Ot;){var Ir=Le[rt];lt(Ir,rt,Le)&&(tr[yn++]=Ir)}return tr}function Lo(Le,lt){return!(null==Le||!Le.length)&&bi(Le,lt,0)>-1}function us(Le,lt,rt){for(var Ot=-1,yn=null==Le?0:Le.length;++Ot<yn;)if(rt(lt,Le[Ot]))return!0;return!1}function gr(Le,lt){for(var rt=-1,Ot=null==Le?0:Le.length,yn=Array(Ot);++rt<Ot;)yn[rt]=lt(Le[rt],rt,Le);return yn}function vr(Le,lt){for(var rt=-1,Ot=lt.length,yn=Le.length;++rt<Ot;)Le[yn+rt]=lt[rt];return Le}function Cs(Le,lt,rt,Ot){var yn=-1,tr=null==Le?0:Le.length;for(Ot&&tr&&(rt=Le[++yn]);++yn<tr;)rt=lt(rt,Le[yn],yn,Le);return rt}function Yo(Le,lt,rt,Ot){var yn=null==Le?0:Le.length;for(Ot&&yn&&(rt=Le[--yn]);yn--;)rt=lt(rt,Le[yn],yn,Le);return rt}function Na(Le,lt){for(var rt=-1,Ot=null==Le?0:Le.length;++rt<Ot;)if(lt(Le[rt],rt,Le))return!0;return!1}var ws=mr("length");function Ti(Le,lt,rt){var Ot;return rt(Le,function(yn,tr,Ir){if(lt(yn,tr,Ir))return Ot=tr,!1}),Ot}function yo(Le,lt,rt,Ot){for(var yn=Le.length,tr=rt+(Ot?1:-1);Ot?tr--:++tr<yn;)if(lt(Le[tr],tr,Le))return tr;return-1}function bi(Le,lt,rt){return lt==lt?function iu(Le,lt,rt){for(var Ot=rt-1,yn=Le.length;++Ot<yn;)if(Le[Ot]===lt)return Ot;return-1}(Le,lt,rt):yo(Le,Fr,rt)}function Is(Le,lt,rt,Ot){for(var yn=rt-1,tr=Le.length;++yn<tr;)if(Ot(Le[yn],lt))return yn;return-1}function Fr(Le){return Le!=Le}function pn(Le,lt){var rt=null==Le?0:Le.length;return rt?nu(Le,lt)/rt:NaN}function mr(Le){return function(lt){return null==lt?l:lt[Le]}}function xr(Le){return function(lt){return null==Le?l:Le[lt]}}function Eo(Le,lt,rt,Ot,yn){return yn(Le,function(tr,Ir,dr){rt=Ot?(Ot=!1,tr):lt(rt,tr,Ir,dr)}),rt}function nu(Le,lt){for(var rt,Ot=-1,yn=Le.length;++Ot<yn;){var tr=lt(Le[Ot]);tr!==l&&(rt=rt===l?tr:rt+tr)}return rt}function Bs(Le,lt){for(var rt=-1,Ot=Array(Le);++rt<Le;)Ot[rt]=lt(rt);return Ot}function Wn(Le){return Le&&Le.slice(0,ju(Le)+1).replace(Et,"")}function L(Le){return function(lt){return Le(lt)}}function U(Le,lt){return gr(lt,function(rt){return Le[rt]})}function w(Le,lt){return Le.has(lt)}function ee(Le,lt){for(var rt=-1,Ot=Le.length;++rt<Ot&&bi(lt,Le[rt],0)>-1;);return rt}function Ie(Le,lt){for(var rt=Le.length;rt--&&bi(lt,Le[rt],0)>-1;);return rt}var Sn=xr({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015
1a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),Ur=xr({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Us(Le){return"\\"+Fs[Le]}function Bo(Le){return os.test(Le)}function Ss(Le){var lt=-1,rt=Array(Le.size);return Le.forEach(function(Ot,yn){rt[++lt]=[yn,Ot]}),rt}function Gr(Le,lt){return function(rt){return Le(lt(rt))}}function Mr(Le,lt){for(var rt=-1,Ot=Le.length,yn=0,tr=[];++rt<Ot;){var Ir=Le[rt];(Ir===lt||Ir===k)&&(Le[rt]=k,tr[yn++]=rt)}return tr}function ro(Le){var lt=-1,rt=Array(Le.size);return Le.forEach(function(Ot){rt[++lt]=Ot}),rt}function Do(Le){return Bo(Le)?function ou(Le){for(var lt=aa.lastIndex=0;aa.test(Le);)++lt;return lt}(Le):ws(Le)}function Vr(Le){return Bo(Le)?function Vs(Le){return Le.match(aa)||[]}(Le):function ai(Le){return Le.split("")}(Le)}function ju(Le){for(var lt=Le.length;lt--&&cn.test(Le.charAt(lt)););return lt}var la=xr({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),mi=function Le(lt){var o,rt=(lt=null==lt?Dr:mi.defaults(Dr.Object(),lt,mi.pick(Dr,Ps))).Array,Ot=lt.Date,yn=lt.Error,tr=lt.Function,Ir=lt.Math,dr=lt.Object,La=lt.RegExp,su=lt.String,io=lt.TypeError,ca=rt.prototype,cs=dr.prototype,ds=lt["__core-js_shared__"],Gn=tr.prototype.toString,at=cs.hasOwnProperty,en=0,Ar=(o=/[^.]+$/.exec(ds&&ds.keys&&ds.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",Pr=cs.toString,jr=Gn.call(dr),vi=Dr._,_o=La("^"+Gn.call(at).replace(Ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nr=ks?lt.Buffer:l,Jn=lt.Symbol,Kr=lt.Uint8Array,tn=nr?nr.allocUnsafe:l,ji=Gr(dr.getPrototypeOf,dr),da=dr.create,Co=cs.propertyIsEnumerable,Zn=ca.splice,Jo=Jn?Jn.isConcatSpreadable:l,oo=Jn?Jn.iterator:l,v=Jn?Jn.toStringTag:l,K=function(){try{var o=Ka(dr,"defineProperty");return o({},"",{}),o}catch{}}(),C=lt.clearTimeout!==Dr.clearTimeout&&lt.clearTimeout,F=Ot&&Ot.now!==Dr.Date.now&&Ot.now,ue=lt.setTimeout!==Dr.setTimeout&&lt.setTimeout,We=Ir.ceil,Je=Ir.floor,nt=dr.getOwnPropertySymbols,Kn=nr?nr.isBuffer:l,Bn=lt.isFinite,Ln=ca.join,bn=Gr(dr.keys,dr),vn=Ir.max,Ht=Ir.min,rn=Ot.now,fr=lt.parseInt,Mi=Ir.random,ni=ca.reverse,Oi=Ka(lt,"DataView"),Hr=Ka(lt,"Map"),ui=Ka(lt,"Promise"),Hi=Ka(lt,"Set"),Ts=Ka(lt,"WeakMap"),yi=Ka(dr,"create"),js=Ts&&new Ts,Hs={},Hu=Zs(Oi),gd=Zs(Hr),fs=Zs(ui),_h=Zs(Hi),Em=Zs(Ts),Ul=Jn?Jn.prototype:l,$u=Ul?Ul.valueOf:l,Vl=Ul?Ul.toString:l;function te(o){if(Or(o)&&!Zt(o)&&!(o instanceof Qn)){if(o instanceof Uo)return o;if(at.call(o,"__wrapped__"))return rp(o)}return new Uo(o)}var $s=function(){function o(){}return function(a){if(!_r(a))return{};if(da)return da(a);o.prototype=a;var h=new o;return o.prototype=l,h}}();function Wu(){}function Uo(o,a){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=l}function Qn(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$t,this.__views__=[]}function ka(o){var a=-1,h=null==o?0:o.length;for(this.clear();++a<h;){var A=o[a];this.set(A[0],A[1])}}function qo(o){var a=-1,h=null==o?0:o.length;for(this.clear();++a<h;){var A=o[a];this.set(A[0],A[1])}}function Vo(o){var a=-1,h=null==o?0:o.length;for(this.clear();++a<h;){var A=o[a];this.set(A[0],A[1])}}function bs(o){var a=-1,h=null==o?0:o.length;for(this.__data__=new Vo;++a<h;)this.add(o[a])}function jo(o){var a=this.__data__=new qo(o);this.size=a.size}function J(o,a){var h=Zt(o),A=!h&&Iu(o),X=!h&&!A&&$o(o),oe=!h&&!A&&!X&&Su(o),_e=h||A||X||oe,Me=_e?Bs(o.length,su):[],Ve=Me.length;for(var pt in o)(a||at.call(o,pt))&&(!_e||!("length"==pt||X&&("offset"==pt||"parent"==pt)||oe&&("buffer"==pt||"byteLength"==pt||"byteOffset"==pt)||Os(pt,Ve)))&&Me.push(pt);return Me}function ce(o){var a=o.length;return a?o[ci(0,a-1)]:l}function Ze(o,a){return mu(To(o),Io(a,0,o.length))}function Be(o){return mu(To(o))}function bt(o,a,h){(h!==l&&!co(o[a],h)||h===l&&!(a in o))&&Sr(o,a,h)}function Jt(o,a,h){var A=o[a];(!at.call(o,a)||!co(A,h)||h===l&&!(a in o))&&Sr(o,a,h)}function fn(o,a){for(var h=o.length;h--;)if(co(o[h][0],a))return h;return-1}function ur(o,a,h,A){return Va(o,function(X,oe,_e){a(A,X,h(X),_e)}),A}function $i(o,a){return o&&ts(a,Di(a),o)}function Sr(o,a,h){"__proto__"==a&&K?K(o,a,{configurable:!0,enumerable:!0,value:h,writable:!0}):o[a]=h}function Wi(o,a){for(var h=-1,A=a.length,X=rt(A),oe=null==o;++h<A;)X[h]=oe?l:Zp(o,a[h]);return X}function Io(o,a,h){return o==o&&(h!==l&&(o=o<=h?o:h),a!==l&&(o=o>=a?o:a)),o}function Ao(o,a,h,A,X,oe){var _e,Me=1&a,Ve=2&a,pt=4&a;if(h&&(_e=X?h(o,A,X,oe):h(o)),_e!==l)return _e;if(!_r(o))return o;var gt=Zt(o);if(gt){if(_e=function v0(o){var a=o.length,h=new o.constructor(a);return a&&"string"==typeof o[0]&&at.call(o,"index")&&(h.index=o.index,h.input=o.input),h}(o),!Me)return To(o,_e)}else{var yt=ao(o),Bt=yt==Wt||yt==Ee;if($o(o))return Ld(o,Me);if(yt==Oe||yt==we||Bt&&!X){if(_e=Ve||Bt?{}:zh(o),!Me)return Ve?function m0(o,a){return ts(o,Wh(o),a)}(o,function li(o,a){return o&&ts(a,Xi(a),o)}(_e,o)):function nc(o,a){return ts(o,Hd(o),a)}(o,$i(_e,o))}else{if(!$n[yt])return X?o:{};_e=function y0(o,a,h){var A=o.constructor;switch(a){case Gt:return ec(o);case Ge:case mt:return new A(+o);case Ut:return function du(o,a){var h=a?ec(o.buffer):o.buffer;return new o.constructor(h,o.byteOffset,o.byteLength)}(o,h);case Qt:case Rt:case Tn:case St:case rr:case un:case Cr:case Rn:case hi:return ga(o,h);case Pe:return new A;case q:case Ft:return new A(o);case wn:return function Lh(o){var a=new o.constructor(o.source,Kt.exec(o));return a.lastIndex=o.lastIndex,a}(o);case ct:return new A;case Hn:return function kd(o){return $u?dr($u.call(o)):{}}(o)}}(o,yt,Me)}}oe||(oe=new jo);var qt=oe.get(o);if(qt)return qt;
1oe.set(o,_e),Hp(o)?o.forEach(function(mn){_e.add(Ao(mn,a,h,mn,o,oe))}):gf(o)&&o.forEach(function(mn,zn){_e.set(zn,Ao(mn,a,h,zn,o,oe))});var Pn=gt?l:(pt?Ve?al:dc:Ve?Xi:Di)(o);return Wr(Pn||o,function(mn,zn){Pn&&(mn=o[zn=mn]),Jt(_e,zn,Ao(mn,a,h,zn,o,oe))}),_e}function Ku(o,a,h){var A=h.length;if(null==o)return!A;for(o=dr(o);A--;){var X=h[A],_e=o[X];if(_e===l&&!(X in o)||!(0,a[X])(_e))return!1}return!0}function Gl(o,a,h){if("function"!=typeof o)throw new io(x);return dl(function(){o.apply(l,h)},a)}function Ua(o,a,h,A){var X=-1,oe=Lo,_e=!0,Me=o.length,Ve=[],pt=a.length;if(!Me)return Ve;h&&(a=gr(a,L(h))),A?(oe=us,_e=!1):a.length>=200&&(oe=w,_e=!1,a=new bs(a));e:for(;++X<Me;){var gt=o[X],yt=null==h?gt:h(gt);if(gt=A||0!==gt?gt:0,_e&&yt==yt){for(var Bt=pt;Bt--;)if(a[Bt]===yt)continue e;Ve.push(gt)}else oe(a,yt,A)||Ve.push(gt)}return Ve}te.templateSettings={escape:In,evaluate:kt,interpolate:lr,variable:"",imports:{_:te}},(te.prototype=Wu.prototype).constructor=te,(Uo.prototype=$s(Wu.prototype)).constructor=Uo,(Qn.prototype=$s(Wu.prototype)).constructor=Qn,ka.prototype.clear=function _m(){this.__data__=yi?yi(null):{},this.size=0},ka.prototype.delete=function Ch(o){var a=this.has(o)&&delete this.__data__[o];return this.size-=a?1:0,a},ka.prototype.get=function md(o){var a=this.__data__;if(yi){var h=a[o];return h===T?l:h}return at.call(a,o)?a[o]:l},ka.prototype.has=function vd(o){var a=this.__data__;return yi?a[o]!==l:at.call(a,o)},ka.prototype.set=function yd(o,a){var h=this.__data__;return this.size+=this.has(o)?0:1,h[o]=yi&&a===l?T:a,this},qo.prototype.clear=function Ed(){this.__data__=[],this.size=0},qo.prototype.delete=function Dd(o){var a=this.__data__,h=fn(a,o);return!(h<0||(h==a.length-1?a.pop():Zn.call(a,h,1),--this.size,0))},qo.prototype.get=function Hl(o){var a=this.__data__,h=fn(a,o);return h<0?l:a[h][1]},qo.prototype.has=function $l(o){return fn(this.__data__,o)>-1},qo.prototype.set=function wh(o,a){var h=this.__data__,A=fn(h,o);return A<0?(++this.size,h.push([o,a])):h[A][1]=a,this},Vo.prototype.clear=function Wl(){this.size=0,this.__data__={hash:new ka,map:new(Hr||qo),string:new ka}},Vo.prototype.delete=function wo(o){var a=fc(this,o).delete(o);return this.size-=a?1:0,a},Vo.prototype.get=function _d(o){return fc(this,o).get(o)},Vo.prototype.has=function Cd(o){return fc(this,o).has(o)},Vo.prototype.set=function qn(o,a){var h=fc(this,o),A=h.size;return h.set(o,a),this.size+=h.size==A?0:1,this},bs.prototype.add=bs.prototype.push=function Ba(o){return this.__data__.set(o,T),this},bs.prototype.has=function Ri(o){return this.__data__.has(o)},jo.prototype.clear=function p(){this.__data__=new qo,this.size=0},jo.prototype.delete=function E(o){var a=this.__data__,h=a.delete(o);return this.size=a.size,h},jo.prototype.get=function m(o){return this.__data__.get(o)},jo.prototype.has=function D(o){return this.__data__.has(o)},jo.prototype.set=function B(o,a){var h=this.__data__;if(h instanceof qo){var A=h.__data__;if(!Hr||A.length<199)return A.push([o,a]),this.size=++h.size,this;h=this.__data__=new Vo(A)}return h.set(o,a),this.size=h.size,this};var Va=Bh(Ms),Ih=Bh(Id,!0);function Cm(o,a){var h=!0;return Va(o,function(A,X,oe){return h=!!a(A,X,oe)}),h}function Kl(o,a,h){for(var A=-1,X=o.length;++A<X;){var oe=o[A],_e=a(oe);if(null!=_e&&(Me===l?_e==_e&&!Oo(_e):h(_e,Me)))var Me=_e,Ve=oe}return Ve}function fa(o,a){var h=[];return Va(o,function(A,X,oe){a(A,X,oe)&&h.push(A)}),h}function Ni(o,a,h,A,X){var oe=-1,_e=o.length;for(h||(h=zs),X||(X=[]);++oe<_e;){var Me=o[oe];a>0&&h(Me)?a>1?Ni(Me,a-1,h,A,X):vr(X,Me):A||(X[X.length]=Me)}return X}var wd=gs(),Sh=gs(!0);function Ms(o,a){return o&&wd(o,a,Di)}function Id(o,a){return o&&Sh(o,a,Di)}function tt(o,a){return Si(a,function(h){return bo(o[h])})}function on(o,a){for(var h=0,A=(a=pa(a,o)).length;null!=o&&h<A;)o=o[vs(a[h++])];return h&&h==A?o:l}function Ad(o,a,h){var A=a(o);return Zt(o)?A:vr(A,h(o))}function Gi(o){return null==o?o===l?"[object Undefined]":"[object Null]":v&&v in dr(o)?function $h(o){var a=at.call(o,v),h=o[v];try{o[v]=l;var A=!0}catch{}var X=Pr.call(o);return A&&(a?o[v]=h:delete o[v]),X}(o):function ep(o){return Pr.call(o)}(o)}function Mn(o,a){return o>a}function Th(o,a){return null!=o&&at.call(o,a)}function zu(o,a){return null!=o&&a in dr(o)}function Xu(o,a,h){for(var A=h?us:Lo,X=o[0].length,oe=o.length,_e=oe,Me=rt(oe),
vendor: 1,498 bytes, line 1
1Ve=1/0,pt=[];_e--;){var gt=o[_e];_e&&a&&(gt=gr(gt,L(a))),Ve=Ht(gt.length,Ve),Me[_e]=!h&&(a||X>=120&&gt.length>=120)?new bs(_e&&gt):l}gt=o[0];var yt=-1,Bt=Me[0];e:for(;++yt<X&&pt.length<Ve;){var qt=gt[yt],gn=a?a(qt):qt;if(qt=h||0!==qt?qt:0,!(Bt?w(Bt,gn):A(pt,gn,h))){for(_e=oe;--_e;){var Pn=Me[_e];if(!(Pn?w(Pn,gn):A(o[_e],gn,h)))continue e}Bt&&Bt.push(gn),pt.push(qt)}}return pt}function uu(o,a,h){var A=null==(o=pc(o,a=pa(a,o)))?o:o[vs(Ki(a))];return null==A?l:sr(A,o,h)}function wm(o){return Or(o)&&Gi(o)==we}function lu(o,a,h,A,X){return o===a||(null==o||null==a||!Or(o)&&!Or(a)?o!=o&&a!=a:function zl(o,a,h,A,X,oe){var _e=Zt(o),Me=Zt(a),Ve=_e?Qe:ao(o),pt=Me?Qe:ao(a),gt=(Ve=Ve==we?Oe:Ve)==Oe,yt=(pt=pt==we?Oe:pt)==Oe,Bt=Ve==pt;if(Bt&&$o(o)){if(!$o(a))return!1;_e=!0,gt=!1}if(Bt&&!gt)return oe||(oe=new jo),_e||Su(o)?jh(o,a,h,A,X,oe):function Hh(o,a,h,A,X,oe,_e){switch(h){case Ut:if(o.byteLength!=a.byteLength||o.byteOffset!=a.byteOffset)return!1;o=o.buffer,a=a.buffer;case Gt:return!(o.byteLength!=a.byteLength||!oe(new Kr(o),new Kr(a)));case Ge:case mt:case q:return co(+o,+a);case wt:return o.name==a.name&&o.message==a.message;case wn:case Ft:return o==a+"";case Pe:var Me=Ss;case ct:if(Me||(Me=ro),o.size!=a.size&&!(1&A))return!1;var pt=_e.get(o);if(pt)return pt==a;A|=2,_e.set(o,a);var gt=jh(Me(o),Me(a),A,X,oe,_e);return _e.delete(o),gt;case Hn:if($u)return $u.call(o)==$u.call(a)}return!1}(o,a,Ve,h,A,X,oe);if(!(1&h)){var qt=gt&&at.call(o,"__wrapped__"),gn=yt&&at.call(a,"__wrapped__");
vendor: 2,245 bytes, line 1
1if(qt||gn){var Pn=qt?o.value():o,mn=gn?a.value():a;return oe||(oe=new jo),X(Pn,mn,h,A,oe)}}return!!Bt&&(oe||(oe=new jo),function cc(o,a,h,A,X,oe){var _e=1&h,Me=dc(o),Ve=Me.length;if(Ve!=dc(a).length&&!_e)return!1;for(var yt=Ve;yt--;){var Bt=Me[yt];if(!(_e?Bt in a:at.call(a,Bt)))return!1}var qt=oe.get(o),gn=oe.get(a);if(qt&&gn)return qt==a&&gn==o;var Pn=!0;oe.set(o,a),oe.set(a,o);for(var mn=_e;++yt<Ve;){var zn=o[Bt=Me[yt]],er=a[Bt];if(A)var Wo=_e?A(er,zn,Bt,a,o,oe):A(zn,er,Bt,o,a,oe);if(!(Wo===l?zn===er||X(zn,er,h,A,oe):Wo)){Pn=!1;break}mn||(mn="constructor"==Bt)}if(Pn&&!mn){var ho=o.constructor,Go=a.constructor;ho!=Go&&"constructor"in o&&"constructor"in a&&!("function"==typeof ho&&ho instanceof ho&&"function"==typeof Go&&Go instanceof Go)&&(Pn=!1)}return oe.delete(o),oe.delete(a),Pn}(o,a,h,A,X,oe))}(o,a,h,A,lu,X))}function ps(o,a,h,A){var X=h.length,oe=X,_e=!A;if(null==o)return!oe;for(o=dr(o);X--;){var Me=h[X];if(_e&&Me[2]?Me[1]!==o[Me[0]]:!(Me[0]in o))return!1}for(;++X<oe;){var Ve=(Me=h[X])[0],pt=o[Ve],gt=Me[1];if(_e&&Me[2]){if(pt===l&&!(Ve in o))return!1}else{var yt=new jo;if(A)var Bt=A(pt,gt,Ve,o,a,yt);if(!(Bt===l?lu(gt,pt,3,A,yt):Bt))return!1}}return!0}function Td(o){return!(!_r(o)||function Qh(o){return!!Ar&&Ar in o}(o))&&(bo(o)?_o:Fi).test(Zs(o))}function bd(o){return"function"==typeof o?o:null==o?No:"object"==typeof o?Zt(o)?Qu(o[0],o[1]):Zl(o):Ru(o)}function Md(o){if(!Ho(o))return bn(o);var a=[];for(var h in dr(o))at.call(o,h)&&"constructor"!=h&&a.push(h);return a}function Zu(o,a){return o<a}function Xl(o,a){var h=-1,A=fo(o)?rt(o.length):[];return Va(o,function(X,oe,_e){A[++h]=a(X,oe,_e)}),A}function Zl(o){var a=hc(o);return 1==a.length&&a[0][2]?Jh(a[0][0],a[0][1]):function(h){return h===o||ps(h,o,a)}}function Qu(o,a){return ms(o)&&Yh(a)?Jh(vs(o),a):function(h){var A=Zp(h,o);return A===l&&A===a?Ya(h,o):lu(a,A,3)}}function Ql(o,a,h,A,X){o!==a&&wd(a,function(oe,_e){if(X||(X=new jo),_r(oe))!function Mh(o,a,h,A,X,oe,_e){var Me=Wd(o,h),Ve=Wd(a,h),pt=_e.get(Ve);if(pt)bt(o,h,pt);else{var gt=oe?oe(Me,Ve,h+"",o,a,_e):l,yt=gt===l;if(yt){var Bt=Zt(Ve),qt=!Bt&&$o(Ve),gn=!Bt&&!qt&&Su(Ve);gt=Ve,Bt||qt||gn?Zt(Me)?gt=Me:En(Me)?gt=To(Me):qt?(yt=!1,gt=Ld(Ve,!0)):gn?(yt=!1,gt=ga(Ve,!0)):gt=[]:Qa(Ve)||Iu(Ve)?(gt=Me,Iu(
vendor: 8,747 bytes, line 1
1Me)?gt=Ef(Me):(!_r(Me)||bo(Me))&&(gt=zh(Ve))):yt=!1}yt&&(_e.set(Ve,gt),X(gt,Ve,A,oe,_e),_e.delete(Ve)),bt(o,h,gt)}}(o,a,_e,h,Ql,A,X);else{var Me=A?A(Wd(o,_e),oe,_e+"",o,a,X):l;Me===l&&(Me=oe),bt(o,_e,Me)}},Xi)}function Yl(o,a){var h=o.length;if(h)return Os(a+=a<0?h:0,h)?o[a]:l}function Od(o,a,h){a=a.length?gr(a,function(oe){return Zt(oe)?function(_e){return on(_e,1===oe.length?oe[0]:oe)}:oe}):[No];var A=-1;return a=gr(a,L(hn())),function ko(Le,lt){var rt=Le.length;for(Le.sort(lt);rt--;)Le[rt]=Le[rt].value;return Le}(Xl(o,function(oe,_e,Me){return{criteria:gr(a,function(pt){return pt(oe)}),index:++A,value:oe}}),function(oe,_e){return function nl(o,a,h){for(var A=-1,X=o.criteria,oe=a.criteria,_e=X.length,Me=h.length;++A<_e;){var Ve=tc(X[A],oe[A]);if(Ve)return A>=Me?Ve:Ve*("desc"==h[A]?-1:1)}return o.index-a.index}(oe,_e,h)})}function Rd(o,a,h){for(var A=-1,X=a.length,oe={};++A<X;){var _e=a[A],Me=on(o,_e);h(Me,_e)&&Ju(oe,pa(_e,o),Me)}return oe}function Yu(o,a,h,A){var X=A?Is:bi,oe=-1,_e=a.length,Me=o;for(o===a&&(a=To(a)),h&&(Me=gr(o,L(h)));++oe<_e;)for(var Ve=0,pt=a[oe],gt=h?h(pt):pt;(Ve=X(Me,gt,Ve,A))>-1;)Me!==o&&Zn.call(Me,Ve,1),Zn.call(o,Ve,1);return o}function Nh(o,a){for(var h=o?a.length:0,A=h-1;h--;){var X=a[h];if(h==A||X!==oe){var oe=X;Os(X)?Zn.call(o,X,1):xd(o,X)}}return o}function ci(o,a){return o+Je(Mi()*(a-o+1))}function hr(o,a){var h="";if(!o||a<1||a>dt)return h;do{a%2&&(h+=o),(a=Je(a/2))&&(o+=o)}while(a);return h}function Un(o,a){return fl(Om(o,a,No),o+"")}function Sm(o){return ce(Ja(o))}function Tm(o,a){var h=Ja(o);return mu(h,Io(a,0,h.length))}function Ju(o,a,h,A){if(!_r(o))return o;for(var X=-1,oe=(a=pa(a,o)).length,_e=oe-1,Me=o;null!=Me&&++X<oe;){var Ve=vs(a[X]),pt=h;if("__proto__"===Ve||"constructor"===Ve||"prototype"===Ve)return o;if(X!=_e){var gt=Me[Ve];(pt=A?A(gt,Ve,Me):l)===l&&(pt=_r(gt)?gt:Os(a[X+1])?[]:{})}Jt(Me,Ve,pt),Me=Me[Ve]}return o}var Nd=js?function(o,a){return js.set(o,a),o}:No,xh=K?function(o,a){return K(o,"toString",{configurable:!0,enumerable:!1,value:Rf(a),writable:!0})}:No;function qu(o){return mu(Ja(o))}function zr(o,a,h){var A=-1,X=o.length;a<0&&(a=-a>X?0:X+a),(h=h>X?X:h)<0&&(h+=X),X=a>h?0:h-a>>>0,a>>>=0;for(var oe=rt(X);++A<X;)oe[A]=o[A+a];return oe}function bm(o,a){var h;return Va(o,function(A,X,oe){return!(h=a(A,X,oe))}),!!h}function Ha(o,a,h){var A=0,X=null==o?A:o.length;if("number"==typeof a&&a==a&&X<=2147483647){for(;A<X;){var oe=A+X>>>1,_e=o[oe];null!==_e&&!Oo(_e)&&(h?_e<=a:_e<a)?A=oe+1:X=oe}return X}return cu(o,a,No,h)}function cu(o,a,h,A){var X=0,oe=null==o?0:o.length;if(0===oe)return 0;for(var _e=(a=h(a))!=a,Me=null===a,Ve=Oo(a),pt=a===l;X<oe;){var gt=Je((X+oe)/2),yt=h(o[gt]),Bt=yt!==l,qt=null===yt,gn=yt==yt,Pn=Oo(yt);if(_e)var mn=A||gn;else mn=pt?gn&&(A||Bt):Me?gn&&Bt&&(A||!qt):Ve?gn&&Bt&&!qt&&(A||!Pn):!qt&&!Pn&&(A?yt<=a:yt<a);mn?X=gt+1:oe=gt}return Ht(oe,4294967294)}function el(o,a){for(var h=-1,A=o.length,X=0,oe=[];++h<A;){var _e=o[h],Me=a?a(_e):_e;if(!h||!co(Me,Ve)){var Ve=Me;oe[X++]=0===_e?0:_e}}return oe}function Jl(o){return"number"==typeof o?o:Oo(o)?NaN:+o}function So(o){if("string"==typeof o)return o;if(Zt(o))return gr(o,So)+"";if(Oo(o))return Vl?Vl.call(o):"";var a=o+"";return"0"==a&&1/o==-Dt?"-0":a}function Gs(o,a,h){var A=-1,X=Lo,oe=o.length,_e=!0,Me=[],Ve=Me;if(h)_e=!1,X=us;else if(oe>=200){var pt=a?null:ya(o);if(pt)return ro(pt);_e=!1,X=w,Ve=new bs}else Ve=a?[]:Me;e:for(;++A<oe;){var gt=o[A],yt=a?a(gt):gt;if(gt=h||0!==gt?gt:0,_e&&yt==yt){for(var Bt=Ve.length;Bt--;)if(Ve[Bt]===yt)continue e;a&&Ve.push(yt),Me.push(gt)}else X(Ve,yt,h)||(Ve!==Me&&Ve.push(yt),Me.push(gt))}return Me}function xd(o,a){return null==(o=pc(o,a=pa(a,o)))||delete o[vs(Ki(a))]}function $a(o,a,h,A){return Ju(o,a,h(on(o,a)),A)}function ha(o,a,h,A){for(var X=o.length,oe=A?X:-1;(A?oe--:++oe<X)&&a(o[oe],oe,o););return h?zr(o,A?0:oe,A?oe+1:X):zr(o,A?oe+1:0,A?X:oe)}function Ph(o,a){var h=o;return h instanceof Qn&&(h=h.value()),Cs(a,function(A,X){return X.func.apply(X.thisArg,vr([A],X.args))},h)}function tl(o,a,h){var A=o.length;if(A<2)return A?Gs(o[0]):[];for(var X=-1,oe=rt(A);++X<A;)for(var _e=o[X],Me=-1;++Me<A;)Me!=X&&(oe[X]=Ua(oe[X]||_e,o[Me],a,h));return Gs(Ni(oe,1),a,h)}function ql(o,a,h){for(var A=-1,X=o.length,oe=a.length,_e={};++A<X;)h(_e,o[A],A<oe?a[A]:l);return _e}function Pd(o){return En(o)?o:[]}function Fd(o){return"function"==typeof o?o:No}function pa(o,a){return Zt(o)?o:ms(o,a)?[o]:Gd(ar(o))}var g0=Un;function Wa(o,a,h){var A=o.length;return h=h===l?A:h,!a&&h>=A?o:zr(o,a,h)}var Fh=C||function(o){return Dr.clearTimeout(o)};function Ld(o,a){if(a)return o.slice();var h=o.length,A=tn?tn(h):new o.constructor(h);return o.copy(A),A}function ec(o){var a=new o.constructor(o.byteLength);return new Kr(a).set(new Kr(o)),a}function ga(o,a){var h=a?ec(o.buffer):o.buffer;return new o.constructor(h,o.byteOffset,o.length)}function tc(o,a){if(o!==a){var h=o!==l,A=null===o,X=o==o,oe=Oo(o),_e=a!==l,Me=null===a,Ve=a==a,pt=Oo(a);if(!Me&&!pt&&!oe&&o>a||oe&&_e&&Ve&&!Me&&!pt||A&&_e&&Ve||!h&&Ve||!X)return 1;if(!A&&!oe&&!pt&&o<a||pt&&h&&X&&!A&&!oe||Me&&h&&X||!_e&&X||!Ve)return-1}return 0}function kh(o,a,h,A){for(var X=-1,oe=o.length,_e=h.length,Me=-1,Ve=a.length,pt=vn(oe-_e,0),gt=rt(Ve+pt),yt=!A;++Me<Ve;)gt[Me]=a[Me];for(;++X<_e;)(yt||X<oe)&&(gt[h[X]]=o[X]);for(;pt--;)gt[Me++]=o[X++];return gt}function fu(o,a,h,A){for(var X=-1,oe=o.length,_e=-1,Me=h.length,Ve=-1,pt=a.length,gt=vn(oe-Me,0),yt=rt(gt+pt),Bt=!A;++X<gt;)yt[X]=o[X];for(var qt=X;++Ve<pt;)yt[qt+Ve]=a[Ve];for(;++_e<Me;)(Bt||X<oe)&&(yt[qt+h[_e]]=o[X++]);return yt}function To(o,a){var h=-1,A=o.length;for(a||(a=rt(A));++h<A;)a[h]=o[h];return a}function ts(o,a,h,A){var X=!h;h||(h={});for(var oe=-1,_e=a.length;++oe<_e;){var Me=a[oe],Ve=A?A(h[Me],o[Me],Me,h,o):l;Ve===l&&(Ve=o[Me]),X?Sr(h,Me,Ve):Jt(h,Me,Ve)}return h}function rl(o,a){return function(h,A){var X=Zt(h)?Br:ur,oe=a?a():{};return X(h,o,hn(A,2),oe)}}function Ga(o){return Un(function(a,h){var A=-1,X=h.length,oe=X>1?h[X-1]:l,_e=X>2?h[2]:l;for(oe=o.length>3&&"function"==typeof oe?(X--,oe):l,_e&&uo(h[0],h[1],_e)&&(oe=X<3?l:oe,X=1),a=dr(a);++A<X;){var Me=h[A];Me&&o(a,Me,A,oe)}return a})}function Bh(o,a){return function(h,A){if(null==h)return h;if(!fo(h))return o(h,A);for(var X=h.length,oe=a?X:-1,_e=dr(h);(a?oe--:++oe<X)&&!1!==A(_e[oe],oe,_e););return h}}function gs(o){return function(a,h,A){for(var X=-1,oe=dr(a),_e=A(a),Me=_e.length;Me--;){var Ve=_e[o?Me:++X];if(!1===h(oe[Ve],Ve,oe))break}return a}}function il(o){return function(a){var h=Bo(a=ar(a))?Vr(a):l,A=h?h[0]:a.charAt(0),X=h?Wa(h,1).join(""):a.slice(1);return A[o]()+X}}function ma(o){return function(a){return Cs(Of(ng(a).replace(Ra,"")),o,"")}}function hu(o){return function(){var a=arguments;switch(a.length){case 0:return new o;case 1:return new o(a[0]);case 2:return new o(a[0],a[1]);case 3:return new o(a[0],a[1],a[2]);case 4:return new o(a[0],a[1],a[2],a[3]);case 5:return new o(a[0],a[1],a[2],a[3],a[4]);case 6:return new o(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new o(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var h=$s(o.prototype),A=o.apply(h,a);return _r(A)?A:h}}function ic(o){return function(a,h,A){var X=dr(a);if(!fo(a)){var oe=hn(h,3);a=Di(a),h=function(Me){return oe(X[Me],Me,X)}}var _e=o(a,h,A);return _e>-1?X[oe?a[_e]:_e]:l}}function Uh(o){return Ks(function(a){var h=a.length,A=h,X=Uo.prototype.thru;for(o&&a.reverse();A--;){var oe=a[A];if("function"!=typeof oe)throw new io(x);if(X&&!_e&&"wrapper"==ul(oe))var _e=new Uo([],!0)}for(A=_e?A:h;++A<h;){var Me=ul(oe=a[A]),Ve="wrapper"==Me?pu(oe):l;_e=Ve&&Zh(Ve[0])&&424==Ve[1]&&!Ve[4].length&&1==Ve[9]?_e[ul(Ve[0])].apply(_e,Ve[3]):1==oe.length&&Zh(oe)?_e[Me]():_e.thru(oe)}return function(){var pt=arguments,gt=pt[0];if(_e&&1==pt.length&&Zt(gt))return _e.plant(gt).value();for(var yt=0,Bt=h?a[yt].apply(this,pt):gt;++yt<h;)Bt=a[yt].call(this,Bt);return Bt}})}function ol(o,a,h,A,X,oe,_e,Me,Ve,pt){var gt=a&Y,yt=1&a,Bt=2&a,qt=24&a,gn=512&a,Pn=Bt?l:hu(o);return function mn(){for(var zn=arguments.length,er=rt(zn),Wo=zn;Wo--;)er[Wo]=arguments[Wo];if(qt)var ho=gu(mn),Go=function Yt(Le,lt){for(var rt=Le.length,Ot=0;rt--;)Le[rt]===lt&&++Ot;return Ot}(er,ho);if(A&&(er=kh(er,A,X,qt)),oe&&(er=fu(er,oe,_e,qt)),zn-=Go,qt&&zn<pt){var Lr=Mr(er,ho);return Ud(o,a,ol,mn.placeholder,h,er,Lr,Me,Ve,pt-zn)}var Ns=yt?h:this,Ia=Bt?Ns[o]:o;return zn=er.length,Me?er=function gc(o,a){for(var h=o.length,A=Ht(a.length,h),X=To(o);A--;){var oe=a[A];o[A]=Os(oe,h)?X[oe]:l}return o}(er,Me):gn&&zn>1&&er.reverse(),gt&&Ve<zn&&(er.length=Ve),this&&this!==Dr&&this instanceof mn&&(Ia=Pn||hu(Ia)),Ia.apply(Ns,er)}}function Bd(o,a){return function(h,A){return function Sd(o,a,h,A){return Ms(o,function(X,oe,_e){a(A,h(X),oe,_e)}),A}(h,o,a(A),{})}}function sl(o,a){return function(h,A){var X;if(h===l&&A===l)return a;
vendor: 4,126 bytes, line 1
1if(h!==l&&(X=h),A!==l){if(X===l)return A;"string"==typeof h||"string"==typeof A?(h=So(h),A=So(A)):(h=Jl(h),A=Jl(A)),X=o(h,A)}return X}}function oc(o){return Ks(function(a){return a=gr(a,L(hn())),Un(function(h){var A=this;return o(a,function(X){return sr(X,A,h)})})})}function sc(o,a){var h=(a=a===l?" ":So(a)).length;if(h<2)return h?hr(a,o):a;var A=hr(a,We(o/Do(a)));return Bo(a)?Wa(Vr(A),0,o).join(""):A.slice(0,o)}function va(o){return function(a,h,A){return A&&"number"!=typeof A&&uo(a,h,A)&&(h=A=l),a=ns(a),h===l?(h=a,a=0):h=ns(h),function ja(o,a,h,A){for(var X=-1,oe=vn(We((a-o)/(h||1)),0),_e=rt(oe);oe--;)_e[A?oe:++X]=o,o+=h;return _e}(a,h,A=A===l?a<h?1:-1:ns(A),o)}}function uc(o){return function(a,h){return"string"==typeof a&&"string"==typeof h||(a=Ro(a),h=Ro(h)),o(a,h)}}function Ud(o,a,h,A,X,oe,_e,Me,Ve,pt){var gt=8&a;a|=gt?W:64,4&(a&=~(gt?64:W))||(a&=-4);var Pn=[o,a,X,gt?oe:l,gt?_e:l,gt?l:oe,gt?l:_e,Me,Ve,pt],mn=h.apply(l,Pn);return Zh(o)&&Tr(mn,Pn),mn.placeholder=A,tp(mn,o,a)}function lc(o){var a=Ir[o];return function(h,A){if(h=Ro(h),(A=null==A?0:Ht(Cn(A),292))&&Bn(h)){var X=(ar(h)+"e").split("e");return+((X=(ar(a(X[0]+"e"+(+X[1]+A)))+"e").split("e"))[0]+"e"+(+X[1]-A))}return a(h)}}var ya=Hi&&1/ro(new Hi([,-0]))[1]==Dt?function(o){return new Hi(o)}:xf;function Ea(o){return function(a){var h=ao(a);return h==Pe?Ss(a):h==ct?function Bl(Le){var lt=-1,rt=Array(Le.size);return Le.forEach(function(Ot){rt[++lt]=[Ot,Ot]}),rt}(a):function ua(Le,lt){return gr(lt,function(rt){return[rt,Le[rt]]})}(a,o(a))}}function pr(o,a,h,A,X,oe,_e,Me){var Ve=2&a;if(!Ve&&"function"!=typeof o)throw new io(x);var pt=A?A.length:0;if(pt||(a&=-97,A=X=l),_e=_e===l?_e:vn(Cn(_e),0),Me=Me===l?Me:Cn(Me),pt-=X?X.length:0,64&a){var gt=A,yt=X;A=X=l}var Bt=Ve?l:pu(o),qt=[o,a,h,A,X,gt,yt,oe,_e,Me];if(Bt&&function cl(o,a){var h=o[1],A=a[1],X=h|A;if(!(X<131)&&!(A==Y&&8==h||A==Y&&256==h&&o[7].length<=a[8]||384==A&&a[7].length<=a[8]&&8==h))return o;1&A&&(o[2]=a[2],X|=1&h?0:4);var Me=a[3];if(Me){var Ve=o[3];o[3]=Ve?kh(Ve,Me,a[4]):Me,o[4]=Ve?Mr(o[3],k):a[4]}(Me=a[5])&&(o[5]=(Ve=o[5])?fu(Ve,Me,a[6]):Me,o[6]=Ve?Mr(o[5],k):a[6]),(Me=a[7])&&(o[7]=Me),A&Y&&(o[8]=null==o[8]?a[8]:Ht(o[8],a[8])),null==o[9]&&(o[9]=a[9]),o[0]=a[0],o[1]=X}(qt,Bt),o=qt[0],a=qt[1],h=qt[2],A=qt[3],X=qt[4],!(Me=qt[9]=qt[9]===l?Ve?0:o.length:vn(qt[9]-pt,0))&&24&a&&(a&=-25),a&&1!=a)gn=8==a||16==a?function rc(o,a,h){var A=hu(o);return function X(){for(var oe=arguments.length,_e=rt(oe),Me=oe,Ve=gu(X);Me--;)_e[Me]=arguments[Me];var pt=oe<3&&_e[0]!==Ve&&_e[oe-1]!==Ve?[]:Mr(_e,Ve);return(oe-=pt.length)<h?Ud(o,a,ol,X.placeholder,l,_e,pt,l,l,h-oe):sr(this&&this!==Dr&&this instanceof X?A:o,this,_e)}}(o,a,Me):a!=W&&33!=a||X.length?ol.apply(l,qt):function ac(o,a,h,A){var X=1&a,oe=hu(o);return function _e(){for(var Me=-1,Ve=arguments.length,pt=-1,gt=A.length,yt=rt(gt+Ve),Bt=this&&this!==Dr&&this instanceof _e?oe:o;++pt<gt;)yt[pt]=A[pt];for(;Ve--;)yt[pt++]=arguments[++Me];return sr(Bt,X?h:this,yt)}}(o,a,h,A);else var gn=function Mm(o,a,h){var A=1&a,X=hu(o);return function oe(){return(this&&this!==Dr&&this instanceof oe?X:o).apply(A?h:this,arguments)}}(o,a,h);return tp((Bt?Nd:Tr)(gn,qt),o,a)}function Vh(o,a,h,A){return o===l||co(o,cs[h])&&!at.call(A,h)?a:o}function Vd(o,a,h,A,X,oe){return _r(o)&&_r(a)&&(oe.set(a,o),Ql(o,a,l,Vd,oe),oe.delete(a)),o}function jd(o){return Qa(o)?l:o}function jh(o,a,h,A,X,oe){var _e=1&h,Me=o.length,Ve=a.length;if(Me!=Ve&&!(_e&&Ve>Me))return!1;var pt=oe.get(o),gt=oe.get(a);if(pt&&gt)return pt==a&&gt==o;var yt=-1,Bt=!0,qt=2&h?new bs:l;for(oe.set(o,a),oe.set(a,o);++yt<Me;){var gn=o[yt],Pn=a[yt];if(A)var mn=_e?A(Pn,gn,yt,a,o,oe):A(gn,Pn,yt,o,a,oe);if(mn!==l){if(mn)continue;Bt=!1;break}if(qt){if(!Na(a,function(zn,er){if(!w(qt,er)&&(gn===zn||X(gn,zn,h,A,oe)))return qt.push(er)})){Bt=!1;break}}else if(gn!==Pn&&!X(gn,Pn,h,A,oe)){Bt=!1;break}}return oe.delete(o),oe.delete(a),Bt}function Ks(o){return fl(Om(o,l,Kd),o+"")}function dc(o){return Ad(o,Di,Hd)}function al(o){return Ad(o,Xi,Wh)}var pu=js?function(o){return js.get(o)}:xf;function ul(o){for(var a=o.name+"",h=Hs[a],A=at.call(Hs,a)?h.length:0;A--;){var X=h[A],oe=X.func;
vendor: 9,737 bytes, line 1
1if(null==oe||oe==o)return X.name}return a}function gu(o){return(at.call(te,"placeholder")?te:o).placeholder}function hn(){var o=te.iteratee||Nf;return o=o===Nf?bd:o,arguments.length?o(arguments[0],arguments[1]):o}function fc(o,a){var h=o.__data__;return function ll(o){var a=typeof o;return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==o:null===o}(a)?h["string"==typeof a?"string":"hash"]:h.map}function hc(o){for(var a=Di(o),h=a.length;h--;){var A=a[h],X=o[A];a[h]=[A,X,Yh(X)]}return a}function Ka(o,a){var h=function ls(Le,lt){return null==Le?l:Le[lt]}(o,a);return Td(h)?h:l}var Hd=nt?function(o){return null==o?[]:(o=dr(o),Si(nt(o),function(a){return Co.call(o,a)}))}:lg,Wh=nt?function(o){for(var a=[];o;)vr(a,Hd(o)),o=ji(o);return a}:lg,ao=Gi;function Xr(o,a,h){for(var A=-1,X=(a=pa(a,o)).length,oe=!1;++A<X;){var _e=vs(a[A]);if(!(oe=null!=o&&h(o,_e)))break;o=o[_e]}return oe||++A!=X?oe:!!(X=null==o?0:o.length)&&Dl(X)&&Os(_e,X)&&(Zt(o)||Iu(o))}function zh(o){return"function"!=typeof o.constructor||Ho(o)?{}:$s(ji(o))}function zs(o){return Zt(o)||Iu(o)||!!(Jo&&o&&o[Jo])}function Os(o,a){var h=typeof o;return!!(a=a??dt)&&("number"==h||"symbol"!=h&&po.test(o))&&o>-1&&o%1==0&&o<a}function uo(o,a,h){if(!_r(h))return!1;var A=typeof a;return!!("number"==A?fo(h)&&Os(a,h.length):"string"==A&&a in h)&&co(h[a],o)}function ms(o,a){if(Zt(o))return!1;var h=typeof o;return!("number"!=h&&"symbol"!=h&&"boolean"!=h&&null!=o&&!Oo(o))||$e.test(o)||!Ue.test(o)||null!=a&&o in dr(a)}function Zh(o){var a=ul(o),h=te[a];if("function"!=typeof h||!(a in Qn.prototype))return!1;if(o===h)return!0;var A=pu(h);return!!A&&o===A[0]}(Oi&&ao(new Oi(new ArrayBuffer(1)))!=Ut||Hr&&ao(new Hr)!=Pe||ui&&ao(ui.resolve())!=it||Hi&&ao(new Hi)!=ct||Ts&&ao(new Ts)!=br)&&(ao=function(o){var a=Gi(o),h=a==Oe?o.constructor:l,A=h?Zs(h):"";if(A)switch(A){case Hu:return Ut;case gd:return Pe;case fs:return it;case _h:return ct;case Em:return br}return a});var $d=ds?bo:cg;function Ho(o){var a=o&&o.constructor;return o===("function"==typeof a&&a.prototype||cs)}function Yh(o){return o==o&&!_r(o)}function Jh(o,a){return function(h){return null!=h&&h[o]===a&&(a!==l||o in dr(h))}}function Om(o,a,h){return a=vn(a===l?o.length-1:a,0),function(){for(var A=arguments,X=-1,oe=vn(A.length-a,0),_e=rt(oe);++X<oe;)_e[X]=A[a+X];X=-1;for(var Me=rt(a+1);++X<a;)Me[X]=A[X];return Me[a]=h(_e),sr(o,this,Me)}}function pc(o,a){return a.length<2?o:on(o,zr(a,0,-1))}function Wd(o,a){if(("constructor"!==a||"function"!=typeof o[a])&&"__proto__"!=a)return o[a]}var Tr=np(Nd),dl=ue||function(o,a){return Dr.setTimeout(o,a)},fl=np(xh);function tp(o,a,h){var A=a+"";return fl(o,function Xh(o,a){var h=a.length;if(!h)return o;var A=h-1;return a[A]=(h>1?"& ":"")+a[A],a=a.join(h>2?", ":" "),o.replace(xn,"{\n/* [wrapped with "+a+"] */\n")}(A,function Rm(o,a){return Wr(fe,function(h){var A="_."+h[0];a&h[1]&&!Lo(o,A)&&o.push(A)}),o.sort()}(function Kh(o){var a=o.match(An);return a?a[1].split(dn):[]}(A),h)))}function np(o){var a=0,h=0;return function(){var A=rn(),X=16-(A-h);if(h=A,X>0){if(++a>=800)return arguments[0]}else a=0;return o.apply(l,arguments)}}function mu(o,a){var h=-1,A=o.length,X=A-1;for(a=a===l?A:a;++h<a;){var oe=ci(h,X),_e=o[oe];o[oe]=o[h],o[h]=_e}return o.length=a,o}var Gd=function Xs(o){var a=df(o,function(A){return 500===h.size&&h.clear(),A}),h=a.cache;return a}(function(o){var a=[];return 46===o.charCodeAt(0)&&a.push(""),o.replace(ge,function(h,A,X,oe){a.push(X?oe.replace(Er,"$1"):A||h)}),a});function vs(o){if("string"==typeof o||Oo(o))return o;var a=o+"";return"0"==a&&1/o==-Dt?"-0":a}function Zs(o){if(null!=o){try{return Gn.call(o)}catch{}try{return o+""}catch{}}return""}function rp(o){if(o instanceof Qn)return o.clone();var a=new Uo(o.__wrapped__,o.__chain__);return a.__actions__=To(o.__actions__),a.__index__=o.__index__,a.__values__=o.__values__,a}var xm=Un(function(o,a){return En(o)?Ua(o,Ni(a,1,En,!0)):[]}),op=Un(function(o,a){var h=Ki(a);return En(h)&&(h=l),En(o)?Ua(o,Ni(a,1,En,!0),hn(h,2)):[]}),E0=Un(function(o,a){var h=Ki(a);return En(h)&&(h=l),En(o)?Ua(o,Ni(a,1,En,!0),l,h):[]});function za(o,a,h){var A=null==o?0:o.length;if(!A)return-1;var X=null==h?0:Cn(h);return X<0&&(X=vn(A+X,0)),yo(o,hn(a,3),X)}function vu(o,a,h){var A=null==o?0:o.length;if(!A)return-1;var X=A-1;return h!==l&&(X=Cn(h),X=h<0?vn(A+X,0):Ht(X,A-1)),yo(o,hn(a,3),X,!0)}function Kd(o){return null!=o&&o.length?Ni(o,1):[]}function km(o){return o&&o.length?o[0]:l}var mc=Un(function(o){var a=gr(o,Pd);return a.length&&a[0]===o[0]?Xu(a):[]}),lp=Un(function(o){var a=Ki(o),h=gr(o,Pd);return a===Ki(h)?a=l:h.pop(),h.length&&h[0]===o[0]?Xu(h,hn(a,2)):[]}),Bm=Un(function(o){var a=Ki(o),h=gr(o,Pd);return(a="function"==typeof a?a:l)&&h.pop(),h.length&&h[0]===o[0]?Xu(h,l,a):[]});function Ki(o){var a=null==o?0:o.length;return a?o[a-1]:l}var cp=Un(yu);function yu(o,a){return o&&o.length&&a&&a.length?Yu(o,a):o}var vc=Ks(function(o,a){var h=null==o?0:o.length,A=Wi(o,a);return Nh(o,gr(a,function(X){return Os(X,h)?+X:X}).sort(tc)),A});function Zd(o){return null==o?o:ni.call(o)}var Jd=Un(function(o){return Gs(Ni(o,1,En,!0))}),pp=Un(function(o){var a=Ki(o);return En(a)&&(a=l),Gs(Ni(o,1,En,!0),hn(a,2))}),Gm=Un(function(o){var a=Ki(o);return a="function"==typeof a?a:l,Gs(Ni(o,1,En,!0),l,a)});function qd(o){if(!o||!o.length)return[];var a=0;return o=Si(o,function(h){if(En(h))return a=vn(h.length,a),!0}),Bs(a,function(h){return gr(o,mr(h))})}function ef(o,a){if(!o||!o.length)return[];var h=qd(o);return null==a?h:gr(h,function(A){return sr(a,l,A)})}var zm=Un(function(o,a){return En(o)?Ua(o,a):[]}),Xm=Un(function(o){return tl(Si(o,En))}),Zm=Un(function(o){var a=Ki(o);return En(a)&&(a=l),tl(Si(o,En),hn(a,2))}),Qm=Un(function(o){var a=Ki(o);return a="function"==typeof a?a:l,tl(Si(o,En),l,a)}),vp=Un(qd),Dc=Un(function(o){var a=o.length,h=a>1?o[a-1]:l;return h="function"==typeof h?(o.pop(),h):l,ef(o,h)});function tf(o){var a=te(o);return a.__chain__=!0,a}function pl(o,a){return a(o)}var _p=Ks(function(o){var a=o.length,h=a?o[0]:0,A=this.__wrapped__,X=function(oe){return Wi(oe,o)};return!(a>1||this.__actions__.length)&&A instanceof Qn&&Os(h)?((A=A.slice(h,+h+(a?1:0))).__actions__.push({func:pl,args:[X],thisArg:l}),new Uo(A,this.__chain__).thru(function(oe){return a&&!oe.length&&oe.push(l),oe})):this.thru(X)}),tv=rl(function(o,a,h){at.call(o,h)?++o[h]:Sr(o,h,1)}),rv=ic(za),Ip=ic(vu);function Xa(o,a){return(Zt(o)?Wr:Va)(o,hn(a,3))}function Ap(o,a){return(Zt(o)?_s:Ih)(o,hn(a,3))}var rf=rl(function(o,a,h){at.call(o,h)?o[h].push(a):Sr(o,h,[a])}),S0=Un(function(o,a,h){var A=-1,X="function"==typeof a,oe=fo(o)?rt(o.length):[];return Va(o,function(_e){oe[++A]=X?sr(a,_e,h):uu(_e,a,h)}),oe}),T0=rl(function(o,a,h){Sr(o,h,a)});function _c(o,a){return(Zt(o)?gr:Xl)(o,hn(a,3))}var Tp=rl(function(o,a,h){o[h?0:1].push(a)},function(){return[[],[]]}),Cc=Un(function(o,a){if(null==o)return[];var h=a.length;return h>1&&uo(o,a[0],a[1])?a=[]:h>2&&uo(a[0],a[1],a[2])&&(a=[a[0]]),Od(o,Ni(a,1),[])}),Du=F||function(){return Dr.Date.now()};function ml(o,a,h){return a=h?l:a,pr(o,Y,l,l,l,l,a=o&&null==a?o.length:a)}function Ys(o,a){var h;if("function"!=typeof a)throw new io(x);return o=Cn(o),function(){return--o>0&&(h=a.apply(this,arguments)),o<=1&&(a=l),h}}var vl=Un(function(o,a,h){var A=1;if(h.length){var X=Mr(h,gu(vl));A|=W}return pr(o,A,a,h,X)}),yl=Un(function(o,a,h){var A=3;if(h.length){var X=Mr(h,gu(yl));A|=W}return pr(a,A,o,h,X)});function Ic(o,a,h){var A,X,oe,_e,Me,Ve,pt=0,gt=!1,yt=!1,Bt=!0;if("function"!=typeof o)throw new io(x);function qt(Lr){var Ns=A,Ia=X;return A=X=l,pt=Lr,_e=o.apply(Ia,Ns)}function mn(Lr){var Ns=Lr-Ve;return Ve===l||Ns>=a||Ns<0||yt&&Lr-pt>=oe}function zn(){var Lr=Du();if(mn(Lr))return er(Lr);Me=dl(zn,function Pn(Lr){var Vc=a-(Lr-Ve);return yt?Ht(Vc,oe-(Lr-pt)):Vc}(Lr))}function er(Lr){return Me=l,Bt&&A?qt(Lr):(A=X=l,_e)}function Go(){var Lr=Du(),Ns=mn(Lr);if(A=arguments,X=this,Ve=Lr,Ns){if(Me===l)return function gn(Lr){return pt=Lr,Me=dl(zn,a),gt?qt(Lr):_e}(Ve);if(yt)return Fh(Me),Me=dl(zn,a),qt(Ve)}return Me===l&&(Me=dl(zn,a)),_e}return a=Ro(a)||0,_r(h)&&(gt=!!h.leading,oe=(yt="maxWait"in h)?vn(Ro(h.maxWait)||0,a):oe,Bt="trailing"in h?!!h.trailing:Bt),Go.cancel=function Wo(){Me!==l&&Fh(Me),pt=0,A=Ve=X=Me=l},Go.flush=function ho(){return Me===l?_e:er(Du())},Go}var Ac=Un(function(o,a){return Gl(o,1,a)}),Mp=Un(function(o,a,h){return Gl(o,Ro(a)||0,h)});function df(o,a){if("function"!=typeof o||null!=a&&"function"!=typeof a)throw new io(x);var h=function(){var A=arguments,X=a?a.apply(this,A):A[0],oe=h.cache;if(oe.has(X))return oe.get(X);var _e=o.apply(this,A);return h.cache=oe.set(X,_e)||oe,_e};return h.cache=new(df.Cache||Vo),h}function Js(o){if("function"!=typeof o)throw new io(x);return function(){var a=arguments;switch(a.length){case 0:return!o.call(this);case 1:return!o.call(this,a[0]);case 2:return!o.call(this,a[0],a[1]);case 3:return!o.call(this,a[0],a[1],a[2])}return!o.apply(this,a)}}df.Cache=Vo;var Rp=g0(function(o,a){var h=(a=1==a.length&&Zt(a[0])?gr(a[0],L(hn())):gr(Ni(a,1),L(hn()))).length;return Un(function(A){for(var X=-1,oe=Ht(A.length,h);++X<oe;)A[X]=a[X].call(this,A[X]);return sr(o,this,A)})}),Sc=Un(function(o,a){var h=Mr(a,gu(Sc));return pr(o,W,l,a,h)}),Tc=Un(function(o,a){var h=Mr(a,gu(Tc));return pr(o,64,l,a,h)}),Np=Ks(function(o,a){return pr(o,256,l,l,l,a)});function co(o,a){return o===a||o!=o&&a!=a}var uv=uc(Mn),kp=uc(function(o,a){return o>=a}),Iu=wm(function(){return arguments}())?wm:function(o){return Or(o)&&at.call(o,"callee")&&!Co.call(o,"callee")},Zt=rt.isArray,bc=vo?L(vo):function p0(o){return Or(o)&&Gi(o)==Gt};function fo(o){return null!=o&&Dl(o.length)&&!bo(o)}function En(o){return Or(o)&&fo(o)}var $o=Kn||cg,Da=to?L(to):function bh(o){return Or(o)&&Gi(o)==mt};
1function _a(o){if(!Or(o))return!1;var a=Gi(o);return a==wt||"[object DOMException]"==a||"string"==typeof o.message&&"string"==typeof o.name&&!Qa(o)}function bo(o){if(!_r(o))return!1;var a=Gi(o);return a==Wt||a==Ee||"[object AsyncFunction]"==a||"[object Proxy]"==a}function Bp(o){return"number"==typeof o&&o==Cn(o)}function Dl(o){return"number"==typeof o&&o>-1&&o%1==0&&o<=dt}function _r(o){var a=typeof o;return null!=o&&("object"==a||"function"==a)}function Or(o){return null!=o&&"object"==typeof o}var gf=Ai?L(Ai):function so(o){return Or(o)&&ao(o)==Pe};function Vp(o){return"number"==typeof o||Or(o)&&Gi(o)==q}function Qa(o){if(!Or(o)||Gi(o)!=Oe)return!1;var a=ji(o);if(null===a)return!0;var h=at.call(a,"constructor")&&a.constructor;return"function"==typeof h&&h instanceof h&&Gn.call(h)==jr}var Oc=Qo?L(Qo):function es(o){return Or(o)&&Gi(o)==wn},Hp=si?L(si):function Ws(o){return Or(o)&&ao(o)==ct};function mf(o){return"string"==typeof o||!Zt(o)&&Or(o)&&Gi(o)==Ft}function Oo(o){return"symbol"==typeof o||Or(o)&&Gi(o)==Hn}var Su=no?L(no):function Im(o){return Or(o)&&Dl(o.length)&&!!Yn[Gi(o)]},yf=uc(Zu),Tu=uc(function(o,a){return o<=a});function Cl(o){if(!o)return[];if(fo(o))return mf(o)?Vr(o):To(o);if(oo&&o[oo])return function As(Le){for(var lt,rt=[];!(lt=Le.next()).done;)rt.push(lt.value);return rt}(o[oo]());var a=ao(o);return(a==Pe?Ss:a==ct?ro:Ja)(o)}function ns(o){return o?(o=Ro(o))===Dt||o===-Dt?17976931348623157e292*(o<0?-1:1):o==o?o:0:0===o?o:0}function Cn(o){var a=ns(o),h=a%1;return a==a?h?a-h:a:0}function Nc(o){return o?Io(Cn(o),0,$t):0}function Ro(o){if("number"==typeof o)return o;if(Oo(o))return NaN;if(_r(o)){var a="function"==typeof o.valueOf?o.valueOf():o;o=_r(a)?a+"":a}if("string"!=typeof o)return 0===o?o:+o;o=Wn(o);var h=Ci.test(o);return h||Li.test(o)?Ls(o.slice(2),h?2:8):Zi.test(o)?NaN:+o}function Ef(o){return ts(o,Xi(o))}function ar(o){return null==o?"":So(o)}var pv=Ga(function(o,a){if(Ho(a)||fo(a))ts(a,Di(a),o);else for(var h in a)at.call(a,h)&&Jt(o,h,a[h])}),Wp=Ga(function(o,a){ts(a,Xi(a),o)}),qs=Ga(function(o,a,h,A){ts(a,Xi(a),o,A)}),wl=Ga(function(o,a,h,A){ts(a,Di(a),o,A)}),R0=Ks(Wi),gv=Un(function(o,a){o=dr(o);var h=-1,A=a.length,X=A>2?a[2]:l;for(X&&uo(a[0],a[1],X)&&(A=1);++h<A;)for(var oe=a[h],_e=Xi(oe),Me=-1,Ve=_e.length;++Me<Ve;){var pt=_e[Me],gt=o[pt];(gt===l||co(gt,cs[pt])&&!at.call(o,pt))&&(o[pt]=oe[pt])}return o}),Kp=Un(function(o){return o.push(l,Vd),sr(bu,l,o)});function Zp(o,a,h){var A=null==o?l:on(o,a);return A===l?h:A}function Ya(o,a){return null!=o&&Xr(o,a,zu)}var yv=Bd(function(o,a,h){null!=a&&"function"!=typeof a.toString&&(a=Pr.call(a)),o[a]=h},Rf(No)),Qp=Bd(function(o,a,h){null!=a&&"function"!=typeof a.toString&&(a=Pr.call(a)),at.call(o,a)?o[a].push(h):o[a]=[h]},hn),Ev=Un(uu);function Di(o){return fo(o)?J(o):Md(o)}function Xi(o){return fo(o)?J(o,!0):function Am(o){if(!_r(o))return function qh(o){var a=[];if(null!=o)for(var h in dr(o))a.push(h);return a}(o);var a=Ho(o),h=[];for(var A in o)"constructor"==A&&(a||!at.call(o,A))||h.push(A);return h}(o)}var _v=Ga(function(o,a,h){Ql(o,a,h)}),bu=Ga(function(o,a,h,A){Ql(o,a,h,A)}),Jp=Ks(function(o,a){var h={};if(null==o)return h;var A=!1;a=gr(a,function(oe){return oe=pa(oe,o),A||(A=oe.length>1),oe}),ts(o,al(o),h),A&&(h=Ao(h,7,jd));for(var X=a.length;X--;)xd(h,a[X]);return h}),Cv=Ks(function(o,a){return null==o?{}:function Oh(o,a){return Rd(o,a,function(h,A){return Ya(o,A)})}(o,a)});function wv(o,a){if(null==o)return{};var h=gr(al(o),function(A){return[A]});return a=hn(a),Rd(o,h,function(A,X){return a(A,X[0])})}var qp=Ea(Di),Al=Ea(Xi);function Ja(o){return null==o?[]:U(o,Di(o))}var qa=ma(function(o,a,h){return a=a.toLowerCase(),o+(h?If(a):a)});function If(o){return Lc(ar(o).toLowerCase())}function ng(o){return(o=ar(o))&&o.replace(Dn,Sn).replace(sa,"")}var rg=ma(function(o,a,h){return o+(h?"-":"")+a.toLowerCase()}),bv=ma(function(o,a,h){return o+(h?" ":"")+a.toLowerCase()}),Mv=il("toLowerCase"),ig=ma(function(o,a,h){return o+(h?"_":"")+a.toLowerCase()}),Tf=ma(function(o,a,h){return o+(h?" ":"")+Lc(a)}),og=ma(function(o,a,h){return o+(h?" ":"")+a.toUpperCase()}),Lc=il("toUpperCase");function Of(o,a,h){return o=ar(o),(a=h?l:a)===l?function ru(Le){return eo.test(Le)}(o)?function Pa(Le){return Le.match(kr)||[]}(o):function kn(Le){return Le.match(Rr)||[]}(o):o.match(a)||[]}var wa=Un(function(o,a){try{return sr(o,l,a)}catch(h){return _a(h)?h:new yn(h)}}),kv=Ks(function(o,a){return Wr(a,function(h){h=vs(h),Sr(o,h,vl(o[h],o))}),o});function Rf(o){return function(){return o}}var ta=Uh(),Ou=Uh(!0);function No(o){return o}
1function Nf(o){return bd("function"==typeof o?o:Ao(o,1))}var $v=Un(function(o,a){return function(h){return uu(h,o,a)}}),Wv=Un(function(o,a){return function(h){return uu(o,h,a)}});function kc(o,a,h){var A=Di(a),X=tt(a,A);null==h&&(!_r(a)||!X.length&&A.length)&&(h=a,a=o,o=this,X=tt(a,Di(a)));var oe=!(_r(h)&&"chain"in h&&!h.chain),_e=bo(o);return Wr(X,function(Me){var Ve=a[Me];o[Me]=Ve,_e&&(o.prototype[Me]=function(){var pt=this.__chain__;if(oe||pt){var gt=o(this.__wrapped__);return(gt.__actions__=To(this.__actions__)).push({func:Ve,args:arguments,thisArg:o}),gt.__chain__=pt,gt}return Ve.apply(o,vr([this.value()],arguments))})}),o}function xf(){}var zv=oc(gr),Bc=oc(Fo),na=oc(Na);function Ru(o){return ms(o)?mr(vs(o)):function Rh(o){return function(a){return on(a,o)}}(o)}var ag=va(),ug=va(!0);function lg(){return[]}function cg(){return!1}var Xv=sl(function(o,a){return o+a},0),Zv=lc("ceil"),Qv=sl(function(o,a){return o/a},1),Yv=lc("floor"),Uc=sl(function(o,a){return o*a},1),gg=lc("round"),Lf=sl(function(o,a){return o-a},0);return te.after=function gl(o,a){if("function"!=typeof a)throw new io(x);return o=Cn(o),function(){if(--o<1)return a.apply(this,arguments)}},te.ary=ml,te.assign=pv,te.assignIn=Wp,te.assignInWith=qs,te.assignWith=wl,te.at=R0,te.before=Ys,te.bind=vl,te.bindAll=kv,te.bindKey=yl,te.castArray=function wu(){if(!arguments.length)return[];var o=arguments[0];return Zt(o)?o:[o]},te.chain=tf,te.chunk=function ip(o,a,h){a=(h?uo(o,a,h):a===l)?1:vn(Cn(a),0);var A=null==o?0:o.length;if(!A||a<1)return[];for(var X=0,oe=0,_e=rt(We(A/a));X<A;)_e[oe++]=zr(o,X,X+=a);return _e},te.compact=function Nm(o){for(var a=-1,h=null==o?0:o.length,A=0,X=[];++a<h;){var oe=o[a];oe&&(X[A++]=oe)}return X},te.concat=function Qs(){var o=arguments.length;if(!o)return[];for(var a=rt(o-1),h=arguments[0],A=o;A--;)a[A-1]=arguments[A];return vr(Zt(h)?To(h):[h],Ni(a,1))},te.cond=function Bv(o){var a=null==o?0:o.length,h=hn();return o=a?gr(o,function(A){if("function"!=typeof A[1])throw new io(x);return[h(A[0]),A[1]]}):[],Un(function(A){for(var X=-1;++X<a;){var oe=o[X];if(sr(oe[0],this,A))return sr(oe[1],this,A)}})},te.conforms=function Uv(o){return function an(o){var a=Di(o);return function(h){return Ku(h,o,a)}}(Ao(o,1))},te.constant=Rf,te.countBy=tv,te.create=function Gp(o,a){var h=$s(o);return null==a?h:$i(h,a)},te.curry=function _u(o,a,h){var A=pr(o,8,l,l,l,l,l,a=h?l:a);return A.placeholder=_u.placeholder,A},te.curryRight=function wc(o,a,h){var A=pr(o,16,l,l,l,l,l,a=h?l:a);return A.placeholder=wc.placeholder,A},te.debounce=Ic,te.defaults=gv,te.defaultsDeep=Kp,te.defer=Ac,te.delay=Mp,te.difference=xm,te.differenceBy=op,te.differenceWith=E0,te.drop=function D0(o,a,h){var A=null==o?0:o.length;return A?zr(o,(a=h||a===l?1:Cn(a))<0?0:a,A):[]},te.dropRight=function sp(o,a,h){var A=null==o?0:o.length;return A?zr(o,0,(a=A-(a=h||a===l?1:Cn(a)))<0?0:a):[]},te.dropRightWhile=function Pm(o,a){return o&&o.length?ha(o,hn(a,3),!0,!0):[]},te.dropWhile=function Fm(o,a){return o&&o.length?ha(o,hn(a,3),!0):[]},te.fill=function Lm(o,a,h,A){var X=null==o?0:o.length;return X?(h&&"number"!=typeof h&&uo(o,a,h)&&(h=0,A=X),function Ah(o,a,h,A){var X=o.length;for((h=Cn(h))<0&&(h=-h>X?0:X+h),(A=A===l||A>X?X:Cn(A))<0&&(A+=X),A=h>A?0:Nc(A);h<A;)o[h++]=a;return o}(o,a,h,A)):[]},te.filter=function A0(o,a){return(Zt(o)?Si:fa)(o,hn(a,3))},te.flatMap=function nf(o,a){return Ni(_c(o,a),1)},te.flatMapDeep=function iv(o,a){return Ni(_c(o,a),Dt)},te.flatMapDepth=function Rs(o,a,h){return h=h===l?1:Cn(h),Ni(_c(o,a),h)},te.flatten=Kd,te.flattenDeep=function ap(o){return null!=o&&o.length?Ni(o,Dt):[]},te.flattenDepth=function di(o,a){return null!=o&&o.length?Ni(o,a=a===l?1:Cn(a)):[]},te.flip=function cf(o){return pr(o,512)},te.flow=ta,te.flowRight=Ou,te.fromPairs=function up(o){for(var a=-1,h=null==o?0:o.length,A={};++a<h;){var X=o[a];A[X[0]]=X[1]}return A},te.functions=function x0(o){return null==o?[]:tt(o,Di(o))},te.functionsIn=function Df(o){return null==o?[]:tt(o,Xi(o))},te.groupBy=rf,te.initial=function zd(o){return null!=o&&o.length?zr(o,0,-1):[]},te.intersection=mc,te.intersectionBy=lp,te.intersectionWith=Bm,te.invert=yv,te.invertBy=Qp,te.invokeMap=S0,te.iteratee=Nf,te.keyBy=T0,te.keys=Di,te.keysIn=Xi,te.map=_c,te.mapKeys=function Yp(o,a){var h={};return a=hn(a,3),Ms(o,function(A,X,oe){Sr(h,a(A,X,oe),A)}),h},te.mapValues=function Dv(o,a){var h={};return a=hn(a,3),Ms(o,function(A,X,oe){Sr(h,X,a(A,X,oe))}),h},te.matches=function jv(o){return Zl(Ao(o,1))},te.matchesProperty=function Hv(o,a){return Qu(o,Ao(a,1))},te.memoize=df,te.merge=_v,te.mergeWith=bu,te.method=$v,te.methodOf=Wv,te.mixin=kc,te.negate=Js,te.nthArg=function Kv(o){return o=Cn(o),Un(function(a){return Yl(a,o)})},te.omit=Jp,te.omitBy=function _f(o,a){return wv(o,Js(hn(a)))},te.once=function Op(o){return Ys(2,o)},te.orderBy=function Sp(o,a,h,A){return null==o?[]:(Zt(a)||(a=null==a?[]:[a]),Zt(h=A?l:h)||(h=null==h?[]:[h]),Od(o,a,h))},te.over=zv,te.overArgs=Rp,te.overEvery=Bc,te.overSome=na,te.partial=Sc,te.partialRight=Tc,te.partition=Tp,te.pick=Cv,te.pickBy=wv,te.property=Ru,te.propertyOf=function sg(o){return function(a){return null==o?l:on(o,a)}},te.pull=cp,te.pullAll=yu,te.pullAllBy=function hl(o,a,h){return o&&o.length&&a&&a.length?Yu(o,a,hn(h,2)):o},te.pullAllWith=function dp(o,a,h){return o&&o.length&&a&&a.length?Yu(o,a,l,h):o},te.pullAt=vc,te.range=ag,te.rangeRight=ug,te.rearg=Np,te.reject=function Za(o,a){return(Zt(o)?Si:fa)(o,Js(hn(a,3)))},te.remove=function yc(o,a){var h=[];if(!o||!o.length)return h;
vendor: 5,303 bytes, line 1
1var A=-1,X=[],oe=o.length;for(a=hn(a,3);++A<oe;){var _e=o[A];a(_e,A,o)&&(h.push(_e),X.push(A))}return Nh(o,X),h},te.rest=function xp(o,a){if("function"!=typeof o)throw new io(x);return Un(o,a=a===l?a:Cn(a))},te.reverse=Zd,te.sampleSize=function af(o,a,h){return a=(h?uo(o,a,h):a===l)?1:Cn(a),(Zt(o)?Ze:Tm)(o,a)},te.set=function F0(o,a,h){return null==o?o:Ju(o,a,h)},te.setWith=function Il(o,a,h,A){return A="function"==typeof A?A:l,null==o?o:Ju(o,a,h,A)},te.shuffle=function uf(o){return(Zt(o)?Be:qu)(o)},te.slice=function jm(o,a,h){var A=null==o?0:o.length;return A?(h&&"number"!=typeof h&&uo(o,a,h)?(a=0,h=A):(a=null==a?0:Cn(a),h=h===l?A:Cn(h)),zr(o,a,h)):[]},te.sortBy=Cc,te.sortedUniq=function Yd(o){return o&&o.length?el(o):[]},te.sortedUniqBy=function hp(o,a){return o&&o.length?el(o,hn(a,2)):[]},te.split=function Sf(o,a,h){return h&&"number"!=typeof h&&uo(o,a,h)&&(a=h=l),(h=h===l?$t:h>>>0)?(o=ar(o))&&("string"==typeof a||null!=a&&!Oc(a))&&!(a=So(a))&&Bo(o)?Wa(Vr(o),0,h):o.split(a,h):[]},te.spread=function ff(o,a){if("function"!=typeof o)throw new io(x);return a=null==a?0:vn(Cn(a),0),Un(function(h){var A=h[a],X=Wa(h,0,a);return A&&vr(X,A),sr(o,this,X)})},te.tail=function Ec(o){var a=null==o?0:o.length;return a?zr(o,1,a):[]},te.take=function C0(o,a,h){return o&&o.length?zr(o,0,(a=h||a===l?1:Cn(a))<0?0:a):[]},te.takeRight=function w0(o,a,h){var A=null==o?0:o.length;return A?zr(o,(a=A-(a=h||a===l?1:Cn(a)))<0?0:a,A):[]},te.takeRightWhile=function zi(o,a){return o&&o.length?ha(o,hn(a,3),!1,!0):[]},te.takeWhile=function Eu(o,a){return o&&o.length?ha(o,hn(a,3)):[]},te.tap=function Dp(o,a){return a(o),o},te.throttle=function hf(o,a,h){var A=!0,X=!0;if("function"!=typeof o)throw new io(x);return _r(h)&&(A="leading"in h?!!h.leading:A,X="trailing"in h?!!h.trailing:X),Ic(o,a,{leading:A,maxWait:a,trailing:X})},te.thru=pl,te.toArray=Cl,te.toPairs=qp,te.toPairsIn=Al,te.toPath=function j0(o){return Zt(o)?gr(o,vs):Oo(o)?[o]:To(Gd(ar(o)))},te.toPlainObject=Ef,te.transform=function Cf(o,a,h){var A=Zt(o),X=A||$o(o)||Su(o);if(a=hn(a,4),null==h){var oe=o&&o.constructor;h=X?A?new oe:[]:_r(o)&&bo(oe)?$s(ji(o)):{}}return(X?Wr:Ms)(o,function(_e,Me,Ve){return a(h,_e,Me,Ve)}),h},te.unary=function Cu(o){return ml(o,1)},te.union=Jd,te.unionBy=pp,te.unionWith=Gm,te.uniq=function gp(o){return o&&o.length?Gs(o):[]},te.uniqBy=function Km(o,a){return o&&o.length?Gs(o,hn(a,2)):[]},te.uniqWith=function mp(o,a){return a="function"==typeof a?a:l,o&&o.length?Gs(o,l,a):[]},te.unset=function Sl(o,a){return null==o||xd(o,a)},te.unzip=qd,te.unzipWith=ef,te.update=function L0(o,a,h){return null==o?o:$a(o,a,Fd(h))},te.updateWith=function k0(o,a,h,A){return A="function"==typeof A?A:l,null==o?o:$a(o,a,Fd(h),A)},te.values=Ja,te.valuesIn=function Iv(o){return null==o?[]:U(o,Xi(o))},te.without=zm,te.words=Of,te.wrap=function M0(o,a){return Sc(Fd(a),o)},te.xor=Xm,te.xorBy=Zm,te.xorWith=Qm,te.zip=vp,te.zipObject=function yp(o,a){return ql(o||[],a||[],Jt)},te.zipObjectDeep=function Ep(o,a){return ql(o||[],a||[],Ju)},te.zipWith=Dc,te.entries=qp,te.entriesIn=Al,te.extend=Wp,te.extendWith=qs,kc(te,te),te.add=Xv,te.attempt=wa,te.camelCase=qa,te.capitalize=If,te.ceil=Zv,te.clamp=function eg(o,a,h){return h===l&&(h=a,a=l),h!==l&&(h=(h=Ro(h))==h?h:0),a!==l&&(a=(a=Ro(a))==a?a:0),Io(Ro(o),a,h)},te.clone=function pf(o){return Ao(o,4)},te.cloneDeep=function Fp(o){return Ao(o,5)},te.cloneDeepWith=function Lp(o,a){return Ao(o,5,a="function"==typeof a?a:l)},te.cloneWith=function Pp(o,a){return Ao(o,4,a="function"==typeof a?a:l)},te.conformsTo=function av(o,a){return null==a||Ku(o,a,Di(a))},te.deburr=ng,te.defaultTo=function Vv(o,a){return null==o||o!=o?a:o},te.divide=Qv,te.endsWith=function Av(o,a,h){o=ar(o),a=So(a);var A=o.length,X=h=h===l?A:Io(Cn(h),0,A);return(h-=a.length)>=0&&o.slice(h,X)==a},te.eq=co,te.escape=function Sv(o){return(o=ar(o))&&Fn.test(o)?o.replace(ot,Ur):o},te.escapeRegExp=function Tv(o){return(o=ar(o))&&qe.test(o)?o.replace(Ne,"\\$&"):o},te.every=function nv(o,a,h){var A=Zt(o)?Fo:Cm;return h&&uo(o,a,h)&&(a=l),A(o,hn(a,3))},te.find=rv,te.findIndex=za,te.findKey=function N0(o,a){return Ti(o,hn(a,3),Ms)},te.findLast=Ip,te.findLastIndex=vu,te.findLastKey=function zp(o,a){return Ti(o,hn(a,3),Id)},te.floor=Yv,te.forEach=Xa,te.forEachRight=Ap,te.forIn=function mv(o,a){return null==o?o:wd(o,hn(a,3),Xi)},te.forInRight=function Xp(o,a){return null==o?o:Sh(o,hn(a,3),Xi)},te.forOwn=function Ca(o,a){return o&&Ms(o,hn(a,3))},te.forOwnRight=function vv(o,a){return o&&Id(o,hn(a,3))},te.get=Zp,te.gt=uv,te.gte=kp,te.has=function xc(o,a){return null!=o&&Xr(o,a,Th)},te.hasIn=Ya,te.head=km,te.identity=No,te.includes=function sf(o,a,h,A){o=fo(o)?o:Ja(o),h=h&&!A?Cn(h):0;var X=o.length;return h<0&&(h=vn(X+h,0)),mf(o)?h<=X&&o.indexOf(a,h)>-1:!!X&&bi(o,a,h)>-1},te.indexOf=function _0(o,a,h){var A=null==o?0:o.length;if(!A)return-1;var X=null==h?0:Cn(h);return X<0&&(X=vn(A+X,0)),bi(o,a,X)},te.inRange=function wf(o,a,h){return a=ns(a),h===l?(h=a,a=0):h=ns(h),function hs(o,a,h){return o>=Ht(a,h)&&o<vn(a,h)}(o=Ro(o),a,h)},te.invoke=Ev,te.isArguments=Iu,te.isArray=Zt,te.isArrayBuffer=bc,te.isArrayLike=fo,te.isArrayLikeObject=En,te.isBoolean=function Au(o){return!0===o||!1===o||Or(o)&&Gi(o)==Ge},te.isBuffer=$o,te.isDate=Da,te.isElement=function El(o){return Or(o)&&1===o.nodeType&&!Qa(o)}
1,te.isEmpty=function Mc(o){if(null==o)return!0;if(fo(o)&&(Zt(o)||"string"==typeof o||"function"==typeof o.splice||$o(o)||Su(o)||Iu(o)))return!o.length;var a=ao(o);if(a==Pe||a==ct)return!o.size;if(Ho(o))return!Md(o).length;for(var h in o)if(at.call(o,h))return!1;return!0},te.isEqual=function lv(o,a){return lu(o,a)},te.isEqualWith=function cv(o,a,h){var A=(h="function"==typeof h?h:l)?h(o,a):l;return A===l?lu(o,a,l,h):!!A},te.isError=_a,te.isFinite=function dv(o){return"number"==typeof o&&Bn(o)},te.isFunction=bo,te.isInteger=Bp,te.isLength=Dl,te.isMap=gf,te.isMatch=function Up(o,a){return o===a||ps(o,a,hc(a))},te.isMatchWith=function _l(o,a,h){return h="function"==typeof h?h:l,ps(o,a,hc(a),h)},te.isNaN=function Mo(o){return Vp(o)&&o!=+o},te.isNative=function fv(o){if($d(o))throw new yn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Td(o)},te.isNil=function hv(o){return null==o},te.isNull=function Ei(o){return null===o},te.isNumber=Vp,te.isObject=_r,te.isObjectLike=Or,te.isPlainObject=Qa,te.isRegExp=Oc,te.isSafeInteger=function jp(o){return Bp(o)&&o>=-dt&&o<=dt},te.isSet=Hp,te.isString=mf,te.isSymbol=Oo,te.isTypedArray=Su,te.isUndefined=function O0(o){return o===l},te.isWeakMap=function Rc(o){return Or(o)&&ao(o)==br},te.isWeakSet=function vf(o){return Or(o)&&"[object WeakSet]"==Gi(o)},te.join=function Um(o,a){return null==o?"":Ln.call(o,a)},te.kebabCase=rg,te.last=Ki,te.lastIndexOf=function Vm(o,a,h){var A=null==o?0:o.length;if(!A)return-1;var X=A;return h!==l&&(X=(X=Cn(h))<0?vn(A+X,0):Ht(X,A-1)),a==a?function xa(Le,lt,rt){for(var Ot=rt+1;Ot--;)if(Le[Ot]===lt)return Ot;return Ot}(o,a,X):yo(o,Fr,X,!0)},te.lowerCase=bv,te.lowerFirst=Mv,te.lt=yf,te.lte=Tu,te.max=function Jv(o){return o&&o.length?Kl(o,No,Mn):l},te.maxBy=function fg(o,a){return o&&o.length?Kl(o,hn(a,2),Mn):l},te.mean=function hg(o){return pn(o,No)},te.meanBy=function qv(o,a){return pn(o,hn(a,2))},te.min=function ey(o){return o&&o.length?Kl(o,No,Zu):l},te.minBy=function pg(o,a){return o&&o.length?Kl(o,hn(a,2),Zu):l},te.stubArray=lg,te.stubFalse=cg,te.stubObject=function U0(){return{}},te.stubString=function Pf(){return""},te.stubTrue=function Ff(){return!0},te.multiply=Uc,te.nth=function Xd(o,a){return o&&o.length?Yl(o,Cn(a)):l},te.noConflict=function Gv(){return Dr._===this&&(Dr._=vi),this},te.noop=xf,te.now=Du,te.pad=function Ov(o,a,h){o=ar(o);var A=(a=Cn(a))?Do(o):0;if(!a||A>=a)return o;var X=(a-A)/2;return sc(Je(X),h)+o+sc(We(X),h)},te.padEnd=function Rv(o,a,h){o=ar(o);var A=(a=Cn(a))?Do(o):0;return a&&A<a?o+sc(a-A,h):o},te.padStart=function Nv(o,a,h){o=ar(o);var A=(a=Cn(a))?Do(o):0;return a&&A<a?sc(a-A,h)+o:o},te.parseInt=function Af(o,a,h){return h||null==a?a=0:a&&(a=+a),fr(ar(o).replace(Et,""),a||0)},te.random=function tg(o,a,h){if(h&&"boolean"!=typeof h&&uo(o,a,h)&&(a=h=l),h===l&&("boolean"==typeof a?(h=a,a=l):"boolean"==typeof o&&(h=o,o=l)),o===l&&a===l?(o=0,a=1):(o=ns(o),a===l?(a=o,o=0):a=ns(a)),o>a){var A=o;o=a,a=A}if(h||o%1||a%1){var X=Mi();return Ht(o+X*(a-o+Nr("1e-"+((X+"").length-1))),a)}return ci(o,a)},te.reduce=function b0(o,a,h){var A=Zt(o)?Cs:Eo,X=arguments.length<3;return A(o,hn(a,4),h,X,Va)},te.reduceRight=function ov(o,a,h){var A=Zt(o)?Yo:Eo,X=arguments.length<3;return A(o,hn(a,4),h,X,Ih)},te.repeat=function xv(o,a,h){return a=(h?uo(o,a,h):a===l)?1:Cn(a),hr(ar(o),a)},te.replace=function Pv(){var o=arguments,a=ar(o[0]);return o.length<3?a:a.replace(o[1],o[2])},te.result=function P0(o,a,h){var A=-1,X=(a=pa(a,o)).length;for(X||(X=1,o=l);++A<X;){var oe=null==o?l:o[vs(a[A])];oe===l&&(A=X,oe=h),o=bo(oe)?oe.call(o):oe}return o},te.round=gg,te.runInContext=Le,te.sample=function sv(o){return(Zt(o)?ce:Sm)(o)},te.size=function lf(o){if(null==o)return 0;if(fo(o))return mf(o)?Do(o):o.length;var a=ao(o);return a==Pe||a==ct?o.size:Md(o).length},te.snakeCase=ig,te.some=function bp(o,a,h){var A=Zt(o)?Na:bm;return h&&uo(o,a,h)&&(a=l),A(o,hn(a,3))},te.sortedIndex=function Hm(o,a){return Ha(o,a)},te.sortedIndexBy=function fp(o,a,h){return cu(o,a,hn(h,2))},te.sortedIndexOf=function Qd(o,a){var h=null==o?0:o.length;if(h){var A=Ha(o,a);if(A<h&&co(o[A],a))return A}return-1},te.sortedLastIndex=function $m(o,a){return Ha(o,a,!0)},te.sortedLastIndexBy=function Wm(o,a,h){return cu(o,a,hn(h,2),!0)},te.sortedLastIndexOf=function lo(o,a){if(null!=o&&o.length){var A=Ha(o,a,!0)-1;if(co(o[A],a))return A}return-1},te.startCase=Tf,te.startsWith=function ea(o,a,h){return o=ar(o),h=null==h?0:Io(Cn(h),0,o.length),a=So(a),o.slice(h,h+a.length)==a},te.subtract=Lf,te.sum=function ty(o){return o&&o.length?nu(o,No):0},te.sumBy=function eu(o,a){return o&&o.length?nu(o,hn(a,2)):0},te.template=function Pc(o,a,h){var A=te.templateSettings;h&&uo(o,a,h)&&(a=l),o=ar(o),a=qs({},a,A,Vh);var Me,Ve,X=qs({},a.imports,A.imports,Vh),oe=Di(X),_e=U(X,oe),pt=0,gt=a.interpolate||Qi,yt="__p += '",Bt=La((a.escape||Qi).source+"|"+gt.source+"|"+(gt===lr?cr:Qi).source+"|"+(a.evaluate||Qi).source+"|$","g"),qt="//# sourceURL="+(at.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ss+"]")+"\n";
vendor: 4,864 bytes, line 1
1o.replace(Bt,function(mn,zn,er,Wo,ho,Go){return er||(er=Wo),yt+=o.slice(pt,Go).replace(Qr,Us),zn&&(Me=!0,yt+="' +\n__e("+zn+") +\n'"),ho&&(Ve=!0,yt+="';\n"+ho+";\n__p += '"),er&&(yt+="' +\n((__t = ("+er+")) == null ? '' : __t) +\n'"),pt=Go+mn.length,mn}),yt+="';\n";var gn=at.call(a,"variable")&&a.variable;if(gn){if(Zr.test(gn))throw new yn("Invalid `variable` option passed into `_.template`")}else yt="with (obj) {\n"+yt+"\n}\n";yt=(Ve?yt.replace(ir,""):yt).replace(Fe,"$1").replace(jn,"$1;"),yt="function("+(gn||"obj")+") {\n"+(gn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Me?", __e = _.escape":"")+(Ve?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+yt+"return __p\n}";var Pn=wa(function(){return tr(oe,qt+"return "+yt).apply(l,_e)});if(Pn.source=yt,_a(Pn))throw Pn;return Pn},te.times=function V0(o,a){if((o=Cn(o))<1||o>dt)return[];var h=$t,A=Ht(o,$t);a=hn(a),o-=$t;for(var X=Bs(A,a);++h<o;)a(h);return X},te.toFinite=ns,te.toInteger=Cn,te.toLength=Nc,te.toLower=function bf(o){return ar(o).toLowerCase()},te.toNumber=Ro,te.toSafeInteger=function $p(o){return o?Io(Cn(o),-dt,dt):0===o?o:0},te.toString=ar,te.toUpper=function Mu(o){return ar(o).toUpperCase()},te.trim=function Fv(o,a,h){if((o=ar(o))&&(h||a===l))return Wn(o);if(!o||!(a=So(a)))return o;var A=Vr(o),X=Vr(a);return Wa(A,ee(A,X),Ie(A,X)+1).join("")},te.trimEnd=function Lv(o,a,h){if((o=ar(o))&&(h||a===l))return o.slice(0,ju(o)+1);if(!o||!(a=So(a)))return o;var A=Vr(o);return Wa(A,0,Ie(A,Vr(a))+1).join("")},te.trimStart=function B0(o,a,h){if((o=ar(o))&&(h||a===l))return o.replace(Et,"");if(!o||!(a=So(a)))return o;var A=Vr(o);return Wa(A,ee(A,Vr(a))).join("")},te.truncate=function Fc(o,a){var h=30,A="...";if(_r(a)){var X="separator"in a?a.separator:X;h="length"in a?Cn(a.length):h,A="omission"in a?So(a.omission):A}var oe=(o=ar(o)).length;if(Bo(o)){var _e=Vr(o);oe=_e.length}if(h>=oe)return o;var Me=h-Do(A);if(Me<1)return A;var Ve=_e?Wa(_e,0,Me).join(""):o.slice(0,Me);if(X===l)return Ve+A;if(_e&&(Me+=Ve.length-Me),Oc(X)){if(o.slice(Me).search(X)){var pt,gt=Ve;for(X.global||(X=La(X.source,ar(Kt.exec(X))+"g")),X.lastIndex=0;pt=X.exec(gt);)var yt=pt.index;Ve=Ve.slice(0,yt===l?Me:yt)}}else if(o.indexOf(So(X),Me)!=Me){var Bt=Ve.lastIndexOf(X);Bt>-1&&(Ve=Ve.slice(0,Bt))}return Ve+A},te.unescape=function Mf(o){return(o=ar(o))&&Tt.test(o)?o.replace(be,la):o},te.uniqueId=function dg(o){var a=++en;return ar(o)+a},te.upperCase=og,te.upperFirst=Lc,te.each=Xa,te.eachRight=Ap,te.first=km,kc(te,function(){var o={};return Ms(te,function(a,h){at.call(te.prototype,h)||(o[h]=a)}),o}(),{chain:!1}),te.VERSION="4.17.21",Wr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){te[o].placeholder=te}),Wr(["drop","take"],function(o,a){Qn.prototype[o]=function(h){h=h===l?1:vn(Cn(h),0);var A=this.__filtered__&&!a?new Qn(this):this.clone();return A.__filtered__?A.__takeCount__=Ht(h,A.__takeCount__):A.__views__.push({size:Ht(h,$t),type:o+(A.__dir__<0?"Right":"")}),A},Qn.prototype[o+"Right"]=function(h){return this.reverse()[o](h).reverse()}}),Wr(["filter","map","takeWhile"],function(o,a){var h=a+1,A=1==h||3==h;Qn.prototype[o]=function(X){var oe=this.clone();return oe.__iteratees__.push({iteratee:hn(X,3),type:h}),oe.__filtered__=oe.__filtered__||A,oe}}),Wr(["head","last"],function(o,a){var h="take"+(a?"Right":"");Qn.prototype[o]=function(){return this[h](1).value()[0]}}),Wr(["initial","tail"],function(o,a){var h="drop"+(a?"":"Right");Qn.prototype[o]=function(){return this.__filtered__?new Qn(this):this[h](1)}}),Qn.prototype.compact=function(){return this.filter(No)},Qn.prototype.find=function(o){return this.filter(o).head()},Qn.prototype.findLast=function(o){return this.reverse().find(o)},Qn.prototype.invokeMap=Un(function(o,a){return"function"==typeof o?new Qn(this):this.map(function(h){return uu(h,o,a)})}),Qn.prototype.reject=function(o){return this.filter(Js(hn(o)))},Qn.prototype.slice=function(o,a){o=Cn(o);var h=this;return h.__filtered__&&(o>0||a<0)?new Qn(h):(o<0?h=h.takeRight(-o):o&&(h=h.drop(o)),a!==l&&(h=(a=Cn(a))<0?h.dropRight(-a):h.take(a-o)),h)},Qn.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},Qn.prototype.toArray=function(){return this.take($t)},Ms(Qn.prototype,function(o,a){var h=/^(?:filter|find|map|reject)|While$/.test(a),A=/^(?:head|last)$/.test(a),X=te[A?"take"+("last"==a?"Right":""):a],oe=A||/^find/.test(a);X&&(te.prototype[a]=function(){var _e=this.__wrapped__,Me=A?[1]:arguments,Ve=_e instanceof Qn,pt=Me[0],gt=Ve||Zt(_e),yt=function(zn){var er=X.apply(te,vr([zn],Me));return A&&Bt?er[0]:er};gt&&h&&"function"==typeof pt&&1!=pt.length&&(Ve=gt=!1);var Bt=this.__chain__,gn=oe&&!Bt,Pn=Ve&&!this.__actions__.length;if(!oe&&gt){_e=Pn?_e:new Qn(this);var mn=o.apply(_e,Me);return mn.__actions__.push({func:pl,args:[yt],thisArg:l}),new Uo(mn,Bt)}
1return gn&&Pn?o.apply(this,Me):(mn=this.thru(yt),gn?A?mn.value()[0]:mn.value():mn)})}),Wr(["pop","push","shift","sort","splice","unshift"],function(o){var a=ca[o],h=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",A=/^(?:pop|shift)$/.test(o);te.prototype[o]=function(){var X=arguments;if(A&&!this.__chain__){var oe=this.value();return a.apply(Zt(oe)?oe:[],X)}return this[h](function(_e){return a.apply(Zt(_e)?_e:[],X)})}}),Ms(Qn.prototype,function(o,a){var h=te[a];if(h){var A=h.name+"";at.call(Hs,A)||(Hs[A]=[]),Hs[A].push({name:a,func:h})}}),Hs[ol(l,2).name]=[{name:"wrapper",func:l}],Qn.prototype.clone=function Gu(){var o=new Qn(this.__wrapped__);return o.__actions__=To(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=To(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=To(this.__views__),o},Qn.prototype.reverse=function jl(){if(this.__filtered__){var o=new Qn(this);o.__dir__=-1,o.__filtered__=!0}else(o=this.clone()).__dir__*=-1;return o},Qn.prototype.value=function Dm(){var o=this.__wrapped__.value(),a=this.__dir__,h=Zt(o),A=a<0,X=h?o.length:0,oe=function Gh(o,a,h){for(var A=-1,X=h.length;++A<X;){var oe=h[A],_e=oe.size;switch(oe.type){case"drop":o+=_e;break;case"dropRight":a-=_e;break;case"take":a=Ht(a,o+_e);break;case"takeRight":o=vn(o,a-_e)}}return{start:o,end:a}}(0,X,this.__views__),_e=oe.start,Me=oe.end,Ve=Me-_e,pt=A?Me:_e-1,gt=this.__iteratees__,yt=gt.length,Bt=0,qt=Ht(Ve,this.__takeCount__);if(!h||!A&&X==Ve&&qt==Ve)return Ph(o,this.__actions__);var gn=[];e:for(;Ve--&&Bt<qt;){for(var Pn=-1,mn=o[pt+=a];++Pn<yt;){var zn=gt[Pn],Wo=zn.type,ho=(0,zn.iteratee)(mn);if(2==Wo)mn=ho;else if(!ho){if(1==Wo)continue e;break e}}gn[Bt++]=mn}return gn},te.prototype.at=_p,te.prototype.chain=function Ym(){return tf(this)},te.prototype.commit=function Jm(){return new Uo(this.value(),this.__chain__)},te.prototype.next=function qm(){this.__values__===l&&(this.__values__=Cl(this.value()));var o=this.__index__>=this.__values__.length;return{done:o,value:o?l:this.__values__[this.__index__++]}},te.prototype.plant=function Cp(o){for(var a,h=this;h instanceof Wu;){var A=rp(h);A.__index__=0,A.__values__=l,a?X.__wrapped__=A:a=A;var X=A;h=h.__wrapped__}return X.__wrapped__=o,a},te.prototype.reverse=function I0(){var o=this.__wrapped__;if(o instanceof Qn){var a=o;return this.__actions__.length&&(a=new Qn(this)),(a=a.reverse()).__actions__.push({func:pl,args:[Zd],thisArg:l}),new Uo(a,this.__chain__)}return this.thru(Zd)},te.prototype.toJSON=te.prototype.valueOf=te.prototype.value=function wp(){return Ph(this.__wrapped__,this.__actions__)},te.prototype.first=te.prototype.head,oo&&(te.prototype[oo]=function ev(){return this}),te}();Dr._=mi,(c=function(){return mi}.call(se,f,se,ze))!==l&&(ze.exports=c)}.call(this)},4412:(ze,se,f)=>{"use strict";f.d(se,{t:()=>l});var c=f(1413);class l extends c.B{constructor(M){super(),this._value=M}get value(){return this.getValue()}_subscribe(M){const O=super._subscribe(M);return!O.closed&&M.next(this._value),O}getValue(){const{hasError:M,thrownError:O,_value:x}=this;if(M)throw O;return this._throwIfClosed(),x}next(M){super.next(this._value=M)}}},1985:(ze,se,f)=>{"use strict";f.d(se,{c:()=>T});var c=f(7707),l=f(8359),$=f(3494),M=f(1203),O=f(1026),x=f(8071),R=f(9786);let T=(()=>{class P{constructor(N){N&&(this._subscribe=N)}lift(N){const V=new P;return V.source=this,V.operator=N,V}subscribe(N,V,b){const ie=function I(P){return P&&P instanceof c.vU||function k(P){return P&&(0,x.T)(P.next)&&(0,x.T)(P.error)&&(0,x.T)(P.complete)}(P)&&(0,l.Uv)(P)}(N)?N:new c.Ms(N,V,b);return(0,R.Y)(()=>{const{operator:ye,source:ne}=this;ie.add(ye?ye.call(ie,ne):ne?this._subscribe(ie):this._trySubscribe(ie))}),ie}_trySubscribe(N){try{return this._subscribe(N)}catch(V){N.error(V)}}forEach(N,V){return new(V=_(V))((b,ie)=>{const ye=new c.Ms({next:ne=>{try{N(ne)}catch(z){ie(z),ye.unsubscribe()}},error:ie,complete:b});this.subscribe(ye)})}_subscribe(N){var V;return null===(V=this.source)||void 0===V?void 0:V.subscribe(N)}[$.s](){return this}pipe(...N){return(0,M.m)(N)(this)}toPromise(N){return new(N=_(N))((V,b)=>{let ie;this.subscribe(ye=>ie=ye,ye=>b(ye),()=>V(ie))})}}return P.create=Z=>new P(Z),P})();function _(P){var Z;return null!==(Z=P??O.$.Promise)&&void 0!==Z?Z:Promise}},2771:(ze,se,f)=>{"use strict";f.d(se,{m:()=>$});var c=f(1413),l=f(6129);class $ extends c.B{constructor(O=1/0,x=1/0,R=l.U){super(),this._bufferSize=O,this._windowTime=x,this._timestampProvider=R,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=x===1/0,this._bufferSize=Math.max(1,O),this._windowTime=Math.max(1,x)}next(O){const{isStopped:x,_buffer:R,_infiniteTimeWindow:T,_timestampProvider:_,_windowTime:k}=this;x||(R.push(O),!T&&R.push(_.now()+k)),this._trimBuffer(),super.next(O)}_subscribe(O){this._throwIfClosed(),this._trimBuffer();const x=this._innerSubscribe(O),{_infiniteTimeWindow:R,_buffer:T}=this,_=T.slice();for(let k=0;k<_.length&&!O.closed;k+=R?1:2)O.next(_[k]);return this._checkFinalizedStatuses(O),x}_trimBuffer(){const{_bufferSize:O,_timestampProvider:x,_buffer:R,_infiniteTimeWindow:T}=this,_=(T?1:2)*O;if(O<1/0&&_<R.length&&R.splice(0,R.length-_),!T){const k=x.now();let I=0;for(let P=1;P<R.length&&R[P]<=k;P+=2)I=P;I&&R.splice(0,I+1)}}}},1413:(ze,se,f)=>{"use strict";f.d(se,{B:()=>R});var c=f(1985),l=f(8359);const M=(0,f(1853).L)(_=>function(){_(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var O=f(7908),x=f(9786);let R=(()=>{class _ extends c.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(I){const P=new T(this,this);return P.operator=I,P}_throwIfClosed(){if(this.closed)throw new M}next(I){(0,x.Y)(()=>
1{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const P of this.currentObservers)P.next(I)}})}error(I){(0,x.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=I;const{observers:P}=this;for(;P.length;)P.shift().error(I)}})}complete(){(0,x.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:I}=this;for(;I.length;)I.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var I;return(null===(I=this.observers)||void 0===I?void 0:I.length)>0}_trySubscribe(I){return this._throwIfClosed(),super._trySubscribe(I)}_subscribe(I){return this._throwIfClosed(),this._checkFinalizedStatuses(I),this._innerSubscribe(I)}_innerSubscribe(I){const{hasError:P,isStopped:Z,observers:N}=this;return P||Z?l.Kn:(this.currentObservers=null,N.push(I),new l.yU(()=>{this.currentObservers=null,(0,O.o)(N,I)}))}_checkFinalizedStatuses(I){const{hasError:P,thrownError:Z,isStopped:N}=this;P?I.error(Z):N&&I.complete()}asObservable(){const I=new c.c;return I.source=this,I}}return _.create=(k,I)=>new T(k,I),_})();class T extends R{constructor(k,I){super(),this.destination=k,this.source=I}next(k){var I,P;null===(P=null===(I=this.destination)||void 0===I?void 0:I.next)||void 0===P||P.call(I,k)}error(k){var I,P;null===(P=null===(I=this.destination)||void 0===I?void 0:I.error)||void 0===P||P.call(I,k)}complete(){var k,I;null===(I=null===(k=this.destination)||void 0===k?void 0:k.complete)||void 0===I||I.call(k)}_subscribe(k){var I,P;return null!==(P=null===(I=this.source)||void 0===I?void 0:I.subscribe(k))&&void 0!==P?P:l.Kn}}},7707:(ze,se,f)=>{"use strict";f.d(se,{Ms:()=>b,vU:()=>P});var c=f(8071),l=f(8359),$=f(1026),M=f(5334),O=f(5343);const x=_("C",void 0,void 0);function _(W,G,Y){return{kind:W,value:G,error:Y}}var k=f(9270),I=f(9786);class P extends l.yU{constructor(G){super(),this.isStopped=!1,G?(this.destination=G,(0,l.Uv)(G)&&G.add(this)):this.destination=z}static create(G,Y,Ce){return new b(G,Y,Ce)}next(G){this.isStopped?ne(function T(W){return _("N",W,void 0)}(G),this):this._next(G)}error(G){this.isStopped?ne(function R(W){return _("E",void 0,W)}(G),this):(this.isStopped=!0,this._error(G))}complete(){this.isStopped?ne(x,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(G){this.destination.next(G)}_error(G){try{this.destination.error(G)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Z=Function.prototype.bind;function N(W,G){return Z.call(W,G)}class V{constructor(G){this.partialObserver=G}next(G){const{partialObserver:Y}=this;if(Y.next)try{Y.next(G)}catch(Ce){ie(Ce)}}error(G){const{partialObserver:Y}=this;if(Y.error)try{Y.error(G)}catch(Ce){ie(Ce)}else ie(G)}complete(){const{partialObserver:G}=this;if(G.complete)try{G.complete()}catch(Y){ie(Y)}}}class b extends P{constructor(G,Y,Ce){let de;if(super(),(0,c.T)(G)||!G)de={next:G??void 0,error:Y??void 0,complete:Ce??void 0};else{let Ae;this&&$.$.useDeprecatedNextContext?(Ae=Object.create(G),Ae.unsubscribe=()=>this.unsubscribe(),de={next:G.next&&N(G.next,Ae),error:G.error&&N(G.error,Ae),complete:G.complete&&N(G.complete,Ae)}):de=G}this.destination=new V(de)}}function ie(W){$.$.useDeprecatedSynchronousErrorHandling?(0,I.l)(W):(0,M.m)(W)}function ne(W,G){const{onStoppedNotification:Y}=$.$;Y&&k.f.setTimeout(()=>Y(W,G))}const z={closed:!0,next:O.l,error:function ye(W){throw W},complete:O.l}},8359:(ze,se,f)=>{"use strict";f.d(se,{Kn:()=>x,yU:()=>O,Uv:()=>R});var c=f(8071);const $=(0,f(1853).L)(_=>function(I){_(this),this.message=I?`${I.length} errors occurred during unsubscription:\n${I.map((P,Z)=>`${Z+1}) ${P.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=I});var M=f(7908);class O{constructor(k){this.initialTeardown=k,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let k;if(!this.closed){this.closed=!0;const{_parentage:I}=this;if(I)if(this._parentage=null,Array.isArray(I))for(const N of I)N.remove(this);else I.remove(this);const{initialTeardown:P}=this;if((0,c.T)(P))try{P()}catch(N){k=N instanceof $?N.errors:[N]}const{_finalizers:Z}=this;if(Z){this._finalizers=null;for(const N of Z)try{T(N)}catch(V){k=k??[],V instanceof $?k=[...k,...V.errors]:k.push(V)}}if(k)throw new $(k)}}add(k){var I;if(k&&k!==this)if(this.closed)T(k);else{if(k instanceof O){if(k.closed||k._hasParent(this))return;k._addParent(this)}(this._finalizers=null!==(I=this._finalizers)&&void 0!==I?I:[]).push(k)}}_hasParent(k){const{_parentage:I}=this;return I===k||Array.isArray(I)&&I.includes(k)}_addParent(k){const{_parentage:I}=this;this._parentage=Array.isArray(I)?(I.push(k),I):I?[I,k]:k}_removeParent(k){const{_parentage:I}=this;I===k?this._parentage=null:Array.isArray(I)&&(0,M.o)(I,k)}remove(k){const{_finalizers:I}=this;I&&(0,M.o)(I,k),k instanceof O&&k._removeParent(this)}}O.EMPTY=(()=>{const _=new O;return _.closed=!0,_})();const x=O.EMPTY;function R(_){return _ instanceof O||_&&"closed"in _&&(0,c.T)(_.remove)&&(0,c.T)(_.add)&&(0,c.T)(_.unsubscribe)}
1function T(_){(0,c.T)(_)?_():_.unsubscribe()}},1026:(ze,se,f)=>{"use strict";f.d(se,{$:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4572:(ze,se,f)=>{"use strict";f.d(se,{z:()=>k});var c=f(1985),l=f(3073),$=f(6648),M=f(3669),O=f(6450),x=f(9326),R=f(8496),T=f(4360),_=f(5225);function k(...Z){const N=(0,x.lI)(Z),V=(0,x.ms)(Z),{args:b,keys:ie}=(0,l.D)(Z);if(0===b.length)return(0,$.H)([],N);const ye=new c.c(function I(Z,N,V=M.D){return b=>{P(N,()=>{const{length:ie}=Z,ye=new Array(ie);let ne=ie,z=ie;for(let W=0;W<ie;W++)P(N,()=>{const G=(0,$.H)(Z[W],N);let Y=!1;G.subscribe((0,T._)(b,Ce=>{ye[W]=Ce,Y||(Y=!0,z--),z||b.next(V(ye.slice()))},()=>{--ne||b.complete()}))},b)},b)}}(b,N,ie?ne=>(0,R.e)(ie,ne):M.D));return V?ye.pipe((0,O.I)(V)):ye}function P(Z,N,V){Z?(0,_.N)(V,Z,N):N()}},8793:(ze,se,f)=>{"use strict";f.d(se,{x:()=>O});var c=f(6365),$=f(9326),M=f(6648);function O(...x){return function l(){return(0,c.U)(1)}()((0,M.H)(x,(0,$.lI)(x)))}},9030:(ze,se,f)=>{"use strict";f.d(se,{v:()=>$});var c=f(1985),l=f(8750);function $(M){return new c.c(O=>{(0,l.Tg)(M()).subscribe(O)})}},983:(ze,se,f)=>{"use strict";f.d(se,{w:()=>l});const l=new(f(1985).c)(O=>O.complete())},7468:(ze,se,f)=>{"use strict";f.d(se,{p:()=>T});var c=f(1985),l=f(3073),$=f(8750),M=f(9326),O=f(4360),x=f(6450),R=f(8496);function T(..._){const k=(0,M.ms)(_),{args:I,keys:P}=(0,l.D)(_),Z=new c.c(N=>{const{length:V}=I;if(!V)return void N.complete();const b=new Array(V);let ie=V,ye=V;for(let ne=0;ne<V;ne++){let z=!1;(0,$.Tg)(I[ne]).subscribe((0,O._)(N,W=>{z||(z=!0,ye--),b[ne]=W},()=>ie--,void 0,()=>{(!ie||!z)&&(ye||N.next(P?(0,R.e)(P,b):b),N.complete())}))}});return k?Z.pipe((0,x.I)(k)):Z}},6648:(ze,se,f)=>{"use strict";f.d(se,{H:()=>Ce});var c=f(8750),l=f(5225),$=f(9974),M=f(4360);function O(de,Ae=0){return(0,$.N)((Ye,xe)=>{Ye.subscribe((0,M._)(xe,Se=>(0,l.N)(xe,de,()=>xe.next(Se),Ae),()=>(0,l.N)(xe,de,()=>xe.complete(),Ae),Se=>(0,l.N)(xe,de,()=>xe.error(Se),Ae)))})}function x(de,Ae=0){return(0,$.N)((Ye,xe)=>{xe.add(de.schedule(()=>Ye.subscribe(xe),Ae))})}var _=f(1985),I=f(4761),P=f(8071);function N(de,Ae){if(!de)throw new Error("Iterable cannot be null");return new _.c(Ye=>{(0,l.N)(Ye,Ae,()=>{const xe=de[Symbol.asyncIterator]();(0,l.N)(Ye,Ae,()=>{xe.next().then(Se=>{Se.done?Ye.complete():Ye.next(Se.value)})},0,!0)})})}var V=f(5055),b=f(9858),ie=f(7441),ye=f(5397),ne=f(7953),z=f(591),W=f(5196);function Ce(de,Ae){return Ae?function Y(de,Ae){if(null!=de){if((0,V.l)(de))return function R(de,Ae){return(0,c.Tg)(de).pipe(x(Ae),O(Ae))}(de,Ae);if((0,ie.X)(de))return function k(de,Ae){return new _.c(Ye=>{let xe=0;return Ae.schedule(function(){xe===de.length?Ye.complete():(Ye.next(de[xe++]),Ye.closed||this.schedule())})})}(de,Ae);if((0,b.y)(de))return function T(de,Ae){return(0,c.Tg)(de).pipe(x(Ae),O(Ae))}(de,Ae);if((0,ne.T)(de))return N(de,Ae);if((0,ye.x)(de))return function Z(de,Ae){return new _.c(Ye=>{let xe;return(0,l.N)(Ye,Ae,()=>{xe=de[I.l](),(0,l.N)(Ye,Ae,()=>{let Se,je;try{({value:Se,done:je}=xe.next())}catch(et){return void Ye.error(et)}je?Ye.complete():Ye.next(Se)},0,!0)}),()=>(0,P.T)(xe?.return)&&xe.return()})}(de,Ae);if((0,W.U)(de))return function G(de,Ae){return N((0,W.C)(de),Ae)}(de,Ae)}throw(0,z.L)(de)}(de,Ae):(0,c.Tg)(de)}},8750:(ze,se,f)=>{"use strict";f.d(se,{Tg:()=>Z});var c=f(1635),l=f(7441),$=f(9858),M=f(1985),O=f(5055),x=f(7953),R=f(591),T=f(5397),_=f(5196),k=f(8071),I=f(5334),P=f(3494);function Z(W){if(W instanceof M.c)return W;if(null!=W){if((0,O.l)(W))return function N(W){return new M.c(G=>{const Y=W[P.s]();if((0,k.T)(Y.subscribe))return Y.subscribe(G);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(W);if((0,l.X)(W))return function V(W){return new M.c(G=>{for(let Y=0;Y<W.length&&!G.closed;Y++)G.next(W[Y]);G.complete()})}(W);if((0,$.y)(W))return function b(W){return new M.c(G=>{W.then(Y=>{G.closed||(G.next(Y),G.complete())},Y=>G.error(Y)).then(null,I.m)})}(W);if((0,x.T)(W))return ye(W);if((0,T.x)(W))return function ie(W){return new M.c(G=>{for(const Y of W)if(G.next(Y),G.closed)return;G.complete()})}(W);
1if((0,_.U)(W))return function ne(W){return ye((0,_.C)(W))}(W)}throw(0,R.L)(W)}function ye(W){return new M.c(G=>{(function z(W,G){var Y,Ce,de,Ae;return(0,c.sH)(this,void 0,void 0,function*(){try{for(Y=(0,c.xN)(W);!(Ce=yield Y.next()).done;)if(G.next(Ce.value),G.closed)return}catch(Ye){de={error:Ye}}finally{try{Ce&&!Ce.done&&(Ae=Y.return)&&(yield Ae.call(Y))}finally{if(de)throw de.error}}G.complete()})})(W,G).catch(Y=>G.error(Y))})}},7786:(ze,se,f)=>{"use strict";f.d(se,{h:()=>x});var c=f(6365),l=f(8750),$=f(983),M=f(9326),O=f(6648);function x(...R){const T=(0,M.lI)(R),_=(0,M.R0)(R,1/0),k=R;return k.length?1===k.length?(0,l.Tg)(k[0]):(0,c.U)(_)((0,O.H)(k,T)):$.w}},5060:(ze,se,f)=>{"use strict";f.d(se,{t:()=>$});var c=f(1985),l=f(5343);const $=new c.c(l.l)},7673:(ze,se,f)=>{"use strict";f.d(se,{of:()=>$});var c=f(9326),l=f(6648);function $(...M){const O=(0,c.lI)(M);return(0,l.H)(M,O)}},8810:(ze,se,f)=>{"use strict";f.d(se,{$:()=>$});var c=f(1985),l=f(8071);function $(M,O){const x=(0,l.T)(M)?M:()=>M,R=T=>T.error(x());return new c.c(O?T=>O.schedule(R,0,T):R)}},1807:(ze,se,f)=>{"use strict";f.d(se,{O:()=>O});var c=f(1985),l=f(8839),$=f(9470),M=f(8211);function O(x=0,R,T=l.b){let _=-1;return null!=R&&((0,$.m)(R)?T=R:_=R),new c.c(k=>{let I=(0,M.v)(x)?+x-T.now():x;I<0&&(I=0);let P=0;return T.schedule(function(){k.closed||(k.next(P++),0<=_?this.schedule(void 0,_):k.complete())},I)})}},4360:(ze,se,f)=>{"use strict";f.d(se,{_:()=>l});var c=f(7707);function l(M,O,x,R,T){return new $(M,O,x,R,T)}class $ extends c.vU{constructor(O,x,R,T,_,k){super(O),this.onFinalize=_,this.shouldUnsubscribe=k,this._next=x?function(I){try{x(I)}catch(P){O.error(P)}}:super._next,this._error=T?function(I){try{T(I)}catch(P){O.error(P)}finally{this.unsubscribe()}}:super._error,this._complete=R?function(){try{R()}catch(I){O.error(I)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var O;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:x}=this;super.unsubscribe(),!x&&(null===(O=this.onFinalize)||void 0===O||O.call(this))}}}},9437:(ze,se,f)=>{"use strict";f.d(se,{W:()=>M});var c=f(8750),l=f(4360),$=f(9974);function M(O){return(0,$.N)((x,R)=>{let k,T=null,_=!1;T=x.subscribe((0,l._)(R,void 0,void 0,I=>{k=(0,c.Tg)(O(I,M(O)(x))),T?(T.unsubscribe(),T=null,k.subscribe(R)):_=!0})),_&&(T.unsubscribe(),T=null,k.subscribe(R))})}},274:(ze,se,f)=>{"use strict";f.d(se,{H:()=>$});var c=f(1397),l=f(8071);function $(M,O){return(0,l.T)(O)?(0,c.Z)(M,O,1):(0,c.Z)(M,1)}},5964:(ze,se,f)=>{"use strict";f.d(se,{p:()=>$});var c=f(9974),l=f(4360);function $(M,O){return(0,c.N)((x,R)=>{let T=0;x.subscribe((0,l._)(R,_=>M.call(O,_,T++)&&R.next(_)))})}},980:(ze,se,f)=>{"use strict";f.d(se,{j:()=>l});var c=f(9974);function l($){return(0,c.N)((M,O)=>{try{M.subscribe(O)}finally{O.add($)}})}},6354:(ze,se,f)=>{"use strict";f.d(se,{T:()=>$});var c=f(9974),l=f(4360);function $(M,O){return(0,c.N)((x,R)=>{let T=0;x.subscribe((0,l._)(R,_=>{R.next(M.call(O,_,T++))}))})}},6365:(ze,se,f)=>{"use strict";f.d(se,{U:()=>$});var c=f(1397),l=f(3669);function $(M=1/0){return(0,c.Z)(l.D,M)}},1397:(ze,se,f)=>{"use strict";f.d(se,{Z:()=>T});var c=f(6354),l=f(8750),$=f(9974),M=f(5225),O=f(4360),R=f(8071);
1function T(_,k,I=1/0){return(0,R.T)(k)?T((P,Z)=>(0,c.T)((N,V)=>k(P,N,Z,V))((0,l.Tg)(_(P,Z))),I):("number"==typeof k&&(I=k),(0,$.N)((P,Z)=>function x(_,k,I,P,Z,N,V,b){const ie=[];let ye=0,ne=0,z=!1;const W=()=>{z&&!ie.length&&!ye&&k.complete()},G=Ce=>ye<P?Y(Ce):ie.push(Ce),Y=Ce=>{N&&k.next(Ce),ye++;let de=!1;(0,l.Tg)(I(Ce,ne++)).subscribe((0,O._)(k,Ae=>{Z?.(Ae),N?G(Ae):k.next(Ae)},()=>{de=!0},void 0,()=>{if(de)try{for(ye--;ie.length&&ye<P;){const Ae=ie.shift();V?(0,M.N)(k,V,()=>Y(Ae)):Y(Ae)}W()}catch(Ae){k.error(Ae)}}))};return _.subscribe((0,O._)(k,G,()=>{z=!0,W()})),()=>{b?.()}}(P,Z,_,I)))}},9172:(ze,se,f)=>{"use strict";f.d(se,{Z:()=>M});var c=f(8793),l=f(9326),$=f(9974);function M(...O){const x=(0,l.lI)(O);return(0,$.N)((R,T)=>{(x?(0,c.x)(O,R,x):(0,c.x)(O,R)).subscribe(T)})}},5558:(ze,se,f)=>{"use strict";f.d(se,{n:()=>M});var c=f(8750),l=f(9974),$=f(4360);function M(O,x){return(0,l.N)((R,T)=>{let _=null,k=0,I=!1;const P=()=>I&&!_&&T.complete();R.subscribe((0,$._)(T,Z=>{_?.unsubscribe();let N=0;const V=k++;(0,c.Tg)(O(Z,V)).subscribe(_=(0,$._)(T,b=>T.next(x?x(Z,b,V,N++):b),()=>{_=null,P()}))},()=>{I=!0,P()}))})}},6697:(ze,se,f)=>{"use strict";f.d(se,{s:()=>M});var c=f(983),l=f(9974),$=f(4360);function M(O){return O<=0?()=>c.w:(0,l.N)((x,R)=>{let T=0;x.subscribe((0,$._)(R,_=>{++T<=O&&(R.next(_),O<=T&&R.complete())}))})}},5109:(ze,se,f)=>{"use strict";f.d(se,{o:()=>M});var c=f(983),l=f(9974),$=f(4360);function M(O){return O<=0?()=>c.w:(0,l.N)((x,R)=>{let T=[];x.subscribe((0,$._)(R,_=>{T.push(_),O<T.length&&T.shift()},()=>{for(const _ of T)R.next(_);R.complete()},void 0,()=>{T=null}))})}},6977:(ze,se,f)=>{"use strict";f.d(se,{Q:()=>O});var c=f(9974),l=f(4360),$=f(8750),M=f(5343);function O(x){return(0,c.N)((R,T)=>{(0,$.Tg)(x).subscribe((0,l._)(T,()=>T.complete(),M.l)),!T.closed&&R.subscribe(T)})}},8141:(ze,se,f)=>{"use strict";f.d(se,{M:()=>O});var c=f(8071),l=f(9974),$=f(4360),M=f(3669);function O(x,R,T){const _=(0,c.T)(x)||R||T?{next:x,error:R,complete:T}:x;return _?(0,l.N)((k,I)=>{var P;null===(P=_.subscribe)||void 0===P||P.call(_);let Z=!0;k.subscribe((0,$._)(I,N=>{var V;null===(V=_.next)||void 0===V||V.call(_,N),I.next(N)},()=>{var N;Z=!1,null===(N=_.complete)||void 0===N||N.call(_),I.complete()},N=>{var V;Z=!1,null===(V=_.error)||void 0===V||V.call(_,N),I.error(N)},()=>{var N,V;Z&&(null===(N=_.unsubscribe)||void 0===N||N.call(_)),null===(V=_.finalize)||void 0===V||V.call(_)}))}):M.D}},8839:(ze,se,f)=>{"use strict";f.d(se,{b:()=>k,E:()=>_});var c=f(8359);class l extends c.yU{constructor(P,Z){super()}schedule(P,Z=0){return this}}const $={setInterval(I,P,...Z){const{delegate:N}=$;return N?.setInterval?N.setInterval(I,P,...Z):setInterval(I,P,...Z)},clearInterval(I){const{delegate:P}=$;return(P?.clearInterval||clearInterval)(I)},delegate:void 0};var M=f(7908),x=f(6129);class R{constructor(P,Z=R.now){this.schedulerActionCtor=P,this.now=Z}schedule(P,Z=0,N){return new this.schedulerActionCtor(this,P).schedule(N,Z)}}R.now=x.U.now;const _=new class T extends R{constructor(P,Z=R.now){super(P,Z),this.actions=[],this._active=!1}flush(P){const{actions:Z}=this;if(this._active)return void Z.push(P);let N;this._active=!0;do{if(N=P.execute(P.state,P.delay))break}while(P=Z.shift());if(this._active=!1,N){for(;P=Z.shift();)P.unsubscribe();throw N}}}(class O extends l{constructor(P,Z){super(P,Z),this.scheduler=P,this.work=Z,this.pending=!1}schedule(P,Z=0){var N;if(this.closed)return this;this.state=P;const V=this.id,b=this.scheduler;return null!=V&&(this.id=this.recycleAsyncId(b,V,Z)),this.pending=!0,this.delay=Z,this.id=null!==(N=this.id)&&void 0!==N?N:this.requestAsyncId(b,this.id,Z),this}requestAsyncId(P,Z,N=0){return $.setInterval(P.flush.bind(P,this),N)}recycleAsyncId(P,Z,N=0){if(null!=N&&this.delay===N&&!1===this.pending)return Z;null!=Z&&$.clearInterval(Z)}execute(P,Z){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const N=this._execute(P,Z);if(N)return N;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(P,Z){let V,N=!1;try{this.work(P)}catch(b){N=!0,V=b||new Error("Scheduled action threw falsy error")}if(N)return this.unsubscribe(),V}unsubscribe(){if(!this.closed){const{id:P,scheduler:Z}=this,{actions:N}=Z;
1this.work=this.state=this.scheduler=null,this.pending=!1,(0,M.o)(N,this),null!=P&&(this.id=this.recycleAsyncId(Z,P,null)),this.delay=null,super.unsubscribe()}}}),k=_},6129:(ze,se,f)=>{"use strict";f.d(se,{U:()=>c});const c={now:()=>(c.delegate||Date).now(),delegate:void 0}},9270:(ze,se,f)=>{"use strict";f.d(se,{f:()=>c});const c={setTimeout(l,$,...M){const{delegate:O}=c;return O?.setTimeout?O.setTimeout(l,$,...M):setTimeout(l,$,...M)},clearTimeout(l){const{delegate:$}=c;return($?.clearTimeout||clearTimeout)(l)},delegate:void 0}},4761:(ze,se,f)=>{"use strict";f.d(se,{l:()=>l});const l=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(ze,se,f)=>{"use strict";f.d(se,{s:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},9326:(ze,se,f)=>{"use strict";f.d(se,{R0:()=>x,lI:()=>O,ms:()=>M});var c=f(8071),l=f(9470);function $(R){return R[R.length-1]}function M(R){return(0,c.T)($(R))?R.pop():void 0}function O(R){return(0,l.m)($(R))?R.pop():void 0}function x(R,T){return"number"==typeof $(R)?R.pop():T}},3073:(ze,se,f)=>{"use strict";f.d(se,{D:()=>O});const{isArray:c}=Array,{getPrototypeOf:l,prototype:$,keys:M}=Object;function O(R){if(1===R.length){const T=R[0];if(c(T))return{args:T,keys:null};if(function x(R){return R&&"object"==typeof R&&l(R)===$}(T)){const _=M(T);return{args:_.map(k=>T[k]),keys:_}}}return{args:R,keys:null}}},7908:(ze,se,f)=>{"use strict";function c(l,$){if(l){const M=l.indexOf($);0<=M&&l.splice(M,1)}}f.d(se,{o:()=>c})},1853:(ze,se,f)=>{"use strict";function c(l){const M=l(O=>{Error.call(O),O.stack=(new Error).stack});return M.prototype=Object.create(Error.prototype),M.prototype.constructor=M,M}f.d(se,{L:()=>c})},8496:(ze,se,f)=>{"use strict";function c(l,$){return l.reduce((M,O,x)=>(M[O]=$[x],M),{})}f.d(se,{e:()=>c})},9786:(ze,se,f)=>{"use strict";f.d(se,{Y:()=>$,l:()=>M});var c=f(1026);let l=null;function $(O){if(c.$.useDeprecatedSynchronousErrorHandling){const x=!l;if(x&&(l={errorThrown:!1,error:null}),O(),x){const{errorThrown:R,error:T}=l;if(l=null,R)throw T}}else O()}function M(O){c.$.useDeprecatedSynchronousErrorHandling&&l&&(l.errorThrown=!0,l.error=O)}},5225:(ze,se,f)=>{"use strict";function c(l,$,M,O=0,x=!1){const R=$.schedule(function(){M(),x?l.add(this.schedule(null,O)):this.unsubscribe()},O);if(l.add(R),!x)return R}f.d(se,{N:()=>c})},3669:(ze,se,f)=>{"use strict";function c(l){return l}f.d(se,{D:()=>c})},7441:(ze,se,f)=>{"use strict";f.d(se,{X:()=>c});const c=l=>l&&"number"==typeof l.length&&"function"!=typeof l},7953:(ze,se,f)=>{"use strict";f.d(se,{T:()=>l});var c=f(8071);function l($){return Symbol.asyncIterator&&(0,c.T)($?.[Symbol.asyncIterator])}},8211:(ze,se,f)=>{"use strict";function c(l){return l instanceof Date&&!isNaN(l)}f.d(se,{v:()=>c})},8071:(ze,se,f)=>{"use strict";function c(l){return"function"==typeof l}f.d(se,{T:()=>c})},5055:(ze,se,f)=>{"use strict";f.d(se,{l:()=>$});var c=f(3494),l=f(8071);function $(M){return(0,l.T)(M[c.s])}},5397:(ze,se,f)=>{"use strict";f.d(se,{x:()=>$});var c=f(4761),l=f(8071);function $(M){return(0,l.T)(M?.[c.l])}},4402:(ze,se,f)=>{"use strict";f.d(se,{A:()=>$});var c=f(1985),l=f(8071);function $(M){return!!M&&(M instanceof c.c||(0,l.T)(M.lift)&&(0,l.T)(M.subscribe))}},9858:(ze,se,f)=>{"use strict";f.d(se,{y:()=>l});var c=f(8071);function l($){return(0,c.T)($?.then)}},5196:(ze,se,f)=>{"use strict";f.d(se,{C:()=>$,U:()=>M});var c=f(1635),l=f(8071);function $(O){return(0,c.AQ)(this,arguments,function*(){const R=O.getReader();try{for(;;){const{value:T,done:_}=yield(0,c.N3)(R.read());if(_)return yield(0,c.N3)(void 0);yield yield(0,c.N3)(T)}}finally{R.releaseLock()}})}function M(O){return(0,l.T)(O?.getReader)}},9470:(ze,se,f)=>{"use strict";f.d(se,{m:()=>l});var c=f(8071);function l($){return $&&(0,c.T)($.schedule)}},9974:(ze,se,f)=>{"use strict";f.d(se,{N:()=>$,S:()=>l});var c=f(8071);function l(M){return(0,c.T)(M?.lift)}function $(M){return O=>{if(l(O))return O.lift(function(x){try{return M(x,this)}catch(R){this.error(R)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(ze,se,f)=>{"use strict";f.d(se,{I:()=>M});var c=f(6354);const{isArray:l}=Array;function M(O){return(0,c.T)(x=>
1function $(O,x){return l(x)?O(...x):O(x)}(O,x))}},5343:(ze,se,f)=>{"use strict";function c(){}f.d(se,{l:()=>c})},1203:(ze,se,f)=>{"use strict";f.d(se,{F:()=>l,m:()=>$});var c=f(3669);function l(...M){return $(M)}function $(M){return 0===M.length?c.D:1===M.length?M[0]:function(x){return M.reduce((R,T)=>T(R),x)}}},5334:(ze,se,f)=>{"use strict";f.d(se,{m:()=>$});var c=f(1026),l=f(9270);function $(M){l.f.setTimeout(()=>{const{onUnhandledError:O}=c.$;if(!O)throw M;O(M)})}},591:(ze,se,f)=>{"use strict";function c(l){return new TypeError(`You provided ${null!==l&&"object"==typeof l?"an invalid object":`'${l}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}f.d(se,{L:()=>c})},177:(ze,se,f)=>{"use strict";f.d(se,{AJ:()=>Nr,B3:()=>j,Jj:()=>Nn,MD:()=>Fs,N0:()=>ti,QT:()=>O,Sm:()=>ye,Sq:()=>zt,VF:()=>R,Vy:()=>Ui,Xr:()=>Vi,YU:()=>wi,ZD:()=>x,_b:()=>Yi,aZ:()=>z,bT:()=>wr,fw:()=>ne,hb:()=>b,hj:()=>I,kB:()=>ie,kt:()=>lt,qQ:()=>_}),f(467);var l=f(4438),$=f(1413);let M=null;function O(){return M}function x(v){M??=v}class R{}const _=new l.nKC("");let k=(()=>{class v{historyGo(C){throw new Error("")}static \u0275fac=function(F){return new(F||v)};static \u0275prov=l.jDH({token:v,factory:()=>(0,l.WQX)(P),providedIn:"platform"})}return v})();const I=new l.nKC("");let P=(()=>{class v extends k{_location;_history;_doc=(0,l.WQX)(_);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return O().getBaseHref(this._doc)}onPopState(C){const F=O().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",C,!1),()=>F.removeEventListener("popstate",C)}onHashChange(C){const F=O().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",C,!1),()=>F.removeEventListener("hashchange",C)}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(C){this._location.pathname=C}pushState(C,F,ue){this._history.pushState(C,F,ue)}replaceState(C,F,ue){this._history.replaceState(C,F,ue)}forward(){this._history.forward()}back(){this._history.back()}historyGo(C=0){this._history.go(C)}getState(){return this._history.state}static \u0275fac=function(F){return new(F||v)};static \u0275prov=l.jDH({token:v,factory:()=>new v,providedIn:"platform"})}return v})();function Z(v,K){if(0==v.length)return K;if(0==K.length)return v;let C=0;return v.endsWith("/")&&C++,K.startsWith("/")&&C++,2==C?v+K.substring(1):1==C?v+K:v+"/"+K}function N(v){const K=v.match(/#|\?|$/),C=K&&K.index||v.length;return v.slice(0,C-("/"===v[C-1]?1:0))+v.slice(C)}function V(v){return v&&"?"!==v[0]?"?"+v:v}let b=(()=>{class v{historyGo(C){throw new Error("")}static \u0275fac=function(F){return new(F||v)};static \u0275prov=l.jDH({token:v,factory:()=>(0,l.WQX)(ye),providedIn:"root"})}return v})();const ie=new l.nKC("");let ye=(()=>{class v extends b{_platformLocation;_baseHref;_removeListenerFns=[];constructor(C,F){super(),this._platformLocation=C,this._baseHref=F??this._platformLocation.getBaseHrefFromDOM()??(0,l.WQX)(_).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}prepareExternalUrl(C){return Z(this._baseHref,C)}path(C=!1){const F=this._platformLocation.pathname+V(this._platformLocation.search),ue=this._platformLocation.hash;return ue&&C?`${F}${ue}`:F}pushState(C,F,ue,We){const Je=this.prepareExternalUrl(ue+V(We));this._platformLocation.pushState(C,F,Je)}replaceState(C,F,ue,We){const Je=this.prepareExternalUrl(ue+V(We));this._platformLocation.replaceState(C,F,Je)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static \u0275fac=function(F){return new(F||v)(l.KVO(k),l.KVO(ie,8))};static \u0275prov=l.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})(),ne=(()=>{class v extends b{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(C,F){super(),this._platformLocation=C,null!=F&&(this._baseHref=F)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.on
1HashChange(C))}getBaseHref(){return this._baseHref}path(C=!1){const F=this._platformLocation.hash??"#";return F.length>0?F.substring(1):F}prepareExternalUrl(C){const F=Z(this._baseHref,C);return F.length>0?"#"+F:F}pushState(C,F,ue,We){let Je=this.prepareExternalUrl(ue+V(We));0==Je.length&&(Je=this._platformLocation.pathname),this._platformLocation.pushState(C,F,Je)}replaceState(C,F,ue,We){let Je=this.prepareExternalUrl(ue+V(We));0==Je.length&&(Je=this._platformLocation.pathname),this._platformLocation.replaceState(C,F,Je)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static \u0275fac=function(F){return new(F||v)(l.KVO(k),l.KVO(ie,8))};static \u0275prov=l.jDH({token:v,factory:v.\u0275fac})}return v})(),z=(()=>{class v{_subject=new $.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(C){this._locationStrategy=C;const F=this._locationStrategy.getBaseHref();this._basePath=function Ce(v){if(new RegExp("^(https?:)?//").test(v)){const[,C]=v.split(/\/\/[^\/]+/);return C}return v}(N(Y(F))),this._locationStrategy.onPopState(ue=>{this._subject.next({url:this.path(!0),pop:!0,state:ue.state,type:ue.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(C=!1){return this.normalize(this._locationStrategy.path(C))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(C,F=""){return this.path()==this.normalize(C+V(F))}normalize(C){return v.stripTrailingSlash(function G(v,K){if(!v||!K.startsWith(v))return K;const C=K.substring(v.length);return""===C||["/",";","?","#"].includes(C[0])?C:K}(this._basePath,Y(C)))}prepareExternalUrl(C){return C&&"/"!==C[0]&&(C="/"+C),this._locationStrategy.prepareExternalUrl(C)}go(C,F="",ue=null){this._locationStrategy.pushState(ue,"",C,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+V(F)),ue)}replaceState(C,F="",ue=null){this._locationStrategy.replaceState(ue,"",C,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+V(F)),ue)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(C=0){this._locationStrategy.historyGo?.(C)}onUrlChange(C){return this._urlChangeListeners.push(C),this._urlChangeSubscription??=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)}),()=>{const F=this._urlChangeListeners.indexOf(C);this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(C="",F){this._urlChangeListeners.forEach(ue=>ue(C,F))}subscribe(C,F,ue){return this._subject.subscribe({next:C,error:F??void 0,complete:ue??void 0})}static normalizeQueryParams=V;static joinWithSlash=Z;static stripTrailingSlash=N;static \u0275fac=function(F){return new(F||v)(l.KVO(b))};static \u0275prov=l.jDH({token:v,factory:()=>function W(){return new z((0,l.KVO)(b))}(),providedIn:"root"})}return v})();function Y(v){return v.replace(/\/index.html$/,"")}function Yi(v,K){K=encodeURIComponent(K);for(const C of v.split(";")){const F=C.indexOf("="),[ue,We]=-1==F?[C,""]:[C.slice(0,F),C.slice(F+1)];if(ue.trim()===K)return decodeURIComponent(We)}return null}const Ji=/\s+/,Jr=[];let wi=(()=>{class v{_ngEl;_renderer;initialClasses=Jr;rawClass;stateMap=new Map;constructor(C,F){this._ngEl=C,this._renderer=F}set klass(C){this.initialClasses=null!=C?C.trim().split(Ji):Jr}set ngClass(C){this.rawClass="string"==typeof C?C.trim().split(Ji):C}ngDoCheck(){for(const F of this.initialClasses)this._updateState(F,!0);const C=this.rawClass;if(Array.isArray(C)||C instanceof Set)for(const F of C)this._updateState(F,!0);else if(null!=C)for(const F of Object.keys(C))this._updateState(F,!!C[F]);this._applyStateDiff()}_updateState(C,F){const ue=this.stateMap.get(C);void 0!==ue?(ue.enabled!==F&&(ue.changed=!0,ue.enabled=F),ue.touched=!0):this.stateMap.set(C,{enabled:F,changed:!0,touched:!0})}_applyStateDiff(){for(const C of this.stateMap){const F=C[0],ue=C[1];ue.changed?(this._toggleClass(F,ue.enabled),ue.changed=!1):ue.touched||(ue.enabled&&this._toggleClass(F,!1),this.stateMap.delete(F)),ue.touched=!1}}_toggleClass(C,F){(C=C.trim()).length>
10&&C.split(Ji).forEach(ue=>{F?this._renderer.addClass(this._ngEl.nativeElement,ue):this._renderer.removeClass(this._ngEl.nativeElement,ue)})}static \u0275fac=function(F){return new(F||v)(l.rXU(l.aKT),l.rXU(l.sFG))};static \u0275dir=l.FsC({type:v,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return v})();class Xo{$implicit;ngForOf;index;count;constructor(K,C,F,ue){this.$implicit=K,this.ngForOf=C,this.index=F,this.count=ue}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 zt=(()=>{class v{_viewContainer;_template;_differs;set ngForOf(C){this._ngForOf=C,this._ngForOfDirty=!0}set ngForTrackBy(C){this._trackByFn=C}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(C,F,ue){this._viewContainer=C,this._template=F,this._differs=ue}set ngForTemplate(C){C&&(this._template=C)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const C=this._ngForOf;!this._differ&&C&&(this._differ=this._differs.find(C).create(this.ngForTrackBy))}if(this._differ){const C=this._differ.diff(this._ngForOf);C&&this._applyChanges(C)}}_applyChanges(C){const F=this._viewContainer;C.forEachOperation((ue,We,Je)=>{if(null==ue.previousIndex)F.createEmbeddedView(this._template,new Xo(ue.item,this._ngForOf,-1,-1),null===Je?void 0:Je);else if(null==Je)F.remove(null===We?void 0:We);else if(null!==We){const nt=F.get(We);F.move(nt,Je),ki(nt,ue)}});for(let ue=0,We=F.length;ue<We;ue++){const nt=F.get(ue).context;nt.index=ue,nt.count=We,nt.ngForOf=this._ngForOf}C.forEachIdentityChange(ue=>{ki(F.get(ue.currentIndex),ue)})}static ngTemplateContextGuard(C,F){return!0}static \u0275fac=function(F){return new(F||v)(l.rXU(l.c1b),l.rXU(l.C4Q),l.rXU(l._q3))};static \u0275dir=l.FsC({type:v,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return v})();function ki(v,K){v.context.$implicit=K.item}let wr=(()=>{class v{_viewContainer;_context=new pi;_thenTemplateRef=null;_elseTemplateRef=null;
1_thenViewRef=null;_elseViewRef=null;constructor(C,F){this._viewContainer=C,this._thenTemplateRef=F}set ngIf(C){this._context.$implicit=this._context.ngIf=C,this._updateView()}set ngIfThen(C){re("ngIfThen",C),this._thenTemplateRef=C,this._thenViewRef=null,this._updateView()}set ngIfElse(C){re("ngIfElse",C),this._elseTemplateRef=C,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(C,F){return!0}static \u0275fac=function(F){return new(F||v)(l.rXU(l.c1b),l.rXU(l.C4Q))};static \u0275dir=l.FsC({type:v,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return v})();class pi{$implicit=null;ngIf=null}function re(v,K){if(K&&!K.createEmbeddedView)throw new Error(`${v} must be a TemplateRef, but received '${(0,l.Tbb)(K)}'.`)}let j=(()=>{class v{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(C,F,ue){this._ngEl=C,this._differs=F,this._renderer=ue}set ngStyle(C){this._ngStyle=C,!this._differ&&C&&(this._differ=this._differs.find(C).create())}ngDoCheck(){if(this._differ){const C=this._differ.diff(this._ngStyle);C&&this._applyChanges(C)}}_setStyle(C,F){const[ue,We]=C.split("."),Je=-1===ue.indexOf("-")?void 0:l.czy.DashCase;null!=F?this._renderer.setStyle(this._ngEl.nativeElement,ue,We?`${F}${We}`:F,Je):this._renderer.removeStyle(this._ngEl.nativeElement,ue,Je)}_applyChanges(C){C.forEachRemovedItem(F=>this._setStyle(F.key,null)),C.forEachAddedItem(F=>this._setStyle(F.key,F.currentValue)),C.forEachChangedItem(F=>this._setStyle(F.key,F.currentValue))}static \u0275fac=function(F){return new(F||v)(l.rXU(l.aKT),l.rXU(l.MKu),l.rXU(l.sFG))};static \u0275dir=l.FsC({type:v,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return v})();class _t{createSubscription(K,C){return(0,l.O8t)(()=>K.subscribe({next:C,error:F=>{throw F}}))}dispose(K){(0,l.O8t)(()=>K.unsubscribe())}}class Xt{createSubscription(K,C){return K.then(C,F=>{throw F})}dispose(K){}}const vt=new Xt,Lt=new _t;let Nn=(()=>{class v{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(C){this._ref=C}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(C){if(!this._obj){if(C)try{this.markForCheckOnValueUpdate=!1,this._subscribe(C)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return C!==this._obj?(this._dispose(),this.transform(C)):this._latestValue}_subscribe(C){this._obj=C,this._strategy=this._selectStrategy(C),this._subscription=this._strategy.createSubscription(C,F=>this._updateLatestValue(C,F))}_selectStrategy(C){if((0,l.jNT)(C))return vt;if((0,l.zjR)(C))return Lt;throw function He(v,K){return new l.wOt(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(C,F){C===this._obj&&(this._latestValue=F,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(F){return new(F||v)(l.rXU(l.gRc,16))};static \u0275pipe=l.EJ8({name:"async",type:v,pure:!1})}return v})(),Fs=(()=>{class v{static \u0275fac=function(F){return new(F||v)};static \u0275mod=l.$C({type:v});static \u0275inj=l.G2t({})}return v})();const Nr="browser",Ls="server";function Ui(v){return v===Ls}let Vi=(()=>{class v{static \u0275prov=(0,l.jDH)({token:v,providedIn:"root",factory:()=>new mo((0,l.WQX)(_),window)})}return v})();class mo{document;window;offset=()=>[0,0];constructor(K,C){this.document=K,this.window=C}setOffset(K){this.offset=Array.isArray(K)?()=>K:K}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(K){this.window.scrollTo(K[0],K[1])}scrollToAnchor(K){const C=function ks(v,K){const C=v.getElementById(K)||v.getElementsByName(K)[0];if(C)return C;if("function"==typeof v.createTreeWalker&&v.body&&"function"==typeof v.body.attachShadow){const F=v.createTreeWalker(v.body,NodeFilter.SHOW_ELEMENT);let ue=F.currentNode;for(;ue;){const We=ue.shadowRoot;if(We){const Je=We.getElementById(K)||We.querySelector(`[name="${K}"]`);if(Je)return Je}ue=F.nextNode()}}return null}(this.document,K);C&&(this.scrollToElement(C),C.focus())}setHistoryScrollRestoration(K){this.window.history.scrollRestoration=K}scrollToElement(K){const C=K.getBoundingClientRect(),F=C.left+this.window.pageXOffset,ue=C.top+this.window.pageYOffset,We=this.offset();this.window.scrollTo(F-We[0],ue-We[1])}}class ti{}const Br=v=>v.src,Wr=new l.nKC("",{providedIn:"root",factory:()=>Br}),ls=new l.nKC("",{providedIn:"root",factory:()=>new Set});let Bo=(()=>{class v{preloadedImages=(0,l.WQX)(ls);document=(0,l.WQX)(_);createPreloadLinkTag(C,F,ue,We){if(this.preloadedImages.has(F))return;this.preloadedImages.add(F);const Je=C.createElement("link");C.setAttribute(Je,"as","image"),C.setAttribute(Je,"href",F),C.setAttribute(Je,"rel","preload"),C.setAttribute(Je,"fetchpriority","high"),We&&C.setAttribute(Je,"imageSizes",We),ue&&C.setAttribute(Je,"imageSrcset",ue),C.appendChild(this.document.head,Je)}static \u0275fac=function(F){return new(F||v)};static \u0275prov=l.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})();const As=/^((\s*\d+w\s*(,|$)){1,})$/,ro=[1,2];let lt=(()=>{class v{imageLoader=(0,l.WQX)(Wr);config=function rt(v){let K={};return v.breakpoints&&(K.breakpoints=v.breakpoints.sort((C,F)=>C-F)),Object.assign({},l.PUk,v,K)}((0,l.WQX)(l.GGh));renderer=(0,l.WQX)(l.sFG);imgElement=(0,l.WQX)(l.aKT).nativeElement;injector=(0,l.WQX)(l.zZn);isServer=Ui((0,l.WQX)(l.Agw));preloadLinkCreator=(0,l.WQX)(Bo);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){(0,l.ngT)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const C=this.updateSrcAndSrcset();this.sizes?"lazy"===this.getLoadingBehavior()?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&As.test(this.ngSrcset)&&"lazy"===this.getLoadingBehavior()&&this.setHostAttribute("sizes","auto, 100vw"),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),C,this.sizes)}ngOnChanges(C){C.ngSrc&&!C.ngSrc.isFirstChange()&&this.updateSrcAndSrcset(!0)}callImageLoader(C){let F=C;return this.loaderParams&&(F.loaderParams=this.loaderParams),this.imageLoader(F)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const C=As.test(this.ngSrcset);return this.ngSrcset.split(",").filter(ue=>""!==ue).map(ue=>{ue=ue.trim();const We=C?parseFloat(ue):parseFloat(ue)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:We})} ${ue}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:C}=this.config;let F=C;return"100vw"===this.sizes?.trim()&&(F=C.filter(We=>We>=640)),F.map(We=>`${this.callImageLoader({src:this.ngSrc,width:We})} ${We}w`).join(", ")}updateSrcAndSrcset(C=!1){C&&(this._renderedSrc=null);const F=this.getRewrittenSrc();let ue;return this.setHostAttribute("src",F),this.ngSrcset?ue=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(ue=this.getAutomaticSrcset()),ue&&this.setHostAttribute("srcset",ue),ue}getFixedSrcset(){return ro.map(F=>`${this.callImageLoader({src:this.ngSrc,width:this.width*F})} ${F}x`).join(", ")}shouldGenerateAutomaticSrcset(){let C=!1;return this.sizes||(C=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Br&&!C}generatePlaceholder(C){const{placeholderResolution:F}=this.config;return!0===C?`url(${this.callImageLoader({src:this.ngSrc,width:F,isPlaceholder:!0})})`:"string"==typeof C?`url(${C})`:null}shouldBlurPlaceholder(C){return!C||!C.hasOwnProperty("blur")||!!C.blur}removePlaceholderOnLoad(C){const F=()=>{const Je=this.injector.get(l.gRc);ue(),We(),this.placeholder=!1,Je.markForCheck()},ue=this.renderer.listen(C,"load",F),We=this.renderer.listen(C,"error",F);
1!function Co(v,K){v.complete&&v.naturalWidth&&K()}(C,F)}setHostAttribute(C,F){this.renderer.setAttribute(this.imgElement,C,F)}static \u0275fac=function(F){return new(F||v)};static \u0275dir=l.FsC({type:v,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(F,ue){2&F&&l.xc7("position",ue.fill?"absolute":null)("width",ue.fill?"100%":null)("height",ue.fill?"100%":null)("inset",ue.fill?"0":null)("background-size",ue.placeholder?"cover":null)("background-position",ue.placeholder?"50% 50%":null)("background-repeat",ue.placeholder?"no-repeat":null)("background-image",ue.placeholder?ue.generatePlaceholder(ue.placeholder):null)("filter",ue.placeholder&&ue.shouldBlurPlaceholder(ue.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Jo],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",l.Udg],height:[2,"height","height",l.Udg],loading:"loading",priority:[2,"priority","priority",l.L39],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",l.L39],fill:[2,"fill","fill",l.L39],placeholder:[2,"placeholder","placeholder",oo],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[l.GFd,l.OA$]})}return v})();function Jo(v){return"string"==typeof v?v:(0,l.rcV)(v)}function oo(v){return"string"==typeof v&&"true"!==v&&"false"!==v&&""!==v?v:(0,l.L39)(v)}},1626:(ze,se,f)=>{"use strict";f.d(se,{$R:()=>cn,Lr:()=>N,Nl:()=>G,Qq:()=>mt,Sx:()=>dn,_y:()=>Ce,a7:()=>wn,cS:()=>ae,kG:()=>Ke,rx:()=>Y,yz:()=>fe}),f(467);var l=f(4438),$=f(7673),M=f(1985),O=f(6648),x=f(274),R=f(5964),T=f(6354),_=f(980),k=f(5558),I=f(177);class P{}class Z{}class N{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(pe){pe?"string"==typeof pe?this.lazyInit=()=>{this.headers=new Map,pe.split("\n").forEach(ve=>{const Xe=ve.indexOf(":");if(Xe>0){const ft=ve.slice(0,Xe),At=ve.slice(Xe+1).trim();this.addHeaderEntry(ft,At)}})}:typeof Headers<"u"&&pe instanceof Headers?(this.headers=new Map,pe.forEach((ve,Xe)=>{this.addHeaderEntry(Xe,ve)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(pe).forEach(([ve,Xe])=>{this.setHeaderEntries(ve,Xe)})}:this.headers=new Map}has(pe){return this.init(),this.headers.has(pe.toLowerCase())}get(pe){this.init();const ve=this.headers.get(pe.toLowerCase());return ve&&ve.length>0?ve[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(pe){return this.init(),this.headers.get(pe.toLowerCase())||null}append(pe,ve){return this.clone({name:pe,value:ve,op:"a"})}set(pe,ve){return this.clone({name:pe,value:ve,op:"s"})}delete(pe,ve){return this.clone({name:pe,value:ve,op:"d"})}maybeSetNormalizedName(pe,ve){this.normalizedNames.has(ve)||this.normalizedNames.set(ve,pe)}init(){this.lazyInit&&(this.lazyInit instanceof N?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(pe=>this.applyUpdate(pe)),this.lazyUpdate=null))}copyFrom(pe){pe.init(),Array.from(pe.headers.keys()).forEach(ve=>{this.headers.set(ve,pe.headers.get(ve)),this.normalizedNames.set(ve,pe.normalizedNames.get(ve))})}clone(pe){const ve=new N;return ve.lazyInit=this.lazyInit&&this.lazyInit instanceof N?this.lazyInit:this,ve.lazyUpdate=(this.lazyUpdate||[]).concat([pe]),ve}applyUpdate(pe){const ve=pe.name.toLowerCase();switch(pe.op){case"a":case"s":let Xe=pe.value;if("string"==typeof Xe&&(Xe=[Xe]),0===Xe.length)return;this.maybeSetNormalizedName(pe.name,ve);const ft=("a"===pe.op?this.headers.get(ve):void 0)||[];ft.push(...Xe),this.headers.set(ve,ft);break;case"d":const At=pe.value;if(At){let Nt=this.headers.get(ve);if(!Nt)return;Nt=Nt.filter(ln=>-1===At.indexOf(ln)),0===Nt.length?(this.headers.delete(ve),this.normalizedNames.delete(ve)):this.headers.set(ve,Nt)}else this.headers.delete(ve),this.normalizedNames.delete(ve)}}addHeaderEntry(pe,ve){const Xe=pe.toLowerCase();this.maybeSetNormalizedName(pe,Xe),this.headers.has(Xe)?this.headers.get(Xe).push(ve):this.headers.set(Xe,[ve])}setHeaderEntries(pe,ve){const Xe=(Array.isArray(ve)?ve:[ve]).map(At=>At.toString()),ft=pe.toLowerCase();this.headers.set(ft,Xe),this.maybeSetNormalizedName(pe,ft)}forEach(pe){this.init(),Array.from(this.normalizedNames.keys()).forEac
1h(ve=>pe(this.normalizedNames.get(ve),this.headers.get(ve)))}}class b{encodeKey(pe){return z(pe)}encodeValue(pe){return z(pe)}decodeKey(pe){return decodeURIComponent(pe)}decodeValue(pe){return decodeURIComponent(pe)}}const ye=/%(\d[a-f0-9])/gi,ne={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function z(re){return encodeURIComponent(re).replace(ye,(pe,ve)=>ne[ve]??pe)}function W(re){return`${re}`}class G{map;encoder;updates=null;cloneFrom=null;constructor(pe={}){if(this.encoder=pe.encoder||new b,pe.fromString){if(pe.fromObject)throw new l.wOt(2805,!1);this.map=function ie(re,pe){const ve=new Map;return re.length>0&&re.replace(/^\?/,"").split("&").forEach(ft=>{const At=ft.indexOf("="),[Nt,ln]=-1==At?[pe.decodeKey(ft),""]:[pe.decodeKey(ft.slice(0,At)),pe.decodeValue(ft.slice(At+1))],y=ve.get(Nt)||[];y.push(ln),ve.set(Nt,y)}),ve}(pe.fromString,this.encoder)}else pe.fromObject?(this.map=new Map,Object.keys(pe.fromObject).forEach(ve=>{const Xe=pe.fromObject[ve],ft=Array.isArray(Xe)?Xe.map(W):[W(Xe)];this.map.set(ve,ft)})):this.map=null}has(pe){return this.init(),this.map.has(pe)}get(pe){this.init();const ve=this.map.get(pe);return ve?ve[0]:null}getAll(pe){return this.init(),this.map.get(pe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(pe,ve){return this.clone({param:pe,value:ve,op:"a"})}appendAll(pe){const ve=[];return Object.keys(pe).forEach(Xe=>{const ft=pe[Xe];Array.isArray(ft)?ft.forEach(At=>{ve.push({param:Xe,value:At,op:"a"})}):ve.push({param:Xe,value:ft,op:"a"})}),this.clone(ve)}set(pe,ve){return this.clone({param:pe,value:ve,op:"s"})}delete(pe,ve){return this.clone({param:pe,value:ve,op:"d"})}toString(){return this.init(),this.keys().map(pe=>{const ve=this.encoder.encodeKey(pe);return this.map.get(pe).map(Xe=>ve+"="+this.encoder.encodeValue(Xe)).join("&")}).filter(pe=>""!==pe).join("&")}clone(pe){const ve=new G({encoder:this.encoder});return ve.cloneFrom=this.cloneFrom||this,ve.updates=(this.updates||[]).concat(pe),ve}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(pe=>this.map.set(pe,this.cloneFrom.map.get(pe))),this.updates.forEach(pe=>{switch(pe.op){case"a":case"s":const ve=("a"===pe.op?this.map.get(pe.param):void 0)||[];ve.push(W(pe.value)),this.map.set(pe.param,ve);break;case"d":if(void 0===pe.value){this.map.delete(pe.param);break}{let Xe=this.map.get(pe.param)||[];const ft=Xe.indexOf(W(pe.value));-1!==ft&&Xe.splice(ft,1),Xe.length>0?this.map.set(pe.param,Xe):this.map.delete(pe.param)}}}),this.cloneFrom=this.updates=null)}}class Y{defaultValue;constructor(pe){this.defaultValue=pe}}class Ce{map=new Map;set(pe,ve){return this.map.set(pe,ve),this}get(pe){return this.map.has(pe)||this.map.set(pe,pe.defaultValue()),this.map.get(pe)}delete(pe){return this.map.delete(pe),this}has(pe){return this.map.has(pe)}keys(){return this.map.keys()}}function Ae(re){return typeof ArrayBuffer<"u"&&re instanceof ArrayBuffer}function Ye(re){return typeof Blob<"u"&&re instanceof Blob}function xe(re){return typeof FormData<"u"&&re instanceof FormData}const je="Content-Type",et="X-Request-URL",ht="text/plain",Dt="application/json",dt=`${Dt}, ${ht}, */*`;class Pt{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(pe,ve,Xe,ft){let At;if(this.url=ve,this.method=pe.toUpperCase(),function de(re){switch(re){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ft?(this.body=void 0!==Xe?Xe:null,At=ft):At=Xe,At&&(this.reportProgress=!!At.reportProgress,this.withCredentials=!!At.withCredentials,At.responseType&&(this.responseType=At.responseType),At.headers&&(this.headers=At.headers),At.context&&(this.context=At.context),At.params&&(this.params=At.params),this.transferCache=At.transferCache),this.headers??=new N,this.context??=new Ce,this.params){const Nt=this.params.toString();if(0===Nt.length)this.urlWithParams=ve;else{const ln=ve.indexOf("?");this.urlWithParams=ve+(-1===ln?"?":ln<ve.length-1?"&":"")+Nt}}else this.params=new G,this.urlWithParams=ve}serializeBody(){return null===this.body?null:"string"==typeof this.body||Ae(this.body)||Ye(this.body)||xe(this.body)||function Se(re){return typeof URLSearchParams<"u"&&re instanceof URLSearchParams}(this.body)?this.body:this.body instanceof G?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||xe(this.body)?null:Ye(this.body)?this.body.type||null:Ae(this.body)?null:"string"==typeof this.body?ht:this.body instanceof G?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?Dt:null}clone(pe={}){const ve=pe.method||this.method,Xe=pe.url||this.url,ft=pe.responseType||this.responseType,At=pe.transferCache??this.transferCache,Nt=void 0!==pe.body?pe.body:this.body,ln=pe.withCredentials??this.withCredentials,y=pe.reportProgress??this.reportProgress;let j=pe.headers||this.headers,le=pe.params||this.params;const Te=pe.context??this.context;return void 0!==pe.setHeaders&&(j=Object.keys(pe.setHeaders).reduce((He,_t)=>He.set(_t,pe.setHeaders[_t]),j)),pe.setParams&&(le=Object.keys(pe.setParams).reduce((He,_t)=>He.set(_t,pe.setParams[_t]),le)),new Pt(ve,Xe,Nt,{params:le,headers:j,context:Te,reportProgress:y,responseType:ft,withCredentials:ln,transferCache:At})}}
1var Mt=function(re){return re[re.Sent=0]="Sent",re[re.UploadProgress=1]="UploadProgress",re[re.ResponseHeader=2]="ResponseHeader",re[re.DownloadProgress=3]="DownloadProgress",re[re.Response=4]="Response",re[re.User=5]="User",re}(Mt||{});class $t{headers;status;statusText;url;ok;type;constructor(pe,ve=200,Xe="OK"){this.headers=pe.headers||new N,this.status=void 0!==pe.status?pe.status:ve,this.statusText=pe.statusText||Xe,this.url=pe.url||null,this.ok=this.status>=200&&this.status<300}}class Re extends $t{constructor(pe={}){super(pe)}type=Mt.ResponseHeader;clone(pe={}){return new Re({headers:pe.headers||this.headers,status:void 0!==pe.status?pe.status:this.status,statusText:pe.statusText||this.statusText,url:pe.url||this.url||void 0})}}class ae extends $t{body;constructor(pe={}){super(pe),this.body=void 0!==pe.body?pe.body:null}type=Mt.Response;clone(pe={}){return new ae({body:void 0!==pe.body?pe.body:this.body,headers:pe.headers||this.headers,status:void 0!==pe.status?pe.status:this.status,statusText:pe.statusText||this.statusText,url:pe.url||this.url||void 0})}}class fe extends $t{name="HttpErrorResponse";message;error;ok=!1;constructor(pe){super(pe,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${pe.url||"(unknown url)"}`:`Http failure response for ${pe.url||"(unknown url)"}: ${pe.status} ${pe.statusText}`,this.error=pe.error||null}}var Ke=function(re){return re[re.Continue=100]="Continue",re[re.SwitchingProtocols=101]="SwitchingProtocols",re[re.Processing=102]="Processing",re[re.EarlyHints=103]="EarlyHints",re[re.Ok=200]="Ok",re[re.Created=201]="Created",re[re.Accepted=202]="Accepted",re[re.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",re[re.NoContent=204]="NoContent",re[re.ResetContent=205]="ResetContent",re[re.PartialContent=206]="PartialContent",re[re.MultiStatus=207]="MultiStatus",re[re.AlreadyReported=208]="AlreadyReported",re[re.ImUsed=226]="ImUsed",re[re.MultipleChoices=300]="MultipleChoices",re[re.MovedPermanently=301]="MovedPermanently",re[re.Found=302]="Found",re[re.SeeOther=303]="SeeOther",re[re.NotModified=304]="NotModified",re[re.UseProxy=305]="UseProxy",re[re.Unused=306]="Unused",re[re.TemporaryRedirect=307]="TemporaryRedirect",re[re.PermanentRedirect=308]="PermanentRedirect",re[re.BadRequest=400]="BadRequest",re[re.Unauthorized=401]="Unauthorized",re[re.PaymentRequired=402]="PaymentRequired",re[re.Forbidden=403]="Forbidden",re[re.NotFound=404]="NotFound",re[re.MethodNotAllowed=405]="MethodNotAllowed",re[re.NotAcceptable=406]="NotAcceptable",re[re.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",re[re.RequestTimeout=408]="RequestTimeout",re[re.Conflict=409]="Conflict",re[re.Gone=410]="Gone",re[re.LengthRequired=411]="LengthRequired",re[re.PreconditionFailed=412]="PreconditionFailed",re[re.PayloadTooLarge=413]="PayloadTooLarge",re[re.UriTooLong=414]="UriTooLong",re[re.UnsupportedMediaType=415]="UnsupportedMediaType",re[re.RangeNotSatisfiable=416]="RangeNotSatisfiable",re[re.ExpectationFailed=417]="ExpectationFailed",re[re.ImATeapot=418]="ImATeapot",re[re.MisdirectedRequest=421]="MisdirectedRequest",re[re.UnprocessableEntity=422]="UnprocessableEntity",re[re.Locked=423]="Locked",re[re.FailedDependency=424]="FailedDependency",re[re.TooEarly=425]="TooEarly",re[re.UpgradeRequired=426]="UpgradeRequired",re[re.PreconditionRequired=428]="PreconditionRequired",re[re.TooManyRequests=429]="TooManyRequests",re[re.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",re[re.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",re[re.InternalServerError=500]="InternalServerError",re[re.NotImplemented=501]="NotImplemented",re[re.BadGateway=502]="BadGateway",re[re.ServiceUnavailable=503]="ServiceUnavailable",re[re.GatewayTimeout=504]="GatewayTimeout",re[re.HttpVersionNotSupported=505]="HttpVersionNotSupported",re[re.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",re[re.InsufficientStorage=507]="InsufficientStorage",re[re.LoopDetected=508]="LoopDetected",re[re.NotExtended=510]="NotExtended",re[re.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",re}(Ke||{});function Ge(re,pe){return{body:pe,headers:re.headers,context:re.context,observe:re.observe,params:re.params,reportProgress:re.reportProgress,responseType:re.responseType,withCredentials:re.withCredentials,transferCache:re.transferCache}}let mt=(()=>{class re{handler;constructor(ve){this.handler=ve}request(ve,Xe,ft={}){let At;if(ve instanceof Pt)At=ve;else{let y,j;y=ft.headers instanceof N?ft.headers:new N(ft.headers),ft.params&&(j=ft.params instanceof G?ft.params:new G({fromObject:ft.params})),At=new Pt(ve,Xe,void 0!==ft.body?ft.body:null,{headers:y,context:ft.context,params:j,reportProgress:ft.reportProgress,responseType:ft.responseType||"json",withCredentials:ft.withCredentials,transferCache:ft.transferCache})}const Nt=(0,$.of)(At).pipe((0,x.H)(y=>this.handler.handle(y)));if(ve instanceof Pt||"events"===ft.observe)return Nt;const ln=Nt.pipe((0,R.p)(y=>y instanceof ae));switch(ft.observe||"body"){case"body":switch(At.responseType){case"arraybuffer":return ln.pipe((0,T.T)(y=>{if(null!==y.body&&!(y.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return y.body}));case"blob":return ln.pipe((0,T.T)(y=>{if(null!==y.body&&!(y.body instanceof Blob))throw new Error("Response is not a Blob.");return y.body}));case"text":return ln.pipe((0,T.T)(y=>{if(null!==y.body&&"string"!=typeof y.body)throw new Error("Response is not a string.");return y.body}));default:return ln.pipe((0,T.T)(y=>y.body))}case"response":return ln;default:throw new Error(`Unreachable: unhandled observe type ${ft.observe}}`)}}delete(ve,Xe={}){return this.request("DELETE",ve,Xe)}get(ve,Xe={}){return this.request("GET",ve,Xe)}head(ve,Xe={}){return this.request("HEAD",ve,Xe)}jsonp(ve,Xe){return this.request("JSONP",ve,{params:(new G).append(Xe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ve,Xe={}){return this.request("OPTIONS",ve,Xe)}patch(ve,Xe,ft={}){return this.request("PATCH",ve,Ge(ft,Xe))}post(ve,Xe,ft={}){return this.request("POST",ve,Ge(ft,Xe))}put(ve,Xe,ft={}){return this.request("PUT",ve,Ge(ft,Xe))}static \u0275fac=function(Xe){return new(Xe||re)(l.KVO(P))};static \u0275prov=l.jDH({token:re,factory:re.\u0275fac})}return re})();const Wt=new l.nKC("");function Oe(re,pe){return pe(re)}function it(re,pe){return(ve,Xe)=>pe.intercept(ve,{handle:ft=>re(ft,Xe)})}const wn=new l.nKC(""),ct=new l.nKC(""),Ft=new l.nKC(""),Hn=new l.nKC("",{providedIn:"root",factory:()=>!0});function yr(){let re=null;return(pe,ve)=>{null===re&&(re=((0,l.WQX)(wn,{optional:!0})??[]).reduceRight(it,Oe));const Xe=(0,l.WQX)(l.Ua0);if((0,l.WQX)(Hn)){const At=Xe.add();return re(pe,ve).pipe((0,_.j)(()=>Xe.remove(At)))}return re(pe,ve)}}let Gt=(()=>{class re extends P{backend;injector;chain=null;pendingTasks=(0,l.WQX)(l.Ua0);contributeToStability=(0,l.WQX)(Hn);constructor(ve,Xe){super(),this.backend=ve,this.injector=Xe}handle(ve){if(null===this.chain){const Xe=Array.from(new Set([...this.injector.get(ct),...this.injector.get(Ft,[])]));this.chain=Xe.reduceRight((ft,At)=>function jt(re,pe,ve){return(Xe,ft)=>(0,l.N4e)(ve,()=>pe(Xe,At=>re(At,ft)))}(ft,At,this.injector),Oe)}if(this.contributeToStability){const Xe=this.pendingTasks.add();return this.chain(ve,ft=>this.backend.handle(ft)).pipe((0,_.j)(()=>this.pendingTasks.remove(Xe)))}return this.chain(ve,Xe=>this.backend.handle(Xe))}static \u0275fac=function(Xe){return new(Xe||re)(l.KVO(Z),l.KVO(l.uvJ))};static \u0275prov=l.jDH({token:re,factory:re.\u0275fac})}return re})();const Fe=/^\)\]\}',?\n/,jn=RegExp(`^${et}:`,"m");let ot=(()=>{class re{xhrFactory;constructor(ve){this.xhrFactory=ve}handle(ve){if("JSONP"===ve.method)throw new l.wOt(-2800,!1);const Xe=this.xhrFactory;return(Xe.\u0275loadImpl?(0,O.H)(Xe.\u0275loadImpl()):(0,$.of)(null)).pipe((0,k.n)(()=>new M.c(At=>{const Nt=Xe.build();
1if(Nt.open(ve.method,ve.urlWithParams),ve.withCredentials&&(Nt.withCredentials=!0),ve.headers.forEach((vt,Lt)=>Nt.setRequestHeader(vt,Lt.join(","))),ve.headers.has("Accept")||Nt.setRequestHeader("Accept",dt),!ve.headers.has(je)){const vt=ve.detectContentTypeHeader();null!==vt&&Nt.setRequestHeader(je,vt)}if(ve.responseType){const vt=ve.responseType.toLowerCase();Nt.responseType="json"!==vt?vt:"text"}const ln=ve.serializeBody();let y=null;const j=()=>{if(null!==y)return y;const vt=Nt.statusText||"OK",Lt=new N(Nt.getAllResponseHeaders()),Nn=function be(re){return"responseURL"in re&&re.responseURL?re.responseURL:jn.test(re.getAllResponseHeaders())?re.getResponseHeader(et):null}(Nt)||ve.url;return y=new Re({headers:Lt,status:Nt.status,statusText:vt,url:Nn}),y},le=()=>{let{headers:vt,status:Lt,statusText:Nn,url:qr}=j(),or=null;204!==Lt&&(or=typeof Nt.response>"u"?Nt.responseText:Nt.response),0===Lt&&(Lt=or?200:0);let go=Lt>=200&&Lt<300;if("json"===ve.responseType&&"string"==typeof or){const Zo=or;or=or.replace(Fe,"");try{or=""!==or?JSON.parse(or):null}catch(Ii){or=Zo,go&&(go=!1,or={error:Ii,text:or})}}go?(At.next(new ae({body:or,headers:vt,status:Lt,statusText:Nn,url:qr||void 0})),At.complete()):At.error(new fe({error:or,headers:vt,status:Lt,statusText:Nn,url:qr||void 0}))},Te=vt=>{const{url:Lt}=j(),Nn=new fe({error:vt,status:Nt.status||0,statusText:Nt.statusText||"Unknown Error",url:Lt||void 0});At.error(Nn)};let He=!1;const _t=vt=>{He||(At.next(j()),He=!0);let Lt={type:Mt.DownloadProgress,loaded:vt.loaded};vt.lengthComputable&&(Lt.total=vt.total),"text"===ve.responseType&&Nt.responseText&&(Lt.partialText=Nt.responseText),At.next(Lt)},Xt=vt=>{let Lt={type:Mt.UploadProgress,loaded:vt.loaded};vt.lengthComputable&&(Lt.total=vt.total),At.next(Lt)};return Nt.addEventListener("load",le),Nt.addEventListener("error",Te),Nt.addEventListener("timeout",Te),Nt.addEventListener("abort",Te),ve.reportProgress&&(Nt.addEventListener("progress",_t),null!==ln&&Nt.upload&&Nt.upload.addEventListener("progress",Xt)),Nt.send(ln),At.next({type:Mt.Sent}),()=>{Nt.removeEventListener("error",Te),Nt.removeEventListener("abort",Te),Nt.removeEventListener("load",le),Nt.removeEventListener("timeout",Te),ve.reportProgress&&(Nt.removeEventListener("progress",_t),null!==ln&&Nt.upload&&Nt.upload.removeEventListener("progress",Xt)),Nt.readyState!==Nt.DONE&&Nt.abort()}})))}static \u0275fac=function(Xe){return new(Xe||re)(l.KVO(I.N0))};static \u0275prov=l.jDH({token:re,factory:re.\u0275fac})}return re})();const Tt=new l.nKC(""),In=new l.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),lr=new l.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ue{}let $e=(()=>{class re{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(ve,Xe,ft){this.doc=ve,this.platform=Xe,this.cookieName=ft}getToken(){if("server"===this.platform)return null;const ve=this.doc.cookie||"";return ve!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,I._b)(ve,this.cookieName),this.lastCookieString=ve),this.lastToken}static \u0275fac=function(Xe){return new(Xe||re)(l.KVO(I.qQ),l.KVO(l.Agw),l.KVO(In))};static \u0275prov=l.jDH({token:re,factory:re.\u0275fac})}return re})();function ge(re,pe){const ve=re.url.toLowerCase();if(!(0,l.WQX)(Tt)||"GET"===re.method||"HEAD"===re.method||ve.startsWith("http://")||ve.startsWith("https://"))return pe(re);const Xe=(0,l.WQX)(Ue).getToken(),ft=(0,l.WQX)(lr);return null!=Xe&&!re.headers.has(ft)&&(re=re.clone({headers:re.headers.set(ft,Xe)})),pe(re)}var qe=function(re){return re[re.Interceptors=0]="Interceptors",re[re.LegacyInterceptors=1]="LegacyInterceptors",re[re.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",re[re.NoXsrfProtection=3]="NoXsrfProtection",re[re.JsonpSupport=4]="JsonpSupport",re[re.RequestsMadeViaParent=5]="RequestsMadeViaParent",re[re.Fetch=6]="Fetch",re}(qe||{});function cn(...re){const pe=[mt,ot,Gt,{provide:P,useExisting:Gt},{provide:Z,useFactory:()=>(0,l.WQX)(Wt,{optional:!0})??(0,l.WQX)(ot)},{provide:ct,useValue:ge,multi:!0},{provide:Tt,useValue:!0},{provide:Ue,useClass:$e}];for(const ve of re)pe.push(...ve.\u0275providers);return(0,l.EmA)(pe)}const An=new l.nKC("");function dn(){return function Et(re,pe){return{\u0275kind:re,\u0275providers:pe}}(qe.LegacyInterceptors,[{provide:An,useFactory:yr},{provide:ct,useExisting:An,multi:!0}])}},4438:(ze,se,f)=>{"use strict";function l(e,t){return Object.is(e,t)}f.d(se,{iLQ:()=>oh,sZ2:()=>Xa,hnV:()=>dE,Hbi:()=>zN,o8S:()=>Es,BIS:()=>_c,gRc:()=>YI,Ql9:()=>mN,Ocv:()=>wN,abz:()=>zs,Z63:()=>Ti,aKT:()=>vu,uvJ:()=>Gr,zcH:()=>Qs,bkB:()=>Xs,$GK:()=>_n,nKC:()=>zt,zZn:()=>Xr,_q3:()=>s0,MKu:()=>a0,xe9:()=>qE,Co$:()=>M_,Vns:()=>Nl,SKi:()=>Tr,Xx1:()=>vo,Agw:()=>sf,PLl:()=>rf,sFG:()=>WT,_9s:()=>ky,czy:()=>Cg,WPN:()=>eu,kdw:()=>Ai,C4Q:()=>Wf,NYb:()=>$M,giA:()=>sC,RxE:()=>UI,c1b:()=>Fg,gXe:()=>ea,mal:()=>co,L39:()=>Tx,EWP:()=>hd,Ol2:()=>Jy,w6W:()=>Ib,oH4:()=>zI,Rfq:()=>In,WQX:()=>xt,hFB:()=>Fm,QuC:()=>Eo,EmA:()=>ko,Udg:()=>bx,fpN:()=>KN,HJs:()=>qx,N4e:()=>Pa,vPA:()=>zd,O8t:()=>Vu,H3F:()=>Y_,GGh:()=>Tp,PUk:()=>Sp,H8p:()=>ls,KH2:()=>cd,Ua0:()=>Ho,wOt:()=>ct,WHO:()=>iC,e01:()=>oC,Lf2:()=>Cu,lNU:()=>wn,h9k:()=>gg,$MX:()=>Bc,ZF7:()=>Ou,Kcf:()=>Nf,e5t:()=>Wv,UyX:()=>Hv,cWb:()=>jv,osQ:()=>$v,H5H:()=>OE,Zy3:()=>Ft,mq5:()=>qC,JZv:()=>Rn,LfX:()=>Ds,plB:()=>xu,jNT:()=>cE,zjR:()=>aC,ngT:()=>di,hVU:()=>HM,TL$:()=>iv,Tbb:()=>be,rcV:()=>ta,Vt3:()=>eE,GFd:()=>H_,OA$:()=>yd,Jv_:()=>uI,R7$:()=>J0,BMQ:()=>mE,HbH:()=>xC,ZvI:()=>VC,AVh:()=>wE,vxM:()=>WC,wni:()=>Fw,VBU:()=>R_,FsC:()=>x_,jDH:()=>Dn,G2t:()=>Qr,$C:()=>qy,EJ8:()=>P_,rXU:()=>Hc,nrm:()=>bE,eu8:()=>ME,bVm:()=>Yg,qex:()=>Qg,k0s:()=>Zg,j41:()=>Xg,RV6:()=>QC,xGo:()=>Vd,KVO:()=>Nr,kS0:()=>cc,QTQ:()=>eD,bIt:()=>xE,lsd:()=>Bw,XpG:()=>Iw,nI1:()=>DI,bMT:()=>_I,i5U:()=>CI,SdG:()=>Sw,NAR:()=>Aw,Y8G:()=>DE,FS9:()=>FE,lJ4:()=>cI,eq3:()=>dI,l_i:()=>fI,ziG:()=>hI,l4e:()=>pI,mGM:()=>kw,sdS:()=>Uw,Dyx:()=>zC,Z7z:()=>KC,Vm6:()=>GC,Njj:()=>Gi,eBV:()=>Ad,npT:()=>o,B4B:()=>h,n$t:()=>Ve,xc7:()=>CE,DNE:()=>rE,C5r:()=>wI,EFF:()=>Zw,JRh:()=>BE,SpI:()=>nm,Lme:()=>UE,DH7:()=>iI,mxI:()=>jE,R50:()=>VE,GBs:()=>Lw}),f(467);let $=null,M=!1,O=1;const x=Symbol("SIGNAL");function R(e){const t=$;return $=e,t}const I={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function P(e){if(M)throw new Error("");
1if(null===$)return;$.consumerOnSignalRead(e);const t=$.nextProducerIndex++;Ae($),t<$.producerNode.length&&$.producerNode[t]!==e&&de($)&&Ce($.producerNode[t],$.producerIndexOfThis[t]),$.producerNode[t]!==e&&($.producerNode[t]=e,$.producerIndexOfThis[t]=de($)?Y(e,$,t):0),$.producerLastReadVersion[t]=e.version}function N(e){if((!de(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==O)){if(!e.producerMustRecompute(e)&&!W(e))return void ye(e);e.producerRecomputeValue(e),ye(e)}}function V(e){if(void 0===e.liveConsumerNode)return;const t=M;M=!0;try{for(const n of e.liveConsumerNode)n.dirty||ie(n)}finally{M=t}}function b(){return!1!==$?.consumerAllowSignalWrites}function ie(e){e.dirty=!0,V(e),e.consumerMarkedDirty?.(e)}function ye(e){e.dirty=!1,e.lastCleanEpoch=O}function ne(e){return e&&(e.nextProducerIndex=0),R(e)}function z(e,t){if(R(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(de(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ce(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function W(e){Ae(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(N(n),r!==n.version))return!0}return!1}function G(e){if(Ae(e),de(e))for(let t=0;t<e.producerNode.length;t++)Ce(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Y(e,t,n){if(Ye(e),0===e.liveConsumerNode.length&&xe(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Y(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Ce(e,t){if(Ye(e),1===e.liveConsumerNode.length&&xe(e))for(let r=0;r<e.producerNode.length;r++)Ce(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];Ae(i),i.producerIndexOfThis[r]=t}}function de(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ae(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ye(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function xe(e){return void 0!==e.producerNode}const je=Symbol("UNSET"),et=Symbol("COMPUTING"),ht=Symbol("ERRORED"),Dt={...I,value:je,dirty:!0,error:null,equal:l,kind:"computed",producerMustRecompute:e=>e.value===je||e.value===et,producerRecomputeValue(e){if(e.value===et)throw new Error("Detected cycle in computations.");const t=e.value;e.value=et;const n=ne(e);let r,i=!1;try{r=e.computation(),R(null),i=t!==je&&t!==ht&&r!==ht&&e.equal(t,r)}catch(s){r=ht,e.error=s}finally{z(e,n)}i?e.value=t:(e.value=r,e.version++)}};let Pt=function dt(){throw new Error};function Mt(){Pt()}let Re=null;function Qe(e,t){b()||Mt(),e.equal(e.value,t)||(e.value=t,function Vt(e){e.version++,function Z(){O++}(),V(e),Re?.()}(e))}const mt={...I,equal:l,value:void 0,kind:"signal"};var q=f(4412),me=f(1413),Oe=f(8359),it=f(6354);const wn="https://g.co/ng/security#xss";class ct extends Error{code;constructor(t,n){super(Ft(t,n)),this.code=t}}function Ft(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const Hn=Symbol("InputSignalNode#UNSET"),yr={...mt,transformFn:void 0,applyValueToInputSignal(e,t){Qe(e,t)}};function Gt(e,t){const n=Object.create(yr);function r(){if(P(n),n.value===Hn)throw new ct(-950,!1);return n.value}return n.value=e,n.transformFn=t?.transform,r[x]=n,r}function Ut(e){return{toString:e}.toString()}const Rt="__parameters__";function un(e,t,n){return Ut(()=>{const r=function rr(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const u=new i(...s);return d.annotation=u,d;function d(g,S,H){const Q=g.hasOwnProperty(Rt)?g[Rt]:Object.defineProperty(g,Rt,{value:[]})[Rt];for(;Q.length<=H;)Q.push(null);return(Q[H]=Q[H]||[]).push(u),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Rn=globalThis;function Fe(e){for(let t in e)if(e[t]===Fe)return t;throw Error("Could not find renamed property on target object.")}function jn(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function be(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(be).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 ot(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Fn=Fe({__forward_ref__:Fe});function In(e){return e.__forward_ref__=In,e.toString=function(){return be(this())},e}function kt(e){return lr(e)?e():e}function lr(e){return"function"==typeof e&&e.hasOwnProperty(Fn)&&e.__forward_ref__===In}function Dn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Qr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Yr(e){return Yi(e,wi)||Yi(e,xo)}function Ds(e){return null!==Yr(e)}function Yi(e,t){return e.hasOwnProperty(t)?e[t]:null}function Jr(e){return e&&(e.hasOwnProperty(qi)||e.hasOwnProperty(Xo))?e[qi]:null}const wi=Fe({\u0275prov:Fe}),qi=Fe({\u0275inj:Fe}),xo=Fe({ngInjectableDef:Fe}),Xo=Fe({ngInjectorDef:Fe});class zt{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Dn({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ln(e){return e&&!!e.\u0275providers}const y=Fe({\u0275cmp:Fe}),j=Fe({\u0275dir:Fe}),le=Fe({\u0275pipe:Fe}),Te=Fe({\u0275mod:Fe}),He=Fe({\u0275fac:Fe}),_t=Fe({__NG_ELEMENT_ID__:Fe}),Xt=Fe({__NG_ENV_ID__:Fe});function vt(e){return"string"==typeof e?e:null==e?"":String(e)}function Ii(e,t){throw new ct(-201,!1)}var _n=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_n||{});let Po;function Oa(){return Po}function oi(e){const t=Po;return Po=e,t}
1function Ra(e,t,n){const r=Yr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&_n.Optional?null:void 0!==t?t:void Ii()}const kr={},os="__NG_DI_FLAG__",eo="ngTempTokenPath",ss=/\n/gm,$n="__source";let gi;function ei(e){const t=gi;return gi=e,t}function Fs(e,t=_n.Default){if(void 0===gi)throw new ct(-203,!1);return null===gi?Ra(e,void 0,t):gi.get(e,t&_n.Optional?null:void 0,t)}function Nr(e,t=_n.Default){return(Oa()||Fs)(kt(e),t)}function xt(e,t=_n.Default){return Nr(e,Ui(t))}function Ui(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Dr(e){const t=[];for(let n=0;n<e.length;n++){const r=kt(e[n]);if(Array.isArray(r)){if(0===r.length)throw new ct(900,!1);let i,s=_n.Default;for(let u=0;u<r.length;u++){const d=r[u],g=mo(d);"number"==typeof g?-1===g?i=d.token:s|=g:i=d}t.push(Nr(i,s))}else t.push(Nr(r))}return t}function Vi(e,t){return e[os]=t,e.prototype[os]=t,e}function mo(e){return e[os]}const vo=Vi(un("Optional"),8),Ai=Vi(un("SkipSelf"),4);function si(e,t){return e.hasOwnProperty(He)?e[He]:null}function Br(e,t){e.forEach(n=>Array.isArray(n)?Br(n,t):t(n))}function Wr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function _s(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vr(e,t,n){let r=Yo(e,t);return r>=0?e[1|r]=n:(r=~r,function us(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 Cs(e,t){const n=Yo(e,t);if(n>=0)return e[1|n]}function Yo(e,t){return function ws(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),u=e[s<<n];if(t===u)return s<<n;u>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const ai={},kn=[],Ti=new zt(""),yo=new zt("",-1),bi=new zt("");class Is{get(t,n=kr){if(n===kr){const r=new Error(`NullInjectorError: No provider for ${be(t)}!`);throw r.name="NullInjectorError",r}return n}}function Fr(e,t){const n=e[Te]||null;if(!n&&!0===t)throw new Error(`Type ${be(e)} does not have '\u0275mod' property.`);return n}function pn(e){return e[y]||null}function mr(e){return e[j]||null}function xr(e){return e[le]||null}function Eo(e){const t=pn(e)||mr(e)||xr(e);return null!==t&&t.standalone}function ko(e){return{\u0275providers:e}}function Bs(...e){return{\u0275providers:ua(0,e),\u0275fromNgModule:!0}}function ua(e,...t){const n=[],r=new Set;let i;const s=u=>{n.push(u)};return Br(t,u=>{const d=u;L(d,s,[],r)&&(i||=[],i.push(d))}),void 0!==i&&Wn(i,s),n}function Wn(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];w(i,s=>{t(s,r)})}}function L(e,t,n,r){if(!(e=kt(e)))return!1;let i=null,s=Jr(e);const u=!s&&pn(e);if(s||u){if(u&&!u.standalone)return!1;i=e}else{const g=e.ngModule;if(s=Jr(g),!s)return!1;i=g}const d=r.has(i);if(u){if(d)return!1;if(r.add(i),u.dependencies){const g="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const S of g)L(S,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!d){let S;r.add(i);try{Br(s.imports,H=>{L(H,t,n,r)&&(S||=[],S.push(H))})}finally{}void 0!==S&&Wn(S,t)}if(!d){const S=si(i)||(()=>new i);t({provide:i,useFactory:S,deps:kn},i),t({provide:bi,useValue:i,multi:!0},i),t({provide:Ti,useValue:()=>Nr(i),multi:!0},i)}const g=s.providers;if(null!=g&&!d){const S=e;w(g,H=>{t(H,S)})}}}return i!==e&&void 0!==e.providers}function w(e,t){for(let n of e)ln(n)&&(n=n.\u0275providers),Array.isArray(n)?w(n,t):t(n)}const ee=Fe({provide:String,useValue:Fe});function Ie(e){return null!==e&&"object"==typeof e&&ee in e}function Ur(e){return"function"==typeof e}const ls=new zt(""),Bo={},ru={};let As;function Ss(){return void 0===As&&(As=new Is),As}class Gr{}class Mr extends Gr{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,Vs(t,u=>this.processProvider(u)),this.records.set(yo,Vr(void 0,this)),i.has("environment")&&this.records.set(Gr,Vr(void 0,this));const s=this.records.get(ls);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(bi,kn,_n.Self))}destroy(){Do(this),this._destroyed=!0;const t=R(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),R(t)}}onDestroy(t){return Do(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Do(this);const n=ei(this),r=oi(void 0);try{return t()}finally{ei(n),oi(r)}}get(t,n=kr,r=_n.Default){if(Do(this),t.hasOwnProperty(Xt))return t[Xt](this);r=Ui(r);const s=ei(this),u=oi(void 0);try{if(!(r&_n.SkipSelf)){let g=this.records.get(t);if(void 0===g){const S=function ou(e){return"function"==typeof e||"object"==typeof e&&e instanceof zt}(t)&&Yr(t);g=S&&this.injectableDefInScope(S)?Vr(ro(t),Bo):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&_n.Self?Ss():this.parent).get(t,n=r&_n.Optional&&n===kr?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[eo]=d[eo]||[]).unshift(be(t)),s)throw d;return function ks(e,t,n,r){const i=e[eo];throw t[$n]&&i.unshift(t[$n]),e.message=function as(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=be(t);if(Array.isArray(t))i=t.map(be).join(" -> ");else if("object"==typeof t){let s=[];for(let u in t)if(t.hasOwnProperty(u)){let d=t[u];
1s.push(u+":"+("string"==typeof d?JSON.stringify(d):be(d)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(ss,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[eo]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{oi(u),ei(s)}}resolveInjectorInitializers(){const t=R(null),n=ei(this),r=oi(void 0);try{const s=this.get(Ti,kn,_n.Self);for(const u of s)u()}finally{ei(n),oi(r),R(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(be(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){let n=Ur(t=kt(t))?t:kt(t&&t.provide);const r=function iu(e){return Ie(e)?Vr(void 0,e.useValue):Vr(xa(e),Bo)}(t);if(!Ur(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Vr(void 0,Bo,!0),i.factory=()=>Dr(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=R(null);try{return n.value===Bo&&(n.value=ru,n.value=n.factory()),"object"==typeof n.value&&n.value&&function la(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{R(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=kt(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function ro(e){const t=Yr(e),n=null!==t?t.factory:si(e);if(null!==n)return n;if(e instanceof zt)throw new ct(204,!1);if(e instanceof Function)return function Bl(e){if(e.length>0)throw new ct(204,!1);const n=function Ji(e){return e&&(e[wi]||e[xo])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ct(204,!1)}function xa(e,t,n){let r;if(Ur(e)){const i=kt(e);return si(i)||ro(i)}if(Ie(e))r=()=>kt(e.useValue);else if(function Sn(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Dr(e.deps||[]));else if(function Yt(e){return!(!e||!e.useExisting)}(e))r=()=>Nr(kt(e.useExisting));else{const i=kt(e&&(e.useClass||e.provide));if(!function ju(e){return!!e.deps}(e))return si(i)||ro(i);r=()=>new i(...Dr(e.deps))}return r}function Do(e){if(e.destroyed)throw new ct(205,!1)}function Vr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Vs(e,t){for(const n of e)Array.isArray(n)?Vs(n,t):n&&ln(n)?Vs(n.\u0275providers,t):t(n)}function Pa(e,t){e instanceof Mr&&Do(e);const r=ei(e),i=oi(void 0);try{return t()}finally{ei(r),oi(i)}}function Fa(){return void 0!==Oa()||null!=function Bi(){return gi}()}const Gn=0,at=1,en=2,Ar=3,Pr=4,jr=5,vi=6,_o=7,nr=8,Jn=9,Kr=10,tn=11,ji=12,da=13,Co=14,Zn=15,Jo=16,oo=17,v=18,K=19,C=20,F=21,We=23,Je=24,nt=25,Kn=1,Ln=7,vn=9,Ht=10;function rn(e){return Array.isArray(e)&&"object"==typeof e[Kn]}function fr(e){return Array.isArray(e)&&!0===e[Kn]}function Mi(e){return!!(4&e.flags)}function ni(e){return e.componentOffset>-1}function Oi(e){return!(1&~e.flags)}function Hr(e){return!!e.template}function ui(e){return!!(512&e[en])}function yi(e){return!(256&~e[en])}class md{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function vd(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}const yd=(()=>{const e=()=>qo;return e.ngInherit=!0,e})();function qo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Dd),Ed}function Ed(){const e=$l(this),t=e?.current;if(t){const n=e.previous;if(n===ai)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Dd(e,t,n,r,i){const s=this.declaredInputs[r],u=$l(e)||function wh(e,t){return e[Hl]=t}(e,{previous:ai,current:null}),d=u.current||(u.current={}),g=u.previous,S=g[s];d[s]=new md(S&&S.currentValue,n,g===ai),vd(e,t,i,n)}const Hl="__ngSimpleChanges__";function $l(e){return e[Hl]||null}const wo=function(e,t,n){};function qn(e){for(;Array.isArray(e);)e=e[Gn];return e}function Ba(e,t){return qn(t[e])}function Ri(e,t){return qn(t[e.index])}function p(e,t){return e.data[t]}function E(e,t){return e[t]}function m(e,t){const n=t[e];return rn(n)?n:n[Gn]}function B(e){return!(128&~e[en])}function ce(e,t){return null==t?null:e[t]}function Ze(e){e[oo]=0}function Be(e){1024&e[en]||(e[en]|=1024,B(e)&&ur(e))}function Jt(e){return!!(9216&e[en]||e[Je]?.dirty)}function fn(e){e[Kr].changeDetectionScheduler?.notify(9),64&e[en]&&(e[en]|=1024),Jt(e)&&ur(e)}function ur(e){e[Kr].changeDetectionScheduler?.notify(0);let t=Sr(e);for(;null!==t&&!(8192&t[en])&&(t[en]|=8192,B(t));)t=Sr(t)}function $i(e,t){if(yi(e))throw new ct(911,!1);null===e[F]&&(e[F]=[]),e[F].push(t)}function Sr(e){const t=e[Ar];return fr(t)?t[Ar]:t}function Wi(e){return e[_o]??=[]}function Io(e){return e.cleanup??=[]}const an={lFrame:Oh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ua=!1;function Ah(){return an.bindingsEnabled}function fa(){return null!==an.skipHydrationRootTNode}function tt(){return an.lFrame.lView}function on(){return an.lFrame.tView}function Ad(e){return an.lFrame.contextLView=e,e[nr]}function Gi(e){return an.lFrame.contextLView=null,e}function Mn(){let e=Th();for(;null!==e&&64===e.type;)e=e.parent;return e}function Th(){return an.lFrame.currentTNode}function hs(e,t){const n=an.lFrame;n.currentTNode=e,n.isParent=t}function Xu(){return an.lFrame.isParent}function Sd(){an.lFrame.isParent=!1}function lu(){return Ua}function zl(e){const t=Ua;return Ua=e,t}function so(){const e=an.lFrame;let t=e.bindingRootIndex;
1return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function es(){return an.lFrame.bindingIndex++}function Ws(e){const t=an.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Md(e,t){const n=an.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zu(t)}function Zu(e){an.lFrame.currentDirectiveIndex=e}function Zl(){return an.lFrame.currentQueryIndex}function Qu(e){an.lFrame.currentQueryIndex=e}function Ql(e){const t=e[at];return 2===t.type?t.declTNode:1===t.type?e[jr]:null}function Mh(e,t,n){if(n&_n.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&_n.Host||(i=Ql(s),null===i||(s=s[Co],10&i.type))););if(null===i)return!1;t=i,e=s}const r=an.lFrame=Od();return r.currentTNode=t,r.lView=e,!0}function Yl(e){const t=Od(),n=e[at];an.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Od(){const e=an.lFrame,t=null===e?null:e.child;return null===t?Oh(e):t}function Oh(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Rd(){const e=an.lFrame;return an.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Rh=Rd;function Yu(){const e=Rd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ci(){return an.lFrame.selectedIndex}function ja(e){an.lFrame.selectedIndex=e}function hr(){const e=an.lFrame;return p(e.tView,e.selectedIndex)}let xh=!0;function qu(){return xh}function zr(e){xh=e}function Ha(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:u,ngAfterContentChecked:d,ngAfterViewInit:g,ngAfterViewChecked:S,ngOnDestroy:H}=s;u&&(e.contentHooks??=[]).push(-n,u),d&&((e.contentHooks??=[]).push(n,d),(e.contentCheckHooks??=[]).push(n,d)),g&&(e.viewHooks??=[]).push(-n,g),S&&((e.viewHooks??=[]).push(n,S),(e.viewCheckHooks??=[]).push(n,S)),null!=H&&(e.destroyHooks??=[]).push(n,H)}}function cu(e,t,n){So(e,t,3,n)}function el(e,t,n,r){(3&e[en])===n&&So(e,t,n,r)}function Jl(e,t){let n=e[en];(3&n)===t&&(n&=16383,n+=1,e[en]=n)}function So(e,t,n,r){const s=r??-1,u=t.length-1;let d=0;for(let g=void 0!==r?65535&e[oo]:0;g<u;g++)if("number"==typeof t[g+1]){if(d=t[g],null!=r&&d>=r)break}else t[g]<0&&(e[oo]+=65536),(d<s||-1==s)&&(xd(e,n,t,g),e[oo]=(4294901760&e[oo])+g+2),g++}function Gs(e,t){wo(4,e,t);const n=R(null);try{t.call(e)}finally{R(n),wo(5,e,t)}}function xd(e,t,n,r){const i=n[r]<0,s=n[r+1],d=e[i?-n[r]:n[r]];i?e[en]>>14<e[oo]>>16&&(3&e[en])===t&&(e[en]+=16384,Gs(d,s)):Gs(d,s)}const $a=-1;class ha{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}}function Ld(e){return 3===e||4===e||6===e}function ec(e){return 64===e.charCodeAt(0)}function du(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||Lh(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function Lh(e,t,n,r,i){let s=0,u=e.length;if(-1===t)u=-1;else for(;s<e.length;){const d=e[s++];if("number"==typeof d){if(d===t){u=-1;break}if(d>t){u=s-1;break}}}for(;s<e.length;){const d=e[s];if("number"==typeof d)break;if(d===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==u&&(e.splice(u,0,t),s=u+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}const kd={};class ga{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ui(r);const i=this.injector.get(t,kd,r);return i!==kd||n===kd?i:this.parentInjector.get(t,n,r)}}function tc(e){return e!==$a}function nl(e){return 32767&e}function fu(e,t){let n=function kh(e){return e>>16}(e),r=t;for(;n>0;)r=r[Co],n--;return r}let ts=!0;function nc(e){const t=ts;return ts=e,t}const rl=255,Ga=5;let Bh=0;const gs={};function il(e,t){const n=hu(e,t);if(-1!==n)return n;const r=t[at];r.firstCreatePass&&(e.injectorIndex=t.length,ma(r.data,e),ma(t,null),ma(r.blueprint,null));const i=rc(e,t),s=e.injectorIndex;if(tc(i)){const u=nl(i),d=fu(i,t),g=d[at].data;for(let S=0;S<8;
1S++)t[s+S]=d[u+S]|g[u+S]}return t[s+8]=i,s}function ma(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function rc(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=Hh(i),null===r)return $a;if(n++,i=i[Co],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return $a}function ic(e,t,n){!function Mm(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(_t)&&(r=n[_t]),null==r&&(r=n[_t]=Bh++);const i=r&rl;t.data[e+(i>>Ga)]|=1<<i}(e,t,n)}function ol(e,t,n){if(n&_n.Optional||void 0!==e)return e;Ii()}function Bd(e,t,n,r){if(n&_n.Optional&&void 0===r&&(r=null),!(n&(_n.Self|_n.Host))){const i=e[Jn],s=oi(void 0);try{return i?i.get(t,r,n&_n.Optional):Ra(t,r,n&_n.Optional)}finally{oi(s)}}return ol(r,0,n)}function sl(e,t,n,r=_n.Default,i){if(null!==e){if(2048&t[en]&&!(r&_n.Self)){const u=function jh(e,t,n,r,i){let s=e,u=t;for(;null!==s&&null!==u&&2048&u[en]&&!(512&u[en]);){const d=oc(s,u,n,r|_n.Self,gs);if(d!==gs)return d;let g=s.parent;if(!g){const S=u[C];if(S){const H=S.get(n,gs,r);if(H!==gs)return H}g=Hh(u),u=u[Co]}s=g}return i}(e,t,n,r,gs);if(u!==gs)return u}const s=oc(e,t,n,r,gs);if(s!==gs)return s}return Bd(t,n,r,i)}function oc(e,t,n,r,i){const s=function uc(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(_t)?e[_t]:void 0;return"number"==typeof t?t>=0?t&rl:Vh:t}(n);if("function"==typeof s){if(!Mh(t,e,r))return r&_n.Host?ol(i,0,r):Bd(t,n,r,i);try{let u;if(u=s(r),null!=u||r&_n.Optional)return u;Ii()}finally{Rh()}}else if("number"==typeof s){let u=null,d=hu(e,t),g=$a,S=r&_n.Host?t[Zn][jr]:null;for((-1===d||r&_n.SkipSelf)&&(g=-1===d?rc(e,t):t[d+8],g!==$a&&lc(r,!1)?(u=t[at],d=nl(g),t=fu(g,t)):d=-1);-1!==d;){const H=t[at];if(Ud(s,d,H.data)){const Q=sc(d,t,n,u,r,S);if(Q!==gs)return Q}g=t[d+8],g!==$a&&lc(r,t[at].data[d+8]===S)&&Ud(s,d,t)?(u=H,d=nl(g),t=fu(g,t)):d=-1}}return i}function sc(e,t,n,r,i,s){const u=t[at],d=u.data[e+8],H=ac(d,u,n,null==r?ni(d)&&ts:r!=u&&!!(3&d.type),i&_n.Host&&s===d);return null!==H?va(t,u,H,d):gs}function ac(e,t,n,r,i){const s=e.providerIndexes,u=t.data,d=1048575&s,g=e.directiveStart,H=s>>20,he=i?d+H:e.directiveEnd;for(let De=r?d:d+H;De<he;De++){const ke=u[De];if(De<g&&n===ke||De>=g&&ke.type===n)return De}if(i){const De=u[g];if(De&&Hr(De)&&De.type===n)return g}return null}function va(e,t,n,r){let i=e[n];const s=t.data;if(function Ph(e){return e instanceof ha}(i)){const u=i;u.resolving&&function or(e,t){throw t&&t.join(" > "),new ct(-200,e)}(function Lt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():vt(e)}(s[n]));const d=nc(u.canSeeViewProviders);u.resolving=!0;const S=u.injectImpl?oi(u.injectImpl):null;Mh(e,r,_n.Default);try{i=e[n]=u.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function bm(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const u=qo(t);(n.preOrderHooks??=[]).push(e,u),(n.preOrderCheckHooks??=[]).push(e,u)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==S&&oi(S),nc(d),u.resolving=!1,Rh()}}return i}function Ud(e,t,n){return!!(n[t+(e>>Ga)]&1<<e)}function lc(e,t){return!(e&_n.Self||e&_n.Host&&t)}class pr{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return sl(this._tNode,this._lView,t,Ui(r),n)}}function Vh(){return new pr(Mn(),tt())}function Vd(e){return Ut(()=>{const t=e.prototype.constructor,n=t[He]||jd(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[He]||jd(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function jd(e){return lr(e)?()=>{const t=jd(kt(e));return t&&t()}:si(e)}function Hh(e){const t=e[at],n=t.type;return 2===n?t.declTNode:1===n?e[jr]:null}function cc(e){return function Uh(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(Ld(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(Mn(),e)}function Gh(e,t=null,n=null,r){const i=Kh(e,t,n,r);
1return i.resolveInjectorInitializers(),i}function Kh(e,t=null,n=null,r,i=new Set){const s=[n||kn,Bs(e)];return r=r||("object"==typeof e?void 0:be(e)),new Mr(s,t||Ss(),r||null,i)}class Xr{static THROW_IF_NOT_FOUND=kr;static NULL=new Is;static create(t,n){if(Array.isArray(t))return Gh({name:""},n,t,"");{const r=t.name??"";return Gh({name:r},t.parent,t.providers,r)}}static \u0275prov=Dn({token:Xr,providedIn:"any",factory:()=>Nr(yo)});static __NG_ELEMENT_ID__=-1}new zt("").__NG_ELEMENT_ID__=e=>{const t=Mn();if(null===t)throw new ct(204,!1);if(2&t.type)return t.value;if(e&_n.Optional)return null;throw new ct(204,!1)};const Xh=!1;let zs=(()=>class e{static __NG_ELEMENT_ID__=uo;static __NG_ENV_ID__=n=>n})();class Os extends zs{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return $i(this._lView,t),()=>function li(e,t){if(null===e[F])return;const n=e[F].indexOf(t);-1!==n&&e[F].splice(n,1)}(this._lView,t)}}function uo(){return new Os(tt())}class ms{}const ll=new zt("",{providedIn:"root",factory:()=>!1}),Qh=new zt(""),$d=new zt("");let Ho=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new q.t(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=Dn({token:e,providedIn:"root",factory:()=>new e})}return e})();const Xs=class Jh extends me.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Fa()&&(this.destroyRef=xt(zs,{optional:!0})??void 0,this.pendingTasks=xt(Ho,{optional:!0})??void 0)}emit(t){const n=R(null);try{super.next(t)}finally{R(n)}}subscribe(t,n,r){let i=t,s=n||(()=>null),u=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),s=g.error?.bind(g),u=g.complete?.bind(g)}this.__isAsync&&(s=this.wrapInTimeout(s),i&&(i=this.wrapInTimeout(i)),u&&(u=this.wrapInTimeout(u)));const d=super.subscribe({next:i,error:s,complete:u});return t instanceof Oe.yU&&t.add(d),d}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function cl(...e){}function qh(e){let t,n;function r(){e=cl;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function ep(e){return queueMicrotask(()=>e()),()=>{e=cl}}const pc="isAngularZone",gc=pc+"_ID";let Wd=0;class Tr{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Xs(!1);onMicrotaskEmpty=new Xs(!1);onStable=new Xs(!1);onError=new Xs(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:s=Xh}=t;if(typeof Zone>"u")throw new ct(908,!1);Zone.assertZonePatched();const u=this;u._nesting=0,u._outer=u._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(u._inner=u._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(u._inner=u._inner.fork(Zone.longStackTraceZoneSpec)),u.shouldCoalesceEventChangeDetection=!i&&r,u.
1shouldCoalesceRunChangeDetection=i,u.callbackScheduled=!1,u.scheduleInRootZone=s,function np(e){const t=()=>{!function tp(e){function t(){qh(()=>{e.callbackScheduled=!1,mu(e),e.isCheckStableRunning=!0,fl(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),mu(e))}(e)},n=Wd++;e._inner=e._inner.fork({name:"angular",properties:{[pc]:!0,[gc]:n,[gc+n]:!0},onInvokeTask:(r,i,s,u,d,g)=>{if(function Rm(e){return ip(e,"__ignore_ng_zone__")}(g))return r.invokeTask(s,u,d,g);try{return Gd(e),r.invokeTask(s,u,d,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),vs(e)}},onInvoke:(r,i,s,u,d,g,S)=>{try{return Gd(e),r.invoke(s,u,d,g,S)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function rp(e){return ip(e,"__scheduler_tick__")}(g)&&t(),vs(e)}},onHasTask:(r,i,s,u)=>{r.hasTask(s,u),i===s&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,mu(e),fl(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(r,i,s,u)=>(r.handleError(s,u),e.runOutsideAngular(()=>e.onError.emit(u)),!1)})}(u)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(pc)}static assertInAngularZone(){if(!Tr.isInAngularZone())throw new ct(909,!1)}static assertNotInAngularZone(){if(Tr.isInAngularZone())throw new ct(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,u=s.scheduleEventTask("NgZoneEvent: "+i,t,dl,cl,cl);try{return s.runTask(u,n,r)}finally{s.cancelTask(u)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const dl={};function fl(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 mu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Gd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function vs(e){e._nesting--,fl(e)}class Zs{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Xs;onMicrotaskEmpty=new Xs;onStable=new Xs;onError=new Xs;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)}}function ip(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Qs{_console=console;handleError(t){this._console.error("ERROR",t)}}const xm=new zt("",{providedIn:"root",factory:()=>{const e=xt(Tr),t=xt(Qs);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function sp(e,t){return Gt(e,t)}const Fm=(sp.required=function Pm(e){return Gt(Hn,e)},sp);function Lm(){return za(Mn(),tt())}function za(e,t){return new vu(Ri(e,t))}let vu=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Lm})();function Kd(e){return e instanceof vu?e.nativeElement:e}const ap=new Set;function di(e){ap.has(e)||(ap.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function zd(e,t){di("NgSignals");const n=function ae(e){const t=Object.create(mt);t.value=e;const n=()=>(P(t),t.value);return n[x]=t,n}(e),r=n[x];return t?.equal&&(r.equal=t.equal),n.set=i=>Qe(r,i),n.update=i=>function Ke(e,t){b()||Mt(),Qe(e,t(e.value))}(r,i),n.asReadonly=mc.bind(n),n}function mc(){const e=this[x];if(void 0===e.readonlyFn){const t=()=>this();t[x]=e,e.readonlyFn=t}return e.readonlyFn}function lp(e){return function up(e){return"function"==typeof e&&void 0!==e[x]}(e)&&"function"==typeof e.set}function Bm(){return this._results[Symbol.iterator]()}class Um{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new me.B}constructor(t=!1){this._emitDistinctChangesOnly=t}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)}
1forEach(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){this.dirty=!1;const r=function sr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function no(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Bm}function yu(e){return!(128&~e.flags)}var vc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(vc||{});const yc=new Map;let Zd=0;function Qd(e){yc.delete(e[K])}const Ec="__ngContext__";function zi(e,t){rn(t)?(e[Ec]=t[K],function Hm(e){yc.set(e[K],e)}(t)):e[Ec]=t}function vp(e){return Ep(e[ji])}function yp(e){return Ep(e[Pr])}function Ep(e){for(;null!==e&&!fr(e);)e=e[Pr];return e}let nf;function iv(e){nf=e}function Rs(){if(void 0!==nf)return nf;if(typeof document<"u")return document;throw new ct(210,!1)}const Xa=new zt("",{providedIn:"root",factory:()=>Ap}),Ap="ng",rf=new zt(""),sf=new zt("",{providedIn:"platform",factory:()=>"unknown"}),_c=new zt("",{providedIn:"root",factory:()=>Rs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Sp={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Tp=new zt("",{providedIn:"root",factory:()=>Sp}),Rp=new zt("",{providedIn:"root",factory:()=>!1});var hf=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(hf||{});const Cu=new zt("");var wu=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(wu||{});let pf=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Dn({token:e,providedIn:"root",factory:()=>new e})}return e})();const Pp=[wu.EarlyRead,wu.Write,wu.MixedReadWrite,wu.Read];let Fp=(()=>{class e{ngZone=xt(Tr);scheduler=xt(ms);errorHandler=xt(Qs,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){xt(Cu,{optional:!0})}execute(){this.executing=!0;for(const n of Pp)for(const r of this.sequences)if(!r.erroredOrDestroyed&&r.hooks[n])try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>r.hooks[n](r.pipelinedValue),r.snapshot))}catch(i){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(hf.AFTER_NEXT_RENDER,n):n()}static \u0275prov=Dn({token:e,providedIn:"root",factory:()=>new e})}return e})();class Lp{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,i,s=null){this.impl=t,this.hooks=n,this.once=r,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function co(e,t){!t?.injector&&function mi(e){if(!Fa())throw new ct(-203,!1)}();const n=t?.injector??xt(Xr);return di("NgAfterNextRender"),function kp(e,t,n,r){const i=t.get(pf);i.impl??=t.get(Fp);const s=t.get(Cu,null,{optional:!0}),u=n?.phase??wu.MixedReadWrite,d=!0!==n?.manualCleanup?t.get(zs):null,g=new Lp(i.impl,function uv(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,u),r,d,s?.snapshot(null));return i.impl.register(g),g}(e,n,t,!0)}let Qp=()=>null;function Xi(e,t,n=!1){return Qp(e,t,n)}function ig(e,t){const n=e.contentQueries;if(null!==n){const r=R(null);try{for(let i=0;i<n.length;i+=2){const u=n[i+1];if(-1!==u){const d=e.data[u];Qu(n[i]),d.contentQueries(2,t[u],u)}}}finally{R(r)}}}function Sf(e,t,n){Qu(0);const r=R(null);try{t(e,n)}finally{R(r)}}function Tf(e,t,n){if(Mi(t)){const r=R(null);try{const s=t.directiveEnd;for(let u=t.directiveStart;u<s;u++){const d=e.data[u];d.contentQueries&&d.contentQueries(1,n[u],u)}}finally{R(r)}}}var ea=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ea||{});let Pc,Fc;function Mu(e){return function bf(){if(void 0===Pc&&(Pc=null,Rn.trustedTypes))try{Pc=Rn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pc}()?.createHTML(e)||e}function Mf(){if(void 0===Fc&&(Fc=null,Rn.trustedTypes))try{Fc=Rn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fc}function og(e){return Mf()?.createHTML(e)||e}function Of(e){return Mf()?.createScriptURL(e)||e}class wa{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${wn})`}}class kv extends wa{getTypeName(){return"HTML"}}class Bv extends wa{getTypeName(){return"Style"}}
1class Uv extends wa{getTypeName(){return"Script"}}class Rf extends wa{getTypeName(){return"URL"}}class Vv extends wa{getTypeName(){return"ResourceURL"}}function ta(e){return e instanceof wa?e.changingThisBreaksApplicationSecurity:e}function Ou(e,t){const n=function No(e){return e instanceof wa&&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 ${wn})`)}return n===t}function Nf(e){return new kv(e)}function jv(e){return new Bv(e)}function Hv(e){return new Uv(e)}function $v(e){return new Rf(e)}function Wv(e){return new Vv(e)}class Gv{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Mu(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class xf{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Mu(t),n}}const zv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Bc(e){return(e=String(e)).match(zv)?e:"unsafe:"+e}function na(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ru(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const sg=na("area,br,col,hr,img,wbr"),ag=na("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ug=na("rp,rt"),Pf=Ru(sg,Ru(ag,na("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")),Ru(ug,na("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")),Ru(ug,ag)),Ff=na("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dg=Ru(Ff,na("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),na("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")),Xv=na("script,style,template");class Zv{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];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)i.push(n),n=Jv(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=Yv(n);if(s){n=s;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=fg(t).toLowerCase();if(!Pf.hasOwnProperty(n))return this.sanitizedSomething=!0,!Xv.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),u=s.name,d=u.toLowerCase();if(!dg.hasOwnProperty(d)){this.sanitizedSomething=!0;continue}let g=s.value;Ff[d]&&(g=Bc(g)),this.buf.push(" ",u,'="',pg(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=fg(t).toLowerCase();Pf.hasOwnProperty(n)&&!sg.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(pg(t))}}function Yv(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw hg(t);return t}function Jv(e){const t=e.firstChild;if(t&&function Qv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw hg(t);return t}function fg(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function hg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ey=/([^\#-~ |!])/g;function pg(e){return e.replace(/&/g,"&amp;").replace(qv,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ey,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Uc;function gg(e,t){let n=null;try{Uc=Uc||function kc(e){const t=new xf(e);return function Kv(){try{return!!(new window.DOMParser).parseFromString(Mu(""),"text/html")}catch{return!1}}()?new Gv(t):t}(e);let r=t?String(t):"";n=Uc.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=Uc.getInertBodyElement(r)}while(r!==s);return Mu((new Zv).sanitizeChildren(Lf(n)||n))}finally{if(n){const r=Lf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}
1function Lf(e){return"content"in e&&function ty(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var eu=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(eu||{});function o(e){const t=yt();return t?og(t.sanitize(eu.HTML,e)||""):Ou(e,"HTML")?og(ta(e)):gg(Rs(),vt(e))}function h(e){const t=yt();return t?t.sanitize(eu.URL,e)||"":Ou(e,"URL")?ta(e):Bc(vt(e))}function A(e){const t=yt();if(t)return Of(t.sanitize(eu.RESOURCE_URL,e)||"");if(Ou(e,"ResourceURL"))return Of(ta(e));throw new ct(904,!1)}function Ve(e,t,n){return function Me(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?A:h}(t,n)(e)}function yt(){const e=tt();return e&&e[Kr].sanitizer}const Bt=/^>|^->|<!--|-->|--!>|<!-$/g,qt=/(<|>)/g;function ys(e){return e instanceof Function?e():e}var Nu=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Nu||{});function jA(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const Z0="ng-template";function HA(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==jA(t[i+1].toLowerCase(),n,0))return!0}else if(ny(e))return!1;if(i=t.indexOf(1,i),i>-1){let s;for(;++i<t.length&&"string"==typeof(s=t[i]);)if(s.toLowerCase()===n)return!0}return!1}function ny(e){return 4===e.type&&e.value!==Z0}function $A(e,t,n){return t===(4!==e.type||n?e.value:Z0)}function WA(e,t,n){let r=4;const i=e.attrs,s=null!==i?function zA(e){for(let t=0;t<e.length;t++)if(Ld(e[t]))return t;return e.length}(i):0;let u=!1;for(let d=0;d<t.length;d++){const g=t[d];if("number"!=typeof g){if(!u)if(4&r){if(r=2|1&r,""!==g&&!$A(e,g,n)||""===g&&1===t.length){if(ra(r))return!1;u=!0}}else if(8&r){if(null===i||!HA(e,i,g,n)){if(ra(r))return!1;u=!0}}else{const S=t[++d],H=GA(g,i,ny(e),n);if(-1===H){if(ra(r))return!1;u=!0;continue}if(""!==S){let Q;if(Q=H>s?"":i[H+1].toLowerCase(),2&r&&S!==Q){if(ra(r))return!1;u=!0}}}}else{if(!u&&!ra(r)&&!ra(g))return!1;if(u&&ra(g))continue;u=!1,r=g|1&r}}return ra(r)||u}function ra(e){return!(1&e)}function GA(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const u=t[i];if(u===e)return i;if(3===u||6===u)s=!0;else{if(1===u||2===u){let d=t[++i];for(;"string"==typeof d;)d=t[++i];continue}if(4===u)break;if(0===u){i+=4;continue}}i+=s?1:2}return-1}return function XA(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 Q0(e,t,n=!1){for(let r=0;r<t.length;r++)if(WA(e,t[r],n))return!0;return!1}function ZA(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 Y0(e,t){return e?":not("+t.trim()+")":t}function QA(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let u=e[n];if("string"==typeof u)if(2&r){const d=e[++n];i+="["+u+(d.length>0?'="'+d+'"':"")+"]"}else 8&r?i+="."+u:4&r&&(i+=" "+u);else""!==i&&!ra(u)&&(t+=Y0(s,i),i=""),r=u,s=s||!ra(r);n++}return""!==i&&(t+=Y0(s,i)),t}const On={};function J0(e=1){q0(on(),tt(),ci()+e,!1)}function q0(e,t,n,r){if(!r)if(3&~t[en]){const s=e.preOrderHooks;null!==s&&el(t,s,0,n)}else{const s=e.preOrderCheckHooks;null!==s&&cu(t,s,n)}ja(n)}function Hc(e,t=_n.Default){const n=tt();return null===n?Nr(e,t):sl(Mn(),n,kt(e),t)}function eD(){throw new Error("invalid")}function tD(e,t,n,r,i,s){const u=R(null);try{let d=null;i&Nu.SignalBased&&(d=t[r][x]),null!==d&&void 0!==d.transformFn&&(s=d.transformFn(s)),i&Nu.HasDecoratorInputTransform&&(s=e.inputTransforms[r].call(t,s)),null!==e.setInput?e.setInput(t,d,s,n,r):vd(t,d,r,s)}finally{R(u)}}function iy(e,t){return e.createComment(function Pn(e){return e.replace(Bt,t=>t.replace(qt,"\u200b$1\u200b"))}(t))}function yg(e,t,n){return e.createElement(t,n)}function Tl(e,t,n,r,i){e.insertBefore(t,n,r,i)}function rD(e,t,n){e.appendChild(t,n)}function iD(e,t,n,r,i){null!==r?Tl(e,t,n,r,i):rD(e,t,n)}function Bf(e,t,n,r,i,s,u,d,g,S,H){const Q=t.blueprint.slice();return Q[Gn]=i,Q[en]=1228|r,(null!==S||e&&2048&e[en])&&(Q[en]|=2048),Ze(Q),Q[Ar]=Q[Co]=e,Q[nr]=n,Q[Kr]=u||e&&e[Kr],Q[tn]=d||e&&e[tn],Q[Jn]=g||e&&e[Jn]||null,Q[jr]=s,Q[K]=function jm(){return Zd++}
1(),Q[vi]=H,Q[C]=S,Q[Zn]=2==t.type?e[Zn]:Q,Q}function bl(e,t,n,r,i){let s=e.data[t];if(null===s)s=function oy(e,t,n,r,i){const s=Th(),u=Xu(),g=e.data[t]=function iS(e,t,n,r,i,s){let u=t?t.injectorIndex:-1,d=0;return fa()&&(d|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:u,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:d,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==s&&(u?null==s.child&&null!==g.parent&&(s.child=g):null===s.next&&(s.next=g,g.prev=s)),g}(e,t,n,r,i),function Im(){return an.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const u=function zu(){const e=an.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===u?-1:u.injectorIndex}return hs(s,!0),s}function Uf(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function sD(e,t,n,r,i){const s=ci(),u=2&r;try{ja(-1),u&&t.length>nt&&q0(e,t,nt,!1),wo(u?2:0,i),n(r,i)}finally{ja(s),wo(u?3:1,i)}}function sy(e,t,n){Ah()&&(function dS(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;ni(n)&&function yS(e,t,n){const r=Ri(t,e),i=uy(n),s=e[Kr].rendererFactory,u=Eg(e,Bf(e,i,null,fy(n),r,t,null,s.createRenderer(r,n),null,null,null));e[t.index]=u}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||il(n,t),zi(r,t);const u=n.initialInputs;for(let d=i;d<s;d++){const g=e.data[d],S=va(t,e,d,n);zi(S,t),null!==u&&ES(0,d-i,S,g,0,u),Hr(g)&&(m(n.index,t)[nr]=va(t,e,d,n))}}(e,t,n,Ri(n,t)),!(64&~n.flags)&&dD(e,t,n))}function ay(e,t,n=Ri){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const u=r[s+1],d=-1===u?n(t,e):e[u];e[i++]=d}}}function uy(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ly(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ly(e,t,n,r,i,s,u,d,g,S,H){const Q=nt+r,he=Q+i,De=function qA(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:On);return n}(Q,he),ke="function"==typeof S?S():S;return De[at]={type:e,blueprint:De,template:n,queries:null,viewQuery:d,declTNode:t,data:De.slice().fill(null,Q),bindingStartIndex:Q,expandoStartIndex:he,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof u?u():u,firstChild:null,schemas:g,consts:ke,incompleteFirstPass:!1,ssrId:H}}let aD=()=>null;function uD(e,t,n,r,i){for(let s in t){if(!t.hasOwnProperty(s))continue;const u=t[s];if(void 0===u)continue;r??={};let d,g=Nu.None;Array.isArray(u)?(d=u[0],g=u[1]):d=u;let S=s;if(null!==i){if(!i.hasOwnProperty(s))continue;S=i[s]}0===e?lD(r,n,S,d,g):lD(r,n,S,d)}return r}function lD(e,t,n,r,i){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,r):s=e[n]=[t,r],void 0!==i&&s.push(i)}function rs(e,t,n,r,i,s,u,d){const g=Ri(t,n);let H,S=t.inputs;!d&&null!=S&&(H=S[r])?(py(e,n,H,r,i),ni(t)&&function aS(e,t){const n=m(t,e);16&n[en]||(n[en]|=64)}(n,t.index)):3&t.type&&(r=function sS(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,s.setProperty(g,r,i))}function cy(e,t,n,r){if(Ah()){const i=null===r?null:{"":-1},s=function hS(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s<n.length;s++){const u=n[s];if(Q0(t,u.selectors,!1))if(r||(r=[]),Hr(u))if(null!==u.findHostDirectiveDefs){const d=[];i=i||new Map,u.findHostDirectiveDefs(u,d,i),r.unshift(...d,u),dy(e,t,d.length)}else r.unshift(u),dy(e,t,0);else i=i||new Map,u.findHostDirectiveDefs?.(u,r,i),r.push(u)}return null===r?null:[r,i]}(e,n);let u,d;null===s?u=d=null:[u,d]=s,null!==u&&cD(e,t,n,u,i,d),i&&function pS(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new ct(-301,!1);r.push(t[i],s)}}}(n,r,i)}n.mergedAttrs=du(n.mergedAttrs,n.attrs)}function cD(e,t,n,r,i,s){for(let S=0;S<r.length;S++)ic(il(n,t),e,r[S].type);
1!function mS(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let S=0;S<r.length;S++){const H=r[S];H.providersResolver&&H.providersResolver(H)}let u=!1,d=!1,g=Uf(e,t,r.length,null);for(let S=0;S<r.length;S++){const H=r[S];n.mergedAttrs=du(n.mergedAttrs,H.hostAttrs),vS(e,n,t,g,H),gS(g,H,i),null!==H.contentQueries&&(n.flags|=4),(null!==H.hostBindings||null!==H.hostAttrs||0!==H.hostVars)&&(n.flags|=64);const Q=H.type.prototype;!u&&(Q.ngOnChanges||Q.ngOnInit||Q.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!d&&(Q.ngOnChanges||Q.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),g++}!function oS(e,t,n){const i=t.directiveEnd,s=e.data,u=t.attrs,d=[];let g=null,S=null;for(let H=t.directiveStart;H<i;H++){const Q=s[H],he=n?n.get(Q):null,ke=he?he.outputs:null;g=uD(0,Q.inputs,H,g,he?he.inputs:null),S=uD(1,Q.outputs,H,S,ke);const st=null===g||null===u||ny(t)?null:DS(g,H,u);d.push(st)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=d,t.inputs=g,t.outputs=S}(e,n,s)}function dD(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,u=function Am(){return an.lFrame.currentDirectiveIndex}();try{ja(s);for(let d=r;d<i;d++){const g=e.data[d],S=t[d];Zu(d),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&fS(g,S)}}finally{ja(-1),Zu(u)}}function fS(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function dy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function gS(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Hr(t)&&(n[""]=e)}}function vS(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=si(i.type)),u=new ha(s,Hr(i),Hc);e.blueprint[r]=u,n[r]=u,function lS(e,t,n,r,i){const s=i.hostBindings;if(s){let u=e.hostBindingOpCodes;null===u&&(u=e.hostBindingOpCodes=[]);const d=~t.index;(function cS(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=d&&u.push(d),u.push(n,r,s)}}(e,t,r,Uf(e,n,i.hostVars,On),i)}function fy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Aa(e,t,n,r,i,s){const u=Ri(e,t);!function hy(e,t,n,r,i,s,u){if(null==s)e.removeAttribute(t,i,n);else{const d=null==u?vt(s):u(s,r||"",i);e.setAttribute(t,i,d,n)}}(t[tn],u,s,e.value,n,r,i)}function ES(e,t,n,r,i,s){const u=s[t];if(null!==u)for(let d=0;d<u.length;)tD(r,n,u[d++],u[d++],u[d++],u[d++])}function DS(e,t,n){let r=null,i=0;for(;i<n.length;){const s=n[i];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===r&&(r=[]);const u=e[s];for(let d=0;d<u.length;d+=3)if(u[d]===t){r.push(s,u[d+1],u[d+2],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function fD(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Eg(e,t){return e[ji]?e[da][Pr]=t:e[ji]=t,e[da]=t,t}function Dg(e,t){const n=e[Jn],r=n?n.get(Qs,null):null;r&&r.handleError(t)}function py(e,t,n,r,i){for(let s=0;s<n.length;){const u=n[s++],d=n[s++],g=n[s++];tD(e.data[u],t[u],r,d,g,i)}}function _S(e,t){const n=m(t,e),r=n[at];!function CS(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[Gn];null!==i&&null===n[vi]&&(n[vi]=Xi(i,n[Jn])),_g(r,n,n[nr])}function _g(e,t,n){Yl(t);try{const r=e.viewQuery;null!==r&&Sf(1,r,n);const i=e.template;null!==i&&sD(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[v]?.finishViewCreation(e),e.staticContentQueries&&ig(e,t),e.staticViewQueries&&Sf(2,e.viewQuery,n);const s=e.components;null!==s&&function wS(e,t){for(let n=0;n<t.length;n++)_S(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[en]&=-5,Yu()}}var Cg=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Cg||{});let gy;function my(e,t){return gy(e,t)}function $c(e,t,n,r,i){if(null!=r){let s,u=!1;fr(r)?s=r:rn(r)&&(u=!0,r=r[Gn]);const d=qn(r);0===e&&null!==n?null==i?rD(t,n,d):Tl(t,n,d,i||null,!0):1===e&&null!==n?Tl(t,n,d,i||null,!0):2===e?function kf(e,t,n){e.removeChild(null,t,n)}(t,d,u):3===e&&t.destroyNode(d),null!=s&&function RS(e,t,n,r,i){const s=n[Ln];s!==qn(n)&&$c(t,e,r,s,i);for(let d=Ht;d<n.length;d++){const g=n[d];Ig(g[at],g,e,t,r,s)}}(t,e,s,n,i)}}function gD(e,t){t[Kr].changeDetectionScheduler?.notify(10),Ig(e,t,t[tn],2,null,null)}function mD(e,t){const n=e[vn],r=t[Ar];(rn(r)||t[Zn]!==r[Ar][Zn])&&(e[en]|=2),null===n?e[vn]=[t]:n.push(t)}function vy(e,t){const n=e[vn],r=n.indexOf(t);n.splice(r,1)}function Vf(e,t){if(e.length<=Ht)return;const n=Ht+t,r=e[n];if(r){const i=r[Jo];null!==i&&i!==e&&vy(i,r),t>0&&(e[n-1][Pr]=r[Pr]);const s=_s(e,Ht+t);!function pD(e,t){gD(e,t),t[Gn]=null,t[jr]=null}(r[at],r);const u=s[v];null!==u&&u.detachView(s[at]),r[Ar]=null,r[Pr]=null,r[en]&=-129}return r}function jf(e,t){if(yi(t))return;const n=t[tn];n.destroyNode&&Ig(e,t,n,3,null,null),function SS(e){let t=e[ji];if(!t)return yy(e[at],e);for(;t;){let n=null;if(rn(t))n=t[ji];else{const r=t[Ht];r&&(n=r)}if(!n){for(;t&&!t[Pr]&&t!==e;)rn(t)&&yy(t[at],t),t=t[Ar];null===t&&(t=e),rn(t)&&yy(t[at],t),n=t&&t[Pr]}t=n}}(t)}function yy(e,t){if(yi(t))return;const n=R(null);try{t[en]&=-129,t[en]|=256,t[Je]&&G(t[Je]),function MS(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 ha)){const s=n[r+1];if(Array.isArray(s))for(let u=0;u<s.length;u+=2){const d=i[s[u]],g=s[u+1];wo(4,d,g);try{g.call(d)}finally{wo(5,d,g)}}else{wo(4,i,s);try{s.call(i)}finally{wo(5,i,s)}}}}}(e,t),function bS(e,t){const n=e.cleanup,r=t[_o];if(null!==n)for(let u=0;u<n.length-1;u+=2)if("string"==typeof n[u]){const d=n[u+3];d>=0?r[d]():r[-d].unsubscribe(),u+=2}else n[u].call(r[n[u+1]]);null!==r&&(t[_o]=null);const i=t[F];if(null!==i){t[F]=null;for(let u=0;u<i.length;u++)(0,i[u])()}const s=t[We];
1if(null!==s){t[We]=null;for(const u of s)u.destroy()}}(e,t),1===t[at].type&&t[tn].destroy();const r=t[Jo];if(null!==r&&fr(t[Ar])){r!==t[Ar]&&vy(r,t);const i=t[v];null!==i&&i.detachView(e)}Qd(t)}finally{R(n)}}function Ey(e,t,n){return function vD(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[Gn];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===ea.None||s===ea.Emulated)return null}return Ri(r,n)}}(e,t.parent,n)}function yD(e,t,n){return DD(e,t,n)}let Dy,DD=function ED(e,t,n){return 40&e.type?Ri(e,n):null};function wg(e,t,n,r){const i=Ey(e,r,t),s=t[tn],d=yD(r.parent||t[jr],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)iD(s,i,n[g],d,!1);else iD(s,i,n,d,!1);void 0!==Dy&&Dy(s,r,t,n,i)}function Ml(e,t){if(null!==t){const n=t.type;if(3&n)return Ri(t,e);if(4&n)return _y(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ml(e,r);{const i=e[t.index];return fr(i)?_y(-1,i):qn(i)}}if(128&n)return Ml(e,t.next);if(32&n)return my(t,e)()||qn(e[t.index]);{const r=CD(e,t);return null!==r?Array.isArray(r)?r[0]:Ml(Sr(e[Zn]),r):Ml(e,t.next)}}return null}function CD(e,t){return null!==t?e[Zn][jr].projection[t.projection]:null}function _y(e,t){const n=Ht+e+1;if(n<t.length){const r=t[n],i=r[at].firstChild;if(null!==i)return Ml(r,i)}return t[Ln]}function Cy(e,t,n,r,i,s,u){for(;null!=n;){if(128===n.type){n=n.next;continue}const d=r[n.index],g=n.type;if(u&&0===t&&(d&&zi(qn(d),r),n.flags|=2),32&~n.flags)if(8&g)Cy(e,t,n.child,r,i,s,!1),$c(t,e,i,d,s);else if(32&g){const S=my(n,r);let H;for(;H=S();)$c(t,e,i,H,s);$c(t,e,i,d,s)}else 16&g?wD(e,t,r,n,i,s):$c(t,e,i,d,s);n=u?n.projectionNext:n.next}}function Ig(e,t,n,r,i,s){Cy(n,r,e.firstChild,t,i,s,!1)}function wD(e,t,n,r,i,s){const u=n[Zn],g=u[jr].projection[r.projection];if(Array.isArray(g))for(let S=0;S<g.length;S++)$c(t,e,i,g[S],s);else{let S=g;const H=u[Ar];yu(r)&&(S.flags|=128),Cy(e,t,S,H,i,s,!0)}}function ID(e,t,n){const{mergedAttrs:r,classes:i,styles:s}=n;null!==r&&function Fh(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],u=n[r++],d=n[r++];e.setAttribute(t,u,d,s)}else{const s=i,u=n[++r];ec(s)?e.setProperty(t,s,u):e.setAttribute(t,s,u),r++}}}(e,t,r),null!==i&&function PS(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,i),null!==s&&function xS(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}function Wc(e,t,n,r){const i=R(null);try{const s=t.tView,g=Bf(e,s,n,4096&e[en]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[Jo]=e[t.index];const H=e[v];return null!==H&&(g[v]=H.createEmbeddedView(s)),_g(s,g,n),g}finally{R(i)}}function AD(e,t){const n=Ht+t;if(n<e.length)return e[n]}function Ol(e,t){return!t||null===t.firstChild||yu(e)}function Gc(e,t,n,r=!0){const i=t[at];if(function TS(e,t,n,r){const i=Ht+r,s=n.length;r>0&&(n[i-1][Pr]=t),r<s-Ht?(t[Pr]=n[i],Wr(n,Ht+r,t)):(n.push(t),t[Pr]=null),t[Ar]=n;const u=t[Jo];null!==u&&n!==u&&mD(u,t);const d=t[v];null!==d&&d.insertView(e),fn(t),t[en]|=128}(i,t,e,n),r){const u=_y(n,e),d=t[tn],g=d.parentNode(e[Ln]);null!==g&&function AS(e,t,n,r,i,s){r[Gn]=i,r[jr]=t,Ig(e,r,n,1,i,s)}(i,e[jr],d,t,g,u)}const s=t[vi];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function wy(e,t){const n=Vf(e,t);return void 0!==n&&jf(n[at],n),n}function Kc(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const s=t[n.index];null!==s&&r.push(qn(s)),fr(s)&&Iy(s,r);const u=n.type;if(8&u)Kc(e,t,n.child,r);else if(32&u){const d=my(n,t);let g;for(;g=d();)r.push(g)}else if(16&u){const d=CD(t,n);if(Array.isArray(d))r.push(...d);else{const g=Sr(t[Zn]);Kc(g[at],g,d,r,!0)}}n=i?n.projectionNext:n.next}return r}function Iy(e,t){for(let n=Ht;n<e.length;n++){const r=e[n],i=r[at].firstChild;null!==i&&Kc(r[at],r,i,t)}e[Ln]!==e[Gn]&&t.push(e[Ln])}let SD=[];const BS={...I,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ur(e.lView)},consumerOnSignalRead(){this.lView[Je]=this}},VS={...I,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Sr(e.lView);for(;t&&!TD(t[at]);)t=Sr(t);t&&Be(t)},consumerOnSignalRead(){this.lView[Je]=this}};function TD(e){return 2!==e.type}function bD(e){if(null===e[We])return;let t=!0;for(;t;){let n=!1;for(const r of e[We])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[en])}}function Ag(e,t=!0,n=0){const i=e[Kr].rendererFactory;i.begin?.();try{!function HS(e,t){const n=lu();try{zl(!0),Ay(e,t);let r=0;for(;Jt(e);){if(100===r)throw new ct(103,!1);r++,Ay(e,1)}}
1finally{zl(n)}}(e,n)}catch(u){throw t&&Dg(e,u),u}finally{i.end?.()}}function OD(e,t,n,r){if(yi(t))return;const i=t[en];Yl(t);let d=!0,g=null,S=null;TD(e)?(S=function FS(e){return e[Je]??function LS(e){const t=SD.pop()??Object.create(BS);return t.lView=e,t}(e)}(t),g=ne(S)):null===function T(){return $}()?(d=!1,S=function US(e){const t=e[Je]??Object.create(VS);return t.lView=e,t}(t),g=ne(S)):t[Je]&&(G(t[Je]),t[Je]=null);try{Ze(t),function Td(e){return an.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&sD(e,t,n,2,r);const H=!(3&~i);if(H){const De=e.preOrderCheckHooks;null!==De&&cu(t,De,null)}else{const De=e.preOrderHooks;null!==De&&el(t,De,0,null),Jl(t,0)}if(function $S(e){for(let t=vp(e);null!==t;t=yp(t)){if(!(2&t[en]))continue;const n=t[vn];for(let r=0;r<n.length;r++)Be(n[r])}}(t),bD(t),RD(t,0),null!==e.contentQueries&&ig(e,t),H){const De=e.contentCheckHooks;null!==De&&cu(t,De)}else{const De=e.contentHooks;null!==De&&el(t,De,1),Jl(t,1)}!function GS(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)ja(~i);else{const s=i,u=n[++r],d=n[++r];Md(u,s);const g=t[s];wo(24,g),d(2,g),wo(25,g)}}}finally{ja(-1)}}(e,t);const Q=e.components;null!==Q&&xD(t,Q,0);const he=e.viewQuery;if(null!==he&&Sf(2,he,r),H){const De=e.viewCheckHooks;null!==De&&cu(t,De)}else{const De=e.viewHooks;null!==De&&el(t,De,2),Jl(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const De of t[22])De();t[22]=null}t[en]&=-73}catch(H){throw ur(t),H}finally{null!==S&&(z(S,g),d&&function kS(e){e.lView[Je]!==e&&(e.lView=null,SD.push(e))}(S)),Yu()}}function RD(e,t){for(let n=vp(e);null!==n;n=yp(n))for(let r=Ht;r<n.length;r++)ND(n[r],t)}function WS(e,t,n){ND(m(t,e),n)}function ND(e,t){B(e)&&Ay(e,t)}function Ay(e,t){const r=e[at],i=e[en],s=e[Je];let u=!!(0===t&&16&i);if(u||=!!(64&i&&0===t),u||=!!(1024&i),u||=!(!s?.dirty||!W(s)),u||=!1,s&&(s.dirty=!1),e[en]&=-9217,u)OD(r,e,r.template,e[nr]);else if(8192&i){bD(e),RD(e,1);const d=r.components;null!==d&&xD(e,d,1)}}function xD(e,t,n){for(let r=0;r<t.length;r++)WS(e,t[r],n)}function Hf(e,t){const n=lu()?64:1088;for(e[Kr].changeDetectionScheduler?.notify(t);e;){e[en]|=n;const r=Sr(e);if(ui(e)&&!r)return e;e=r}return null}class $f{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){const t=this._lView,n=t[at];return Kc(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[nr]}get dirty(){return!!(9280&this._lView[en])||!!this._lView[Je]?.dirty}set context(t){this._lView[nr]=t}get destroyed(){return yi(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Ar];if(fr(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Vf(t,r),_s(n,r))}this._attachedToViewContainer=!1}jf(this._lView[at],this._lView)}onDestroy(t){$i(this._lView,t)}markForCheck(){Hf(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Be(this._cdRefInjectingView||this._lView)}detach(){this._lView[en]&=-129}reattach(){fn(this._lView),this._lView[en]|=128}detectChanges(){this._lView[en]|=1024,Ag(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ct(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=ui(this._lView),n=this._lView[Jo];null!==n&&!t&&vy(n,this._lView),gD(this._lView[at],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ct(902,!1);this._appRef=t;const n=ui(this._lView),r=this._lView[Jo];null!==r&&!n&&mD(r,this._lView),fn(this._lView)}}let Wf=(()=>class e{static __NG_ELEMENT_ID__=XS})();const KS=Wf,zS=class extends KS{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=Wc(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new $f(i)}};function XS(){return Sg(Mn(),tt())}function Sg(e,t){return 4&e.type?new zS(t,e,za(e,t)):null}let e_=()=>null;function Xc(e,t){return e_(e,t)}class HT{}class t_{}class $T{resolveComponentFactory(t){throw Error(`No component factory found for ${be(t)}.`)}}class Ng{static NULL=new $T}class ky{}let WT=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function GT(){const e=tt(),n=m(Mn().index,e);return(rn(n)?n:e)[tn]}()})(),KT=(()=>{class e{static \u0275prov=Dn({token:e,providedIn:"root",factory:()=>null})}return e})();function xu(e){return!!Fr(e)}
1function Pg(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let u=0;u<t.length;u++){const d=t[u];"number"==typeof d?s=d:1==s?i=ot(i,d):2==s&&(r=ot(r,d+": "+t[++u]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class i_ extends Ng{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=pn(t);return new eh(n,this.ngModule)}}function o_(e,t){const n=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const s=Array.isArray(i),u=s?i[0]:i;n.push(t?{propName:u,templateName:r,isSignal:!!((s?i[1]:Nu.None)&Nu.SignalBased)}:{propName:u,templateName:r})}return n}class eh extends t_{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){const t=this.componentDef,n=t.inputTransforms,r=o_(t.inputs,!0);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return o_(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function YA(e){return e.map(QA).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){const s=R(null);try{let u=(i=i||this.ngModule)instanceof Gr?i:i?.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const d=u?new ga(t,u):t,g=d.get(ky,null);if(null===g)throw new ct(407,!1);const Q={rendererFactory:g,sanitizer:d.get(KT,null),changeDetectionScheduler:d.get(ms,null)},he=g.createRenderer(null,this.componentDef),De=this.componentDef.selectors[0][0]||"div",ke=r?function eS(e,t,n,r){const s=r.get(Rp,!1)||n===ea.ShadowDom,u=e.selectRootElement(t,s);return function tS(e){aD(e)}(u),u}(he,r,this.componentDef.encapsulation,d):yg(he,De,function ZT(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(De));let st=512;this.componentDef.signals?st|=4096:this.componentDef.onPush||(st|=16);let Ct=null;null!==ke&&(Ct=Xi(ke,d,!0));const It=ly(0,null,null,1,0,null,null,null,null,null,null),ut=Bf(null,It,null,st,null,null,Q,he,d,null,Ct);Yl(ut);let sn,Vn,Xn=null;try{const _i=this.componentDef;let zo,pd=null;_i.findHostDirectiveDefs?(zo=[],pd=new Map,_i.findHostDirectiveDefs(_i,zo,pd),zo.push(_i)):zo=[_i];const Ma=function JT(e,t){const n=e[at],r=nt;return e[r]=t,bl(n,r,2,"#host",null)}(ut,ke),eP=r?["ng-version","19.1.2"]:function QT(e){const{attrs:t,classes:n}=function JA(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!ra(i))break;i=s}r++}return{attrs:t,classes:n}}(e),r=t;return n.length&&r.push(1,...n),r}(this.componentDef.selectors[0]);for(const tP of zo)Ma.mergedAttrs=du(Ma.mergedAttrs,tP.hostAttrs);Ma.mergedAttrs=du(Ma.mergedAttrs,eP),Pg(Ma,Ma.mergedAttrs,!0),ke&&ID(he,ke,Ma),Xn=function qT(e,t,n,r,i,s){const u=i[at];let d=null;null!==t&&(d=Xi(t,i[Jn]));const g=s.rendererFactory.createRenderer(t,n),S=Bf(i,uy(n),null,fy(n),i[e.index],e,s,g,null,null,d);return u.firstCreatePass&&dy(u,e,r.length-1),Eg(i,S),i[e.index]=S}(Ma,ke,_i,zo,ut,Q),Vn=p(It,nt),void 0!==n&&function tb(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const s=n[i];r.push(null!=s&&s.length?Array.from(s):null)}}(Ma,this.ngContentSelectors,n),sn=function eb(e,t,n,r,i,s){const u=Mn(),d=i[at],g=Ri(u,i);cD(d,i,u,n,null,r);for(let H=0;H<n.length;H++)zi(va(i,d,u.directiveStart+H,u),i);dD(d,i,u),g&&zi(g,i);const S=va(i,d,u.directiveStart+u.componentOffset,u);if(e[nr]=i[nr]=S,null!==s)for(const H of s)H(S,t);return Tf(d,u,i),S}(Xn,_i,zo,pd,ut,[nb]),_g(It,ut,null)}catch(_i){throw null!==Xn&&Qd(Xn),Qd(ut),_i}finally{Yu()}return new YT(this.componentType,sn,za(Vn,ut),ut,Vn)}finally{R(s)}}}class YT extends HT{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new $f(i,void 0,!1),this.componentType=t}
1setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;py(s[at],s,i,t,n),this.previousInputValues.set(t,n),Hf(m(this._tNode.index,s),1)}}get injector(){return new pr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function nb(){const e=Mn();Ha(tt()[at],e)}let Fg=(()=>class e{static __NG_ELEMENT_ID__=rb})();function rb(){return u_(Mn(),tt())}const ib=Fg,s_=class extends ib{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return za(this._hostTNode,this._hostLView)}get injector(){return new pr(this._hostTNode,this._hostLView)}get parentInjector(){const t=rc(this._hostTNode,this._hostLView);if(tc(t)){const n=fu(t,this._hostLView),r=nl(t);return new pr(n[at].data[r+8],n)}return new pr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=a_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Ht}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const u=Xc(this._lContainer,t.ssrId),d=t.createEmbeddedViewImpl(n||{},s,u);return this.insertImpl(d,i,Ol(this._hostTNode,u)),d}createComponent(t,n,r,i,s){const u=t&&!function Ir(e){return"function"==typeof e}(t);let d;if(u)d=n;
1else{const ke=n||{};d=ke.index,r=ke.injector,i=ke.projectableNodes,s=ke.environmentInjector||ke.ngModuleRef}const g=u?t:new eh(pn(t)),S=r||this.parentInjector;if(!s&&null==g.ngModule){const st=(u?S:this.parentInjector).get(Gr,null);st&&(s=st)}const H=pn(g.componentType??{}),Q=Xc(this._lContainer,H?.id??null),De=g.create(S,i,Q?.firstChild??null,s);return this.insertImpl(De.hostView,d,Ol(this._hostTNode,Q)),De}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function J(e){return fr(e[Ar])}(i)){const d=this.indexOf(t);if(-1!==d)this.detach(d);else{const g=i[Ar],S=new s_(g,g[jr],g[Ar]);S.detach(S.indexOf(t))}}const s=this._adjustIndex(n),u=this._lContainer;return Gc(u,i,s,r),t.attachToViewContainerRef(),Wr(Vy(u),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=a_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Vf(this._lContainer,n);r&&(_s(Vy(this._lContainer),n),jf(r[at],r))}detach(t){const n=this._adjustIndex(t,-1),r=Vf(this._lContainer,n);return r&&null!=_s(Vy(this._lContainer),n)?new $f(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function a_(e){return e[8]}function Vy(e){return e[8]||(e[8]=[])}function u_(e,t){let n;const r=t[e.index];return fr(r)?n=r:(n=fD(r,t,null,e),t[e.index]=n,Eg(t,n)),l_(n,t,e,r),new s_(n,e,t)}let l_=function d_(e,t,n,r){if(e[Ln])return;let i;i=8&n.type?qn(r):function ob(e,t){const n=e[tn],r=n.createComment(""),i=Ri(t,e),s=n.parentNode(i);return Tl(n,s,r,n.nextSibling(i),!1),r}(t,n),e[Ln]=i},jy=()=>!1;class Hy{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new Hy(this.queryList)}setDirty(){this.queryList.setDirty()}}class $y{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const u=n.getByIndex(s);i.push(this.queries[u.indexInDeclarationView].clone())}return new $y(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Xy(t,n).matches&&this.queries[n].setDirty()}}class f_{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function hb(e){return e.split(",").map(t=>t.trim())}(t):t}}class Wy{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new Wy(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 Gy{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,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 Gy(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,lb(n,s)),this.matchTNodeWithReadOption(t,n,ac(n,t,s,!1,!1))}else r===Wf?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ac(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===vu||i===Fg||i===Wf&&4&n.type)this.addMatch(n.index,-2);else{const s=ac(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function lb(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 db(e,t,n,r){return-1===n?function cb(e,t){return 11&e.type?za(e,t):4&e.type?Sg(e,t):null}(t,e):-2===n?function fb(e,t,n){return n===vu?za(t,e):n===Wf?Sg(t,e):n===Fg?u_(t,e):void 0}(e,t,r):va(e,e[at],n,t)}function h_(e,t,n,r){const i=t[v].queries[r];if(null===i.matches){const s=e.data,u=n.matches,d=[];for(let g=0;null!==u&&g<u.length;g+=2){const S=u[g];d.push(S<0?null:db(t,s[S],u[g+1],n.metadata.read))}i.matches=d}return i.matches}function Ky(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const u=h_(e,t,i,n);for(let d=0;d<s.length;d+=2){const g=s[d];if(g>0)r.push(u[d/2]);else{const S=s[d+1],H=t[-g];for(let Q=Ht;Q<H.length;Q++){const he=H[Q];he[Jo]===he[Ar]&&Ky(he[at],he,S,r)}if(null!==H[vn]){const Q=H[vn];for(let he=0;he<Q.length;he++){const De=Q[he];Ky(De[at],De,S,r)}}}}}return r}
1function p_(e,t,n){const r=new Um(!(4&~n));return function Ao(e,t,n,r){const i=Wi(t);i.push(n),e.firstCreatePass&&Io(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[v]??=new $y).queries.push(new Hy(r))-1}function v_(e,t,n){null===e.queries&&(e.queries=new Wy),e.queries.track(new Gy(t,n))}function Xy(e,t){return e.queries.getByIndex(t)}function y_(e,t){const n=e[at],r=Xy(n,t);return r.crossesNgTemplate?Ky(n,e,t,[]):h_(n,e,r,t)}class Nl{}class M_{}function Ib(e,t){return new Qy(e,t??null,[])}class Qy extends Nl{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new i_(this);constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n;const s=Fr(t);this._bootstrapComponents=ys(s.bootstrap),this._r3Injector=Kh(t,n,[{provide:Nl,useValue:this},{provide:Ng,useValue:this.componentFactoryResolver},...r],be(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}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 Yy extends M_{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Qy(this.moduleType,t,[])}}class O_ extends Nl{injector;componentFactoryResolver=new i_(this);instance=null;constructor(t){super();const n=new Mr([...t.providers,{provide:Nl,useValue:this},{provide:Ng,useValue:this.componentFactoryResolver}],t.parent||Ss(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Jy(e,t,n=null){return new O_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Sb=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=ua(0,n.type),i=r.length>0?Jy([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Dn({token:e,providedIn:"environment",factory:()=>new e(Nr(Gr))})}return e})();function R_(e){return Ut(()=>{const t=F_(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===vc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(Sb).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ea.Emulated,styles:e.styles||kn,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&di("NgStandalone"),L_(n);const r=e.dependencies;return n.directiveDefs=kg(r,!1),n.pipeDefs=kg(r,!0),n.id=function Ob(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const s of r.join("|"))t=Math.imul(31,t)+s.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Tb(e){return pn(e)||mr(e)}function bb(e){return null!==e}function qy(e){return Ut(()=>({type:e.type,bootstrap:e.bootstrap||kn,declarations:e.declarations||kn,imports:e.imports||kn,exports:e.exports||kn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function N_(e,t){if(null==e)return ai;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let s,u,d=Nu.None;Array.isArray(i)?(d=i[0],s=i[1],u=i[2]??s):(s=i,u=i),t?(n[s]=d!==Nu.None?[r,d]:r,t[s]=u):n[s]=r}return n}function x_(e){return Ut(()=>{const t=F_(e);return L_(t),t})}function P_(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function F_(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.input
1s||ai,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||kn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:N_(e.inputs,t),outputs:N_(e.outputs),debugInfo:null}}function L_(e){e.features?.forEach(t=>t(e))}function kg(e,t){if(!e)return null;const n=t?xr:Tb;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(bb)}function eE(e){let t=function k_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Hr(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ct(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const u=e;u.inputs=Bg(e.inputs),u.inputTransforms=Bg(e.inputTransforms),u.declaredInputs=Bg(e.declaredInputs),u.outputs=Bg(e.outputs);const d=i.hostBindings;d&&Fb(e,d);const g=i.viewQuery,S=i.contentQueries;if(g&&xb(e,g),S&&Pb(e,S),Rb(e,i),jn(e.outputs,i.outputs),Hr(i)&&i.data.animation){const H=e.data;H.animation=(H.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let u=0;u<s.length;u++){const d=s[u];d&&d.ngInherit&&d(e),d===eE&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Nb(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=du(i.hostAttrs,n=du(n,i.hostAttrs))}}(r)}function Rb(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function Bg(e){return e===ai?{}:e===kn?[]:e}function xb(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Pb(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function Fb(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function H_(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}function Ug(e){return!!nE(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function nE(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Sa(e,t,n){return e[t]=n}function nh(e,t){return e[t]}function ri(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function xl(e,t,n,r){const i=ri(e,t,n);return ri(e,t+1,r)||i}function xs(e,t,n,r,i,s){const u=xl(e,t,n,r);return xl(e,t+2,i,s)||u}function rh(e,t,n,r,i,s,u,d,g,S){const H=n+nt,Q=t.firstCreatePass?function Wb(e,t,n,r,i,s,u,d,g){const S=t.consts,H=bl(t,e,4,u||null,d||null);cy(t,n,H,ce(S,g)),Ha(t,H);const Q=H.tView=ly(2,H,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S,null);return null!==t.queries&&(t.queries.template(t,H),Q.queries=t.queries.embeddedTView(H)),H}(H,t,e,r,i,s,u,d,g):t.data[H];hs(Q,!1);const he=$_(t,e,Q,n);qu()&&wg(t,e,he,Q),zi(he,e);const De=fD(he,e,he,Q);return e[H]=De,Eg(e,De),function c_(e,t,n){return jy(e,t,n)}(De,Q,e),Oi(Q)&&sy(t,e,Q),null!=g&&ay(e,Q,S),Q}function rE(e,t,n,r,i,s,u,d){const g=tt(),S=on();return rh(g,S,e,t,n,r,i,ce(S.consts,s),u,d),rE}let $_=function W_(e,t,n,r){return zr(!0),t[tn].createComment("")};let Y_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const tC="ng";function HM(e,t){!function rC(e,t){if(typeof COMPILED>"u"||!COMPILED){const n=Rn;n[tC]??={},n[tC][e]=t}}(e,t)}const iC=new zt(""),oC=new zt("");let lE,$M=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,r,i){this._ngZone=n,this.registry=r,lE||(function WM(e){lE=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._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Tr.assertNotInAngularZone(),queueMicrotask(()=>
1{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==s),n()},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static \u0275fac=function(r){return new(r||e)(Nr(Tr),Nr(sC),Nr(oC))};static \u0275prov=Dn({token:e,factory:e.\u0275fac})}return e})(),sC=(()=>{class e{_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 lE?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function cE(e){return!!e&&"function"==typeof e.then}function aC(e){return!!e&&"function"==typeof e.subscribe}const dE=new zt("");let uC=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=xt(dE,{optional:!0})??[];injector=xt(Xr);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=Pa(this.injector,i);if(cE(s))n.push(s);else if(aC(s)){const u=new Promise((d,g)=>{s.subscribe({complete:d,error:g})});n.push(u)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fE=(()=>{class e{static \u0275prov=Dn({token:e,providedIn:"root",factory:()=>new lC})}return e})();class lC{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){const r=this.queues.get(t.zone);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}const oh=new zt("");function dC(e,t){return Array.isArray(t)?t.reduce(dC,e):{...e,...t}}let Es=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=xt(xm);afterRenderManager=xt(pf);zonelessEnabled=xt(ll);
1rootEffectScheduler=xt(fE);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new me.B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=xt(Ho).hasPendingTasks.pipe((0,it.T)(n=>!n));constructor(){xt(Cu,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=xt(Gr);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){const i=n instanceof t_;if(!this._injector.get(uC).done)throw!i&&Eo(n),new ct(405,!1);let u;u=i?n:this._injector.get(Ng).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const d=function GM(e){return e.isBoundToModule}(u)?void 0:this._injector.get(Nl),S=u.create(Xr.NULL,[],r||u.selector,d),H=S.location.nativeElement,Q=S.injector.get(iC,null);return Q?.registerApplication(H),S.onDestroy(()=>{this.detachView(S.hostView),Wg(this.components,S),Q?.unregisterApplication(H)}),this._loadComponent(S),S}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(null!==this.tracingSnapshot){const r=this.tracingSnapshot;return this.tracingSnapshot=null,r.run(hf.CHANGE_DETECTION,this._tick),void r.dispose()}if(this._runningTick)throw new ct(101,!1);const n=R(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,R(n),this.afterTick.next()}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ky,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;0!==this.dirtyFlags&&n++<10;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const n=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:i}of this.allViews)XM(r,i,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>Jt(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Wg(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(oh,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Wg(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ct(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wg(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function XM(e,t,n,r){(n||Jt(e))&&Ag(e,t,n&&!r?0:1)}function mE(e,t,n,r){const i=tt();return ri(i,es(),t)&&(on(),Aa(hr(),i,e,t,n,r)),mE}function ed(e,t,n,r){return ri(e,es(),n)?t+vt(n)+r:On}function td(e,t,n,r,i,s){const d=xl(e,function ps(){return an.lFrame.bindingIndex}(),n,i);return Ws(2),d?t+vt(n)+r+vt(i)+s:On}function Gg(e,t){return e<<17|t<<2}function Bu(e){return e>>17&32767}function vE(e){return 2|e}function Fl(e){return(131068&e)>>2}function yE(e,t){return-131069&e|t<<2}function EE(e){return 1|e}function SC(e,t,n,r){const i=e[n+1],s=null===t;let u=r?Bu(i):Fl(i),d=!1;for(;0!==u&&(!1===d||s);){const S=e[u+1];N1(e[u],t)&&(d=!0,e[u+1]=r?EE(S):vE(S)),u=r?Bu(S):Fl(S)}d&&(e[n+1]=r?vE(i):EE(i))}function N1(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Yo(e,t)>=0}const xi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
1;function TC(e){return e.substring(xi.key,xi.keyEnd)}function bC(e,t){const n=xi.textEnd;return n===t?-1:(t=xi.keyEnd=function L1(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,xi.key=t,n),ud(e,t,n))}function ud(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function DE(e,t,n){const r=tt();return ri(r,es(),t)&&rs(on(),hr(),r,e,t,r[tn],n,!1),DE}function _E(e,t,n,r,i){const u=i?"class":"style";py(e,n,t.inputs[u],u,r)}function CE(e,t,n){return ia(e,t,n,!1),CE}function wE(e,t){return ia(e,t,null,!0),wE}function xC(e){oa(G1,ba,e,!0)}function ba(e,t){for(let n=function P1(e){return function OC(e){xi.key=0,xi.keyEnd=0,xi.value=0,xi.valueEnd=0,xi.textEnd=e.length}(e),bC(e,ud(e,0,xi.textEnd))}(t);n>=0;n=bC(t,n))vr(e,TC(t),!0)}function ia(e,t,n,r){const i=tt(),s=on(),u=Ws(2);s.firstUpdatePass&&FC(s,e,u,r),t!==On&&ri(i,u,t)&&kC(s,s.data[ci()],i,i[tn],e,i[u+1]=function z1(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=be(ta(e)))),e}(t,n),r,u)}function oa(e,t,n,r){const i=on(),s=Ws(2);i.firstUpdatePass&&FC(i,null,s,r);const u=tt();if(n!==On&&ri(u,s,n)){const d=i.data[ci()];if(UC(d,r)&&!PC(i,s)){let g=r?d.classesWithoutHost:d.stylesWithoutHost;null!==g&&(n=ot(g,n||"")),_E(i,d,u,n,r)}else!function K1(e,t,n,r,i,s,u,d){i===On&&(i=kn);let g=0,S=0,H=0<i.length?i[0]:null,Q=0<s.length?s[0]:null;for(;null!==H||null!==Q;){const he=g<i.length?i[g+1]:void 0,De=S<s.length?s[S+1]:void 0;let st,ke=null;H===Q?(g+=2,S+=2,he!==De&&(ke=Q,st=De)):null===Q||null!==H&&H<Q?(g+=2,ke=H):(S+=2,ke=Q,st=De),null!==ke&&kC(e,t,n,r,ke,st,u,d),H=g<i.length?i[g]:null,Q=S<s.length?s[S]:null}}(i,d,u,u[tn],u[s+1],u[s+1]=function W1(e,t,n){if(null==n||""===n)return kn;const r=[],i=ta(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function PC(e,t){return t>=e.expandoStartIndex}function FC(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[ci()],u=PC(e,n);UC(s,r)&&null===t&&!u&&(t=!1),t=function V1(e,t,n,r){const i=function Xl(e){const t=an.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=ah(n=IE(null,e,t,n,r),t.attrs,r),s=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==i)if(n=IE(i,e,t,n,r),null===s){let g=function j1(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Fl(r))return e[Bu(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=IE(null,e,t,g[1],r),g=ah(g,t.attrs,r),function H1(e,t,n,r){e[Bu(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else s=function $1(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=ah(r,e[s].hostAttrs,n);return ah(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function O1(e,t,n,r,i,s){let u=s?t.classBindings:t.styleBindings,d=Bu(u),g=Fl(u);e[r]=n;let H,S=!1;if(Array.isArray(n)?(H=n[1],(null===H||Yo(n,H)>0)&&(S=!0)):H=n,i)if(0!==g){const he=Bu(e[d+1]);e[r+1]=Gg(he,d),0!==he&&(e[he+1]=yE(e[he+1],r)),e[d+1]=function b1(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=Gg(d,0),0!==d&&(e[d+1]=yE(e[d+1],r)),d=r;else e[r+1]=Gg(g,0),0===d?d=r:e[g+1]=yE(e[g+1],r),g=r;S&&(e[r+1]=vE(e[r+1])),SC(e,H,r,!0),SC(e,H,r,!1),function R1(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Yo(s,t)>=0&&(n[r+1]=EE(n[r+1]))}(t,H,e,r,s),u=Gg(d,g),s?t.classBindings=u:t.styleBindings=u}(i,s,t,n,u,r)}}function IE(e,t,n,r,i){let s=null;const u=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d<u&&(s=t[d],r=ah(r,s.hostAttrs,i),s!==e);)d++;return null!==e&&(n.directiveStylingLast=d),r}function ah(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const u=t[s];"number"==typeof u?i=u:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),vr(e,u,!!n||t[++s]))}return void 0===e?null:e}function G1(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&vr(e,r,n)}function kC(e,t,n,r,i,s,u,d){if(!(3&t.type))return;const g=e.data,S=g[d+1],H=function M1(e){return!(1&~e)}(S)?BC(g,t,n,i,Fl(S),u):void 0;
1Kg(H)||(Kg(s)||function T1(e){return!(2&~e)}(S)&&(s=BC(g,null,n,i,d,u)),function NS(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:Cg.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=Cg.Important),e.setStyle(n,r,i,s))}}(r,u,Ba(ci(),n),i,s))}function BC(e,t,n,r,i,s){const u=null===t;let d;for(;i>0;){const g=e[i],S=Array.isArray(g),H=S?g[1]:g,Q=null===H;let he=n[i+1];he===On&&(he=Q?kn:void 0);let De=Q?Cs(he,r):H===r?he:void 0;if(S&&!Kg(De)&&(De=Cs(g,r)),Kg(De)&&(d=De,u))return d;const ke=e[i+1];i=u?Bu(ke):Fl(ke)}if(null!==t){let g=s?t.residualClasses:t.residualStyles;null!=g&&(d=Cs(g,r))}return d}function Kg(e){return void 0!==e}function UC(e,t){return!!(e.flags&(t?8:16))}function VC(e,t,n){oa(vr,ba,ed(tt(),e,t,n),!0)}class rO{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),i=Math.max(t,n),s=this.detach(i);if(i-r>1){const u=this.detach(r);this.attach(r,s),this.attach(i,u)}else this.attach(r,s)}move(t,n){this.attach(n,this.detach(t))}}function AE(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function SE(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function jC(e,t,n,r,i){if(SE(e,t,r,n(r,i)))e.updateValue(r,i);else{const s=e.create(r,i);e.attach(r,s)}}function HC(e,t,n,r){const i=new Set;for(let s=t;s<=n;s++)i.add(r(s,e.at(s)));return i}class $C{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),t(r,n)}}}function WC(e,t){di("NgControlFlow");const n=tt(),r=es(),i=n[r]!==On?n[r]:-1,s=-1!==i?zg(n,nt+i):void 0;if(ri(n,r,e)){const d=R(null);try{if(void 0!==s&&wy(s,0),-1!==e){const g=nt+e,S=zg(n,g),H=TE(n[at],g),Q=Xc(S,H.tView.ssrId);Gc(S,Wc(n,H,t,{dehydratedView:Q}),0,Ol(H,Q))}}finally{R(d)}}else if(void 0!==s){const d=AD(s,0);void 0!==d&&(d[nr]=t)}}class oO{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Ht}}function GC(e){return e}class aO{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function KC(e,t,n,r,i,s,u,d,g,S,H,Q,he){di("NgControlFlow");const De=tt(),ke=on(),st=void 0!==g,Ct=tt(),It=d?u.bind(Ct[Zn][nr]):u,ut=new aO(st,It);Ct[nt+e]=ut,rh(De,ke,e+1,t,n,r,i,ce(ke.consts,s)),st&&rh(De,ke,e+2,g,S,H,Q,ce(ke.consts,he))}class uO extends rO{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-Ht}at(t){return this.getLView(t)[nr].$implicit}attach(t,n){const r=n[vi];this.needsIndexUpdate||=t!==this.length,Gc(this.lContainer,n,t,Ol(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function lO(e,t){return Vf(e,t)}(this.lContainer,t)}create(t,n){const r=Xc(this.lContainer,this.templateTNode.tView.ssrId),i=Wc(this.hostLView,this.templateTNode,new oO(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(t){jf(t[at],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[nr].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[nr].$index=t}getLView(t){return function cO(e,t){return AD(e,t)}(this.lContainer,t)}}function zC(e){const t=R(null),n=ci();try{const r=tt(),i=r[at],s=r[n],u=n+1,d=zg(r,u);if(void 0===s.liveCollection){const S=TE(i,u);s.liveCollection=new uO(d,r,S)}else s.liveCollection.reset();const g=s.liveCollection;if(function iO(e,t,n){let r,i,s=0,u=e.length-1;if(Array.isArray(t)){let g=t.length-1;for(;s<=u&&s<=g;
1){const S=e.at(s),H=t[s],Q=AE(s,S,s,H,n);if(0!==Q){Q<0&&e.updateValue(s,H),s++;continue}const he=e.at(u),De=t[g],ke=AE(u,he,g,De,n);if(0!==ke){ke<0&&e.updateValue(u,De),u--,g--;continue}const st=n(s,S),Ct=n(u,he),It=n(s,H);if(Object.is(It,Ct)){const ut=n(g,De);Object.is(ut,st)?(e.swap(s,u),e.updateValue(u,De),g--,u--):e.move(u,s),e.updateValue(s,H),s++}else if(r??=new $C,i??=HC(e,s,u,n),SE(e,r,s,It))e.updateValue(s,H),s++,u++;else if(i.has(It))r.set(st,e.detach(s)),u--;else{const ut=e.create(s,t[s]);e.attach(s,ut),s++,u++}}for(;s<=g;)jC(e,r,n,s,t[s]),s++}else if(null!=t){const g=t[Symbol.iterator]();let S=g.next();for(;!S.done&&s<=u;){const H=e.at(s),Q=S.value,he=AE(s,H,s,Q,n);if(0!==he)he<0&&e.updateValue(s,Q),s++,S=g.next();else{r??=new $C,i??=HC(e,s,u,n);const De=n(s,Q);if(SE(e,r,s,De))e.updateValue(s,Q),s++,u++,S=g.next();else if(i.has(De)){const ke=n(s,H);r.set(ke,e.detach(s)),u--}else e.attach(s,e.create(s,Q)),s++,u++,S=g.next()}}for(;!S.done;)jC(e,r,n,e.length,S.value),S=g.next()}for(;s<=u;)e.destroy(e.detach(u--));r?.forEach(g=>{e.destroy(g)})}(g,e,s.trackByFn),g.updateIndexes(),s.hasEmptyBlock){const S=es(),H=0===g.length;if(ri(r,S,H)){const Q=n+2,he=zg(r,Q);if(H){const De=TE(i,Q),ke=Xc(he,De.tView.ssrId);Gc(he,Wc(r,De,void 0,{dehydratedView:ke}),0,Ol(De,ke))}else wy(he,0)}}}finally{R(t)}}function zg(e,t){return e[t]}function TE(e,t){return p(e,t)}function Xg(e,t,n,r){const i=tt(),s=on(),u=nt+e,d=i[tn],g=s.firstCreatePass?function dO(e,t,n,r,i,s){const u=t.consts,g=bl(t,e,2,r,ce(u,i));return cy(t,n,g,ce(u,s)),null!==g.attrs&&Pg(g,g.attrs,!1),null!==g.mergedAttrs&&Pg(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(u,s,i,t,n,r):s.data[u],S=XC(s,i,g,d,t,e);i[u]=S;const H=Oi(g);return hs(g,!0),ID(d,S,g),!function Qc(e){return!(32&~e.flags)}(g)&&qu()&&wg(s,i,S,g),0===function Ih(){return an.lFrame.elementDepthCount}()&&zi(S,i),function Cm(){an.lFrame.elementDepthCount++}(),H&&(sy(s,i,g),Tf(s,g,i)),null!==r&&ay(i,g),Xg}function Zg(){let e=Mn();Xu()?Sd():(e=e.parent,hs(e,!1));const t=e;(function Ni(e){return an.skipHydrationRootTNode===e})(t)&&function Id(){an.skipHydrationRootTNode=null}(),function Kl(){an.lFrame.elementDepthCount--}();const n=on();return n.firstCreatePass&&(Ha(n,e),Mi(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Fd(e){return!!(8&e.flags)}(t)&&_E(n,t,tt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function pa(e){return!!(16&e.flags)}(t)&&_E(n,t,tt(),t.stylesWithoutHost,!1),Zg}function bE(e,t,n,r){return Xg(e,t,n,r),Zg(),bE}let XC=(e,t,n,r,i,s)=>(zr(!0),yg(r,i,function Nd(){return an.lFrame.currentNamespace}()));function Qg(e,t,n){const r=tt(),i=on(),s=e+nt,u=i.firstCreatePass?function pO(e,t,n,r,i){const s=t.consts,u=ce(s,r),d=bl(t,e,8,"ng-container",u);return null!==u&&Pg(d,u,!0),cy(t,n,d,ce(s,i)),null!==t.queries&&t.queries.elementStart(t,d),d}(s,i,r,t,n):i.data[s];hs(u,!0);const d=ZC(i,r,u,e);return r[s]=d,qu()&&wg(i,r,d,u),zi(d,r),Oi(u)&&(sy(i,r,u),Tf(i,u,r)),null!=n&&ay(r,u),Qg}function Yg(){let e=Mn();const t=on();return Xu()?Sd():(e=e.parent,hs(e,!1)),t.firstCreatePass&&(Ha(t,e),Mi(e)&&t.queries.elementEnd(e)),Yg}function ME(e,t,n){return Qg(e,t,n),Yg(),ME}let ZC=(e,t,n,r)=>(zr(!0),iy(t[tn],""));function QC(){return tt()}const Ll=void 0;var yO=["en",[["a","p"],["AM","PM"],Ll],[["AM","PM"],Ll,Ll],[["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"]],Ll,[["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"]],Ll,[["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}",Ll,"{1} 'at' {0}",Ll],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function vO(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ld={};function OE(e){const t=function EO(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ew(t);if(n)return n;const r=t.split("-")[0];if(n=ew(r),n)return n;if("en"===r)return yO;throw new ct(701,!1)}function qC(e){return OE(e)[cd.PluralCase]}function ew(e){return e in ld||(ld[e]=Rn.ng&&Rn.ng.common&&Rn.ng.common.locales&&Rn.ng.common.locales[e]),ld[e]}var cd=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(cd||{});const Jg="en-US";let tw=Jg,Ew=(e,t,n)=>{};function xE(e,t,n,r){const i=tt(),s=on(),u=Mn();return PE(s,i,i[tn],u,e,t,r),xE}function PE(e,t,n,r,i,s,u){const d=Oi(r),S=e.firstCreatePass&&Io(e),H=t[nr],Q=Wi(t);let he=!0;if(3&r.type||u){const st=Ri(r,t),Ct=u?u(st):st,It=Q.length,ut=u?Vn=>u(qn(Vn[r.index])):r.index;let sn=null;if(!u&&d&&(sn=function aR(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const u=i[s];if(u===n&&i[s+1]===r){const d=t[_o],g=i[s+2];return d.length>g?d[g]:null}"string"==typeof u&&(s+=2)}return null}(e,t,i,r.index)),null!==sn)(sn.__ngLastListenerFn__||sn).__ngNextListenerFn__=s,sn.__ngLastListenerFn__=s,he=!1;else{s=ww(r,t,H,s),Ew(st,i,s);const Vn=n.listen(Ct,i,s);Q.push(s,Vn),S&&S.push(i,ut,It,It+1)}}else s=ww(r,t,H,s);const De=r.outputs;let ke;if(he&&null!==De&&(ke=De[i])){const st=ke.length;if(st)for(let Ct=0;Ct<st;Ct+=2){const Xn=t[ke[Ct]][ke[Ct+1]].subscribe(s),_i=Q.length;Q.push(s,Xn),S&&S.push(i,r.index,_i,-(_i+1))}}}function Cw(e,t,n,r){const i=R(null);try{return wo(6,t,n),!1!==n(r)}catch(s){return Dg(e,s),!1}finally{wo(7,t,n),R(i)}}
1function ww(e,t,n,r){return function i(s){if(s===Function)return r;Hf(e.componentOffset>-1?m(e.index,t):t,5);let d=Cw(t,n,r,s),g=i.__ngNextListenerFn__;for(;g;)d=Cw(t,n,g,s)&&d,g=g.__ngNextListenerFn__;return d}}function Iw(e=1){return function Nh(e){return(an.lFrame.contextLView=function bt(e,t){for(;e>0;)t=t[Co],e--;return t}(e,an.lFrame.contextLView))[nr]}(e)}function uR(e,t){let n=null;const r=function KA(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?Q0(e,s,!0):ZA(r,s))return i}else n=i}return n}function Aw(e){const t=tt()[Zn][jr];if(!t.projection){const r=t.projection=function Fo(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){if(128!==s.type){const u=e?uR(s,e):0;null!==u&&(i[u]?i[u].projectionNext=s:r[u]=s,i[u]=s)}s=s.next}}}function Sw(e,t=0,n,r,i,s){const u=tt(),d=on(),g=r?e+1:null;null!==g&&rh(u,d,g,r,i,s,null,n);const S=bl(d,nt+e,16,null,n||null);null===S.projection&&(S.projection=t),Sd();const Q=!u[vi]||fa();null===u[Zn][jr].projection[S.projection]&&null!==g?function lR(e,t,n){const r=nt+n,i=t.data[r],s=e[r],u=Xc(s,i.tView.ssrId);Gc(s,Wc(e,i,void 0,{dehydratedView:u}),0,Ol(i,u))}(u,d,g):Q&&32&~S.flags&&function OS(e,t,n){wD(t[tn],0,t,n,Ey(e,n,t),yD(n.parent||t[jr],n,t))}(d,u,S)}function FE(e,t,n){return LE(e,"",t,"",n),FE}function LE(e,t,n,r,i){const s=tt(),u=ed(s,t,n,r);return u!==On&&rs(on(),hr(),s,e,u,s[tn],i,!1),LE}function Fw(e,t,n,r){!function m_(e,t,n,r){const i=on();if(i.firstCreatePass){const s=Mn();v_(i,new f_(t,n,r),s.index),function pb(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&~n)&&(i.staticContentQueries=!0)}return p_(i,tt(),n)}(e,t,n,r)}function Lw(e,t,n){!function g_(e,t,n){const r=on();return r.firstCreatePass&&(v_(r,new f_(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),p_(r,tt(),t)}(e,t,n)}function kw(e){const t=tt(),n=on(),r=Zl();Qu(r+1);const i=Xy(n,r);if(e.dirty&&function D(e){return!(4&~e[en])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const s=y_(t,r);e.reset(s,Kd),e.notifyOnChanges()}return!0}return!1}function Bw(){return function zy(e,t){return e[v].queries[t].queryList}(tt(),Zl())}function Uw(e){return E(function uu(){return an.lFrame.contextLView}(),nt+e)}function Zw(e,t=""){const n=tt(),r=on(),i=e+nt,s=r.firstCreatePass?bl(r,i,1,t,null):r.data[i],u=Qw(r,n,s,t,e);n[i]=u,qu()&&wg(r,n,u,s),hs(s,!1)}let Qw=(e,t,n,r,i)=>(zr(!0),function ry(e,t){return e.createText(t)}(t[tn],r));function BE(e){return nm("",e,""),BE}function nm(e,t,n){const r=tt(),i=ed(r,e,t,n);return i!==On&&tu(r,ci(),i),nm}function UE(e,t,n,r,i){const s=tt(),u=td(s,e,t,n,r,i);return u!==On&&tu(s,ci(),u),UE}function tu(e,t,n){const r=Ba(t,e);!function nD(e,t,n){e.setValue(t,n)}(e[tn],r,n)}function VE(e,t,n){lp(t)&&(t=t());const r=tt();return ri(r,es(),t)&&rs(on(),hr(),r,e,t,r[tn],n,!1),VE}function iI(e,t){const n=lp(e);return n&&e.set(t),n}function jE(e,t){const n=tt(),r=on(),i=Mn();return PE(r,n,n[tn],i,e,t),jE}function HE(e,t,n,r,i){if(e=kt(e),Array.isArray(e))for(let s=0;s<e.length;s++)HE(e[s],t,n,r,i);else{const s=on(),u=tt(),d=Mn();let g=Ur(e)?e:kt(e.provide);const S=xa(e),H=1048575&d.providerIndexes,Q=d.directiveStart,he=d.providerIndexes>>20;if(Ur(e)||!e.multi){const De=new ha(S,i,Hc),ke=WE(g,t,i?H:H+he,Q);-1===ke?(ic(il(d,u),s,g),$E(s,e,t.length),t.push(g),d.directiveStart++,d.directiveEnd++,i&&(d.providerIndexes+=1048576),n.push(De),u.push(De)):(n[ke]=De,u[ke]=De)}else{const De=WE(g,t,H+he,Q),ke=WE(g,t,H,H+he),Ct=ke>=0&&n[ke];if(i&&!Ct||!i&&!(De>=0&&n[De])){ic(il(d,u),s,g);const It=function OR(e,t,n,r,i){const s=new ha(e,n,Hc);return s.multi=[],s.index=t,s.componentProviders=0,aI(s,i,r&&!n),s}(i?MR:bR,n.length,i,r,S);!i&&Ct&&(n[ke].providerFactory=It),$E(s,e,t.length,0),t.push(g),d.directiveStart++,d.directiveEnd++,i&&(d.providerIndexes+=1048576),n.push(It),u.push(It)}else $E(s,e,De>-1?De:ke,aI(n[i?ke:De],S,!i&&r));!i&&r&&Ct&&n[ke].componentProviders++}}}function $E(e,t,n,r){const i=Ur(t),s=function Us(e){return!!e.useClass}(t);if(i||s){const g=(s?kt(t.useClass):t).prototype.ngOnDestroy;if(g){const S=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const H=S.indexOf(n);-1===H?S.push(n,[r,g]):S[H+1].push(r,g)}else S.push(n,g)}}}
1function aI(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function WE(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function bR(e,t,n,r){return GE(this.multi,[])}function MR(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const u=this.providerFactory.componentProviders,d=va(n,n[at],this.providerFactory.index,r);s=d.slice(0,u),GE(i,s);for(let g=u;g<d.length;g++)s.push(d[g])}else s=[],GE(i,s);return s}function GE(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function uI(e,t=[]){return n=>{n.providersResolver=(r,i)=>function TR(e,t,n){const r=on();if(r.firstCreatePass){const i=Hr(e);HE(n,r.data,r.blueprint,i,!0),HE(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}function cI(e,t,n){const r=so()+e,i=tt();return i[r]===On?Sa(i,r,n?t.call(n):t()):nh(i,r)}function dI(e,t,n,r){return gI(tt(),so(),e,t,n,r)}function fI(e,t,n,r,i){return mI(tt(),so(),e,t,n,r,i)}function hI(e,t,n,r,i,s,u){return function yI(e,t,n,r,i,s,u,d,g){const S=t+n;return xs(e,S,i,s,u,d)?Sa(e,S+4,g?r.call(g,i,s,u,d):r(i,s,u,d)):hh(e,S+4)}(tt(),so(),e,t,n,r,i,s,u)}function pI(e,t,n,r,i,s,u,d,g){const S=so()+e,H=tt(),Q=xs(H,S,n,r,i,s);return xl(H,S+4,u,d)||Q?Sa(H,S+6,g?t.call(g,n,r,i,s,u,d):t(n,r,i,s,u,d)):nh(H,S+6)}function hh(e,t){const n=e[t];return n===On?void 0:n}function gI(e,t,n,r,i,s){const u=t+n;return ri(e,u,i)?Sa(e,u+1,s?r.call(s,i):r(i)):hh(e,u+1)}function mI(e,t,n,r,i,s,u){const d=t+n;return xl(e,d,i,s)?Sa(e,d+2,u?r.call(u,i,s):r(i,s)):hh(e,d+2)}function DI(e,t){const n=on();let r;const i=e+nt;n.firstCreatePass?(r=function UR(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=si(r.type)),d=oi(Hc);try{const g=nc(!1),S=s();return nc(g),function kE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,tt(),i,S),S}finally{oi(d)}}function _I(e,t,n){const r=e+nt,i=tt(),s=E(i,r);return ph(i,r)?gI(i,so(),t,s.transform,n,s):s.transform(n)}function CI(e,t,n,r){const i=e+nt,s=tt(),u=E(s,i);return ph(s,i)?mI(s,so(),t,u.transform,n,r,u):u.transform(n,r)}function ph(e,t){return e[at].data[t].pure}function wI(e,t){return Sg(e,t)}class UI{full;major;minor;patch;constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}class gN{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let mN=(()=>{class e{compileModuleSync(n){return new Yy(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ys(Fr(n).declarations).reduce((u,d)=>{const g=pn(d);return g&&u.push(new eh(g)),u},[]);return new gN(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),EN=(()=>{class e{zone=xt(Tr);changeDetectionScheduler=xt(ms);applicationRef=xt(Es);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QE({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Tr({...YE(),scheduleInRootZone:n}),[{provide:Tr,useFactory:e},{provide:Ti,multi:!0,useFactory:()=>{const r=xt(EN,{optional:!0});return()=>r.initialize()}},{provide:Ti,multi:!0,useFactory:()=>{const r=xt(_N);return()=>{r.initialize()}}},!0===t?{provide:Qh,useValue:!0}:[],{provide:$d,useValue:n??Xh}]}function YE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let _N=(()=>{class e{subscription=new Oe.yU;initialized=!1;zone=xt(Tr);pendingTasks=xt(Ho);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Tr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}
1))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Tr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mh=(()=>{class e{appRef=xt(Es);taskService=xt(Ho);ngZone=xt(Tr);zonelessEnabled=xt(ll);tracing=xt(Cu,{optional:!0});disableScheduling=xt(Qh,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Oe.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(gc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(xt($d,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Zs||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;let r=!1;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 8:this.appRef.deferredDirtyFlags|=8;break;case 6:case 14:this.appRef.dirtyFlags|=2,r=!0;break;case 13:this.appRef.dirtyFlags|=16,r=!0;break;case 12:r=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;const i=this.useMicrotaskScheduler?ep:qh;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(gc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ep(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const qE=new zt("",{providedIn:"root",factory:()=>xt(qE,_n.Optional|_n.SkipSelf)||function CN(){return typeof $localize<"u"&&$localize.locale||Jg}()}),wN=new zt("",{providedIn:"root",factory:()=>"USD"}),sm=new zt(""),bN=new zt("");function vh(e){return!e.moduleRef}let GI=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,u=r?.ignoreChangesOutsideZone,d=[QE({ngZoneFactory:()=>function Nm(e="zone.js",t){return"noop"===e?new Zs:"zone.js"===e?new Tr(t):e}(r?.ngZone,{...YE({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:u}),{provide:ms,useExisting:mh}],g=function Ab(e,t,n){return new Qy(e,t,n,!1)}(n.moduleType,this.injector,d);return function WI(e){const t=vh(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Tr);return n.run(()=>{vh(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Qs,null);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:s=>{r.handleError(s)}})}),vh(e)){const s=()=>t.destroy(),u=e.platformInjector.get(sm);u.add(s),t.onDestroy(()=>{i.unsubscribe(),u.delete(s)})}else{const s=()=>e.moduleRef.destroy(),u=e.platformInjector.get(sm);u.add(s),e.moduleRef.onDestroy(()=>{Wg(e.allPlatformModules,e.moduleRef),i.unsubscribe(),u.delete(s)})}return function zM(e,t,n){try{const r=n();return cE(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(r,n,()=>{const s=t.get(uC);
1return s.runInitializers(),s.donePromise.then(()=>{if(function wO(e){"string"==typeof e&&(tw=e.toLowerCase().replace(/_/g,"-"))}(t.get(qE,Jg)||Jg),!t.get(bN,!0))return vh(e)?t.get(Es):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vh(e)){const g=t.get(Es);return void 0!==e.rootComponent&&g.bootstrap(e.rootComponent),g}return function MN(e,t){const n=e.injector.get(Es);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new ct(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:g,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){const i=dC({},r);return function yN(e,t,n){const r=new Yy(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ct(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(sm,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(Nr(Xr))};static \u0275prov=Dn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Uu=null;const KI=new zt("");function zI(e,t,n=[]){const r=`Platform: ${t}`,i=new zt(r);return(s=[])=>{let u=e0();if(!u||u.injector.get(KI,!1)){const d=[...n,...s,{provide:i,useValue:!0}];e?e(d):function ON(e){if(Uu&&!Uu.get(KI,!1))throw new ct(400,!1);(function cC(){!function $t(e){Pt=e}(()=>{throw new ct(600,!1)})})(),Uu=e;const t=e.get(GI);(function ZI(e){const t=e.get(rf,null);Pa(e,()=>{t?.forEach(n=>n())})})(e)}(function XI(e=[],t){return Xr.create({name:t,providers:[{provide:ls,useValue:"platform"},{provide:sm,useValue:new Set([()=>Uu=null])},...e]})}(d,r))}return function RN(){const t=e0();if(!t)throw new ct(401,!1);return t}()}}function e0(){return Uu?.get(GI)??null}let YI=(()=>class e{static __NG_ELEMENT_ID__=xN})();function xN(e){return function PN(e,t,n){if(ni(e)&&!n){const r=m(e.index,t);return new $f(r,r)}return 175&e.type?new $f(t[Zn],t):null}(Mn(),tt(),!(16&~e))}class tA{constructor(){}supports(t){return Ug(t)}create(t){return new UN(t)}}const BN=(e,t)=>t;class UN{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||BN}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const u=!r||n&&n.currentIndex<rA(r,i,s)?n:r,d=rA(u,i,s),g=u.currentIndex;if(u===r)i--,r=r._nextRemoved;else if(n=n._next,null==u.previousIndex)i++;else{s||(s=[]);const S=d-i,H=g-i;if(S!=H){for(let he=0;he<S;he++){const De=he<s.length?s[he]:s[he]=0,ke=De+he;H<=ke&&ke<S&&(s[he]=De+1)}s[u.previousIndex]=H-S}}d!==g&&t(u,d,g)}}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=[]),!Ug(t))throw new ct(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,u,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let d=0;d<this.length;d++)s=t[d],u=this._trackByFn(d,s),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,s,u,d)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,u,d),r=!0),n=n._next}else i=0,function Hb(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,d=>{u=this._trackByFn(i,d),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,d,u,i)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,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 s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.
vendor: 4,424 bytes, line 1
1item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new VN(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new nA),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 nA),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 VN{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}}class jN{_head=null;_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 nA{map=new Map;put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new jN,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 rA(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 iA{constructor(){}supports(t){return t instanceof Map||nE(t)}create(){return new HN}}class HN{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_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;
1n=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||nE(t)))throw new ct(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 s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,u=i._next;return s&&(s._next=u),u&&(u._prev=s),i._next=null,i._prev=null,i}const r=new $N(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 $N{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}}function oA(){return new s0([new tA])}let s0=(()=>{class e{factories;static \u0275prov=Dn({token:e,providedIn:"root",factory:oA});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||oA()),deps:[[e,new Ai,new vo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new ct(901,!1)}}return e})();function sA(){return new a0([new iA])}let a0=(()=>{class e{static \u0275prov=Dn({token:e,providedIn:"root",factory:sA});factories;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||sA()),deps:[[e,new Ai,new vo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new ct(901,!1)}}return e})();const KN=zI(null,"core",[]);let zN=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(Nr(Es))};static \u0275mod=qy({type:e});static \u0275inj=Qr({})}return e})();function Tx(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function bx(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function hd(e,t){di("NgSignals");const n=function Se(e){const t=Object.create(Dt);t.computation=e;const n=()=>
1{if(N(t),P(t),t.value===ht)throw t.error;return t.value};return n[x]=t,n}(e);return t?.equal&&(n[x].equal=t.equal),n}function Vu(e){const t=R(null);try{return e()}finally{R(t)}}function qx(e){const t=pn(e);if(!t)return null;const n=new eh(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9417:(ze,se,f)=>{"use strict";f.d(se,{BC:()=>it,Fm:()=>sa,J3:()=>Zr,X1:()=>Wn,Zm:()=>I,cb:()=>jt,hs:()=>le,j4:()=>Yn,k0:()=>W,kq:()=>_,l_:()=>Ps,me:()=>V,qT:()=>Ii,wz:()=>Vi,xH:()=>mo,y7:()=>Ai});var c=f(4438),l=f(177),$=f(6648),M=f(7468),O=f(1413),x=f(6354);let R=(()=>{class L{_renderer;_elementRef;onChange=w=>{};onTouched=()=>{};constructor(w,ee){this._renderer=w,this._elementRef=ee}setProperty(w,ee){this._renderer.setProperty(this._elementRef.nativeElement,w,ee)}registerOnTouched(w){this.onTouched=w}registerOnChange(w){this.onChange=w}setDisabledState(w){this.setProperty("disabled",w)}static \u0275fac=function(ee){return new(ee||L)(c.rXU(c.sFG),c.rXU(c.aKT))};static \u0275dir=c.FsC({type:L})}return L})(),T=(()=>{class L extends R{static \u0275fac=(()=>{let w;return function(Ie){return(w||(w=c.xGo(L)))(Ie||L)}})();static \u0275dir=c.FsC({type:L,features:[c.Vt3]})}return L})();const _=new c.nKC(""),k={provide:_,useExisting:(0,c.Rfq)(()=>I),multi:!0};let I=(()=>{class L extends T{writeValue(w){this.setProperty("checked",w)}static \u0275fac=(()=>{let w;return function(Ie){return(w||(w=c.xGo(L)))(Ie||L)}})();static \u0275dir=c.FsC({type:L,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(ee,Ie){1&ee&&c.bIt("change",function(Sn){return Ie.onChange(Sn.target.checked)})("blur",function(){return Ie.onTouched()})},standalone:!1,features:[c.Jv_([k]),c.Vt3]})}return L})();const P={provide:_,useExisting:(0,c.Rfq)(()=>V),multi:!0},N=new c.nKC("");let V=(()=>{class L extends R{_compositionMode;_composing=!1;constructor(w,ee,Ie){super(w,ee),this._compositionMode=Ie,null==this._compositionMode&&(this._compositionMode=!function Z(){const L=(0,l.QT)()?(0,l.QT)().getUserAgent():"";return/android (\d+)/.test(L.toLowerCase())}())}writeValue(w){this.setProperty("value",w??"")}_handleInput(w){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(w)}_compositionStart(){this._composing=!0}_compositionEnd(w){this._composing=!1,this._compositionMode&&this.onChange(w)}static \u0275fac=function(ee){return new(ee||L)(c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(N,8))};static \u0275dir=c.FsC({type:L,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(ee,Ie){1&ee&&c.bIt("input",function(Sn){return Ie._handleInput(Sn.target.value)})("blur",function(){return Ie.onTouched()})("compositionstart",function(){return Ie._compositionStart()})("compositionend",function(Sn){return Ie._compositionEnd(Sn.target.value)})},standalone:!1,features:[c.Jv_([P]),c.Vt3]})}return L})();function b(L){return null==L||("string"==typeof L||Array.isArray(L))&&0===L.length}function ie(L){return null!=L&&"number"==typeof L.length}const ye=new c.nKC(""),ne=new c.nKC(""),z=/^(?=.{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 W{static min(U){return function G(L){return U=>{if(b(U.value)||b(L))return null;const w=parseFloat(U.value);return!isNaN(w)&&w<L?{min:{min:L,actual:U.value}}:null}}(U)}static max(U){return function Y(L){return U=>{if(b(U.value)||b(L))return null;const w=parseFloat(U.value);return!isNaN(w)&&w>L?{max:{max:L,actual:U.value}}:null}}(U)}static required(U){return function Ce(L){return b(L.value)?{required:!0}:null}(U)}static requiredTrue(U){return function de(L){return!0===L.value?null:{required:!0}}(U)}static email(U){return function Ae(L){return b(L.value)||z.test(L.value)?null:{email:!0}}(U)}static minLength(U){return function Ye(L){return U=>b(U.value)||!ie(U.value)?null:U.value.length<L?{minlength:{requiredLength:L,actualLength:U.value.length}}:null}(U)}static maxLength(U){return function xe(L){return U=>ie(U.value)&&U.value.length>L?{maxlength:{requiredLength:L,actualLength:U.value.length}}:null}(U)}static pattern(U){return function Se(L){if(!L)return je;let U,w;return"string"==typeof L?(w="","^"!==L.charAt(0)&&(w+="^"),w+=L,"$"!==L.charAt(L.length-1)&&(w+="$"),U=new RegExp(w)):(w=L.toString(),U=L),ee=>{if(b(ee.value))return null;const Ie=ee.value;return U.test(Ie)?null:{pattern:{requiredPattern:w,actualValue:Ie}}}}(U)}static nullValidator(U){return null}static compose(U){return $t(U)}static composeAsync(U){return ae(U)}}function je(L){return null}function et(L){return null!=L}function ht(L){return(0,c.jNT)(L)?(0,$.H)(L):L}function Dt(L){let U={};
1return L.forEach(w=>{U=null!=w?{...U,...w}:U}),0===Object.keys(U).length?null:U}function dt(L,U){return U.map(w=>w(L))}function Mt(L){return L.map(U=>function Pt(L){return!L.validate}(U)?U:w=>U.validate(w))}function $t(L){if(!L)return null;const U=L.filter(et);return 0==U.length?null:function(w){return Dt(dt(w,U))}}function Re(L){return null!=L?$t(Mt(L)):null}function ae(L){if(!L)return null;const U=L.filter(et);return 0==U.length?null:function(w){const ee=dt(w,U).map(ht);return(0,M.p)(ee).pipe((0,x.T)(Dt))}}function fe(L){return null!=L?ae(Mt(L)):null}function we(L,U){return null===L?[U]:Array.isArray(L)?[...L,U]:[L,U]}function Qe(L){return L._rawValidators}function Ke(L){return L._rawAsyncValidators}function Ge(L){return L?Array.isArray(L)?L:[L]:[]}function mt(L,U){return Array.isArray(L)?L.includes(U):L===U}function Vt(L,U){const w=Ge(U);return Ge(L).forEach(Ie=>{mt(w,Ie)||w.push(Ie)}),w}function wt(L,U){return Ge(U).filter(w=>!mt(L,w))}class Wt{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(U){this._rawValidators=U||[],this._composedValidatorFn=Re(this._rawValidators)}_setAsyncValidators(U){this._rawAsyncValidators=U||[],this._composedAsyncValidatorFn=fe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(U){this._onDestroyCallbacks.push(U)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(U=>U()),this._onDestroyCallbacks=[]}reset(U=void 0){this.control&&this.control.reset(U)}hasError(U,w){return!!this.control&&this.control.hasError(U,w)}getError(U,w){return this.control?this.control.getError(U,w):null}}class Ee extends Wt{name;get formDirective(){return null}get path(){return null}}class Pe extends Wt{_parent=null;name=null;valueAccessor=null}class q{_cd;constructor(U){this._cd=U}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let it=(()=>{class L extends q{constructor(w){super(w)}static \u0275fac=function(ee){return new(ee||L)(c.rXU(Pe,2))};static \u0275dir=c.FsC({type:L,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ee,Ie){2&ee&&c.AVh("ng-untouched",Ie.isUntouched)("ng-touched",Ie.isTouched)("ng-pristine",Ie.isPristine)("ng-dirty",Ie.isDirty)("ng-valid",Ie.isValid)("ng-invalid",Ie.isInvalid)("ng-pending",Ie.isPending)},standalone:!1,features:[c.Vt3]})}return L})(),jt=(()=>{class L extends q{constructor(w){super(w)}static \u0275fac=function(ee){return new(ee||L)(c.rXU(Ee,10))};static \u0275dir=c.FsC({type:L,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ee,Ie){2&ee&&c.AVh("ng-untouched",Ie.isUntouched)("ng-touched",Ie.isTouched)("ng-pristine",Ie.isPristine)("ng-dirty",Ie.isDirty)("ng-valid",Ie.isValid)("ng-invalid",Ie.isInvalid)("ng-pending",Ie.isPending)("ng-submitted",Ie.isSubmitted)},standalone:!1,features:[c.Vt3]})}return L})();const ir="VALID",Fe="INVALID",jn="PENDING",be="DISABLED";class ot{}class Tt extends ot{value;source;constructor(U,w){super(),this.value=U,this.source=w}}class Fn extends ot{pristine;source;constructor(U,w){super(),this.pristine=U,this.source=w}}class In extends ot{touched;source;constructor(U,w){super(),this.touched=U,this.source=w}}class kt extends ot{status;source;constructor(U,w){super(),this.status=U,this.source=w}}class lr extends ot{source;constructor(U){super(),this.source=U}}class Ue extends ot{source;constructor(U){super(),this.source=U}}function $e(L){return(Et(L)?L.validators:L)||null}function Ne(L,U){return(Et(U)?U.asyncValidators:L)||null}function Et(L){return null!=L&&!Array.isArray(L)&&"object"==typeof L}class An{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(U,w){this._assignValidators(U),this._assignAsyncValidators(w)}get validator(){return this._composedValidatorFn}set validator(U){this._rawValidators=this._composedValidatorFn=U}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(U){this._rawAsyncValidators=this._composedAsyncValidatorFn=U}get parent(){return this._parent}get status(){return(0,c.O8t)(this.statusReactive)}set status(U){(0,c.O8t)(()=>this.statusReactive.set(U))}_status=(0,c.EWP)(()=>this.statusReactive());statusReactive=(0,c.vPA)(void 0);get valid(){return this.status===ir}get invalid(){return this.status===Fe}get pending(){return this.status==jn}get disabled(){return this.status===be}get enabled(){return this.status!==be}errors;get pristine(){return(0,c.O8t)(this.pristineReactive)}set pristine(U){(0,c.O8t)(()=>this.pristineReactive.set(U))}_pristine=(0,c.EWP)(()=>this.pristineReactive());pristineReactive=(0,c.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,c.O8t)(this.touchedReactive)}set touched(U){(0,c.O8t)(()=>this.touchedReactive.set(U))}_touched=(0,c.EWP)(()=>this.touchedReactive());touchedReactive=(0,c.vPA)(!1);get untouched(){return!this.touched}_events=new O.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(U){this._assignValidators(U)}setAsyncValidators(U){this._assignAsyncValidators(U)}addValidators(U){this.setValidators(Vt(U,this._rawValidators))}addAsyncValidators(U){this.setAsyncValidators(Vt(U,this._rawAsyncValidators))}removeValidators(U){this.setValidators(wt(U,this._rawValidators))}removeAsyncValidators(U){this.setAsyncValidators(wt(U,this._rawAsyncValidators))}hasValidator(U){return mt(this._rawValidators,U)}hasAsyncValidator(U){return mt(this._rawAsyncValidators,U)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(U={}){const w=!1===this.touched;this.touched=!0;const ee=U.sourceControl??this;this._parent&&!U.onlySelf&&this._parent.markAsTouched({...U,sourceControl:ee}),w&&!1!==U.emitEvent&&this._events.next(new In(!0,ee))}markAllAsTouched(U={}){this.markAsTouched({onlySelf:!0,emitEvent:U.emitEvent,sourceControl:this}
1),this._forEachChild(w=>w.markAllAsTouched(U))}markAsUntouched(U={}){const w=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const ee=U.sourceControl??this;this._forEachChild(Ie=>{Ie.markAsUntouched({onlySelf:!0,emitEvent:U.emitEvent,sourceControl:ee})}),this._parent&&!U.onlySelf&&this._parent._updateTouched(U,ee),w&&!1!==U.emitEvent&&this._events.next(new In(!1,ee))}markAsDirty(U={}){const w=!0===this.pristine;this.pristine=!1;const ee=U.sourceControl??this;this._parent&&!U.onlySelf&&this._parent.markAsDirty({...U,sourceControl:ee}),w&&!1!==U.emitEvent&&this._events.next(new Fn(!1,ee))}markAsPristine(U={}){const w=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const ee=U.sourceControl??this;this._forEachChild(Ie=>{Ie.markAsPristine({onlySelf:!0,emitEvent:U.emitEvent})}),this._parent&&!U.onlySelf&&this._parent._updatePristine(U,ee),w&&!1!==U.emitEvent&&this._events.next(new Fn(!0,ee))}markAsPending(U={}){this.status=jn;const w=U.sourceControl??this;!1!==U.emitEvent&&(this._events.next(new kt(this.status,w)),this.statusChanges.emit(this.status)),this._parent&&!U.onlySelf&&this._parent.markAsPending({...U,sourceControl:w})}disable(U={}){const w=this._parentMarkedDirty(U.onlySelf);this.status=be,this.errors=null,this._forEachChild(Ie=>{Ie.disable({...U,onlySelf:!0})}),this._updateValue();const ee=U.sourceControl??this;!1!==U.emitEvent&&(this._events.next(new Tt(this.value,ee)),this._events.next(new kt(this.status,ee)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...U,skipPristineCheck:w},this),this._onDisabledChange.forEach(Ie=>Ie(!0))}enable(U={}){const w=this._parentMarkedDirty(U.onlySelf);this.status=ir,this._forEachChild(ee=>{ee.enable({...U,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:U.emitEvent}),this._updateAncestors({...U,skipPristineCheck:w},this),this._onDisabledChange.forEach(ee=>ee(!1))}_updateAncestors(U,w){this._parent&&!U.onlySelf&&(this._parent.updateValueAndValidity(U),U.skipPristineCheck||this._parent._updatePristine({},w),this._parent._updateTouched({},w))}setParent(U){this._parent=U}getRawValue(){return this.value}updateValueAndValidity(U={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const ee=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ir||this.status===jn)&&this._runAsyncValidator(ee,U.emitEvent)}const w=U.sourceControl??this;!1!==U.emitEvent&&(this._events.next(new Tt(this.value,w)),this._events.next(new kt(this.status,w)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!U.onlySelf&&this._parent.updateValueAndValidity({...U,sourceControl:w})}_updateTreeValidity(U={emitEvent:!0}){this._forEachChild(w=>w._updateTreeValidity(U)),this.updateValueAndValidity({onlySelf:!0,emitEvent:U.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?be:ir}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(U,w){if(this.asyncValidator){this.status=jn,this._hasOwnPendingAsyncValidator={emitEvent:!1!==w};const ee=ht(this.asyncValidator(this));this._asyncValidationSubscription=ee.subscribe(Ie=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(Ie,{emitEvent:w,shouldHaveEmitted:U})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const U=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,U}return!1}setErrors(U,w={}){this.errors=U,this._updateControlsErrors(!1!==w.emitEvent,this,w.shouldHaveEmitted)}get(U){let w=U;return null==w||(Array.isArray(w)||(w=w.split(".")),0===w.length)?null:w.reduce((ee,Ie)=>ee&&ee._find(Ie),this)}getError(U,w){const ee=w?this.get(w):this;return ee&&ee.errors?ee.errors[U]:null}hasError(U,w){return!!this.getError(U,w)}get root(){let U=this;for(;U._parent;)U=U._parent;return U}_updateControlsErrors(U,w,ee){this.status=this._calculateStatus(),U&&this.statusChanges.emit(this.status),(U||ee)&&this._events.next(new kt(this.status,w)),this._parent&&this._parent._updateControlsErrors(U,w,ee)}_initObservables(){this.valueChanges=new c.bkB,this.statusChanges=new c.bkB}_calculateStatus(){return this._allControlsDisabled()?be:this.errors?Fe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(jn)?jn:this._anyControlsHaveStatus(Fe)?Fe:ir}_anyControlsHaveStatus(U){return this._anyControls(w=>w.status===U)}_anyControlsDirty(){return this._anyControls(U=>U.dirty)}_anyControlsTouched(){return this._anyControls(U=>U.touched)}_updatePristine(U,w){const ee=!this._anyControlsDirty(),Ie=this.pristine!==ee;this.pristine=ee,this._parent&&!U.onlySelf&&this._parent._updatePristine(U,w),Ie&&this._events.next(new Fn(this.pristine,w))}_updateTouched(U={},w){this.touched=this._anyControlsTouched(),this._events.next(new In(this.touched,w)),this._parent&&!U.onlySelf&&this._parent._updateTouched(U,w)}_onDisabledChange=[];_registerOnCollectionChange(U){this._onCollectionChange=U}_setUpdateStrategy(U){Et(U)&&null!=U.updateOn&&(this._updateOn=U.updateOn)}_parentMarkedDirty(U){return!U&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
1_find(U){return null}_assignValidators(U){this._rawValidators=Array.isArray(U)?U.slice():U,this._composedValidatorFn=function ge(L){return Array.isArray(L)?Re(L):L||null}(this._rawValidators)}_assignAsyncValidators(U){this._rawAsyncValidators=Array.isArray(U)?U.slice():U,this._composedAsyncValidatorFn=function qe(L){return Array.isArray(L)?fe(L):L||null}(this._rawAsyncValidators)}}const Zr=class dn extends An{constructor(U,w,ee){super($e(w),Ne(ee,w)),this.controls=U,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(U,w){return this.controls[U]?this.controls[U]:(this.controls[U]=w,w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange),w)}addControl(U,w,ee={}){this.registerControl(U,w),this.updateValueAndValidity({emitEvent:ee.emitEvent}),this._onCollectionChange()}removeControl(U,w={}){this.controls[U]&&this.controls[U]._registerOnCollectionChange(()=>{}),delete this.controls[U],this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}setControl(U,w,ee={}){this.controls[U]&&this.controls[U]._registerOnCollectionChange(()=>{}),delete this.controls[U],w&&this.registerControl(U,w),this.updateValueAndValidity({emitEvent:ee.emitEvent}),this._onCollectionChange()}contains(U){return this.controls.hasOwnProperty(U)&&this.controls[U].enabled}setValue(U,w={}){(function xn(L,U,w){L._forEachChild((ee,Ie)=>
1{if(void 0===w[Ie])throw new c.wOt(1002,"")})})(this,0,U),Object.keys(U).forEach(ee=>{(function cn(L,U,w){const ee=L.controls;if(!(U?Object.keys(ee):ee).length)throw new c.wOt(1e3,"");if(!ee[w])throw new c.wOt(1001,"")})(this,!0,ee),this.controls[ee].setValue(U[ee],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(U,w={}){null!=U&&(Object.keys(U).forEach(ee=>{const Ie=this.controls[ee];Ie&&Ie.patchValue(U[ee],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(U={},w={}){this._forEachChild((ee,Ie)=>{ee.reset(U?U[Ie]:null,{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w,this),this._updateTouched(w,this),this.updateValueAndValidity(w)}getRawValue(){return this._reduceChildren({},(U,w,ee)=>(U[ee]=w.getRawValue(),U))}_syncPendingControls(){let U=this._reduceChildren(!1,(w,ee)=>!!ee._syncPendingControls()||w);return U&&this.updateValueAndValidity({onlySelf:!0}),U}_forEachChild(U){Object.keys(this.controls).forEach(w=>{const ee=this.controls[w];ee&&U(ee,w)})}_setUpControls(){this._forEachChild(U=>{U.setParent(this),U._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(U){for(const[w,ee]of Object.entries(this.controls))if(this.contains(w)&&U(ee))return!0;return!1}_reduceValue(){return this._reduceChildren({},(w,ee,Ie)=>((ee.enabled||this.disabled)&&(w[Ie]=ee.value),w))}_reduceChildren(U,w){let ee=U;return this._forEachChild((Ie,Yt)=>{ee=w(ee,Ie,Yt)}),ee}_allControlsDisabled(){for(const U of Object.keys(this.controls))if(this.controls[U].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(U){return this.controls.hasOwnProperty(U)?this.controls[U]:null}},Zi=new c.nKC("",{providedIn:"root",factory:()=>Ci}),Ci="always";function Li(L,U,w=Ci){Qr(L,U),U.valueAccessor.writeValue(L.value),(L.disabled||"always"===w)&&U.valueAccessor.setDisabledState?.(L.disabled),function Ds(L,U){U.valueAccessor.registerOnChange(w=>{L._pendingValue=w,L._pendingChange=!0,L._pendingDirty=!0,"change"===L.updateOn&&Ji(L,U)})}(L,U),function Jr(L,U){const w=(ee,Ie)=>
1{U.valueAccessor.writeValue(ee),Ie&&U.viewToModelUpdate(ee)};L.registerOnChange(w),U._registerOnDestroy(()=>{L._unregisterOnChange(w)})}(L,U),function Yi(L,U){U.valueAccessor.registerOnTouched(()=>{L._pendingTouched=!0,"blur"===L.updateOn&&L._pendingChange&&Ji(L,U),"submit"!==L.updateOn&&L.markAsTouched()})}(L,U),function Qi(L,U){if(U.valueAccessor.setDisabledState){const w=ee=>{U.valueAccessor.setDisabledState(ee)};L.registerOnDisabledChange(w),U._registerOnDestroy(()=>{L._unregisterOnDisabledChange(w)})}}(L,U)}function po(L,U,w=!0){const ee=()=>{};U.valueAccessor&&(U.valueAccessor.registerOnChange(ee),U.valueAccessor.registerOnTouched(ee)),Yr(L,U),L&&(U._invokeOnDestroyCallbacks(),L._registerOnCollectionChange(()=>{}))}function Dn(L,U){L.forEach(w=>{w.registerOnValidatorChange&&w.registerOnValidatorChange(U)})}function Qr(L,U){const w=Qe(L);null!==U.validator?L.setValidators(we(w,U.validator)):"function"==typeof w&&L.setValidators([w]);const ee=Ke(L);null!==U.asyncValidator?L.setAsyncValidators(we(ee,U.asyncValidator)):"function"==typeof ee&&L.setAsyncValidators([ee]);const Ie=()=>L.updateValueAndValidity();Dn(U._rawValidators,Ie),Dn(U._rawAsyncValidators,Ie)}function Yr(L,U){let w=!1;if(null!==L){if(null!==U.validator){const Ie=Qe(L);if(Array.isArray(Ie)&&Ie.length>0){const Yt=Ie.filter(Sn=>Sn!==U.validator);Yt.length!==Ie.length&&(w=!0,L.setValidators(Yt))}}if(null!==U.asyncValidator){const Ie=Ke(L);if(Array.isArray(Ie)&&Ie.length>0){const Yt=Ie.filter(Sn=>Sn!==U.asyncValidator);Yt.length!==Ie.length&&(w=!0,L.setAsyncValidators(Yt))}}}const ee=()=>{};return Dn(U._rawValidators,ee),Dn(U._rawAsyncValidators,ee),w}function Ji(L,U){L._pendingDirty&&L.markAsDirty(),L.setValue(L._pendingValue,{emitModelToViewChange:!1}),U.viewToModelUpdate(L._pendingValue),L._pendingChange=!1}function ln(L,U){const w=L.indexOf(U);w>-1&&L.splice(w,1)}function y(L){return"object"==typeof L&&null!==L&&2===Object.keys(L).length&&"value"in L&&"disabled"in L}Promise.resolve();const j=class extends An{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(U=null,w,ee){super($e(w),Ne(ee,w)),this._applyFormState(U),this._setUpdateStrategy(w),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Et(w)&&(w.nonNullable||w.initialValueIsDefault)&&(this.defaultValue=y(U)?U.value:U)}setValue(U,w={}){this.value=this._pendingValue=U,this._onChange.length&&!1!==w.emitModelToViewChange&&this._onChange.forEach(ee=>ee(this.value,!1!==w.emitViewToModelChange)),this.updateValueAndValidity(w)}patchValue(U,w={}){this.setValue(U,w)}reset(U=this.defaultValue,w={}){this._applyFormState(U),this.markAsPristine(w),this.markAsUntouched(w),this.setValue(this.value,w),this._pendingChange=!1}_updateValue(){}_anyControls(U){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(U){this._onChange.push(U)}_unregisterOnChange(U){ln(this._onChange,U)}registerOnDisabledChange(U){this._onDisabledChange.push(U)}_unregisterOnDisabledChange(U){ln(this._onDisabledChange,U)}_forEachChild(U){}_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(U){y(U)?(this.value=this._pendingValue=U.value,U.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=U}},le=j;Promise.resolve();let Ii=(()=>{class L{static \u0275fac=function(ee){return new(ee||L)};static \u0275dir=c.FsC({type:L,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return L})();const Oa={provide:_,useExisting:(0,c.Rfq)(()=>sa),multi:!0};let Ra=(()=>{class L{_accessors=[];add(w,ee){this._accessors.push([w,ee])}remove(w){for(let ee=this._accessors.length-1;ee>=0;--ee)if(this._accessors[ee][1]===w)return void this._accessors.splice(ee,1)}select(w){this._accessors.forEach(ee=>{this._isSameGroup(ee,w)&&ee[1]!==w&&ee[1].fireUncheck(w.value)})}_isSameGroup(w,ee){return!!w[0].control&&w[0]._parent===ee._control._parent&&w[1].name===ee.name}static \u0275fac=function(ee){return new(ee||L)};static \u0275prov=c.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}return L})(),sa=(()=>{class L extends T{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=(0,c.WQX)(Zi,{optional:!0})??Ci;constructor(w,ee,Ie,Yt){super(w,ee),this._registry=Ie,this._injector=Yt}ngOnInit(){this._control=this._injector.get(Pe),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(w){this._state=w===this.value,this.setProperty("checked",this._state)}registerOnChange(w){this._fn=w,this.onChange=()=>{w(this.value),this._registry.select(this)}}setDisabledState(w){(this.setDisabledStateFired||w||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",w),this.setDisabledStateFired=!0}fireUncheck(w){this.writeValue(w)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(ee){return new(ee||L)(c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(Ra),c.rXU(c.zZn))};static \u0275dir=c.FsC({type:L,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(ee,Ie){1&ee&&c.bIt("change",function(){return Ie.onChange()})("blur",function(){return Ie.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[c.Jv_([Oa]),c.Vt3]})}return L})();const os=new c.nKC(""),eo={provide:Pe,useExisting:(0,c.Rfq)(()=>Ps)};let Ps=(()=>{class L extends Pe{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(w){}model;update=new c.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(w,ee,Ie,Yt,Sn){super(),this._ngModelWarningConfig=Yt,this.callSetDisabledState=Sn,this._setValidators(w),this._setAsyncValidators(ee),this.valueAccessor=function pe(L,U){if(!U)return null;let w,ee,Ie;
1return Array.isArray(U),U.forEach(Yt=>{Yt.constructor===V?w=Yt:function pi(L){return Object.getPrototypeOf(L.constructor)===T}(Yt)?ee=Yt:Ie=Yt}),Ie||ee||w||null}(0,Ie)}ngOnChanges(w){if(this._isControlChanged(w)){const ee=w.form.previousValue;ee&&po(ee,this,!1),Li(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}(function wr(L,U){if(!L.hasOwnProperty("model"))return!1;const w=L.model;return!!w.isFirstChange()||!Object.is(U,w.currentValue)})(w,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&po(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}_isControlChanged(w){return w.hasOwnProperty("form")}static \u0275fac=function(ee){return new(ee||L)(c.rXU(ye,10),c.rXU(ne,10),c.rXU(_,10),c.rXU(os,8),c.rXU(Zi,8))};static \u0275dir=c.FsC({type:L,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[c.Jv_([eo]),c.Vt3,c.OA$]})}return L})();const ss={provide:Ee,useExisting:(0,c.Rfq)(()=>Yn)};let Yn=(()=>{class L extends Ee{callSetDisabledState;get submitted(){return(0,c.O8t)(this._submittedReactive)}set submitted(w){this._submittedReactive.set(w)}_submitted=(0,c.EWP)(()=>this._submittedReactive());_submittedReactive=(0,c.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new c.bkB;constructor(w,ee,Ie){super(),this.callSetDisabledState=Ie,this._setValidators(w),this._setAsyncValidators(ee)}ngOnChanges(w){this._checkFormPresent(),w.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Yr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(w){const ee=this.form.get(w.path);return Li(ee,w,this.callSetDisabledState),ee.updateValueAndValidity({emitEvent:!1}),this.directives.push(w),ee}getControl(w){return this.form.get(w.path)}
1removeControl(w){po(w.control||null,w,!1),function ve(L,U){const w=L.indexOf(U);w>-1&&L.splice(w,1)}(this.directives,w)}addFormGroup(w){this._setUpFormContainer(w)}removeFormGroup(w){this._cleanUpFormContainer(w)}getFormGroup(w){return this.form.get(w.path)}addFormArray(w){this._setUpFormContainer(w)}removeFormArray(w){this._cleanUpFormContainer(w)}getFormArray(w){return this.form.get(w.path)}updateModel(w,ee){this.form.get(w.path).setValue(ee)}onSubmit(w){return this._submittedReactive.set(!0),function re(L,U){L._syncPendingControls(),U.forEach(w=>{const ee=w.control;"submit"===ee.updateOn&&ee._pendingChange&&(w.viewToModelUpdate(ee._pendingValue),ee._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(w),this.form._events.next(new lr(this.control)),"dialog"===w?.target?.method}onReset(){this.resetForm()}resetForm(w=void 0){this.form.reset(w),this._submittedReactive.set(!1),this.form._events.next(new Ue(this.form))}_updateDomValue(){this.directives.forEach(w=>{const ee=w.control,Ie=this.form.get(w.path);ee!==Ie&&(po(ee||null,w),(L=>L instanceof j)(Ie)&&(Li(Ie,w,this.callSetDisabledState),w.control=Ie))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(w){const ee=this.form.get(w.path);(function wi(L,U){Qr(L,U)})(ee,w),ee.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(w){if(this.form){const ee=this.form.get(w.path);ee&&function qi(L,U){return Yr(L,U)}(ee,w)&&ee.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Qr(this.form,this),this._oldForm&&Yr(this._oldForm,this)}_checkFormPresent(){}static \u0275fac=function(ee){return new(ee||L)(c.rXU(ye,10),c.rXU(ne,10),c.rXU(Zi,8))};static \u0275dir=c.FsC({type:L,selectors:[["","formGroup",""]],hostBindings:function(ee,Ie){1&ee&&c.bIt("submit",function(Sn){return Ie.onSubmit(Sn)})("reset",function(){return Ie.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[c.Jv_([ss]),c.Vt3,c.OA$]})}return L})();const xt={provide:_,useExisting:(0,c.Rfq)(()=>Vi),multi:!0};function Ui(L,U){return null==L?`${U}`:(U&&"object"==typeof U&&(U="Object"),`${L}: ${U}`.slice(0,50))}let Vi=(()=>{class L extends T{value;_optionMap=new Map;_idCounter=0;set compareWith(w){this._compareWith=w}_compareWith=Object.is;writeValue(w){this.value=w;const Ie=Ui(this._getOptionId(w),w);this.setProperty("value",Ie)}registerOnChange(w){this.onChange=ee=>{this.value=this._getOptionValue(ee),w(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(w){for(const ee of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ee),w))return ee;return null}_getOptionValue(w){const ee=function Dr(L){return L.split(":")[0]}(w);return this._optionMap.has(ee)?this._optionMap.get(ee):w}static \u0275fac=(()=>{let w;return function(Ie){return(w||(w=c.xGo(L)))(Ie||L)}})();static \u0275dir=c.FsC({type:L,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ee,Ie){1&ee&&c.bIt("change",function(Sn){return Ie.onChange(Sn.target.value)})("blur",function(){return Ie.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[c.Jv_([xt]),c.Vt3]})}return L})(),mo=(()=>{class L{_element;_renderer;_select;id;constructor(w,ee,Ie){this._element=w,this._renderer=ee,this._select=Ie,this._select&&(this.id=this._select._registerOption())}set ngValue(w){null!=this._select&&(this._select._optionMap.set(this.id,w),this._setElementValue(Ui(this.id,w)),this._select.writeValue(this._select.value))}set value(w){this._setElementValue(w),this._select&&this._select.writeValue(this._select.value)}_setElementValue(w){this._renderer.setProperty(this._element.nativeElement,"value",w)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(ee){return new(ee||L)(c.rXU(c.aKT),c.rXU(c.sFG),c.rXU(Vi,9))};static \u0275dir=c.FsC({type:L,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return L})();const ks={provide:_,useExisting:(0,c.Rfq)(()=>to),multi:!0};function as(L,U){return null==L?`${U}
1`:("string"==typeof U&&(U=`'${U}'`),U&&"object"==typeof U&&(U="Object"),`${L}: ${U}`.slice(0,50))}let to=(()=>{class L extends T{value;_optionMap=new Map;_idCounter=0;set compareWith(w){this._compareWith=w}_compareWith=Object.is;writeValue(w){let ee;if(this.value=w,Array.isArray(w)){const Ie=w.map(Yt=>this._getOptionId(Yt));ee=(Yt,Sn)=>{Yt._setSelected(Ie.indexOf(Sn.toString())>-1)}}else ee=(Ie,Yt)=>{Ie._setSelected(!1)};this._optionMap.forEach(ee)}registerOnChange(w){this.onChange=ee=>{const Ie=[],Yt=ee.selectedOptions;if(void 0!==Yt){const Sn=Yt;for(let Ur=0;Ur<Sn.length;Ur++){const ls=this._getOptionValue(Sn[Ur].value);Ie.push(ls)}}else{const Sn=ee.options;for(let Ur=0;Ur<Sn.length;Ur++){const Us=Sn[Ur];if(Us.selected){const ls=this._getOptionValue(Us.value);Ie.push(ls)}}}this.value=Ie,w(Ie)}}_registerOption(w){const ee=(this._idCounter++).toString();return this._optionMap.set(ee,w),ee}_getOptionId(w){for(const ee of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ee)._value,w))return ee;return null}_getOptionValue(w){const ee=function ti(L){return L.split(":")[0]}(w);return this._optionMap.has(ee)?this._optionMap.get(ee)._value:w}static \u0275fac=(()=>{let w;return function(Ie){return(w||(w=c.xGo(L)))(Ie||L)}})();static \u0275dir=c.FsC({type:L,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(ee,Ie){1&ee&&c.bIt("change",function(Sn){return Ie.onChange(Sn.target)})("blur",function(){return Ie.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[c.Jv_([ks]),c.Vt3]})}return L})(),Ai=(()=>{class L{_element;_renderer;_select;id;_value;constructor(w,ee,Ie){this._element=w,this._renderer=ee,this._select=Ie,this._select&&(this.id=this._select._registerOption(this))}set ngValue(w){null!=this._select&&(this._value=w,this._setElementValue(as(this.id,w)),this._select.writeValue(this._select.value))}set value(w){this._select?(this._value=w,this._setElementValue(as(this.id,w)),this._select.writeValue(this._select.value)):this._setElementValue(w)}_setElementValue(w){this._renderer.setProperty(this._element.nativeElement,"value",w)}_setSelected(w){this._renderer.setProperty(this._element.nativeElement,"selected",w)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(ee){return new(ee||L)(c.rXU(c.aKT),c.rXU(c.sFG),c.rXU(to,9))};static \u0275dir=c.FsC({type:L,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return L})(),Is=(()=>{class L{static \u0275fac=function(ee){return new(ee||L)};static \u0275mod=c.$C({type:L});static \u0275inj=c.G2t({})}return L})(),Wn=(()=>{class L{static withConfig(w){return{ngModule:L,providers:[{provide:os,useValue:w.warnOnNgModelWithFormControl??"always"},{provide:Zi,useValue:w.callSetDisabledState??Ci}]}}static \u0275fac=function(ee){return new(ee||L)};static \u0275mod=c.$C({type:L});static \u0275inj=c.G2t({imports:[Is]})}return L})()},345:(ze,se,f)=>{"use strict";f.d(se,{Bb:()=>it,hE:()=>ct,sG:()=>Pe,up:()=>Rn});var c=f(177),l=f(4438);class $ extends c.VF{supportsDOMEvents=!0}class M extends ${static makeCurrent(){(0,c.ZD)(new M)}onAndCancel($e,ge,Ne,qe){return $e.addEventListener(ge,Ne,qe),()=>{$e.removeEventListener(ge,Ne,qe)}}dispatchEvent($e,ge){$e.dispatchEvent(ge)}remove($e){$e.remove()}createElement($e,ge){return(ge=ge||this.getDefaultDocument()).createElement($e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode($e){return $e.nodeType===Node.ELEMENT_NODE}isShadowRoot($e){return $e instanceof DocumentFragment}getGlobalEventTarget($e,ge){return"window"===ge?window:"document"===ge?$e:"body"===ge?$e.body:null}getBaseHref($e){const ge=function x(){return O=O||document.querySelector("base"),O?O.getAttribute("href"):null}();return null==ge?null:function R(Ue){return new URL(Ue,document.baseURI).pathname}(ge)}resetBaseElement(){O=null}getUserAgent(){return window.navigator.userAgent}getCookie($e){return(0,c._b)(document.cookie,$e)}}let O=null,_=(()=>{class Ue{build(){return new XMLHttpRequest}static \u0275fac=function(Ne){return new(Ne||Ue)};static \u0275prov=l.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();const k=new l.nKC("");let I=(()=>{class Ue{_zone;_plugins;_eventNameToPlugin=new Map;constructor(ge,Ne){this._zone=Ne,ge.forEach(qe=>{qe.manager=this}),this._plugins=ge.slice().reverse()}addEventListener(ge,Ne,qe,Et){return this._findPluginFor(Ne).addEventListener(ge,Ne,qe,Et)}getZone(){return this._zone}_findPluginFor(ge){let Ne=this._eventNameToPlugin.get(ge);if(Ne)return Ne;if(Ne=this._plugins.find(Et=>Et.supports(ge)),!Ne)throw new l.wOt(5101,!1);return this._eventNameToPlugin.set(ge,Ne),Ne}static \u0275fac=function(Ne){return new(Ne||Ue)(l.KVO(k),l.KVO(l.SKi))};static \u0275prov=l.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();class P{_doc;constructor($e){this._doc=$e}manager}const Z="ng-app-id";function N(Ue){for(const $e of Ue)$e.remove()}function V(Ue,$e){const ge=$e.createElement("style");return ge.textContent=Ue,ge}function ie(Ue,$e){const ge=$e.createElement("link");return ge.setAttribute("rel","stylesheet"),ge.setAttribute("href",Ue),ge}let ye=(()=>{class Ue{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(ge,Ne,qe,Et={}){this.doc=ge,this.appId=Ne,this.nonce=qe,this.isServer=(0,c.Vy)(Et),function b(Ue,$e,ge,Ne){const qe=Ue.head?.querySelectorAll(`style[${Z}="${$e}"],link[${Z}="${$e}"]`);if(qe)for(const Et of qe)Et.removeAttribute(Z),Et instanceof HTMLLinkElement?Ne.set(Et.href.slice(Et.href.lastIndexOf("/")+1),{usage:0,elements:[Et]}):Et.textContent&&ge.set(Et.textContent,{usage:0,elements:[Et]})}(ge,Ne,this.inline,this.external),this.hosts.add(ge.head)}addStyles(ge,Ne){for(const qe of ge)this.addUsage(qe,this.inline,V);Ne?.forEach(qe=>this.addUsage(qe,this.external,ie))}removeStyles(ge,Ne){for(const qe of ge)this.removeUsage(qe,this.inline);Ne?.forEach(qe=>this.removeUsage(qe,this.external))}addUsage(ge,Ne,qe){const Et=Ne.get(ge);Et?Et.usage++:Ne.set(ge,{usage:1,elements:[...this.hosts].map(cn=>this.addElement(cn,qe(ge,this.doc)))})}removeUsage(ge,Ne){const qe=Ne.get(ge);qe&&(qe.usage--,qe.usage<=0&&(N(qe.elements),Ne.delete(ge)))}ngOnDestroy(){for(const[,{elements:ge}]of[...this.inline,...this.external])N(ge);this.hosts.clear()}addHost(ge){this.hosts.add(ge);for(const[Ne,{elements:qe}]of this.inline)qe.push(this.addElement(ge,V(Ne,this.doc)));for(const[Ne,{elements:qe}]of this.external)qe.push(this.addElement(ge,ie(Ne,this.doc)))}removeHost(ge){this.hosts.delete(ge)}addElement(ge,Ne){return this.nonce&&Ne.setAttribute("nonce",this.nonce),this.isServer&&Ne.setAttribute(Z,this.appId),ge.appendChild(Ne)}static \u0275fac=function(Ne){return new(Ne||Ue)(l.KVO(c.qQ),l.KVO(l.sZ2),l.KVO(l.BIS,8),l.KVO(l.Agw))};static \u0275prov=l.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();const ne={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/Math/MathML"},z=/%COMP%/g,W="%COMP%",G=`_nghost-${W}`,Y=`_ngcontent-${W}`,de=new l.nKC("",{providedIn:"root",factory:()=>!0});function xe(Ue,$e){return $e.map(ge=>ge.replace(z,Ue))}let Se=(()=>{class Ue{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(ge,Ne,qe,Et,cn,xn,An,dn=null,Rr=null){this.eventManager=ge,this.sharedStylesHost=Ne,this.appId=qe,this.removeStylesOnCompDestroy=Et,this.doc=cn,this.platformId=xn,this.ngZone=An,this.nonce=dn,this.tracingService=Rr,this.platformIsServer=(0,c.Vy)(xn),this.defaultRenderer=new je(ge,cn,An,this.platformIsServer,this.tracingService)}createRenderer(ge,Ne){if(!ge||!Ne)return this.defaultRenderer;this.platformIsServer&&Ne.encapsulation===l.gXe.ShadowDom&&(Ne={...Ne,encapsulation:l.gXe.Emulated});const qe=this.getOrCreateRenderer(ge,Ne);
1return qe instanceof Mt?qe.applyToHost(ge):qe instanceof Pt&&qe.applyStyles(),qe}getOrCreateRenderer(ge,Ne){const qe=this.rendererByCompId;let Et=qe.get(Ne.id);if(!Et){const cn=this.doc,xn=this.ngZone,An=this.eventManager,dn=this.sharedStylesHost,Rr=this.removeStylesOnCompDestroy,Zr=this.platformIsServer;switch(Ne.encapsulation){case l.gXe.Emulated:Et=new Mt(An,dn,Ne,this.appId,Rr,cn,xn,Zr,this.tracingService);break;case l.gXe.ShadowDom:return new dt(An,dn,ge,Ne,cn,xn,this.nonce,Zr,this.tracingService);default:Et=new Pt(An,dn,Ne,Rr,cn,xn,Zr,this.tracingService)}qe.set(Ne.id,Et)}return Et}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(ge){this.rendererByCompId.delete(ge)}static \u0275fac=function(Ne){return new(Ne||Ue)(l.KVO(I),l.KVO(ye),l.KVO(l.sZ2),l.KVO(de),l.KVO(c.qQ),l.KVO(l.Agw),l.KVO(l.SKi),l.KVO(l.BIS),l.KVO(l.Lf2,8))};static \u0275prov=l.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();class je{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor($e,ge,Ne,qe,Et){this.eventManager=$e,this.doc=ge,this.ngZone=Ne,this.platformIsServer=qe,this.tracingService=Et}destroy(){}destroyNode=null;createElement($e,ge){return ge?this.doc.createElementNS(ne[ge]||ge,$e):this.doc.createElement($e)}createComment($e){return this.doc.createComment($e)}createText($e){return this.doc.createTextNode($e)}appendChild($e,ge){(Dt($e)?$e.content:$e).appendChild(ge)}insertBefore($e,ge,Ne){$e&&(Dt($e)?$e.content:$e).insertBefore(ge,Ne)}removeChild($e,ge){ge.remove()}selectRootElement($e,ge){let Ne="string"==typeof $e?this.doc.querySelector($e):$e;if(!Ne)throw new l.wOt(-5104,!1);return ge||(Ne.textContent=""),Ne}parentNode($e){return $e.parentNode}nextSibling($e){return $e.nextSibling}setAttribute($e,ge,Ne,qe){if(qe){ge=qe+":"+ge;const Et=ne[qe];Et?$e.setAttributeNS(Et,ge,Ne):$e.setAttribute(ge,Ne)}else $e.setAttribute(ge,Ne)}removeAttribute($e,ge,Ne){if(Ne){const qe=ne[Ne];qe?$e.removeAttributeNS(qe,ge):$e.removeAttribute(`${Ne}:${ge}`)}else $e.removeAttribute(ge)}addClass($e,ge){$e.classList.add(ge)}removeClass($e,ge){$e.classList.remove(ge)}setStyle($e,ge,Ne,qe){qe&(l.czy.DashCase|l.czy.Important)?$e.style.setProperty(ge,Ne,qe&l.czy.Important?"important":""):$e.style[ge]=Ne}removeStyle($e,ge,Ne){Ne&l.czy.DashCase?$e.style.removeProperty(ge):$e.style[ge]=""}setProperty($e,ge,Ne){null!=$e&&($e[ge]=Ne)}setValue($e,ge){$e.nodeValue=ge}listen($e,ge,Ne,qe){if("string"==typeof $e&&!($e=(0,c.QT)().getGlobalEventTarget(this.doc,$e)))throw new Error(`Unsupported event target ${$e} for event ${ge}`);let Et=this.decoratePreventDefault(Ne);return null!==this.tracingService&&this.tracingService.wrapEventListener&&(Et=this.tracingService.wrapEventListener($e,ge,Et)),this.eventManager.addEventListener($e,ge,Et,qe)}decoratePreventDefault($e){return ge=>{if("__ngUnwrap__"===ge)return $e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>$e(ge)):$e(ge))&&ge.preventDefault()}}}function Dt(Ue){return"TEMPLATE"===Ue.tagName&&void 0!==Ue.content}class dt extends je{sharedStylesHost;hostEl;shadowRoot;constructor($e,ge,Ne,qe,Et,cn,xn,An,dn){super($e,Et,cn,An,dn),this.sharedStylesHost=ge,this.hostEl=Ne,this.shadowRoot=Ne.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Rr=xe(qe.id,qe.styles);for(const Er of Rr){const cr=document.createElement("style");xn&&cr.setAttribute("nonce",xn),cr.textContent=Er,this.shadowRoot.appendChild(cr)}const Zr=qe.getExternalStyles?.();if(Zr)for(const Er of Zr){const cr=ie(Er,Et);xn&&cr.setAttribute("nonce",xn),this.shadowRoot.appendChild(cr)}}nodeOrShadowRoot($e){return $e===this.hostEl?this.shadowRoot:$e}appendChild($e,ge){return super.appendChild(this.nodeOrShadowRoot($e),ge)}insertBefore($e,ge,Ne){return super.insertBefore(this.nodeOrShadowRoot($e),ge,Ne)}removeChild($e,ge){return super.removeChild(null,ge)}parentNode($e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Pt extends je{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor($e,ge,Ne,qe,Et,cn,xn,An,dn){super($e,Et,cn,xn,An),this.sharedStylesHost=ge,this.removeStylesOnCompDestroy=qe,this.styles=dn?xe(dn,Ne.styles):Ne.styles,this.styleUrls=Ne.getExternalStyles?.(dn)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Mt extends Pt{contentAttr;hostAttr;constructor($e,ge,Ne,qe,Et,cn,xn,An,dn){const Rr=qe+"-"+Ne.id;super($e,ge,Ne,Et,cn,xn,An,dn,Rr),this.contentAttr=function Ae(Ue){return Y.replace(z,Ue)}(Rr),this.hostAttr=function Ye(Ue){return G.replace(z,Ue)}(Rr)}applyToHost($e){this.applyStyles(),this.setAttribute($e,this.hostAttr,"")}createElement($e,ge){const Ne=super.createElement($e,ge);return super.setAttribute(Ne,this.contentAttr,""),Ne}}let $t=(()=>{class Ue extends P{constructor(ge){super(ge)}supports(ge){return!0}addEventListener(ge,Ne,qe,Et){return ge.addEventListener(Ne,qe,Et),()=>this.removeEventListener(ge,Ne,qe,Et)}removeEventListener(ge,Ne,qe,Et){return ge.removeEventListener(Ne,qe,Et)}static \u0275fac=function(Ne){return new(Ne||Ue)(l.KVO(c.qQ))};static \u0275prov=l.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();const Re=["alt","control","meta","shift"],ae={"\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"},fe={alt:Ue=>Ue.altKey,control:Ue=>Ue.ctrlKey,meta:Ue=>Ue.metaKey,shift:Ue=>Ue.shiftKey};let we=(()=>{class Ue extends P{constructor(ge){super(ge)}supports(ge){return null!=Ue.parseEventName(ge)}addEventListener(ge,Ne,qe,Et){const cn=Ue.parseEventName(Ne),xn=Ue.eventCallback(cn.fullKey,qe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.QT)().onAndCancel(ge,cn.domEventName,xn,Et))}static parseEventName(ge){const Ne=ge.toLowerCase().split("."),qe=Ne.shift();if(0===Ne.length||"keydown"!==qe&&"keyup"!==qe)return null;const Et=Ue._normalizeKey(Ne.pop());let cn="",xn=Ne.indexOf("code");if(xn>-1&&(Ne.splice(xn,1),cn="code."),Re.forEach(dn=>{const Rr=Ne.indexOf(dn);Rr>-1&&(Ne.splice(Rr,1),cn+=dn+".")}),cn+=Et,0!=Ne.length||0===Et.length)return null;const An={};return An.domEventName=qe,An.fullKey=cn,An}static matchEventFullKeyCode(ge,Ne){let qe=ae[ge.key]||ge.key,Et="";return Ne.indexOf("code.")>-1&&(qe=ge.code,Et="code."),!(null==qe||!qe)&&(qe=qe.toLowerCase()," "===qe?qe="space":"."===qe&&(qe="dot"),Re.forEach(cn=>{cn!==qe&&(0,fe[cn])(ge)&&(Et+=cn+".")}
1),Et+=qe,Et===Ne)}static eventCallback(ge,Ne,qe){return Et=>{Ue.matchEventFullKeyCode(Et,ge)&&qe.runGuarded(()=>Ne(Et))}}static _normalizeKey(ge){return"esc"===ge?"escape":ge}static \u0275fac=function(Ne){return new(Ne||Ue)(l.KVO(c.qQ))};static \u0275prov=l.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();const Pe=(0,l.oH4)(l.fpN,"browser",[{provide:l.Agw,useValue:c.AJ},{provide:l.PLl,useValue:function Vt(){M.makeCurrent()},multi:!0},{provide:c.qQ,useFactory:function Wt(){return(0,l.TL$)(document),document},deps:[]}]),me=[{provide:l.e01,useClass:class T{addToWindow($e){l.JZv.getAngularTestability=(Ne,qe=!0)=>{const Et=$e.findTestabilityInTree(Ne,qe);if(null==Et)throw new l.wOt(5103,!1);return Et},l.JZv.getAllAngularTestabilities=()=>$e.getAllTestabilities(),l.JZv.getAllAngularRootElements=()=>$e.getAllRootElements(),l.JZv.frameworkStabilizers||(l.JZv.frameworkStabilizers=[]),l.JZv.frameworkStabilizers.push(Ne=>{const qe=l.JZv.getAllAngularTestabilities();let Et=qe.length;const cn=function(){Et--,0==Et&&Ne()};qe.forEach(xn=>{xn.whenStable(cn)})})}findTestabilityInTree($e,ge,Ne){return null==ge?null:$e.getTestability(ge)??(Ne?(0,c.QT)().isShadowRoot(ge)?this.findTestabilityInTree($e,ge.host,!0):this.findTestabilityInTree($e,ge.parentElement,!0):null)}},deps:[]},{provide:l.WHO,useClass:l.NYb,deps:[l.SKi,l.giA,l.e01]},{provide:l.NYb,useClass:l.NYb,deps:[l.SKi,l.giA,l.e01]}],Oe=[{provide:l.H8p,useValue:"root"},{provide:l.zcH,useFactory:function wt(){return new l.zcH},deps:[]},{provide:k,useClass:$t,multi:!0,deps:[c.qQ,l.SKi,l.Agw]},{provide:k,useClass:we,multi:!0,deps:[c.qQ]},Se,ye,I,{provide:l._9s,useExisting:Se},{provide:c.N0,useClass:_,deps:[]},[]];let it=(()=>{class Ue{constructor(){}static \u0275fac=function(Ne){return new(Ne||Ue)};static \u0275mod=l.$C({type:Ue});static \u0275inj=l.G2t({providers:[...Oe,...me],imports:[c.MD,l.Hbi]})}return Ue})(),ct=(()=>{class Ue{_doc;constructor(ge){this._doc=ge}getTitle(){return this._doc.title}setTitle(ge){this._doc.title=ge||""}static \u0275fac=function(Ne){return new(Ne||Ue)(l.KVO(c.qQ))};static \u0275prov=l.jDH({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}return Ue})(),Rn=(()=>{class Ue{static \u0275fac=function(Ne){return new(Ne||Ue)};static \u0275prov=l.jDH({token:Ue,factory:function(Ne){let qe=null;return qe=Ne?new(Ne||Ue):l.KVO(hi),qe},providedIn:"root"})}return Ue})(),hi=(()=>{class Ue extends Rn{_doc;constructor(ge){super(),this._doc=ge}sanitize(ge,Ne){if(null==Ne)return null;switch(ge){case l.WPN.NONE:return Ne;case l.WPN.HTML:return(0,l.ZF7)(Ne,"HTML")?(0,l.rcV)(Ne):(0,l.h9k)(this._doc,String(Ne)).toString();case l.WPN.STYLE:return(0,l.ZF7)(Ne,"Style")?(0,l.rcV)(Ne):Ne;case l.WPN.SCRIPT:if((0,l.ZF7)(Ne,"Script"))return(0,l.rcV)(Ne);throw new l.wOt(5200,!1);case l.WPN.URL:return(0,l.ZF7)(Ne,"URL")?(0,l.rcV)(Ne):(0,l.$MX)(String(Ne));case l.WPN.RESOURCE_URL:if((0,l.ZF7)(Ne,"ResourceURL"))return(0,l.rcV)(Ne);throw new l.wOt(5201,!1);default:throw new l.wOt(5202,!1)}}bypassSecurityTrustHtml(ge){return(0,l.Kcf)(ge)}bypassSecurityTrustStyle(ge){return(0,l.cWb)(ge)}bypassSecurityTrustScript(ge){return(0,l.UyX)(ge)}bypassSecurityTrustUrl(ge){return(0,l.osQ)(ge)}bypassSecurityTrustResourceUrl(ge){return(0,l.e5t)(ge)}static \u0275fac=function(Ne){return new(Ne||Ue)(l.KVO(c.qQ))};static \u0275prov=l.jDH({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}return Ue})()},5231:(ze,se,f)=>{"use strict";f.d(se,{nX:()=>xt,j5:()=>Xe,wF:()=>re,L6:()=>At,Z:()=>pi,b:()=>Je,Ix:()=>rn,iI:()=>Ed,n3:()=>Ai,OY:()=>Nn,wl:()=>wt});var c=f(4438),l=f(4402),$=f(6648),M=f(7673),O=f(4412),x=f(4572);const T=(0,f(1853).L)(p=>function(){p(this),this.name="EmptyError",this.message="no elements in sequence"});var _=f(8793),k=f(9030),I=f(1203),P=f(8810),Z=f(983),N=f(1985),V=f(8359),b=f(9974),ie=f(4360);function ye(){return(0,b.N)((p,E)=>{let m=null;p._refCount++;const D=(0,ie._)(E,void 0,void 0,void 0,()=>{if(!p||p._refCount<=0||0<--p._refCount)return void(m=null);const B=p._connection,J=m;m=null,B&&(!J||B===J)&&B.unsubscribe(),E.unsubscribe()});p.subscribe(D),D.closed||(m=p.connect())})}class ne extends N.c{constructor(E,m){super(),this.source=E,this.subjectFactory=m,this._subject=null,this._refCount=0,this._connection=null,(0,b.S)(E)&&(this.lift=E.lift)}
1_subscribe(E){return this.getSubject().subscribe(E)}getSubject(){const E=this._subject;return(!E||E.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:E}=this;this._subject=this._connection=null,E?.unsubscribe()}connect(){let E=this._connection;if(!E){E=this._connection=new V.yU;const m=this.getSubject();E.add(this.source.subscribe((0,ie._)(m,void 0,()=>{this._teardown(),m.complete()},D=>{this._teardown(),m.error(D)},()=>this._teardown()))),E.closed&&(this._connection=null,E=V.yU.EMPTY)}return E}refCount(){return ye()(this)}}var z=f(1413),W=f(177),G=f(6354),Y=f(5558),Ce=f(6697),de=f(9172),Ae=f(5964),Ye=f(1397);function xe(p){return(0,b.N)((E,m)=>{let D=!1;E.subscribe((0,ie._)(m,B=>{D=!0,m.next(B)},()=>{D||m.next(p),m.complete()}))})}function Se(p=je){return(0,b.N)((E,m)=>{let D=!1;E.subscribe((0,ie._)(m,B=>{D=!0,m.next(B)},()=>D?m.complete():m.error(p())))})}function je(){return new T}var et=f(3669);function ht(p,E){const m=arguments.length>=2;return D=>D.pipe(p?(0,Ae.p)((B,J)=>p(B,J,D)):et.D,(0,Ce.s)(1),m?xe(E):Se(()=>new T))}var Dt=f(274),dt=f(8141),Pt=f(9437);var Re=f(5109),fe=f(980),we=f(6977),Qe=f(6365),Ke=f(345);const Ge="primary",mt=Symbol("RouteTitle");class Vt{params;constructor(E){this.params=E||{}}has(E){return Object.prototype.hasOwnProperty.call(this.params,E)}get(E){if(this.has(E)){const m=this.params[E];return Array.isArray(m)?m[0]:m}return null}getAll(E){if(this.has(E)){const m=this.params[E];return Array.isArray(m)?m:[m]}return[]}get keys(){return Object.keys(this.params)}}function wt(p){return new Vt(p)}function Wt(p,E,m){const D=m.path.split("/");if(D.length>p.length||"full"===m.pathMatch&&(E.hasChildren()||D.length<p.length))return null;const B={};for(let J=0;J<D.length;J++){const ce=D[J],Ze=p[J];if(":"===ce[0])B[ce.substring(1)]=Ze;else if(ce!==Ze.path)return null}return{consumed:p.slice(0,D.length),posParams:B}}function Pe(p,E){const m=p?q(p):void 0,D=E?q(E):void 0;if(!m||!D||m.length!=D.length)return!1;let B;for(let J=0;J<m.length;J++)if(B=m[J],!me(p[B],E[B]))return!1;return!0}function q(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}function me(p,E){if(Array.isArray(p)&&Array.isArray(E)){if(p.length!==E.length)return!1;const m=[...p].sort(),D=[...E].sort();return m.every((B,J)=>D[J]===B)}return p===E}function Oe(p){return p.length>0?p[p.length-1]:null}function it(p){return(0,l.A)(p)?p:(0,c.jNT)(p)?(0,$.H)(Promise.resolve(p)):(0,M.of)(p)}const jt={exact:function Hn(p,E,m){if(!St(p.segments,E.segments)||!Gt(p.segments,E.segments,m)||p.numberOfChildren!==E.numberOfChildren)return!1;for(const D in E.children)if(!p.children[D]||!Hn(p.children[D],E.children[D],m))return!1;return!0},subset:br},wn={exact:function Ft(p,E){return Pe(p,E)},subset:function yr(p,E){return Object.keys(E).length<=Object.keys(p).length&&Object.keys(E).every(m=>me(p[m],E[m]))},ignored:()=>!0};function ct(p,E,m){return jt[m.paths](p.root,E.root,m.matrixParams)&&wn[m.queryParams](p.queryParams,E.queryParams)&&!("exact"===m.fragment&&p.fragment!==E.fragment)}function br(p,E,m){return $r(p,E,E.segments,m)}function $r(p,E,m,D){if(p.segments.length>m.length){const B=p.segments.slice(0,m.length);return!(!St(B,m)||E.hasChildren()||!Gt(B,m,D))}if(p.segments.length===m.length){if(!St(p.segments,m)||!Gt(p.segments,m,D))return!1;for(const B in E.children)if(!p.children[B]||!br(p.children[B],E.children[B],D))return!1;return!0}{const B=m.slice(0,p.segments.length),J=m.slice(p.segments.length);return!!(St(p.segments,B)&&Gt(p.segments,B,D)&&p.children[Ge])&&$r(p.children[Ge],E,J,D)}}function Gt(p,E,m){return E.every((D,B)=>wn[m](p[B].parameters,D.parameters))}class Ut{root;queryParams;fragment;_queryParamMap;constructor(E=new Qt([],{}),m={},D=null){this.root=E,this.queryParams=m,this.fragment=D}get queryParamMap(){return this._queryParamMap??=wt(this.queryParams),this._queryParamMap}toString(){return Rn.serialize(this)}}class Qt{segments;children;parent=null;constructor(E,m){this.segments=E,this.children=m,Object.values(m).forEach(D=>D.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hi(this)}}class Rt{path;parameters;_parameterMap;constructor(E,m){this.path=E,this.parameters=m}get parameterMap(){return this._parameterMap??=wt(this.parameters),this._parameterMap}toString(){return In(this)}}function St(p,E){return p.length===E.length&&p.every((m,D)=>m.path===E[D].path)}let un=(()=>{class p{static \u0275fac=function(D){return new(D||p)};static \u0275prov=c.jDH({token:p,factory:()=>new Cr,providedIn:"root"})}return p})();class Cr{parse(E){const m=new An(E);return new Ut(m.parseRootSegment(),m.parseQueryParams(),m.parseFragment())}serialize(E){const m=`/${ir(E.root,!0)}`,D=function lr(p){const E=Object.entries(p).map(([m,D])=>Array.isArray(D)?D.map(B=>`${jn(m)}=${jn(B)}`).join("&"):`${jn(m)}=${jn(D)}`).filter(m=>m);return E.length?`?${E.join("&")}`:""}(E.queryParams);return`${m}${D}${"string"==typeof E.fragment?`#${function be(p){return encodeURI(p)}(E.fragment)}`:""}`}}const Rn=new Cr;function hi(p){return p.segments.map(E=>In(E)).join("/")}function ir(p,E){if(!p.hasChildren())return hi(p);if(E){const m=p.children[Ge]?ir(p.children[Ge],!1):"",D=[];
1return Object.entries(p.children).forEach(([B,J])=>{B!==Ge&&D.push(`${B}:${ir(J,!1)}`)}),D.length>0?`${m}(${D.join("//")})`:m}{const m=function rr(p,E){let m=[];return Object.entries(p.children).forEach(([D,B])=>{D===Ge&&(m=m.concat(E(B,D)))}),Object.entries(p.children).forEach(([D,B])=>{D!==Ge&&(m=m.concat(E(B,D)))}),m}(p,(D,B)=>B===Ge?[ir(p.children[Ge],!1)]:[`${B}:${ir(D,!1)}`]);return 1===Object.keys(p.children).length&&null!=p.children[Ge]?`${hi(p)}/${m[0]}`:`${hi(p)}/(${m.join("//")})`}}function Fe(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jn(p){return Fe(p).replace(/%3B/gi,";")}function ot(p){return Fe(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Tt(p){return decodeURIComponent(p)}function Fn(p){return Tt(p.replace(/\+/g,"%20"))}function In(p){return`${ot(p.path)}${function kt(p){return Object.entries(p).map(([E,m])=>`;${ot(E)}=${ot(m)}`).join("")}(p.parameters)}`}const Ue=/^[^\/()?;#]+/;function $e(p){const E=p.match(Ue);return E?E[0]:""}const ge=/^[^\/()?;=#]+/,qe=/^[^=?&#]+/,cn=/^[^&#]+/;class An{url;remaining;constructor(E){this.url=E,this.remaining=E}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Qt([],{}):new Qt([],this.parseChildren())}parseQueryParams(){const E={};if(this.consumeOptional("?"))do{this.parseQueryParam(E)}while(this.consumeOptional("&"));return E}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const E=[];for(this.peekStartsWith("(")||E.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),E.push(this.parseSegment());let m={};this.peekStartsWith("/(")&&(this.capture("/"),m=this.parseParens(!0));let D={};return this.peekStartsWith("(")&&(D=this.parseParens(!1)),(E.length>0||Object.keys(m).length>0)&&(D[Ge]=new Qt(E,m)),D}parseSegment(){const E=$e(this.remaining);if(""===E&&this.peekStartsWith(";"))throw new c.wOt(4009,!1);return this.capture(E),new Rt(Tt(E),this.parseMatrixParams())}parseMatrixParams(){const E={};for(;this.consumeOptional(";");)this.parseParam(E);return E}parseParam(E){const m=function Ne(p){const E=p.match(ge);return E?E[0]:""}(this.remaining);if(!m)return;this.capture(m);let D="";if(this.consumeOptional("=")){const B=$e(this.remaining);B&&(D=B,this.capture(D))}E[Tt(m)]=Tt(D)}parseQueryParam(E){const m=function Et(p){const E=p.match(qe);return E?E[0]:""}(this.remaining);if(!m)return;this.capture(m);let D="";if(this.consumeOptional("=")){const ce=function xn(p){const E=p.match(cn);return E?E[0]:""}(this.remaining);ce&&(D=ce,this.capture(D))}const B=Fn(m),J=Fn(D);if(E.hasOwnProperty(B)){let ce=E[B];Array.isArray(ce)||(ce=[ce],E[B]=ce),ce.push(J)}else E[B]=J}parseParens(E){const m={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const D=$e(this.remaining),B=this.remaining[D.length];if("/"!==B&&")"!==B&&";"!==B)throw new c.wOt(4010,!1);let J;D.indexOf(":")>-1?(J=D.slice(0,D.indexOf(":")),this.capture(J),this.capture(":")):E&&(J=Ge);const ce=this.parseChildren();m[J]=1===Object.keys(ce).length?ce[Ge]:new Qt([],ce),this.consumeOptional("//")}return m}peekStartsWith(E){return this.remaining.startsWith(E)}consumeOptional(E){return!!this.peekStartsWith(E)&&(this.remaining=this.remaining.substring(E.length),!0)}capture(E){if(!this.consumeOptional(E))throw new c.wOt(4011,!1)}}function dn(p){return p.segments.length>0?new Qt([],{[Ge]:p}):p}function Rr(p){const E={};for(const[D,B]of Object.entries(p.children)){const J=Rr(B);if(D===Ge&&0===J.segments.length&&J.hasChildren())for(const[ce,Ze]of Object.entries(J.children))E[ce]=Ze;else(J.segments.length>0||J.hasChildren())&&(E[D]=J)}return function Zr(p){if(1===p.numberOfChildren&&p.children[Ge]){const E=p.children[Ge];return new Qt(p.segments.concat(E.segments),E.children)}return p}(new Qt(p.segments,E))}function Er(p){return p instanceof Ut}function Kt(p){let E;const B=dn(function m(J){const ce={};for(const Be of J.children){const bt=m(Be);ce[Be.outlet]=bt}const Ze=new Qt(J.url,ce);
1return J===p&&(E=Ze),Ze}(p.root));return E??B}function Zi(p,E,m,D){let B=p;for(;B.parent;)B=B.parent;if(0===E.length)return Li(B,B,B,m,D);const J=function Qi(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new Dn(!0,0,p);let E=0,m=!1;const D=p.reduce((B,J,ce)=>{if("object"==typeof J&&null!=J){if(J.outlets){const Ze={};return Object.entries(J.outlets).forEach(([Be,bt])=>{Ze[Be]="string"==typeof bt?bt.split("/"):bt}),[...B,{outlets:Ze}]}if(J.segmentPath)return[...B,J.segmentPath]}return"string"!=typeof J?[...B,J]:0===ce?(J.split("/").forEach((Ze,Be)=>{0==Be&&"."===Ze||(0==Be&&""===Ze?m=!0:".."===Ze?E++:""!=Ze&&B.push(Ze))}),B):[...B,J]},[]);return new Dn(m,E,D)}(E);if(J.toRoot())return Li(B,B,new Qt([],{}),m,D);const ce=function Yr(p,E,m){if(p.isAbsolute)return new Qr(E,!0,0);if(!m)return new Qr(E,!1,NaN);if(null===m.parent)return new Qr(m,!0,0);const D=Ci(p.commands[0])?0:1;return function Ds(p,E,m){let D=p,B=E,J=m;for(;J>B;){if(J-=B,D=D.parent,!D)throw new c.wOt(4005,!1);B=D.segments.length}return new Qr(D,!1,B-J)}(m,m.segments.length-1+D,p.numberOfDoubleDots)}(J,B,p),Ze=ce.processChildren?Jr(ce.segmentGroup,ce.index,J.commands):Ji(ce.segmentGroup,ce.index,J.commands);return Li(B,ce.segmentGroup,Ze,m,D)}function Ci(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function Fi(p){return"object"==typeof p&&null!=p&&p.outlets}function Li(p,E,m,D,B){let ce,J={};D&&Object.entries(D).forEach(([Be,bt])=>{J[Be]=Array.isArray(bt)?bt.map(Jt=>`${Jt}`):`${bt}`}),ce=p===E?m:po(p,E,m);const Ze=dn(Rr(ce));return new Ut(Ze,J,B)}function po(p,E,m){const D={};return Object.entries(p.children).forEach(([B,J])=>{D[B]=J===E?m:po(J,E,m)}),new Qt(p.segments,D)}class Dn{isAbsolute;numberOfDoubleDots;commands;constructor(E,m,D){if(this.isAbsolute=E,this.numberOfDoubleDots=m,this.commands=D,E&&D.length>0&&Ci(D[0]))throw new c.wOt(4003,!1);const B=D.find(Fi);if(B&&B!==Oe(D))throw new c.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Qr{segmentGroup;processChildren;index;constructor(E,m,D){this.segmentGroup=E,this.processChildren=m,this.index=D}}function Ji(p,E,m){if(p??=new Qt([],{}),0===p.segments.length&&p.hasChildren())return Jr(p,E,m);const D=function wi(p,E,m){let D=0,B=E;const J={match:!1,pathIndex:0,commandIndex:0};for(;B<p.segments.length;){if(D>=m.length)return J;const ce=p.segments[B],Ze=m[D];if(Fi(Ze))break;const Be=`${Ze}`,bt=D<m.length-1?m[D+1]:null;if(B>0&&void 0===Be)break;if(Be&&bt&&"object"==typeof bt&&void 0===bt.outlets){if(!zt(Be,bt,ce))return J;D+=2}else{if(!zt(Be,{},ce))return J;D++}B++}return{match:!0,pathIndex:B,commandIndex:D}}(p,E,m),B=m.slice(D.commandIndex);if(D.match&&D.pathIndex<p.segments.length){const J=new Qt(p.segments.slice(0,D.pathIndex),{});return J.children[Ge]=new Qt(p.segments.slice(D.pathIndex),p.children),Jr(J,0,B)}return D.match&&0===B.length?new Qt(p.segments,{}):D.match&&!p.hasChildren()?qi(p,E,m):D.match?Jr(p,0,B):qi(p,E,m)}function Jr(p,E,m){if(0===m.length)return new Qt(p.segments,{});{const D=function Yi(p){return Fi(p[0])?p[0].outlets:{[Ge]:p}}(m),B={};if(Object.keys(D).some(J=>J!==Ge)&&p.children[Ge]&&1===p.numberOfChildren&&0===p.children[Ge].segments.length){const J=Jr(p.children[Ge],E,m);return new Qt(p.segments,J.children)}return Object.entries(D).forEach(([J,ce])=>{"string"==typeof ce&&(ce=[ce]),null!==ce&&(B[J]=Ji(p.children[J],E,ce))}),Object.entries(p.children).forEach(([J,ce])=>{void 0===D[J]&&(B[J]=ce)}),new Qt(p.segments,B)}}function qi(p,E,m){const D=p.segments.slice(0,E);let B=0;for(;B<m.length;){const J=m[B];if(Fi(J)){const Be=xo(J.outlets);return new Qt(D,Be)}if(0===B&&Ci(m[0])){D.push(new Rt(p.segments[E].path,Xo(m[0]))),B++;continue}const ce=Fi(J)?J.outlets[Ge]:`${J}`,Ze=B<m.length-1?m[B+1]:null;ce&&Ze&&Ci(Ze)?(D.push(new Rt(ce,Xo(Ze))),B+=2):(D.push(new Rt(ce,{})),B++)}return new Qt(D,{})}function xo(p){const E={};return Object.entries(p).forEach(([m,D])=>{"string"==typeof D&&(D=[D]),null!==D&&(E[m]=qi(new Qt([],{}),0,D))}),E}function Xo(p){const E={};return Object.entries(p).forEach(([m,D])=>E[m]=`${D}`),E}function zt(p,E,m){return p==m.path&&Pe(E,m.parameters)}const ki="imperative";var nn=function(p){return p[p.NavigationStart=0]="NavigationStart",p[p.NavigationEnd=1]="NavigationEnd",p[p.NavigationCancel=2]="NavigationCancel",p[p.NavigationError=3]="NavigationError",p[p.RoutesRecognized=4]="RoutesRecognized",p[p.ResolveStart=5]="ResolveStart",p[p.ResolveEnd=6]="ResolveEnd",p[p.GuardsCheckStart=7]="GuardsCheckStart",p[p.GuardsCheckEnd=8]="GuardsCheckEnd",p[p.RouteConfigLoadStart=9]="RouteConfigLoadStart",p[p.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",p[p.ChildActivationStart=11]="ChildActivationStart",p[p.ChildActivationEnd=12]="ChildActivationEnd",p[p.ActivationStart=13]="ActivationStart",p[p.ActivationEnd=14]="ActivationEnd",p[p.Scroll=15]="Scroll",p[p.NavigationSkipped=16]="NavigationSkipped",p}(nn||{});class wr{id;url;constructor(E,m){this.id=E,this.url=m}}class pi extends wr{type=nn.NavigationStart;navigationTrigger;restoredState;constructor(E,m,D="imperative",B=null){super(E,m),this.navigationTrigger=D,this.restoredState=B}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class re extends wr{urlAfterRedirects;type=nn.NavigationEnd;constructor(E,m,D){super(E,m),this.urlAfterRedirects=D}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var pe=function(p){return p[p.Redirect=0]="Redirect",p[p.SupersededByNewNavigation=1]="SupersededByNewNavigation",p[p.NoDataFromRe
1solver=2]="NoDataFromResolver",p[p.GuardRejected=3]="GuardRejected",p}(pe||{}),ve=function(p){return p[p.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",p[p.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",p}(ve||{});class Xe extends wr{reason;code;type=nn.NavigationCancel;constructor(E,m,D,B){super(E,m),this.reason=D,this.code=B}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ft extends wr{reason;code;type=nn.NavigationSkipped;constructor(E,m,D,B){super(E,m),this.reason=D,this.code=B}}class At extends wr{error;target;type=nn.NavigationError;constructor(E,m,D,B){super(E,m),this.error=D,this.target=B}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Nt extends wr{urlAfterRedirects;state;type=nn.RoutesRecognized;constructor(E,m,D,B){super(E,m),this.urlAfterRedirects=D,this.state=B}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ln extends wr{urlAfterRedirects;state;type=nn.GuardsCheckStart;constructor(E,m,D,B){super(E,m),this.urlAfterRedirects=D,this.state=B}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class y extends wr{urlAfterRedirects;state;shouldActivate;type=nn.GuardsCheckEnd;constructor(E,m,D,B,J){super(E,m),this.urlAfterRedirects=D,this.state=B,this.shouldActivate=J}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class j extends wr{urlAfterRedirects;state;type=nn.ResolveStart;constructor(E,m,D,B){super(E,m),this.urlAfterRedirects=D,this.state=B}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class le extends wr{urlAfterRedirects;state;type=nn.ResolveEnd;constructor(E,m,D,B){super(E,m),this.urlAfterRedirects=D,this.state=B}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Te{route;type=nn.RouteConfigLoadStart;constructor(E){this.route=E}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class He{route;type=nn.RouteConfigLoadEnd;constructor(E){this.route=E}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class _t{snapshot;type=nn.ChildActivationStart;constructor(E){this.snapshot=E}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xt{snapshot;type=nn.ChildActivationEnd;constructor(E){this.snapshot=E}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vt{snapshot;type=nn.ActivationStart;constructor(E){this.snapshot=E}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lt{snapshot;type=nn.ActivationEnd;constructor(E){this.snapshot=E}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nn{routerEvent;position;anchor;type=nn.Scroll;constructor(E,m,D){this.routerEvent=E,this.position=m,this.anchor=D}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class qr{}class or{url;navigationBehaviorOptions;constructor(E,m){this.url=E,this.navigationBehaviorOptions=m}}function kr(p){return p.outlet||Ge}function eo(p){if(!p)return null;if(p.routeConfig?._injector)return p.routeConfig._injector;for(let E=p.parent;E;E=E.parent){const m=E.routeConfig;if(m?._loadedInjector)return m._loadedInjector;if(m?._injector)return m._injector}return null}class Ps{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return eo(this.route?.snapshot)??this.rootInjector}constructor(E){this.rootInjector=E,this.children=new ss(this.rootInjector)}}let ss=(()=>{class p{rootInjector;contexts=new Map;constructor(m){this.rootInjector=m}onChildOutletCreated(m,D){const B=this.getOrCreateContext(m);B.outlet=D,this.contexts.set(m,B)}onChildOutletDestroyed(m){const D=this.getContext(m);D&&(D.outlet=null,D.attachRef=null)}onOutletDeactivated(){const m=this.contexts;return this.contexts=new Map,m}onOutletReAttached(m){this.contexts=m}getOrCreateContext(m){let D=this.getContext(m);return D||(D=new Ps(this.rootInjector),this.contexts.set(m,D)),D}getContext(m){return this.contexts.get(m)||null}static \u0275fac=function(D){return new(D||p)(c.KVO(c.uvJ))};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();class Yn{_root;constructor(E){this._root=E}get root(){return this._root.value}
1parent(E){const m=this.pathFromRoot(E);return m.length>1?m[m.length-2]:null}children(E){const m=$n(E,this._root);return m?m.children.map(D=>D.value):[]}firstChild(E){const m=$n(E,this._root);return m&&m.children.length>0?m.children[0].value:null}siblings(E){const m=gi(E,this._root);return m.length<2?[]:m[m.length-2].children.map(B=>B.value).filter(B=>B!==E)}pathFromRoot(E){return gi(E,this._root).map(m=>m.value)}}function $n(p,E){if(p===E.value)return E;for(const m of E.children){const D=$n(p,m);if(D)return D}return null}function gi(p,E){if(p===E.value)return[E];for(const m of E.children){const D=gi(p,m);if(D.length)return D.unshift(E),D}return[]}class Bi{value;children;constructor(E,m){this.value=E,this.children=m}toString(){return`TreeNode(${this.value})`}}function ei(p){const E={};return p&&p.children.forEach(m=>E[m.value.outlet]=m),E}class Fs extends Yn{snapshot;constructor(E,m){super(E),this.snapshot=m,mo(this,E)}toString(){return this.snapshot.toString()}}function Nr(p){const E=function Ls(p){const J=new Dr([],{},{},"",{},Ge,p,null,{});return new Vi("",new Bi(J,[]))}(p),m=new O.t([new Rt("",{})]),D=new O.t({}),B=new O.t({}),J=new O.t({}),ce=new O.t(""),Ze=new xt(m,D,J,ce,B,Ge,p,E.root);return Ze.snapshot=E.root,new Fs(new Bi(Ze,[]),E)}class xt{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(E,m,D,B,J,ce,Ze,Be){this.urlSubject=E,this.paramsSubject=m,this.queryParamsSubject=D,this.fragmentSubject=B,this.dataSubject=J,this.outlet=ce,this.component=Ze,this._futureSnapshot=Be,this.title=this.dataSubject?.pipe((0,G.T)(bt=>bt[mt]))??(0,M.of)(void 0),this.url=E,this.params=m,this.queryParams=D,this.fragment=B,this.data=J}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.params.pipe((0,G.T)(E=>wt(E))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,G.T)(E=>wt(E))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ui(p,E,m="emptyOnly"){let D;const{routeConfig:B}=p;return D=null===E||"always"!==m&&""!==B?.path&&(E.component||E.routeConfig?.loadComponent)?{params:{...p.params},data:{...p.data},resolve:{...p.data,...p._resolvedData??{}}}:{params:{...E.params,...p.params},data:{...E.data,...p.data},resolve:{...p.data,...E.data,...B?.data,...p._resolvedData}},B&&vo(B)&&(D.resolve[mt]=B.title),D}class Dr{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[mt]}constructor(E,m,D,B,J,ce,Ze,Be,bt){this.url=E,this.params=m,this.queryParams=D,this.fragment=B,this.data=J,this.outlet=ce,this.component=Ze,this.routeConfig=Be,this._resolve=bt}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??=wt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=wt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(D=>D.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Vi extends Yn{url;constructor(E,m){super(m),this.url=E,mo(this,m)}toString(){return ks(this._root)}}function mo(p,E){E.value._routerState=p,E.children.forEach(m=>mo(p,m))}function ks(p){const E=p.children.length>0?` { ${p.children.map(ks).join(", ")} } `:"";return`${p.value}${E}`}function as(p){if(p.snapshot){const E=p.snapshot,m=p._futureSnapshot;p.snapshot=m,Pe(E.queryParams,m.queryParams)||p.queryParamsSubject.next(m.queryParams),E.fragment!==m.fragment&&p.fragmentSubject.next(m.fragment),Pe(E.params,m.params)||p.paramsSubject.next(m.params),function Ee(p,E){if(p.length!==E.length)return!1;for(let m=0;m<p.length;++m)if(!Pe(p[m],E[m]))return!1;return!0}(E.url,m.url)||p.urlSubject.next(m.url),Pe(E.data,m.data)||p.dataSubject.next(m.data)}else p.snapshot=p._futureSnapshot,p.dataSubject.next(p._futureSnapshot.data)}function ti(p,E){const m=Pe(p.params,E.params)&&function Tn(p,E){return St(p,E)&&p.every((m,D)=>Pe(m.parameters,E[D].parameters))}(p.url,E.url);return m&&!(!p.parent!=!E.parent)&&(!p.parent||ti(p.parent,E.parent))}function vo(p){return"string"==typeof p.title||null===p.title}const to=new c.nKC("");let Ai=(()=>{class p{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Ge;activateEvents=new c.bkB;deactivateEvents=new c.bkB;attachEvents=new c.bkB;detachEvents=new c.bkB;routerOutletData=(0,c.hFB)(void 0);parentContexts=(0,c.WQX)(ss);location=(0,c.WQX)(c.c1b);changeDetector=(0,c.WQX)(c.gRc);inputBinder=(0,c.WQX)(si,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(m){if(m.name){const{firstChange:D,previousValue:B}=m.name;if(D)return;this.isTrackedInParentContexts(B)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(B)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(m){return this.parentContexts.getContext(m)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const m=this.parentContexts.getContext(this.name);m?.route&&(m.attachRef?this.attach(m.attachRef,m.route):this.activateWith(m.route,m.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.wOt(4012,!1);this.location.detach();const m=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(m.instance),m}attach(m,D){this.activated=m,this._activatedRoute=D,this.location.insert(m.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(m.instance)}deactivate(){if(this.activated){const m=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(m)}}
1activateWith(m,D){if(this.isActivated)throw new c.wOt(4013,!1);this._activatedRoute=m;const B=this.location,ce=m.snapshot.component,Ze=this.parentContexts.getOrCreateContext(this.name).children,Be=new Qo(m,Ze,B.injector,this.routerOutletData);this.activated=B.createComponent(ce,{index:B.length,injector:Be,environmentInjector:D}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(D){return new(D||p)};static \u0275dir=c.FsC({type:p,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[c.OA$]})}return p})();class Qo{route;childContexts;parent;outletData;__ngOutletInjector(E){return new Qo(this.route,this.childContexts,E,this.outletData)}constructor(E,m,D,B){this.route=E,this.childContexts=m,this.parent=D,this.outletData=B}get(E,m){return E===xt?this.route:E===ss?this.childContexts:E===to?this.outletData:this.parent.get(E,m)}}const si=new c.nKC("");let no=(()=>{class p{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(m){this.unsubscribeFromRouteData(m),this.subscribeToRouteData(m)}unsubscribeFromRouteData(m){this.outletDataSubscriptions.get(m)?.unsubscribe(),this.outletDataSubscriptions.delete(m)}subscribeToRouteData(m){const{activatedRoute:D}=m,B=(0,x.z)([D.queryParams,D.params,D.data]).pipe((0,Y.n)(([J,ce,Ze],Be)=>(Ze={...J,...ce,...Ze},0===Be?(0,M.of)(Ze):Promise.resolve(Ze)))).subscribe(J=>{if(!m.isActivated||!m.activatedComponentRef||m.activatedRoute!==D||null===D.component)return void this.unsubscribeFromRouteData(m);const ce=(0,c.HJs)(D.component);if(ce)for(const{templateName:Ze}of ce.inputs)m.activatedComponentRef.setInput(Ze,J[Ze]);else this.unsubscribeFromRouteData(m)});this.outletDataSubscriptions.set(m,B)}static \u0275fac=function(D){return new(D||p)};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac})}return p})();function Br(p,E,m){if(m&&p.shouldReuseRoute(E.value,m.value.snapshot)){const D=m.value;D._futureSnapshot=E.value;const B=function Wr(p,E,m){return E.children.map(D=>{for(const B of m.children)if(p.shouldReuseRoute(D.value,B.value.snapshot))return Br(p,D,B);return Br(p,D)})}(p,E,m);return new Bi(D,B)}{if(p.shouldAttach(E.value)){const J=p.retrieve(E.value);if(null!==J){const ce=J.route;return ce.value._futureSnapshot=E.value,ce.children=E.children.map(Ze=>Br(p,Ze)),ce}}const D=function _s(p){return new xt(new O.t(p.url),new O.t(p.params),new O.t(p.queryParams),new O.t(p.fragment),new O.t(p.data),p.outlet,p.component,p)}(E.value),B=E.children.map(J=>Br(p,J));return new Bi(D,B)}}class Fo{redirectTo;navigationBehaviorOptions;constructor(E,m){this.redirectTo=E,this.navigationBehaviorOptions=m}}const Si="ngNavigationCancelingError";function Lo(p,E){const{redirectTo:m,navigationBehaviorOptions:D}=Er(E)?{redirectTo:E,navigationBehaviorOptions:void 0}:E,B=us(!1,pe.Redirect);return B.url=m,B.navigationBehaviorOptions=D,B}function us(p,E){const m=new Error(`NavigationCancelingError: ${p||""}`);return m[Si]=!0,m.cancellationCode=E,m}function vr(p){return!!p&&p[Si]}class Na{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(E,m,D,B,J){this.routeReuseStrategy=E,this.futureState=m,this.currState=D,this.forwardEvent=B,this.inputBindingEnabled=J}activate(E){const m=this.futureState._root,D=this.currState?this.currState._root:null;this.deactivateChildRoutes(m,D,E),as(this.futureState.root),this.activateChildRoutes(m,D,E)}deactivateChildRoutes(E,m,D){const B=ei(m);E.children.forEach(J=>{const ce=J.value.outlet;this.deactivateRoutes(J,B[ce],D),delete B[ce]}),Object.values(B).forEach(J=>{this.deactivateRouteAndItsChildren(J,D)})}deactivateRoutes(E,m,D){const B=E.value,J=m?m.value:null;if(B===J)if(B.component){const ce=D.getContext(B.outlet);ce&&this.deactivateChildRoutes(E,m,ce.children)}else this.deactivateChildRoutes(E,m,D);else J&&this.deactivateRouteAndItsChildren(m,D)}deactivateRouteAndItsChildren(E,m){E.value.component&&this.routeReuseStrategy.shouldDetach(E.value.snapshot)?this.detachAndStoreRouteSubtree(E,m):this.deactivateRouteAndOutlet(E,m)}
1detachAndStoreRouteSubtree(E,m){const D=m.getContext(E.value.outlet),B=D&&E.value.component?D.children:m,J=ei(E);for(const ce of Object.values(J))this.deactivateRouteAndItsChildren(ce,B);if(D&&D.outlet){const ce=D.outlet.detach(),Ze=D.children.onOutletDeactivated();this.routeReuseStrategy.store(E.value.snapshot,{componentRef:ce,route:E,contexts:Ze})}}deactivateRouteAndOutlet(E,m){const D=m.getContext(E.value.outlet),B=D&&E.value.component?D.children:m,J=ei(E);for(const ce of Object.values(J))this.deactivateRouteAndItsChildren(ce,B);D&&(D.outlet&&(D.outlet.deactivate(),D.children.onOutletDeactivated()),D.attachRef=null,D.route=null)}activateChildRoutes(E,m,D){const B=ei(m);E.children.forEach(J=>{this.activateRoutes(J,B[J.value.outlet],D),this.forwardEvent(new Lt(J.value.snapshot))}),E.children.length&&this.forwardEvent(new Xt(E.value.snapshot))}activateRoutes(E,m,D){const B=E.value,J=m?m.value:null;if(as(B),B===J)if(B.component){const ce=D.getOrCreateContext(B.outlet);this.activateChildRoutes(E,m,ce.children)}else this.activateChildRoutes(E,m,D);else if(B.component){const ce=D.getOrCreateContext(B.outlet);if(this.routeReuseStrategy.shouldAttach(B.snapshot)){const Ze=this.routeReuseStrategy.retrieve(B.snapshot);this.routeReuseStrategy.store(B.snapshot,null),ce.children.onOutletReAttached(Ze.contexts),ce.attachRef=Ze.componentRef,ce.route=Ze.route.value,ce.outlet&&ce.outlet.attach(Ze.componentRef,Ze.route.value),as(Ze.route.value),this.activateChildRoutes(E,null,ce.children)}else ce.attachRef=null,ce.route=B,ce.outlet&&ce.outlet.activateWith(B,ce.injector),this.activateChildRoutes(E,null,ce.children)}else this.activateChildRoutes(E,null,D)}}class ws{path;route;constructor(E){this.path=E,this.route=this.path[this.path.length-1]}}class ai{component;route;constructor(E,m){this.component=E,this.route=m}}function kn(p,E,m){const D=p._root;return bi(D,E?E._root:null,m,[D.value])}function yo(p,E){const m=Symbol(),D=E.get(p,m);return D===m?"function"!=typeof p||(0,c.LfX)(p)?E.get(p):p:D}function bi(p,E,m,D,B={canDeactivateChecks:[],canActivateChecks:[]}){const J=ei(E);return p.children.forEach(ce=>{(function Is(p,E,m,D,B={canDeactivateChecks:[],canActivateChecks:[]}){const J=p.value,ce=E?E.value:null,Ze=m?m.getContext(p.value.outlet):null;if(ce&&J.routeConfig===ce.routeConfig){const Be=function Fr(p,E,m){if("function"==typeof m)return m(p,E);switch(m){case"pathParamsChange":return!St(p.url,E.url);case"pathParamsOrQueryParamsChange":return!St(p.url,E.url)||!Pe(p.queryParams,E.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ti(p,E)||!Pe(p.queryParams,E.queryParams);default:return!ti(p,E)}}(ce,J,J.routeConfig.runGuardsAndResolvers);Be?B.canActivateChecks.push(new ws(D)):(J.data=ce.data,J._resolvedData=ce._resolvedData),bi(p,E,J.component?Ze?Ze.children:null:m,D,B),Be&&Ze&&Ze.outlet&&Ze.outlet.isActivated&&B.canDeactivateChecks.push(new ai(Ze.outlet.component,ce))}else ce&&pn(E,Ze,B),B.canActivateChecks.push(new ws(D)),bi(p,null,J.component?Ze?Ze.children:null:m,D,B)})(ce,J[ce.value.outlet],m,D.concat([ce.value]),B),delete J[ce.value.outlet]}),Object.entries(J).forEach(([ce,Ze])=>pn(Ze,m.getContext(ce),B)),B}function pn(p,E,m){const D=ei(p),B=p.value;Object.entries(D).forEach(([J,ce])=>{pn(ce,B.component?E?E.children.getContext(J):null:E,m)}),m.canDeactivateChecks.push(new ai(B.component&&E&&E.outlet&&E.outlet.isActivated?E.outlet.component:null,B))}function mr(p){return"function"==typeof p}function Wn(p){return p instanceof T||"EmptyError"===p?.name}const L=Symbol("INITIAL_VALUE");function U(){return(0,Y.n)(p=>(0,x.z)(p.map(E=>E.pipe((0,Ce.s)(1),(0,de.Z)(L)))).pipe((0,G.T)(E=>{for(const m of E)if(!0!==m){if(m===L)return L;if(!1===m||w(m))return m}return!0}),(0,Ae.p)(E=>E!==L),(0,Ce.s)(1)))}function w(p){return Er(p)||p instanceof Fo}function As(p){return(0,I.F)((0,dt.M)(E=>{if("boolean"!=typeof E)throw Lo(0,E)}),(0,G.T)(E=>!0===E))}class Gr{segmentGroup;constructor(E){this.segmentGroup=E||null}}class Mr extends Error{urlTree;constructor(E){super(),this.urlTree=E}}function ro(p){return(0,P.$)(new Gr(p))}class Do{urlSerializer;urlTree;
1constructor(E,m){this.urlSerializer=E,this.urlTree=m}lineralizeSegments(E,m){let D=[],B=m.root;for(;;){if(D=D.concat(B.segments),0===B.numberOfChildren)return(0,M.of)(D);if(B.numberOfChildren>1||!B.children[Ge])return(0,P.$)(new c.wOt(4e3,!1));B=B.children[Ge]}}applyRedirectCommands(E,m,D,B,J){if("string"!=typeof m){const Ze=m,{queryParams:Be,fragment:bt,routeConfig:Jt,url:fn,outlet:ur,params:$i,data:li,title:Sr}=B,Wi=(0,c.N4e)(J,()=>Ze({params:$i,data:li,queryParams:Be,fragment:bt,routeConfig:Jt,url:fn,outlet:ur,title:Sr}));if(Wi instanceof Ut)throw new Mr(Wi);m=Wi}const ce=this.applyRedirectCreateUrlTree(m,this.urlSerializer.parse(m),E,D);if("/"===m[0])throw new Mr(ce);return ce}applyRedirectCreateUrlTree(E,m,D,B){const J=this.createSegmentGroup(E,m.root,D,B);return new Ut(J,this.createQueryParams(m.queryParams,this.urlTree.queryParams),m.fragment)}createQueryParams(E,m){const D={};return Object.entries(E).forEach(([B,J])=>{if("string"==typeof J&&":"===J[0]){const Ze=J.substring(1);D[B]=m[Ze]}else D[B]=J}),D}createSegmentGroup(E,m,D,B){const J=this.createSegments(E,m.segments,D,B);let ce={};return Object.entries(m.children).forEach(([Ze,Be])=>{ce[Ze]=this.createSegmentGroup(E,Be,D,B)}),new Qt(J,ce)}createSegments(E,m,D,B){return m.map(J=>":"===J.path[0]?this.findPosParam(E,J,B):this.findOrReturn(J,D))}findPosParam(E,m,D){const B=D[m.path.substring(1)];if(!B)throw new c.wOt(4001,!1);return B}findOrReturn(E,m){let D=0;for(const B of m){if(B.path===E.path)return m.splice(D),B;D++}return E}}const Vr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ju(p,E,m,D,B){const J=la(p,E,m);return J.matched?(D=function Zo(p,E){return p.providers&&!p._injector&&(p._injector=(0,c.Ol2)(p.providers,E,`Route: ${p.path}`)),p._injector??E}(E,D),function Ss(p,E,m,D){const B=E.canMatch;if(!B||0===B.length)return(0,M.of)(!0);const J=B.map(ce=>{const Ze=yo(ce,p);return it(function ua(p){return p&&mr(p.canMatch)}(Ze)?Ze.canMatch(E,m):(0,c.N4e)(p,()=>Ze(E,m)))});return(0,M.of)(J).pipe(U(),As())}(D,E,m).pipe((0,G.T)(ce=>!0===ce?J:{...Vr}))):(0,M.of)(J)}function la(p,E,m){if("**"===E.path)return function ou(p){return{matched:!0,parameters:p.length>0?Oe(p).parameters:{},consumedSegments:p,remainingSegments:[],positionalParamSegments:{}}}(m);if(""===E.path)return"full"===E.pathMatch&&(p.hasChildren()||m.length>0)?{...Vr}:{matched:!0,consumedSegments:[],remainingSegments:m,parameters:{},positionalParamSegments:{}};const B=(E.matcher||Wt)(m,p,E);if(!B)return{...Vr};const J={};Object.entries(B.posParams??{}).forEach(([Ze,Be])=>{J[Ze]=Be.path});const ce=B.consumed.length>0?{...J,...B.consumed[B.consumed.length-1].parameters}:J;return{matched:!0,consumedSegments:B.consumed,remainingSegments:m.slice(B.consumed.length),parameters:ce,positionalParamSegments:B.posParams??{}}}function Vs(p,E,m,D){return m.length>0&&function mi(p,E,m){return m.some(D=>lt(p,E,D)&&kr(D)!==Ge)}(p,m,D)?{segmentGroup:new Qt(E,Fa(D,new Qt(m,p.children))),slicedSegments:[]}:0===m.length&&function Le(p,E,m){return m.some(D=>lt(p,E,D))}(p,m,D)?{segmentGroup:new Qt(p.segments,Pa(p,m,D,p.children)),slicedSegments:m}:{segmentGroup:new Qt(p.segments,p.children),slicedSegments:m}}function Pa(p,E,m,D){const B={};for(const J of m)if(lt(p,E,J)&&!D[kr(J)]){const ce=new Qt([],{});B[kr(J)]=ce}return{...D,...B}}function Fa(p,E){const m={};m[Ge]=E;for(const D of p)if(""===D.path&&kr(D)!==Ge){const B=new Qt([],{});m[kr(D)]=B}return m}function lt(p,E,m){return(!(p.hasChildren()||E.length>0)||"full"!==m.pathMatch)&&""===m.path}class Ot{}class Ir{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(E,m,D,B,J,ce,Ze){this.injector=E,this.configLoader=m,this.rootComponentType=D,this.config=B,this.urlTree=J,this.paramsInheritanceStrategy=ce,this.urlSerializer=Ze,this.applyRedirects=new Do(this.urlSerializer,this.urlTree)}noMatchError(E){return new c.wOt(4002,`'${E.segmentGroup}'`)}recognize(){const E=Vs(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(E).pipe((0,G.T)(({children:m,rootSnapshot:D})=>{const B=new Bi(D,m),J=new Vi("",B),ce=function cr(p,E,m=null,D=null){return Zi(Kt(p),E,m,D)}(D,[],this.urlTree.queryParams,this.urlTree.fragment);return ce.queryParams=this.urlTree.queryParams,J.url=this.urlSerializer.serialize(ce),{state:J,tree:ce}}))}match(E){const m=new Dr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Ge,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,E,Ge,m).pipe((0,G.T)(D=>({children:D,rootSnapshot:m})),(0,Pt.W)(D=>{if(D instanceof Mr)return this.urlTree=D.urlTree,this.match(D.urlTree.root);throw D instanceof Gr?this.noMatchError(D):D}))}processSegmentGroup(E,m,D,B,J){return 0===D.segments.length&&D.hasChildren()?this.processChildren(E,m,D,J):this.processSegment(E,m,D,D.segments,B,!0,J).pipe((0,G.T)(ce=>ce instanceof Bi?[ce]:[]))}processChildren(E,m,D,B){const J=[];for(const ce of Object.keys(D.children))"primary"===ce?J.unshift(ce):J.push(ce);return(0,$.H)(J).pipe((0,Dt.H)(ce=>{const Ze=D.children[ce],Be=function os(p,E){const m=p.filter(D=>kr(D)===E);return m.push(...p.filter(D=>kr(D)!==E)),m}(m,ce);return this.processSegmentGroup(E,Be,Ze,ce,B)}),function $t(p,E){return(0,b.N)(function Mt(p,E,m,D,B){return(J,ce)=>
1{let Ze=m,Be=E,bt=0;J.subscribe((0,ie._)(ce,Jt=>{const fn=bt++;Be=Ze?p(Be,Jt,fn):(Ze=!0,Jt),D&&ce.next(Be)},B&&(()=>{Ze&&ce.next(Be),ce.complete()})))}}(p,E,arguments.length>=2,!0))}((ce,Ze)=>(ce.push(...Ze),ce)),xe(null),function ae(p,E){const m=arguments.length>=2;return D=>D.pipe(p?(0,Ae.p)((B,J)=>p(B,J,D)):et.D,(0,Re.o)(1),m?xe(E):Se(()=>new T))}(),(0,Ye.Z)(ce=>{if(null===ce)return ro(D);const Ze=su(ce);return function dr(p){p.sort((E,m)=>E.value.outlet===Ge?-1:m.value.outlet===Ge?1:E.value.outlet.localeCompare(m.value.outlet))}(Ze),(0,M.of)(Ze)}))}processSegment(E,m,D,B,J,ce,Ze){return(0,$.H)(m).pipe((0,Dt.H)(Be=>this.processSegmentAgainstRoute(Be._injector??E,m,Be,D,B,J,ce,Ze).pipe((0,Pt.W)(bt=>{if(bt instanceof Gr)return(0,M.of)(null);throw bt}))),ht(Be=>!!Be),(0,Pt.W)(Be=>{if(Wn(Be))return function rt(p,E,m){return 0===E.length&&!p.children[m]}(D,B,J)?(0,M.of)(new Ot):ro(D);throw Be}))}processSegmentAgainstRoute(E,m,D,B,J,ce,Ze,Be){return kr(D)===ce||ce!==Ge&&lt(B,J,D)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(E,B,D,J,ce,Be):this.allowRedirects&&Ze?this.expandSegmentAgainstRouteUsingRedirect(E,B,m,D,J,ce,Be):ro(B):ro(B)}expandSegmentAgainstRouteUsingRedirect(E,m,D,B,J,ce,Ze){const{matched:Be,parameters:bt,consumedSegments:Jt,positionalParamSegments:fn,remainingSegments:ur}=la(m,B,J);if(!Be)return ro(m);"string"==typeof B.redirectTo&&"/"===B.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const $i=new Dr(J,bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ca(B),kr(B),B.component??B._loadedComponent??null,B,au(B)),li=Ui($i,Ze,this.paramsInheritanceStrategy);$i.params=Object.freeze(li.params),$i.data=Object.freeze(li.data);const Sr=this.applyRedirects.applyRedirectCommands(Jt,B.redirectTo,fn,$i,E);return this.applyRedirects.lineralizeSegments(B,Sr).pipe((0,Ye.Z)(Wi=>this.processSegment(E,D,m,Wi.concat(ur),ce,!1,Ze)))}matchSegmentAgainstRoute(E,m,D,B,J,ce){const Ze=ju(m,D,B,E);return"**"===D.path&&(m.children={}),Ze.pipe((0,Y.n)(Be=>Be.matched?this.getChildConfig(E=D._injector??E,D,B).pipe((0,Y.n)(({routes:bt})=>{const Jt=D._loadedInjector??E,{parameters:fn,consumedSegments:ur,remainingSegments:$i}=Be,li=new Dr(ur,fn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,ca(D),kr(D),D.component??D._loadedComponent??null,D,au(D)),Sr=Ui(li,ce,this.paramsInheritanceStrategy);li.params=Object.freeze(Sr.params),li.data=Object.freeze(Sr.data);const{segmentGroup:Wi,slicedSegments:Io}=Vs(m,ur,$i,bt);if(0===Io.length&&Wi.hasChildren())return this.processChildren(Jt,bt,Wi,li).pipe((0,G.T)(an=>new Bi(li,an)));if(0===bt.length&&0===Io.length)return(0,M.of)(new Bi(li,[]));const Ao=kr(D)===J;return this.processSegment(Jt,bt,Wi,Io,Ao?Ge:J,!0,li).pipe((0,G.T)(an=>new Bi(li,an instanceof Bi?[an]:[])))})):ro(m)))}getChildConfig(E,m,D){return m.children?(0,M.of)({routes:m.children,injector:E}):m.loadChildren?void 0!==m._loadedRoutes?(0,M.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):function ru(p,E,m,D){const B=E.canLoad;if(void 0===B||0===B.length)return(0,M.of)(!0);const J=B.map(ce=>{const Ze=yo(ce,p);return it(function Eo(p){return p&&mr(p.canLoad)}(Ze)?Ze.canLoad(E,m):(0,c.N4e)(p,()=>Ze(E,m)))});return(0,M.of)(J).pipe(U(),As())}(E,m,D).pipe((0,Ye.Z)(B=>B?this.configLoader.loadChildren(E,m).pipe((0,dt.M)(J=>{m._loadedRoutes=J.routes,m._loadedInjector=J.injector})):function xa(){return(0,P.$)(us(!1,pe.GuardRejected))}())):(0,M.of)({routes:[],injector:E})}}function La(p){const E=p.value.routeConfig;return E&&""===E.path}function su(p){const E=[],m=new Set;for(const D of p){if(!La(D)){E.push(D);continue}const B=E.find(J=>D.value.routeConfig===J.value.routeConfig);void 0!==B?(B.children.push(...D.children),m.add(B)):E.push(D)}for(const D of m){const B=su(D.children);E.push(new Bi(D.value,B))}return E.filter(D=>!m.has(D))}function ca(p){return p.data||{}}function au(p){return p.resolve||{}}function Gn(p){const E=p.children.map(m=>Gn(m)).flat();return[p,...E]}function Pr(p){return(0,Y.n)(E=>{const m=p(E);return m?(0,$.H)(m).pipe((0,G.T)(()=>E)):(0,M.of)(E)})}let jr=(()=>{class p{buildTitle(m){let D,B=m.root;for(;void 0!==B;)D=this.getResolvedTitleForRoute(B)??D,B=B.children.find(J=>J.outlet===Ge);return D}getResolvedTitleForRoute(m){return m.data[mt]}static \u0275fac=function(D){return new(D||p)};static \u0275prov=c.jDH({token:p,factory:()=>(0,c.WQX)(vi),providedIn:"root"})}return p})(),vi=(()=>{class p extends jr{title;constructor(m){super(),this.title=m}updateTitle(m){const D=this.buildTitle(m);void 0!==D&&this.title.setTitle(D)}static \u0275fac=function(D){return new(D||p)(c.KVO(Ke.hE))};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();const _o=new c.nKC("",{providedIn:"root",factory:()=>({})});let nr=(()=>{class p{static \u0275fac=function(D){return new(D||p)};static \u0275cmp=c.VBU({type:p,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(D,B){1&D&&c.nrm(0,"router-outlet")},dependencies:[Ai],encapsulation:2})}return p})();function Jn(p){const E=p.children&&p.children.map(Jn),m=E?{...p,children:E}:{...p};return!m.component&&!m.loadComponent&&(E||m.loadChildren)&&m.outlet&&m.outlet!==Ge&&(m.component=nr),m}const Kr=new c.nKC("");let tn=(()=>{class p{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,c.WQX)(c.Ql9);loadComponent(m){if(this.componentLoaders.get(m))return this.componentLoaders.get(m);
1if(m._loadedComponent)return(0,M.of)(m._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(m);const D=it(m.loadComponent()).pipe((0,G.T)(Co),(0,dt.M)(J=>{this.onLoadEndListener&&this.onLoadEndListener(m),m._loadedComponent=J}),(0,fe.j)(()=>{this.componentLoaders.delete(m)})),B=new ne(D,()=>new z.B).pipe(ye());return this.componentLoaders.set(m,B),B}loadChildren(m,D){if(this.childrenLoaders.get(D))return this.childrenLoaders.get(D);if(D._loadedRoutes)return(0,M.of)({routes:D._loadedRoutes,injector:D._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(D);const J=function ji(p,E,m,D){return it(p.loadChildren()).pipe((0,G.T)(Co),(0,Ye.Z)(B=>B instanceof c.Co$||Array.isArray(B)?(0,M.of)(B):(0,$.H)(E.compileModuleAsync(B))),(0,G.T)(B=>{D&&D(p);let J,ce,Ze=!1;return Array.isArray(B)?(ce=B,!0):(J=B.create(m).injector,ce=J.get(Kr,[],{optional:!0,self:!0}).flat()),{routes:ce.map(Jn),injector:J}}))}(D,this.compiler,m,this.onLoadEndListener).pipe((0,fe.j)(()=>{this.childrenLoaders.delete(D)})),ce=new ne(J,()=>new z.B).pipe(ye());return this.childrenLoaders.set(D,ce),ce}static \u0275fac=function(D){return new(D||p)};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function Co(p){return function da(p){return p&&"object"==typeof p&&"default"in p}(p)?p.default:p}let Zn=(()=>{class p{static \u0275fac=function(D){return new(D||p)};static \u0275prov=c.jDH({token:p,factory:()=>(0,c.WQX)(Jo),providedIn:"root"})}return p})(),Jo=(()=>{class p{shouldProcessUrl(m){return!0}extract(m){return m}merge(m,D){return m}static \u0275fac=function(D){return new(D||p)};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();const oo=new c.nKC(""),v=new c.nKC("");function K(p,E,m){const D=p.get(v),B=p.get(W.qQ);return p.get(c.SKi).runOutsideAngular(()=>{if(!B.startViewTransition||D.skipNextTransition)return D.skipNextTransition=!1,new Promise(bt=>setTimeout(bt));let J;const ce=new Promise(bt=>{J=bt}),Ze=B.startViewTransition(()=>(J(),function C(p){return new Promise(E=>{(0,c.mal)({read:()=>setTimeout(E)},{injector:p})})}(p))),{onViewTransitionCreated:Be}=D;return Be&&(0,c.N4e)(p,()=>Be({transition:Ze,from:E,to:m})),ce})}const F=new c.nKC("");let ue=(()=>{class p{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new z.B;transitionAbortSubject=new z.B;configLoader=(0,c.WQX)(tn);environmentInjector=(0,c.WQX)(c.uvJ);urlSerializer=(0,c.WQX)(un);rootContexts=(0,c.WQX)(ss);location=(0,c.WQX)(W.aZ);inputBindingEnabled=null!==(0,c.WQX)(si,{optional:!0});titleStrategy=(0,c.WQX)(jr);options=(0,c.WQX)(_o,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,c.WQX)(Zn);createViewTransition=(0,c.WQX)(oo,{optional:!0});navigationErrorHandler=(0,c.WQX)(F,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,M.of)(void 0);rootComponentType=null;constructor(){this.configLoader.onLoadEndListener=B=>this.events.next(new He(B)),this.configLoader.onLoadStartListener=B=>this.events.next(new Te(B))}complete(){this.transitions?.complete()}handleNavigationRequest(m){const D=++this.navigationId;this.transitions?.next({...this.transitions.value,...m,id:D})}setupNavigations(m,D,B){return this.transitions=new O.t({id:0,currentUrlTree:D,currentRawUrl:D,extractedUrl:this.urlHandlingStrategy.extract(D),urlAfterRedirects:this.urlHandlingStrategy.extract(D),rawUrl:D,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ki,restoredState:null,currentSnapshot:B.snapshot,targetSnapshot:null,currentRouterState:B,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ae.p)(J=>0!==J.id),(0,G.T)(J=>({...J,extractedUrl:this.urlHandlingStrategy.extract(J.rawUrl)})),(0,Y.n)(J=>{let ce=!1,Ze=!1;return(0,M.of)(J).pipe((0,Y.n)(Be=>{if(this.navigationId>J.id)return this.cancelNavigationTransition(J,"",pe.SupersededByNewNavigation),Z.w;this.currentTransition=J,this.currentNavigation={id:Be.id,initialUrl:Be.rawUrl,extractedUrl:Be.extractedUrl,targetBrowserUrl:"string"==typeof Be.extras.browserUrl?this.urlSerializer.parse(Be.extras.browserUrl):Be.extras.browserUrl,trigger:Be.source,extras:Be.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const bt=!m.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!bt&&"reload"!==(Be.extras.onSameUrlNavigation??m.onSameUrlNavigation)){const fn="";return this.events.next(new ft(Be.id,this.urlSerializer.serialize(Be.rawUrl),fn,ve.IgnoredSameUrlNavigation)),Be.resolve(!1),Z.w}if(this.urlHandlingStrategy.shouldProcessUrl(Be.rawUrl))return(0,M.of)(Be).pipe((0,Y.n)(fn=>{const ur=this.transitions?.getValue();return this.events.next(new pi(fn.id,this.urlSerializer.serialize(fn.extractedUrl),fn.source,fn.restoredState)),ur!==this.transitions?.getValue()?Z.w:Promise.resolve(fn)}),function cs(p,E,m,D,B,J){return(0,Ye.Z)(ce=>function yn(p,E,m,D,B,J,ce="emptyOnly"){return new Ir(p,E,m,D,B,ce,J).recognize()}(p,E,m,D,ce.extractedUrl,B,J).pipe((0,G.T)(({state:Ze,tree:Be})=>({...ce,targetSnapshot:Ze,urlAfterRedirects:Be}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,m.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,dt.M)(fn=>{J.targetSnapshot=fn.targetSnapshot,J.urlAfterRedirects=fn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:fn.urlAfterRedirects};const ur=new Nt(fn.id,this.urlSerializer.serialize(fn.extractedUrl),this.urlSerializer.serialize(fn.urlAfterRedirects),fn.targetSnapshot);this.events.next(ur)}));if(bt&&this.urlHandlingStrategy.shouldProcessUrl(Be.currentRawUrl)){const{id:fn,extractedUrl:ur,source:$i,restoredState:li,extras:Sr}=Be,Wi=new pi(fn,this.urlSerializer.serialize(ur),$i,li);this.events.next(Wi);const Io=Nr(this.rootComponentType).snapshot;return this.currentTransition=J={...Be,targetSnapshot:Io,urlAfterRedirects:ur,extras:{...Sr,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=ur,(0,M.of)(J)}{const fn="";return this.events.next(new ft(Be.id,this.urlSerializer.serialize(Be.extractedUrl),fn,ve.IgnoredByUrlHandlingStrategy)),Be.resolve(!1),Z.w}}),(0,dt.M)(Be=>{const bt=new ln(Be.id,this.urlSerializer.serialize(Be.extractedUrl),this.urlSerializer.serialize(Be.urlAfterRedirects),Be.targetSnapshot);this.events.next(bt)}),(0,G.T)(Be=>(this.currentTransition=J={...Be,guards:kn(Be.targetSnapshot,Be.currentSnapshot,this.rootContexts)},J)),function ee(p,E){return(0,Ye.Z)(m=>{const{targetSnapshot:D,currentSnapshot:B,guards:{canActivateChecks:J,canDeactivateChecks:ce}}=m;return 0===ce.length&&0===J.length?(0,M.of)({...m,guardsResult:!0}):function Ie(p,E,m,D){return(0,$.H)(p).pipe((0,Ye.Z)(B=>
1function Bo(p,E,m,D,B){const J=E&&E.routeConfig?E.routeConfig.canDeactivate:null;if(!J||0===J.length)return(0,M.of)(!0);const ce=J.map(Ze=>{const Be=eo(E)??B,bt=yo(Ze,Be);return it(function Bs(p){return p&&mr(p.canDeactivate)}(bt)?bt.canDeactivate(p,E,m,D):(0,c.N4e)(Be,()=>bt(p,E,m,D))).pipe(ht())});return(0,M.of)(ce).pipe(U())}(B.component,B.route,m,E,D)),ht(B=>!0!==B,!0))}(ce,D,B,p).pipe((0,Ye.Z)(Ze=>Ze&&function xr(p){return"boolean"==typeof p}(Ze)?function Yt(p,E,m,D){return(0,$.H)(E).pipe((0,Dt.H)(B=>(0,_.x)(function Ur(p,E){return null!==p&&E&&E(new _t(p)),(0,M.of)(!0)}(B.route.parent,D),function Sn(p,E){return null!==p&&E&&E(new vt(p)),(0,M.of)(!0)}(B.route,D),function ls(p,E,m){const D=E[E.length-1],J=E.slice(0,E.length-1).reverse().map(ce=>function Ti(p){const E=p.routeConfig?p.routeConfig.canActivateChild:null;return E&&0!==E.length?{node:p,guards:E}:null}(ce)).filter(ce=>null!==ce).map(ce=>(0,k.v)(()=>{const Ze=ce.guards.map(Be=>{const bt=eo(ce.node)??m,Jt=yo(Be,bt);return it(function nu(p){return p&&mr(p.canActivateChild)}(Jt)?Jt.canActivateChild(D,p):(0,c.N4e)(bt,()=>Jt(D,p))).pipe(ht())});return(0,M.of)(Ze).pipe(U())}));return(0,M.of)(J).pipe(U())}(p,B.path,m),function Us(p,E,m){const D=E.routeConfig?E.routeConfig.canActivate:null;if(!D||0===D.length)return(0,M.of)(!0);const B=D.map(J=>(0,k.v)(()=>{const ce=eo(E)??m,Ze=yo(J,ce);return it(function ko(p){return p&&mr(p.canActivate)}(Ze)?Ze.canActivate(E,p):(0,c.N4e)(ce,()=>Ze(E,p))).pipe(ht())}));return(0,M.of)(B).pipe(U())}(p,B.route,m))),ht(B=>!0!==B,!0))}(D,J,p,E):(0,M.of)(Ze)),(0,G.T)(Ze=>({...m,guardsResult:Ze})))})}(this.environmentInjector,Be=>this.events.next(Be)),(0,dt.M)(Be=>{if(J.guardsResult=Be.guardsResult,Be.guardsResult&&"boolean"!=typeof Be.guardsResult)throw Lo(0,Be.guardsResult);const bt=new y(Be.id,this.urlSerializer.serialize(Be.extractedUrl),this.urlSerializer.serialize(Be.urlAfterRedirects),Be.targetSnapshot,!!Be.guardsResult);this.events.next(bt)}),(0,Ae.p)(Be=>!!Be.guardsResult||(this.cancelNavigationTransition(Be,"",pe.GuardRejected),!1)),Pr(Be=>{if(Be.guards.canActivateChecks.length)return(0,M.of)(Be).pipe((0,dt.M)(bt=>{const Jt=new j(bt.id,this.urlSerializer.serialize(bt.extractedUrl),this.urlSerializer.serialize(bt.urlAfterRedirects),bt.targetSnapshot);this.events.next(Jt)}),(0,Y.n)(bt=>{let Jt=!1;return(0,M.of)(bt).pipe(function ds(p,E){return(0,Ye.Z)(m=>{const{targetSnapshot:D,guards:{canActivateChecks:B}}=m;if(!B.length)return(0,M.of)(m);const J=new Set(B.map(Be=>Be.route)),ce=new Set;for(const Be of J)if(!ce.has(Be))for(const bt of Gn(Be))ce.add(bt);let Ze=0;return(0,$.H)(ce).pipe((0,Dt.H)(Be=>
1J.has(Be)?function at(p,E,m,D){const B=p.routeConfig,J=p._resolve;return void 0!==B?.title&&!vo(B)&&(J[mt]=B.title),function en(p,E,m,D){const B=q(p);if(0===B.length)return(0,M.of)({});const J={};return(0,$.H)(B).pipe((0,Ye.Z)(ce=>function Ar(p,E,m,D){const B=eo(E)??D,J=yo(p,B);return it(J.resolve?J.resolve(E,m):(0,c.N4e)(B,()=>J(E,m)))}(p[ce],E,m,D).pipe(ht(),(0,dt.M)(Ze=>{if(Ze instanceof Fo)throw Lo(new Cr,Ze);J[ce]=Ze}))),(0,Re.o)(1),(0,G.T)(()=>J),(0,Pt.W)(ce=>Wn(ce)?Z.w:(0,P.$)(ce)))}(J,p,E,D).pipe((0,G.T)(ce=>(p._resolvedData=ce,p.data=Ui(p,p.parent,m).resolve,null)))}(Be,D,p,E):(Be.data=Ui(Be,Be.parent,p).resolve,(0,M.of)(void 0))),(0,dt.M)(()=>Ze++),(0,Re.o)(1),(0,Ye.Z)(Be=>Ze===ce.size?(0,M.of)(m):Z.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,dt.M)({next:()=>Jt=!0,complete:()=>{Jt||this.cancelNavigationTransition(bt,"",pe.NoDataFromResolver)}}))}),(0,dt.M)(bt=>{const Jt=new le(bt.id,this.urlSerializer.serialize(bt.extractedUrl),this.urlSerializer.serialize(bt.urlAfterRedirects),bt.targetSnapshot);this.events.next(Jt)}))}),Pr(Be=>{const bt=Jt=>{const fn=[];Jt.routeConfig?.loadComponent&&!Jt.routeConfig._loadedComponent&&fn.push(this.configLoader.loadComponent(Jt.routeConfig).pipe((0,dt.M)(ur=>{Jt.component=ur}),(0,G.T)(()=>{})));for(const ur of Jt.children)fn.push(...bt(ur));return fn};return(0,x.z)(bt(Be.targetSnapshot.root)).pipe(xe(null),(0,Ce.s)(1))}),Pr(()=>this.afterPreactivation()),(0,Y.n)(()=>{const{currentSnapshot:Be,targetSnapshot:bt}=J,Jt=this.createViewTransition?.(this.environmentInjector,Be.root,bt.root);return Jt?(0,$.H)(Jt).pipe((0,G.T)(()=>J)):(0,M.of)(J)}),(0,G.T)(Be=>{const bt=function sr(p,E,m){const D=Br(p,E._root,m?m._root:void 0);return new Fs(D,E)}(m.routeReuseStrategy,Be.targetSnapshot,Be.currentRouterState);return this.currentTransition=J={...Be,targetRouterState:bt},this.currentNavigation.targetRouterState=bt,J}),(0,dt.M)(()=>{this.events.next(new qr)}),((p,E,m,D)=>(0,G.T)(B=>(new Na(E,B.targetRouterState,B.currentRouterState,m,D).activate(p),B)))(this.rootContexts,m.routeReuseStrategy,Be=>this.events.next(Be),this.inputBindingEnabled),(0,Ce.s)(1),(0,dt.M)({next:Be=>{ce=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new re(Be.id,this.urlSerializer.serialize(Be.extractedUrl),this.urlSerializer.serialize(Be.urlAfterRedirects))),this.titleStrategy?.updateTitle(Be.targetRouterState.snapshot),Be.resolve(!0)},complete:()=>{ce=!0}}),(0,we.Q)(this.transitionAbortSubject.pipe((0,dt.M)(Be=>{throw Be}))),(0,fe.j)(()=>{!ce&&!Ze&&this.cancelNavigationTransition(J,"",pe.SupersededByNewNavigation),this.currentTransition?.id===J.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Pt.W)(Be=>{if(Ze=!0,vr(Be))this.events.next(new Xe(J.id,this.urlSerializer.serialize(J.extractedUrl),Be.message,Be.cancellationCode)),function gr(p){return vr(p)&&Er(p.url)}(Be)?this.events.next(new or(Be.url,Be.navigationBehaviorOptions)):J.resolve(!1);else{const bt=new At(J.id,this.urlSerializer.serialize(J.extractedUrl),Be,J.targetSnapshot??void 0);try{const Jt=(0,c.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(bt));if(!(Jt instanceof Fo))throw this.events.next(bt),Be;{const{message:fn,cancellationCode:ur}=Lo(0,Jt);this.events.next(new Xe(J.id,this.urlSerializer.serialize(J.extractedUrl),fn,ur)),this.events.next(new or(Jt.redirectTo,Jt.navigationBehaviorOptions))}}catch(Jt){this.options.resolveNavigationPromiseOnError?J.resolve(!1):J.reject(Jt)}}return Z.w}))}))}cancelNavigationTransition(m,D,B){const J=new Xe(m.id,this.urlSerializer.serialize(m.extractedUrl),D,B);this.events.next(J),m.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const m=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),D=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return m.toString()!==D?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(D){return new(D||p)};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function We(p){return p!==ki}let Je=(()=>{class p{static \u0275fac=function(D){return new(D||p)};static \u0275prov=c.jDH({token:p,factory:()=>(0,c.WQX)(Kn),providedIn:"root"})}return p})();
1class nt{shouldDetach(E){return!1}store(E,m){}shouldAttach(E){return!1}retrieve(E){return null}shouldReuseRoute(E,m){return E.routeConfig===m.routeConfig}}let Kn=(()=>{class p extends nt{static \u0275fac=(()=>{let m;return function(B){return(m||(m=c.xGo(p)))(B||p)}})();static \u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),Bn=(()=>{class p{static \u0275fac=function(D){return new(D||p)};static \u0275prov=c.jDH({token:p,factory:()=>(0,c.WQX)(Ln),providedIn:"root"})}return p})(),Ln=(()=>{class p extends Bn{location=(0,c.WQX)(W.aZ);urlSerializer=(0,c.WQX)(un);options=(0,c.WQX)(_o,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=(0,c.WQX)(Zn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ut;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=Nr(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(m){return this.location.subscribe(D=>{"popstate"===D.type&&m(D.url,D.state)})}handleRouterEvent(m,D){if(m instanceof pi)this.stateMemento=this.createStateMemento();else if(m instanceof ft)this.rawUrlTree=D.initialUrl;else if(m instanceof Nt){if("eager"===this.urlUpdateStrategy&&!D.extras.skipLocationChange){const B=this.urlHandlingStrategy.merge(D.finalUrl,D.initialUrl);this.setBrowserUrl(D.targetBrowserUrl??B,D)}}else m instanceof qr?(this.currentUrlTree=D.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(D.finalUrl,D.initialUrl),this.routerState=D.targetRouterState,"deferred"===this.urlUpdateStrategy&&!D.extras.skipLocationChange&&this.setBrowserUrl(D.targetBrowserUrl??this.rawUrlTree,D)):m instanceof Xe&&(m.code===pe.GuardRejected||m.code===pe.NoDataFromResolver)?this.restoreHistory(D):m instanceof At?this.restoreHistory(D,!0):m instanceof re&&(this.lastSuccessfulId=m.id,this.currentPageId=this.browserPageId)}setBrowserUrl(m,D){const B=m instanceof Ut?this.urlSerializer.serialize(m):m;if(this.location.isCurrentPathEqualTo(B)||D.extras.replaceUrl){const ce={...D.extras.state,...this.generateNgRouterState(D.id,this.browserPageId)};this.location.replaceState(B,"",ce)}else{const J={...D.extras.state,...this.generateNgRouterState(D.id,this.browserPageId+1)};this.location.go(B,"",J)}}restoreHistory(m,D=!1){if("computed"===this.canceledNavigationResolution){const J=this.currentPageId-this.browserPageId;0!==J?this.location.historyGo(J):this.currentUrlTree===m.finalUrl&&0===J&&(this.resetState(m),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(D&&this.resetState(m),this.resetUrlToCurrentUrlTree())}resetState(m){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,m.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(m,D){return"computed"===this.canceledNavigationResolution?{navigationId:m,\u0275routerPageId:D}:{navigationId:m}}static \u0275fac=(()=>{let m;return function(B){return(m||(m=c.xGo(p)))(B||p)}})();static \u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function bn(p,E){p.events.pipe((0,Ae.p)(m=>m instanceof re||m instanceof Xe||m instanceof At||m instanceof ft),(0,G.T)(m=>m instanceof re||m instanceof ft?0:m instanceof Xe&&(m.code===pe.Redirect||m.code===pe.SupersededByNewNavigation)?2:1),(0,Ae.p)(m=>2!==m),(0,Ce.s)(1)).subscribe(()=>{E()})}const vn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ht={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let rn=(()=>{class p{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,c.WQX)(c.H3F);stateManager=(0,c.WQX)(Bn);options=(0,c.WQX)(_o,{optional:!0})||{};pendingTasks=(0,c.WQX)(c.Ua0);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,c.WQX)(ue);
1urlSerializer=(0,c.WQX)(un);location=(0,c.WQX)(W.aZ);urlHandlingStrategy=(0,c.WQX)(Zn);_events=new z.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,c.WQX)(Je);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,c.WQX)(Kr,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,c.WQX)(si,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:m=>{this.console.warn(m)}}),this.subscribeToNavigationEvents()}eventsSubscription=new V.yU;subscribeToNavigationEvents(){const m=this.navigationTransitions.events.subscribe(D=>{try{const B=this.navigationTransitions.currentTransition,J=this.navigationTransitions.currentNavigation;if(null!==B&&null!==J)if(this.stateManager.handleRouterEvent(D,J),D instanceof Xe&&D.code!==pe.Redirect&&D.code!==pe.SupersededByNewNavigation)this.navigated=!0;else if(D instanceof re)this.navigated=!0;else if(D instanceof or){const ce=D.navigationBehaviorOptions,Ze=this.urlHandlingStrategy.merge(D.url,B.currentRawUrl),Be={browserUrl:B.extras.browserUrl,info:B.extras.info,skipLocationChange:B.extras.skipLocationChange,replaceUrl:B.extras.replaceUrl||"eager"===this.urlUpdateStrategy||We(B.source),...ce};this.scheduleNavigation(Ze,ki,null,Be,{resolve:B.resolve,reject:B.reject,promise:B.promise})}(function Mi(p){return!(p instanceof qr||p instanceof or)})(D)&&this._events.next(D)}catch(B){this.navigationTransitions.transitionAbortSubject.next(B)}});this.eventsSubscription.add(m)}resetRootComponentType(m){this.routerState.root.component=m,this.navigationTransitions.rootComponentType=m}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ki,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((m,D)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(m,"popstate",D)},0)})}navigateToSyncWithBrowser(m,D,B){const J={replaceUrl:!0},ce=B?.navigationId?B:null;if(B){const Be={...B};delete Be.navigationId,delete Be.\u0275routerPageId,0!==Object.keys(Be).length&&(J.state=Be)}const Ze=this.parseUrl(m);this.scheduleNavigation(Ze,D,ce,J)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(m){this.config=m.map(Jn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(m,D={}){const{relativeTo:B,queryParams:J,fragment:ce,queryParamsHandling:Ze,preserveFragment:Be}=D,bt=Be?this.currentUrlTree.fragment:ce;let fn,Jt=null;switch(Ze??this.options.defaultQueryParamsHandling){case"merge":Jt={...this.currentUrlTree.queryParams,...J};break;case"preserve":Jt=this.currentUrlTree.queryParams;break;default:Jt=J||null}null!==Jt&&(Jt=this.removeEmptyProps(Jt));try{fn=Kt(B?B.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof m[0]||"/"!==m[0][0])&&(m=[]),fn=this.currentUrlTree.root}return Zi(fn,m,Jt,bt??null)}navigateByUrl(m,D={skipLocationChange:!1}){const B=Er(m)?m:this.parseUrl(m),J=this.urlHandlingStrategy.merge(B,this.rawUrlTree);return this.scheduleNavigation(J,ki,null,D)}navigate(m,D={skipLocationChange:!1}){return function fr(p){for(let E=0;E<p.length;E++)if(null==p[E])throw new c.wOt(4008,!1)}(m),this.navigateByUrl(this.createUrlTree(m,D),D)}serializeUrl(m){return this.urlSerializer.serialize(m)}parseUrl(m){try{return this.urlSerializer.parse(m)}catch{return this.urlSerializer.parse("/")}}isActive(m,D){let B;if(B=!0===D?{...vn}:!1===D?{...Ht}:D,Er(m))return ct(this.currentUrlTree,m,B);const J=this.parseUrl(m);return ct(this.currentUrlTree,J,B)}removeEmptyProps(m){return Object.entries(m).reduce((D,[B,J])=>(null!=J&&(D[B]=J),D),{})}scheduleNavigation(m,D,B,J,ce){if(this.disposed)return Promise.resolve(!1);let Ze,Be,bt;ce?(Ze=ce.resolve,Be=ce.reject,bt=ce.promise):bt=new Promise((fn,ur)=>{Ze=fn,Be=ur});const Jt=this.pendingTasks.add();return bn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Jt))}),this.navigationTransitions.handleNavigationRequest({source:D,restoredState:B,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:m,extras:J,resolve:Ze,reject:Be,promise:bt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),bt.catch(fn=>Promise.reject(fn))}static \u0275fac=function(D){return new(D||p)};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();class ui{}let yi=(()=>{class p{router;injector;preloadingStrategy;loader;subscription;constructor(m,D,B,J,ce){this.router=m,this.injector=B,this.preloadingStrategy=J,this.loader=ce}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ae.p)(m=>m instanceof re),(0,Dt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(m,D){const B=[];for(const J of D){J.providers&&!J._injector&&(J._injector=(0,c.Ol2)(J.providers,m,`Route: ${J.path}`));const ce=J._injector??m,Ze=J._loadedInjector??ce;(J.loadChildren&&!J._loadedRoutes&&void 0===J.canLoad||J.loadComponent&&!J._loadedComponent)&&B.push(this.preloadConfig(ce,J)),(J.children||J._loadedRoutes)&&B.push(this.processRoutes(Ze,J.children??J._loadedRoutes))}return(0,$.H)(B).pipe((0,Qe.U)())}preloadConfig(m,D){return this.preloadingStrategy.preload(D,()=>{let B;B=D.loadChildren&&void 0===D.canLoad?this.loader.loadChildren(m,D):(0,M.of)(null);const J=B.pipe((0,Ye.Z)(ce=>null===ce?(0,M.of)(void 0):(D._loadedRoutes=ce.routes,D._loadedInjector=ce.injector,this.processRoutes(ce.injector??m,ce.routes))));if(D.loadComponent&&!D._loadedComponent){const ce=this.loader.loadComponent(D);return(0,$.H)([J,ce]).pipe((0,Qe.U)())}return J})}static \u0275fac=function(D){return new(D||p)(c.KVO(rn),c.KVO(c.Ql9),c.KVO(c.uvJ),c.KVO(ui),c.KVO(tn))};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();const js=new c.nKC("");let Hs=(()=>{class p{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(m,D,B,J,ce={}
1){this.urlSerializer=m,this.transitions=D,this.viewportScroller=B,this.zone=J,this.options=ce,ce.scrollPositionRestoration||="disabled",ce.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(m=>{m instanceof pi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=m.navigationTrigger,this.restoredId=m.restoredState?m.restoredState.navigationId:0):m instanceof re?(this.lastId=m.id,this.scheduleScrollEvent(m,this.urlSerializer.parse(m.urlAfterRedirects).fragment)):m instanceof ft&&m.code===ve.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(m,this.urlSerializer.parse(m.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(m=>{m instanceof Nn&&(m.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(m.position):m.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(m.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(m,D){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Nn(m,"popstate"===this.lastSource?this.store[this.restoredId]:null,D))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(D){c.QTQ()};static \u0275prov=c.jDH({token:p,factory:p.\u0275fac})}return p})();function fs(p,E){return{\u0275kind:p,\u0275providers:E}}function Vl(){const p=(0,c.WQX)(c.zZn);return E=>{const m=p.get(c.o8S);if(E!==m.components[0])return;const D=p.get(rn),B=p.get(te);1===p.get($s)&&D.initialNavigation(),p.get(Gu,null,c.$GK.Optional)?.setUpPreloading(),p.get(js,null,c.$GK.Optional)?.init(),D.resetRootComponentType(m.componentTypes[0]),B.closed||(B.next(),B.complete(),B.unsubscribe())}}const te=new c.nKC("",{factory:()=>new z.B}),$s=new c.nKC("",{providedIn:"root",factory:()=>1}),Gu=new c.nKC("");function jl(p){return fs(0,[{provide:Gu,useExisting:yi},{provide:ui,useExisting:p}])}function md(p){return fs(9,[{provide:oo,useValue:K},{provide:v,useValue:{skipNextTransition:!!p?.skipInitialTransition,...p}}])}const qo=[W.aZ,{provide:un,useClass:Cr},rn,ss,{provide:xt,useFactory:function gd(p){return p.routerState.root},deps:[rn]},tn,[]];let Ed=(()=>{class p{constructor(){}static forRoot(m,D){return{ngModule:p,providers:[qo,[],{provide:Kr,multi:!0,useValue:m},[],D?.errorHandler?{provide:F,useValue:D.errorHandler}:[],{provide:_o,useValue:D||{}},D?.useHash?{provide:W.hb,useClass:W.fw}:{provide:W.hb,useClass:W.Sm},{provide:js,useFactory:()=>{const p=(0,c.WQX)(W.Xr),E=(0,c.WQX)(c.SKi),m=(0,c.WQX)(_o),D=(0,c.WQX)(ue),B=(0,c.WQX)(un);return m.scrollOffset&&p.setOffset(m.scrollOffset),new Hs(B,D,p,E,m)}},D?.preloadingStrategy?jl(D.preloadingStrategy).\u0275providers:[],D?.initialNavigation?Vo(D):[],D?.bindToComponentInputs?fs(8,[no,{provide:si,useExisting:no}]).\u0275providers:[],D?.enableViewTransitions?md().\u0275providers:[],[{provide:Wl,useFactory:Vl},{provide:c.iLQ,multi:!0,useExisting:Wl}]]}}static forChild(m){return{ngModule:p,providers:[{provide:Kr,multi:!0,useValue:m}]}}static \u0275fac=function(D){return new(D||p)};static \u0275mod=c.$C({type:p});static \u0275inj=c.G2t({})}return p})();function Vo(p){return["disabled"===p.initialNavigation?fs(3,[{provide:c.hnV,multi:!0,useFactory:()=>{const E=(0,c.WQX)(rn);return()=>{E.setUpLocationChangeListener()}}},{provide:$s,useValue:2}]).\u0275providers:[],"enabledBlocking"===p.initialNavigation?fs(2,[{provide:$s,useValue:0},{provide:c.hnV,multi:!0,deps:[c.zZn],useFactory:E=>{const m=E.get(W.hj,Promise.resolve());return()=>m.then(()=>new Promise(D=>{const B=E.get(rn),J=E.get(te);bn(B,()=>{D(!0)}),E.get(ue).afterPreactivation=()=>(D(!0),J.closed?(0,M.of)(void 0):J),B.initialNavigation()}))}}]).\u0275providers:[]]}const Wl=new c.nKC("")},4616:(ze,se,f)=>{"use strict";f.d(se,{Wr:()=>ne,h:()=>Wt,c$:()=>Ke});var c=f(4438),l=f(7673),$=f(4402),M=f(7468),O=f(8793),x=f(9030),R=f(6697),T=f(2771),_=f(8750),k=f(1413),I=f(7707),P=f(9974);function N(Ee,Pe,...q){if(!0===Pe)return void Ee();if(!1===Pe)return;const me=new I.Ms({next:()=>{me.unsubscribe(),Ee()}});return(0,_.Tg)(Pe(...q)).subscribe(me)}function V(Ee,Pe,q){let me,Oe=!1;return Ee&&"object"==typeof Ee?({bufferSize:me=1/0,windowTime:Pe=1/0,refCount:Oe=!1,scheduler:q}=Ee):me=Ee??1/0,function Z(Ee={}){const{connector:Pe=()=>new k.B,resetOnError:q=!0,resetOnComplete:me=!0,resetOnRefCountZero:Oe=!0}=Ee;return it=>{let jt,wn,ct,Ft=0,Hn=!1,yr=!1;const br=()=>{wn?.unsubscribe(),wn=void 0},$r=()=>{br(),jt=ct=void 0,Hn=yr=!1},Gt=()=>{const Ut=jt;$r(),Ut?.unsubscribe()};return(0,P.N)((Ut,Qt)=>{Ft++,!yr&&!Hn&&br();const Rt=ct=ct??Pe();Qt.add(()=>{Ft--,0===Ft&&!yr&&!Hn&&(wn=N(Gt,Oe))}),Rt.subscribe(Qt),!jt&&Ft>0&&(jt=new I.Ms({next:Tn=>Rt.next(Tn),error:Tn=>{yr=!0,br(),wn=N($r,q,Tn),Rt.error(Tn)},complete:()=>{Hn=!0,br(),wn=N($r,me),Rt.complete()}}),(0,_.Tg)(Ut).subscribe(jt))})(it)}}({connector:()=>new T.m(me,Pe,q),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Oe})}var b=f(6354),ie=f(274),ye=f(5558);class ne{}let z=(()=>{class Ee extends ne{getTranslation(q){return(0,l.of)({})}static \u0275fac=(()=>{let q;return function(Oe){return(q||(q=c.xGo(Ee)))(Oe||Ee)}})();static \u0275prov=c.jDH({token:Ee,factory:Ee.\u0275fac})}return Ee})();class W{}let G=(()=>{class Ee{handle(q){return q.key}static \u0275fac=function(me){return new(me||Ee)};static \u0275prov=c.jDH({token:Ee,factory:Ee.\u0275fac})}return Ee})();function Ce(Ee){return typeof Ee<"u"&&null!==Ee}function de(Ee){return Ae(Ee)&&!Ye(Ee)&&null!==Ee}function Ae(Ee){return"object"==typeof Ee}function Ye(Ee){return Array.isArray(Ee)}function xe(Ee){return"string"==typeof Ee}function je(Ee,Pe){const q=Object.assign({},Ee);return Ae(Ee)?(Ae(Ee)&&Ae(Pe)&&Object.keys(Pe).forEach(me=>{de(Pe[me])?me in Ee?q[me]=je(Ee[me],Pe[me]):Object.assign(q,{[me]:Pe[me]}):Object.assign(q,{[me]:Pe[me]})}),q):je({},Pe)}function et(Ee,Pe){const q=Pe.split(".");Pe="";do{Pe+=q.shift(),Ce(Ee)&&Ce(Ee[Pe])&&(de(Ee[Pe])||Ye(Ee[Pe])||!q.length)?(Ee=Ee[Pe],Pe=""):q.length?Pe+=".":Ee=void 0}while(q.length);return Ee}class Dt{}let dt=(()=>{class Ee extends Dt{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(q,me){return xe(q)?this.interpolateString(q,me):function Se(Ee){return"function"==typeof Ee}(q)?this.interpolateFunction(q,me):void 0}interpolateFunction(q,me){return q(me)}interpolateString(q,me){return me?q.replace(this.templateMatcher,(Oe,it)=>{const jt=et(me,it);return Ce(jt)?jt:Oe}):q}static \u0275fac=(()=>{let q;return function(Oe){return(q||(q=c.xGo(Ee)))(Oe||Ee)}})();static \u0275prov=c.jDH({token:Ee,factory:Ee.\u0275fac})}return Ee})();class Pt{}let Mt=(()=>{class Ee extends Pt{compile(q,me){return q}compileTranslations(q,me){return q}static \u0275fac=(()=>{let q;return function(Oe){return(q||(q=c.xGo(Ee)))(Oe||Ee)}})();static \u0275prov=c.jDH({token:Ee,factory:Ee.\u0275fac})}return Ee})();class $t{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new c.bkB;onLangChange=new c.bkB;onDefaultLangChange=new c.bkB}const Re=new c.nKC("ISOLATE_TRANSLATE_SERVICE"),ae=new c.nKC("USE_DEFAULT_LANG"),fe=new c.nKC("DEFAULT_LANGUAGE"),we=new c.nKC("USE_EXTEND"),Qe=Ee=>(0,$.A)(Ee)?Ee:(0,l.of)(Ee);let Ke=(()=>{class Ee{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(q){this.store.defaultLang=q}get currentLang(){return this.store.currentLang}set currentLang(q){this.store.currentLang=q}get langs(){return this.store.langs}set langs(q){this.store.langs=q}get translations(){return this.store.translations}set translations(q){this.store.translations=q}constructor(q,me,Oe,it,jt,wn=!0,ct=!1,Ft=!1,Hn){this.store=q,this.currentLoader=me,this.compiler=Oe,this.parser=it,this.missingTranslationHandler=jt,this.useDefaultLang=wn,this.extend=Ft,ct&&(this.store=new $t),Hn&&this.setDefaultLang(Hn)}setDefaultLang(q){if(q===this.defaultLang)return;const me=this.retrieveTranslations(q);typeof me<"u"?(null==this.defaultLang&&(this.defaultLang=q),me.pipe((0,R.s)(1)).subscribe(()=>{this.changeDefaultLang(q)})):this.changeDefaultLang(q)}getDefaultLang(){return this.defaultLang}use(q){if(this.lastUseLanguage=q,q===this.currentLang)return(0,l.of)(this.translations[q]);this.currentLang||(this.currentLang=q);const me=this.retrieveTranslations(q);return(0,$.A)(me)?(me.pipe((0,R.s)(1)).subscribe(()=>{this.changeLang(q)}),me):(this.changeLang(q),(0,l.of)(this.translations[q]))}changeLang(q){q===this.lastUseLanguage&&(this.currentLang=q,this.onLangChange.emit({lang:q,translations:this.translations[q]}),null==this.defaultLang&&this.changeDefaultLang(q))}retrieveTranslations(q){if(typeof this.translations[q]>"u"||this.extend)return this._translationRequests[q]=this._translationRequests[q]||this.loadAndCompileTranslations(q),this._translationRequests[q]}getTranslation(q){return this.loadAndCompileTranslations(q)}loadAndCompileTranslations(q){this.pending=!0;const me=this.currentLoader.getTranslation(q).pipe(V(1),(0,R.s)(1));return this.loadingTranslations=me.pipe((0,b.T)(Oe=>this.compiler.compileTranslations(Oe,q)),V(1),(0,R.s)(1)),this.loadingTranslations.subscribe({next:Oe=>{this.translations[q]=this.extend&&this.translations[q]?{...Oe,...this.translations[q]}:Oe,this.updateLangs(),this.pending=!1},error:Oe=>{this.pending=!1}}),me}setTranslation(q,me,Oe=!1){const it=this.compiler.compileTranslations(me,q);this.translations[q]=(Oe||this.extend)&&this.translations[q]?je(this.translations[q],it):it,this.updateLangs(),this.onTranslationChange.emit({lang:q,translations:this.translations[q]})}getLangs(){return this.langs}addLangs(q){const me=q.filter(Oe=>!this.langs.includes(Oe));me.length>0&&(this.langs=[...this.langs,...me])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(q,me,Oe){let it;if(q&&(it=this.runInterpolation(et(q,me),Oe)),void 0===it&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(it=this.runInterpolation(et(this.translations[this.defaultLang],me),Oe)),void 0===it){const jt={key:me,translateService:this};typeof Oe<"u"&&(jt.interpolateParams=Oe),it=this.missingTranslationHandler.handle(jt)}return void 0!==it?it:me}runInterpolation(q,me){if(Ye(q))return q.map(Oe=>this.runInterpolation(Oe,me));if(de(q)){const Oe={};for(const it in q){const jt=this.runInterpolation(q[it],me);void 0!==jt&&(Oe[it]=jt)}return Oe}return this.parser.interpolate(q,me)}getParsedResult(q,me,Oe){if(me instanceof Array){const it={};let jt=!1;for(const ct of me)it[ct]=this.getParsedResultForKey(q,ct,Oe),jt=jt||(0,$.A)(it[ct]);if(!jt)return it;const wn=me.map(ct=>Qe(it[ct]));return(0,M.p)(wn).pipe((0,b.T)(ct=>{const Ft={};return ct.forEach((Hn,yr)=>{Ft[me[yr]]=Hn}),Ft}))}return this.getParsedResultForKey(q,me,Oe)}get(q,me){if(!Ce(q)||!q.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe((0,ie.H)(Oe=>Qe(this.getParsedResult(Oe,q,me)))):Qe(this.getParsedResult(this.translations[this.currentLang],q,me))}getStreamOnTranslationChange(q,me){if(!Ce(q)||!q.length)throw new Error('Parameter "key" is required and cannot be empty');return(0,O.x)((0,x.v)(()=>this.get(q,me)),this.onTranslationChange.pipe((0,ye.n)(Oe=>{const it=this.getParsedResult(Oe.translations,q,me);return Qe(it)})))}stream(q,me){if(!Ce(q)||!q.length)throw new Error('Parameter "key" required');return(0,O.x)((0,x.v)(()=>this.get(q,me)),this.onLangChange.pipe((0,ye.n)(Oe=>{const it=this.getParsedResult(Oe.translations,q,me);return Qe(it)})))}instant(q,me){if(!Ce(q)||0===q.length)throw new Error('Parameter "key" is required and cannot be empty');const Oe=this.getParsedResult(this.translations[this.currentLang],q,me);return(0,$.A)(Oe)?Array.isArray(q)?q.reduce((it,jt)=>(it[jt]=jt,it),{}):q:Oe}set(q,me,Oe=this.currentLang){(function ht(Ee,Pe,q){const me=Pe.split(".");let Oe=Ee;for(let it=0;
1it<me.length;it++){const jt=me[it];it===me.length-1?Oe[jt]=q:((!Oe[jt]||!de(Oe[jt]))&&(Oe[jt]={}),Oe=Oe[jt])}})(this.translations[Oe],q,xe(me)?this.compiler.compile(me,Oe):this.compiler.compileTranslations(me,Oe)),this.updateLangs(),this.onTranslationChange.emit({lang:Oe,translations:this.translations[Oe]})}changeDefaultLang(q){this.defaultLang=q,this.onDefaultLangChange.emit({lang:q,translations:this.translations[q]})}reloadLang(q){return this.resetLang(q),this.loadAndCompileTranslations(q)}resetLang(q){delete this._translationRequests[q],delete this.translations[q]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;const q=this.getBrowserCultureLang();return q?q.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(me){return new(me||Ee)(c.KVO($t),c.KVO(ne),c.KVO(Pt),c.KVO(Dt),c.KVO(W),c.KVO(ae),c.KVO(Re),c.KVO(we),c.KVO(fe))};static \u0275prov=c.jDH({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})}return Ee})(),Wt=(()=>{class Ee{static forRoot(q={}){return{ngModule:Ee,providers:[q.loader||{provide:ne,useClass:z},q.compiler||{provide:Pt,useClass:Mt},q.parser||{provide:Dt,useClass:dt},q.missingTranslationHandler||{provide:W,useClass:G},$t,{provide:Re,useValue:q.isolate},{provide:ae,useValue:q.useDefaultLang},{provide:we,useValue:q.extend},{provide:fe,useValue:q.defaultLanguage},Ke]}}static forChild(q={}){return{ngModule:Ee,providers:[q.loader||{provide:ne,useClass:z},q.compiler||{provide:Pt,useClass:Mt},q.parser||{provide:Dt,useClass:dt},q.missingTranslationHandler||{provide:W,useClass:G},{provide:Re,useValue:q.isolate},{provide:ae,useValue:q.useDefaultLang},{provide:we,useValue:q.extend},{provide:fe,useValue:q.defaultLanguage},Ke]}}static \u0275fac=function(me){return new(me||Ee)};static \u0275mod=c.$C({type:Ee});static \u0275inj=c.G2t({})}return Ee})()},2378:(ze,se,f)=>{"use strict";f.d(se,{A:()=>Ye});var c=Object.prototype.toString,l=Array.isArray||function(Se){return"[object Array]"===c.call(Se)};function $(xe){return"function"==typeof xe}function O(xe){return xe.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function x(xe,Se){return null!=xe&&"object"==typeof xe&&Se in xe}function R(xe,Se){return null!=xe&&"object"!=typeof xe&&xe.hasOwnProperty&&xe.hasOwnProperty(Se)}var T=RegExp.prototype.test,k=/\S/;function I(xe){return!function _(xe,Se){return T.call(xe,Se)}(k,xe)}var P={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},N=/\s*/,V=/\s+/,b=/\s*=/,ie=/\s*\}/,ye=/#|\^|\/|>|\{|&|=|!/;function G(xe){this.string=xe,this.tail=xe,this.pos=0}function Y(xe,Se){this.view=xe,this.cache={".":this.view},this.parent=Se}function Ce(){this.templateCache={_cache:{},set:function(Se,je){this._cache[Se]=je},get:function(Se){return this._cache[Se]},clear:function(){this._cache={}}}}G.prototype.eos=function(){return""===this.tail},G.prototype.scan=function(Se){var je=this.tail.match(Se);if(!je||0!==je.index)return"";var et=je[0];return this.tail=this.tail.substring(et.length),this.pos+=et.length,et},G.prototype.scanUntil=function(Se){var et,je=this.tail.search(Se);switch(je){case-1:et=this.tail,this.tail="";break;case 0:et="";break;default:et=this.tail.substring(0,je),this.tail=this.tail.substring(je)}return this.pos+=et.length,et},Y.prototype.push=function(Se){return new Y(Se,this)},Y.prototype.lookup=function(Se){var et,je=this.cache;if(je.hasOwnProperty(Se))et=je[Se];else{for(var Dt,dt,Pt,ht=this,Mt=!1;ht;){if(Se.indexOf(".")>0)for(Dt=ht.view,dt=Se.split("."),Pt=0;null!=Dt&&Pt<dt.length;)Pt===dt.length-1&&(Mt=x(Dt,dt[Pt])||R(Dt,dt[Pt])),Dt=Dt[dt[Pt++]];else Dt=ht.view[Se],Mt=x(ht.view,Se);if(Mt){et=Dt;break}ht=ht.parent}je[Se]=et}return $(et)&&(et=et.call(this.view)),et},Ce.prototype.clearCache=function(){typeof this.templateCache<"u"&&this.templateCache.clear()},Ce.prototype.parse=function(Se,je){var et=this.templateCache,ht=Se+":"+(je||de.tags).join(":"),Dt=typeof et<"u",dt=Dt?et.get(ht):void 0;return null==dt&&(dt=function ne(xe,Se){if(!xe)return[];
1var ae,fe,we,je=!1,et=[],ht=[],Dt=[],dt=!1,Pt=!1,Mt="",$t=0;function Re(){if(dt&&!Pt)for(;Dt.length;)delete ht[Dt.pop()];else Dt=[];dt=!1,Pt=!1}function Qe(me){if("string"==typeof me&&(me=me.split(V,2)),!l(me)||2!==me.length)throw new Error("Invalid tags: "+me);ae=new RegExp(O(me[0])+"\\s*"),fe=new RegExp("\\s*"+O(me[1])),we=new RegExp("\\s*"+O("}"+me[1]))}Qe(Se||de.tags);for(var Ge,mt,Vt,wt,Wt,Ee,Ke=new G(xe);!Ke.eos();){if(Ge=Ke.pos,Vt=Ke.scanUntil(ae))for(var Pe=0,q=Vt.length;Pe<q;++Pe)I(wt=Vt.charAt(Pe))?(Dt.push(ht.length),Mt+=wt):(Pt=!0,je=!0,Mt+=" "),ht.push(["text",wt,Ge,Ge+1]),Ge+=1,"\n"===wt&&(Re(),Mt="",$t=0,je=!1);if(!Ke.scan(ae))break;if(dt=!0,mt=Ke.scan(ye)||"name",Ke.scan(N),"="===mt?(Vt=Ke.scanUntil(b),Ke.scan(b),Ke.scanUntil(fe)):"{"===mt?(Vt=Ke.scanUntil(we),Ke.scan(ie),Ke.scanUntil(fe),mt="&"):Vt=Ke.scanUntil(fe),!Ke.scan(fe))throw new Error("Unclosed tag at "+Ke.pos);if(Wt=">"==mt?[mt,Vt,Ge,Ke.pos,Mt,$t,je]:[mt,Vt,Ge,Ke.pos],$t++,ht.push(Wt),"#"===mt||"^"===mt)et.push(Wt);else if("/"===mt){if(!(Ee=et.pop()))throw new Error('Unopened section "'+Vt+'" at '+Ge);if(Ee[1]!==Vt)throw new Error('Unclosed section "'+Ee[1]+'" at '+Ge)}else"name"===mt||"{"===mt||"&"===mt?Pt=!0:"="===mt&&Qe(Vt)}if(Re(),Ee=et.pop())throw new Error('Unclosed section "'+Ee[1]+'" at '+Ke.pos);return function W(xe){for(var ht,Se=[],je=Se,et=[],dt=0,Pt=xe.length;dt<Pt;++dt)switch(ht=xe[dt],ht[0]){case"#":case"^":je.push(ht),et.push(ht),je=ht[4]=[];break;case"/":et.pop()[5]=ht[2],je=et.length>0?et[et.length-1][4]:Se;break;default:je.push(ht)}return Se}(function z(xe){for(var je,et,Se=[],ht=0,Dt=xe.length;ht<Dt;++ht)(je=xe[ht])&&("text"===je[0]&&et&&"text"===et[0]?(et[1]+=je[1],et[3]=je[3]):(Se.push(je),et=je));return Se}(ht))}(Se,je),Dt&&et.set(ht,dt)),dt},Ce.prototype.render=function(Se,je,et,ht){var Dt=this.getConfigTags(ht),dt=this.parse(Se,Dt),Pt=je instanceof Y?je:new Y(je,void 0);return this.renderTokens(dt,Pt,et,Se,ht)},Ce.prototype.renderTokens=function(Se,je,et,ht,Dt){for(var Pt,Mt,$t,dt="",Re=0,ae=Se.length;Re<ae;++Re)$t=void 0,"#"===(Mt=(Pt=Se[Re])[0])?$t=this.renderSection(Pt,je,et,ht,Dt):"^"===Mt?$t=this.renderInverted(Pt,je,et,ht,Dt):">"===Mt?$t=this.renderPartial(Pt,je,et,Dt):"&"===Mt?$t=this.unescapedValue(Pt,je):"name"===Mt?$t=this.escapedValue(Pt,je,Dt):"text"===Mt&&($t=this.rawValue(Pt)),void 0!==$t&&(dt+=$t);return dt},Ce.prototype.renderSection=function(Se,je,et,ht,Dt){var dt=this,Pt="",Mt=je.lookup(Se[1]);if(Mt){if(l(Mt))for(var Re=0,ae=Mt.length;Re<ae;++Re)Pt+=this.renderTokens(Se[4],je.push(Mt[Re]),et,ht,Dt);else if("object"==typeof Mt||"string"==typeof Mt||"number"==typeof Mt)Pt+=this.renderTokens(Se[4],je.push(Mt),et,ht,Dt);else if($(Mt)){if("string"!=typeof ht)throw new Error("Cannot use higher-order sections without the original template");null!=(Mt=Mt.call(je.view,ht.slice(Se[3],Se[5]),function $t(fe){return dt.render(fe,je,et,Dt)}))&&(Pt+=Mt)}else Pt+=this.renderTokens(Se[4],je,et,ht,Dt);return Pt}},Ce.prototype.renderInverted=function(Se,je,et,ht,Dt){var dt=je.lookup(Se[1]);if(!dt||l(dt)&&0===dt.length)return this.renderTokens(Se[4],je,et,ht,Dt)},Ce.prototype.indentPartial=function(Se,je,et){for(var ht=je.replace(/[^ \t]/g,""),Dt=Se.split("\n"),dt=0;dt<Dt.length;dt++)Dt[dt].length&&(dt>0||!et)&&(Dt[dt]=ht+Dt[dt]);return Dt.join("\n")},Ce.prototype.renderPartial=function(Se,je,et,ht){if(et){var Dt=this.getConfigTags(ht),dt=$(et)?et(Se[1]):et[Se[1]];if(null!=dt){var $t=Se[4],Re=dt;0==Se[5]&&$t&&(Re=this.indentPartial(dt,$t,Se[6]));var ae=this.parse(Re,Dt);return this.renderTokens(ae,je,et,Re,ht)}}},Ce.prototype.unescapedValue=function(Se,je){var et=je.lookup(Se[1]);if(null!=et)return et},Ce.prototype.escapedValue=function(Se,je,et){var ht=this.getConfigEscape(et)||de.escape,Dt=je.lookup(Se[1]);if(null!=Dt)return"number"==typeof Dt&&ht===de.escape?String(Dt):ht(Dt)},Ce.prototype.rawValue=function(Se){return Se[1]},Ce.prototype.getConfigTags=function(Se){return l(Se)?Se:Se&&"object"==typeof Se?Se.tags:void 0},Ce.prototype.getConfigEscape=function(Se){if(Se&&"object"==typeof Se&&!l(Se))return Se.escape};var de={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(xe){Ae.templateCache=xe},get templateCache(){return Ae.templateCache}},Ae=new Ce;de.clearCache=function(){return Ae.clearCache()},de.parse=function(Se,je){return Ae.parse(Se,je)},de.render=function(Se,je,et,ht){if("string"!=typeof Se)throw new TypeError('Invalid template! Template should be a "string" but "'+function M(xe){return l(xe)?"array":typeof xe}(Se)+'" was given as the first argument for mustache#render(template, view, partials)');return Ae.render(Se,je,et,ht)},de.escape=function Z(xe){return String(xe).replace(/[&<>"'`=\/]/g,function(je){return P[je]})},de.Scanner=G,de.Context=Y,de.Writer=Ce;const Ye=de},467:(ze,se,f)=>{"use strict";function c($,M,O,x,R,T,_){try{var k=$[T](_),I=k.value}catch(P){return void O(P)}k.done?M(I):Promise.resolve(I).then(x,R)}function l($){return function(){var M=this,O=arguments;return new Promise(function(x,R){var T=$.apply(M,O);function _(I){c(T,x,R,_,k,"next",I)}function k(I){c(T,x,R,_,k,"throw",I)}_(void 0)})}}f.d(se,{A:()=>l})},1635:(ze,se,f)=>{"use strict";function P(Re,ae,fe,we){return new(fe||(fe=Promise))(function(Ke,Ge){function mt(Wt){try{wt(we.next(Wt))}catch(Ee){Ge(Ee)}}function Vt(Wt){try{wt(we.throw(Wt))}catch(Ee){Ge(Ee)}}function wt(Wt){Wt.done?Ke(Wt.value):function Qe(Ke){return Ke instanceof fe?Ke:new fe(function(Ge){Ge(Ke)})}(Wt.value).then(mt,Vt)}wt((we=we.apply(Re,ae||[])).next())})}function W(Re){return this instanceof W?(this.v=Re,this):new W(Re)}function G(Re,ae,fe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Qe,we=fe.apply(Re,ae||[]),Ke=[];return Qe=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),mt("next"),mt("throw"),mt("return",function Ge(q){return function(me){return Promise.resolve(me).then(q,Ee)}}),Qe[Symbol.asyncIterator]=function(){return this},Qe;function mt(q,me){we[q]&&(Qe[q]=function(Oe){return new Promise(function(it,
1jt){Ke.push([q,Oe,it,jt])>1||Vt(q,Oe)})},me&&(Qe[q]=me(Qe[q])))}function Vt(q,me){try{!function wt(q){q.value instanceof W?Promise.resolve(q.value.v).then(Wt,Ee):Pe(Ke[0][2],q)}(we[q](me))}catch(Oe){Pe(Ke[0][3],Oe)}}function Wt(q){Vt("next",q)}function Ee(q){Vt("throw",q)}function Pe(q,me){q(me),Ke.shift(),Ke.length&&Vt(Ke[0][0],Ke[0][1])}}function Ce(Re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var fe,ae=Re[Symbol.asyncIterator];return ae?ae.call(Re):(Re=function b(Re){var ae="function"==typeof Symbol&&Symbol.iterator,fe=ae&&Re[ae],we=0;if(fe)return fe.call(Re);if(Re&&"number"==typeof Re.length)return{next:function(){return Re&&we>=Re.length&&(Re=void 0),{value:Re&&Re[we++],done:!Re}}};throw new TypeError(ae?"Object is not iterable.":"Symbol.iterator is not defined.")}(Re),fe={},we("next"),we("throw"),we("return"),fe[Symbol.asyncIterator]=function(){return this},fe);function we(Ke){fe[Ke]=Re[Ke]&&function(Ge){return new Promise(function(mt,Vt){!function Qe(Ke,Ge,mt,Vt){Promise.resolve(Vt).then(function(wt){Ke({value:wt,done:mt})},Ge)}(mt,Vt,(Ge=Re[Ke](Ge)).done,Ge.value)})}}}f.d(se,{AQ:()=>G,N3:()=>W,sH:()=>P,xN:()=>Ce}),"function"==typeof SuppressedError&&SuppressedError}},ze=>{ze(ze.s=6171)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.