1(self.webpackChunkonboarding_app=self.webpackChunkonboarding_app||[]).push([[179],{871:(wt,Te,w)=>{"use strict";w.d(Te,{q:()=>sr,U:()=>Lt});var c=w(8018),E=w(4006),L=w(590),ce=w(849),v=w(4650),oe=w(8520),J=w(2930),se=w(4896),he=w(7579);class pe{constructor(ke){this.router=ke,this.subject=new he.x,this.keepAfterRouteChange=!1,this.router.events.subscribe(Oe=>{Oe instanceof c.OD&&(this.keepAfterRouteChange?this.keepAfterRouteChange=!1:this.clear())})}getAlert(){return this.subject.asObservable()}success(ke,Oe=!1){this.keepAfterRouteChange=Oe,this.subject.next({type:"success",text:ke})}error(ke,Oe=!1){console.error(ke),this.keepAfterRouteChange=Oe,this.subject.next({type:"error",text:ke})}clear(){this.subject.next(null)}}pe.\u0275fac=function(ke){return new(ke||pe)(v.LFG(c.F0))},pe.\u0275prov=v.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"});var re=w(6201),te=w(8505),le=w(262),q=w(2340),Be=w(9126),ht=w(529),Fe=w(4479),me=w(4463);const Pe="gtag('js', new Date());gtag('consent', 'default', { 'ad_storage': 'granted', 'ad_user_data': 'granted', 'ad_personalization': 'granted', 'analytics_storage': 'granted' });";class we{constructor(ke,Oe,ot,mt,Mt){this.http=ke,this.store=Oe,this.affiliateService=ot,this.errorService=mt,this.translateService=Mt,ot.affiliate.subscribe(Pn=>
1{Pn&&(this.getDictionaries(Pn?.guid,Pn.signupConfig?.configName),this.loadLocalizationTexts(Pn.culture))})}customHeaderTrackingScripts(ke){ke.forEach(Oe=>document.head.append(Oe))}loadGoogleAnalytics(ke){let Oe=document.createElement("script");Oe.setAttribute("async","true"),Oe.setAttribute("src",`https://www.googletagmanager.com/gtag/js?id=${ke}`);let ot=document.createElement("script");ot.innerText=`window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}${Pe}gtag('config', '${ke}');`,document.head.append(Oe,ot)}loadLocalizationTexts(ke){const Oe=document.createElement("script");Oe.setAttribute("async","true"),Oe.setAttribute("src",`${q.N.signupUrl}/api/Localization/GetLocaltexts?area=&type=interests&culture=${ke}`),Oe.onload=()=>{const ot=window.localtexts;if(!ot?.length)return;const mt=ot.reduce((Mt,{k:Pn,v:xt})=>({...Mt,[Pn.replace(" interest","")]:xt}),{});this.translateService.setTranslation(ke,mt,!0)},document.head.append(Oe)}addAdWordsTrackingsForPage(ke){const Oe=ke.map(ot=>{let mt=document.createElement("script");return mt.innerText=`${Pe}gtag('config', '${ot}');`,mt});document.head.append(...Oe)}convertLookupsFromApi(ke,Oe){return(ke||[]).map(ot=>({...ot,title:"pt"==Oe||"es"==Oe?ot.titleEs:ot.titleEn,selected:ot.selectedId?JSON.parse(ot.options).find(mt=>mt.id===ot.selectedId)?.["es"==Oe||"pt"==Oe?"es":"en"]??"":"",options:JSON.parse(ot.options).map(mt=>({...mt,title:"es"==Oe||"pt"==Oe?mt.es:mt.en,selected:mt.id===ot.selectedId}))}))}getDictionaries(ke,Oe){return this.http.get(`${q.N.signupUrl}/api/signupapi/w/${ke}/signup-dictionaries`).pipe((0,te.b)(ot=>{"EN_Affinity_Maga"===Oe&&(ot.lookingFor=ot.lookingFor?.filter(mt=>16!==Number(mt.key)),ot.memberType=ot.memberType?.filter(mt=>16!==Number(mt.key))),ot.lookups&&(ot.lookupOptions=this.convertLookupsFromApi(ot.lookups)),ot.trackingId&&(this.loadGoogleAnalytics(ot.trackingId),ot.conversionIds&&this.addAdWordsTrackingsForPage(ot.conversionIds),ot.codeScript&&this.customHeaderTrackingScripts(ot.codeScript))}),(0,le.K)(this.errorService.handleError(`api/signupapi/w/${ke}/signup-dictionaries`))).subscribe(ot=>{this.store.dispatch(Be.oA.getDictionaries({dictionaries:ot}))})}}we.\u0275fac=function(ke){return new(ke||we)(v.LFG(ht.eN),v.LFG(J.yh),v.LFG(oe.C),v.LFG(Fe.r),v.LFG(me.sK))},we.\u0275prov=v.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"});var Ae=w(6895),ee=w(4358),Qe=w(4984);function tt(He,ke){if(1&He&&(v.TgZ(0,"div",1),v._uU(1),v.qZA()),2&He){const Oe=v.oxw();v.Q6J("ngClass",Oe.message.cssClass),v.xp6(1),v.Oqu(Oe.message.text)}}class dt{constructor(ke){this.alertService=ke}ngOnInit(){this.subscription=this.alertService.getAlert().subscribe(ke=>{switch(ke&&ke.type){case"success":ke.cssClass="alert alert-success";break;case"error":ke.cssClass="alert alert-danger";break;case"info":ke.cssClass="alert alert-info"}this.message=ke})}ngOnDestroy(){this.subscription?.unsubscribe()}}dt.\u0275fac=function(ke){return new(ke||dt)(v.Y36(pe))},dt.\u0275cmp=v.Xpm({type:dt,selectors:[["app-alert"]],decls:1,vars:1,consts:[[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(ke,Oe){1&ke&&v.YNc(0,tt,2,2,"div",0),2&ke&&v.Q6J("ngIf",Oe.message)},dependencies:[Ae.mk,Ae.O5]});var it=w(620);function ae(He,ke){1&He&&(v.TgZ(0,"header")(1,"h1"),v._uU(2),v.ALo(3,"translate"),v.qZA()()),2&He&&(v.xp6(2),v.Oqu(v.lcZ(3,1,"Member Login")))}function fe(He,ke){1&He&&(v.TgZ(0,"header")(1,"h1"),v._uU(2),v.ALo(3,"translate"),v.qZA()()),2&He&&(v.xp6(2),v.Oqu(v.lcZ(3,1,"Sign in")))}function ie(He,ke){1&He&&(v.TgZ(0,"p",26)(1,"span"),v._uU(2),v.ALo(3,"translate"),v.qZA()()),2&He&&(v.xp6(2),v.Oqu(v.lcZ(3,1,"Or")))}function Ie(He,ke){if(1&He){const Oe=v.EpF();v.TgZ(0,"div",22)(1,"a",23),v.NdJ("click",function(){v.CHM(Oe);const mt=v.oxw();return v.KtG(mt.oAuthRedirect())}),v._UZ(2,"google-icon",24),v._uU(3),v.ALo(4,"translate"),v.qZA(),v.YNc(5,ie,4,3,"p",25),v.qZA()}if(2&He){const Oe=v.oxw();v.xp6(2),v.Q6J("size",25),v.xp6(1),v.hij(" ",v.lcZ(4,3,"Continue with Google")," "),v.xp6(2),v.Q6J("ngIf","social"!==Oe.mode)}}function be(He,ke){1&He&&(v.TgZ(0,"p",30)(1,"span"),v._uU(2),v.ALo(3,"translate"),v.qZA()()),2&He&&(v.xp6(2),v.Oqu(v.lcZ(3,1,"Or")))}function et(He,ke){if(1&He&&(v.TgZ(0,"div",27),v._UZ(1,"div",28),v.YNc(2,be,4,3,"p",29),v.qZA()),2&He){const Oe=v.oxw();v.xp6(2),v.Q6J("ngIf","social"!==Oe.mode)}}function ut(He,ke){1&He&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&He&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"Username is required")," "))}function Xe(He,ke){if(1&He&&(v.TgZ(0,"div",42),v.YNc(1,ut,3,3,"div",10),v.qZA()),2&He){const Oe=v.oxw(2);v.xp6(1),v.Q6J("ngIf",Oe.loginForm.controls.username.errors.required)}}function ye(He,ke){1&He&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&He&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"Password is required")," "))}function Se(He,ke){if(1&He&&(v.TgZ(0,"div",42),v.YNc(1,ye,3,3,"div",10),v.qZA()),2&He){const Oe=v.oxw(3);v.xp6(1),v.Q6J("ngIf",Oe.loginForm.controls.password.errors.required)}}const Le=function(He){return{"w100 input_profilename w-input":!0,"is-invalid":He}};function Dt(He,ke){if(1&He&&(v.TgZ(0,"div",31)(1,"div",32),v._UZ(2,"input",43,44),v.ALo(4,"translate"),v.YNc(5,Se,2,1,"div",35),v.qZA()()),2&He){const Oe=v.oxw(2);v.xp6(2),v.s9C("placeholder",v.lcZ(4,5,"Password")),v.Q6J("formControl",Oe.loginForm.controls.password)("disabled",Oe.submitting)("ngClass",v.VKq(7,Le,Oe.submitted&&Oe.loginForm.controls.password.errors)),v.xp6(3),v.Q6J("ngIf",Oe.submitted&&Oe.loginForm.controls.password.errors)}}function Ee(He,ke){if(1&He&&(v.TgZ(0,"button",45),v._uU(1),v.ALo(2,"translate"),v._UZ(3,"app-spinner",46),v.qZA()),2&He){const Oe=v.oxw(2);v.Q6J("disabled",Oe.submitting),v.xp6(1),v.hij(" ",v.lcZ(2,4,"Login")," "),v.xp6(2),v.Q6J("inline",!0)("loading",Oe.submitting)}}function rt(He,ke){if(1&He){const Oe=v.EpF();v.TgZ(0,"div")(1,"div",31)(2,"div",32)(3,"input",33,34),v.NdJ("focus",function(){v.CHM(Oe);const mt=v.oxw();return v.KtG(mt.passwordVisible=!0)})("keypress",function(){v.CHM(Oe);const mt=v.oxw();return v.KtG(mt.passwordVisible=!0)}),v.ALo(5,"translate"),v.qZA(),v.YNc(6,Xe,2,1,"div",35),v.qZA()(),v.YNc(7,Dt,6,9,"div",36),v.TgZ(8,"div",37),v.YNc(9,Ee,4,6,"button",38),v.TgZ(10,"p",39)(11,"a",40),v.NdJ("click",function(){v.CHM(Oe);const mt=v.oxw();return v.KtG(mt.mode="askpassword")}),v._uU(12),v.ALo(13,"translate"),v.qZA()(),v.TgZ(14,"p",41)(15,"a",40),v.NdJ("click",function(){v.CHM(Oe);const mt=v.oxw();return v.KtG(mt.mode="sendloginlink")}),v._uU(16),v.ALo(17,"translate"),v.qZA()()()()}if(2&He){const Oe=v.oxw();v.xp6(3),v.s9C("placeholder",v.lcZ(5,9,"Please enter your email address")),v.Q6J("disabled",Oe.submitting)("formControl",Oe.loginForm.controls.username)("ngClass",v.VKq(15,Le,Oe.submitted&&Oe.loginForm.controls.username.errors)),v.xp6(3),v.Q6J("ngIf",Oe.submitted&&Oe.loginForm.controls.username.errors),v.xp6(1),v.Q6J("ngIf",Oe.passwordVisible),v.xp6(2),v.Q6J("ngIf","normal"===Oe.mode),v.xp6(3),v.Oqu(v.lcZ(13,11,"Forgot password?")),v.xp6(4),v.Oqu(v.lcZ(17,13,"Send Login Link"))}}function z(He,ke){1&He&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&He&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"Email is required")," "))}function X(He,ke){if(1&He&&(v.TgZ(0,"div",42),v.YNc(1,z,3,3,"div",10),v.qZA()),2&He){const Oe=v.oxw(2);v.xp6(1),v.Q6J("ngIf",Oe.loginForm.controls.email.errors.required)}}function Je(He,ke){1&He&&(v.TgZ(0,"alert",53),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&He&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"Weve_emailed_a_new_code_to_you")))}function St(He,ke){1&He&&(v.TgZ(0,"alert",54),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&He&&(v.xp6(1),v.Oqu(v.lcZ(2,1,"Sorry we cant find your account, please try to restore password")))}function Tt(He,ke){if(1&He){const Oe=v.EpF();v.TgZ(0,"div")(1,"div",31)(2,"div",32),v._UZ(3,"input",47,34),v.ALo(5,"translate"),v.TgZ(6,"p",48),v._uU(7),v.ALo(8,"translate"),v.qZA(),v.YNc(9,X,2,1,"div",35),v.qZA()(),v.YNc(10,Je,3,3,"alert",49),v.YNc(11,St,3,3,"alert",50),v.TgZ(12,"div",51)(13,"button",52),v.NdJ("click",function(){v.CHM(Oe);const mt=v.oxw();return v.KtG(mt.sendEmailLoginLink())}),v._uU(14),v.ALo(15,"translate"),v._UZ(16,"app-spinner",46),v.qZA(),v.TgZ(17,"p",39)(18,"a",40),v.NdJ("click",function(){v.CHM(Oe);const mt=v.oxw();return v.KtG(mt.mode="normal")}),v._uU(19),v.ALo(20,"translate"),v.qZA()()()()}if(2&He){const Oe=v.oxw();v.xp6(3),v.s9C("placeholder",v.lcZ(5,13,"Email Address")),v.Q6J("disabled",Oe.submitting)("formControl",Oe.loginForm.controls.email)("ngClass",v.VKq(21,Le,Oe.submittedEmail&&Oe.loginForm.controls.email.errors)),v.xp6(4),v.hij(" ",v.lcZ(8,15,"One time login link your account sent to your registered email")," "),v.xp6(2),v.Q6J("ngIf",Oe.submittedEmail&&Oe.loginForm.controls.email.errors),v.xp6(1),v.Q6J("ngIf",!0===Oe.validationEmailIsSent),v.xp6(1),v.Q6J("ngIf",!0===Oe.memberNotFound),v.xp6(2),v.Q6J("disabled",Oe.submitting),v.xp6(1),v.hij(" ",v.lcZ(15,17,"Send Login Link")," "),v.xp6(2),v.Q6J("inline",!0)("loading",Oe.submitting),v.xp6(3),v.Oqu(v.lcZ(20,19,"Use password instead"))}}function Nn(He,ke){1&He&&(v.TgZ(0,"div"),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&He&&(v.xp6(1),v.hij(" ",v.lcZ(2,1,"Email is required")," "))}function An(He,ke){if(1&He&&(v.TgZ(0,"div",42),v.YNc(1,Nn,3,3,"div",10),v.qZA()),2&He){const Oe=v.oxw(2);v.xp6(1),v.Q6J("ngIf",Oe.loginForm.controls.email.errors.required)}}function En(He,ke){if(1&He&&(v.TgZ(0,"alert",56),v._uU(1),v.qZA()),2&He){const Oe=v.oxw(2);v.Q6J("type",Oe.sendForgotResult.result?"info":"danger"),v.xp6(1),v.Oqu(Oe.sendForgotResult.message)}}function Mn(He,ke){if(1&He){const Oe=v.EpF();v.TgZ(0,"div")(1,"div",31)(2,"div",32),v._UZ(3,"input",47,34),v.ALo(5,"translate"),v.YNc(6,An,2,1,"div",35),v.qZA()(),v.YNc(7,En,2,2,"alert",55),v.TgZ(8,"div",51)(9,"button",52),v.NdJ("click",function(){v.CHM(Oe);const mt=v.oxw();return v.KtG(mt.sendEmailResetLink())}),v._uU(10),v.ALo(11,"translate"),v._UZ(12,"app-spinner",46),v.qZA(),v.TgZ(13,"p",39)(14,"a",40),v.NdJ("click",function(){v.CHM(Oe);const mt=v.oxw();return v.KtG(mt.mode="sendloginlink")}),v._uU(15),v.ALo(16,"translate"),v.qZA()()()()}if(2&He){const Oe=v.oxw();v.xp6(3),v.s9C("placeholder",v.lcZ(5,11,"Email Address")),v.Q6J("disabled",Oe.submitting)("formControl",Oe.loginForm.controls.email)("ngClass",v.VKq(17,Le,Oe.submittedEmail&&Oe.loginForm.controls.email.errors)),v.xp6(3),v.Q6J("ngIf",Oe.submittedEmail&&Oe.loginForm.controls.email.errors),v.xp6(1),v.Q6J("ngIf",Oe.sendForgotResult),v.xp6(2),v.Q6J("disabled",Oe.submitting),v.xp6(1),v.hij(" ",v.lcZ(11,13,"Send Reset Link")," "),v.xp6(2),v.Q6J("inline",!0)("loading",Oe.submitting),v.xp6(3),v.Oqu(v.lcZ(16,15,"Send login link instead"))}}function xn(He,ke){if(1&He&&(v.TgZ(0,"a",20),v._uU(1),v.ALo(2,"translate"),v.qZA()),2&He){const Oe=v.oxw();v.Q6J("href",Oe.affiliateService.contentUrl("terms2257"),v.LSH),v.xp6(1),v.Oqu(v.lcZ(2,2,"2257"))}}class nr{constructor(ke,Oe,ot,mt,Mt,Pn,xt,Tn,qn,Cn){this.affiliateService=ke,this.route=Oe,this.store=ot,this.fb=mt,this.memberService=Mt,this.ngZone=Pn,this.alertService=xt,this.jwt=Tn,this.cookieService=qn,this.dictionariesService=Cn,this.passwordVisible=!1,this.submitted=!1,this.submittedEmail=!1,this.validationEmailIsSent=!1,this.sendForgotResult=void 0,this.memberNotFound=!1,this.submitting=!1,this.affiliate=null,this.domainAffiliate=null,this.googleInitId=0,this.qsParams="",this.headerText="",this.bodyText="",this.isWld=!1,this.isWldLoginError=!1,this.signupUrl="",this.mode="normal",this.loginForm=this.fb.group({}
1),"social"===this.route.snapshot.data.mode&&(this.mode="social"),this.route.snapshot.queryParams.wld&&(this.isWld=!0),this.route.snapshot.queryParams.culture&&(this.affiliateService.culture=this.route.snapshot.queryParams.culture),this.route.paramMap.subscribe(dr=>{const _n=dr.get("partnerId");_n&&(this.affiliateService.partnerId=_n)}),this.sendLoginResult()}onOAuthSignIn(ke){ke&&(this.submitting=!0,this.memberService.socialLogin(ke).pipe((0,L.P)()).subscribe({next:Oe=>{this.submitted=!1,Oe&&Oe.redirectUrl?window.location.href=Oe.redirectUrl+(this.signupData?`&signupData=${this.signupData}`:"")+this.qsParams:this.submitting=!1},error:Oe=>{this.alertService.error(Oe.error.message),this.submitted=!1,this.submitting=!1}}))}ngAfterViewInit(){}ngOnInit(){this.returnUrl=this.route.snapshot.queryParams.returnUrl||"/",this.signupData=this.route.snapshot.queryParams.signupData||"",this.qsParams=Object.keys(this.route.snapshot.queryParams).filter(ke=>"signupData"!=ke&&"returnUrl"!=ke).map(ke=>`${ke}=${this.route.snapshot.queryParams[ke]}`).join("&"),this.affiliateSubscription=this.affiliateService.affiliate.subscribe(ke=>{if(this.affiliate=ke,ke){document.title=`Login - ${ke?.name}`,window["user-anonymous"]=!0;const ot=document.getElementsByTagName("head")[0];let mt=document.createElement("script");mt.setAttribute("async","true"),mt.setAttribute("defer","true"),mt.setAttribute("src",`https://hp-app-identity.azurewebsites.net/api/affiliates/js/auth/${ke.guid}`),ot.appendChild(mt),this.signupUrl=`https://${ke?.landingUrl||ke?.siteUrl}/signup?${this.qsParams}`}}),this.domainAffiliateSubscription=this.affiliateService.domainAffiliate.subscribe(ke=>{this.domainAffiliate=ke,this.domainAffiliate?.googleClientId&&this.initGoogleAuth()}),this.loginForm=this.fb.group({username:["",E.kI.required],password:["",E.kI.required],email:["",this.emailValidator()]})}emailValidator(){return ke=>"askpassword"===this.mode||"sendloginlink"===this.mode?E.kI.compose([E.kI.required,E.kI.email])(ke):E.kI.nullValidator(ke)}ngOnDestroy(){this.domainAffiliateSubscription?.unsubscribe(),this.affiliateSubscription?.unsubscribe()}get f(){return this.loginForm.controls}sendLoginResult(){const ke=window;ke.webkit&&ke.webkit.messageHandlers&&ke.webkit.messageHandlers.logout&&ke.webkit.messageHandlers.logout.postMessage(null),ke.Android&&ke.Android.logout&&ke.Android.logout()}sendEmailResetLink(){this.submittedEmail=!0;const{email:ke}=this.f;if(ke.valid)return this.memberService.sendEmailReset(ke.value).subscribe({next:Oe=>{this.submitting=!1,this.sendForgotResult=Oe},error:Oe=>{console.log(Oe),this.submitting=!1}}),!1}sendEmailLoginLink(){this.submittedEmail=!0;const{email:ke}=this.f;if(ke.valid)return this.memberService.sendEmailLogin(ke.value).subscribe({next:Oe=>{this.submitting=!1,Oe.result?this.validationEmailIsSent=!0:this.memberNotFound=!0},error:Oe=>{console.log(Oe),this.submitting=!1,this.memberNotFound=!0}}),!1}onSubmit(){if(this.submitted=!0,this.alertService.clear(),this.loginForm.invalid)return;if("askpassword"===this.mode)return void this.sendEmailResetLink();if("sendloginlink"===this.mode)return void this.sendEmailLoginLink();const{username:ke,password:Oe}=this.f;this.submitting=!0,this.memberService.login(ke?.value,Oe?.value).pipe((0,L.P)()).subscribe({next:ot=>{ot&&ot.redirectUrl?window.location.href=ot.redirectUrl+(this.signupData?`&signupData=${this.signupData}`:"")+(this.qsParams?`&${this.qsParams}`:""):this.submitting=!1},error:ot=>{this.submitting=!1,this.alertService.error(ot.error.message),this.isWldLoginError=ce.z8.includes(this.affiliate?.signupConfig.configName??"")}})}oAuthRedirect(){this.affiliate?.parentAffiliate&&(document.location.href=`https://${this.affiliate?.parentAffiliate.occamSiteUrl.replace("auth.","hub.")}/s/login/${this.affiliate?.guid}/`)}initGoogleAuth(){const ke=window;ke.onSignIn=ot=>{this.ngZone.run(()=>{if(ot&&ot.credential){const mt=this.jwt.decodeJwtResponse(ot.credential),Mt={...mt,provider:"GOOGLE",providerUserId:mt.sub};this.onOAuthSignIn(Mt)}})};const Oe=window.setInterval(()=>{const ot=ke.google;ot&&(window.clearInterval(Oe),ot.accounts.id.initialize({client_id:this.domainAffiliate?.googleClientId,callback:ke.onSignIn}),ot.accounts.id.renderButton(document.getElementById("googleLogin"),{theme:"outline",size:"large",type:"standard",text:"sign_in_with",shape:"rectangular"}))},100)}}nr.\u0275fac=function(ke){return new(ke||nr)(v.Y36(oe.C),v.Y36(c.gz),v.Y36(J.yh),v.Y36(E.qu),v.Y36(se.nh),v.Y36(v.R0b),v.Y36(pe),v.Y36(se.Tj),v.Y36(re.N_),v.Y36(we))},nr.\u0275cmp=v.Xpm({type:nr,selectors:[["app-login"]],decls:53,vars:40,consts:[[1,"su-main"],[1,"container-md","app-container","su-main-subheader"],[1,"row","flex-grow-1","su-step-header-row"],[1,"col-12","position-relative","header-container","mt-2","su-step-header"],[1,"flex-grow-1","mh-100","container-md","app-container","overflow-auto","hub-scrollbar","su-step-body"],[1,"row"],[1,"col","d-flex","justify-content-center","text-center"],[1,"step","d-flex","flex-column","flex-1","su-step-container"],[1,"d-flex","flex-column","justify-content-center","flex-1","ps-4","pe-4","mb-2","mt-1","su-step-body",3,"formGroup","ngSubmit"],[1,"d-flex","flex-column","mh-100"],[4,"ngIf"],[1,"d-flex","flex-row","justify-content-center","flex-1"],[1,"w-100","mt-2","mb-2"],["class","social-wrapper justify-content-center mt-4 d-flex flex-column",4,"ngIf"],["class","row justify-content-center mt-2 mb-2",4,"ngIf"],[1,"form_row","footer-row"],[1,"footer_text"],["rel","nofollow",3,"href"],["target","_blank",3,"href"],[1,"footer_text","mt-2","fs-10"],[3,"href"],[3,"href",4,"ngIf"],[1,"social-wrapper","justify-content-center","mt-4","d-flex","flex-column"],["href","javascript:void(0)",1,"btn","btn-sm","bg-white","mt-0","text-start","d-flex","align-self-center","align-items-center",3,"click"],[1,"me-2",3,"size"],["class","text-center crossed-line mt-4 mb-4",4,"ngIf"],[1,"text-center","crossed-line","mt-4","mb-4"],[1,"row","justify-content-center","mt-2","mb-2"],["id","googleLogin",1,"mt-2","mb-2","d-flex","justify-content-center"],["class","text-center crossed-line mt-2 mb-2",4,"ngIf"],[1,"text-center","crossed-line","mt-2","mb-2"],[1,"row","justify-content-center","mb-2"],[1,"form-group","col-12"],["type","text",1,"form-control","form-control-lg","col-12",3,"disabled","placeholder","formControl","ngClass","focus","keypress"],["username",""],["class","invali
1d-feedback",4,"ngIf"],["class","row justify-content-center mb-2",4,"ngIf"],[1,"btn-container","mt-2","text-center","su-desktop-button"],["id","next-button","class","btn btn-primary button_main mt-2 mb-2 btn-lg col-6 fw-bold pe-auto",3,"disabled",4,"ngIf"],[1,"text_below","mb-2"],["href","javascript:void(0)",3,"click"],[1,"text_below"],[1,"invalid-feedback"],["type","password",1,"form-control","form-control-lg","col-12",3,"formControl","disabled","placeholder","ngClass"],["password",""],["id","next-button",1,"btn","btn-primary","button_main","mt-2","mb-2","btn-lg","col-6","fw-bold","pe-auto",3,"disabled"],[3,"inline","loading"],["type","text",1,"form-control","form-control-lg","col-12",3,"disabled","placeholder","formControl","ngClass"],[1,"footer_text","mt-1","mb-2"],["class","d-block mt-2 mb-2","type","info",4,"ngIf"],["class","d-block mt-2 mb-2","type","danger",4,"ngIf"],[1,"btn-container","mt-2","text-center"],["id","next-button",1,"btn","btn-primary","button_main","mt-2","mb-2","btn-lg","col-6","fw-bold","pe-auto",3,"disabled","click"],["type","info",1,"d-block","mt-2","mb-2"],["type","danger",1,"d-block","mt-2","mb-2"],["class","d-block mt-2 mb-2",3,"type",4,"ngIf"],[1,"d-block","mt-2","mb-2",3,"type"]],template:function(ke,Oe){1&ke&&(v.TgZ(0,"div",0)(1,"div",1)(2,"div",2),v._UZ(3,"div",3),v.qZA()(),v.TgZ(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"form",8),v.NdJ("ngSubmit",function(){return Oe.onSubmit()}),v.TgZ(9,"div",9),v.YNc(10,ae,4,3,"header",10),v.YNc(11,fe,4,3,"header",10),v.TgZ(12,"div",11)(13,"div",12),v._UZ(14,"app-alert"),v.YNc(15,Ie,6,5,"div",13),v.YNc(16,et,3,1,"div",14),v.YNc(17,rt,18,17,"div",10),v.qZA()(),v.YNc(18,Tt,21,23,"div",10),v.YNc(19,Mn,17,19,"div",10),v.qZA()(),v.TgZ(20,"div",15)(21,"p",16),v._uU(22),v.ALo(23,"translate"),v.TgZ(24,"a",17),v._uU(25),v.ALo(26,"translate"),v.qZA(),v._uU(27," | "),v.TgZ(28,"a",18),v._uU(29),v.ALo(30,"translate"),v.qZA()(),v.TgZ(31,"p",19)(32,"a",20),v._uU(33),v.ALo(34,"translate"),v.qZA(),v._uU(35,"\xa0 "),v.TgZ(36,"a",20),v._uU(37),v.ALo(38,"translate"),v.qZA(),v._uU(39,"\xa0 "),v.TgZ(40,"a",20),v._uU(41),v.ALo(42,"translate"),v.qZA(),v._UZ(43,"br"),v.TgZ(44,"a",20),v._uU(45),v.ALo(46,"translate"),v.qZA(),v._uU(47,"\xa0 "),v.TgZ(48,"a",20),v._uU(49),v.ALo(50,"translate"),v.qZA(),v._uU(51,"\xa0 "),v.YNc(52,xn,3,4,"a",21),v.qZA()()()()()()()),2&ke&&(v.xp6(8),v.Q6J("formGroup",Oe.loginForm),v.xp6(2),v.Q6J("ngIf","social"!==Oe.mode),v.xp6(1),v.Q6J("ngIf","social"===Oe.mode),v.xp6(4),v.Q6J("ngIf",(null==Oe.affiliate?null:Oe.affiliate.parentAffiliate)&&!(null!=Oe.domainAffiliate&&Oe.domainAffiliate.googleClientId)),v.xp6(1),v.Q6J("ngIf",null==Oe.domainAffiliate?null:Oe.domainAffiliate.googleClientId),v.xp6(1),v.Q6J("ngIf","normal"===Oe.mode),v.xp6(1),v.Q6J("ngIf","sendloginlink"===Oe.mode),v.xp6(1),v.Q6J("ngIf","askpassword"===Oe.mode),v.xp6(3),v.hij(" ",v.lcZ(23,24,"Forgotten your login details?")," "),v.xp6(2),v.Q6J("href",null==Oe.affiliate?null:Oe.affiliate.forgotPasswordUrl,v.LSH),v.xp6(1),v.Oqu(v.lcZ(26,26,"Retrieve them now")),v.xp6(3),v.Q6J("href",null==Oe.affiliate?null:Oe.affiliate.contactUsUrl,v.LSH),v.xp6(1),v.hij(" ",v.lcZ(30,28,"Contact Us")," "),v.xp6(3),v.Q6J("href",Oe.affiliateService.contentUrl("terms"),v.LSH),v.xp6(1),v.hij(" ",v.lcZ(34,30,"TermsAndConditions"),""),v.xp6(3),v.Q6J("href",Oe.affiliateService.contentUrl("privacy"),v.LSH),v.xp6(1),v.hij(" ",v.lcZ(38,32,"Privacy Policy"),""),v.xp6(3),v.Q6J("href",Oe.affiliateService.contentUrl("modernslaverystatement"),v.LSH),v.xp6(1),v.hij(" ",v.lcZ(42,34,"Modern Slavery Statement"),""),v.xp6(3),v.Q6J("href",Oe.affiliateService.contentUrl("complaintsandcontentremovalpolicy"),v.LSH),v.xp6(1),v.hij(" ",v.lcZ(46,36,"Complaints & Content Removal Policy"),""),v.xp6(3),v.Q6J("href",Oe.affiliateService.contentUrl("cookie"),v.LSH),v.xp6(1),v.hij(" ",v.lcZ(50,38,"Cookie Policy"),""),v.xp6(3),v.Q6J("ngIf",1===(null==Oe.affiliate?null:Oe.affiliate.businessId)))},dependencies:[Ae.mk,Ae.O5,ee.wx,E._Y,E.Fj,E.JJ,E.JL,E.oH,E.sg,Qe.O,dt,it._,me.X$],styles:[".step[_ngcontent-%COMP%]{max-width:500px;min-height:500px}"]});var Kr=w(1103);class on{constructor(ke,Oe,ot,mt,Mt,Pn){this.affiliateService=ke,this.stepService=Oe,this.route=ot,this.store=mt,this.memberService=Mt,this.dictionariesService=Pn,this.store.dispatch(Be._0.setQueryData(this.route.
1snapshot.queryParams)),this.route.snapshot.queryParams.culture&&(this.affiliateService.culture=this.route.snapshot.queryParams.culture),this.route.paramMap.subscribe(xt=>{const Tn=xt.get("partnerId");Tn?this.affiliateService.partnerId=Tn:this.affiliateService.getAffiliateByUid()}),ke.affiliate.subscribe(xt=>{if(document.title="es"===xt?.culture?`Reg\xedstrate con ${xt?.name}`:`Register with ${xt?.name}`,xt&&!this.memberService.memberInitialized){if(this.initByToken(xt,this.route.snapshot.params))return;if(this.initByToken(xt,this.route.snapshot.queryParams))return;this.memberService.load(xt).subscribe(()=>{this.store.dispatch(Be._0.setQueryData(this.route.snapshot.queryParams))})}}),Mt.adwords.subscribe(xt=>{const{gtag:Tn}=window;Tn&&(Tn("js",new Date),Tn("set","user_data",{email:Mt.member?.email})),xt&&xt.forEach(dr=>{dr.sendTo&&dr.sendTo.length>0&&Tn("event","sign_up",{method:"Email",send_to:dr.sendTo}),dr.googleConversionId&&Tn("event","conversion",{send_to:"AW-"+dr.googleConversionId+"/"+dr.googleConversionLabel})})})}ngOnInit(){}initByToken(ke,Oe){return!(!Oe||!Oe.token||Oe.token===this.authToken||(this.authToken=Oe.token,this.memberService.load(ke,Oe.token).subscribe(ot=>{this.store.dispatch(Be._0.setQueryData(this.route.snapshot.queryParams))},()=>{this.memberService.load(ke).subscribe(()=>{this.store.dispatch(Be._0.setQueryData(this.route.snapshot.queryParams))})}),0))}}on.\u0275fac=function(ke){return new(ke||on)(v.Y36(oe.C),v.Y36(Kr.K),v.Y36(c.gz),v.Y36(J.yh),v.Y36(se.nh),v.Y36(we))},on.\u0275cmp=v.Xpm({type:on,selectors:[["app-register"]],hostAttrs:[2,"display","contents"],decls:1,vars:0,template:function(ke,Oe){1&ke&&v._UZ(0,"router-outlet")},dependencies:[c.lC]});var kn=w(622);class ir{constructor(ke,Oe,ot,mt){this.affiliateService=ke,this.route=Oe,this.memberService=ot,this.alertService=mt,this.submitted=!1,this.submitting=!1,this.affiliate=null,this.domainAffiliate=null,this.qsParams="",this.xPassportId="",this.route.paramMap.subscribe(Mt=>{const Pn=Mt.get("partnerId");Pn&&(this.affiliateService.partnerId=Pn);const xt=Mt.get("passportId");xt&&(this.xPassportId=xt)})}ngAfterViewInit(){}ngOnInit(){this.domainAffiliateSubscription=this.affiliateService.domainAffiliate.subscribe(ke=>{this.domainAffiliate=ke}),this.returnUrl=this.route.snapshot.queryParams.returnUrl,this.signupData=this.route.snapshot.queryParams.signupData||"",this.qsParams=Object.keys(this.route.snapshot.queryParams).filter(ke=>"signupData"!=ke&&"returnUrl"!=ke).map(ke=>`&${ke}=${this.route.snapshot.queryParams[ke]}`).join(""),this.affiliateSubscription=this.affiliateService.affiliate.subscribe(ke=>{this.affiliate=ke,ke&&(document.title=`Signup - ${ke?.name}`),this.signupUrl=`https://${ke?.landingUrl||ke?.siteUrl}/signup?${this.qsParams}`})}ngOnDestroy(){this.affiliateSubscription?.unsubscribe(),this.domainAffiliateSubscription?.unsubscribe()}onClose(){this.returnUrl?window.location.href=this.returnUrl:history.length>0?history.back():window.location.href=this.signupUrl?this.signupUrl:"/"}onSubmit(){this.submitted=!0,this.submitting=!0,this.memberService.xreg(this.xPassportId).pipe((0,L.P)()).subscribe({next:ke=>{ke&&ke.Url?window.location.href=ke.Url+(this.signupData?`&signupData=${this.signupData}`:"")+this.qsParams:(this.submitting=!1,this.alertService.error(ke.Message??"Error occured during registration"))},error:ke=>{this.submitting=!1,this.alertService.error(ke?.error?.message??"Error occured during registration")}})}}ir.\u0275fac=function(ke){return new(ke||ir)(v.Y36(oe.C),v.Y36(c.gz),v.Y36(se.nh),v.Y36(pe))},ir.\u0275cmp=v.Xpm({type:ir,selectors:[["app-xreg"]],decls:39,vars:28,consts:[[1,"su-main"],[1,"container-md","app-container","su-main-subheader"],[1,"row","flex-grow-1","su-step-header-row"],[1,"col-12","position-relative","header-container","mt-2","su-step-header"],[1,"flex-grow-1","mh-100","container-md","app-container","overflow-auto","hub-scrollbar","su-step-body","position-relative"],[1,"row"],[1,"col","d-flex","justify-content-center","text-center"],[1,"step","d-flex","flex-column","flex-1","su-step-container"],[1,"d-flex","flex-column","justify-content-center","flex-1","ps-4","pe-4","mb-2","mt-1","su-step-body"],[1,"icon","icon-close",3,"click"],[3,"size"],[1,"d-flex","flex-column","mh-100"],[1,"mb-4"],[1,"d-flex","flex-row","justify-content-center","flex-1"],[1,"w-100","mt-2","mb-2"],[1,"row","justify-content-center","mb-4","text-start"],[1,"row","justify-content-center","mb-4","fields-to-copy"],[1,"btn-container","mt-2","text-center","su-desktop-button","mb-4"],["id","next-button",1,"btn","btn-primary","button_main","mt-2","mb-4","btn-lg","col-6","fw-bold","pe-auto",3,"disabled","click"],[3,"inline","loading"],[1,"text_below","text-start","text-small"],[3,"href"]],template:function(ke,Oe){1&ke&&(v.TgZ(0,"div",0)(1,"div",1)(2,"div",2),v._UZ(3,"div",3),v.qZA()(),v.TgZ(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"form",8)(9,"span",9),v.NdJ("click",function(){return Oe.onClose()}),v._UZ(10,"close-icon",10),v.qZA(),v.TgZ(11,"div",11)(12,"header",12)(13,"h1"),v._uU(14),v.ALo(15,"translate"),v.qZA()(),v.TgZ(16,"div",13)(17,"div",14),v._UZ(18,"app-alert"),v.TgZ(19,"div")(20,"div",15),v._uU(21),v.ALo(22,"translate"),v.qZA(),v.TgZ(23,"div",16),v._uU(24),v.ALo(25,"translate"),v.qZA(),v.TgZ(26,"div",17)(27,"button",18),v.NdJ("click",function(){return Oe.onSubmit()}),v._uU(28),v.ALo(29,"translate"),v._UZ(30,"app-spinner",19),v.qZA(),v.TgZ(31,"p",20),v._uU(32),v.ALo(33,"translate"),v.ALo(34,"translate"),v.TgZ(35,"a",21),v._uU(36),v.ALo(37,"translate"),v.qZA(),v._uU(38,". "),v.qZA()()()()()()()()()()()()),2&ke&&(v.xp6(10),v.Q6J("size",30),v.xp6(4),v.hij(" ",v.lcZ(15,14,"Sign In With Your Profile")," "),v.xp6(7),v.AsE(" ",null==Oe.affiliate?null:Oe.affiliate.siteName," ",v.lcZ(22,16,"would like access to the following information to register you on this site")," "),v.xp6(3),v.hij(" ",v.lcZ(25,18,"Name, Email, Date of Birth, Location and Basic Dating Profile Details"),". "),v.xp6(3),v.Q6J("disabled",Oe.submitting),v.xp6(1),v.hij(" ",v.lcZ(29,20,"Continue")," "),v.xp6(2),v.Q6J("inline",!0)("loading",Oe.submitting),v.xp6(2),v.lnq(" ",v.lcZ(33,22,"By clicking continue you consent to these details being used by")," ",null==Oe.affiliate?null:Oe.affiliate.siteName," ",v.lcZ(34,24,"to register you to the dating site and confirm that agree to the")," "),v.xp6(3),v.Q6J("href",Oe.affiliateService.contentUrl("terms"),v.LSH),v.xp6(1),v.Oqu(v.lcZ(37,26,"Terms and Conditions")))},dependencies:[E._Y,E.JL,Qe.O,dt,kn.T,me.X$],styles:[".step[_ngcontent-%COMP%]{max-width:500px;min-height:300px;font-size:14px}.fields-to-copy[_ngcontent-%COMP%]{margin-left:25px;margin-right:25px;text-align:left}.text-small[_ngcontent-%COMP%]{font-size:smaller}.icon-close[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;cursor:pointer}"]});const Lt=[{path:"completed",loadChildren:()=>w.e(872).then(w.bind(w,9872)).then(He=>He.CompletedModule)},{path:"membertype",loadChildren:()=>w.e(313).then(w.bind(w,4313)).then(He=>He.MemberTypeModule)},{path:"lookingfor",loadChildren:()=>Promise.all([w.e(592),w.e(796)]).then(w.bind(w,5796)).then(He=>He.LookingForModule)},{path:"password",loadChildren:()=>w.e(430).then(w.bind(w,7430)).then(He=>He.PasswordModule)},{path:"emailaddress",loadChildren:()=>Promise.all([w.e(592),w.e(557)]).then(w.bind(w,4557)).then(He=>He.EmailAddressModule)},{path:"email",loadChildren:()=>Promise.all([w.e(592),w.e(878)]).then(w.bind(w,4878)).then(He=>He.EmailModule)},{path:"oauth",loadChildren:()=>Promise.all([w.e(592),w.e(603)]).then(w.bind(w,9603)).then(He=>He.OauthModule)},{path:"date-of-birth",loadChildren:()=>w.e(617).then(w.bind(w,617)).then(He=>He.DateOfBirthModule)},{path:"username",loadChildren:()=>w.e(221).then(w.bind(w,6221)).then(He=>He.UsernameModule)},{path:"location",loadChildren:()=>w.e(828).then(w.bind(w,2828)).then(He=>He.LocationModule)},{path:"image",loadChildren:()=>w.e(628).then(w.bind(w,4628)).then(He=>He.ImageModule)},{path:"age-range",loadChildren:()=>w.e(97).then(w.bind(w,3097)).then(He=>He.AgeRangeModule)},{path:"interests1",loadChildren:()=>Promise.all([w.e(592),w.e(48)]).then(w.bind(w,6048)).then(He=>He.InterestsModule)},{path:"ethnicity",loadChildren:()=>Promise.all([w.e(558),w.e(269)]).then(w.bind(w,269)).then(He=>He.EthnicityModule)},{path:"nationality",loadChildren:()=>Promise.all([w.e(558),w.e(527)]).then(w.bind(w,1527)).then(He=>
1He.NationalityModule)},{path:"build",loadChildren:()=>Promise.all([w.e(558),w.e(979)]).then(w.bind(w,2979)).then(He=>He.BuildModule)},{path:"headline",loadChildren:()=>Promise.all([w.e(675),w.e(261)]).then(w.bind(w,9261)).then(He=>He.HeadlineModule)},{path:"description",loadChildren:()=>Promise.all([w.e(675),w.e(781)]).then(w.bind(w,3781)).then(He=>He.DescriptionModule)},{path:"gdpr",loadChildren:()=>w.e(18).then(w.bind(w,7018)).then(He=>He.GdprModule)},{path:"",loadChildren:()=>w.e(728).then(w.bind(w,7728)).then(He=>He.InitModule)}],Vn=[{path:"register/:partnerId",component:on,children:Lt},{path:"register/:partnerId/t/:token",component:on,children:Lt},{path:"register",component:on,children:Lt},{path:"",component:on,children:Lt},{path:"login/:partnerId/social",component:nr,data:{mode:"social"}},{path:"login/:partnerId",component:nr},{path:"login",component:nr},{path:"xreg/:partnerId/:passportId",component:ir},{path:"login/:partnerId",component:ir},{path:"login",component:ir}];class sr{}sr.\u0275fac=function(ke){return new(ke||sr)},sr.\u0275mod=v.oAB({type:sr}),sr.\u0275inj=v.cJS({imports:[c.Bz.forRoot(Vn),c.Bz]})},4896:(wt,Te,w)=>{"use strict";w.d(Te,{Cw:()=>J.C,DN:()=>et,Tj:()=>le,nh:()=>re.n,mN:()=>ut.m,ue:()=>Ie,Kr:()=>te.K,Y3:()=>we,xT:()=>ce.x,n3:()=>v.n3,X:()=>oe.X,J9:()=>oe.J9,FC:()=>oe.FC});var c=w(6895),E=w(4650);class L{}L.\u0275fac=function(ye){return new(ye||L)},L.\u0275mod=E.oAB({type:L}),L.\u0275inj=E.cJS({imports:[c.ez]});var ce=w(255),v=w(8848),oe=w(2709),J=w(8520),se=w(8018),he=w(2930);class pe{constructor(ye,Se){this.router=ye,this.store=Se}load(){}}pe.\u0275fac=function(ye){return new(ye||pe)(E.LFG(se.F0),E.LFG(he.yh))},pe.\u0275prov=E.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"});var re=w(2861),te=w(1103);class le{constructor(){}decodeJwtResponse(ye){var Le=ye.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),Dt=decodeURIComponent(atob(Le).split("").map(function(Ee){return"%"+("00"+Ee.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(Dt)}}le.\u0275fac=function(ye){return new(ye||le)},le.\u0275prov=E.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"});var q=w(4479),Be=w(9646),ht=w(262),Fe=w(8505),me=w(2340),Pe=w(529);class we{constructor(ye,Se,Le){this.http=ye,this.affiliateService=Se,this.errorService=Le,this.validatedTokens=[]}clean(ye){return(ye||"").trim().replace(/(.)\1{4,}/g,"$1$1")}count(ye){return((ye||"").match(/[0-9]/g)||[]).length}validateFirstName(ye){return this.count(ye)>4?(0,Be.of)("Too many digits in username"):this.validate(ye)}validate(ye,Se){return this.validatedTokens.indexOf(ye)>=0?(0,Be.of)(""):this.http.post(`${me.N.signupUrl}/api/signupapi/validate-text?culture=${Se}`,{data:ye}).pipe((0,ht.K)(this.errorService.handleError("validate-text "+ye,"")),(0,Fe.b)(Le=>{Le||this.validatedTokens.push(ye)}))}}function Ae(Xe,ye,Se,Le,Dt,Ee,rt){try{var z=Xe[Ee](rt),X=z.value}catch(Je){return void Se(Je)}z.done?ye(X):Promise.resolve(X).then(Le,Dt)}function ee(Xe){return function(){var ye=this,Se=arguments;return new Promise(function(Le,Dt){var Ee=Xe.apply(ye,Se);function rt(X){Ae(Ee,Le,Dt,rt,z,"next",X)}function z(X){Ae(Ee,Le,Dt,rt,z,"throw",X)}rt(void 0)})}}we.\u0275fac=function(ye){return new(ye||we)(E.LFG(Pe.eN),E.LFG(J.C),E.LFG(q.r))},we.\u0275prov=E.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"});var Qe=w(6805),tt=w(930);function dt(Xe,ye){const Se="object"==typeof ye;return new Promise((Le,Dt)=>{const Ee=new tt.Hp({next:rt=>{Le(rt),Ee.unsubscribe()},error:Dt,complete:()=>{Se?Le(ye.defaultValue):Dt(new Qe.K)}});Xe.subscribe(Ee)})}const it=function ae(Xe){const Se=(Xe+"=".repeat((4-Xe.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),Le=window.atob(Se),Dt=new Uint8Array(Le.length);for(let Ee=0;Ee<Le.length;++Ee)Dt[Ee]=Le.charCodeAt(Ee);return Dt}("BM2hkS6mSahPW3MQiHhmS3fUMmgX0BB4zZlCQGMoKtXu1Nfh__09Nn_awCmf6HTvs2BZvtfmlT97jSgHX3dipmI"),fe=`${me.N.signupUrl}/api/signupapi/add-push-device`,ie=`${me.N.signupUrl}/api/signupapi/add-push-device-log`;class Ie{constructor(ye,Se,Le){this.http=ye,this.affiliateService=Se,this.errorService=Le,this.subscriptionInitialized=!1}serviceWorkerUrl(){const ye=this.affiliateService.affiliateValue?.guid,Se=document.baseURI.replace("/s/","");return Se&&Se.indexOf("nextgen/")>=0?"/nextgen/w/"+ye+"/sw.js":`/w/${ye}/sw.js`}savePushDeviceLog(ye,Se,Le){var Dt=this;return ee(function*(){dt(Dt.http.post(ie,{passportId:ye.passportId,serviceWorker
1Status:Se,pushDeviceStatus:Le}).pipe((0,ht.K)(Dt.errorService.handleError("save push device")),(0,Fe.b)(Ee=>{})))})()}savePushDevice(ye,Se){var Le=this;return ee(function*(){var Dt=Se.toJSON();const{p256dh:Ee,auth:rt}=Dt.keys||{};dt(Le.http.post(fe,{passportId:ye.passportId,endpoint:Dt.endpoint,p256dh:Ee,auth:rt,deviceType:0}).pipe((0,ht.K)(Le.errorService.handleError("save push device")),(0,Fe.b)(z=>{})))})()}registerServiceWorker(ye){var Se=this;return ee(function*(){if(!ye.passportId||Se.subscriptionInitialized)return;if(Se.subscriptionInitialized=!0,!("serviceWorker"in navigator))return void Se.savePushDeviceLog(ye,"signup: no serviceworker","");if(!("PushManager"in window))return void Se.savePushDeviceLog(ye,"signup: no push-manager","");const Le=Se.serviceWorkerUrl();yield navigator.serviceWorker.register(Le,{}).then(function(){var Dt=ee(function*(Ee){Se.savePushDeviceLog(ye,Le+"signup: serviceworker registered","");const rt=yield window.Notification.requestPermission();if(Se.savePushDeviceLog(ye,Le+"signup: serviceworker registered","asked: "+rt),"granted"===rt&&Ee){let z=yield Ee.pushManager.getSubscription();z||(z=yield Ee.pushManager.subscribe({applicationServerKey:it,userVisibleOnly:!0})),z&&(yield Se.savePushDevice(ye,z))}});return function(Ee){return Dt.apply(this,arguments)}}())})()}}Ie.\u0275fac=function(ye){return new(ye||Ie)(E.LFG(Pe.eN),E.LFG(J.C),E.LFG(q.r))},Ie.\u0275prov=E.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"});var be=w(1135);class et{constructor(){this.confirmationsShowed=[],this.notificationsSubject=new be.X(null),this.dialogPromise=null,this.notifications$=this.notificationsSubject.asObservable()}confirmationId(ye){return JSON.stringify(ye)}confirm(ye){return this.confirmationsShowed.push(this.confirmationId(ye)),new Promise((Se,Le)=>{const Dt={...ye,confirmFn:()=>this.close(Se),dismissFn:()=>this.close(Le)};this.notificationsSubject.next(Dt)})}confirmOnce(ye){const Se=this.confirmationId(ye);return this.confirmationsShowed.find(Le=>Le==Se)?Promise.reject():this.confirm(ye)}close(ye){this.notificationsSubject.next(null),ye()}}et.\u0275fac=function(ye){return new(ye||et)},et.\u0275prov=E.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"});var ut=w(9279)},849:(wt,Te,w)=>{"use strict";w.d(Te,{$H:()=>E,z8:()=>L});const E=2,L=["EN_Excite_Minimal_WLD","EN_Affinity_Minimal_WLD"]},8848:(wt,Te,w)=>{"use strict";w.d(Te,{Lr:()=>E,QM:()=>c,n3:()=>oe,sj:()=>L});var c=(()=>{return(J=c||(c={}))[J.Male=1]="Male",J[J.Female=2]="Female",J[J.Couple=4]="Couple",J[J.Group=8]="Group",J[J.TV=16]="TV",c;var J})();const E=30,L=14,ce=["Male","Female","Trans Male","Trans Female","Non-Binary","Cross-Dresser (CD)"],oe=J=>{if(!J)return[];const se=ce.map(re=>{const te=J.find(le=>le.value==re);return te?{label:re,groupHeader:!1,searchField:re,id:Number(te?.key)}:{label:re,groupHeader:!1,searchField:re,id:0}}).filter(re=>re.id),he=J.map(re=>({label:re.value,groupHeader:!1,searchField:re.value,id:Number(re.key)})),pe=se.map(re=>re.id);return[{label:"Frequently Chosen",groupHeader:!0,searchField:"",id:0},...se,{label:"A-Z",groupHeader:!0,searchField:"",id:0},...he.filter(re=>!pe.includes(re.id))]}},255:(wt,Te,w)=>{"use strict";w.d(Te,{x:()=>c});const c=197},8520:(wt,Te,w)=>{"use strict";w.d(Te,{C:()=>Be});var c=w(1135),E=w(262),L=w(849),ce=w(2340),v=w(9126),oe=w(871),J=w(7489),he=w(4650),pe=w(529),re=w(2930),te=w(8018),le=w(4479);class Be{constructor(Fe,me,Pe,we){this.http=Fe,this.store=me,this.route=Pe,this.errorService=we,this._partnerId=null,this.affiliateSubject=new c.X(null),this.affiliate=this.affiliateSubject.asObservable(),this.domainAffiliateSubject=new c.X(null),this.domainAffiliate=this.domainAffiliateSubject.asObservable(),this.nicheConfigSubject=new c.X(null),this.nicheConfig=this.nicheConfigSubject.asObservable()}get partnerId(){return this._partnerId||""}contentUrl(Fe,me){const Pe=this.affiliateSubject.value;if(!Pe)return;const we=1===Pe.sitePlatform,{siteUrl:Ae,appUrl:ee,guid:Qe,extAffiliateId:tt,loginPath:dt="/meetme"}=Pe,{siteUrl:ae,memberLoginPath:fe}=me||{},ie=ee+`/w/${Qe}`;return"terms"===Fe?we?`${ae||ie}/account/terms`:`${Ae}/Terms.aspx?webmasterId=${tt}`:"terms2257"===Fe?we?`${ae||ie}/account/terms/2257`:`${Ae}/Terms.aspx?webmasterId=${tt}`:"cookie"===Fe?`${ae||ie}/account/cookie`:"complaintsandcontentremovalpolicy"===Fe?`${ae||ie}/complaintsandcontentremovalpolicy`:"modernslaverystatement"===Fe?`${ae||ie}/modernslaverystatement`:"privacy"===Fe?`${ae||ie}/account/privacy`:"Terms_7_head"===Fe?we?`${ae||ie}/account/terms/Terms_7_head`:`${Ae}/Terms.aspx?webmasterId=${tt}#Terms_7_head`:"login"===Fe&&me?we?`${ee}/w/${Qe}/account/login?login=true&username=${me?.email}&password=${me?.password}&page=${dt?["",(0,J.trim)(fe||dt,"/")].join("/"):""}`:`${Ae}/login.aspx?webmasterId=${tt}&login=true&username=${me?.email}&password=${me?.password}`:"login"!==Fe||me?`${ae||ie}/${Fe}`:we?`${ee}/w/${Qe}/account/login`:`${Ae}/login.aspx?webmasterId=${tt}`}set partnerId(Fe){Fe!==this._partnerId&&(this._partnerId=Fe,this.getAffiliateByUid(this._partnerId))}get affiliateValue(){return this.affiliateSubject.value}mapInterests(Fe){return Fe?Fe.map(me=>
1({id:me.id||me.Id,label:me.label||me.Label,selected:!0===me.selected||!1===me.selected?me.selected:me.Selected||!1})):[]}getAffiliateByUid(Fe){return this.http.get(`${ce.N.apiUrl}/api/affiliates/${Fe||""}`,{params:{culture:this.culture||""}}).pipe((0,E.K)(this.errorService.handleError(`api/affiliates/${Fe||""}`))).subscribe(me=>{const{affiliate:Pe,domainAffiliate:we,niches:Ae}=me;this._partnerId=Pe.guid,this.culture&&(Pe.culture=this.culture),ce.N.signupUrl=Pe.appUrl,ce.N.uploadUrl=Pe.businessId===L.$H?"https://occam-media-services.azurewebsites.net":"https://occam-adult-media-services.azurewebsites.net",ce.N.mediaUrl=Pe.businessId===L.$H?"https://upload.d8u.com":"https://upload.theadulthub.com",this.affiliateSubject.next({...Pe,niches:Ae}),this.domainAffiliateSubject.next({...we,niches:Ae}),this.nicheConfigSubject.next(Ae);const{configId:ee,configName:Qe}=Pe.signupConfig,dt=JSON.parse(Pe.signupConfig.json).reduce((it,ae,fe)=>{const ie={...ae,type:ae.name,interests:this.mapInterests(ae.interests)};return oe.U.find(Ie=>Ie.path.toLowerCase()==ae.name.toLowerCase())?("gdpr"==ae.name&&(ie.bodyText=""),it.find(Ie=>Ie.name===ae.name)&&(ie.name=`${ae.name}?i=${fe}`),[...it,ie]):(console.warn(`Step ${ae.name} not implemented yet`),it)},[]);this.store.dispatch(v.IE.setSteps({steps:dt})),this.store.dispatch(v._0.setWebmaster({currentUrl:document.location.href,webmasterId:Pe.extAffiliateId,culture:Pe.culture,configId:ee,configName:Qe}))})}}Be.\u0275fac=function(Fe){return new(Fe||Be)(he.LFG(pe.eN),he.LFG(re.yh),he.LFG(te.gz),he.LFG(le.r))},Be.\u0275prov=he.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"})},4479:(wt,Te,w)=>{"use strict";w.d(Te,{r:()=>L});var c=w(9646),E=w(4650);class L{constructor(){}handleError(v="operation",oe){return J=>(console.error(J),this.log(`${v} failed: ${J.message}`),(0,c.of)(oe))}log(v){}}L.\u0275fac=function(v){return new(v||L)},L.\u0275prov=E.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"})},3094:(wt,Te,w)=>{"use strict";w.d(Te,{a:()=>J});var c=w(1135),E=w(262),L=w(2340),ce=w(4650),v=w(529),oe=w(4479);class J{constructor(he,pe){this.http=he,this.errorService=pe,this.browserLocationSubject=ne
1w c.X(null),this.browserLocation=this.browserLocationSubject.asObservable(),window.onNativeLocation=this.onNativeLocation.bind(this),window.onLocation=this.onNativeLocation.bind(this)}onNativeLocation(he,pe){null!==he&&null!==pe&&this.getCityByCoords({coords:{latitude:he,longitude:pe}}),this.debugLog(`'received location lat:${he}, lng:${pe} '`)}debugLog(he){const pe=window;pe.webkit&&pe.webkit.messageHandlers&&pe.webkit.messageHandlers.debugLog&&pe.webkit.messageHandlers.debugLog.postMessage(he),pe.Android&&pe.Android.debugLog&&pe.Android.debugLog(he)}getDefaultLocation(){if(this.browserLocationSubject.value)return;const he=window;he.Android&&he.Android.getLocation?(this.debugLog("' Android asked for location permission'"),he.Android.getLocation()):he.webkit&&he.webkit.messageHandlers&&he.webkit.messageHandlers.getLocation?(he.webkit.messageHandlers.getLocation.postMessage(null),this.debugLog("'asked for location permission'")):navigator.geolocation&&navigator.geolocation.getCurrentPosition(this.getCityByCoords.bind(this),()=>{},{timeout:5e4})}getCityByName(he){return this.http.get(`${L.N.signupUrl}/api/location/name/${he}`).pipe((0,E.K)(this.errorService.handleError(`/location/name/${he}`)))}getCityById(he){if(he)return this.http.get(`${L.N.signupUrl}/api/location/id/${he}`).pipe((0,E.K)(this.errorService.handleError(`/location/id/${he}`)))}getCityByCoords(he){var pe=(1e6*(he?.coords?.latitude??0)).toFixed(),re=(1e6*(he?.coords?.longitude??0)).toFixed();this.getCityByLtLng({lat:pe,lng:re}).pipe((0,E.K)(this.errorService.handleError("location/geo/${lat}/${lon}"))).subscribe(this.setBrowserLocation.bind(this))}getCityByLtLng(he){const pe=he.lat?.indexOf(".")||he.lat?.indexOf(",")?(1e6*Number((he.lat??"0").replace(",","."))).toFixed():he.lat,re=he.lng?.indexOf(".")||he.lng?.indexOf(",")?(1e6*Number((he.lng??"0").replace(",","."))).toFixed():he.lng;return this.http.get(`${L.N.signupUrl}/api/location/geo/${pe}/${re}`)}getCityByZip(he){return this.http.get(`${L.N.signupUrl}/api/location/zip?zipCode=${he}`)}getCityByIp(he){return this.http.get(`${L.N.signupUrl}/api/location/ip/${he}`)}setBrowserLocation(he){he&&this.browserLocationSubject.next(he)}}J.\u0275fac=function(he){return new(he||J)(ce.LFG(v.eN),ce.LFG(oe.r))},J.\u0275prov=ce.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})},2861:(wt,Te,w)=>{"use strict";w.d(Te,{n:()=>dt});var c=w(529),E=w(1135),L=w(9646),ce=w(262),v=w(8505),oe=w(4004),J=w(2340),se=w(8848),he=w(2709),pe=w(9126),re=w(7489),le=w(4650),q=w(8018),Be=w(2930),ht=w(8520),Fe=w(4479),me=w(9279),Pe=w(3094),we=w(1103);function ee(it,ae){return it.map(fe=>({...fe,visibility:!ae.includes(fe.name)&&fe.visibility}))}function Qe(it,ae){return it.map(fe=>({...fe,entered:!!ae.includes(fe.name)||fe.entered}))}class dt{constructor(ae,fe,ie,Ie,be,et,ut,Xe,ye){this.http=ae,this.router=fe,this.route=ie,this.store=Ie,this.affiliateService=be,this.errorService=et,this.mobileWrapperService=ut,this.locationService=Xe,this.stepsService=ye,this.member$=this.store.select(he.FC),this.steps$=this.store.select(he.QO),this.memberInitialized=!1,this.emailSendLog={},this.currentUserSubject=new E.X(null),this.currentUser=this.currentUserSubject.asObservable(),this.adwordsSubject=new E.X(null),this.adwords=this.adwordsSubject.asObservable(),this.member$.subscribe(Se=>{this.member=Se}),this.steps$.subscribe(Se=>{this.steps=Se})}save(ae){const{authToken:fe,passportId:ie}=this.member||{},Ie=this.member?.queryStringParams||{},be=Object.keys(Ie).map(Xe=>`${Xe}=${Ie[Xe]}`).join("&");if(!this.affiliateService.affiliateValue?.guid||!fe)return(0,L.of)({});const et=!0===this.affiliateService.affiliateValue?.niches?.socialDualMode;return this.http.post(`${J.N.signupUrl}/api/signupapi/w/${this.affiliateService.affiliateValue?.guid}/save-signup${ae?"/submit":""}?${be}`,{authToken:fe,passportId:ie,memberJson:JSON.stringify(this.member),configuration:JSON.stringify({...this.steps,completed:!!ae})}).pipe((0,ce.K)(this.errorService.handleError("save member")),(0,v.b)(Xe=>{const{passportId:ye,username:Se,siteUrl:Le,isImageRequired:Dt=!1}=Xe||{};this.loadTracking().subscribe(()=>{}),ye&&this.store.dispatch(pe._0.setPassportId({passportId:ye,username:et?"":Se,siteUrl:Le,isImageRequired:Dt}))}))}loadTracking(){const{passportId:ae}=this.member||{};return this.affiliateService.affiliateValue?.guid&&ae?this.http.get(`${J.N.signupUrl}/api/signupapi/w/${this.affiliateService.affiliateValue?.guid}/signup-tracking/${ae}`).pipe((0,oe.U)(fe=>(this.adwordsSubject.next(fe),fe))):(0,L.of)({})}getDefaultMemberType(ae){const{niches:fe}=ae;return"gaymale"===fe?.label?se.QM.Male:!0===fe?.socialDualMode?se.QM.Group:this.route.
1snapshot.queryParams.mt?parseInt(this.route.snapshot.queryParams.mt):void 0}getDefaultLookingFor(ae){const{niches:fe}=ae;return this.route.snapshot.queryParams.lf?parseInt(this.route.snapshot.queryParams.lf):"gaymale"===fe?.label?se.QM.Male:!0===fe?.socialDualMode?se.QM.Male+se.QM.Female+se.QM.TV:void 0}getQsParametersMap(ae){return Object.keys(ae).reduce((fe,ie)=>{const Ie=this.route.snapshot.queryParams[ie];return Ie&&(fe[ae[ie]]=Ie),fe},{})}trySetLocation(ae){ae.zipCode?this.locationService.getCityByZip(ae.zipCode).subscribe(fe=>{fe?(this.store.dispatch(pe._0.setLocation(fe)),this.stepsService.submitted("location",!0),this.stepsService.setVisibility("location",!1)):this.trySetLocation((0,re.omit)(ae,"zipCode"))}):ae.lat&&ae.lng?this.locationService.getCityByLtLng(ae).subscribe(fe=>{fe&&(this.store.dispatch(pe._0.setLocation(fe)),this.stepsService.submitted("location",!0),this.stepsService.setVisibility("location",!1))}):ae.ipLocation&&this.locationService.getCityByIp(ae.ipLocation).subscribe(fe=>{fe&&(this.store.dispatch(pe._0.setLocation(fe)),this.stepsService.submitted("location",!0),this.stepsService.setVisibility("location",!1))})}load(ae,fe){return(fe=fe||this.member?.authToken)?this.http.get(`${J.N.signupUrl}/api/signupapi/w/${this.affiliateService.affiliateValue?.guid}/signup-token/${fe}`).pipe((0,v.b)(ie=>{this.memberInitialized=!0}),(0,oe.U)(ie=>{const{configuration:Ie,memberJson:be}=ie||{};if(be){const et=JSON.parse(be);let ut=this.steps?.steps;return Ie&&(ut=JSON.parse(Ie||"{}").steps),ut=function tt(it,ae,fe){if(ae.gdprAgree&&(it=ee(it,["gdpr"])),!0===fe)return ae.emailValidated&&(it=ee(it,["email"])),ae.oauthProviderUserId&&(it=ee(it,["email","password"])),it;if(ae.emailValidated&&(it=ee(it,["email","emailAddress"])),ae.oauthProviderUserId&&(it=ee(it,["email","password"])),ae.passportId)ae.memberType&&ae.lookingFor.length>0&&ae.password&&ae.email&&(it=ee(it=Qe(it,["emailAddress","password","memberType","lookingFor"]),fe?["password","memberType"]:["emailAddress","password","memberType"])),ae.dobday1&&(it=ee(Qe(it,["date-of-birth"]),["date-of-birth"]));else if(ae.memberType&&ae.lookingFor.length>0&&(it=Qe(it,["memberType","lookingFor"])),ae.location?.cityId&&ae.location?.cityLabel){const ie=["location"];ae.ages&&!(18===ae.ages.ageMin&&99===ae.ages.ageMax)&&ie.push("age-range"),ae.headline&&ie.push("headline"),ae.description&&ie.push("description"),ae.email&&ie.push("emailAddress"),ae.dobday1&&ae.dobmonth1&&ae.dobyear1&&ie.push("date-of-birth"),ae.username&&ie.push("username"),it=Qe(it,ie)}return it}(ut,et,this.mobileWrapperService.isIosApp()||this.mobileWrapperService.isAndroidApp()),this.store.dispatch(pe.IE.setSteps({steps:ut})),this.store.dispatch(pe._0.setMember({...et,currentUrl:document.location.href,webmasterId:this.affiliateService.affiliateValue?.extAffiliateId,culture:this.affiliateService.affiliateValue?.culture,configId:this.affiliateService.affiliateValue?.signupConfig.configId,configName:this.affiliateService.affiliateValue?.signupConfig.configName})),ut.find(ye=>!ye.submitted)}return null})):this.http.get(`${J.N.apiUrl}/api/signup-tokens/${ae.guid}`).pipe((0,v.b)(ie=>{this.memberInitialized=!0;const{authToken:Ie}=ie;let be=this.steps?.steps;const et=this.getQsParametersMap({dobday1:"dobday1",dobmonth1:"dobmonth1",dobyear1:"dobyear1",dd:"dobday1",dm:"dobmonth1",dy:"dobyear1",dobday2:"dobday2",dobmonth2:"dobmonth2",dobyear2:"dobyear2",username:"username",firstname:"username",headline:"headline",description:"description",ethnicity:"ethnicity",build:"build",password:"password",p:"password",tcs:"gdprAgree",iplocation:"ipLocation",lat:"lat",long:"lng",lng:"lng",zipCode:"zipCode",zip:"zipCode",redirect:"memberLoginPath",agemin:"ageMin",agemax:"ageMax"});if(et.gdprAgree&&(et.gdprAgree=!0,be=ee(be,["gdpr"])),et.username&&(be=ee(be,["username"])),(et.lat&&et.lng||et.ipLocation||et.zipCode)&&(be=ee(be,["location"])),et.dobyear1){const Se=et.dobyear1&&et.dobyear1>1900?(new Date).getFullYear()-(et.dobyear1||0):40;et.ages={ageMin:Math.max(18,Math.min(80,Se-10)),ageMax:Math.min(80,Se+10)}}if(et.ageMin||et.ageMax){const Se=et.ageMin?parseInt(et.ageMin):18,Le=et.ageMax?parseInt(et.ageMax):80;et.ages={ageMin:Se,ageMax:Le},be=ee(be,["age-range"])}if(Object.keys(et).length&&this.store.dispatch(pe._0.setMember(et)),this.route.
1snapshot.queryParams.em){let Se=this.route.snapshot.queryParams.em;try{Se=atob(Se)}catch{}this.store.dispatch(pe._0.setEmail({email:Se}))}if(et.password){let Se=et.password;try{Se=atob(Se)}catch{}be=ee(be,["password"]),this.store.dispatch(pe._0.setPassword({password:Se}))}const ut=this.getDefaultLookingFor(ae);ut&&(this.store.dispatch(pe._0.setLookingFor({lookingFor:[ut]})),be=Qe(be,["lookingFor"]));const Xe=this.getDefaultMemberType(ae);Xe&&(this.store.dispatch(pe._0.setMemberType({memberType:Xe})),be=Qe(be,["memberType"])),!0===ae.niches?.socialDualMode&&(be=ee(be,["memberType","lookingFor","age-range"])),this.store.dispatch(pe._0.setMemberToken({authToken:Ie}));const ye=this.route.snapshot.queryParams.interests;if(ye){const Se=ye.split(",").map(Dt=>Dt.trim().toLowerCase()),Le=[];(be||[]).forEach(Dt=>{if(!Dt.interests?.length)return;be=ee(be,[Dt.name]);const Ee=Dt.interests.filter(rt=>Se.includes(rt.label.toLowerCase()));Ee.length>0&&Le.push(...Ee.map(rt=>({...rt,selected:!0})))}),Le.length>0&&this.store.dispatch(pe._0.setInterests({interests:Le}))}return this.store.dispatch(pe.IE.setSteps({steps:be})),this.trySetLocation(et),null}),(0,ce.K)(this.errorService.handleError("initial load member")))}validateEmail(ae){const{authToken:fe}=this.member||{};return Number(this.emailSendLog[ae]||0)>2?(0,L.of)({}):(this.emailSendLog[ae]=(this.emailSendLog[ae]||0)+1,this.http.post(`${J.N.signupUrl}/api/signupapi/w/${this.affiliateService.affiliateValue?.guid}/validate-email`,{email:ae,authToken:fe}).pipe((0,ce.K)(this.errorService.handleError("validate-email "+ae,{}))))}checkValidationCode(ae){const{authToken:fe}=this.member||{},ie=this.affiliateService.affiliateValue?.guid;return this.http.post(`${J.N.apiUrl}/api/emails/confirm-email`,{code:ae,partnerId:ie,authToken:fe}).pipe((0,ce.K)(this.errorService.handleError("confirm-email "+ae,{codeNotValid:!0})))}sendValidationCode(ae){return Number(this.emailSendLog[ae]||0)>2?(0,L.of)({result:!1}):(this.emailSendLog[ae]=(this.emailSendLog[ae]||0)+1,this.http.post(`${J.N.signupUrl}/api/signupapi/w/${this.affiliateService.affiliateValue?.guid}/send-validation-email`,{email:ae,authToken:this.member?.authToken}).pipe((0,ce.K)(this.errorService.handleError("send-validation-email "+ae,{result:!1,message:"Error while request"}))))}sendEmailLogin(ae){return Number(this.emailSendLog[ae]||0)>2?(0,L.of)({result:!1}):(this.emailSendLog[ae]=(this.emailSendLog[ae]||0)+1,this.http.post(`${J.N.signupUrl}/api/signupapi/w/${this.affiliateService.affiliateValue?.guid}/send-login-email`,{email:ae}).pipe((0,ce.K)(this.errorService.handleError("send-login-email "+ae,{result:!1,message:"Error while request"}))))}sendEmailReset(ae){return Number(this.emailSendLog[ae]||0)>2?(0,L.of)({result:!1}):(this.emailSendLog[ae]=(this.emailSendLog[ae]||0)+1,this.http.post(`${J.N.signupUrl}/api/askpassword`,{UserName:ae,webmasterId:this.affiliateService.affiliateValue?.extAffiliateId}).pipe((0,ce.K)(this.errorService.handleError("send-login-email "+ae,{result:!1,message:"Error while request"}))))}login(ae,fe){const{partnerId:ie}=this.affiliateService;return this.http.post(`${J.N.apiUrl}/users/authenticate`,{username:ae,password:fe,partnerId:ie}).pipe((0,oe.U)(Ie=>(Ie.isAuthSuccess&&localStorage.setItem("currentUser",JSON.stringify(Ie)),this.currentUserSubject.next(Ie),Ie)))}xreg(ae){const{partnerId:fe,affiliateValue:ie}=this.affiliateService,{extAffiliateId:Ie}=ie||{};let be=new c.LE({fromObject:{_method:"clonemember",partnerId:fe,webmasterId:Ie,passportId:ae,...this.route.snapshot.queryParams}});return this.http.jsonp(`${J.N.signupUrl}/Webservice/UsersAPI.ashx?${be.keys().map(et=>`${et}=${be.get(et)}`).join("&")}`,"callback").pipe((0,oe.U)(et=>et))}socialLogin(ae){const{partnerId:fe}=this.affiliateService;return this.http.post(`${J.N.apiUrl}/users/authenticate/social`,{...ae,partnerId:fe}).pipe((0,oe.U)(ie=>(this.currentUserSubject.next(ie),ie)))}}dt.\u0275fac=function(ae){return new(ae||dt)(le.LFG(c.eN),le.LFG(q.F0),le.LFG(q.gz),le.LFG(Be.yh),le.LFG(ht.C),le.LFG(Fe.r),le.LFG(me.m),le.LFG(Pe.a),le.LFG(we.K))},dt.\u0275prov=le.Yz7({token:dt,factory:dt.\u0275fac,providedIn:"root"})},9279:(wt,Te,w)=>{"use strict";w.d(Te,{m:()=>E});var c=w(4650);class E{constructor(){this._window=window}isIosApp(){return!!(this._window.webkit&&this._window.webkit.messageHandlers&&this._window.webkit.messageHandlers.debugLog)}isAndroidApp(){return!!this._window.Android}isMobileWrapper(){return this.isAndroidApp()||this.isIosApp()}}E.\u0275fac=function(ce){return new(ce||E)},E.\u0275prov=c.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})},1103:(wt,Te,w)=>{"use strict";w.d(Te,{K:()=>re});var c=w(1135);const L=(te,le,q,Be)=>{var ht=Be?Be.keys.filter(me=>"i"!==me).map(me=>`${me}=${Be.get(me)}`).join("&"):"";const Fe=(le||"").indexOf("?")>=0?"&":"?";return q?`register/${te}/t/${q}/${le?.toLowerCase()}${Fe}${ht}
1`:`register/${te}/${le?.toLowerCase()}${Fe}${ht}`};var ce=w(2709),v=w(9126),oe=w(4650),J=w(8018),se=w(2930),he=w(8520),pe=w(2861);class re{constructor(le,q,Be,ht,Fe){this.router=le,this.route=q,this.store=Be,this.affiliateService=ht,this.memberService=Fe,this.stepsState$=this.store.select(ce.QO),this.currentStep$=this.store.select(ce.J9),this.memberEdit$=this.store.select(ce.FC),this.steps=[],this.currentStepSubject=new c.X(null),this.currentStep=this.currentStepSubject.asObservable(),this.firstStepSubject=new c.X(null),this.firstStep=this.firstStepSubject.asObservable(),this.nextStepSubject=new c.X(null),this.nextStep=this.nextStepSubject.asObservable(),this.previousStepSubject=new c.X(null),this.previousStep=this.previousStepSubject.asObservable(),this.memberEdit$.subscribe(me=>{this.authToken=me.authToken}),this.stepsState$.subscribe(me=>{this.steps=me.steps,this.updateSubscriptions()}),this.currentStep$.subscribe(me=>{this.current=me,this.updateSubscriptions()}),this.route.queryParams.subscribe(me=>{this.stepIndex=me.i})}updateSubscriptions(){const le=this.steps.filter(Be=>Be.visibility);let q=le.findIndex((Be,ht)=>!Be.entered);if(this.firstStepSubject.next(le[q<0?0:q]||null),this.current){const Be=le.find(ht=>ht.name===this.current);if(Be){this.currentStepValue!==Be&&this.currentStepSubject.next(Be);const ht=le.findIndex(Pe=>Pe.name===this.current);let Fe=le.findIndex((Pe,we)=>!Pe.entered&&we>ht);Fe<0&&(Fe=ht+1),Fe>=le.length&&(Fe=le.findIndex((Pe,we)=>!Pe.entered&&we!==ht)),this.nextStepSubject.next(le[Fe]||null);let me=ht-1;this.previousStepSubject.next(me>=0?le[me]:null)}else{const ht=this.steps.find(Fe=>Fe.name===this.current);if(ht){const Fe=this.steps.findIndex(Pe=>Pe.name===this.current);let me=Fe-1;this.currentStepValue!==ht&&this.currentStepSubject.next(ht),q=this.steps.findIndex((Pe,we)=>!Pe.entered&&we!==Fe),this.nextStepSubject.next(this.steps[q]||null),this.previousStepSubject.next(me>=0?this.steps[me]:null)}else this.currentStepSubject.next(null)}}else this.nextStepSubject.next(le[q<0?0:q]||null)}setCurrentStep(le){this.route.queryParams.subscribe(q=>{this.stepIndex=q.i,this.store.dispatch(v.IE.setCurrentStep({stepName:this.stepIndex?`${le}?i=${this.stepIndex}`:le}))})}get currentStepValue(){return this.currentStepSubject.value}navigateTo(le){this.router.navigateByUrl(L(this.affiliateService.partnerId,"string"==typeof le?le:le?le.name:"completed",this.authToken,this.route.snapshot.queryParamMap))}navigateToNotEntered(){const le=this.steps.filter(Be=>Be.visibility);let q=le.findIndex((Be,ht)=>!Be.entered);this.navigateTo(le[q]||null)}navigateNext(){this.navigateTo(this.nextStepSubject.value)}navigatePrev(){this.previousStepSubject.value&&this.router.navigateByUrl(L(this.affiliateService.partnerId,this.previousStepSubject.value.name,this.authToken))}validatedStep(le,q){le&&this.store.dispatch(v.IE.setStepValidated({stepName:le.name,valid:q}))}submitted(le,q,Be){le&&this.store.dispatch(v.IE.setStepSubmitted({stepName:this.stepIndex?`${le}?i=${this.stepIndex}`:le,valid:q,clearSubmitted:Be}))}setVisibility(le,q){le&&this.store.dispatch(v.IE.setStepVisibility({stepName:this.stepIndex?`${le}?i=${this.stepIndex}`:le,visibility:q}))}}re.\u0275fac=function(le){return new(le||re)(oe.LFG(J.F0),oe.LFG(J.gz),oe.LFG(se.yh),oe.LFG(he.C),oe.LFG(pe.n))},re.\u0275prov=oe.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"})},9126:(wt,Te,w)=>{"use strict";w.d(Te,{oA:()=>E,_0:()=>L._,IE:()=>ce.I});var c=w(2930);const E=(0,c.R7)({source:"API",events:{"Get Member By Code":(0,c.Ky)(),"Get Dictionaries":(0,c.Ky)(),"Set Data":(0,c.Ky)()}});var L=w(5562),ce=w(8758)},5562:(wt,Te,w)=>{"use strict";w.d(Te,{_:()=>E});var c=w(2930);const E=(0,c.R7)({source:"Member",events:{"Set Member":(0,c.Ky)(),"Set Member Type":(0,c.Ky)(),"Set Webmaster":(0,c.Ky)(),"Set Passport Id":(0,c.Ky)(),"Set Gdpr Agree":(0,c.Ky)(),"Set Member Token":(0,c.Ky)(),"Set Looking For":(0,c.Ky)(),"Set Ages":(0,c.Ky)(),"Set Password":(0,c.Ky)(),"Set Email":(0,c.Ky)(),"Set Username":(0,c.Ky)(),"Set Headline":(0,c.Ky)(),"Set Description":(0,c.Ky)(),"Set Location":(0,c.Ky)(),"
1Set Email Validated":(0,c.Ky)(),"Set Image":(0,c.Ky)(),"Set Interests":(0,c.Ky)(),"Set Ethnicity":(0,c.Ky)(),"Set Build":(0,c.Ky)(),"Set Lookup Value":(0,c.Ky)(),"Set Query Data":(0,c.Ky)(),"Set Dob":(0,c.Ky)()}})},8758:(wt,Te,w)=>{"use strict";w.d(Te,{I:()=>E});var c=w(2930);const E=(0,c.R7)({source:"Steps",events:{"Set Steps":(0,c.Ky)(),"Set Step Validated":(0,c.Ky)(),"Set Step Visibility":(0,c.Ky)(),"Set Step Submitted":(0,c.Ky)(),"Set Current Step":(0,c.Ky)()}})},2709:(wt,Te,w)=>{"use strict";w.d(Te,{FC:()=>E,J9:()=>oe,QO:()=>v,X:()=>L});var c=w(2930);const E=(0,c.ZF)("memberEdit"),L=(0,c.ZF)("api"),v=((0,c.P1)(E,L,(J,se)=>({...J,...se.member})),(0,c.ZF)("steps")),oe=(0,c.P1)(v,J=>J.current)},622:(wt,Te,w)=>{"use strict";w.d(Te,{T:()=>E});var c=w(4650);class E{constructor(){this.size=21}}E.\u0275fac=function(ce){return new(ce||E)},E.\u0275cmp=c.Xpm({type:E,selectors:[["close-icon"]],inputs:{size:"size"},decls:8,vars:3,consts:[["xmlns","http://www.w3.org/2000/svg"],["id","Ellipse_16","data-name","Ellipse 16","cx","10.5","cy","10.5","r","10.5","fill","#fff"],["id","Rectangle_490","data-name","Rectangle 490","transform","translate(13.849 6.11) rotate(45)","fill","#fff","stroke","#333","stroke-width","1"],["width","1.472","height","11.04","rx","0.736","stroke","none"],["x","0.5","y","0.5","width","0.472","height","10.04","rx","0.236","fill","none"],["id","Rectangle_489","data-name","Rectangle 489","transform","translate(14.89 13.917) rotate(135)","fill","#fff","stroke","#333","stroke-width","1"]],template:function(ce,v){1&ce&&(c.O4$(),c.TgZ(0,"svg",0),c._UZ(1,"circle",1),c.TgZ(2,"g",2),c._UZ(3,"rect",3)(4,"rect",4),c.qZA(),c.TgZ(5,"g",5),c._UZ(6,"rect",3)(7,"rect",4),c.qZA()()),2&ce&&c.uIk("width",v.size)("height",v.size)("viewBox","0 0 "+v.size+" "+v.size)},encapsulation:2})},620:(wt,Te,w)=>{"use strict";w.d(Te,{_:()=>E});var c=w(4650);class E{constructor(){this.size=20}}E.\u0275fac=function(ce){return new(ce||E)},E.\u0275cmp=c.Xpm({type:E,selectors:[["google-icon"]],inputs:{size:"size"},decls:5,vars:5,consts:[["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","pattern","preserveAspectRatio","none","width","100%","height","100%","viewBox","0 0 225 225"],["width","225","height","225",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAIAAACx0UUtAAAK12lDQ1BJQ0MgUHJvZmlsZQAASImVlwdUk8kWx+f7vnQSWiACUkLvSCeAlNBDEaSDqIQkJKHEkBBUxM7iCq4FFREsK7oiouDqCshaEAsWFsHeN8gioK6LBRsq+wUeYXffee+dd8+ZzO/c3Llz72TmnH8AoISxxeIcWB2AXFG+JDY0gJ6ckkrHDwAIIIAALIEqmy
1MVM2NiIgFqk/Pf7d1tNBq1G/aKXP/+/X81TS5PygEASkM5gyvl5KLcho5nHLEkHwDkEOo3XZgvVnA3yloStECUf1Mwf4I/KDhjnDHk8Zj42ECU6QAQyGy2hA8A2Q710ws4fDQPWdGDo4grFKFchLIvR8DmonwSZbvc3AUKHkTZCo0XA0BBTwcwMv6Sk/+3/BnK/Gw2X8kTfY0bIUgoFeewF/+fR/O/LTdHNrmHBTrIAklYrGI/9PzuZi+IULIoY1b0JAu5EzUpWCALS5hkjjQwdZK57KAI5dqcWZGTnCkMYSnz5LPiJ5knDY6bZMmCWOVemZJA5iSzJeP7klCWy7ITlH4Bj6XMXyiIT5rkAmHirEmWZsdFTMUEKv0SWayyfp4oNGBq3xBl77nSv/QrZCnX5gviw5S9s6fq54mYUzmlycrauLyg4KmYBGW8OD9AuZc4J0YZz8sJVfqlBXHKtfno5ZxaG6M8wyx2eMwkAyGIAmzAoatNEgD5vEX5ikYCF4gXS4R8QT6dib42Hp0l4jjY0Z0dnV0AULzdievwhjb+JiHalSlfXhsAnqWokz/lY5sCcOIpANR3Uz7T1+hV2gjAqW6OTFIw4cMoPrDor6cGtIAuMASmwArYA2fgDryBPwgG4SAaxIMUMA+tVQBygQQsBEVgJSgBZWAj2AqqwG6wFxwAh8FR0AxOgrPgIrgKusEt8ADIQT94DobBOzAKQRAeokBUSBcygswhW8gZYkC+UDAUCcVCKVA6xIdEkAwqglZDZVA5VAXtgeqgH6ET0FnoMtQD3YN6oSHoNfQJRmAyrAUbwBbwDJgBM+EIOB6eC/PhPLgQLobXw5VwDXwIboLPwlfhW7Acfg6PIABRQWiIMWKPMJBAJBpJRTIRCbIMKUUqkBqkAWlFOpAbiBx5gXzE4DBUDB1jj/HGhGESMBxMHmYZZh2mCnMA04Q5j7mB6cUMY75iKVh9rC3WC8vCJmP52IXYEmwFdj/2OPYC9ha2H/sOh8PRcJY4D1wYLgWXhVuCW4fbiWvEteF6cH24ETwer4u3xfvgo/FsfD6+BL8dfwh/Bn8d34//QFAhGBGcCSGEVIKIsIpQQThIOE24ThggjBLVieZEL2I0kUtcTNxA3EdsJV4j9hNHSRokS5IPKZ6URVpJqiQ1kC6QHpLeqKiomKh4qsxWEaqsUKlUOaJySaVX5SNZk2xDDiSnkWXk9eRachv5HvkNhUKxoPhTUin5lPWUOso5ymPKB1WqqoMqS5Wruly1WrVJ9brqSzWimrkaU22eWqFahdoxtWtqL9SJ6hbqgeps9WXq1eon1O+oj2hQNZw0ojVyNdZpHNS4rDGoide00AzW5GoWa+7VPKfZR0WoptRAKoe6mrqPeoHar4XTstRiaWVplWkd1urSGtbW1HbVTtRepF2tfUpbTkNoFjQWLYe2gXaUdpv2aZrBNOY03rS10xqmXZ/2Xme6jr8OT6dUp1Hnls4nXbpusG627ibdZt1Hehg9G73Zegv1duld0HsxXWu693TO9NLpR6ff14f1bfRj9Zfo79Xv1B8xMDQINRAbbDc4Z/DCkGbob5hluMXwtOGQEdXI10hotMXojNEzujadSc+hV9LP04eN9Y3DjGXGe4y7jEdNLE0STFaZNJo8MiWZMkwzTbeYtpsOmxmZRZkVmdWb3TcnmjPMBebbzDvM31tYWiRZrLFothi01LFkWRZa1ls+tKJY+VnlWdVY3bTGWTOss613WnfbwDZuNgKbaptrtrCtu63Qdqdtjx3WztNOZFdjd8eebM+0L7Cvt+91oDlEOqxyaHZ4OcNsRuqMTTM6Znx1dHPMcdzn+MBJ0yncaZVTq9NrZxtnjnO1800XikuIy3KXFpdXrrauPNddrnfdqG5Rbmvc2t2+uHu4S9wb3Ic8zDzSPXZ43GFoMWIY6xiXPLGeAZ7LPU96fvRy98r3Our1h7e9d7b3Qe/BmZYzeTP3zezzMfFh++zxkfvSfdN9v/eV+xn7sf1q/J74m/pz/ff7DzCtmVnMQ8yXAY4BkoDjAe8DvQKXBrYFIUGhQaVBXcGawQnBVcGPQ0xC+CH1IcOhbqFLQtvCsGERYZvC7rAMWBxWHWs43CN8afj5CHJEXERVxJNIm0hJZGsUHBUetTnq4SzzWaJZzdEgmhW9OfpRjGVMXszPs3GzY2ZXz34a6xRbFNsRR42bH3cw7l18QPyG+AcJVgmyhPZEtcS0xLrE90lBSeVJ8uQZyUuTr6bopQhTWlLxqYmp+1NH5gTP2TqnP80trSTt9lzLuYvmXp6nNy9n3qn5avPZ84+lY9OT0g+mf2ZHs2vYIxmsjB0Zw5xAzjbOc64/dwt3iOfDK+cNZPpklmcO8n34m/lDAj9BheCFMFBYJXyVFZa1O+t9dnR2bfZYTlJOYy4hNz33hEhTlC06v8BwwaIFPWJbcYlYnueVtzVvWBIh2S+FpHOlLflaqEjqlFnJvpH1FvgWVBd8WJi48NgijUWiRZ2LbRavXTxQGFL4wxLMEs6S9iLjopVFvUuZS/csg5ZlLGtfbrq8eHn/itAVB1aSVmav/GWV46ryVW9XJ61uLTYoXlHc903oN/UlqiWSkjtrvNfs/hbzrfDbrrUua7ev/VrKLb1S5lhWUfZ5HWfdle+cvqv8bmx95vquDe4bdm3EbRRtvL3Jb9OBco3ywvK+zVGbm7bQt5Ruebt1/tbLFa4Vu7eRtsm2ySsjK1u2m23fuP1zlaDqVnVAdeMO/R1rd7zfyd15fZf/robdBrvLdn/6Xvj93T2he5pqLGoq9uL2Fux9ui9xX8cPjB/q9uvtL9v/pVZUKz8Qe+B8nUdd3UH9gxvq4XpZ/dChtEPdh4MOtzTYN+xppDWWHQFHZEee/Zj+4+2jEUfbjzGONfxk/tOO49TjpU1Q0+Km4WZBs7wlpaXnRPiJ9lbv1uM/O/xce9L4ZPUp7VMbTpNOF58eO1N4ZqRN3PbiLP9sX/v89gfnks/dPD/7fNeFiAuXLoZcPNfB7DhzyefSyctel09cYVxpvup+tanTrfP4L26/HO9y72q65nGtpduzu7VnZs/p637Xz94IunHxJuvm1VuzbvXcTrh9907aHfld7t3Bezn3Xt0vuD/6YMVD7MPSR+qPKh7rP6751frXRrm7/FRvUG/nk7gnD/o4fc9/k/72ub/4KeVpxYDRQN2g8+DJoZCh7mdznvU/Fz8ffVHyu8bvO15avfzpD/8/OoeTh/tfSV6NvV73RvdN7VvXt+0jMSOP3+W+G31f+kH3w4GPjI8dn5I+DYwu/Iz/XPnF+kvr14ivD8dyx8bEbAl7XAog6IAzMwF4XYtq4xRUO6C6nDRnQluPGzTxf2CcwH/iCf09bu4A1PoDkLACgEhUo+xChznKZHRWSKJ4fwC7uCjHv0ya6eI8kYuMKkvsh7GxNwYA4FsB+CIZGxvdOTb2ZR9a7D0A2vImNL3CcKiWP4JVUKfhMvBPm9D7f+nxnzNQVOAK/jn/CWIGF8ADNvdJAAAAOGVYSWZNTQAqAAAACAABh2kABAAAAAEAAAAaAAAAAAACoAIABAAAAAEAAADhoAMABAAAAAEAAADhAAAAADtX5P0AAB63SURBVHgB7V0JmBTF2Z6eY3dndvaABYHlkjuIiAiIIKCBBI2CIPEg8QI0yC+o8YoR4x+SGJXfR40aj3ihvyTxigp4AAmoEEUFAuEQAihhxYWFvXeY3Z2dmc7b29BpZ2Znunuqu6p7ax4etrqnu+qrt975vvq+ugRRFF38wxFgGAE3w7Jx0TgCEgKco5wHrCPAOcp6C3H5OEc5B1hHgHOU9Rbi8nGOcg6wjgDnKOstxOXjHOUcYB0BL+sCMiaf2NwkNjbGDpXHa2viDfViJOKKNMfDYTEUSpBUCAZxxx0ICMECd0GhlC7u4OlWKvj9Qm5ewsP8Mg0CnKNtggM6xsq/iR0+1PLl3uiuHbH9+8SGunjlYVeo1uXLlf4pH7fb5fYoV8cT8ZiUiMePX7Y0Swn8X1ji7tjZ3bmrZ9Apnu49PSd18Q0Y5O3T7/hj/E8SAgIfC1UwgWoEHWMH9kc2fx7dtjn+790ub44rJ8/ldgu5fpcgSE96SPyqY1EXcG+JuMBjkDjS5IpGPIPP8I44yzfktJwhQzlllUZBor1zFMoy8o9NIGVk3d9iB/ZJeg50dHuEnFwydFSDnT4di4qRZle0RaJsoMA7bFTO2HNyR5zpGzwk/XuO/7adcjS6/8umj9dF1q6KbvxQstr+IAVSpidXtEVsbnThnyj6Jk7N/e7388adgx5t+pcc+W374mjLrp1Na1Y1vf2KWHXYlReQLLjXZ4N2BV8bj0G/eoePzZsxs72RtV1w9Dg1/7J
1UrK2EGWVOZWr/lchkDdd7x5/vn35Z3jkT20OIwMkcRV+z8d1l4SVPxQ9+ZW9qJpP4hGbNueDS/CvnOLvP6kyOxo5UhJb8ofnNpWhcIRC02vtJppRpd6Q+QH0VYgL+q+cGpkw3rRyaGTuNozDroeeebFn9F4QhBX8+TWitLBsxgXAIHVb/9Xfkz7zSYa6VczjavOHvx579fXTLJ0JRiT08IRNILB6rRygg9/JrC66/0TFMdQJHwc7QI/fF9u0UCju2W3aqCS93AHKvvMEZTLU3R5s3fx566LexXVuE4k4O7nSq+ac9LTG1MeSfe3tw9k9s7f7blaMIwtc/+Jvo+pVCp1LOzjTEla1/4NZFwStnp3mM5a/sx1GMqjf84fHmpU8KJd24ZdfILbGh1n1SacGi/8PgqsZX2HnMZhwNv/lqaPE9oGY78tlJkQW+f2W5b/IPi+65117ulG04CuNed/etsd1bhY5dSLVaO8xHdqeCv3o0MONyu1TfHhwNLV0SXnwXN+6kWCVWV3i+c3rx757B7FVSeZqXD+scxYhRzbWXx4+UCwXF5qHQHnPGaGrVocCd97PvSzHN0fA7b4fuuYnHlcz7CUGhek8fU/zwUyz3UBnlKKaD1C68rWXtCqGkq3ktxHOWEIBCra8ueuKPuWPGsQkIixyFe1Qz51JMSufOu2WkESvK/Nf/rGDBrZaVqL0g5jgq2fe75vHIvPYmJPUkYqiefoM7PPkia3afLY7WLf518yvPcftOina684Hdb4l0eO41piaksrIHBDqg1XNmYsYnJ6huYhF8AYMjObk1l02CNSOYa5ZZMaFHEWCq/vFUhJd5BzTL5iT1OtZ75c68rujO/yWVYTb50OcoZiXXzPmhbZa/ZQO2jd5tHTgtWfNPFoL8lG09JtdVTz9LyAvw2SEMEbh1iwpGCApYaOpRzE2um3uJ0KUXQ83DRWndiqLkrbUsaFC5NajpUfTKOUGZ+0XIGpQlggIiOhyVptghCMo1KFMkbdWgHV9byY4GleGhYOuPR+k5QdkjKFMmXoHHaj3auPo9rkEV9FlJMGniFXAs1aPcSVJwZyjBnpOUAI51ehRhptpZP+B90IQGoHzJtgaVwbFIj2IkqWrqeD5PmTIjE4qHBg2HSlasZ81JShDTCo5iLL7y/LFSwUQ2QU6oAb80hkCrBmXQi0+uDYmds5Nz/fad6tmXY6NXPpL0bVSoXjHfB1WjY3p/tPbu22L7/8UJqgadctoOfVA1ROZyFLH6yHuvC/nSyS/8wwQCrAbq04BjYn9UmtB02STuyKdB3+qvbGXiFXDM4ij8pKMTR9h4V28FofSJVrspnWKjfHCcjeqsJsGXIx2aw4KzaB8nScFSTpjlM9XcMk8qgIW2Saix4UuZjjjo48SJStiG1ztoqLtbd6GwyJ0flHb4aT3bTjrzDkfY4PywYyGxvg6Hj0mn6tRXJZ72ZCU49tSgcluZwlF0Q6OffuCETW9am1Y+M8ndo69n4BDf8JG+fgM8XbsZOOYL612VU/OOn1EWKJSYbfZ+03ZzkhLUCHlbj5aonvFdey9LwtIz6MtQLTrTedNn5rQe5EV8tSTGNSJbNzd/tCby/htSq5h0RhR+ZnYI1CfwUn1JnqOVU88VQ/U2tfLyll3eUefmTbk4d9y5lg3AYKC46W8rIyvfFuuqSO5Gbds+qIkcbXj68cYlj9tvzLNV2eBcUP818/3nXWDAjqsxzSYNsob/9BKZMyfs3AdVY0hSj0pW/qKzbRZsglmvq/IMODVw3QL/5AvU0FBMYx/gY68sbXzpCfhnBs/ucQpB0QokOVr142nx8jLbDCm1stM7ZmL+tTewubsx4nc4A+3YYw9Iq7p1bRvoIIKS5Ki0/OPen9nDl0cT1lbi7M2CO+5hakOOtjS3hO1Dv8ZB4ppG7JxFUGIchW2qPG+0vt96Ww1i8v3jO8MvvJfZbeLaAqDh9w83Pv+7DKdPOY6gQIPMeD0OUbCBiYdxrygL3HhXpxUf2o6gaCpsaleyaqOn7yBsGpqaxyBoU5jNNUmpBdZ2l0B/1BaukrwpnF12107fdtKiRWwdnHCcnyPCTCkrToCj2Ess9hXDs+9i0Xj53vx7HmN/U+2ULZTyJuL/tQtmY4j1eP8KGtTmgfqU1ZRvZmvrsYwOR3Qya+gljzhYWLJyq5MIipbD4ELJa+/5Z9+I3ou0EXOkmf0lH2lYmP6rbPVo1WUXxI8eZnNUCf0233endHjoifQQ2Ppbaant/CtKVn5u2ZCY9XBlxVEZIDbjTdLm2fPvLph3o/WY8hLJIpAVR6Wh+YY6Bg09CBq8/+nAlOlkweK5UUHAeH9UPLwiOPMjoaCIitxtFgrvoepw0YvLOUHbhMhuXxjXo9H1p7kiu1HfhldGtWyPCcE4/bqDoHVVHf74ni1Gj+jDZRMJDOpRsfozV3i7XMfCqz/xT42JIYNZEQMKBK2t7PiXtZygxCBlIyODxIrvXaQMUYkRX2DCpsIb6+jWCIcKd/jT+xSn1dGtvoNLN2LrxdDe2McDE1wlIadFDLvqXhgXO9Bivd2Hk1T0zBt2HOF0MLdIVc2IHo1/9YSiRBU5oE3B2uIFf8+d4LbY7stePCeo0hYOS+jXo/FwdE2+y+1rCwgo1Oadp4Ve9FujTTEQj+EWHgdtqzkccF+3Ho0fXO5K68FDoeYO2Vb880p3Sa7ZChVDnd4RYzlBHUDENFXQrUelkFPT9jR6VF3YsVUjm9fFzVKomOnj8XZ6d52Qm6culKcdhoA+PQpvSQo5tW3oE9AJTt0QvLrZJG2K2UzFjy/hBE3A3HmXOjl68PVkbykNKJLdH7oVdl/wB8gyFd3QwC338VBoGvAd85U+Wx9dk+OKt2jXo2qYSNr9aIu7tFfJn5ap8+dppyKgQ49KY0vYxkizoU+ADHbfPz1ORJuKVYcwoz4hf37pVAR0cDRe8a4uQ58AmTQcdfZG2e4nfKXrUgo2zb/bwdMldaHRHh7WYeslQ0/oY3waSqsv3/lvnxMShGdjAwS06lHJo2/dr5BInaRpKIbsPmaNFP7mYSIy8EzsgoBmjlasJlgl2e5jGgr8fR3ZRls8g4fzMU8diDniUc0crXwnm85oMlagqa/X7uIFH2kfjsLc0OBtdydnxe84GwFt/VGM0f81P2GiEylcML4fXjeycYUnw3AUlGjfQR1feIVUuTwfuyCgSY+KVRvNq49k9ydsCs5qTF8ElGj+/FvTP8O/dSQCGjn6MVlDnwAlaIppKEULqtu0+7Eotl9kc3e7hLrwS+IIaOJo/KjpFhY0dReUFc39LOX0U2zCgf1BiVeeZ2gLBDT0RzNNGCVbz5TTTxG3P+mzPWQL4rnZBYHMelSs3Z5+wijZqsp2Xz39FJNE/Ve1nqRDtiSem00Q0MDRmk0W1yXR7tdX+S+cZrEMvDh2ENDA0fqtpjpMabCQp596Bp/BV3umQcnxX2Xuj2YzH48IfO6TH3H3m08kKwsy+bqqsToUtaAgmxbRMejtWeLXJXymc+7iYWmY3tvmCjtdhRl5ONoidJls5EVK72zZ5130btoFX5QEY6TYIaWNL88jylEx/A3lurldQnAAZRl0Fp/rcQXo/ah1Cmv14/sqcvUWmak/GpJ2dKL2iUOJ3kytdF6wCQg0x1zoDunKOANHxdCXtBwmqRpxl/ukSbrqwx9mH4Fd36iOUtcgbiaONuzUkImJjwjFZ5qYO8/acgTQETp4RN9a80wcDX1meS1OFIjFffDV8rqcuOZ/HYLA9kPHdNUkA0elHUaNLrLTJUfKh4WO16S8z2/aFwF4k9t0+uFpOYrAE5QZrU/cJRSeTqtwXq55CNSE9bn2aTkaabBypD4ZFKHw1OSb/I4DENDl2qfjqBj+N2U4/KWUBeDFm4OArqG4dBx1xZrMkVBrrraL3mutWPt+Dq59RZ2Oobj0HK2nCSbFAVia1W4XZX9ZoWNKQzqOihF9MQKS6MJXy/kOyQx5Xiwh0NKsw21Kx1G6lRKCo+kKwEs3D4H9NTqGmtJytKXKPCkz5+zJz/wMf8KeCByo1RHTTMtREbvk0cPAV0ivbF6yiQggjF93TMfEMIoczICCIOgb1c2QHf/atgiwy1HbQsoFJ4wAwxz16tmujDAsPDuTEYg7wq93RcMm48SztwcCafWo4K
1M7Xm8PCLmUBhBwN2t/KS1HtWdjwpNi5IgJufIs7YcAuxy1H5ZcYnMQSMtRX4k5hWrLNUZvJFabgPwpwwgU5ROK4Qs5NEd6RIrLVAxjz1/UgEBYBz+l7NLqUQ+9kR4sUMGppPzjRAQwztS72BHjTFJIAYtV+MdxCBDVo7SnwdPfJcVx/GCkQn066DjrK52tFwLdKVepsZyyALx4cxDw5RKMj6bjsDniq3IV63eornjSOQh0L9Th6qTloDsgLa6ntXzZ7RKx9Sn/OA4BbPmU59fhaaTlqAt71tHcbkmsfslxDcQrJCHQpSgD8dQwZXrUP0j9tKVpqHBsfdpUYWmhvDBLEMBOudrLycBRIX+A9rzMeFKs5Ucsm4Er5Tx1beWckaO9aE59crviR9ZQhpMXTxqBDgEdTj0Kz8BRV5DqAmK3Tzz6JGmIeH6UESgt1idABo7S3ykk2iKG9uqrE3+aYQQwyNSvk6BLwAwclfLCfiG0wk+tVTlSzs29rjZl/eEzegZ1iZjZvcImoGLlc7oyJfKwV5CmxzzVPHbl7q3LBhLJ0qJMEP9j/4OJHVQ+J4KjRdpL18DRkknikecydly1F6nlSRA0Kvrm1J6/qiXgbdn3VW1Z3+JeWl6k/kzvrk0LJugYjKYicFlteNXOHFo0HdxdHz4aOBrsYzGOIOjO6KBZNdLmo72EaMiTt3r/+nnDr7BYDGPFDetdMKy3sVete2v1tqbl26gd0FNcoGPTPICSuT8qFA/V8BQxfEHQVxvHTaz+7w7OQU/eo7v+TKwAnpHLtbvMgw0WqXwQeCrQOXc+M0ddGLXPG2qB2yR3QBc1nHdTQ3eoTzWC9bGmdWX0To9Qi+KI9LIdESqGHk79+P76nHrgrYGjeKjzTLObBgQ9HO8+pvKid5uCCQRF0aU5xQ9tXWK2DO0kf+zzrXdHeoLIjB2oiXLqEjW9IJScbepoEwi6ounMYZXj1JIlpDfV7dt5dE/CTX5pAAEc4UXL0MOp79FRd0BBI0dHGcBCyyuKfb+uvk+y+lTn0MEbWLzpGfUdnjaGwMufxKgYekiL38YpPXRvkaSJo+iSCsXnE++SKvb9qcbi9ARF9fzunDWVW7kqNcZL5a2GyLGd5Tr2WlJeJJLo30XfSL1cqDaOYiJppylkzT0IuqllqGzfMxJUlpWr0uyJ8sGWHFqGHg7T2H6igSpo5ii5Q+TBTvyD/35hzSka2SlXTFal3ME30MzKK49+0EDL0KMzOnagvui9LLZmjuIQeRID97J9/1HNNC32XUFWScDBv23Dg8olT+hC4IuDYYoePUTt200r39T10vGOu/si9ZsG0op93xf16tKg6rJCsaant/xRfYenNSLw7AdNtAw9JBxSqjt6L9dLB0cFHCWvbxDrv9DJ9v2p0Fi99v2/WZxIYdhp4fZnMYJ/4gb/qwkBhEU/2ptLy9Ab7oyibno42nG0MXMPgmKCyNU1UxeFexpWn+p2KPUV3rLuPvUdns6IwPNUlSg6o+cM9mcUMuUDOjiK9w2YexAUE0QwgLQrmkOEoBADztOe0EFu8VO2aMqbUKLLt1Gb6ASRMExvIDIq10UfR4Uel+oy9yBowgSRlAgauClbfB4u1QjdwtcbKfZEYeinnWrEozfEUXj3AU3zS8BOFJBygohGWDM+1i+306y1CxGUzvhkO39g9bY6xO1p9UQBvmTohxqJjMoNp0+P4h1374UZVSkImmaCCEHGNMYj89f8kmCGjsxq8TveDlTPukLpmFZrGFv9HO1xUfrCQNCME0TS56D9W3RMN9bs5h3TNIjd8nI1TC3Fj2ToTzOuRCG5bo5KY/fdbk45dg924h/se8YJIgQhQ8f0NzuWvLtvLcE8HZMVrDzFeJMMY5aGHpno5yje6Ts/2dzL9t3wAFI2tMDg01Wf/JqPkSZgCF/+l29RtvIQCR59NobeIEex6D5hGhQIKk8QyWYAKQFiXZfwn3700d3czVeDNuvZRop+kiwJDP0lI7Iy9MjHiB6VXhuwSFalsn0nMoCkxtdAGtp08sobOE1l6K56ujrcTG0OntJ8MPRTztA9YVR5XU4Y5KiAMafAUMW+kxpAShBO7yWnqYzYojdq6AabZDGgRM8Z0Kxr+7GULW6Qo8jLM+C3GECaWnUWLfuesj4yTdtz3/Sxd0IYUqIbbJKbBkp01gTdK0OSm9U4R4WuU9UrjJOzpnUHNJ3+4Z1Ld7xFSwCK5YKgL34usEBQgJC9tyQjaZyjeP+FkXPLI7UUm6StouFC3bnlifs3tK8992Di2SFoTZPrzgvIrOEXRDErt2va8nnljZVtcYXuffx+JnU6/YlJv9K76QBdsY2VDicJfVBGNKhUBXfzmp93NFaXhLey0qPI67bTZ7OpSiEbjP4/avdMfOsaZzv7iINOeqB6XwVDBCUSclKYmi1HJ/QaDV2FcXMlR6YSGCyFPOPfn+vU8VKMJE17NO6K05wyktziiMv+z/eJHYicLUch350j59ZEdRxlklwls++ge4odo9AtcdjsfYzF//wN+iNJCc0nKdFRTQk3s7kkwNEhnQcu6D+DWVUqo4NhffSbRy6/2hmOFIJrsO/bDxQx1AE9QUOyShS5ZuszyYJhEueZb1wOHpyQk92/WLLnEdyLR/30wv4T2ZWybclgChZteOydo5tgHPK/fsDb1Ed0k1RabZes6Ru484suzLloNIGwqFIeGY4iO8QjEe6Bm6JkzXICft7Iov5w+NCfZllOtWxg56u73nlw72tYziX3s0V3vf/I7bk1kxiiKTl3Xqk7MY4iR3T4vjxWLsOnFMByAkwdXTzwp8OuYZypYOcjm194s/zv2KklAV7Q1Bc6z1U2j/r0ETQ0lOgDl0Qnn6ZjH3Et9CDJUUCJDh9skJaCGXkG3Wg4fNCpc0+5jEHrj37ncztfx0ZXyexUAETvZWCwR+iL+zCJhC5TSzs2vzyPTExUqR0SJDmK7BDigQdti46pGgWk0dLYiRfO30X9vwcvMOFbiy/xa8f26kASIqVhpyIVfml53qb88nt9DSNo2X0o0WU3u7OfQaJUSkkQ5ijyHfXqJUrutksoavUHPceP7zHKYrLK1Hz/6/Xra3d38Qb1/tRh93Nrf+yvuMp6miLe9KMR4k1T9B1qo5Ee5DkKoMevmGMX56ktmGS1im9nlI47v/eEwZ36m3GwCeIhR8NVuyr3rTywDt1NFFfoydNLTXUVQFNP07DgN3dZbfdNcJWUepHnKLK2l4+vYJEyAc0aE+OwufjVndXp1NFdhvUqLO1R2K1zoETvNACZkQfrD5XVl3/dcOjTo9uwkwVyBi8RDktwhlIKo+UmBEZWVoalYOWXXBvPckFImqqZwlGUd/X7t2OsnBTuaSpg5VcyX1EiiNUoRv2CF8QdXHhyUU6wNHAS7nfIKwr6AqGWcE1TnSxYefhIXSS0q/7fiCHIr+A+WVLKBSX8b1lYClb+vCGRRZd0SBCA4KVZHLVRVD9LNEFcJQdoXDkNvajcRILKb1UOSwUOzQONTPX31yzMV1eWeNosjkJQzDbCZA57haKI40s3Qzks5Tnwq/q6TmY4UmZbeRm9b/3cyQIKp/ixM25mduYe2cqymRvcL8xSKOt6VUvBZiFOeKQaBJ11pmheN1SB1ESOoowrT70YfjF+zUp5PGE9AkK88FjpLxq7vEyQpug/nNw5ZFKwKQEiE229UpLtxkgVyZ2UIB6WevF6UyL2yZibq0fl8pae/1BywfyOxQhI2tT7r/o+c3PzD2WpUGHlH74ibsaQUkpMrOAo4ojLf/B73jFN2QBW3pTDC6HeNzR1esswTUHQn4xvsqAbqiBjha2XC+NuvgI69QTsvjd8dv43t+sNS+H5s/o2P3IV+YkjaTCxQo/KxcPNf/vcxV82M7qINA1GzvsKdr/Ot7G+3zW67D4I2q1jyGKCAnzrOIrCME0T0ShOUxZIL88KgN2PFK/TaPcDuc1v3tjFeuGts/VK3TCaf9M/HuWxfQUQugnY/Zz6qYFDN2QM8lvmyCcAQoGjkIDTNKEZ6F5mDEvByr+2wKJIUzIUdDgq09RG65+SgXPYHXnWQcmRXyTPkoYjv3SuYPjkmuyBosZRTtPsG494DlCoCbOkoUGfv5YmQVFHmhxF8djHHtuE874pcbYZzlAdlkIm1AkKGShzFBJgWRm2Cbf7vH3DnGDwRWWW9Muzu1s2mJQGB0tjTynlQEBq/dQXgIt6ImbKJ/lNKxF44bocFgiKKtPnKITAUqENP/xzv/xSPkPKShamLAtNgIZYe/FLZqzfSllixptMcBRSYkx/2UVPf6/LSD6sn7HNzHsA4KMJ0BB6l2qZJxJypt8fTageVujjeHruRSXAYsElxv/uG/qTecOvsKAsXUUwx1FIj9knl/z1VoJLJXUh0g4fhieAzVr+fM5v2dxTiEWOgiVYsofDarGHDPf3zf7NoAOKsXt0QJmy7+paM8pRWUQnrdNXg85OGh1QbB9015gb2BEpWRKmOQpxsevJ5atulX/rydLzO4YRkO37M2MWMrgTW0KlWOeoLC53pBKaLctLqE8bnbhiD46iSeBILdzwMDafyWY7pCyb1gGv20h9KmjbhqOyxHIPVct2h0oNeUJBANGlK7qfe9/4O5h1jxRR1QmbcRSiw+VfuP7BlJsaqyvG02oEYNwRIXlozB1sRpfUoian7cdRuQ4w/fd8+rvPavfw4FRyo6rvwN3EDmqLh8/Hfhzq+zZK25WjMsSYM3XbhgdlJWEj0K0RVe56IrS0YMQ19jLuCfjYm6NyZTAJddHmJzlTlaYFO8tb6tH1vGXEHHamhiji6U04gaMKU5/54rVNdfvas0cl607sseUMdsot6xyOyvWRD+LAEVvKIUZ6f7U2fR79zopo6I4Bl9ndsifj7zSOyjXE6BSO2/r//e/h0tnxVFlxwnG8duDFVwyZbut+ZzI75TvO5KhcN0Splu1Z/fpXq9AByPIshLbgo3hfVpxTOo+8bsildowoaYfOyRxVUJDV6ptla+FX2Z2sciwJx/PN6PP9aQMnO1JxKg0nJ9oFR5U6I6q6/uDG5/e8JZPVLlNUYdDls01wHt+lfc8b22OEA7x1pVEyJtoXRxU4oFk/Obj5zf1//bDmCxwPYsFBH0rR2hOyysRpJDDok3ue3d6oqQDVTjmq1B991i2Hd3xRtW/1wY93NZQRPy1JKUhLQtGX+M0MLug1ucfZp5T0H9711PZg0NPg0945qoYGfC2r+2ZLxc7PKv7
15aeUOzMCQVSyekc+yIXiEDeiIbGULjgSUJZZwzeg1sWdBt+FdhvQq6t7OealuF85RNRrfSoOy8kGJOBAMx9Ltqv0KR4HJsR71c9B56svkNHSz+iaGGLA4uMgXHFzcF4zEqXkl/g6clGqIEtKcowmAZLgEcfEEuNvY0lTVWIM07sin2uF4O/XLOPAOlzj5TtaIIKLfl4cTHHGT60g1UBnTnKMZIeIPUEaAlT0gKMPAi2cYAc5RhhuHi9aKAOcoJwLrCHCOst5CXD7OUc4B1hHgHGW9hbh8nKOcA6wjwDnKegtx+f4D2mKzsHkagioAAAAASUVORK5CYII="],["id","Image_9","data-name","Image 9","fill","url(#pattern)"]],template:function(ce,v){1&ce&&(c.O4$(),c.TgZ(0,"svg",0)(1,"defs")(2,"pattern",1),c._UZ(3,"image",2),c.qZA()(),c._UZ(4,"rect",3),c.qZA()),2&ce&&(c.uIk("width",v.size)("height",v.size)("viewBox","0 0 "+v.size+" "+v.size),c.xp6(4),c.uIk("width",v.size)("height",v.size))},encapsulation:2})},5688:(wt,Te,w)=>{"use strict";w.d(Te,{m:()=>ur});var c=w(6895),E=w(4650),L=w(1607),ce=w(7579),v=w(6451),oe=w(8421),J=w(9751),se=w(5577),he=w(1144),pe=w(576),re=w(3268);const te=["addListener","removeListener"],le=["addEventListener","removeEventListener"],q=["on","off"];function Be(R,j,G,K){if((0,pe.m)(G)&&(K=G,G=void 0),K)return Be(R,j,G).pipe((0,re.Z)(K));const[Re,Ke]=function Pe(R){return(0,pe.m)(R.addEventListener)&&(0,pe.m)(R.removeEventListener)}(R)?le.map(ct=>gt=>R[ct](j,gt,G)):function Fe(R){return(0,pe.m)(R.addListener)&&(0,pe.m)(R.removeListener)}(R)?te.map(ht(R,j)):function me(R){return(0,pe.m)(R.on)&&(0,pe.m)(R.off)}(R)?q.map(ht(R,j)):[];if(!Re&&(0,he.z)(R))return(0,se.z)(ct=>Be(ct,j,G))((0,oe.Xf)(R));if(!Re)throw new TypeError("Invalid event target");return new J.y(ct=>{const gt=(...At)=>ct.next(1<At.length?At:At[0]);return Re(gt),()=>Ke(gt)})}function ht(R,j){return G=>K=>R[G](j,K)}var we=w(9646),Ae=w(4408),ee=w(727);const Qe={schedule(R){let j=requestAnimationFrame,G=cancelAnimationFrame;const{delegate:K}=Qe;K&&(j=K.requestAnimationFrame,G=K.cancelAnimationFrame);const Re=j(Ke=>{G=void 0,R(Ke)});return new ee.w0(()=>G?.(Re))},requestAnimationFrame(...R){const{delegate:j}=Qe;return(j?.requestAnimationFrame||requestAnimationFrame)(...R)},cancelAnimationFrame(...R){const{delegate:j}=Qe;return(j?.cancelAnimationFrame||cancelAnimationFrame)(...R)},delegate:void 0};var dt=w(7565);const ae=new class it extends dt.v{flush(j){this._active=!0;const G=this._scheduled;this._scheduled=void 0;const{actions:K}=this;let Re;j=j||K.shift();do{if(Re=j.execute(j.state,j.delay))break}while((j=K[0])&&j.id===G&&K.shift());if(this._active=!1,Re){for(;(j=K[0])&&j.id===G&&K.shift();)j.unsubscribe();throw Re}}}(class tt extends Ae.o{constructor(j,G){super(j,G),this.scheduler=j,this.work=G}requestAsyncId(j,G,K=0){return null!==K&&K>0?super.requestAsyncId(j,G,K):(j.actions.push(this),j._scheduled||(j._scheduled=Qe.requestAnimationFrame(()=>j.flush(void 0))))}recycleAsyncId(j,G,K=0){var Re;if(null!=K?K>0:this.delay>0)return super.recycleAsyncId(j,G,K);const{actions:Ke}=j;null!=G&&(null===(Re=Ke[Ke.length-1])||void 0===Re?void 0:Re.id)!==G&&(Qe.cancelAnimationFrame(G),j._scheduled=void 0)}});var ie=(()=>{return(R=ie||(ie={})).top="top",R.bottom="bottom",R.left="left",R.right="right",R.auto="auto",R.end="right",R.start="left",R["top left"]="top left",R["top right"]="top right",R["right top"]="right top",R["right bottom"]="right bottom",R["bottom right"]="bottom right",R["bottom left"]="bottom left",R["left bottom"]="left bottom",R["left top"]="left top",R["top start"]="top left",R["top end"]="top right",R["end top"]="right top",R["end bottom"]="right bottom",R["bottom end"]="bottom right",R["bottom start"]="bottom left",R["start bottom"]="start bottom",R["start top"]="left top",ie;var R})(),Ie=(()=>{return(R=Ie||(Ie={})).top="top",R.bottom="bottom",R.left="start",R.right="end",R.auto="auto",R.end="end",R.start="start",R["top left"]="top start",R["top right"]="top end",R["right top"]="end top",R["right bottom"]="end bottom",R["bottom right"]="bottom end",R["bottom left"]="bottom start",R["left bottom"]="start bottom",R["left top"]="start top",R["top start"]="top start",R["top end"]="top end",R["end top"]="end top",R["end bottom"]="end bottom",R["bottom end"]="bottom end",R["bottom start"]="bottom start",R["start bottom"]="start bottom",R["start top"]="start top",Ie;var R})();function be(R,j){if(1!==R.nodeType)return[];const K=R.ownerDocument.defaultView?.getComputedStyle(R,null);return j?K&&K[j]:K}function et(R){if(!R)return document.documentElement;let K,G=R?.offsetParent;for(;null===G&&R.nextElementSibling&&K!==R.nextElementSibling;)K=R.nextElementSibling,G=K.offsetParent;const Re=G&&G.nodeName;return Re&&"BODY"!==Re&&"HTML"!==Re?G&&-1!==["TH","TD","TABLE"].indexOf(G.nodeName)&&"static"===be(G,"position")?et(G):G:K?K.ownerDocument.documentElement:document.documentElement}function Xe(R){return null!==R.parentNode?Xe(R.parentNode):R}function ye(R,j){if(!(R&&R.nodeType&&j&&j.nodeType))return document.documentElement;const G=R.compareDocumentPosition(j)&Node.DOCUMENT_POSITION_FOLLOWING,K=G?R:j,Re=G?j:R,Ke=document.createRange();Ke.setStart(K,0),Ke.setEnd(Re,0);const ct=Ke.commonAncestorContainer;if(R!==ct&&j!==ct||K.contains(Re))return function ut(R){const{nodeName:j}=R;return"BODY"!==j&&("HTML"===j||et(R.firstElementChild)===R)}(ct)?ct:et(ct);const gt=Xe(R);return gt.host?ye(gt.host,j):ye(R,Xe(j).host)}function Se(R){if(!R||!R.parentElement)return document.documentElement;let j=R.parentElement;for(;j?.parentElement&&"none"===be(j,"transform");)j=j.parentElement;return j||document.documentElement}function Le(R,j){const G="x"===j?"Left":"Top",K="Left"===G?"Right":"Bottom";return parseFloat(R[`border${G}Width`])+parseFloat(R[`border${K}Width`])}function Dt(R,j,G,K){return Math.max(j[`offset${R}`],j[`scroll${R}`],G[`client${R}`],G[`offset${R}`],G[`scroll${R}`],0)}function Ee(R){const j=R.body,G=R.documentElement;return{height:Dt("Height",j,G),width:Dt("Width",j,G)}}function rt(R){return{...R,right:(R.left||0)+R.width,bottom:(R.top||0)+R.height}}function X(R){return"number"==typeof R||"[object Number]"===Object.prototype.toString.call(R)}function Je(R){const j=R.getBoundingClientRect();if(!(j&&X(j.top)&&X(j.left)&&X(j.bottom)&&X(j.right)))return j;const G={left:j.left,top:j.top,width:j.right-j.left,height:j.bottom-j.top},K="HTML"===R.nodeName?Ee(R.ownerDocument):void 0,Re=K?.width||R.clientWidth||X(j.right)&&X(G.left)&&j.right-G.left||0,Ke=K?.he
1ight||R.clientHeight||X(j.bottom)&&X(G.top)&&j.bottom-G.top||0;let ct=R.offsetWidth-Re,gt=R.offsetHeight-Ke;if(ct||gt){const At=be(R);ct-=Le(At,"x"),gt-=Le(At,"y"),G.width-=ct,G.height-=gt}return rt(G)}function St(R){return"HTML"===R.nodeName?R:R.parentNode||R.host}function Tt(R){if(!R)return document.body;switch(R.nodeName){case"HTML":case"BODY":return R.ownerDocument.body;case"#document":return R.body}const{overflow:j,overflowX:G,overflowY:K}=be(R);return/(auto|scroll|overlay)/.test(String(j)+String(K)+String(G))?R:Tt(St(R))}function Nn(R,j,G=!1){const K="HTML"===j.nodeName,Re=Je(R),Ke=Je(j),gt=(Tt(R),be(j)),At=parseFloat(gt.borderTopWidth),Nt=parseFloat(gt.borderLeftWidth);G&&K&&(Ke.top=Math.max(Ke.top??0,0),Ke.left=Math.max(Ke.left??0,0));const kt=rt({top:(Re.top??0)-(Ke.top??0)-At,left:(Re.left??0)-(Ke.left??0)-Nt,width:Re.width,height:Re.height});if(kt.marginTop=0,kt.marginLeft=0,K){const Rn=parseFloat(gt.marginTop),cr=parseFloat(gt.marginLeft);X(kt.top)&&(kt.top-=At-Rn),X(kt.bottom)&&(kt.bottom-=At-Rn),X(kt.left)&&(kt.left-=Nt-cr),X(kt.right)&&(kt.right-=Nt-cr),kt.marginTop=Rn,kt.marginLeft=cr}return kt}function An(R,j="top"){const G="top"===j?"scrollTop":"scrollLeft",K=R.nodeName;return"BODY"===K||"HTML"===K?(R.ownerDocument.scrollingElement||R.ownerDocument.documentElement)[G]:R[G]}function Mn(R){const j=R.nodeName;return"BODY"!==j&&"HTML"!==j&&("fixed"===be(R,"position")||Mn(St(R)))}function xn(R,j,G=0,K,Re=!1){let Ke={top:0,left:0};const ct=Re?Se(R):ye(R,j);if("viewport"===K)Ke=function En(R,j=!1){const G=R.ownerDocument.documentElement,K=Nn(R,G),Re=Math.max(G.clientWidth,window.innerWidth||0),Ke=Math.max(G.clientHeight,window.innerHeight||0),ct=j?0:An(G),gt=j?0:An(G,"left");return rt({top:ct-Number(K?.top)+Number(K?.marginTop),left:gt-Number(K?.left)+Number(K?.marginLeft),width:Re,height:Ke})}(ct,Re);else{let gt;"scrollParent"===K?(gt=Tt(St(j)),"BODY"===gt.nodeName&&(gt=R.ownerDocument.documentElement)):gt="window"===K?R.ownerDocument.documentElement:K;const At=Nn(gt,ct,Re);if(At&&"HTML"===gt.nodeName&&!Mn(ct)){const{height:Nt,width:kt}=Ee(R.ownerDocument);X(Ke.top)&&X(At.top)&&X(At.marginTop)&&(Ke.top+=At.top-At.marginTop),X(Ke.top)&&(Ke.bottom=Number(Nt)+Number(At.top)),X(Ke.left)&&X(At.left)&&X(At.marginLeft)&&(Ke.left+=At.left-At.marginLeft),X(Ke.top)&&(Ke.right=Number(kt)+Number(At.left))}else At&&(Ke=At)}return X(Ke.left)&&(Ke.left+=G),X(Ke.top)&&(Ke.top+=G),X(Ke.right)&&(Ke.right-=G),X(Ke.bottom)&&(Ke.bottom-=G),Ke}function nr({width:R,height:j}){return R*j}function Kr(R,j,G,K,Re=["top","bottom","right","left"],Ke="viewport",ct=0){if(-1===R.indexOf("auto"))return R;const gt=xn(G,K,ct,Ke),At={top:{width:gt?.width??0,height:(j?.top??0)-(gt?.top??0)},right:{width:(gt?.right??0)-(j?.right??0),height:gt?.height??0},bottom:{width:gt?.width??0,height:(gt?.bottom??0)-(j?.bottom??0)},left:{width:(j.left??0)-(gt?.left??0),height:gt?.height??0}},Nt=Object.keys(At).map(Rt=>({position:Rt,...At[Rt],area:nr(At[Rt])})).sort((Rt,gr)=>gr.area-Rt.area);let kt=Nt.filter(({width:Rt,height:gr})=>Rt>=G.clientWidth&&gr>=G.clientHeight);kt=kt.filter(({position:Rt})=>Re.some(gr=>gr===Rt));const Rn=kt.length>0?kt[0].position:Nt[0].position,cr=R.split(" ")[1];return G.className=G.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,L.Wl)().isBs5?Ie[Rn]:Rn}`),Rn+(cr?`-${cr}`:"")}const Lt=(R,j=0)=>R?parseFloat(R):j;function Vn(R){const G=R.ownerDocument.defaultView?.getComputedStyle(R),K=Lt(G?.marginTop)+Lt(G?.marginBottom),Re=Lt(G?.marginLeft)+Lt(G?.marginRight);return{width:Number(R.offsetWidth)+Re,height:Number(R.offsetHeight)+K}}function sr(R,j,G){return Nn(j,G?Se(R):ye(R,j),G)}function He(R,j,G){const K=G.split(" ")[0],Re=Vn(R),Ke={width:Re.width,height:Re.height},ct=-1!==["right","left"].indexOf(K),gt=ct?"top":"left",At=ct?"left":"top",Nt=ct?"height":"width",kt=ct?"width":"height";return Ke[gt]=(j[gt]??0)+j[Nt]/2-Re[Nt]/2,Ke[At]=K===At?(j[At]??0)-Re[kt]:j[function kn(R){const j={left:"right",right:"left",bottom:"top",top:"bottom"};return R.replace(/left|right|bottom|top/g,G=>j[G])}(At)]??0,Ke}function ke(R,j){return!!R.modifiers[j]?.enabled}
1const Oe={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function ot(R,j){return!!(0,L.Wl)().isBs5&&Oe[j].includes(R)}function Pn(R,j,G){!R||!j||Object.keys(j).forEach(K=>{let Re="";-1!==["width","height","top","right","bottom","left"].indexOf(K)&&function z(R){return""!==R&&!isNaN(parseFloat(R))&&isFinite(Number(R))}(j[K])&&(Re="px"),G?G.setStyle(R,K,`${String(j[K])}${Re}`):R.style[K]=String(j[K])+Re})}function xt(R){let j=R.offsets.target;const G=R.instance.target.querySelector(".arrow");if(!G)return R;const K=-1!==["left","right"].indexOf(R.placement.split(" ")[0]),Re=K?"height":"width",Ke=K?"Top":"Left",ct=Ke.toLowerCase(),gt=K?"left":"top",At=K?"bottom":"right",Nt=Vn(G)[Re],kt=R.placement.split(" ")[1];(R.offsets.host[At]??0)-Nt<(j[ct]??0)&&(j[ct]-=(j[ct]??0)-((R.offsets.host[At]??0)-Nt)),Number(R.offsets.host[ct])+Number(Nt)>(j[At]??0)&&(j[ct]+=Number(R.offsets.host[ct])+Number(Nt)-Number(j[At])),j=rt(j);const Rn=be(R.instance.target),cr=parseFloat(Rn[`margin${Ke}`])||0,Rt=parseFloat(Rn[`border${Ke}Width`])||0;let gr;if(kt){const Zr=parseFloat(Rn.borderRadius)||0,Vr=Number(cr+Rt+Zr);gr=ct===kt?Number(R.offsets.host[ct])+Vr:Number(R.offsets.host[ct])+Number(R.offsets.host[Re]-Vr)}else gr=Number(R.offsets.host[ct])+Number(R.offsets.host[Re]/2-Nt/2);let kr=gr-(j[ct]??0)-cr-Rt;return kr=Math.max(Math.min(j[Re]-(Nt+5),kr),0),R.offsets.arrow={[ct]:Math.round(kr),[gt]:""},R.instance.arrow=G,R}function Tn(R){if(R.offsets.target=rt(R.offsets.target),!ke(R.options,"flip"))return R.offsets.target={...R.offsets.target,...He(R.instance.target,R.offsets.host,R.placement)},R;const j=xn(R.instance.target,R.instance.host,0,"viewport",!1);let G=R.placement.split(" ")[0],K=R.placement.split(" ")[1]||"";const gt=Kr("auto",R.offsets.host,R.instance.target,R.instance.host,R.options.allowedPositions),At=[G,gt];return At.forEach((Nt,kt)=>{if(G!==Nt||At.length===kt+1)return;G=R.placement.split(" ")[0];const Rn="left"===G&&Math.floor(R.offsets.target.right??0)>Math.floor(R.offsets.host.left??0)||"right"===G&&Math.floor(R.offsets.target.left??0)<Math.floor(R.offsets.host.right??0)||"top"===G&&Math.floor(R.offsets.target.bottom??0)>Math.floor(R.offsets.host.top??0)||"bottom"===G&&Math.floor(R.offsets.target.top??0)<Math.floor(R.offsets.host.bottom??0),cr=Math.floor(R.offsets.target.left??0)<Math.floor(j.left??0),Rt=Math.floor(R.offsets.target.right??0)>Math.floor(j.right??0),gr=Math.floor(R.offsets.target.top??0)<Math.floor(j.top??0),kr=Math.floor(R.offsets.target.bottom??0)>Math.floor(j.bottom??0),Zr="left"===G&&cr||"right"===G&&Rt||"top"===G&&gr||"bottom"===G&&kr,Vr=-1!==["top","bottom"].indexOf(G),_r=Vr&&"left"===K&&cr||Vr&&"right"===K&&Rt||!Vr&&"left"===K&&gr||!Vr&&"right"===K&&kr;(Rn||Zr||_r)&&((Rn||Zr)&&(G=At[kt+1]),_r&&(K=function ir(R){return"right"===R?"left":"left"===R?"right":R}(K)),R.placement=G+(K?` ${K}`:""),R.offsets.target={...R.offsets.target,...He(R.instance.target,R.offsets.host,R.placement)})}),R}function Cn(R){if(!ke(R.options,"preventOverflow"))return R;const j="transform",G=R.instance.target.style,{top:K,left:Re,[j]:Ke}=G;G.top="",G.left="",G[j]="";const ct=xn(R.instance.target,R.instance.host,0,R.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);G.top=K,G.left=Re,G[j]=Ke;const At={primary(Nt){let kt=R.offsets.target[Nt];return(R.offsets.target[Nt]??0)<(ct[Nt]??0)&&(kt=Math.max(R.offsets.target[Nt]??0,ct[Nt]??0)),{[Nt]:kt}},secondary(Nt){const kt="right"===Nt,Rn=kt?"left":"top";let Rt=R.offsets.target[Rn];return(R.offsets.target[Nt]??0)>(ct[Nt]??0)&&(Rt=Math.min(R.offsets.target[Rn]??0,(ct[Nt]??0)-R.offsets.target[kt?"width":"height"])),{[Rn]:Rt}}};return["left","right","top","bottom"].forEach(Nt=>{const kt=-1!==["left","top","start"].indexOf(Nt)?At.primary:At.secondary;R.offsets.target={...R.offsets.target,...kt(Nt)}}),R}function dr(R){const j=R.placement,G=j.split(" ")[0],K=j.split(" ")[1];if(K){const{host:Re,target:Ke}=R.offsets,ct=-1!==["bottom","top"].indexOf(G),gt=ct?"left":"top",At=ct?"width":"height",Nt={start:{[gt]:Re[gt]},end:{[gt]:(Re[gt]??0)+Re[At]-Ke[At]}};R.offsets.target={...Ke,[gt]:gt===K?Nt.start[gt]:Nt.end[gt]}}return R}const Yr=new class _n{position(j,G){return this.offset(j,G)}offset(j,G){return sr(G,j)}positionElements(j,G,K,Re,Ke){const ct=[Tn,dr,Cn,xt],At=function qn(R,j,G,K){if(!R||!j)return;const Re=sr(R,j);!G.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!G.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(G="auto");const Ke=!!G.match(/auto/g);let ct=G.match(/auto\s(left|right|top|bottom|start|end)/)?G.split(" ")[1]||"auto":G;const gt=ct.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return gt&&(ct=gt[1]+(gt[2]?` ${gt[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(ct)&&(ct="auto"),ct=Kr(ct,Re,R,j,K?K.allowedPositions:void 0),{options:K||{modifiers:{}},instance:{target:R,host:j,arrow:void 0},offsets:{target:He(R,Re,ct),host:Re,arrow:void 0},positionFixed:!1,placement:ct,placementAuto:Ke}}(G,j,ie[K],Ke);if(At)return ct.reduce((Nt,kt)=>kt(Nt),At)}};function Jt(R,j,G,K,Re,Ke){const ct=Yr.positionElements(R,j,G,K,Re);if(!ct)return;const gt=function on(R){return{width:R.offsets.target.width,height:R.offsets.target.height,left:Math.floor(R.offsets.target.left??0),top:Math.round(R.offsets.target.top??0),bottom:Math.round(R.offsets.target.bottom??0),right:Math.floor(R.offsets.target.right??0)}}(ct);Pn(j,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${gt.left}px, ${gt.top}
1px, 0px)`},Ke),ct.instance.arrow&&Pn(ct.instance.arrow,ct.offsets.arrow,Ke),function Mt(R,j){const G=R.instance.target;let K=G.className;const Re=(0,L.Wl)().isBs5?Ie[R.placement]:R.placement;R.placementAuto&&(K=K.replace(/bs-popover-auto/g,`bs-popover-${Re}`),K=K.replace(/ms-2|me-2|mb-2|mt-2/g,""),K=K.replace(/bs-tooltip-auto/g,`bs-tooltip-${Re}`),K=K.replace(/\sauto/g,` ${Re}`),-1!==K.indexOf("popover")&&(K=K+" "+function mt(R){return(0,L.Wl)().isBs5?ot(R,"end")?"ms-2":ot(R,"start")?"me-2":ot(R,"top")?"mb-2":ot(R,"bottom")?"mt-2":"":""}(Re)),-1!==K.indexOf("popover")&&-1===K.indexOf("popover-auto")&&(K+=" popover-auto"),-1!==K.indexOf("tooltip")&&-1===K.indexOf("tooltip-auto")&&(K+=" tooltip-auto")),K=K.replace(/left|right|top|bottom|end|start/g,`${Re.split(" ")[0]}`),j?j.setAttribute(G,"class",K):G.className=K}(ct,Ke)}let fr=(()=>{class R{constructor(G,K,Re){this.update$$=new ce.x,this.positionElements=new Map,this.isDisabled=!1,(0,c.NF)(Re)&&G.runOutsideAngular(()=>{this.triggerEvent$=(0,v.T)(Be(window,"scroll",{passive:!0}),Be(window,"resize",{passive:!0}),(0,we.of)(0,ae),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(Ke=>{Jt(hr(Ke.target),hr(Ke.element),Ke.attachment,Ke.appendToBody,this.options,K.createRenderer(null,null))})})})}position(G){this.addPositionElement(G)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(G){this.positionElements.set(hr(G.element),G)}calcPosition(){this.update$$.next(null)}deletePositionElement(G){this.positionElements.delete(hr(G))}setOptions(G){this.options=G}}return R.\u0275fac=function(G){return new(G||R)(E.LFG(E.R0b),E.LFG(E.FYo),E.LFG(E.Lbi))},R.\u0275prov=E.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();function hr(R){return"string"==typeof R?document.querySelector(R):R instanceof E.SBq?R.nativeElement:R??null}var an=w(7340);class Ze{constructor(j,G,K){this.nodes=j,this.viewRef=G,this.componentRef=K}}class de{constructor(j,G,K,Re,Ke,ct,gt,At,Nt){this._viewContainerRef=j,this._renderer=G,this._elementRef=K,this._injector=Re,this._componentFactoryResolver=Ke,this._ngZone=ct,this._applicationRef=gt,this._posService=At,this._document=Nt,this.onBeforeShow=new E.vpe,this.onShown=new E.vpe,this.onBeforeHide=new E.vpe,this.onHidden=new E.vpe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(j){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(j),this}to(j){return this.container=j||this.container,this}position(j){return j?(this.attachment=j.attachment||this.attachment,this._elementRef=j.target||this._elementRef,this):this}provide(j){return this._providers.push(j),this}show(j={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(j.content,j.context,j.initialState);const G=E.zs3.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(G,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,j),this.container instanceof E.SBq&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const K=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!K)return;K.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(j.id?{id:j.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(j){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const G=this._componentRef.location.nativeElement;return G.parentNode?.removeChild(G),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(j?{id:j}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(j){this.triggers=j.triggers||this.triggers,this._listenOpts.outsideClick=j.outsideClick,this._listenOpts.outsideEsc=j.outsideEsc,j.target=j.target||this._elementRef?.
1nativeElement;const G=this._listenOpts.hide=()=>j.hide?j.hide():void this.hide(),K=this._listenOpts.show=Ke=>{j.show?j.show(Ke):this.show(Ke),Ke()};return this._renderer&&(this._unregisterListenersFn=(0,L.wo)(this._renderer,{target:j.target,triggers:j.triggers,show:K,hide:G,toggle:Ke=>{this.isShown?G():K(Ke)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(j,G){return j&&G&&(this._inlineViewRef=j.createEmbeddedView(G)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const j=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=(0,L.Rg)(this._renderer,{targets:[j,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=(0,L.C)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(j,G,K){if(!j)return new Ze([]);if(j instanceof E.Rgc){if(this._viewContainerRef){const ct=this._viewContainerRef.createEmbeddedView(j,G);return ct.markForCheck(),new Ze([ct.rootNodes],ct)}const Ke=j.createEmbeddedView({});return this._applicationRef.attachView(Ke),new Ze([Ke.rootNodes],Ke)}if("function"==typeof j){const Ke=this._componentFactoryResolver.resolveComponentFactory(j),ct=E.zs3.create({providers:this._providers,parent:this._injector}),gt=Ke.create(ct);return Object.assign(gt.instance,K),this._applicationRef.attachView(gt.hostView),new Ze([[gt.location.nativeElement]],gt.hostView,gt)}const Re=this._renderer?[this._renderer.createText(`${j}`)]:[];return new Ze([Re])}}let ve=(()=>{class R{constructor(G,K,Re,Ke,ct,gt){this._componentFactoryResolver=G,this._ngZone=K,this._injector=Re,this._posService=Ke,this._applicationRef=ct,this._document=gt}createLoader(G,K,Re){return new de(K,Re,G,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}}return R.\u0275fac=function(G){return new(G||R)(E.LFG(E._Vd),E.LFG(E.R0b),E.LFG(E.zs3),E.LFG(fr),E.LFG(E.z2F),E.LFG(c.K0))},R.\u0275prov=E.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const xr="220ms cubic-bezier(0, 0, 0.2, 1)";(0,an.X$)("typeaheadAnimation",[(0,an.SB)("animated-down",(0,an.oB)({height:"*",overflow:"hidden"})),(0,an.eR)("* => animated-down",[(0,an.oB)({height:0,overflow:"hidden"}),(0,an.jt)(xr)]),(0,an.SB)("animated-up",(0,an.oB)({height:"*",overflow:"hidden"})),(0,an.eR)("* => animated-up",[(0,an.oB)({height:"*",overflow:"hidden"}),(0,an.jt)(xr)]),(0,an.eR)("* => unanimated",(0,an.jt)("0s"))]);let Ss=(()=>{class R{static forRoot(){return{ngModule:R,providers:[ve,fr]}}}return R.\u0275fac=function(G){return new(G||R)},R.\u0275mod=E.oAB({type:R}),R.\u0275inj=E.cJS({imports:[c.ez]}),R})();var Nr=w(4006),un=w(4175),Cr=w(4463);class ur{}ur.\u0275fac=function(j){return new(j||ur)},ur.\u0275mod=E.oAB({type:ur}),ur.\u0275inj=E.cJS({imports:[c.ez,Ss.forRoot(),Nr.UX,Nr.u5,un.HC,Cr.aw]})},4984:(wt,Te,w)=>{"use strict";w.d(Te,{O:()=>v});var c=w(4650),E=w(6895);function L(oe,J){1&oe&&(c.TgZ(0,"div",2),c._UZ(1,"div",3),c.qZA())}function ce(oe,J){1&oe&&c._UZ(0,"span",4)}class v{constructor(){this.loading=!1,this.inline=!1}}v.\u0275fac=function(J){return new(J||v)},v.\u0275cmp=c.Xpm({type:v,selectors:[["app-spinner"]],inputs:{loading:"loading",inline:"inline"},decls:2,vars:2,consts:[["class","cssload-container",4,"ngIf"],["class","spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],[1,"cssload-container"],[1,"cssload-speeding-wheel"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"]],template:function(J,se){1&J&&(c.YNc(0,L,2,0,"div",0),c.YNc(1,ce,1,0,"span",1)),2&J&&(c.Q6J("ngIf",se.loading&&!se.inline),c.xp6(1),c.Q6J("ngIf",se.loading&&se.inline))},dependencies:[E.O5],styles:['.cssload-container[_ngcontent-%COMP%]{position:fixed;width:100%;inset:0;background-color:#ffffffb3;z-index:9999}.cssload-speeding-wheel[_ngcontent-%COMP%]{content:"";display:block;position:absolute;
1left:48%;top:40%;width:63px;height:63px;margin:0 auto;border:4px solid rgb(0,0,0);border-radius:50%;border-left-color:transparent;border-right-color:transparent;animation:_ngcontent-%COMP%_cssload-spin .5s infinite linear;-o-animation:cssload-spin .5s infinite linear;-ms-animation:cssload-spin .5s infinite linear;-webkit-animation:_ngcontent-%COMP%_cssload-spin .5s infinite linear;-moz-animation:cssload-spin .5s infinite linear}.cssload-speeding-wheel-inline[_ngcontent-%COMP%]{content:"";display:inline-block;width:13px;height:13px;margin:5px;border:4px solid rgb(0,0,0);border-radius:50%;border-left-color:transparent;border-right-color:transparent;animation:_ngcontent-%COMP%_cssload-spin .5s infinite linear;-o-animation:cssload-spin .5s infinite linear;-ms-animation:cssload-spin .5s infinite linear;-webkit-animation:_ngcontent-%COMP%_cssload-spin .5s infinite linear;-moz-animation:cssload-spin .5s infinite linear}@keyframes _ngcontent-%COMP%_cssload-spin{to{transform:rotate(360deg)}}']})},2340:(wt,Te,w)=>{"use strict";w.d(Te,{N:()=>c});const c={production:!1,apiUrl:"https://hp-app-identity.azurewebsites.net",signupUrl:"https://members.trybeforeyoubi.com",uploadUrl:"https://occam-adult-media-services.azurewebsites.net",mediaUrl:"https://upload.theadulthub.com"}},860:(wt,Te,w)=>{"use strict";var c=w(1481),E=w(871),L=w(4650),ce=w(8018),v=w(8520),oe=w(4463),J=w(4896);class se{constructor(s){this.affiliateService=s,s.affiliate.subscribe(u=>{u&&(this.affiliate=u)})}}se.\u0275fac=function(s){return new(s||se)(L.Y36(J.Cw))},se.\u0275cmp=L.Xpm({type:se,selectors:[["app-header"]],decls:2,vars:1,consts:[["alt","",1,"desktop_nav_logo_container","w-nav-brand",3,"src"]],template:function(s,u){1&s&&(L.TgZ(0,"a"),L._UZ(1,"img",0),L.qZA()),2&s&&(L.xp6(1),L.Q6J("src",null==u.affiliate?null:u.affiliate.logoAbsoluteUrl,L.LSH))}});var he=w(622);const pe=["modalInner"];class re{constructor(s){this.confirmService=s,this.popunder=null,this.visible=!1,this.subscriptions=[],this.watchForEscPress=u=>{"Escape"===u.key&&this.cancel()},this.stopWatchForEscPress=()=>{window.removeEventListener("keyup",this.watchForEscPress)},this.watchForOutsideClicks=u=>{this.innerContainer?.nativeElement.contains(u.target)||this.close()},this.subscriptions.push(this.confirmService.notifications$.subscribe(u=>{this.popunder=u,this.popunder&&(this.visible=!0,window.addEventListener("keyup",this.watchForEscPress),setTimeout(()=>window.addEventListener("click",this.watchForOutsideClicks),0))}))}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe())}cancel(){this.close(),this.popunder?.dismissFn()}ok(){this.close(),this.popunder?.confirmFn()}close(){this.visible=!1,this.stopWatchForEscPress(),this.stopWatchForOutsideClicks()}stopWatchForOutsideClicks(){window.removeEventListener("click",this.watchForOutsideClicks)}}re.\u0275fac=function(s){return new(s||re)(L.Y36(J.DN))},re.\u0275cmp=L.Xpm({type:re,selectors:[["app-upgrade-popup"]],viewQuery:function(s,u){if(1&s&&L.Gf(pe,5),2&s){let g;L.iGM(g=L.CRH())&&(u.innerContainer=g.first)}},inputs:{refAction:"refAction"},decls:15,vars:13,consts:[[1,"backfill"],[1,"popunder","card","bottom-down"],[1,"popunder-body"],[1,"mb-20"],[1,"cta-container"],[1,"btn","btn-primary","upgrade-button","w-100",3,"click"],[1,"icon","icon-close",3,"click"]],template:function(s,u){if(1&s&&(L._UZ(0,"div",0),L.TgZ(1,"div",1)(2,"div",2)(3,"h1",3),L._uU(4),L.ALo(5,"translate"),L.qZA(),L.TgZ(6,"h5",3),L._uU(7),L.ALo(8,"translate"),L.qZA(),L.TgZ(9,"div",4)(10,"a",5),L.NdJ("click",function(){return u.ok()}),L._uU(11),L.ALo(12,"translate"),L.qZA()(),L.TgZ(13,"span",6),L.NdJ("click",function(){return u.cancel()}),L._UZ(14,"close-icon"),L.qZA()()()),2&s){let g,M,P;L.ekj("visible",u.visible),L.xp6(1),L.ekj("bottom-up",u.visible),L.xp6(3),L.Oqu(L.lcZ(5,7,null!==(g=null==u.popunder?null:u.popunder.headline)&&void 0!==g?g:"")),L.xp6(3),L.Oqu(L.lcZ(8,9,null!==(M=null==u.popunder?null:u.popunder.description)&&void 0!==M?M:"")),L.xp6(4),L.hij(" ",L.lcZ(12,11,null!==(P=null==u.popunder?null:u.popunder.confirmButton)&&void 0!==P?P:"")," ")}},dependencies:[he.T,oe.X$],styles:[".backfill[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(42,54,66,.69);z-index:999;display:none}.backfill.visible[_ngcontent-%COMP%]{display:block}.popunder[_ngcontent-%COMP%]{max-width:500px;z-index:1000;position:fixed;left:0;right:0;border-top-left-radius:10px;border-top-right-radius:10px;width:100%;cursor:pointer;margin:0 auto;transition:all 1s;box-shadow:0 -1px 15px 3px #223c5080!important;background:#2C333C}.popunder.popunder-inplace[_ngcontent-%COMP%]{position:relative;height:auto;overflow:hidden;border-radius:10px}.popunder[_ngcontent-%COMP%] .background-icon[_ngcontent-%COMP%]{position:absolute;right:0;bottom:-68px;z-index:0}.popunder[_ngcontent-%COMP%] .popunder-body[_ngcontent-%COMP%]{margin:20px;position:relative}.popunder[_ngcontent-%COMP%] .popunder-body[_ngcontent-%COMP%] .icon-close[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;color:#fff}.popunder[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{line-height:33pt;font-size:27pt;padding-right:35px;color:#fff;font-weight:400;margin:0}.popunder[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:23pt;font-size:16pt;margin:0;color:#fff;font-weight:400}.popunder[_ngcontent-%COMP%] .cta-container[_ngcontent-%COMP%]{margin-bottom:50px}.popunder.banner[_ngcontent-%COMP%]{max-width:500px;z-index:1000;position:fixed;left:0;right:0;border-top-left-radius:10px;border-top-right-radius:10px;width:100%;cursor:pointer;margin:0 auto;transition:all 1s;box-shadow:none!important;background:transparent}.popunder.banner.popunder-inplace[_ngcontent-%COMP%]{position:initial}.popunder.banner[_ngcontent-%COMP%] .popunder-body[_ngcontent-%COMP%]{border-radius:10px;box-shadow:0 -1px 15px 3px #223c04!important;background:#2C333C;padding:10px}.popunder.banner[_ngcontent-%COMP%] .popunder-body[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{padding:10px 35px 10px 10px;font-size:9pt;line-height:13pt}"]});class te{constructor(s,u,g,M){this.router=s,this.route=u,this.affiliateService=g,this.title="onboarding-app",g.affiliate.subscribe(P=>
1{P&&(this.affiliate=P,this.setAffiliateCss(P),M.use(P.culture))}),M.setDefaultLang("en")}setAffiliateCss(s){const u=` :root {\n --background-color: #${s.color1};\n --main-link-color: #${s.color6};\n --bs-primary: #${s.color6};\n --main-link-color-dd: #${s.color6.substring(0,6)}dd;\n --main-link-color-26: #${s.color6.substring(0,6)}26;\n --main-link-color-12: #${s.color6.substring(0,6)}12;\n --main-link-color-66: #${s.color6.substring(0,6)}66;\n --main-link-color-4d: #${s.color6.substring(0,6)}4d;\n --main-link-color-b8: #${s.color6.substring(0,6)}b8;\n --bs-body-font-family: Poppins;\n }\n\n ${s.customCss}`,g=document.getElementsByTagName("head")[0],M=document.createElement("style");M.type="text/css",M.appendChild(document.createTextNode(u)),g.appendChild(M);const P=document.createElement("link");P.href=`https://cdnw.hubpeople.com/web/${s.faviconImage}`,P.type="image/x-icon",P.rel="shortcut icon",g.appendChild(P);const $=document.createElement("link");$.href=`https://cdnw.hubpeople.com/web/${s.faviconImage}`,$.type="image/x-icon",$.rel="icon",g.appendChild($);let Q=document.createElement("script");Q.setAttribute("async","true"),Q.setAttribute("defer","true"),Q.setAttribute("src",`https://accounts.google.com/gsi/client?hl=${s.culture}`),g.appendChild(Q),document.getElementsByTagName("html")[0].lang=s.culture,document.getElementsByTagName("body")[0].classList.add(`migration-state-${s.migrationState}`)}}te.\u0275fac=function(s){return new(s||te)(L.Y36(ce.F0),L.Y36(ce.gz),L.Y36(v.C),L.Y36(oe.sK))},te.\u0275cmp=L.Xpm({type:te,selectors:[["app-root"]],hostAttrs:[2,"display","contents"],decls:9,vars:0,consts:[[1,"su-header"],[1,"navbar","navbar-expand-md","su-navbar"],[1,"container-md","app-container","su-navbar-container"],[1,"row","flex-grow-1"],[1,"col-12","d-flex","justify-content-center","d-flex","justify-content-center","text-center","position-relative","flex-column","su-logo-container"],[1,"mt-3","mb-3","su-logo"],[1,"su-page-bg"]],template:function(s,u){1&s&&(L.TgZ(0,"header",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),L._UZ(5,"app-header",5),L.qZA()()()()(),L._UZ(6,"div",6)(7,"router-outlet")(8,"app-upgrade-popup"))},dependencies:[ce.lC,se,re],styles:['@import"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,300;1,500&display=swap";header.su-header[_ngcontent-%COMP%]{background:var(--background-color)}']});var le=w(2930),q=w(9126);const ht=(0,le.Lq)({},(0,le.on)(q.oA.getMemberByCode,(d,{member:s})=>({...d,member:s})),(0,le.on)(q.oA.getDictionaries,(d,{dictionaries:s})=>({...d,dictionaries:s})),(0,le.on)(q.oA.setData,(d,{apiState:s})=>({...s})));var Fe=w(7489);const Pe=d=>d&&!Number.isNaN(d)&&d<100?d+1900:d,we=(0,le.Lq)({},(0,le.on)(q._0.setMember,(d,s)=>({...d,...s})),(0,le.on)(q._0.setMemberType,(d,{memberType:s,gender:u})=>({...d,memberType:s,gender:u})),(0,le.on)(q._0.setLookingFor,(d,{lookingFor:s})=>({...d,lookingFor:s})),(0,le.on)(q._0.setAges,(d,{ages:s})=>({...d,ages:s})),(0,le.on)(q._0.setPassword,(d,{password:s})=>({...d,password:s})),(0,le.on)(q._0.setEmail,(d,{email:s,oauthProvider:u,oauthProviderUserId:g})=>({...d,email:s,oauthProvider:u,oauthProviderUserId:g,emailValidated:!(!d.emailValidated||s!=d.email&&!g),code:"",password:d.password||(g?g.substring(0,7):d.password)})),(0,le.on)(q._0.setDob,(d,s)=>({...d,...s,dobyear1:Pe(s.dobyear1),dobyear2:Pe(s.dobyear2)})),(0,le.on)(q._0.setUsername,(d,s)=>({...d,...s})),(0,le.on)(q._0.setLocation,(d,s)=>({...d,location:s})),(0,le.on)(q._0.setEthnicity,(d,{ethnicity:s})=>({...d,ethnicity:s})),(0,le.on)(q._0.setBuild,(d,{build:s})=>({...d,build:s})),(0,le.on)(q._0.setLookupValue,(d,{lookupValue:s})=>{const u=[...d.lookups||[]],{id:g,lookupId:M}=s,P=u.findIndex($=>$.lookupId===M);return P>=0?u.splice(P,1,{id:g,lookupId:M}):u.push({id:g,lookupId:M}),{...d,lookups:u}}),(0,le.on)(q._0.setImage,(d,{medias:s})=>({...d,medias:[...s||[]]})),(0,le.on)(q._0.setInterests,(d,{interests:s})=>({...d,interests:(0,Fe.uniqBy)([...d.interests||[],...s||[]],u=>u.id||u.label)})),(0,le.on)(q._0.setHeadline,(d,{headline:s})=>({...d,headline:s})),(0,le.on)(q._0.setDescription,(d,{description:s})=>({...d,description:s})),(0,le.on)(q._0.setEmailValidated,(d,{emailValidated:s,code:u})=>({...d,emailValidated:s,code:u})),(0,le.on)(q._0.setMemberToken,(d,{authToken:s})=>({...d,authToken:d.authToken||s})),(0,le.on)(q._0.setWebmaster,(d,{webmasterId:s,currentUrl:u,culture:g,configId:M,configName:P})=>({...d,webmasterId:s,currentUrl:u,culture:g,configId:M,configName:P})),(0,le.on)(q._0.setPassportId,(d,{passportId:s,username:u,siteUrl:g,isImageRequired:M})=>({...d,passportId:s,username:d.username||u,siteUrl:g||d.siteUrl,isImageRequired:M})),(0,le.on)(q._0.setGdprAgree,(d,{gdprAgree:s})=>({...d,gdprAgree:s})),(0,le.on)(q._0.setQueryData,(d,s)=>({...d,queryStringParams:{...d.queryStringParams||{},...s}})));var Ae=w(8758);const Qe=["lookingFor","memberType","location","date-of-birth","emailAddress","password"],it={memberEdit:we,api:ht,steps:(0,le.Lq)({steps:[]},(0,le.on)(Ae.I.setSteps,(d,{steps:s})=>{const M=[s.findIndex(De=>"email"===De.name),s.findIndex(De=>"image"===De.name)].filter(De=>De>=0).reduce((De,We)=>De<0?We:Math.min(De,We),-1),P=M<0?s:s.slice(0,M),$=new Set(P.map(De=>De.name));return Qe.every(De=>$.has(De))?{...d,steps:s}:{...d,steps:[...Qe.map(De=>s.find(We=>We.name===De)).filter(De=>null!=De),...s.filter(De=>Qe.indexOf(De.name)<0)]}}),(0,le.on)(Ae.I.setStepValidated,(d,{stepName:s,valid:u})=>({...d,steps:d.steps.map(g=>g.name===s?{...g,valid:u}:g)})),(0,le.on)(Ae.I.setStepSubmitted,(d,{stepName:s,valid:u,clearSubmitted:g})=>({...d,steps:d.steps.map(M=>M.name===s?{...M,submittedTs:g?void 0:(new Date).toISOString(),submitted:!g,entered:!!u,valid:typeof u>"u"?M.valid:u}:M)})),(0,le.on)(Ae.I.setStepVisibility,(d,{stepName:s,visibility:u})=>({...d,steps:d.steps.map(g=>g.name===s?{...g,visibility:u}:g)})),(0,le.on)(Ae.I.setCurrentStep,(d,{stepName:s})=>{const u=d.steps.map(M=>M.name===s?{...M,visited:!0,visitedTs:M.visitedTs||(new Date).toISOString()}:M),g=u.filter(M=>M.visited).slice(-1)[0];return{...d,current:s,progress:g?.name,steps:u}}))};var ae=w(7340);function ie(d){return new L.vHH(3e3,!1)}
1function xt(){return typeof window<"u"&&typeof window.document<"u"}function Tn(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function qn(d){switch(d.length){case 0:return new ae.ZN;case 1:return d[0];default:return new ae.ZE(d)}}function Cn(d,s,u,g,M=new Map,P=new Map){const $=[],Q=[];let De=-1,We=null;if(g.forEach(_t=>{const Ot=_t.get("offset"),Wt=Ot==De,qt=Wt&&We||new Map;_t.forEach((jt,Kt)=>{let In=Kt,Fn=jt;if("offset"!==Kt)switch(In=s.normalizePropertyName(In,$),Fn){case ae.k1:Fn=M.get(Kt);break;case ae.l3:Fn=P.get(Kt);break;default:Fn=s.normalizeStyleValue(Kt,In,Fn,$)}qt.set(In,Fn)}),Wt||Q.push(qt),We=qt,De=Ot}),$.length)throw function on(d){return new L.vHH(3502,!1)}();return Q}function dr(d,s,u,g){switch(s){case"start":d.onStart(()=>g(u&&_n(u,"start",d)));break;case"done":d.onDone(()=>g(u&&_n(u,"done",d)));break;case"destroy":d.onDestroy(()=>g(u&&_n(u,"destroy",d)))}}function _n(d,s,u){const P=Yr(d.element,d.triggerName,d.fromState,d.toState,s||d.phaseName,u.totalTime??d.totalTime,!!u.disabled),$=d._data;return null!=$&&(P._data=$),P}function Yr(d,s,u,g,M="",P=0,$){return{element:d,triggerName:s,fromState:u,toState:g,phaseName:M,totalTime:P,disabled:!!$}}function Jt(d,s,u){let g=d.get(s);return g||d.set(s,g=u),g}function fr(d){const s=d.indexOf(":");return[d.substring(1,s),d.slice(s+1)]}let hr=(d,s)=>!1,an=(d,s,u)=>[],pr=null;function Ze(d){const s=d.parentNode||d.host;return s===pr?null:s}(Tn()||typeof Element<"u")&&(xt()?(pr=(()=>document.documentElement)(),hr=(d,s)=>{for(;s;){if(s===d)return!0;s=Ze(s)}return!1}):hr=(d,s)=>d.contains(s),an=(d,s,u)=>{if(u)return Array.from(d.querySelectorAll(s));const g=d.querySelector(s);return g?[g]:[]});let pt=null,lt=!1;const Gt=hr,rr=an;let Wn=(()=>{class d{validateStyleProperty(u){return function Qt(d){pt||(pt=function wn(){return typeof document<"u"?document.body:null}()||{},lt=!!pt.style&&"WebkitAppearance"in pt.style);let s=!0;return pt.style&&!function ve(d){return"ebkit"==d.substring(1,6)}(d)&&(s=d in pt.style,!s&<&&(s="Webkit"+d.charAt(0).toUpperCase()+d.slice(1)in pt.style)),s}(u)}matchesElement(u,g){return!1}containsElement(u,g){return Gt(u,g)}getParentElement(u){return Ze(u)}query(u,g,M){return rr(u,g,M)}computeStyle(u,g,M){return M||""}animate(u,g,M,P,$,Q=[],De){return new ae.ZN(M,P)}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275prov=L.Yz7({token:d,factory:d.\u0275fac}),d})(),Kn=(()=>{class d{}return d.NOOP=new Wn,d})();const Ge="ng-enter",nt="ng-leave",Ft="ng-trigger",sn=".ng-trigger",or="ng-animating",Xn=".ng-animating";function xr(d){if("number"==typeof d)return d;const s=d.match(/^(-?[\.\d]+)(m?s)/);return!s||s.length<2?0:Xr(parseFloat(s[1]),s[2])}function Xr(d,s){return"s"===s?1e3*d:d}function si(d,s,u){return d.hasOwnProperty("duration")?d:function Jr(d,s,u){let M,P=0,$="";if("string"==typeof d){const Q=d.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Q)return s.push(ie()),{duration:0,delay:0,easing:""};M=Xr(parseFloat(Q[1]),Q[2]);const De=Q[3];null!=De&&(P=Xr(parseFloat(De),Q[4]));const We=Q[5];We&&($=We)}else M=d;if(!u){let Q=!1,De=s.length;M<0&&(s.push(function Ie(){return new L.vHH(3100,!1)}()),Q=!0),P<0&&(s.push(function be(){return new L.vHH(3101,!1)}()),Q=!0),Q&&s.splice(De,0,ie())}return{duration:M,delay:P,easing:$}}(d,s,u)}function Ei(d,s={}){return Object.keys(d).forEach(u=>{s[u]=d[u]}),s}function Ri(d){const s=new Map;return Object.keys(d).forEach(u=>{s.set(u,d[u])}),s}function un(d,s=new Map,u){if(u)for(let[g,M]of u)s.set(g,M);for(let[g,M]of d)s.set(g,M);return s}function Cr(d,s,u){return u?s+":"+u+";":""}function ur(d){let s="";for(let u=0;u<d.style.length;u++){const g=d.style.item(u);s+=Cr(0,g,d.style.getPropertyValue(g))}for(const u in d.style)d.style.hasOwnProperty(u)&&!u.startsWith("_")&&(s+=Cr(0,kt(u),d.style[u]));d.setAttribute("style",s)}function R(d,s,u){d.style&&(s.forEach((g,M)=>{const P=Nt(M);u&&!u.has(M)&&u.set(M,d.style[P]),d.style[P]=g}),Tn()&&ur(d))}function j(d,s){d.style&&(s.forEach((u,g)=>{const M=Nt(g);d.style[M]=""}),Tn()&&ur(d))}function G(d){return Array.isArray(d)?1==d.length?d[0]:(0,ae.vP)(d):d}const Re=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ke(d){let s=[];if("string"==typeof d){let u;for(;u=Re.exec(d);)s.push(u[1]);Re.lastIndex=0}return s}function ct(d,s,u){const g=d.toString(),M=g.replace(Re,(P,$)=>{let Q=s[$];return null==Q&&(u.push(function ut(d){return new L.vHH(3003,!1)}()),Q=""),Q.toString()});return M==g?d:M}function gt(d){const s=[];let u=d.next();for(;!u.done;)s.push(u.value),u=d.next();return s}const At=/-+([a-z0-9])/g;function Nt(d){return d.replace(At,(...s)=>s[1].toUpperCase())}function kt(d){return d.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Rt(d,s,u){switch(s.type){case 7:return d.visitTrigger(s,u);case 0:return d.visitState(s,u);case 1:return d.visitTransition(s,u);case 2:return d.visitSequence(s,u);case 3:return d.visitGroup(s,u);case 4:return d.visitAnimate(s,u);case 5:return d.visitKeyframes(s,u);case 6:return d.visitStyle(s,u);case 8:return d.visitReference(s,u);case 9:return d.visitAnimateChild(s,u);case 10:return d.visitAnimateRef(s,u);case 11:return d.visitQuery(s,u);case 12:return d.visitStagger(s,u);default:throw function Xe(d){return new L.vHH(3004,!1)}()}}function gr(d,s){return window.getComputedStyle(d)[s]}function wi(d,s){const u=[];
vendor: 17,163 bytes, line 1
1return"string"==typeof d?d.split(/\s*,\s*/).forEach(g=>function Jn(d,s,u){if(":"==d[0]){const De=function ai(d,s){switch(d){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,g)=>parseFloat(g)>parseFloat(u);case":decrement":return(u,g)=>parseFloat(g)<parseFloat(u);default:return s.push(function Mn(d){return new L.vHH(3016,!1)}()),"* => *"}}(d,u);if("function"==typeof De)return void s.push(De);d=De}const g=d.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return u.push(function En(d){return new L.vHH(3015,!1)}()),s;const M=g[1],P=g[2],$=g[3];s.push(fs(M,$));"<"==P[0]&&!("*"==M&&"*"==$)&&s.push(fs($,M))}(g,u,s)):u.push(d),u}const bi=new Set(["true","1"]),Bi=new Set(["false","0"]);function fs(d,s){const u=bi.has(d)||Bi.has(d),g=bi.has(s)||Bi.has(s);return(M,P)=>{let $="*"==d||d==M,Q="*"==s||s==P;return!$&&u&&"boolean"==typeof M&&($=M?bi.has(d):Bi.has(d)),!Q&&g&&"boolean"==typeof P&&(Q=P?bi.has(s):Bi.has(s)),$&&Q}}const Hi=new RegExp("s*:selfs*,?","g");function Sr(d,s,u,g){return new Ne(d).build(s,u,g)}class Ne{constructor(s){this._driver=s}build(s,u,g){const M=new Et(u);return this._resetContextStyleTimingState(M),Rt(this,G(s),M)}_resetContextStyleTimingState(s){s.currentQuerySelector="",s.collectedStyles=new Map,s.collectedStyles.set("",new Map),s.currentTime=0}visitTrigger(s,u){let g=u.queryCount=0,M=u.depCount=0;const P=[],$=[];return"@"==s.name.charAt(0)&&u.errors.push(function Se(){return new L.vHH(3006,!1)}()),s.definitions.forEach(Q=>{if(this._resetContextStyleTimingState(u),0==Q.type){const De=Q,We=De.name;We.toString().split(/\s*,\s*/).forEach(_t=>{De.name=_t,P.push(this.visitState(De,u))}),De.name=We}else if(1==Q.type){const De=this.visitTransition(Q,u);g+=De.queryCount,M+=De.depCount,$.push(De)}else u.errors.push(function Le(){return new L.vHH(3007,!1)}())}),{type:7,name:s.name,states:P,transitions:$,queryCount:g,depCount:M,options:null}}visitState(s,u){const g=this.visitStyle(s.styles,u),M=s.options&&s.options.params||null;if(g.containsDynamicStyles){const P=new Set,$=M||{};g.styles.forEach(Q=>{Q instanceof Map&&Q.forEach(De=>{Ke(De).forEach(We=>{$.hasOwnProperty(We)||P.add(We)})})}),P.size&&(gt(P.values()),u.errors.push(function Dt(d,s){return new L.vHH(3008,!1)}()))}return{type:0,name:s.name,style:g,options:M?{params:M}:null}}visitTransition(s,u){u.queryCount=0,u.depCount=0;const g=Rt(this,G(s.animation),u);return{type:1,matchers:wi(s.expr,u.errors),animation:g,queryCount:u.queryCount,depCount:u.depCount,options:bn(s.options)}}visitSequence(s,u){return{type:2,steps:s.steps.map(g=>Rt(this,g,u)),options:bn(s.options)}}visitGroup(s,u){const g=u.currentTime;let M=0;const P=s.steps.map($=>{u.currentTime=g;const Q=Rt(this,$,u);return M=Math.max(M,u.currentTime),Q});return u.currentTime=M,{type:3,steps:P,options:bn(s.options)}}visitAnimate(s,u){const g=function Zt(d,s){if(d.hasOwnProperty("duration"))return d;if("number"==typeof d)return yn(si(d,s).duration,0,"");const u=d;if(u.split(/\s+/).some(P=>"{"==P.charAt(0)&&"{"==P.charAt(1))){const P=yn(0,0,"");return P.dynamic=!0,P.strValue=u,P}const M=si(u,s);return yn(M.duration,M.delay,M.easing)}(s.timings,u.errors);u.currentAnimateTimings=g;let M,P=s.styles?s.styles:(0,ae.oB)({});if(5==P.type)M=this.visitKeyframes(P,u);else{let $=s.styles,Q=!1;if(!$){Q=!0;const We={};g.easing&&(We.easing=g.easing),$=(0,ae.oB)(We)}u.currentTime+=g.duration+g.delay;const De=this.visitStyle($,u);De.isEmptyStep=Q,M=De}return u.currentAnimateTimings=null,{type:4,timings:g,style:M,options:null}}visitStyle(s,u){const g=this._makeStyleAst(s,u);return this._validateStyleAst(g,u),g}_makeStyleAst(s,u){const g=[],M=Array.isArray(s.styles)?s.styles:[s.styles];for(let Q of M)"string"==typeof Q?Q===ae.l3?g.push(Q):u.errors.push(new L.vHH(3002,!1)):g.push(Ri(Q));let P=!1,$=null;return g.forEach(Q=>{if(Q instanceof Map&&(Q.has("easing")&&($=Q.get("easing"),Q.delete("easing")),!P))for(let De of Q.values())if(De.toString().indexOf("{{")>=0){P=!0;break}}),{type:6,styles:g,easing:$,offset:s.offset,containsDynamicStyles:P,options:null}}_validateStyleAst(s,u){const g=u.currentAnimateTimings;let M=u.currentTime,P=u.currentTime;g&&P>0&&(P-=g.duration+g.delay),s.styles.forEach($=>{"string"!=typeof $&&$.forEach((Q,De)=>{const We=u.collectedStyles.get(u.currentQuerySelector),_t=We.get(De);let Ot=!0;_t&&(P!=M&&P>=_t.startTime&&M<=_t.endTime&&(u.errors.push(function z(d,s,u,g,M){return new L.vHH(3010,!1)}()),Ot=!1),P=_t.startTime),Ot&&We.set(De,{startTime:P,endTime:M}),u.options&&function K(d,s,u){const g=s.params||{},M=Ke(d);M.length&&M.forEach(P=>{g.hasOwnProperty(P)||u.push(function et(d){return new L.vHH(3001,!1)}())})}(Q,u.options,u.errors)})})}visitKeyframes(s,u){const g={type:5,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push(function X(){return new L.vHH(3011,!1)}()),g;let P=0;const $=[];let Q=!1,De=!1,We=0;const _t=s.steps.map(Fn=>{const mr=this._makeStyleAst(Fn,u);let Rr=null!=mr.offset?mr.offset:function It(d){if("string"==typeof d)return null;let s=null;if(Array.isArray(d))d.forEach(u=>{if(u instanceof Map&&u.has("offset")){const g=u;s=parseFloat(g.get("offset")),g.delete("offset")}});else if(d instanceof Map&&d.has("offset")){const u=d;s=parseFloat(u.get("offset")),u.delete("offset")}return s}(mr.styles),yr=0;return null!=Rr&&(P++,yr=mr.offset=Rr),De=De||yr<0||yr>1,Q=Q||yr<We,We=yr,$.push(yr),mr});De&&u.errors.push(function Je(){return new L.vHH(3012,!1)}()),Q&&u.errors.push(function St(){return new L.vHH(3200,!1)}());const Ot=s.steps.length;let Wt=0;P>0&&P<Ot?u.errors.push(function Tt(){return new L.vHH(3202,!1)}()):0==P&&(Wt=1/(Ot-1));const qt=Ot-1,jt=u.currentTime,Kt=u.currentAnimateTimings,In=Kt.duration;return _t.forEach((Fn,mr)=>{const Rr=Wt>0?mr==qt?1:Wt*mr:$[mr],yr=Rr*In;u.currentTime=jt+Kt.delay+yr,Kt.duration=yr,this._validateStyleAst(Fn,u),Fn.offset=Rr,g.styles.push(Fn)}),g}visitReference(s,u){return{type:8,animation:Rt(this,G(s.animation),u),options:bn(s.options)}}visitAnimateChild(s,u){return u.depCount++,{type:9,options:bn(s.options)}}visitAnimateRef(s,u){return{type:10,animation:this.visitReference(s.animation,u),options:bn(s.options)}}visitQuery(s,u){const g=u.currentQuerySelector,M=s.options||{};u.queryCount++,u.currentQuery=s;const[P,$]=function _e(d){const s=!!d.split(/\s*,\s*/).find(u=>":self"==u);return s&&(d=d.replace(Hi,"")),d=d.replace(/@\*/g,sn).replace(/@\w+/g,u=>sn+"-"+u.slice(1)).replace(/:animating/g,Xn),[d,s]}(s.selector);u.currentQuerySelector=g.length?g+" "+P:P,Jt(u.collectedStyles,u.currentQuerySelector,new Map);const Q=Rt(this,G(s.animation),u);return u.currentQuery=null,u.currentQuerySelector=g,{type:11,selector:P,limit:M.limit||0,optional:!!M.optional,includeSelf:$,animation:Q,originalSelector:s.selector,options:bn(s.options)}}visitStagger(s,u){u.currentQuery||u.errors.push(function Nn(){return new L.vHH(3013,!1)}());const g="full"===s.timings?{duration:0,delay:0,easing:"full"}:si(s.timings,u.errors,!0);return{type:12,animation:Rt(this,G(s.animation),u),timings:g,options:null}}}class Et{constructor(s){this.errors=s,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function bn(d){return d?(d=Ei(d)).params&&(d.params=function je(d){return d?Ei(d):null}(d.params)):d={},d}function yn(d,s,u){return{duration:d,delay:s,easing:u}}function Dr(d,s,u,g,M,P,$=null,Q=!1){return{type:1,element:d,keyframes:s,preStyleProps:u,postStyleProps:g,duration:M,delay:P,totalTime:M+P,easing:$,subTimeline:Q}}class jn{constructor(){this._map=new Map}get(s){return this._map.get(s)||[]}append(s,u){let g=this._map.get(s);g||this._map.set(s,g=[]),g.push(...u)}has(s){return this._map.has(s)}clear(){this._map.clear()}}const $n=new RegExp(":enter","g"),ro=new RegExp(":leave","g");function Vs(d,s,u,g,M,P=new Map,$=new Map,Q,De,We=[]){return(new Hs).buildKeyframes(d,s,u,g,M,P,$,Q,De,We)}class Hs{buildKeyframes(s,u,g,M,P,$,Q,De,We,_t=[]){We=We||new jn;const Ot=new ko(s,u,We,M,P,_t,[]);Ot.options=De;const Wt=De.delay?xr(De.delay):0;Ot.currentTimeline.delayNextStep(Wt),Ot.currentTimeline.setStyles([$],null,Ot.errors,De),Rt(this,g,Ot);const qt=Ot.timelines.filter(jt=>jt.containsAnimation());if(qt.length&&Q.size){let jt;for(let Kt=qt.length-1;Kt>=0;Kt--){const In=qt[Kt];if(In.element===u){jt=In;break}}jt&&!jt.allowOnlyTimelineStyles()&&jt.setStyles([Q],null,Ot.errors,De)}return qt.length?qt.map(jt=>jt.buildKeyframes()):[Dr(u,[],[],[],0,Wt,"",!1)]}visitTrigger(s,u){}visitState(s,u){}visitTransition(s,u){}visitAnimateChild(s,u){const g=u.subInstructions.get(u.element);if(g){const M=u.createSubContext(s.options),P=u.currentTimeline.currentTime,$=this._visitSubInstructions(g,M,M.options);P!=$&&u.transformIntoNewTimeline($)}u.previousNode=s}visitAnimateRef(s,u){const g=u.createSubContext(s.options);g.transformIntoNewTimeline(),this._applyAnimationRefDelays([s.options,s.animation.options],u,g),this.visitReference(s.animation,g),u.transformIntoNewTimeline(g.currentTimeline.currentTime),u.previousNode=s}_applyAnimationRefDelays(s,u,g){for(const M of s){const P=M?.delay;if(P){const $="number"==typeof P?P:xr(ct(P,M?.params??{},u.errors));g.delayNextStep($)}}}_visitSubInstructions(s,u,g){let P=u.currentTimeline.currentTime;const $=null!=g.duration?xr(g.duration):null,Q=null!=g.delay?xr(g.delay):null;return 0!==$&&s.forEach(De=>{const We=u.appendInstructionToTimeline(De,$,Q);P=Math.max(P,We.duration+We.delay)}),P}visitReference(s,u){u.updateOptions(s.options,!0),Rt(this,s.animation,u),u.previousNode=s}visitSequence(s,u){const g=u.subContextCount;let M=u;const P=s.options;if(P&&(P.params||P.delay)&&(M=u.createSubContext(P),M.transformIntoNewTimeline(),null!=P.delay)){6==M.previousNode.type&&(M.currentTimeline.snapshotCurrentStyles(),M.previousNode=ji);const $=xr(P.delay);M.delayNextStep($)}s.steps.length&&(s.steps.forEach($=>Rt(this,$,M)),M.currentTimeline.applyStylesToKeyframe(),M.subContextCount>g&&M.transformIntoNewTimeline()),u.previousNode=s}visitGroup(s,u){const g=[];let M=u.currentTimeline.currentTime;const P=s.options&&s.options.delay?xr(s.options.delay):0;s.steps.forEach($=>{const Q=u.createSubContext(s.options);P&&Q.delayNextStep(P),Rt(this,$,Q),M=Math.max(M,Q.currentTimeline.currentTime),g.push(Q.currentTimeline)}),g.forEach($=>u.currentTimeline.mergeTimelineCollectedStyles($)),u.transformIntoNewTimeline(M),u.previousNode=s}_visitTiming(s,u){if(s.dynamic){const g=s.strValue;return si(u.params?ct(g,u.params,u.errors):g,u.errors)}return{duration:s.duration,delay:s.delay,easing:s.easing}}visitAnimate(s,u){const g=u.currentAnimateTimings=this._visitTiming(s.timings,u),M=u.currentTimeline;g.delay&&(u.incrementTime(g.delay),M.snapshotCurrentStyles());const P=s.style;5==P.type?this.visitKeyframes(P,u):(u.incrementTime(g.duration),this.visitStyle(P,u),M.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=s}visitStyle(s,u){const g=u.currentTimeline,M=u.currentAnimateTimings;!M&&g.hasCurrentStyleProperties()&&g.forwardFrame();const P=M&&M.easing||s.easing;s.isEmptyStep?g.applyEmptyStep(P):g.setStyles(s.styles,P,u.errors,u.options),u.previousNode=s}visitKeyframes(s,u){const g=u.currentAnimateTimings,M=u.currentTimeline.duration,P=g.duration,Q=u.createSubContext().currentTimeline;Q.easing=g.easing,s.styles.forEach(De=>{Q.forwardTime((De.offset||0)*P),Q.setStyles(De.styles,De.easing,u.errors,u.options),Q.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(Q),u.transformIntoNewTimeline(M+P),u.previousNode=s}visitQuery(s,u){const g=u.currentTimeline.currentTime,M=s.options||{},P=M.delay?xr(M.delay):0;P&&(6===u.previousNode.type||0==g&&u.currentTimeline.hasCurrentStyleProperties())&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=ji);let $=g;const Q=u.invokeQuery(s.selector,s.originalSelector,s.limit,s.includeSelf,!!M.optional,u.errors);u.currentQueryTotal=Q.length;let De=null;Q.forEach((We,_t)=>{u.currentQueryIndex=_t;const Ot=u.createSubContext(s.options,We);P&&Ot.delayNextStep(P),We===u.element&&(De=Ot.currentTimeline),Rt(this,s.animation,Ot),Ot.currentTimeline.applyStylesToKeyframe(),$=Math.max($,Ot.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline($),De&&(u.currentTimeline.mergeTimelineCollectedStyles(De),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=s}visitStagger(s,u){const g=u.parentContext,M=u.currentTimeline,P=s.timings,$=Math.abs(P.duration),Q=$*(u.currentQueryTotal-1);let De=$*u.currentQueryIndex;switch(P.duration<0?"reverse":P.easing){case"reverse":De=Q-De;break;case"full":De=g.currentStaggerTime}const _t=u.currentTimeline;De&&_t.delayNextStep(De);const Ot=_t.currentTime;Rt(this,s.animation,u),u.previousNode=s,g.currentStaggerTime=M.currentTime-Ot+(M.startTime-g.currentTimeline.startTime)}}const ji={};class ko{constructor(s,u,g,M,P,$,Q,De){this._driver=s,this.element=u,this.subInstructions=g,this._enterClassName=M,this._leaveClassName=P,this.errors=$,this.timelines=Q,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ji,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=De||new io(this._driver,u,0),Q.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(s,u){if(!s)return;const g=s;let M=this.options;null!=g.duration&&(M.duration=xr(g.duration)),null!=g.delay&&(M.delay=xr(g.delay));const P=g.params;if(P){let $=M.params;$||($=this.options.params={}),Object.keys(P).forEach(Q=>{(!u||!$.hasOwnProperty(Q))&&($[Q]=ct(P[Q],$,this.errors))})}}_copyOptions(){const s={};if(this.options){const u=this.options.params;if(u){const g=s.params={};Object.keys(u).forEach(M=>{g[M]=u[M]})}}return s}createSubContext(s=null,u,g){const M=u||this.element,P=new ko(this._driver,M,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(M,g||0));return P.previousNode=this.previousNode,P.currentAnimateTimings=this.currentAnimateTimings,P.options=this._copyOptions(),P.updateOptions(s),P.currentQueryIndex=this.currentQueryIndex,P.currentQueryTotal=this.currentQueryTotal,P.parentContext=this,this.subContextCount++,P}transformIntoNewTimeline(s){return this.previousNode=ji,this.currentTimeline=this.currentTimeline.fork(this.element,s),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(s,u,g){const M={duration:u??s.duration,delay:this.currentTimeline.currentTime+(g??0)+s.delay,easing:""},P=new so(this._driver,s.element,s.keyframes,s.preStyleProps,s.postStyleProps,M,s.stretchStartingKeyframe);return this.timelines.push(P),M}incrementTime(s){this.currentTimeline.forwardTime(this.currentTimeline.duration+s)}delayNextStep(s){s>0&&this.currentTimeline.delayNextStep(s)}invokeQuery(s,u,g,M,P,$){let Q=[];if(M&&Q.push(this.element),s.length>0){s=(s=s.replace($n,"."+this._enterClassName)).replace(ro,"."+this._leaveClassName);let We=this._driver.query(this.element,s,1!=g);0!==g&&(We=g<0?We.slice(We.length+g,We.length):We.slice(0,g)),Q.push(...We)}return!P&&0==Q.length&&$.push(function An(d){return new L.vHH(3014,!1)}()),Q}}class io{constructor(s,u,g,M){this._driver=s,this.element=u,this.startTime=g,this._elementTimelineStylesLookup=M,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(s){const u=1===this._keyframes.size&&this._pendingStyles.size;this.duration||u?(this.forwardTime(this.currentTime+s),u&&this.snapshotCurrentStyles()):this.startTime+=s}fork(s,u){return this.applyStylesToKeyframe(),new io(this._driver,s,u||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(s){this.applyStylesToKeyframe(),this.duration=s,this._loadKeyframe()}_updateStyle(s,u){this._localTimelineStyles.set(s,u),this._globalTimelineStyles.set(s,u),this._styleSummary.set(s,{time:this.currentTime,value:u})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
1applyEmptyStep(s){s&&this._previousKeyframe.set("easing",s);for(let[u,g]of this._globalTimelineStyles)this._backFill.set(u,g||ae.l3),this._currentKeyframe.set(u,ae.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(s,u,g,M){u&&this._previousKeyframe.set("easing",u);const P=M&&M.params||{},$=function wr(d,s){const u=new Map;let g;return d.forEach(M=>{if("*"===M){g=g||s.keys();for(let P of g)u.set(P,ae.l3)}else un(M,u)}),u}(s,this._globalTimelineStyles);for(let[Q,De]of $){const We=ct(De,P,g);this._pendingStyles.set(Q,We),this._localTimelineStyles.has(Q)||this._backFill.set(Q,this._globalTimelineStyles.get(Q)??ae.l3),this._updateStyle(Q,We)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((s,u)=>{this._currentKeyframe.set(u,s)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((s,u)=>{this._currentKeyframe.has(u)||this._currentKeyframe.set(u,s)}))}snapshotCurrentStyles(){for(let[s,u]of this._localTimelineStyles)this._pendingStyles.set(s,u),this._updateStyle(s,u)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const s=[];for(let u in this._currentKeyframe)s.push(u);return s}
vendor: 12,478 bytes, line 1
1mergeTimelineCollectedStyles(s){s._styleSummary.forEach((u,g)=>{const M=this._styleSummary.get(g);(!M||u.time>M.time)&&this._updateStyle(g,u.value)})}buildKeyframes(){this.applyStylesToKeyframe();const s=new Set,u=new Set,g=1===this._keyframes.size&&0===this.duration;let M=[];this._keyframes.forEach((Q,De)=>{const We=un(Q,new Map,this._backFill);We.forEach((_t,Ot)=>{_t===ae.k1?s.add(Ot):_t===ae.l3&&u.add(Ot)}),g||We.set("offset",De/this.duration),M.push(We)});const P=s.size?gt(s.values()):[],$=u.size?gt(u.values()):[];if(g){const Q=M[0],De=new Map(Q);Q.set("offset",0),De.set("offset",1),M=[Q,De]}return Dr(this.element,M,P,$,this.duration,this.startTime,this.easing,!1)}}class so extends io{constructor(s,u,g,M,P,$,Q=!1){super(s,u,$.delay),this.keyframes=g,this.preStyleProps=M,this.postStyleProps=P,this._stretchStartingKeyframe=Q,this.timings={duration:$.duration,delay:$.delay,easing:$.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let s=this.keyframes,{delay:u,duration:g,easing:M}=this.timings;if(this._stretchStartingKeyframe&&u){const P=[],$=g+u,Q=u/$,De=un(s[0]);De.set("offset",0),P.push(De);const We=un(s[0]);We.set("offset",Eo(Q)),P.push(We);const _t=s.length-1;for(let Ot=1;Ot<=_t;Ot++){let Wt=un(s[Ot]);const qt=Wt.get("offset");Wt.set("offset",Eo((u+qt*g)/$)),P.push(Wt)}g=$,u=0,M="",s=P}return Dr(this.element,s,this.preStyleProps,this.postStyleProps,g,u,M,!0)}}function Eo(d,s=3){const u=Math.pow(10,s-1);return Math.round(d*u)/u}class Zi{}const Si=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Ar extends Zi{normalizePropertyName(s,u){return Nt(s)}normalizeStyleValue(s,u,g,M){let P="";const $=g.toString().trim();if(Si.has(u)&&0!==g&&"0"!==g)if("number"==typeof g)P="px";else{const Q=g.match(/^[+-]?[\d\.]+([a-z]*)$/);Q&&0==Q[1].length&&M.push(function ye(d,s){return new L.vHH(3005,!1)}())}return $+P}}function Ms(d,s,u,g,M,P,$,Q,De,We,_t,Ot,Wt){return{type:0,element:d,triggerName:s,isRemovalTransition:M,fromState:u,fromStyles:P,toState:g,toStyles:$,timelines:Q,queriedElements:De,preStyleProps:We,postStyleProps:_t,totalTime:Ot,errors:Wt}}const Ts={};class Is{constructor(s,u,g){this._triggerName=s,this.ast=u,this._stateStyles=g}match(s,u,g,M){return function js(d,s,u,g,M){return d.some(P=>P(s,u,g,M))}(this.ast.matchers,s,u,g,M)}buildStyles(s,u,g){let M=this._stateStyles.get("*");return void 0!==s&&(M=this._stateStyles.get(s?.toString())||M),M?M.buildStyles(u,g):new Map}build(s,u,g,M,P,$,Q,De,We,_t){const Ot=[],Wt=this.ast.options&&this.ast.options.params||Ts,jt=this.buildStyles(g,Q&&Q.params||Ts,Ot),Kt=De&&De.params||Ts,In=this.buildStyles(M,Kt,Ot),Fn=new Set,mr=new Map,Rr=new Map,yr="void"===M,hs={params:$s(Kt,Wt),delay:this.ast.options?.delay},Ii=_t?[]:Vs(s,u,this.ast.animation,P,$,jt,In,hs,We,Ot);let fi=0;if(Ii.forEach(Ys=>{fi=Math.max(Ys.duration+Ys.delay,fi)}),Ot.length)return Ms(u,this._triggerName,g,M,yr,jt,In,[],[],mr,Rr,fi,Ot);Ii.forEach(Ys=>{const ps=Ys.element,Ir=Jt(mr,ps,new Set);Ys.preStyleProps.forEach(yi=>Ir.add(yi));const Gr=Jt(Rr,ps,new Set);Ys.postStyleProps.forEach(yi=>Gr.add(yi)),ps!==u&&Fn.add(ps)});const zi=gt(Fn.values());return Ms(u,this._triggerName,g,M,yr,jt,In,Ii,zi,mr,Rr,fi)}}function $s(d,s){const u=Ei(s);for(const g in d)d.hasOwnProperty(g)&&null!=d[g]&&(u[g]=d[g]);return u}class li{constructor(s,u,g){this.styles=s,this.defaultParams=u,this.normalizer=g}buildStyles(s,u){const g=new Map,M=Ei(this.defaultParams);return Object.keys(s).forEach(P=>{const $=s[P];null!==$&&(M[P]=$)}),this.styles.styles.forEach(P=>{"string"!=typeof P&&P.forEach(($,Q)=>{$&&($=ct($,M,u));const De=this.normalizer.normalizePropertyName(Q,u);$=this.normalizer.normalizeStyleValue(Q,De,$,u),g.set(Q,$)})}),g}}class ui{constructor(s,u,g){this.name=s,this.ast=u,this._normalizer=g,this.transitionFactories=[],this.states=new Map,u.states.forEach(M=>{this.states.set(M.name,new li(M.style,M.options&&M.options.params||{},g))}),ti(this.states,"true","1"),ti(this.states,"false","0"),u.transitions.forEach(M=>{this.transitionFactories.push(new Is(s,M,this.states))}),this.fallbackTransition=function Os(d,s,u){return new Is(d,{type:1,animation:{type:2,steps:[],options:null},matchers:[($,Q)=>!0],options:null,queryCount:0,depCount:0},s)}(s,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(s,u,g,M){return this.transitionFactories.find($=>$.match(s,u,g,M))||null}matchStyles(s,u,g){return this.fallbackTransition.buildStyles(s,u,g)}}function ti(d,s,u){d.has(s)?d.has(u)||d.set(u,d.get(s)):d.has(u)&&d.set(s,d.get(u))}const $i=new jn;class os{constructor(s,u,g){this.bodyNode=s,this._driver=u,this._normalizer=g,this._animations=new Map,this._playersById=new Map,this.players=[]}register(s,u){const g=[],P=Sr(this._driver,u,g,[]);if(g.length)throw function kn(d){return new L.vHH(3503,!1)}();this._animations.set(s,P)}_buildPlayer(s,u,g){const M=s.element,P=Cn(0,this._normalizer,0,s.keyframes,u,g);return this._driver.animate(M,P,s.duration,s.delay,s.easing,[],!0)}create(s,u,g={}){const M=[],P=this._animations.get(s);let $;const Q=new Map;if(P?($=Vs(this._driver,u,P,Ge,nt,new Map,new Map,g,$i,M),$.forEach(_t=>{const Ot=Jt(Q,_t.element,new Map);_t.postStyleProps.forEach(Wt=>Ot.set(Wt,null))})):(M.push(function ir(){return new L.vHH(3300,!1)}()),$=[]),M.length)throw function Lt(d){return new L.vHH(3504,!1)}();Q.forEach((_t,Ot)=>{_t.forEach((Wt,qt)=>{_t.set(qt,this._driver.computeStyle(Ot,qt,ae.l3))})});const We=qn($.map(_t=>{const Ot=Q.get(_t.element);return this._buildPlayer(_t,new Map,Ot)}));return this._playersById.set(s,We),We.onDestroy(()=>this.destroy(s)),this.players.push(We),We}destroy(s){const u=this._getPlayer(s);u.destroy(),this._playersById.delete(s);const g=this.players.indexOf(u);g>=0&&this.players.splice(g,1)}_getPlayer(s){const u=this._playersById.get(s);if(!u)throw function Vn(d){return new L.vHH(3301,!1)}();return u}listen(s,u,g,M){const P=Yr(u,"","","");return dr(this._getPlayer(s),g,P,M),()=>{}}command(s,u,g,M){if("register"==g)return void this.register(s,M[0]);if("create"==g)return void this.create(s,u,M[0]||{});const P=this._getPlayer(s);switch(g){case"play":P.play();break;case"pause":P.pause();break;case"reset":P.reset();break;case"restart":P.restart();break;case"finish":P.finish();break;case"init":P.init();break;case"setPosition":P.setPosition(parseFloat(M[0]));break;case"destroy":this.destroy(s)}}}const Er="ng-animate-queued",ci="ng-animate-disabled",as=[],jr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},sa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Br="__ng_removed";class Ai{get params(){return this.options.params}constructor(s,u=""){this.namespaceId=u;const g=s&&s.hasOwnProperty("value");if(this.value=function T(d){return d??null}(g?s.value:s),g){const P=Ei(s);delete P.value,this.options=P}else this.options={};this.options.params||(this.options.params={})}absorbOptions(s){const u=s.params;if(u){const g=this.options.params;Object.keys(u).forEach(M=>{null==g[M]&&(g[M]=u[M])})}}}const Pr="void",lo=new Ai(Pr);class uo{constructor(s,u,g){this.id=s,this.hostElement=u,this._engine=g,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+s,$e(u,this._hostClassName)}listen(s,u,g,M){if(!this._triggers.has(u))throw function sr(d,s){return new L.vHH(3302,!1)}();if(null==g||0==g.length)throw function He(d){return new L.vHH(3303,!1)}();if(!function U(d){return"start"==d||"done"==d}(g))throw function ke(d,s){return new L.vHH(3400,!1)}();const P=Jt(this._elementListeners,s,[]),$={name:u,phase:g,callback:M};P.push($);const Q=Jt(this._engine.statesByElement,s,new Map);return Q.has(u)||($e(s,Ft),$e(s,Ft+"-"+u),Q.set(u,lo)),()=>{this._engine.afterFlush(()=>{const De=P.indexOf($);De>=0&&P.splice(De,1),this._triggers.has(u)||Q.delete(u)})}}register(s,u){return!this._triggers.has(s)&&(this._triggers.set(s,u),!0)}_getTrigger(s){const u=this._triggers.get(s);if(!u)throw function Oe(d){return new L.vHH(3401,!1)}();return u}trigger(s,u,g,M=!0){const P=this._getTrigger(u),$=new Fi(this.id,u,s);let Q=this._engine.statesByElement.get(s);Q||($e(s,Ft),$e(s,Ft+"-"+u),this._engine.statesByElement.set(s,Q=new Map));let De=Q.get(u);const We=new Ai(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&De&&We.absorbOptions(De.options),Q.set(u,We),De||(De=lo),We.value!==Pr&&De.value===We.value){if(!function wa(d,s){const u=Object.keys(d),g=Object.keys(s);if(u.length!=g.length)return!1;for(let M=0;M<u.length;M++){const P=u[M];if(!s.hasOwnProperty(P)||d[P]!==s[P])return!1}return!0}(De.params,We.params)){const Kt=[],In=P.matchStyles(De.value,De.params,Kt),Fn=P.matchStyles(We.value,We.params,Kt);Kt.length?this._engine.reportError(Kt):this._engine.afterFlush(()=>{j(s,In),R(s,Fn)})}return}const Wt=Jt(this._engine.playersByElement,s,[]);Wt.forEach(Kt=>{Kt.namespaceId==this.id&&Kt.triggerName==u&&Kt.queued&&Kt.destroy()});let qt=P.matchTransition(De.value,We.value,s,We.params),jt=!1;if(!qt){if(!M)return;qt=P.fallbackTransition,jt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:u,transition:qt,fromState:De,toState:We,player:$,isFallbackTransition:jt}),jt||($e(s,Er),$.onStart(()=>{cn(s,Er)})),$.onDone(()=>{let Kt=this.players.indexOf($);Kt>=0&&this.players.splice(Kt,1);const In=this._engine.playersByElement.get(s);if(In){let Fn=In.indexOf($);Fn>=0&&In.splice(Fn,1)}}),this.players.push($),Wt.push($),$}deregister(s){this._triggers.delete(s),this._engine.statesByElement.forEach(u=>u.delete(s)),this._elementListeners.forEach((u,g)=>{this._elementListeners.set(g,u.filter(M=>M.name!=s))})}clearElementCache(s){this._engine.statesByElement.delete(s),this._elementListeners.delete(s);const u=this._engine.playersByElement.get(s);u&&(u.forEach(g=>g.destroy()),this._engine.playersByElement.delete(s))}_signalRemovalForInnerTriggers(s,u){const g=this._engine.driver.query(s,sn,!0);g.forEach(M=>{if(M[Br])return;const P=this._engine.fetchNamespacesByElement(M);P.size?P.forEach($=>$.triggerLeaveAnimation(M,u,!1,!0)):this.clearElementCache(M)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(M=>this.clearElementCache(M)))}triggerLeaveAnimation(s,u,g,M){const P=this._engine.statesByElement.get(s),$=new Map;if(P){const Q=[];if(P.forEach((De,We)=>{if($.set(We,De.value),this._triggers.has(We)){const _t=this.trigger(s,We,Pr,M);_t&&Q.push(_t)}}),Q.length)return this._engine.markElementAsRemoved(this.id,s,!0,u,$),g&&qn(Q).onDone(()=>this._engine.processLeaveNode(s)),!0}return!1}prepareLeaveAnimationListeners(s){const u=this._elementListeners.get(s),g=this._engine.statesByElement.get(s);if(u&&g){const M=new Set;u.forEach(P=>{const $=P.name;if(M.has($))return;M.add($);const De=this._triggers.get($).fallbackTransition,We=g.get($)||lo,_t=new Ai(Pr),Ot=new Fi(this.id,$,s);this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:$,transition:De,fromState:We,toState:_t,player:Ot,isFallbackTransition:!0})})}}removeNode(s,u){const g=this._engine;if(s.childElementCount&&this._signalRemovalForInnerTriggers(s,u),this.triggerLeaveAnimation(s,u,!0))return;let M=!1;if(g.totalAnimations){const P=g.players.length?g.playersByQueriedElement.get(s):[];if(P&&P.length)M=!0;else{let $=s;for(;$=$.parentNode;)if(g.statesByElement.get($)){M=!0;break}}}if(this.prepareLeaveAnimationListeners(s),M)g.markElementAsRemoved(this.id,s,!1,u);else{const P=s[Br];(!P||P===jr)&&(g.afterFlush(()=>this.clearElementCache(s)),g.destroyInnerAnimations(s),g._onRemovalComplete(s,u))}}insertNode(s,u){$e(s,this._hostClassName)}drainQueuedTransitions(s){const u=[];return this._queue.forEach(g=>{const M=g.player;if(M.destroyed)return;const P=g.element,$=this._elementListeners.get(P);$&&$.forEach(Q=>{if(Q.name==g.triggerName){const De=Yr(P,g.triggerName,g.fromState.value,g.toState.value);De._data=s,dr(g.player,Q.phase,De,Q.callback)}}),M.markedForDestroy?this._engine.afterFlush(()=>{M.destroy()}):u.push(g)}),this._queue=[],u.sort((g,M)=>{const P=g.transition.ast.depCount,$=M.transition.ast.depCount;return 0==P||0==$?P-$:this._engine.driver.containsElement(g.element,M.element)?1:-1})}
1destroy(s){this.players.forEach(u=>u.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,s)}elementContainsData(s){let u=!1;return this._elementListeners.has(s)&&(u=!0),u=!!this._queue.find(g=>g.element===s)||u,u}}class rn{_onRemovalComplete(s,u){this.onRemovalComplete(s,u)}constructor(s,u,g){this.bodyNode=s,this.driver=u,this._normalizer=g,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(M,P)=>{}}get queuedPlayers(){const s=[];return this._namespaceList.forEach(u=>{u.players.forEach(g=>{g.queued&&s.push(g)})}),s}createNamespace(s,u){const g=new uo(s,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(g,u):(this.newHostElements.set(u,g),this.collectEnterElement(u)),this._namespaceLookup[s]=g}_balanceNamespaceList(s,u){const g=this._namespaceList,M=this.namespacesByHostElement;if(g.length-1>=0){let $=!1,Q=this.driver.getParentElement(u);for(;Q;){const De=M.get(Q);if(De){const We=g.indexOf(De);g.splice(We+1,0,s),$=!0;break}Q=this.driver.getParentElement(Q)}$||g.unshift(s)}else g.push(s);return M.set(u,s),s}register(s,u){let g=this._namespaceLookup[s];return g||(g=this.createNamespace(s,u)),g}registerTrigger(s,u,g){let M=this._namespaceLookup[s];M&&M.register(u,g)&&this.totalAnimations++}destroy(s,u){if(!s)return;const g=this._fetchNamespace(s);this.afterFlush(()=>{this.namespacesByHostElement.delete(g.hostElement),delete this._namespaceLookup[s];const M=this._namespaceList.indexOf(g);M>=0&&this._namespaceList.splice(M,1)}),this.afterFlushAnimationsDone(()=>g.destroy(u))}_fetchNamespace(s){return this._namespaceLookup[s]}fetchNamespacesByElement(s){const u=new Set,g=this.statesByElement.get(s);if(g)for(let M of g.values())if(M.namespaceId){const P=this._fetchNamespace(M.namespaceId);P&&u.add(P)}return u}trigger(s,u,g,M){if(S(u)){const P=this._fetchNamespace(s);if(P)return P.trigger(u,g,M),!0}return!1}insertNode(s,u,g,M){if(!S(u))return;const P=u[Br];if(P&&P.setForRemoval){P.setForRemoval=!1,P.setForMove=!0;const $=this.collectedLeaveElements.indexOf(u);$>=0&&this.collectedLeaveElements.splice($,1)}if(s){const $=this._fetchNamespace(s);
vendor: 4,155 bytes, line 1
1$&&$.insertNode(u,g)}M&&this.collectEnterElement(u)}collectEnterElement(s){this.collectedEnterElements.push(s)}markElementAsDisabled(s,u){u?this.disabledNodes.has(s)||(this.disabledNodes.add(s),$e(s,ci)):this.disabledNodes.has(s)&&(this.disabledNodes.delete(s),cn(s,ci))}removeNode(s,u,g,M){if(S(u)){const P=s?this._fetchNamespace(s):null;if(P?P.removeNode(u,M):this.markElementAsRemoved(s,u,!1,M),g){const $=this.namespacesByHostElement.get(u);$&&$.id!==s&&$.removeNode(u,M)}}else this._onRemovalComplete(u,M)}markElementAsRemoved(s,u,g,M,P){this.collectedLeaveElements.push(u),u[Br]={namespaceId:s,setForRemoval:M,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:P}}listen(s,u,g,M,P){return S(u)?this._fetchNamespace(s).listen(u,g,M,P):()=>{}}_buildInstruction(s,u,g,M,P){return s.transition.build(this.driver,s.element,s.fromState.value,s.toState.value,g,M,s.fromState.options,s.toState.options,u,P)}destroyInnerAnimations(s){let u=this.driver.query(s,sn,!0);u.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(s,Xn,!0),u.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(s){const u=this.playersByElement.get(s);u&&u.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(s){const u=this.playersByQueriedElement.get(s);u&&u.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(s=>{if(this.players.length)return qn(this.players).onDone(()=>s());s()})}processLeaveNode(s){const u=s[Br];if(u&&u.setForRemoval){if(s[Br]=jr,u.namespaceId){this.destroyInnerAnimations(s);const g=this._fetchNamespace(u.namespaceId);g&&g.clearElementCache(s)}this._onRemovalComplete(s,u.setForRemoval)}s.classList?.contains(ci)&&this.markElementAsDisabled(s,!1),this.driver.query(s,".ng-animate-disabled",!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(s=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,M)=>this._balanceNamespaceList(g,M)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;g<this.collectedEnterElements.length;g++)$e(this.collectedEnterElements[g],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const g=[];try{u=this._flushAnimations(g,s)}finally{for(let M=0;M<g.length;M++)g[M]()}}else for(let g=0;g<this.collectedLeaveElements.length;g++)this.processLeaveNode(this.collectedLeaveElements[g]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(g=>g()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],u.length?qn(u).onDone(()=>{g.forEach(M=>M())}):g.forEach(M=>M())}}reportError(s){throw function ot(d){return new L.vHH(3402,!1)}()}_flushAnimations(s,u){const g=new jn,M=[],P=new Map,$=[],Q=new Map,De=new Map,We=new Map,_t=new Set;this.disabledNodes.forEach(Yt=>{_t.add(Yt);const tn=this.driver.query(Yt,".ng-animate-queued",!0);for(let nn=0;nn<tn.length;nn++)_t.add(tn[nn])});const Ot=this.bodyNode,Wt=Array.from(this.statesByElement.keys()),qt=Mr(Wt,this.collectedEnterElements),jt=new Map;let Kt=0;qt.forEach((Yt,tn)=>{const nn=Ge+Kt++;jt.set(tn,nn),Yt.forEach(ln=>$e(ln,nn))});const In=[],Fn=new Set,mr=new Set;for(let Yt=0;Yt<this.collectedLeaveElements.length;Yt++){const tn=this.collectedLeaveElements[Yt],nn=tn[Br];nn&&nn.setForRemoval&&(In.push(tn),Fn.add(tn),nn.hasAnimation?this.driver.query(tn,".ng-star-inserted",!0).forEach(ln=>Fn.add(ln)):mr.add(tn))}const Rr=new Map,yr=Mr(Wt,Array.from(Fn));yr.forEach((Yt,tn)=>{const nn=nt+Kt++;Rr.set(tn,nn),Yt.forEach(ln=>$e(ln,nn))}),s.push(()=>{qt.forEach((Yt,tn)=>{const nn=jt.get(tn);Yt.forEach(ln=>cn(ln,nn))}),yr.forEach((Yt,tn)=>{const nn=Rr.get(tn);Yt.forEach(ln=>cn(ln,nn))}),In.forEach(Yt=>{this.processLeaveNode(Yt)})});const hs=[],Ii=[];for(let Yt=this._namespaceList.length-1;Yt>=0;Yt--)this._namespaceList[Yt].drainQueuedTransitions(u).forEach(nn=>{const ln=nn.player,Fr=nn.element;if(hs.push(ln),this.collectedEnterElements.length){const Ur=Fr[Br];
1if(Ur&&Ur.setForMove){if(Ur.previousTriggersValues&&Ur.previousTriggersValues.has(nn.triggerName)){const Ls=Ur.previousTriggersValues.get(nn.triggerName),ki=this.statesByElement.get(nn.element);if(ki&&ki.has(nn.triggerName)){const Gi=ki.get(nn.triggerName);Gi.value=Ls,ki.set(nn.triggerName,Gi)}}return void ln.destroy()}}const hi=!Ot||!this.driver.containsElement(Ot,Fr),ni=Rr.get(Fr),Xi=jt.get(Fr),ar=this._buildInstruction(nn,g,Xi,ni,hi);if(ar.errors&&ar.errors.length)return void Ii.push(ar);if(hi)return ln.onStart(()=>j(Fr,ar.fromStyles)),ln.onDestroy(()=>R(Fr,ar.toStyles)),void M.push(ln);if(nn.isFallbackTransition)return ln.onStart(()=>j(Fr,ar.fromStyles)),ln.onDestroy(()=>R(Fr,ar.toStyles)),void M.push(ln);const Dl=[];ar.timelines.forEach(Ur=>{Ur.stretchStartingKeyframe=!0,this.disabledNodes.has(Ur.element)||Dl.push(Ur)}),ar.timelines=Dl,g.append(Fr,ar.timelines),$.push({instruction:ar,player:ln,element:Fr}),ar.queriedElements.forEach(Ur=>Jt(Q,Ur,[]).push(ln)),ar.preStyleProps.forEach((Ur,Ls)=>{if(Ur.size){let ki=De.get(Ls);ki||De.set(Ls,ki=new Set),Ur.forEach((Gi,cs)=>ki.add(cs))}}),ar.postStyleProps.forEach((Ur,Ls)=>{let ki=We.get(Ls);ki||We.set(Ls,ki=new Set),Ur.forEach((Gi,cs)=>ki.add(cs))})});if(Ii.length){const Yt=[];Ii.forEach(tn=>{Yt.push(function Mt(d,s){return new L.vHH(3505,!1)}())}),hs.forEach(tn=>tn.destroy()),this.reportError(Yt)}const fi=new Map,zi=new Map;$.forEach(Yt=>{const tn=Yt.element;g.has(tn)&&(zi.set(tn,tn),this._beforeAnimationBuild(Yt.player.namespaceId,Yt.instruction,fi))}),M.forEach(Yt=>{const tn=Yt.element;this._getPreviousPlayers(tn,!1,Yt.namespaceId,Yt.triggerName,null).forEach(ln=>{Jt(fi,tn,[]).push(ln),ln.destroy()})});const Ys=In.filter(Yt=>co(Yt,De,We)),ps=new Map;$t(ps,this.driver,mr,We,ae.l3).forEach(Yt=>{co(Yt,De,We)&&Ys.push(Yt)});const Gr=new Map;qt.forEach((Yt,tn)=>{$t(Gr,this.driver,new Set(Yt),De,ae.k1)}),Ys.forEach(Yt=>{const tn=ps.get(Yt),nn=Gr.get(Yt);ps.set(Yt,new Map([...Array.from(tn?.entries()??[]),...Array.from(nn?.entries()??[])]))});const yi=[],Sa=[],bo={};$.forEach(Yt=>{const{element:tn,player:nn,instruction:ln}=Yt;if(g.has(tn)){if(_t.has(tn))return nn.onDestroy(()=>R(tn,ln.toStyles)),nn.disabled=!0,nn.overrideTotalTime(ln.totalTime),void M.push(nn);let Fr=bo;if(zi.size>1){let ni=tn;const Xi=[];for(;ni=ni.parentNode;){const ar=zi.get(ni);if(ar){Fr=ar;break}Xi.push(ni)}Xi.forEach(ar=>zi.set(ar,Fr))}const hi=this._buildAnimation(nn.namespaceId,ln,fi,P,Gr,ps);if(nn.setRealPlayer(hi),Fr===bo)yi.push(nn);else{const ni=this.playersByElement.get(Fr);ni&&ni.length&&(nn.parentPlayer=qn(ni)),M.push(nn)}}else j(tn,ln.fromStyles),nn.onDestroy(()=>R(tn,ln.toStyles)),Sa.push(nn),_t.has(tn)&&M.push(nn)}),Sa.forEach(Yt=>{const tn=P.get(Yt.element);if(tn&&tn.length){const nn=qn(tn);Yt.setRealPlayer(nn)}}),M.forEach(Yt=>{Yt.parentPlayer?Yt.syncPlayerEvents(Yt.parentPlayer):Yt.destroy()});for(let Yt=0;Yt<In.length;Yt++){const tn=In[Yt],nn=tn[Br];if(cn(tn,nt),nn&&nn.hasAnimation)continue;let ln=[];if(Q.size){let hi=Q.get(tn);hi&&hi.length&&ln.push(...hi);let ni=this.driver.query(tn,Xn,!0);for(let Xi=0;Xi<ni.length;Xi++){let ar=Q.get(ni[Xi]);ar&&ar.length&&ln.push(...ar)}}const Fr=ln.filter(hi=>!hi.destroyed);Fr.length?Li(this,tn,Fr):this.processLeaveNode(tn)}return In.length=0,yi.forEach(Yt=>{this.players.push(Yt),Yt.onDone(()=>{Yt.destroy();const tn=this.players.indexOf(Yt);this.players.splice(tn,1)}),Yt.play()}),yi}elementContainsData(s,u){let g=!1;const M=u[Br];return M&&M.setForRemoval&&(g=!0),this.playersByElement.has(u)&&(g=!0),this.playersByQueriedElement.has(u)&&(g=!0),this.statesByElement.has(u)&&(g=!0),this._fetchNamespace(s).elementContainsData(u)||g}afterFlush(s){this._flushFns.push(s)}afterFlushAnimationsDone(s){this._whenQuietFns.push(s)}_getPreviousPlayers(s,u,g,M,P){let $=[];if(u){const Q=this.playersByQueriedElement.get(s);Q&&($=Q)}else{const Q=this.playersByElement.get(s);if(Q){const De=!P||P==Pr;Q.forEach(We=>{We.queued||!De&&We.triggerName!=M||$.push(We)})}}return(g||M)&&($=$.filter(Q=>!(g&&g!=Q.namespaceId||M&&M!=Q.triggerName))),$}_beforeAnimationBuild(s,u,g){const P=u.element,$=u.isRemovalTransition?void 0:s,Q=u.isRemovalTransition?void 0:u.triggerName;for(const De of u.timelines){const We=De.element,_t=We!==P,Ot=Jt(g,We,[]);this._getPreviousPlayers(We,_t,$,Q,u.toState).forEach(qt=>{const jt=qt.getRealPlayer();jt.beforeDestroy&&jt.beforeDestroy(),qt.destroy(),Ot.push(qt)})}j(P,u.fromStyles)}_buildAnimation(s,u,g,M,P,$){const Q=u.triggerName,De=u.element,We=[],_t=new Set,Ot=new Set,Wt=u.timelines.map(jt=>{const Kt=jt.element;_t.add(Kt);const In=Kt[Br];
vendor: 4,307 bytes, line 1
1if(In&&In.removedBeforeQueried)return new ae.ZN(jt.duration,jt.delay);const Fn=Kt!==De,mr=function Ps(d){const s=[];return $r(d,s),s}((g.get(Kt)||as).map(fi=>fi.getRealPlayer())).filter(fi=>!!fi.element&&fi.element===Kt),Rr=P.get(Kt),yr=$.get(Kt),hs=Cn(0,this._normalizer,0,jt.keyframes,Rr,yr),Ii=this._buildPlayer(jt,hs,mr);if(jt.subTimeline&&M&&Ot.add(Kt),Fn){const fi=new Fi(s,Q,Kt);fi.setRealPlayer(Ii),We.push(fi)}return Ii});We.forEach(jt=>{Jt(this.playersByQueriedElement,jt.element,[]).push(jt),jt.onDone(()=>function I(d,s,u){let g=d.get(s);if(g){if(g.length){const M=g.indexOf(u);g.splice(M,1)}0==g.length&&d.delete(s)}return g}(this.playersByQueriedElement,jt.element,jt))}),_t.forEach(jt=>$e(jt,or));const qt=qn(Wt);return qt.onDestroy(()=>{_t.forEach(jt=>cn(jt,or)),R(De,u.toStyles)}),Ot.forEach(jt=>{Jt(M,jt,[]).push(qt)}),qt}_buildPlayer(s,u,g){return u.length>0?this.driver.animate(s.element,u,s.duration,s.delay,s.easing,g):new ae.ZN(s.duration,s.delay)}}class Fi{constructor(s,u,g){this.namespaceId=s,this.triggerName=u,this.element=g,this._player=new ae.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(s){this._containsRealPlayer||(this._player=s,this._queuedCallbacks.forEach((u,g)=>{u.forEach(M=>dr(s,g,void 0,M))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(s.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(s){this.totalTime=s}syncPlayerEvents(s){const u=this._player;u.triggerCallback&&s.onStart(()=>u.triggerCallback("start")),s.onDone(()=>this.finish()),s.onDestroy(()=>this.destroy())}_queueEvent(s,u){Jt(this._queuedCallbacks,s,[]).push(u)}onDone(s){this.queued&&this._queueEvent("done",s),this._player.onDone(s)}onStart(s){this.queued&&this._queueEvent("start",s),this._player.onStart(s)}onDestroy(s){this.queued&&this._queueEvent("destroy",s),this._player.onDestroy(s)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(s){this.queued||this._player.setPosition(s)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(s){const u=this._player;u.triggerCallback&&u.triggerCallback(s)}}function S(d){return d&&1===d.nodeType}function Ye(d,s){const u=d.style.display;return d.style.display=s??"none",u}function $t(d,s,u,g,M){const P=[];u.forEach(De=>P.push(Ye(De)));const $=[];g.forEach((De,We)=>{const _t=new Map;De.forEach(Ot=>{const Wt=s.computeStyle(We,Ot,M);_t.set(Ot,Wt),(!Wt||0==Wt.length)&&(We[Br]=sa,$.push(We))}),d.set(We,_t)});let Q=0;return u.forEach(De=>Ye(De,P[Q++])),$}function Mr(d,s){const u=new Map;if(d.forEach(Q=>u.set(Q,[])),0==s.length)return u;const M=new Set(s),P=new Map;function $(Q){if(!Q)return 1;let De=P.get(Q);if(De)return De;const We=Q.parentNode;return De=u.has(We)?We:M.has(We)?1:$(We),P.set(Q,De),De}return s.forEach(Q=>{const De=$(Q);1!==De&&u.get(De).push(Q)}),u}function $e(d,s){d.classList?.add(s)}function cn(d,s){d.classList?.remove(s)}function Li(d,s,u){qn(u).onDone(()=>d.processLeaveNode(s))}function $r(d,s){for(let u=0;u<d.length;u++){const g=d[u];g instanceof ae.ZE?$r(g.players,s):s.push(g)}}function co(d,s,u){const g=u.get(d);if(!g)return!1;let M=s.get(d);return M?g.forEach(P=>M.add(P)):s.set(d,g),u.delete(d),!0}class Mi{constructor(s,u,g){this.bodyNode=s,this._driver=u,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(M,P)=>{},this._transitionEngine=new rn(s,u,g),this._timelineEngine=new os(s,u,g),this._transitionEngine.onRemovalComplete=(M,P)=>this.onRemovalComplete(M,P)}registerTrigger(s,u,g,M,P){const $=s+"-"+M;let Q=this._triggerCache[$];if(!Q){const De=[],_t=Sr(this._driver,P,De,[]);if(De.length)throw function Kr(d,s){return new L.vHH(3404,!1)}();Q=function ra(d,s,u){return new ui(d,s,u)}(M,_t,this._normalizer),this._triggerCache[$]=Q}this._transitionEngine.registerTrigger(u,M,Q)}register(s,u){this._transitionEngine.register(s,u)}destroy(s,u){this._transitionEngine.destroy(s,u)}
1onInsert(s,u,g,M){this._transitionEngine.insertNode(s,u,g,M)}onRemove(s,u,g,M){this._transitionEngine.removeNode(s,u,M||!1,g)}disableAnimations(s,u){this._transitionEngine.markElementAsDisabled(s,u)}process(s,u,g,M){if("@"==g.charAt(0)){const[P,$]=fr(g);this._timelineEngine.command(P,u,$,M)}else this._transitionEngine.trigger(s,u,g,M)}listen(s,u,g,M,P){if("@"==g.charAt(0)){const[$,Q]=fr(g);return this._timelineEngine.listen($,u,Q,P)}return this._transitionEngine.listen(s,u,g,M,P)}flush(s=-1){this._transitionEngine.flush(s)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let aa=(()=>{class d{constructor(u,g,M){this._element=u,this._startStyles=g,this._endStyles=M,this._state=0;let P=d.initialStylesByElement.get(u);P||d.initialStylesByElement.set(u,P=new Map),this._initialStyles=P}start(){this._state<1&&(this._startStyles&&R(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(R(this._element,this._initialStyles),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(d.initialStylesByElement.delete(this._element),this._startStyles&&(j(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),R(this._element,this._initialStyles),this._state=3)}}return d.initialStylesByElement=new WeakMap,d})();function Rs(d){let s=null;return d.forEach((u,g)=>{(function ba(d){return"display"===d||"position"===d})(g)&&(s=s||new Map,s.set(g,u))}),s}class Bo{constructor(s,u,g,M){this.element=s,this.keyframes=u,this.options=g,this._specialStyles=M,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const s=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,s,this.options),this._finalKeyframe=s.length?s[s.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(s){const u=[];return s.forEach(g=>{u.push(Object.fromEntries(g))}),u}_triggerWebAnimation(s,u,g){return s.animate(this._convertKeyframesToObject(u),g)}onStart(s){this._originalOnStartFns.push(s),this._onStartFns.push(s)}onDone(s){this._originalOnDoneFns.push(s),this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(s=>s()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(s=>s()),this._onDestroyFns=[])}setPosition(s){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=s*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const s=new Map;this.hasStarted()&&this._finalKeyframe.forEach((g,M)=>{"offset"!==M&&s.set(M,this._finished?g:gr(this.element,M))}),this.currentSnapshot=s}triggerCallback(s){const u="start"===s?this._onStartFns:this._onDoneFns;u.forEach(g=>g()),u.length=0}}class zr{validateStyleProperty(s){return!0}validateAnimatableStyleProperty(s){return!0}matchesElement(s,u){return!1}containsElement(s,u){return Gt(s,u)}getParentElement(s){return Ze(s)}query(s,u,g){return rr(s,u,g)}computeStyle(s,u,g){return window.getComputedStyle(s)[u]}animate(s,u,g,M,P,$=[]){const De={duration:g,delay:M,fill:0==M?"both":"forwards"};P&&(De.easing=P);const We=new Map,_t=$.filter(qt=>qt instanceof Bo);(function Rn(d,s){return 0===d||0===s})(g,M)&&_t.forEach(qt=>{qt.currentSnapshot.forEach((jt,Kt)=>We.set(Kt,jt))});let Ot=function Ss(d){return d.length?d[0]instanceof Map?d:d.map(s=>Ri(s)):[]}(u).map(qt=>un(qt));Ot=function cr(d,s,u){if(u.size&&s.length){let g=s[0],M=[];if(u.forEach((P,$)=>{g.has($)||M.push($),g.set($,P)}),M.length)for(let P=1;P<s.length;P++){let $=s[P];M.forEach(Q=>$.set(Q,gr(d,Q)))}}return s}(s,Ot,We);const Wt=function oa(d,s){let u=null,g=null;return Array.isArray(s)&&s.length?(u=Rs(s[0]),s.length>1&&(g=Rs(s[s.length-1]))):s instanceof Map&&(u=Rs(s)),u||g?new aa(d,u,g):null}(s,Ot);return new Bo(s,Ot,De,Wt)}}var Ti=w(6895);let di=(()=>{class d extends ae._j{constructor(u,g){super(),this._nextAnimationId=0,this._renderer=u.createRenderer(g.body,{id:"0",encapsulation:L.ifc.None,styles:[],data:{animation:[]}})}build(u){const g=this._nextAnimationId.toString();this._nextAnimationId++;const M=Array.isArray(u)?(0,ae.vP)(u):u;return zs(this._renderer,null,g,"register",[M]),new ls(g,this._renderer)}}return d.\u0275fac=function(u){return new(u||d)(L.LFG(L.FYo),L.LFG(Ti.K0))},d.\u0275prov=L.Yz7({token:d,factory:d.\u0275fac}),d})();class ls extends ae.LC{constructor(s,u){super(),this._id=s,this._renderer=u}create(s,u){return new Qi(this._id,s,u||{},this._renderer)}}class Qi{constructor(s,u,g,M){this.id=s,this.element=u,this._renderer=M,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",g)}_listen(s,u){return this._renderer.listen(this.element,`@@${this.id}:${s}`,u)}_command(s,...u){return zs(this._renderer,this.element,this.id,s,u)}onDone(s){this._listen("done",s)}onStart(s){this._listen("start",s)}onDestroy(s){this._listen("destroy",s)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(s){this._command("setPosition",s)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function zs(d,s,u,g,M){return d.setProperty(s,`@@${u}:${g}`,M)}const Ws="@.disabled";let qi=(()=>{class d{constructor(u,g,M){this.delegate=u,this.engine=g,this._zone=M,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),g.onRemovalComplete=(P,$)=>{const Q=$?.parentNode(P);Q&&$.removeChild(Q,P)}}createRenderer(u,g){const P=this.delegate.createRenderer(u,g);if(!(u&&g&&g.data&&g.data.animation)){let _t=this._rendererCache.get(P);return _t||(_t=new fo("",P,this.engine,()=>this._rendererCache.delete(P)),this._rendererCache.set(P,_t)),_t}const $=g.id,Q=g.id+"-"+this._currentId;this._currentId++,this.engine.register(Q,u);const De=_t=>{Array.isArray(_t)?_t.forEach(De):this.engine.registerTrigger($,Q,u,_t.name,_t)};return g.data.animation.forEach(De),new Fs(this,Q,P,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(u,g,M){u>=0&&u<this._microtaskId?this._zone.run(()=>g(M)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(P=>{const[$,Q]=P;$(Q)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([g,M]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return d.\u0275fac=function(u){return new(u||d)(L.LFG(L.FYo),L.LFG(Mi),L.LFG(L.R0b))},d.\u0275prov=L.Yz7({token:d,factory:d.\u0275fac}),d})();class fo{constructor(s,u,g,M){this.namespaceId=s,this.delegate=u,this.engine=g,this._onDestroy=M,this.destroyNode=this.delegate.destroyNode?P=>u.destroyNode(P):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(s,u){return this.delegate.createElement(s,u)}createComment(s){return this.delegate.createComment(s)}createText(s){return this.delegate.createText(s)}appendChild(s,u){this.delegate.appendChild(s,u),this.engine.onInsert(this.namespaceId,u,s,!1)}insertBefore(s,u,g,M=!0){this.delegate.insertBefore(s,u,g),this.engine.onInsert(this.namespaceId,u,s,M)}removeChild(s,u,g){this.engine.onRemove(this.namespaceId,u,this.delegate,g)}selectRootElement(s,u){return this.delegate.selectRootElement(s,u)}parentNode(s){return this.delegate.parentNode(s)}nextSibling(s){return this.delegate.nextSibling(s)}setAttribute(s,u,g,M){this.delegate.setAttribute(s,u,g,M)}removeAttribute(s,u,g){this.delegate.removeAttribute(s,u,g)}addClass(s,u){this.delegate.addClass(s,u)}removeClass(s,u){this.delegate.removeClass(s,u)}setStyle(s,u,g,M){this.delegate.setStyle(s,u,g,M)}removeStyle(s,u,g){this.delegate.removeStyle(s,u,g)}setProperty(s,u,g){"@"==u.charAt(0)&&u==Ws?this.disableAnimations(s,!!g):this.delegate.setProperty(s,u,g)}setValue(s,u){this.delegate.setValue(s,u)}listen(s,u,g){return this.delegate.listen(s,u,g)}disableAnimations(s,u){this.engine.disableAnimations(s,u)}}class Fs extends fo{constructor(s,u,g,M,P){super(u,g,M,P),this.factory=s,this.namespaceId=u}setProperty(s,u,g){"@"==u.charAt(0)?"."==u.charAt(1)&&u==Ws?this.disableAnimations(s,g=void 0===g||!!g):this.engine.process(this.namespaceId,s,u.slice(1),g):this.delegate.setProperty(s,u,g)}listen(s,u,g){if("@"==u.charAt(0)){const M=function la(d){switch(d){case"body":return document.body;case"document":return document;case"window":return window;default:return d}}(s);let P=u.slice(1),$="";return"@"!=P.charAt(0)&&([P,$]=function Vo(d){const s=d.indexOf(".");return[d.substring(0,s),d.slice(s+1)]}(P)),this.engine.listen(this.namespaceId,M,P,$,Q=>{this.factory.scheduleListenerCallback(Q._data||-1,g,Q)})}return this.delegate.listen(s,u,g)}}const xe=[{provide:ae._j,useClass:di},{provide:Zi,useFactory:function Co(){return new Ar}},{provide:Mi,useClass:(()=>{class d extends Mi{constructor(u,g,M,P){super(u.body,g,M)}ngOnDestroy(){this.flush()}}return d.\u0275fac=function(u){return new(u||d)(L.LFG(Ti.K0),L.LFG(Kn),L.LFG(Zi),L.LFG(L.z2F))},d.\u0275prov=L.Yz7({token:d,factory:d.\u0275fac}),d})()},{provide:L.FYo,useFactory:function Ks(d,s,u){return new qi(d,s,u)},deps:[c.se,Mi,L.R0b]}],st=[{provide:Kn,useFactory:()=>new zr},{provide:L.QbO,useValue:"BrowserAnimations"},...xe],qe=[{provide:Kn,useClass:Wn},{provide:L.QbO,useValue:"NoopAnimations"},...xe];let Ht=(()=>{class d{static withConfig(u){return{ngModule:d,providers:u.disableAnimations?qe:st}}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275mod=L.oAB({type:d}),d.\u0275inj=L.cJS({providers:st,imports:[c.b2]}),d})();
1var dn=w(529),us=w(4006),Tr=w(5688),Ni=w(2843),jo=w(262);class ho{constructor(){this.origin="localhost"===document.location.hostname?"members.trybeforeyoubi.com":document.location.hostname}intercept(s,u){const g=`${s.url}`;if("JSONP"!==s.method){let M=new dn.WM({"Test-Origin":this.origin});this.token&&M.append("Authorization",this.token),s=s.clone({url:g,headers:M})}return u.handle(s).pipe((0,jo.K)(M=>(console.log(M),(0,Ni._)(M))))}}ho.\u0275fac=function(s){return new(s||ho)},ho.\u0275prov=L.Yz7({token:ho,factory:ho.\u0275fac});class po{constructor(s,u="/assets/i18n/",g=".json"){this.http=s,this.prefix=u,this.suffix=g}getTranslation(s){return this.http.get(`${this.prefix}${s}${this.suffix}`)}}var $o=w(6201),wo=w(4358);class D{}D.\u0275fac=function(s){return new(s||D)},D.\u0275mod=L.oAB({type:D,bootstrap:[te]}),D.\u0275inj=L.cJS({providers:[{provide:dn.TP,useClass:ho,multi:!0}],imports:[c.b2,E.q,dn.JF,dn.Ed,wo.nM,$o.m$.withOptions(),le.Aw.forRoot(it),us.UX,Ht,Tr.m,oe.aw.forRoot({loader:{provide:oe.Zw,useFactory:function Qn(d){const s=(document.head.baseURI??"").replace(/\/$/,"");return new po(d,`${s}/assets/i18n/`,".js?v=19")},deps:[dn.eN]}})]}),c.q6().bootstrapModule(D).catch(d=>console.error(d))},7489:function(wt,Te,w){var c;wt=w.nmd(wt),function(){var E,oe="Expected a function",se="__lodash_hash_undefined__",pe="__lodash_placeholder__",ut=1/0,Xe=9007199254740991,Le=4294967295,rt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],z="[object Arguments]",X="[object Array]",St="[object Boolean]",Tt="[object Date]",An="[object Error]",En="[object Function]",Mn="[object GeneratorFunction]",xn="[object Map]",nr="[object Number]",on="[object Object]",kn="[object Promise]",Lt="[object RegExp]",Vn="[object Set]",sr="[object String]",He="[object Symbol]",Oe="[object WeakMap]",mt="[object ArrayBuffer]",Mt="[object DataView]",Pn="[object Float32Array]",xt="[object Float64Array]",Tn="[object Int8Array]",qn="[object Int16Array]",Cn="[object Int32Array]",dr="[object Uint8Array]",_n="[object Uint8ClampedArray]",Yr="[object Uint16Array]",Jt="[object Uint32Array]",fr=/\b__p \+= '';/g,hr=/\b(__p \+=) '' \+/g,an=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pr=/&(?:amp|lt|gt|quot|#39);/g,Ze=/[&<>"']/g,de=RegExp(pr.source),ve=RegExp(Ze.source),pt=/<%-([\s\S]+?)%>/g,lt=/<%([\s\S]+?)%>/g,Qt=/<%=([\s\S]+?)%>/g,Dn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wn=/^\w*$/,Gt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rr=/[\\^$.*+?()[\]{}|]/g,Pi=RegExp(rr.source),Wn=/^\s+/,Kn=/\s/,ge=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,Z=/,? & /,Ge=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,nt=/[()=,{}\[\]\/\s]/,Ft=/\\(\\)?/g,sn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,or=/\w*$/,Xn=/^[-+]0x[0-9a-f]+$/i,xr=/^0b[01]+$/i,Xr=/^\[object .+?Constructor\]$/,si=/^0o[0-7]+$/i,Jr=/^(?:0|[1-9]\d*)$/,Ei=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 67,223 bytes, line 1
17f]/g,Ri=/($^)/,Ss=/['\n\r\u2028\u2029\\]/g,Nr="\\ud800-\\udfff",R="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",j="\\u2700-\\u27bf",G="a-z\\xdf-\\xf6\\xf8-\\xff",gt="A-Z\\xc0-\\xd6\\xd8-\\xde",At="\\ufe0e\\ufe0f",Nt="\\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",Rn="["+Nr+"]",cr="["+Nt+"]",Rt="["+R+"]",gr="\\d+",kr="["+j+"]",Zr="["+G+"]",Vr="[^"+Nr+Nt+gr+j+G+gt+"]",_r="\\ud83c[\\udffb-\\udfff]",Ci="[^"+Nr+"]",oi="(?:\\ud83c[\\udde6-\\uddff]){2}",ei="[\\ud800-\\udbff][\\udc00-\\udfff]",wi="["+gt+"]",ai="(?:"+Zr+"|"+Vr+")",bi="(?:"+wi+"|"+Vr+")",Bi="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",fs="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Vi="(?:"+Rt+"|"+_r+")?",Hi="["+At+"]?",_e=Hi+Vi+"(?:\\u200d(?:"+[Ci,oi,ei].join("|")+")"+Hi+Vi+")*",je="(?:"+[kr,oi,ei].join("|")+")"+_e,Et="(?:"+[Ci+Rt+"?",Rt,oi,ei,Rn].join("|")+")",It=RegExp("['\u2019]","g"),Zt=RegExp(Rt,"g"),bn=RegExp(_r+"(?="+_r+")|"+Et+_e,"g"),yn=RegExp([wi+"?"+Zr+"+"+Bi+"(?="+[cr,wi,"$"].join("|")+")",bi+"+"+fs+"(?="+[cr,wi+ai,"$"].join("|")+")",wi+"?"+ai+"+"+Bi,wi+"+"+fs,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gr,je].join("|"),"g"),Dr=RegExp("[\\u200d"+Nr+R+At+"]"),jn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Hr=["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"],no=-1,$n={};$n[Pn]=$n[xt]=$n[Tn]=$n[qn]=$n[Cn]=$n[dr]=$n[_n]=$n[Yr]=$n[Jt]=!0,$n[z]=$n[X]=$n[mt]=$n[St]=$n[Mt]=$n[Tt]=$n[An]=$n[En]=$n[xn]=$n[nr]=$n[on]=$n[Lt]=$n[Vn]=$n[sr]=$n[Oe]=!1;var Zn={};Zn[z]=Zn[X]=Zn[mt]=Zn[Mt]=Zn[St]=Zn[Tt]=Zn[Pn]=Zn[xt]=Zn[Tn]=Zn[qn]=Zn[Cn]=Zn[xn]=Zn[nr]=Zn[on]=Zn[Lt]=Zn[Vn]=Zn[sr]=Zn[He]=Zn[dr]=Zn[_n]=Zn[Yr]=Zn[Jt]=!0,Zn[An]=Zn[En]=Zn[Oe]=!1;var ji={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ko=parseFloat,io=parseInt,so="object"==typeof global&&global&&global.Object===Object&&global,Eo="object"==typeof self&&self&&self.Object===Object&&self,wr=so||Eo||Function("return this")(),oo=Te&&!Te.nodeType&&Te,Zi=oo&&wt&&!wt.nodeType&&wt,Uo=Zi&&Zi.exports===oo,Si=Uo&&so.process,Ar=function(){try{return Zi&&Zi.require&&Zi.require("util").types||Si&&Si.binding&&Si.binding("util")}catch{}}(),Ms=Ar&&Ar.isArrayBuffer,Ts=Ar&&Ar.isDate,Is=Ar&&Ar.isMap,ao=Ar&&Ar.isRegExp,js=Ar&&Ar.isSet,$s=Ar&&Ar.isTypedArray;function li(xe,st,qe){switch(qe.length){case 0:return xe.call(st);case 1:return xe.call(st,qe[0]);case 2:return xe.call(st,qe[0],qe[1]);case 3:return xe.call(st,qe[0],qe[1],qe[2])}return xe.apply(st,qe)}function ra(xe,st,qe,Ht){for(var pn=-1,er=null==xe?0:xe.length;++pn<er;){var Qr=xe[pn];st(Ht,Qr,qe(Qr),xe)}return Ht}function ui(xe,st){for(var qe=-1,Ht=null==xe?0:xe.length;++qe<Ht&&!1!==st(xe[qe],qe,xe););return xe}function Os(xe,st){for(var qe=null==xe?0:xe.length;qe--&&!1!==st(xe[qe],qe,xe););return xe}function ti(xe,st){for(var qe=-1,Ht=null==xe?0:xe.length;++qe<Ht;)if(!st(xe[qe],qe,xe))return!1;return!0}function $i(xe,st){for(var qe=-1,Ht=null==xe?0:xe.length,pn=0,er=[];++qe<Ht;){var Qr=xe[qe];st(Qr,qe,xe)&&(er[pn++]=Qr)}return er}function os(xe,st){return!(null==xe||!xe.length)&&Pr(xe,st,0)>-1}function Er(xe,st,qe){for(var Ht=-1,pn=null==xe?0:xe.length;++Ht<pn;)if(qe(st,xe[Ht]))return!0;return!1}function Sn(xe,st){for(var qe=-1,Ht=null==xe?0:xe.length,pn=Array(Ht);++qe<Ht;)pn[qe]=st(xe[qe],qe,xe);return pn}function ci(xe,st){for(var qe=-1,Ht=st.length,pn=xe.length;++qe<Ht;)xe[pn+qe]=st[qe];return xe}function br(xe,st,qe,Ht){var pn=-1,er=null==xe?0:xe.length;for(Ht&&er&&(qe=xe[++pn]);++pn<er;)qe=st(qe,xe[pn],pn,xe);return qe}function ia(xe,st,qe,Ht){var pn=null==xe?0:xe.length;for(Ht&&pn&&(qe=xe[--pn]);pn--;)qe=st(qe,xe[pn],pn,xe);return qe}function xs(xe,st){for(var qe=-1,Ht=null==xe?0:xe.length;++qe<Ht;)if(st(xe[qe],qe,xe))return!0;return!1}var as=Fi("length");function Br(xe,st,qe){var Ht;return qe(xe,function(pn,er,Qr){if(st(pn,er,Qr))return Ht=er,!1}),Ht}function Ai(xe,st,qe,Ht){for(var pn=xe.length,er=qe+(Ht?1:-1);Ht?er--:++er<pn;)if(st(xe[er],er,xe))return er;return-1}function Pr(xe,st,qe){return st==st?function zs(xe,st,qe){for(var Ht=qe-1,pn=xe.length;++Ht<pn;)if(xe[Ht]===st)return Ht;return-1}(xe,st,qe):Ai(xe,uo,qe)}function lo(xe,st,qe,Ht){for(var pn=qe-1,er=xe.length;++pn<er;)if(Ht(xe[pn],st))return pn;return-1}function uo(xe){return xe!=xe}function rn(xe,st){var qe=null==xe?0:xe.length;return qe?U(xe,st)/qe:NaN}function Fi(xe){return function(st){return null==st?E:st[xe]}}function I(xe){return function(st){return null==xe?E:xe[st]}}function T(xe,st,qe,Ht,pn){return pn(xe,function(er,Qr,dn){qe=Ht?(Ht=!1,er):st(qe,er,Qr,dn)}),qe}function U(xe,st){for(var qe,Ht=-1,pn=xe.length;++Ht<pn;){var er=st(xe[Ht]);er!==E&&(qe=qe===E?er:qe+er)}return qe}function Ye(xe,st){for(var qe=-1,Ht=Array(xe);++qe<xe;)Ht[qe]=st(qe);return Ht}function Mr(xe){return xe&&xe.slice(0,fo(xe)+1).replace(Wn,"")}function $e(xe){return function(st){return xe(st)}}function cn(xe,st){return Sn(st,function(qe){return xe[qe]})}function Li(xe,st){return xe.has(st)}function Ps(xe,st){for(var qe=-1,Ht=xe.length;++qe<Ht&&Pr(st,xe[qe],0)>-1;);return qe}function $r(xe,st){for(var qe=xe.length;qe--&&Pr(st,xe[qe],0)>-1;);return qe}function wa(xe,st){for(var qe=xe.length,Ht=0;qe--;)xe[qe]===st&&++Ht;return Ht}var co=I({\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",\u015a:"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"}),Mi=I({"&":"&","<":"<",">":">",'"':""","'":"'"});function oa(xe){return"\\"+ji[xe]}function Rs(xe){return Dr.test(xe)}function zr(xe){var st=-1,qe=Array(xe.size);return xe.forEach(function(Ht,pn){qe[++st]=[pn,Ht]}),qe}function Ti(xe,st){return function(qe){return xe(st(qe))}}function di(xe,st){for(var qe=-1,Ht=xe.length,pn=0,er=[];++qe<Ht;){var Qr=xe[qe];(Qr===st||Qr===pe)&&(xe[qe]=pe,er[pn++]=qe)}return er}function ls(xe){var st=-1,qe=Array(xe.size);return xe.forEach(function(Ht){qe[++st]=Ht}),qe}function Ws(xe){return Rs(xe)?function la(xe){for(var st=bn.lastIndex=0;bn.test(xe);)++st;return st}(xe):as(xe)}function qi(xe){return Rs(xe)?function Vo(xe){return xe.match(bn)||[]}(xe):function jr(xe){return xe.split("")}(xe)}function fo(xe){for(var st=xe.length;st--&&Kn.test(xe.charAt(st)););return st}var Fs=I({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Ks=function xe(st){var r,qe=(st=null==st?wr:Ks.defaults(wr.Object(),st,Ks.pick(wr,Hr))).Array,Ht=st.Date,pn=st.Error,er=st.Function,Qr=st.Math,dn=st.Object,us=st.RegExp,Tr=st.String,Ni=st.TypeError,jo=qe.prototype,po=dn.prototype,$o=st["__core-js_shared__"],wo=er.prototype.toString,Qn=po.hasOwnProperty,D=0,d=(r=/[^.]+$/.exec($o&&$o.keys&&$o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",s=po.toString,u=wo.call(dn),g=wr._,M=us("^"+wo.call(Qn).replace(rr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),P=Uo?st.Buffer:E,$=st.Symbol,Q=st.Uint8Array,De=P?P.allocUnsafe:E,We=Ti(dn.getPrototypeOf,dn),_t=dn.create,Ot=po.propertyIsEnumerable,Wt=jo.splice,qt=$?$.isConcatSpreadable:E,jt=$?$.iterator:E,Kt=$?$.toStringTag:E,In=function(){try{var r=Fa(dn,"defineProperty");return r({},"",{}),r}catch{}}(),Fn=st.clearTimeout!==wr.clearTimeout&&st.clearTimeout,mr=Ht&&Ht.now!==wr.Date.now&&Ht.now,Rr=st.setTimeout!==wr.setTimeout&&st.setTimeout,yr=Qr.ceil,hs=Qr.floor,Ii=dn.getOwnPropertySymbols,fi=P?P.isBuffer:E,zi=st.isFinite,Ys=jo.join,ps=Ti(dn.keys,dn),Ir=Qr.max,Gr=Qr.min,yi=Ht.now,Sa=st.parseInt,bo=Qr.random,Yt=jo.reverse,tn=Fa(st,"DataView"),nn=Fa(st,"Map"),ln=Fa(st,"Promise"),Fr=Fa(st,"Set"),hi=Fa(st,"WeakMap"),ni=Fa(dn,"create"),Xi=hi&&new hi,ar={},Dl=ga(tn),Aa=ga(nn),Ur=ga(ln),Ls=ga(Fr),ki=ga(hi),Gi=$?$.prototype:E,cs=Gi?Gi.valueOf:E,El=Gi?Gi.toString:E;function B(r){if(mi(r)&&!Ln(r)&&!(r instanceof zn)){if(r instanceof gs)return r;if(Qn.call(r,"__wrapped__"))return gf(r)}return new gs(r)}var Zs=function(){function r(){}return function(a){if(!qr(a))return{};if(_t)return _t(a);r.prototype=a;var h=new r;return r.prototype=E,h}}();function za(){}function gs(r,a){this.__wrapped__=r,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=E}function zn(r){this.__wrapped__=r,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Le,this.__views__=[]}function Ao(r){var a=-1,h=null==r?0:r.length;for(this.clear();++a<h;){var A=r[a];this.set(A[0],A[1])}}function Wo(r){var a=-1,h=null==r?0:r.length;for(this.clear();++a<h;){var A=r[a];this.set(A[0],A[1])}}function Mo(r){var a=-1,h=null==r?0:r.length;for(this.clear();++a<h;){var A=r[a];this.set(A[0],A[1])}}function ms(r){var a=-1,h=null==r?0:r.length;for(this.__data__=new Mo;++a<h;)this.add(r[a])}function m(r){var a=this.__data__=new Wo(r);this.size=a.size}function V(r,a){var h=Ln(r),A=!h&&Ua(r),F=!h&&!A&&ma(r),H=!h&&!A&&!F&&ya(r),ne=h||A||F||H,Ce=ne?Ye(r.length,Tr):[],Ve=Ce.length;for(var yt in r)(a||Qn.call(r,yt))&&(!ne||!("length"==yt||F&&("offset"==yt||"parent"==yt)||H&&("buffer"==yt||"byteLength"==yt||"byteOffset"==yt)||ns(yt,Ve)))&&Ce.push(yt);return Ce}function Ue(r){var a=r.length;return a?r[oc(0,a-1)]:E}function at(r,a){return rl(Es(r),go(a,0,r.length))}function zt(r){return rl(Es(r))}function Bt(r,a,h){(h!==E&&!Ro(r[a],h)||h===E&&!(a in r))&&gi(r,a,h)}function lr(r,a,h){var A=r[a];(!Qn.call(r,a)||!Ro(A,h)||h===E&&!(a in r))&&gi(r,a,h)}function Wr(r,a){for(var h=r.length;h--;)if(Ro(r[h][0],a))return h;return-1}function To(r,a,h,A){return qs(r,function(F,H,ne){a(A,F,h(F),ne)}),A}function Qs(r,a){return r&&yo(a,Ui(a),r)}function gi(r,a,h){"__proto__"==a&&In?In(r,a,{configurable:!0,enumerable:!0,value:h,writable:!0}):r[a]=h}function Ql(r,a){for(var h=-1,A=a.length,F=qe(A),H=null==r;++h<A;)F[h]=H?E:eo(r,a[h]);return F}function go(r,a,h){return r==r&&(h!==E&&(r=r<=h?r:h),a!==E&&(r=r>=a?r:a)),r}function Ji(r,a,h,A,F,H){var ne,Ce=1&a,Ve=2&a,yt=4&a;if(h&&(ne=F?h(r,A,F,H):h(r)),ne!==E)return ne;if(!qr(r))return r;var vt=Ln(r);if(vt){if(ne=function Jh(r){var a=r.length,h=new r.constructor(a);return a&&"string"==typeof r[0]&&Qn.call(r,"index")&&(h.index=r.index,h.input=r.input),h}(r),!Ce)return Es(r,ne)}else{var Ct=Ki(r),Ut=Ct==En||Ct==Mn;if(ma(r))return xa(r,Ce);if(Ct==on||Ct==z||Ut&&!F){if(ne=Ve||Ut?{}:cf(r),!Ce)return Ve?function Xd(r,a){return yo(r,du(r),a)}(r,function Ko(r,a){return r&&yo(a,ws(a),r)}(ne,r)):function gc(r,a){return yo(r,tl(r),a)}(r,Qs(ne,r))}else{if(!Zn[Ct])return F?r:{};ne=function ep(r,a,h){var A=r.constructor;switch(a){case mt:return Ol(r);case St:case Tt:return new A(+r);case Mt:return function Kd(r,a){var h=a?Ol(r.buffer):r.buffer;return new r.constructor(h,r.byteOffset,r.byteLength)}(r,h);case Pn:case xt:case Tn:case qn:case Cn:case dr:case _n:case Yr:case Jt:return Yd(r,h);case xn:return new A;case nr:case sr:return new A(r);case Lt:return function Kh(r){var a=new r.constructor(r.source,or.exec(r));return a.lastIndex=r.lastIndex,a}(r);case Vn:return new A;case He:return function pc(r){return cs?dn(cs.call(r)):{}}(r)}}(r,Ct,Ce)}}H||(H=new m);var en=H.get(r);if(en)return en;H.set(r,ne),jl(r)?r.forEach(function(hn){ne.add(Ji(hn,a,h,hn,r,H))}):Ba(r)&&r.forEach(function(hn,Yn){ne.set(Yn,Ji(hn,a,h,Yn,r,H))});var Hn=vt?E:(yt?Ve?Ll:Ja:Ve?ws:Ui)(r);return ui(Hn||r,function(hn,Yn){Hn&&(hn=r[Yn=hn]),lr(ne,Yn,Ji(hn,a,h,Yn,r,H))}),ne}function bl(r,a,h){var A=h.length;if(null==r)return!A;for(r=dn(r);A--;){var F=h[A],ne=r[F];if(ne===E&&!(F in r)||!(0,a[F])(ne))return!1}return!0}function Wa(r,a,h){if("function"!=typeof r)throw new Ni(oe);return pu(function(){r.apply(E,h)},a)}function Ka(r,a,h,A){var F=-1,H=os,ne=!0,Ce=r.length,Ve=[],yt=a.length;if(!Ce)return Ve;h&&(a=Sn(a,$e(h))),A?(H=Er,ne=!1):a.length>=200&&(H=Li,ne=!1,a=new ms(a));e:for(;++F<Ce;){var vt=r[F],Ct=null==h?vt:h(vt);if(vt=A||0!==vt?vt:0,ne&&Ct==Ct){for(var Ut=yt;Ut--;)if(a[Ut]===Ct)continue e;Ve.push(vt)}else H(a,Ct,A)||Ve.push(vt)}return Ve}B.templateSettings={escape:pt,evaluate:lt,interpolate:Qt,variable:"",imports:{_:B}},(B.prototype=za.prototype).constructor=B,(gs.prototype=Zs(za.prototype)).constructor=gs,(zn.prototype=Zs(za.prototype)).constructor=zn,Ao.prototype.clear=function Cl(){this.__data__=ni?ni(null):{},this.size=0},Ao.prototype.delete=function ua(r){var a=this.has(r)&&delete this.__data__[r];return this.size-=a?1:0,a},Ao.prototype.get=function Wu(r){var a=this.__data__;if(ni){var h=a[r];return h===se?E:h}return Qn.call(a,r)?a[r]:E},Ao.prototype.has=function Ku(r){var a=this.__data__;return ni?a[r]!==E:Qn.call(a,r)},Ao.prototype.set=function Lr(r,a){var h=this.__data__;return this.size+=this.has(r)?0:1,h[r]=ni&&a===E?se:a,this},Wo.prototype.clear=function Ga(){this.__data__=[],this.size=0},Wo.prototype.delete=function Nh(r){var a=this.__data__,h=Wr(a,r);return!(h<0||(h==a.length-1?a.pop():Wt.call(a,h,1),--this.size,0))},Wo.prototype.get=function Yu(r){var a=this.__data__,h=Wr(a,r);return h<0?E:a[h][1]},Wo.prototype.has=function Td(r){return Wr(this.__data__,r)>-1},Wo.prototype.set=function Id(r,a){var h=this.__data__,A=Wr(h,r);return A<0?(++this.size,h.push([r,a])):h[A][1]=a,this},Mo.prototype.clear=function Ma(){this.size=0,this.__data__={hash:new Ao,map:new(nn||Wo),string:new Ao}},Mo.prototype.delete=function Od(r){var a=cu(this,r).delete(r);return this.size-=a?1:0,a},Mo.prototype.get=function xd(r){return cu(this,r).get(r)},Mo.prototype.has=function pi(r){return cu(this,r).has(r)},Mo.prototype.set=function wl(r,a){var h=cu(this,r),A=h.size;return h.set(r,a),this.size+=h.size==A?0:1,this},ms.prototype.add=ms.prototype.push=function Zu(r){return this.__data__.set(r,se),this},ms.prototype.has=function Ns(r){return this.__data__.has(r)},m.prototype.clear=function y(){this.__data__=new Wo,this.size=0},m.prototype.delete=function f(r){var a=this.__data__,h=a.delete(r);return this.size=a.size,h},m.prototype.get=function C(r){return this.__data__.get(r)},m.prototype.has=function O(r){return this.__data__.has(r)},m.prototype.set=function N(r,a){var h=this.__data__;if(h instanceof Wo){var A=h.__data__;if(!nn||A.length<199)return A.push([r,a]),this.size=++h.size,this;h=this.__data__=new Mo(A)}return h.set(r,a),this.size=h.size,this};var qs=Jd(ys),Pd=Jd(Xu,!0);function Rd(r,a){var h=!0;return qs(r,function(A,F,H){return h=!!a(A,F,H)}),h}function ca(r,a,h){for(var A=-1,F=r.length;++A<F;){var H=r[A],ne=a(H);if(null!=ne&&(Ce===E?ne==ne&&!ds(ne):h(ne,Ce)))var Ce=ne,Ve=H}return Ve}function Qu(r,a){var h=[];return qs(r,function(A,F,H){a(A,F,H)&&h.push(A)}),h}function Wi(r,a,h,A,F){var H=-1,ne=r.length;for(h||(h=np),F||(F=[]);++H<ne;){var Ce=r[H];a>0&&h(Ce)?a>1?Wi(Ce,a-1,h,A,F):ci(F,Ce):A||(F[F.length]=Ce)}return F}var qu=mc(),Ta=mc(!0);function ys(r,a){return r&&qu(r,a,Ui)}function Xu(r,a){return r&&Ta(r,a,Ui)}function Ju(r,a){return $i(a,function(h){return _o(r[h])})}function da(r,a){for(var h=0,A=(a=ha(a,r)).length;null!=r&&h<A;)r=r[Zo(a[h++])];return h&&h==A?r:E}function Fd(r,a,h){var A=a(r);return Ln(r)?A:ci(A,h(r))}function vs(r){return null==r?r===E?"[object Undefined]":"[object Null]":Kt&&Kt in dn(r)?function af(r){var a=Qn.call(r,Kt),h=r[Kt];try{r[Kt]=E;var A=!0}catch{}var F=s.call(r);return A&&(a?r[Kt]=h:delete r[Kt]),F}(r):function bc(r){return s.call(r)}(r)}function ec(r,a){return r>a}function kh(r,a){return null!=r&&Qn.call(r,a)}function Uh(r,a){return null!=r&&a in dn(r)}function eu(r,a,h){for(var A=h?Er:os,F=r[0].length,H=r.length,ne=H,Ce=qe(H),Ve=1/0,yt=[];ne--;){var vt=r[ne];ne&&a&&(vt=Sn(vt,$e(a))),Ve=Gr(vt.length,Ve),Ce[ne]=!h&&(a||F>=120&&vt.length>=120)?new ms(ne&&vt):E}vt=r[0];var Ct=-1,Ut=Ce[0];e:for(;++Ct<F&&yt.length<Ve;){var en=vt[Ct],fn=a?a(en):en;if(en=h||0!==en?en:0,!(Ut?Li(Ut,fn):A(yt,fn,h))){for(ne=H;--ne;){var Hn=Ce[ne];if(!(Hn?Li(Hn,fn):A(r[ne],fn,h)))continue e}Ut&&Ut.push(fn),yt.push(en)}}return yt}function Ya(r,a,h){var A=null==(r=nl(r,a=ha(a,r)))?r:r[Zo(Xs(a))];return null==A?E:li(A,r,h)}function Vh(r){return mi(r)&&vs(r)==z}function Sl(r,a,h,A,F){return r===a||(null==r||null==a||!mi(r)&&!mi(a)?r!=r&&a!=a:function Hh(r,a,h,A,F,H){var ne=Ln(r),Ce=Ln(a),Ve=ne?X:Ki(r),yt=Ce?X:Ki(a),vt=(Ve=Ve==z?on:Ve)==on,Ct=(yt=yt==z?on:yt)==on,Ut=Ve==yt;if(Ut&&ma(r)){if(!ma(a))return!1;ne=!0,vt=!1}if(Ut&&!vt)return H||(H=new m),ne||ya(r)?rf(r,a,h,A,F,H):function Xh(r,a,h,A,F,H,ne){switch(h){case Mt:if(r.byteLength!=a.byteLength||r.byteOffset!=a.byteOffset)return!1;r=r.buffer,a=a.buffer;case mt:return!(r.byteLength!=a.byteLength||!H(new Q(r),new Q(a)));case St:case Tt:case nr:return Ro(+r,+a);case An:return r.name==a.name&&r.message==a.message;case Lt:case sr:return r==a+"";case xn:var Ce=zr;case Vn:if(Ce||(Ce=ls),r.size!=a.size&&!(1&A))return!1;var yt=ne.get(r);if(yt)return yt==a;A|=2,ne.set(r,a);var vt=rf(Ce(r),Ce(a),A,F,H,ne);return ne.delete(r),vt;case He:if(cs)return cs.call(r)==cs.call(a)}return!1}(r,a,Ve,h,A,F,H);if(!(1&h)){var en=vt&&Qn.call(r,"__wrapped__"),fn=Ct&&Qn.call(a,"__wrapped__");if(en||fn){var Hn=en?r.value():r,hn=fn?a.value():a;return H||(H=new m),F(Hn,hn,h,A,H)}}return!!Ut&&(H||(H=new m),function sf(r,a,h,A,F,H){var ne=1&h,Ce=Ja(r),Ve=Ce.length;if(Ve!=Ja(a).length&&!ne)return!1;for(var Ct=Ve;Ct--;){var Ut=Ce[Ct];if(!(ne?Ut in a:Qn.call(a,Ut)))return!1}var en=H.get(r),fn=H.get(a);if(en&&fn)return en==a&&fn==r;var Hn=!0;H.set(r,a),H.set(a,r);for(var hn=ne;++Ct<Ve;){var Yn=r[Ut=Ce[Ct]],tr=a[Ut];if(A)var bs=ne?A(tr,Yn,Ut,a,r,H):A(Yn,tr,Ut,r,a,H);if(!(bs===E?Yn===tr||F(Yn,tr,h,A,H):bs)){Hn=!1;break}hn||(hn="constructor"==Ut)}if(Hn&&!hn){var is=r.constructor,ss=a.constructor;is!=ss&&"constructor"in r&&"constructor"in a&&!("function"==typeof is&&is instanceof is&&"function"==typeof ss&&ss instanceof ss)&&(Hn=!1)}return H.delete(r),H.delete(a),Hn}(r,a,h,A,F,H))}(r,a,h,A,Sl,F))}function Nd(r,a,h,A){var F=h.length,H=F,ne=!A;if(null==r)return!H;for(r=dn(r);F--;){var Ce=h[F];if(ne&&Ce[2]?Ce[1]!==r[Ce[0]]:!(Ce[0]in r))return!1}for(;++F<H;){var Ve=(Ce=h[F])[0],yt=r[Ve],vt=Ce[1];if(ne&&Ce[2]){if(yt===E&&!(Ve in r))return!1}else{var Ct=new m;if(A)var Ut=A(yt,vt,Ve,r,a,Ct);if(!(Ut===E?Sl(vt,yt,3,A,Ct):Ut))return!1}}return!0}function jh(r){return!(!qr(r)||function Qm(r){return!!d&&d in r}(r))&&(_o(r)?M:Xr).test(ga(r))}function $h(r){return"function"==typeof r?r:null==r?_i:"object"==typeof r?Ln(r)?sc(r[0],r[1]):tu(r):fd(r)}function kd(r){if(!fu(r))return ps(r);var a=[];for(var h in dn(r))Qn.call(r,h)&&"constructor"!=h&&a.push(h);return a}function rc(r,a){return r<a}function ic(r,a){var h=-1,A=Cs(r)?qe(r.length):[];return qs(r,function(F,H,ne){A[++h]=a(F,H,ne)}),A}function tu(r){var a=Nl(r);return 1==a.length&&a[0][2]?ff(a[0][0],a[0][1]):function(h){return h===r||Nd(h,r,a)}}function sc(r,a){return Cc(r)&&wc(a)?ff(Zo(r),a):function(h){var A=eo(h,r);return A===E&&A===a?td(h,r):Sl(a,A,3)}}function Al(r,a,h,A,F){r!==a&&qu(a,function(H,ne){if(F||(F=new m),qr(H))!function Ud(r,a,h,A,F,H,ne){var Ce=hu(r,h),Ve=hu(a,h),yt=ne.get(Ve);if(yt)Bt(r,h,yt);else{var vt=H?H(Ce,Ve,h+"",r,a,ne):E,Ct=vt===E;if(Ct){var Ut=Ln(Ve),en=!Ut&&ma(Ve),fn=!Ut&&!en&&ya(Ve);vt=Ve,Ut||en||fn?Ln(Ce)?vt=Ce:ri(Ce)?vt=Es(Ce):en?(Ct=!1,vt=xa(Ve,!0)):fn?(Ct=!1,vt=Yd(Ve,!0)):vt=[]:Ha(Ve)||Ua(Ve)?(vt=Ce,Ua(Ce)?vt=qf(Ce):(!qr(Ce)||_o(Ce))&&(vt=cf(Ve))):Ct=!1}Ct&&(ne.set(Ve,vt),F(vt,Ve,A,H,ne),ne.delete(Ve)),Bt(r,h,vt)}}(r,a,ne,h,Al,A,F);else{var Ce=A?A(hu(r,ne),H,ne+"",r,a,F):E;Ce===E&&(Ce=H),Bt(r,ne,Ce)}},ws)}function mo(r,a){var h=r.length;if(h)return ns(a+=a<0?h:0,h)?r[a]:E}function Bd(r,a,h){a=a.length?Sn(a,function(H){return Ln(H)?function(ne){return da(ne,1===H.length?H[0]:H)}:H}):[_i];var A=-1;return a=Sn(a,$e(gn())),function S(xe,st){var qe=xe.length;for(xe.sort(st);qe--;)xe[qe]=xe[qe].value;return xe}(ic(r,function(H,ne,Ce){return{criteria:Sn(a,function(yt){return yt(H)}),index:++A,value:H}}),function(H,ne){return function Yh(r,a,h){for(var A=-1,F=r.criteria,H=a.criteria,ne=F.length,Ce=h.length;++A<ne;){var Ve=Zd(F[A],H[A]);if(Ve)return A>=Ce?Ve:Ve*("desc"==h[A]?-1:1)}return r.index-a.index}(H,ne,h)})}function Vd(r,a,h){for(var A=-1,F=a.length,H={};++A<F;){var ne=a[A],Ce=da(r,ne);h(Ce,ne)&&Ia(H,ha(ne,r),Ce)}return H}function Ml(r,a,h,A){var F=A?lo:Pr,H=-1,ne=a.length,Ce=r;for(r===a&&(a=Es(a)),h&&(Ce=Sn(r,$e(h)));++H<ne;)for(var Ve=0,yt=a[H],vt=h?h(yt):yt;(Ve=F(Ce,vt,Ve,A))>-1;)Ce!==r&&Wt.call(Ce,Ve,1),Wt.call(r,Ve,1);return r}function jd(r,a){for(var h=r?a.length:0,A=h-1;h--;){var F=a[h];if(h==A||F!==H){var H=F;ns(F)?Wt.call(r,F,1):ru(r,F)}}return r}function oc(r,a){return r+hs(bo()*(a-r+1))}function nu(r,a){var h="";if(!r||a<1||a>Xe)return h;do{a%2&&(h+=r),(a=hs(a/2))&&(r+=r)}while(a);return h}function Gn(r,a){return pf(xo(r,a,_i),r+"")}function Wh(r){return Ue(Fo(r))}function _s(r,a){var h=Fo(r);return rl(h,go(a,0,h.length))}function Ia(r,a,h,A){if(!qr(r))return r;for(var F=-1,H=(a=ha(a,r)).length,ne=H-1,Ce=r;null!=Ce&&++F<H;){var Ve=Zo(a[F]),yt=h;if("__proto__"===Ve||"constructor"===Ve||"prototype"===Ve)return r;if(F!=ne){var vt=Ce[Ve];(yt=A?A(vt,Ve,Ce):E)===E&&(yt=qr(vt)?vt:ns(a[F+1])?[]:{})}lr(Ce,Ve,yt),Ce=Ce[Ve]}return r}var ac=Xi?function(r,a){return Xi.set(r,a),r}:_i,lc=In?function(r,a){return In(r,"toString",{configurable:!0,enumerable:!1,value:cd(a),writable:!0})}:_i;function es(r){return rl(Fo(r))}function ts(r,a,h){var A=-1,F=r.length;a<0&&(a=-a>F?0:F+a),(h=h>F?F:h)<0&&(h+=F),F=a>h?0:h-a>>>0,a>>>=0;for(var H=qe(F);++A<F;)H[A]=r[A+a];return H}function $d(r,a){var h;return qs(r,function(A,F,H){return!(h=a(A,F,H))}),!!h}function Tl(r,a,h){var A=0,F=null==r?A:r.length;if("number"==typeof a&&a==a&&F<=2147483647){for(;A<F;){var H=A+F>>>1,ne=r[H];null!==ne&&!ds(ne)&&(h?ne<=a:ne<a)?A=H+1:F=H}return F}return uc(r,a,_i,h)}function uc(r,a,h,A){var F=0,H=null==r?0:r.length;if(0===H)return 0;for(var ne=(a=h(a))!=a,Ce=null===a,Ve=ds(a),yt=a===E;F<H;){var vt=hs((F+H)/2),Ct=h(r[vt]),Ut=Ct!==E,en=null===Ct,fn=Ct==Ct,Hn=ds(Ct);if(ne)var hn=A||fn;else hn=yt?fn&&(A||Ut):Ce?fn&&Ut&&(A||!en):Ve?fn&&Ut&&!en&&(A||!Hn):!en&&!Hn&&(A?Ct<=a:Ct<a);hn?F=vt+1:H=vt}return Gr(H,4294967294)}function cc(r,a){for(var h=-1,A=r.length,F=0,H=[];++h<A;){var ne=r[h],Ce=a?a(ne):ne;if(!h||!Ro(Ce,Ve)){var Ve=Ce;H[F++]=0===ne?0:ne}}return H}function zd(r){return"number"==typeof r?r:ds(r)?NaN:+r}function Ds(r){if("string"==typeof r)return r;if(Ln(r))return Sn(r,Ds)+"";if(ds(r))return El?El.call(r):"";var a=r+"";return"0"==a&&1/r==-ut?"-0":a}function fa(r,a,h){var A=-1,F=os,H=r.length,ne=!0,Ce=[],Ve=Ce;if(h)ne=!1,F=Er;else if(H>=200){var yt=a?null:_c(r);if(yt)return ls(yt);ne=!1,F=Li,Ve=new ms}else Ve=a?[]:Ce;e:for(;++A<H;){var vt=r[A],Ct=a?a(vt):vt;if(vt=h||0!==vt?vt:0,ne&&Ct==Ct){for(var Ut=Ve.length;Ut--;)if(Ve[Ut]===Ct)continue e;a&&Ve.push(Ct),Ce.push(vt)}else F(Ve,Ct,h)||(Ve!==Ce&&Ve.push(Ct),Ce.push(vt))}return Ce}function ru(r,a){return null==(r=nl(r,a=ha(a,r)))||delete r[Zo(Xs(a))]}function Gd(r,a,h,A){return Ia(r,a,h(da(r,a)),A)}function iu(r,a,h,A){for(var F=r.length,H=A?F:-1;(A?H--:++H<F)&&a(r[H],H,r););return h?ts(r,A?0:H,A?H+1:F):ts(r,A?H+1:0,A?F:H)}function su(r,a){var h=r;return h instanceof zn&&(h=h.value()),br(a,function(A,F){return F.func.apply(F.thisArg,ci([A],F.args))},h)}function Il(r,a,h){var A=r.length;if(A<2)return A?fa(r[0]):[];for(var F=-1,H=qe(A);++F<A;)for(var ne=r[F],Ce=-1;++Ce<A;)Ce!=F&&(H[F]=Ka(H[F]||ne,r[Ce],a,h));return fa(Wi(H,1),a,h)}function Wd(r,a,h){for(var A=-1,F=r.length,H=a.length,ne={};++A<F;)h(ne,r[A],A<H?a[A]:E);return ne}function Oa(r){return ri(r)?r:[]}function dc(r){return"function"==typeof r?r:_i}function ha(r,a){return Ln(r)?r:Cc(r,a)?[r]:ap(vr(r))}var fc=Gn;function Io(r,a,h){var A=r.length;return h=h===E?A:h,!a&&h>=A?r:ts(r,a,h)}var hc=Fn||function(r){return wr.clearTimeout(r)};function xa(r,a){if(a)return r.slice();var h=r.length,A=De?De(h):new r.constructor(h);return r.copy(A),A}function Ol(r){var a=new r.constructor(r.byteLength);return new Q(a).set(new Q(r)),a}function Yd(r,a){var h=a?Ol(r.buffer):r.buffer;return new r.constructor(h,r.byteOffset,r.length)}function Zd(r,a){if(r!==a){var h=r!==E,A=null===r,F=r==r,H=ds(r),ne=a!==E,Ce=null===a,Ve=a==a,yt=ds(a);if(!Ce&&!yt&&!H&&r>a||H&&ne&&Ve&&!Ce&&!yt||A&&ne&&Ve||!h&&Ve||!F)return 1;if(!A&&!H&&!yt&&r<a||yt&&h&&F&&!A&&!H||Ce&&h&&F||!ne&&F||!Ve)return-1}return 0}function Qd(r,a,h,A){for(var F=-1,H=r.length,ne=h.length,Ce=-1,Ve=a.length,yt=Ir(H-ne,0),vt=qe(Ve+yt),Ct=!A;++Ce<Ve;)vt[Ce]=a[Ce];for(;++F<ne;)(Ct||F<H)&&(vt[h[F]]=r[F]);for(;yt--;)vt[Ce++]=r[F++];return vt}function qd(r,a,h,A){for(var F=-1,H=r.length,ne=-1,Ce=h.length,Ve=-1,yt=a.length,vt=Ir(H-Ce,0),Ct=qe(vt+yt),Ut=!A;++F<vt;)Ct[F]=r[F];for(var en=F;++Ve<yt;)Ct[en+Ve]=a[Ve];for(;++ne<Ce;)(Ut||F<H)&&(Ct[en+h[ne]]=r[F++]);return Ct}function Es(r,a){var h=-1,A=r.length;for(a||(a=qe(A));++h<A;)a[h]=r[h];return a}function yo(r,a,h,A){var F=!h;h||(h={});for(var H=-1,ne=a.length;++H<ne;){var Ce=a[H],Ve=A?A(h[Ce],r[Ce],Ce,h,r):E;Ve===E&&(Ve=r[Ce]),F?gi(h,Ce,Ve):lr(h,Ce,Ve)}return h}function Za(r,a){return function(h,A){var F=Ln(h)?ra:To,H=a?a():{};return F(h,r,gn(A,2),H)}}function Qa(r){return Gn(function(a,h){var A=-1,F=h.length,H=F>1?h[F-1]:E,ne=F>2?h[2]:E;for(H=r.length>3&&"function"==typeof H?(F--,H):E,ne&&Oi(h[0],h[1],ne)&&(H=F<3?E:H,F=1),a=dn(a);++A<F;){var Ce=h[A];Ce&&r(a,Ce,A,H)}return a})}function Jd(r,a){return function(h,A){if(null==h)return h;if(!Cs(h))return r(h,A);for(var F=h.length,H=a?F:-1,ne=dn(h);(a?H--:++H<F)&&!1!==A(ne[H],H,ne););return h}}function mc(r){return function(a,h,A){for(var F=-1,H=dn(a),ne=A(a),Ce=ne.length;Ce--;){var Ve=ne[r?Ce:++F];if(!1===h(H[Ve],Ve,H))break}return a}}function pa(r){return function(a){var h=Rs(a=vr(a))?qi(a):E,A=h?h[0]:a.charAt(0),F=h?Io(h,1).join(""):a.slice(1);return A[r]()+F}}function Pa(r){return function(a){return br(Yg(sh(a).replace(It,"")),r,"")}}function qa(r){return function(){var a=arguments;switch(a.length){case 0:return new r;case 1:return new r(a[0]);case 2:return new r(a[0],a[1]);case 3:return new r(a[0],a[1],a[2]);case 4:return new r(a[0],a[1],a[2],a[3]);case 5:return new r(a[0],a[1],a[2],a[3],a[4]);case 6:return new r(a[0],a[1],a[2],a[3],a[4],a[5]);case 7:return new r(a[0],a[1],a[2],a[3],a[4],a[5],a[6])}var h=Zs(r.prototype),A=r.apply(h,a);return qr(A)?A:h}}function Qh(r){return function(a,h,A){var F=dn(a);if(!Cs(a)){var H=gn(h,3);a=Ui(a),h=function(Ce){return H(F[Ce],Ce,F)}}var ne=r(a,h,A);return ne>-1?F[H?a[ne]:ne]:E}}function xl(r){return Oo(function(a){var h=a.length,A=h,F=gs.prototype.thru;for(r&&a.reverse();A--;){var H=a[A];if("function"!=typeof H)throw new Ni(oe);if(F&&!ne&&"wrapper"==uu(H))var ne=new gs([],!0)}for(A=ne?A:h;++A<h;){var Ce=uu(H=a[A]),Ve="wrapper"==Ce?Yo(H):E;ne=Ve&&df(Ve[0])&&424==Ve[1]&&!Ve[4].length&&1==Ve[9]?ne[uu(Ve[0])].apply(ne,Ve[3]):1==H.length&&df(H)?ne[Ce]():ne.thru(H)}return function(){var yt=arguments,vt=yt[0];if(ne&&1==yt.length&&Ln(vt))return ne.plant(vt).value();for(var Ct=0,Ut=h?a[Ct].apply(this,yt):vt;++Ct<h;)Ut=a[Ct].call(this,Ut);return Ut}})}function ou(r,a,h,A,F,H,ne,Ce,Ve,yt){var vt=128&a,Ct=1&a,Ut=2&a,en=24&a,fn=512&a,Hn=Ut?E:qa(r);return function hn(){for(var Yn=arguments.length,tr=qe(Yn),bs=Yn;bs--;)tr[bs]=arguments[bs];if(en)var is=el(hn),ss=wa(tr,is);if(A&&(tr=Qd(tr,A,F,en)),H&&(tr=qd(tr,H,ne,en)),Yn-=ss,en&&Yn<yt){var Or=di(tr,is);return vc(r,a,ou,hn.placeholder,h,tr,Or,Ce,Ve,yt-Yn)}var Do=Ct?h:this,Jo=Ut?Do[r]:r;return Yn=tr.length,Ce?tr=hf(tr,Ce):fn&&Yn>1&&tr.reverse(),vt&&Ve<Yn&&(tr.length=Ve),this&&this!==wr&&this instanceof hn&&(Jo=Hn||qa(Jo)),Jo.apply(Do,tr)}}function yc(r,a){return function(h,A){return function Bh(r,a,h,A){return ys(r,function(F,H,ne){a(A,h(F),H,ne)}),A}(h,r,a(A),{})}}function Pl(r,a){return function(h,A){var F;if(h===E&&A===E)return a;if(h!==E&&(F=h),A!==E){if(F===E)return A;"string"==typeof h||"string"==typeof A?(h=Ds(h),A=Ds(A)):(h=zd(h),A=zd(A)),F=r(h,A)}return F}}function au(r){return Oo(function(a){return a=Sn(a,$e(gn())),Gn(function(h){var A=this;return r(a,function(F){return li(F,A,h)})})})}function Xa(r,a){var h=(a=a===E?" ":Ds(a)).length;if(h<2)return h?nu(a,r):a;var A=nu(a,yr(r/Ws(a)));return Rs(a)?Io(qi(A),0,r).join(""):A.slice(0,r)}function Rl(r){return function(a,h,A){return A&&"number"!=typeof A&&Oi(a,h,A)&&(h=A=E),a=Qo(a),h===E?(h=a,a=0):h=Qo(h),function Gh(r,a,h,A){for(var F=-1,H=Ir(yr((a-r)/(h||1)),0),ne=qe(H);H--;)ne[A?H:++F]=r,r+=h;return ne}(a,h,A=A===E?a<h?1:-1:Qo(A),r)}}function Ra(r){return function(a,h){return"string"==typeof a&&"string"==typeof h||(a=Js(a),h=Js(h)),r(a,h)}}function vc(r,a,h,A,F,H,ne,Ce,Ve,yt){var vt=8&a;a|=vt?32:64,4&(a&=~(vt?64:32))||(a&=-4);var Hn=[r,a,F,vt?H:E,vt?ne:E,vt?E:H,vt?E:ne,Ce,Ve,yt],hn=h.apply(E,Hn);return df(r)&&Sc(hn,Hn),hn.placeholder=A,op(hn,r,a)}function Fl(r){var a=Qr[r];return function(h,A){if(h=Js(h),(A=null==A?0:Gr(Bn(A),292))&&zi(h)){var F=(vr(h)+"e").split("e");return+((F=(vr(a(F[0]+"e"+(+F[1]+A)))+"e").split("e"))[0]+"e"+(+F[1]-A))}return a(h)}}var _c=Fr&&1/ls(new Fr([,-0]))[1]==ut?function(r){return new Fr(r)}:_a;function lu(r){return function(a){var h=Ki(a);return h==xn?zr(a):h==Vn?function Qi(xe){var st=-1,qe=Array(xe.size);return xe.forEach(function(Ht){qe[++st]=[Ht,Ht]}),qe}(a):function $t(xe,st){return Sn(st,function(qe){return[qe,xe[qe]]})}(a,r(a))}}function ks(r,a,h,A,F,H,ne,Ce){var Ve=2&a;if(!Ve&&"function"!=typeof r)throw new Ni(oe);var yt=A?A.length:0;if(yt||(a&=-97,A=F=E),ne=ne===E?ne:Ir(Bn(ne),0),Ce=Ce===E?Ce:Bn(Ce),yt-=F?F.length:0,64&a){var vt=A,Ct=F;A=F=E}var Ut=Ve?E:Yo(r),en=[r,a,h,A,F,vt,Ct,H,ne,Ce];if(Ut&&function ip(r,a){var h=r[1],A=a[1],F=h|A;if(!(F<131)&&!(128==A&&8==h||128==A&&256==h&&r[7].length<=a[8]||384==A&&a[7].length<=a[8]&&8==h))return r;1&A&&(r[2]=a[2],F|=1&h?0:4);var Ce=a[3];if(Ce){var Ve=r[3];r[3]=Ve?Qd(Ve,Ce,a[4]):Ce,r[4]=Ve?di(r[3],pe):a[4]}(Ce=a[5])&&(r[5]=(Ve=r[5])?qd(Ve,Ce,a[6]):Ce,r[6]=Ve?di(r[5],pe):a[6]),(Ce=a[7])&&(r[7]=Ce),128&A&&(r[8]=null==r[8]?a[8]:Gr(r[8],a[8])),null==r[9]&&(r[9]=a[9]),r[0]=a[0],r[1]=F}(en,Ut),r=en[0],a=en[1],h=en[2],A=en[3],F=en[4],!(Ce=en[9]=en[9]===E?Ve?0:r.length:Ir(en[9]-yt,0))&&24&a&&(a&=-25),a&&1!=a)fn=8==a||16==a?function Zh(r,a,h){var A=qa(r);return function F(){for(var H=arguments.length,ne=qe(H),Ce=H,Ve=el(F);Ce--;)ne[Ce]=arguments[Ce];var yt=H<3&&ne[0]!==Ve&&ne[H-1]!==Ve?[]:di(ne,Ve);return(H-=yt.length)<h?vc(r,a,ou,F.placeholder,E,ne,yt,E,E,h-H):li(this&&this!==wr&&this instanceof F?A:r,this,ne)}}(r,a,Ce):32!=a&&33!=a||F.length?ou.apply(E,en):function tf(r,a,h,A){var F=1&a,H=qa(r);return function ne(){for(var Ce=-1,Ve=arguments.length,yt=-1,vt=A.length,Ct=qe(vt+Ve),Ut=this&&this!==wr&&this instanceof ne?H:r;++yt<vt;)Ct[yt]=A[yt];for(;Ve--;)Ct[yt++]=arguments[++Ce];return li(Ut,F?h:this,Ct)}}(r,a,h,A);else var fn=function ef(r,a,h){var A=1&a,F=qa(r);return function H(){return(this&&this!==wr&&this instanceof H?F:r).apply(A?h:this,arguments)}}(r,a,h);return op((Ut?ac:Sc)(fn,en),r,a)}function nf(r,a,h,A){return r===E||Ro(r,po[h])&&!Qn.call(A,h)?a:r}function Dc(r,a,h,A,F,H){return qr(r)&&qr(a)&&(H.set(a,r),Al(r,a,E,Dc,H),H.delete(a)),r}function qh(r){return Ha(r)?E:r}function rf(r,a,h,A,F,H){var ne=1&h,Ce=r.length,Ve=a.length;if(Ce!=Ve&&!(ne&&Ve>Ce))return!1;var yt=H.get(r),vt=H.get(a);if(yt&&vt)return yt==a&&vt==r;var Ct=-1,Ut=!0,en=2&h?new ms:E;for(H.set(r,a),H.set(a,r);++Ct<Ce;){var fn=r[Ct],Hn=a[Ct];if(A)var hn=ne?A(Hn,fn,Ct,a,r,H):A(fn,Hn,Ct,r,a,H);if(hn!==E){if(hn)continue;Ut=!1;break}if(en){if(!xs(a,function(Yn,tr){if(!Li(en,tr)&&(fn===Yn||F(fn,Yn,h,A,H)))return en.push(tr)})){Ut=!1;break}}else if(fn!==Hn&&!F(fn,Hn,h,A,H)){Ut=!1;break}}return H.delete(r),H.delete(a),Ut}function Oo(r){return pf(xo(r,E,_f),r+"")}function Ja(r){return Fd(r,Ui,tl)}function Ll(r){return Fd(r,ws,du)}var Yo=Xi?function(r){return Xi.get(r)}:_a;function uu(r){for(var a=r.name+"",h=ar[a],A=Qn.call(ar,a)?h.length:0;A--;){var F=h[A],H=F.func;if(null==H||H==r)return F.name}return a}function el(r){return(Qn.call(B,"placeholder")?B:r).placeholder}function gn(){var r=B.iteratee||dl;return r=r===dl?$h:r,arguments.length?r(arguments[0],arguments[1]):r}function cu(r,a){var h=r.__data__;return function Zm(r){var a=typeof r;return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==r:null===r}(a)?h["string"==typeof a?"string":"hash"]:h.map}function Nl(r){for(var a=Ui(r),h=a.length;h--;){var A=a[h],F=r[A];a[h]=[A,F,wc(F)]}return a}function Fa(r,a){var h=function aa(xe,st){return null==xe?E:xe[st]}(r,a);return jh(h)?h:E}var tl=Ii?function(r){return null==r?[]:(r=dn(r),$i(Ii(r),function(a){return Ot.call(r,a)}))}:Ru,du=Ii?function(r){for(var a=[];r;)ci(a,tl(r)),r=We(r);return a}:Ru,Ki=vs;function Ec(r,a,h){for(var A=-1,F=(a=ha(a,r)).length,H=!1;++A<F;){var ne=Zo(a[A]);if(!(H=null!=r&&h(r,ne)))break;r=r[ne]}return H||++A!=F?H:!!(F=null==r?0:r.length)&&ll(F)&&ns(ne,F)&&(Ln(r)||Ua(r))}function cf(r){return"function"!=typeof r.constructor||fu(r)?{}:Zs(We(r))}function np(r){return Ln(r)||Ua(r)||!!(qt&&r&&r[qt])}function ns(r,a){var h=typeof r;return!!(a=a??Xe)&&("number"==h||"symbol"!=h&&Jr.test(r))&&r>-1&&r%1==0&&r<a}function Oi(r,a,h){if(!qr(h))return!1;var A=typeof a;return!!("number"==A?Cs(h)&&ns(a,h.length):"string"==A&&a in h)&&Ro(h[a],r)}function Cc(r,a){if(Ln(r))return!1;var h=typeof r;return!("number"!=h&&"symbol"!=h&&"boolean"!=h&&null!=r&&!ds(r))||wn.test(r)||!Dn.test(r)||null!=a&&r in dn(a)}function df(r){var a=uu(r),h=B[a];if("function"!=typeof h||!(a in zn.prototype))return!1;if(r===h)return!0;var A=Yo(h);return!!A&&r===A[0]}(tn&&Ki(new tn(new ArrayBuffer(1)))!=Mt||nn&&Ki(new nn)!=xn||ln&&Ki(ln.resolve())!=kn||Fr&&Ki(new Fr)!=Vn||hi&&Ki(new hi)!=Oe)&&(Ki=function(r){var a=vs(r),h=a==on?r.constructor:E,A=h?ga(h):"";if(A)switch(A){case Dl:return Mt;case Aa:return xn;case Ur:return kn;case Ls:return Vn;case ki:return Oe}return a});var qm=$o?_o:Fu;function fu(r){var a=r&&r.constructor;return r===("function"==typeof a&&a.prototype||po)}function wc(r){return r==r&&!qr(r)}function ff(r,a){return function(h){return null!=h&&h[r]===a&&(a!==E||r in dn(h))}}function xo(r,a,h){return a=Ir(a===E?r.length-1:a,0),function(){for(var A=arguments,F=-1,H=Ir(A.length-a,0),ne=qe(H);++F<H;)ne[F]=A[a+F];F=-1;for(var Ce=qe(a+1);++F<a;)Ce[F]=A[F];return Ce[a]=h(ne),li(r,this,Ce)}}function nl(r,a){return a.length<2?r:da(r,ts(a,0,-1))}function hf(r,a){for(var h=r.length,A=Gr(a.length,h),F=Es(r);A--;){var H=a[A];r[A]=ns(H,h)?F[H]:E}return r}function hu(r,a){if(("constructor"!==a||"function"!=typeof r[a])&&"__proto__"!=a)return r[a]}var Sc=gu(ac),pu=Rr||function(r,a){return wr.setTimeout(r,a)},pf=gu(lc);function op(r,a,h){var A=a+"";return pf(r,function tp(r,a){var h=a.length;if(!h)return r;var A=h-1;return a[A]=(h>1?"& ":"")+a[A],a=a.join(h>2?", ":" "),r.replace(ge,"{\n/* [wrapped with "+a+"] */\n")}(A,function lp(r,a){return ui(rt,function(h){var A="_."+h[0];a&h[1]&&!os(r,A)&&r.push(A)}),r.sort()}(function uf(r){var a=r.match(ue);return a?a[1].split(Z):[]}(A),h)))}function gu(r){var a=0,h=0;return function(){var A=yi(),F=16-(A-h);if(h=A,F>0){if(++a>=800)return arguments[0]}else a=0;return r.apply(E,arguments)}}function rl(r,a){var h=-1,A=r.length,F=A-1;for(a=a===E?A:a;++h<a;){var H=oc(h,F),ne=r[H];r[H]=r[h],r[h]=ne}return r.length=a,r}var ap=function rp(r){var a=Hl(r,function(A){return 500===h.size&&h.clear(),A}),h=a.cache;return a}(function(r){var a=[];return 46===r.charCodeAt(0)&&a.push(""),r.replace(Gt,function(h,A,F,H){a.push(F?H.replace(Ft,"$1"):A||h)}),a});function Zo(r){if("string"==typeof r||ds(r))return r;var a=r+"";return"0"==a&&1/r==-ut?"-0":a}function ga(r){if(null!=r){try{return wo.call(r)}catch{}try{return r+""}catch{}}return""}function gf(r){if(r instanceof zn)return r.clone();var a=new gs(r.__wrapped__,r.__chain__);return a.__actions__=Es(r.__actions__),a.__index__=r.__index__,a.__values__=r.__values__,a}var mu=Gn(function(r,a){return ri(r)?Ka(r,Wi(a,1,ri,!0)):[]}),dp=Gn(function(r,a){var h=Xs(a);return ri(h)&&(h=E),ri(r)?Ka(r,Wi(a,1,ri,!0),gn(h,2)):[]}),Ac=Gn(function(r,a){var h=Xs(a);return ri(h)&&(h=E),ri(r)?Ka(r,Wi(a,1,ri,!0),E,h):[]});function Tc(r,a,h){var A=null==r?0:r.length;if(!A)return-1;var F=null==h?0:Bn(h);return F<0&&(F=Ir(A+F,0)),Ai(r,gn(a,3),F)}function vf(r,a,h){var A=null==r?0:r.length;if(!A)return-1;var F=A-1;return h!==E&&(F=Bn(h),F=h<0?Ir(A+F,0):Gr(F,A-1)),Ai(r,gn(a,3),F,!0)}function _f(r){return null!=r&&r.length?Wi(r,1):[]}function mp(r){return r&&r.length?r[0]:E}var Ic=Gn(function(r){var a=Sn(r,Oa);return a.length&&a[0]===r[0]?eu(a):[]}),Ef=Gn(function(r){var a=Xs(r),h=Sn(r,Oa);return a===Xs(h)?a=E:h.pop(),h.length&&h[0]===r[0]?eu(h,gn(a,2)):[]}),Cf=Gn(function(r){var a=Xs(r),h=Sn(r,Oa);return(a="function"==typeof a?a:E)&&h.pop(),h.length&&h[0]===r[0]?eu(h,E,a):[]});function Xs(r){var a=null==r?0:r.length;return a?r[a-1]:E}var Sf=Gn(yu);function yu(r,a){return r&&r.length&&a&&a.length?Ml(r,a):r}var vp=Oo(function(r,a){var h=null==r?0:r.length,A=Ql(r,a);return jd(r,Sn(a,function(F){return ns(F,h)?+F:F}).sort(Zd)),A});function vu(r){return null==r?r:Yt.call(r)}var il=Gn(function(r){return fa(Wi(r,1,ri,!0))}),wp=Gn(function(r){var a=Xs(r);return ri(a)&&(a=E),fa(Wi(r,1,ri,!0),gn(a,2))}),bp=Gn(function(r){var a=Xs(r);return a="function"==typeof a?a:E,fa(Wi(r,1,ri,!0),E,a)});function Eu(r){if(!r||!r.length)return[];var a=0;return r=$i(r,function(h){if(ri(h))return a=Ir(h.length,a),!0}),Ye(a,function(h){return Sn(r,Fi(h))})}function If(r,a){if(!r||!r.length)return[];var h=Eu(r);return null==a?h:Sn(h,function(A){return li(a,E,A)})}var Of=Gn(function(r,a){return ri(r)?Ka(r,a):[]}),ey=Gn(function(r){return Il($i(r,ri))}),Mp=Gn(function(r){var a=Xs(r);return ri(a)&&(a=E),Il($i(r,ri),gn(a,2))}),Ul=Gn(function(r){var a=Xs(r);return a="function"==typeof a?a:E,Il($i(r,ri),E,a)}),Tp=Gn(Eu),Ip=Gn(function(r){var a=r.length,h=a>1?r[a-1]:E;return h="function"==typeof h?(r.pop(),h):E,If(r,h)});function Nc(r){var a=B(r);return a.__chain__=!0,a}function Cu(r,a){return a(r)}var xp=Oo(function(r){var a=r.length,h=a?r[0]:0,A=this.__wrapped__,F=function(H){return Ql(H,r)};return!(a>1||this.__actions__.length)&&A instanceof zn&&ns(h)?((A=A.slice(h,+h+(a?1:0))).__actions__.push({func:Cu,args:[F],thisArg:E}),new gs(A,this.__chain__).thru(function(H){return a&&!H.length&&H.push(E),H})):this.thru(F)}),Fp=Za(function(r,a,h){Qn.call(r,h)?++r[h]:gi(r,h,1)}),kp=Qh(Tc),Pf=Qh(vf);function Po(r,a){return(Ln(r)?ui:qs)(r,gn(a,3))}function Rf(r,a){return(Ln(r)?Os:Pd)(r,gn(a,3))}var Vp=Za(function(r,a,h){Qn.call(r,h)?r[h].push(a):gi(r,h,[a])}),ny=Gn(function(r,a,h){var A=-1,F="function"==typeof a,H=Cs(r)?qe(r.length):[];return qs(r,function(ne){H[++A]=F?li(a,ne,h):Ya(ne,a,h)}),H}),Ff=Za(function(r,a,h){gi(r,h,a)});function Vc(r,a){return(Ln(r)?Sn:ic)(r,gn(a,3))}var Nf=Za(function(r,a,h){r[h?0:1].push(a)},function(){return[[],[]]}),Wp=Gn(function(r,a){if(null==r)return[];var h=a.length;return h>1&&Oi(r,a[0],a[1])?a=[]:h>2&&Oi(a[0],a[1],a[2])&&(a=[a[0]]),Bd(r,Wi(a,1),[])}),wu=mr||function(){return wr.Date.now()};function Hc(r,a,h){return a=h?E:a,ks(r,128,E,E,E,E,a=r&&null==a?r.length:a)}function Bf(r,a){var h;if("function"!=typeof a)throw new Ni(oe);return r=Bn(r),function(){return--r>0&&(h=a.apply(this,arguments)),r<=1&&(a=E),h}}var jc=Gn(function(r,a,h){var A=1;if(h.length){var F=di(h,el(jc));A|=32}return ks(r,A,a,h,F)}),Vf=Gn(function(r,a,h){var A=3;if(h.length){var F=di(h,el(Vf));A|=32}return ks(a,A,r,h,F)});function zc(r,a,h){var A,F,H,ne,Ce,Ve,yt=0,vt=!1,Ct=!1,Ut=!0;if("function"!=typeof r)throw new Ni(oe);function en(Or){var Do=A,Jo=F;return A=F=E,yt=Or,ne=r.apply(Jo,Do)}function fn(Or){return yt=Or,Ce=pu(Yn,a),vt?en(Or):ne}function hn(Or){var Do=Or-Ve;return Ve===E||Do>=a||Do<0||Ct&&Or-yt>=H}function Yn(){var Or=wu();if(hn(Or))return tr(Or);Ce=pu(Yn,function Hn(Or){var Bu=a-(Or-Ve);return Ct?Gr(Bu,H-(Or-yt)):Bu}(Or))}function tr(Or){return Ce=E,Ut&&A?en(Or):(A=F=E,ne)}function ss(){var Or=wu(),Do=hn(Or);if(A=arguments,F=this,Ve=Or,Do){if(Ce===E)return fn(Ve);if(Ct)return hc(Ce),Ce=pu(Yn,a),en(Ve)}return Ce===E&&(Ce=pu(Yn,a)),ne}return a=Js(a)||0,qr(h)&&(vt=!!h.leading,H=(Ct="maxWait"in h)?Ir(Js(h.maxWait)||0,a):H,Ut="trailing"in h?!!h.trailing:Ut),ss.cancel=function bs(){Ce!==E&&hc(Ce),yt=0,A=Ve=F=Ce=E},ss.flush=function is(){return Ce===E?ne:tr(wu())},ss}var Hf=Gn(function(r,a){return Wa(r,1,a)}),Yp=Gn(function(r,a,h){return Wa(r,Js(a)||0,h)});function Hl(r,a){if("function"!=typeof r||null!=a&&"function"!=typeof a)throw new Ni(oe);var h=function(){var A=arguments,F=a?a.apply(this,A):A[0],H=h.cache;if(H.has(F))return H.get(F);var ne=r.apply(this,A);return h.cache=H.set(F,ne)||H,ne};return h.cache=new(Hl.Cache||Mo),h}function bu(r){if("function"!=typeof r)throw new Ni(oe);return function(){var a=arguments;switch(a.length){case 0:return!r.call(this);case 1:return!r.call(this,a[0]);case 2:return!r.call(this,a[0],a[1]);case 3:return!r.call(this,a[0],a[1],a[2])}return!r.apply(this,a)}}Hl.Cache=Mo;var Qp=fc(function(r,a){var h=(a=1==a.length&&Ln(a[0])?Sn(a[0],$e(gn())):Sn(Wi(a,1),$e(gn()))).length;return Gn(function(A){for(var F=-1,H=Gr(A.length,h);++F<H;)A[F]=a[F].call(this,A[F]);return li(r,this,A)})}),Gc=Gn(function(r,a){var h=di(a,el(Gc));return ks(r,32,E,a,h)}),qp=Gn(function(r,a){var h=di(a,el(qp));return ks(r,64,E,a,h)}),$f=Oo(function(r,a){return ks(r,256,E,E,E,a)});function Ro(r,a){return r===a||r!=r&&a!=a}var tg=Ra(ec),al=Ra(function(r,a){return r>=a}),Ua=Vh(function(){return arguments}())?Vh:function(r){return mi(r)&&Qn.call(r,"callee")&&!Ot.call(r,"callee")},Ln=qe.isArray,Su=Ms?$e(Ms):function Ld(r){return mi(r)&&vs(r)==mt};function Cs(r){return null!=r&&ll(r.length)&&!_o(r)}function ri(r){return mi(r)&&Cs(r)}var ma=fi||Fu,rg=Ts?$e(Ts):function Gm(r){return mi(r)&&vs(r)==Tt};function Au(r){if(!mi(r))return!1;var a=vs(r);return a==An||"[object DOMException]"==a||"string"==typeof r.message&&"string"==typeof r.name&&!Ha(r)}function _o(r){if(!qr(r))return!1;var a=vs(r);return a==En||a==Mn||"[object AsyncFunction]"==a||"[object Proxy]"==a}function ag(r){return"number"==typeof r&&r==Bn(r)}function ll(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=Xe}function qr(r){var a=typeof r;return null!=r&&("object"==a||"function"==a)}function mi(r){return null!=r&&"object"==typeof r}var Ba=Is?$e(Is):function tc(r){return mi(r)&&Ki(r)==xn};function Va(r){return"number"==typeof r||mi(r)&&vs(r)==nr}function Ha(r){if(!mi(r)||vs(r)!=on)return!1;var a=We(r);if(null===a)return!0;var h=Qn.call(a,"constructor")&&a.constructor;return"function"==typeof h&&h instanceof h&&wo.call(h)==u}var ja=ao?$e(ao):function nc(r){return mi(r)&&vs(r)==Lt},jl=js?$e(js):function Wm(r){return mi(r)&&Ki(r)==Vn};function $l(r){return"string"==typeof r||!Ln(r)&&mi(r)&&vs(r)==sr}function ds(r){return"symbol"==typeof r||mi(r)&&vs(r)==He}var ya=$s?$e($s):function Km(r){return mi(r)&&ll(r.length)&&!!$n[vs(r)]},dg=Ra(rc),fg=Ra(function(r,a){return r<=a});function qc(r){if(!r)return[];if(Cs(r))return $l(r)?qi(r):Es(r);if(jt&&r[jt])return function Bo(xe){for(var st,qe=[];!(st=xe.next()).done;)qe.push(st.value);return qe}(r[jt]());var a=Ki(r);return(a==xn?zr:a==Vn?ls:Fo)(r)}function Qo(r){return r?(r=Js(r))===ut||r===-ut?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}function Bn(r){var a=Qo(r),h=a%1;return a==a?h?a-h:a:0}function Xc(r){return r?go(Bn(r),0,Le):0}function Js(r){if("number"==typeof r)return r;if(ds(r))return NaN;if(qr(r)){var a="function"==typeof r.valueOf?r.valueOf():r;r=qr(a)?a+"":a}if("string"!=typeof r)return 0===r?r:+r;r=Mr(r);var h=xr.test(r);return h||si.test(r)?io(r.slice(2),h?2:8):Xn.test(r)?NaN:+r}function qf(r){return yo(r,ws(r))}function vr(r){return null==r?"":Ds(r)}var hg=Qa(function(r,a){if(fu(a)||Cs(a))yo(a,Ui(a),r);else for(var h in a)Qn.call(a,h)&&lr(r,h,a[h])}),pg=Qa(function(r,a){yo(a,ws(a),r)}),ul=Qa(function(r,a,h,A){yo(a,ws(a),r,A)}),Xf=Qa(function(r,a,h,A){yo(a,Ui(a),r,A)}),gg=Oo(Ql),yg=Gn(function(r,a){r=dn(r);var h=-1,A=a.length,F=A>2?a[2]:E;for(F&&Oi(a[0],a[1],F)&&(A=1);++h<A;)for(var H=a[h],ne=ws(H),Ce=-1,Ve=ne.length;++Ce<Ve;){var yt=ne[Ce],vt=r[yt];(vt===E||Ro(vt,po[yt])&&!Qn.call(r,yt))&&(r[yt]=H[yt])}return r}),Jf=Gn(function(r){return r.push(E,Dc),li(zl,E,r)});function eo(r,a,h){var A=null==r?E:da(r,a);return A===E?h:A}function td(r,a){return null!=r&&Ec(r,a,Uh)}var Sg=yc(function(r,a,h){null!=a&&"function"!=typeof a.toString&&(a=s.call(a)),r[a]=h},cd(_i)),eh=yc(function(r,a,h){null!=a&&"function"!=typeof a.toString&&(a=s.call(a)),Qn.call(r,a)?r[a].push(h):r[a]=[h]},gn),Ag=Gn(Ya);function Ui(r){return Cs(r)?V(r):kd(r)}function ws(r){return Cs(r)?V(r,!0):function Ym(r){if(!qr(r))return function sp(r){var a=[];if(null!=r)for(var h in dn(r))a.push(h);return a}(r);var a=fu(r),h=[];for(var A in r)"constructor"==A&&(a||!Qn.call(r,A))||h.push(A);return h}(r)}var Tg=Qa(function(r,a,h){Al(r,a,h)}),zl=Qa(function(r,a,h,A){Al(r,a,h,A)}),rd=Oo(function(r,a){var h={};if(null==r)return h;var A=!1;a=Sn(a,function(H){return H=ha(H,r),A||(A=H.length>1),H}),yo(r,Ll(r),h),A&&(h=Ji(h,7,qh));for(var F=a.length;F--;)ru(h,a[F]);return h}),oy=Oo(function(r,a){return null==r?{}:function zh(r,a){return Vd(r,a,function(h,A){return td(r,A)})}(r,a)});function Iu(r,a){if(null==r)return{};var h=Sn(Ll(r),function(A){return[A]});return a=gn(a),Vd(r,h,function(A,F){return a(A,F[0])})}var id=lu(Ui),sd=lu(ws);function Fo(r){return null==r?[]:cn(r,Ui(r))}var xg=Pa(function(r,a,h){return a=a.toLowerCase(),r+(h?cl(a):a)});function cl(r){return Xo(vr(r).toLowerCase())}function sh(r){return(r=vr(r))&&r.replace(Ei,co).replace(Zt,"")}var Fg=Pa(function(r,a,h){return r+(h?"-":"")+a.toLowerCase()}),Lg=Pa(function(r,a,h){return r+(h?" ":"")+a.toLowerCase()}),Ng=pa("toLowerCase"),Vg=Pa(function(r,a,h){return r+(h?"_":"")+a.toLowerCase()}),jg=Pa(function(r,a,h){return r+(h?" ":"")+Xo(a)}),Pu=Pa(function(r,a,h){return r+(h?" ":"")+a.toUpperCase()}),Xo=pa("toUpperCase");function Yg(r,a,h){return r=vr(r),(a=h?E:a)===E?function ba(xe){return jn.test(xe)}(r)?function Ho(xe){return xe.match(yn)||[]}(r):function sa(xe){return xe.match(Ge)||[]}(r):r.match(a)||[]}var Gl=Gn(function(r,a){try{return li(r,E,a)}catch(h){return Au(h)?h:new pn(h)}}),Zg=Oo(function(r,a){return ui(a,function(h){h=Zo(h),gi(r,h,jc(r[h],r))}),r});function cd(r){return function(){return r}}var Wl=xl(),rs=xl(!0);function _i(r){return r}function dl(r){return $h("function"==typeof r?r:Ji(r,1))}var fl=Gn(function(r,a){return function(h){return Ya(h,r,a)}}),hl=Gn(function(r,a){return function(h){return Ya(r,h,a)}});function va(r,a,h){var A=Ui(a),F=Ju(a,A);null==h&&(!qr(a)||!F.length&&A.length)&&(h=a,a=r,r=this,F=Ju(a,Ui(a)));var H=!(qr(h)&&"chain"in h&&!h.chain),ne=_o(r);return ui(F,function(Ce){var Ve=a[Ce];r[Ce]=Ve,ne&&(r.prototype[Ce]=function(){var yt=this.__chain__;if(H||yt){var vt=r(this.__wrapped__),Ct=vt.__actions__=Es(this.__actions__);return Ct.push({func:Ve,args:arguments,thisArg:r}),vt.__chain__=yt,vt}return Ve.apply(r,ci([this.value()],arguments))})}),r}function _a(){}var ml=au(Sn),yl=au(ti),vl=au(xs);function fd(r){return Cc(r)?Fi(Zo(r)):function Hd(r){return function(a){return da(a,r)}}(r)}var dh=Rl(),fh=Rl(!0);function Ru(){return[]}function Fu(){return!1}var Jg=Pl(function(r,a){return r+a},0),yh=Fl("ceil"),hd=Pl(function(r,a){return r/a},1),pd=Fl("floor"),Uu=Pl(function(r,a){return r*a},1),md=Fl("round"),vh=Pl(function(r,a){return r-a},0);return B.after=function Kp(r,a){if("function"!=typeof a)throw new Ni(oe);return r=Bn(r),function(){if(--r<1)return a.apply(this,arguments)}},B.ary=Hc,B.assign=hg,B.assignIn=pg,B.assignInWith=ul,B.assignWith=Xf,B.at=gg,B.before=Bf,B.bind=jc,B.bindAll=Zg,B.bindKey=Vf,B.castArray=function Jp(){if(!arguments.length)return[];var r=arguments[0];return Ln(r)?r:[r]},B.chain=Nc,B.chunk=function up(r,a,h){a=(h?Oi(r,a,h):a===E)?1:Ir(Bn(a),0);var A=null==r?0:r.length;if(!A||a<1)return[];for(var F=0,H=0,ne=qe(yr(A/a));F<A;)ne[H++]=ts(r,F,F+=a);return ne},B.compact=function cp(r){for(var a=-1,h=null==r?0:r.length,A=0,F=[];++a<h;){var H=r[a];H&&(F[A++]=H)}return F},B.concat=function mf(){var r=arguments.length;if(!r)return[];for(var a=qe(r-1),h=arguments[0],A=r;A--;)a[A-1]=arguments[A];return ci(Ln(h)?Es(h):[h],Wi(a,1))},B.cond=function Qg(r){var a=null==r?0:r.length,h=gn();return r=a?Sn(r,function(A){if("function"!=typeof A[1])throw new Ni(oe);return[h(A[0]),A[1]]}):[],Gn(function(A){for(var F=-1;++F<a;){var H=r[F];if(li(H[0],this,A))return li(H[1],this,A)}})},B.conforms=function ud(r){return function ql(r){var a=Ui(r);return function(h){return bl(h,r,a)}}(Ji(r,1))},B.constant=cd,B.countBy=Fp,B.create=function mg(r,a){var h=Zs(r);return null==a?h:Qs(h,a)},B.curry=function On(r,a,h){var A=ks(r,8,E,E,E,E,E,a=h?E:a);return A.placeholder=On.placeholder,A},B.curryRight=function $c(r,a,h){var A=ks(r,16,E,E,E,E,E,a=h?E:a);return A.placeholder=$c.placeholder,A},B.debounce=zc,B.defaults=yg,B.defaultsDeep=Jf,B.defer=Hf,B.delay=Yp,B.difference=mu,B.differenceBy=dp,B.differenceWith=Ac,B.drop=function fp(r,a,h){var A=null==r?0:r.length;return A?ts(r,(a=h||a===E?1:Bn(a))<0?0:a,A):[]},B.dropRight=function vi(r,a,h){var A=null==r?0:r.length;return A?ts(r,0,(a=A-(a=h||a===E?1:Bn(a)))<0?0:a):[]},B.dropRightWhile=function yf(r,a){return r&&r.length?iu(r,gn(a,3),!0,!0):[]},B.dropWhile=function hp(r,a){return r&&r.length?iu(r,gn(a,3),!0):[]},B.fill=function Mc(r,a,h,A){var F=null==r?0:r.length;return F?(h&&"number"!=typeof h&&Oi(r,a,h)&&(h=0,A=F),function Xl(r,a,h,A){var F=r.length;for((h=Bn(h))<0&&(h=-h>F?0:F+h),(A=A===E||A>F?F:Bn(A))<0&&(A+=F),A=h>A?0:Xc(A);h<A;)r[h++]=a;return r}(r,a,h,A)):[]},B.filter=function Np(r,a){return(Ln(r)?$i:Qu)(r,gn(a,3))},B.flatMap=function Up(r,a){return Wi(Vc(r,a),1)},B.flatMapDeep=function Bp(r,a){return Wi(Vc(r,a),ut)},B.flatMapDepth=function ol(r,a,h){return h=h===E?1:Bn(h),Wi(Vc(r,a),h)},B.flatten=_f,B.flattenDeep=function pp(r){return null!=r&&r.length?Wi(r,ut):[]},B.flattenDepth=function gp(r,a){return null!=r&&r.length?Wi(r,a=a===E?1:Bn(a)):[]},B.flip=function Zp(r){return ks(r,512)},B.flow=Wl,B.flowRight=rs,B.fromPairs=function Df(r){for(var a=-1,h=null==r?0:r.length,A={};++a<h;){var F=r[a];A[F[0]]=F[1]}return A},B.functions=function wg(r){return null==r?[]:Ju(r,Ui(r))},B.functionsIn=function bg(r){return null==r?[]:Ju(r,ws(r))},B.groupBy=Vp,B.initial=function kl(r){return null!=r&&r.length?ts(r,0,-1):[]},B.intersection=Ic,B.intersectionBy=Ef,B.intersectionWith=Cf,B.invert=Sg,B.invertBy=eh,B.invokeMap=ny,B.iteratee=dl,B.keyBy=Ff,B.keys=Ui,B.keysIn=ws,B.map=Vc,B.mapKeys=function nd(r,a){var h={};return a=gn(a,3),ys(r,function(A,F,H){gi(h,a(A,F,H),A)}),h},B.mapValues=function Mg(r,a){var h={};return a=gn(a,3),ys(r,function(A,F,H){gi(h,F,a(A,F,H))}),h},B.matches=function to(r){return tu(Ji(r,1))},B.matchesProperty=function dd(r,a){return sc(r,Ji(a,1))},B.memoize=Hl,B.merge=Tg,B.mergeWith=zl,B.method=fl,B.methodOf=hl,B.mixin=va,B.negate=bu,B.nthArg=function gl(r){return r=Bn(r),Gn(function(a){return mo(a,r)})},B.omit=rd,B.omitBy=function Tu(r,a){return Iu(r,bu(gn(a)))},B.once=function jf(r){return Bf(2,r)},B.orderBy=function Lf(r,a,h,A){return null==r?[]:(Ln(a)||(a=null==a?[]:[a]),Ln(h=A?E:h)||(h=null==h?[]:[h]),Bd(r,a,h))},B.over=ml,B.overArgs=Qp,B.overEvery=yl,B.overSome=vl,B.partial=Gc,B.partialRight=qp,B.partition=Nf,B.pick=oy,B.pickBy=Iu,B.property=fd,B.propertyOf=function ch(r){return function(a){return null==r?E:da(r,a)}},B.pull=Sf,B.pullAll=yu,B.pullAllBy=function Jm(r,a,h){return r&&r.length&&a&&a.length?Ml(r,a,gn(h,2)):r},B.pullAllWith=function Oc(r,a,h){return r&&r.length&&a&&a.length?Ml(r,a,E,h):r},B.pullAt=vp,B.range=dh,B.rangeRight=fh,B.rearg=$f,B.reject=function jp(r,a){return(Ln(r)?$i:Qu)(r,bu(gn(a,3)))},B.remove=function xc(r,a){var h=[];if(!r||!r.length)return h;var A=-1,F=[],H=r.length;for(a=gn(a,3);++A<H;){var ne=r[A];a(ne,A,r)&&(h.push(ne),F.push(A))}return jd(r,F),h},B.rest=function zf(r,a){if("function"!=typeof r)throw new Ni(oe);return Gn(r,a=a===E?a:Bn(a))},B.reverse=vu,B.sampleSize=function vo(r,a,h){return a=(h?Oi(r,a,h):a===E)?1:Bn(a),(Ln(r)?at:_s)(r,a)},B.set=function th(r,a,h){return null==r?r:Ia(r,a,h)},B.setWith=function nh(r,a,h,A){return A="function"==typeof A?A:E,null==r?r:Ia(r,a,h,A)},B.shuffle=function zp(r){return(Ln(r)?zt:es)(r)},B.slice=function Af(r,a,h){var A=null==r?0:r.length;return A?(h&&"number"!=typeof h&&Oi(r,a,h)?(a=0,h=A):(a=null==a?0:Bn(a),h=h===E?A:Bn(h)),ts(r,a,h)):[]},B.sortBy=Wp,B.sortedUniq=function Du(r){return r&&r.length?cc(r):[]},B.sortedUniqBy=function Na(r,a){return r&&r.length?cc(r,gn(a,2)):[]},B.split=function Hg(r,a,h){return h&&"number"!=typeof h&&Oi(r,a,h)&&(a=h=E),(h=h===E?Le:h>>>0)?(r=vr(r))&&("string"==typeof a||null!=a&&!ja(a))&&!(a=Ds(a))&&Rs(r)?Io(qi(r),0,h):r.split(a,h):[]},B.spread=function ka(r,a){if("function"!=typeof r)throw new Ni(oe);return a=null==a?0:Ir(Bn(a),0),Gn(function(h){var A=h[a],F=Io(h,0,a);return A&&ci(F,A),li(r,this,F)})},B.tail=function Mf(r){var a=null==r?0:r.length;return a?ts(r,1,a):[]},B.take=function Fc(r,a,h){return r&&r.length?ts(r,0,(a=h||a===E?1:Bn(a))<0?0:a):[]},B.takeRight=function Ep(r,a,h){var A=null==r?0:r.length;return A?ts(r,(a=A-(a=h||a===E?1:Bn(a)))<0?0:a,A):[]},B.takeRightWhile=function Cp(r,a){return r&&r.length?iu(r,gn(a,3),!1,!0):[]},B.takeWhile=function Tf(r,a){return r&&r.length?iu(r,gn(a,3)):[]},B.tap=function Op(r,a){return a(r),r},B.throttle=function Xp(r,a,h){var A=!0,F=!0;if("function"!=typeof r)throw new Ni(oe);return qr(h)&&(A="leading"in h?!!h.leading:A,F="trailing"in h?!!h.trailing:F),zc(r,a,{leading:A,maxWait:a,trailing:F})},B.thru=Cu,B.toArray=qc,B.toPairs=id,B.toPairsIn=sd,B.toPath=function Xg(r){return Ln(r)?Sn(r,Zo):ds(r)?[r]:Es(ap(vr(r)))},B.toPlainObject=qf,B.transform=function od(r,a,h){var A=Ln(r),F=A||ma(r)||ya(r);if(a=gn(a,4),null==h){var H=r&&r.constructor;h=F?A?new H:[]:qr(r)&&_o(H)?Zs(We(r)):{}}return(F?ui:ys)(r,function(ne,Ce,Ve){return a(h,ne,Ce,Ve)}),h},B.unary=function Wc(r){return Hc(r,1)},B.union=il,B.unionBy=wp,B.unionWith=bp,B.uniq=function Sp(r){return r&&r.length?fa(r):[]},B.uniqBy=function Lc(r,a){return r&&r.length?fa(r,gn(a,2)):[]},B.uniqWith=function Ap(r,a){return a="function"==typeof a?a:E,r&&r.length?fa(r,E,a):[]},B.unset=function qo(r,a){return null==r||ru(r,a)},B.unzip=Eu,B.unzipWith=If,B.update=function Ou(r,a,h){return null==r?r:Gd(r,a,dc(h))},B.updateWith=function xu(r,a,h,A){return A="function"==typeof A?A:E,null==r?r:Gd(r,a,dc(h),A)},B.values=Fo,B.valuesIn=function Ig(r){return null==r?[]:cn(r,ws(r))},B.without=Of,B.words=Yg,B.wrap=function Kc(r,a){return Gc(dc(a),r)},B.xor=ey,B.xorBy=Mp,B.xorWith=Ul,B.zip=Tp,B.zipObject=function sl(r,a){return Wd(r||[],a||[],lr)},B.zipObjectDeep=function Bl(r,a){return Wd(r||[],a||[],Ia)},B.zipWith=Ip,B.entries=id,B.entriesIn=sd,B.extend=pg,B.extendWith=ul,va(B,B),B.add=Jg,B.attempt=Gl,B.camelCase=xg,B.capitalize=cl,B.ceil=yh,B.clamp=function rh(r,a,h){return h===E&&(h=a,a=E),h!==E&&(h=(h=Js(h))==h?h:0),a!==E&&(a=(a=Js(a))==a?a:0),go(Js(r),a,h)},B.clone=function ry(r){return Ji(r,4)},B.cloneDeep=function sy(r){return Ji(r,5)},B.cloneDeepWith=function eg(r,a){return Ji(r,5,a="function"==typeof a?a:E)},B.cloneWith=function iy(r,a){return Ji(r,4,a="function"==typeof a?a:E)},B.conformsTo=function Gf(r,a){return null==a||bl(r,a,Ui(a))},B.deburr=sh,B.defaultTo=function Lo(r,a){return null==r||r!=r?a:r},B.divide=hd,B.endsWith=function ly(r,a,h){r=vr(r),a=Ds(a);var A=r.length,F=h=h===E?A:go(Bn(h),0,A);return(h-=a.length)>=0&&r.slice(h,F)==a},B.eq=Ro,B.escape=function Pg(r){return(r=vr(r))&&ve.test(r)?r.replace(Ze,Mi):r},B.escapeRegExp=function Rg(r){return(r=vr(r))&&Pi.test(r)?r.replace(rr,"\\$&"):r},B.every=function Lp(r,a,h){var A=Ln(r)?ti:Rd;return h&&Oi(r,a,h)&&(a=E),A(r,gn(a,3))},B.find=kp,B.findIndex=Tc,B.findKey=function vg(r,a){return Br(r,gn(a,3),ys)},B.findLast=Pf,B.findLastIndex=vf,B.findLastKey=function _g(r,a){return Br(r,gn(a,3),Xu)},B.floor=pd,B.forEach=Po,B.forEachRight=Rf,B.forIn=function Jc(r,a){return null==r?r:qu(r,gn(a,3),ws)},B.forInRight=function Dg(r,a){return null==r?r:Ta(r,gn(a,3),ws)},B.forOwn=function Eg(r,a){return r&&ys(r,gn(a,3))},B.forOwnRight=function Cg(r,a){return r&&Xu(r,gn(a,3))},B.get=eo,B.gt=tg,B.gte=al,B.has=function ed(r,a){return null!=r&&Ec(r,a,kh)},B.hasIn=td,B.head=mp,B.identity=_i,B.includes=function ty(r,a,h,A){r=Cs(r)?r:Fo(r),h=h&&!A?Bn(h):0;var F=r.length;return h<0&&(h=Ir(F+h,0)),$l(r)?h<=F&&r.indexOf(a,h)>-1:!!F&&Pr(r,a,h)>-1},B.indexOf=function Xm(r,a,h){var A=null==r?0:r.length;if(!A)return-1;var F=null==h?0:Bn(h);return F<0&&(F=Ir(A+F,0)),Pr(r,a,F)},B.inRange=function ih(r,a,h){return a=Qo(a),h===E?(h=a,a=0):h=Qo(h),function Jl(r,a,h){return r>=Gr(a,h)&&r<Ir(a,h)}(r=Js(r),a,h)},B.invoke=Ag,B.isArguments=Ua,B.isArray=Ln,B.isArrayBuffer=Su,B.isArrayLike=Cs,B.isArrayLikeObject=ri,B.isBoolean=function ng(r){return!0===r||!1===r||mi(r)&&vs(r)==St},B.isBuffer=ma,B.isDate=rg,B.isElement=function ig(r){return mi(r)&&1===r.nodeType&&!Ha(r)},B.isEmpty=function sg(r){if(null==r)return!0;if(Cs(r)&&(Ln(r)||"string"==typeof r||"function"==typeof r.splice||ma(r)||ya(r)||Ua(r)))return!r.length;var a=Ki(r);if(a==xn||a==Vn)return!r.size;if(fu(r))return!kd(r).length;for(var h in r)if(Qn.call(r,h))return!1;return!0},B.isEqual=function Wf(r,a){return Sl(r,a)},B.isEqualWith=function og(r,a,h){var A=(h="function"==typeof h?h:E)?h(r,a):E;return A===E?Sl(r,a,E,h):!!A},B.isError=Au,B.isFinite=function Kf(r){return"number"==typeof r&&zi(r)},B.isFunction=_o,B.isInteger=ag,B.isLength=ll,B.isMap=Ba,B.isMatch=function Yf(r,a){return r===a||Nd(r,a,Nl(a))},B.isMatchWith=function lg(r,a,h){return h="function"==typeof h?h:E,Nd(r,a,Nl(a),h)},B.isNaN=function Zf(r){return Va(r)&&r!=+r},B.isNative=function ug(r){if(qm(r))throw new pn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return jh(r)},B.isNil=function Mu(r){return null==r},B.isNull=function cg(r){return null===r},B.isNumber=Va,B.isObject=qr,B.isObjectLike=mi,B.isPlainObject=Ha,B.isRegExp=ja,B.isSafeInteger=function Yc(r){return ag(r)&&r>=-Xe&&r<=Xe},B.isSet=jl,B.isString=$l,B.isSymbol=ds,B.isTypedArray=ya,B.isUndefined=function Zc(r){return r===E},B.isWeakMap=function Qf(r){return mi(r)&&Ki(r)==Oe},B.isWeakSet=function Qc(r){return mi(r)&&"[object WeakSet]"==vs(r)},B.join=function wf(r,a){return null==r?"":Ys.call(r,a)},B.kebabCase=Fg,B.last=Xs,B.lastIndexOf=function yp(r,a,h){var A=null==r?0:r.length;if(!A)return-1;var F=A;return h!==E&&(F=(F=Bn(h))<0?Ir(A+F,0):Gr(F,A-1)),a==a?function Gs(xe,st,qe){for(var Ht=qe+1;Ht--;)if(xe[Ht]===st)return Ht;return Ht}(r,a,F):Ai(r,uo,F,!0)},B.lowerCase=Lg,B.lowerFirst=Ng,B.lt=dg,B.lte=fg,B.max=function em(r){return r&&r.length?ca(r,_i,ec):E},B.maxBy=function Lu(r,a){return r&&r.length?ca(r,gn(a,2),ec):E},B.mean=function Nu(r){return rn(r,_i)},B.meanBy=function gd(r,a){return rn(r,gn(a,2))},B.min=function tm(r){return r&&r.length?ca(r,_i,rc):E},B.minBy=function ku(r,a){return r&&r.length?ca(r,gn(a,2),rc):E},B.stubArray=Ru,B.stubFalse=Fu,B.stubObject=function hh(){return{}},B.stubString=function ph(){return""},B.stubTrue=function gh(){return!0},B.multiply=Uu,B.nth=function bf(r,a){return r&&r.length?mo(r,Bn(a)):E},B.noConflict=function pl(){return wr._===this&&(wr._=g),this},B.noop=_a,B.now=wu,B.pad=function kg(r,a,h){r=vr(r);var A=(a=Bn(a))?Ws(r):0;if(!a||A>=a)return r;var F=(a-A)/2;return Xa(hs(F),h)+r+Xa(yr(F),h)},B.padEnd=function Ug(r,a,h){r=vr(r);var A=(a=Bn(a))?Ws(r):0;return a&&A<a?r+Xa(a-A,h):r},B.padStart=function oh(r,a,h){r=vr(r);var A=(a=Bn(a))?Ws(r):0;return a&&A<a?Xa(a-A,h)+r:r},B.parseInt=function ad(r,a,h){return h||null==a?a=0:a&&(a=+a),Sa(vr(r).replace(Wn,""),a||0)},B.random=function Og(r,a,h){if(h&&"boolean"!=typeof h&&Oi(r,a,h)&&(a=h=E),h===E&&("boolean"==typeof a?(h=a,a=E):"boolean"==typeof r&&(h=r,r=E)),r===E&&a===E?(r=0,a=1):(r=Qo(r),a===E?(a=r,r=0):a=Qo(a)),r>a){var A=r;r=a,a=A}if(h||r%1||a%1){var F=bo();return Gr(r+F*(a-r+ko("1e-"+((F+"").length-1))),a)}return oc(r,a)},B.reduce=function Hp(r,a,h){var A=Ln(r)?br:T,F=arguments.length<3;return A(r,gn(a,4),h,F,qs)},B.reduceRight=function kf(r,a,h){var A=Ln(r)?ia:T,F=arguments.length<3;return A(r,gn(a,4),h,F,Pd)},B.repeat=function Bg(r,a,h){return a=(h?Oi(r,a,h):a===E)?1:Bn(a),nu(vr(r),a)},B.replace=function ld(){var r=arguments,a=vr(r[0]);return r.length<3?a:a.replace(r[1],r[2])},B.result=function ay(r,a,h){var A=-1,F=(a=ha(a,r)).length;for(F||(F=1,r=E);++A<F;){var H=null==r?E:r[Zo(a[A])];H===E&&(A=F,H=h),r=_o(H)?H.call(r):H}return r},B.round=md,B.runInContext=xe,B.sample=function $p(r){return(Ln(r)?Ue:Wh)(r)},B.size=function Uf(r){if(null==r)return 0;if(Cs(r))return $l(r)?Ws(r):r.length;var a=Ki(r);return a==xn||a==Vn?r.size:kd(r).length},B.snakeCase=Vg,B.some=function Gp(r,a,h){var A=Ln(r)?xs:$d;return h&&Oi(r,a,h)&&(a=E),A(r,gn(a,3))},B.sortedIndex=function La(r,a){return Tl(r,a)},B.sortedIndexBy=function _p(r,a,h){return uc(r,a,gn(h,2))},B.sortedIndexOf=function Pc(r,a){var h=null==r?0:r.length;if(h){var A=Tl(r,a);if(A<h&&Ro(r[A],a))return A}return-1},B.sortedLastIndex=function _u(r,a){return Tl(r,a,!0)},B.sortedLastIndexBy=function Dp(r,a,h){return uc(r,a,gn(h,2),!0)},B.sortedLastIndexOf=function Rc(r,a){if(null!=r&&r.length){var A=Tl(r,a,!0)-1;if(Ro(r[A],a))return A}return-1},B.startCase=jg,B.startsWith=function $g(r,a,h){return r=vr(r),h=null==h?0:go(Bn(h),0,r.length),a=Ds(a),r.slice(h,h+a.length)==a},B.subtract=vh,B.sum=function yd(r){return r&&r.length?U(r,_i):0},B.sumBy=function _h(r,a){return r&&r.length?U(r,gn(a,2)):0},B.template=function zg(r,a,h){var A=B.templateSettings;h&&Oi(r,a,h)&&(a=E),r=vr(r),a=ul({},a,A,nf);var Ce,Ve,F=ul({},a.imports,A.imports,nf),H=Ui(F),ne=cn(F,H),yt=0,vt=a.interpolate||Ri,Ct="__p += '",Ut=us((a.escape||Ri).source+"|"+vt.source+"|"+(vt===Qt?sn:Ri).source+"|"+(a.evaluate||Ri).source+"|$","g"),en="//# sourceURL="+(Qn.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++no+"]")+"\n";r.replace(Ut,function(hn,Yn,tr,bs,is,ss){return tr||(tr=bs),Ct+=r.slice(yt,ss).replace(Ss,oa),Yn&&(Ce=!0,Ct+="' +\n__e("+Yn+") +\n'"),is&&(Ve=!0,Ct+="';\n"+is+";\n__p += '"),tr&&(Ct+="' +\n((__t = ("+tr+")) == null ? '' : __t) +\n'"),yt=ss+hn.length,hn}),Ct+="';\n";var fn=Qn.call(a,"variable")&&a.variable;if(fn){if(nt.test(fn))throw new pn("Invalid `variable` option passed into `_.template`")}else Ct="with (obj) {\n"+Ct+"\n}\n";Ct=(Ve?Ct.replace(fr,""):Ct).replace(hr,"$1").replace(an,"$1;"),Ct="function("+(fn||"obj")+") {\n"+(fn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Ce?", __e = _.escape":"")+(Ve?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Ct+"return __p\n}";var Hn=Gl(function(){return er(H,en+"return "+Ct).apply(E,ne)});if(Hn.source=Ct,Au(Hn))throw Hn;return Hn},B.times=function qg(r,a){if((r=Bn(r))<1||r>Xe)return[];var h=Le,A=Gr(r,Le);a=gn(a),r-=Le;for(var F=Ye(A,a);++h<r;)a(h);return F},B.toFinite=Qo,B.toInteger=Bn,B.toLength=Xc,B.toLower=function Gg(r){return vr(r).toLowerCase()},B.toNumber=Js,B.toSafeInteger=function Us(r){return r?go(Bn(r),-Xe,Xe):0===r?r:0},B.toString=vr,B.toUpper=function Wg(r){return vr(r).toUpperCase()},B.trim=function ah(r,a,h){if((r=vr(r))&&(h||a===E))return Mr(r);if(!r||!(a=Ds(a)))return r;var A=qi(r),F=qi(a);return Io(A,Ps(A,F),$r(A,F)+1).join("")},B.trimEnd=function lh(r,a,h){if((r=vr(r))&&(h||a===E))return r.slice(0,fo(r)+1);if(!r||!(a=Ds(a)))return r;var A=qi(r);return Io(A,0,$r(A,qi(a))+1).join("")},B.trimStart=function Kg(r,a,h){if((r=vr(r))&&(h||a===E))return r.replace(Wn,"");if(!r||!(a=Ds(a)))return r;var A=qi(r);return Io(A,Ps(A,qi(a))).join("")},B.truncate=function uy(r,a){var h=30,A="...";if(qr(a)){var F="separator"in a?a.separator:F;h="length"in a?Bn(a.length):h,A="omission"in a?Ds(a.omission):A}var H=(r=vr(r)).length;if(Rs(r)){var ne=qi(r);H=ne.length}if(h>=H)return r;var Ce=h-Ws(A);if(Ce<1)return A;var Ve=ne?Io(ne,0,Ce).join(""):r.slice(0,Ce);if(F===E)return Ve+A;if(ne&&(Ce+=Ve.length-Ce),ja(F)){if(r.slice(Ce).search(F)){var yt,vt=Ve;for(F.global||(F=us(F.source,vr(or.exec(F))+"g")),F.lastIndex=0;yt=F.exec(vt);)var Ct=yt.index;Ve=Ve.slice(0,Ct===E?Ce:Ct)}}else if(r.indexOf(Ds(F),Ce)!=Ce){var Ut=Ve.lastIndexOf(F);Ut>-1&&(Ve=Ve.slice(0,Ut))}return Ve+A},B.unescape=function uh(r){return(r=vr(r))&&de.test(r)?r.replace(pr,Fs):r},B.uniqueId=function mh(r){var a=++D;return vr(r)+a},B.upperCase=Pu,B.upperFirst=Xo,B.each=Po,B.eachRight=Rf,B.first=mp,va(B,function(){var r={};return ys(B,function(a,h){Qn.call(B.prototype,h)||(r[h]=a)}),r}(),{chain:!1}),B.VERSION="4.17.21",ui(["bind","bindKey","curry","curryRight","partial","partialRight"],function(r){B[r].placeholder=B}),ui(["drop","take"],function(r,a){zn.prototype[r]=function(h){h=h===E?1:Ir(Bn(h),0);var A=this.__filtered__&&!a?new zn(this):this.clone();return A.__filtered__?A.__takeCount__=Gr(h,A.__takeCount__):A.__views__.push({size:Gr(h,Le),type:r+(A.__dir__<0?"Right":"")}),A},zn.prototype[r+"Right"]=function(h){return this.reverse()[r](h).reverse()}}),ui(["filter","map","takeWhile"],function(r,a){var h=a+1,A=1==h||3==h;zn.prototype[r]=function(F){var H=this.clone();return H.__iteratees__.push({iteratee:gn(F,3),type:h}),H.__filtered__=H.__filtered__||A,H}}),ui(["head","last"],function(r,a){var h="take"+(a?"Right":"");
vendor: 10,600 bytes, line 1
1zn.prototype[r]=function(){return this[h](1).value()[0]}}),ui(["initial","tail"],function(r,a){var h="drop"+(a?"":"Right");zn.prototype[r]=function(){return this.__filtered__?new zn(this):this[h](1)}}),zn.prototype.compact=function(){return this.filter(_i)},zn.prototype.find=function(r){return this.filter(r).head()},zn.prototype.findLast=function(r){return this.reverse().find(r)},zn.prototype.invokeMap=Gn(function(r,a){return"function"==typeof r?new zn(this):this.map(function(h){return Ya(h,r,a)})}),zn.prototype.reject=function(r){return this.filter(bu(gn(r)))},zn.prototype.slice=function(r,a){r=Bn(r);var h=this;return h.__filtered__&&(r>0||a<0)?new zn(h):(r<0?h=h.takeRight(-r):r&&(h=h.drop(r)),a!==E&&(h=(a=Bn(a))<0?h.dropRight(-a):h.take(a-r)),h)},zn.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},zn.prototype.toArray=function(){return this.take(Le)},ys(zn.prototype,function(r,a){var h=/^(?:filter|find|map|reject)|While$/.test(a),A=/^(?:head|last)$/.test(a),F=B[A?"take"+("last"==a?"Right":""):a],H=A||/^find/.test(a);F&&(B.prototype[a]=function(){var ne=this.__wrapped__,Ce=A?[1]:arguments,Ve=ne instanceof zn,yt=Ce[0],vt=Ve||Ln(ne),Ct=function(Yn){var tr=F.apply(B,ci([Yn],Ce));return A&&Ut?tr[0]:tr};vt&&h&&"function"==typeof yt&&1!=yt.length&&(Ve=vt=!1);var Ut=this.__chain__,en=!!this.__actions__.length,fn=H&&!Ut,Hn=Ve&&!en;if(!H&&vt){ne=Hn?ne:new zn(this);var hn=r.apply(ne,Ce);return hn.__actions__.push({func:Cu,args:[Ct],thisArg:E}),new gs(hn,Ut)}return fn&&Hn?r.apply(this,Ce):(hn=this.thru(Ct),fn?A?hn.value()[0]:hn.value():hn)})}),ui(["pop","push","shift","sort","splice","unshift"],function(r){var a=jo[r],h=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",A=/^(?:pop|shift)$/.test(r);B.prototype[r]=function(){var F=arguments;if(A&&!this.__chain__){var H=this.value();return a.apply(Ln(H)?H:[],F)}return this[h](function(ne){return a.apply(Ln(ne)?ne:[],F)})}}),ys(zn.prototype,function(r,a){var h=B[a];if(h){var A=h.name+"";Qn.call(ar,A)||(ar[A]=[]),ar[A].push({name:a,func:h})}}),ar[ou(E,2).name]=[{name:"wrapper",func:E}],zn.prototype.clone=function zo(){var r=new zn(this.__wrapped__);return r.__actions__=Es(this.__actions__),r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=Es(this.__iteratees__),r.__takeCount__=this.__takeCount__,r.__views__=Es(this.__views__),r},zn.prototype.reverse=function Go(){if(this.__filtered__){var r=new zn(this);r.__dir__=-1,r.__filtered__=!0}else(r=this.clone()).__dir__*=-1;return r},zn.prototype.value=function So(){var r=this.__wrapped__.value(),a=this.__dir__,h=Ln(r),A=a<0,F=h?r.length:0,H=function lf(r,a,h){for(var A=-1,F=h.length;++A<F;){var H=h[A],ne=H.size;switch(H.type){case"drop":r+=ne;break;case"dropRight":a-=ne;break;case"take":a=Gr(a,r+ne);break;case"takeRight":r=Ir(r,a-ne)}}return{start:r,end:a}}(0,F,this.__views__),ne=H.start,Ce=H.end,Ve=Ce-ne,yt=A?Ce:ne-1,vt=this.__iteratees__,Ct=vt.length,Ut=0,en=Gr(Ve,this.__takeCount__);if(!h||!A&&F==Ve&&en==Ve)return su(r,this.__actions__);var fn=[];e:for(;Ve--&&Ut<en;){for(var Hn=-1,hn=r[yt+=a];++Hn<Ct;){var Yn=vt[Hn],bs=Yn.type,is=(0,Yn.iteratee)(hn);if(2==bs)hn=is;else if(!is){if(1==bs)continue e;break e}}fn[Ut++]=hn}return fn},B.prototype.at=xp,B.prototype.chain=function xf(){return Nc(this)},B.prototype.commit=function Pp(){return new gs(this.value(),this.__chain__)},B.prototype.next=function kc(){this.__values__===E&&(this.__values__=qc(this.value()));var r=this.__index__>=this.__values__.length;return{done:r,value:r?E:this.__values__[this.__index__++]}},B.prototype.plant=function Rp(r){for(var a,h=this;h instanceof za;){var A=gf(h);A.__index__=0,A.__values__=E,a?F.__wrapped__=A:a=A;var F=A;h=h.__wrapped__}return F.__wrapped__=r,a},B.prototype.reverse=function Bc(){var r=this.__wrapped__;if(r instanceof zn){var a=r;return this.__actions__.length&&(a=new zn(this)),(a=a.reverse()).__actions__.push({func:Cu,args:[vu],thisArg:E}),new gs(a,this.__chain__)}return this.thru(vu)},B.prototype.toJSON=B.prototype.valueOf=B.prototype.value=function Vl(){return su(this.__wrapped__,this.__actions__)},B.prototype.first=B.prototype.head,jt&&(B.prototype[jt]=function Uc(){return this}),B}();wr._=Ks,(c=function(){return Ks}.call(Te,w,Te,wt))!==E&&(wt.exports=c)}.call(this)},1135:(wt,Te,w)=>{"use strict";w.d(Te,{X:()=>E});var c=w(7579);class E extends c.x{constructor(ce){super(),this._value=ce}get value(){return this.getValue()}_subscribe(ce){const v=super._subscribe(ce);return!v.closed&&ce.next(this._value),v}getValue(){const{hasError:ce,thrownError:v,_value:oe}=this;if(ce)throw v;return this._throwIfClosed(),oe}next(ce){super.next(this._value=ce)}}},9751:(wt,Te,w)=>{"use strict";w.d(Te,{y:()=>se});var c=w(930),E=w(727),L=w(8822),ce=w(9635),v=w(2416),oe=w(576),J=w(2806);let se=(()=>{class te{constructor(q){q&&(this._subscribe=q)}lift(q){const Be=new te;return Be.source=this,Be.operator=q,Be}subscribe(q,Be,ht){const Fe=function re(te){return te&&te instanceof c.Lv||function pe(te){return te&&(0,oe.m)(te.next)&&(0,oe.m)(te.error)&&(0,oe.m)(te.complete)}(te)&&(0,E.Nn)(te)}(q)?q:new c.Hp(q,Be,ht);return(0,J.x)(()=>{const{operator:me,source:Pe}=this;Fe.add(me?me.call(Fe,Pe):Pe?this._subscribe(Fe):this._trySubscribe(Fe))}),Fe}_trySubscribe(q){try{return this._subscribe(q)}catch(Be){q.error(Be)}}forEach(q,Be){return new(Be=he(Be))((ht,Fe)=>{const me=new c.Hp({next:Pe=>{try{q(Pe)}catch(we){Fe(we),me.unsubscribe()}},error:Fe,complete:ht});this.subscribe(me)})}_subscribe(q){var Be;return null===(Be=this.source)||void 0===Be?void 0:Be.subscribe(q)}[L.L](){return this}pipe(...q){return(0,ce.U)(q)(this)}toPromise(q){return new(q=he(q))((Be,ht)=>{let Fe;this.subscribe(me=>Fe=me,me=>ht(me),()=>Be(Fe))})}}return te.create=le=>new te(le),te})();function he(te){var le;return null!==(le=te??v.v.Promise)&&void 0!==le?le:Promise}},7579:(wt,Te,w)=>{"use strict";w.d(Te,{x:()=>J});var c=w(9751),E=w(727);const ce=(0,w(3888).d)(he=>function(){he(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var v=w(8737),oe=w(2806);let J=(()=>{class he extends c.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(re){const te=new se(this,this);return te.operator=re,te}_throwIfClosed(){if(this.closed)throw new ce}next(re){(0,oe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const te of this.currentObservers)te.next(re)}})}error(re){(0,oe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=re;const{observers:te}=this;for(;te.length;)te.shift().error(re)}})}complete(){(0,oe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:re}=this;for(;re.length;)re.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var re;return(null===(re=this.observers)||void 0===re?void 0:re.length)>0}_trySubscribe(re){return this._throwIfClosed(),super._trySubscribe(re)}_subscribe(re){return this._throwIfClosed(),this._checkFinalizedStatuses(re),this._innerSubscribe(re)}_innerSubscribe(re){const{hasError:te,isStopped:le,observers:q}=this;return te||le?E.Lc:(this.currentObservers=null,q.push(re),new E.w0(()=>{this.currentObservers=null,(0,v.P)(q,re)}))}_checkFinalizedStatuses(re){const{hasError:te,thrownError:le,isStopped:q}=this;te?re.error(le):q&&re.complete()}asObservable(){const re=new c.y;return re.source=this,re}}return he.create=(pe,re)=>new se(pe,re),he})();class se extends J{constructor(pe,re){super(),this.destination=pe,this.source=re}next(pe){var re,te;null===(te=null===(re=this.destination)||void 0===re?void 0:re.next)||void 0===te||te.call(re,pe)}error(pe){var re,te;null===(te=null===(re=this.destination)||void 0===re?void 0:re.error)||void 0===te||te.call(re,pe)}complete(){var pe,re;null===(re=null===(pe=this.destination)||void 0===pe?void 0:pe.complete)||void 0===re||re.call(pe)}_subscribe(pe){var re,te;return null!==(te=null===(re=this.source)||void 0===re?void 0:re.subscribe(pe))&&void 0!==te?te:E.Lc}}},930:(wt,Te,w)=>{"use strict";w.d(Te,{Hp:()=>ht,Lv:()=>te});var c=w(576),E=w(727),L=w(2416),ce=w(7849),v=w(5032);const oe=he("C",void 0,void 0);function he(Ae,ee,Qe){return{kind:Ae,value:ee,error:Qe}}var pe=w(3410),re=w(2806);class te extends E.w0{constructor(ee){super(),this.isStopped=!1,ee?(this.destination=ee,(0,E.Nn)(ee)&&ee.add(this)):this.destination=we}static create(ee,Qe,tt){return new ht(ee,Qe,tt)}next(ee){this.isStopped?Pe(function se(Ae){return he("N",Ae,void 0)}(ee),this):this._next(ee)}error(ee){this.isStopped?Pe(function J(Ae){return he("E",void 0,Ae)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?Pe(oe,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ee){this.destination.next(ee)}_error(ee){try{this.destination.error(ee)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const le=Function.prototype.bind;function q(Ae,ee){return le.call(Ae,ee)}class Be{constructor(ee){this.partialObserver=ee}next(ee){const{partialObserver:Qe}=this;if(Qe.next)try{Qe.next(ee)}catch(tt){Fe(tt)}}error(ee){const{partialObserver:Qe}=this;if(Qe.error)try{Qe.error(ee)}catch(tt){Fe(tt)}else Fe(ee)}complete(){const{partialObserver:ee}=this;if(ee.complete)try{ee.complete()}catch(Qe){Fe(Qe)}}}class ht extends te{constructor(ee,Qe,tt){let dt;if(super(),(0,c.m)(ee)||!ee)dt={next:ee??void 0,error:Qe??void 0,complete:tt??void 0};else{let it;this&&L.v.useDeprecatedNextContext?(it=Object.create(ee),it.unsubscribe=()=>this.unsubscribe(),dt={next:ee.next&&q(ee.next,it),error:ee.error&&q(ee.error,it),complete:ee.complete&&q(ee.complete,it)}):dt=ee}this.destination=new Be(dt)}}function Fe(Ae){L.v.useDeprecatedSynchronousErrorHandling?(0,re.O)(Ae):(0,ce.h)(Ae)}function Pe(Ae,ee){const{onStoppedNotification:Qe}=L.v;Qe&&pe.z.setTimeout(()=>Qe(Ae,ee))}const we={closed:!0,next:v.Z,error:function me(Ae){throw Ae},complete:v.Z}},727:(wt,Te,w)=>{"use strict";w.d(Te,{Lc:()=>oe,w0:()=>v,Nn:()=>J});var c=w(576);const L=(0,w(3888).d)(he=>function(re){he(this),this.message=re?`${re.length} errors occurred during unsubscription:\n${re.map((te,le)=>`${le+1}) ${te.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=re});var ce=w(8737);class v{constructor(pe){this.initialTeardown=pe,this.closed=!1,this._parentage=null,this._finalizers=null}
1unsubscribe(){let pe;if(!this.closed){this.closed=!0;const{_parentage:re}=this;if(re)if(this._parentage=null,Array.isArray(re))for(const q of re)q.remove(this);else re.remove(this);const{initialTeardown:te}=this;if((0,c.m)(te))try{te()}catch(q){pe=q instanceof L?q.errors:[q]}const{_finalizers:le}=this;if(le){this._finalizers=null;for(const q of le)try{se(q)}catch(Be){pe=pe??[],Be instanceof L?pe=[...pe,...Be.errors]:pe.push(Be)}}if(pe)throw new L(pe)}}add(pe){var re;if(pe&&pe!==this)if(this.closed)se(pe);else{if(pe instanceof v){if(pe.closed||pe._hasParent(this))return;pe._addParent(this)}(this._finalizers=null!==(re=this._finalizers)&&void 0!==re?re:[]).push(pe)}}_hasParent(pe){const{_parentage:re}=this;return re===pe||Array.isArray(re)&&re.includes(pe)}_addParent(pe){const{_parentage:re}=this;this._parentage=Array.isArray(re)?(re.push(pe),re):re?[re,pe]:pe}_removeParent(pe){const{_parentage:re}=this;re===pe?this._parentage=null:Array.isArray(re)&&(0,ce.P)(re,pe)}remove(pe){const{_finalizers:re}=this;re&&(0,ce.P)(re,pe),pe instanceof v&&pe._removeParent(this)}}v.EMPTY=(()=>{const he=new v;return he.closed=!0,he})();const oe=v.EMPTY;function J(he){return he instanceof v||he&&"closed"in he&&(0,c.m)(he.remove)&&(0,c.m)(he.add)&&(0,c.m)(he.unsubscribe)}function se(he){(0,c.m)(he)?he():he.unsubscribe()}},2416:(wt,Te,w)=>{"use strict";w.d(Te,{v:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(wt,Te,w)=>{"use strict";w.d(Te,{a:()=>pe});var c=w(9751),E=w(4742),L=w(457),ce=w(4671),v=w(3268),oe=w(7669),J=w(1810),se=w(5403),he=w(9672);function pe(...le){const q=(0,oe.yG)(le),Be=(0,oe.jO)(le),{args:ht,keys:Fe}=(0,E.D)(le);if(0===ht.length)return(0,L.D)([],q);const me=new c.y(function re(le,q,Be=ce.y){return ht=>{te(q,()=>{const{length:Fe}=le,me=new Array(Fe);let Pe=Fe,we=Fe;for(let Ae=0;Ae<Fe;Ae++)te(q,()=>{const ee=(0,L.D)(le[Ae],q);let Qe=!1;ee.subscribe((0,se.x)(ht,tt=>{me[Ae]=tt,Qe||(Qe=!0,we--),we||ht.next(Be(me.slice()))},()=>{--Pe||ht.complete()}))},ht)},ht)}}(ht,q,Fe?Pe=>(0,J.n)(Fe,Pe):ce.y));return Be?me.pipe((0,v.Z)(Be)):me}function te(le,q,Be){le?(0,he.f)(Be,le,q):q()}},7272:(wt,Te,w)=>{"use strict";w.d(Te,{z:()=>v});var c=w(8189),L=w(7669),ce=w(457);function v(...oe){return function E(){return(0,c.J)(1)}()((0,ce.D)(oe,(0,L.yG)(oe)))}},9770:(wt,Te,w)=>{"use strict";w.d(Te,{P:()=>L});var c=w(9751),E=w(8421);function L(ce){return new c.y(v=>{(0,E.Xf)(ce()).subscribe(v)})}},515:(wt,Te,w)=>{"use strict";w.d(Te,{E:()=>E});const E=new(w(9751).y)(v=>v.complete())},4128:(wt,Te,w)=>{"use strict";w.d(Te,{D:()=>se});var c=w(9751),E=w(4742),L=w(8421),ce=w(7669),v=w(5403),oe=w(3268),J=w(1810);function se(...he){const pe=(0,ce.jO)(he),{args:re,keys:te}=(0,E.D)(he),le=new c.y(q=>{const{length:Be}=re;if(!Be)return void q.complete();const ht=new Array(Be);let Fe=Be,me=Be;for(let Pe=0;Pe<Be;Pe++){let we=!1;(0,L.Xf)(re[Pe]).subscribe((0,v.x)(q,Ae=>{we||(we=!0,me--),ht[Pe]=Ae},()=>Fe--,void 0,()=>{(!Fe||!we)&&(me||q.next(te?(0,J.n)(te,ht):ht),q.complete())}))}});return pe?le.pipe((0,oe.Z)(pe)):le}},457:(wt,Te,w)=>{"use strict";w.d(Te,{D:()=>Qe});var c=w(8421),E=w(5363),L=w(4482);function ce(tt,dt=0){return(0,L.e)((it,ae)=>{ae.add(tt.schedule(()=>it.subscribe(ae),dt))})}var J=w(9751),he=w(2202),pe=w(576),re=w(9672);function le(tt,dt){if(!tt)throw new Error("Iterable cannot be null");return new J.y(it=>{(0,re.f)(it,dt,()=>{const ae=tt[Symbol.asyncIterator]();(0,re.f)(it,dt,()=>{ae.next().then(fe=>{fe.done?it.complete():it.next(fe.value)})},0,!0)})})}var q=w(3670),Be=w(8239),ht=w(1144),Fe=w(6495),me=w(2206),Pe=w(4532),we=w(3260);function Qe(tt,dt){return dt?function ee(tt,dt){if(null!=tt){if((0,q.c)(tt))return function v(tt,dt){return(0,c.Xf)(tt).pipe(ce(dt),(0,E.Q)(dt))}(tt,dt);if((0,ht.z)(tt))return function se(tt,dt){return new J.y(it=>{let ae=0;return dt.schedule(function(){ae===tt.length?it.complete():(it.next(tt[ae++]),it.closed||this.schedule())})})}(tt,dt);if((0,Be.t)(tt))return function oe(tt,dt){return(0,c.Xf)(tt).pipe(ce(dt),(0,E.Q)(dt))}(tt,dt);if((0,me.D)(tt))return le(tt,dt);if((0,Fe.T)(tt))return function te(tt,dt){return new J.y(it=>{let ae;return(0,re.f)(it,dt,()=>{ae=tt[he.h](),(0,re.f)(it,dt,()=>{let fe,ie;try{({value:fe,done:ie}=ae.next())}catch(Ie){return void it.error(Ie)}ie?it.complete():it.next(fe)},0,!0)}),()=>(0,pe.m)(ae?.return)&&ae.return()})}(tt,dt);if((0,we.L)(tt))return function Ae(tt,dt){return le((0,we.Q)(tt),dt)}(tt,dt)}throw(0,Pe.z)(tt)}(tt,dt):(0,c.Xf)(tt)}},8421:(wt,Te,w)=>{"use strict";w.d(Te,{Xf:()=>le});var c=w(655),E=w(1144),L=w(8239),ce=w(9751),v=w(3670),oe=w(2206),J=w(4532),se=w(6495),he=w(3260),pe=w(576),re=w(7849),te=w(8822);function le(Ae){if(Ae instanceof ce.y)return Ae;if(null!=Ae){if((0,v.c)(Ae))return function q(Ae){return new ce.y(ee=>{const Qe=Ae[te.L]();if((0,pe.m)(Qe.subscribe))return Qe.subscribe(ee);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ae);if((0,E.z)(Ae))return function Be(Ae){return new ce.y(ee=>{for(let Qe=0;Qe<Ae.length&&!ee.closed;Qe++)ee.next(Ae[Qe]);ee.complete()})}(Ae);if((0,L.t)(Ae))return function ht(Ae){return new ce.y(ee=>{Ae.then(Qe=>{ee.closed||(ee.next(Qe),ee.complete())},Qe=>ee.error(Qe)).then(null,re.h)})}(Ae);if((0,oe.D)(Ae))return me(Ae);if((0,se.T)(Ae))return function Fe(Ae){return new ce.y(ee=>{for(const Qe of Ae)if(ee.next(Qe),ee.closed)return;ee.complete()})}(Ae);if((0,he.L)(Ae))return function Pe(Ae){return me((0,he.Q)(Ae))}(Ae)}throw(0,J.z)(Ae)}function me(Ae){return new ce.y(ee=>{(function we(Ae,ee){var Qe,tt,dt,it;return(0,c.mG)(this,void 0,void 0,function*(){try{for(Qe=(0,c.KL)(Ae);!(tt=yield Qe.next()).done;)if(ee.next(tt.value),ee.closed)return}catch(ae){dt={error:ae}}finally{try{tt&&!tt.done&&(it=Qe.return)&&(yield it.call(Qe))}finally{if(dt)throw dt.error}}ee.complete()})}
1)(Ae,ee).catch(Qe=>ee.error(Qe))})}},6451:(wt,Te,w)=>{"use strict";w.d(Te,{T:()=>oe});var c=w(8189),E=w(8421),L=w(515),ce=w(7669),v=w(457);function oe(...J){const se=(0,ce.yG)(J),he=(0,ce._6)(J,1/0),pe=J;return pe.length?1===pe.length?(0,E.Xf)(pe[0]):(0,c.J)(he)((0,v.D)(pe,se)):L.E}},9646:(wt,Te,w)=>{"use strict";w.d(Te,{of:()=>L});var c=w(7669),E=w(457);function L(...ce){const v=(0,c.yG)(ce);return(0,E.D)(ce,v)}},2843:(wt,Te,w)=>{"use strict";w.d(Te,{_:()=>L});var c=w(9751),E=w(576);function L(ce,v){const oe=(0,E.m)(ce)?ce:()=>ce,J=se=>se.error(oe());return new c.y(v?se=>v.schedule(J,0,se):J)}},5403:(wt,Te,w)=>{"use strict";w.d(Te,{x:()=>E});var c=w(930);function E(ce,v,oe,J,se){return new L(ce,v,oe,J,se)}class L extends c.Lv{constructor(v,oe,J,se,he,pe){super(v),this.onFinalize=he,this.shouldUnsubscribe=pe,this._next=oe?function(re){try{oe(re)}catch(te){v.error(te)}}:super._next,this._error=se?function(re){try{se(re)}catch(te){v.error(te)}finally{this.unsubscribe()}}:super._error,this._complete=J?function(){try{J()}catch(re){v.error(re)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var v;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:oe}=this;super.unsubscribe(),!oe&&(null===(v=this.onFinalize)||void 0===v||v.call(this))}}}},262:(wt,Te,w)=>{"use strict";w.d(Te,{K:()=>ce});var c=w(8421),E=w(5403),L=w(4482);function ce(v){return(0,L.e)((oe,J)=>{let pe,se=null,he=!1;se=oe.subscribe((0,E.x)(J,void 0,void 0,re=>{pe=(0,c.Xf)(v(re,ce(v)(oe))),se?(se.unsubscribe(),se=null,pe.subscribe(J)):he=!0})),he&&(se.unsubscribe(),se=null,pe.subscribe(J))})}},4351:(wt,Te,w)=>{"use strict";w.d(Te,{b:()=>L});var c=w(5577),E=w(576);function L(ce,v){return(0,E.m)(v)?(0,c.z)(ce,v,1):(0,c.z)(ce,1)}},6590:(wt,Te,w)=>{"use strict";w.d(Te,{d:()=>L});var c=w(4482),E=w(5403);function L(ce){return(0,c.e)((v,oe)=>{let J=!1;v.subscribe((0,E.x)(oe,se=>{J=!0,oe.next(se)},()=>{J||oe.next(ce),oe.complete()}))})}},9300:(wt,Te,w)=>{"use strict";w.d(Te,{h:()=>L});var c=w(4482),E=w(5403);function L(ce,v){return(0,c.e)((oe,J)=>{let se=0;oe.subscribe((0,E.x)(J,he=>ce.call(v,he,se++)&&J.next(he)))})}},8746:(wt,Te,w)=>{"use strict";w.d(Te,{x:()=>E});var c=w(4482);function E(L){return(0,c.e)((ce,v)=>{try{ce.subscribe(v)}finally{v.add(L)}})}},590:(wt,Te,w)=>{"use strict";w.d(Te,{P:()=>J});var c=w(6805),E=w(9300),L=w(5698),ce=w(6590),v=w(8068),oe=w(4671);function J(se,he){const pe=arguments.length>=2;return re=>re.pipe(se?(0,E.h)((te,le)=>se(te,le,re)):oe.y,(0,L.q)(1),pe?(0,ce.d)(he):(0,v.T)(()=>new c.K))}},4004:(wt,Te,w)=>{"use strict";w.d(Te,{U:()=>L});var c=w(4482),E=w(5403);function L(ce,v){return(0,c.e)((oe,J)=>{let se=0;oe.subscribe((0,E.x)(J,he=>{J.next(ce.call(v,he,se++))}))})}},8189:(wt,Te,w)=>{"use strict";w.d(Te,{J:()=>L});var c=w(5577),E=w(4671);function L(ce=1/0){return(0,c.z)(E.y,ce)}},5577:(wt,Te,w)=>{"use strict";w.d(Te,{z:()=>se});var c=w(4004),E=w(8421),L=w(4482),ce=w(9672),v=w(5403),J=w(576);function se(he,pe,re=1/0){return(0,J.m)(pe)?se((te,le)=>(0,c.U)((q,Be)=>pe(te,q,le,Be))((0,E.Xf)(he(te,le))),re):("number"==typeof pe&&(re=pe),(0,L.e)((te,le)=>function oe(he,pe,re,te,le,q,Be,ht){const Fe=[];let me=0,Pe=0,we=!1;const Ae=()=>{we&&!Fe.length&&!me&&pe.complete()},ee=tt=>me<te?Qe(tt):Fe.push(tt),Qe=tt=>{q&&pe.next(tt),me++;let dt=!1;(0,E.Xf)(re(tt,Pe++)).subscribe((0,v.x)(pe,it=>{le?.(it),q?ee(it):pe.next(it)},()=>{dt=!0},void 0,()=>{if(dt)try{for(me--;Fe.length&&me<te;){const it=Fe.shift();Be?(0,ce.f)(pe,Be,()=>Qe(it)):Qe(it)}Ae()}catch(it){pe.error(it)}}))};return he.subscribe((0,v.x)(pe,ee,()=>{we=!0,Ae()})),()=>{ht?.()}}(te,le,he,re)))}},5363:(wt,Te,w)=>{"use strict";w.d(Te,{Q:()=>ce});var c=w(9672),E=w(4482),L=w(5403);function ce(v,oe=0){return(0,E.e)((J,se)=>{J.subscribe((0,L.x)(se,he=>(0,c.f)(se,v,()=>se.next(he),oe),()=>(0,c.f)(se,v,()=>se.complete(),oe),he=>(0,c.f)(se,v,()=>se.error(he),oe)))})}},5026:(wt,Te,w)=>{"use strict";w.d(Te,{R:()=>ce});var c=w(4482),E=w(5403);function L(v,oe,J,se,he){return(pe,re)=>{let te=J,le=oe,q=0;pe.subscribe((0,E.x)(re,Be=>{const ht=q++;le=te?v(le,Be,ht):(te=!0,Be),se&&re.next(le)},he&&(()=>{te&&re.next(le),re.complete()}
1)))}}function ce(v,oe){return(0,c.e)(L(v,oe,arguments.length>=2,!0))}},3099:(wt,Te,w)=>{"use strict";w.d(Te,{B:()=>v});var c=w(8421),E=w(7579),L=w(930),ce=w(4482);function v(J={}){const{connector:se=(()=>new E.x),resetOnError:he=!0,resetOnComplete:pe=!0,resetOnRefCountZero:re=!0}=J;return te=>{let le,q,Be,ht=0,Fe=!1,me=!1;const Pe=()=>{q?.unsubscribe(),q=void 0},we=()=>{Pe(),le=Be=void 0,Fe=me=!1},Ae=()=>{const ee=le;we(),ee?.unsubscribe()};return(0,ce.e)((ee,Qe)=>{ht++,!me&&!Fe&&Pe();const tt=Be=Be??se();Qe.add(()=>{ht--,0===ht&&!me&&!Fe&&(q=oe(Ae,re))}),tt.subscribe(Qe),!le&&ht>0&&(le=new L.Hp({next:dt=>tt.next(dt),error:dt=>{me=!0,Pe(),q=oe(we,he,dt),tt.error(dt)},complete:()=>{Fe=!0,Pe(),q=oe(we,pe),tt.complete()}}),(0,c.Xf)(ee).subscribe(le))})(te)}}function oe(J,se,...he){if(!0===se)return void J();if(!1===se)return;const pe=new L.Hp({next:()=>{pe.unsubscribe(),J()}});return(0,c.Xf)(se(...he)).subscribe(pe)}},3900:(wt,Te,w)=>{"use strict";w.d(Te,{w:()=>ce});var c=w(8421),E=w(4482),L=w(5403);function ce(v,oe){return(0,E.e)((J,se)=>{let he=null,pe=0,re=!1;const te=()=>re&&!he&&se.complete();J.subscribe((0,L.x)(se,le=>{he?.unsubscribe();let q=0;const Be=pe++;(0,c.Xf)(v(le,Be)).subscribe(he=(0,L.x)(se,ht=>se.next(oe?oe(le,ht,Be,q++):ht),()=>{he=null,te()}))},()=>{re=!0,te()}))})}},5698:(wt,Te,w)=>{"use strict";w.d(Te,{q:()=>ce});var c=w(515),E=w(4482),L=w(5403);function ce(v){return v<=0?()=>c.E:(0,E.e)((oe,J)=>{let se=0;oe.subscribe((0,L.x)(J,he=>{++se<=v&&(J.next(he),v<=se&&J.complete())}))})}},8505:(wt,Te,w)=>{"use strict";w.d(Te,{b:()=>v});var c=w(576),E=w(4482),L=w(5403),ce=w(4671);function v(oe,J,se){const he=(0,c.m)(oe)||J||se?{next:oe,error:J,complete:se}:oe;return he?(0,E.e)((pe,re)=>{var te;null===(te=he.subscribe)||void 0===te||te.call(he);let le=!0;pe.subscribe((0,L.x)(re,q=>{var Be;null===(Be=he.next)||void 0===Be||Be.call(he,q),re.next(q)},()=>{var q;le=!1,null===(q=he.complete)||void 0===q||q.call(he),re.complete()},q=>{var Be;le=!1,null===(Be=he.error)||void 0===Be||Be.call(he,q),re.error(q)},()=>{var q,Be;le&&(null===(q=he.unsubscribe)||void 0===q||q.call(he)),null===(Be=he.finalize)||void 0===Be||Be.call(he)}))}):ce.y}},8068:(wt,Te,w)=>{"use strict";w.d(Te,{T:()=>ce});var c=w(6805),E=w(4482),L=w(5403);function ce(oe=v){return(0,E.e)((J,se)=>{let he=!1;J.subscribe((0,L.x)(se,pe=>{he=!0,se.next(pe)},()=>he?se.complete():se.error(oe())))})}function v(){return new c.K}},4408:(wt,Te,w)=>{"use strict";w.d(Te,{o:()=>v});var c=w(727);class E extends c.w0{constructor(J,se){super()}schedule(J,se=0){return this}}const L={setInterval(oe,J,...se){const{delegate:he}=L;return he?.setInterval?he.setInterval(oe,J,...se):setInterval(oe,J,...se)},clearInterval(oe){const{delegate:J}=L;return(J?.clearInterval||clearInterval)(oe)},delegate:void 0};var ce=w(8737);class v extends E{constructor(J,se){super(J,se),this.scheduler=J,this.work=se,this.pending=!1}schedule(J,se=0){var he;if(this.closed)return this;this.state=J;const pe=this.id,re=this.scheduler;return null!=pe&&(this.id=this.recycleAsyncId(re,pe,se)),this.pending=!0,this.delay=se,this.id=null!==(he=this.id)&&void 0!==he?he:this.requestAsyncId(re,this.id,se),this}requestAsyncId(J,se,he=0){return L.setInterval(J.flush.bind(J,this),he)}recycleAsyncId(J,se,he=0){if(null!=he&&this.delay===he&&!1===this.pending)return se;null!=se&&L.clearInterval(se)}execute(J,se){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const he=this._execute(J,se);if(he)return he;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(J,se){let pe,he=!1;try{this.work(J)}catch(re){he=!0,pe=re||new Error("Scheduled action threw falsy error")}if(he)return this.unsubscribe(),pe}unsubscribe(){if(!this.closed){const{id:J,scheduler:se}=this,{actions:he}=se;this.work=this.state=this.scheduler=null,this.pending=!1,(0,ce.P)(he,this),null!=J&&(this.id=this.recycleAsyncId(se,J,null)),this.delay=null,super.unsubscribe()}}}},7565:(wt,Te,w)=>{"use strict";w.d(Te,{v:()=>L});var c=w(6063);class E{constructor(v,oe=E.now){this.schedulerActionCtor=v,this.now=oe}
1schedule(v,oe=0,J){return new this.schedulerActionCtor(this,v).schedule(J,oe)}}E.now=c.l.now;class L extends E{constructor(v,oe=E.now){super(v,oe),this.actions=[],this._active=!1}flush(v){const{actions:oe}=this;if(this._active)return void oe.push(v);let J;this._active=!0;do{if(J=v.execute(v.state,v.delay))break}while(v=oe.shift());if(this._active=!1,J){for(;v=oe.shift();)v.unsubscribe();throw J}}}},6063:(wt,Te,w)=>{"use strict";w.d(Te,{l:()=>c});const c={now:()=>(c.delegate||Date).now(),delegate:void 0}},3410:(wt,Te,w)=>{"use strict";w.d(Te,{z:()=>c});const c={setTimeout(E,L,...ce){const{delegate:v}=c;return v?.setTimeout?v.setTimeout(E,L,...ce):setTimeout(E,L,...ce)},clearTimeout(E){const{delegate:L}=c;return(L?.clearTimeout||clearTimeout)(E)},delegate:void 0}},2202:(wt,Te,w)=>{"use strict";w.d(Te,{h:()=>E});const E=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(wt,Te,w)=>{"use strict";w.d(Te,{L:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(wt,Te,w)=>{"use strict";w.d(Te,{K:()=>E});const E=(0,w(3888).d)(L=>function(){L(this),this.name="EmptyError",this.message="no elements in sequence"})},7669:(wt,Te,w)=>{"use strict";w.d(Te,{_6:()=>oe,jO:()=>ce,yG:()=>v});var c=w(576);function L(J){return J[J.length-1]}function ce(J){return(0,c.m)(L(J))?J.pop():void 0}function v(J){return function E(J){return J&&(0,c.m)(J.schedule)}(L(J))?J.pop():void 0}function oe(J,se){return"number"==typeof L(J)?J.pop():se}},4742:(wt,Te,w)=>{"use strict";w.d(Te,{D:()=>v});const{isArray:c}=Array,{getPrototypeOf:E,prototype:L,keys:ce}=Object;function v(J){if(1===J.length){const se=J[0];if(c(se))return{args:se,keys:null};if(function oe(J){return J&&"object"==typeof J&&E(J)===L}(se)){const he=ce(se);return{args:he.map(pe=>se[pe]),keys:he}}}return{args:J,keys:null}}},8737:(wt,Te,w)=>{"use strict";function c(E,L){if(E){const ce=E.indexOf(L);0<=ce&&E.splice(ce,1)}}w.d(Te,{P:()=>c})},3888:(wt,Te,w)=>{"use strict";function c(E){const ce=E(v=>{Error.call(v),v.stack=(new Error).stack});return ce.prototype=Object.create(Error.prototype),ce.prototype.constructor=ce,ce}w.d(Te,{d:()=>c})},1810:(wt,Te,w)=>{"use strict";function c(E,L){return E.reduce((ce,v,oe)=>(ce[v]=L[oe],ce),{})}w.d(Te,{n:()=>c})},2806:(wt,Te,w)=>{"use strict";w.d(Te,{O:()=>ce,x:()=>L});var c=w(2416);let E=null;function L(v){if(c.v.useDeprecatedSynchronousErrorHandling){const oe=!E;if(oe&&(E={errorThrown:!1,error:null}),v(),oe){const{errorThrown:J,error:se}=E;if(E=null,J)throw se}}else v()}function ce(v){c.v.useDeprecatedSynchronousErrorHandling&&E&&(E.errorThrown=!0,E.error=v)}},9672:(wt,Te,w)=>{"use strict";function c(E,L,ce,v=0,oe=!1){const J=L.schedule(function(){ce(),oe?E.add(this.schedule(null,v)):this.unsubscribe()},v);if(E.add(J),!oe)return J}w.d(Te,{f:()=>c})},4671:(wt,Te,w)=>{"use strict";function c(E){return E}w.d(Te,{y:()=>c})},1144:(wt,Te,w)=>{"use strict";w.d(Te,{z:()=>c});const c=E=>E&&"number"==typeof E.length&&"function"!=typeof E},2206:(wt,Te,w)=>{"use strict";w.d(Te,{D:()=>E});var c=w(576);function E(L){return Symbol.asyncIterator&&(0,c.m)(L?.[Symbol.asyncIterator])}},576:(wt,Te,w)=>{"use strict";function c(E){return"function"==typeof E}w.d(Te,{m:()=>c})},3670:(wt,Te,w)=>{"use strict";w.d(Te,{c:()=>L});var c=w(8822),E=w(576);function L(ce){return(0,E.m)(ce[c.L])}},6495:(wt,Te,w)=>{"use strict";w.d(Te,{T:()=>L});var c=w(2202),E=w(576);function L(ce){return(0,E.m)(ce?.[c.h])}},8239:(wt,Te,w)=>{"use strict";w.d(Te,{t:()=>E});var c=w(576);function E(L){return(0,c.m)(L?.then)}},3260:(wt,Te,w)=>{"use strict";w.d(Te,{L:()=>ce,Q:()=>L});var c=w(655),E=w(576);function L(v){return(0,c.FC)(this,arguments,function*(){const J=v.getReader();try{for(;;){const{value:se,done:he}=yield(0,c.qq)(J.read());if(he)return yield(0,c.qq)(void 0);yield yield(0,c.qq)(se)}}finally{J.releaseLock()}})}function ce(v){return(0,E.m)(v?.getReader)}},4482:(wt,Te,w)=>{"use strict";w.d(Te,{A:()=>E,e:()=>L});var c=w(576);function E(ce){return(0,c.m)(ce?.lift)}function L(ce){return v=>{if(E(v))return v.lift(function(oe){try{return ce(oe,this)}catch(J){this.error(J)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(wt,Te,w)=>{"use strict";w.d(Te,{Z:()=>ce});var c=w(4004);const{isArray:E}=Array;function ce(v){return(0,c.U)(oe=>function L(v,oe){return E(oe)?v(...oe):v(oe)}(v,oe))}},5032:(wt,Te,w)=>{"use strict";function c(){}w.d(Te,{Z:()=>c})},9635:(wt,Te,w)=>{"use strict";w.d(Te,{U:()=>L,z:()=>E});var c=w(4671);function E(...ce){return L(ce)}function L(ce){return 0===ce.length?c.y:1===ce.length?ce[0]:function(oe){return ce.reduce((J,se)=>se(J),oe)}}},7849:(wt,Te,w)=>{"use strict";w.d(Te,{h:()=>L});var c=w(2416),E=w(3410);function L(ce){E.z.setTimeout(()=>{const{onUnhandledError:v}=c.v;if(!v)throw ce;v(ce)})}},4532:(wt,Te,w)=>{"use strict";function c(E){return new TypeError(`You provided ${null!==E&&"object"==typeof E?"an invali
1d object":`'${E}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}w.d(Te,{z:()=>c})},655:(wt,Te,w)=>{"use strict";function v(fe,ie,Ie,be){var Xe,et=arguments.length,ut=et<3?ie:null===be?be=Object.getOwnPropertyDescriptor(ie,Ie):be;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ut=Reflect.decorate(fe,ie,Ie,be);else for(var ye=fe.length-1;ye>=0;ye--)(Xe=fe[ye])&&(ut=(et<3?Xe(ut):et>3?Xe(ie,Ie,ut):Xe(ie,Ie))||ut);return et>3&&ut&&Object.defineProperty(ie,Ie,ut),ut}function J(fe,ie){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(fe,ie)}function se(fe,ie,Ie,be){return new(Ie||(Ie=Promise))(function(ut,Xe){function ye(Dt){try{Le(be.next(Dt))}catch(Ee){Xe(Ee)}}function Se(Dt){try{Le(be.throw(Dt))}catch(Ee){Xe(Ee)}}function Le(Dt){Dt.done?ut(Dt.value):function et(ut){return ut instanceof Ie?ut:new Ie(function(Xe){Xe(ut)})}(Dt.value).then(ye,Se)}Le((be=be.apply(fe,ie||[])).next())})}function Fe(fe){return this instanceof Fe?(this.v=fe,this):new Fe(fe)}function me(fe,ie,Ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var et,be=Ie.apply(fe,ie||[]),ut=[];return et={},Xe("next"),Xe("throw"),Xe("return"),et[Symbol.asyncIterator]=function(){return this},et;function Xe(rt){be[rt]&&(et[rt]=function(z){return new Promise(function(X,Je){ut.push([rt,z,X,Je])>1||ye(rt,z)})})}function ye(rt,z){try{!function Se(rt){rt.value instanceof Fe?Promise.resolve(rt.value.v).then(Le,Dt):Ee(ut[0][2],rt)}(be[rt](z))}catch(X){Ee(ut[0][3],X)}}function Le(rt){ye("next",rt)}function Dt(rt){ye("throw",rt)}function Ee(rt,z){rt(z),ut.shift(),ut.length&&ye(ut[0][0],ut[0][1])}}function we(fe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ie,ie=fe[Symbol.asyncIterator];return ie?ie.call(fe):(fe=function te(fe){var ie="function"==typeof Symbol&&Symbol.iterator,Ie=ie&&fe[ie],be=0;if(Ie)return Ie.call(fe);if(fe&&"number"==typeof fe.length)return{next:function(){return fe&&be>=fe.length&&(fe=void 0),{value:fe&&fe[be++],done:!fe}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")}(fe),Ie={},be("next"),be("throw"),be("return"),Ie[Symbol.asyncIterator]=function(){return this},Ie);function be(ut){Ie[ut]=fe[ut]&&function(Xe){return new Promise(function(ye,Se){!function et(ut,Xe,ye,Se){Promise.resolve(Se).then(function(Le){ut({value:Le,done:ye})},Xe)}(ye,Se,(Xe=fe[ut](Xe)).done,Xe.value)})}}}w.d(Te,{FC:()=>me,KL:()=>we,gn:()=>v,mG:()=>se,qq:()=>Fe,w6:()=>J})},7340:(wt,Te,w)=>{"use strict";w.d(Te,{LC:()=>E,SB:()=>he,X$:()=>ce,ZE:()=>Pe,ZN:()=>me,_j:()=>c,eR:()=>re,jt:()=>v,k1:()=>we,l3:()=>L,oB:()=>se,vP:()=>J});class c{}class E{}const L="*";function ce(Ae,ee){return{type:7,name:Ae,definitions:ee,options:{}}}function v(Ae,ee=null){return{type:4,styles:ee,timings:Ae}}function J(Ae,ee=null){return{type:2,steps:Ae,options:ee}}function se(Ae){return{type:6,styles:Ae,offset:null}}function he(Ae,ee,Qe){return{type:0,name:Ae,styles:ee,options:Qe}}function re(Ae,ee,Qe=null){return{type:1,expr:Ae,animation:ee,options:Qe}}function Fe(Ae){Promise.resolve().then(Ae)}class me{constructor(ee=0,Qe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ee+Qe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ee=>ee()),this._onDoneFns=[])}onStart(ee){this._originalOnStartFns.push(ee),this._onStartFns.push(ee)}onDone(ee){this._originalOnDoneFns.push(ee),this._onDoneFns.push(ee)}onDestroy(ee){this._onDestroyFns.push(ee)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Fe(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ee=>ee()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ee=>ee()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ee){this._position=this.totalTime?ee*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ee){const Qe="start"==ee?this._onStartFns:this._onDoneFns;Qe.forEach(tt=>tt()),Qe.length=0}}class Pe{constructor(ee){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ee;let Qe=0,tt=0,dt=0;const it=this.players.length;0==it?Fe(()=>
1this._onFinish()):this.players.forEach(ae=>{ae.onDone(()=>{++Qe==it&&this._onFinish()}),ae.onDestroy(()=>{++tt==it&&this._onDestroy()}),ae.onStart(()=>{++dt==it&&this._onStart()})}),this.totalTime=this.players.reduce((ae,fe)=>Math.max(ae,fe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ee=>ee()),this._onDoneFns=[])}init(){this.players.forEach(ee=>ee.init())}onStart(ee){this._onStartFns.push(ee)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ee=>ee()),this._onStartFns=[])}onDone(ee){this._onDoneFns.push(ee)}onDestroy(ee){this._onDestroyFns.push(ee)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ee=>ee.play())}pause(){this.players.forEach(ee=>ee.pause())}restart(){this.players.forEach(ee=>ee.restart())}finish(){this._onFinish(),this.players.forEach(ee=>ee.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ee=>ee.destroy()),this._onDestroyFns.forEach(ee=>ee()),this._onDestroyFns=[])}reset(){this.players.forEach(ee=>ee.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ee){const Qe=ee*this.totalTime;this.players.forEach(tt=>{const dt=tt.totalTime?Math.min(1,Qe/tt.totalTime):1;tt.setPosition(dt)})}getPosition(){const ee=this.players.reduce((Qe,tt)=>null===Qe||tt.totalTime>Qe.totalTime?tt:Qe,null);return null!=ee?ee.getPosition():0}beforeDestroy(){this.players.forEach(ee=>{ee.beforeDestroy&&ee.beforeDestroy()})}triggerCallback(ee){const Qe="start"==ee?this._onStartFns:this._onDoneFns;Qe.forEach(tt=>tt()),Qe.length=0}}const we="!"},6895:(wt,Te,w)=>{"use strict";w.d(Te,{Do:()=>Pe,EM:()=>Is,HT:()=>ce,JF:()=>ra,K0:()=>oe,Mx:()=>j,NF:()=>Uo,O5:()=>cr,Ov:()=>Hi,PC:()=>ei,S$:()=>ht,V_:()=>he,Ye:()=>we,b0:()=>me,bD:()=>Eo,ez:()=>so,mk:()=>Re,mr:()=>Fe,q:()=>L,sg:()=>Nt,tP:()=>wi,w_:()=>v});var c=w(4650);let E=null;function L(){return E}function ce(D){E||(E=D)}class v{}const oe=new c.OlP("DocumentToken");let J=(()=>{class D{historyGo(s){throw new Error("Not implemented")}}return D.\u0275fac=function(s){return new(s||D)},D.\u0275prov=c.Yz7({token:D,factory:function(){return function se(){return(0,c.LFG)(pe)}()},providedIn:"platform"}),D})();const he=new c.OlP("Location Initialized");let pe=(()=>{class D extends J{constructor(s){super(),this._doc=s,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return L().getBaseHref(this._doc)}onPopState(s){const u=L().getGlobalEventTarget(this._doc,"window");return u.addEventListener("popstate",s,!1),()=>u.removeEventListener("popstate",s)}onHashChange(s){const u=L().getGlobalEventTarget(this._doc,"window");return u.addEventListener("hashchange",s,!1),()=>u.removeEventListener("hashchange",s)}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(s){this._location.pathname=s}pushState(s,u,g){re()?this._history.pushState(s,u,g):this._location.hash=g}replaceState(s,u,g){re()?this._history.replaceState(s,u,g):this._location.hash=g}forward(){this._history.forward()}back(){this._history.back()}historyGo(s=0){this._history.go(s)}getState(){return this._history.state}}return D.\u0275fac=function(s){return new(s||D)(c.LFG(oe))},D.\u0275prov=c.Yz7({token:D,factory:function(){return function te(){return new pe((0,c.LFG)(oe))}()},providedIn:"platform"}),D})();function re(){return!!window.history.pushState}function le(D,d){if(0==D.length)return d;if(0==d.length)return D;let s=0;return D.endsWith("/")&&s++,d.startsWith("/")&&s++,2==s?D+d.substring(1):1==s?D+d:D+"/"+d}function q(D){const d=D.match(/#|\?|$/),s=d&&d.index||D.length;return D.slice(0,s-("/"===D[s-1]?1:0))+D.slice(s)}function Be(D){return D&&"?"!==D[0]?"?"+D:D}let ht=(()=>{class D{historyGo(s){throw new Error("Not implemented")}}return D.\u0275fac=function(s){return new(s||D)},D.\u0275prov=c.Yz7({token:D,factory:function(){return(0,c.f3M)(me)},providedIn:"root"}),D})();const Fe=new c.OlP("appBaseHref");let me=(()=>{class D extends ht{constructor(s,u){super(),this._platformLocation=s,this._removeListenerFns=[],this._baseHref=u??this._platformLocation.getBaseHrefFromDOM()??(0,c.f3M)(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(s){this._removeListenerFns.push(this._platformLocation.onPopState(s),this._platformLocation.on
1HashChange(s))}getBaseHref(){return this._baseHref}prepareExternalUrl(s){return le(this._baseHref,s)}path(s=!1){const u=this._platformLocation.pathname+Be(this._platformLocation.search),g=this._platformLocation.hash;return g&&s?`${u}${g}`:u}pushState(s,u,g,M){const P=this.prepareExternalUrl(g+Be(M));this._platformLocation.pushState(s,u,P)}replaceState(s,u,g,M){const P=this.prepareExternalUrl(g+Be(M));this._platformLocation.replaceState(s,u,P)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(s=0){this._platformLocation.historyGo?.(s)}}return D.\u0275fac=function(s){return new(s||D)(c.LFG(J),c.LFG(Fe,8))},D.\u0275prov=c.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),Pe=(()=>{class D extends ht{constructor(s,u){super(),this._platformLocation=s,this._baseHref="",this._removeListenerFns=[],null!=u&&(this._baseHref=u)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(s){this._removeListenerFns.push(this._platformLocation.onPopState(s),this._platformLocation.onHashChange(s))}getBaseHref(){return this._baseHref}path(s=!1){let u=this._platformLocation.hash;return null==u&&(u="#"),u.length>0?u.substring(1):u}prepareExternalUrl(s){const u=le(this._baseHref,s);return u.length>0?"#"+u:u}pushState(s,u,g,M){let P=this.prepareExternalUrl(g+Be(M));0==P.length&&(P=this._platformLocation.pathname),this._platformLocation.pushState(s,u,P)}replaceState(s,u,g,M){let P=this.prepareExternalUrl(g+Be(M));0==P.length&&(P=this._platformLocation.pathname),this._platformLocation.replaceState(s,u,P)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(s=0){this._platformLocation.historyGo?.(s)}}return D.\u0275fac=function(s){return new(s||D)(c.LFG(J),c.LFG(Fe,8))},D.\u0275prov=c.Yz7({token:D,factory:D.\u0275fac}),D})(),we=(()=>{class D{constructor(s){this._subject=new c.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=s;const u=this._locationStrategy.getBaseHref();this._basePath=function tt(D){if(new RegExp("^(https?:)?//").test(D)){const[,s]=D.split(/\/\/[^\/]+/);return s}return D}(q(Qe(u))),this._locationStrategy.onPopState(g=>{this._subject.emit({url:this.path(!0),pop:!0,state:g.state,type:g.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(s=!1){return this.normalize(this._locationStrategy.path(s))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(s,u=""){return this.path()==this.normalize(s+Be(u))}normalize(s){return D.stripTrailingSlash(function ee(D,d){return D&&new RegExp(`^${D}([/;?#]|$)`).test(d)?d.substring(D.length):d}(this._basePath,Qe(s)))}prepareExternalUrl(s){return s&&"/"!==s[0]&&(s="/"+s),this._locationStrategy.prepareExternalUrl(s)}go(s,u="",g=null){this._locationStrategy.pushState(g,"",s,u),this._notifyUrlChangeListeners(this.prepareExternalUrl(s+Be(u)),g)}replaceState(s,u="",g=null){this._locationStrategy.replaceState(g,"",s,u),this._notifyUrlChangeListeners(this.prepareExternalUrl(s+Be(u)),g)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(s=0){this._locationStrategy.historyGo?.(s)}onUrlChange(s){return this._urlChangeListeners.push(s),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(u=>{this._notifyUrlChangeListeners(u.url,u.state)})),()=>{const u=this._urlChangeListeners.indexOf(s);this._urlChangeListeners.splice(u,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(s="",u){this._urlChangeListeners.forEach(g=>g(s,u))}subscribe(s,u,g){return this._subject.subscribe({next:s,error:u,complete:g})}}return D.normalizeQueryParams=Be,D.joinWithSlash=le,D.stripTrailingSlash=q,D.\u0275fac=function(s){return new(s||D)(c.LFG(ht))},D.\u0275prov=c.Yz7({token:D,factory:function(){return function Ae(){return new we((0,c.LFG)(ht))}()},providedIn:"root"}),D})();function Qe(D){return D.replace(/\/index.html$/,"")}function j(D,d){d=encodeURIComponent(d);for(const s of D.split(";")){const u=s.indexOf("="),[g,M]=-1==u?[s,""]:[s.slice(0,u),s.slice(u+1)];if(g.trim()===d)return decodeURIComponent(M)}return null}const G=/\s+/,K=[];let Re=(()=>{class D{constructor(s,u,g,M){this._iterableDiffers=s,this._keyValueDiffers=u,this._ngEl=g,this._renderer=M,this.initialClasses=K,this.stateMap=new Map}set klass(s){this.initialClasses=null!=s?s.trim().split(G):K}set ngClass(s){this.rawClass="string"==typeof s?s.trim().split(G):s}ngDoCheck(){for(const u of this.initialClasses)this._updateState(u,!0);const s=this.rawClass;if(Array.isArray(s)||s instanceof Set)for(const u of s)this._updateState(u,!0);else if(null!=s)for(const u of Object.keys(s))this._updateState(u,Boolean(s[u]));this._applyStateDiff()}_updateState(s,u){const g=this.stateMap.get(s);void 0!==g?(g.enabled!==u&&(g.changed=!0,g.enabled=u),g.touched=!0):this.stateMap.set(s,{enabled:u,changed:!0,touched:!0})}_applyStateDiff(){for(const s of this.stateMap){const u=s[0],g=s[1];g.changed?(this._toggleClass(u,g.enabled),g.changed=!1):g.touched||(g.enabled&&this._toggleClass(u,!1),this.stateMap.delete(u)),g.touched=!1}}_toggleClass(s,u){(s=s.trim()).length>0&&s.split(G).forEach(g=>{u?this._renderer.addClass(this._ngEl.nativeElement,g):this._renderer.removeClass(this._ngEl.nativeElement,g)})}}return D.\u0275fac=function(s){return new(s||D)(c.Y36(c.ZZ4),c.Y36(c.aQg),c.Y36(c.SBq),c.Y36(c.Qsj))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),D})();class At{constructor(d,s,u,g){this.$implicit=d,this.ngForOf=s,this.index=u,this.count=g}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 Nt=(()=>{class D{set ngForOf(s){this._ngForOf=s,this._ngForOfDirty=!0}set ngForTrackBy(s){this._trackByFn=s}get ngForTrackBy(){return this._trackByFn}constructor(s,u,g){this._viewContainer=s,this._template=u,this._differs=g,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(s){s&&(this._template=s)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const s=this._ngForOf;!this._differ&&s&&(this._differ=this._differs.find(s).create(this.ngForTrackBy))}if(this._differ){const s=this._differ.diff(this._ngForOf);s&&this._applyChanges(s)}}_applyChanges(s){const u=this._viewContainer;
1s.forEachOperation((g,M,P)=>{if(null==g.previousIndex)u.createEmbeddedView(this._template,new At(g.item,this._ngForOf,-1,-1),null===P?void 0:P);else if(null==P)u.remove(null===M?void 0:M);else if(null!==M){const $=u.get(M);u.move($,P),kt($,g)}});for(let g=0,M=u.length;g<M;g++){const $=u.get(g).context;$.index=g,$.count=M,$.ngForOf=this._ngForOf}s.forEachIdentityChange(g=>{kt(u.get(g.currentIndex),g)})}static ngTemplateContextGuard(s,u){return!0}}return D.\u0275fac=function(s){return new(s||D)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),D})();function kt(D,d){D.context.$implicit=d.item}let cr=(()=>{class D{constructor(s,u){this._viewContainer=s,this._context=new Rt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=u}set ngIf(s){this._context.$implicit=this._context.ngIf=s,this._updateView()}set ngIfThen(s){gr("ngIfThen",s),this._thenTemplateRef=s,this._thenViewRef=null,this._updateView()}set ngIfElse(s){gr("ngIfElse",s),this._elseTemplateRef=s,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(s,u){return!0}}return D.\u0275fac=function(s){return new(s||D)(c.Y36(c.s_b),c.Y36(c.Rgc))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),D})();class Rt{constructor(){this.$implicit=null,this.ngIf=null}}function gr(D,d){if(d&&!d.createEmbeddedView)throw new Error(`${D} must be a TemplateRef, but received '${(0,c.AaK)(d)}'.`)}let ei=(()=>{class D{constructor(s,u,g){this._ngEl=s,this._differs=u,this._renderer=g,this._ngStyle=null,this._differ=null}set ngStyle(s){this._ngStyle=s,!this._differ&&s&&(this._differ=this._differs.find(s).create())}ngDoCheck(){if(this._differ){const s=this._differ.diff(this._ngStyle);s&&this._applyChanges(s)}}_setStyle(s,u){const[g,M]=s.split("."),P=-1===g.indexOf("-")?void 0:c.JOm.DashCase;null!=u?this._renderer.setStyle(this._ngEl.nativeElement,g,M?`${u}${M}`:u,P):this._renderer.removeStyle(this._ngEl.nativeElement,g,P)}_applyChanges(s){s.forEachRemovedItem(u=>this._setStyle(u.key,null)),s.forEachAddedItem(u=>this._setStyle(u.key,u.currentValue)),s.forEachChangedItem(u=>this._setStyle(u.key,u.currentValue))}}return D.\u0275fac=function(s){return new(s||D)(c.Y36(c.SBq),c.Y36(c.aQg),c.Y36(c.Qsj))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),D})(),wi=(()=>{class D{constructor(s){this._viewContainerRef=s,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(s){if(s.ngTemplateOutlet||s.ngTemplateOutletInjector){const u=this._viewContainerRef;if(this._viewRef&&u.remove(u.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:g,ngTemplateOutletContext:M,ngTemplateOutletInjector:P}=this;this._viewRef=u.createEmbeddedView(g,M,P?{injector:P}:void 0)}else this._viewRef=null}else this._viewRef&&s.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return D.\u0275fac=function(s){return new(s||D)(c.Y36(c.s_b))},D.\u0275dir=c.lG2({type:D,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[c.TTD]}),D})();class bi{createSubscription(d,s){return d.subscribe({next:s,error:u=>{throw u}})}dispose(d){d.unsubscribe()}}class Bi{createSubscription(d,s){return d.then(s,u=>{throw u})}dispose(d){}}const fs=new Bi,Vi=new bi;let Hi=(()=>{class D{constructor(s){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=s}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(s){return this._obj?s!==this._obj?(this._dispose(),this.transform(s)):this._latestValue:(s&&this._subscribe(s),this._latestValue)}_subscribe(s){this._obj=s,this._strategy=this._selectStrategy(s),this._subscription=this._strategy.createSubscription(s,u=>this._updateLatestValue(s,u))}
1_selectStrategy(s){if((0,c.QGY)(s))return fs;if((0,c.F4k)(s))return Vi;throw function ai(D,d){return new c.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(s,u){s===this._obj&&(this._latestValue=u,this._ref.markForCheck())}}return D.\u0275fac=function(s){return new(s||D)(c.Y36(c.sBO,16))},D.\u0275pipe=c.Yjl({name:"async",type:D,pure:!1,standalone:!0}),D})(),so=(()=>{class D{}return D.\u0275fac=function(s){return new(s||D)},D.\u0275mod=c.oAB({type:D}),D.\u0275inj=c.cJS({}),D})();const Eo="browser";function Uo(D){return D===Eo}let Is=(()=>{class D{}return D.\u0275prov=(0,c.Yz7)({token:D,providedIn:"root",factory:()=>new ao((0,c.LFG)(oe),window)}),D})();class ao{constructor(d,s){this.document=d,this.window=s,this.offset=()=>[0,0]}setOffset(d){this.offset=Array.isArray(d)?()=>d:d}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(d){this.supportsScrolling()&&this.window.scrollTo(d[0],d[1])}scrollToAnchor(d){if(!this.supportsScrolling())return;const s=function $s(D,d){const s=D.getElementById(d)||D.getElementsByName(d)[0];if(s)return s;if("function"==typeof D.createTreeWalker&&D.body&&(D.body.createShadowRoot||D.body.attachShadow)){const u=D.createTreeWalker(D.body,NodeFilter.SHOW_ELEMENT);let g=u.currentNode;for(;g;){const M=g.shadowRoot;if(M){const P=M.getElementById(d)||M.querySelector(`[name="${d}"]`);if(P)return P}g=u.nextNode()}}return null}(this.document,d);s&&(this.scrollToElement(s),s.focus())}setHistoryScrollRestoration(d){if(this.supportScrollRestoration()){const s=this.window.history;s&&s.scrollRestoration&&(s.scrollRestoration=d)}}scrollToElement(d){const s=d.getBoundingClientRect(),u=s.left+this.window.pageXOffset,g=s.top+this.window.pageYOffset,M=this.offset();this.window.scrollTo(u-M[0],g-M[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const d=js(this.window.history)||js(Object.getPrototypeOf(this.window.history));return!(!d||!d.writable&&!d.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function js(D){return Object.getOwnPropertyDescriptor(D,"scrollRestoration")}class ra{}},529:(wt,Te,w)=>{"use strict";w.d(Te,{Ed:()=>an,JF:()=>hr,LE:()=>me,TP:()=>Le,WM:()=>pe,dt:()=>ae,eN:()=>ut});var c=w(6895),E=w(4650),L=w(9646),ce=w(9751),v=w(4351),oe=w(9300),J=w(4004);class se{}class he{}class pe{constructor(de){this.normalizedNames=new Map,this.lazyUpdate=null,de?this.lazyInit="string"==typeof de?()=>{this.headers=new Map,de.split("\n").forEach(ve=>{const pt=ve.indexOf(":");if(pt>0){const lt=ve.slice(0,pt),Qt=lt.toLowerCase(),Dn=ve.slice(pt+1).trim();this.maybeSetNormalizedName(lt,Qt),this.headers.has(Qt)?this.headers.get(Qt).push(Dn):this.headers.set(Qt,[Dn])}})}:()=>{this.headers=new Map,Object.keys(de).forEach(ve=>{let pt=de[ve];const lt=ve.toLowerCase();"string"==typeof pt&&(pt=[pt]),pt.length>0&&(this.headers.set(lt,pt),this.maybeSetNormalizedName(ve,lt))})}:this.headers=new Map}has(de){return this.init(),this.headers.has(de.toLowerCase())}get(de){this.init();const ve=this.headers.get(de.toLowerCase());return ve&&ve.length>0?ve[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(de){return this.init(),this.headers.get(de.toLowerCase())||null}append(de,ve){return this.clone({name:de,value:ve,op:"a"})}set(de,ve){return this.clone({name:de,value:ve,op:"s"})}delete(de,ve){return this.clone({name:de,value:ve,op:"d"})}maybeSetNormalizedName(de,ve){this.normalizedNames.has(ve)||this.normalizedNames.set(ve,de)}init(){this.lazyInit&&(this.lazyInit instanceof pe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(de=>this.applyUpdate(de)),this.lazyUpdate=null))}copyFrom(de){de.init(),Array.from(de.headers.keys()).forEach(ve=>{this.headers.set(ve,de.headers.get(ve)),this.normalizedNames.set(ve,de.normalizedNames.get(ve))})}clone(de){const ve=new pe;return ve.lazyInit=this.lazyInit&&this.lazyInit instanceof pe?this.lazyInit:this,ve.lazyUpdate=(this.lazyUpdate||[]).concat([de]),ve}applyUpdate(de){const ve=de.name.toLowerCase();switch(de.op){case"a":case"s":let pt=de.value;if("string"==typeof pt&&(pt=[pt]),0===pt.length)return;this.maybeSetNormalizedName(de.name,ve);const lt=("a"===de.op?this.headers.get(ve):void 0)||[];lt.push(...pt),this.headers.set(ve,lt);break;case"d":const Qt=de.value;if(Qt){let Dn=this.headers.get(ve);if(!Dn)return;Dn=Dn.filter(wn=>-1===Qt.indexOf(wn)),0===Dn.length?(this.headers.delete(ve),this.normalizedNames.delete(ve)):this.headers.set(ve,Dn)}else this.headers.delete(ve),this.normalizedNames.delete(ve)}}forEach(de){this.init(),Array.from(this.normalizedNames.keys()).forEac
vendor: 7,125 bytes, line 1
1h(ve=>de(this.normalizedNames.get(ve),this.headers.get(ve)))}}class te{encodeKey(de){return ht(de)}encodeValue(de){return ht(de)}decodeKey(de){return decodeURIComponent(de)}decodeValue(de){return decodeURIComponent(de)}}const q=/%(\d[a-f0-9])/gi,Be={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ht(Ze){return encodeURIComponent(Ze).replace(q,(de,ve)=>Be[ve]??de)}function Fe(Ze){return`${Ze}`}class me{constructor(de={}){if(this.updates=null,this.cloneFrom=null,this.encoder=de.encoder||new te,de.fromString){if(de.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function le(Ze,de){const ve=new Map;return Ze.length>0&&Ze.replace(/^\?/,"").split("&").forEach(lt=>{const Qt=lt.indexOf("="),[Dn,wn]=-1==Qt?[de.decodeKey(lt),""]:[de.decodeKey(lt.slice(0,Qt)),de.decodeValue(lt.slice(Qt+1))],Gt=ve.get(Dn)||[];Gt.push(wn),ve.set(Dn,Gt)}),ve}(de.fromString,this.encoder)}else de.fromObject?(this.map=new Map,Object.keys(de.fromObject).forEach(ve=>{const pt=de.fromObject[ve],lt=Array.isArray(pt)?pt.map(Fe):[Fe(pt)];this.map.set(ve,lt)})):this.map=null}has(de){return this.init(),this.map.has(de)}get(de){this.init();const ve=this.map.get(de);return ve?ve[0]:null}getAll(de){return this.init(),this.map.get(de)||null}keys(){return this.init(),Array.from(this.map.keys())}append(de,ve){return this.clone({param:de,value:ve,op:"a"})}appendAll(de){const ve=[];return Object.keys(de).forEach(pt=>{const lt=de[pt];Array.isArray(lt)?lt.forEach(Qt=>{ve.push({param:pt,value:Qt,op:"a"})}):ve.push({param:pt,value:lt,op:"a"})}),this.clone(ve)}set(de,ve){return this.clone({param:de,value:ve,op:"s"})}delete(de,ve){return this.clone({param:de,value:ve,op:"d"})}toString(){return this.init(),this.keys().map(de=>{const ve=this.encoder.encodeKey(de);return this.map.get(de).map(pt=>ve+"="+this.encoder.encodeValue(pt)).join("&")}).filter(de=>""!==de).join("&")}clone(de){const ve=new me({encoder:this.encoder});return ve.cloneFrom=this.cloneFrom||this,ve.updates=(this.updates||[]).concat(de),ve}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(de=>this.map.set(de,this.cloneFrom.map.get(de))),this.updates.forEach(de=>{switch(de.op){case"a":case"s":const ve=("a"===de.op?this.map.get(de.param):void 0)||[];ve.push(Fe(de.value)),this.map.set(de.param,ve);break;case"d":if(void 0===de.value){this.map.delete(de.param);break}{let pt=this.map.get(de.param)||[];const lt=pt.indexOf(Fe(de.value));-1!==lt&&pt.splice(lt,1),pt.length>0?this.map.set(de.param,pt):this.map.delete(de.param)}}}),this.cloneFrom=this.updates=null)}}class we{constructor(){this.map=new Map}set(de,ve){return this.map.set(de,ve),this}get(de){return this.map.has(de)||this.map.set(de,de.defaultValue()),this.map.get(de)}delete(de){return this.map.delete(de),this}has(de){return this.map.has(de)}keys(){return this.map.keys()}}function ee(Ze){return typeof ArrayBuffer<"u"&&Ze instanceof ArrayBuffer}function Qe(Ze){return typeof Blob<"u"&&Ze instanceof Blob}function tt(Ze){return typeof FormData<"u"&&Ze instanceof FormData}class it{constructor(de,ve,pt,lt){let Qt;if(this.url=ve,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=de.toUpperCase(),function Ae(Ze){switch(Ze){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||lt?(this.body=void 0!==pt?pt:null,Qt=lt):Qt=pt,Qt&&(this.reportProgress=!!Qt.reportProgress,this.withCredentials=!!Qt.withCredentials,Qt.responseType&&(this.responseType=Qt.responseType),Qt.headers&&(this.headers=Qt.headers),Qt.context&&(this.context=Qt.context),Qt.params&&(this.params=Qt.params)),this.headers||(this.headers=new pe),this.context||(this.context=new we),this.params){const Dn=this.params.toString();if(0===Dn.length)this.urlWithParams=ve;else{const wn=ve.indexOf("?");this.urlWithParams=ve+(-1===wn?"?":wn<ve.length-1?"&":"")+Dn}}else this.params=new me,this.urlWithParams=ve}serializeBody(){return null===this.body?null:ee(this.body)||Qe(this.body)||tt(this.body)||function dt(Ze){return typeof URLSearchParams<"u"&&Ze instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof me?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||tt(this.body)?null:Qe(this.body)?this.body.type||null:ee(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof me?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(de={}){const ve=de.method||this.method,pt=de.url||this.url,lt=de.responseType||this.responseType,Qt=void 0!==de.body?de.body:this.body,Dn=void 0!==de.withCredentials?de.withCredentials:this.withCredentials,wn=void 0!==de.reportProgress?de.reportProgress:this.reportProgress;let Gt=de.headers||this.headers,rr=de.params||this.params;const Pi=de.context??this.context;return void 0!==de.setHeaders&&(Gt=Object.keys(de.setHeaders).reduce((Wn,Kn)=>Wn.set(Kn,de.setHeaders[Kn]),Gt)),de.setParams&&(rr=Object.keys(de.setParams).reduce((Wn,Kn)=>Wn.set(Kn,de.setParams[Kn]),rr)),new it(ve,pt,Qt,{params:rr,headers:Gt,context:Pi,reportProgress:wn,responseType:lt,withCredentials:Dn})}}var ae=(()=>((ae=ae||{})[ae.Sent=0]="Sent",ae[ae.UploadProgress=1]="UploadProgress",ae[ae.ResponseHeader=2]="ResponseHeader",ae[ae.DownloadProgress=3]="DownloadProgress",ae[ae.Response=4]="Response",ae[ae.User=5]="User",ae))();class fe{constructor(de,ve=200,pt="OK"){this.headers=de.headers||new pe,this.status=void 0!==de.status?de.status:ve,this.statusText=de.statusText||pt,this.url=de.url||null,this.ok=this.status>=200&&this.status<300}}class ie extends fe{constructor(de={}){super(de),this.type=ae.ResponseHeader}clone(de={}){return new ie({headers:de.headers||this.headers,status:void 0!==de.status?de.status:this.status,statusText:de.statusText||this.statusText,url:de.url||this.url||void 0})}}class Ie extends fe{constructor(de={}){super(de),this.type=ae.Response,this.body=void 0!==de.body?de.body:null}clone(de={}){return new Ie({body:void 0!==de.body?de.body:this.body,headers:de.headers||this.headers,status:void 0!==de.status?de.status:this.status,statusText:de.statusText||this.statusText,url:de.url||this.url||void 0})}}class be extends fe{constructor(de){super(de,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${de.url||"(unknown url)"}`:`Http failure response for ${de.url||"(unknown url)"}: ${de.status} ${de.statusText}`,this.error=de.error||null}}function et(Ze,de){return{body:de,headers:Ze.headers,context:Ze.context,observe:Ze.observe,params:Ze.params,reportProgress:Ze.reportProgress,responseType:Ze.responseType,withCredentials:Ze.withCredentials}}let ut=(()=>{class Ze{constructor(ve){this.handler=ve}request(ve,pt,lt={}){let Qt;if(ve instanceof it)Qt=ve;else{let Gt,rr;
1Gt=lt.headers instanceof pe?lt.headers:new pe(lt.headers),lt.params&&(rr=lt.params instanceof me?lt.params:new me({fromObject:lt.params})),Qt=new it(ve,pt,void 0!==lt.body?lt.body:null,{headers:Gt,context:lt.context,params:rr,reportProgress:lt.reportProgress,responseType:lt.responseType||"json",withCredentials:lt.withCredentials})}const Dn=(0,L.of)(Qt).pipe((0,v.b)(Gt=>this.handler.handle(Gt)));if(ve instanceof it||"events"===lt.observe)return Dn;const wn=Dn.pipe((0,oe.h)(Gt=>Gt instanceof Ie));switch(lt.observe||"body"){case"body":switch(Qt.responseType){case"arraybuffer":return wn.pipe((0,J.U)(Gt=>{if(null!==Gt.body&&!(Gt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Gt.body}));case"blob":return wn.pipe((0,J.U)(Gt=>{if(null!==Gt.body&&!(Gt.body instanceof Blob))throw new Error("Response is not a Blob.");return Gt.body}));case"text":return wn.pipe((0,J.U)(Gt=>{if(null!==Gt.body&&"string"!=typeof Gt.body)throw new Error("Response is not a string.");return Gt.body}));default:return wn.pipe((0,J.U)(Gt=>Gt.body))}case"response":return wn;default:throw new Error(`Unreachable: unhandled observe type ${lt.observe}}`)}}delete(ve,pt={}){return this.request("DELETE",ve,pt)}get(ve,pt={}){return this.request("GET",ve,pt)}head(ve,pt={}){return this.request("HEAD",ve,pt)}jsonp(ve,pt){return this.request("JSONP",ve,{params:(new me).append(pt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ve,pt={}){return this.request("OPTIONS",ve,pt)}patch(ve,pt,lt={}){return this.request("PATCH",ve,et(lt,pt))}post(ve,pt,lt={}){return this.request("POST",ve,et(lt,pt))}put(ve,pt,lt={}){return this.request("PUT",ve,et(lt,pt))}}return Ze.\u0275fac=function(ve){return new(ve||Ze)(E.LFG(se))},Ze.\u0275prov=E.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();function Xe(Ze,de){return de(Ze)}function ye(Ze,de){return(ve,pt)=>de.intercept(ve,{handle:lt=>Ze(lt,pt)})}const Le=new E.OlP("HTTP_INTERCEPTORS"),Dt=new E.OlP("HTTP_INTERCEPTOR_FNS");function Ee(){let Ze=null;return(de,ve)=>(null===Ze&&(Ze=((0,E.f3M)(Le,{optional:!0})??[]).reduceRight(ye,Xe)),Ze(de,ve))}let X,rt=(()=>{class Ze extends se{constructor(ve,pt){super(),this.backend=ve,this.injector=pt,this.chain=null}handle(ve){if(null===this.chain){const pt=Array.from(new Set(this.injector.get(Dt)));this.chain=pt.reduceRight((lt,Qt)=>function Se(Ze,de,ve){return(pt,lt)=>ve.runInContext(()=>de(pt,Qt=>Ze(Qt,lt)))}(lt,Qt,this.injector),Xe)}return this.chain(ve,pt=>this.backend.handle(pt))}}return Ze.\u0275fac=function(ve){return new(ve||Ze)(E.LFG(he),E.LFG(E.lqb))},Ze.\u0275prov=E.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),z=0;class An{}function En(){return"object"==typeof window?window:{}}let Mn=(()=>{class Ze{constructor(ve,pt){this.callbackMap=ve,this.document=pt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+z++}handle(ve){if("JSONP"!==ve.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ve.responseType)throw new Error("JSONP requests must use Json response type.");if(ve.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new ce.y(pt=>{const lt=this.nextCallback(),Qt=ve.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${lt}$1`),Dn=this.document.createElement("script");Dn.src=Qt;let wn=null,Gt=!1;this.callbackMap[lt]=Kn=>{delete this.callbackMap[lt],wn=Kn,Gt=!0};const rr=()=>{Dn.parentNode&&Dn.parentNode.removeChild(Dn),delete this.callbackMap[lt]};return Dn.addEventListener("load",Kn=>{this.resolvedPromise.then(()=>{rr(),Gt?(pt.next(new Ie({body:wn,status:200,statusText:"OK",url:Qt})),pt.complete()):pt.error(new be({url:Qt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Dn.addEventListener("error",Kn=>{rr(),pt.error(new be({error:Kn,status:0,statusText:"JSONP Error",url:Qt}))}),this.document.body.appendChild(Dn),pt.next({type:ae.Sent}),()=>{Gt||this.removeListeners(Dn),rr()}})}removeListeners(ve){X||(X=this.document.implementation.createHTMLDocument()),X.adoptNode(ve)}}return Ze.\u0275fac=function(ve){return new(ve||Ze)(E.LFG(An),E.LFG(c.K0))},Ze.\u0275prov=E.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();function xn(Ze,de){return"JSONP"===Ze.method?(0,E.f3M)(Mn).handle(Ze):de(Ze)}const Kr=/^\)\]\}',?\n/;let kn=(()=>{class Ze{constructor(ve){this.xhrFactory=ve}handle(ve){if("JSONP"===ve.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ce.y(pt=>{const lt=this.xhrFactory.build();if(lt.open(ve.method,ve.urlWithParams),ve.withCredentials&&(lt.withCredentials=!0),ve.headers.forEac
1h((ge,ue)=>lt.setRequestHeader(ge,ue.join(","))),ve.headers.has("Accept")||lt.setRequestHeader("Accept","application/json, text/plain, */*"),!ve.headers.has("Content-Type")){const ge=ve.detectContentTypeHeader();null!==ge&<.setRequestHeader("Content-Type",ge)}if(ve.responseType){const ge=ve.responseType.toLowerCase();lt.responseType="json"!==ge?ge:"text"}const Qt=ve.serializeBody();let Dn=null;const wn=()=>{if(null!==Dn)return Dn;const ge=lt.statusText||"OK",ue=new pe(lt.getAllResponseHeaders()),Z=function on(Ze){return"responseURL"in Ze&&Ze.responseURL?Ze.responseURL:/^X-Request-URL:/m.test(Ze.getAllResponseHeaders())?Ze.getResponseHeader("X-Request-URL"):null}(lt)||ve.url;return Dn=new ie({headers:ue,status:lt.status,statusText:ge,url:Z}),Dn},Gt=()=>{let{headers:ge,status:ue,statusText:Z,url:Ge}=wn(),nt=null;204!==ue&&(nt=typeof lt.response>"u"?lt.responseText:lt.response),0===ue&&(ue=nt?200:0);let Ft=ue>=200&&ue<300;if("json"===ve.responseType&&"string"==typeof nt){const sn=nt;nt=nt.replace(Kr,"");try{nt=""!==nt?JSON.parse(nt):null}catch(or){nt=sn,Ft&&(Ft=!1,nt={error:or,text:nt})}}Ft?(pt.next(new Ie({body:nt,headers:ge,status:ue,statusText:Z,url:Ge||void 0})),pt.complete()):pt.error(new be({error:nt,headers:ge,status:ue,statusText:Z,url:Ge||void 0}))},rr=ge=>{const{url:ue}=wn(),Z=new be({error:ge,status:lt.status||0,statusText:lt.statusText||"Unknown Error",url:ue||void 0});pt.error(Z)};let Pi=!1;const Wn=ge=>{Pi||(pt.next(wn()),Pi=!0);let ue={type:ae.DownloadProgress,loaded:ge.loaded};ge.lengthComputable&&(ue.total=ge.total),"text"===ve.responseType&<.responseText&&(ue.partialText=lt.responseText),pt.next(ue)},Kn=ge=>{let ue={type:ae.UploadProgress,loaded:ge.loaded};ge.lengthComputable&&(ue.total=ge.total),pt.next(ue)};return lt.addEventListener("load",Gt),lt.addEventListener("error",rr),lt.addEventListener("timeout",rr),lt.addEventListener("abort",rr),ve.reportProgress&&(lt.addEventListener("progress",Wn),null!==Qt&<.upload&<.upload.addEventListener("progress",Kn)),lt.send(Qt),pt.next({type:ae.Sent}),()=>{lt.removeEventListener("error",rr),lt.removeEventListener("abort",rr),lt.removeEventListener("load",Gt),lt.removeEventListener("timeout",rr),ve.reportProgress&&(lt.removeEventListener("progress",Wn),null!==Qt&<.upload&<.upload.removeEventListener("progress",Kn)),lt.readyState!==lt.DONE&<.abort()}})}}return Ze.\u0275fac=function(ve){return new(ve||Ze)(E.LFG(c.JF))},Ze.\u0275prov=E.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const ir=new E.OlP("XSRF_ENABLED"),Lt="XSRF-TOKEN",Vn=new E.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Lt}),sr="X-XSRF-TOKEN",He=new E.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>sr});class ke{}let Oe=(()=>{class Ze{constructor(ve,pt,lt){this.doc=ve,this.platform=pt,this.cookieName=lt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ve=this.doc.cookie||"";return ve!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,c.Mx)(ve,this.cookieName),this.lastCookieString=ve),this.lastToken}}return Ze.\u0275fac=function(ve){return new(ve||Ze)(E.LFG(c.K0),E.LFG(E.Lbi),E.LFG(Vn))},Ze.\u0275prov=E.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();function ot(Ze,de){const ve=Ze.url.toLowerCase();if(!(0,E.f3M)(ir)||"GET"===Ze.method||"HEAD"===Ze.method||ve.startsWith("http://")||ve.startsWith("https://"))return de(Ze);const pt=(0,E.f3M)(ke).getToken(),lt=(0,E.f3M)(He);return null!=pt&&!Ze.headers.has(lt)&&(Ze=Ze.clone({headers:Ze.headers.set(lt,pt)})),de(Ze)}var Mt=(()=>((Mt=Mt||{})[Mt.Interceptors=0]="Interceptors",Mt[Mt.LegacyInterceptors=1]="LegacyInterceptors",Mt[Mt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Mt[Mt.NoXsrfProtection=3]="NoXsrfProtection",Mt[Mt.JsonpSupport=4]="JsonpSupport",Mt[Mt.RequestsMadeViaParent=5]="RequestsMadeViaParent",Mt))();function Pn(Ze,de){return{\u0275kind:Ze,\u0275providers:de}}function xt(...Ze){const de=[ut,kn,rt,{provide:se,useExisting:rt},{provide:he,useExisting:kn},{provide:Dt,useValue:ot,multi:!0},{provide:ir,useValue:!0},{provide:ke,useClass:Oe}];for(const ve of Ze)de.push(...ve.\u0275providers);return(0,E.MR2)(de)}const qn=new E.OlP("LEGACY_INTERCEPTOR_FN");function dr({cookieName:Ze,headerName:de}){const ve=[];return void 0!==Ze&&ve.push({provide:Vn,useValue:Ze}),void 0!==de&&ve.push({provide:He,useValue:de}),Pn(Mt.CustomXsrfConfiguration,ve)}let hr=(()=>{class Ze{}return Ze.\u0275fac=function(ve){return new(ve||Ze)},Ze.\u0275mod=E.oAB({type:Ze}),Ze.\u0275inj=E.cJS({providers:[xt(Pn(Mt.LegacyInterceptors,[{provide:qn,useFactory:Ee},{provide:Dt,useExisting:qn,multi:!0}]),dr({cookieName:Lt,headerName:sr}))]}),Ze})(),an=(()=>{class Ze{}return Ze.\u0275fac=function(ve){return new(ve||Ze)},Ze.\u0275mod=E.oAB({type:Ze}),Ze.\u0275inj=E.cJS({providers:[Pn(Mt.JsonpSupport,[Mn,{provide:An,useFactory:En},{provide:Dt,useValue:xn,multi:!0}]).\u0275providers]}),Ze})()},4650:(wt,Te,w)=>{"use strict";w.d(Te,{$8M:()=>zn,$WT:()=>R,$Z:()=>Yf,AFp:()=>p_,ALo:()=>Fv,AaK:()=>se,AsE:()=>lm,BQk:()=>Uu,CHM:()=>Li,CRH:()=>zv,CZH:()=>Oh,CqO:()=>r,D6c:()=>mC,EJc:()=>PE,EpF:()=>vh,F$t:()=>yt,F4k:()=>_h,FYo:()=>Nc,FiY:()=>Wa,Gf:()=>jv,GfV:()=>xf,GkF:()=>md,Gpc:()=>re,Gre:()=>xy,Hsn:()=>vt,JOm:()=>mo,Jf7:()=>Pf,KtG:()=>Ps,LFG:()=>an,LSH:()=>Mc,Lbi:()=>TE,Lck:()=>AD,MAs:()=>yh,MMx:()=>vm,MR2:()=>Xs,NdJ:()=>a,O4$:()=>Ni,OlP:()=>Lr,Oqu:()=>am,P3R:()=>Df,PXZ:()=>KE,Q6J:()=>hd,QGY:()=>yd,QbO:()=>IE,Qsj:()=>Op,R0b:()=>No,RDi:()=>Fa,Rgc:()=>Ad,SBq:()=>Bl,Sil:()=>FE,Suo:()=>$v,TTD:()=>Ts,TgZ:()=>Lu,Tol:()=>yy,Udp:()=>im,VKq:()=>Mv,W1O:()=>Yv,X6Q:()=>XE,XFs:()=>Lt,Xpm:()=>Xn,Xts:()=>Ic,Y36:()=>Ba,YKP:()=>vv,YNc:()=>mh,Yjl:()=>Nr,Yz7:()=>Je,Z0I:()=>An,ZZ4:()=>$m,_Bn:()=>yv,_UZ:()=>gd,_Vd:()=>Ul,_c5:()=>pC,_uU:()=>by,aQg:()=>zm,c2e:()=>OE,cJS:()=>Tt,cg1:()=>cm,dDg:()=>$E,dqk:()=>ot,eFA:()=>M_,ekj:()=>sm,eoX:()=>b_,f3M:()=>Ze,g9A:()=>m_,h0i:()=>$u,hGG:()=>gC,hij:()=>Eh,iGM:()=>Hv,ifc:()=>Wn,ip1:()=>h_,jDz:()=>Dv,kEZ:()=>Tv,kL8:()=>$y,kYT:()=>Ei,lG2:()=>Ss,lcZ:()=>Lv,lnq:()=>um,lqb:()=>Na,lri:()=>C_,n5z:()=>B,oAB:()=>Jr,oJD:()=>yf,oxw:()=>Ce,qLn:()=>Vl,qOj:()=>ad,qZA:()=>Nu,rWj:()=>w_,s9C:()=>Ct,sBO:()=>JE,s_b:()=>Mh,soG:()=>xh,tBr:()=>bl,tb:()=>y_,tp0:()=>qs,uIk:()=>dd,vHH:()=>Fe,vpe:()=>Ca,wAp:()=>mn,xp6:()=>$c,ynx:()=>ku,z2F:()=>Ph,zSh:()=>Pc,zs3:()=>ka});var c=w(7579),E=w(727),L=w(9751),ce=w(6451),v=w(3099);function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function J(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function se(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(se).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 he(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const pe=oe({__forward_ref__:oe});function re(e){return e.__forward_ref__=re,e.toString=function(){return se(this())},e}function te(e){return le(e)?e():e}function le(e){return"function"==typeof e&&e.hasOwnProperty(pe)&&e.__forward_ref__===re}function q(e){return e&&!!e.\u0275providers}const ht="https://g.co/ng/security#xss";
1class Fe extends Error{constructor(t,n){super(function me(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Pe(e){return"string"==typeof e?e:null==e?"":String(e)}function tt(e,t){throw new Fe(-201,!1)}function Dt(e,t){null==e&&function Ee(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Je(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Tt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Nn(e){return En(e,Kr)||En(e,kn)}function An(e){return null!==Nn(e)}function En(e,t){return e.hasOwnProperty(t)?e[t]:null}function nr(e){return e&&(e.hasOwnProperty(on)||e.hasOwnProperty(ir))?e[on]:null}const Kr=oe({\u0275prov:oe}),on=oe({\u0275inj:oe}),kn=oe({ngInjectableDef:oe}),ir=oe({ngInjectorDef:oe});var Lt=(()=>((Lt=Lt||{})[Lt.Default=0]="Default",Lt[Lt.Host=1]="Host",Lt[Lt.Self=2]="Self",Lt[Lt.SkipSelf=4]="SkipSelf",Lt[Lt.Optional=8]="Optional",Lt))();let Vn;function He(e){const t=Vn;return Vn=e,t}function ke(e,t,n){const i=Nn(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Lt.Optional?null:void 0!==t?t:void tt(se(e))}const ot=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),xt={},Tn="__NG_DI_FLAG__",qn="ngTempTokenPath",dr=/\n/gm,Yr="__source";let Jt;function fr(e){const t=Jt;return Jt=e,t}function hr(e,t=Lt.Default){if(void 0===Jt)throw new Fe(-203,!1);return null===Jt?ke(e,void 0,t):Jt.get(e,t&Lt.Optional?null:void 0,t)}function an(e,t=Lt.Default){return(function sr(){return Vn}()||hr)(te(e),t)}function Ze(e,t=Lt.Default){return an(e,de(t))}function de(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ve(e){const t=[];for(let n=0;n<e.length;n++){const i=te(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Fe(900,!1);let o,l=Lt.Default;for(let p=0;p<i.length;p++){const _=i[p],b=lt(_);"number"==typeof b?-1===b?o=_.token:l|=b:o=_}t.push(an(o,l))}else t.push(an(i))}return t}function pt(e,t){return e[Tn]=t,e.prototype[Tn]=t,e}function lt(e){return e[Tn]}function wn(e){return{toString:e}.toString()}var Gt=(()=>((Gt=Gt||{})[Gt.OnPush=0]="OnPush",Gt[Gt.Default=1]="Default",Gt))(),Wn=(()=>{return(e=Wn||(Wn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Wn;var e})();const Kn={},ge=[],ue=oe({\u0275cmp:oe}),Z=oe({\u0275dir:oe}),Ge=oe({\u0275pipe:oe}),nt=oe({\u0275mod:oe}),Ft=oe({\u0275fac:oe}),sn=oe({__NG_ELEMENT_ID__:oe});let or=0;function Xn(e){return wn(()=>{const n=!0===e.standalone,i={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Gt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||ge,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Wn.Emulated,id:"c"+or++,styles:e.styles||ge,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null}
1,l=e.dependencies,p=e.features;return o.inputs=Ri(e.inputs,i),o.outputs=Ri(e.outputs),p&&p.forEach(_=>_(o)),o.directiveDefs=l?()=>("function"==typeof l?l():l).map(Xr).filter(si):null,o.pipeDefs=l?()=>("function"==typeof l?l():l).map(ur).filter(si):null,o})}function Xr(e){return un(e)||Cr(e)}function si(e){return null!==e}function Jr(e){return wn(()=>({type:e.type,bootstrap:e.bootstrap||ge,declarations:e.declarations||ge,imports:e.imports||ge,exports:e.exports||ge,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ei(e,t){return wn(()=>{const n=j(e,!0);n.declarations=t.declarations||ge,n.imports=t.imports||ge,n.exports=t.exports||ge})}function Ri(e,t){if(null==e)return Kn;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],l=o;Array.isArray(o)&&(l=o[1],o=o[0]),n[o]=i,t&&(t[o]=l)}return n}const Ss=Xn;function Nr(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function un(e){return e[ue]||null}function Cr(e){return e[Z]||null}function ur(e){return e[Ge]||null}function R(e){const t=un(e)||Cr(e)||ur(e);return null!==t&&t.standalone}function j(e,t){const n=e[nt]||null;if(!n&&!0===t)throw new Error(`Type ${se(e)} does not have '\u0275mod' property.`);return n}function Ne(e){return Array.isArray(e)&&"object"==typeof e[1]}function _e(e){return Array.isArray(e)&&!0===e[1]}function je(e){return 0!=(4&e.flags)}function Et(e){return e.componentOffset>-1}function It(e){return 1==(1&e.flags)}function Zt(e){return null!==e.template}function bn(e){return 0!=(256&e[2])}function Ar(e,t){return e.hasOwnProperty(Ft)?e[Ft]:null}class Ms{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Ts(){return Is}function Is(e){return e.type.prototype.ngOnChanges&&(e.setInput=js),ao}function ao(){const e=li(this),t=e?.current;if(t){const n=e.previous;if(n===Kn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function js(e,t,n,i){const o=this.declaredInputs[n],l=li(e)||function ra(e,t){return e[$s]=t}(e,{previous:Kn,current:null}),p=l.current||(l.current={}),_=l.previous,b=_[o];p[o]=new Ms(b&&b.currentValue,t,_===Kn),e[i]=t}Ts.ngInherit=!0;const $s="__ngSimpleChanges__";function li(e){return e[$s]||null}function Er(e){for(;Array.isArray(e);)e=e[0];return e}function ci(e,t){return Er(t[e])}function br(e,t){return Er(t[e.index])}function xs(e,t){return e.data[t]}function as(e,t){return e[t]}function jr(e,t){const n=t[e];return Ne(n)?n:n[0]}function Br(e){return 64==(64&e[2])}function Pr(e,t){return null==t?null:e[t]}function lo(e){e[18]=0}function uo(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const rn={lFrame:st(null),bindingsEnabled:!0};function Ye(){return rn.bindingsEnabled}function $e(){return rn.lFrame.lView}function cn(){return rn.lFrame.tView}function Li(e){return rn.lFrame.contextLView=e,e[8]}function Ps(e){return rn.lFrame.contextLView=null,e}function $r(){let e=wa();for(;null!==e&&64===e.type;)e=e.parent;return e}function wa(){return rn.lFrame.currentTNode}function Mi(e,t){const n=rn.lFrame;n.currentTNode=e,n.isParent=t}function oa(){return rn.lFrame.isParent}function aa(){rn.lFrame.isParent=!1}function zr(){const e=rn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ti(){return rn.lFrame.bindingIndex}function ls(){return rn.lFrame.bindingIndex++}function Qi(e){const t=rn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ws(e,t){const n=rn.lFrame;n.bindingIndex=n.bindingRootIndex=e,fo(t)}function fo(e){rn.lFrame.currentDirectiveIndex=e}function la(){return rn.lFrame.currentQueryIndex}function Vo(e){rn.lFrame.currentQueryIndex=e}function Ho(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Co(e,t,n){if(n&Lt.SkipSelf){let o=t,l=e;for(;!(o=o.parent,null!==o||n&Lt.Host||(o=Ho(l),null===o||(l=l[15],10&o.type))););if(null===o)return!1;t=o,e=l}const i=rn.lFrame=xe();return i.currentTNode=t,i.lView=e,!0}function Ks(e){const t=xe(),n=e[1];
1rn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xe(){const e=rn.lFrame,t=null===e?null:e.child;return null===t?st(e):t}function st(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 qe(){const e=rn.lFrame;return rn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ht=qe;function pn(){const e=qe();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 dn(){return rn.lFrame.selectedIndex}function us(e){rn.lFrame.selectedIndex=e}function Tr(){const e=rn.lFrame;return xs(e.tView,e.selectedIndex)}function Ni(){rn.lFrame.currentNamespace="svg"}function Qn(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const l=e.data[n].type.prototype,{ngAfterContentInit:p,ngAfterContentChecked:_,ngAfterViewInit:b,ngAfterViewChecked:x,ngOnDestroy:k}=l;p&&(e.contentHooks||(e.contentHooks=[])).push(-n,p),_&&((e.contentHooks||(e.contentHooks=[])).push(n,_),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,_)),b&&(e.viewHooks||(e.viewHooks=[])).push(-n,b),x&&((e.viewHooks||(e.viewHooks=[])).push(n,x),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,x)),null!=k&&(e.destroyHooks||(e.destroyHooks=[])).push(n,k)}}function D(e,t,n){u(e,t,3,n)}function d(e,t,n,i){(3&e[2])===n&&u(e,t,n,i)}function s(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function u(e,t,n,i){const l=i??-1,p=t.length-1;let _=0;for(let b=void 0!==i?65535&e[18]:0;b<p;b++)if("number"==typeof t[b+1]){if(_=t[b],null!=i&&_>=i)break}else t[b]<0&&(e[18]+=65536),(_<l||-1==l)&&(g(e,n,t,b),e[18]=(4294901760&e[18])+b+2),b++}function g(e,t,n,i){const o=n[i]<0,l=n[i+1],_=e[o?-n[i]:n[i]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{l.call(_)}finally{}}}else try{l.call(_)}finally{}}const M=-1;class P{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function jt(e,t,n){let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const l=n[i++],p=n[i++],_=n[i++];e.setAttribute(t,p,_,l)}else{const l=o,p=n[++i];In(l)?e.setProperty(t,l,p):e.setAttribute(t,l,p),i++}}return i}function Kt(e){return 3===e||4===e||6===e}function In(e){return 64===e.charCodeAt(0)}function Fn(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?n=o:0===n||mr(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function mr(e,t,n,i,o){let l=0,p=e.length;if(-1===t)p=-1;else for(;l<e.length;){const _=e[l++];if("number"==typeof _){if(_===t){p=-1;break}if(_>t){p=l-1;break}}}for(;l<e.length;){const _=e[l];if("number"==typeof _)break;if(_===n){if(null===i)return void(null!==o&&(e[l+1]=o));if(i===e[l+1])return void(e[l+2]=o)}l++,null!==i&&l++,null!==o&&l++}-1!==p&&(e.splice(p,0,t),l=p+1),e.splice(l++,0,n),null!==i&&e.splice(l++,0,i),null!==o&&e.splice(l++,0,o)}function Rr(e){return e!==M}function yr(e){return 32767&e}function Ii(e,t){let n=function hs(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let fi=!0;function zi(e){const t=fi;return fi=e,t}let Gr=0;const yi={};function bo(e,t){const n=tn(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Yt(i.data,e),Yt(t,null),Yt(i.blueprint,null));const o=nn(e,t),l=e.injectorIndex;if(Rr(o)){const p=yr(o),_=Ii(o,t),b=_[1].data;for(let x=0;x<8;x++)t[l+x]=_[p+x]|b[p+x]}return t[l+8]=o,l}function Yt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function tn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function nn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){if(i=gs(o),null===i)return M;if(n++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return M}
1function ln(e,t,n){!function Sa(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(sn)&&(i=n[sn]),null==i&&(i=n[sn]=Gr++);const o=255&i;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function hi(e,t,n){if(n&Lt.Optional||void 0!==e)return e;tt()}function ni(e,t,n,i){if(n&Lt.Optional&&void 0===i&&(i=null),!(n&(Lt.Self|Lt.Host))){const o=e[9],l=He(void 0);try{return o?o.get(t,i,n&Lt.Optional):ke(t,i,n&Lt.Optional)}finally{He(l)}}return hi(i,0,n)}function Xi(e,t,n,i=Lt.Default,o){if(null!==e){if(1024&t[2]){const p=function za(e,t,n,i,o){let l=e,p=t;for(;null!==l&&null!==p&&1024&p[2]&&!(256&p[2]);){const _=ar(l,p,n,i|Lt.Self,yi);if(_!==yi)return _;let b=l.parent;if(!b){const x=p[21];if(x){const k=x.get(n,yi,i);if(k!==yi)return k}b=gs(p),p=p[15]}l=b}return o}(e,t,n,i,yi);if(p!==yi)return p}const l=ar(e,t,n,i,yi);if(l!==yi)return l}return ni(t,n,i,o)}function ar(e,t,n,i,o){const l=function Ls(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(sn)?e[sn]:void 0;return"number"==typeof t?t>=0?255&t:El:t}(n);if("function"==typeof l){if(!Co(t,e,i))return i&Lt.Host?hi(o,0,i):ni(t,n,i,o);try{const p=l(i);if(null!=p||i&Lt.Optional)return p;tt()}finally{Ht()}}else if("number"==typeof l){let p=null,_=tn(e,t),b=M,x=i&Lt.Host?t[16][6]:null;for((-1===_||i&Lt.SkipSelf)&&(b=-1===_?nn(e,t):t[_+8],b!==M&&Gi(i,!1)?(p=t[1],_=yr(b),t=Ii(b,t)):_=-1);-1!==_;){const k=t[1];if(ki(l,_,k.data)){const Y=Dl(_,t,n,p,i,x);if(Y!==yi)return Y}b=t[_+8],b!==M&&Gi(i,t[1].data[_+8]===x)&&ki(l,_,t)?(p=k,_=yr(b),t=Ii(b,t)):_=-1}}return o}function Dl(e,t,n,i,o,l){const p=t[1],_=p.data[e+8],k=Aa(_,p,n,null==i?Et(_)&&fi:i!=p&&0!=(3&_.type),o&Lt.Host&&l===_);return null!==k?Ur(t,p,k,_):yi}function Aa(e,t,n,i,o){const l=e.providerIndexes,p=t.data,_=1048575&l,b=e.directiveStart,k=l>>20,Me=o?_+k:e.directiveEnd;for(let ze=i?_:_+k;ze<Me;ze++){const ft=p[ze];if(ze<b&&n===ft||ze>=b&&ft.type===n)return ze}if(o){const ze=p[b];if(ze&&Zt(ze)&&ze.type===n)return b}return null}function Ur(e,t,n,i){let o=e[n];const l=t.data;if(function $(e){return e instanceof P}(o)){const p=o;p.resolving&&function Ae(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Fe(-200,`Circular dependency in DI detected for ${e}${n}`)}(function we(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Pe(e)}(l[n]));const _=zi(p.canSeeViewProviders);p.resolving=!0;const b=p.injectImpl?He(p.injectImpl):null;Co(e,i,Lt.Default);try{o=e[n]=p.factory(void 0,l,e,i),t.firstCreatePass&&n>=i.directiveStart&&function wo(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:l}=t.type.prototype;if(i){const p=Is(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,p),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,p)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),l&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l))}(n,l[n],t)}finally{null!==b&&He(b),zi(_),p.resolving=!1,Ht()}}return o}function ki(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Gi(e,t){return!(e&Lt.Self||e&Lt.Host&&t)}class cs{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Xi(this._tNode,this._lView,t,de(i),n)}}function El(){return new cs($r(),$e())}function B(e){return wn(()=>{const t=e.prototype.constructor,n=t[Ft]||Zs(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const l=o[Ft]||Zs(o);if(l&&l!==n)return l;o=Object.getPrototypeOf(o)}return l=>new l})}function Zs(e){return le(e)?()=>{const t=Zs(te(e));return t&&t()}:Ar(e)}function gs(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function zn(e){return function Fr(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let o=0;for(;o<i;){const l=n[o];if(Kt(l))break;if(0===l)o+=2;else if("number"==typeof l)for(o++;o<i&&"string"==typeof n[o];)o++;else{if(l===t)return n[o+1];o+=2}}}return null}($r(),e)}const Go="__parameters__";function ua(e,t,n){return wn(()=>{const i=function Cl(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...l){if(this instanceof o)return i.apply(this,l),this;const p=new o(...l);return _.annotation=p,_;function _(b,x,k){const Y=b.hasOwnProperty(Go)?b[Go]:Object.defineProperty(b,Go,{value:[]})[Go];for(;Y.length<=k;)Y.push(null);return(Y[k]=Y[k]||[]).push(p),b}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class Lr{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Je({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function m(e,t){e.forEach(n=>Array.isArray(n)?m(n,t):t(n))}function y(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function f(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function C(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function at(e,t,n){let i=Bt(e,t);return i>=0?e[1|i]=n:(i=~i,function V(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;
1e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function zt(e,t){const n=Bt(e,t);if(n>=0)return e[1|n]}function Bt(e,t){return function Wr(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const l=i+(o-i>>1),p=e[l<<n];if(t===p)return l<<n;p>t?o=l:i=l+1}return~(o<<n)}(e,t,1)}const bl=pt(ua("Inject",e=>({token:e})),-1),Wa=pt(ua("Optional"),8),qs=pt(ua("SkipSelf"),4);var mo=(()=>((mo=mo||{})[mo.Important=1]="Important",mo[mo.DashCase=2]="DashCase",mo))();const Ml=new Map;let jd=0;const lc="__ngContext__";function es(e,t){Ne(t)?(e[lc]=t[20],function Gh(e){Ml.set(e[20],e)}(t)):e[lc]=t}function Il(e,t){return undefined(e,t)}function Oa(e){const t=e[3];return _e(t)?t[3]:t}function fc(e){return hc(e[13])}function Io(e){return hc(e[4])}function hc(e){for(;null!==e&&!_e(e);)e=e[4];return e}function xa(e,t,n,i,o){if(null!=i){let l,p=!1;_e(i)?l=i:Ne(i)&&(p=!0,i=i[0]);const _=Er(i);0===e&&null!==n?null==o?Pa(t,n,_):pa(t,n,_,o||null,!0):1===e&&null!==n?pa(t,n,_,o||null,!0):2===e?function _c(e,t,n){const i=xl(e,t);i&&function Zh(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,_,p):3===e&&t.destroyNode(_),null!=l&&function qh(e,t,n,i,o){const l=n[7];l!==Er(n)&&xa(t,e,i,l,o);for(let _=10;_<n.length;_++){const b=n[_];ks(b[1],b,e,t,i,l)}}(t,e,l,n,o)}}function pc(e,t,n){return e.createElement(t,n)}function yo(e,t){const n=e[9],i=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,uo(o,-1)),n.splice(i,1)}function gc(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&yo(o,i),t>0&&(e[n-1][4]=i[4]);const l=f(e,10+t);!function Yd(e,t){ks(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const p=l[19];null!==p&&p.detachView(l[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Xd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&ks(e,t,n,3,null,null),function Qd(e){let t=e[13];if(!t)return Za(e[1],e);for(;t;){let n=null;if(Ne(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Ne(t)&&Za(t[1],t),t=t[3];null===t&&(t=e),Ne(t)&&Za(t[1],t),n=t&&t[4]}t=n}}(t)}}function Za(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Jd(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof P)){const l=n[i+1];if(Array.isArray(l))for(let p=0;p<l.length;p+=2){const _=o[l[p]],b=l[p+1];try{b.call(_)}finally{}}else try{l.call(o)}finally{}}}}(e,t),function Qa(e,t){const n=e.cleanup,i=t[7];let o=-1;if(null!==n)for(let l=0;l<n.length-1;l+=2)if("string"==typeof n[l]){const p=n[l+3];p>=0?i[o=p]():i[o=-p].unsubscribe(),l+=2}else{const p=i[o=n[l+1]];n[l].call(p)}if(null!==i){for(let l=o+1;l<i.length;l++)(0,i[l])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&_e(t[3])){n!==t[3]&&yo(n,t);const i=t[19];null!==i&&i.detachView(e)}!function Gn(e){Ml.delete(e[20])}(t)}}function mc(e,t,n){return function ef(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];{const{componentOffset:o}=i;if(o>-1){const{encapsulation:l}=e.data[i.directiveStart+o];if(l===Wn.None||l===Wn.Emulated)return null}return br(i,n)}}(e,t.parent,n)}function pa(e,t,n,i,o){e.insertBefore(t,n,i,o)}function Pa(e,t,n){e.appendChild(t,n)}function qa(e,t,n,i,o){null!==i?pa(e,t,n,i,o):Pa(e,t,n)}function xl(e,t){return e.parentNode(t)}function yc(e,t,n){return au(e,t,n)}let Ja,Nl,tl,au=function Pl(e,t,n){return 40&e.type?br(e,n):null};function Rl(e,t,n,i){const o=mc(e,i,t),l=t[11],_=yc(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(n))for(let b=0;b<n.length;b++)qa(l,o,n[b],_,!1);else qa(l,o,n,_,!1)}function Ra(e,t){if(null!==t){const n=t.type;if(3&n)return br(t,e);if(4&n)return Fl(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Ra(e,i);{const o=e[t.index];return _e(o)?Fl(-1,o):Er(o)}}if(32&n)return Il(t,e)()||Er(e[t.index]);{const i=vc(e,t);return null!==i?Array.isArray(i)?i[0]:Ra(Oa(e[16]),i):Ra(e,t.next)}}return null}function vc(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Fl(e,t){const n=10+e+1;if(n<t.length){const i=t[n],o=i[1].firstChild;if(null!==o)return Ra(i,o)}return t[7]}function lu(e,t,n,i,o,l,p){for(;null!=n;){const _=i[n.index],b=n.type;if(p&&0===t&&(_&&es(Er(_),i),n.flags|=2),32!=(32&n.flags))if(8&b)lu(e,t,n.child,i,o,l,!1),xa(t,e,o,_,l);else if(32&b){const x=Il(n,i);let k;for(;k=x();)xa(t,e,o,k,l);xa(t,e,o,_,l)}else 16&b?Dc(e,t,i,n,o,l):xa(t,e,o,_,l);n=p?n.projectionNext:n.next}}function ks(e,t,n,i,o,l){lu(n,i,e.firstChild,t,o,l,!1)}function Dc(e,t,n,i,o,l){const p=n[16],b=p[6].projection[i.projection];if(Array.isArray(b))for(let x=0;x<b.length;x++)xa(t,e,o,b[x],l);else lu(e,t,b,p[3],o,l,!0)}function sf(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Oo(e,t,n){const{mergedAttrs:i,classes:o,styles:l}=n;null!==i&&jt(e,t,i),null!==o&&sf(e,t,o),null!==l&&function Xh(e,t,n
1){e.setAttribute(t,"style",n)}(e,t,l)}function Yo(e){return function Ll(){if(void 0===Ja&&(Ja=null,ot.trustedTypes))try{Ja=ot.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ja}()?.createHTML(e)||e}function Fa(e){Nl=e}function du(){if(void 0===tl&&(tl=null,ot.trustedTypes))try{tl=ot.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return tl}function Ki(e){return du()?.createHTML(e)||e}function uf(e){return du()?.createScriptURL(e)||e}class Ec{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ht})`}}function ns(e){return e instanceof Ec?e.changingThisBreaksApplicationSecurity:e}function Oi(e,t){const n=function Cc(e){return e instanceof Ec&&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 ${ht})`)}return n===t}class ff{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Yo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class rp{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Yo(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=Yo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0<o;o--){const p=n.item(o).name;("xmlns:ns1"===p||0===p.indexOf("ns1:"))&&t.removeAttribute(p)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const sp=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function bc(e){return(e=String(e)).match(sp)?e:"unsafe:"+e}function xo(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function nl(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const hf=xo("area,br,col,hr,img,wbr"),hu=xo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sc=xo("rp,rt"),gu=nl(hf,nl(hu,xo("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")),nl(Sc,xo("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")),nl(Sc,hu)),rl=xo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ga=nl(rl,xo("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"),xo("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")),lp=xo("script,style,template");class gf{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!gu.hasOwnProperty(n))return this.sanitizedSomething=!0,!lp.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let o=0;o<i.length;o++){const l=i.item(o),p=l.name,_=p.toLowerCase();if(!ga.hasOwnProperty(_)){this.sanitizedSomething=!0;continue}let b=l.value;rl[_]&&(b=bc(b)),this.buf.push(" ",p,'="',mf(b),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();gu.hasOwnProperty(n)&&!hf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(mf(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const up=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cp=/([^\#-~ |!])/g;function mf(e){return e.replace(/&/g,"&").replace(up,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(cp,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let mu;
1function Ac(e){return"content"in e&&function fp(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vi=(()=>((vi=vi||{})[vi.NONE=0]="NONE",vi[vi.HTML=1]="HTML",vi[vi.STYLE=2]="STYLE",vi[vi.SCRIPT=3]="SCRIPT",vi[vi.URL=4]="URL",vi[vi.RESOURCE_URL=5]="RESOURCE_URL",vi))();function yf(e){const t=kl();return t?Ki(t.sanitize(vi.HTML,e)||""):Oi(e,"HTML")?Ki(ns(e)):function dp(e,t){let n=null;try{mu=mu||function wc(e){const t=new rp(e);return function ip(){try{return!!(new window.DOMParser).parseFromString(Yo(""),"text/html")}catch{return!1}}()?new ff(t):t}(e);let i=t?String(t):"";n=mu.getInertBodyElement(i);let o=5,l=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=l,l=n.innerHTML,n=mu.getInertBodyElement(i)}while(i!==l);return Yo((new gf).sanitizeChildren(Ac(n)||n))}finally{if(n){const i=Ac(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(function af(){return void 0!==Nl?Nl:typeof document<"u"?document:void 0}(),Pe(e))}function Mc(e){const t=kl();return t?t.sanitize(vi.URL,e)||"":Oi(e,"URL")?ns(e):bc(Pe(e))}function Tc(e){const t=kl();if(t)return uf(t.sanitize(vi.RESOURCE_URL,e)||"");if(Oi(e,"ResourceURL"))return uf(ns(e));throw new Fe(904,!1)}function Df(e,t,n){return function gp(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Tc:Mc}(t,n)(e)}function kl(){const e=$e();return e&&e[12]}const Ic=new Lr("ENVIRONMENT_INITIALIZER"),Ef=new Lr("INJECTOR",-1),Cf=new Lr("INJECTOR_DEF_TYPES");class wf{get(t,n=xt){if(n===xt){const i=new Error(`NullInjectorError: No provider for ${se(t)}!`);throw i.name="NullInjectorError",i}return n}}function Xs(e){return{\u0275providers:e}}function yp(...e){return{\u0275providers:bf(0,e),\u0275fromNgModule:!0}}function bf(e,...t){const n=[],i=new Set;let o;return m(t,l=>{const p=l;yu(p,n,[],i)&&(o||(o=[]),o.push(p))}),void 0!==o&&Sf(o,n),n}function Sf(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];Oc(o,l=>{t.push(l)})}}function yu(e,t,n,i){if(!(e=te(e)))return!1;let o=null,l=nr(e);const p=!l&&un(e);if(l||p){if(p&&!p.standalone)return!1;o=e}else{const b=e.ngModule;if(l=nr(b),!l)return!1;o=b}const _=i.has(o);if(p){if(_)return!1;if(i.add(o),p.dependencies){const b="function"==typeof p.dependencies?p.dependencies():p.dependencies;for(const x of b)yu(x,t,n,i)}}else{if(!l)return!1;{if(null!=l.imports&&!_){let x;i.add(o);try{m(l.imports,k=>{yu(k,t,n,i)&&(x||(x=[]),x.push(k))})}finally{}void 0!==x&&Sf(x,t)}if(!_){const x=Ar(o)||(()=>new o);t.push({provide:o,useFactory:x,deps:ge},{provide:Cf,useValue:o,multi:!0},{provide:Ic,useValue:()=>an(o),multi:!0})}const b=l.providers;null==b||_||Oc(b,k=>{t.push(k)})}}return o!==e&&void 0!==e.providers}function Oc(e,t){for(let n of e)q(n)&&(n=n.\u0275providers),Array.isArray(n)?Oc(n,t):t(n)}const vp=oe({provide:String,useValue:oe});function xc(e){return null!==e&&"object"==typeof e&&vp in e}function La(e){return"function"==typeof e}const Pc=new Lr("Set Injector scope."),_u={},Dp={};let Rc;function Du(){return void 0===Rc&&(Rc=new wf),Rc}class Na{}class Mf extends Na{get destroyed(){return this._destroyed}constructor(t,n,i,o){super(),this.parent=n,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Lc(t,p=>this.processProvider(p)),this.records.set(Ef,il(void 0,this)),o.has("environment")&&this.records.set(Na,il(void 0,this));const l=this.records.get(Pc);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get(Cf.multi,ge,Lt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=fr(this),i=He(void 0);try{return t()}finally{fr(n),He(i)}}get(t,n=xt,i=Lt.Default){this.assertNotDestroyed(),i=de(i);const o=fr(this),l=He(void 0);try{if(!(i&Lt.SkipSelf)){let _=this.records.get(t);if(void 0===_){const b=function Sp(e){return"function"==typeof e||"object"==typeof e&&e instanceof Lr}(t)&&Nn(t);_=b&&this.injectableDefInScope(b)?il(Fc(t),_u):null,this.records.set(t,_)}if(null!=_)return this.hydrate(t,_)}return(i&Lt.Self?Du():this.parent).get(t,n=i&Lt.Optional&&n===xt?null:n)}
vendor: 3,036 bytes, line 1
1catch(p){if("NullInjectorError"===p.name){if((p[qn]=p[qn]||[]).unshift(se(t)),o)throw p;return function Qt(e,t,n,i){const o=e[qn];throw t[Yr]&&o.unshift(t[Yr]),e.message=function Dn(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=se(t);if(Array.isArray(t))o=t.map(se).join(" -> ");else if("object"==typeof t){let l=[];for(let p in t)if(t.hasOwnProperty(p)){let _=t[p];l.push(p+":"+("string"==typeof _?JSON.stringify(_):se(_)))}o=`{${l.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(dr,"\n ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[qn]=null,e}(p,t,"R3InjectorError",this.source)}throw p}finally{He(l),fr(o)}}resolveInjectorInitializers(){const t=fr(this),n=He(void 0);try{const i=this.get(Ic.multi,ge,Lt.Self);for(const o of i)o()}finally{fr(t),He(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(se(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Fe(205,!1)}processProvider(t){let n=La(t=te(t))?t:te(t&&t.provide);const i=function Cp(e){return xc(e)?il(void 0,e.useValue):il(Tf(e),_u)}(t);if(La(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=il(void 0,_u,!0),o.factory=()=>ve(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===_u&&(n.value=Dp,n.value=n.factory()),"object"==typeof n.value&&n.value&&function bp(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=te(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Fc(e){const t=Nn(e),n=null!==t?t.factory:Ar(e);if(null!==n)return n;if(e instanceof Lr)throw new Fe(204,!1);if(e instanceof Function)return function Ep(e){const t=e.length;if(t>0)throw C(t,"?"),new Fe(204,!1);const n=function Mn(e){const t=e&&(e[Kr]||e[kn]);if(t){const n=function xn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Fe(204,!1)}function Tf(e,t,n){let i;if(La(e)){const o=te(e);return Ar(o)||Fc(o)}if(xc(e))i=()=>te(e.useValue);else if(function Af(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...ve(e.deps||[]));else if(function vu(e){return!(!e||!e.useExisting)}(e))i=()=>an(te(e.useExisting));else{const o=te(e&&(e.useClass||e.provide));if(!function wp(e){return!!e.deps}(e))return Ar(o)||Fc(o);i=()=>new o(...ve(e.deps))}return i}function il(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Lc(e,t){for(const n of e)Array.isArray(n)?Lc(n,t):n&&q(n)?Lc(n.\u0275providers,t):t(n)}class Ap{}class Eu{}
1class Mp{resolveComponentFactory(t){throw function If(e){const t=Error(`No component factory found for ${se(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ul=(()=>{class e{}return e.NULL=new Mp,e})();function Tp(){return sl($r(),$e())}function sl(e,t){return new Bl(br(e,t))}let Bl=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Tp,e})();function Ip(e){return e instanceof Bl?e.nativeElement:e}class Nc{}let Op=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Cu(){const e=$e(),n=jr($r().index,e);return(Ne(n)?n:e)[11]}(),e})(),xp=(()=>{class e{}return e.\u0275prov=Je({token:e,providedIn:"root",factory:()=>null}),e})();class xf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Pp=new xf("15.1.1"),kc={};function Bc(e){return e.ngOriginalError}class Vl{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Bc(t);for(;n&&Bc(n);)n=Bc(n);return n||null}}function Pf(e){return e.ownerDocument.defaultView}function Po(e){return e instanceof Function?e():e}function Lf(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const l=t.length;if(o+l===i||e.charCodeAt(o+l)<=32)return o}n=o+1}}const Nf="ng-template";function Hp(e,t,n){let i=0;for(;i<e.length;){let o=e[i++];if(n&&"class"===o){if(o=e[i],-1!==Lf(o.toLowerCase(),t,0))return!0}else if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function kf(e){return 4===e.type&&e.value!==Nf}
1function jp(e,t,n){return t===(4!==e.type||n?e.value:Nf)}function $p(e,t,n){let i=4;const o=e.attrs||[],l=function Wp(e){for(let t=0;t<e.length;t++)if(Kt(e[t]))return t;return e.length}(o);let p=!1;for(let _=0;_<t.length;_++){const b=t[_];if("number"!=typeof b){if(!p)if(4&i){if(i=2|1&i,""!==b&&!jp(e,b,n)||""===b&&1===t.length){if(vo(i))return!1;p=!0}}else{const x=8&i?b:t[++_];if(8&i&&null!==e.attrs){if(!Hp(e.attrs,x,n)){if(vo(i))return!1;p=!0}continue}const Y=zp(8&i?"class":b,o,kf(e),n);if(-1===Y){if(vo(i))return!1;p=!0;continue}if(""!==x){let Me;Me=Y>l?"":o[Y+1].toLowerCase();const ze=8&i?Me:null;if(ze&&-1!==Lf(ze,x,0)||2&i&&x!==Me){if(vo(i))return!1;p=!0}}}}else{if(!p&&!vo(i)&&!vo(b))return!1;if(p&&vo(b))continue;p=!1,i=b|1&i}}return vo(i)||p}function vo(e){return 0==(1&e)}function zp(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let l=!1;for(;o<t.length;){const p=t[o];if(p===e)return o;if(3===p||6===p)l=!0;else{if(1===p||2===p){let _=t[++o];for(;"string"==typeof _;)_=t[++o];continue}if(4===p)break;if(0===p){o+=4;continue}}o+=l?1:2}return-1}return function wu(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Uf(e,t,n=!1){for(let i=0;i<t.length;i++)if($p(e,t[i],n))return!0;return!1}function Kp(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function Hc(e,t){return e?":not("+t.trim()+")":t}function Bf(e){let t=e[0],n=1,i=2,o="",l=!1;for(;n<e.length;){let p=e[n];if("string"==typeof p)if(2&i){const _=e[++n];o+="["+p+(_.length>0?'="'+_+'"':"")+"]"}else 8&i?o+="."+p:4&i&&(o+=" "+p);else""!==o&&!vo(p)&&(t+=Hc(l,o),o=""),i=p,l=l||!vo(i);n++}return""!==o&&(t+=Hc(l,o)),t}const On={};function $c(e){zc(cn(),$e(),dn()+e,!1)}function zc(e,t,n,i){if(!i)if(3==(3&t[2])){const l=e.preOrderCheckHooks;null!==l&&D(t,l,n)}else{const l=e.preOrderHooks;null!==l&&d(t,l,0,n)}us(n)}function $f(e,t=null,n=null,i){const o=zf(e,t,n,i);return o.resolveInjectorInitializers(),o}function zf(e,t=null,n=null,i,o=new Set){const l=[n||ge,yp(e)];return i=i||("object"==typeof e?void 0:se(e)),new Mf(l,t||Du(),i||null,o)}let ka=(()=>{class e{static create(n,i){if(Array.isArray(n))return $f({name:""},i,n,"");{const o=n.name??"";return $f({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=xt,e.NULL=new wf,e.\u0275prov=Je({token:e,providedIn:"any",factory:()=>an(Ef)}),e.__NG_ELEMENT_ID__=-1,e})();function Ba(e,t=Lt.Default){const n=$e();return null===n?an(e,t):Xi($r(),n,te(e),t)}function Yf(){throw new Error("invalid")}function Zf(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const l=n[i+1];if(-1!==l){const p=e.data[l];Vo(n[i]),p.contentQueries(2,t[l],l)}}}function Mu(e,t,n,i,o,l,p,_,b,x,k){const Y=t.blueprint.slice();return Y[0]=o,Y[2]=76|i,(null!==k||e&&1024&e[2])&&(Y[2]|=1024),lo(Y),Y[3]=Y[15]=e,Y[8]=n,Y[10]=p||e&&e[10],Y[11]=_||e&&e[11],Y[12]=b||e&&e[12]||null,Y[9]=x||e&&e[9]||null,Y[6]=l,Y[20]=function oc(){return jd++}(),Y[21]=k,Y[16]=2==t.type?e[16]:Y,Y}function Va(e,t,n,i,o){let l=e.data[t];if(null===l)l=function Ha(e,t,n,i,o){const l=wa(),p=oa(),b=e.data[t]=function Qo(e,t,n,i,o,l){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:l,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,p?l:l&&l.parent,n,t,i,o);return null===e.firstChild&&(e.firstChild=b),null!==l&&(p?null==l.child&&null!==b.parent&&(l.child=b):null===l.next&&(l.next=b)),b}(e,t,n,i,o),function zs(){return rn.lFrame.inI18n}()&&(l.flags|=32);else if(64&l.type){l.type=n,l.value=i,l.attrs=o;const p=function co(){const e=rn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();l.injectorIndex=null===p?-1:p.injectorIndex}return Mi(l,!0),l}function ja(e,t,n,i){if(0===n)return-1;const o=t.length;for(let l=0;l<n;l++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function Yc(e,t,n){Ks(t);try{const i=e.viewQuery;null!==i&&Iu(1,i,n);const o=e.template;null!==o&&$l(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Zf(e,t),e.staticViewQueries&&Iu(2,e.viewQuery,n);const l=e.components;null!==l&&function cg(e,t){for(let n=0;n<t.length;n++)Mg(e,t[n])}(t,l)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,pn()}}function jl(e,t,n,i){const o=t[2];if(128!=(128&o)){Ks(t);try{lo(t),function di(e){return rn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&$l(e,t,n,2,i);const p=3==(3&o);if(p){const x=e.preOrderCheckHooks;null!==x&&D(t,x,null)}else{const x=e.preOrderHooks;null!==x&&d(t,x,0,null),s(t,0)}if(function Ui(e){for(let t=fc(e);null!==t;t=Io(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const o=n[i];512&o[2]||uo(o[3],1),o[2]|=512}}}(t),function Ag(e){for(let t=fc(e);null!==t;t=Io(t))for(let n=10;n<t.length;n++){const i=t[n],o=i[1];Br(i)&&jl(o,i,o.template,i[8])}}(t),null!==e.contentQueries&&Zf(e,t),p){const x=e.contentCheckHooks;null!==x&&D(t,x)}else{const x=e.contentHooks;null!==x&&d(t,x,1),s(t,1)}!function lg(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)us(~o);else{const l=o,p=n[++i],_=n[++i];Ws(p,l),_(2,t[l])}}}finally{us(-1)}}(e,t);const _=e.components;null!==_&&function ug(e,t){for(let n=0;n<t.length;n++)ws(e,t[n])}(t,_);const b=e.viewQuery;if(null!==b&&Iu(2,b,i),p){const x=e.viewCheckHooks;null!==x&&D(t,x)}else{const x=e.viewHooks;null!==x&&d(t,x,2),s(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,uo(t[3],-1))}finally{pn()}}}function $l(e,t,n,i,o){const l=dn(),p=2&i;try{us(-1),p&&t.length>22&&zc(e,t,22,!1),n(i,o)}finally{us(l)}}function ds(e,t,n){if(je(t)){const o=t.directiveEnd;for(let l=t.directiveStart;l<o;l++){const p=e.data[l];p.contentQueries&&p.contentQueries(1,n[l],l)}}}function ya(e,t,n){Ye()&&(function yg(e,t,n,i){const o=n.directiveStart,l=n.directiveEnd;Et(n)&&function bg(e,t,n){const i=br(t,e),o=Qf(n),l=e[10],p=zl(e,Mu(e,o,null,n.onPush?32:16,i,t,l,l.createRenderer(i,n),null,null,null));e[t.index]=p}
1(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||bo(n,t),es(i,t);const p=n.initialInputs;for(let _=o;_<l;_++){const b=e.data[_],x=Ur(t,e,_,n);es(x,t),null!==p&&td(0,_-o,x,b,0,p),Zt(b)&&(jr(n.index,t)[8]=Ur(t,e,_,n))}}(e,t,n,br(n,t)),64==(64&n.flags)&&Jf(e,t,n))}function Zc(e,t,n=br){const i=t.localNames;if(null!==i){let o=t.index+1;for(let l=0;l<i.length;l+=2){const p=i[l+1],_=-1===p?n(t,e):e[p];e[o++]=_}}}function Qf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Qc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Qc(e,t,n,i,o,l,p,_,b,x){const k=22+i,Y=k+o,Me=function dg(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:On);return n}(k,Y),ze="function"==typeof x?x():x;return Me[1]={type:e,blueprint:Me,template:n,queries:null,viewQuery:_,declTNode:t,data:Me.slice().fill(null,k),bindingStartIndex:k,expandoStartIndex:Y,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 l?l():l,pipeRegistry:"function"==typeof p?p():p,firstChild:null,schemas:b,consts:ze,incompleteFirstPass:!1}}function qc(e,t,n,i){const o=th(t);null===n?o.push(i):(o.push(n),e.firstCreatePass&&nh(e).push(i,o.length-1))}function Bn(e,t,n,i){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const l=e[o];null===i?Xc(n,t,o,l):i.hasOwnProperty(o)&&Xc(n,t,i[o],l)}return n}function Xc(e,t,n,i){e.hasOwnProperty(n)?e[n].push(t,i):e[n]=[t,i]}function Us(e,t,n,i,o,l,p,_){const b=br(t,n);let k,x=t.inputs;!_&&null!=x&&(k=x[i])?(od(e,n,k,i,o),Et(t)&&vr(n,t.index)):3&t.type&&(i=function qf(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=p?p(o,t.value||"",i):o,l.setProperty(b,i,o))}function vr(e,t){const n=jr(t,e);16&n[2]||(n[2]|=32)}function ul(e,t,n,i){let o=!1;if(Ye()){const l=null===i?null:{"":-1},p=function _g(e,t){const n=e.directiveRegistry;let i=null,o=null;if(n)for(let l=0;l<n.length;l++){const p=n[l];if(Uf(t,p.selectors,!1))if(i||(i=[]),Zt(p))if(null!==p.findHostDirectiveDefs){const _=[];o=o||new Map,p.findHostDirectiveDefs(p,_,o),i.unshift(..._,p),Jc(e,t,_.length)}else i.unshift(p),Jc(e,t,0);else o=o||new Map,p.findHostDirectiveDefs?.(p,i,o),i.push(p)}return null===i?null:[i,o]}(e,n);let _,b;null===p?_=b=null:[_,b]=p,null!==_&&(o=!0,Xf(e,t,n,_,l,b)),l&&function Dg(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const l=n[t[o+1]];if(null==l)throw new Fe(-301,!1);i.push(t[o],l)}}}(n,i,l)}return n.mergedAttrs=Fn(n.mergedAttrs,n.attrs),o}function Xf(e,t,n,i,o,l){for(let x=0;x<i.length;x++)ln(bo(n,t),e,i[x].type);!function Cg(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let x=0;x<i.length;x++){const k=i[x];k.providersResolver&&k.providersResolver(k)}let p=!1,_=!1,b=ja(e,t,i.length,null);for(let x=0;x<i.length;x++){const k=i[x];n.mergedAttrs=Fn(n.mergedAttrs,k.hostAttrs),wg(e,n,t,b,k),Eg(b,k,o),null!==k.contentQueries&&(n.flags|=4),(null!==k.hostBindings||null!==k.hostAttrs||0!==k.hostVars)&&(n.flags|=64);const Y=k.type.prototype;!p&&(Y.ngOnChanges||Y.ngOnInit||Y.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),p=!0),!_&&(Y.ngOnChanges||Y.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),_=!0),b++}!function Js(e,t,n){const o=t.directiveEnd,l=e.data,p=t.attrs,_=[];let b=null,x=null;for(let k=t.directiveStart;k<o;k++){const Y=l[k],Me=n?n.get(Y):null,ft=Me?Me.outputs:null;b=Bn(Y.inputs,k,b,Me?Me.inputs:null),x=Bn(Y.outputs,k,x,ft);const Pt=null===b||null===p||kf(t)?null:Sg(b,k,p);_.push(Pt)}null!==b&&(b.hasOwnProperty("class")&&(t.flags|=8),b.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=_,t.inputs=b,t.outputs=x}(e,n,l)}function Jf(e,t,n){const i=n.directiveStart,o=n.directiveEnd,l=n.index,p=function qi(){return rn.lFrame.currentDirectiveIndex}();try{us(l);for(let _=i;_<o;_++){const b=e.data[_],x=t[_];fo(_),(null!==b.hostBindings||0!==b.hostVars||null!==b.hostAttrs)&&vg(b,x)}}finally{us(-1),fo(p)}}function vg(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}
1function Jc(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function Eg(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Zt(t)&&(n[""]=e)}}function wg(e,t,n,i,o){e.data[i]=o;const l=o.factory||(o.factory=Ar(o.type)),p=new P(l,Zt(o),Ba);e.blueprint[i]=p,n[i]=p,function gg(e,t,n,i,o){const l=o.hostBindings;if(l){let p=e.hostBindingOpCodes;null===p&&(p=e.hostBindingOpCodes=[]);const _=~t.index;(function mg(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(p)!=_&&p.push(_),p.push(n,i,l)}}(e,t,i,ja(e,n,o.hostVars,On),o)}function eo(e,t,n,i,o,l){const p=br(e,t);!function ed(e,t,n,i,o,l,p){if(null==l)e.removeAttribute(t,o,n);else{const _=null==p?Pe(l):p(l,i||"",o);e.setAttribute(t,o,_,n)}}(t[11],p,l,e.value,n,i,o)}function td(e,t,n,i,o,l){const p=l[t];if(null!==p){const _=i.setInput;for(let b=0;b<p.length;){const x=p[b++],k=p[b++],Y=p[b++];null!==_?i.setInput(n,Y,x,k):n[k]=Y}}}function Sg(e,t,n){let i=null,o=0;for(;o<n.length;){const l=n[o];if(0!==l)if(5!==l){if("number"==typeof l)break;if(e.hasOwnProperty(l)){null===i&&(i=[]);const p=e[l];for(let _=0;_<p.length;_+=2)if(p[_]===t){i.push(l,p[_+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return i}function eh(e,t,n,i){return[e,!0,!1,t,null,0,i,n,null,null]}function ws(e,t){const n=jr(t,e);if(Br(n)){const i=n[1];48&n[2]?jl(i,n,i.template,n[8]):n[5]>0&&nd(n)}}function nd(e){for(let i=fc(e);null!==i;i=Io(i))for(let o=10;o<i.length;o++){const l=i[o];if(Br(l))if(512&l[2]){const p=l[1];jl(p,l,p.template,l[8])}else l[5]>0&&nd(l)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const o=jr(n[i],e);Br(o)&&o[5]>0&&nd(o)}}function Mg(e,t){const n=jr(t,e),i=n[1];(function Tg(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Yc(i,n,n[8])}function zl(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function rd(e){for(;e;){e[2]|=32;const t=Oa(e);if(bn(e)&&!t)return e;e=t}return null}function Tu(e,t,n,i=!0){const o=t[10];o.begin&&o.begin();try{jl(e,t,e.template,n)}catch(p){throw i&&sd(t,p),p}finally{o.end&&o.end()}}function Iu(e,t,n){Vo(0),t(e,n)}function th(e){return e[7]||(e[7]=[])}function nh(e){return e.cleanup||(e.cleanup=[])}function sd(e,t){const n=e[9],i=n?n.get(Vl,null):null;i&&i.handleError(t)}function od(e,t,n,i,o){for(let l=0;l<n.length;){const p=n[l++],_=n[l++],b=t[p],x=e.data[p];null!==x.setInput?x.setInput(b,o,i,_):b[_]=o}}function qo(e,t,n){const i=ci(t,e);!function Kd(e,t,n){e.setValue(t,n)}(e[11],i,n)}function Ou(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,l=0;if(null!==t)for(let p=0;p<t.length;p++){const _=t[p];"number"==typeof _?l=_:1==l?o=he(o,_):2==l&&(i=he(i,_+": "+t[++p]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}function xu(e,t,n,i,o=!1){for(;null!==n;){const l=t[n.index];if(null!==l&&i.push(Er(l)),_e(l))for(let _=10;_<l.length;_++){const b=l[_],x=b[1].firstChild;null!==x&&xu(b[1],b,x,i)}const p=n.type;if(8&p)xu(e,t,n.child,i);else if(32&p){const _=Il(n,t);let b;for(;b=_();)i.push(b)}else if(16&p){const _=vc(t,n);if(Array.isArray(_))i.push(..._);else{const b=Oa(t[16]);xu(b[1],b,_,i,!0)}}n=o?n.projectionNext:n.next}return i}class Fo{get rootNodes(){const t=this._lView,n=t[1];return xu(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(_e(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(gc(t,i),f(n,i))}this._attachedToViewContainer=!1}Xd(this._lView[1],this._lView)}onDestroy(t){qc(this._lView[1],this._lView,null,t)}markForCheck(){rd(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Tu(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Fe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Yh(e,t){ks(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Fe(902,!1);this._appRef=t}}class Ig extends Fo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Tu(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class rh extends Ul{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=un(t);return new cl(n,this.ngModule)}}function ih(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class xg{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=de(i);const o=this.injector.get(t,kc,i);return o!==kc||n===kc?o:this.parentInjector.get(t,n,i)}}
1class cl extends Eu{get inputs(){return ih(this.componentDef.inputs)}get outputs(){return ih(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function jc(e){return e.map(Bf).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,o){let l=(o=o||this.ngModule)instanceof Na?o:o?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const p=l?new xg(t,l):t,_=p.get(Nc,null);if(null===_)throw new Fe(407,!1);const b=p.get(xp,null),x=_.createRenderer(null,this.componentDef),k=this.componentDef.selectors[0][0]||"div",Y=i?function fg(e,t,n){return e.selectRootElement(t,n===Wn.ShadowDom)}(x,i,this.componentDef.encapsulation):pc(x,k,function Og(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(k)),Me=this.componentDef.onPush?288:272,ze=Qc(0,null,null,1,0,null,null,null,null,null),ft=Mu(null,ze,null,Me,null,null,_,x,b,p,null);let Pt,Vt;Ks(ft);try{const Xt=this.componentDef;let vn,bt=null;Xt.findHostDirectiveDefs?(vn=[],bt=new Map,Xt.findHostDirectiveDefs(Xt,vn,bt),vn.push(Xt)):vn=[Xt];const Un=function Pg(e,t){const n=e[1];return e[22]=t,Va(n,22,2,"#host",null)}(ft,Y),ii=function Rg(e,t,n,i,o,l,p,_){const b=o[1];!function Fg(e,t,n,i){for(const o of e)t.mergedAttrs=Fn(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(Ou(t,t.mergedAttrs,!0),null!==n&&Oo(i,n,t))}(i,e,t,p);const x=l.createRenderer(t,n),k=Mu(o,Qf(n),null,n.onPush?32:16,o[e.index],e,l,x,_||null,null,null);return b.firstCreatePass&&Jc(b,e,i.length-1),zl(o,k),o[e.index]=k}(Un,Y,Xt,vn,ft,_,x);Vt=xs(ze,22),Y&&function Ng(e,t,n,i){if(i)jt(e,n,["ng-version",Pp.full]);else{const{attrs:o,classes:l}=function Vf(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let l=e[i];if("string"==typeof l)2===o?""!==l&&t.push(l,e[++i]):8===o&&n.push(l);else{if(!vo(o))break;o=l}i++}return{attrs:t,classes:n}}(t.selectors[0]);o&&jt(e,n,o),l&&l.length>0&&sf(e,n,l.join(" "))}}(x,Xt,Y,i),void 0!==n&&function kg(e,t,n){const i=e.projection=[];for(let o=0;o<t.length;o++){const l=n[o];i.push(null!=l?Array.from(l):null)}}(Vt,this.ngContentSelectors,n),Pt=function Lg(e,t,n,i,o,l){const p=$r(),_=o[1],b=br(p,o);Xf(_,o,p,n,null,i);for(let k=0;k<n.length;k++)es(Ur(o,_,p.directiveStart+k,p),o);Jf(_,o,p),b&&es(b,o);const x=Ur(o,_,p.directiveStart+p.componentOffset,p);if(e[8]=o[8]=x,null!==l)for(const k of l)k(x,t);return ds(_,p,e),x}(ii,Xt,vn,bt,ft,[Ug]),Yc(ze,ft,null)}finally{pn()}return new sh(this.componentType,Pt,sl(Vt,ft),ft,Vt)}}class sh extends Ap{constructor(t,n,i,o,l){super(),this.location=i,this._rootLView=o,this._tNode=l,this.instance=n,this.hostView=this.changeDetectorRef=new Ig(o),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[t])){const l=this._rootLView;od(l[1],l,o,t,n),vr(l,this._tNode.index)}}get injector(){return new cs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Ug(){const e=$r();Qn($e()[1],e)}function ad(e){let t=function oh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(Zt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Fe(903,!1);o=t.\u0275dir}if(o){if(n){i.push(o);const p=e;p.inputs=ld(e.inputs),p.declaredInputs=ld(e.declaredInputs),p.outputs=ld(e.outputs);const _=o.hostBindings;_&&jg(e,_);const b=o.viewQuery,x=o.contentQueries;if(b&&Vg(e,b),x&&Hg(e,x),J(e.inputs,o.inputs),J(e.declaredInputs,o.declaredInputs),J(e.outputs,o.outputs),Zt(o)&&o.data.animation){const k=e.data;k.animation=(k.animation||[]).concat(o.data.animation)}}const l=o.features;if(l)for(let p=0;p<l.length;p++){const _=l[p];_&&_.ngInherit&&_(e),_===ad&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Bg(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=Fn(o.hostAttrs,n=Fn(n,o.hostAttrs))}}(i)}function ld(e){return e===Kn?{}:e===ge?[]:e}function Vg(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function Hg(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,l)=>{t(i,o,l),n(i,o,l)}:t}function jg(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}let Pu=null;function Xo(){if(!Pu){const e=ot.Symbol;if(e&&e.iterator)Pu=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Pu=i)}}}return Pu}function Gl(e){return!!ud(e)&&(Array.isArray(e)||!(e instanceof Map)&&Xo()in e)}function ud(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Lo(e,t,n){return e[t]=n}function rs(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}
1function _i(e,t,n,i){const o=rs(e,t,n);return rs(e,t+1,i)||o}function dl(e,t,n,i,o){const l=_i(e,t,n,i);return rs(e,t+2,o)||l}function dd(e,t,n,i){const o=$e();return rs(o,ls(),t)&&(cn(),eo(Tr(),o,e,t,n,i)),dd}function hl(e,t,n,i){return rs(e,ls(),n)?t+Pe(n)+i:On}function mh(e,t,n,i,o,l,p,_){const b=$e(),x=cn(),k=e+22,Y=x.firstCreatePass?function Xg(e,t,n,i,o,l,p,_,b){const x=t.consts,k=Va(t,e,4,p||null,Pr(x,_));ul(t,n,k,Pr(x,b)),Qn(t,k);const Y=k.tViews=Qc(2,k,i,o,l,t.directiveRegistry,t.pipeRegistry,null,t.schemas,x);return null!==t.queries&&(t.queries.template(t,k),Y.queries=t.queries.embeddedTView(k)),k}(k,x,b,t,n,i,o,l,p):x.data[k];Mi(Y,!1);const Me=b[11].createComment("");Rl(x,b,Me,Y),es(Me,b),zl(b,b[k]=eh(Me,b,Me,Y)),It(Y)&&ya(x,b,Y),null!=p&&Zc(b,Y,_)}function yh(e){return as(function Rs(){return rn.lFrame.contextLView}(),22+e)}function hd(e,t,n){const i=$e();return rs(i,ls(),t)&&Us(cn(),Tr(),i,e,t,i[11],n,!1),hd}function pd(e,t,n,i,o){const p=o?"class":"style";od(e,n,t.inputs[p],p,i)}function Lu(e,t,n,i){const o=$e(),l=cn(),p=22+e,_=o[11],b=o[p]=pc(_,t,function $o(){return rn.lFrame.currentNamespace}()),x=l.firstCreatePass?function em(e,t,n,i,o,l,p){const _=t.consts,x=Va(t,e,2,o,Pr(_,l));return ul(t,n,x,Pr(_,p)),null!==x.attrs&&Ou(x,x.attrs,!1),null!==x.mergedAttrs&&Ou(x,x.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,x),x}(p,l,o,0,t,n,i):l.data[p];return Mi(x,!0),Oo(_,b,x),32!=(32&x.flags)&&Rl(l,o,b,x),0===function T(){return rn.lFrame.elementDepthCount}()&&es(b,o),function S(){rn.lFrame.elementDepthCount++}(),It(x)&&(ya(l,o,x),ds(l,x,o)),null!==i&&Zc(o,x),Lu}function Nu(){let e=$r();oa()?aa():(e=e.parent,Mi(e,!1));const t=e;!function U(){rn.lFrame.elementDepthCount--}();const n=cn();return n.firstCreatePass&&(Qn(n,e),je(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _t(e){return 0!=(8&e.flags)}(t)&&pd(n,t,$e(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ot(e){return 0!=(16&e.flags)}(t)&&pd(n,t,$e(),t.stylesWithoutHost,!1),Nu}function gd(e,t,n,i){return Lu(e,t,n,i),Nu(),gd}function ku(e,t,n){const i=$e(),o=cn(),l=e+22,p=o.firstCreatePass?function tm(e,t,n,i,o){const l=t.consts,p=Pr(l,i),_=Va(t,e,8,"ng-container",p);return null!==p&&Ou(_,p,!0),ul(t,n,_,Pr(l,o)),null!==t.queries&&t.queries.elementStart(t,_),_}(l,o,i,t,n):o.data[l];Mi(p,!0);const _=i[l]=i[11].createComment("");return Rl(o,i,_,p),es(_,i),It(p)&&(ya(o,i,p),ds(o,p,i)),null!=n&&Zc(i,p),ku}function Uu(){let e=$r();const t=cn();return oa()?aa():(e=e.parent,Mi(e,!1)),t.firstCreatePass&&(Qn(t,e),je(e)&&t.queries.elementEnd(e)),Uu}function md(e,t,n){return ku(e,t,n),Uu(),md}function vh(){return $e()}function yd(e){return!!e&&"function"==typeof e.then}function _h(e){return!!e&&"function"==typeof e.subscribe}const r=_h;function a(e,t,n,i){const o=$e(),l=cn(),p=$r();return function F(e,t,n,i,o,l,p){const _=It(i),x=e.firstCreatePass&&nh(e),k=t[8],Y=th(t);let Me=!0;if(3&i.type||p){const Pt=br(i,t),Vt=p?p(Pt):Pt,Xt=Y.length,vn=p?Un=>p(Er(Un[i.index])):i.index;let bt=null;if(!p&&_&&(bt=function A(e,t,n,i){const o=e.cleanup;if(null!=o)for(let l=0;l<o.length-1;l+=2){const p=o[l];if(p===n&&o[l+1]===i){const _=t[7],b=o[l+2];return _.length>b?_[b]:null}"string"==typeof p&&(l+=2)}return null}(e,t,o,i.index)),null!==bt)(bt.__ngLastListenerFn__||bt).__ngNextListenerFn__=l,bt.__ngLastListenerFn__=l,Me=!1;else{l=ne(i,t,k,l,!1);const Un=n.listen(Vt,o,l);Y.push(l,Un),x&&x.push(o,vn,Xt,Xt+1)}}else l=ne(i,t,k,l,!1);const ze=i.outputs;let ft;if(Me&&null!==ze&&(ft=ze[o])){const Pt=ft.length;if(Pt)for(let Vt=0;Vt<Pt;Vt+=2){const ii=t[ft[Vt]][ft[Vt+1]].subscribe(l),xi=Y.length;Y.push(l,ii),x&&x.push(o,i.index,xi,-(xi+1))}}}(l,o,o[11],p,e,t,i),a}function H(e,t,n,i){try{return!1!==n(i)}catch(o){return sd(e,o),!1}}function ne(e,t,n,i,o){return function l(p){if(p===Function)return i;rd(e.componentOffset>-1?jr(e.index,t):t);let b=H(t,0,i,p),x=l.__ngNextListenerFn__;for(;x;)b=H(t,0,x,p)&&b,x=x.__ngNextListenerFn__;return o&&!1===b&&(p.preventDefault(),p.returnValue=!1),b}}function Ce(e=1){return function er(e){return(rn.lFrame.contextLView=function Qr(e,t){for(;e>0;)t=t[15],e--;return t}(e,rn.lFrame.contextLView))[8]}(e)}function Ve(e,t){let n=null;const i=function Gp(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 o=0;o<t.length;o++){const l=t[o];if("*"!==l){if(null===i?Uf(e,l,!0):Kp(i,l))return o}else n=o}return n}
1function yt(e){const t=$e()[16][6];if(!t.projection){const i=t.projection=C(e?e.length:1,null),o=i.slice();let l=t.child;for(;null!==l;){const p=e?Ve(l,e):0;null!==p&&(o[p]?o[p].projectionNext=l:i[p]=l,o[p]=l),l=l.next}}}function vt(e,t=0,n){const i=$e(),o=cn(),l=Va(o,22+e,16,null,n||null);null===l.projection&&(l.projection=t),aa(),32!=(32&l.flags)&&function nf(e,t,n){Dc(t[11],0,t,n,mc(e,n,t),yc(n.parent||t[6],n,t))}(o,i,l)}function Ct(e,t,n){return Ut(e,"",t,"",n),Ct}function Ut(e,t,n,i,o){const l=$e(),p=hl(l,t,n,i);return p!==On&&Us(cn(),Tr(),l,e,p,l[11],o,!1),Ut}function ss(e,t){return e<<17|t<<2}function Or(e){return e>>17&32767}function Bu(e){return 2|e}function Kl(e){return(131068&e)>>2}function nm(e,t){return-131069&e|t<<2}function rm(e){return 1|e}function cy(e,t,n,i,o){const l=e[n+1],p=null===t;let _=i?Or(l):Kl(l),b=!1;for(;0!==_&&(!1===b||p);){const k=e[_+1];K_(e[_],t)&&(b=!0,e[_+1]=i?rm(k):Bu(k)),_=i?Or(k):Kl(k)}b&&(e[n+1]=i?Bu(l):rm(l))}function K_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Bt(e,t)>=0}const Yi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function dy(e){return e.substring(Yi.key,Yi.keyEnd)}function fy(e,t){const n=Yi.textEnd;return n===t?-1:(t=Yi.keyEnd=function q_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Yi.key=t,n),Vu(e,t,n))}function Vu(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function im(e,t,n){return ea(e,t,n,!1),im}function sm(e,t){return ea(e,t,null,!0),sm}function yy(e){ta(at,Ea,e,!0)}function Ea(e,t){for(let n=function Z_(e){return function py(e){Yi.key=0,Yi.keyEnd=0,Yi.value=0,Yi.valueEnd=0,Yi.textEnd=e.length}(e),fy(e,Vu(e,0,Yi.textEnd))}(t);n>=0;n=fy(t,n))at(e,dy(t),!0)}function ea(e,t,n,i){const o=$e(),l=cn(),p=Qi(2);l.firstUpdatePass&&_y(l,e,p,i),t!==On&&rs(o,p,t)&&Ey(l,l.data[dn()],o,o[11],e,o[p+1]=function l0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=se(ns(e)))),e}(t,n),i,p)}function ta(e,t,n,i){const o=cn(),l=Qi(2);o.firstUpdatePass&&_y(o,null,l,i);const p=$e();if(n!==On&&rs(p,l,n)){const _=o.data[dn()];if(wy(_,i)&&!vy(o,l)){let b=i?_.classesWithoutHost:_.stylesWithoutHost;null!==b&&(n=he(b,n||"")),pd(o,_,p,n,i)}else!function a0(e,t,n,i,o,l,p,_){o===On&&(o=ge);let b=0,x=0,k=0<o.length?o[0]:null,Y=0<l.length?l[0]:null;for(;null!==k||null!==Y;){const Me=b<o.length?o[b+1]:void 0,ze=x<l.length?l[x+1]:void 0;let Pt,ft=null;k===Y?(b+=2,x+=2,Me!==ze&&(ft=Y,Pt=ze)):null===Y||null!==k&&k<Y?(b+=2,ft=k):(x+=2,ft=Y,Pt=ze),null!==ft&&Ey(e,t,n,i,ft,Pt,p,_),k=b<
vendor: 4,208 bytes, line 1
1o.length?o[b]:null,Y=x<l.length?l[x]:null}}(o,_,p,p[11],p[l+1],p[l+1]=function o0(e,t,n){if(null==n||""===n)return ge;const i=[],o=ns(n);if(Array.isArray(o))for(let l=0;l<o.length;l++)e(i,o[l],!0);else if("object"==typeof o)for(const l in o)o.hasOwnProperty(l)&&e(i,l,o[l]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,l)}}function vy(e,t){return t>=e.expandoStartIndex}function _y(e,t,n,i){const o=e.data;if(null===o[n+1]){const l=o[dn()],p=vy(e,n);wy(l,i)&&null===t&&!p&&(t=!1),t=function t0(e,t,n,i){const o=function Fs(e){const t=rn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let l=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=vd(n=om(null,e,t,n,i),t.attrs,i),l=null);else{const p=t.directiveStylingLast;if(-1===p||e[p]!==o)if(n=om(o,e,t,n,i),null===l){let b=function n0(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Kl(i))return e[Or(i)]}(e,t,i);void 0!==b&&Array.isArray(b)&&(b=om(null,e,t,b[1],i),b=vd(b,t.attrs,i),function r0(e,t,n,i){e[Or(n?t.classBindings:t.styleBindings)]=i}(e,t,i,b))}else l=function s0(e,t,n){let i;const o=t.directiveEnd;for(let l=1+t.directiveStylingLast;l<o;l++)i=vd(i,e[l].hostAttrs,n);return vd(i,t.attrs,n)}(e,t,i)}return void 0!==l&&(i?t.residualClasses=l:t.residualStyles=l),n}(o,l,t,i),function G_(e,t,n,i,o,l){let p=l?t.classBindings:t.styleBindings,_=Or(p),b=Kl(p);e[i]=n;let k,x=!1;if(Array.isArray(n)?(k=n[1],(null===k||Bt(n,k)>0)&&(x=!0)):k=n,o)if(0!==b){const Me=Or(e[_+1]);e[i+1]=ss(Me,_),0!==Me&&(e[Me+1]=nm(e[Me+1],i)),e[_+1]=function Jo(e,t){return 131071&e|t<<17}(e[_+1],i)}else e[i+1]=ss(_,0),0!==_&&(e[_+1]=nm(e[_+1],i)),_=i;else e[i+1]=ss(b,0),0===_?_=i:e[b+1]=nm(e[b+1],i),b=i;x&&(e[i+1]=Bu(e[i+1])),cy(e,k,i,!0),cy(e,k,i,!1),function W_(e,t,n,i,o){const l=o?e.residualClasses:e.residualStyles;null!=l&&"string"==typeof t&&Bt(l,t)>=0&&(n[i+1]=rm(n[i+1]))}(t,k,e,i,l),p=ss(_,b),l?t.classBindings=p:t.styleBindings=p}(o,l,t,n,p,i)}}function om(e,t,n,i,o){let l=null;const p=n.directiveEnd;let _=n.directiveStylingLast;for(-1===_?_=n.directiveStart:_++;_<p&&(l=t[_],i=vd(i,l.hostAttrs,o),l!==e);)_++;return null!==e&&(n.directiveStylingLast=_),i}function vd(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let l=0;l<t.length;l++){const p=t[l];"number"==typeof p?o=p:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),at(e,p,!!n||t[++l]))}return void 0===e?null:e}function Ey(e,t,n,i,o,l,p,_){if(!(3&t.type))return;const b=e.data,x=b[_+1],k=function z_(e){return 1==(1&e)}(x)?Cy(b,t,n,o,Kl(x),p):void 0;Dh(k)||(Dh(l)||function Do(e){return 2==(2&e)}(x)&&(l=Cy(b,null,n,o,_,p)),function rf(e,t,n,i,o){if(t)o?e.addClass(n,i):e.removeClass(n,i);else{let l=-1===i.indexOf("-")?void 0:mo.DashCase;null==o?e.removeStyle(n,i,l):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),l|=mo.Important),e.setStyle(n,i,o,l))}}(i,p,ci(dn(),n),o,l))}function Cy(e,t,n,i,o,l){const p=null===t;let _;for(;o>0;){const b=e[o],x=Array.isArray(b),k=x?b[1]:b,Y=null===k;let Me=n[o+1];Me===On&&(Me=Y?ge:void 0);let ze=Y?zt(Me,i):k===i?Me:void 0;if(x&&!Dh(ze)&&(ze=zt(b,i)),Dh(ze)&&(_=ze,p))return _;const ft=e[o+1];o=p?Or(ft):Kl(ft)}if(null!==t){let b=l?t.residualClasses:t.residualStyles;null!=b&&(_=zt(b,i))}return _}function Dh(e){return void 0!==e}function wy(e,t){return 0!=(e.flags&(t?8:16))}function by(e,t=""){const n=$e(),i=cn(),o=e+22,l=i.firstCreatePass?Va(i,o,1,t,null):i.data[o],p=n[o]=function Ol(e,t){return e.createText(t)}(n[11],t);Rl(i,n,p,l),Mi(l,!1)}function am(e){return Eh("",e,""),am}function Eh(e,t,n){const i=$e(),o=hl(i,e,t,n);return o!==On&&qo(i,dn(),o),Eh}function lm(e,t,n,i,o){const l=$e(),p=function va(e,t,n,i,o,l){const _=_i(e,Ti(),n,o);return Qi(2),_?t+Pe(n)+i+Pe(o)+l:On}(l,e,t,n,i,o);return p!==On&&qo(l,dn(),p),lm}function um(e,t,n,i,o,l,p){const _=$e(),b=function pl(e,t,n,i,o,l,p,_){const x=dl(e,Ti(),n,o,p);return Qi(3),x?t+Pe(n)+i+Pe(o)+l+Pe(p)+_:On}(_,e,t,n,i,o,l,p);return b!==On&&qo(_,dn(),b),um}function xy(e,t,n){ta(at,Ea,hl($e(),e,t,n),!0)}const Yl=void 0;var M0=["en",[["a","p"],["AM","PM"],Yl],[["AM","PM"],Yl,Yl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Yl,[["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"]],Yl,[["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}",Yl,"{1} 'at' {0}",Yl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function A0(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Hu={};function cm(e){const t=function T0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=zy(t);if(n)return n;const i=t.split("-")[0];if(n=zy(i),n)return n;if("en"===i)return M0;throw new Fe(701,!1)}function $y(e){return cm(e)[mn.PluralCase]}function zy(e){return e in Hu||(Hu[e]=ot.ng&&ot.ng.common&&ot.ng.common.locales&&ot.ng.common.locales[e]),Hu[e]}var mn=(()=>((mn=mn||{})[mn.LocaleId=0]="LocaleId",mn[mn.DayPeriodsFormat=1]="DayPeriodsFormat",mn[mn.DayPeriodsStandalone=2]="DayPeriodsStandalone",mn[mn.DaysFormat=3]="DaysFormat",mn[mn.DaysStandalone=4]="DaysStandalone",mn[mn.MonthsFormat=5]="MonthsFormat",mn[mn.MonthsStandalone=6]="MonthsStandalone",mn[mn.Eras=7]="Eras",mn[mn.FirstDayOfWeek=8]="FirstDayOfWeek",mn[mn.WeekendRange=9]="WeekendRange",mn[mn.DateFormat=10]="DateFormat",mn[mn.TimeFormat=11]="TimeFormat",mn[mn.DateTimeFormat=12]="DateTimeFormat",mn[mn.NumberSymbols=13]="NumberSymbols",mn[mn.NumberFormats=14]="NumberFormats",mn[mn.CurrencyCode=15]="CurrencyCode",mn[mn.CurrencySymbol=16]="CurrencySymbol",mn[mn.CurrencyName=17]="CurrencyName",mn[mn.Currencies=18]="Currencies",mn[mn.Directionality=19]="Directionality",mn[mn.PluralCase=20]="PluralCase",mn[mn.ExtraData=21]="ExtraData",mn))();const ju="en-US";let Gy=ju;function hm(e,t,n,i,o){if(e=te(e),Array.isArray(e))for(let l=0;l<e.length;l++)hm(e[l],t,n,i,o);else{const l=cn(),p=$e();let _=La(e)?e:te(e.provide),b=Tf(e);const x=$r(),k=1048575&x.providerIndexes,Y=x.directiveStart,Me=x.providerIndexes>>20;if(La(e)||!e.multi){const ze=new P(b,o,Ba),ft=gm(_,t,o?k:k+Me,Y);-1===ft?(ln(bo(x,p),l,_),pm(l,e,t.length),t.push(_),x.directiveStart++,x.directiveEnd++,o&&(x.providerIndexes+=1048576),n.push(ze),p.push(ze)):(n[ft]=ze,p[ft]=ze)}else{const ze=gm(_,t,k+Me,Y),ft=gm(_,t,k,k+Me),Vt=ft>=0&&n[ft];if(o&&!Vt||!o&&!(ze>=0&&n[ze])){ln(bo(x,p),l,_);const Xt=function SD(e,t,n,i,o){const l=new P(e,n,Ba);return l.multi=[],l.index=t,l.componentProviders=0,mv(l,o,i&&!n),l}(o?bD:wD,n.length,o,i,b);!o&&Vt&&(n[ft].providerFactory=Xt),pm(l,e,t.length,0),t.push(_),x.directiveStart++,x.directiveEnd++,o&&(x.providerIndexes+=1048576),n.push(Xt),p.push(Xt)}else pm(l,e,ze>-1?ze:ft,mv(n[o?ft:ze],b,!o&&i));!o&&i&&Vt&&n[ft].componentProviders++}}}function pm(e,t,n,i){const o=La(t),l=function _p(e){return!!e.useClass}(t);if(o||l){const b=(l?te(t.useClass):t).prototype.ngOnDestroy;if(b){const x=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const k=x.indexOf(n);-1===k?x.push(n,[i,b]):x[k+1].push(i,b)}else x.push(n,b)}}}function mv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gm(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function wD(e,t,n,i){return mm(this.multi,[])}function bD(e,t,n,i){const o=this.multi;let l;if(this.providerFactory){const p=this.providerFactory.componentProviders,_=Ur(n,n[1],this.providerFactory.index,i);l=_.slice(0,p),mm(o,l);for(let b=p;b<_.length;b++)l.push(_[b])}else l=[],mm(o,l);return l}function mm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function yv(e,t=[]){return n=>{n.providersResolver=(i,o)=>function CD(e,t,n){const i=cn();if(i.firstCreatePass){const o=Zt(e);hm(n,i.data,i.blueprint,o,!0),hm(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class $u{}class vv{}function AD(e,t){return new _v(e,t??null)}class _v extends $u{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new rh(this);const i=j(t);this._bootstrapComponents=Po(i.bootstrap),this._r3Injector=zf(t,n,[{provide:$u,useValue:this},{provide:Ul,useValue:this.componentFactoryResolver}],se(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializer
1s(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ym extends vv{constructor(t){super(),this.moduleType=t}create(t){return new _v(this.moduleType,t)}}class MD extends $u{constructor(t,n,i){super(),this.componentFactoryResolver=new rh(this),this.instance=null;const o=new Mf([...t,{provide:$u,useValue:this},{provide:Ul,useValue:this.componentFactoryResolver}],n||Du(),i,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function vm(e,t,n=null){return new MD(e,t,n).injector}let TD=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const i=bf(0,n.type),o=i.length>0?vm([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Je({token:e,providedIn:"environment",factory:()=>new e(an(Na))}),e})();function Dv(e){e.getStandaloneInjector=t=>t.get(TD).getOrCreateStandaloneInjector(e)}function Mv(e,t,n,i){return Iv($e(),zr(),e,t,n,i)}function Tv(e,t,n,i,o,l){return function xv(e,t,n,i,o,l,p,_){const b=t+n;return dl(e,b,o,l,p)?Lo(e,b+3,_?i.call(_,o,l,p):i(o,l,p)):bd(e,b+3)}($e(),zr(),e,t,n,i,o,l)}function bd(e,t){const n=e[t];return n===On?void 0:n}function Iv(e,t,n,i,o,l){const p=t+n;return rs(e,p,o)?Lo(e,p+1,l?i.call(l,o):i(o)):bd(e,p+1)}function Fv(e,t){const n=cn();let i;const o=e+22;n.firstCreatePass?(i=function GD(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[o]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,i.onDestroy)):i=n.data[o];const l=i.factory||(i.factory=Ar(i.type)),p=He(Ba);try{const _=zi(!1),b=l();return zi(_),function Jg(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,$e(),o,b),b}finally{He(p)}}function Lv(e,t,n){const i=e+22,o=$e(),l=as(o,i);return function Sd(e,t){return e[1].data[t].pure}(o,i)?Iv(o,zr(),t,l.transform,n,l):l.transform(n)}function Dm(e){return t=>{setTimeout(e,void 0,t)}}const Ca=class QD extends c.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,l=n||(()=>null),p=i;if(t&&"object"==typeof t){const b=t;o=b.next?.bind(b),l=b.error?.bind(b),p=b.complete?.bind(b)}this.__isAsync&&(l=Dm(l),o&&(o=Dm(o)),p&&(p=Dm(p)));const _=super.subscribe({next:o,error:l,complete:p});return t instanceof E.w0&&t.add(_),_}};function qD(){return this._results[Xo()]()}class Em{get changes(){return this._changes||(this._changes=new Ca)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Xo(),i=Em.prototype;i[n]||(i[n]=qD)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const o=function Ns(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Zu(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],l=t[i];if(n&&(o=n(o),l=n(l)),l!==o)return!1}return!0}(i._results,o,n))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Ad=(()=>{class e{}return e.__NG_ELEMENT_ID__=eE,e})();const XD=Ad,JD=class extends XD{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,o=Mu(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const p=this._declarationLView[19];return null!==p&&(o[19]=p.createEmbeddedView(i)),Yc(i,o,t),new Fo(o)}};function eE(){return Ah($r(),$e())}function Ah(e,t){return 4&e.type?new JD(t,e,sl(e,t)):null}let Mh=(()=>{class e{}return e.__NG_ELEMENT_ID__=tE,e})();function tE(){return Uv($r(),$e())}const nE=Mh,Nv=class extends nE{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}
1get element(){return sl(this._hostTNode,this._hostLView)}get injector(){return new cs(this._hostTNode,this._hostLView)}get parentInjector(){const t=nn(this._hostTNode,this._hostLView);if(Rr(t)){const n=Ii(t,this._hostLView),i=yr(t);return new cs(n[1].data[i+8],n)}return new cs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=kv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let o,l;"number"==typeof i?o=i:null!=i&&(o=i.index,l=i.injector);const p=t.createEmbeddedView(n||{},l);return this.insert(p,o),p}createComponent(t,n,i,o,l){const p=t&&!function ms(e){return"function"==typeof e}(t);let _;if(p)_=n;else{const Y=n||{};_=Y.index,i=Y.injector,o=Y.projectableNodes,l=Y.environmentInjector||Y.ngModuleRef}const b=p?t:new cl(un(t)),x=i||this.parentInjector;if(!l&&null==b.ngModule){const Me=(p?x:this.parentInjector).get(Na,null);Me&&(l=Me)}const k=b.create(x,o,void 0,l);return this.insert(k.hostView,_),k}insert(t,n){const i=t._lView,o=i[1];if(function Ai(e){return _e(e[3])}(i)){const k=this.indexOf(t);if(-1!==k)this.detach(k);else{const Y=i[3],Me=new Nv(Y,Y[6],Y[3]);Me.detach(Me.indexOf(t))}}const l=this._adjustIndex(n),p=this._lContainer;!function qd(e,t,n,i){const o=10+i,l=n.length;i>0&&(n[o-1][4]=t),i<l-10?(t[4]=n[o],y(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const p=t[17];null!==p&&n!==p&&function Es(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(p,t);const _=t[19];null!==_&&_.insertView(e),t[2]|=64}(o,i,p,l);const _=Fl(l,p),b=i[11],x=xl(b,p[7]);return null!==x&&function Zd(e,t,n,i,o,l){i[0]=o,i[6]=t,ks(e,i,n,1,o,l)}(o,p[6],b,i,x,_),t.attachToViewContainerRef(),y(Cm(p),l,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=kv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=gc(this._lContainer,n);i&&(f(Cm(this._lContainer),n),Xd(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=gc(this._lContainer,n);return i&&null!=f(Cm(this._lContainer),n)?new Fo(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function kv(e){return e[8]}function Cm(e){return e[8]||(e[8]=[])}function Uv(e,t){let n;const i=t[e.index];if(_e(i))n=i;else{let o;if(8&e.type)o=Er(i);
vendor: 3,788 bytes, line 1
1else{const l=t[11];o=l.createComment("");const p=br(e,t);pa(l,xl(l,p),o,function ou(e,t){return e.nextSibling(t)}(l,p),!1)}t[e.index]=n=eh(i,t,o,e),zl(t,n)}return new Nv(n,e,t)}class wm{constructor(t){this.queryList=t,this.matches=null}clone(){return new wm(this.queryList)}setDirty(){this.queryList.setDirty()}}class bm{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let l=0;l<i;l++){const p=n.getByIndex(l);o.push(this.queries[p.indexInDeclarationView].clone())}return new bm(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Kv(t,n).matches&&this.queries[n].setDirty()}}class Bv{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Sm{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){const o=null!==n?n.length:0,l=this.getByIndex(i).embeddedTView(t,o);l&&(l.indexInDeclarationView=i,null!==n?n.push(l):n=[l])}return null!==n?new Sm(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Am{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Am(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const l=i[o];this.matchTNodeWithReadOption(t,n,rE(n,l)),this.matchTNodeWithReadOption(t,n,Aa(n,t,l,!1,!1))}else i===Ad?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Aa(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Bl||o===Mh||o===Ad&&4&n.type)this.addMatch(n.index,-2);else{const l=Aa(n,t,o,!1,!1);null!==l&&this.addMatch(n.index,l)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function rE(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function sE(e,t,n,i){return-1===n?function iE(e,t){return 11&e.type?sl(e,t):4&e.type?Ah(e,t):null}(t,e):-2===n?function oE(e,t,n){return n===Bl?sl(t,e):n===Ad?Ah(t,e):n===Mh?Uv(t,e):void 0}(e,t,i):Ur(e,e[1],n,t)}function Vv(e,t,n,i){const o=t[19].queries[i];if(null===o.matches){const l=e.data,p=n.matches,_=[];for(let b=0;b<p.length;b+=2){const x=p[b];_.push(x<0?null:sE(t,l[x],p[b+1],n.metadata.read))}o.matches=_}return o.matches}function Mm(e,t,n,i){const o=e.queries.getByIndex(n),l=o.matches;if(null!==l){const p=Vv(e,t,o,n);for(let _=0;_<l.length;_+=2){const b=l[_];if(b>0)i.push(p[_/2]);else{const x=l[_+1],k=t[-b];for(let Y=10;Y<k.length;Y++){const Me=k[Y];Me[17]===Me[3]&&Mm(Me[1],Me,x,i)}if(null!==k[9]){const Y=k[9];for(let Me=0;Me<Y.length;Me++){const ze=Y[Me];Mm(ze[1],ze,x,i)}}}}}return i}
1function Hv(e){const t=$e(),n=cn(),i=la();Vo(i+1);const o=Kv(n,i);if(e.dirty&&function sa(e){return 4==(4&e[2])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const l=o.crossesNgTemplate?Mm(n,t,i,[]):Vv(n,t,o,i);e.reset(l,Ip),e.notifyOnChanges()}return!0}return!1}function jv(e,t,n){const i=cn();i.firstCreatePass&&(Wv(i,new Bv(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Gv(i,$e(),t)}function $v(e,t,n,i){const o=cn();if(o.firstCreatePass){const l=$r();Wv(o,new Bv(t,n,i),l.index),function lE(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}Gv(o,$e(),n)}function zv(){return function aE(e,t){return e[19].queries[t].queryList}($e(),la())}function Gv(e,t,n){const i=new Em(4==(4&n));qc(e,t,i,i.destroy),null===t[19]&&(t[19]=new bm),t[19].queries.push(new wm(i))}function Wv(e,t,n){null===e.queries&&(e.queries=new Sm),e.queries.track(new Am(t,n))}function Kv(e,t){return e.queries.getByIndex(t)}function Yv(e,t){return Ah(e,t)}function Ih(...e){}const h_=new Lr("Application Initializer");let Oh=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ih,this.reject=Ih,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const l=this.appInits[o]();if(yd(l))n.push(l);else if(r(l)){const p=new Promise((_,b)=>{l.subscribe({complete:_,error:b})});n.push(p)}}Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(an(h_,8))},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();
1const p_=new Lr("AppId",{providedIn:"root",factory:function g_(){return`${Pm()}${Pm()}${Pm()}`}});function Pm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const m_=new Lr("Platform Initializer"),TE=new Lr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),y_=new Lr("appBootstrapListener"),IE=new Lr("AnimationModuleType");let OE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const xh=new Lr("LocaleId",{providedIn:"root",factory:()=>Ze(xh,Lt.Optional|Lt.SkipSelf)||function xE(){return typeof $localize<"u"&&$localize.locale||ju}()}),PE=new Lr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class RE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let FE=(()=>{class e{compileModuleSync(n){return new ym(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),l=Po(j(n).declarations).reduce((p,_)=>{const b=un(_);return b&&p.push(new cl(b)),p},[]);return new RE(i,l)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const kE=(()=>Promise.resolve(0))();function Rm(e){typeof Zone>"u"?kE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class No{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ca(!1),this.onMicrotaskEmpty=new Ca(!1),this.onStable=new Ca(!1),this.onError=new Ca(!1),typeof Zone>"u")throw new Fe(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function UE(){let e=ot.requestAnimationFrame,t=ot.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function HE(e){const t=()=>{!function VE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ot,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Lm(e),e.isCheckStableRunning=!0,Fm(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Lm(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,l,p,_)=>{try{return D_(e),n.invokeTask(o,l,p,_)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||e.shouldCoalesceRunChangeDetection)&&t(),E_(e)}},onInvoke:(n,i,o,l,p,_,b)=>{try{return D_(e),n.invoke(o,l,p,_,b)}finally{e.shouldCoalesceRunChangeDetection&&t(),E_(e)}},onHasTask:(n,i,o,l)=>{n.hasTask(o,l),i===o&&("microTask"==l.change?(e._hasPendingMicrotasks=l.microTask,Lm(e),Fm(e)):"macroTask"==l.change&&(e.hasPendingMacrotasks=l.macroTask))},onHandleError:(n,i,o,l)=>(n.handleError(o,l),e.runOutsideAngular(()=>e.onError.emit(l)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!No.isInAngularZone())throw new Fe(909,!1)}static assertNotInAngularZone(){if(No.isInAngularZone())throw new Fe(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const l=this._inner,p=l.scheduleEventTask("NgZoneEvent: "+o,t,BE,Ih,Ih);try{return l.runTask(p,n,i)}finally{l.cancelTask(p)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const BE={};function Fm(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 Lm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function D_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function E_(e){e._nesting--,Fm(e)}class jE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ca,this.onMicrotaskEmpty=new Ca,this.onStable=new Ca,this.onError=ne
1w Ca}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}const C_=new Lr(""),w_=new Lr("");let Nm,$E=(()=>{class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Nm||(function zE(e){Nm=e}(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{No.assertNotInAngularZone(),Rm(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Rm(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let l=-1;i&&i>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(p=>p.timeoutId!==l),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:l,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(an(No),an(b_),an(w_))},e.\u0275prov=Je({token:e,factory:e.\u0275fac}),e})(),b_=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return Nm?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),_l=null;const S_=new Lr("AllowMultipleToken"),km=new Lr("PlatformDestroyListeners");class KE{constructor(t,n){this.name=t,this.token=n}}function M_(e,t,n=[]){const i=`Platform: ${t}`,o=new Lr(i);return(l=[])=>{let p=Um();if(!p||p.injector.get(S_,!1)){const _=[...n,...l,{provide:o,useValue:!0}];e?e(_):function YE(e){if(_l&&!_l.get(S_,!1))throw new Fe(400,!1);_l=e;const t=e.get(I_);(function A_(e){const t=e.get(m_,null);t&&t.forEach(n=>n())})(e)}(function T_(e=[],t){return ka.create({name:t,providers:[{provide:Pc,useValue:"platform"},{provide:km,useValue:new Set([()=>_l=null])},...e]})}(_,i))}return function QE(e){const t=Um();if(!t)throw new Fe(401,!1);return t}()}}function Um(){return _l?.get(I_)??null}let I_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const o=function x_(e,t){let n;return n="noop"===e?new jE:("zone.js"===e?void 0:e)||new No(t),n}(i?.ngZone,function O_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),l=[{provide:No,useValue:o}];return o.run(()=>{const p=ka.create({providers:l,parent:this.injector,name:n.moduleType.name}),_=n.create(p),b=_.injector.get(Vl,null);if(!b)throw new Fe(402,!1);return o.runOutsideAngular(()=>{const x=o.onError.subscribe({next:k=>{b.handleError(k)}});_.onDestroy(()=>{Rh(this._modules,_),x.unsubscribe()})}),function P_(e,t,n){try{const i=n();return yd(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(b,o,()=>{const x=_.injector.get(Oh);
1return x.runInitializers(),x.donePromise.then(()=>(function Wy(e){Dt(e,"Expected localeId to be defined"),"string"==typeof e&&(Gy=e.toLowerCase().replace(/_/g,"-"))}(_.injector.get(xh,ju)||ju),this._moduleDoBootstrap(_),_))})})}bootstrapModule(n,i=[]){const o=R_({},i);return function GE(e,t,n){const i=new ym(n);return Promise.resolve(i)}(0,0,n).then(l=>this.bootstrapModuleFactory(l,o))}_moduleDoBootstrap(n){const i=n.injector.get(Ph);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Fe(-403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Fe(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(km,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(an(ka))},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function R_(e,t){return Array.isArray(t)?t.reduce(R_,e):{...e,...t}}let Ph=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,i,o){this._zone=n,this._injector=i,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new L.y(_=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{_.next(this._stable),_.complete()})}),p=new L.y(_=>{let b;this._zone.runOutsideAngular(()=>{b=this._zone.onStable.subscribe(()=>{No.assertNotInAngularZone(),Rm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,_.next(!0))})})});const x=this._zone.onUnstable.subscribe(()=>{No.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{_.next(!1)}))});return()=>{b.unsubscribe(),x.unsubscribe()}});this.isStable=(0,ce.T)(l,p.pipe((0,v.B)()))}bootstrap(n,i){const o=n instanceof Eu;if(!this._injector.get(Oh).done)throw!o&&R(n),new Fe(405,false);let p;p=o?n:this._injector.get(Ul).resolveComponentFactory(n),this.componentTypes.push(p.componentType);const _=function WE(e){return e.isBoundToModule}(p)?void 0:this._injector.get($u),x=p.create(ka.NULL,[],i||p.selector,_),k=x.location.nativeElement,Y=x.injector.get(C_,null);return Y?.registerApplication(k),x.onDestroy(()=>{this.detachView(x.hostView),Rh(this.components,x),Y?.unregisterApplication(k)}),this._loadComponent(x),x}tick(){if(this._runningTick)throw new Fe(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Rh(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(y_,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Rh(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Fe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(an(No),an(Na),an(Vl))},e.\u0275prov=Je({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Rh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function XE(){return!1}let JE=(()=>{class e{}return e.__NG_ELEMENT_ID__=eC,e})();
vendor: 7,718 bytes, line 1
1function eC(e){return function tC(e,t,n){if(Et(e)&&!n){const i=jr(e.index,t);return new Fo(i,i)}return 47&e.type?new Fo(t[16],t):null}($r(),$e(),16==(16&e))}class U_{constructor(){}supports(t){return Gl(t)}create(t){return new aC(t)}}const oC=(e,t)=>t;class aC{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||oC}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,l=null;for(;n||i;){const p=!i||n&&n.currentIndex<V_(i,o,l)?n:i,_=V_(p,o,l),b=p.currentIndex;if(p===i)o--,i=i._nextRemoved;else if(n=n._next,null==p.previousIndex)o++;else{l||(l=[]);const x=_-o,k=b-o;if(x!=k){for(let Me=0;Me<x;Me++){const ze=Me<l.length?l[Me]:l[Me]=0,ft=ze+Me;k<=ft&&ft<x&&(l[Me]=ze+1)}l[p.previousIndex]=k-x}}_!==b&&t(p,_,b)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Gl(t))throw new Fe(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,l,p,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let _=0;_<this.length;_++)l=t[_],p=this._trackByFn(_,l),null!==n&&Object.is(n.trackById,p)?(i&&(n=this._verifyReinsertion(n,l,p,_)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,p,_),i=!0),n=n._next}else o=0,function Qg(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Xo()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,_=>{p=this._trackByFn(o,_),null!==n&&Object.is(n.trackById,p)?(i&&(n=this._verifyReinsertion(n,_,p,o)),Object.is(n.item,_)||this._addIdentityChange(n,_)):(n=this._mismatch(n,_,p,o),i=!0),n=n._next,o++}),this.length=o;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,i,o){let l;return null===t?l=this._itTail:(l=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,l,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,l,o)):t=this._addAfter(new lC(n,i),l,o),t}_verifyReinsertion(t,n,i,o){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==l?t=this._reinsertAfter(l,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,l=t._nextRemoved;return null===o?this._removalsHead=l:o._nextRemoved=l,null===l?this._removalsTail=o:l._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new B_),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 B_),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 lC{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class uC{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class B_{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new uC,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 V_(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+t+o}class H_{constructor(){}supports(t){return t instanceof Map||ud(t)}create(){return new cC}}class cC{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;
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||ud(t)))throw new Fe(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,(i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const l=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,l)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 o=this._records.get(t);this._maybeAddToChanges(o,n);const l=o._prev,p=o._next;return l&&(l._next=p),p&&(p._prev=l),o._next=null,o._prev=null,o}const i=new dC(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class dC{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function j_(){return new $m([new U_])}let $m=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||j_()),deps:[[e,new qs,new Wa]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new Fe(901,!1)}}return e.\u0275prov=Je({token:e,providedIn:"root",factory:j_}),e})();function $_(){return new zm([new H_])}let zm=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||$_()),deps:[[e,new qs,new Wa]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(i)return i;throw new Fe(901,!1)}}return e.\u0275prov=Je({token:e,providedIn:"root",factory:$_}),e})();const pC=M_(null,"core",[]);let gC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(an(Ph))},e.\u0275mod=Jr({type:e}),e.\u0275inj=Tt({}),e})();function mC(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},4006:(wt,Te,w)=>{"use strict";w.d(Te,{Fj:()=>q,JJ:()=>kn,JL:()=>ir,JU:()=>se,NI:()=>Rn,On:()=>wi,UX:()=>Fi,_Y:()=>Jn,c5:()=>Sn,kI:()=>Ae,nD:()=>os,oH:()=>Et,qu:()=>Ai,sg:()=>Zt,u5:()=>rn});var c=w(4650),E=w(6895),L=w(457),ce=w(4128),v=w(4004);let oe=(()=>{class I{constructor(S,U){this._renderer=S,this._elementRef=U,this.onChange=Ye=>{},this.onTouched=()=>{}}setProperty(S,U){this._renderer.setProperty(this._elementRef.nativeElement,S,U)}registerOnTouched(S){this.onTouched=S}registerOnChange(S){this.onChange=S}setDisabledState(S){this.setProperty("disabled",S)}}return I.\u0275fac=function(S){return new(S||I)(c.Y36(c.Qsj),c.Y36(c.SBq))},I.\u0275dir=c.lG2({type:I}),I})(),J=(()=>{class I extends oe{}return I.\u0275fac=function(){let T;return function(U){return(T||(T=c.n5z(I)))(U||I)}}(),I.\u0275dir=c.lG2({type:I,features:[c.qOj]}),I})();const se=new c.OlP("NgValueAccessor"),re={provide:se,useExisting:(0,c.Gpc)(()=>q),multi:!0},le=new c.OlP("CompositionEventMode");let q=(()=>{class I extends oe{constructor(S,U,Ye){super(S,U),this._compositionMode=Ye,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function te(){const I=(0,E.q)()?(0,E.q)().getUserAgent():"";return/android (\d+)/.test(I.toLowerCase())}())}writeValue(S){this.setProperty("value",S??"")}_handleInput(S){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(S)}_compositionStart(){this._composing=!0}_compositionEnd(S){this._composing=!1,this._compositionMode&&this.onChange(S)}}return I.\u0275fac=function(S){return new(S||I)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(le,8))},I.\u0275dir=c.lG2({type:I,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(S,U){1&S&&c.NdJ("input",function($t){return U._handleInput($t.target.value)})("blur",function(){return U.onTouched()})("compositionstart",function(){return U._compositionStart()})("compositionend",function($t){return U._compositionEnd($t.target.value)})},features:[c._Bn([re]),c.qOj]}),I})();function ht(I){return null==I||("string"==typeof I||Array.isArray(I))&&0===I.length}function Fe(I){return null!=I&&"number"==typeof I.length}const me=new c.OlP("NgValidators"),Pe=new c.OlP("NgAsyncValidators"),we=/^(?=.{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 Ae{static min(T){return function ee(I){return T=>{if(ht(T.value)||ht(I))return null;const S=parseFloat(T.value);return!isNaN(S)&&S<I?{min:{min:I,actual:T.value}}:null}}(T)}static max(T){return function Qe(I){return T=>{if(ht(T.value)||ht(I))return null;const S=parseFloat(T.value);return!isNaN(S)&&S>I?{max:{max:I,actual:T.value}}:null}}(T)}static required(T){return function tt(I){return ht(I.value)?{required:!0}:null}(T)}static requiredTrue(T){return function dt(I){return!0===I.value?null:{required:!0}}(T)}static email(T){return function it(I){return ht(I.value)||we.test(I.value)?null:{email:!0}}(T)}static minLength(T){return function ae(I){return T=>ht(T.value)||!Fe(T.value)?null:T.value.length<I?{minlength:{requiredLength:I,actualLength:T.value.length}}:null}(T)}static maxLength(T){return fe(T)}static pattern(T){return ie(T)}static nullValidator(T){return null}static compose(T){return Le(T)}static composeAsync(T){return Ee(T)}}function fe(I){return T=>Fe(T.value)&&T.value.length>I?{maxlength:{requiredLength:I,actualLength:T.value.length}}:null}function ie(I){if(!I)return Ie;let T,S;return"string"==typeof I?(S="","^"!==I.charAt(0)&&(S+="^"),S+=I,"$"!==I.charAt(I.length-1)&&(S+="$"),T=new RegExp(S)):(S=I.toString(),T=I),U=>
1{if(ht(U.value))return null;const Ye=U.value;return T.test(Ye)?null:{pattern:{requiredPattern:S,actualValue:Ye}}}}function Ie(I){return null}function be(I){return null!=I}function et(I){return(0,c.QGY)(I)?(0,L.D)(I):I}function ut(I){let T={};return I.forEach(S=>{T=null!=S?{...T,...S}:T}),0===Object.keys(T).length?null:T}function Xe(I,T){return T.map(S=>S(I))}function Se(I){return I.map(T=>function ye(I){return!I.validate}(T)?T:S=>T.validate(S))}function Le(I){if(!I)return null;const T=I.filter(be);return 0==T.length?null:function(S){return ut(Xe(S,T))}}function Dt(I){return null!=I?Le(Se(I)):null}function Ee(I){if(!I)return null;const T=I.filter(be);return 0==T.length?null:function(S){const U=Xe(S,T).map(et);return(0,ce.D)(U).pipe((0,v.U)(ut))}}function rt(I){return null!=I?Ee(Se(I)):null}function z(I,T){return null===I?[T]:Array.isArray(I)?[...I,T]:[I,T]}function X(I){return I._rawValidators}function Je(I){return I._rawAsyncValidators}function St(I){return I?Array.isArray(I)?I:[I]:[]}function Tt(I,T){return Array.isArray(I)?I.includes(T):I===T}function Nn(I,T){const S=St(T);return St(I).forEach(Ye=>{Tt(S,Ye)||S.push(Ye)}),S}function An(I,T){return St(T).filter(S=>!Tt(I,S))}class En{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(T){this._rawValidators=T||[],this._composedValidatorFn=Dt(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=rt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(T){this._onDestroyCallbacks.push(T)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(T=>T()),this._onDestroyCallbacks=[]}reset(T){this.control&&this.control.reset(T)}hasError(T,S){return!!this.control&&this.control.hasError(T,S)}getError(T,S){return this.control?this.control.getError(T,S):null}}class Mn extends En{get formDirective(){return null}get path(){return null}}class xn extends En{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class nr{constructor(T){this._cd=T}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let kn=(()=>{class I extends nr{constructor(S){super(S)}}return I.\u0275fac=function(S){return new(S||I)(c.Y36(xn,2))},I.\u0275dir=c.lG2({type:I,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(S,U){2&S&&c.ekj("ng-untouched",U.isUntouched)("ng-touched",U.isTouched)("ng-pristine",U.isPristine)("ng-dirty",U.isDirty)("ng-valid",U.isValid)("ng-invalid",U.isInvalid)("ng-pending",U.isPending)},features:[c.qOj]}),I})(),ir=(()=>{class I extends nr{constructor(S){super(S)}}return I.\u0275fac=function(S){return new(S||I)(c.Y36(Mn,10))},I.\u0275dir=c.lG2({type:I,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(S,U){2&S&&c.ekj("ng-untouched",U.isUntouched)("ng-touched",U.isTouched)("ng-pristine",U.isPristine)("ng-dirty",U.isDirty)("ng-valid",U.isValid)("ng-invalid",U.isInvalid)("ng-pending",U.isPending)("ng-submitted",U.isSubmitted)},features:[c.qOj]}),I})();const fr="VALID",hr="INVALID",an="PENDING",pr="DISABLED";function Ze(I){return(lt(I)?I.validators:I)||null}function ve(I,T){return(lt(T)?T.asyncValidators:I)||null}function lt(I){return null!=I&&!Array.isArray(I)&&"object"==typeof I}function Qt(I,T,S){const U=I.controls;if(!(T?Object.keys(U):U).length)throw new c.vHH(1e3,"");if(!U[S])throw new c.vHH(1001,"")}
vendor: 5,789 bytes, line 1
1function Dn(I,T,S){I._forEachChild((U,Ye)=>{if(void 0===S[Ye])throw new c.vHH(1002,"")})}class wn{constructor(T,S){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(T),this._assignAsyncValidators(S)}get validator(){return this._composedValidatorFn}set validator(T){this._rawValidators=this._composedValidatorFn=T}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(T){this._rawAsyncValidators=this._composedAsyncValidatorFn=T}get parent(){return this._parent}get valid(){return this.status===fr}get invalid(){return this.status===hr}get pending(){return this.status==an}get disabled(){return this.status===pr}get enabled(){return this.status!==pr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(T){this._assignValidators(T)}setAsyncValidators(T){this._assignAsyncValidators(T)}addValidators(T){this.setValidators(Nn(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(Nn(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(An(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(An(T,this._rawAsyncValidators))}hasValidator(T){return Tt(this._rawValidators,T)}hasAsyncValidator(T){return Tt(this._rawAsyncValidators,T)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(T={}){this.touched=!0,this._parent&&!T.onlySelf&&this._parent.markAsTouched(T)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(T=>T.markAllAsTouched())}markAsUntouched(T={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(S=>{S.markAsUntouched({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}markAsDirty(T={}){this.pristine=!1,this._parent&&!T.onlySelf&&this._parent.markAsDirty(T)}markAsPristine(T={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(S=>{S.markAsPristine({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}markAsPending(T={}){this.status=an,!1!==T.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!T.onlySelf&&this._parent.markAsPending(T)}disable(T={}){const S=this._parentMarkedDirty(T.onlySelf);this.status=pr,this.errors=null,this._forEachChild(U=>{U.disable({...T,onlySelf:!0})}),this._updateValue(),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:S}),this._onDisabledChange.forEach(U=>U(!0))}enable(T={}){const S=this._parentMarkedDirty(T.onlySelf);this.status=fr,this._forEachChild(U=>{U.enable({...T,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:S}),this._onDisabledChange.forEach(U=>U(!1))}_updateAncestors(T){this._parent&&!T.onlySelf&&(this._parent.updateValueAndValidity(T),T.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(T){this._parent=T}getRawValue(){return this.value}updateValueAndValidity(T={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fr||this.status===an)&&this._runAsyncValidator(T.emitEvent)),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!T.onlySelf&&this._parent.updateValueAndValidity(T)}_updateTreeValidity(T={emitEvent:!0}){this._forEachChild(S=>S._updateTreeValidity(T)),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pr:fr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T){if(this.asyncValidator){this.status=an,this._hasOwnPendingAsyncValidator=!0;const S=et(this.asyncValidator(this));this._asyncValidationSubscription=S.subscribe(U=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(U,{emitEvent:T})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(T,S={}){this.errors=T,this._updateControlsErrors(!1!==S.emitEvent)}get(T){let S=T;return null==S||(Array.isArray(S)||(S=S.split(".")),0===S.length)?null:S.reduce((U,Ye)=>U&&U._find(Ye),this)}getError(T,S){const U=S?this.get(S):this;return U&&U.errors?U.errors[T]:null}hasError(T,S){return!!this.getError(T,S)}get root(){let T=this;for(;T._parent;)T=T._parent;return T}_updateControlsErrors(T){this.status=this._calculateStatus(),T&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(T)}_initObservables(){this.valueChanges=new c.vpe,this.statusChanges=new c.vpe}_calculateStatus(){return this._allControlsDisabled()?pr:this.errors?hr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(an)?an:this._anyControlsHaveStatus(hr)?hr:fr}_anyControlsHaveStatus(T){return this._anyControls(S=>S.status===T)}_anyControlsDirty(){return this._anyControls(T=>T.dirty)}_anyControlsTouched(){return this._anyControls(T=>T.touched)}_updatePristine(T={}){this.pristine=!this._anyControlsDirty(),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}_updateTouched(T={}){this.touched=this._anyControlsTouched(),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}_registerOnCollectionChange(T){this._onCollectionChange=T}_setUpdateStrategy(T){lt(T)&&null!=T.updateOn&&(this._updateOn=T.updateOn)}_parentMarkedDirty(T){return!T&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
vendor: 4,444 bytes, line 1
1_find(T){return null}_assignValidators(T){this._rawValidators=Array.isArray(T)?T.slice():T,this._composedValidatorFn=function de(I){return Array.isArray(I)?Dt(I):I||null}(this._rawValidators)}_assignAsyncValidators(T){this._rawAsyncValidators=Array.isArray(T)?T.slice():T,this._composedAsyncValidatorFn=function pt(I){return Array.isArray(I)?rt(I):I||null}(this._rawAsyncValidators)}}class Gt extends wn{constructor(T,S,U){super(Ze(S),ve(U,S)),this.controls=T,this._initObservables(),this._setUpdateStrategy(S),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(T,S){return this.controls[T]?this.controls[T]:(this.controls[T]=S,S.setParent(this),S._registerOnCollectionChange(this._onCollectionChange),S)}addControl(T,S,U={}){this.registerControl(T,S),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}removeControl(T,S={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange(()=>{}),delete this.controls[T],this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}setControl(T,S,U={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange(()=>{}),delete this.controls[T],S&&this.registerControl(T,S),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}contains(T){return this.controls.hasOwnProperty(T)&&this.controls[T].enabled}setValue(T,S={}){Dn(this,0,T),Object.keys(T).forEach(U=>{Qt(this,!0,U),this.controls[U].setValue(T[U],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S)}patchValue(T,S={}){null!=T&&(Object.keys(T).forEach(U=>{const Ye=this.controls[U];Ye&&Ye.patchValue(T[U],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S))}reset(T={},S={}){this._forEachChild((U,Ye)=>{U.reset(T[Ye],{onlySelf:!0,emitEvent:S.emitEvent})}),this._updatePristine(S),this._updateTouched(S),this.updateValueAndValidity(S)}getRawValue(){return this._reduceChildren({},(T,S,U)=>(T[U]=S.getRawValue(),T))}_syncPendingControls(){let T=this._reduceChildren(!1,(S,U)=>!!U._syncPendingControls()||S);return T&&this.updateValueAndValidity({onlySelf:!0}),T}_forEachChild(T){Object.keys(this.controls).forEach(S=>{const U=this.controls[S];U&&T(U,S)})}_setUpControls(){this._forEachChild(T=>{T.setParent(this),T._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(T){for(const[S,U]of Object.entries(this.controls))if(this.contains(S)&&T(U))return!0;return!1}_reduceValue(){return this._reduceChildren({},(S,U,Ye)=>((U.enabled||this.disabled)&&(S[Ye]=U.value),S))}_reduceChildren(T,S){let U=T;return this._forEachChild((Ye,$t)=>{U=S(U,Ye,$t)}),U}_allControlsDisabled(){for(const T of Object.keys(this.controls))if(this.controls[T].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(T){return this.controls.hasOwnProperty(T)?this.controls[T]:null}}class Wn extends Gt{}const ge=new c.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>ue}),ue="always";function Ge(I,T,S=ue){or(I,T),T.valueAccessor.writeValue(I.value),(I.disabled||"always"===S)&&T.valueAccessor.setDisabledState?.(I.disabled),function xr(I,T){T.valueAccessor.registerOnChange(S=>{I._pendingValue=S,I._pendingChange=!0,I._pendingDirty=!0,"change"===I.updateOn&&si(I,T)})}(I,T),function Jr(I,T){const S=(U,Ye)=>{T.valueAccessor.writeValue(U),Ye&&T.viewToModelUpdate(U)};I.registerOnChange(S),T._registerOnDestroy(()=>{I._unregisterOnChange(S)})}(I,T),function Xr(I,T){T.valueAccessor.registerOnTouched(()=>{I._pendingTouched=!0,"blur"===I.updateOn&&I._pendingChange&&si(I,T),"submit"!==I.updateOn&&I.markAsTouched()})}(I,T),function sn(I,T){if(T.valueAccessor.setDisabledState){const S=U=>{T.valueAccessor.setDisabledState(U)};I.registerOnDisabledChange(S),T._registerOnDestroy(()=>{I._unregisterOnDisabledChange(S)})}}(I,T)}function nt(I,T,S=!0){const U=()=>{};T.valueAccessor&&(T.valueAccessor.registerOnChange(U),T.valueAccessor.registerOnTouched(U)),Xn(I,T),I&&(T._invokeOnDestroyCallbacks(),I._registerOnCollectionChange(()=>{}))}function Ft(I,T){I.forEach(S=>{S.registerOnValidatorChange&&S.registerOnValidatorChange(T)})}function or(I,T){const S=X(I);null!==T.validator?I.setValidators(z(S,T.validator)):"function"==typeof S&&I.setValidators([S]);const U=Je(I);null!==T.asyncValidator?I.setAsyncValidators(z(U,T.asyncValidator)):"function"==typeof U&&I.setAsyncValidators([U]);const Ye=()=>
1I.updateValueAndValidity();Ft(T._rawValidators,Ye),Ft(T._rawAsyncValidators,Ye)}function Xn(I,T){let S=!1;if(null!==I){if(null!==T.validator){const Ye=X(I);if(Array.isArray(Ye)&&Ye.length>0){const $t=Ye.filter(Mr=>Mr!==T.validator);$t.length!==Ye.length&&(S=!0,I.setValidators($t))}}if(null!==T.asyncValidator){const Ye=Je(I);if(Array.isArray(Ye)&&Ye.length>0){const $t=Ye.filter(Mr=>Mr!==T.asyncValidator);$t.length!==Ye.length&&(S=!0,I.setAsyncValidators($t))}}}const U=()=>{};return Ft(T._rawValidators,U),Ft(T._rawAsyncValidators,U),S}function si(I,T){I._pendingDirty&&I.markAsDirty(),I.setValue(I._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(I._pendingValue),I._pendingChange=!1}function R(I,T){if(!I.hasOwnProperty("model"))return!1;const S=I.model;return!!S.isFirstChange()||!Object.is(T,S.currentValue)}function K(I,T){if(!T)return null;let S,U,Ye;return Array.isArray(T),T.forEach($t=>{$t.constructor===q?S=$t:function j(I){return Object.getPrototypeOf(I.constructor)===J}($t)?U=$t:Ye=$t}),Ye||U||S||null}function Nt(I,T){const S=I.indexOf(T);S>-1&&I.splice(S,1)}function kt(I){return"object"==typeof I&&null!==I&&2===Object.keys(I).length&&"value"in I&&"disabled"in I}const Rn=class extends wn{constructor(T=null,S,U){super(Ze(S),ve(U,S)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(S),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),lt(S)&&(S.nonNullable||S.initialValueIsDefault)&&(this.defaultValue=kt(T)?T.value:T)}setValue(T,S={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==S.emitModelToViewChange&&this._onChange.forEach(U=>U(this.value,!1!==S.emitViewToModelChange)),this.updateValueAndValidity(S)}patchValue(T,S={}){this.setValue(T,S)}reset(T=this.defaultValue,S={}){this._applyFormState(T),this.markAsPristine(S),this.markAsUntouched(S),this.setValue(this.value,S),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){Nt(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){Nt(this._onDisabledChange,T)}_forEachChild(T){}_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(T){kt(T)?(this.value=this._pendingValue=T.value,T.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=T}},oi={provide:xn,useExisting:(0,c.Gpc)(()=>wi)},ei=(()=>Promise.resolve())();let wi=(()=>{class I extends xn{constructor(S,U,Ye,$t,Mr,$e){super(),this._changeDetectorRef=Mr,this.callSetDisabledState=$e,this.control=new Rn,this._registered=!1,this.update=new c.vpe,this._parent=S,this._setValidators(U),this._setAsyncValidators(Ye),this.valueAccessor=K(0,$t)}ngOnChanges(S){if(this._checkForErrors(),!this._registered||"name"in S){if(this._registered&&(this._checkName(),this.formDirective)){const U=S.name.previousValue;this.formDirective.removeControl({name:U,path:this._getPath(U)})}this._setUpControl()}"isDisabled"in S&&this._updateDisabled(S),R(S,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ge(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(S){ei.then(()=>{this.control.setValue(S,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(S){const U=S.isDisabled.currentValue,Ye=0!==U&&(0,c.D6c)(U);ei.then(()=>{Ye&&!this.control.disabled?this.control.disable():!Ye&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(S){return this._parent?function Z(I,T){return[...T.path,I]}(S,this._parent):[S]}}return I.\u0275fac=function(S){return new(S||I)(c.Y36(Mn,9),c.Y36(me,10),c.Y36(Pe,10),c.Y36(se,10),c.Y36(c.sBO,8),c.Y36(ge,8))},I.\u0275dir=c.lG2({type:I,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[c._Bn([oi]),c.qOj,c.TTD]}),I})(),Jn=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275dir=c.lG2({type:I,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),I})(),Vi=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=c.oAB({type:I}),I.\u0275inj=c.cJS({}),I})();const _e=new c.OlP("NgModelWithFormControlWarning"),je={provide:xn,useExisting:(0,c.Gpc)(()=>Et)};let Et=(()=>{class I extends xn{set isDisabled(S){}constructor(S,U,Ye,$t,Mr){super(),this._ngModelWarningConfig=$t,this.callSetDisabledState=Mr,this.update=new c.vpe,this._ngModelWarningSent=!1,this._setValidators(S),this._setAsyncValidators(U),this.valueAccessor=K(0,Ye)}ngOnChanges(S){if(this._isControlChanged(S)){const U=S.form.previousValue;U&&nt(U,this,!1),Ge(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}R(S,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}
1ngOnDestroy(){this.form&&nt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}_isControlChanged(S){return S.hasOwnProperty("form")}}return I._ngModelWarningSentOnce=!1,I.\u0275fac=function(S){return new(S||I)(c.Y36(me,10),c.Y36(Pe,10),c.Y36(se,10),c.Y36(_e,8),c.Y36(ge,8))},I.\u0275dir=c.lG2({type:I,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[c._Bn([je]),c.qOj,c.TTD]}),I})();const It={provide:Mn,useExisting:(0,c.Gpc)(()=>Zt)};let Zt=(()=>{class I extends Mn{constructor(S,U,Ye){super(),this.callSetDisabledState=Ye,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new c.vpe,this._setValidators(S),this._setAsyncValidators(U)}ngOnChanges(S){this._checkFormPresent(),S.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Xn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(S){const U=this.form.get(S.path);return Ge(U,S,this.callSetDisabledState),U.updateValueAndValidity({emitEvent:!1}),this.directives.push(S),U}getControl(S){return this.form.get(S.path)}
1removeControl(S){nt(S.control||null,S,!1),function Re(I,T){const S=I.indexOf(T);S>-1&&I.splice(S,1)}(this.directives,S)}addFormGroup(S){this._setUpFormContainer(S)}removeFormGroup(S){this._cleanUpFormContainer(S)}getFormGroup(S){return this.form.get(S.path)}addFormArray(S){this._setUpFormContainer(S)}removeFormArray(S){this._cleanUpFormContainer(S)}getFormArray(S){return this.form.get(S.path)}updateModel(S,U){this.form.get(S.path).setValue(U)}onSubmit(S){return this.submitted=!0,function G(I,T){I._syncPendingControls(),T.forEach(S=>{const U=S.control;"submit"===U.updateOn&&U._pendingChange&&(S.viewToModelUpdate(U._pendingValue),U._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(S),"dialog"===S?.target?.method}onReset(){this.resetForm()}resetForm(S){this.form.reset(S),this.submitted=!1}_updateDomValue(){this.directives.forEach(S=>{const U=S.control,Ye=this.form.get(S.path);U!==Ye&&(nt(U||null,S),(I=>I instanceof Rn)(Ye)&&(Ge(Ye,S,this.callSetDisabledState),S.control=Ye))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(S){const U=this.form.get(S.path);(function Ei(I,T){or(I,T)})(U,S),U.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(S){if(this.form){const U=this.form.get(S.path);U&&function Ri(I,T){return Xn(I,T)}(U,S)&&U.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){or(this.form,this),this._oldForm&&Xn(this._oldForm,this)}_checkFormPresent(){}}return I.\u0275fac=function(S){return new(S||I)(c.Y36(me,10),c.Y36(Pe,10),c.Y36(ge,8))},I.\u0275dir=c.lG2({type:I,selectors:[["","formGroup",""]],hostBindings:function(S,U){1&S&&c.NdJ("submit",function($t){return U.onSubmit($t)})("reset",function(){return U.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([It]),c.qOj,c.TTD]}),I})();let Si=(()=>{class I{constructor(){this._validator=Ie}ngOnChanges(S){if(this.inputName in S){const U=this.normalizeInput(S[this.inputName].currentValue);this._enabled=this.enabled(U),this._validator=this._enabled?this.createValidator(U):Ie,this._onChange&&this._onChange()}}validate(S){return this._validator(S)}registerOnValidatorChange(S){this._onChange=S}enabled(S){return null!=S}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275dir=c.lG2({type:I,features:[c.TTD]}),I})();const $i={provide:me,useExisting:(0,c.Gpc)(()=>os),multi:!0};let os=(()=>{class I extends Si{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=S=>function Zi(I){return"number"==typeof I?I:parseInt(I,10)}(S),this.createValidator=S=>fe(S)}}return I.\u0275fac=function(){let T;return function(U){return(T||(T=c.n5z(I)))(U||I)}}(),I.\u0275dir=c.lG2({type:I,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(S,U){2&S&&c.uIk("maxlength",U._enabled?U.maxlength:null)},inputs:{maxlength:"maxlength"},features:[c._Bn([$i]),c.qOj]}),I})();const Er={provide:me,useExisting:(0,c.Gpc)(()=>Sn),multi:!0};let Sn=(()=>{class I extends Si{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=S=>S,this.createValidator=S=>ie(S)}}return I.\u0275fac=function(){let T;return function(U){return(T||(T=c.n5z(I)))(U||I)}}(),I.\u0275dir=c.lG2({type:I,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(S,U){2&S&&c.uIk("pattern",U._enabled?U.pattern:null)},inputs:{pattern:"pattern"},features:[c._Bn([Er]),c.qOj]}),I})(),xs=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=c.oAB({type:I}),I.\u0275inj=c.cJS({imports:[Vi]}),I})();class as extends wn{constructor(T,S,U){super(Ze(S),ve(U,S)),this.controls=T,this._initObservables(),this._setUpdateStrategy(S),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(T){return this.controls[this._adjustIndex(T)]}push(T,S={}
1){this.controls.push(T),this._registerControl(T),this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}insert(T,S,U={}){this.controls.splice(T,0,S),this._registerControl(S),this.updateValueAndValidity({emitEvent:U.emitEvent})}removeAt(T,S={}){let U=this._adjustIndex(T);U<0&&(U=0),this.controls[U]&&this.controls[U]._registerOnCollectionChange(()=>{}),this.controls.splice(U,1),this.updateValueAndValidity({emitEvent:S.emitEvent})}setControl(T,S,U={}){let Ye=this._adjustIndex(T);Ye<0&&(Ye=0),this.controls[Ye]&&this.controls[Ye]._registerOnCollectionChange(()=>{}),this.controls.splice(Ye,1),S&&(this.controls.splice(Ye,0,S),this._registerControl(S)),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(T,S={}){Dn(this,0,T),T.forEach((U,Ye)=>{Qt(this,!1,Ye),this.at(Ye).setValue(U,{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S)}patchValue(T,S={}){null!=T&&(T.forEach((U,Ye)=>{this.at(Ye)&&this.at(Ye).patchValue(U,{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S))}reset(T=[],S={}){this._forEachChild((U,Ye)=>{U.reset(T[Ye],{onlySelf:!0,emitEvent:S.emitEvent})}),this._updatePristine(S),this._updateTouched(S),this.updateValueAndValidity(S)}getRawValue(){return this.controls.map(T=>T.getRawValue())}clear(T={}){this.controls.length<1||(this._forEachChild(S=>S._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:T.emitEvent}))}_adjustIndex(T){return T<0?T+this.length:T}_syncPendingControls(){let T=this.controls.reduce((S,U)=>!!U._syncPendingControls()||S,!1);return T&&this.updateValueAndValidity({onlySelf:!0}),T}_forEachChild(T){this.controls.forEach((S,U)=>{T(S,U)})}_updateValue(){this.value=this.controls.filter(T=>T.enabled||this.disabled).map(T=>T.value)}_anyControls(T){return this.controls.some(S=>S.enabled&&T(S))}_setUpControls(){this._forEachChild(T=>this._registerControl(T))}_allControlsDisabled(){for(const T of this.controls)if(T.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(T){T.setParent(this),T._registerOnCollectionChange(this._onCollectionChange)}_find(T){return this.at(T)??null}}function Br(I){return!!I&&(void 0!==I.asyncValidators||void 0!==I.validators||void 0!==I.updateOn)}let Ai=(()=>{class I{constructor(){this.useNonNullable=!1}get nonNullable(){const S=new I;return S.useNonNullable=!0,S}group(S,U=null){const Ye=this._reduceControls(S);let $t={};return Br(U)?$t=U:null!==U&&($t.validators=U.validator,$t.asyncValidators=U.asyncValidator),new Gt(Ye,$t)}record(S,U=null){const Ye=this._reduceControls(S);return new Wn(Ye,U)}control(S,U,Ye){let $t={};return this.useNonNullable?(Br(U)?$t=U:($t.validators=U,$t.asyncValidators=Ye),new Rn(S,{...$t,nonNullable:!0})):new Rn(S,U,Ye)}array(S,U,Ye){const $t=S.map(Mr=>this._createControl(Mr));return new as($t,U,Ye)}_reduceControls(S){const U={};return Object.keys(S).forEach(Ye=>{U[Ye]=this._createControl(S[Ye])}),U}_createControl(S){return S instanceof Rn||S instanceof wn?S:Array.isArray(S)?this.control(S[0],S.length>1?S[1]:null,S.length>2?S[2]:null):this.control(S)}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=c.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),rn=(()=>{class I{static withConfig(S){return{ngModule:I,providers:[{provide:ge,useValue:S.callSetDisabledState??ue}]}}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=c.oAB({type:I}),I.\u0275inj=c.cJS({imports:[xs]}),I})(),Fi=(()=>{class I{static withConfig(S){return{ngModule:I,providers:[{provide:_e,useValue:S.warnOnNgModelWithFormControl??"always"},{provide:ge,useValue:S.callSetDisabledState??ue}]}}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=c.oAB({type:I}),I.\u0275inj=c.cJS({imports:[xs]}),I})()},1481:(wt,Te,w)=>{"use strict";w.d(Te,{Dx:()=>ke,b2:()=>ir,q6:()=>nr,se:()=>Ie});var c=w(6895),E=w(4650);class L extends c.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ce extends L{static makeCurrent(){(0,c.HT)(new ce)}onAndCancel(ue,Z,Ge){return ue.addEventListener(Z,Ge,!1),()=>{ue.removeEventListener(Z,Ge,!1)}}dispatchEvent(ue,Z){ue.dispatchEvent(Z)}remove(ue){ue.parentNode&&ue.parentNode.removeChild(ue)}createElement(ue,Z){return(Z=Z||this.getDefaultDocument()).createElement(ue)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ue){return ue.nodeType===Node.ELEMENT_NODE}isShadowRoot(ue){return ue instanceof DocumentFragment}getGlobalEventTarget(ue,Z){return"window"===Z?window:"document"===Z?ue:"body"===Z?ue.body:null}getBaseHref(ue){const Z=function oe(){return v=v||document.querySelector("base"),v?v.getAttribute("href"):null}();return null==Z?null:function se(ge){J=J||document.createElement("a"),J.setAttribute("href",ge);const ue=J.pathname;return"/"===ue.charAt(0)?ue:`/${ue}`}(Z)}resetBaseElement(){v=null}getUserAgent(){return window.navigator.userAgent}getCookie(ue){return(0,c.Mx)(document.cookie,ue)}}let J,v=null;const he=new E.OlP("TRANSITION_ID"),re=[{provide:E.ip1,useFactory:function pe(ge,ue,Z){return()=>{Z.get(E.CZH).donePromise.then(()=>
1{const Ge=(0,c.q)(),nt=ue.querySelectorAll(`style[ng-transition="${ge}"]`);for(let Ft=0;Ft<nt.length;Ft++)Ge.remove(nt[Ft])})}},deps:[he,c.K0,E.zs3],multi:!0}];let le=(()=>{class ge{build(){return new XMLHttpRequest}}return ge.\u0275fac=function(Z){return new(Z||ge)},ge.\u0275prov=E.Yz7({token:ge,factory:ge.\u0275fac}),ge})();const q=new E.OlP("EventManagerPlugins");let Be=(()=>{class ge{constructor(Z,Ge){this._zone=Ge,this._eventNameToPlugin=new Map,Z.forEach(nt=>nt.manager=this),this._plugins=Z.slice().reverse()}addEventListener(Z,Ge,nt){return this._findPluginFor(Ge).addEventListener(Z,Ge,nt)}addGlobalEventListener(Z,Ge,nt){return this._findPluginFor(Ge).addGlobalEventListener(Z,Ge,nt)}getZone(){return this._zone}_findPluginFor(Z){const Ge=this._eventNameToPlugin.get(Z);if(Ge)return Ge;const nt=this._plugins;for(let Ft=0;Ft<nt.length;Ft++){const sn=nt[Ft];if(sn.supports(Z))return this._eventNameToPlugin.set(Z,sn),sn}throw new Error(`No event manager plugin found for event ${Z}`)}}return ge.\u0275fac=function(Z){return new(Z||ge)(E.LFG(q),E.LFG(E.R0b))},ge.\u0275prov=E.Yz7({token:ge,factory:ge.\u0275fac}),ge})();class ht{constructor(ue){this._doc=ue}addGlobalEventListener(ue,Z,Ge){const nt=(0,c.q)().getGlobalEventTarget(this._doc,ue);if(!nt)throw new Error(`Unsupported event target ${nt} for event ${Z}`);return this.addEventListener(nt,Z,Ge)}}let Fe=(()=>{class ge{constructor(){this._stylesSet=new Set}addStyles(Z){const Ge=new Set;Z.forEach(nt=>{this._stylesSet.has(nt)||(this._stylesSet.add(nt),Ge.add(nt))}),this.onStylesAdded(Ge)}onStylesAdded(Z){}getAllStyles(){return Array.from(this._stylesSet)}}return ge.\u0275fac=function(Z){return new(Z||ge)},ge.\u0275prov=E.Yz7({token:ge,factory:ge.\u0275fac}),ge})(),me=(()=>{class ge extends Fe{constructor(Z){super(),this._doc=Z,this._hostNodes=new Map,this._hostNodes.set(Z.head,[])}_addStylesToHost(Z,Ge,nt){Z.forEach(Ft=>{const sn=this._doc.createElement("style");sn.textContent=Ft,nt.push(Ge.appendChild(sn))})}addHost(Z){const Ge=[];this._addStylesToHost(this._stylesSet,Z,Ge),this._hostNodes.set(Z,Ge)}removeHost(Z){const Ge=this._hostNodes.get(Z);Ge&&Ge.forEach(Pe),this._hostNodes.delete(Z)}onStylesAdded(Z){this._hostNodes.forEach((Ge,nt)=>{this._addStylesToHost(Z,nt,Ge)})}ngOnDestroy(){this._hostNodes.forEach(Z=>Z.forEach(Pe))}}return ge.\u0275fac=function(Z){return new(Z||ge)(E.LFG(c.K0))},ge.\u0275prov=E.Yz7({token:ge,factory:ge.\u0275fac}),ge})();function Pe(ge){(0,c.q)().remove(ge)}const we={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ae=/%COMP%/g;function fe(ge,ue){return ue.flat(100).map(Z=>Z.replace(Ae,ge))}function ie(ge){return ue=>{if("__ngUnwrap__"===ue)return ge;!1===ge(ue)&&(ue.preventDefault(),ue.returnValue=!1)}}let Ie=(()=>{class ge{constructor(Z,Ge,nt){this.eventManager=Z,this.sharedStylesHost=Ge,this.appId=nt,this.rendererByCompId=new Map,this.defaultRenderer=new be(Z)}createRenderer(Z,Ge){if(!Z||!Ge)return this.defaultRenderer;switch(Ge.encapsulation){case E.ifc.Emulated:{let nt=this.rendererByCompId.get(Ge.id);return nt||(nt=new ye(this.eventManager,this.sharedStylesHost,Ge,this.appId),this.rendererByCompId.set(Ge.id,nt)),nt.applyToHost(Z),nt}case E.ifc.ShadowDom:return new Se(this.eventManager,this.sharedStylesHost,Z,Ge);default:if(!this.rendererByCompId.has(Ge.id)){const nt=fe(Ge.id,Ge.styles);this.sharedStylesHost.addStyles(nt),this.rendererByCompId.set(Ge.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ge.\u0275fac=function(Z){return new(Z||ge)(E.LFG(Be),E.LFG(me),E.LFG(E.AFp))},ge.\u0275prov=E.Yz7({token:ge,factory:ge.\u0275fac}),ge})();class be{constructor(ue){this.eventManager=ue,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ue,Z){return Z?document.createElementNS(we[Z]||Z,ue):document.createElement(ue)}createComment(ue){return document.createComment(ue)}createText(ue){return document.createTextNode(ue)}appendChild(ue,Z){(Xe(ue)?ue.content:ue).appendChild(Z)}insertBefore(ue,Z,Ge){ue&&(Xe(ue)?ue.content:ue).insertBefore(Z,Ge)}removeChild(ue,Z){ue&&ue.removeChild(Z)}selectRootElement(ue,Z){let Ge="string"==typeof ue?document.querySelector(ue):ue;if(!Ge)throw new Error(`The selector "${ue}
1" did not match any elements`);return Z||(Ge.textContent=""),Ge}parentNode(ue){return ue.parentNode}nextSibling(ue){return ue.nextSibling}setAttribute(ue,Z,Ge,nt){if(nt){Z=nt+":"+Z;const Ft=we[nt];Ft?ue.setAttributeNS(Ft,Z,Ge):ue.setAttribute(Z,Ge)}else ue.setAttribute(Z,Ge)}removeAttribute(ue,Z,Ge){if(Ge){const nt=we[Ge];nt?ue.removeAttributeNS(nt,Z):ue.removeAttribute(`${Ge}:${Z}`)}else ue.removeAttribute(Z)}addClass(ue,Z){ue.classList.add(Z)}removeClass(ue,Z){ue.classList.remove(Z)}setStyle(ue,Z,Ge,nt){nt&(E.JOm.DashCase|E.JOm.Important)?ue.style.setProperty(Z,Ge,nt&E.JOm.Important?"important":""):ue.style[Z]=Ge}removeStyle(ue,Z,Ge){Ge&E.JOm.DashCase?ue.style.removeProperty(Z):ue.style[Z]=""}setProperty(ue,Z,Ge){ue[Z]=Ge}setValue(ue,Z){ue.nodeValue=Z}listen(ue,Z,Ge){return"string"==typeof ue?this.eventManager.addGlobalEventListener(ue,Z,ie(Ge)):this.eventManager.addEventListener(ue,Z,ie(Ge))}}function Xe(ge){return"TEMPLATE"===ge.tagName&&void 0!==ge.content}class ye extends be{constructor(ue,Z,Ge,nt){super(ue),this.component=Ge;const Ft=fe(nt+"-"+Ge.id,Ge.styles);Z.addStyles(Ft),this.contentAttr=function it(ge){return"_ngcontent-%COMP%".replace(Ae,ge)}(nt+"-"+Ge.id),this.hostAttr=function ae(ge){return"_nghost-%COMP%".replace(Ae,ge)}(nt+"-"+Ge.id)}applyToHost(ue){super.setAttribute(ue,this.hostAttr,"")}createElement(ue,Z){const Ge=super.createElement(ue,Z);return super.setAttribute(Ge,this.contentAttr,""),Ge}}class Se extends be{constructor(ue,Z,Ge,nt){super(ue),this.sharedStylesHost=Z,this.hostEl=Ge,this.shadowRoot=Ge.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ft=fe(nt.id,nt.styles);for(let sn=0;sn<Ft.length;sn++){const or=document.createElement("style");or.textContent=Ft[sn],this.shadowRoot.appendChild(or)}}nodeOrShadowRoot(ue){return ue===this.hostEl?this.shadowRoot:ue}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(ue,Z){return super.appendChild(this.nodeOrShadowRoot(ue),Z)}insertBefore(ue,Z,Ge){return super.insertBefore(this.nodeOrShadowRoot(ue),Z,Ge)}removeChild(ue,Z){return super.removeChild(this.nodeOrShadowRoot(ue),Z)}parentNode(ue){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ue)))}}let Le=(()=>{class ge extends ht{constructor(Z){super(Z)}supports(Z){return!0}addEventListener(Z,Ge,nt){return Z.addEventListener(Ge,nt,!1),()=>this.removeEventListener(Z,Ge,nt)}removeEventListener(Z,Ge,nt){return Z.removeEventListener(Ge,nt)}}return ge.\u0275fac=function(Z){return new(Z||ge)(E.LFG(c.K0))},ge.\u0275prov=E.Yz7({token:ge,factory:ge.\u0275fac}),ge})();const Dt=["alt","control","meta","shift"],Ee={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},rt={alt:ge=>ge.altKey,control:ge=>ge.ctrlKey,meta:ge=>ge.metaKey,shift:ge=>ge.shiftKey};let z=(()=>{class ge extends ht{constructor(Z){super(Z)}supports(Z){return null!=ge.parseEventName(Z)}addEventListener(Z,Ge,nt){const Ft=ge.parseEventName(Ge),sn=ge.eventCallback(Ft.fullKey,nt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.q)().onAndCancel(Z,Ft.domEventName,sn))}static parseEventName(Z){const Ge=Z.toLowerCase().split("."),nt=Ge.shift();if(0===Ge.length||"keydown"!==nt&&"keyup"!==nt)return null;const Ft=ge._normalizeKey(Ge.pop());let sn="",or=Ge.indexOf("code");if(or>-1&&(Ge.splice(or,1),sn="code."),Dt.forEach(xr=>{const Xr=Ge.indexOf(xr);Xr>-1&&(Ge.splice(Xr,1),sn+=xr+".")}),sn+=Ft,0!=Ge.length||0===Ft.length)return null;const Xn={};return Xn.domEventName=nt,Xn.fullKey=sn,Xn}static matchEventFullKeyCode(Z,Ge){let nt=Ee[Z.key]||Z.key,Ft="";return Ge.indexOf("code.")>-1&&(nt=Z.code,Ft="code."),!(null==nt||!nt)&&(nt=nt.toLowerCase()," "===nt?nt="space":"."===nt&&(nt="dot"),Dt.forEach(sn=>{sn!==nt&&(0,rt[sn])(Z)&&(Ft+=sn+".")}),Ft+=nt,Ft===Ge)}static eventCallback(Z,Ge,nt){return Ft=>{ge.matchEventFullKeyCode(Ft,Z)&&nt.runGuarded(()=>Ge(Ft))}}static _normalizeKey(Z){return"esc"===Z?"escape":Z}}return ge.\u0275fac=function(Z){return new(Z||ge)(E.LFG(c.K0))},ge.\u0275prov=E.Yz7({token:ge,factory:ge.\u0275fac}),ge})();const nr=(0,E.eFA)(E._c5,"browser",[{provide:E.Lbi,useValue:c.bD},{provide:E.g9A,useValue:function An(){ce.makeCurrent()},multi:!0},{provide:c.K0,useFactory:function Mn(){return(0,E.RDi)(document),document},deps:[]}]),Kr=new E.OlP(""),on=[{provide:E.rWj,useClass:class te{addToWindow(ue){E.dqk.getAngularTestability=(Ge,nt=!0)=>
1{const Ft=ue.findTestabilityInTree(Ge,nt);if(null==Ft)throw new Error("Could not find testability for element.");return Ft},E.dqk.getAllAngularTestabilities=()=>ue.getAllTestabilities(),E.dqk.getAllAngularRootElements=()=>ue.getAllRootElements(),E.dqk.frameworkStabilizers||(E.dqk.frameworkStabilizers=[]),E.dqk.frameworkStabilizers.push(Ge=>{const nt=E.dqk.getAllAngularTestabilities();let Ft=nt.length,sn=!1;const or=function(Xn){sn=sn||Xn,Ft--,0==Ft&&Ge(sn)};nt.forEach(function(Xn){Xn.whenStable(or)})})}findTestabilityInTree(ue,Z,Ge){return null==Z?null:ue.getTestability(Z)??(Ge?(0,c.q)().isShadowRoot(Z)?this.findTestabilityInTree(ue,Z.host,!0):this.findTestabilityInTree(ue,Z.parentElement,!0):null)}},deps:[]},{provide:E.lri,useClass:E.dDg,deps:[E.R0b,E.eoX,E.rWj]},{provide:E.dDg,useClass:E.dDg,deps:[E.R0b,E.eoX,E.rWj]}],kn=[{provide:E.zSh,useValue:"root"},{provide:E.qLn,useFactory:function En(){return new E.qLn},deps:[]},{provide:q,useClass:Le,multi:!0,deps:[c.K0,E.R0b,E.Lbi]},{provide:q,useClass:z,multi:!0,deps:[c.K0]},{provide:Ie,useClass:Ie,deps:[Be,me,E.AFp]},{provide:E.FYo,useExisting:Ie},{provide:Fe,useExisting:me},{provide:me,useClass:me,deps:[c.K0]},{provide:Be,useClass:Be,deps:[q,E.R0b]},{provide:c.JF,useClass:le,deps:[]},[]];let ir=(()=>{class ge{constructor(Z){}static withServerTransition(Z){return{ngModule:ge,providers:[{provide:E.AFp,useValue:Z.appId},{provide:he,useExisting:E.AFp},re]}}}return ge.\u0275fac=function(Z){return new(Z||ge)(E.LFG(Kr,12))},ge.\u0275mod=E.oAB({type:ge}),ge.\u0275inj=E.cJS({providers:[...kn,...on],imports:[c.ez,E.hGG]}),ge})(),ke=(()=>{class ge{constructor(Z){this._doc=Z}getTitle(){return this._doc.title}setTitle(Z){this._doc.title=Z||""}}return ge.\u0275fac=function(Z){return new(Z||ge)(E.LFG(c.K0))},ge.\u0275prov=E.Yz7({token:ge,factory:function(Z){let Ge=null;return Ge=Z?new Z:function He(){return new ke((0,E.LFG)(c.K0))}(),Ge},providedIn:"root"}),ge})();typeof window<"u"&&window},8018:(wt,Te,w)=>{"use strict";w.d(Te,{gz:()=>yn,OD:()=>kt,F0:()=>ln,Bz:()=>Mo,lC:()=>Ms});var c=w(4650),E=w(457),L=w(9646),ce=w(1135),v=w(6805),oe=w(9841),J=w(7272),se=w(9770),he=w(9635),pe=w(2843),re=w(9751),te=w(515),le=w(727),q=w(4482),Be=w(5403);function ht(){return(0,q.e)((m,y)=>{let f=null;m._refCount++;const C=(0,Be.x)(y,void 0,void 0,void 0,()=>{if(!m||m._refCount<=0||0<--m._refCount)return void(f=null);const O=m._connection,N=f;f=null,O&&(!N||O===N)&&O.unsubscribe(),y.unsubscribe()});m.subscribe(C),C.closed||(f=m.connect())})}class Fe extends re.y{constructor(y,f){super(),this.source=y,this.subjectFactory=f,this._subject=null,this._refCount=0,this._connection=null,(0,q.A)(y)&&(this.lift=y.lift)}_subscribe(y){return this.getSubject().subscribe(y)}getSubject(){const y=this._subject;return(!y||y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:y}=this;this._subject=this._connection=null,y?.unsubscribe()}connect(){let y=this._connection;if(!y){y=this._connection=new le.w0;const f=this.getSubject();y.add(this.source.subscribe((0,Be.x)(f,void 0,()=>{this._teardown(),f.complete()},C=>{this._teardown(),f.error(C)},()=>this._teardown()))),y.closed&&(this._connection=null,y=le.w0.EMPTY)}return y}refCount(){return ht()(this)}}var me=w(7579),Pe=w(6895),we=w(4004),Ae=w(3900),ee=w(5698),Qe=w(7669),dt=w(9300),it=w(5577),ae=w(590),fe=w(4351),ie=w(8505),Ie=w(262),be=w(5026);function et(m){return m<=0?()=>te.E:(0,q.e)((y,f)=>{let C=[];y.subscribe((0,Be.x)(f,O=>{C.push(O),m<C.length&&C.shift()},()=>{for(const O of C)f.next(O);f.complete()},void 0,()=>{C=null}))})}var ut=w(8068),Xe=w(6590),ye=w(4671);function Se(m,y){const f=arguments.length>=2;return C=>C.pipe(m?(0,dt.h)((O,N)=>m(O,N,C)):ye.y,et(1),f?(0,Xe.d)(y):(0,ut.T)(()=>new v.K))}var Ee=w(8746),rt=w(8189),z=w(1481);const X="primary",Je=Symbol("RouteTitle");class St{constructor(y){this.params=y||{}}has(y){return Object.prototype.hasOwnProperty.call(this.params,y)}get(y){if(this.has(y)){const f=this.params[y];return Array.isArray(f)?f[0]:f}return null}getAll(y){if(this.has(y)){const f=this.params[y];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function Tt(m){return new St(m)}function Nn(m,y,f){const C=f.path.split("/");if(C.length>m.length||"full"===f.pathMatch&&(y.hasChildren()||C.length<m.length))return null;const O={};for(let N=0;N<C.length;N++){const V=C[N],Ue=m[N];if(V.startsWith(":"))O[V.substring(1)]=Ue;else if(V!==Ue.path)return null}return{consumed:m.slice(0,C.length),posParams:O}}function En(m,y){const f=m?Object.keys(m):void 0,C=y?Object.keys(y):void 0;if(!f||!C||f.length!=C.length)return!1;let O;for(let N=0;N<f.length;N++)if(O=f[N],!Mn(m[O],y[O]))return!1;return!0}function Mn(m,y){if(Array.isArray(m)&&Array.isArray(y)){if(m.length!==y.length)return!1;const f=[...m].sort(),C=[...y].sort();return f.every((O,N)=>C[N]===O)}return m===y}function xn(m){return Array.prototype.concat.apply([],m)}function nr(m){return m.length>0?m[m.length-1]:null}function on(m,y){for(const f in m)m.hasOwnProperty(f)&&y(m[f],f)}
1function kn(m){return(0,c.CqO)(m)?m:(0,c.QGY)(m)?(0,E.D)(Promise.resolve(m)):(0,L.of)(m)}const ir=!1,Lt={exact:function ke(m,y,f){if(!Cn(m.segments,y.segments)||!Mt(m.segments,y.segments,f)||m.numberOfChildren!==y.numberOfChildren)return!1;for(const C in y.children)if(!m.children[C]||!ke(m.children[C],y.children[C],f))return!1;return!0},subset:ot},Vn={exact:function He(m,y){return En(m,y)},subset:function Oe(m,y){return Object.keys(y).length<=Object.keys(m).length&&Object.keys(y).every(f=>Mn(m[f],y[f]))},ignored:()=>!0};function sr(m,y,f){return Lt[f.paths](m.root,y.root,f.matrixParams)&&Vn[f.queryParams](m.queryParams,y.queryParams)&&!("exact"===f.fragment&&m.fragment!==y.fragment)}function ot(m,y,f){return mt(m,y,y.segments,f)}function mt(m,y,f,C){if(m.segments.length>f.length){const O=m.segments.slice(0,f.length);return!(!Cn(O,f)||y.hasChildren()||!Mt(O,f,C))}if(m.segments.length===f.length){if(!Cn(m.segments,f)||!Mt(m.segments,f,C))return!1;for(const O in y.children)if(!m.children[O]||!ot(m.children[O],y.children[O],C))return!1;return!0}{const O=f.slice(0,m.segments.length),N=f.slice(m.segments.length);return!!(Cn(m.segments,O)&&Mt(m.segments,O,C)&&m.children[X])&&mt(m.children[X],y,N,C)}}function Mt(m,y,f){return y.every((C,O)=>Vn[f](m[O].parameters,C.parameters))}class Pn{constructor(y=new xt([],{}),f={},C=null){this.root=y,this.queryParams=f,this.fragment=C}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Tt(this.queryParams)),this._queryParamMap}toString(){return Jt.serialize(this)}}class xt{constructor(y,f){this.segments=y,this.children=f,this.parent=null,on(f,(C,O)=>C.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fr(this)}}class Tn{constructor(y,f){this.path=y,this.parameters=f}get parameterMap(){return this._parameterMap||(this._parameterMap=Tt(this.parameters)),this._parameterMap}toString(){return lt(this)}}function Cn(m,y){return m.length===y.length&&m.every((f,C)=>f.path===y[C].path)}let _n=(()=>{class m{}return m.\u0275fac=function(f){return new(f||m)},m.\u0275prov=c.Yz7({token:m,factory:function(){return new Yr},providedIn:"root"}),m})();class Yr{parse(y){const f=new ge(y);return new Pn(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(y){const f=`/${hr(y.root,!0)}`,C=function Dn(m){const y=Object.keys(m).map(f=>{const C=m[f];return Array.isArray(C)?C.map(O=>`${pr(f)}=${pr(O)}`).join("&"):`${pr(f)}=${pr(C)}`}).filter(f=>!!f);return y.length?`?${y.join("&")}`:""}(y.queryParams);return`${f}${C}${"string"==typeof y.fragment?`#${function Ze(m){return encodeURI(m)}(y.fragment)}`:""}`}}const Jt=new Yr;function fr(m){return m.segments.map(y=>lt(y)).join("/")}function hr(m,y){if(!m.hasChildren())return fr(m);if(y){const f=m.children[X]?hr(m.children[X],!1):"",C=[];return on(m.children,(O,N)=>{N!==X&&C.push(`${N}:${hr(O,!1)}`)}),C.length>0?`${f}(${C.join("//")})`:f}{const f=function dr(m,y){let f=[];return on(m.children,(C,O)=>{O===X&&(f=f.concat(y(C,O)))}),on(m.children,(C,O)=>{O!==X&&(f=f.concat(y(C,O)))}),f}(m,(C,O)=>O===X?[hr(m.children[X],!1)]:[`${O}:${hr(C,!1)}`]);return 1===Object.keys(m.children).length&&null!=m.children[X]?`${fr(m)}/${f[0]}`:`${fr(m)}/(${f.join("//")})`}}function an(m){return encodeURIComponent(m).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pr(m){return an(m).replace(/%3B/gi,";")}function de(m){return an(m).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ve(m){return decodeURIComponent(m)}function pt(m){return ve(m.replace(/\+/g,"%20"))}function lt(m){return`${de(m.path)}${function Qt(m){return Object.keys(m).map(y=>`;${de(y)}=${de(m[y])}`).join("")}(m.parameters)}`}const wn=/^[^\/()?;=#]+/;function Gt(m){const y=m.match(wn);return y?y[0]:""}const rr=/^[^=?&#]+/,Wn=/^[^&#]+/;class ge{constructor(y){this.url=y,this.remaining=y}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new xt([],{}):new xt([],this.parseChildren())}parseQueryParams(){const y={};if(this.consumeOptional("?"))do{this.parseQueryParam(y)}while(this.consumeOptional("&"));return y}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const y=[];for(this.peekStartsWith("(")||y.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),y.push(this.parseSegment());let f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let C={};return this.peekStartsWith("(")&&(C=this.parseParens(!1)),(y.length>0||Object.keys(f).length>0)&&(C[X]=new xt(y,f)),C}parseSegment(){const y=Gt(this.remaining);if(""===y&&this.peekStartsWith(";"))throw new c.vHH(4009,ir);return this.capture(y),new Tn(ve(y),this.parseMatrixParams())}parseMatrixParams(){const y={};for(;this.consumeOptional(";");)this.parseParam(y);return y}parseParam(y){const f=Gt(this.remaining);if(!f)return;this.capture(f);let C="";if(this.consumeOptional("=")){const O=Gt(this.remaining);O&&(C=O,this.capture(C))}y[ve(f)]=ve(C)}parseQueryParam(y){const f=function Pi(m){const y=m.match(rr);return y?y[0]:""}(this.remaining);if(!f)return;this.capture(f);let C="";if(this.consumeOptional("=")){const V=function Kn(m){const y=m.match(Wn);return y?y[0]:""}(this.remaining);V&&(C=V,this.capture(C))}const O=pt(f),N=pt(C);if(y.hasOwnProperty(O)){let V=y[O];Array.isArray(V)||(V=[V],y[O]=V),V.push(N)}else y[O]=N}parseParens(y){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const C=Gt(this.remaining),O=this.remaining[C.length];if("/"!==O&&")"!==O&&";"!==O)throw new c.vHH(4010,ir);let N;C.indexOf(":")>-1?(N=C.slice(0,C.indexOf(":")),this.capture(N),this.capture(":")):y&&(N=X);const V=this.parseChildren();f[N]=1===Object.keys(V).length?V[X]:new xt([],V),this.consumeOptional("//")}return f}peekStartsWith(y){return this.remaining.startsWith(y)}consumeOptional(y){return!!this.peekStartsWith(y)&&(this.remaining=this.remaining.substring(y.length),!0)}capture(y){if(!this.consumeOptional(y))throw new c.vHH(4011,ir)}}function ue(m){return m.segments.length>0?new xt([],{[X]:m}):m}function Z(m){const y={};for(const C of Object.keys(m.children)){const N=Z(m.children[C]);(N.segments.length>0||N.hasChildren())&&(y[C]=N)}return function Ge(m){if(1===m.numberOfChildren&&m.children[X]){const y=m.children[X];return new xt(m.segments.concat(y.segments),y.children)}return m}(new xt(m.segments,y))}function nt(m){return m instanceof Pn}function xr(m,y,f,C,O){if(0===f.length)return Jr(y.root,y.root,y.root,C,O);const N=function Ss(m){if("string"==typeof m[0]&&1===m.length&&"/"===m[0])return new Ri(!0,0,m);let y=0,f=!1;const C=m.reduce((O,N,V)=>{if("object"==typeof N&&null!=N){if(N.outlets){const Ue={};return on(N.outlets,(at,zt)=>{Ue[zt]="string"==typeof at?at.split("/"):at}),[...O,{outlets:Ue}]}if(N.segmentPath)return[...O,N.segmentPath]}return"string"!=typeof N?[...O,N]:0===V?(N.split("/").forEach((Ue,at)=>{0==at&&"."===Ue||(0==at&&""===Ue?f=!0:".."===Ue?y++:""!=Ue&&O.push(Ue))}),O):[...O,N]},[]);return new Ri(f,y,C)}(f);return N.toRoot()?Jr(y.root,y.root,new xt([],{}),C,O):function V(at){const zt=function Cr(m,y,f,C){if(m.isAbsolute)return new Nr(y.root,!0,0);if(-1===C)return new Nr(f,f===y.root,0);return function ur(m,y,f){let C=m,O=y,N=f;for(;N>O;){if(N-=O,C=C.parent,!C)throw new c.vHH(4005,!1);O=C.segments.length}return new Nr(C,!1,O-N)}(f,C+(Xr(m.commands[0])?0:1),m.numberOfDoubleDots)}(N,y,m.snapshot?._urlSegment,at),Bt=zt.processChildren?G(zt.segmentGroup,zt.index,N.commands):j(zt.segmentGroup,zt.index,N.commands);return Jr(y.root,zt.segmentGroup,Bt,C,O)}(m.snapshot?._lastPathIndex)}function Xr(m){return"object"==typeof m&&null!=m&&!m.outlets&&!m.segmentPath}function si(m){return"object"==typeof m&&null!=m&&m.outlets}function Jr(m,y,f,C,O){let V,N={};C&&on(C,(at,zt)=>{N[zt]=Array.isArray(at)?at.map(Bt=>`${Bt}`):`${at}`}),V=m===y?f:Ei(m,y,f);const Ue=ue(Z(V));return new Pn(Ue,N,O)}function Ei(m,y,f){const C={};return on(m.children,(O,N)=>{C[N]=O===y?f:Ei(O,y,f)}),new xt(m.segments,C)}class Ri{constructor(y,f,C){if(this.isAbsolute=y,this.numberOfDoubleDots=f,this.commands=C,y&&C.length>0&&Xr(C[0]))throw new c.vHH(4003,!1);const O=C.find(si);if(O&&O!==nr(C))throw new c.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Nr{constructor(y,f,C){this.segmentGroup=y,this.processChildren=f,this.index=C}}function j(m,y,f){if(m||(m=new xt([],{})),0===m.segments.length&&m.hasChildren())return G(m,y,f);const C=function K(m,y,f){let C=0,O=y;const N={match:!1,pathIndex:0,commandIndex:0};for(;O<m.segments.length;){if(C>=f.length)return N;const V=m.segments[O],Ue=f[C];if(si(Ue))break;const at=`${Ue}`,zt=C<f.length-1?f[C+1]:null;if(O>0&&void 0===at)break;
1if(at&&zt&&"object"==typeof zt&&void 0===zt.outlets){if(!gt(at,zt,V))return N;C+=2}else{if(!gt(at,{},V))return N;C++}O++}return{match:!0,pathIndex:O,commandIndex:C}}(m,y,f),O=f.slice(C.commandIndex);if(C.match&&C.pathIndex<m.segments.length){const N=new xt(m.segments.slice(0,C.pathIndex),{});return N.children[X]=new xt(m.segments.slice(C.pathIndex),m.children),G(N,0,O)}return C.match&&0===O.length?new xt(m.segments,{}):C.match&&!m.hasChildren()?Re(m,y,f):C.match?G(m,0,O):Re(m,y,f)}function G(m,y,f){if(0===f.length)return new xt(m.segments,{});{const C=function R(m){return si(m[0])?m[0].outlets:{[X]:m}}(f),O={};return on(C,(N,V)=>{"string"==typeof N&&(N=[N]),null!==N&&(O[V]=j(m.children[V],y,N))}),on(m.children,(N,V)=>{void 0===C[V]&&(O[V]=N)}),new xt(m.segments,O)}}function Re(m,y,f){const C=m.segments.slice(0,y);let O=0;for(;O<f.length;){const N=f[O];if(si(N)){const at=Ke(N.outlets);return new xt(C,at)}if(0===O&&Xr(f[0])){C.push(new Tn(m.segments[y].path,ct(f[0]))),O++;continue}const V=si(N)?N.outlets[X]:`${N}`,Ue=O<f.length-1?f[O+1]:null;V&&Ue&&Xr(Ue)?(C.push(new Tn(V,ct(Ue))),O+=2):(C.push(new Tn(V,{})),O++)}return new xt(C,{})}function Ke(m){const y={};return on(m,(f,C)=>{"string"==typeof f&&(f=[f]),null!==f&&(y[C]=Re(new xt([],{}),0,f))}),y}function ct(m){const y={};return on(m,(f,C)=>y[C]=`${f}`),y}function gt(m,y,f){return m==f.path&&En(y,f.parameters)}const At="imperative";class Nt{constructor(y,f){this.id=y,this.url=f}}class kt extends Nt{constructor(y,f,C="imperative",O=null){super(y,f),this.type=0,this.navigationTrigger=C,this.restoredState=O}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Rn extends Nt{constructor(y,f,C){super(y,f),this.urlAfterRedirects=C,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class cr extends Nt{constructor(y,f,C,O){super(y,f),this.reason=C,this.code=O,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Rt extends Nt{constructor(y,f,C,O){super(y,f),this.reason=C,this.code=O,this.type=16}}class gr extends Nt{constructor(y,f,C,O){super(y,f),this.error=C,this.target=O,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class kr extends Nt{constructor(y,f,C,O){super(y,f),this.urlAfterRedirects=C,this.state=O,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zr extends Nt{constructor(y,f,C,O){super(y,f),this.urlAfterRedirects=C,this.state=O,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vr extends Nt{constructor(y,f,C,O,N){super(y,f),this.urlAfterRedirects=C,this.state=O,this.shouldActivate=N,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class _r extends Nt{constructor(y,f,C,O){super(y,f),this.urlAfterRedirects=C,this.state=O,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class As extends Nt{constructor(y,f,C,O){super(y,f),this.urlAfterRedirects=C,this.state=O,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ci{constructor(y){this.route=y,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oi{constructor(y){this.route=y,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ei{constructor(y){this.snapshot=y,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wi{constructor(y){this.snapshot=y,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jn{constructor(y){this.snapshot=y,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ai{constructor(y){this.snapshot=y,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bi{constructor(y,f,C){this.routerEvent=y,this.position=f,this.anchor=C,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Vi=(()=>{class m{createUrlTree(f,C,O,N,V,Ue){return xr(f||C.root,O,N,V,Ue)}}return m.\u0275fac=function(f){return new(f||m)},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac}),m})(),Sr=(()=>{class m{}return m.\u0275fac=function(f){return new(f||m)},m.\u0275prov=c.Yz7({token:m,factory:function(y){return Vi.\u0275fac(y)},providedIn:"root"}),m})();class W{constructor(y){this._root=y}get root(){return this._root.value}
1parent(y){const f=this.pathFromRoot(y);return f.length>1?f[f.length-2]:null}children(y){const f=Ne(y,this._root);return f?f.children.map(C=>C.value):[]}firstChild(y){const f=Ne(y,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(y){const f=_e(y,this._root);return f.length<2?[]:f[f.length-2].children.map(O=>O.value).filter(O=>O!==y)}pathFromRoot(y){return _e(y,this._root).map(f=>f.value)}}function Ne(m,y){if(m===y.value)return y;for(const f of y.children){const C=Ne(m,f);if(C)return C}return null}function _e(m,y){if(m===y.value)return[y];for(const f of y.children){const C=_e(m,f);if(C.length)return C.unshift(y),C}return[]}class je{constructor(y,f){this.value=y,this.children=f}toString(){return`TreeNode(${this.value})`}}function Et(m){const y={};return m&&m.children.forEach(f=>y[f.value.outlet]=f),y}class It extends W{constructor(y,f){super(y),this.snapshot=f,$n(this,y)}toString(){return this.snapshot.toString()}}function Zt(m,y){const f=function bn(m,y){const V=new Hr([],{},{},"",{},X,y,null,m.root,-1,{});return new no("",new je(V,[]))}(m,y),C=new ce.X([new Tn("",{})]),O=new ce.X({}),N=new ce.X({}),V=new ce.X({}),Ue=new ce.X(""),at=new yn(C,O,V,Ue,N,X,y,f.root);return at.snapshot=f.root,new It(new je(at,[]),f)}class yn{constructor(y,f,C,O,N,V,Ue,at){this.url=y,this.params=f,this.queryParams=C,this.fragment=O,this.data=N,this.outlet=V,this.component=Ue,this.title=this.data?.pipe((0,we.U)(zt=>zt[Je]))??(0,L.of)(void 0),this._futureSnapshot=at}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,we.U)(y=>Tt(y)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,we.U)(y=>Tt(y)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Dr(m,y="emptyOnly"){const f=m.pathFromRoot;let C=0;if("always"!==y)for(C=f.length-1;C>=1;){const O=f[C],N=f[C-1];if(O.routeConfig&&""===O.routeConfig.path)C--;else{if(N.component)break;C--}}return function jn(m){return m.reduce((y,f)=>({params:{...y.params,...f.params},data:{...y.data,...f.data},resolve:{...f.data,...y.resolve,...f.routeConfig?.data,...f._resolvedData}}),{params:{},data:{},resolve:{}})}(f.slice(C))}class Hr{get title(){return this.data?.[Je]}constructor(y,f,C,O,N,V,Ue,at,zt,Bt,lr){this.url=y,this.params=f,this.queryParams=C,this.fragment=O,this.data=N,this.outlet=V,this.component=Ue,this.routeConfig=at,this._urlSegment=zt,this._lastPathIndex=Bt,this._resolve=lr}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Tt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Tt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(C=>C.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class no extends W{constructor(y,f){super(f),this.url=y,$n(this,f)}toString(){return Zn(this._root)}}function $n(m,y){y.value._routerState=m,y.children.forEach(f=>$n(m,f))}function Zn(m){const y=m.children.length>0?` { ${m.children.map(Zn).join(", ")} } `:"";return`${m.value}${y}`}function ro(m){if(m.snapshot){const y=m.snapshot,f=m._futureSnapshot;m.snapshot=f,En(y.queryParams,f.queryParams)||m.queryParams.next(f.queryParams),y.fragment!==f.fragment&&m.fragment.next(f.fragment),En(y.params,f.params)||m.params.next(f.params),function An(m,y){if(m.length!==y.length)return!1;for(let f=0;f<m.length;++f)if(!En(m[f],y[f]))return!1;return!0}(y.url,f.url)||m.url.next(f.url),En(y.data,f.data)||m.data.next(f.data)}else m.snapshot=m._futureSnapshot,m.data.next(m._futureSnapshot.data)}function Vs(m,y){const f=En(m.params,y.params)&&function qn(m,y){return Cn(m,y)&&m.every((f,C)=>En(f.parameters,y[C].parameters))}(m.url,y.url);return f&&!(!m.parent!=!y.parent)&&(!m.parent||Vs(m.parent,y.parent))}function ji(m,y,f){if(f&&m.shouldReuseRoute(y.value,f.value.snapshot)){const C=f.value;C._futureSnapshot=y.value;const O=function ko(m,y,f){return y.children.map(C=>{for(const O of f.children)if(m.shouldReuseRoute(C.value,O.value.snapshot))return ji(m,C,O);return ji(m,C)})}(m,y,f);return new je(C,O)}{if(m.shouldAttach(y.value)){const N=m.retrieve(y.value);if(null!==N){const V=N.route;return V.value._futureSnapshot=y.value,V.children=y.children.map(Ue=>ji(m,Ue)),V}}const C=function io(m){return new yn(new ce.X(m.url),new ce.X(m.params),new ce.X(m.queryParams),new ce.X(m.fragment),new ce.X(m.data),m.outlet,m.component,m)}(y.value),O=y.children.map(N=>ji(m,N));return new je(C,O)}}const so="ngNavigationCancelingError";function Eo(m,y){const{redirectTo:f,navigationBehaviorOptions:C}=nt(y)?{redirectTo:y,navigationBehaviorOptions:void 0}:y,O=wr(!1,0,y);return O.url=f,O.navigationBehaviorOptions=C,O}function wr(m,y,f){const C=new Error("NavigationCancelingError: "+(m||""));return C[so]=!0,C.cancellationCode=y,f&&(C.url=f),C}function oo(m){return Zi(m)&&nt(m.url)}function Zi(m){return m&&m[so]}class Uo{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Si,this.attachRef=null}}let Si=(()=>{class m{constructor(){this.contexts=new Map}onChildOutletCreated(f,C){const O=this.getOrCreateContext(f);O.outlet=C,this.contexts.set(f,O)}onChildOutletDestroyed(f){const C=this.getContext(f);C&&(C.outlet=null,C.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let C=this.getContext(f);return C||(C=new Uo,this.contexts.set(f,C)),C}getContext(f){return this.contexts.get(f)||null}}return m.\u0275fac=function(f){return new(f||m)},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const Ar=!1;let Ms=(()=>{class m{constructor(){this.activated=null,this._activatedRoute=null,this.name=X,this.activateEvents=new c.vpe,this.deactivateEvents=new c.vpe,this.attachEvents=new c.vpe,this.detachEvents=new c.vpe,this.parentContexts=(0,c.f3M)(Si),this.location=(0,c.f3M)(c.s_b),this.changeDetector=(0,c.f3M)(c.sBO),this.environmentInjector=(0,c.f3M)(c.lqb)}
1ngOnChanges(f){if(f.name){const{firstChange:C,previousValue:O}=f.name;if(C)return;this.isTrackedInParentContexts(O)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(O)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(f){return this.parentContexts.getContext(f)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const f=this.parentContexts.getContext(this.name);f?.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.vHH(4012,Ar);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.vHH(4012,Ar);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.vHH(4012,Ar);this.location.detach();const f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,C){this.activated=f,this._activatedRoute=C,this.location.insert(f.hostView),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,C){if(this.isActivated)throw new c.vHH(4013,Ar);this._activatedRoute=f;const O=this.location,V=f.snapshot.component,Ue=this.parentContexts.getOrCreateContext(this.name).children,at=new Ts(f,Ue,O.injector);if(C&&function Is(m){return!!m.resolveComponentFactory}(C)){const zt=C.resolveComponentFactory(V);this.activated=O.createComponent(zt,O.length,at)}else this.activated=O.createComponent(V,{index:O.length,injector:at,environmentInjector:C??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return m.\u0275fac=function(f){return new(f||m)},m.\u0275dir=c.lG2({type:m,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[c.TTD]}),m})();class Ts{constructor(y,f,C){this.route=y,this.childContexts=f,this.parent=C}get(y,f){return y===yn?this.route:y===Si?this.childContexts:this.parent.get(y,f)}}let ao=(()=>{class m{}return m.\u0275fac=function(f){return new(f||m)},m.\u0275cmp=c.Xpm({type:m,selectors:[["ng-component"]],standalone:!0,features:[c.jDz],decls:1,vars:0,template:function(f,C){1&f&&c._UZ(0,"router-outlet")},dependencies:[Ms],encapsulation:2}),m})();function js(m,y){return m.providers&&!m._injector&&(m._injector=(0,c.MMx)(m.providers,y,`Route: ${m.path}`)),m._injector??y}function Er(m){const y=m.children&&m.children.map(Er),f=y?{...m,children:y}:{...m};return!f.component&&!f.loadComponent&&(y||f.loadChildren)&&f.outlet&&f.outlet!==X&&(f.component=ao),f}function Sn(m){return m.outlet||X}function ci(m,y){const f=m.filter(C=>Sn(C)===y);return f.push(...m.filter(C=>Sn(C)!==y)),f}function br(m){if(!m)return null;if(m.routeConfig?._injector)return m.routeConfig._injector;for(let y=m.parent;y;y=y.parent){const f=y.routeConfig;if(f?._loadedInjector)return f._loadedInjector;if(f?._injector)return f._injector}return null}class xs{constructor(y,f,C,O){this.routeReuseStrategy=y,this.futureState=f,this.currState=C,this.forwardEvent=O}activate(y){const f=this.futureState._root,C=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,C,y),ro(this.futureState.root),this.activateChildRoutes(f,C,y)}deactivateChildRoutes(y,f,C){const O=Et(f);y.children.forEach(N=>{const V=N.value.outlet;this.deactivateRoutes(N,O[V],C),delete O[V]}),on(O,(N,V)=>{this.deactivateRouteAndItsChildren(N,C)})}deactivateRoutes(y,f,C){const O=y.value,N=f?f.value:null;if(O===N)if(O.component){const V=C.getContext(O.outlet);V&&this.deactivateChildRoutes(y,f,V.children)}else this.deactivateChildRoutes(y,f,C);else N&&this.deactivateRouteAndItsChildren(f,C)}deactivateRouteAndItsChildren(y,f){y.value.component&&this.routeReuseStrategy.shouldDetach(y.value.snapshot)?this.detachAndStoreRouteSubtree(y,f):this.deactivateRouteAndOutlet(y,f)}detachAndStoreRouteSubtree(y,f){const C=f.getContext(y.value.outlet),O=C&&y.value.component?C.children:f,N=Et(y);for(const V of Object.keys(N))this.deactivateRouteAndItsChildren(N[V],O);if(C&&C.outlet){const V=C.outlet.detach(),Ue=C.children.onOutletDeactivated();this.routeReuseStrategy.store(y.value.snapshot,{componentRef:V,route:y,contexts:Ue})}}deactivateRouteAndOutlet(y,f){const C=f.getContext(y.value.outlet),O=C&&y.value.component?C.children:f,N=Et(y);for(const V of Object.keys(N))this.deactivateRouteAndItsChildren(N[V],O);C&&C.outlet&&(C.outlet.deactivate(),C.children.onOutletDeactivated(),C.attachRef=null,C.resolver=null,C.route=null)}activateChildRoutes(y,f,C){const O=Et(f);
1y.children.forEach(N=>{this.activateRoutes(N,O[N.value.outlet],C),this.forwardEvent(new ai(N.value.snapshot))}),y.children.length&&this.forwardEvent(new wi(y.value.snapshot))}activateRoutes(y,f,C){const O=y.value,N=f?f.value:null;if(ro(O),O===N)if(O.component){const V=C.getOrCreateContext(O.outlet);this.activateChildRoutes(y,f,V.children)}else this.activateChildRoutes(y,f,C);else if(O.component){const V=C.getOrCreateContext(O.outlet);if(this.routeReuseStrategy.shouldAttach(O.snapshot)){const Ue=this.routeReuseStrategy.retrieve(O.snapshot);this.routeReuseStrategy.store(O.snapshot,null),V.children.onOutletReAttached(Ue.contexts),V.attachRef=Ue.componentRef,V.route=Ue.route.value,V.outlet&&V.outlet.attach(Ue.componentRef,Ue.route.value),ro(Ue.route.value),this.activateChildRoutes(y,null,V.children)}else{const Ue=br(O.snapshot),at=Ue?.get(c._Vd)??null;V.attachRef=null,V.route=O,V.resolver=at,V.injector=Ue,V.outlet&&V.outlet.activateWith(O,V.injector),this.activateChildRoutes(y,null,V.children)}}else this.activateChildRoutes(y,null,C)}}class as{constructor(y){this.path=y,this.route=this.path[this.path.length-1]}}class jr{constructor(y,f){this.component=y,this.route=f}}function sa(m,y,f){const C=m._root;return Pr(C,y?y._root:null,f,[C.value])}function Ai(m,y){const f=Symbol(),C=y.get(m,f);return C===f?"function"!=typeof m||(0,c.Z0I)(m)?y.get(m):m:C}function Pr(m,y,f,C,O={canDeactivateChecks:[],canActivateChecks:[]}){const N=Et(y);return m.children.forEach(V=>{(function lo(m,y,f,C,O={canDeactivateChecks:[],canActivateChecks:[]}){const N=m.value,V=y?y.value:null,Ue=f?f.getContext(m.value.outlet):null;if(V&&N.routeConfig===V.routeConfig){const at=function uo(m,y,f){if("function"==typeof f)return f(m,y);switch(f){case"pathParamsChange":return!Cn(m.url,y.url);case"pathParamsOrQueryParamsChange":return!Cn(m.url,y.url)||!En(m.queryParams,y.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Vs(m,y)||!En(m.queryParams,y.queryParams);default:return!Vs(m,y)}}(V,N,N.routeConfig.runGuardsAndResolvers);at?O.canActivateChecks.push(new as(C)):(N.data=V.data,N._resolvedData=V._resolvedData),Pr(m,y,N.component?Ue?Ue.children:null:f,C,O),at&&Ue&&Ue.outlet&&Ue.outlet.isActivated&&O.canDeactivateChecks.push(new jr(Ue.outlet.component,V))}else V&&rn(y,Ue,O),O.canActivateChecks.push(new as(C)),Pr(m,null,N.component?Ue?Ue.children:null:f,C,O)})(V,N[V.value.outlet],f,C.concat([V.value]),O),delete N[V.value.outlet]}),on(N,(V,Ue)=>rn(V,f.getContext(Ue),O)),O}function rn(m,y,f){const C=Et(m),O=m.value;on(C,(N,V)=>{rn(N,O.component?y?y.children.getContext(V):null:y,f)}),f.canDeactivateChecks.push(new jr(O.component&&y&&y.outlet&&y.outlet.isActivated?y.outlet.component:null,O))}function Fi(m){return"function"==typeof m}function cn(m){return m instanceof v.K||"EmptyError"===m?.name}const Li=Symbol("INITIAL_VALUE");function Ps(){return(0,Ae.w)(m=>(0,oe.a)(m.map(y=>y.pipe((0,ee.q)(1),function tt(...m){const y=(0,Qe.yG)(m);return(0,q.e)((f,C)=>{(y?(0,J.z)(m,f,y):(0,J.z)(m,f)).subscribe(C)})}(Li)))).pipe((0,we.U)(y=>{for(const f of y)if(!0!==f){if(f===Li)return Li;if(!1===f||f instanceof Pn)return f}return!0}),(0,dt.h)(y=>y!==Li),(0,ee.q)(1)))}function zr(m){return(0,he.z)((0,ie.b)(y=>{if(nt(y))throw Eo(0,y)}),(0,we.U)(y=>!0===y))}const di={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ls(m,y,f,C,O){const N=Qi(m,y,f);return N.matched?function Ti(m,y,f,C){const O=y.canMatch;if(!O||0===O.length)return(0,L.of)(!0);const N=O.map(V=>{const Ue=Ai(V,m);return kn(function $t(m){return m&&Fi(m.canMatch)}(Ue)?Ue.canMatch(y,f):m.runInContext(()=>Ue(y,f)))});return(0,L.of)(N).pipe(Ps(),zr())}(C=js(y,C),y,f).pipe((0,we.U)(V=>!0===V?N:{...di})):(0,L.of)(N)}function Qi(m,y,f){if(""===y.path)return"full"===y.pathMatch&&(m.hasChildren()||f.length>0)?{...di}:{matched:!0,consumedSegments:[],remainingSegments:f,parameters:{},positionalParamSegments:{}};const O=(y.matcher||Nn)(f,m,y);if(!O)return{...di};const N={};on(O.posParams,(Ue,at)=>{N[at]=Ue.path});const V=O.consumed.length>0?{...N,...O.consumed[O.consumed.length-1].parameters}:N;return{matched:!0,consumedSegments:O.consumed,remainingSegments:f.slice(O.consumed.length),parameters:V,positionalParamSegments:O.posParams??{}}}function zs(m,y,f,C){if(f.length>0&&function qi(m,y,f){return f.some(C=>Fs(m,y,C)&&Sn(C)!==X)}(m,f,C)){const N=new xt(y,function Ws(m,y,f,C){const O={};O[X]=C,C._sourceSegment=m,C._segmentIndexShift=y.length;for(const N of f)if(""===N.path&&Sn(N)!==X){const V=new xt([],{});V._sourceSegment=m,V._segmentIndexShift=y.length,O[Sn(N)]=V}return O}(m,y,C,new xt(f,m.children)));return N._sourceSegment=m,N._segmentIndexShift=y.length,{segmentGroup:N,slicedSegments:[]}}if(0===f.length&&function fo(m,y,f){return f.some(C=>Fs(m,y,C))}(m,f,C)){const N=new xt(m.segments,function Gs(m,y,f,C,O){const N={};for(const V of C)if(Fs(m,f,V)&&!O[Sn(V)]){const Ue=new xt([],{});Ue._sourceSegment=m,Ue._segmentIndexShift=y.length,N[Sn(V)]=Ue}return{...O,...N}}(m,y,f,C,m.children));return N._sourceSegment=m,N._segmentIndexShift=y.length,{segmentGroup:N,slicedSegments:f}}const O=new xt(m.segments,m.children);return O._sourceSegment=m,O._segmentIndexShift=y.length,{segmentGroup:O,slicedSegments:f}}function Fs(m,y,f){return(!(m.hasChildren()||y.length>0)||"full"!==f.pathMatch)&&""===f.path}function la(m,y,f,C){return!!(Sn(m)===C||C!==X&&Fs(y,f,m))&&("**"===m.path||Qi(y,m,f).matched)}function Vo(m,y,f){return 0===y.length&&!m.children[f]}const Ho=!1;class Co{constructor(y){this.segmentGroup=y||null}}class Ks{constructor(y){this.urlTree=y}
1}function xe(m){return(0,pe._)(new Co(m))}function st(m){return(0,pe._)(new Ks(m))}class er{constructor(y,f,C,O,N){this.injector=y,this.configLoader=f,this.urlSerializer=C,this.urlTree=O,this.config=N,this.allowRedirects=!0}apply(){const y=zs(this.urlTree.root,[],[],this.config).segmentGroup,f=new xt(y.segments,y.children);return this.expandSegmentGroup(this.injector,this.config,f,X).pipe((0,we.U)(N=>this.createUrlTree(Z(N),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Ie.K)(N=>{if(N instanceof Ks)return this.allowRedirects=!1,this.match(N.urlTree);throw N instanceof Co?this.noMatchError(N):N}))}match(y){return this.expandSegmentGroup(this.injector,this.config,y.root,X).pipe((0,we.U)(O=>this.createUrlTree(Z(O),y.queryParams,y.fragment))).pipe((0,Ie.K)(O=>{throw O instanceof Co?this.noMatchError(O):O}))}noMatchError(y){return new c.vHH(4002,Ho)}createUrlTree(y,f,C){const O=ue(y);return new Pn(O,f,C)}expandSegmentGroup(y,f,C,O){return 0===C.segments.length&&C.hasChildren()?this.expandChildren(y,f,C).pipe((0,we.U)(N=>new xt([],N))):this.expandSegment(y,C,f,C.segments,O,!0)}expandChildren(y,f,C){const O=[];for(const N of Object.keys(C.children))"primary"===N?O.unshift(N):O.push(N);return(0,E.D)(O).pipe((0,fe.b)(N=>{const V=C.children[N],Ue=ci(f,N);return this.expandSegmentGroup(y,Ue,V,N).pipe((0,we.U)(at=>({segment:at,outlet:N})))}),(0,be.R)((N,V)=>(N[V.outlet]=V.segment,N),{}),Se())}expandSegment(y,f,C,O,N,V){return(0,E.D)(C).pipe((0,fe.b)(Ue=>this.expandSegmentAgainstRoute(y,f,C,Ue,O,N,V).pipe((0,Ie.K)(zt=>{if(zt instanceof Co)return(0,L.of)(null);throw zt}))),(0,ae.P)(Ue=>!!Ue),(0,Ie.K)((Ue,at)=>{if(cn(Ue))return Vo(f,O,N)?(0,L.of)(new xt([],{})):xe(f);throw Ue}))}expandSegmentAgainstRoute(y,f,C,O,N,V,Ue){return la(O,f,N,V)?void 0===O.redirectTo?this.matchSegmentAgainstRoute(y,f,O,N,V):Ue&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(y,f,C,O,N,V):xe(f):xe(f)}expandSegmentAgainstRouteUsingRedirect(y,f,C,O,N,V){return"**"===O.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(y,C,O,V):this.expandRegularSegmentAgainstRouteUsingRedirect(y,f,C,O,N,V)}expandWildCardWithParamsAgainstRouteUsingRedirect(y,f,C,O){const N=this.applyRedirectCommands([],C.redirectTo,{});return C.redirectTo.startsWith("/")?st(N):this.lineralizeSegments(C,N).pipe((0,it.z)(V=>{const Ue=new xt(V,{});return this.expandSegment(y,Ue,f,V,O,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(y,f,C,O,N,V){const{matched:Ue,consumedSegments:at,remainingSegments:zt,positionalParamSegments:Bt}=Qi(f,O,N);if(!Ue)return xe(f);const lr=this.applyRedirectCommands(at,O.redirectTo,Bt);return O.redirectTo.startsWith("/")?st(lr):this.lineralizeSegments(O,lr).pipe((0,it.z)(Wr=>this.expandSegment(y,f,C,Wr.concat(zt),V,!1)))}matchSegmentAgainstRoute(y,f,C,O,N){return"**"===C.path?(y=js(C,y),C.loadChildren?(C._loadedRoutes?(0,L.of)({routes:C._loadedRoutes,injector:C._loadedInjector}):this.configLoader.loadChildren(y,C)).pipe((0,we.U)(Ue=>(C._loadedRoutes=Ue.routes,C._loadedInjector=Ue.injector,new xt(O,{})))):(0,L.of)(new xt(O,{}))):ls(f,C,O,y).pipe((0,Ae.w)(({matched:V,consumedSegments:Ue,remainingSegments:at})=>V?this.getChildConfig(y=C._injector??y,C,O).pipe((0,it.z)(Bt=>{const lr=Bt.injector??y,Wr=Bt.routes,{segmentGroup:To,slicedSegments:Qs}=zs(f,Ue,at,Wr),Ko=new xt(To.segments,To.children);if(0===Qs.length&&Ko.hasChildren())return this.expandChildren(lr,Wr,Ko).pipe((0,we.U)(Ji=>new xt(Ue,Ji)));if(0===Wr.length&&0===Qs.length)return(0,L.of)(new xt(Ue,{}));const gi=Sn(C)===N;return this.expandSegment(lr,Ko,Wr,Qs,gi?X:N,!0).pipe((0,we.U)(go=>new xt(Ue.concat(go.segments),go.children)))})):xe(f)))}getChildConfig(y,f,C){return f.children?(0,L.of)({routes:f.children,injector:y}):f.loadChildren?void 0!==f._loadedRoutes?(0,L.of)({routes:f._loadedRoutes,injector:f._loadedInjector}):function Bo(m,y,f,C){const O=y.canLoad;if(void 0===O||0===O.length)return(0,L.of)(!0);const N=O.map(V=>{const Ue=Ai(V,m);return kn(function T(m){return m&&Fi(m.canLoad)}(Ue)?Ue.canLoad(y,f):m.runInContext(()=>Ue(y,f)))});return(0,L.of)(N).pipe(Ps(),zr())}(y,f,C).pipe((0,it.z)(O=>O?this.configLoader.loadChildren(y,f).pipe((0,ie.b)(N=>{f._loadedRoutes=N.routes,f._loadedInjector=N.injector})):function Ht(m){return(0,pe._)(wr(Ho,3))}())):(0,L.of)({routes:[],injector:y})}lineralizeSegments(y,f){let C=[],O=f.root;for(;;){if(C=C.concat(O.segments),0===O.numberOfChildren)return(0,L.of)(C);if(O.numberOfChildren>1||!O.children[X])return(0,pe._)(new c.vHH(4e3,Ho));O=O.children[X]}}applyRedirectCommands(y,f,C){return this.applyRedirectCreateUrlTree(f,this.urlSerializer.parse(f),y,C)}applyRedirectCreateUrlTree(y,f,C,O){const N=this.createSegmentGroup(y,f.root,C,O);return new Pn(N,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(y,f){const C={};return on(y,(O,N)=>{if("string"==typeof O&&O.startsWith(":")){const Ue=O.substring(1);C[N]=f[Ue]}else C[N]=O}),C}createSegmentGroup(y,f,C,O){const N=this.createSegments(y,f.segments,C,O);let V={};return on(f.children,(Ue,at)=>{V[at]=this.createSegmentGroup(y,Ue,C,O)}),new xt(N,V)}createSegments(y,f,C,O){return f.map(N=>N.path.startsWith(":")?this.findPosParam(y,N,O):this.findOrReturn(N,C))}findPosParam(y,f,C){const O=C[f.path.substring(1)];if(!O)throw new c.vHH(4001,Ho);return O}findOrReturn(y,f){let C=0;for(const O of f){if(O.path===y.path)return f.splice(C),O;C++}return y}}class us{}class jo{constructor(y,f,C,O,N,V,Ue){this.injector=y,this.rootComponentType=f,this.config=C,this.urlTree=O,this.url=N,this.paramsInheritanceStrategy=V,this.urlSerializer
1=Ue}recognize(){const y=zs(this.urlTree.root,[],[],this.config.filter(f=>void 0===f.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,y,X).pipe((0,we.U)(f=>{if(null===f)return null;const C=new Hr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},X,this.rootComponentType,null,this.urlTree.root,-1,{}),O=new je(C,f),N=new no(this.url,O);return this.inheritParamsAndData(N._root),N}))}inheritParamsAndData(y){const f=y.value,C=Dr(f,this.paramsInheritanceStrategy);f.params=Object.freeze(C.params),f.data=Object.freeze(C.data),y.children.forEach(O=>this.inheritParamsAndData(O))}processSegmentGroup(y,f,C,O){return 0===C.segments.length&&C.hasChildren()?this.processChildren(y,f,C):this.processSegment(y,f,C,C.segments,O)}processChildren(y,f,C){return(0,E.D)(Object.keys(C.children)).pipe((0,fe.b)(O=>{const N=C.children[O],V=ci(f,O);return this.processSegmentGroup(y,V,N,O)}),(0,be.R)((O,N)=>O&&N?(O.push(...N),O):null),function Le(m,y=!1){return(0,q.e)((f,C)=>{let O=0;f.subscribe((0,Be.x)(C,N=>{const V=m(N,O++);(V||y)&&C.next(N),!V&&C.complete()}))})}(O=>null!==O),(0,Xe.d)(null),Se(),(0,we.U)(O=>{if(null===O)return null;const N=wo(O);return function ho(m){m.sort((y,f)=>y.value.outlet===X?-1:f.value.outlet===X?1:y.value.outlet.localeCompare(f.value.outlet))}(N),N}))}processSegment(y,f,C,O,N){return(0,E.D)(f).pipe((0,fe.b)(V=>this.processSegmentAgainstRoute(V._injector??y,V,C,O,N)),(0,ae.P)(V=>!!V),(0,Ie.K)(V=>{if(cn(V))return Vo(C,O,N)?(0,L.of)([]):(0,L.of)(null);throw V}))}processSegmentAgainstRoute(y,f,C,O,N){if(f.redirectTo||!la(f,C,O,N))return(0,L.of)(null);let V;if("**"===f.path){const Ue=O.length>0?nr(O).parameters:{},at=d(C)+O.length,zt=new Hr(O,Ue,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,u(f),Sn(f),f.component??f._loadedComponent??null,f,D(C),at,g(f));V=(0,L.of)({snapshot:zt,consumedSegments:[],remainingSegments:[]})}else V=ls(C,f,O,y).pipe((0,we.U)(({matched:Ue,consumedSegments:at,remainingSegments:zt,parameters:Bt})=>{if(!Ue)return null;const lr=d(C)+at.length;return{snapshot:new Hr(at,Bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,u(f),Sn(f),f.component??f._loadedComponent??null,f,D(C),lr,g(f)),consumedSegments:at,remainingSegments:zt}}));return V.pipe((0,Ae.w)(Ue=>{if(null===Ue)return(0,L.of)(null);const{snapshot:at,consumedSegments:zt,remainingSegments:Bt}=Ue;y=f._injector??y;const lr=f._loadedInjector??y,Wr=function po(m){return m.children?m.children:m.loadChildren?m._loadedRoutes:[]}(f),{segmentGroup:To,slicedSegments:Qs}=zs(C,zt,Bt,Wr.filter(gi=>void 0===gi.redirectTo));if(0===Qs.length&&To.hasChildren())return this.processChildren(lr,Wr,To).pipe((0,we.U)(gi=>null===gi?null:[new je(at,gi)]));if(0===Wr.length&&0===Qs.length)return(0,L.of)([new je(at,[])]);const Ko=Sn(f)===N;return this.processSegment(lr,Wr,To,Qs,Ko?X:N).pipe((0,we.U)(gi=>null===gi?null:[new je(at,gi)]))}))}}function $o(m){const y=m.value.routeConfig;return y&&""===y.path&&void 0===y.redirectTo}function wo(m){const y=[],f=new Set;for(const C of m){if(!$o(C)){y.push(C);continue}const O=y.find(N=>C.value.routeConfig===N.value.routeConfig);void 0!==O?(O.children.push(...C.children),f.add(O)):y.push(C)}for(const C of f){const O=wo(C.children);y.push(new je(C.value,O))}return y.filter(C=>!f.has(C))}function D(m){let y=m;for(;y._sourceSegment;)y=y._sourceSegment;return y}function d(m){let y=m,f=y._segmentIndexShift??0;for(;y._sourceSegment;)y=y._sourceSegment,f+=y._segmentIndexShift??0;return f-1}function u(m){return m.data||{}}function g(m){return m.resolve||{}}function _t(m){return"string"==typeof m.title||null===m.title}function Ot(m){return(0,Ae.w)(y=>{const f=m(y);return f?(0,E.D)(f).pipe((0,we.U)(()=>y)):(0,L.of)(y)})}const jt=new c.OlP("ROUTES");let Kt=(()=>{class m{constructor(f,C){this.injector=f,this.compiler=C,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(f){if(this.componentLoaders.get(f))return this.componentLoaders.get(f);if(f._loadedComponent)return(0,L.of)(f._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(f);const C=kn(f.loadComponent()).pipe((0,we.U)(Fn),(0,ie.b)(N=>{this.onLoadEndListener&&this.onLoadEndListener(f),f._loadedComponent=N}),(0,Ee.x)(()=>{this.componentLoaders.delete(f)})),O=new Fe(C,()=>new me.x).pipe(ht());return this.componentLoaders.set(f,O),O}
1loadChildren(f,C){if(this.childrenLoaders.get(C))return this.childrenLoaders.get(C);if(C._loadedRoutes)return(0,L.of)({routes:C._loadedRoutes,injector:C._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(C);const N=this.loadModuleFactoryOrRoutes(C.loadChildren).pipe((0,we.U)(Ue=>{this.onLoadEndListener&&this.onLoadEndListener(C);let at,zt,Bt=!1;Array.isArray(Ue)?zt=Ue:(at=Ue.create(f).injector,zt=xn(at.get(jt,[],c.XFs.Self|c.XFs.Optional)));return{routes:zt.map(Er),injector:at}}),(0,Ee.x)(()=>{this.childrenLoaders.delete(C)})),V=new Fe(N,()=>new me.x).pipe(ht());return this.childrenLoaders.set(C,V),V}loadModuleFactoryOrRoutes(f){return kn(f()).pipe((0,we.U)(Fn),(0,it.z)(O=>O instanceof c.YKP||Array.isArray(O)?(0,L.of)(O):(0,E.D)(this.compiler.compileModuleAsync(O))))}}return m.\u0275fac=function(f){return new(f||m)(c.LFG(c.zs3),c.LFG(c.Sil))},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function Fn(m){return function In(m){return m&&"object"==typeof m&&"default"in m}(m)?m.default:m}let Rr=(()=>{class m{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new me.x,this.configLoader=(0,c.f3M)(Kt),this.environmentInjector=(0,c.f3M)(c.lqb),this.urlSerializer=(0,c.f3M)(_n),this.rootContexts=(0,c.f3M)(Si),this.navigationId=0,this.afterPreactivation=()=>(0,L.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=O=>this.events.next(new oi(O)),this.configLoader.onLoadStartListener=O=>this.events.next(new Ci(O))}complete(){this.transitions?.complete()}handleNavigationRequest(f){const C=++this.navigationId;this.transitions?.next({...this.transitions.value,...f,id:C})}setupNavigations(f){return this.transitions=new ce.X({id:0,targetPageId:0,currentUrlTree:f.currentUrlTree,currentRawUrl:f.currentUrlTree,extractedUrl:f.urlHandlingStrategy.extract(f.currentUrlTree),urlAfterRedirects:f.urlHandlingStrategy.extract(f.currentUrlTree),rawUrl:f.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:At,restoredState:null,currentSnapshot:f.routerState.snapshot,targetSnapshot:null,currentRouterState:f.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,dt.h)(C=>0!==C.id),(0,we.U)(C=>({...C,extractedUrl:f.urlHandlingStrategy.extract(C.rawUrl)})),(0,Ae.w)(C=>{let O=!1,N=!1;return(0,L.of)(C).pipe((0,ie.b)(V=>{this.currentNavigation={id:V.id,initialUrl:V.rawUrl,extractedUrl:V.extractedUrl,trigger:V.source,extras:V.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Ae.w)(V=>{const Ue=f.browserUrlTree.toString(),at=!f.navigated||V.extractedUrl.toString()!==Ue||Ue!==f.currentUrlTree.toString();if(!at&&"reload"!==(V.extras.onSameUrlNavigation??f.onSameUrlNavigation)){const Bt="";return this.events.next(new Rt(V.id,f.serializeUrl(C.rawUrl),Bt,0)),f.rawUrlTree=V.rawUrl,V.resolve(null),te.E}if(f.urlHandlingStrategy.shouldProcessUrl(V.rawUrl))return yr(V.source)&&(f.browserUrlTree=V.extractedUrl),(0,L.of)(V).pipe((0,Ae.w)(Bt=>{const lr=this.transitions?.getValue();return this.events.next(new kt(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),Bt.source,Bt.restoredState)),lr!==this.transitions?.getValue()?te.E:Promise.resolve(Bt)}),function Qr(m,y,f,C){return(0,Ae.w)(O=>function pn(m,y,f,C,O){return new er(m,y,f,C,O).apply()}(m,y,f,O.extractedUrl,C).pipe((0,we.U)(N=>({...O,urlAfterRedirects:N}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,f.config),(0,ie.b)(Bt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Bt.urlAfterRedirects},C.urlAfterRedirects=Bt.urlAfterRedirects}),function M(m,y,f,C,O){return(0,it.z)(N=>function Ni(m,y,f,C,O,N,V="emptyOnly"){return new jo(m,y,f,C,O,V,N).recognize().pipe((0,Ae.w)(Ue=>null===Ue?function Tr(m){return new re.y(y=>y.error(m))}(new us):(0,L.of)(Ue)))}(m,y,f,N.urlAfterRedirects,C.serialize(N.urlAfterRedirects),C,O).pipe((0,we.U)(V=>({...N,targetSnapshot:V}))))}(this.environmentInjector,this.rootComponentType,f.config,this.urlSerializer,f.paramsInheritanceStrategy),(0,ie.b)(Bt=>{if(C.targetSnapshot=Bt.targetSnapshot,"eager"===f.urlUpdateStrategy){if(!Bt.extras.skipLocationChange){const Wr=f.urlHandlingStrategy.merge(Bt.urlAfterRedirects,Bt.rawUrl);f.setBrowserUrl(Wr,Bt)}f.browserUrlTree=Bt.urlAfterRedirects}const lr=new kr(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),this.urlSerializer.serialize(Bt.urlAfterRedirects),Bt.targetSnapshot);this.events.next(lr)}));if(at&&f.urlHandlingStrategy.shouldProcessUrl(f.rawUrlTree)){const{id:Bt,extractedUrl:lr,source:Wr,restoredState:To,extras:Qs}=V,Ko=new kt(Bt,this.urlSerializer.serialize(lr),Wr,To);this.events.next(Ko);const gi=Zt(lr,this.rootComponentType).snapshot;return C={...V,targetSnapshot:gi,urlAfterRedirects:lr,extras:{...Qs,skipLocationChange:!1,replaceUrl:!1}},(0,L.of)(C)}{const Bt="";return this.events.next(new Rt(V.id,f.serializeUrl(C.extractedUrl),Bt,1)),f.rawUrlTree=V.rawUrl,V.resolve(null),te.E}}),(0,ie.b)(V=>{const Ue=new Zr(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot);this.events.next(Ue)}),(0,we.U)(V=>C={...V,guards:sa(V.targetSnapshot,V.currentSnapshot,this.rootContexts)}),function $r(m,y){return(0,it.z)(f=>{const{targetSnapshot:C,currentSnapshot:O,guards:{canActivateChecks:N,canDeactivateChecks:V}}=f;return 0===V.length&&0===N.length?(0,L.of)({...f,guardsResult:!0}):function wa(m,y,f,C){return(0,E.D)(m).pipe((0,it.z)(O=>
1function ba(m,y,f,C,O){const N=y&&y.routeConfig?y.routeConfig.canDeactivate:null;if(!N||0===N.length)return(0,L.of)(!0);const V=N.map(Ue=>{const at=br(y)??O,zt=Ai(Ue,at);return kn(function Ye(m){return m&&Fi(m.canDeactivate)}(zt)?zt.canDeactivate(m,y,f,C):at.runInContext(()=>zt(m,y,f,C))).pipe((0,ae.P)())});return(0,L.of)(V).pipe(Ps())}(O.component,O.route,f,y,C)),(0,ae.P)(O=>!0!==O,!0))}(V,C,O,m).pipe((0,it.z)(Ue=>Ue&&function I(m){return"boolean"==typeof m}(Ue)?function co(m,y,f,C){return(0,E.D)(y).pipe((0,fe.b)(O=>(0,J.z)(function oa(m,y){return null!==m&&y&&y(new ei(m)),(0,L.of)(!0)}(O.route.parent,C),function Mi(m,y){return null!==m&&y&&y(new Jn(m)),(0,L.of)(!0)}(O.route,C),function Rs(m,y,f){const C=y[y.length-1],N=y.slice(0,y.length-1).reverse().map(V=>function Br(m){const y=m.routeConfig?m.routeConfig.canActivateChild:null;return y&&0!==y.length?{node:m,guards:y}:null}(V)).filter(V=>null!==V).map(V=>(0,se.P)(()=>{const Ue=V.guards.map(at=>{const zt=br(V.node)??f,Bt=Ai(at,zt);return kn(function U(m){return m&&Fi(m.canActivateChild)}(Bt)?Bt.canActivateChild(C,m):zt.runInContext(()=>Bt(C,m))).pipe((0,ae.P)())});return(0,L.of)(Ue).pipe(Ps())}));return(0,L.of)(N).pipe(Ps())}(m,O.path,f),function aa(m,y,f){const C=y.routeConfig?y.routeConfig.canActivate:null;if(!C||0===C.length)return(0,L.of)(!0);const O=C.map(N=>(0,se.P)(()=>{const V=br(y)??f,Ue=Ai(N,V);return kn(function S(m){return m&&Fi(m.canActivate)}(Ue)?Ue.canActivate(y,m):V.runInContext(()=>Ue(y,m))).pipe((0,ae.P)())}));return(0,L.of)(O).pipe(Ps())}(m,O.route,f))),(0,ae.P)(O=>!0!==O,!0))}(C,N,m,y):(0,L.of)(Ue)),(0,we.U)(Ue=>({...f,guardsResult:Ue})))})}(this.environmentInjector,V=>this.events.next(V)),(0,ie.b)(V=>{if(C.guardsResult=V.guardsResult,nt(V.guardsResult))throw Eo(0,V.guardsResult);const Ue=new Vr(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(V.urlAfterRedirects),V.targetSnapshot,!!V.guardsResult);this.events.next(Ue)}),(0,dt.h)(V=>!!V.guardsResult||(f.restoreHistory(V),this.cancelNavigationTransition(V,"",3),!1)),Ot(V=>{if(V.guards.canActivateChecks.length)return(0,L.of)(V).pipe((0,ie.b)(Ue=>{const at=new _r(Ue.id,this.urlSerializer.serialize(Ue.extractedUrl),this.urlSerializer.serialize(Ue.urlAfterRedirects),Ue.targetSnapshot);this.events.next(at)}),(0,Ae.w)(Ue=>{let at=!1;return(0,L.of)(Ue).pipe(function P(m,y){return(0,it.z)(f=>{const{targetSnapshot:C,guards:{canActivateChecks:O}}=f;if(!O.length)return(0,L.of)(f);let N=0;return(0,E.D)(O).pipe((0,fe.b)(V=>function $(m,y,f,C){const O=m.routeConfig,N=m._resolve;return void 0!==O?.title&&!_t(O)&&(N[Je]=O.title),function Q(m,y,f,C){const O=function De(m){return[...Object.keys(m),...Object.getOwnPropertySymbols(m)]}(m);if(0===O.length)return(0,L.of)({});const N={};return(0,E.D)(O).pipe((0,it.z)(V=>function We(m,y,f,C){const O=br(y)??C,N=Ai(m,O);return kn(N.resolve?N.resolve(y,f):O.runInContext(()=>N(y,f)))}(m[V],y,f,C).pipe((0,ae.P)(),(0,ie.b)(Ue=>{N[V]=Ue}))),et(1),function Dt(m){return(0,we.U)(()=>m)}(N),(0,Ie.K)(V=>cn(V)?te.E:(0,pe._)(V)))}(N,m,y,C).pipe((0,we.U)(V=>(m._resolvedData=V,m.data=Dr(m,f).resolve,O&&_t(O)&&(m.data[Je]=O.title),null)))}(V.route,C,m,y)),(0,ie.b)(()=>N++),et(1),(0,it.z)(V=>N===O.length?(0,L.of)(f):te.E))})}(f.paramsInheritanceStrategy,this.environmentInjector),(0,ie.b)({next:()=>at=!0,complete:()=>{at||(f.restoreHistory(Ue),this.cancelNavigationTransition(Ue,"",2))}}))}),(0,ie.b)(Ue=>{const at=new As(Ue.id,this.urlSerializer.serialize(Ue.extractedUrl),this.urlSerializer.serialize(Ue.urlAfterRedirects),Ue.targetSnapshot);this.events.next(at)}))}),Ot(V=>{const Ue=at=>
1{const zt=[];at.routeConfig?.loadComponent&&!at.routeConfig._loadedComponent&&zt.push(this.configLoader.loadComponent(at.routeConfig).pipe((0,ie.b)(Bt=>{at.component=Bt}),(0,we.U)(()=>{})));for(const Bt of at.children)zt.push(...Ue(Bt));return zt};return(0,oe.a)(Ue(V.targetSnapshot.root)).pipe((0,Xe.d)(),(0,ee.q)(1))}),Ot(()=>this.afterPreactivation()),(0,we.U)(V=>{const Ue=function Hs(m,y,f){const C=ji(m,y._root,f?f._root:void 0);return new It(C,y)}(f.routeReuseStrategy,V.targetSnapshot,V.currentRouterState);return C={...V,targetRouterState:Ue}}),(0,ie.b)(V=>{f.currentUrlTree=V.urlAfterRedirects,f.rawUrlTree=f.urlHandlingStrategy.merge(V.urlAfterRedirects,V.rawUrl),f.routerState=V.targetRouterState,"deferred"===f.urlUpdateStrategy&&(V.extras.skipLocationChange||f.setBrowserUrl(f.rawUrlTree,V),f.browserUrlTree=V.urlAfterRedirects)}),((m,y,f)=>(0,we.U)(C=>(new xs(y,C.targetRouterState,C.currentRouterState,f).activate(m),C)))(this.rootContexts,f.routeReuseStrategy,V=>this.events.next(V)),(0,ie.b)({next:V=>{O=!0,this.lastSuccessfulNavigation=this.currentNavigation,f.navigated=!0,this.events.next(new Rn(V.id,this.urlSerializer.serialize(V.extractedUrl),this.urlSerializer.serialize(f.currentUrlTree))),f.titleStrategy?.updateTitle(V.targetRouterState.snapshot),V.resolve(!0)},complete:()=>{O=!0}}),(0,Ee.x)(()=>{O||N||this.cancelNavigationTransition(C,"",1),this.currentNavigation?.id===C.id&&(this.currentNavigation=null)}),(0,Ie.K)(V=>{if(N=!0,Zi(V)){oo(V)||(f.navigated=!0,f.restoreHistory(C,!0));const Ue=new cr(C.id,this.urlSerializer.serialize(C.extractedUrl),V.message,V.cancellationCode);if(this.events.next(Ue),oo(V)){const at=f.urlHandlingStrategy.merge(V.url,f.rawUrlTree),zt={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===f.urlUpdateStrategy||yr(C.source)};f.scheduleNavigation(at,At,null,zt,{resolve:C.resolve,reject:C.reject,promise:C.promise})}else C.resolve(!1)}else{f.restoreHistory(C,!0);const Ue=new gr(C.id,this.urlSerializer.serialize(C.extractedUrl),V,C.targetSnapshot??void 0);this.events.next(Ue);try{C.resolve(f.errorHandler(V))}catch(at){C.reject(at)}}return te.E}))}))}cancelNavigationTransition(f,C,O){const N=new cr(f.id,this.urlSerializer.serialize(f.extractedUrl),C,O);this.events.next(N),f.resolve(!1)}}return m.\u0275fac=function(f){return new(f||m)},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function yr(m){return m!==At}let hs=(()=>{class m{buildTitle(f){let C,O=f.root;for(;void 0!==O;)C=this.getResolvedTitleForRoute(O)??C,O=O.children.find(N=>N.outlet===X);return C}getResolvedTitleForRoute(f){return f.data[Je]}}return m.\u0275fac=function(f){return new(f||m)},m.\u0275prov=c.Yz7({token:m,factory:function(){return(0,c.f3M)(Ii)},providedIn:"root"}),m})(),Ii=(()=>{class m extends hs{constructor(f){super(),this.title=f}updateTitle(f){const C=this.buildTitle(f);void 0!==C&&this.title.setTitle(C)}}return m.\u0275fac=function(f){return new(f||m)(c.LFG(z.Dx))},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),fi=(()=>{class m{}return m.\u0275fac=function(f){return new(f||m)},m.\u0275prov=c.Yz7({token:m,factory:function(){return(0,c.f3M)(Ys)},providedIn:"root"}),m})();class zi{shouldDetach(y){return!1}store(y,f){}shouldAttach(y){return!1}retrieve(y){return null}
1shouldReuseRoute(y,f){return y.routeConfig===f.routeConfig}}let Ys=(()=>{class m extends zi{}return m.\u0275fac=function(){let y;return function(C){return(y||(y=c.n5z(m)))(C||m)}}(),m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const Ir=new c.OlP("",{providedIn:"root",factory:()=>({})});let Gr=(()=>{class m{}return m.\u0275fac=function(f){return new(f||m)},m.\u0275prov=c.Yz7({token:m,factory:function(){return(0,c.f3M)(yi)},providedIn:"root"}),m})(),yi=(()=>{class m{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,C){return f}}return m.\u0275fac=function(f){return new(f||m)},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function bo(m){throw m}function Yt(m,y,f){return y.parse("/")}const tn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},nn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ln=(()=>{class m{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,c.f3M)(c.c2e),this.isNgZoneEnabled=!1,this.options=(0,c.f3M)(Ir,{optional:!0})||{},this.errorHandler=this.options.errorHandler||bo,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Yt,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,c.f3M)(Gr),this.routeReuseStrategy=(0,c.f3M)(fi),this.urlCreationStrategy=(0,c.f3M)(Sr),this.titleStrategy=(0,c.f3M)(hs),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=xn((0,c.f3M)(jt,{optional:!0})??[]),this.navigationTransitions=(0,c.f3M)(Rr),this.urlSerializer=(0,c.f3M)(_n),this.location=(0,c.f3M)(Pe.Ye),this.isNgZoneEnabled=(0,c.f3M)(c.R0b)instanceof c.R0b&&c.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Pn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Zt(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(f=>{this.lastSuccessfulId=f.id,this.currentPageId=f.targetPageId},f=>{this.console.warn(`Unhandled Navigation Error: ${f}`)})}resetRootComponentType(f){this.routerState.root.component=f,this.navigationTransitions.rootComponentType=f}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const f=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),At,f)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(f=>{const C="popstate"===f.type?"popstate":"hashchange";"popstate"===C&&setTimeout(()=>{this.navigateToSyncWithBrowser(f.url,C,f.state)},0)}))}navigateToSyncWithBrowser(f,C,O){const N={replaceUrl:!0},V=O?.navigationId?O:null;if(O){const at={...O};delete at.navigationId,delete at.\u0275routerPageId,0!==Object.keys(at).length&&(N.state=at)}const Ue=this.parseUrl(f);this.scheduleNavigation(Ue,C,V,N)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(f){this.config=f.map(Er),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(f,C={}){const{relativeTo:O,queryParams:N,fragment:V,queryParamsHandling:Ue,preserveFragment:at}=C,zt=at?this.currentUrlTree.fragment:V;let Bt=null;switch(Ue){case"merge":Bt={...this.currentUrlTree.queryParams,...N};break;case"preserve":Bt=this.currentUrlTree.queryParams;break;default:Bt=N||null}return null!==Bt&&(Bt=this.removeEmptyProps(Bt)),this.urlCreationStrategy.createUrlTree(O,this.routerState,this.currentUrlTree,f,Bt,zt??null)}navigateByUrl(f,C={skipLocationChange:!1}){const O=nt(f)?f:this.parseUrl(f),N=this.urlHandlingStrategy.merge(O,this.rawUrlTree);return this.scheduleNavigation(N,At,null,C)}navigate(f,C={skipLocationChange:!1}){return function Fr(m){for(let y=0;y<m.length;y++){if(null==m[y])throw new c.vHH(4008,!1)}}(f),this.navigateByUrl(this.createUrlTree(f,C),C)}serializeUrl(f){return this.urlSerializer.serialize(f)}parseUrl(f){let C;try{C=this.urlSerializer.parse(f)}catch(O){C=this.malformedUriErrorHandler(O,this.urlSerializer,f)}return C}isActive(f,C){let O;if(O=!0===C?{...tn}:!1===C?{...nn}:C,nt(f))return sr(this.currentUrlTree,f,O);const N=this.parseUrl(f);return sr(this.currentUrlTree,N,O)}removeEmptyProps(f){return Object.keys(f).reduce((C,O)=>{const N=f[O];return null!=N&&(C[O]=N),C},{})}scheduleNavigation(f,C,O,N,V){if(this.disposed)return Promise.resolve(!1);let Ue,at,zt,Bt;return V?(Ue=V.resolve,at=V.reject,zt=V.promise):zt=new Promise((lr,Wr)=>{Ue=lr,at=Wr}),Bt="computed"===this.canceledNavigationResolution?O&&O.\u0275routerPageId?O.\u0275routerPageId:N.replaceUrl||N.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Bt,source:C,restoredState:O,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:f,extras:N,resolve:Ue,reject:at,promise:zt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),zt.catch(lr=>Promise.reject(lr))}setBrowserUrl(f,C){const O=this.urlSerializer.serialize(f),N={...C.extras.state,...this.generateNgRouterState(C.id,C.targetPageId)};this.location.isCurrentPathEqualTo(O)||C.extras.replaceUrl?this.location.replaceState(O,"",N):this.location.go(O,"",N)}restoreHistory(f,C=!1){if("computed"===this.canceledNavigationResolution){const O=this.currentPageId-f.targetPageId;"popstate"!==f.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===O?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===O&&(this.resetState(f),this.browserUrlTree=f.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(O)}else"replace"===this.canceledNavigationResolution&&(C&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=f.currentRouterState,this.currentUrlTree=f.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(f,C){return"computed"===this.canceledNavigationResolution?{navigationId:f,\u0275routerPageId:C}:{navigationId:f}}}return m.\u0275fac=function(f){return new(f||m)},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();class ar{}let Ur=(()=>{class m{constructor(f,C,O,N,V){this.router=f,this.injector=O,this.preloadingStrategy=N,this.loader=V}setUpPreloading(){this.subscription=this.router.events.pipe((0,dt.h)(f=>f instanceof Rn),(0,fe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,C){const O=[];for(const N of C){N.providers&&!N._injector&&(N._injector=(0,c.MMx)(N.providers,f,`Route: ${N.path}`));const V=N._injector??f,Ue=N._loadedInjector??V;N.loadChildren&&!N._loadedRoutes&&void 0===N.canLoad||N.loadComponent&&!N._loadedComponent?O.push(this.preloadConfig(V,N)):(N.children||N._loadedRoutes)&&O.push(this.processRoutes(Ue,N.children??N._loadedRoutes))}return(0,E.D)(O).pipe((0,rt.J)())}preloadConfig(f,C){return this.preloadingStrategy.preload(C,()=>{let O;O=C.loadChildren&&void 0===C.canLoad?this.loader.loadChildren(f,C):(0,L.of)(null);const N=O.pipe((0,it.z)(V=>null===V?(0,L.of)(void 0):(C._loadedRoutes=V.routes,C._loadedInjector=V.injector,this.processRoutes(V.injector??f,V.routes))));if(C.loadComponent&&!C._loadedComponent){const V=this.loader.loadComponent(C);return(0,E.D)([N,V]).pipe((0,rt.J)())}return N})}}return m.\u0275fac=function(f){return new(f||m)(c.LFG(ln),c.LFG(c.Sil),c.LFG(c.lqb),c.LFG(ar),c.LFG(Kt))},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const Ls=new c.OlP("");let ki=(()=>{class m{constructor(f,C,O,N,V={}
1){this.urlSerializer=f,this.transitions=C,this.viewportScroller=O,this.zone=N,this.options=V,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},V.scrollPositionRestoration=V.scrollPositionRestoration||"disabled",V.anchorScrolling=V.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof kt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof Rn&&(this.lastId=f.id,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof bi&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(f,C){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new bi(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,C))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return m.\u0275fac=function(f){c.$Z()},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac}),m})();function B(m,y){return{\u0275kind:m,\u0275providers:y}}function zo(){const m=(0,c.f3M)(c.zs3);return y=>{const f=m.get(c.z2F);if(y!==f.components[0])return;const C=m.get(ln),O=m.get(Go);1===m.get(So)&&C.initialNavigation(),m.get(Wu,null,c.XFs.Optional)?.setUpPreloading(),m.get(Ls,null,c.XFs.Optional)?.init(),C.resetRootComponentType(f.componentTypes[0]),O.closed||(O.next(),O.unsubscribe())}}const Go=new c.OlP("",{factory:()=>new me.x}),So=new c.OlP("",{providedIn:"root",factory:()=>1});const Wu=new c.OlP("");function Ku(m){return B(0,[{provide:Wu,useExisting:Ur},{provide:ar,useExisting:m}])}const Yu=new c.OlP("ROUTER_FORROOT_GUARD"),Td=[Pe.Ye,{provide:_n,useClass:Yr},ln,Si,{provide:yn,useFactory:function El(m){return m.routerState.root},deps:[ln]},Kt,[]];function Id(){return new c.PXZ("Router",ln)}let Mo=(()=>{class m{constructor(f){}static forRoot(f,C){return{ngModule:m,providers:[Td,[],{provide:jt,multi:!0,useValue:f},{provide:Yu,useFactory:pi,deps:[[ln,new c.FiY,new c.tp0]]},{provide:Ir,useValue:C||{}},C?.useHash?{provide:Pe.S$,useClass:Pe.Do}:{provide:Pe.S$,useClass:Pe.b0},{provide:Ls,useFactory:()=>{const m=(0,c.f3M)(Pe.EM),y=(0,c.f3M)(c.R0b),f=(0,c.f3M)(Ir),C=(0,c.f3M)(Rr),O=(0,c.f3M)(_n);return f.scrollOffset&&m.setOffset(f.scrollOffset),new ki(O,C,m,y,f)}},C?.preloadingStrategy?Ku(C.preloadingStrategy).\u0275providers:[],{provide:c.PXZ,multi:!0,useFactory:Id},C?.initialNavigation?wl(C):[],[{provide:ms,useFactory:zo},{provide:c.tb,multi:!0,useExisting:ms}]]}}static forChild(f){return{ngModule:m,providers:[{provide:jt,multi:!0,useValue:f}]}}}return m.\u0275fac=function(f){return new(f||m)(c.LFG(Yu,8))},m.\u0275mod=c.oAB({type:m}),m.\u0275inj=c.cJS({imports:[ao]}),m})();function pi(m){return"guarded"}function wl(m){return["disabled"===m.initialNavigation?B(3,[{provide:c.ip1,multi:!0,useFactory:()=>{const y=(0,c.f3M)(ln);return()=>{y.setUpLocationChangeListener()}}},{provide:So,useValue:2}]).\u0275providers:[],"enabledBlocking"===m.initialNavigation?B(2,[{provide:So,useValue:0},{provide:c.ip1,multi:!0,deps:[c.zs3],useFactory:y=>{const f=y.get(Pe.V_,Promise.resolve());return()=>f.then(()=>new Promise(O=>{const N=y.get(ln),V=y.get(Go);(function C(O){y.get(ln).events.pipe((0,dt.h)(V=>V instanceof Rn||V instanceof cr||V instanceof gr),(0,we.U)(V=>V instanceof Rn||V instanceof cr&&(0===V.code||1===V.code)&&null),(0,dt.h)(V=>null!==V),(0,ee.q)(1)).subscribe(()=>{O()})})(()=>{O(!0)}),y.get(Rr).afterPreactivation=()=>(O(!0),V.closed?(0,L.of)(void 0):V),N.initialNavigation()}))}}]).\u0275providers:[]]}const ms=new c.OlP("")},2930:(wt,Te,w)=>{"use strict";w.d(Te,{yh:()=>pr,Aw:()=>Vi,R7:()=>be,ZF:()=>Jr,Lq:()=>Sr,P1:()=>xr,on:()=>Hi,Ky:()=>ae});var c=w(4650),E=w(1135),L=w(9751),ce=w(7579),v=w(4408),J=w(7565);const he=new class se extends J.v{}(class oe extends v.o{constructor(Ne,_e){super(Ne,_e),this.scheduler
1=Ne,this.work=_e}schedule(Ne,_e=0){return _e>0?super.schedule(Ne,_e):(this.delay=_e,this.state=Ne,this.scheduler.flush(this),this)}execute(Ne,_e){return _e>0||this.closed?super.execute(Ne,_e):this._execute(Ne,_e)}requestAsyncId(Ne,_e,je=0){return null!=je&&je>0||null==je&&this.delay>0?super.requestAsyncId(Ne,_e,je):(Ne.flush(this),0)}});var re=w(5363),te=w(4482),le=w(5403),q=w(8421),Be=w(4671),ht=w(5032),Fe=w(7669),Pe=w(5026),we=w(4004);function Qe(W,Ne){return W===Ne}const tt={};function it(W,Ne){if(tt[W]=(tt[W]||0)+1,"function"==typeof Ne)return ie(W,(...je)=>({...Ne(...je),type:W}));switch(Ne?Ne._as:"empty"){case"empty":return ie(W,()=>({type:W}));case"props":return ie(W,je=>({...je,type:W}));default:throw new Error("Unexpected config.")}}function ae(){return{_as:"props",_p:void 0}}function ie(W,Ne){return Object.defineProperty(Ne,"type",{value:W,writable:!1})}function be(W){const{source:Ne,events:_e}=W;return Object.keys(_e).reduce((je,Et)=>({...je,[ut(Et)]:it(Xe(Ne,Et),_e[Et])}),{})}function ut(W){return W.trim().toLowerCase().split(" ").map((Ne,_e)=>0===_e?Ne:function Ie(W){return W.charAt(0).toUpperCase()+W.substring(1)}(Ne)).join("")}function Xe(W,Ne){return`[${W}] ${Ne}`}const ye="@ngrx/store/init";let Se=(()=>{class W extends E.X{constructor(){super({type:ye})}next(_e){if("function"==typeof _e)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof _e>"u")throw new TypeError("Actions must be objects");if(typeof _e.type>"u")throw new TypeError("Actions must have a type property");super.next(_e)}complete(){}ngOnDestroy(){super.complete()}}return W.\u0275fac=function(_e){return new(_e||W)},W.\u0275prov=c.Yz7({token:W,factory:W.\u0275fac}),W})();const Le=[Se],Dt=new c.OlP("@ngrx/store Internal Root Guard"),Ee=new c.OlP("@ngrx/store Internal Initial State"),rt=new c.OlP("@ngrx/store Initial State"),z=new c.OlP("@ngrx/store Reducer Factory"),X=new c.OlP("@ngrx/store Internal Reducer Factory Provider"),Je=new c.OlP("@ngrx/store Initial Reducers"),St=new c.OlP("@ngrx/store Internal Initial Reducers"),Tt=new c.OlP("@ngrx/store Store Features"),Nn=new c.OlP("@ngrx/store Internal Store Reducers"),An=new c.OlP("@ngrx/store Internal Feature Reducers"),En=new c.OlP("@ngrx/store Internal Feature Configs"),Mn=new c.OlP("@ngrx/store Internal Store Features"),xn=new c.OlP("@ngrx/store Internal Feature Reducers Token"),nr=new c.OlP("@ngrx/store Feature Reducers"),Kr=new c.OlP("@ngrx/store User Provided Meta Reducers"),on=new c.OlP("@ngrx/store Meta Reducers"),kn=new c.OlP("@ngrx/store Internal Resolved Meta Reducers"),ir=new c.OlP("@ngrx/store User Runtime Checks Config"),Lt=new c.OlP("@ngrx/store Internal User Runtime Checks Config"),Vn=new c.OlP("@ngrx/store Internal Runtime Checks"),sr=new c.OlP("@ngrx/store Check if Action types are unique");function Oe(W,Ne={}){const _e=Object.keys(W),je={};for(let It=0;It<_e.length;It++){const Zt=_e[It];"function"==typeof W[Zt]&&(je[Zt]=W[Zt])}const Et=Object.keys(je);return function(Zt,bn){Zt=void 0===Zt?Ne:Zt;let yn=!1;const Dr={};for(let jn=0;jn<Et.length;jn++){const Hr=Et[jn],$n=Zt[Hr],Zn=(0,je[Hr])($n,bn);Dr[Hr]=Zn,yn=yn||Zn!==$n}return yn?Dr:Zt}}function mt(...W){return function(Ne){if(0===W.length)return Ne;const _e=W[W.length-1];return W.slice(0,-1).reduceRight((Et,It)=>It(Et),_e(Ne))}}function Mt(W,Ne){return Array.isArray(Ne)&&Ne.length>0&&(W=mt.apply(null,[...Ne,W])),(_e,je)=>{const Et=W(_e);return(It,Zt)=>Et(It=void 0===It?je:It,Zt)}}new c.OlP("@ngrx/store Root Store Provider"),new c.OlP("@ngrx/store Feature State Provider");class xt extends L.y{}class Tn extends Se{}let Cn=(()=>{class W extends E.X{constructor(_e,je,Et,It){super(It(Et,je)),this.dispatcher=_e,this.initialState=je,this.reducers=Et,this.reducerFactory=It}get currentReducers(){return this.reducers}addFeature(_e){this.addFeatures([_e])}addFeatures(_e){const je=_e.reduce((Et,{reducers:It,reducerFactory:Zt,metaReducers:bn,initialState:yn,key:Dr})=>{const jn="function"==typeof It?function Pn(W){const Ne=Array.isArray(W)&&W.length>0?mt(...W):_e=>_e;return(_e,je)=>(_e=Ne(_e),(Et,It)=>_e(Et=void 0===Et?je:Et,It))}(bn)(It,yn):Mt(Zt,bn)(It,yn);return Et[Dr]=jn,Et},{});this.addReducers(je)}
1removeFeature(_e){this.removeFeatures([_e])}removeFeatures(_e){this.removeReducers(_e.map(je=>je.key))}addReducer(_e,je){this.addReducers({[_e]:je})}addReducers(_e){this.reducers={...this.reducers,..._e},this.updateReducers(Object.keys(_e))}removeReducer(_e){this.removeReducers([_e])}removeReducers(_e){_e.forEach(je=>{this.reducers=function ot(W,Ne){return Object.keys(W).filter(_e=>_e!==Ne).reduce((_e,je)=>Object.assign(_e,{[je]:W[je]}),{})}(this.reducers,je)}),this.updateReducers(_e)}updateReducers(_e){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:"@ngrx/store/update-reducers",features:_e})}ngOnDestroy(){this.complete()}}return W.\u0275fac=function(_e){return new(_e||W)(c.LFG(Tn),c.LFG(rt),c.LFG(Je),c.LFG(z))},W.\u0275prov=c.Yz7({token:W,factory:W.\u0275fac}),W})();const dr=[Cn,{provide:xt,useExisting:Cn},{provide:Tn,useExisting:Se}];let _n=(()=>{class W extends ce.x{ngOnDestroy(){this.complete()}}return W.\u0275fac=function(){let Ne;return function(je){return(Ne||(Ne=c.n5z(W)))(je||W)}}(),W.\u0275prov=c.Yz7({token:W,factory:W.\u0275fac}),W})();const Yr=[_n];class Jt extends L.y{}let fr=(()=>{class W extends E.X{constructor(_e,je,Et,It){super(It);const bn=_e.pipe((0,re.Q)(he)).pipe(function me(...W){const Ne=(0,Fe.jO)(W);return(0,te.e)((_e,je)=>{const Et=W.length,It=new Array(Et);let Zt=W.map(()=>!1),bn=!1;for(let yn=0;yn<Et;yn++)(0,q.Xf)(W[yn]).subscribe((0,le.x)(je,Dr=>{It[yn]=Dr,!bn&&!Zt[yn]&&(Zt[yn]=!0,(bn=Zt.every(Be.y))&&(Zt=null))},ht.Z));_e.subscribe((0,le.x)(je,yn=>{if(bn){const Dr=[yn,...It];je.next(Ne?Ne(...Dr):Dr)}}))})}(je)),Dr=bn.pipe((0,Pe.R)(hr,{state:It}));this.stateSubscription=Dr.subscribe(({state:jn,action:Hr})=>{this.next(jn),Et.next(Hr)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return W.INIT=ye,W.\u0275fac=function(_e){return new(_e||W)(c.LFG(Se),c.LFG(xt),c.LFG(_n),c.LFG(rt))},W.\u0275prov=c.Yz7({token:W,factory:W.\u0275fac}),W})();function hr(W={state:void 0},[Ne,_e]){const{state:je}=W;return{state:_e(je,Ne),action:Ne}}const an=[fr,{provide:Jt,useExisting:fr}];let pr=(()=>{class W extends L.y{constructor(_e,je,Et){super(),this.actionsObserver=je,this.reducerManager=Et,this.source=_e}select(_e,...je){return de.call(null,_e,...je)(this)}lift(_e){const je=new W(this,this.actionsObserver,this.reducerManager);return je.operator=_e,je}dispatch(_e){this.actionsObserver.next(_e)}next(_e){this.actionsObserver.next(_e)}error(_e){this.actionsObserver.error(_e)}complete(){this.actionsObserver.complete()}addReducer(_e,je){this.reducerManager.addReducer(_e,je)}removeReducer(_e){this.reducerManager.removeReducer(_e)}}return W.\u0275fac=function(_e){return new(_e||W)(c.LFG(Jt),c.LFG(Se),c.LFG(Cn))},W.\u0275prov=c.Yz7({token:W,factory:W.\u0275fac}),W})();const Ze=[pr];function de(W,Ne,..._e){return function(Et){let It;if("string"==typeof W){const Zt=[Ne,..._e].filter(Boolean);It=Et.pipe(function Ae(...W){const Ne=W.length;if(0===Ne)throw new Error("list of properties cannot be empty.");return(0,we.U)(_e=>{let je=_e;for(let Et=0;Et<Ne;Et++){const It=je?.[W[Et]];if(!(typeof It<"u"))return;je=It}return je})}(W,...Zt))}else{if("function"!=typeof W)throw new TypeError(`Unexpected type '${typeof W}' in select operator, expected 'string' or 'function'`);It=Et.pipe((0,we.U)(Zt=>W(Zt,Ne)))}return It.pipe(function ee(W,Ne=Be.y){return W=W??Qe,(0,te.e)((_e,je)=>{let Et,It=!0;_e.subscribe((0,le.x)(je,Zt=>{const bn=Ne(Zt);(It||!W(Et,bn))&&(It=!1,Et=bn,je.next(Zt))}))})}())}}const ve="https://ngrx.io/guide/store/configuration/runtime-checks";function pt(W){return void 0===W}function lt(W){return null===W}function Qt(W){return Array.isArray(W)}function rr(W){return"object"==typeof W&&null!==W}function Kn(W){return"function"==typeof W}function Ft(W,Ne){return W===Ne}function sn(W,Ne,_e){for(let je=0;je<W.length;je++)if(!_e(W[je],Ne[je]))return!0;return!1}function Xn(W,Ne=Ft,_e=Ft){let It,je=null,Et=null;return{memoized:function Dr(){if(void 0!==It)return It.result;if(!je)return Et=W.apply(null,arguments),je=arguments,Et;if(!sn(arguments,je,Ne))return Et;const jn=W.apply(null,arguments);return je=arguments,_e(Et,jn)?Et:(Et=jn,jn)},reset:function Zt(){je=null,Et=null},setResult:function bn(jn){It={result:jn}},clearResult:function yn(){It=void 0}}}function xr(...W){return function si(W,Ne={stateFn:Xr}){return function(..._e){let je=_e;if(Array.isArray(je[0])){const[jn,...Hr]=je;je=[...jn,...Hr]}else 1===je.length&&function Ei(W){return!!W&&"object"==typeof W&&Object.values(W).every(Ne=>"function"==typeof Ne)}(je[0])&&(je=function Ri(W){const Ne=Object.values(W),_e=Object.keys(W);return[...Ne,(...Et)=>_e.reduce((It,Zt,bn)=>({...It,[Zt]:Et[bn]}),{})]}(je[0]));const Et=je.slice(0,je.length-1),It=je[je.length-1],Zt=Et.filter(jn=>jn.release&&"function"==typeof jn.release),bn=W(function(...jn){return It.apply(null,jn)}),yn=Xn(function(jn,Hr){return Ne.stateFn.apply(null,[jn,Et,Hr,bn])});return Object.assign(yn.memoized,{release:function Dr(){yn.reset(),bn.reset(),Zt.forEach(jn=>
1jn.release())},projector:bn.memoized,setResult:yn.setResult,clearResult:yn.clearResult})}}(Xn)(...W)}function Xr(W,Ne,_e,je){if(void 0===_e){const It=Ne.map(Zt=>Zt(W));return je.memoized.apply(null,It)}const Et=Ne.map(It=>It(W,_e));return je.memoized.apply(null,[...Et,_e])}function Jr(W){return xr(Ne=>{const _e=Ne[W];return(0,c.X6Q)()&&!(W in Ne)&&console.warn(`@ngrx/store: The feature name "${W}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${W}', ...) or StoreModule.forFeature('${W}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),_e},Ne=>Ne)}function Cr(W){return W instanceof c.OlP?(0,c.f3M)(W):W}function ur(W,Ne){return Ne.map((_e,je)=>{if(W[je]instanceof c.OlP){const Et=(0,c.f3M)(W[je]);return{key:_e.key,reducerFactory:Et.reducerFactory?Et.reducerFactory:Oe,metaReducers:Et.metaReducers?Et.metaReducers:[],initialState:Et.initialState}}return _e})}function R(W){return W.map(Ne=>Ne instanceof c.OlP?(0,c.f3M)(Ne):Ne)}function j(W){return"function"==typeof W?W():W}function G(W,Ne){return W.concat(Ne)}function K(){if((0,c.f3M)(pr,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Ke(W){Object.freeze(W);const Ne=Kn(W);return Object.getOwnPropertyNames(W).forEach(_e=>{if(!_e.startsWith("\u0275")&&function ue(W,Ne){return Object.prototype.hasOwnProperty.call(W,Ne)}(W,_e)&&(!Ne||"caller"!==_e&&"callee"!==_e&&"arguments"!==_e)){const je=W[_e];(rr(je)||Kn(je))&&!Object.isFrozen(je)&&Ke(je)}}),W}function gt(W,Ne=[]){return(pt(W)||lt(W))&&0===Ne.length?{path:["root"],value:W}:Object.keys(W).reduce((je,Et)=>{if(je)return je;const It=W[Et];return function ge(W){return Kn(W)&&W.hasOwnProperty("\u0275cmp")}(It)?je:!(pt(It)||lt(It)||function Gt(W){return"number"==typeof W}(It)||function wn(W){return"boolean"==typeof W}(It)||function Dn(W){return"string"==typeof W}(It)||Qt(It))&&(function Wn(W){if(!function Pi(W){return rr(W)&&!Qt(W)}(W))return!1;const Ne=Object.getPrototypeOf(W);return Ne===Object.prototype||null===Ne}(It)?gt(It,[...Ne,Et]):{path:[...Ne,Et],value:It})},!1)}function At(W,Ne){if(!1===W)return;const _e=W.path.join("."),je=new Error(`Detected unserializable ${Ne} at "${_e}". ${ve}#strict${Ne}serializability`);throw je.value=W.value,je.unserializablePath=_e,je}function kt(W){return(0,c.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...W}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Rn({strictActionSerializability:W,strictStateSerializability:Ne}){return _e=>W||Ne?function ct(W,Ne){return function(_e,je){Ne.action(je)&&At(gt(je),"action");const Et=W(_e,je);return Ne.state()&&At(gt(Et),"state"),Et}}(_e,{action:je=>W&&!Rt(je),state:()=>Ne}):_e}function cr({strictActionImmutability:W,strictStateImmutability:Ne}){return _e=>W||Ne?function Re(W,Ne){return function(_e,je){const Et=Ne.action(je)?Ke(je):je,It=W(_e,Et);return Ne.state()?Ke(It):It}}(_e,{action:je=>W&&!Rt(je),state:()=>Ne}):_e}function Rt(W){return W.type.startsWith("@ngrx")}function gr({strictActionWithinNgZone:W}){return Ne=>W?function Nt(W,Ne){return function(_e,je){if(Ne.action(je)&&!c.R0b.isInAngularZone())throw new Error(`Action '${je.type}' running outside NgZone. ${ve}#strictactionwithinngzone`);return W(_e,je)}}(Ne,{action:_e=>W&&!Rt(_e)}):Ne}function kr(W){return[{provide:Lt,useValue:W},{provide:ir,useFactory:Vr,deps:[Lt]},{provide:Vn,deps:[ir],useFactory:kt},{provide:on,multi:!0,deps:[Vn],useFactory:cr},{provide:on,multi:!0,deps:[Vn],useFactory:Rn},{provide:on,multi:!0,deps:[Vn],useFactory:gr}]}function Zr(){return[{provide:sr,multi:!0,deps:[Vn],useFactory:_r}]}function Vr(W){return W}function _r(W){if(!W.strictActionTypeUniqueness)return;const Ne=Object.entries(tt).filter(([,_e])=>_e>1).map(([_e])=>_e);if(Ne.length)throw new Error(`Action types are registered more than once, ${Ne.map(_e=>`"${_e}"`).join(", ")}. ${ve}#strictactiontypeuniqueness`)}function Ci(W={},Ne={}){return[{provide:Dt,useFactory:K},{provide:Ee,useValue:Ne.initialState},{provide:rt,useFactory:j,deps:[Ee]},{provide:St,useValue:W},{provide:Nn,useExisting:W instanceof c.OlP?W:St},{provide:Je,deps:[St,[new c.tBr(Nn)]],useFactory:Cr},{provide:Kr,useValue:Ne.metaReducers?Ne.metaReducers:[]},{provide:kn,deps:[on,Kr],useFactory:G},{provide:X,useValue:Ne.reducerFactory?Ne.reducerFactory:Oe},{provide:z,deps:[X,kn],useFactory:Mt},Le,dr,Yr,an,Ze,kr(Ne.runtimeChecks),Zr()]}function bi(W,Ne,_e={}){return[{provide:En,multi:!0,useValue:W instanceof Object?{}:_e},{provide:Tt,multi:!0,useValue:{key:W instanceof Object?W.name:W,reducerFactory:_e instanceof c.OlP||!_e.reducerFactory?Oe:_e.reducerFactory,metaReducers:_e instanceof c.OlP||!_e.metaReducers?[]:_e.metaReducers,initialState:_e instanceof c.OlP||!_e.initialState?void 0:_e.initialState}},{provide:Mn,deps:[En,Tt],useFactory:ur},{provide:An,multi:!0,useValue:W instanceof Object?W.reducer:Ne},{provide:xn,multi:!0,useExisting:Ne instanceof c.OlP?Ne:An},{provide:nr,multi:!0,deps:[An,[new c.tBr(xn)]],useFactory:R},Zr()]}let Bi=(()=>{class W{constructor(_e,je,Et,It,Zt,bn){}}return W.\u0275fac=function(_e){return new(_e||W)(c.LFG(Se),c.LFG(xt),c.LFG(_n),c.LFG(pr),c.LFG(Dt,8),c.LFG(sr,8))},W.\u0275mod=c.oAB({type:W}),W.\u0275inj=c.cJS({}),W})(),fs=(()=>{class W{constructor(_e,je,Et,It,Zt){this.features=_e,this.featureReducers=je,this.reducerManager=Et;const bn=_e.map((yn,Dr)=>{const Hr=je.shift()[Dr];return{...yn,reducers:Hr,initialState:j(yn.initialState)}});Et.addFeatures(bn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return W.\u0275fac=function(_e){return new(_e||W)(c.LFG(Mn),c.LFG(nr),c.LFG(Cn),c.LFG(Bi),c.LFG(sr,8))},W.\u0275mod=c.oAB({type:W}),W.\u0275inj=c.cJS({}),W})(),Vi=(()=>{class W{static forRoot(_e,je){return{ngModule:Bi,providers:[...Ci(_e,je)]}}
1static forFeature(_e,je,Et={}){return{ngModule:fs,providers:[...bi(_e,je,Et)]}}}return W.\u0275fac=function(_e){return new(_e||W)},W.\u0275mod=c.oAB({type:W}),W.\u0275inj=c.cJS({}),W})();function Hi(...W){return{reducer:W.pop(),types:W.map(je=>je.type)}}function Sr(W,...Ne){const _e=new Map;for(const je of Ne)for(const Et of je.types){const It=_e.get(Et);_e.set(Et,It?(bn,yn)=>je.reducer(It(bn,yn),yn):je.reducer)}return function(je=W,Et){const It=_e.get(Et.type);return It?It(je,Et):je}}},4463:(wt,Te,w)=>{"use strict";w.d(Te,{Pi:()=>Se,Zw:()=>me,aw:()=>Dt,X$:()=>Le,sK:()=>ye});var c=w(4650),E=w(9646),L=w(9751),ce=w(576);function v(Ee){return!!Ee&&(Ee instanceof L.y||(0,ce.m)(Ee.lift)&&(0,ce.m)(Ee.subscribe))}var oe=w(4128),J=w(7272),se=w(9770),he=w(5698),pe=w(7579),re=w(6063);class te extends pe.x{constructor(rt=1/0,z=1/0,X=re.l){super(),this._bufferSize=rt,this._windowTime=z,this._timestampProvider=X,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=z===1/0,this._bufferSize=Math.max(1,rt),this._windowTime=Math.max(1,z)}next(rt){const{isStopped:z,_buffer:X,_infiniteTimeWindow:Je,_timestampProvider:St,_windowTime:Tt}=this;z||(X.push(rt),!Je&&X.push(St.now()+Tt)),this._trimBuffer(),super.next(rt)}_subscribe(rt){this._throwIfClosed(),this._trimBuffer();const z=this._innerSubscribe(rt),{_infiniteTimeWindow:X,_buffer:Je}=this,St=Je.slice();for(let Tt=0;Tt<St.length&&!rt.closed;Tt+=X?1:2)rt.next(St[Tt]);return this._checkFinalizedStatuses(rt),z}_trimBuffer(){const{_bufferSize:rt,_timestampProvider:z,_buffer:X,_infiniteTimeWindow:Je}=this,St=(Je?1:2)*rt;if(rt<1/0&&St<X.length&&X.splice(0,X.length-St),!Je){const Tt=z.now();let Nn=0;for(let An=1;An<X.length&&X[An]<=Tt;An+=2)Nn=An;Nn&&X.splice(0,Nn+1)}}}var le=w(3099);function q(Ee,rt,z){let X,Je=!1;return Ee&&"object"==typeof Ee?({bufferSize:X=1/0,windowTime:rt=1/0,refCount:Je=!1,scheduler:z}=Ee):X=Ee??1/0,(0,le.B)({connector:()=>new te(X,rt,z),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Je})}var Be=w(4004),ht=w(4351),Fe=w(3900);class me{}let Pe=(()=>{class Ee extends me{getTranslation(z){return(0,E.of)({})}}return Ee.\u0275fac=function(){let rt;return function(X){return(rt||(rt=c.n5z(Ee)))(X||Ee)}}(),Ee.\u0275prov=c.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();class we{}let Ae=(()=>{class Ee{handle(z){return z.key}}return Ee.\u0275fac=function(z){return new(z||Ee)},Ee.\u0275prov=c.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();function ee(Ee,rt){if(Ee===rt)return!0;if(null===Ee||null===rt)return!1;if(Ee!=Ee&&rt!=rt)return!0;let Je,St,Tt,z=typeof Ee;if(z==typeof rt&&"object"==z){if(!Array.isArray(Ee)){if(Array.isArray(rt))return!1;for(St in Tt=Object.create(null),Ee){if(!ee(Ee[St],rt[St]))return!1;Tt[St]=!0}for(St in rt)if(!(St in Tt)&&typeof rt[St]<"u")return!1;return!0}if(!Array.isArray(rt))return!1;if((Je=Ee.length)==rt.length){for(St=0;St<Je;St++)if(!ee(Ee[St],rt[St]))return!1;return!0}}return!1}function Qe(Ee){return typeof Ee<"u"&&null!==Ee}function tt(Ee){return Ee&&"object"==typeof Ee&&!Array.isArray(Ee)}function dt(Ee,rt){let z=Object.assign({},Ee);return tt(Ee)&&tt(rt)&&Object.keys(rt).forEach(X=>{tt(rt[X])?X in Ee?z[X]=dt(Ee[X],rt[X]):Object.assign(z,{[X]:rt[X]}):Object.assign(z,{[X]:rt[X]})}),z}class it{}let ae=(()=>{class Ee extends it{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(z,X){let Je;return Je="string"==typeof z?this.interpolateString(z,X):"function"==typeof z?this.interpolateFunction(z,X):z,Je}getValue(z,X){let Je="string"==typeof X?X.split("."):[X];X="";do{X+=Je.shift(),!Qe(z)||!Qe(z[X])||"object"!=typeof z[X]&&Je.length?Je.length?X+=".":z=void 0:(z=z[X],X="")}while(Je.length);return z}interpolateFunction(z,X){return z(X)}interpolateString(z,X){return X?z.replace(this.templateMatcher,(Je,St)=>{let Tt=this.getValue(X,St);return Qe(Tt)?Tt:Je}):z}}return Ee.\u0275fac=function(){let rt;return function(X){return(rt||(rt=c.n5z(Ee)))(X||Ee)}}(),Ee.\u0275prov=c.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();class fe{}let ie=(()=>{class Ee extends fe{compile(z,X){return z}compileTranslations(z,X){return z}}return Ee.\u0275fac=function(){let rt;return function(X){return(rt||(rt=c.n5z(Ee)))(X||Ee)}}(),Ee.\u0275prov=c.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})();class Ie{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new c.vpe,this.onLangChange=new c.vpe,this.onDefaultLangChange=new c.vpe}}const be=new c.OlP("USE_STORE"),et=new c.OlP("USE_DEFAULT_LANG"),ut=new c.OlP("DEFAULT_LANGUAGE"),Xe=new c.OlP("USE_EXTEND");let ye=(()=>{class Ee{constructor(z,X,Je,St,Tt,Nn=!0,An=!1,En=!1,Mn){this.store=z,this.currentLoader=X,this.compiler=Je,this.parser=St,this.missingTranslationHandler=Tt,this.useDefaultLang=Nn,this.isolate=An,this.extend=En,this.pending=!1,this._onTranslationChange=new c.vpe,this._onLangChange=new c.vpe,this._onDefaultLangChange=new c.vpe,this._langs=[],this._translations={},this._translationRequests={},Mn&&this.setDefaultLang(Mn)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(z){this.isolate?this._defaultLang=z:this.store.defaultLang=z}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(z){this.isolate?this._currentLang=z:this.store.currentLang=z}get langs(){return this.isolate?this._langs:this.store.langs}set langs(z){this.isolate?this._langs=z:this.store.langs=z}get translations(){return this.isolate?this._translations:this.store.translations}set translations(z){this.isolate?this._translations=z:this.store.translations=z}setDefaultLang(z){if(z===this.defaultLang)return;let X=this.retrieveTranslations(z);typeof X<"u"?(null==this.defaultLang&&(this.defaultLang=z),X.pipe((0,he.q)(1)).subscribe(Je=>{this.changeDefaultLang(z)})):this.changeDefaultLang(z)}getDefaultLang(){return this.defaultLang}use(z){if(z===this.currentLang)return(0,E.of)(this.translations[z]);let X=this.retrieveTranslations(z);return typeof X<"u"?(this.currentLang||(this.currentLang=z),X.pipe((0,he.q)(1)).subscribe(Je=>{this.changeLang(z)}),X):(this.changeLang(z),(0,E.of)(this.translations[z]))}retrieveTranslations(z){let X;return(typeof this.translations[z]>"u"||this.extend)&&(this._translationRequests[z]=this._translationRequests[z]||this.getTranslation(z),X=this._translationRequests[z]),X}getTranslation(z){this.pending=!0;const X=this.currentLoader.getTranslation(z).pipe(q(1),(0,he.q)(1));return this.loadingTranslations=X.pipe((0,Be.U)(Je=>this.compiler.compileTranslations(Je,z)),q(1),(0,he.q)(1)),this.loadingTranslations.subscribe({next:Je=>{this.translations[z]=this.extend&&this.translations[z]?{...Je,...this.translations[z]}:Je,this.updateLangs(),this.pending=!1},error:Je=>{this.pending=!1}}),X}setTranslation(z,X,Je=!1){X=this.compiler.compileTranslations(X,z),this.translations[z]=(Je||this.extend)&&this.translations[z]?dt(this.translations[z],X):X,this.updateLangs(),this.onTranslationChange.emit({lang:z,translations:this.translations[z]})}getLangs(){return this.langs}addLangs(z){z.forEach(X=>{-1===this.langs.indexOf(X)&&this.langs.push(X)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(z,X,Je){let St;if(X instanceof Array){let Tt={},Nn=!1;for(let An of X)Tt[An]=this.getParsedResult(z,An,Je),v(Tt[An])&&(Nn=!0);if(Nn){const An=X.map(En=>
1v(Tt[En])?Tt[En]:(0,E.of)(Tt[En]));return(0,oe.D)(An).pipe((0,Be.U)(En=>{let Mn={};return En.forEach((xn,nr)=>{Mn[X[nr]]=xn}),Mn}))}return Tt}if(z&&(St=this.parser.interpolate(this.parser.getValue(z,X),Je)),typeof St>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(St=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],X),Je)),typeof St>"u"){let Tt={key:X,translateService:this};typeof Je<"u"&&(Tt.interpolateParams=Je),St=this.missingTranslationHandler.handle(Tt)}return typeof St<"u"?St:X}get(z,X){if(!Qe(z)||!z.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,ht.b)(Je=>v(Je=this.getParsedResult(Je,z,X))?Je:(0,E.of)(Je)));{let Je=this.getParsedResult(this.translations[this.currentLang],z,X);return v(Je)?Je:(0,E.of)(Je)}}getStreamOnTranslationChange(z,X){if(!Qe(z)||!z.length)throw new Error('Parameter "key" required');return(0,J.z)((0,se.P)(()=>this.get(z,X)),this.onTranslationChange.pipe((0,Fe.w)(Je=>{const St=this.getParsedResult(Je.translations,z,X);return"function"==typeof St.subscribe?St:(0,E.of)(St)})))}stream(z,X){if(!Qe(z)||!z.length)throw new Error('Parameter "key" required');return(0,J.z)((0,se.P)(()=>this.get(z,X)),this.onLangChange.pipe((0,Fe.w)(Je=>{const St=this.getParsedResult(Je.translations,z,X);return v(St)?St:(0,E.of)(St)})))}instant(z,X){if(!Qe(z)||!z.length)throw new Error('Parameter "key" required');let Je=this.getParsedResult(this.translations[this.currentLang],z,X);if(v(Je)){if(z instanceof Array){let St={};return z.forEach((Tt,Nn)=>{St[z[Nn]]=z[Nn]}),St}return z}return Je}set(z,X,Je=this.currentLang){this.translations[Je][z]=this.compiler.compile(X,Je),this.updateLangs(),this.onTranslationChange.emit({lang:Je,translations:this.translations[Je]})}changeLang(z){this.currentLang=z,this.onLangChange.emit({lang:z,translations:this.translations[z]}),null==this.defaultLang&&this.changeDefaultLang(z)}changeDefaultLang(z){this.defaultLang=z,this.onDefaultLangChange.emit({lang:z,translations:this.translations[z]})}reloadLang(z){return this.resetLang(z),this.getTranslation(z)}resetLang(z){this._translationRequests[z]=void 0,this.translations[z]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let z=window.navigator.languages?window.navigator.languages[0]:null;return z=z||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof z>"u"?void 0:(-1!==z.indexOf("-")&&(z=z.split("-")[0]),-1!==z.indexOf("_")&&(z=z.split("_")[0]),z)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let z=window.navigator.languages?window.navigator.languages[0]:null;return z=z||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,z}}return Ee.\u0275fac=function(z){return new(z||Ee)(c.LFG(Ie),c.LFG(me),c.LFG(fe),c.LFG(it),c.LFG(we),c.LFG(et),c.LFG(be),c.LFG(Xe),c.LFG(ut))},Ee.\u0275prov=c.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})(),Se=(()=>{class Ee{constructor(z,X,Je){this.translateService=z,this.element=X,this._ref=Je,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(St=>{St.lang===this.translateService.currentLang&&this.checkNodes(!0,St.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(St=>{this.checkNodes(!0,St.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(St=>{this.checkNodes(!0)}))}set translate(z){z&&(this.key=z,this.checkNodes())}set translateParams(z){ee(this.currentParams,z)||(this.currentParams=z,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(z=!1,X){let Je=this.element.nativeElement.childNodes;Je.length||(this.setContent(this.element.nativeElement,this.key),Je=this.element.nativeElement.childNodes);for(let St=0;St<Je.length;++St){let Tt=Je[St];if(3===Tt.nodeType){let Nn;if(z&&(Tt.lastKey=null),Qe(Tt.lookupKey))Nn=Tt.lookupKey;else if(this.key)Nn=this.key;else{let An=this.getContent(Tt),En=An.trim();En.length&&(Tt.lookupKey=En,An!==Tt.currentValue?(Nn=En,Tt.originalContent=An||Tt.originalContent):Tt.originalContent?Nn=Tt.originalContent.trim():An!==Tt.currentValue&&(Nn=En,Tt.originalContent=An||Tt.originalContent))}
1this.updateValue(Nn,Tt,X)}}}updateValue(z,X,Je){if(z){if(X.lastKey===z&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let St=Tt=>{Tt!==z&&(X.lastKey=z),X.originalContent||(X.originalContent=this.getContent(X)),X.currentValue=Qe(Tt)?Tt:X.originalContent||z,this.setContent(X,this.key?X.currentValue:X.originalContent.replace(z,X.currentValue)),this._ref.markForCheck()};if(Qe(Je)){let Tt=this.translateService.getParsedResult(Je,z,this.currentParams);v(Tt)?Tt.subscribe({next:St}):St(Tt)}else this.translateService.get(z,this.currentParams).subscribe(St)}}getContent(z){return Qe(z.textContent)?z.textContent:z.data}setContent(z,X){Qe(z.textContent)?z.textContent=X:z.data=X}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return Ee.\u0275fac=function(z){return new(z||Ee)(c.Y36(ye),c.Y36(c.SBq),c.Y36(c.sBO))},Ee.\u0275dir=c.lG2({type:Ee,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),Ee})(),Le=(()=>{class Ee{constructor(z,X){this.translate=z,this._ref=X,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(z,X,Je){let St=Tt=>{this.value=void 0!==Tt?Tt:z,this.lastKey=z,this._ref.markForCheck()};if(Je){let Tt=this.translate.getParsedResult(Je,z,X);v(Tt.subscribe)?Tt.subscribe(St):St(Tt)}this.translate.get(z,X).subscribe(St)}transform(z,...X){if(!z||!z.length)return z;if(ee(z,this.lastKey)&&ee(X,this.lastParams))return this.value;let Je;if(Qe(X[0])&&X.length)if("string"==typeof X[0]&&X[0].length){let St=X[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Je=JSON.parse(St)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${X[0]}`)}}else"object"==typeof X[0]&&!Array.isArray(X[0])&&(Je=X[0]);return this.lastKey=z,this.lastParams=X,this.updateValue(z,Je),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(St=>{this.lastKey&&St.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(z,Je,St.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(St=>{this.lastKey&&(this.lastKey=null,this.updateValue(z,Je,St.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(z,Je))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return Ee.\u0275fac=function(z){return new(z||Ee)(c.Y36(ye,16),c.Y36(c.sBO,16))},Ee.\u0275pipe=c.Yjl({name:"translate",type:Ee,pure:!1}),Ee.\u0275prov=c.Yz7({token:Ee,factory:Ee.\u0275fac}),Ee})(),Dt=(()=>{class Ee{static forRoot(z={}){return{ngModule:Ee,providers:[z.loader||{provide:me,useClass:Pe},z.compiler||{provide:fe,useClass:ie},z.parser||{provide:it,useClass:ae},z.missingTranslationHandler||{provide:we,useClass:Ae},Ie,{provide:be,useValue:z.isolate},{provide:et,useValue:z.useDefaultLang},{provide:Xe,useValue:z.extend},{provide:ut,useValue:z.defaultLanguage},ye]}}static forChild(z={}){return{ngModule:Ee,providers:[z.loader||{provide:me,useClass:Pe},z.compiler||{provide:fe,useClass:ie},z.parser||{provide:it,useClass:ae},z.missingTranslationHandler||{provide:we,useClass:Ae},{provide:be,useValue:z.isolate},{provide:et,useValue:z.useDefaultLang},{provide:Xe,useValue:z.extend},{provide:ut,useValue:z.defaultLanguage},ye]}}}return Ee.\u0275fac=function(z){return new(z||Ee)},Ee.\u0275mod=c.oAB({type:Ee}),Ee.\u0275inj=c.cJS({}),Ee})()},4358:(wt,Te,w)=>{"use strict";w.d(Te,{nM:()=>pe,wx:()=>he});var c=w(655),E=w(4650),L=w(1607),ce=w(6895);function v(re,te){if(1&re){const le=E.EpF();
1E.TgZ(0,"button",2),E.NdJ("click",function(){E.CHM(le);const Be=E.oxw(2);return E.KtG(Be.close())}),E.TgZ(1,"span",3),E._uU(2,"\xd7"),E.qZA(),E.TgZ(3,"span",4),E._uU(4,"Close"),E.qZA()()}}function oe(re,te){if(1&re&&(E.TgZ(0,"div",1),E.YNc(1,v,5,0,"ng-template",0),E.Hsn(2),E.qZA()),2&re){const le=E.oxw();E.Tol("alert alert-"+le.type),E.Q6J("ngClass",le.classes),E.xp6(1),E.Q6J("ngIf",le.dismissible)}}const J=["*"];let se=(()=>{class re{constructor(){this.type="warning",this.dismissible=!1,this.dismissOnTimeout=void 0}}return re.\u0275fac=function(le){return new(le||re)},re.\u0275prov=E.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})(),he=(()=>{class re{constructor(le,q){this.changeDetection=q,this.type="warning",this.dismissible=!1,this.isOpen=!0,this.onClose=new E.vpe,this.onClosed=new E.vpe,this.classes="",this.dismissibleChange=new E.vpe,Object.assign(this,le),this.dismissibleChange.subscribe(()=>{this.classes=this.dismissible?"alert-dismissible":"",this.changeDetection.markForCheck()})}ngOnInit(){this.dismissOnTimeout&&setTimeout(()=>this.close(),parseInt(this.dismissOnTimeout,10))}close(){this.isOpen&&(this.onClose.emit(this),this.isOpen=!1,this.changeDetection.markForCheck(),this.onClosed.emit(this))}}return re.\u0275fac=function(le){return new(le||re)(E.Y36(se),E.Y36(E.sBO))},re.\u0275cmp=E.Xpm({type:re,selectors:[["alert"],["bs-alert"]],inputs:{type:"type",dismissible:"dismissible",dismissOnTimeout:"dismissOnTimeout",isOpen:"isOpen"},outputs:{onClose:"onClose",onClosed:"onClosed"},ngContentSelectors:J,decls:1,vars:1,consts:[[3,"ngIf"],["role","alert",3,"ngClass"],["type","button","aria-label","Close",1,"close","btn-close",3,"click"],["aria-hidden","true",1,"visually-hidden"],[1,"sr-only","visually-hidden"]],template:function(le,q){1&le&&(E.F$t(),E.YNc(0,oe,3,4,"ng-template",0)),2&le&&E.Q6J("ngIf",q.isOpen)},dependencies:[ce.mk,ce.O5],encapsulation:2,changeDetection:0}),(0,c.gn)([(0,L.GU)(),(0,c.w6)("design:type",Object)],re.prototype,"dismissible",void 0),re})(),pe=(()=>{class re{static forRoot(){return{ngModule:re,providers:[]}}}return re.\u0275fac=function(le){return new(le||re)},re.\u0275mod=E.oAB({type:re}),re.\u0275inj=E.cJS({imports:[ce.ez]}),re})()},4175:(wt,Te,w)=>{"use strict";w.d(Te,{HC:()=>re,O1:()=>pe});var c=w(4650),E=w(6895);const L=["*"];function ce(te,le){1&te&&c.GkF(0)}function v(te,le){if(1&te&&(c.TgZ(0,"bar",3),c.Hsn(1),c.qZA()),2&te){const q=c.oxw();c.Q6J("type",q.type)("value",q._value)("max",q.max)("animate",q.animate)("striped",q.striped)}}function oe(te,le){if(1&te&&(c.TgZ(0,"bar",3),c._uU(1),c.qZA()),2&te){const q=le.$implicit,Be=c.oxw(2);c.Q6J("type",q.type)("value",q.value)("max",q.max||Be.max)("animate",Be.animate)("striped",Be.striped),c.xp6(1),c.Oqu(q.label)}}function J(te,le){if(1&te&&c.YNc(0,oe,2,6,"bar",4),2&te){const q=c.oxw();c.Q6J("ngForOf",q._values)}}let se=(()=>{class te{constructor(q,Be){this.el=q,this.renderer=Be,this.max=100,this.value=0,this.animate=!1,this.striped=!1,this.type="info",this.percent=100}ngOnChanges(q){(q.value||q.max)&&(this.percent=Number(q.value?.currentValue||this.value)/Number(q.max?.currentValue||this.max||100)*100),q.type&&this.applyTypeClasses()}applyTypeClasses(){if(this._prevType){const Be=`bg-${this._prevType}`;this.renderer.removeClass(this.el.nativeElement,`progress-bar-${this._prevType}`),this.renderer.removeClass(this.el.nativeElement,Be),this._prevType=void 0}if(this.type){const Be=`bg-${this.type}`;this.renderer.addClass(this.el.nativeElement,`progress-bar-${this.type}`),this.renderer.addClass(this.el.nativeElement,Be),this._prevType=this.type}}}return te.\u0275fac=function(q){return new(q||te)(c.Y36(c.SBq),c.Y36(c.Qsj))},te.\u0275cmp=c.Xpm({type:te,selectors:[["bar"]],hostAttrs:["role","progressbar","aria-valuemin","0"],hostVars:13,hostBindings:function(q,Be){2&q&&(c.uIk("aria-valuenow",Be.value)("aria-valuetext",Be.percent?Be.percent.toFixed(0)+"%":"")("aria-valuemax",Be.max),c.Udp("height","100","%")("width",Be.percent,"%"),c.ekj("progress-bar",!0)("progress-bar-animated",Be.animate)("progress-bar-striped",Be.striped))}
1,inputs:{max:"max",value:"value",animate:"animate",striped:"striped",type:"type"},features:[c.TTD],ngContentSelectors:L,decls:1,vars:0,template:function(q,Be){1&q&&(c.F$t(),c.Hsn(0))},encapsulation:2,changeDetection:0}),te})(),he=(()=>{class te{constructor(){this.animate=!1,this.max=100}}return te.\u0275fac=function(q){return new(q||te)},te.\u0275prov=c.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),pe=(()=>{class te{constructor(q){this.max=100,this.animate=!1,this.striped=!1,this.isStacked=!1,this._value=0,Object.assign(this,q)}set value(q){this.isStacked=Array.isArray(q),"number"==typeof q?(this._value=q,this._values=void 0):(this._value=void 0,this._values=q)}}return te.\u0275fac=function(q){return new(q||te)(c.Y36(he))},te.\u0275cmp=c.Xpm({type:te,selectors:[["progressbar"]],hostVars:3,hostBindings:function(q,Be){2&q&&(c.uIk("max",Be.max),c.ekj("progress",!0))},inputs:{max:"max",animate:"animate",striped:"striped",type:"type",value:"value"},ngContentSelectors:L,decls:5,vars:3,consts:[[4,"ngIf","ngIfThen","ngIfElse"],["NotStacked",""],["Stacked",""],[3,"type","value","max","animate","striped"],[3,"type","value","max","animate","striped",4,"ngFor","ngForOf"]],template:function(q,Be){if(1&q&&(c.F$t(),c.YNc(0,ce,1,0,"ng-container",0),c.YNc(1,v,2,5,"ng-template",null,1,c.W1O),c.YNc(3,J,1,1,"ng-template",null,2,c.W1O)),2&q){const ht=c.MAs(2),Fe=c.MAs(4);c.Q6J("ngIf",!Be.isStacked)("ngIfThen",ht)("ngIfElse",Fe)}},dependencies:[E.sg,E.O5,se],styles:["[_nghost-%COMP%]{width:100%;display:flex}"],changeDetection:0}),te})(),re=(()=>{class te{static forRoot(){return{ngModule:te,providers:[]}}}return te.\u0275fac=function(q){return new(q||te)},te.\u0275mod=c.oAB({type:te}),te.\u0275inj=c.cJS({imports:[E.ez]}),te})()},1607:(wt,Te,w)=>{"use strict";w.d(Te,{C:()=>J,GU:()=>ie,Rg:()=>oe,Wl:()=>it,wo:()=>v});class c{constructor(ye,Se){this.open=ye,this.close=Se||ye}isManual(){return"manual"===this.open||"manual"===this.close}}const E={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function v(Xe,ye){const Se=function L(Xe,ye=E){const Se=(Xe||"").trim();if(0===Se.length)return[];const Le=Se.split(/\s+/).map(Ee=>Ee.split(":")).map(Ee=>{const rt=ye[Ee[0]]||Ee;return new c(rt[0],rt[1])}),Dt=Le.filter(Ee=>Ee.isManual());if(Dt.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===Dt.length&&Le.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return Le}(ye.triggers),Le=ye.target;if(1===Se.length&&Se[0].isManual())return Function.prototype;const Dt=[],Ee=[],rt=()=>{Ee.forEach(z=>Dt.push(z())),Ee.length=0};return Se.forEach(z=>{const X=z.open===z.close,Je=X?ye.toggle:ye.show;if(!X&&z.close&&ye.hide){const St=Xe.listen(Le,z.close,ye.hide);Ee.push(()=>St)}Je&&Dt.push(Xe.listen(Le,z.open,()=>Je(rt)))}),()=>{Dt.forEach(z=>z())}}function oe(Xe,ye){return ye.outsideClick?Xe.listen("document","click",Se=>{ye.target&&ye.target.contains(Se.target)||ye.targets&&ye.targets.some(Le=>Le.contains(Se.target))||ye.hide&&ye.hide()}):Function.prototype}function J(Xe,ye){return ye.outsideEsc?Xe.listen("document","keyup.esc",Se=>{ye.target&&ye.target.contains(Se.target)||ye.targets&&ye.targets.some(Le=>Le.contains(Se.target))||ye.hide&&ye.hide()}):Function.prototype}const se=typeof window<"u"&&window||{};let Ae;function ee(){const Xe=se.document.createElement("span");Xe.innerText="testing bs version",Xe.classList.add("d-none"),Xe.classList.add("pl-1"),se.document.head.appendChild(Xe);const ye=se.getComputedStyle(Xe).paddingLeft;return ye&&parseFloat(ye)?(se.document.head.removeChild(Xe),"bs4"):(se.document.head.removeChild(Xe),"bs5")}function it(){return{isBs4:(Ae||(Ae=ee()),"bs4"===Ae),isBs5:(Ae||(Ae=ee()),"bs5"===Ae)}}function ie(){return function(Se,Le){const Dt=` __${Le}Value`;Object.defineProperty(Se,Le,{get(){return this[Dt]},set(Ee){const rt=this[Dt];this[Dt]=Ee,rt!==Ee&&this[Le+"Change"]&&this[Le+"Change"].emit(Ee)}})}}typeof console>"u"||console}
1,6201:(wt,Te,w)=>{"use strict";w.d(Te,{N_:()=>q,m$:()=>Fe});var c=w(4650),E=w(6895);const L=new c.OlP("COOKIE_OPTIONS"),ce=new c.OlP("COOKIE_WRITER");function v(me){return null==me}function oe(me){return!v(me)}function he(me,Pe){return Pe?{path:oe(Pe.path)?Pe.path:me.path,domain:oe(Pe.domain)?Pe.domain:me.domain,expires:oe(Pe.expires)?Pe.expires:me.expires,secure:oe(Pe.secure)?Pe.secure:me.secure,sameSite:oe(Pe.sameSite)?Pe.sameSite:me.sameSite,httpOnly:oe(Pe.httpOnly)?Pe.httpOnly:me.httpOnly,storeUnencoded:oe(Pe.storeUnencoded)?Pe.storeUnencoded:me.storeUnencoded}:me}function te(me){try{return decodeURIComponent(me)}catch{return me}}let le=(()=>{class me{constructor(we={},Ae){this.injector=Ae,this.defaultOptions={path:this.injector.get(E.mr,"/"),domain:void 0,expires:void 0,secure:!1,httpOnly:!1},this.options=he(this.defaultOptions,we)}}return me.\u0275fac=function(we){return new(we||me)(c.LFG(L),c.LFG(c.zs3))},me.\u0275prov=c.Yz7({token:me,factory:me.\u0275fac}),me})(),q=(()=>{class me{constructor(we,Ae,ee){this.document=we,this.optionsProvider=Ae,this.cookieWriterService=ee,this.options=this.optionsProvider.options}hasKey(we){return oe(this.get(we))}get(we){return this.getAll()?.[we]}getObject(we){const Ae=this.get(we);if(!v(Ae))return""===Ae?{}:JSON.parse(Ae)}getAll(){return function pe(me){let Ae,ee,Qe,tt,dt,Pe={},we="";if(me!==we)for(we=me,Ae=we.split(";"),Pe={},Qe=0;Qe<Ae.length;Qe++)ee=Ae[Qe],tt=ee.indexOf("="),tt>0&&(dt=te(ee.substring(0,tt).trim()),v(Pe[dt])&&(Pe[dt]=te(ee.substring(tt+1).trim())));return Pe}(this.cookieWriterService.readAllAsString())}put(we,Ae,ee){const Qe=he(this.options,ee);this.cookieWriterService.write(we,Ae,Qe)}putObject(we,Ae,ee){this.put(we,JSON.stringify(Ae),ee)}remove(we,Ae){this.put(we,void 0,Ae)}removeAll(we){const Ae=this.getAll();Object.keys(Ae).forEach(ee=>this.remove(ee,we))}}return me.\u0275fac=function(we){return new(we||me)(c.LFG(E.K0),c.LFG(le),c.LFG(ce))},me.\u0275prov=c.Yz7({token:me,factory:me.\u0275fac}),me})(),Be=(()=>{class me{constructor(we){this.document=we}readAllAsString(){return this.document.cookie||""}write(we,Ae,ee){this.document.cookie=function re(me,Pe,we){let ee,Ae=we?.expires;v(Pe)?(Ae="Thu, 01 Jan 1970 00:00:00 GMT",ee=""):ee=Pe,function J(me){return"string"==typeof me}(Ae)&&(Ae=new Date(Ae));const Qe=we?.storeUnencoded?Pe:encodeURIComponent(ee);let tt=encodeURIComponent(me)+"="+Qe;tt+=we?.path?";path="+we.path:"",tt+=we?.domain?";domain="+we.domain:"",tt+=Ae?";expires="+Ae.toUTCString():"",tt+=we?.sameSite?"; SameSite="+we.sameSite:"",tt+=we?.secure?";secure":"",tt+=we?.httpOnly?"; HttpOnly":"";const dt=tt.length+1;return dt>4096&&console.log("Cookie '"+me+"' possibly not set or overflowed because it was too large ("+dt+" > 4096 bytes)!"),tt}(we,Ae,ee)}}return me.\u0275fac=function(we){return new(we||me)(c.LFG(E.K0))},me.\u0275prov=c.Yz7({token:me,factory:me.\u0275fac}),me})();function ht(me,Pe,we){return new q(me,Pe,we)}let Fe=(()=>{class me{static withOptions(we={}){return{ngModule:me,providers:[{provide:L,useValue:we},{provide:ce,useClass:Be},{provide:q,useFactory:ht,deps:[E.K0,le,ce]}]}}static forRoot(we={}){return this.withOptions(we)}static forChild(we={}){return this.withOptions(we)}}return me.\u0275fac=function(we){return new(we||me)},me.\u0275mod=c.oAB({type:me}),me.\u0275inj=c.cJS({providers:[le]}),me})()}},wt=>{wt(wt.s=860)}]);
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.