dealpostools 2.0.6 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -11
- package/tools/642.5d39acadd5be978d.js +1 -0
- package/tools/assets/bootstrap_light.scss +1172 -1172
- package/tools/assets/lbd/_alerts.scss +90 -90
- package/tools/assets/lbd/_bootstrap-switch.scss +128 -128
- package/tools/assets/lbd/_buttons.scss +132 -132
- package/tools/assets/lbd/_cards.scss +256 -256
- package/tools/assets/lbd/_chartist.scss +229 -229
- package/tools/assets/lbd/_checkbox-radio-switch.scss +140 -140
- package/tools/assets/lbd/_dropdown.scss +137 -137
- package/tools/assets/lbd/_footers.scss +75 -75
- package/tools/assets/lbd/_inputs.scss +141 -141
- package/tools/assets/lbd/_misc.scss +120 -120
- package/tools/assets/lbd/_mixins.scss +8 -8
- package/tools/assets/lbd/_navbars.scss +235 -235
- package/tools/assets/lbd/_partial-nucleo-icons.scss +574 -574
- package/tools/assets/lbd/_responsive.scss +482 -482
- package/tools/assets/lbd/_sidebar-and-main-panel.scss +331 -331
- package/tools/assets/lbd/_tables.scss +88 -88
- package/tools/assets/lbd/_typography.scss +91 -91
- package/tools/assets/lbd/_variables.scss +272 -272
- package/tools/assets/lbd/mixins/_buttons.scss +69 -69
- package/tools/assets/lbd/mixins/_cards.scss +8 -8
- package/tools/assets/lbd/mixins/_chartist.scss +85 -85
- package/tools/assets/lbd/mixins/_icons.scss +12 -12
- package/tools/assets/lbd/mixins/_inputs.scss +1 -1
- package/tools/assets/lbd/mixins/_labels.scss +20 -20
- package/tools/assets/lbd/mixins/_morphing-buttons.scss +33 -33
- package/tools/assets/lbd/mixins/_navbars.scss +11 -11
- package/tools/assets/lbd/mixins/_social-buttons.scss +42 -42
- package/tools/assets/lbd/mixins/_tabs.scss +3 -3
- package/tools/assets/lbd/mixins/_transparency.scss +19 -19
- package/tools/assets/lbd/mixins/_vendor-prefixes.scss +211 -211
- package/tools/assets/lbd/plugins/_animate.scss +227 -227
- package/tools/assets/lbd/plugins/_datetime-picker.scss +463 -463
- package/tools/assets/light-bootstrap-dashboard.scss +32 -32
- package/tools/assets/pos_variable.scss +83 -83
- package/tools/index.html +2 -2
- package/tools/main.eb9648348ee7f065.js +1 -0
- package/tools/{runtime.4c9ee467c84ede91.js → runtime.c8171bfc17eaf1cc.js} +1 -1
- package/tools/157.a84bb181407710a0.js +0 -1
- package/tools/main.c604dd23bb38821d.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkweb_tools=self.webpackChunkweb_tools||[]).push([[179],{5826:(ze,pe,N)=>{N.d(pe,{a:()=>oe});var c=N(5062),v=N(7217),Q=N(2920);let oe=(()=>{class J{constructor(z,te){this._authService=z,this._router=te}canActivate(z,te){return!!this._authService.isAuthentication()||(this._router.navigate([""]),!1)}}return J.\u0275fac=function(z){return new(z||J)(c.LFG(v.$),c.LFG(Q.F0))},J.\u0275prov=c.Yz7({token:J,factory:J.\u0275fac}),J})()},7217:(ze,pe,N)=>{N.d(pe,{$:()=>oe});var c=N(5062),v=N(2920),Q=N(7185);let oe=(()=>{class J{constructor(z,te){this._router=z,this.toaster=te}login(z){this._router.navigate([z])}logout(){localStorage.removeItem("Token"),localStorage.removeItem("Domain"),this._router.navigate([""])}isAuthentication(){return null!=localStorage.getItem("Token")&&!this.isTokenExpired()}isTokenExpired(){return!1}setLocalStorage(z,te){localStorage.setItem("posdomain",z),localStorage.setItem("username",te)}getUsernameLocalStorage(){return localStorage.getItem("username")}getDomainLocalStorage(){return localStorage.getItem("posdomain")}isLocalStorageExist(){let z=localStorage.getItem("posdomain"),te=localStorage.getItem("username"),re=!1;return z&&te&&(re=!0),re}}return J.\u0275fac=function(z){return new(z||J)(c.LFG(v.F0),c.LFG(Q._W))},J.\u0275prov=c.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})()},9930:(ze,pe,N)=>{N.d(pe,{O:()=>xe});var c=N(529),v=N(6498),Q=N(353);const J=(()=>{function ye(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return ye.prototype=Object.create(Error.prototype),ye})();var Y=N(2697),z=N(1177);class re{constructor(ne,Oe,Ye,le){this.waitFor=ne,this.absoluteTimeout=Oe,this.withObservable=Ye,this.scheduler=le}call(ne,Oe){return Oe.subscribe(new K(ne,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class K extends z.Ds{constructor(ne,Oe,Ye,le,be){super(ne),this.absoluteTimeout=Oe,this.waitFor=Ye,this.withObservable=le,this.scheduler=be,this.scheduleTimeout()}static dispatchTimeout(ne){const{withObservable:Oe}=ne;ne._unsubscribeAndRecycle(),ne.add((0,z.ft)(Oe,new z.IY(ne)))}scheduleTimeout(){const{action:ne}=this;ne?this.action=ne.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(K.dispatchTimeout,this.waitFor,this))}_next(ne){this.absoluteTimeout||this.scheduleTimeout(),super._next(ne)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var G=N(1737);var ae=N(5062),Ce=N(7185);let xe=(()=>{class ye{constructor(Oe,Ye){this.http=Oe,this.toastr=Ye}delete(Oe,Ye){let le=localStorage.getItem("Token"),be=new c.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});return le&&(be=be.append("Authorization","Bearer "+le)),this.http.delete(Oe,{body:Ye,headers:be})}post(Oe,Ye,le=1e5){return new v.y(be=>{let Z=localStorage.getItem("Token"),Pe=new c.WM({"Content-Type":"application/json","Cache-Control":"no-cache"});Z&&(Pe=Pe.append("Authorization","Bearer "+Z)),this.http.post(Oe,Ye,{headers:Pe}).pipe(function ce(ye,ne=Q.P){return function te(ye,ne,Oe=Q.P){return Ye=>{let le=(0,Y.J)(ye),be=le?+ye-Oe.now():Math.abs(ye);return Ye.lift(new re(be,le,ne,Oe))}}(ye,(0,G._)(new J),ne)}(le)).subscribe(It=>{be.next(It),be.complete()},It=>{if(200==It.status)be.next(It.error.text),be.complete();else{if(!this.unauthorizedErrorHandling(It)){let Ke=this.errorMessageHandling(It);this.toastr.error(""!=Ke.message?Ke.message:"An unknown error has occured!",Ke.header)}be.error(It)}})})}unauthorizedErrorHandling(Oe){let Ye=!1;return 401==Oe.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",Ye=!0),Ye}errorMessageHandling(Oe){let Ye="API Error",le="Exception Message";return Oe.error?(Ye="API Error - "+Oe.status,Oe.error.Message&&(le=Oe.error.Message)):Oe.message&&(Ye="API Error - "+Oe.name,le=Oe.message),{header:Ye,message:le}}}return ye.\u0275fac=function(Oe){return new(Oe||ye)(ae.LFG(c.eN),ae.LFG(Ce._W))},ye.\u0275prov=ae.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"}),ye})()},1080:(ze,pe,N)=>{var c=N(1481),v=N(5062),Q=N(2920);function oe(b){this.message=b}(oe.prototype=new Error).name="InvalidCharacterError";var J=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(b){var o=String(b).replace(/=+$/,"");if(o.length%4==1)throw new oe("'atob' failed: The string to be decoded is not correctly encoded.");for(var a,p,T=0,x=0,U="";p=o.charAt(x++);~p&&(a=T%4?64*a+p:p,T++%4)?U+=String.fromCharCode(255&a>>(-2*T&6)):0)p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(p);return U};function z(b){this.message=b}(z.prototype=new Error).name="InvalidTokenError";var K=N(9930),G=N(7185),ce=N(7217),ae=N(6895),Ce=N(4719);const xe=["domainAutoFocus"],ye=["passAutoFocus"],ne=function(b,o){return{"fa-eye-slash":b,"fa-eye":o}};function Oe(b,o){if(1&b){const a=v.EpF();v.TgZ(0,"i",35),v.NdJ("click",function(){v.CHM(a);const T=v.oxw();return v.KtG(T.hideShowPassword())}),v.qZA()}if(2&b){const a=v.oxw();v.Q6J("ngClass",v.WLB(1,ne,"eye-off"==a.passwordIcon,"eye"==a.passwordIcon))}}const le=[{path:"",component:(()=>{class b{constructor(a,p,T,x,U){this._httpService=a,this.toastr=p,this.auth=T,this.elementRef=x,this.cdr=U,this.passwordType="password",this.passwordIcon="eye-off"}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#edefff"}ngAfterViewInit(){this.getLocalStorage()}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}getLocalStorage(){let a=this.auth.isLocalStorageExist();this.setAutoFocusDomain(),a&&(this.posDomain=this.auth.getDomainLocalStorage(),this.username=this.auth.getUsernameLocalStorage(),this.setAutoFocusPass(),this.cdr.detectChanges())}setAutoFocusDomain(){this.domainElementRef.nativeElement.focus()}setAutoFocusPass(){this.passElementRef.nativeElement.focus()}hideShowPassword(){this.passwordType="text"===this.passwordType?"password":"text",this.passwordIcon="eye-off"===this.passwordIcon?"eye":"eye-off"}login(){var a={client_id:this.username,client_secret:this.password},p="";this.posDomain.includes("http://")||(p="https://"+this.posDomain),this._httpService.post(p+"/api/v3/Token",JSON.stringify(a)).toPromise().then(T=>{null==T.access_token&&null==T.access_token||(localStorage.setItem("Domain",this.posDomain),localStorage.setItem("Token",T.access_token),"Tools"==function te(b,o){if("string"!=typeof b)throw new z("Invalid token specified");var a=!0===(o=o||{}).header?0:1;try{return JSON.parse(function Y(b){var o=b.replace(/-/g,"+").replace(/_/g,"/");switch(o.length%4){case 0:break;case 2:o+="==";break;case 3:o+="=";break;default:throw"Illegal base64url string!"}try{return decodeURIComponent(J(o).replace(/(.)/g,function(p,T){var x=T.charCodeAt(0).toString(16).toUpperCase();return x.length<2&&(x="0"+x),"%"+x}))}catch{return J(o)}}(b.split(".")[a]))}catch(p){throw new z("Invalid token specified: "+p.message)}}(T.access_token)["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"].filter(se=>"Tools"==se)?(this.auth.login("/menu/product"),this.saveToLocalStorage()):this.toastr.error("Please check your role","Error"))}).catch(T=>{this.toastr.error(0==T.status?"Please check your domain name":T.error.Message,"Error")})}saveToLocalStorage(){this.auth.setLocalStorage(this.posDomain,this.username)}}return b.\u0275fac=function(a){return new(a||b)(v.Y36(K.O),v.Y36(G._W),v.Y36(ce.$),v.Y36(v.SBq),v.Y36(v.sBO))},b.\u0275cmp=v.Xpm({type:b,selectors:[["app-login"]],viewQuery:function(a,p){if(1&a&&(v.Gf(xe,5),v.Gf(ye,5)),2&a){let T;v.iGM(T=v.CRH())&&(p.domainElementRef=T.first),v.iGM(T=v.CRH())&&(p.passElementRef=T.first)}},decls:53,vars:5,consts:[[1,"container"],[1,"row","mt-5","mt-md-0","align-self-center"],[1,"col-12","col-md-7","text-center"],[1,"big-display","my-5","py-5","robotoslab","d-none","d-md-block"],["src","https://res.cloudinary.com/pos/image/upload/w_200/v1614247725/Apps/Login/tools-dealpos-app.png","alt","integration-image",1,"img-fluid","mt-5","pt-5"],[1,"col-12","col-md-5","order-first","order-md-last"],[1,"big-display","text-center","my-5","py-5","robotoslab","d-block","d-md-none"],[1,"card"],[1,"card-body"],[1,"card-title"],[1,"ms-2","fw-normal","font-xl","robotoslab"],[1,""],[1,"form-label-group"],["type","text","name","inputPOSDomain","id","inputPOSDomain","placeholder","POS Domain (xyz.dealpos.com)","required","","pattern","(https:\\/\\/)?\\w+.dealpos(.com|.net|.co.id)(\\/)?",1,"form-control","text-start",3,"ngModel","ngModelChange"],["domainAutoFocus","","domain","ngModel"],["for","inputPOSDomain",1,"text-start"],["type","text","name","username","id","inputUsername","placeholder","Username","required","",1,"form-control","text-start",3,"ngModel","ngModelChange"],["for","inputUsername",1,"text-start"],[1,"form-label-group","mb-5","mb-md-2"],["name","something","id","inputPassword","placeholder","Password","required","",1,"form-control","text-start",3,"type","ngModel","ngModelChange"],["passAutoFocus",""],["for","inputPassword",1,"text-start"],["class","passwordIcon fas fa-lg",3,"ngClass","click",4,"ngIf"],[1,"row","justify-content-between","align-items-center"],[1,"col-12","col-lg-5","order-first","order-md-last"],["type","submit",1,"btn","btn-lg","btn-primary","btn-login","font125rem","robotoslab",3,"click"],[1,"col-12","d-block","d-md-none","text-center"],[1,"pt-1rem","me-3"],["target","_blank","href","https://www.dealpos.com"],["src","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png","alt","dealpos-logo",1,"img-fluid"],[1,"pt-1rem","fst-italic"],[1,"mx-5","pb-5","mb-5","d-none","d-md-block"],[1,"col-auto","d-inline-flex"],[1,"col-auto"],["href","https://changelog.dealpos.com/?categories=cat_GkdUyaD9rSSIk&view=complete","target","_blank",1,"pt-1rem","fst-italic"],[1,"passwordIcon","fas","fa-lg",3,"ngClass","click"]],template:function(a,p){1&a&&(v.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),v._uU(4,"DealPOS - Tools"),v.qZA(),v._UZ(5,"img",4),v.qZA(),v.TgZ(6,"div",5)(7,"h1",6),v._uU(8,"DealPOS Web Tools"),v.qZA(),v.TgZ(9,"div",7)(10,"div",8)(11,"div",9)(12,"h2",10),v._uU(13,"Sign in"),v.qZA()(),v.TgZ(14,"form",11)(15,"div",12)(16,"input",13,14),v.NdJ("ngModelChange",function(x){return p.posDomain=x}),v.qZA(),v.TgZ(19,"label",15),v._uU(20,"POS Domain (xyz.dealpos.com)"),v.qZA()(),v.TgZ(21,"div",12)(22,"input",16),v.NdJ("ngModelChange",function(x){return p.username=x}),v.qZA(),v.TgZ(23,"label",17),v._uU(24,"Username"),v.qZA()(),v.TgZ(25,"div",18)(26,"input",19,20),v.NdJ("ngModelChange",function(x){return p.password=x}),v.qZA(),v.TgZ(28,"label",21),v._uU(29,"Password"),v.qZA(),v.YNc(30,Oe,1,4,"i",22),v.qZA(),v.TgZ(31,"div",23)(32,"div",24)(33,"button",25),v.NdJ("click",function(){return p.login()}),v._uU(34,"Log in"),v.qZA()()()()()()(),v.TgZ(35,"div",26)(36,"p",27),v._uU(37,"Powered by : "),v.qZA(),v.TgZ(38,"a",28),v._UZ(39,"img",29),v.qZA(),v.TgZ(40,"a")(41,"p",30),v._uU(42,"Version 2.0.6"),v.qZA()()()()(),v.TgZ(43,"footer",31)(44,"div",23)(45,"div",32)(46,"p",27),v._uU(47,"Powered by : "),v.qZA(),v.TgZ(48,"a",28),v._UZ(49,"img",29),v.qZA()(),v.TgZ(50,"div",33)(51,"a",34),v._uU(52,"Version 2.0.6"),v.qZA()()()()),2&a&&(v.xp6(16),v.Q6J("ngModel",p.posDomain),v.xp6(6),v.Q6J("ngModel",p.username),v.xp6(4),v.Q6J("type",p.passwordType)("ngModel",p.password),v.xp6(4),v.Q6J("ngIf",""!=p.password))},dependencies:[ae.mk,ae.O5,Ce._Y,Ce.Fj,Ce.JJ,Ce.JL,Ce.Q7,Ce.c5,Ce.On,Ce.F],styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.passwordIcon[_ngcontent-%COMP%]{top:1.5rem;right:.5rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:300;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:90%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:2.5rem}}@media (min-width: 1200px){.container[_ngcontent-%COMP%]{max-width:70%}.big-display[_ngcontent-%COMP%]{font-size:3rem}}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%}body[_ngcontent-%COMP%]{display:flex;align-items:center;padding-top:40px;padding-bottom:40px}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.pt-1rem[_ngcontent-%COMP%]{padding-top:1rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}.btn-login[_ngcontent-%COMP%]{width:145px}"]}),b})(),pathMatch:"full"},{path:"menu",loadChildren:()=>N.e(157).then(N.bind(N,5157)).then(b=>b.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let be=(()=>{class b{}return b.\u0275fac=function(a){return new(a||b)},b.\u0275mod=v.oAB({type:b}),b.\u0275inj=v.cJS({imports:[Q.Bz.forRoot(le,{relativeLinkResolution:"legacy"}),Q.Bz]}),b})();var Z=N(6831);function Pe(b,o){function a(){return!a.pred.apply(a.thisArg,arguments)}return a.pred=b,a.thisArg=o,a}var Et=N(9249),It=N(2198),_t=N(6498),ot=N(6787),at=N(7739),Nt=N(537),Ge=N(7545),kt=N(1177);function Mn(b){return o=>o.lift(new zt(b))}class zt{constructor(o){this.durationSelector=o}call(o,a){return a.subscribe(new Ln(o,this.durationSelector))}}class Ln extends kt.Ds{constructor(o,a){super(o),this.durationSelector=a,this.hasValue=!1}_next(o){try{const a=this.durationSelector.call(this,o);a&&this._tryNext(o,a)}catch(a){this.destination.error(a)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(o,a){let p=this.durationSubscription;this.value=o,this.hasValue=!0,p&&(p.unsubscribe(),this.remove(p)),p=(0,kt.ft)(a,new kt.IY(this)),p&&!p.closed&&this.add(this.durationSubscription=p)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const o=this.value,a=this.durationSubscription;a&&(this.durationSubscription=void 0,a.unsubscribe(),this.remove(a)),this.value=void 0,this.hasValue=!1,super._next(o)}}}var Vn=N(5778),Yr=N(2868),di=N(529);function Kr(b,o){1&b&&v.GkF(0)}function Ae(b,o){if(1&b&&v._UZ(0,"sk-cube-grid",4),2&b){const a=v.oxw(2);v.Q6J("backgroundColor",a.backgroundColor)}}function Ie(b,o){if(1&b&&v._UZ(0,"sk-chasing-dots",4),2&b){const a=v.oxw(2);v.Q6J("backgroundColor",a.backgroundColor)}}function q(b,o){if(1&b&&v._UZ(0,"sk-double-bounce",4),2&b){const a=v.oxw(2);v.Q6J("backgroundColor",a.backgroundColor)}}function ue(b,o){if(1&b&&v._UZ(0,"sk-rotating-plane",4),2&b){const a=v.oxw(2);v.Q6J("backgroundColor",a.backgroundColor)}}function $e(b,o){if(1&b&&v._UZ(0,"sk-spinner-pulse",4),2&b){const a=v.oxw(2);v.Q6J("backgroundColor",a.backgroundColor)}}function Mt(b,o){if(1&b&&v._UZ(0,"sk-three-bounce",4),2&b){const a=v.oxw(2);v.Q6J("backgroundColor",a.backgroundColor)}}function xt(b,o){if(1&b&&v._UZ(0,"sk-wandering-cubes",4),2&b){const a=v.oxw(2);v.Q6J("backgroundColor",a.backgroundColor)}}function Yn(b,o){if(1&b&&v._UZ(0,"sk-wave",4),2&b){const a=v.oxw(2);v.Q6J("backgroundColor",a.backgroundColor)}}const vn=function(b){return{"background-color":b}};function _n(b,o){if(1&b&&(v.TgZ(0,"div",1),v.YNc(1,Kr,1,0,"ng-container",2),v.YNc(2,Ae,1,1,"sk-cube-grid",3),v.YNc(3,Ie,1,1,"sk-chasing-dots",3),v.YNc(4,q,1,1,"sk-double-bounce",3),v.YNc(5,ue,1,1,"sk-rotating-plane",3),v.YNc(6,$e,1,1,"sk-spinner-pulse",3),v.YNc(7,Mt,1,1,"sk-three-bounce",3),v.YNc(8,xt,1,1,"sk-wandering-cubes",3),v.YNc(9,Yn,1,1,"sk-wave",3),v.qZA()),2&b){const a=v.oxw();v.Udp("opacity",a.opacity),v.ekj("backdrop",a.backdrop),v.Q6J("ngStyle",v.VKq(14,vn,a.backdrop?a.backdropBackgroundColor:"transparent")),v.xp6(1),v.Q6J("ngComponentOutlet",a.entryComponent),v.xp6(1),v.Q6J("ngIf",a.spinner===a.spinkit.skCubeGrid),v.xp6(1),v.Q6J("ngIf",a.spinner===a.spinkit.skChasingDots),v.xp6(1),v.Q6J("ngIf",a.spinner===a.spinkit.skDoubleBounce),v.xp6(1),v.Q6J("ngIf",a.spinner===a.spinkit.skRotatingPlane),v.xp6(1),v.Q6J("ngIf",a.spinner===a.spinkit.skSpinnerPulse),v.xp6(1),v.Q6J("ngIf",a.spinner===a.spinkit.skThreeBounce),v.xp6(1),v.Q6J("ngIf",a.spinner===a.spinkit.skWanderingCubes),v.xp6(1),v.Q6J("ngIf",a.spinner===a.spinkit.skWave)}}let Qt=(()=>{class b{}return b.\u0275fac=function(a){return new(a||b)},b.\u0275dir=v.lG2({type:b,inputs:{backgroundColor:"backgroundColor"}}),b})(),Dn=(()=>{class b extends Qt{}return b.\u0275fac=function(){let o;return function(p){return(o||(o=v.n5z(b)))(p||b)}}(),b.\u0275cmp=v.Xpm({type:b,selectors:[["sk-chasing-dots"]],features:[v.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(a,p){1&a&&(v.TgZ(0,"div",0),v._UZ(1,"div",1)(2,"div",2),v.qZA()),2&a&&(v.ekj("colored",!p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),b})(),nr=(()=>{class b extends Qt{}return b.\u0275fac=function(){let o;return function(p){return(o||(o=v.n5z(b)))(p||b)}}(),b.\u0275cmp=v.Xpm({type:b,selectors:[["sk-cube-grid"]],features:[v.qOj],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(a,p){1&a&&(v.TgZ(0,"div",0),v._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),v.qZA()),2&a&&(v.ekj("colored",!p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),b})(),jt=(()=>{class b extends Qt{}return b.\u0275fac=function(){let o;return function(p){return(o||(o=v.n5z(b)))(p||b)}}(),b.\u0275cmp=v.Xpm({type:b,selectors:[["sk-double-bounce"]],features:[v.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(a,p){1&a&&(v.TgZ(0,"div",0),v._UZ(1,"div",1)(2,"div",2),v.qZA()),2&a&&(v.ekj("colored",!p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),b})(),Lt=(()=>{class b extends Qt{}return b.\u0275fac=function(){let o;return function(p){return(o||(o=v.n5z(b)))(p||b)}}(),b.\u0275cmp=v.Xpm({type:b,selectors:[["sk-rotating-plane"]],features:[v.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(a,p){1&a&&v._UZ(0,"div",0),2&a&&v.Udp("background-color",p.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s infinite ease-in-out}@keyframes sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),b})(),tt=(()=>{class b extends Qt{}return b.\u0275fac=function(){let o;return function(p){return(o||(o=v.n5z(b)))(p||b)}}(),b.\u0275cmp=v.Xpm({type:b,selectors:[["sk-spinner-pulse"]],features:[v.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(a,p){1&a&&v._UZ(0,"div",0),2&a&&v.Udp("background-color",p.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s infinite ease-in-out}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),b})(),rr=(()=>{class b extends Qt{}return b.\u0275fac=function(){let o;return function(p){return(o||(o=v.n5z(b)))(p||b)}}(),b.\u0275cmp=v.Xpm({type:b,selectors:[["sk-three-bounce"]],features:[v.qOj],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(a,p){1&a&&(v.TgZ(0,"div",0),v._UZ(1,"div",1)(2,"div",2)(3,"div",3),v.qZA()),2&a&&(v.ekj("colored",!p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),b})(),hi=(()=>{class b extends Qt{}return b.\u0275fac=function(){let o;return function(p){return(o||(o=v.n5z(b)))(p||b)}}(),b.\u0275cmp=v.Xpm({type:b,selectors:[["sk-wandering-cubes"]],features:[v.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(a,p){1&a&&(v.TgZ(0,"div",0),v._UZ(1,"div",1)(2,"div",2),v.qZA()),2&a&&(v.ekj("colored",!p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),b})(),Bn=(()=>{class b extends Qt{}return b.\u0275fac=function(){let o;return function(p){return(o||(o=v.n5z(b)))(p||b)}}(),b.\u0275cmp=v.Xpm({type:b,selectors:[["sk-wave"]],features:[v.qOj],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(a,p){1&a&&(v.TgZ(0,"div",0),v._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),v.qZA()),2&a&&(v.ekj("colored",!p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor),v.xp6(1),v.Udp("background-color",p.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),b})();const rt={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};let ve=(()=>{class b{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new Z.t(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(a){this._filteredMethods=a}set filteredHeaders(a){this._filteredHeaders=a}set forceByPass(a){this._forceByPass=a}shouldBypassUrl(a){return this._filteredUrlPatterns.some(p=>p.test(a))}shouldBypassMethod(a){return this._filteredMethods.some(p=>p.toUpperCase()===a.method.toUpperCase())}shouldBypassHeader(a){return this._filteredHeaders.some(p=>a.headers.has(p))}shouldBypass(a){return this._forceByPass||this.shouldBypassUrl(a.urlWithParams)||this.shouldBypassMethod(a)||this.shouldBypassHeader(a)}intercept(a,p){const T=this.shouldBypass(a);return T||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),p.handle(a).pipe((0,Nt.x)(()=>{T||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return b.\u0275fac=function(a){return new(a||b)},b.\u0275prov=v.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();const B=[{provide:di.TP,useExisting:ve,multi:!0}];let L=(()=>{class b{constructor(a){this.pendingRequestsInterceptor=a,this._visibility$=new Z.t(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return b.\u0275fac=function(a){return new(a||b)(v.LFG(ve))},b.\u0275prov=v.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),me=(()=>{class b{constructor(a,p){this.pendingRequestsInterceptor=a,this.spinnerVisibility=p,this.spinkit=rt,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=rt.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[a,p]=function Ke(b,o,a){return[(0,It.h)(o,a)(new _t.y((0,Et.s)(b))),(0,It.h)(Pe(o,a))(new _t.y((0,Et.s)(b)))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,T=>T);this.isVisible$=(0,ot.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,Ge.w)(()=>a.pipe(Mn(()=>(0,at.H)(this.debounceDelay))))),a.pipe((0,Ge.w)(()=>p.pipe(Mn(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Vn.x)(),(0,Yr.b)(T=>this.updateExpirationDelay(T)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(a=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(a)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(a){a&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,at.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return b.\u0275fac=function(a){return new(a||b)(v.Y36(ve),v.Y36(L))},b.\u0275cmp=v.Xpm({type:b,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(a,p){1&a&&(v.YNc(0,_n,10,16,"div",0),v.ALo(1,"async")),2&a&&v.Q6J("ngIf",v.lcZ(1,1,p.isVisible$))},dependencies:[ae.$G,ae.O5,ae.PC,nr,Dn,jt,Lt,tt,rr,hi,Bn,ae.Ov],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),b})(),Me=(()=>{class b{static forRoot(){return{ngModule:b,providers:[B]}}}return b.\u0275fac=function(a){return new(a||b)},b.\u0275mod=v.oAB({type:b}),b.\u0275inj=v.cJS({imports:[ae.ez]}),b})();var Fe=N(5826),Le=N(7340);function Je(b){return new v.vHH(3e3,!1)}function _r(){return typeof window<"u"&&typeof window.document<"u"}function lt(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Un(b){switch(b.length){case 0:return new Le.ZN;case 1:return b[0];default:return new Le.ZE(b)}}function Tn(b,o,a,p,T=new Map,x=new Map){const U=[],j=[];let se=-1,fe=null;if(p.forEach(Ve=>{const We=Ve.get("offset"),wt=We==se,vt=wt&&fe||new Map;Ve.forEach((nt,dt)=>{let Ft=dt,Xt=nt;if("offset"!==dt)switch(Ft=o.normalizePropertyName(Ft,U),Xt){case Le.k1:Xt=T.get(dt);break;case Le.l3:Xt=x.get(dt);break;default:Xt=o.normalizeStyleValue(dt,Ft,Xt,U)}vt.set(Ft,Xt)}),wt||j.push(vt),fe=vt,se=We}),U.length)throw function $(b){return new v.vHH(3502,!1)}();return j}function Ir(b,o,a,p){switch(o){case"start":b.onStart(()=>p(a&&Qr(a,"start",b)));break;case"done":b.onDone(()=>p(a&&Qr(a,"done",b)));break;case"destroy":b.onDestroy(()=>p(a&&Qr(a,"destroy",b)))}}function Qr(b,o,a){const x=rn(b.element,b.triggerName,b.fromState,b.toState,o||b.phaseName,a.totalTime??b.totalTime,!!a.disabled),U=b._data;return null!=U&&(x._data=U),x}function rn(b,o,a,p,T="",x=0,U){return{element:b,triggerName:o,fromState:a,toState:p,phaseName:T,totalTime:x,disabled:!!U}}function hn(b,o,a){let p=b.get(o);return p||b.set(o,p=a),p}function Dr(b){const o=b.indexOf(":");return[b.substring(1,o),b.slice(o+1)]}let sn=(b,o)=>!1,jn=(b,o,a)=>[],Br=null;function Bt(b){const o=b.parentNode||b.host;return o===Br?null:o}(lt()||typeof Element<"u")&&(_r()?(Br=(()=>document.documentElement)(),sn=(b,o)=>{for(;o;){if(o===b)return!0;o=Bt(o)}return!1}):sn=(b,o)=>b.contains(o),jn=(b,o,a)=>{if(a)return Array.from(b.querySelectorAll(o));const p=b.querySelector(o);return p?[p]:[]});let gn=null,mi=!1;const tn=sn,Xr=jn;let An=(()=>{class b{validateStyleProperty(a){return function Or(b){gn||(gn=function or(){return typeof document<"u"?document.body:null}()||{},mi=!!gn.style&&"WebkitAppearance"in gn.style);let o=!0;return gn.style&&!function gi(b){return"ebkit"==b.substring(1,6)}(b)&&(o=b in gn.style,!o&&mi&&(o="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in gn.style)),o}(a)}matchesElement(a,p){return!1}containsElement(a,p){return tn(a,p)}getParentElement(a){return Bt(a)}query(a,p,T){return Xr(a,p,T)}computeStyle(a,p,T){return T||""}animate(a,p,T,x,U,j=[],se){return new Le.ZN(T,x)}}return b.\u0275fac=function(a){return new(a||b)},b.\u0275prov=v.Yz7({token:b,factory:b.\u0275fac}),b})(),Ti=(()=>{class b{}return b.NOOP=new An,b})();const bn="ng-enter",Qn="ng-leave",Nr="ng-trigger",yi=".ng-trigger",$i="ng-animating",Gi=".ng-animating";function ti(b){if("number"==typeof b)return b;const o=b.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:zi(parseFloat(o[1]),o[2])}function zi(b,o){return"s"===o?1e3*b:b}function Wi(b,o,a){return b.hasOwnProperty("duration")?b:function As(b,o,a){let T,x=0,U="";if("string"==typeof b){const j=b.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===j)return o.push(Je()),{duration:0,delay:0,easing:""};T=zi(parseFloat(j[1]),j[2]);const se=j[3];null!=se&&(x=zi(parseFloat(se),j[4]));const fe=j[5];fe&&(U=fe)}else T=b;if(!a){let j=!1,se=o.length;T<0&&(o.push(function Dt(){return new v.vHH(3100,!1)}()),j=!0),x<0&&(o.push(function Ht(){return new v.vHH(3101,!1)}()),j=!0),j&&o.splice(se,0,Je())}return{duration:T,delay:x,easing:U}}(b,o,a)}function Ai(b,o={}){return Object.keys(b).forEach(a=>{o[a]=b[a]}),o}function Yi(b){const o=new Map;return Object.keys(b).forEach(a=>{o.set(a,b[a])}),o}function Cr(b,o=new Map,a){if(a)for(let[p,T]of a)o.set(p,T);for(let[p,T]of b)o.set(p,T);return o}function ds(b,o,a){return a?o+":"+a+";":""}function Ii(b){let o="";for(let a=0;a<b.style.length;a++){const p=b.style.item(a);o+=ds(0,p,b.style.getPropertyValue(p))}for(const a in b.style)b.style.hasOwnProperty(a)&&!a.startsWith("_")&&(o+=ds(0,Pi(a),b.style[a]));b.setAttribute("style",o)}function ar(b,o,a){b.style&&(o.forEach((p,T)=>{const x=_i(T);a&&!a.has(T)&&a.set(T,b.style[x]),b.style[x]=p}),lt()&&Ii(b))}function xn(b,o){b.style&&(o.forEach((a,p)=>{const T=_i(p);b.style[T]=""}),lt()&&Ii(b))}function lr(b){return Array.isArray(b)?1==b.length?b[0]:(0,Le.vP)(b):b}const xr=new RegExp("{{\\s*(.+?)\\s*}}","g");function Oi(b){let o=[];if("string"==typeof b){let a;for(;a=xr.exec(b);)o.push(a[1]);xr.lastIndex=0}return o}function In(b,o,a){const p=b.toString(),T=p.replace(xr,(x,U)=>{let j=o[U];return null==j&&(a.push(function ht(b){return new v.vHH(3003,!1)}()),j=""),j.toString()});return T==p?b:T}function vi(b){const o=[];let a=b.next();for(;!a.done;)o.push(a.value),a=b.next();return o}const cr=/-+([a-z0-9])/g;function _i(b){return b.replace(cr,(...o)=>o[1].toUpperCase())}function Pi(b){return b.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function mn(b,o,a){switch(o.type){case 7:return b.visitTrigger(o,a);case 0:return b.visitState(o,a);case 1:return b.visitTransition(o,a);case 2:return b.visitSequence(o,a);case 3:return b.visitGroup(o,a);case 4:return b.visitAnimate(o,a);case 5:return b.visitKeyframes(o,a);case 6:return b.visitStyle(o,a);case 8:return b.visitReference(o,a);case 9:return b.visitAnimateChild(o,a);case 10:return b.visitAnimateRef(o,a);case 11:return b.visitQuery(o,a);case 12:return b.visitStagger(o,a);default:throw function Xe(b){return new v.vHH(3004,!1)}()}}function qi(b,o){return window.getComputedStyle(b)[o]}function on(b,o){const a=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(p=>function Zi(b,o,a){if(":"==b[0]){const se=function Ks(b,o){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,p)=>parseFloat(p)>parseFloat(a);case":decrement":return(a,p)=>parseFloat(p)<parseFloat(a);default:return o.push(function sr(b){return new v.vHH(3016,!1)}()),"* => *"}}(b,a);if("function"==typeof se)return void o.push(se);b=se}const p=b.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return a.push(function vr(b){return new v.vHH(3015,!1)}()),o;const T=p[1],x=p[2],U=p[3];o.push(Fr(T,U));"<"==x[0]&&!("*"==T&&"*"==U)&&o.push(Fr(U,T))}(p,a,o)):a.push(b),a}const Jt=new Set(["true","1"]),nn=new Set(["false","0"]);function Fr(b,o){const a=Jt.has(b)||nn.has(b),p=Jt.has(o)||nn.has(o);return(T,x)=>{let U="*"==b||b==T,j="*"==o||o==x;return!U&&a&&"boolean"==typeof T&&(U=T?Jt.has(b):nn.has(b)),!j&&p&&"boolean"==typeof x&&(j=x?Jt.has(o):nn.has(o)),U&&j}}const jr=new RegExp("s*:selfs*,?","g");function wn(b,o,a,p){return new xi(b).build(o,a,p)}class xi{constructor(o){this._driver=o}build(o,a,p){const T=new Ji(a);return this._resetContextStyleTimingState(T),mn(this,lr(o),T)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,a){let p=a.queryCount=0,T=a.depCount=0;const x=[],U=[];return"@"==o.name.charAt(0)&&a.errors.push(function Hn(){return new v.vHH(3006,!1)}()),o.definitions.forEach(j=>{if(this._resetContextStyleTimingState(a),0==j.type){const se=j,fe=se.name;fe.toString().split(/\s*,\s*/).forEach(Ve=>{se.name=Ve,x.push(this.visitState(se,a))}),se.name=fe}else if(1==j.type){const se=this.visitTransition(j,a);p+=se.queryCount,T+=se.depCount,U.push(se)}else a.errors.push(function Pn(){return new v.vHH(3007,!1)}())}),{type:7,name:o.name,states:x,transitions:U,queryCount:p,depCount:T,options:null}}visitState(o,a){const p=this.visitStyle(o.styles,a),T=o.options&&o.options.params||null;if(p.containsDynamicStyles){const x=new Set,U=T||{};p.styles.forEach(j=>{j instanceof Map&&j.forEach(se=>{Oi(se).forEach(fe=>{U.hasOwnProperty(fe)||x.add(fe)})})}),x.size&&(vi(x.values()),a.errors.push(function Yt(b,o){return new v.vHH(3008,!1)}()))}return{type:0,name:o.name,style:p,options:T?{params:T}:null}}visitTransition(o,a){a.queryCount=0,a.depCount=0;const p=mn(this,lr(o.animation),a);return{type:1,matchers:on(o.expr,a.errors),animation:p,queryCount:a.queryCount,depCount:a.depCount,options:dr(o.options)}}visitSequence(o,a){return{type:2,steps:o.steps.map(p=>mn(this,p,a)),options:dr(o.options)}}visitGroup(o,a){const p=a.currentTime;let T=0;const x=o.steps.map(U=>{a.currentTime=p;const j=mn(this,U,a);return T=Math.max(T,a.currentTime),j});return a.currentTime=T,{type:3,steps:x,options:dr(o.options)}}visitAnimate(o,a){const p=function ct(b,o){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return Xi(Wi(b,o).duration,0,"");const a=b;if(a.split(/\s+/).some(x=>"{"==x.charAt(0)&&"{"==x.charAt(1))){const x=Xi(0,0,"");return x.dynamic=!0,x.strValue=a,x}const T=Wi(a,o);return Xi(T.duration,T.delay,T.easing)}(o.timings,a.errors);a.currentAnimateTimings=p;let T,x=o.styles?o.styles:(0,Le.oB)({});if(5==x.type)T=this.visitKeyframes(x,a);else{let U=o.styles,j=!1;if(!U){j=!0;const fe={};p.easing&&(fe.easing=p.easing),U=(0,Le.oB)(fe)}a.currentTime+=p.duration+p.delay;const se=this.visitStyle(U,a);se.isEmptyStep=j,T=se}return a.currentAnimateTimings=null,{type:4,timings:p,style:T,options:null}}visitStyle(o,a){const p=this._makeStyleAst(o,a);return this._validateStyleAst(p,a),p}_makeStyleAst(o,a){const p=[],T=Array.isArray(o.styles)?o.styles:[o.styles];for(let j of T)"string"==typeof j?j===Le.l3?p.push(j):a.errors.push(new v.vHH(3002,!1)):p.push(Yi(j));let x=!1,U=null;return p.forEach(j=>{if(j instanceof Map&&(j.has("easing")&&(U=j.get("easing"),j.delete("easing")),!x))for(let se of j.values())if(se.toString().indexOf("{{")>=0){x=!0;break}}),{type:6,styles:p,easing:U,offset:o.offset,containsDynamicStyles:x,options:null}}_validateStyleAst(o,a){const p=a.currentAnimateTimings;let T=a.currentTime,x=a.currentTime;p&&x>0&&(x-=p.duration+p.delay),o.styles.forEach(U=>{"string"!=typeof U&&U.forEach((j,se)=>{const fe=a.collectedStyles.get(a.currentQuerySelector),Ve=fe.get(se);let We=!0;Ve&&(x!=T&&x>=Ve.startTime&&T<=Ve.endTime&&(a.errors.push(function Cn(b,o,a,p,T){return new v.vHH(3010,!1)}()),We=!1),x=Ve.startTime),We&&fe.set(se,{startTime:x,endTime:T}),a.options&&function ur(b,o,a){const p=o.params||{},T=Oi(b);T.length&&T.forEach(x=>{p.hasOwnProperty(x)||a.push(function ir(b){return new v.vHH(3001,!1)}())})}(j,a.options,a.errors)})})}visitKeyframes(o,a){const p={type:5,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function Mr(){return new v.vHH(3011,!1)}()),p;let x=0;const U=[];let j=!1,se=!1,fe=0;const Ve=o.steps.map(Xt=>{const Sn=this._makeStyleAst(Xt,a);let En=null!=Sn.offset?Sn.offset:function Ps(b){if("string"==typeof b)return null;let o=null;if(Array.isArray(b))b.forEach(a=>{if(a instanceof Map&&a.has("offset")){const p=a;o=parseFloat(p.get("offset")),p.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const a=b;o=parseFloat(a.get("offset")),a.delete("offset")}return o}(Sn.styles),dn=0;return null!=En&&(x++,dn=Sn.offset=En),se=se||dn<0||dn>1,j=j||dn<fe,fe=dn,U.push(dn),Sn});se&&a.errors.push(function mr(){return new v.vHH(3012,!1)}()),j&&a.errors.push(function qr(){return new v.vHH(3200,!1)}());const We=o.steps.length;let wt=0;x>0&&x<We?a.errors.push(function fi(){return new v.vHH(3202,!1)}()):0==x&&(wt=1/(We-1));const vt=We-1,nt=a.currentTime,dt=a.currentAnimateTimings,Ft=dt.duration;return Ve.forEach((Xt,Sn)=>{const En=wt>0?Sn==vt?1:wt*Sn:U[Sn],dn=En*Ft;a.currentTime=nt+dt.delay+dn,dt.duration=dn,this._validateStyleAst(Xt,a),Xt.offset=En,p.styles.push(Xt)}),p}visitReference(o,a){return{type:8,animation:mn(this,lr(o.animation),a),options:dr(o.options)}}visitAnimateChild(o,a){return a.depCount++,{type:9,options:dr(o.options)}}visitAnimateRef(o,a){return{type:10,animation:this.visitReference(o.animation,a),options:dr(o.options)}}visitQuery(o,a){const p=a.currentQuerySelector,T=o.options||{};a.queryCount++,a.currentQuery=o;const[x,U]=function Os(b){const o=!!b.split(/\s*,\s*/).find(a=>":self"==a);return o&&(b=b.replace(jr,"")),b=b.replace(/@\*/g,yi).replace(/@\w+/g,a=>yi+"-"+a.slice(1)).replace(/:animating/g,Gi),[b,o]}(o.selector);a.currentQuerySelector=p.length?p+" "+x:x,hn(a.collectedStyles,a.currentQuerySelector,new Map);const j=mn(this,lr(o.animation),a);return a.currentQuery=null,a.currentQuerySelector=p,{type:11,selector:x,limit:T.limit||0,optional:!!T.optional,includeSelf:U,animation:j,originalSelector:o.selector,options:dr(o.options)}}visitStagger(o,a){a.currentQuery||a.errors.push(function yr(){return new v.vHH(3013,!1)}());const p="full"===o.timings?{duration:0,delay:0,easing:"full"}:Wi(o.timings,a.errors,!0);return{type:12,animation:mn(this,lr(o.animation),a),timings:p,options:null}}}class Ji{constructor(o){this.errors=o,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 dr(b){return b?(b=Ai(b)).params&&(b.params=function ii(b){return b?Ai(b):null}(b.params)):b={},b}function Xi(b,o,a){return{duration:b,delay:o,easing:a}}function es(b,o,a,p,T,x,U=null,j=!1){return{type:1,element:b,keyframes:o,preStyleProps:a,postStyleProps:p,duration:T,delay:x,totalTime:T+x,easing:U,subTimeline:j}}class bi{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,a){let p=this._map.get(o);p||this._map.set(o,p=[]),p.push(...a)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Ri=new RegExp(":enter","g"),Se=new RegExp(":leave","g");function Tt(b,o,a,p,T,x=new Map,U=new Map,j,se,fe=[]){return(new Fi).buildKeyframes(b,o,a,p,T,x,U,j,se,fe)}class Fi{buildKeyframes(o,a,p,T,x,U,j,se,fe,Ve=[]){fe=fe||new bi;const We=new E(o,a,fe,T,x,Ve,[]);We.options=se;const wt=se.delay?ti(se.delay):0;We.currentTimeline.delayNextStep(wt),We.currentTimeline.setStyles([U],null,We.errors,se),mn(this,p,We);const vt=We.timelines.filter(nt=>nt.containsAnimation());if(vt.length&&j.size){let nt;for(let dt=vt.length-1;dt>=0;dt--){const Ft=vt[dt];if(Ft.element===a){nt=Ft;break}}nt&&!nt.allowOnlyTimelineStyles()&&nt.setStyles([j],null,We.errors,se)}return vt.length?vt.map(nt=>nt.buildKeyframes()):[es(a,[],[],[],0,wt,"",!1)]}visitTrigger(o,a){}visitState(o,a){}visitTransition(o,a){}visitAnimateChild(o,a){const p=a.subInstructions.get(a.element);if(p){const T=a.createSubContext(o.options),x=a.currentTimeline.currentTime,U=this._visitSubInstructions(p,T,T.options);x!=U&&a.transformIntoNewTimeline(U)}a.previousNode=o}visitAnimateRef(o,a){const p=a.createSubContext(o.options);p.transformIntoNewTimeline(),this.visitReference(o.animation,p),a.transformIntoNewTimeline(p.currentTimeline.currentTime),a.previousNode=o}_visitSubInstructions(o,a,p){let x=a.currentTimeline.currentTime;const U=null!=p.duration?ti(p.duration):null,j=null!=p.delay?ti(p.delay):null;return 0!==U&&o.forEach(se=>{const fe=a.appendInstructionToTimeline(se,U,j);x=Math.max(x,fe.duration+fe.delay)}),x}visitReference(o,a){a.updateOptions(o.options,!0),mn(this,o.animation,a),a.previousNode=o}visitSequence(o,a){const p=a.subContextCount;let T=a;const x=o.options;if(x&&(x.params||x.delay)&&(T=a.createSubContext(x),T.transformIntoNewTimeline(),null!=x.delay)){6==T.previousNode.type&&(T.currentTimeline.snapshotCurrentStyles(),T.previousNode=ts);const U=ti(x.delay);T.delayNextStep(U)}o.steps.length&&(o.steps.forEach(U=>mn(this,U,T)),T.currentTimeline.applyStylesToKeyframe(),T.subContextCount>p&&T.transformIntoNewTimeline()),a.previousNode=o}visitGroup(o,a){const p=[];let T=a.currentTimeline.currentTime;const x=o.options&&o.options.delay?ti(o.options.delay):0;o.steps.forEach(U=>{const j=a.createSubContext(o.options);x&&j.delayNextStep(x),mn(this,U,j),T=Math.max(T,j.currentTimeline.currentTime),p.push(j.currentTimeline)}),p.forEach(U=>a.currentTimeline.mergeTimelineCollectedStyles(U)),a.transformIntoNewTimeline(T),a.previousNode=o}_visitTiming(o,a){if(o.dynamic){const p=o.strValue;return Wi(a.params?In(p,a.params,a.errors):p,a.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,a){const p=a.currentAnimateTimings=this._visitTiming(o.timings,a),T=a.currentTimeline;p.delay&&(a.incrementTime(p.delay),T.snapshotCurrentStyles());const x=o.style;5==x.type?this.visitKeyframes(x,a):(a.incrementTime(p.duration),this.visitStyle(x,a),T.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=o}visitStyle(o,a){const p=a.currentTimeline,T=a.currentAnimateTimings;!T&&p.hasCurrentStyleProperties()&&p.forwardFrame();const x=T&&T.easing||o.easing;o.isEmptyStep?p.applyEmptyStep(x):p.setStyles(o.styles,x,a.errors,a.options),a.previousNode=o}visitKeyframes(o,a){const p=a.currentAnimateTimings,T=a.currentTimeline.duration,x=p.duration,j=a.createSubContext().currentTimeline;j.easing=p.easing,o.styles.forEach(se=>{j.forwardTime((se.offset||0)*x),j.setStyles(se.styles,se.easing,a.errors,a.options),j.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(j),a.transformIntoNewTimeline(T+x),a.previousNode=o}visitQuery(o,a){const p=a.currentTimeline.currentTime,T=o.options||{},x=T.delay?ti(T.delay):0;x&&(6===a.previousNode.type||0==p&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=ts);let U=p;const j=a.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!T.optional,a.errors);a.currentQueryTotal=j.length;let se=null;j.forEach((fe,Ve)=>{a.currentQueryIndex=Ve;const We=a.createSubContext(o.options,fe);x&&We.delayNextStep(x),fe===a.element&&(se=We.currentTimeline),mn(this,o.animation,We),We.currentTimeline.applyStylesToKeyframe(),U=Math.max(U,We.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(U),se&&(a.currentTimeline.mergeTimelineCollectedStyles(se),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=o}visitStagger(o,a){const p=a.parentContext,T=a.currentTimeline,x=o.timings,U=Math.abs(x.duration),j=U*(a.currentQueryTotal-1);let se=U*a.currentQueryIndex;switch(x.duration<0?"reverse":x.easing){case"reverse":se=j-se;break;case"full":se=p.currentStaggerTime}const Ve=a.currentTimeline;se&&Ve.delayNextStep(se);const We=Ve.currentTime;mn(this,o.animation,a),a.previousNode=o,p.currentStaggerTime=T.currentTime-We+(T.startTime-p.currentTimeline.startTime)}}const ts={};class E{constructor(o,a,p,T,x,U,j,se){this._driver=o,this.element=a,this.subInstructions=p,this._enterClassName=T,this._leaveClassName=x,this.errors=U,this.timelines=j,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ts,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=se||new C(this._driver,a,0),j.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,a){if(!o)return;const p=o;let T=this.options;null!=p.duration&&(T.duration=ti(p.duration)),null!=p.delay&&(T.delay=ti(p.delay));const x=p.params;if(x){let U=T.params;U||(U=this.options.params={}),Object.keys(x).forEach(j=>{(!a||!U.hasOwnProperty(j))&&(U[j]=In(x[j],U,this.errors))})}}_copyOptions(){const o={};if(this.options){const a=this.options.params;if(a){const p=o.params={};Object.keys(a).forEach(T=>{p[T]=a[T]})}}return o}createSubContext(o=null,a,p){const T=a||this.element,x=new E(this._driver,T,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(T,p||0));return x.previousNode=this.previousNode,x.currentAnimateTimings=this.currentAnimateTimings,x.options=this._copyOptions(),x.updateOptions(o),x.currentQueryIndex=this.currentQueryIndex,x.currentQueryTotal=this.currentQueryTotal,x.parentContext=this,this.subContextCount++,x}transformIntoNewTimeline(o){return this.previousNode=ts,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,a,p){const T={duration:a??o.duration,delay:this.currentTimeline.currentTime+(p??0)+o.delay,easing:""},x=new _(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,T,o.stretchStartingKeyframe);return this.timelines.push(x),T}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,a,p,T,x,U){let j=[];if(T&&j.push(this.element),o.length>0){o=(o=o.replace(Ri,"."+this._enterClassName)).replace(Se,"."+this._leaveClassName);let fe=this._driver.query(this.element,o,1!=p);0!==p&&(fe=p<0?fe.slice(fe.length+p,fe.length):fe.slice(0,p)),j.push(...fe)}return!x&&0==j.length&&U.push(function Mi(b){return new v.vHH(3014,!1)}()),j}}class C{constructor(o,a,p,T){this._driver=o,this.element=a,this.startTime=p,this._elementTimelineStylesLookup=T,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const a=1===this._keyframes.size&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+o),a&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,a){return this.applyStylesToKeyframe(),new C(this._driver,o,a||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,a){this._localTimelineStyles.set(o,a),this._globalTimelineStyles.set(o,a),this._styleSummary.set(o,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[a,p]of this._globalTimelineStyles)this._backFill.set(a,p||Le.l3),this._currentKeyframe.set(a,Le.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,a,p,T){a&&this._previousKeyframe.set("easing",a);const x=T&&T.params||{},U=function he(b,o){const a=new Map;let p;return b.forEach(T=>{if("*"===T){p=p||o.keys();for(let x of p)a.set(x,Le.l3)}else Cr(T,a)}),a}(o,this._globalTimelineStyles);for(let[j,se]of U){const fe=In(se,x,p);this._pendingStyles.set(j,fe),this._localTimelineStyles.has(j)||this._backFill.set(j,this._globalTimelineStyles.get(j)??Le.l3),this._updateStyle(j,fe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((o,a)=>{this._currentKeyframe.set(a,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,o)}))}snapshotCurrentStyles(){for(let[o,a]of this._localTimelineStyles)this._pendingStyles.set(o,a),this._updateStyle(o,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let a in this._currentKeyframe)o.push(a);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach((a,p)=>{const T=this._styleSummary.get(p);(!T||a.time>T.time)&&this._updateStyle(p,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,a=new Set,p=1===this._keyframes.size&&0===this.duration;let T=[];this._keyframes.forEach((j,se)=>{const fe=Cr(j,new Map,this._backFill);fe.forEach((Ve,We)=>{Ve===Le.k1?o.add(We):Ve===Le.l3&&a.add(We)}),p||fe.set("offset",se/this.duration),T.push(fe)});const x=o.size?vi(o.values()):[],U=a.size?vi(a.values()):[];if(p){const j=T[0],se=new Map(j);j.set("offset",0),se.set("offset",1),T=[j,se]}return es(this.element,T,x,U,this.duration,this.startTime,this.easing,!1)}}class _ extends C{constructor(o,a,p,T,x,U,j=!1){super(o,a,U.delay),this.keyframes=p,this.preStyleProps=T,this.postStyleProps=x,this._stretchStartingKeyframe=j,this.timings={duration:U.duration,delay:U.delay,easing:U.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:a,duration:p,easing:T}=this.timings;if(this._stretchStartingKeyframe&&a){const x=[],U=p+a,j=a/U,se=Cr(o[0]);se.set("offset",0),x.push(se);const fe=Cr(o[0]);fe.set("offset",P(j)),x.push(fe);const Ve=o.length-1;for(let We=1;We<=Ve;We++){let wt=Cr(o[We]);const vt=wt.get("offset");wt.set("offset",P((a+vt*p)/U)),x.push(wt)}p=U,a=0,T="",o=x}return es(this.element,o,this.preStyleProps,this.postStyleProps,p,a,T,!0)}}function P(b,o=3){const a=Math.pow(10,o-1);return Math.round(b*a)/a}class Kt{}const ki=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 br extends Kt{normalizePropertyName(o,a){return _i(o)}normalizeStyleValue(o,a,p,T){let x="";const U=p.toString().trim();if(ki.has(a)&&0!==p&&"0"!==p)if("number"==typeof p)x="px";else{const j=p.match(/^[+-]?[\d\.]+([a-z]*)$/);j&&0==j[1].length&&T.push(function Vt(b,o){return new v.vHH(3005,!1)}())}return U+x}}function an(b,o,a,p,T,x,U,j,se,fe,Ve,We,wt){return{type:0,element:b,triggerName:o,isRemovalTransition:T,fromState:a,fromStyles:x,toState:p,toStyles:U,timelines:j,queriedElements:se,preStyleProps:fe,postStyleProps:Ve,totalTime:We,errors:wt}}const hr={};class fs{constructor(o,a,p){this._triggerName=o,this.ast=a,this._stateStyles=p}match(o,a,p,T){return function si(b,o,a,p,T){return b.some(x=>x(o,a,p,T))}(this.ast.matchers,o,a,p,T)}buildStyles(o,a,p){let T=this._stateStyles.get("*");return void 0!==o&&(T=this._stateStyles.get(o?.toString())||T),T?T.buildStyles(a,p):new Map}build(o,a,p,T,x,U,j,se,fe,Ve){const We=[],wt=this.ast.options&&this.ast.options.params||hr,nt=this.buildStyles(p,j&&j.params||hr,We),dt=se&&se.params||hr,Ft=this.buildStyles(T,dt,We),Xt=new Set,Sn=new Map,En=new Map,dn="void"===T,rs={params:Rs(dt,wt),delay:this.ast.options?.delay},At=Ve?[]:Tt(o,a,this.ast.animation,x,U,nt,Ft,rs,fe,We);let wr=0;if(At.forEach(er=>{wr=Math.max(er.duration+er.delay,wr)}),We.length)return an(a,this._triggerName,p,T,dn,nt,Ft,[],[],Sn,En,wr,We);At.forEach(er=>{const ui=er.element,ma=hn(Sn,ui,new Set);er.preStyleProps.forEach(Bi=>ma.add(Bi));const Bs=hn(En,ui,new Set);er.postStyleProps.forEach(Bi=>Bs.add(Bi)),ui!==a&&Xt.add(ui)});const Ei=vi(Xt.values());return an(a,this._triggerName,p,T,dn,nt,Ft,At,Ei,Sn,En,wr)}}function Rs(b,o){const a=Ai(o);for(const p in b)b.hasOwnProperty(p)&&null!=b[p]&&(a[p]=b[p]);return a}class ps{constructor(o,a,p){this.styles=o,this.defaultParams=a,this.normalizer=p}buildStyles(o,a){const p=new Map,T=Ai(this.defaultParams);return Object.keys(o).forEach(x=>{const U=o[x];null!==U&&(T[x]=U)}),this.styles.styles.forEach(x=>{"string"!=typeof x&&x.forEach((U,j)=>{U&&(U=In(U,T,a));const se=this.normalizer.normalizePropertyName(j,a);U=this.normalizer.normalizeStyleValue(j,se,U,a),p.set(se,U)})}),p}}class ao{constructor(o,a,p){this.name=o,this.ast=a,this._normalizer=p,this.transitionFactories=[],this.states=new Map,a.states.forEach(T=>{this.states.set(T.name,new ps(T.style,T.options&&T.options.params||{},p))}),Fs(this.states,"true","1"),Fs(this.states,"false","0"),a.transitions.forEach(T=>{this.transitionFactories.push(new fs(o,T,this.states))}),this.fallbackTransition=function qs(b,o,a){return new fs(b,{type:1,animation:{type:2,steps:[],options:null},matchers:[(U,j)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,a,p,T){return this.transitionFactories.find(U=>U.match(o,a,p,T))||null}matchStyles(o,a,p){return this.fallbackTransition.buildStyles(o,a,p)}}function Fs(b,o,a){b.has(o)?b.has(a)||b.set(a,b.get(o)):b.has(a)&&b.set(o,b.get(a))}const lo=new bi;class Qs{constructor(o,a,p){this.bodyNode=o,this._driver=a,this._normalizer=p,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,a){const p=[],x=wn(this._driver,a,p,[]);if(p.length)throw function F(b){return new v.vHH(3503,!1)}();this._animations.set(o,x)}_buildPlayer(o,a,p){const T=o.element,x=Tn(0,this._normalizer,0,o.keyframes,a,p);return this._driver.animate(T,x,o.duration,o.delay,o.easing,[],!0)}create(o,a,p={}){const T=[],x=this._animations.get(o);let U;const j=new Map;if(x?(U=Tt(this._driver,a,x,bn,Qn,new Map,new Map,p,lo,T),U.forEach(Ve=>{const We=hn(j,Ve.element,new Map);Ve.postStyleProps.forEach(wt=>We.set(wt,null))})):(T.push(function X(){return new v.vHH(3300,!1)}()),U=[]),T.length)throw function De(b){return new v.vHH(3504,!1)}();j.forEach((Ve,We)=>{Ve.forEach((wt,vt)=>{Ve.set(vt,this._driver.computeStyle(We,vt,Le.l3))})});const fe=Un(U.map(Ve=>{const We=j.get(Ve.element);return this._buildPlayer(Ve,new Map,We)}));return this._playersById.set(o,fe),fe.onDestroy(()=>this.destroy(o)),this.players.push(fe),fe}destroy(o){const a=this._getPlayer(o);a.destroy(),this._playersById.delete(o);const p=this.players.indexOf(a);p>=0&&this.players.splice(p,1)}_getPlayer(o){const a=this._playersById.get(o);if(!a)throw function _e(b){return new v.vHH(3301,!1)}();return a}listen(o,a,p,T){const x=rn(a,"","","");return Ir(this._getPlayer(o),p,x,T),()=>{}}command(o,a,p,T){if("register"==p)return void this.register(o,T[0]);if("create"==p)return void this.create(o,a,T[0]||{});const x=this._getPlayer(o);switch(p){case"play":x.play();break;case"pause":x.pause();break;case"reset":x.reset();break;case"restart":x.restart();break;case"finish":x.finish();break;case"init":x.init();break;case"setPosition":x.setPosition(parseFloat(T[0]));break;case"destroy":this.destroy(o)}}}const uo="ng-animate-queued",M="ng-animate-disabled",de=[],we={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ue={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},mt="__ng_removed";class ft{constructor(o,a=""){this.namespaceId=a;const p=o&&o.hasOwnProperty("value");if(this.value=function Jn(b){return b??null}(p?o.value:o),p){const x=Ai(o);delete x.value,this.options=x}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const a=o.params;if(a){const p=this.options.params;Object.keys(a).forEach(T=>{null==p[T]&&(p[T]=a[T])})}}}const Ct="void",et=new ft(Ct);class pn{constructor(o,a,p){this.id=o,this.hostElement=a,this._engine=p,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,Er(a,this._hostClassName)}listen(o,a,p,T){if(!this._triggers.has(a))throw function Re(b,o){return new v.vHH(3302,!1)}();if(null==p||0==p.length)throw function yt(b){return new v.vHH(3303,!1)}();if(!function fr(b){return"start"==b||"done"==b}(p))throw function Rt(b,o){return new v.vHH(3400,!1)}();const x=hn(this._elementListeners,o,[]),U={name:a,phase:p,callback:T};x.push(U);const j=hn(this._engine.statesByElement,o,new Map);return j.has(a)||(Er(o,Nr),Er(o,Nr+"-"+a),j.set(a,et)),()=>{this._engine.afterFlush(()=>{const se=x.indexOf(U);se>=0&&x.splice(se,1),this._triggers.has(a)||j.delete(a)})}}register(o,a){return!this._triggers.has(o)&&(this._triggers.set(o,a),!0)}_getTrigger(o){const a=this._triggers.get(o);if(!a)throw function Nn(b){return new v.vHH(3401,!1)}();return a}trigger(o,a,p,T=!0){const x=this._getTrigger(a),U=new cn(this.id,a,o);let j=this._engine.statesByElement.get(o);j||(Er(o,Nr),Er(o,Nr+"-"+a),this._engine.statesByElement.set(o,j=new Map));let se=j.get(a);const fe=new ft(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&se&&fe.absorbOptions(se.options),j.set(a,fe),se||(se=et),fe.value!==Ct&&se.value===fe.value){if(!function fa(b,o){const a=Object.keys(b),p=Object.keys(o);if(a.length!=p.length)return!1;for(let T=0;T<a.length;T++){const x=a[T];if(!o.hasOwnProperty(x)||b[x]!==o[x])return!1}return!0}(se.params,fe.params)){const dt=[],Ft=x.matchStyles(se.value,se.params,dt),Xt=x.matchStyles(fe.value,fe.params,dt);dt.length?this._engine.reportError(dt):this._engine.afterFlush(()=>{xn(o,Ft),ar(o,Xt)})}return}const wt=hn(this._engine.playersByElement,o,[]);wt.forEach(dt=>{dt.namespaceId==this.id&&dt.triggerName==a&&dt.queued&&dt.destroy()});let vt=x.matchTransition(se.value,fe.value,o,fe.params),nt=!1;if(!vt){if(!T)return;vt=x.fallbackTransition,nt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:a,transition:vt,fromState:se,toState:fe,player:U,isFallbackTransition:nt}),nt||(Er(o,uo),U.onStart(()=>{gs(o,uo)})),U.onDone(()=>{let dt=this.players.indexOf(U);dt>=0&&this.players.splice(dt,1);const Ft=this._engine.playersByElement.get(o);if(Ft){let Xt=Ft.indexOf(U);Xt>=0&&Ft.splice(Xt,1)}}),this.players.push(U),wt.push(U),U}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(a=>a.delete(o)),this._elementListeners.forEach((a,p)=>{this._elementListeners.set(p,a.filter(T=>T.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const a=this._engine.playersByElement.get(o);a&&(a.forEach(p=>p.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,a){const p=this._engine.driver.query(o,yi,!0);p.forEach(T=>{if(T[mt])return;const x=this._engine.fetchNamespacesByElement(T);x.size?x.forEach(U=>U.triggerLeaveAnimation(T,a,!1,!0)):this.clearElementCache(T)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(T=>this.clearElementCache(T)))}triggerLeaveAnimation(o,a,p,T){const x=this._engine.statesByElement.get(o),U=new Map;if(x){const j=[];if(x.forEach((se,fe)=>{if(U.set(fe,se.value),this._triggers.has(fe)){const Ve=this.trigger(o,fe,Ct,T);Ve&&j.push(Ve)}}),j.length)return this._engine.markElementAsRemoved(this.id,o,!0,a,U),p&&Un(j).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const a=this._elementListeners.get(o),p=this._engine.statesByElement.get(o);if(a&&p){const T=new Set;a.forEach(x=>{const U=x.name;if(T.has(U))return;T.add(U);const se=this._triggers.get(U).fallbackTransition,fe=p.get(U)||et,Ve=new ft(Ct),We=new cn(this.id,U,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:U,transition:se,fromState:fe,toState:Ve,player:We,isFallbackTransition:!0})})}}removeNode(o,a){const p=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,a),this.triggerLeaveAnimation(o,a,!0))return;let T=!1;if(p.totalAnimations){const x=p.players.length?p.playersByQueriedElement.get(o):[];if(x&&x.length)T=!0;else{let U=o;for(;U=U.parentNode;)if(p.statesByElement.get(U)){T=!0;break}}}if(this.prepareLeaveAnimationListeners(o),T)p.markElementAsRemoved(this.id,o,!1,a);else{const x=o[mt];(!x||x===we)&&(p.afterFlush(()=>this.clearElementCache(o)),p.destroyInnerAnimations(o),p._onRemovalComplete(o,a))}}insertNode(o,a){Er(o,this._hostClassName)}drainQueuedTransitions(o){const a=[];return this._queue.forEach(p=>{const T=p.player;if(T.destroyed)return;const x=p.element,U=this._elementListeners.get(x);U&&U.forEach(j=>{if(j.name==p.triggerName){const se=rn(x,p.triggerName,p.fromState.value,p.toState.value);se._data=o,Ir(p.player,j.phase,se,j.callback)}}),T.markedForDestroy?this._engine.afterFlush(()=>{T.destroy()}):a.push(p)}),this._queue=[],a.sort((p,T)=>{const x=p.transition.ast.depCount,U=T.transition.ast.depCount;return 0==x||0==U?x-U:this._engine.driver.containsElement(p.element,T.element)?1:-1})}destroy(o){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let a=!1;return this._elementListeners.has(o)&&(a=!0),a=!!this._queue.find(p=>p.element===o)||a,a}}class $t{constructor(o,a,p){this.bodyNode=o,this.driver=a,this._normalizer=p,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=(T,x)=>{}}_onRemovalComplete(o,a){this.onRemovalComplete(o,a)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(a=>{a.players.forEach(p=>{p.queued&&o.push(p)})}),o}createNamespace(o,a){const p=new pn(o,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(p,a):(this.newHostElements.set(a,p),this.collectEnterElement(a)),this._namespaceLookup[o]=p}_balanceNamespaceList(o,a){const p=this._namespaceList,T=this.namespacesByHostElement;if(p.length-1>=0){let U=!1,j=this.driver.getParentElement(a);for(;j;){const se=T.get(j);if(se){const fe=p.indexOf(se);p.splice(fe+1,0,o),U=!0;break}j=this.driver.getParentElement(j)}U||p.unshift(o)}else p.push(o);return T.set(a,o),o}register(o,a){let p=this._namespaceLookup[o];return p||(p=this.createNamespace(o,a)),p}registerTrigger(o,a,p){let T=this._namespaceLookup[o];T&&T.register(a,p)&&this.totalAnimations++}destroy(o,a){if(!o)return;const p=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(p.hostElement),delete this._namespaceLookup[o];const T=this._namespaceList.indexOf(p);T>=0&&this._namespaceList.splice(T,1)}),this.afterFlushAnimationsDone(()=>p.destroy(a))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const a=new Set,p=this.statesByElement.get(o);if(p)for(let T of p.values())if(T.namespaceId){const x=this._fetchNamespace(T.namespaceId);x&&a.add(x)}return a}trigger(o,a,p,T){if(Xn(a)){const x=this._fetchNamespace(o);if(x)return x.trigger(a,p,T),!0}return!1}insertNode(o,a,p,T){if(!Xn(a))return;const x=a[mt];if(x&&x.setForRemoval){x.setForRemoval=!1,x.setForMove=!0;const U=this.collectedLeaveElements.indexOf(a);U>=0&&this.collectedLeaveElements.splice(U,1)}if(o){const U=this._fetchNamespace(o);U&&U.insertNode(a,p)}T&&this.collectEnterElement(a)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,a){a?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Er(o,M)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),gs(o,M))}removeNode(o,a,p,T){if(Xn(a)){const x=o?this._fetchNamespace(o):null;if(x?x.removeNode(a,T):this.markElementAsRemoved(o,a,!1,T),p){const U=this.namespacesByHostElement.get(a);U&&U.id!==o&&U.removeNode(a,T)}}else this._onRemovalComplete(a,T)}markElementAsRemoved(o,a,p,T,x){this.collectedLeaveElements.push(a),a[mt]={namespaceId:o,setForRemoval:T,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:x}}listen(o,a,p,T,x){return Xn(a)?this._fetchNamespace(o).listen(a,p,T,x):()=>{}}_buildInstruction(o,a,p,T,x){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,p,T,o.fromState.options,o.toState.options,a,x)}destroyInnerAnimations(o){let a=this.driver.query(o,yi,!0);a.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(o,Gi,!0),a.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(o){const a=this.playersByElement.get(o);a&&a.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(o){const a=this.playersByQueriedElement.get(o);a&&a.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return Un(this.players).onDone(()=>o());o()})}processLeaveNode(o){const a=o[mt];if(a&&a.setForRemoval){if(o[mt]=we,a.namespaceId){this.destroyInnerAnimations(o);const p=this._fetchNamespace(a.namespaceId);p&&p.clearElementCache(o)}this._onRemovalComplete(o,a.setForRemoval)}o.classList?.contains(M)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(p=>{this.markElementAsDisabled(p,!1)})}flush(o=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,T)=>this._balanceNamespaceList(p,T)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)Er(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{a=this._flushAnimations(p,o)}finally{for(let T=0;T<p.length;T++)p[T]()}}else for(let p=0;p<this.collectedLeaveElements.length;p++)this.processLeaveNode(this.collectedLeaveElements[p]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(p=>p()),this._flushFns=[],this._whenQuietFns.length){const p=this._whenQuietFns;this._whenQuietFns=[],a.length?Un(a).onDone(()=>{p.forEach(T=>T())}):p.forEach(T=>T())}}reportError(o){throw function en(b){return new v.vHH(3402,!1)}()}_flushAnimations(o,a){const p=new bi,T=[],x=new Map,U=[],j=new Map,se=new Map,fe=new Map,Ve=new Set;this.disabledNodes.forEach(Ze=>{Ve.add(Ze);const He=this.driver.query(Ze,".ng-animate-queued",!0);for(let st=0;st<He.length;st++)Ve.add(He[st])});const We=this.bodyNode,wt=Array.from(this.statesByElement.keys()),vt=ns(wt,this.collectedEnterElements),nt=new Map;let dt=0;vt.forEach((Ze,He)=>{const st=bn+dt++;nt.set(He,st),Ze.forEach(Pt=>Er(Pt,st))});const Ft=[],Xt=new Set,Sn=new Set;for(let Ze=0;Ze<this.collectedLeaveElements.length;Ze++){const He=this.collectedLeaveElements[Ze],st=He[mt];st&&st.setForRemoval&&(Ft.push(He),Xt.add(He),st.hasAnimation?this.driver.query(He,".ng-star-inserted",!0).forEach(Pt=>Xt.add(Pt)):Sn.add(He))}const En=new Map,dn=ns(wt,Array.from(Xt));dn.forEach((Ze,He)=>{const st=Qn+dt++;En.set(He,st),Ze.forEach(Pt=>Er(Pt,st))}),o.push(()=>{vt.forEach((Ze,He)=>{const st=nt.get(He);Ze.forEach(Pt=>gs(Pt,st))}),dn.forEach((Ze,He)=>{const st=En.get(He);Ze.forEach(Pt=>gs(Pt,st))}),Ft.forEach(Ze=>{this.processLeaveNode(Ze)})});const rs=[],At=[];for(let Ze=this._namespaceList.length-1;Ze>=0;Ze--)this._namespaceList[Ze].drainQueuedTransitions(a).forEach(st=>{const Pt=st.player,zn=st.element;if(rs.push(Pt),this.collectedEnterElements.length){const Fn=zn[mt];if(Fn&&Fn.setForMove){if(Fn.previousTriggersValues&&Fn.previousTriggersValues.has(st.triggerName)){const is=Fn.previousTriggersValues.get(st.triggerName),kr=this.statesByElement.get(st.element);if(kr&&kr.has(st.triggerName)){const bo=kr.get(st.triggerName);bo.value=is,kr.set(st.triggerName,bo)}}return void Pt.destroy()}}const Sr=!We||!this.driver.containsElement(We,zn),ln=En.get(zn),Rn=nt.get(zn),un=this._buildInstruction(st,p,Rn,ln,Sr);if(un.errors&&un.errors.length)return void At.push(un);if(Sr)return Pt.onStart(()=>xn(zn,un.fromStyles)),Pt.onDestroy(()=>ar(zn,un.toStyles)),void T.push(Pt);if(st.isFallbackTransition)return Pt.onStart(()=>xn(zn,un.fromStyles)),Pt.onDestroy(()=>ar(zn,un.toStyles)),void T.push(Pt);const Hs=[];un.timelines.forEach(Fn=>{Fn.stretchStartingKeyframe=!0,this.disabledNodes.has(Fn.element)||Hs.push(Fn)}),un.timelines=Hs,p.append(zn,un.timelines),U.push({instruction:un,player:Pt,element:zn}),un.queriedElements.forEach(Fn=>hn(j,Fn,[]).push(Pt)),un.preStyleProps.forEach((Fn,is)=>{if(Fn.size){let kr=se.get(is);kr||se.set(is,kr=new Set),Fn.forEach((bo,Vo)=>kr.add(Vo))}}),un.postStyleProps.forEach((Fn,is)=>{let kr=fe.get(is);kr||fe.set(is,kr=new Set),Fn.forEach((bo,Vo)=>kr.add(Vo))})});if(At.length){const Ze=[];At.forEach(He=>{Ze.push(function Zt(b,o){return new v.vHH(3505,!1)}())}),rs.forEach(He=>He.destroy()),this.reportError(Ze)}const wr=new Map,Ei=new Map;U.forEach(Ze=>{const He=Ze.element;p.has(He)&&(Ei.set(He,He),this._beforeAnimationBuild(Ze.player.namespaceId,Ze.instruction,wr))}),T.forEach(Ze=>{const He=Ze.element;this._getPreviousPlayers(He,!1,Ze.namespaceId,Ze.triggerName,null).forEach(Pt=>{hn(wr,He,[]).push(Pt),Pt.destroy()})});const er=Ft.filter(Ze=>ms(Ze,se,fe)),ui=new Map;ai(ui,this.driver,Sn,fe,Le.l3).forEach(Ze=>{ms(Ze,se,fe)&&er.push(Ze)});const Bs=new Map;vt.forEach((Ze,He)=>{ai(Bs,this.driver,new Set(Ze),se,Le.k1)}),er.forEach(Ze=>{const He=ui.get(Ze),st=Bs.get(Ze);ui.set(Ze,new Map([...Array.from(He?.entries()??[]),...Array.from(st?.entries()??[])]))});const Bi=[],Hi=[],ya={};U.forEach(Ze=>{const{element:He,player:st,instruction:Pt}=Ze;if(p.has(He)){if(Ve.has(He))return st.onDestroy(()=>ar(He,Pt.toStyles)),st.disabled=!0,st.overrideTotalTime(Pt.totalTime),void T.push(st);let zn=ya;if(Ei.size>1){let ln=He;const Rn=[];for(;ln=ln.parentNode;){const un=Ei.get(ln);if(un){zn=un;break}Rn.push(ln)}Rn.forEach(un=>Ei.set(un,zn))}const Sr=this._buildAnimation(st.namespaceId,Pt,wr,x,Bs,ui);if(st.setRealPlayer(Sr),zn===ya)Bi.push(st);else{const ln=this.playersByElement.get(zn);ln&&ln.length&&(st.parentPlayer=Un(ln)),T.push(st)}}else xn(He,Pt.fromStyles),st.onDestroy(()=>ar(He,Pt.toStyles)),Hi.push(st),Ve.has(He)&&T.push(st)}),Hi.forEach(Ze=>{const He=x.get(Ze.element);if(He&&He.length){const st=Un(He);Ze.setRealPlayer(st)}}),T.forEach(Ze=>{Ze.parentPlayer?Ze.syncPlayerEvents(Ze.parentPlayer):Ze.destroy()});for(let Ze=0;Ze<Ft.length;Ze++){const He=Ft[Ze],st=He[mt];if(gs(He,Qn),st&&st.hasAnimation)continue;let Pt=[];if(j.size){let Sr=j.get(He);Sr&&Sr.length&&Pt.push(...Sr);let ln=this.driver.query(He,Gi,!0);for(let Rn=0;Rn<ln.length;Rn++){let un=j.get(ln[Rn]);un&&un.length&&Pt.push(...un)}}const zn=Pt.filter(Sr=>!Sr.destroyed);zn.length?Vi(this,He,zn):this.processLeaveNode(He)}return Ft.length=0,Bi.forEach(Ze=>{this.players.push(Ze),Ze.onDone(()=>{Ze.destroy();const He=this.players.indexOf(Ze);this.players.splice(He,1)}),Ze.play()}),Bi}elementContainsData(o,a){let p=!1;const T=a[mt];return T&&T.setForRemoval&&(p=!0),this.playersByElement.has(a)&&(p=!0),this.playersByQueriedElement.has(a)&&(p=!0),this.statesByElement.has(a)&&(p=!0),this._fetchNamespace(o).elementContainsData(a)||p}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,a,p,T,x){let U=[];if(a){const j=this.playersByQueriedElement.get(o);j&&(U=j)}else{const j=this.playersByElement.get(o);if(j){const se=!x||x==Ct;j.forEach(fe=>{fe.queued||!se&&fe.triggerName!=T||U.push(fe)})}}return(p||T)&&(U=U.filter(j=>!(p&&p!=j.namespaceId||T&&T!=j.triggerName))),U}_beforeAnimationBuild(o,a,p){const x=a.element,U=a.isRemovalTransition?void 0:o,j=a.isRemovalTransition?void 0:a.triggerName;for(const se of a.timelines){const fe=se.element,Ve=fe!==x,We=hn(p,fe,[]);this._getPreviousPlayers(fe,Ve,U,j,a.toState).forEach(vt=>{const nt=vt.getRealPlayer();nt.beforeDestroy&&nt.beforeDestroy(),vt.destroy(),We.push(vt)})}xn(x,a.fromStyles)}_buildAnimation(o,a,p,T,x,U){const j=a.triggerName,se=a.element,fe=[],Ve=new Set,We=new Set,wt=a.timelines.map(nt=>{const dt=nt.element;Ve.add(dt);const Ft=dt[mt];if(Ft&&Ft.removedBeforeQueried)return new Le.ZN(nt.duration,nt.delay);const Xt=dt!==se,Sn=function ks(b){const o=[];return Ls(b,o),o}((p.get(dt)||de).map(wr=>wr.getRealPlayer())).filter(wr=>!!wr.element&&wr.element===dt),En=x.get(dt),dn=U.get(dt),rs=Tn(0,this._normalizer,0,nt.keyframes,En,dn),At=this._buildPlayer(nt,rs,Sn);if(nt.subTimeline&&T&&We.add(dt),Xt){const wr=new cn(o,j,dt);wr.setRealPlayer(At),fe.push(wr)}return At});fe.forEach(nt=>{hn(this.playersByQueriedElement,nt.element,[]).push(nt),nt.onDone(()=>function oi(b,o,a){let p=b.get(o);if(p){if(p.length){const T=p.indexOf(a);p.splice(T,1)}0==p.length&&b.delete(o)}return p}(this.playersByQueriedElement,nt.element,nt))}),Ve.forEach(nt=>Er(nt,$i));const vt=Un(wt);return vt.onDestroy(()=>{Ve.forEach(nt=>gs(nt,$i)),ar(se,a.toStyles)}),We.forEach(nt=>{hn(T,nt,[]).push(vt)}),vt}_buildPlayer(o,a,p){return a.length>0?this.driver.animate(o.element,a,o.duration,o.delay,o.easing,p):new Le.ZN(o.duration,o.delay)}}class cn{constructor(o,a,p){this.namespaceId=o,this.triggerName=a,this.element=p,this._player=new Le.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((a,p)=>{a.forEach(T=>Ir(o,p,void 0,T))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const a=this._player;a.triggerCallback&&o.onStart(()=>a.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,a){hn(this._queuedCallbacks,o,[]).push(a)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}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(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const a=this._player;a.triggerCallback&&a.triggerCallback(o)}}function Xn(b){return b&&1===b.nodeType}function pr(b,o){const a=b.style.display;return b.style.display=o??"none",a}function ai(b,o,a,p,T){const x=[];a.forEach(se=>x.push(pr(se)));const U=[];p.forEach((se,fe)=>{const Ve=new Map;se.forEach(We=>{const wt=o.computeStyle(fe,We,T);Ve.set(We,wt),(!wt||0==wt.length)&&(fe[mt]=Ue,U.push(fe))}),b.set(fe,Ve)});let j=0;return a.forEach(se=>pr(se,x[j++])),U}function ns(b,o){const a=new Map;if(b.forEach(j=>a.set(j,[])),0==o.length)return a;const T=new Set(o),x=new Map;function U(j){if(!j)return 1;let se=x.get(j);if(se)return se;const fe=j.parentNode;return se=a.has(fe)?fe:T.has(fe)?1:U(fe),x.set(j,se),se}return o.forEach(j=>{const se=U(j);1!==se&&a.get(se).push(j)}),a}function Er(b,o){b.classList?.add(o)}function gs(b,o){b.classList?.remove(o)}function Vi(b,o,a){Un(a).onDone(()=>b.processLeaveNode(o))}function Ls(b,o){for(let a=0;a<b.length;a++){const p=b[a];p instanceof Le.ZE?Ls(p.players,o):o.push(p)}}function ms(b,o,a){const p=a.get(b);if(!p)return!1;let T=o.get(b);return T?p.forEach(x=>T.add(x)):o.set(b,p),a.delete(b),!0}class ys{constructor(o,a,p){this.bodyNode=o,this._driver=a,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(T,x)=>{},this._transitionEngine=new $t(o,a,p),this._timelineEngine=new Qs(o,a,p),this._transitionEngine.onRemovalComplete=(T,x)=>this.onRemovalComplete(T,x)}registerTrigger(o,a,p,T,x){const U=o+"-"+T;let j=this._triggerCache[U];if(!j){const se=[],Ve=wn(this._driver,x,se,[]);if(se.length)throw function ee(b,o){return new v.vHH(3404,!1)}();j=function Li(b,o,a){return new ao(b,o,a)}(T,Ve,this._normalizer),this._triggerCache[U]=j}this._transitionEngine.registerTrigger(a,T,j)}register(o,a){this._transitionEngine.register(o,a)}destroy(o,a){this._transitionEngine.destroy(o,a)}onInsert(o,a,p,T){this._transitionEngine.insertNode(o,a,p,T)}onRemove(o,a,p,T){this._transitionEngine.removeNode(o,a,T||!1,p)}disableAnimations(o,a){this._transitionEngine.markElementAsDisabled(o,a)}process(o,a,p,T){if("@"==p.charAt(0)){const[x,U]=Dr(p);this._timelineEngine.command(x,a,U,T)}else this._transitionEngine.trigger(o,a,p,T)}listen(o,a,p,T,x){if("@"==p.charAt(0)){const[U,j]=Dr(p);return this._timelineEngine.listen(U,a,j,x)}return this._transitionEngine.listen(o,a,p,T,x)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ga=(()=>{class b{constructor(a,p,T){this._element=a,this._startStyles=p,this._endStyles=T,this._state=0;let x=b.initialStylesByElement.get(a);x||b.initialStylesByElement.set(a,x=new Map),this._initialStyles=x}start(){this._state<1&&(this._startStyles&&ar(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ar(this._element,this._initialStyles),this._endStyles&&(ar(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(b.initialStylesByElement.delete(this._element),this._startStyles&&(xn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xn(this._element,this._endStyles),this._endStyles=null),ar(this._element,this._initialStyles),this._state=3)}}return b.initialStylesByElement=new WeakMap,b})();function Ro(b){let o=null;return b.forEach((a,p)=>{(function Ya(b){return"display"===b||"position"===b})(p)&&(o=o||new Map,o.set(p,a))}),o}class vs{constructor(o,a,p,T){this.element=o,this.keyframes=a,this.options=p,this._specialStyles=T,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=p.duration,this._delay=p.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const a=[];return o.forEach(p=>{a.push(Object.fromEntries(p))}),a}_triggerWebAnimation(o,a,p){return o.animate(this._convertKeyframesToObject(a),p)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),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(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((p,T)=>{"offset"!==T&&o.set(T,this._finished?p:qi(this.element,T))}),this.currentSnapshot=o}triggerCallback(o){const a="start"===o?this._onStartFns:this._onDoneFns;a.forEach(p=>p()),a.length=0}}class Fo{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}matchesElement(o,a){return!1}containsElement(o,a){return tn(o,a)}getParentElement(o){return Bt(o)}query(o,a,p){return Xr(o,a,p)}computeStyle(o,a,p){return window.getComputedStyle(o)[a]}animate(o,a,p,T,x,U=[]){const se={duration:p,delay:T,fill:0==T?"both":"forwards"};x&&(se.easing=x);const fe=new Map,Ve=U.filter(vt=>vt instanceof vs);(function Ni(b,o){return 0===b||0===o})(p,T)&&Ve.forEach(vt=>{vt.currentSnapshot.forEach((nt,dt)=>fe.set(dt,nt))});let We=function cs(b){return b.length?b[0]instanceof Map?b:b.map(o=>Yi(o)):[]}(a).map(vt=>Cr(vt));We=function Ki(b,o,a){if(a.size&&o.length){let p=o[0],T=[];if(a.forEach((x,U)=>{p.has(U)||T.push(U),p.set(U,x)}),T.length)for(let x=1;x<o.length;x++){let U=o[x];T.forEach(j=>U.set(j,qi(b,j)))}}return o}(o,We,fe);const wt=function pa(b,o){let a=null,p=null;return Array.isArray(o)&&o.length?(a=Ro(o[0]),o.length>1&&(p=Ro(o[o.length-1]))):o instanceof Map&&(a=Ro(o)),a||p?new ga(b,a,p):null}(o,We);return new vs(o,We,se,wt)}}let co=(()=>{class b extends Le._j{constructor(a,p){super(),this._nextAnimationId=0,this._renderer=a.createRenderer(p.body,{id:"0",encapsulation:v.ifc.None,styles:[],data:{animation:[]}})}build(a){const p=this._nextAnimationId.toString();this._nextAnimationId++;const T=Array.isArray(a)?(0,Le.vP)(a):a;return Zs(this._renderer,null,p,"register",[T]),new Vs(p,this._renderer)}}return b.\u0275fac=function(a){return new(a||b)(v.LFG(v.FYo),v.LFG(ae.K0))},b.\u0275prov=v.Yz7({token:b,factory:b.\u0275fac}),b})();class Vs extends Le.LC{constructor(o,a){super(),this._id=o,this._renderer=a}create(o,a){return new ho(this._id,o,a||{},this._renderer)}}class ho{constructor(o,a,p,T){this.id=o,this.element=a,this._renderer=T,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(o,a){return this._renderer.listen(this.element,`@@${this.id}:${o}`,a)}_command(o,...a){return Zs(this._renderer,this.element,this.id,o,a)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}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(o){this._command("setPosition",o)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Zs(b,o,a,p,T){return b.setProperty(o,`@@${a}:${p}`,T)}const ko="@.disabled";let _s=(()=>{class b{constructor(a,p,T){this.delegate=a,this.engine=p,this._zone=T,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),p.onRemovalComplete=(x,U)=>{const j=U?.parentNode(x);j&&U.removeChild(j,x)}}createRenderer(a,p){const x=this.delegate.createRenderer(a,p);if(!(a&&p&&p.data&&p.data.animation)){let Ve=this._rendererCache.get(x);return Ve||(Ve=new Js("",x,this.engine),this._rendererCache.set(x,Ve)),Ve}const U=p.id,j=p.id+"-"+this._currentId;this._currentId++,this.engine.register(j,a);const se=Ve=>{Array.isArray(Ve)?Ve.forEach(se):this.engine.registerTrigger(U,j,a,Ve.name,Ve)};return p.data.animation.forEach(se),new Xs(this,j,x,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(a,p,T){a>=0&&a<this._microtaskId?this._zone.run(()=>p(T)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(x=>{const[U,j]=x;U(j)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([p,T]))}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 b.\u0275fac=function(a){return new(a||b)(v.LFG(v.FYo),v.LFG(ys),v.LFG(v.R0b))},b.\u0275prov=v.Yz7({token:b,factory:b.\u0275fac}),b})();class Js{constructor(o,a,p){this.namespaceId=o,this.delegate=a,this.engine=p,this.destroyNode=this.delegate.destroyNode?T=>a.destroyNode(T):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,a){return this.delegate.createElement(o,a)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,a){this.delegate.appendChild(o,a),this.engine.onInsert(this.namespaceId,a,o,!1)}insertBefore(o,a,p,T=!0){this.delegate.insertBefore(o,a,p),this.engine.onInsert(this.namespaceId,a,o,T)}removeChild(o,a,p){this.engine.onRemove(this.namespaceId,a,this.delegate,p)}selectRootElement(o,a){return this.delegate.selectRootElement(o,a)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,a,p,T){this.delegate.setAttribute(o,a,p,T)}removeAttribute(o,a,p){this.delegate.removeAttribute(o,a,p)}addClass(o,a){this.delegate.addClass(o,a)}removeClass(o,a){this.delegate.removeClass(o,a)}setStyle(o,a,p,T){this.delegate.setStyle(o,a,p,T)}removeStyle(o,a,p){this.delegate.removeStyle(o,a,p)}setProperty(o,a,p){"@"==a.charAt(0)&&a==ko?this.disableAnimations(o,!!p):this.delegate.setProperty(o,a,p)}setValue(o,a){this.delegate.setValue(o,a)}listen(o,a,p){return this.delegate.listen(o,a,p)}disableAnimations(o,a){this.engine.disableAnimations(o,a)}}class Xs extends Js{constructor(o,a,p,T){super(a,p,T),this.factory=o,this.namespaceId=a}setProperty(o,a,p){"@"==a.charAt(0)?"."==a.charAt(1)&&a==ko?this.disableAnimations(o,p=void 0===p||!!p):this.engine.process(this.namespaceId,o,a.slice(1),p):this.delegate.setProperty(o,a,p)}listen(o,a,p){if("@"==a.charAt(0)){const T=function Ka(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(o);let x=a.slice(1),U="";return"@"!=x.charAt(0)&&([x,U]=function Lo(b){const o=b.indexOf(".");return[b.substring(0,o),b.slice(o+1)]}(x)),this.engine.listen(this.namespaceId,T,x,U,j=>{this.factory.scheduleListenerCallback(j._data||-1,p,j)})}return this.delegate.listen(o,a,p)}}const go=[{provide:Le._j,useClass:co},{provide:Kt,useFactory:function po(){return new br}},{provide:ys,useClass:(()=>{class b extends ys{constructor(a,p,T,x){super(a.body,p,T)}ngOnDestroy(){this.flush()}}return b.\u0275fac=function(a){return new(a||b)(v.LFG(ae.K0),v.LFG(Ti),v.LFG(Kt),v.LFG(v.z2F))},b.\u0275prov=v.Yz7({token:b,factory:b.\u0275fac}),b})()},{provide:v.FYo,useFactory:function $r(b,o,a){return new _s(b,o,a)},deps:[c.se,ys,v.R0b]}],Ds=[{provide:Ti,useFactory:()=>new Fo},{provide:v.QbO,useValue:"BrowserAnimations"},...go],eo=[{provide:Ti,useClass:An},{provide:v.QbO,useValue:"NoopAnimations"},...go];let mo=(()=>{class b{static withConfig(a){return{ngModule:b,providers:a.disableAnimations?eo:Ds}}}return b.\u0275fac=function(a){return new(a||b)},b.\u0275mod=v.oAB({type:b}),b.\u0275inj=v.cJS({providers:Ds,imports:[c.b2]}),b})(),Do=(()=>{class b{constructor(){this.title="web-tools"}}return b.\u0275fac=function(a){return new(a||b)},b.\u0275cmp=v.Xpm({type:b,selectors:[["app-root"]],decls:2,vars:0,template:function(a,p){1&a&&v._UZ(0,"ng-http-loader")(1,"router-outlet")},dependencies:[Q.lC,me]}),b})(),to=(()=>{class b{}return b.\u0275fac=function(a){return new(a||b)},b.\u0275mod=v.oAB({type:b,bootstrap:[Do]}),b.\u0275inj=v.cJS({providers:[K.O,Fe.a],imports:[c.b2,mo,be,Ce.u5,Q.Bz,di.JF,Me.forRoot(),G.Rh.forRoot({positionClass:"toast-bottom-right",preventDuplicates:!0,closeButton:!0,timeOut:5e3}),Q.Bz]}),b})();(0,v.G48)(),c.q6().bootstrapModule(to).catch(b=>console.error(b))},591:(ze,pe,N)=>{N.d(pe,{X:()=>Q});var c=N(8929),v=N(5279);class Q extends c.xQ{constructor(J){super(),this._value=J}get value(){return this.getValue()}_subscribe(J){const Y=super._subscribe(J);return Y&&!Y.closed&&J.next(this._value),Y}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new v.N;return this._value}next(J){super.next(this._value=J)}}},9312:(ze,pe,N)=>{N.d(pe,{P:()=>J});var c=N(8896),v=N(1086),Q=N(1737);class J{constructor(z,te,re){this.kind=z,this.value=te,this.error=re,this.hasValue="N"===z}observe(z){switch(this.kind){case"N":return z.next&&z.next(this.value);case"E":return z.error&&z.error(this.error);case"C":return z.complete&&z.complete()}}do(z,te,re){switch(this.kind){case"N":return z&&z(this.value);case"E":return te&&te(this.error);case"C":return re&&re()}}accept(z,te,re){return z&&"function"==typeof z.next?this.observe(z):this.do(z,te,re)}toObservable(){switch(this.kind){case"N":return(0,v.of)(this.value);case"E":return(0,Q._)(this.error);case"C":return(0,c.c)()}throw new Error("unexpected notification kind value")}static createNext(z){return typeof z<"u"?new J("N",z):J.undefinedValueNotification}static createError(z){return new J("E",void 0,z)}static createComplete(){return J.completeNotification}}J.completeNotification=new J("C"),J.undefinedValueNotification=new J("N",void 0)},6498:(ze,pe,N)=>{N.d(pe,{y:()=>re});var c=N(3489),Q=N(7668),oe=N(3292),Y=N(3821),z=N(4843),te=N(2830);let re=(()=>{class G{constructor(ae){this._isScalar=!1,ae&&(this._subscribe=ae)}lift(ae){const Ce=new G;return Ce.source=this,Ce.operator=ae,Ce}subscribe(ae,Ce,xe){const{operator:ye}=this,ne=function J(G,ce,ae){if(G){if(G instanceof c.L)return G;if(G[Q.b])return G[Q.b]()}return G||ce||ae?new c.L(G,ce,ae):new c.L(oe.c)}(ae,Ce,xe);if(ne.add(ye?ye.call(ne,this.source):this.source||te.v.useDeprecatedSynchronousErrorHandling&&!ne.syncErrorThrowable?this._subscribe(ne):this._trySubscribe(ne)),te.v.useDeprecatedSynchronousErrorHandling&&ne.syncErrorThrowable&&(ne.syncErrorThrowable=!1,ne.syncErrorThrown))throw ne.syncErrorValue;return ne}_trySubscribe(ae){try{return this._subscribe(ae)}catch(Ce){te.v.useDeprecatedSynchronousErrorHandling&&(ae.syncErrorThrown=!0,ae.syncErrorValue=Ce),function v(G){for(;G;){const{closed:ce,destination:ae,isStopped:Ce}=G;if(ce||Ce)return!1;G=ae&&ae instanceof c.L?ae:null}return!0}(ae)?ae.error(Ce):console.warn(Ce)}}forEach(ae,Ce){return new(Ce=K(Ce))((xe,ye)=>{let ne;ne=this.subscribe(Oe=>{try{ae(Oe)}catch(Ye){ye(Ye),ne&&ne.unsubscribe()}},ye,xe)})}_subscribe(ae){const{source:Ce}=this;return Ce&&Ce.subscribe(ae)}[Y.L](){return this}pipe(...ae){return 0===ae.length?this:(0,z.U)(ae)(this)}toPromise(ae){return new(ae=K(ae))((Ce,xe)=>{let ye;this.subscribe(ne=>ye=ne,ne=>xe(ne),()=>Ce(ye))})}}return G.create=ce=>new G(ce),G})();function K(G){if(G||(G=te.v.Promise||Promise),!G)throw new Error("no Promise impl found");return G}},3292:(ze,pe,N)=>{N.d(pe,{c:()=>Q});var c=N(2830),v=N(2782);const Q={closed:!0,next(oe){},error(oe){if(c.v.useDeprecatedSynchronousErrorHandling)throw oe;(0,v.z)(oe)},complete(){}}},6831:(ze,pe,N)=>{N.d(pe,{t:()=>ne});var c=N(8929),v=N(6686),oe=N(2268);const z=new class J extends oe.v{}(class Q extends v.o{constructor(le,be){super(le,be),this.scheduler=le,this.work=be}schedule(le,be=0){return be>0?super.schedule(le,be):(this.delay=be,this.state=le,this.scheduler.flush(this),this)}execute(le,be){return be>0||this.closed?super.execute(le,be):this._execute(le,be)}requestAsyncId(le,be,Z=0){return null!==Z&&Z>0||null===Z&&this.delay>0?super.requestAsyncId(le,be,Z):le.flush(this)}});var te=N(2654),re=N(3489),K=N(9312);class ae extends re.L{constructor(le,be,Z=0){super(le),this.scheduler=be,this.delay=Z}static dispatch(le){const{notification:be,destination:Z}=le;be.observe(Z),this.unsubscribe()}scheduleMessage(le){this.destination.add(this.scheduler.schedule(ae.dispatch,this.delay,new Ce(le,this.destination)))}_next(le){this.scheduleMessage(K.P.createNext(le))}_error(le){this.scheduleMessage(K.P.createError(le)),this.unsubscribe()}_complete(){this.scheduleMessage(K.P.createComplete()),this.unsubscribe()}}class Ce{constructor(le,be){this.notification=le,this.destination=be}}var xe=N(5279),ye=N(5283);class ne extends c.xQ{constructor(le=Number.POSITIVE_INFINITY,be=Number.POSITIVE_INFINITY,Z){super(),this.scheduler=Z,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=le<1?1:le,this._windowTime=be<1?1:be,be===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(le){if(!this.isStopped){const be=this._events;be.push(le),be.length>this._bufferSize&&be.shift()}super.next(le)}nextTimeWindow(le){this.isStopped||(this._events.push(new Oe(this._getNow(),le)),this._trimBufferThenGetEvents()),super.next(le)}_subscribe(le){const be=this._infiniteTimeWindow,Z=be?this._events:this._trimBufferThenGetEvents(),Pe=this.scheduler,Et=Z.length;let It;if(this.closed)throw new xe.N;if(this.isStopped||this.hasError?It=te.w.EMPTY:(this.observers.push(le),It=new ye.W(this,le)),Pe&&le.add(le=new ae(le,Pe)),be)for(let _t=0;_t<Et&&!le.closed;_t++)le.next(Z[_t]);else for(let _t=0;_t<Et&&!le.closed;_t++)le.next(Z[_t].value);return this.hasError?le.error(this.thrownError):this.isStopped&&le.complete(),It}_getNow(){return(this.scheduler||z).now()}_trimBufferThenGetEvents(){const le=this._getNow(),be=this._bufferSize,Z=this._windowTime,Pe=this._events,Et=Pe.length;let It=0;for(;It<Et&&!(le-Pe[It].time<Z);)It++;return Et>be&&(It=Math.max(It,Et-be)),It>0&&Pe.splice(0,It),Pe}}class Oe{constructor(le,be){this.time=le,this.value=be}}},8929:(ze,pe,N)=>{N.d(pe,{Yc:()=>z,xQ:()=>te});var c=N(6498),v=N(3489),Q=N(2654),oe=N(5279),J=N(5283),Y=N(7668);class z extends v.L{constructor(G){super(G),this.destination=G}}let te=(()=>{class K extends c.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Y.b](){return new z(this)}lift(ce){const ae=new re(this,this);return ae.operator=ce,ae}next(ce){if(this.closed)throw new oe.N;if(!this.isStopped){const{observers:ae}=this,Ce=ae.length,xe=ae.slice();for(let ye=0;ye<Ce;ye++)xe[ye].next(ce)}}error(ce){if(this.closed)throw new oe.N;this.hasError=!0,this.thrownError=ce,this.isStopped=!0;const{observers:ae}=this,Ce=ae.length,xe=ae.slice();for(let ye=0;ye<Ce;ye++)xe[ye].error(ce);this.observers.length=0}complete(){if(this.closed)throw new oe.N;this.isStopped=!0;const{observers:ce}=this,ae=ce.length,Ce=ce.slice();for(let xe=0;xe<ae;xe++)Ce[xe].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(ce){if(this.closed)throw new oe.N;return super._trySubscribe(ce)}_subscribe(ce){if(this.closed)throw new oe.N;return this.hasError?(ce.error(this.thrownError),Q.w.EMPTY):this.isStopped?(ce.complete(),Q.w.EMPTY):(this.observers.push(ce),new J.W(this,ce))}asObservable(){const ce=new c.y;return ce.source=this,ce}}return K.create=(G,ce)=>new re(G,ce),K})();class re extends te{constructor(G,ce){super(),this.destination=G,this.source=ce}next(G){const{destination:ce}=this;ce&&ce.next&&ce.next(G)}error(G){const{destination:ce}=this;ce&&ce.error&&this.destination.error(G)}complete(){const{destination:G}=this;G&&G.complete&&this.destination.complete()}_subscribe(G){const{source:ce}=this;return ce?this.source.subscribe(G):Q.w.EMPTY}}},5283:(ze,pe,N)=>{N.d(pe,{W:()=>v});var c=N(2654);class v extends c.w{constructor(oe,J){super(),this.subject=oe,this.subscriber=J,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const oe=this.subject,J=oe.observers;if(this.subject=null,!J||0===J.length||oe.isStopped||oe.closed)return;const Y=J.indexOf(this.subscriber);-1!==Y&&J.splice(Y,1)}}},3489:(ze,pe,N)=>{N.d(pe,{L:()=>z});var c=N(7043),v=N(3292),Q=N(2654),oe=N(7668),J=N(2830),Y=N(2782);class z extends Q.w{constructor(K,G,ce){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=v.c;break;case 1:if(!K){this.destination=v.c;break}if("object"==typeof K){K instanceof z?(this.syncErrorThrowable=K.syncErrorThrowable,this.destination=K,K.add(this)):(this.syncErrorThrowable=!0,this.destination=new te(this,K));break}default:this.syncErrorThrowable=!0,this.destination=new te(this,K,G,ce)}}[oe.b](){return this}static create(K,G,ce){const ae=new z(K,G,ce);return ae.syncErrorThrowable=!1,ae}next(K){this.isStopped||this._next(K)}error(K){this.isStopped||(this.isStopped=!0,this._error(K))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(K){this.destination.next(K)}_error(K){this.destination.error(K),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:K}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=K,this}}class te extends z{constructor(K,G,ce,ae){super(),this._parentSubscriber=K;let Ce,xe=this;(0,c.m)(G)?Ce=G:G&&(Ce=G.next,ce=G.error,ae=G.complete,G!==v.c&&(xe=Object.create(G),(0,c.m)(xe.unsubscribe)&&this.add(xe.unsubscribe.bind(xe)),xe.unsubscribe=this.unsubscribe.bind(this))),this._context=xe,this._next=Ce,this._error=ce,this._complete=ae}next(K){if(!this.isStopped&&this._next){const{_parentSubscriber:G}=this;J.v.useDeprecatedSynchronousErrorHandling&&G.syncErrorThrowable?this.__tryOrSetError(G,this._next,K)&&this.unsubscribe():this.__tryOrUnsub(this._next,K)}}error(K){if(!this.isStopped){const{_parentSubscriber:G}=this,{useDeprecatedSynchronousErrorHandling:ce}=J.v;if(this._error)ce&&G.syncErrorThrowable?(this.__tryOrSetError(G,this._error,K),this.unsubscribe()):(this.__tryOrUnsub(this._error,K),this.unsubscribe());else if(G.syncErrorThrowable)ce?(G.syncErrorValue=K,G.syncErrorThrown=!0):(0,Y.z)(K),this.unsubscribe();else{if(this.unsubscribe(),ce)throw K;(0,Y.z)(K)}}}complete(){if(!this.isStopped){const{_parentSubscriber:K}=this;if(this._complete){const G=()=>this._complete.call(this._context);J.v.useDeprecatedSynchronousErrorHandling&&K.syncErrorThrowable?(this.__tryOrSetError(K,G),this.unsubscribe()):(this.__tryOrUnsub(G),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(K,G){try{K.call(this._context,G)}catch(ce){if(this.unsubscribe(),J.v.useDeprecatedSynchronousErrorHandling)throw ce;(0,Y.z)(ce)}}__tryOrSetError(K,G,ce){if(!J.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{G.call(this._context,ce)}catch(ae){return J.v.useDeprecatedSynchronousErrorHandling?(K.syncErrorValue=ae,K.syncErrorThrown=!0,!0):((0,Y.z)(ae),!0)}return!1}_unsubscribe(){const{_parentSubscriber:K}=this;this._context=null,this._parentSubscriber=null,K.unsubscribe()}}},2654:(ze,pe,N)=>{N.d(pe,{w:()=>Y});var c=N(6688),v=N(7830),Q=N(7043);const J=(()=>{function te(re){return Error.call(this),this.message=re?`${re.length} errors occurred during unsubscription:\n${re.map((K,G)=>`${G+1}) ${K.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=re,this}return te.prototype=Object.create(Error.prototype),te})();class Y{constructor(re){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,re&&(this._ctorUnsubscribe=!0,this._unsubscribe=re)}unsubscribe(){let re;if(this.closed)return;let{_parentOrParents:K,_ctorUnsubscribe:G,_unsubscribe:ce,_subscriptions:ae}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,K instanceof Y)K.remove(this);else if(null!==K)for(let Ce=0;Ce<K.length;++Ce)K[Ce].remove(this);if((0,Q.m)(ce)){G&&(this._unsubscribe=void 0);try{ce.call(this)}catch(Ce){re=Ce instanceof J?z(Ce.errors):[Ce]}}if((0,c.k)(ae)){let Ce=-1,xe=ae.length;for(;++Ce<xe;){const ye=ae[Ce];if((0,v.K)(ye))try{ye.unsubscribe()}catch(ne){re=re||[],ne instanceof J?re=re.concat(z(ne.errors)):re.push(ne)}}}if(re)throw new J(re)}add(re){let K=re;if(!re)return Y.EMPTY;switch(typeof re){case"function":K=new Y(re);case"object":if(K===this||K.closed||"function"!=typeof K.unsubscribe)return K;if(this.closed)return K.unsubscribe(),K;if(!(K instanceof Y)){const ae=K;K=new Y,K._subscriptions=[ae]}break;default:throw new Error("unrecognized teardown "+re+" added to Subscription.")}let{_parentOrParents:G}=K;if(null===G)K._parentOrParents=this;else if(G instanceof Y){if(G===this)return K;K._parentOrParents=[G,this]}else{if(-1!==G.indexOf(this))return K;G.push(this)}const ce=this._subscriptions;return null===ce?this._subscriptions=[K]:ce.push(K),K}remove(re){const K=this._subscriptions;if(K){const G=K.indexOf(re);-1!==G&&K.splice(G,1)}}}var te;function z(te){return te.reduce((re,K)=>re.concat(K instanceof J?K.errors:K),[])}Y.EMPTY=((te=new Y).closed=!0,te)},2830:(ze,pe,N)=>{N.d(pe,{v:()=>v});let c=!1;const v={Promise:void 0,set useDeprecatedSynchronousErrorHandling(Q){if(Q){const oe=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+oe.stack)}else c&&console.log("RxJS: Back to a better error behavior. Thank you. <3");c=Q},get useDeprecatedSynchronousErrorHandling(){return c}}},1177:(ze,pe,N)=>{N.d(pe,{Ds:()=>Y,IY:()=>oe,ft:()=>te});var c=N(3489),v=N(6498),Q=N(9249);class oe extends c.L{constructor(K){super(),this.parent=K}_next(K){this.parent.notifyNext(K)}_error(K){this.parent.notifyError(K),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Y extends c.L{notifyNext(K){this.destination.next(K)}notifyError(K){this.destination.error(K)}notifyComplete(){this.destination.complete()}}function te(re,K){if(K.closed)return;if(re instanceof v.y)return re.subscribe(K);let G;try{G=(0,Q.s)(re)(K)}catch(ce){K.error(ce)}return G}},1762:(ze,pe,N)=>{N.d(pe,{N:()=>Y,c:()=>J});var c=N(8929),v=N(6498),Q=N(2654),oe=N(4327);class J extends v.y{constructor(G,ce){super(),this.source=G,this.subjectFactory=ce,this._refCount=0,this._isComplete=!1}_subscribe(G){return this.getSubject().subscribe(G)}getSubject(){const G=this._subject;return(!G||G.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let G=this._connection;return G||(this._isComplete=!1,G=this._connection=new Q.w,G.add(this.source.subscribe(new z(this.getSubject(),this))),G.closed&&(this._connection=null,G=Q.w.EMPTY)),G}refCount(){return(0,oe.x)()(this)}}const Y=(()=>{const K=J.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:K._subscribe},_isComplete:{value:K._isComplete,writable:!0},getSubject:{value:K.getSubject},connect:{value:K.connect},refCount:{value:K.refCount}}})();class z extends c.Yc{constructor(G,ce){super(G),this.connectable=ce}_error(G){this._unsubscribe(),super._error(G)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const G=this.connectable;if(G){this.connectable=null;const ce=G._connection;G._refCount=0,G._subject=null,G._connection=null,ce&&ce.unsubscribe()}}}},3426:(ze,pe,N)=>{N.d(pe,{aj:()=>G});var c=N(2866),v=N(6688),Q=N(3489);class oe extends Q.L{notifyNext(xe,ye,ne,Oe,Ye){this.destination.next(ye)}notifyError(xe,ye){this.destination.error(xe)}notifyComplete(xe){this.destination.complete()}}class J extends Q.L{constructor(xe,ye,ne){super(),this.parent=xe,this.outerValue=ye,this.outerIndex=ne,this.index=0}_next(xe){this.parent.notifyNext(this.outerValue,xe,this.outerIndex,this.index++,this)}_error(xe){this.parent.notifyError(xe,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var Y=N(9249),z=N(6498);function te(Ce,xe,ye,ne,Oe=new J(Ce,ye,ne)){if(!Oe.closed)return xe instanceof z.y?xe.subscribe(Oe):(0,Y.s)(xe)(Oe)}var re=N(3009);const K={};function G(...Ce){let xe,ye;return(0,c.K)(Ce[Ce.length-1])&&(ye=Ce.pop()),"function"==typeof Ce[Ce.length-1]&&(xe=Ce.pop()),1===Ce.length&&(0,v.k)(Ce[0])&&(Ce=Ce[0]),(0,re.n)(Ce,ye).lift(new ce(xe))}class ce{constructor(xe){this.resultSelector=xe}call(xe,ye){return ye.subscribe(new ae(xe,this.resultSelector))}}class ae extends oe{constructor(xe,ye){super(xe),this.resultSelector=ye,this.active=0,this.values=[],this.observables=[]}_next(xe){this.values.push(K),this.observables.push(xe)}_complete(){const xe=this.observables,ye=xe.length;if(0===ye)this.destination.complete();else{this.active=ye,this.toRespond=ye;for(let ne=0;ne<ye;ne++)this.add(te(this,xe[ne],void 0,ne))}}notifyComplete(xe){0==(this.active-=1)&&this.destination.complete()}notifyNext(xe,ye,ne){const Oe=this.values,le=this.toRespond?Oe[ne]===K?--this.toRespond:this.toRespond:0;Oe[ne]=ye,0===le&&(this.resultSelector?this._tryResultSelector(Oe):this.destination.next(Oe.slice()))}_tryResultSelector(xe){let ye;try{ye=this.resultSelector.apply(this,xe)}catch(ne){return void this.destination.error(ne)}this.destination.next(ye)}}},1221:(ze,pe,N)=>{N.d(pe,{z:()=>oe});var c=N(1086),v=N(9146);function oe(...J){return function Q(){return(0,v.J)(1)}()((0,c.of)(...J))}},8514:(ze,pe,N)=>{N.d(pe,{P:()=>oe});var c=N(6498),v=N(5254),Q=N(8896);function oe(J){return new c.y(Y=>{let z;try{z=J()}catch(re){return void Y.error(re)}return(z?(0,v.D)(z):(0,Q.c)()).subscribe(Y)})}},8896:(ze,pe,N)=>{N.d(pe,{E:()=>v,c:()=>Q});var c=N(6498);const v=new c.y(J=>J.complete());function Q(J){return J?function oe(J){return new c.y(Y=>J.schedule(()=>Y.complete()))}(J):v}},5254:(ze,pe,N)=>{N.d(pe,{D:()=>xe});var c=N(6498),v=N(9249),Q=N(2654),oe=N(3821),z=N(6454),te=N(5430),G=N(8955),ce=N(8515);function xe(ye,ne){return ne?function Ce(ye,ne){if(null!=ye){if(function K(ye){return ye&&"function"==typeof ye[oe.L]}(ye))return function J(ye,ne){return new c.y(Oe=>{const Ye=new Q.w;return Ye.add(ne.schedule(()=>{const le=ye[oe.L]();Ye.add(le.subscribe({next(be){Ye.add(ne.schedule(()=>Oe.next(be)))},error(be){Ye.add(ne.schedule(()=>Oe.error(be)))},complete(){Ye.add(ne.schedule(()=>Oe.complete()))}}))})),Ye})}(ye,ne);if((0,G.t)(ye))return function Y(ye,ne){return new c.y(Oe=>{const Ye=new Q.w;return Ye.add(ne.schedule(()=>ye.then(le=>{Ye.add(ne.schedule(()=>{Oe.next(le),Ye.add(ne.schedule(()=>Oe.complete()))}))},le=>{Ye.add(ne.schedule(()=>Oe.error(le)))}))),Ye})}(ye,ne);if((0,ce.z)(ye))return(0,z.r)(ye,ne);if(function ae(ye){return ye&&"function"==typeof ye[te.hZ]}(ye)||"string"==typeof ye)return function re(ye,ne){if(!ye)throw new Error("Iterable cannot be null");return new c.y(Oe=>{const Ye=new Q.w;let le;return Ye.add(()=>{le&&"function"==typeof le.return&&le.return()}),Ye.add(ne.schedule(()=>{le=ye[te.hZ](),Ye.add(ne.schedule(function(){if(Oe.closed)return;let be,Z;try{const Pe=le.next();be=Pe.value,Z=Pe.done}catch(Pe){return void Oe.error(Pe)}Z?Oe.complete():(Oe.next(be),this.schedule())}))})),Ye})}(ye,ne)}throw new TypeError((null!==ye&&typeof ye||ye)+" is not observable")}(ye,ne):ye instanceof c.y?ye:new c.y((0,v.s)(ye))}},3009:(ze,pe,N)=>{N.d(pe,{n:()=>oe});var c=N(6498),v=N(3650),Q=N(6454);function oe(J,Y){return Y?(0,Q.r)(J,Y):new c.y((0,v.V)(J))}},6787:(ze,pe,N)=>{N.d(pe,{T:()=>J});var c=N(6498),v=N(2866),Q=N(9146),oe=N(3009);function J(...Y){let z=Number.POSITIVE_INFINITY,te=null,re=Y[Y.length-1];return(0,v.K)(re)?(te=Y.pop(),Y.length>1&&"number"==typeof Y[Y.length-1]&&(z=Y.pop())):"number"==typeof re&&(z=Y.pop()),null===te&&1===Y.length&&Y[0]instanceof c.y?Y[0]:(0,Q.J)(z)((0,oe.n)(Y,te))}},1086:(ze,pe,N)=>{N.d(pe,{of:()=>oe});var c=N(2866),v=N(3009),Q=N(6454);function oe(...J){let Y=J[J.length-1];return(0,c.K)(Y)?(J.pop(),(0,Q.r)(J,Y)):(0,v.n)(J)}},1737:(ze,pe,N)=>{N.d(pe,{_:()=>v});var c=N(6498);function v(oe,J){return new c.y(J?Y=>J.schedule(Q,0,{error:oe,subscriber:Y}):Y=>Y.error(oe))}function Q({error:oe,subscriber:J}){J.error(oe)}},7739:(ze,pe,N)=>{N.d(pe,{H:()=>Y});var c=N(6498),v=N(353),Q=N(6688);function oe(te){return!(0,Q.k)(te)&&te-parseFloat(te)+1>=0}var J=N(2866);function Y(te=0,re,K){let G=-1;return oe(re)?G=Number(re)<1?1:Number(re):(0,J.K)(re)&&(K=re),(0,J.K)(K)||(K=v.P),new c.y(ce=>{const ae=oe(te)?te:+te-K.now();return K.schedule(z,ae,{index:0,period:G,subscriber:ce})})}function z(te){const{index:re,period:K,subscriber:G}=te;if(G.next(re),!G.closed){if(-1===K)return G.complete();te.index=re+1,this.schedule(te,K)}}},1406:(ze,pe,N)=>{N.d(pe,{b:()=>v});var c=N(1709);function v(Q,oe){return(0,c.zg)(Q,oe,1)}},5778:(ze,pe,N)=>{N.d(pe,{x:()=>v});var c=N(3489);function v(J,Y){return z=>z.lift(new Q(J,Y))}class Q{constructor(Y,z){this.compare=Y,this.keySelector=z}call(Y,z){return z.subscribe(new oe(Y,this.compare,this.keySelector))}}class oe extends c.L{constructor(Y,z,te){super(Y),this.keySelector=te,this.hasKey=!1,"function"==typeof z&&(this.compare=z)}compare(Y,z){return Y===z}_next(Y){let z;try{const{keySelector:re}=this;z=re?re(Y):Y}catch(re){return this.destination.error(re)}let te=!1;if(this.hasKey)try{const{compare:re}=this;te=re(this.key,z)}catch(re){return this.destination.error(re)}else this.hasKey=!0;te||(this.key=z,this.destination.next(Y))}}},2198:(ze,pe,N)=>{N.d(pe,{h:()=>v});var c=N(3489);function v(J,Y){return function(te){return te.lift(new Q(J,Y))}}class Q{constructor(Y,z){this.predicate=Y,this.thisArg=z}call(Y,z){return z.subscribe(new oe(Y,this.predicate,this.thisArg))}}class oe extends c.L{constructor(Y,z,te){super(Y),this.predicate=z,this.thisArg=te,this.count=0}_next(Y){let z;try{z=this.predicate.call(this.thisArg,Y,this.count++)}catch(te){return void this.destination.error(te)}z&&this.destination.next(Y)}}},537:(ze,pe,N)=>{N.d(pe,{x:()=>Q});var c=N(3489),v=N(2654);function Q(Y){return z=>z.lift(new oe(Y))}class oe{constructor(z){this.callback=z}call(z,te){return te.subscribe(new J(z,this.callback))}}class J extends c.L{constructor(z,te){super(z),this.add(new v.w(te))}}},4850:(ze,pe,N)=>{N.d(pe,{U:()=>v});var c=N(3489);function v(J,Y){return function(te){if("function"!=typeof J)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return te.lift(new Q(J,Y))}}class Q{constructor(Y,z){this.project=Y,this.thisArg=z}call(Y,z){return z.subscribe(new oe(Y,this.project,this.thisArg))}}class oe extends c.L{constructor(Y,z,te){super(Y),this.project=z,this.count=0,this.thisArg=te||this}_next(Y){let z;try{z=this.project.call(this.thisArg,Y,this.count++)}catch(te){return void this.destination.error(te)}this.destination.next(z)}}},9146:(ze,pe,N)=>{N.d(pe,{J:()=>Q});var c=N(1709),v=N(5379);function Q(oe=Number.POSITIVE_INFINITY){return(0,c.zg)(v.y,oe)}},1709:(ze,pe,N)=>{N.d(pe,{zg:()=>oe});var c=N(4850),v=N(5254),Q=N(1177);function oe(te,re,K=Number.POSITIVE_INFINITY){return"function"==typeof re?G=>G.pipe(oe((ce,ae)=>(0,v.D)(te(ce,ae)).pipe((0,c.U)((Ce,xe)=>re(ce,Ce,ae,xe))),K)):("number"==typeof re&&(K=re),G=>G.lift(new J(te,K)))}class J{constructor(re,K=Number.POSITIVE_INFINITY){this.project=re,this.concurrent=K}call(re,K){return K.subscribe(new Y(re,this.project,this.concurrent))}}class Y extends Q.Ds{constructor(re,K,G=Number.POSITIVE_INFINITY){super(re),this.project=K,this.concurrent=G,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(re){this.active<this.concurrent?this._tryNext(re):this.buffer.push(re)}_tryNext(re){let K;const G=this.index++;try{K=this.project(re,G)}catch(ce){return void this.destination.error(ce)}this.active++,this._innerSub(K)}_innerSub(re){const K=new Q.IY(this),G=this.destination;G.add(K);const ce=(0,Q.ft)(re,K);ce!==K&&G.add(ce)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(re){this.destination.next(re)}notifyComplete(){const re=this.buffer;this.active--,re.length>0?this._next(re.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(ze,pe,N)=>{N.d(pe,{x:()=>v});var c=N(3489);function v(){return function(Y){return Y.lift(new Q(Y))}}class Q{constructor(Y){this.connectable=Y}call(Y,z){const{connectable:te}=this;te._refCount++;const re=new oe(Y,te),K=z.subscribe(re);return re.closed||(re.connection=te.connect()),K}}class oe extends c.L{constructor(Y,z){super(Y),this.connectable=z}_unsubscribe(){const{connectable:Y}=this;if(!Y)return void(this.connection=null);this.connectable=null;const z=Y._refCount;if(z<=0)return void(this.connection=null);if(Y._refCount=z-1,z>1)return void(this.connection=null);const{connection:te}=this,re=Y._connection;this.connection=null,re&&(!te||re===te)&&re.unsubscribe()}}},1059:(ze,pe,N)=>{N.d(pe,{O:()=>Q});var c=N(1221),v=N(2866);function Q(...oe){const J=oe[oe.length-1];return(0,v.K)(J)?(oe.pop(),Y=>(0,c.z)(oe,Y,J)):Y=>(0,c.z)(oe,Y)}},7545:(ze,pe,N)=>{N.d(pe,{w:()=>oe});var c=N(4850),v=N(5254),Q=N(1177);function oe(z,te){return"function"==typeof te?re=>re.pipe(oe((K,G)=>(0,v.D)(z(K,G)).pipe((0,c.U)((ce,ae)=>te(K,ce,G,ae))))):re=>re.lift(new J(z))}class J{constructor(te){this.project=te}call(te,re){return re.subscribe(new Y(te,this.project))}}class Y extends Q.Ds{constructor(te,re){super(te),this.project=re,this.index=0}_next(te){let re;const K=this.index++;try{re=this.project(te,K)}catch(G){return void this.destination.error(G)}this._innerSub(re)}_innerSub(te){const re=this.innerSubscription;re&&re.unsubscribe();const K=new Q.IY(this),G=this.destination;G.add(K),this.innerSubscription=(0,Q.ft)(te,K),this.innerSubscription!==K&&G.add(this.innerSubscription)}_complete(){const{innerSubscription:te}=this;(!te||te.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(te){this.destination.next(te)}}},2986:(ze,pe,N)=>{N.d(pe,{q:()=>oe});var c=N(3489),v=N(4231),Q=N(8896);function oe(z){return te=>0===z?(0,Q.c)():te.lift(new J(z))}class J{constructor(te){if(this.total=te,this.total<0)throw new v.W}call(te,re){return re.subscribe(new Y(te,this.total))}}class Y extends c.L{constructor(te,re){super(te),this.total=re,this.count=0}_next(te){const re=this.total,K=++this.count;K<=re&&(this.destination.next(te),K===re&&(this.destination.complete(),this.unsubscribe()))}}},4290:(ze,pe,N)=>{N.d(pe,{o:()=>v});var c=N(3489);function v(J,Y=!1){return z=>z.lift(new Q(J,Y))}class Q{constructor(Y,z){this.predicate=Y,this.inclusive=z}call(Y,z){return z.subscribe(new oe(Y,this.predicate,this.inclusive))}}class oe extends c.L{constructor(Y,z,te){super(Y),this.predicate=z,this.inclusive=te,this.index=0}_next(Y){const z=this.destination;let te;try{te=this.predicate(Y,this.index++)}catch(re){return void z.error(re)}this.nextOrComplete(Y,te)}nextOrComplete(Y,z){const te=this.destination;Boolean(z)?te.next(Y):(this.inclusive&&te.next(Y),te.complete())}}},2868:(ze,pe,N)=>{N.d(pe,{b:()=>oe});var c=N(3489);function v(){}var Q=N(7043);function oe(z,te,re){return function(G){return G.lift(new J(z,te,re))}}class J{constructor(te,re,K){this.nextOrObserver=te,this.error=re,this.complete=K}call(te,re){return re.subscribe(new Y(te,this.nextOrObserver,this.error,this.complete))}}class Y extends c.L{constructor(te,re,K,G){super(te),this._tapNext=v,this._tapError=v,this._tapComplete=v,this._tapError=K||v,this._tapComplete=G||v,(0,Q.m)(re)?(this._context=this,this._tapNext=re):re&&(this._context=re,this._tapNext=re.next||v,this._tapError=re.error||v,this._tapComplete=re.complete||v)}_next(te){try{this._tapNext.call(this._context,te)}catch(re){return void this.destination.error(re)}this.destination.next(te)}_error(te){try{this._tapError.call(this._context,te)}catch(re){return void this.destination.error(re)}this.destination.error(te)}_complete(){try{this._tapComplete.call(this._context)}catch(te){return void this.destination.error(te)}return this.destination.complete()}}},6454:(ze,pe,N)=>{N.d(pe,{r:()=>Q});var c=N(6498),v=N(2654);function Q(oe,J){return new c.y(Y=>{const z=new v.w;let te=0;return z.add(J.schedule(function(){te!==oe.length?(Y.next(oe[te++]),Y.closed||z.add(this.schedule())):Y.complete()})),z})}},6686:(ze,pe,N)=>{N.d(pe,{o:()=>Q});var c=N(2654);class v extends c.w{constructor(J,Y){super()}schedule(J,Y=0){return this}}class Q extends v{constructor(J,Y){super(J,Y),this.scheduler=J,this.work=Y,this.pending=!1}schedule(J,Y=0){if(this.closed)return this;this.state=J;const z=this.id,te=this.scheduler;return null!=z&&(this.id=this.recycleAsyncId(te,z,Y)),this.pending=!0,this.delay=Y,this.id=this.id||this.requestAsyncId(te,this.id,Y),this}requestAsyncId(J,Y,z=0){return setInterval(J.flush.bind(J,this),z)}recycleAsyncId(J,Y,z=0){if(null!==z&&this.delay===z&&!1===this.pending)return Y;clearInterval(Y)}execute(J,Y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const z=this._execute(J,Y);if(z)return z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(J,Y){let te,z=!1;try{this.work(J)}catch(re){z=!0,te=!!re&&re||new Error(re)}if(z)return this.unsubscribe(),te}_unsubscribe(){const J=this.id,Y=this.scheduler,z=Y.actions,te=z.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==te&&z.splice(te,1),null!=J&&(this.id=this.recycleAsyncId(Y,J,null)),this.delay=null}}},2268:(ze,pe,N)=>{N.d(pe,{v:()=>v});let c=(()=>{class Q{constructor(J,Y=Q.now){this.SchedulerAction=J,this.now=Y}schedule(J,Y=0,z){return new this.SchedulerAction(this,J).schedule(z,Y)}}return Q.now=()=>Date.now(),Q})();class v extends c{constructor(oe,J=c.now){super(oe,()=>v.delegate&&v.delegate!==this?v.delegate.now():J()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(oe,J=0,Y){return v.delegate&&v.delegate!==this?v.delegate.schedule(oe,J,Y):super.schedule(oe,J,Y)}flush(oe){const{actions:J}=this;if(this.active)return void J.push(oe);let Y;this.active=!0;do{if(Y=oe.execute(oe.state,oe.delay))break}while(oe=J.shift());if(this.active=!1,Y){for(;oe=J.shift();)oe.unsubscribe();throw Y}}}},353:(ze,pe,N)=>{N.d(pe,{P:()=>oe});var c=N(6686);const oe=new(N(2268).v)(c.o)},5430:(ze,pe,N)=>{N.d(pe,{hZ:()=>v});const v=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(ze,pe,N)=>{N.d(pe,{L:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(ze,pe,N)=>{N.d(pe,{b:()=>c});const c="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(ze,pe,N)=>{N.d(pe,{W:()=>v});const v=(()=>{function Q(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return Q.prototype=Object.create(Error.prototype),Q})()},5279:(ze,pe,N)=>{N.d(pe,{N:()=>v});const v=(()=>{function Q(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return Q.prototype=Object.create(Error.prototype),Q})()},2782:(ze,pe,N)=>{function c(v){setTimeout(()=>{throw v},0)}N.d(pe,{z:()=>c})},5379:(ze,pe,N)=>{function c(v){return v}N.d(pe,{y:()=>c})},6688:(ze,pe,N)=>{N.d(pe,{k:()=>c});const c=Array.isArray||(v=>v&&"number"==typeof v.length)},8515:(ze,pe,N)=>{N.d(pe,{z:()=>c});const c=v=>v&&"number"==typeof v.length&&"function"!=typeof v},2697:(ze,pe,N)=>{function c(v){return v instanceof Date&&!isNaN(+v)}N.d(pe,{J:()=>c})},7043:(ze,pe,N)=>{function c(v){return"function"==typeof v}N.d(pe,{m:()=>c})},7830:(ze,pe,N)=>{function c(v){return null!==v&&"object"==typeof v}N.d(pe,{K:()=>c})},8955:(ze,pe,N)=>{function c(v){return!!v&&"function"!=typeof v.subscribe&&"function"==typeof v.then}N.d(pe,{t:()=>c})},2866:(ze,pe,N)=>{function c(v){return v&&"function"==typeof v.schedule}N.d(pe,{K:()=>c})},4843:(ze,pe,N)=>{N.d(pe,{U:()=>Q,z:()=>v});var c=N(5379);function v(...oe){return Q(oe)}function Q(oe){return 0===oe.length?c.y:1===oe.length?oe[0]:function(Y){return oe.reduce((z,te)=>te(z),Y)}}},9249:(ze,pe,N)=>{N.d(pe,{s:()=>G});var c=N(3650),v=N(2782),oe=N(5430),Y=N(3821),te=N(8515),re=N(8955),K=N(7830);const G=ce=>{if(ce&&"function"==typeof ce[Y.L])return(ce=>ae=>{const Ce=ce[Y.L]();if("function"!=typeof Ce.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Ce.subscribe(ae)})(ce);if((0,te.z)(ce))return(0,c.V)(ce);if((0,re.t)(ce))return(ce=>ae=>(ce.then(Ce=>{ae.closed||(ae.next(Ce),ae.complete())},Ce=>ae.error(Ce)).then(null,v.z),ae))(ce);if(ce&&"function"==typeof ce[oe.hZ])return(ce=>ae=>{const Ce=ce[oe.hZ]();for(;;){let xe;try{xe=Ce.next()}catch(ye){return ae.error(ye),ae}if(xe.done){ae.complete();break}if(ae.next(xe.value),ae.closed)break}return"function"==typeof Ce.return&&ae.add(()=>{Ce.return&&Ce.return()}),ae})(ce);{const Ce=`You provided ${(0,K.K)(ce)?"an invalid object":`'${ce}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Ce)}}},3650:(ze,pe,N)=>{N.d(pe,{V:()=>c});const c=v=>Q=>{for(let oe=0,J=v.length;oe<J&&!Q.closed;oe++)Q.next(v[oe]);Q.complete()}},7340:(ze,pe,N)=>{N.d(pe,{F4:()=>K,IO:()=>xe,LC:()=>v,SB:()=>re,X$:()=>oe,ZE:()=>Ye,ZN:()=>Oe,_j:()=>c,eR:()=>G,jt:()=>J,k1:()=>le,l3:()=>Q,oB:()=>te,pV:()=>ae,ru:()=>Y,vP:()=>z});class c{}class v{}const Q="*";function oe(be,Z){return{type:7,name:be,definitions:Z,options:{}}}function J(be,Z=null){return{type:4,styles:Z,timings:be}}function Y(be,Z=null){return{type:3,steps:be,options:Z}}function z(be,Z=null){return{type:2,steps:be,options:Z}}function te(be){return{type:6,styles:be,offset:null}}function re(be,Z,Pe){return{type:0,name:be,styles:Z,options:Pe}}function K(be){return{type:5,steps:be}}function G(be,Z,Pe=null){return{type:1,expr:be,animation:Z,options:Pe}}function ae(be=null){return{type:9,options:be}}function xe(be,Z,Pe=null){return{type:11,selector:be,animation:Z,options:Pe}}function ne(be){Promise.resolve(null).then(be)}class Oe{constructor(Z=0,Pe=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=Z+Pe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}onStart(Z){this._originalOnStartFns.push(Z),this._onStartFns.push(Z)}onDone(Z){this._originalOnDoneFns.push(Z),this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ne(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Z=>Z()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Z){this._position=this.totalTime?Z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Z){const Pe="start"==Z?this._onStartFns:this._onDoneFns;Pe.forEach(Et=>Et()),Pe.length=0}}class Ye{constructor(Z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Z;let Pe=0,Et=0,It=0;const _t=this.players.length;0==_t?ne(()=>this._onFinish()):this.players.forEach(Ke=>{Ke.onDone(()=>{++Pe==_t&&this._onFinish()}),Ke.onDestroy(()=>{++Et==_t&&this._onDestroy()}),Ke.onStart(()=>{++It==_t&&this._onStart()})}),this.totalTime=this.players.reduce((Ke,ot)=>Math.max(Ke,ot.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Z=>Z()),this._onDoneFns=[])}init(){this.players.forEach(Z=>Z.init())}onStart(Z){this._onStartFns.push(Z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Z=>Z()),this._onStartFns=[])}onDone(Z){this._onDoneFns.push(Z)}onDestroy(Z){this._onDestroyFns.push(Z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Z=>Z.play())}pause(){this.players.forEach(Z=>Z.pause())}restart(){this.players.forEach(Z=>Z.restart())}finish(){this._onFinish(),this.players.forEach(Z=>Z.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Z=>Z.destroy()),this._onDestroyFns.forEach(Z=>Z()),this._onDestroyFns=[])}reset(){this.players.forEach(Z=>Z.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Z){const Pe=Z*this.totalTime;this.players.forEach(Et=>{const It=Et.totalTime?Math.min(1,Pe/Et.totalTime):1;Et.setPosition(It)})}getPosition(){const Z=this.players.reduce((Pe,Et)=>null===Pe||Et.totalTime>Pe.totalTime?Et:Pe,null);return null!=Z?Z.getPosition():0}beforeDestroy(){this.players.forEach(Z=>{Z.beforeDestroy&&Z.beforeDestroy()})}triggerCallback(Z){const Pe="start"==Z?this._onStartFns:this._onDoneFns;Pe.forEach(Et=>Et()),Pe.length=0}}const le="!"},6895:(ze,pe,N)=>{N.d(pe,{$G:()=>Dr,Do:()=>le,ED:()=>Xr,EM:()=>hs,HT:()=>J,JF:()=>Zi,JJ:()=>lr,K0:()=>z,Mx:()=>rn,NF:()=>qi,O5:()=>gn,OU:()=>vi,Ov:()=>Gi,PC:()=>ei,RF:()=>or,S$:()=>ne,V_:()=>K,Ye:()=>be,b0:()=>Ye,bD:()=>Pi,ez:()=>_i,mk:()=>hn,n9:()=>tn,q:()=>Q,sg:()=>Bt,tP:()=>Pr,uU:()=>Yi,w_:()=>Y});var c=N(5062);let v=null;function Q(){return v}function J(m){v||(v=m)}class Y{}const z=new c.OlP("DocumentToken");let te=(()=>{class m{historyGo(D){throw new Error("Not implemented")}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275prov=c.Yz7({token:m,factory:function(){return function re(){return(0,c.LFG)(G)}()},providedIn:"platform"}),m})();const K=new c.OlP("Location Initialized");let G=(()=>{class m extends te{constructor(D){super(),this._doc=D,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Q().getBaseHref(this._doc)}onPopState(D){const O=Q().getGlobalEventTarget(this._doc,"window");return O.addEventListener("popstate",D,!1),()=>O.removeEventListener("popstate",D)}onHashChange(D){const O=Q().getGlobalEventTarget(this._doc,"window");return O.addEventListener("hashchange",D,!1),()=>O.removeEventListener("hashchange",D)}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(D){this.location.pathname=D}pushState(D,O,H){ce()?this._history.pushState(D,O,H):this.location.hash=H}replaceState(D,O,H){ce()?this._history.replaceState(D,O,H):this.location.hash=H}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return m.\u0275fac=function(D){return new(D||m)(c.LFG(z))},m.\u0275prov=c.Yz7({token:m,factory:function(){return function ae(){return new G((0,c.LFG)(z))}()},providedIn:"platform"}),m})();function ce(){return!!window.history.pushState}function Ce(m,M){if(0==m.length)return M;if(0==M.length)return m;let D=0;return m.endsWith("/")&&D++,M.startsWith("/")&&D++,2==D?m+M.substring(1):1==D?m+M:m+"/"+M}function xe(m){const M=m.match(/#|\?|$/),D=M&&M.index||m.length;return m.slice(0,D-("/"===m[D-1]?1:0))+m.slice(D)}function ye(m){return m&&"?"!==m[0]?"?"+m:m}let ne=(()=>{class m{historyGo(D){throw new Error("Not implemented")}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275prov=c.Yz7({token:m,factory:function(){return(0,c.f3M)(Ye)},providedIn:"root"}),m})();const Oe=new c.OlP("appBaseHref");let Ye=(()=>{class m extends ne{constructor(D,O){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=O??this._platformLocation.getBaseHrefFromDOM()??(0,c.f3M)(z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return Ce(this._baseHref,D)}path(D=!1){const O=this._platformLocation.pathname+ye(this._platformLocation.search),H=this._platformLocation.hash;return H&&D?`${O}${H}`:O}pushState(D,O,H,de){const we=this.prepareExternalUrl(H+ye(de));this._platformLocation.pushState(D,O,we)}replaceState(D,O,H,de){const we=this.prepareExternalUrl(H+ye(de));this._platformLocation.replaceState(D,O,we)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return m.\u0275fac=function(D){return new(D||m)(c.LFG(te),c.LFG(Oe,8))},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})(),le=(()=>{class m extends ne{constructor(D,O){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=O&&(this._baseHref=O)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let O=this._platformLocation.hash;return null==O&&(O="#"),O.length>0?O.substring(1):O}prepareExternalUrl(D){const O=Ce(this._baseHref,D);return O.length>0?"#"+O:O}pushState(D,O,H,de){let we=this.prepareExternalUrl(H+ye(de));0==we.length&&(we=this._platformLocation.pathname),this._platformLocation.pushState(D,O,we)}replaceState(D,O,H,de){let we=this.prepareExternalUrl(H+ye(de));0==we.length&&(we=this._platformLocation.pathname),this._platformLocation.replaceState(D,O,we)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return m.\u0275fac=function(D){return new(D||m)(c.LFG(te),c.LFG(Oe,8))},m.\u0275prov=c.Yz7({token:m,factory:m.\u0275fac}),m})(),be=(()=>{class m{constructor(D){this._subject=new c.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const O=this._locationStrategy.getBaseHref();this._baseHref=xe(Et(O)),this._locationStrategy.onPopState(H=>{this._subject.emit({url:this.path(!0),pop:!0,state:H.state,type:H.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,O=""){return this.path()==this.normalize(D+ye(O))}normalize(D){return m.stripTrailingSlash(function Pe(m,M){return m&&M.startsWith(m)?M.substring(m.length):M}(this._baseHref,Et(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,O="",H=null){this._locationStrategy.pushState(H,"",D,O),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+ye(O)),H)}replaceState(D,O="",H=null){this._locationStrategy.replaceState(H,"",D,O),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+ye(O)),H)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(O=>{this._notifyUrlChangeListeners(O.url,O.state)})),()=>{const O=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice(O,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",O){this._urlChangeListeners.forEach(H=>H(D,O))}subscribe(D,O,H){return this._subject.subscribe({next:D,error:O,complete:H})}}return m.normalizeQueryParams=ye,m.joinWithSlash=Ce,m.stripTrailingSlash=xe,m.\u0275fac=function(D){return new(D||m)(c.LFG(ne))},m.\u0275prov=c.Yz7({token:m,factory:function(){return function Z(){return new be((0,c.LFG)(ne))}()},providedIn:"root"}),m})();function Et(m){return m.replace(/\/index.html$/,"")}var _t=(()=>((_t=_t||{})[_t.Decimal=0]="Decimal",_t[_t.Percent=1]="Percent",_t[_t.Currency=2]="Currency",_t[_t.Scientific=3]="Scientific",_t))(),ot=(()=>((ot=ot||{})[ot.Format=0]="Format",ot[ot.Standalone=1]="Standalone",ot))(),at=(()=>((at=at||{})[at.Narrow=0]="Narrow",at[at.Abbreviated=1]="Abbreviated",at[at.Wide=2]="Wide",at[at.Short=3]="Short",at))(),Nt=(()=>((Nt=Nt||{})[Nt.Short=0]="Short",Nt[Nt.Medium=1]="Medium",Nt[Nt.Long=2]="Long",Nt[Nt.Full=3]="Full",Nt))(),Ge=(()=>((Ge=Ge||{})[Ge.Decimal=0]="Decimal",Ge[Ge.Group=1]="Group",Ge[Ge.List=2]="List",Ge[Ge.PercentSign=3]="PercentSign",Ge[Ge.PlusSign=4]="PlusSign",Ge[Ge.MinusSign=5]="MinusSign",Ge[Ge.Exponential=6]="Exponential",Ge[Ge.SuperscriptingExponent=7]="SuperscriptingExponent",Ge[Ge.PerMille=8]="PerMille",Ge[Ge.Infinity=9]="Infinity",Ge[Ge.NaN=10]="NaN",Ge[Ge.TimeSeparator=11]="TimeSeparator",Ge[Ge.CurrencyDecimal=12]="CurrencyDecimal",Ge[Ge.CurrencyGroup=13]="CurrencyGroup",Ge))();function Ae(m,M){return Lt((0,c.cg1)(m)[c.wAp.DateFormat],M)}function Ie(m,M){return Lt((0,c.cg1)(m)[c.wAp.TimeFormat],M)}function q(m,M){return Lt((0,c.cg1)(m)[c.wAp.DateTimeFormat],M)}function ue(m,M){const D=(0,c.cg1)(m),O=D[c.wAp.NumberSymbols][M];if(typeof O>"u"){if(M===Ge.CurrencyDecimal)return D[c.wAp.NumberSymbols][Ge.Decimal];if(M===Ge.CurrencyGroup)return D[c.wAp.NumberSymbols][Ge.Group]}return O}function Qt(m){if(!m[c.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${m[c.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Lt(m,M){for(let D=M;D>-1;D--)if(typeof m[D]<"u")return m[D];throw new Error("Locale data API: locale data undefined")}function tt(m){const[M,D]=m.split(":");return{hours:+M,minutes:+D}}const rt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Kn={},ve=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var B=(()=>((B=B||{})[B.Short=0]="Short",B[B.ShortGMT=1]="ShortGMT",B[B.Long=2]="Long",B[B.Extended=3]="Extended",B))(),L=(()=>((L=L||{})[L.FullYear=0]="FullYear",L[L.Month=1]="Month",L[L.Date=2]="Date",L[L.Hours=3]="Hours",L[L.Minutes=4]="Minutes",L[L.Seconds=5]="Seconds",L[L.FractionalSeconds=6]="FractionalSeconds",L[L.Day=7]="Day",L))(),me=(()=>((me=me||{})[me.DayPeriods=0]="DayPeriods",me[me.Days=1]="Days",me[me.Months=2]="Months",me[me.Eras=3]="Eras",me))();function Me(m,M,D,O){let H=function Mi(m){if(sr(m))return m;if("number"==typeof m&&!isNaN(m))return new Date(m);if("string"==typeof m){if(m=m.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(m)){const[H,de=1,we=1]=m.split("-").map(Ue=>+Ue);return Fe(H,de-1,we)}const D=parseFloat(m);if(!isNaN(m-D))return new Date(D);let O;if(O=m.match(rt))return function vr(m){const M=new Date(0);let D=0,O=0;const H=m[8]?M.setUTCFullYear:M.setFullYear,de=m[8]?M.setUTCHours:M.setHours;m[9]&&(D=Number(m[9]+m[10]),O=Number(m[9]+m[11])),H.call(M,Number(m[1]),Number(m[2])-1,Number(m[3]));const we=Number(m[4]||0)-D,Ue=Number(m[5]||0)-O,mt=Number(m[6]||0),ft=Math.floor(1e3*parseFloat("0."+(m[7]||0)));return de.call(M,we,Ue,mt,ft),M}(O)}const M=new Date(m);if(!sr(M))throw new Error(`Unable to convert "${m}" into a date`);return M}(m);M=Le(D,M)||M;let Ue,we=[];for(;M;){if(Ue=ve.exec(M),!Ue){we.push(M);break}{we=we.concat(Ue.slice(1));const Ct=we.pop();if(!Ct)break;M=Ct}}let mt=H.getTimezoneOffset();O&&(mt=qr(O,mt),H=function yr(m,M,D){const O=D?-1:1,H=m.getTimezoneOffset();return function fi(m,M){return(m=new Date(m.getTime())).setMinutes(m.getMinutes()+M),m}(m,O*(qr(M,H)-H))}(H,O,!0));let ft="";return we.forEach(Ct=>{const et=function mr(m){if(Mr[m])return Mr[m];let M;switch(m){case"G":case"GG":case"GGG":M=ht(me.Eras,at.Abbreviated);break;case"GGGG":M=ht(me.Eras,at.Wide);break;case"GGGGG":M=ht(me.Eras,at.Narrow);break;case"y":M=Ht(L.FullYear,1,0,!1,!0);break;case"yy":M=Ht(L.FullYear,2,0,!0,!0);break;case"yyy":M=Ht(L.FullYear,3,0,!1,!0);break;case"yyyy":M=Ht(L.FullYear,4,0,!1,!0);break;case"Y":M=Cn(1);break;case"YY":M=Cn(2,!0);break;case"YYY":M=Cn(3);break;case"YYYY":M=Cn(4);break;case"M":case"L":M=Ht(L.Month,1,1);break;case"MM":case"LL":M=Ht(L.Month,2,1);break;case"MMM":M=ht(me.Months,at.Abbreviated);break;case"MMMM":M=ht(me.Months,at.Wide);break;case"MMMMM":M=ht(me.Months,at.Narrow);break;case"LLL":M=ht(me.Months,at.Abbreviated,ot.Standalone);break;case"LLLL":M=ht(me.Months,at.Wide,ot.Standalone);break;case"LLLLL":M=ht(me.Months,at.Narrow,ot.Standalone);break;case"w":M=it(1);break;case"ww":M=it(2);break;case"W":M=it(1,!0);break;case"d":M=Ht(L.Date,1);break;case"dd":M=Ht(L.Date,2);break;case"c":case"cc":M=Ht(L.Day,1);break;case"ccc":M=ht(me.Days,at.Abbreviated,ot.Standalone);break;case"cccc":M=ht(me.Days,at.Wide,ot.Standalone);break;case"ccccc":M=ht(me.Days,at.Narrow,ot.Standalone);break;case"cccccc":M=ht(me.Days,at.Short,ot.Standalone);break;case"E":case"EE":case"EEE":M=ht(me.Days,at.Abbreviated);break;case"EEEE":M=ht(me.Days,at.Wide);break;case"EEEEE":M=ht(me.Days,at.Narrow);break;case"EEEEEE":M=ht(me.Days,at.Short);break;case"a":case"aa":case"aaa":M=ht(me.DayPeriods,at.Abbreviated);break;case"aaaa":M=ht(me.DayPeriods,at.Wide);break;case"aaaaa":M=ht(me.DayPeriods,at.Narrow);break;case"b":case"bb":case"bbb":M=ht(me.DayPeriods,at.Abbreviated,ot.Standalone,!0);break;case"bbbb":M=ht(me.DayPeriods,at.Wide,ot.Standalone,!0);break;case"bbbbb":M=ht(me.DayPeriods,at.Narrow,ot.Standalone,!0);break;case"B":case"BB":case"BBB":M=ht(me.DayPeriods,at.Abbreviated,ot.Format,!0);break;case"BBBB":M=ht(me.DayPeriods,at.Wide,ot.Format,!0);break;case"BBBBB":M=ht(me.DayPeriods,at.Narrow,ot.Format,!0);break;case"h":M=Ht(L.Hours,1,-12);break;case"hh":M=Ht(L.Hours,2,-12);break;case"H":M=Ht(L.Hours,1);break;case"HH":M=Ht(L.Hours,2);break;case"m":M=Ht(L.Minutes,1);break;case"mm":M=Ht(L.Minutes,2);break;case"s":M=Ht(L.Seconds,1);break;case"ss":M=Ht(L.Seconds,2);break;case"S":M=Ht(L.FractionalSeconds,1);break;case"SS":M=Ht(L.FractionalSeconds,2);break;case"SSS":M=Ht(L.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":M=Vt(B.Short);break;case"ZZZZZ":M=Vt(B.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":M=Vt(B.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":M=Vt(B.Long);break;default:return null}return Mr[m]=M,M}(Ct);ft+=et?et(H,D,mt):"''"===Ct?"'":Ct.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ft}function Fe(m,M,D){const O=new Date(0);return O.setFullYear(m,M,D),O.setHours(0,0,0),O}function Le(m,M){const D=function Mn(m){return(0,c.cg1)(m)[c.wAp.LocaleId]}(m);if(Kn[D]=Kn[D]||{},Kn[D][M])return Kn[D][M];let O="";switch(M){case"shortDate":O=Ae(m,Nt.Short);break;case"mediumDate":O=Ae(m,Nt.Medium);break;case"longDate":O=Ae(m,Nt.Long);break;case"fullDate":O=Ae(m,Nt.Full);break;case"shortTime":O=Ie(m,Nt.Short);break;case"mediumTime":O=Ie(m,Nt.Medium);break;case"longTime":O=Ie(m,Nt.Long);break;case"fullTime":O=Ie(m,Nt.Full);break;case"short":const H=Le(m,"shortTime"),de=Le(m,"shortDate");O=Wt(q(m,Nt.Short),[H,de]);break;case"medium":const we=Le(m,"mediumTime"),Ue=Le(m,"mediumDate");O=Wt(q(m,Nt.Medium),[we,Ue]);break;case"long":const mt=Le(m,"longTime"),ft=Le(m,"longDate");O=Wt(q(m,Nt.Long),[mt,ft]);break;case"full":const Ct=Le(m,"fullTime"),et=Le(m,"fullDate");O=Wt(q(m,Nt.Full),[Ct,et])}return O&&(Kn[D][M]=O),O}function Wt(m,M){return M&&(m=m.replace(/\{([^}]+)}/g,function(D,O){return null!=M&&O in M?M[O]:D})),m}function Je(m,M,D="-",O,H){let de="";(m<0||H&&m<=0)&&(H?m=1-m:(m=-m,de=D));let we=String(m);for(;we.length<M;)we="0"+we;return O&&(we=we.slice(we.length-M)),de+we}function Ht(m,M,D=0,O=!1,H=!1){return function(de,we){let Ue=function ir(m,M){switch(m){case L.FullYear:return M.getFullYear();case L.Month:return M.getMonth();case L.Date:return M.getDate();case L.Hours:return M.getHours();case L.Minutes:return M.getMinutes();case L.Seconds:return M.getSeconds();case L.FractionalSeconds:return M.getMilliseconds();case L.Day:return M.getDay();default:throw new Error(`Unknown DateType value "${m}".`)}}(m,de);if((D>0||Ue>-D)&&(Ue+=D),m===L.Hours)0===Ue&&-12===D&&(Ue=12);else if(m===L.FractionalSeconds)return function Dt(m,M){return Je(m,3).substring(0,M)}(Ue,M);const mt=ue(we,Ge.MinusSign);return Je(Ue,M,mt,O,H)}}function ht(m,M,D=ot.Format,O=!1){return function(H,de){return function Xe(m,M,D,O,H,de){switch(D){case me.Months:return function Vn(m,M,D){const O=(0,c.cg1)(m),de=Lt([O[c.wAp.MonthsFormat],O[c.wAp.MonthsStandalone]],M);return Lt(de,D)}(M,H,O)[m.getMonth()];case me.Days:return function Ln(m,M,D){const O=(0,c.cg1)(m),de=Lt([O[c.wAp.DaysFormat],O[c.wAp.DaysStandalone]],M);return Lt(de,D)}(M,H,O)[m.getDay()];case me.DayPeriods:const we=m.getHours(),Ue=m.getMinutes();if(de){const ft=function Dn(m){const M=(0,c.cg1)(m);return Qt(M),(M[c.wAp.ExtraData][2]||[]).map(O=>"string"==typeof O?tt(O):[tt(O[0]),tt(O[1])])}(M),Ct=function nr(m,M,D){const O=(0,c.cg1)(m);Qt(O);const de=Lt([O[c.wAp.ExtraData][0],O[c.wAp.ExtraData][1]],M)||[];return Lt(de,D)||[]}(M,H,O),et=ft.findIndex(pn=>{if(Array.isArray(pn)){const[$t,cn]=pn,oi=we>=$t.hours&&Ue>=$t.minutes,Jn=we<cn.hours||we===cn.hours&&Ue<cn.minutes;if($t.hours<cn.hours){if(oi&&Jn)return!0}else if(oi||Jn)return!0}else if(pn.hours===we&&pn.minutes===Ue)return!0;return!1});if(-1!==et)return Ct[et]}return function zt(m,M,D){const O=(0,c.cg1)(m),de=Lt([O[c.wAp.DayPeriodsFormat],O[c.wAp.DayPeriodsStandalone]],M);return Lt(de,D)}(M,H,O)[we<12?0:1];case me.Eras:return function Yr(m,M){return Lt((0,c.cg1)(m)[c.wAp.Eras],M)}(M,O)[m.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${D}`)}}(H,de,m,M,D,O)}}function Vt(m){return function(M,D,O){const H=-1*O,de=ue(D,Ge.MinusSign),we=H>0?Math.floor(H/60):Math.ceil(H/60);switch(m){case B.Short:return(H>=0?"+":"")+Je(we,2,de)+Je(Math.abs(H%60),2,de);case B.ShortGMT:return"GMT"+(H>=0?"+":"")+Je(we,1,de);case B.Long:return"GMT"+(H>=0?"+":"")+Je(we,2,de)+":"+Je(Math.abs(H%60),2,de);case B.Extended:return 0===O?"Z":(H>=0?"+":"")+Je(we,2,de)+":"+Je(Math.abs(H%60),2,de);default:throw new Error(`Unknown zone width "${m}"`)}}}function qt(m){return Fe(m.getFullYear(),m.getMonth(),m.getDate()+(4-m.getDay()))}function it(m,M=!1){return function(D,O){let H;if(M){const de=new Date(D.getFullYear(),D.getMonth(),1).getDay()-1,we=D.getDate();H=1+Math.floor((we+de)/7)}else{const de=qt(D),we=function Yt(m){const M=Fe(m,0,1).getDay();return Fe(m,0,1+(M<=4?4:11)-M)}(de.getFullYear()),Ue=de.getTime()-we.getTime();H=1+Math.round(Ue/6048e5)}return Je(H,m,ue(O,Ge.MinusSign))}}function Cn(m,M=!1){return function(D,O){return Je(qt(D).getFullYear(),m,ue(O,Ge.MinusSign),M)}}const Mr={};function qr(m,M){m=m.replace(/:/g,"");const D=Date.parse("Jan 01, 1970 00:00:00 "+m)/6e4;return isNaN(D)?M:D}function sr(m){return m instanceof Date&&!isNaN(m.valueOf())}const Tr=/^(\d+)?\.((\d+)(-(\d+))?)?$/,$="0";function lt(m){const M=parseInt(m);if(isNaN(M))throw new Error("Invalid integer literal when parsing "+m);return M}function rn(m,M){M=encodeURIComponent(M);for(const D of m.split(";")){const O=D.indexOf("="),[H,de]=-1==O?[D,""]:[D.slice(0,O),D.slice(O+1)];if(H.trim()===M)return decodeURIComponent(de)}return null}let hn=(()=>{class m{constructor(D,O,H,de){this._iterableDiffers=D,this._keyValueDiffers=O,this._ngEl=H,this._renderer=de,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(D){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof D?D.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(D){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof D?D.split(/\s+/):D,this._rawClass&&((0,c.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const D=this._iterableDiffer.diff(this._rawClass);D&&this._applyIterableChanges(D)}else if(this._keyValueDiffer){const D=this._keyValueDiffer.diff(this._rawClass);D&&this._applyKeyValueChanges(D)}}_applyKeyValueChanges(D){D.forEachAddedItem(O=>this._toggleClass(O.key,O.currentValue)),D.forEachChangedItem(O=>this._toggleClass(O.key,O.currentValue)),D.forEachRemovedItem(O=>{O.previousValue&&this._toggleClass(O.key,!1)})}_applyIterableChanges(D){D.forEachAddedItem(O=>{if("string"!=typeof O.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,c.AaK)(O.item)}`);this._toggleClass(O.item,!0)}),D.forEachRemovedItem(O=>this._toggleClass(O.item,!1))}_applyClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach(O=>this._toggleClass(O,!0)):Object.keys(D).forEach(O=>this._toggleClass(O,!!D[O])))}_removeClasses(D){D&&(Array.isArray(D)||D instanceof Set?D.forEach(O=>this._toggleClass(O,!1)):Object.keys(D).forEach(O=>this._toggleClass(O,!1)))}_toggleClass(D,O){(D=D.trim())&&D.split(/\s+/g).forEach(H=>{O?this._renderer.addClass(this._ngEl.nativeElement,H):this._renderer.removeClass(this._ngEl.nativeElement,H)})}}return m.\u0275fac=function(D){return new(D||m)(c.Y36(c.ZZ4),c.Y36(c.aQg),c.Y36(c.SBq),c.Y36(c.Qsj))},m.\u0275dir=c.lG2({type:m,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),m})(),Dr=(()=>{class m{constructor(D){this._viewContainerRef=D,this.ngComponentOutlet=null}ngOnChanges(D){const{_viewContainerRef:O,ngComponentOutletNgModule:H,ngComponentOutletNgModuleFactory:de}=this;if(O.clear(),this._componentRef=void 0,this.ngComponentOutlet){const we=this.ngComponentOutletInjector||O.parentInjector;(D.ngComponentOutletNgModule||D.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=H?(0,c.Lck)(H,sn(we)):de?de.create(sn(we)):void 0),this._componentRef=O.createComponent(this.ngComponentOutlet,{index:O.length,injector:we,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return m.\u0275fac=function(D){return new(D||m)(c.Y36(c.s_b))},m.\u0275dir=c.lG2({type:m,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[c.TTD]}),m})();function sn(m){return m.get(c.h0i).injector}class Br{constructor(M,D,O,H){this.$implicit=M,this.ngForOf=D,this.index=O,this.count=H}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Bt=(()=>{class m{constructor(D,O,H){this._viewContainer=D,this._template=O,this._differs=H,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const O=this._viewContainer;D.forEachOperation((H,de,we)=>{if(null==H.previousIndex)O.createEmbeddedView(this._template,new Br(H.item,this._ngForOf,-1,-1),null===we?void 0:we);else if(null==we)O.remove(null===de?void 0:de);else if(null!==de){const Ue=O.get(de);O.move(Ue,we),Zr(Ue,H)}});for(let H=0,de=O.length;H<de;H++){const Ue=O.get(H).context;Ue.index=H,Ue.count=de,Ue.ngForOf=this._ngForOf}D.forEachIdentityChange(H=>{Zr(O.get(H.currentIndex),H)})}static ngTemplateContextGuard(D,O){return!0}}return m.\u0275fac=function(D){return new(D||m)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4))},m.\u0275dir=c.lG2({type:m,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),m})();function Zr(m,M){m.context.$implicit=M.item}let gn=(()=>{class m{constructor(D,O){this._viewContainer=D,this._context=new mi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=O}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){Or("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){Or("ngIfElse",D),this._elseTemplateRef=D,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(D,O){return!0}}return m.\u0275fac=function(D){return new(D||m)(c.Y36(c.s_b),c.Y36(c.Rgc))},m.\u0275dir=c.lG2({type:m,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),m})();class mi{constructor(){this.$implicit=null,this.ngIf=null}}function Or(m,M){if(M&&!M.createEmbeddedView)throw new Error(`${m} must be a TemplateRef, but received '${(0,c.AaK)(M)}'.`)}class Jr{constructor(M,D){this._viewContainerRef=M,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(M){M&&!this._created?this.create():!M&&this._created&&this.destroy()}}let or=(()=>{class m{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(D)}_matchCase(D){const O=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||O,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),O}_updateDefaultCases(D){if(this._defaultViews&&D!==this._defaultUsed){this._defaultUsed=D;for(let O=0;O<this._defaultViews.length;O++)this._defaultViews[O].enforceState(D)}}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275dir=c.lG2({type:m,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),m})(),tn=(()=>{class m{constructor(D,O,H){this.ngSwitch=H,H._addCase(),this._view=new Jr(D,O)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return m.\u0275fac=function(D){return new(D||m)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(or,9))},m.\u0275dir=c.lG2({type:m,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),m})(),Xr=(()=>{class m{constructor(D,O,H){H._addDefault(new Jr(D,O))}}return m.\u0275fac=function(D){return new(D||m)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(or,9))},m.\u0275dir=c.lG2({type:m,selectors:[["","ngSwitchDefault",""]],standalone:!0}),m})(),ei=(()=>{class m{constructor(D,O,H){this._ngEl=D,this._differs=O,this._renderer=H,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,O){const[H,de]=D.split("."),we=-1===H.indexOf("-")?void 0:c.JOm.DashCase;null!=O?this._renderer.setStyle(this._ngEl.nativeElement,H,de?`${O}${de}`:O,we):this._renderer.removeStyle(this._ngEl.nativeElement,H,we)}_applyChanges(D){D.forEachRemovedItem(O=>this._setStyle(O.key,null)),D.forEachAddedItem(O=>this._setStyle(O.key,O.currentValue)),D.forEachChangedItem(O=>this._setStyle(O.key,O.currentValue))}}return m.\u0275fac=function(D){return new(D||m)(c.Y36(c.SBq),c.Y36(c.aQg),c.Y36(c.Qsj))},m.\u0275dir=c.lG2({type:m,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),m})(),Pr=(()=>{class m{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const O=this._viewContainerRef;if(this._viewRef&&O.remove(O.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:H,ngTemplateOutletContext:de,ngTemplateOutletInjector:we}=this;this._viewRef=O.createEmbeddedView(H,de,we?{injector:we}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return m.\u0275fac=function(D){return new(D||m)(c.Y36(c.s_b))},m.\u0275dir=c.lG2({type:m,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[c.TTD]}),m})();function bn(m,M){return new c.vHH(2100,!1)}class Qn{createSubscription(M,D){return M.subscribe({next:D,error:O=>{throw O}})}dispose(M){M.unsubscribe()}}class Nr{createSubscription(M,D){return M.then(D,O=>{throw O})}dispose(M){}}const yi=new Nr,$i=new Qn;let Gi=(()=>{class m{constructor(D){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=D}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(D){return this._obj?D!==this._obj?(this._dispose(),this.transform(D)):this._latestValue:(D&&this._subscribe(D),this._latestValue)}_subscribe(D){this._obj=D,this._strategy=this._selectStrategy(D),this._subscription=this._strategy.createSubscription(D,O=>this._updateLatestValue(D,O))}_selectStrategy(D){if((0,c.QGY)(D))return yi;if((0,c.F4k)(D))return $i;throw bn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(D,O){D===this._obj&&(this._latestValue=O,this._ref.markForCheck())}}return m.\u0275fac=function(D){return new(D||m)(c.Y36(c.sBO,16))},m.\u0275pipe=c.Yjl({name:"async",type:m,pure:!1,standalone:!0}),m})();const Ai=new c.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Yi=(()=>{class m{constructor(D,O){this.locale=D,this.defaultTimezone=O}transform(D,O="mediumDate",H,de){if(null==D||""===D||D!=D)return null;try{return Me(D,O,de||this.locale,H??this.defaultTimezone??void 0)}catch(we){throw bn()}}}return m.\u0275fac=function(D){return new(D||m)(c.Y36(c.soG,16),c.Y36(Ai,24))},m.\u0275pipe=c.Yjl({name:"date",type:m,pure:!0,standalone:!0}),m})(),lr=(()=>{class m{constructor(D){this._locale=D}transform(D,O,H){if(!function Oi(m){return!(null==m||""===m||m!=m)}(D))return null;H=H||this._locale;try{return function en(m,M,D){return function yt(m,M,D,O,H,de,we=!1){let Ue="",mt=!1;if(isFinite(m)){let ft=function pi(m){let O,H,de,we,Ue,M=Math.abs(m)+"",D=0;for((H=M.indexOf("."))>-1&&(M=M.replace(".","")),(de=M.search(/e/i))>0?(H<0&&(H=de),H+=+M.slice(de+1),M=M.substring(0,de)):H<0&&(H=M.length),de=0;M.charAt(de)===$;de++);if(de===(Ue=M.length))O=[0],H=1;else{for(Ue--;M.charAt(Ue)===$;)Ue--;for(H-=de,O=[],we=0;de<=Ue;de++,we++)O[we]=Number(M.charAt(de))}return H>22&&(O=O.splice(0,21),D=H-1,H=1),{digits:O,exponent:D,integerLen:H}}(m);we&&(ft=function Zt(m){if(0===m.digits[0])return m;const M=m.digits.length-m.integerLen;return m.exponent?m.exponent+=2:(0===M?m.digits.push(0,0):1===M&&m.digits.push(0),m.integerLen+=2),m}(ft));let Ct=M.minInt,et=M.minFrac,pn=M.maxFrac;if(de){const fr=de.match(Tr);if(null===fr)throw new Error(`${de} is not a valid digit info`);const pr=fr[1],ai=fr[3],ns=fr[5];null!=pr&&(Ct=lt(pr)),null!=ai&&(et=lt(ai)),null!=ns?pn=lt(ns):null!=ai&&et>pn&&(pn=et)}!function _r(m,M,D){if(M>D)throw new Error(`The minimum number of digits after fraction (${M}) is higher than the maximum (${D}).`);let O=m.digits,H=O.length-m.integerLen;const de=Math.min(Math.max(M,H),D);let we=de+m.integerLen,Ue=O[we];if(we>0){O.splice(Math.max(m.integerLen,we));for(let et=we;et<O.length;et++)O[et]=0}else{H=Math.max(0,H),m.integerLen=1,O.length=Math.max(1,we=de+1),O[0]=0;for(let et=1;et<we;et++)O[et]=0}if(Ue>=5)if(we-1<0){for(let et=0;et>we;et--)O.unshift(0),m.integerLen++;O.unshift(1),m.integerLen++}else O[we-1]++;for(;H<Math.max(0,de);H++)O.push(0);let mt=0!==de;const ft=M+m.integerLen,Ct=O.reduceRight(function(et,pn,$t,cn){return cn[$t]=(pn+=et)<10?pn:pn-10,mt&&(0===cn[$t]&&$t>=ft?cn.pop():mt=!1),pn>=10?1:0},0);Ct&&(O.unshift(Ct),m.integerLen++)}(ft,et,pn);let $t=ft.digits,cn=ft.integerLen;const oi=ft.exponent;let Jn=[];for(mt=$t.every(fr=>!fr);cn<Ct;cn++)$t.unshift(0);for(;cn<0;cn++)$t.unshift(0);cn>0?Jn=$t.splice(cn,$t.length):(Jn=$t,$t=[0]);const Xn=[];for($t.length>=M.lgSize&&Xn.unshift($t.splice(-M.lgSize,$t.length).join(""));$t.length>M.gSize;)Xn.unshift($t.splice(-M.gSize,$t.length).join(""));$t.length&&Xn.unshift($t.join("")),Ue=Xn.join(ue(D,O)),Jn.length&&(Ue+=ue(D,H)+Jn.join("")),oi&&(Ue+=ue(D,Ge.Exponential)+"+"+oi)}else Ue=ue(D,Ge.Infinity);return Ue=m<0&&!mt?M.negPre+Ue+M.negSuf:M.posPre+Ue+M.posSuf,Ue}(m,function Ar(m,M="-"){const D={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},O=m.split(";"),H=O[0],de=O[1],we=-1!==H.indexOf(".")?H.split("."):[H.substring(0,H.lastIndexOf($)+1),H.substring(H.lastIndexOf($)+1)],Ue=we[0],mt=we[1]||"";D.posPre=Ue.substring(0,Ue.indexOf("#"));for(let Ct=0;Ct<mt.length;Ct++){const et=mt.charAt(Ct);et===$?D.minFrac=D.maxFrac=Ct+1:"#"===et?D.maxFrac=Ct+1:D.posSuf+=et}const ft=Ue.split(",");if(D.gSize=ft[1]?ft[1].length:0,D.lgSize=ft[2]||ft[1]?(ft[2]||ft[1]).length:0,de){const Ct=H.length-D.posPre.length-D.posSuf.length,et=de.indexOf("#");D.negPre=de.substring(0,et).replace(/'/g,""),D.negSuf=de.slice(et+Ct).replace(/'/g,"")}else D.negPre=M+D.posPre,D.negSuf=D.posSuf;return D}(function $e(m,M){return(0,c.cg1)(m)[c.wAp.NumberFormats][M]}(M,_t.Decimal),ue(M,Ge.MinusSign)),M,Ge.Group,Ge.Decimal,D)}(function In(m){if("string"==typeof m&&!isNaN(Number(m)-parseFloat(m)))return Number(m);if("number"!=typeof m)throw new Error(`${m} is not a number`);return m}(D),H,O)}catch(de){throw bn()}}}return m.\u0275fac=function(D){return new(D||m)(c.Y36(c.soG,16))},m.\u0275pipe=c.Yjl({name:"number",type:m,pure:!0,standalone:!0}),m})();let vi=(()=>{class m{transform(D,O,H){if(null==D)return null;if(!this.supports(D))throw bn();return D.slice(O,H)}supports(D){return"string"==typeof D||Array.isArray(D)}}return m.\u0275fac=function(D){return new(D||m)},m.\u0275pipe=c.Yjl({name:"slice",type:m,pure:!1,standalone:!0}),m})(),_i=(()=>{class m{}return m.\u0275fac=function(D){return new(D||m)},m.\u0275mod=c.oAB({type:m}),m.\u0275inj=c.cJS({}),m})();const Pi="browser";function qi(m){return m===Pi}let hs=(()=>{class m{}return m.\u0275prov=(0,c.Yz7)({token:m,providedIn:"root",factory:()=>new Rr((0,c.LFG)(z),window)}),m})();class Rr{constructor(M,D){this.document=M,this.window=D,this.offset=()=>[0,0]}setOffset(M){this.offset=Array.isArray(M)?()=>M:M}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(M){this.supportsScrolling()&&this.window.scrollTo(M[0],M[1])}scrollToAnchor(M){if(!this.supportsScrolling())return;const D=function Di(m,M){const D=m.getElementById(M)||m.getElementsByName(M)[0];if(D)return D;if("function"==typeof m.createTreeWalker&&m.body&&(m.body.createShadowRoot||m.body.attachShadow)){const O=m.createTreeWalker(m.body,NodeFilter.SHOW_ELEMENT);let H=O.currentNode;for(;H;){const de=H.shadowRoot;if(de){const we=de.getElementById(M)||de.querySelector(`[name="${M}"]`);if(we)return we}H=O.nextNode()}}return null}(this.document,M);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(M){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=M)}}scrollToElement(M){const D=M.getBoundingClientRect(),O=D.left+this.window.pageXOffset,H=D.top+this.window.pageYOffset,de=this.offset();this.window.scrollTo(O-de[0],H-de[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const M=Qi(this.window.history)||Qi(Object.getPrototypeOf(this.window.history));return!(!M||!M.writable&&!M.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Qi(m){return Object.getOwnPropertyDescriptor(m,"scrollRestoration")}class Zi{}},529:(ze,pe,N)=>{N.d(pe,{JF:()=>Bn,TP:()=>Ln,WM:()=>K,eN:()=>Mn});var c=N(6895),v=N(5062),Q=N(1086),oe=N(6498),J=N(1406),Y=N(2198),z=N(4850);class te{}class re{}class K{constructor(B){this.normalizedNames=new Map,this.lazyUpdate=null,B?this.lazyInit="string"==typeof B?()=>{this.headers=new Map,B.split("\n").forEach(L=>{const me=L.indexOf(":");if(me>0){const Me=L.slice(0,me),Fe=Me.toLowerCase(),Le=L.slice(me+1).trim();this.maybeSetNormalizedName(Me,Fe),this.headers.has(Fe)?this.headers.get(Fe).push(Le):this.headers.set(Fe,[Le])}})}:()=>{this.headers=new Map,Object.keys(B).forEach(L=>{let me=B[L];const Me=L.toLowerCase();"string"==typeof me&&(me=[me]),me.length>0&&(this.headers.set(Me,me),this.maybeSetNormalizedName(L,Me))})}:this.headers=new Map}has(B){return this.init(),this.headers.has(B.toLowerCase())}get(B){this.init();const L=this.headers.get(B.toLowerCase());return L&&L.length>0?L[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(B){return this.init(),this.headers.get(B.toLowerCase())||null}append(B,L){return this.clone({name:B,value:L,op:"a"})}set(B,L){return this.clone({name:B,value:L,op:"s"})}delete(B,L){return this.clone({name:B,value:L,op:"d"})}maybeSetNormalizedName(B,L){this.normalizedNames.has(L)||this.normalizedNames.set(L,B)}init(){this.lazyInit&&(this.lazyInit instanceof K?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(B=>this.applyUpdate(B)),this.lazyUpdate=null))}copyFrom(B){B.init(),Array.from(B.headers.keys()).forEach(L=>{this.headers.set(L,B.headers.get(L)),this.normalizedNames.set(L,B.normalizedNames.get(L))})}clone(B){const L=new K;return L.lazyInit=this.lazyInit&&this.lazyInit instanceof K?this.lazyInit:this,L.lazyUpdate=(this.lazyUpdate||[]).concat([B]),L}applyUpdate(B){const L=B.name.toLowerCase();switch(B.op){case"a":case"s":let me=B.value;if("string"==typeof me&&(me=[me]),0===me.length)return;this.maybeSetNormalizedName(B.name,L);const Me=("a"===B.op?this.headers.get(L):void 0)||[];Me.push(...me),this.headers.set(L,Me);break;case"d":const Fe=B.value;if(Fe){let Le=this.headers.get(L);if(!Le)return;Le=Le.filter(Wt=>-1===Fe.indexOf(Wt)),0===Le.length?(this.headers.delete(L),this.normalizedNames.delete(L)):this.headers.set(L,Le)}else this.headers.delete(L),this.normalizedNames.delete(L)}}forEach(B){this.init(),Array.from(this.normalizedNames.keys()).forEach(L=>B(this.normalizedNames.get(L),this.headers.get(L)))}}class ce{encodeKey(B){return ye(B)}encodeValue(B){return ye(B)}decodeKey(B){return decodeURIComponent(B)}decodeValue(B){return decodeURIComponent(B)}}const Ce=/%(\d[a-f0-9])/gi,xe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ye(ve){return encodeURIComponent(ve).replace(Ce,(B,L)=>xe[L]??B)}function ne(ve){return`${ve}`}class Oe{constructor(B={}){if(this.updates=null,this.cloneFrom=null,this.encoder=B.encoder||new ce,B.fromString){if(B.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ae(ve,B){const L=new Map;return ve.length>0&&ve.replace(/^\?/,"").split("&").forEach(Me=>{const Fe=Me.indexOf("="),[Le,Wt]=-1==Fe?[B.decodeKey(Me),""]:[B.decodeKey(Me.slice(0,Fe)),B.decodeValue(Me.slice(Fe+1))],Je=L.get(Le)||[];Je.push(Wt),L.set(Le,Je)}),L}(B.fromString,this.encoder)}else B.fromObject?(this.map=new Map,Object.keys(B.fromObject).forEach(L=>{const me=B.fromObject[L],Me=Array.isArray(me)?me.map(ne):[ne(me)];this.map.set(L,Me)})):this.map=null}has(B){return this.init(),this.map.has(B)}get(B){this.init();const L=this.map.get(B);return L?L[0]:null}getAll(B){return this.init(),this.map.get(B)||null}keys(){return this.init(),Array.from(this.map.keys())}append(B,L){return this.clone({param:B,value:L,op:"a"})}appendAll(B){const L=[];return Object.keys(B).forEach(me=>{const Me=B[me];Array.isArray(Me)?Me.forEach(Fe=>{L.push({param:me,value:Fe,op:"a"})}):L.push({param:me,value:Me,op:"a"})}),this.clone(L)}set(B,L){return this.clone({param:B,value:L,op:"s"})}delete(B,L){return this.clone({param:B,value:L,op:"d"})}toString(){return this.init(),this.keys().map(B=>{const L=this.encoder.encodeKey(B);return this.map.get(B).map(me=>L+"="+this.encoder.encodeValue(me)).join("&")}).filter(B=>""!==B).join("&")}clone(B){const L=new Oe({encoder:this.encoder});return L.cloneFrom=this.cloneFrom||this,L.updates=(this.updates||[]).concat(B),L}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(B=>this.map.set(B,this.cloneFrom.map.get(B))),this.updates.forEach(B=>{switch(B.op){case"a":case"s":const L=("a"===B.op?this.map.get(B.param):void 0)||[];L.push(ne(B.value)),this.map.set(B.param,L);break;case"d":if(void 0===B.value){this.map.delete(B.param);break}{let me=this.map.get(B.param)||[];const Me=me.indexOf(ne(B.value));-1!==Me&&me.splice(Me,1),me.length>0?this.map.set(B.param,me):this.map.delete(B.param)}}}),this.cloneFrom=this.updates=null)}}class le{constructor(){this.map=new Map}set(B,L){return this.map.set(B,L),this}get(B){return this.map.has(B)||this.map.set(B,B.defaultValue()),this.map.get(B)}delete(B){return this.map.delete(B),this}has(B){return this.map.has(B)}keys(){return this.map.keys()}}function Z(ve){return typeof ArrayBuffer<"u"&&ve instanceof ArrayBuffer}function Pe(ve){return typeof Blob<"u"&&ve instanceof Blob}function Et(ve){return typeof FormData<"u"&&ve instanceof FormData}class _t{constructor(B,L,me,Me){let Fe;if(this.url=L,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=B.toUpperCase(),function be(ve){switch(ve){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Me?(this.body=void 0!==me?me:null,Fe=Me):Fe=me,Fe&&(this.reportProgress=!!Fe.reportProgress,this.withCredentials=!!Fe.withCredentials,Fe.responseType&&(this.responseType=Fe.responseType),Fe.headers&&(this.headers=Fe.headers),Fe.context&&(this.context=Fe.context),Fe.params&&(this.params=Fe.params)),this.headers||(this.headers=new K),this.context||(this.context=new le),this.params){const Le=this.params.toString();if(0===Le.length)this.urlWithParams=L;else{const Wt=L.indexOf("?");this.urlWithParams=L+(-1===Wt?"?":Wt<L.length-1?"&":"")+Le}}else this.params=new Oe,this.urlWithParams=L}serializeBody(){return null===this.body?null:Z(this.body)||Pe(this.body)||Et(this.body)||function It(ve){return typeof URLSearchParams<"u"&&ve instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Oe?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||Et(this.body)?null:Pe(this.body)?this.body.type||null:Z(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Oe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(B={}){const L=B.method||this.method,me=B.url||this.url,Me=B.responseType||this.responseType,Fe=void 0!==B.body?B.body:this.body,Le=void 0!==B.withCredentials?B.withCredentials:this.withCredentials,Wt=void 0!==B.reportProgress?B.reportProgress:this.reportProgress;let Je=B.headers||this.headers,Dt=B.params||this.params;const Ht=B.context??this.context;return void 0!==B.setHeaders&&(Je=Object.keys(B.setHeaders).reduce((ir,ht)=>ir.set(ht,B.setHeaders[ht]),Je)),B.setParams&&(Dt=Object.keys(B.setParams).reduce((ir,ht)=>ir.set(ht,B.setParams[ht]),Dt)),new _t(L,me,Fe,{params:Dt,headers:Je,context:Ht,reportProgress:Wt,responseType:Me,withCredentials:Le})}}var Ke=(()=>((Ke=Ke||{})[Ke.Sent=0]="Sent",Ke[Ke.UploadProgress=1]="UploadProgress",Ke[Ke.ResponseHeader=2]="ResponseHeader",Ke[Ke.DownloadProgress=3]="DownloadProgress",Ke[Ke.Response=4]="Response",Ke[Ke.User=5]="User",Ke))();class ot{constructor(B,L=200,me="OK"){this.headers=B.headers||new K,this.status=void 0!==B.status?B.status:L,this.statusText=B.statusText||me,this.url=B.url||null,this.ok=this.status>=200&&this.status<300}}class at extends ot{constructor(B={}){super(B),this.type=Ke.ResponseHeader}clone(B={}){return new at({headers:B.headers||this.headers,status:void 0!==B.status?B.status:this.status,statusText:B.statusText||this.statusText,url:B.url||this.url||void 0})}}class Nt extends ot{constructor(B={}){super(B),this.type=Ke.Response,this.body=void 0!==B.body?B.body:null}clone(B={}){return new Nt({body:void 0!==B.body?B.body:this.body,headers:B.headers||this.headers,status:void 0!==B.status?B.status:this.status,statusText:B.statusText||this.statusText,url:B.url||this.url||void 0})}}class Ge extends ot{constructor(B){super(B,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${B.url||"(unknown url)"}`:`Http failure response for ${B.url||"(unknown url)"}: ${B.status} ${B.statusText}`,this.error=B.error||null}}function kt(ve,B){return{body:B,headers:ve.headers,context:ve.context,observe:ve.observe,params:ve.params,reportProgress:ve.reportProgress,responseType:ve.responseType,withCredentials:ve.withCredentials}}let Mn=(()=>{class ve{constructor(L){this.handler=L}request(L,me,Me={}){let Fe;if(L instanceof _t)Fe=L;else{let Je,Dt;Je=Me.headers instanceof K?Me.headers:new K(Me.headers),Me.params&&(Dt=Me.params instanceof Oe?Me.params:new Oe({fromObject:Me.params})),Fe=new _t(L,me,void 0!==Me.body?Me.body:null,{headers:Je,context:Me.context,params:Dt,reportProgress:Me.reportProgress,responseType:Me.responseType||"json",withCredentials:Me.withCredentials})}const Le=(0,Q.of)(Fe).pipe((0,J.b)(Je=>this.handler.handle(Je)));if(L instanceof _t||"events"===Me.observe)return Le;const Wt=Le.pipe((0,Y.h)(Je=>Je instanceof Nt));switch(Me.observe||"body"){case"body":switch(Fe.responseType){case"arraybuffer":return Wt.pipe((0,z.U)(Je=>{if(null!==Je.body&&!(Je.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Je.body}));case"blob":return Wt.pipe((0,z.U)(Je=>{if(null!==Je.body&&!(Je.body instanceof Blob))throw new Error("Response is not a Blob.");return Je.body}));case"text":return Wt.pipe((0,z.U)(Je=>{if(null!==Je.body&&"string"!=typeof Je.body)throw new Error("Response is not a string.");return Je.body}));default:return Wt.pipe((0,z.U)(Je=>Je.body))}case"response":return Wt;default:throw new Error(`Unreachable: unhandled observe type ${Me.observe}}`)}}delete(L,me={}){return this.request("DELETE",L,me)}get(L,me={}){return this.request("GET",L,me)}head(L,me={}){return this.request("HEAD",L,me)}jsonp(L,me){return this.request("JSONP",L,{params:(new Oe).append(me,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(L,me={}){return this.request("OPTIONS",L,me)}patch(L,me,Me={}){return this.request("PATCH",L,kt(Me,me))}post(L,me,Me={}){return this.request("POST",L,kt(Me,me))}put(L,me,Me={}){return this.request("PUT",L,kt(Me,me))}}return ve.\u0275fac=function(L){return new(L||ve)(v.LFG(te))},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class zt{constructor(B,L){this.next=B,this.interceptor=L}handle(B){return this.interceptor.intercept(B,this.next)}}const Ln=new v.OlP("HTTP_INTERCEPTORS");let Vn=(()=>{class ve{intercept(L,me){return me.handle(L)}}return ve.\u0275fac=function(L){return new(L||ve)},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const xt=/^\)\]\}',?\n/;let vn=(()=>{class ve{constructor(L){this.xhrFactory=L}handle(L){if("JSONP"===L.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new oe.y(me=>{const Me=this.xhrFactory.build();if(Me.open(L.method,L.urlWithParams),L.withCredentials&&(Me.withCredentials=!0),L.headers.forEach((Xe,Vt)=>Me.setRequestHeader(Xe,Vt.join(","))),L.headers.has("Accept")||Me.setRequestHeader("Accept","application/json, text/plain, */*"),!L.headers.has("Content-Type")){const Xe=L.detectContentTypeHeader();null!==Xe&&Me.setRequestHeader("Content-Type",Xe)}if(L.responseType){const Xe=L.responseType.toLowerCase();Me.responseType="json"!==Xe?Xe:"text"}const Fe=L.serializeBody();let Le=null;const Wt=()=>{if(null!==Le)return Le;const Xe=Me.statusText||"OK",Vt=new K(Me.getAllResponseHeaders()),Hn=function Yn(ve){return"responseURL"in ve&&ve.responseURL?ve.responseURL:/^X-Request-URL:/m.test(ve.getAllResponseHeaders())?ve.getResponseHeader("X-Request-URL"):null}(Me)||L.url;return Le=new at({headers:Vt,status:Me.status,statusText:Xe,url:Hn}),Le},Je=()=>{let{headers:Xe,status:Vt,statusText:Hn,url:Pn}=Wt(),Yt=null;204!==Vt&&(Yt=typeof Me.response>"u"?Me.responseText:Me.response),0===Vt&&(Vt=Yt?200:0);let qt=Vt>=200&&Vt<300;if("json"===L.responseType&&"string"==typeof Yt){const it=Yt;Yt=Yt.replace(xt,"");try{Yt=""!==Yt?JSON.parse(Yt):null}catch(Cn){Yt=it,qt&&(qt=!1,Yt={error:Cn,text:Yt})}}qt?(me.next(new Nt({body:Yt,headers:Xe,status:Vt,statusText:Hn,url:Pn||void 0})),me.complete()):me.error(new Ge({error:Yt,headers:Xe,status:Vt,statusText:Hn,url:Pn||void 0}))},Dt=Xe=>{const{url:Vt}=Wt(),Hn=new Ge({error:Xe,status:Me.status||0,statusText:Me.statusText||"Unknown Error",url:Vt||void 0});me.error(Hn)};let Ht=!1;const ir=Xe=>{Ht||(me.next(Wt()),Ht=!0);let Vt={type:Ke.DownloadProgress,loaded:Xe.loaded};Xe.lengthComputable&&(Vt.total=Xe.total),"text"===L.responseType&&!!Me.responseText&&(Vt.partialText=Me.responseText),me.next(Vt)},ht=Xe=>{let Vt={type:Ke.UploadProgress,loaded:Xe.loaded};Xe.lengthComputable&&(Vt.total=Xe.total),me.next(Vt)};return Me.addEventListener("load",Je),Me.addEventListener("error",Dt),Me.addEventListener("timeout",Dt),Me.addEventListener("abort",Dt),L.reportProgress&&(Me.addEventListener("progress",ir),null!==Fe&&Me.upload&&Me.upload.addEventListener("progress",ht)),Me.send(Fe),me.next({type:Ke.Sent}),()=>{Me.removeEventListener("error",Dt),Me.removeEventListener("abort",Dt),Me.removeEventListener("load",Je),Me.removeEventListener("timeout",Dt),L.reportProgress&&(Me.removeEventListener("progress",ir),null!==Fe&&Me.upload&&Me.upload.removeEventListener("progress",ht)),Me.readyState!==Me.DONE&&Me.abort()}})}}return ve.\u0275fac=function(L){return new(L||ve)(v.LFG(c.JF))},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const _n=new v.OlP("XSRF_COOKIE_NAME"),Qt=new v.OlP("XSRF_HEADER_NAME");class Dn{}let nr=(()=>{class ve{constructor(L,me,Me){this.doc=L,this.platform=me,this.cookieName=Me,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const L=this.doc.cookie||"";return L!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,c.Mx)(L,this.cookieName),this.lastCookieString=L),this.lastToken}}return ve.\u0275fac=function(L){return new(L||ve)(v.LFG(c.K0),v.LFG(v.Lbi),v.LFG(_n))},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),jt=(()=>{class ve{constructor(L,me){this.tokenService=L,this.headerName=me}intercept(L,me){const Me=L.url.toLowerCase();if("GET"===L.method||"HEAD"===L.method||Me.startsWith("http://")||Me.startsWith("https://"))return me.handle(L);const Fe=this.tokenService.getToken();return null!==Fe&&!L.headers.has(this.headerName)&&(L=L.clone({headers:L.headers.set(this.headerName,Fe)})),me.handle(L)}}return ve.\u0275fac=function(L){return new(L||ve)(v.LFG(Dn),v.LFG(Qt))},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Lt=(()=>{class ve{constructor(L,me){this.backend=L,this.injector=me,this.chain=null}handle(L){if(null===this.chain){const me=this.injector.get(Ln,[]);this.chain=me.reduceRight((Me,Fe)=>new zt(Me,Fe),this.backend)}return this.chain.handle(L)}}return ve.\u0275fac=function(L){return new(L||ve)(v.LFG(re),v.LFG(v.zs3))},ve.\u0275prov=v.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),hi=(()=>{class ve{static disable(){return{ngModule:ve,providers:[{provide:jt,useClass:Vn}]}}static withOptions(L={}){return{ngModule:ve,providers:[L.cookieName?{provide:_n,useValue:L.cookieName}:[],L.headerName?{provide:Qt,useValue:L.headerName}:[]]}}}return ve.\u0275fac=function(L){return new(L||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({providers:[jt,{provide:Ln,useExisting:jt,multi:!0},{provide:Dn,useClass:nr},{provide:_n,useValue:"XSRF-TOKEN"},{provide:Qt,useValue:"X-XSRF-TOKEN"}]}),ve})(),Bn=(()=>{class ve{}return ve.\u0275fac=function(L){return new(L||ve)},ve.\u0275mod=v.oAB({type:ve}),ve.\u0275inj=v.cJS({providers:[Mn,{provide:te,useClass:Lt},vn,{provide:re,useExisting:vn}],imports:[hi.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),ve})()},5062:(ze,pe,N)=>{N.d(pe,{QbO:()=>Gb,tb:()=>tm,AFp:()=>Jg,ip1:()=>Zg,CZH:()=>Rl,hGG:()=>OE,z2F:()=>kl,sBO:()=>pE,Sil:()=>qb,_Vd:()=>Ta,aQ5:()=>ma,EJc:()=>Yb,Xts:()=>ql,SBq:()=>Aa,lqb:()=>Mo,qLn:()=>Ia,vpe:()=>Ts,L6J:()=>jb,gxx:()=>Ql,tBr:()=>Za,XFs:()=>rt,OlP:()=>At,zs3:()=>Ao,IIB:()=>Hb,ZZ4:()=>qc,aQg:()=>Qc,soG:()=>Fl,YKP:()=>qp,h0i:()=>ca,PXZ:()=>lE,R0b:()=>ji,FiY:()=>Da,r_U:()=>Ub,Lbi:()=>$b,g9A:()=>em,n_E:()=>Il,Qsj:()=>xy,FYo:()=>Bd,JOm:()=>bs,q3G:()=>kn,tp0:()=>Ca,Rgc:()=>za,dDg:()=>iE,eoX:()=>lm,GfV:()=>Hd,i9L:()=>Bi,s_b:()=>Pl,ifc:()=>Je,MMx:()=>Sc,Lck:()=>$C,eFA:()=>dm,G48:()=>fE,Gpc:()=>ye,f3M:()=>ad,_c5:()=>IE,c2e:()=>zb,zSh:()=>Xl,wAp:()=>pt,vHH:()=>le,lri:()=>om,rWj:()=>am,EiD:()=>Md,mCW:()=>wa,qzn:()=>jo,JVY:()=>Jm,pB0:()=>ny,eBb:()=>ey,L6k:()=>Xm,LAX:()=>ty,D6c:()=>PE,cg1:()=>yc,kL8:()=>Dp,dqk:()=>Dt,Z0I:()=>Qt,sIi:()=>ka,CqO:()=>Tf,QGY:()=>sc,QP$:()=>F,F4k:()=>Mf,RDi:()=>$m,AaK:()=>ae,z3N:()=>$s,qOj:()=>Zu,TTD:()=>cr,_Bn:()=>Kp,jDz:()=>Zp,xp6:()=>Ch,uIk:()=>ec,Tol:()=>qf,Gre:()=>cp,ekj:()=>dc,Suo:()=>Tg,Xpm:()=>Mr,lG2:()=>sr,Yz7:()=>xt,cJS:()=>vn,oAB:()=>yr,Yjl:()=>Tr,Y36:()=>Ko,_UZ:()=>rc,GkF:()=>ic,BQk:()=>bl,ynx:()=>Cl,qZA:()=>Dl,TgZ:()=>_l,EpF:()=>Sf,n5z:()=>fe,Ikx:()=>gc,LFG:()=>Wn,$8M:()=>vt,$Z:()=>Rh,NdJ:()=>oc,CRH:()=>Ag,kcU:()=>cn,O4$:()=>pn,oxw:()=>Pf,ALo:()=>gg,lcZ:()=>mg,xi3:()=>yg,Dn7:()=>vg,gM2:()=>_g,Hsn:()=>xf,F$t:()=>Nf,Q6J:()=>tc,s9C:()=>lc,DdM:()=>ig,VKq:()=>sg,WLB:()=>og,kEZ:()=>ag,l5B:()=>lg,qbA:()=>ug,iGM:()=>Sg,MAs:()=>wf,KtG:()=>ts,Jf7:()=>Zd,CHM:()=>Fi,oJD:()=>Td,LSH:()=>Kl,kYT:()=>Mi,Udp:()=>cc,WFA:()=>ac,d8E:()=>mc,YNc:()=>Ef,W1O:()=>Ng,_uU:()=>np,Oqu:()=>fc,hij:()=>wl,AsE:()=>pc,Gf:()=>Mg});var c=N(8929),v=N(2654),Q=N(6498),oe=N(6787),J=N(1762);class z{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,i=this.subjectFactory(),s=r(i).subscribe(t);return s.add(n.subscribe(i)),s}}var te=N(4327);function re(){return new c.xQ}function G(e){for(let t in e)if(e[t]===G)return t;throw Error("Could not find renamed property on target object.")}function ce(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ae(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ae).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 Ce(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const xe=G({__forward_ref__:G});function ye(e){return e.__forward_ref__=ye,e.toString=function(){return ae(this())},e}function ne(e){return Oe(e)?e():e}function Oe(e){return"function"==typeof e&&e.hasOwnProperty(xe)&&e.__forward_ref__===ye}class le extends Error{constructor(t,n){super(function be(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Z(e){return"string"==typeof e?e:null==e?"":String(e)}function Ke(e,t){throw new le(-201,!1)}function Ie(e,t){null==e&&function q(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function xt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function vn(e){return{providers:e.providers||[],imports:e.imports||[]}}function _n(e){return Dn(e,tt)||Dn(e,hi)}function Qt(e){return null!==_n(e)}function Dn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Lt(e){return e&&(e.hasOwnProperty(rr)||e.hasOwnProperty(Bn))?e[rr]:null}const tt=G({\u0275prov:G}),rr=G({\u0275inj:G}),hi=G({ngInjectableDef:G}),Bn=G({ngInjectorDef:G});var rt=(()=>((rt=rt||{})[rt.Default=0]="Default",rt[rt.Host=1]="Host",rt[rt.Self=2]="Self",rt[rt.SkipSelf=4]="SkipSelf",rt[rt.Optional=8]="Optional",rt))();let Kn;function B(e){const t=Kn;return Kn=e,t}function L(e,t,n){const r=_n(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&rt.Optional?null:void 0!==t?t:void Ke(ae(e))}function Me(e){return{toString:e}.toString()}var Fe=(()=>((Fe=Fe||{})[Fe.OnPush=0]="OnPush",Fe[Fe.Default=1]="Default",Fe))(),Je=(()=>{return(e=Je||(Je={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Je;var e})();const Dt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ht={},Xe=[],Vt=G({\u0275cmp:G}),Hn=G({\u0275dir:G}),Pn=G({\u0275pipe:G}),Yt=G({\u0275mod:G}),qt=G({\u0275fac:G}),it=G({__NG_ELEMENT_ID__:G});let Cn=0;function Mr(e){return Me(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Fe.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Xe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Je.Emulated,id:"c"+Cn++,styles:e.styles||Xe,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.dependencies,l=e.features;return i.inputs=vr(e.inputs,r),i.outputs=vr(e.outputs),l&&l.forEach(f=>f(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(qr).filter(fi):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map($).filter(fi):null,i})}function qr(e){return Ot(e)||ee(e)}function fi(e){return null!==e}function yr(e){return Me(()=>({type:e.type,bootstrap:e.bootstrap||Xe,declarations:e.declarations||Xe,imports:e.imports||Xe,exports:e.exports||Xe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Mi(e,t){return Me(()=>{const n=X(e,!0);n.declarations=t.declarations||Xe,n.imports=t.imports||Xe,n.exports=t.exports||Xe})}function vr(e,t){if(null==e)return ht;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const sr=Mr;function Tr(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 Ot(e){return e[Vt]||null}function ee(e){return e[Hn]||null}function $(e){return e[Pn]||null}function F(e){const t=Ot(e)||ee(e)||$(e);return null!==t&&t.standalone}function X(e,t){const n=e[Yt]||null;if(!n&&!0===t)throw new Error(`Type ${ae(e)} does not have '\u0275mod' property.`);return n}function qn(e){return Array.isArray(e)&&"object"==typeof e[1]}function An(e){return Array.isArray(e)&&!0===e[1]}function Ti(e){return 0!=(8&e.flags)}function ei(e){return 2==(2&e.flags)}function Pr(e){return 1==(1&e.flags)}function fn(e){return null!==e.template}function bn(e){return 0!=(256&e[2])}function In(e,t){return e.hasOwnProperty(qt)?e[qt]:null}class vi{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function cr(){return _i}function _i(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ni),Pi}function Pi(){const e=mn(this),t=e?.current;if(t){const n=e.previous;if(n===ht)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ni(e,t,n,r){const i=mn(e)||function qi(e,t){return e[Ki]=t}(e,{previous:ht,current:null}),s=i.current||(i.current={}),l=i.previous,f=this.declaredInputs[n],g=l[f];s[f]=new vi(g&&g.currentValue,t,l===ht),e[r]=t}cr.ngInherit=!0;const Ki="__ngSimpleChanges__";function mn(e){return e[Ki]||null}function on(e){for(;Array.isArray(e);)e=e[0];return e}function Jt(e,t){return on(t[e])}function nn(e,t){return on(t[e.index])}function Ci(e,t){return e.data[t]}function jr(e,t){return e[t]}function wn(e,t){const n=t[e];return qn(n)?n:n[0]}function ri(e){return 4==(4&e[2])}function xi(e){return 64==(64&e[2])}function ii(e,t){return null==t?null:e[t]}function Ji(e){e[18]=0}function Ps(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const ct={lFrame:O(null),bindingsEnabled:!0};function Ns(){return ct.bindingsEnabled}function Se(){return ct.lFrame.lView}function Tt(){return ct.lFrame.tView}function Fi(e){return ct.lFrame.contextLView=e,e[8]}function ts(e){return ct.lFrame.contextLView=null,e}function E(){let e=C();for(;null!==e&&64===e.type;)e=e.parent;return e}function C(){return ct.lFrame.currentTNode}function P(e,t){const n=ct.lFrame;n.currentTNode=e,n.isParent=t}function he(){return ct.lFrame.isParent}function je(){ct.lFrame.isParent=!1}function an(){const e=ct.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xs(){return ct.lFrame.bindingIndex++}function si(e){const t=ct.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Li(e,t){const n=ct.lFrame;n.bindingIndex=n.bindingRootIndex=e,qs(t)}function qs(e){ct.lFrame.currentDirectiveIndex=e}function Fs(e){const t=ct.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function lo(){return ct.lFrame.currentQueryIndex}function Qs(e){ct.lFrame.currentQueryIndex=e}function uo(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function m(e,t,n){if(n&rt.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&rt.Host||(i=uo(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=ct.lFrame=D();return r.currentTNode=t,r.lView=e,!0}function M(e){const t=D(),n=e[1];ct.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function D(){const e=ct.lFrame,t=null===e?null:e.child;return null===t?O(e):t}function O(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 H(){const e=ct.lFrame;return ct.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const de=H;function we(){const e=H();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 ft(){return ct.lFrame.selectedIndex}function Ct(e){ct.lFrame.selectedIndex=e}function et(){const e=ct.lFrame;return Ci(e.tView,e.selectedIndex)}function pn(){ct.lFrame.currentNamespace="svg"}function cn(){!function oi(){ct.lFrame.currentNamespace=null}()}function fr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:l,ngAfterContentChecked:f,ngAfterViewInit:g,ngAfterViewChecked:S,ngOnDestroy:I}=s;l&&(e.contentHooks||(e.contentHooks=[])).push(-n,l),f&&((e.contentHooks||(e.contentHooks=[])).push(n,f),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,f)),g&&(e.viewHooks||(e.viewHooks=[])).push(-n,g),S&&((e.viewHooks||(e.viewHooks=[])).push(n,S),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,S)),null!=I&&(e.destroyHooks||(e.destroyHooks=[])).push(n,I)}}function pr(e,t,n){Er(e,t,3,n)}function ai(e,t,n,r){(3&e[2])===n&&Er(e,t,n,r)}function ns(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Er(e,t,n,r){const s=r??-1,l=t.length-1;let f=0;for(let g=void 0!==r?65535&e[18]:0;g<l;g++)if("number"==typeof t[g+1]){if(f=t[g],null!=r&&f>=r)break}else t[g]<0&&(e[18]+=65536),(f<s||-1==s)&&(gs(e,n,t,g),e[18]=(4294901760&e[18])+g+2),g++}function gs(e,t,n,r){const i=n[r]<0,s=n[r+1],f=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(f)}finally{}}}else try{s.call(f)}finally{}}class ks{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function vs(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],l=n[r++],f=n[r++];e.setAttribute(t,l,f,s)}else{const s=i,l=n[++r];co(s)?e.setProperty(t,s,l):e.setAttribute(t,s,l),r++}}return r}function Fo(e){return 3===e||4===e||6===e}function co(e){return 64===e.charCodeAt(0)}function Vs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||ho(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function ho(e,t,n,r,i){let s=0,l=e.length;if(-1===t)l=-1;else for(;s<e.length;){const f=e[s++];if("number"==typeof f){if(f===t){l=-1;break}if(f>t){l=s-1;break}}}for(;s<e.length;){const f=e[s];if("number"==typeof f)break;if(f===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==l&&(e.splice(l,0,t),s=l+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function Zs(e){return-1!==e}function li(e){return 32767&e}function _s(e,t){let n=function ko(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Js=!0;function Xs(e){const t=Js;return Js=e,t}let po=0;const $r={};function Ds(e,t){const n=mo(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,eo(r.data,e),eo(t,null),eo(r.blueprint,null));const i=yo(e,t),s=e.injectorIndex;if(Zs(i)){const l=li(i),f=_s(i,t),g=f[1].data;for(let S=0;S<8;S++)t[s+S]=f[l+S]|g[l+S]}return t[s+8]=i,s}function eo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function mo(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function yo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=wt(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function vo(e,t,n){!function go(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(it)&&(r=n[it]),null==r&&(r=n[it]=po++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Do(e,t,n){if(n&rt.Optional)return e;Ke()}function to(e,t,n,r){if(n&rt.Optional&&void 0===r&&(r=null),0==(n&(rt.Self|rt.Host))){const i=e[9],s=B(void 0);try{return i?i.get(t,r,n&rt.Optional):L(t,r,n&rt.Optional)}finally{B(s)}}return Do(r,0,n)}function Co(e,t,n,r=rt.Default,i){if(null!==e){if(1024&t[2]){const l=function We(e,t,n,r,i){let s=e,l=t;for(;null!==s&&null!==l&&1024&l[2]&&!(256&l[2]);){const f=b(s,l,n,r|rt.Self,$r);if(f!==$r)return f;let g=s.parent;if(!g){const S=l[21];if(S){const I=S.get(n,$r,r);if(I!==$r)return I}g=wt(l),l=l[15]}s=g}return i}(e,t,n,r,$r);if(l!==$r)return l}const s=b(e,t,n,r,$r);if(s!==$r)return s}return to(t,n,r,i)}function b(e,t,n,r,i){const s=function T(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(it)?e[it]:void 0;return"number"==typeof t?t>=0?255&t:se:t}(n);if("function"==typeof s){if(!m(t,e,r))return r&rt.Host?Do(i,0,r):to(t,n,r,i);try{const l=s(r);if(null!=l||r&rt.Optional)return l;Ke()}finally{de()}}else if("number"==typeof s){let l=null,f=mo(e,t),g=-1,S=r&rt.Host?t[16][6]:null;for((-1===f||r&rt.SkipSelf)&&(g=-1===f?yo(e,t):t[f+8],-1!==g&&U(r,!1)?(l=t[1],f=li(g),t=_s(g,t)):f=-1);-1!==f;){const I=t[1];if(x(s,f,I.data)){const R=o(f,t,n,l,r,S);if(R!==$r)return R}g=t[f+8],-1!==g&&U(r,t[1].data[f+8]===S)&&x(s,f,t)?(l=I,f=li(g),t=_s(g,t)):f=-1}}return i}function o(e,t,n,r,i,s){const l=t[1],f=l.data[e+8],I=a(f,l,n,null==r?ei(f)&&Js:r!=l&&0!=(3&f.type),i&rt.Host&&s===f);return null!==I?p(t,l,I,f):$r}function a(e,t,n,r,i){const s=e.providerIndexes,l=t.data,f=1048575&s,g=e.directiveStart,I=s>>20,W=i?f+I:e.directiveEnd;for(let ie=r?f:f+I;ie<W;ie++){const Ee=l[ie];if(ie<g&&n===Ee||ie>=g&&Ee.type===n)return ie}if(i){const ie=l[g];if(ie&&fn(ie)&&ie.type===n)return g}return null}function p(e,t,n,r){let i=e[n];const s=t.data;if(function Ls(e){return e instanceof ks}(i)){const l=i;l.resolving&&function Et(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new le(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Pe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Z(e)}(s[n]));const f=Xs(l.canSeeViewProviders);l.resolving=!0;const g=l.injectImpl?B(l.injectImpl):null;m(e,r,rt.Default);try{i=e[n]=l.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Xn(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const l=_i(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==g&&B(g),Xs(f),l.resolving=!1,de()}}return i}function x(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function U(e,t){return!(e&rt.Self||e&rt.Host&&t)}class j{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Co(this._tNode,this._lView,t,r,n)}}function se(){return new j(E(),Se())}function fe(e){return Me(()=>{const t=e.prototype.constructor,n=t[qt]||Ve(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[qt]||Ve(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Ve(e){return Oe(e)?()=>{const t=Ve(ne(e));return t&&t()}:In(e)}function wt(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function vt(e){return function _o(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(Fo(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(E(),e)}const dt="__parameters__",Ft="__prop__metadata__";function Sn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}function En(e,t,n){return Me(()=>{const r=Sn(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const l=new i(...s);return f.annotation=l,f;function f(g,S,I){const R=g.hasOwnProperty(dt)?g[dt]:Object.defineProperty(g,dt,{value:[]})[dt];for(;R.length<=I;)R.push(null);return(R[I]=R[I]||[]).push(l),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function dn(e,t,n,r){return Me(()=>{const i=Sn(t);function s(...l){if(this instanceof s)return i.apply(this,l),this;const f=new s(...l);return function g(S,I){const R=S.constructor,W=R.hasOwnProperty(Ft)?R[Ft]:Object.defineProperty(R,Ft,{value:{}})[Ft];W[I]=W.hasOwnProperty(I)&&W[I]||[],W[I].unshift(f),r&&r(S,I,...l)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class At{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=xt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}class er{}const ma=dn("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),er),Bi=dn("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),er);function ln(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),ln(r,t)):t!==e&&t.push(r)}return t}function Rn(e,t){e.forEach(n=>Array.isArray(n)?Rn(n,t):t(n))}function un(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Hs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Us(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Gr(e,t,n){let r=d(e,t);return r>=0?e[1|r]=n:(r=~r,function kr(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function qa(e,t){const n=d(e,t);if(n>=0)return e[1|n]}function d(e,t){return function u(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),l=e[s<<n];if(t===l)return s<<n;l>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const Gt={},gr="__NG_DI_FLAG__",ci="ngTempTokenPath",wi=/\n/gm,no="__source";let Eo;function Bo(e){const t=Eo;return Eo=e,t}function Om(e,t=rt.Default){if(void 0===Eo)throw new le(-203,!1);return null===Eo?L(e,void 0,t):Eo.get(e,t&rt.Optional?null:void 0,t)}function Wn(e,t=rt.Default){return(function ve(){return Kn}()||Om)(ne(e),t)}function ad(e,t=rt.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),Wn(e,t)}function Hl(e){const t=[];for(let n=0;n<e.length;n++){const r=ne(e[n]);if(Array.isArray(r)){if(0===r.length)throw new le(900,!1);let i,s=rt.Default;for(let l=0;l<r.length;l++){const f=r[l],g=Pm(f);"number"==typeof g?-1===g?i=f.token:s|=g:i=f}t.push(Wn(i,s))}else t.push(Wn(r))}return t}function _a(e,t){return e[gr]=t,e.prototype[gr]=t,e}function Pm(e){return e[gr]}const Za=_a(En("Inject",e=>({token:e})),-1),Da=_a(En("Optional"),8),Ca=_a(En("SkipSelf"),4);let Ul,el,tl;function $m(e){Ul=e}function Uo(e){return function jl(){if(void 0===el&&(el=null,Dt.trustedTypes))try{el=Dt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return el}()?.createHTML(e)||e}function md(e){return function $l(){if(void 0===tl&&(tl=null,Dt.trustedTypes))try{tl=Dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return tl}()?.createHTML(e)||e}class wo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Wm extends wo{getTypeName(){return"HTML"}}class Ym extends wo{getTypeName(){return"Style"}}class Km extends wo{getTypeName(){return"Script"}}class qm extends wo{getTypeName(){return"URL"}}class Qm extends wo{getTypeName(){return"ResourceURL"}}function $s(e){return e instanceof wo?e.changingThisBreaksApplicationSecurity:e}function jo(e,t){const n=function Zm(e){return e instanceof wo&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Jm(e){return new Wm(e)}function Xm(e){return new Ym(e)}function ey(e){return new Km(e)}function ty(e){return new qm(e)}function ny(e){return new Qm(e)}class ry{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Uo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class iy{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Uo(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Uo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const l=n.item(i).name;("xmlns:ns1"===l||0===l.indexOf("ns1:"))&&t.removeAttribute(l)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const oy=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function wa(e){return(e=String(e)).match(oy)?e:"unsafe:"+e}function Cs(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Sa(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Cd=Cs("area,br,col,hr,img,wbr"),bd=Cs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ed=Cs("rp,rt"),Gl=Sa(Cd,Sa(bd,Cs("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")),Sa(Ed,Cs("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")),Sa(Ed,bd)),zl=Cs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wl=Cs("srcset"),wd=Sa(zl,Wl,Cs("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Cs("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")),ay=Cs("script,style,template");class ly{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Gl.hasOwnProperty(n))return this.sanitizedSomething=!0,!ay.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),l=s.name,f=l.toLowerCase();if(!wd.hasOwnProperty(f)){this.sanitizedSomething=!0;continue}let g=s.value;zl[f]&&(g=wa(g)),Wl[f]&&(e=g,g=(e=String(e)).split(",").map(t=>wa(t.trim())).join(", ")),this.buf.push(" ",l,'="',Sd(g),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Gl.hasOwnProperty(n)&&!Cd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Sd(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 uy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cy=/([^\#-~ |!])/g;function Sd(e){return e.replace(/&/g,"&").replace(uy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(cy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let nl;function Md(e,t){let n=null;try{nl=nl||function _d(e){const t=new iy(e);return function sy(){try{return!!(new window.DOMParser).parseFromString(Uo(""),"text/html")}catch{return!1}}()?new ry(t):t}(e);let r=t?String(t):"";n=nl.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=nl.getInertBodyElement(r)}while(r!==s);return Uo((new ly).sanitizeChildren(Yl(n)||n))}finally{if(n){const r=Yl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Yl(e){return"content"in e&&function dy(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var kn=(()=>((kn=kn||{})[kn.NONE=0]="NONE",kn[kn.HTML=1]="HTML",kn[kn.STYLE=2]="STYLE",kn[kn.SCRIPT=3]="SCRIPT",kn[kn.URL=4]="URL",kn[kn.RESOURCE_URL=5]="RESOURCE_URL",kn))();function Td(e){const t=Ma();return t?md(t.sanitize(kn.HTML,e)||""):jo(e,"HTML")?md($s(e)):Md(function gd(){return void 0!==Ul?Ul:typeof document<"u"?document:void 0}(),Z(e))}function Kl(e){const t=Ma();return t?t.sanitize(kn.URL,e)||"":jo(e,"URL")?$s(e):wa(Z(e))}function Ma(){const e=Se();return e&&e[12]}const ql=new At("ENVIRONMENT_INITIALIZER"),Ql=new At("INJECTOR",-1),Id=new At("INJECTOR_DEF_TYPES");class Od{get(t,n=Gt){if(n===Gt){const r=new Error(`NullInjectorError: No provider for ${ae(t)}!`);throw r.name="NullInjectorError",r}return n}}function vy(...e){return{\u0275providers:Pd(0,e)}}function Pd(e,...t){const n=[],r=new Set;let i;return Rn(t,s=>{const l=s;Zl(l,n,[],r)&&(i||(i=[]),i.push(l))}),void 0!==i&&Nd(i,n),n}function Nd(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];Rn(i,s=>{t.push(s)})}}function Zl(e,t,n,r){if(!(e=ne(e)))return!1;let i=null,s=Lt(e);const l=!s&&Ot(e);if(s||l){if(l&&!l.standalone)return!1;i=e}else{const g=e.ngModule;if(s=Lt(g),!s)return!1;i=g}const f=r.has(i);if(l){if(f)return!1;if(r.add(i),l.dependencies){const g="function"==typeof l.dependencies?l.dependencies():l.dependencies;for(const S of g)Zl(S,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!f){let S;r.add(i);try{Rn(s.imports,I=>{Zl(I,t,n,r)&&(S||(S=[]),S.push(I))})}finally{}void 0!==S&&Nd(S,t)}if(!f){const S=In(i)||(()=>new i);t.push({provide:i,useFactory:S,deps:Xe},{provide:Id,useValue:i,multi:!0},{provide:ql,useValue:()=>Wn(i),multi:!0})}const g=s.providers;null==g||f||Rn(g,I=>{t.push(I)})}}return i!==e&&void 0!==e.providers}const _y=G({provide:String,useValue:G});function Jl(e){return null!==e&&"object"==typeof e&&_y in e}function So(e){return"function"==typeof e}const Xl=new At("Set Injector scope."),rl={},Cy={};let eu;function il(){return void 0===eu&&(eu=new Od),eu}class Mo{}class Fd extends Mo{constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,nu(t,l=>this.processProvider(l)),this.records.set(Ql,$o(void 0,this)),i.has("environment")&&this.records.set(Mo,$o(void 0,this));const s=this.records.get(Xl);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Id.multi,Xe,rt.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Bo(this),r=B(void 0);try{return t()}finally{Bo(n),B(r)}}get(t,n=Gt,r=rt.Default){this.assertNotDestroyed();const i=Bo(this),s=B(void 0);try{if(!(r&rt.SkipSelf)){let f=this.records.get(t);if(void 0===f){const g=function My(e){return"function"==typeof e||"object"==typeof e&&e instanceof At}(t)&&_n(t);f=g&&this.injectableDefInScope(g)?$o(tu(t),rl):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&rt.Self?il():this.parent).get(t,n=r&rt.Optional&&n===Gt?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[ci]=l[ci]||[]).unshift(ae(t)),i)throw l;return function Nm(e,t,n,r){const i=e[ci];throw t[no]&&i.unshift(t[no]),e.message=function xm(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ae(t);if(Array.isArray(t))i=t.map(ae).join(" -> ");else if("object"==typeof t){let s=[];for(let l in t)if(t.hasOwnProperty(l)){let f=t[l];s.push(l+":"+("string"==typeof f?JSON.stringify(f):ae(f)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(wi,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[ci]=null,e}(l,t,"R3InjectorError",this.source)}throw l}finally{B(s),Bo(i)}}resolveInjectorInitializers(){const t=Bo(this),n=B(void 0);try{const r=this.get(ql.multi,Xe,rt.Self);for(const i of r)i()}finally{Bo(t),B(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ae(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new le(205,!1)}processProvider(t){let n=So(t=ne(t))?t:ne(t&&t.provide);const r=function Ey(e){return Jl(e)?$o(void 0,e.useValue):$o(kd(e),rl)}(t);if(So(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=$o(void 0,rl,!0),i.factory=()=>Hl(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===rl&&(n.value=Cy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Sy(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ne(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function tu(e){const t=_n(e),n=null!==t?t.factory:In(e);if(null!==n)return n;if(e instanceof At)throw new le(204,!1);if(e instanceof Function)return function by(e){const t=e.length;if(t>0)throw Us(t,"?"),new le(204,!1);const n=function nr(e){const t=e&&(e[tt]||e[hi]);if(t){const n=function jt(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 le(204,!1)}function kd(e,t,n){let r;if(So(e)){const i=ne(e);return In(i)||tu(i)}if(Jl(e))r=()=>ne(e.useValue);else if(function Rd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Hl(e.deps||[]));else if(function xd(e){return!(!e||!e.useExisting)}(e))r=()=>Wn(ne(e.useExisting));else{const i=ne(e&&(e.useClass||e.provide));if(!function wy(e){return!!e.deps}(e))return In(i)||tu(i);r=()=>new i(...Hl(e.deps))}return r}function $o(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ty(e){return!!e.\u0275providers}function nu(e,t){for(const n of e)Array.isArray(n)?nu(n,t):Ty(n)?nu(n.\u0275providers,t):t(n)}class Ld{}class Oy{resolveComponentFactory(t){throw function Iy(e){const t=Error(`No component factory found for ${ae(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ta=(()=>{class e{}return e.NULL=new Oy,e})();function Py(){return Go(E(),Se())}function Go(e,t){return new Aa(nn(e,t))}let Aa=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Py,e})();function Ny(e){return e instanceof Aa?e.nativeElement:e}class Bd{}let xy=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Ry(){const e=Se(),n=wn(E().index,e);return(qn(n)?n:e)[11]}(),e})(),Fy=(()=>{class e{}return e.\u0275prov=xt({token:e,providedIn:"root",factory:()=>null}),e})();class Hd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ky=new Hd("14.2.0"),ru={};function lu(e){return e.ngOriginalError}class Ia{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&&lu(t);for(;n&&lu(n);)n=lu(n);return n||null}}const uu=new Map;let Ky=0;const du="__ngContext__";function Lr(e,t){qn(t)?(e[du]=t[20],function Qy(e){uu.set(e[20],e)}(t)):e[du]=t}function Oa(e){const t=e[du];return"number"==typeof t?function Wd(e){return uu.get(e)||null}(t):t||null}function hu(e){const t=Oa(e);return t?qn(t)?t:t.lView:null}function Zd(e){return e.ownerDocument.defaultView}function Gs(e){return e instanceof Function?e():e}var bs=(()=>((bs=bs||{})[bs.Important=1]="Important",bs[bs.DashCase=2]="DashCase",bs))();function pu(e,t){return undefined(e,t)}function Pa(e){const t=e[3];return An(t)?t[3]:t}function gu(e){return eh(e[13])}function mu(e){return eh(e[4])}function eh(e){for(;null!==e&&!An(e);)e=e[4];return e}function Wo(e,t,n,r,i){if(null!=r){let s,l=!1;An(r)?s=r:qn(r)&&(l=!0,r=r[0]);const f=on(r);0===e&&null!==n?null==i?oh(t,n,f):To(t,n,f,i||null,!0):1===e&&null!==n?To(t,n,f,i||null,!0):2===e?function fh(e,t,n){const r=sl(e,t);r&&function bv(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,f,l):3===e&&t.destroyNode(f),null!=s&&function Sv(e,t,n,r,i){const s=n[7];s!==on(n)&&Wo(t,e,r,s,i);for(let f=10;f<n.length;f++){const g=n[f];Na(g[1],g,e,t,r,s)}}(t,e,s,n,i)}}function vu(e,t,n){return e.createElement(t,n)}function nh(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,Ps(i,-1)),n.splice(r,1)}function _u(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&nh(i,r),t>0&&(e[n-1][4]=r[4]);const s=Hs(e,10+t);!function pv(e,t){Na(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const l=s[19];null!==l&&l.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function rh(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Na(e,t,n,3,null,null),function yv(e){let t=e[13];if(!t)return Du(e[1],e);for(;t;){let n=null;if(qn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)qn(t)&&Du(t[1],t),t=t[3];null===t&&(t=e),qn(t)&&Du(t[1],t),n=t&&t[4]}t=n}}(t)}}function Du(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Cv(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof ks)){const s=n[r+1];if(Array.isArray(s))for(let l=0;l<s.length;l+=2){const f=i[s[l]],g=s[l+1];try{g.call(f)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function Dv(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const l=n[s+1],f="function"==typeof l?l(t):on(t[l]),g=r[i=n[s+2]],S=n[s+3];"boolean"==typeof S?f.removeEventListener(n[s],g,S):S>=0?r[i=S]():r[i=-S].unsubscribe(),s+=2}else{const l=r[i=n[s+1]];n[s].call(l)}if(null!==r){for(let s=i+1;s<r.length;s++)(0,r[s])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&An(t[3])){n!==t[3]&&nh(n,t);const r=t[19];null!==r&&r.detachView(e)}!function Zy(e){uu.delete(e[20])}(t)}}function ih(e,t,n){return function sh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===Je.None||i===Je.Emulated)return null}return nn(r,n)}(e,t.parent,n)}function To(e,t,n,r,i){e.insertBefore(t,n,r,i)}function oh(e,t,n){e.appendChild(t,n)}function ah(e,t,n,r,i){null!==r?To(e,t,n,r,i):oh(e,t,n)}function sl(e,t){return e.parentNode(t)}function lh(e,t,n){return ch(e,t,n)}let ch=function uh(e,t,n){return 40&e.type?nn(e,n):null};function ol(e,t,n,r){const i=ih(e,r,t),s=t[11],f=lh(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)ah(s,i,n[g],f,!1);else ah(s,i,n,f,!1)}function al(e,t){if(null!==t){const n=t.type;if(3&n)return nn(t,e);if(4&n)return bu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return al(e,r);{const i=e[t.index];return An(i)?bu(-1,i):on(i)}}if(32&n)return pu(t,e)()||on(e[t.index]);{const r=hh(e,t);return null!==r?Array.isArray(r)?r[0]:al(Pa(e[16]),r):al(e,t.next)}}return null}function hh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function bu(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return al(r,i)}return t[7]}function Eu(e,t,n,r,i,s,l){for(;null!=n;){const f=r[n.index],g=n.type;if(l&&0===t&&(f&&Lr(on(f),r),n.flags|=4),64!=(64&n.flags))if(8&g)Eu(e,t,n.child,r,i,s,!1),Wo(t,e,i,f,s);else if(32&g){const S=pu(n,r);let I;for(;I=S();)Wo(t,e,i,I,s);Wo(t,e,i,f,s)}else 16&g?ph(e,t,r,n,i,s):Wo(t,e,i,f,s);n=l?n.projectionNext:n.next}}function Na(e,t,n,r,i,s){Eu(n,r,e.firstChild,t,i,s,!1)}function ph(e,t,n,r,i,s){const l=n[16],g=l[6].projection[r.projection];if(Array.isArray(g))for(let S=0;S<g.length;S++)Wo(t,e,i,g[S],s);else Eu(e,t,g,l[3],i,s,!0)}function gh(e,t,n){e.setAttribute(t,"style",n)}function wu(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function mh(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const yh="ng-template";function Tv(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==mh(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function vh(e){return 4===e.type&&e.value!==yh}function Av(e,t,n){return t===(4!==e.type||n?e.value:yh)}function Iv(e,t,n){let r=4;const i=e.attrs||[],s=function Nv(e){for(let t=0;t<e.length;t++)if(Fo(e[t]))return t;return e.length}(i);let l=!1;for(let f=0;f<t.length;f++){const g=t[f];if("number"!=typeof g){if(!l)if(4&r){if(r=2|1&r,""!==g&&!Av(e,g,n)||""===g&&1===t.length){if(ss(r))return!1;l=!0}}else{const S=8&r?g:t[++f];if(8&r&&null!==e.attrs){if(!Tv(e.attrs,S,n)){if(ss(r))return!1;l=!0}continue}const R=Ov(8&r?"class":g,i,vh(e),n);if(-1===R){if(ss(r))return!1;l=!0;continue}if(""!==S){let W;W=R>s?"":i[R+1].toLowerCase();const ie=8&r?W:null;if(ie&&-1!==mh(ie,S,0)||2&r&&S!==W){if(ss(r))return!1;l=!0}}}}else{if(!l&&!ss(r)&&!ss(g))return!1;if(l&&ss(g))continue;l=!1,r=g|1&r}}return ss(r)||l}function ss(e){return 0==(1&e)}function Ov(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const l=t[i];if(l===e)return i;if(3===l||6===l)s=!0;else{if(1===l||2===l){let f=t[++i];for(;"string"==typeof f;)f=t[++i];continue}if(4===l)break;if(0===l){i+=4;continue}}i+=s?1:2}return-1}return function xv(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function _h(e,t,n=!1){for(let r=0;r<t.length;r++)if(Iv(e,t[r],n))return!0;return!1}function Rv(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Dh(e,t){return e?":not("+t.trim()+")":t}function Fv(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let l=e[n];if("string"==typeof l)if(2&r){const f=e[++n];i+="["+l+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?i+="."+l:4&r&&(i+=" "+l);else""!==i&&!ss(l)&&(t+=Dh(s,i),i=""),r=l,s=s||!ss(r);n++}return""!==i&&(t+=Dh(s,i)),t}const St={};function Ch(e){bh(Tt(),Se(),ft()+e,!1)}function bh(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&pr(t,s,n)}else{const s=e.preOrderHooks;null!==s&&ai(t,s,0,n)}Ct(n)}function Mh(e,t=null,n=null,r){const i=Th(e,t,n,r);return i.resolveInjectorInitializers(),i}function Th(e,t=null,n=null,r,i=new Set){const s=[n||Xe,vy(e)];return r=r||("object"==typeof e?void 0:ae(e)),new Fd(s,t||il(),r||null,i)}let Ao=(()=>{class e{static create(n,r){if(Array.isArray(n))return Mh({name:""},r,n,"");{const i=n.name??"";return Mh({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Gt,e.NULL=new Od,e.\u0275prov=xt({token:e,providedIn:"any",factory:()=>Wn(Ql)}),e.__NG_ELEMENT_ID__=-1,e})();function Ko(e,t=rt.Default){const n=Se();return null===n?Wn(e,t):Co(E(),n,ne(e),t)}function Rh(){throw new Error("invalid")}function ul(e,t){return e<<17|t<<2}function os(e){return e>>17&32767}function Iu(e){return 2|e}function zs(e){return(131068&e)>>2}function Ou(e,t){return-131069&e|t<<2}function Pu(e){return 1|e}function zh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const l=e.data[s];Qs(i),l.contentQueries(2,t[s],s)}}}function hl(e,t,n,r,i,s,l,f,g,S,I){const R=t.blueprint.slice();return R[0]=i,R[2]=76|r,(null!==I||e&&1024&e[2])&&(R[2]|=1024),Ji(R),R[3]=R[15]=e,R[8]=n,R[10]=l||e&&e[10],R[11]=f||e&&e[11],R[12]=g||e&&e[12]||null,R[9]=S||e&&e[9]||null,R[6]=s,R[20]=function qy(){return Ky++}(),R[21]=I,R[16]=2==t.type?e[16]:R,R}function qo(e,t,n,r,i){let s=e.data[t];if(null===s)s=function Bu(e,t,n,r,i){const s=C(),l=he(),g=e.data[t]=function v_(e,t,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,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,l?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==s&&(l?null==s.child&&null!==g.parent&&(s.child=g):null===s.next&&(s.next=g)),g}(e,t,n,r,i),function Rs(){return ct.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const l=function _(){const e=ct.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===l?-1:l.injectorIndex}return P(s,!0),s}function Qo(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function fl(e,t,n){M(t);try{const r=e.viewQuery;null!==r&&Ku(1,r,n);const i=e.template;null!==i&&Wh(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&zh(e,t),e.staticViewQueries&&Ku(2,e.viewQuery,n);const s=e.components;null!==s&&function p_(e,t){for(let n=0;n<t.length;n++)R_(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,we()}}function xa(e,t,n,r){const i=t[2];if(128!=(128&i)){M(t);try{Ji(t),function fs(e){return ct.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Wh(e,t,n,2,r);const l=3==(3&i);if(l){const S=e.preOrderCheckHooks;null!==S&&pr(t,S,null)}else{const S=e.preOrderHooks;null!==S&&ai(t,S,0,null),ns(t,0)}if(function N_(e){for(let t=gu(e);null!==t;t=mu(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(512&i[2])&&Ps(s,1),i[2]|=512}}}(t),function P_(e){for(let t=gu(e);null!==t;t=mu(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];xi(r)&&xa(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&zh(e,t),l){const S=e.contentCheckHooks;null!==S&&pr(t,S)}else{const S=e.contentHooks;null!==S&&ai(t,S,1),ns(t,1)}!function h_(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Ct(~i);else{const s=i,l=n[++r],f=n[++r];Li(l,s),f(2,t[s])}}}finally{Ct(-1)}}(e,t);const f=e.components;null!==f&&function f_(e,t){for(let n=0;n<t.length;n++)x_(e,t[n])}(t,f);const g=e.viewQuery;if(null!==g&&Ku(2,g,r),l){const S=e.viewCheckHooks;null!==S&&pr(t,S)}else{const S=e.viewHooks;null!==S&&ai(t,S,2),ns(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Ps(t[3],-1))}finally{we()}}}function g_(e,t,n,r){const i=t[10],l=ri(t);try{!l&&i.begin&&i.begin(),l&&fl(e,t,r),xa(e,t,n,r)}finally{!l&&i.end&&i.end()}}function Wh(e,t,n,r,i){const s=ft(),l=2&r;try{Ct(-1),l&&t.length>22&&bh(e,t,22,!1),n(r,i)}finally{Ct(s)}}function Yh(e,t,n){if(Ti(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const l=e.data[s];l.contentQueries&&l.contentQueries(1,n[s],s)}}}function Hu(e,t,n){!Ns()||(function E_(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||Ds(n,t),Lr(r,t);const l=n.initialInputs;for(let f=i;f<s;f++){const g=e.data[f],S=fn(g);S&&A_(t,n,g);const I=p(t,e,f,n);Lr(I,t),null!==l&&I_(0,f-i,I,g,0,l),S&&(wn(n.index,t)[8]=I)}}(e,t,n,nn(n,t)),128==(128&n.flags)&&function w_(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,l=function ao(){return ct.lFrame.currentDirectiveIndex}();try{Ct(s);for(let f=r;f<i;f++){const g=e.data[f],S=t[f];qs(f),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&ef(g,S)}}finally{Ct(-1),qs(l)}}(e,t,n))}function Uu(e,t,n=nn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const l=r[s+1],f=-1===l?n(t,e):e[l];e[i++]=f}}}function Kh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ju(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ju(e,t,n,r,i,s,l,f,g,S){const I=22+r,R=I+i,W=function m_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:St);return n}(I,R),ie="function"==typeof S?S():S;return W[1]={type:e,blueprint:W,template:n,queries:null,viewQuery:f,declTNode:t,data:W.slice().fill(null,I),bindingStartIndex:I,expandoStartIndex:R,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof l?l():l,firstChild:null,schemas:g,consts:ie,incompleteFirstPass:!1}}function qh(e,t,n,r){const i=lf(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&uf(e).push(r,i.length-1))}function Qh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Zh(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,l=[];let f=null,g=null;for(let S=t.directiveStart;S<r;S++){const I=i[S],R=I.inputs,W=null===s||vh(t)?null:O_(R,s);l.push(W),f=Qh(R,S,f),g=Qh(I.outputs,S,g)}null!==f&&(f.hasOwnProperty("class")&&(t.flags|=16),f.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=l,t.inputs=f,t.outputs=g}function Si(e,t,n,r,i,s,l,f){const g=nn(t,n);let I,S=t.inputs;!f&&null!=S&&(I=S[r])?(qu(e,n,I,r,i),ei(t)&&Jh(n,t.index)):3&t.type&&(r=function __(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=l?l(i,t.value||"",r):i,s.setProperty(g,r,i))}function Jh(e,t){const n=wn(t,e);16&n[2]||(n[2]|=32)}function $u(e,t,n,r){let i=!1;if(Ns()){const s=function S_(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const l=r[s];_h(n,l.selectors,!1)&&(i||(i=[]),vo(Ds(n,t),e,l.type),fn(l)?(tf(e,n),i.unshift(l)):i.push(l))}return i}(e,t,n),l=null===r?null:{"":-1};if(null!==s){i=!0,nf(n,e.data.length,s.length);for(let I=0;I<s.length;I++){const R=s[I];R.providersResolver&&R.providersResolver(R)}let f=!1,g=!1,S=Qo(e,t,s.length,null);for(let I=0;I<s.length;I++){const R=s[I];n.mergedAttrs=Vs(n.mergedAttrs,R.hostAttrs),rf(e,n,t,S,R),T_(S,R,l),null!==R.contentQueries&&(n.flags|=8),(null!==R.hostBindings||null!==R.hostAttrs||0!==R.hostVars)&&(n.flags|=128);const W=R.type.prototype;!f&&(W.ngOnChanges||W.ngOnInit||W.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),f=!0),!g&&(W.ngOnChanges||W.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),g=!0),S++}Zh(e,n)}l&&function M_(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new le(-301,!1);r.push(t[i],s)}}}(n,r,l)}return n.mergedAttrs=Vs(n.mergedAttrs,n.attrs),i}function Xh(e,t,n,r,i,s){const l=s.hostBindings;if(l){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const g=~t.index;(function b_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=g&&f.push(g),f.push(r,i,l)}}function ef(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function tf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function T_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;fn(t)&&(n[""]=e)}}function nf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function rf(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=In(i.type)),l=new ks(s,fn(i),Ko);e.blueprint[r]=l,n[r]=l,Xh(e,t,0,r,Qo(e,n,i.hostVars,St),i)}function A_(e,t,n){const r=nn(t,e),i=Kh(n),s=e[10],l=pl(e,hl(e,i,null,n.onPush?32:16,r,t,s,s.createRenderer(r,n),null,null,null));e[t.index]=l}function Es(e,t,n,r,i,s){const l=nn(e,t);!function Gu(e,t,n,r,i,s,l){if(null==s)e.removeAttribute(t,i,n);else{const f=null==l?Z(s):l(s,r||"",i);e.setAttribute(t,i,f,n)}}(t[11],l,s,e.value,n,r,i)}function I_(e,t,n,r,i,s){const l=s[t];if(null!==l){const f=r.setInput;for(let g=0;g<l.length;){const S=l[g++],I=l[g++],R=l[g++];null!==f?r.setInput(n,R,S,I):n[I]=R}}}function O_(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function sf(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function x_(e,t){const n=wn(t,e);if(xi(n)){const r=n[1];48&n[2]?xa(r,n,r.template,n[8]):n[5]>0&&zu(n)}}function zu(e){for(let r=gu(e);null!==r;r=mu(r))for(let i=10;i<r.length;i++){const s=r[i];if(xi(s))if(512&s[2]){const l=s[1];xa(l,s,l.template,s[8])}else s[5]>0&&zu(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=wn(n[r],e);xi(i)&&i[5]>0&&zu(i)}}function R_(e,t){const n=wn(t,e),r=n[1];(function F_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),fl(r,n,n[8])}function pl(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Wu(e){for(;e;){e[2]|=32;const t=Pa(e);if(bn(e)&&!t)return e;e=t}return null}function Ku(e,t,n){Qs(0),t(e,n)}function lf(e){return e[7]||(e[7]=[])}function uf(e){return e.cleanup||(e.cleanup=[])}function cf(e,t,n){return(null===e||fn(e))&&(n=function Zi(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function df(e,t){const n=e[9],r=n?n.get(Ia,null):null;r&&r.handleError(t)}function qu(e,t,n,r,i){for(let s=0;s<n.length;){const l=n[s++],f=n[s++],g=t[l],S=e.data[l];null!==S.setInput?S.setInput(g,i,r,f):g[f]=i}}function Ws(e,t,n){const r=Jt(t,e);!function th(e,t,n){e.setValue(t,n)}(e[11],r,n)}function gl(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let l=0;l<t.length;l++){const f=t[l];"number"==typeof f?s=f:1==s?i=Ce(i,f):2==s&&(r=Ce(r,f+": "+t[++l]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function ml(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(on(s)),An(s))for(let f=10;f<s.length;f++){const g=s[f],S=g[1].firstChild;null!==S&&ml(g[1],g,S,r)}const l=n.type;if(8&l)ml(e,t,n.child,r);else if(32&l){const f=pu(n,t);let g;for(;g=f();)r.push(g)}else if(16&l){const f=hh(t,n);if(Array.isArray(f))r.push(...f);else{const g=Pa(t[16]);ml(g[1],g,f,r,!0)}}n=i?n.projectionNext:n.next}return r}class Ra{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return ml(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(An(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(_u(t,r),Hs(n,r))}this._attachedToViewContainer=!1}rh(this._lView[1],this._lView)}onDestroy(t){qh(this._lView[1],this._lView,null,t)}markForCheck(){Wu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function Yu(e,t,n){const r=t[10];r.begin&&r.begin();try{xa(e,t,e.template,n)}catch(i){throw df(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new le(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function mv(e,t){Na(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new le(902,!1);this._appRef=t}}class L_ extends Ra{constructor(t){super(t),this._view=t}detectChanges(){!function af(e){!function k_(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=hu(n);if(null!==r){const i=r[1];g_(i,r,i.template,n)}}}(e[8])}(this._view)}checkNoChanges(){}get context(){return null}}class Qu extends Ta{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ot(t);return new Fa(n,this.ngModule)}}function hf(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class B_{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,ru,r);return i!==ru||n===ru?i:this.parentInjector.get(t,n,r)}}class Fa extends Ld{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function kv(e){return e.map(Fv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return hf(this.componentDef.inputs)}get outputs(){return hf(this.componentDef.outputs)}create(t,n,r,i){let s=(i=i||this.ngModule)instanceof Mo?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const l=s?new B_(t,s):t,f=l.get(Bd,null);if(null===f)throw new le(407,!1);const g=l.get(Fy,null),S=f.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",R=r?function y_(e,t,n){return e.selectRootElement(t,n===Je.ShadowDom)}(S,r,this.componentDef.encapsulation):vu(f.createRenderer(null,this.componentDef),I,function V_(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),W=this.componentDef.onPush?288:272,ie={components:[]},Ee=ju(0,null,null,1,0,null,null,null,null,null),Ne=hl(null,Ee,ie,W,null,null,f,S,g,l,null);let Be,Qe;M(Ne);try{const gt=function j_(e,t,n,r,i,s){const l=n[1];n[22]=e;const g=qo(l,22,2,"#host",null),S=g.mergedAttrs=t.hostAttrs;null!==S&&(gl(g,S,!0),null!==e&&(vs(i,e,S),null!==g.classes&&wu(i,e,g.classes),null!==g.styles&&gh(i,e,g.styles)));const I=r.createRenderer(e,t),R=hl(n,Kh(t),null,t.onPush?32:16,n[22],g,r,I,s||null,null,null);return l.firstCreatePass&&(vo(Ds(g,n),l,t.type),tf(l,g),nf(g,n.length,1)),pl(n,R),n[22]=R}(R,this.componentDef,Ne,f,S);if(R)if(r)vs(S,R,["ng-version",ky.full]);else{const{attrs:Te,classes:ut}=function Lv(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!ss(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Te&&vs(S,R,Te),ut&&ut.length>0&&wu(S,R,ut.join(" "))}if(Qe=Ci(Ee,22),void 0!==n){const Te=Qe.projection=[];for(let ut=0;ut<this.ngContentSelectors.length;ut++){const Ut=n[ut];Te.push(null!=Ut?Array.from(Ut):null)}}Be=function $_(e,t,n,r,i){const s=n[1],l=function C_(e,t,n){const r=E();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),rf(e,r,t,Qo(e,t,1,null),n),Zh(e,r));const i=p(t,e,r.directiveStart,r);Lr(i,t);const s=nn(r,t);return s&&Lr(s,t),i}(s,n,t);if(r.components.push(l),e[8]=l,null!==i)for(const g of i)g(l,t);if(t.contentQueries){const g=E();t.contentQueries(1,l,g.directiveStart)}const f=E();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Ct(f.index),Xh(n[1],f,0,f.directiveStart,f.directiveEnd,t),ef(t,l)),l}(gt,this.componentDef,Ne,ie,[z_]),fl(Ee,Ne,null)}finally{we()}return new U_(this.componentType,Be,Go(Qe,Ne),Ne,Qe)}}class U_ extends class Ay{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new L_(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const s=this._rootLView;qu(s[1],s,i,t,n),Jh(s,this._tNode.index)}}get injector(){return new j(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function z_(){const e=E();fr(Se()[1],e)}function Zu(e){let t=function ff(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(fn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new le(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const l=e;l.inputs=Ju(e.inputs),l.declaredInputs=Ju(e.declaredInputs),l.outputs=Ju(e.outputs);const f=i.hostBindings;f&&q_(e,f);const g=i.viewQuery,S=i.contentQueries;if(g&&Y_(e,g),S&&K_(e,S),ce(e.inputs,i.inputs),ce(e.declaredInputs,i.declaredInputs),ce(e.outputs,i.outputs),fn(i)&&i.data.animation){const I=e.data;I.animation=(I.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let l=0;l<s.length;l++){const f=s[l];f&&f.ngInherit&&f(e),f===Zu&&(n=!1)}}t=Object.getPrototypeOf(t)}!function W_(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Vs(i.hostAttrs,n=Vs(n,i.hostAttrs))}}(r)}function Ju(e){return e===ht?{}:e===Xe?[]:e}function Y_(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function K_(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function q_(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let yl=null;function Io(){if(!yl){const e=Dt.Symbol;if(e&&e.iterator)yl=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(yl=r)}}}return yl}function ka(e){return!!Xu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Io()in e)}function Xu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ws(e,t,n){return e[t]=n}function La(e,t){return e[t]}function Vr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Oo(e,t,n,r){const i=Vr(e,t,n);return Vr(e,t+1,r)||i}function Ui(e,t,n,r,i,s){const l=Oo(e,t,n,r);return Oo(e,t+2,i,s)||l}function ec(e,t,n,r){const i=Se();return Vr(i,xs(),t)&&(Tt(),Es(et(),i,e,t,n,r)),ec}function Jo(e,t,n,r){return Vr(e,xs(),n)?t+Z(n)+r:St}function Xo(e,t,n,r,i,s){const f=Oo(e,function hr(){return ct.lFrame.bindingIndex}(),n,i);return si(2),f?t+Z(n)+r+Z(i)+s:St}function Ef(e,t,n,r,i,s,l,f){const g=Se(),S=Tt(),I=e+22,R=S.firstCreatePass?function rD(e,t,n,r,i,s,l,f,g){const S=t.consts,I=qo(t,e,4,l||null,ii(S,f));$u(t,n,I,ii(S,g)),fr(t,I);const R=I.tViews=ju(2,I,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S);return null!==t.queries&&(t.queries.template(t,I),R.queries=t.queries.embeddedTView(I)),I}(I,S,g,t,n,r,i,s,l):S.data[I];P(R,!1);const W=g[11].createComment("");ol(S,g,W,R),Lr(W,g),pl(g,g[I]=sf(W,g,W,R)),Pr(R)&&Hu(S,g,R),null!=l&&Uu(g,R,f)}function wf(e){return jr(function Gn(){return ct.lFrame.contextLView}(),22+e)}function tc(e,t,n){const r=Se();return Vr(r,xs(),t)&&Si(Tt(),et(),r,e,t,r[11],n,!1),tc}function nc(e,t,n,r,i){const l=i?"class":"style";qu(e,n,t.inputs[l],l,r)}function _l(e,t,n,r){const i=Se(),s=Tt(),l=22+e,f=i[11],g=i[l]=vu(f,t,function Jn(){return ct.lFrame.currentNamespace}()),S=s.firstCreatePass?function sD(e,t,n,r,i,s,l){const f=t.consts,S=qo(t,e,2,i,ii(f,s));return $u(t,n,S,ii(f,l)),null!==S.attrs&&gl(S,S.attrs,!1),null!==S.mergedAttrs&&gl(S,S.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,S),S}(l,s,i,0,t,n,r):s.data[l];P(S,!0);const I=S.mergedAttrs;null!==I&&vs(f,g,I);const R=S.classes;null!==R&&wu(f,g,R);const W=S.styles;return null!==W&&gh(f,g,W),64!=(64&S.flags)&&ol(s,i,g,S),0===function es(){return ct.lFrame.elementDepthCount}()&&Lr(g,i),function bi(){ct.lFrame.elementDepthCount++}(),Pr(S)&&(Hu(s,i,S),Yh(s,S,i)),null!==r&&Uu(i,S),_l}function Dl(){let e=E();he()?je():(e=e.parent,P(e,!1));const t=e;!function $n(){ct.lFrame.elementDepthCount--}();const n=Tt();return n.firstCreatePass&&(fr(n,e),Ti(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function pa(e){return 0!=(16&e.flags)}(t)&&nc(n,t,Se(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ga(e){return 0!=(32&e.flags)}(t)&&nc(n,t,Se(),t.stylesWithoutHost,!1),Dl}function rc(e,t,n,r){return _l(e,t,n,r),Dl(),rc}function Cl(e,t,n){const r=Se(),i=Tt(),s=e+22,l=i.firstCreatePass?function oD(e,t,n,r,i){const s=t.consts,l=ii(s,r),f=qo(t,e,8,"ng-container",l);return null!==l&&gl(f,l,!0),$u(t,n,f,ii(s,i)),null!==t.queries&&t.queries.elementStart(t,f),f}(s,i,r,t,n):i.data[s];P(l,!0);const f=r[s]=r[11].createComment("");return ol(i,r,f,l),Lr(f,r),Pr(l)&&(Hu(i,r,l),Yh(i,l,r)),null!=n&&Uu(r,l),Cl}function bl(){let e=E();const t=Tt();return he()?je():(e=e.parent,P(e,!1)),t.firstCreatePass&&(fr(t,e),Ti(e)&&t.queries.elementEnd(e)),bl}function ic(e,t,n){return Cl(e,t,n),bl(),ic}function Sf(){return Se()}function sc(e){return!!e&&"function"==typeof e.then}function Mf(e){return!!e&&"function"==typeof e.subscribe}const Tf=Mf;function oc(e,t,n,r){const i=Se(),s=Tt(),l=E();return Af(s,i,i[11],l,e,t,0,r),oc}function ac(e,t){const n=E(),r=Se(),i=Tt();return Af(i,r,cf(Fs(i.data),n,r),n,e,t),ac}function Af(e,t,n,r,i,s,l,f){const g=Pr(r),I=e.firstCreatePass&&uf(e),R=t[8],W=lf(t);let ie=!0;if(3&r.type||f){const Be=nn(r,t),Qe=f?f(Be):Be,gt=W.length,Te=f?Ut=>f(on(Ut[r.index])):r.index;let ut=null;if(!f&&g&&(ut=function aD(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const l=i[s];if(l===n&&i[s+1]===r){const f=t[7],g=i[s+2];return f.length>g?f[g]:null}"string"==typeof l&&(s+=2)}return null}(e,t,i,r.index)),null!==ut)(ut.__ngLastListenerFn__||ut).__ngNextListenerFn__=s,ut.__ngLastListenerFn__=s,ie=!1;else{s=Of(r,t,R,s,!1);const Ut=n.listen(Qe,i,s);W.push(s,Ut),I&&I.push(i,Te,gt,gt+1)}}else s=Of(r,t,R,s,!1);const Ee=r.outputs;let Ne;if(ie&&null!==Ee&&(Ne=Ee[i])){const Be=Ne.length;if(Be)for(let Qe=0;Qe<Be;Qe+=2){const yn=t[Ne[Qe]][Ne[Qe+1]].subscribe(s),xo=W.length;W.push(s,yn),I&&I.push(i,r.index,xo,-(xo+1))}}}function If(e,t,n,r){try{return!1!==n(r)}catch(i){return df(e,i),!1}}function Of(e,t,n,r,i){return function s(l){if(l===Function)return r;Wu(2&e.flags?wn(e.index,t):t);let g=If(t,0,r,l),S=s.__ngNextListenerFn__;for(;S;)g=If(t,0,S,l)&&g,S=S.__ngNextListenerFn__;return i&&!1===g&&(l.preventDefault(),l.returnValue=!1),g}}function Pf(e=1){return function Ue(e){return(ct.lFrame.contextLView=function mt(e,t){for(;e>0;)t=t[15],e--;return t}(e,ct.lFrame.contextLView))[8]}(e)}function lD(e,t){let n=null;const r=function Pv(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?_h(e,s,!0):Rv(r,s))return i}else n=i}return n}function Nf(e){const t=Se()[16][6];if(!t.projection){const r=t.projection=Us(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const l=e?lD(s,e):0;null!==l&&(i[l]?i[l].projectionNext=s:r[l]=s,i[l]=s),s=s.next}}}function xf(e,t=0,n){const r=Se(),i=Tt(),s=qo(i,22+e,16,null,n||null);null===s.projection&&(s.projection=t),je(),64!=(64&s.flags)&&function wv(e,t,n){ph(t[11],0,t,n,ih(e,n,t),lh(n.parent||t[6],n,t))}(i,r,s)}function lc(e,t,n){return uc(e,"",t,"",n),lc}function uc(e,t,n,r,i){const s=Se(),l=Jo(s,t,n,r);return l!==St&&Si(Tt(),et(),s,e,l,s[11],i,!1),uc}function jf(e,t,n,r,i){const s=e[n+1],l=null===t;let f=r?os(s):zs(s),g=!1;for(;0!==f&&(!1===g||l);){const I=e[f+1];dD(e[f],t)&&(g=!0,e[f+1]=r?Pu(I):Iu(I)),f=r?os(I):zs(I)}g&&(e[n+1]=r?Iu(s):Pu(s))}function dD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&d(e,t)>=0}const tr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $f(e){return e.substring(tr.key,tr.keyEnd)}function Gf(e,t){const n=tr.textEnd;return n===t?-1:(t=tr.keyEnd=function gD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,tr.key=t,n),oa(e,t,n))}function oa(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function cc(e,t,n){return as(e,t,n,!1),cc}function dc(e,t){return as(e,t,null,!0),dc}function qf(e){ls(Gr,Ms,e,!0)}function Ms(e,t){for(let n=function fD(e){return function Wf(e){tr.key=0,tr.keyEnd=0,tr.value=0,tr.valueEnd=0,tr.textEnd=e.length}(e),Gf(e,oa(e,0,tr.textEnd))}(t);n>=0;n=Gf(t,n))Gr(e,$f(t),!0)}function as(e,t,n,r){const i=Se(),s=Tt(),l=si(2);s.firstUpdatePass&&Zf(s,e,l,r),t!==St&&Vr(i,l,t)&&Xf(s,s.data[ft()],i,i[11],e,i[l+1]=function SD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ae($s(e)))),e}(t,n),r,l)}function ls(e,t,n,r){const i=Tt(),s=si(2);i.firstUpdatePass&&Zf(i,null,s,r);const l=Se();if(n!==St&&Vr(l,s,n)){const f=i.data[ft()];if(tp(f,r)&&!Qf(i,s)){let g=r?f.classesWithoutHost:f.stylesWithoutHost;null!==g&&(n=Ce(g,n||"")),nc(i,f,l,n,r)}else!function wD(e,t,n,r,i,s,l,f){i===St&&(i=Xe);let g=0,S=0,I=0<i.length?i[0]:null,R=0<s.length?s[0]:null;for(;null!==I||null!==R;){const W=g<i.length?i[g+1]:void 0,ie=S<s.length?s[S+1]:void 0;let Ne,Ee=null;I===R?(g+=2,S+=2,W!==ie&&(Ee=R,Ne=ie)):null===R||null!==I&&I<R?(g+=2,Ee=I):(S+=2,Ee=R,Ne=ie),null!==Ee&&Xf(e,t,n,r,Ee,Ne,l,f),I=g<i.length?i[g]:null,R=S<s.length?s[S]:null}}(i,f,l,l[11],l[s+1],l[s+1]=function ED(e,t,n){if(null==n||""===n)return Xe;const r=[],i=$s(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function Qf(e,t){return t>=e.expandoStartIndex}function Zf(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[ft()],l=Qf(e,n);tp(s,r)&&null===t&&!l&&(t=!1),t=function _D(e,t,n,r){const i=Fs(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Va(n=hc(null,e,t,n,r),t.attrs,r),s=null);else{const l=t.directiveStylingLast;if(-1===l||e[l]!==i)if(n=hc(i,e,t,n,r),null===s){let g=function DD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==zs(r))return e[os(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=hc(null,e,t,g[1],r),g=Va(g,t.attrs,r),function CD(e,t,n,r){e[os(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else s=function bD(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=Va(r,e[s].hostAttrs,n);return Va(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function uD(e,t,n,r,i,s){let l=s?t.classBindings:t.styleBindings,f=os(l),g=zs(l);e[r]=n;let I,S=!1;if(Array.isArray(n)){const R=n;I=R[1],(null===I||d(R,I)>0)&&(S=!0)}else I=n;if(i)if(0!==g){const W=os(e[f+1]);e[r+1]=ul(W,f),0!==W&&(e[W+1]=Ou(e[W+1],r)),e[f+1]=function n_(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=ul(f,0),0!==f&&(e[f+1]=Ou(e[f+1],r)),f=r;else e[r+1]=ul(g,0),0===f?f=r:e[g+1]=Ou(e[g+1],r),g=r;S&&(e[r+1]=Iu(e[r+1])),jf(e,I,r,!0),jf(e,I,r,!1),function cD(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&d(s,t)>=0&&(n[r+1]=Pu(n[r+1]))}(t,I,e,r,s),l=ul(f,g),s?t.classBindings=l:t.styleBindings=l}(i,s,t,n,l,r)}}function hc(e,t,n,r,i){let s=null;const l=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<l&&(s=t[f],r=Va(r,s.hostAttrs,i),s!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function Va(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const l=t[s];"number"==typeof l?i=l:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Gr(e,l,!!n||t[++s]))}return void 0===e?null:e}function Xf(e,t,n,r,i,s,l,f){if(!(3&t.type))return;const g=e.data,S=g[f+1];El(function Lh(e){return 1==(1&e)}(S)?ep(g,t,n,i,zs(S),l):void 0)||(El(s)||function kh(e){return 2==(2&e)}(S)&&(s=ep(g,null,n,i,f,l)),function Mv(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:bs.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=bs.Important),e.setStyle(n,r,i,s))}}(r,l,Jt(ft(),n),i,s))}function ep(e,t,n,r,i,s){const l=null===t;let f;for(;i>0;){const g=e[i],S=Array.isArray(g),I=S?g[1]:g,R=null===I;let W=n[i+1];W===St&&(W=R?Xe:void 0);let ie=R?qa(W,r):I===r?W:void 0;if(S&&!El(ie)&&(ie=qa(g,r)),El(ie)&&(f=ie,l))return f;const Ee=e[i+1];i=l?os(Ee):zs(Ee)}if(null!==t){let g=s?t.residualClasses:t.residualStyles;null!=g&&(f=qa(g,r))}return f}function El(e){return void 0!==e}function tp(e,t){return 0!=(e.flags&(t?16:32))}function np(e,t=""){const n=Se(),r=Tt(),i=e+22,s=r.firstCreatePass?qo(r,i,1,t,null):r.data[i],l=n[i]=function yu(e,t){return e.createText(t)}(n[11],t);ol(r,n,l,s),P(s,!1)}function fc(e){return wl("",e,""),fc}function wl(e,t,n){const r=Se(),i=Jo(r,e,t,n);return i!==St&&Ws(r,ft(),i),wl}function pc(e,t,n,r,i){const s=Se(),l=Xo(s,e,t,n,r,i);return l!==St&&Ws(s,ft(),l),pc}function cp(e,t,n){ls(Gr,Ms,Jo(Se(),e,t,n),!0)}function gc(e,t,n){const r=Se();return Vr(r,xs(),t)&&Si(Tt(),et(),r,e,t,r[11],n,!0),gc}function mc(e,t,n){const r=Se();if(Vr(r,xs(),t)){const s=Tt(),l=et();Si(s,l,r,e,t,cf(Fs(s.data),l,r),n,!0)}return mc}const Po=void 0;var GD=["en",[["a","p"],["AM","PM"],Po],[["AM","PM"],Po,Po],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Po,[["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"]],Po,[["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}",Po,"{1} 'at' {0}",Po],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $D(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let aa={};function yc(e){const t=function zD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Cp(t);if(n)return n;const r=t.split("-")[0];if(n=Cp(r),n)return n;if("en"===r)return GD;throw new le(701,!1)}function Dp(e){return yc(e)[pt.PluralCase]}function Cp(e){return e in aa||(aa[e]=Dt.ng&&Dt.ng.common&&Dt.ng.common.locales&&Dt.ng.common.locales[e]),aa[e]}var pt=(()=>((pt=pt||{})[pt.LocaleId=0]="LocaleId",pt[pt.DayPeriodsFormat=1]="DayPeriodsFormat",pt[pt.DayPeriodsStandalone=2]="DayPeriodsStandalone",pt[pt.DaysFormat=3]="DaysFormat",pt[pt.DaysStandalone=4]="DaysStandalone",pt[pt.MonthsFormat=5]="MonthsFormat",pt[pt.MonthsStandalone=6]="MonthsStandalone",pt[pt.Eras=7]="Eras",pt[pt.FirstDayOfWeek=8]="FirstDayOfWeek",pt[pt.WeekendRange=9]="WeekendRange",pt[pt.DateFormat=10]="DateFormat",pt[pt.TimeFormat=11]="TimeFormat",pt[pt.DateTimeFormat=12]="DateTimeFormat",pt[pt.NumberSymbols=13]="NumberSymbols",pt[pt.NumberFormats=14]="NumberFormats",pt[pt.CurrencyCode=15]="CurrencyCode",pt[pt.CurrencySymbol=16]="CurrencySymbol",pt[pt.CurrencyName=17]="CurrencyName",pt[pt.Currencies=18]="Currencies",pt[pt.Directionality=19]="Directionality",pt[pt.PluralCase=20]="PluralCase",pt[pt.ExtraData=21]="ExtraData",pt))();const la="en-US";let bp=la;function Dc(e,t,n,r,i){if(e=ne(e),Array.isArray(e))for(let s=0;s<e.length;s++)Dc(e[s],t,n,r,i);else{const s=Tt(),l=Se();let f=So(e)?e:ne(e.provide),g=kd(e);const S=E(),I=1048575&S.providerIndexes,R=S.directiveStart,W=S.providerIndexes>>20;if(So(e)||!e.multi){const ie=new ks(g,i,Ko),Ee=bc(f,t,i?I:I+W,R);-1===Ee?(vo(Ds(S,l),s,f),Cc(s,e,t.length),t.push(f),S.directiveStart++,S.directiveEnd++,i&&(S.providerIndexes+=1048576),n.push(ie),l.push(ie)):(n[Ee]=ie,l[Ee]=ie)}else{const ie=bc(f,t,I+W,R),Ee=bc(f,t,I,I+W),Ne=ie>=0&&n[ie],Be=Ee>=0&&n[Ee];if(i&&!Be||!i&&!Ne){vo(Ds(S,l),s,f);const Qe=function jC(e,t,n,r,i){const s=new ks(e,n,Ko);return s.multi=[],s.index=t,s.componentProviders=0,Yp(s,i,r&&!n),s}(i?UC:HC,n.length,i,r,g);!i&&Be&&(n[Ee].providerFactory=Qe),Cc(s,e,t.length,0),t.push(f),S.directiveStart++,S.directiveEnd++,i&&(S.providerIndexes+=1048576),n.push(Qe),l.push(Qe)}else Cc(s,e,ie>-1?ie:Ee,Yp(n[i?Ee:ie],g,!i&&r));!i&&r&&Be&&n[Ee].componentProviders++}}}function Cc(e,t,n,r){const i=So(t),s=function Dy(e){return!!e.useClass}(t);if(i||s){const g=(s?ne(t.useClass):t).prototype.ngOnDestroy;if(g){const S=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const I=S.indexOf(n);-1===I?S.push(n,[r,g]):S[I+1].push(r,g)}else S.push(n,g)}}}function Yp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bc(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function HC(e,t,n,r){return Ec(this.multi,[])}function UC(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const l=this.providerFactory.componentProviders,f=p(n,n[1],this.providerFactory.index,r);s=f.slice(0,l),Ec(i,s);for(let g=l;g<f.length;g++)s.push(f[g])}else s=[],Ec(i,s);return s}function Ec(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Kp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function BC(e,t,n){const r=Tt();if(r.firstCreatePass){const i=fn(e);Dc(n,r.data,r.blueprint,i,!0),Dc(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class ca{}class qp{}function $C(e,t){return new Qp(e,t??null)}class Qp extends ca{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Qu(this);const r=X(t);this._bootstrapComponents=Gs(r.bootstrap),this._r3Injector=Th(t,n,[{provide:ca,useValue:this},{provide:Ta,useValue:this.componentFactoryResolver}],ae(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class wc extends qp{constructor(t){super(),this.moduleType=t}create(t){return new Qp(this.moduleType,t)}}class GC extends ca{constructor(t,n,r){super(),this.componentFactoryResolver=new Qu(this),this.instance=null;const i=new Fd([...t,{provide:ca,useValue:this},{provide:Ta,useValue:this.componentFactoryResolver}],n||il(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Sc(e,t,n=null){return new GC(e,t,n).injector}let zC=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Pd(0,n.type),i=r.length>0?Sc([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=xt({token:e,providedIn:"environment",factory:()=>new e(Wn(Mo))}),e})();function Zp(e){e.getStandaloneInjector=t=>t.get(zC).getOrCreateStandaloneInjector(e)}function ig(e,t,n){const r=an()+e,i=Se();return i[r]===St?ws(i,r,n?t.call(n):t()):La(i,r)}function sg(e,t,n,r){return cg(Se(),an(),e,t,n,r)}function og(e,t,n,r,i){return dg(Se(),an(),e,t,n,r,i)}function ag(e,t,n,r,i,s){return hg(Se(),an(),e,t,n,r,i,s)}function lg(e,t,n,r,i,s,l){return fg(Se(),an(),e,t,n,r,i,s,l)}function ug(e,t,n,r,i,s,l,f){const g=an()+e,S=Se(),I=Ui(S,g,n,r,i,s);return Vr(S,g+4,l)||I?ws(S,g+5,f?t.call(f,n,r,i,s,l):t(n,r,i,s,l)):La(S,g+5)}function $a(e,t){const n=e[t];return n===St?void 0:n}function cg(e,t,n,r,i,s){const l=t+n;return Vr(e,l,i)?ws(e,l+1,s?r.call(s,i):r(i)):$a(e,l+1)}function dg(e,t,n,r,i,s,l){const f=t+n;return Oo(e,f,i,s)?ws(e,f+2,l?r.call(l,i,s):r(i,s)):$a(e,f+2)}function hg(e,t,n,r,i,s,l,f){const g=t+n;return function vl(e,t,n,r,i){const s=Oo(e,t,n,r);return Vr(e,t+2,i)||s}(e,g,i,s,l)?ws(e,g+3,f?r.call(f,i,s,l):r(i,s,l)):$a(e,g+3)}function fg(e,t,n,r,i,s,l,f,g){const S=t+n;return Ui(e,S,i,s,l,f)?ws(e,S+4,g?r.call(g,i,s,l,f):r(i,s,l,f)):$a(e,S+4)}function gg(e,t){const n=Tt();let r;const i=e+22;n.firstCreatePass?(r=function ib(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=In(r.type)),l=B(Ko);try{const f=Xs(!1),g=s();return Xs(f),function iD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Se(),i,g),g}finally{B(l)}}function mg(e,t,n){const r=e+22,i=Se(),s=jr(i,r);return Ga(i,r)?cg(i,an(),t,s.transform,n,s):s.transform(n)}function yg(e,t,n,r){const i=e+22,s=Se(),l=jr(s,i);return Ga(s,i)?dg(s,an(),t,l.transform,n,r,l):l.transform(n,r)}function vg(e,t,n,r,i){const s=e+22,l=Se(),f=jr(l,s);return Ga(l,s)?hg(l,an(),t,f.transform,n,r,i,f):f.transform(n,r,i)}function _g(e,t,n,r,i,s){const l=e+22,f=Se(),g=jr(f,l);return Ga(f,l)?fg(f,an(),t,g.transform,n,r,i,s,g):g.transform(n,r,i,s)}function Ga(e,t){return e[1].data[t].pure}function Tc(e){return t=>{setTimeout(e,void 0,t)}}const Ts=class ob extends c.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),l=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),s=g.error?.bind(g),l=g.complete?.bind(g)}this.__isAsync&&(s=Tc(s),i&&(i=Tc(i)),l&&(l=Tc(l)));const f=super.subscribe({next:i,error:s,complete:l});return t instanceof v.w&&t.add(f),f}};function ab(){return this._results[Io()]()}class Il{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=Io(),r=Il.prototype;r[n]||(r[n]=ab)}get changes(){return this._changes||(this._changes=new Ts)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=ln(t);(this._changesDetected=!function Sr(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let za=(()=>{class e{}return e.__NG_ELEMENT_ID__=cb,e})();const lb=za,ub=class extends lb{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=hl(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[19];return null!==l&&(i[19]=l.createEmbeddedView(r)),fl(r,i,t),new Ra(i)}};function cb(){return Ol(E(),Se())}function Ol(e,t){return 4&e.type?new ub(t,e,Go(e,t)):null}let Pl=(()=>{class e{}return e.__NG_ELEMENT_ID__=db,e})();function db(){return bg(E(),Se())}const hb=Pl,Dg=class extends hb{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Go(this._hostTNode,this._hostLView)}get injector(){return new j(this._hostTNode,this._hostLView)}get parentInjector(){const t=yo(this._hostTNode,this._hostLView);if(Zs(t)){const n=_s(t,this._hostLView),r=li(t);return new j(n[1].data[r+8],n)}return new j(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Cg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const l=t.createEmbeddedView(n||{},s);return this.insert(l,i),l}createComponent(t,n,r,i,s){const l=t&&!function Pt(e){return"function"==typeof e}(t);let f;if(l)f=n;else{const R=n||{};f=R.index,r=R.injector,i=R.projectableNodes,s=R.environmentInjector||R.ngModuleRef}const g=l?t:new Fa(Ot(t)),S=r||this.parentInjector;if(!s&&null==g.ngModule){const W=(l?S:this.parentInjector).get(Mo,null);W&&(s=W)}const I=g.create(S,i,void 0,s);return this.insert(I.hostView,f),I}insert(t,n){const r=t._lView,i=r[1];if(function Os(e){return An(e[3])}(r)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const R=r[3],W=new Dg(R,R[6],R[3]);W.detach(W.indexOf(t))}}const s=this._adjustIndex(n),l=this._lContainer;!function vv(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],un(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const l=t[17];null!==l&&n!==l&&function _v(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(l,t);const f=t[19];null!==f&&f.insertView(e),t[2]|=64}(i,r,l,s);const f=bu(s,l),g=r[11],S=sl(g,l[7]);return null!==S&&function gv(e,t,n,r,i,s){r[0]=i,r[6]=t,Na(e,r,n,1,i,s)}(i,l[6],g,r,S,f),t.attachToViewContainerRef(),un(Ac(l),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Cg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=_u(this._lContainer,n);r&&(Hs(Ac(this._lContainer),n),rh(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=_u(this._lContainer,n);return r&&null!=Hs(Ac(this._lContainer),n)?new Ra(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cg(e){return e[8]}function Ac(e){return e[8]||(e[8]=[])}function bg(e,t){let n;const r=t[e.index];if(An(r))n=r;else{let i;if(8&e.type)i=on(r);else{const s=t[11];i=s.createComment("");const l=nn(e,t);To(s,sl(s,l),i,function Ev(e,t){return e.nextSibling(t)}(s,l),!1)}t[e.index]=n=sf(r,t,i,e),pl(t,n)}return new Dg(n,e,t)}class Ic{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ic(this.queryList)}setDirty(){this.queryList.setDirty()}}class Oc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const l=n.getByIndex(s);i.push(this.queries[l.indexInDeclarationView].clone())}return new Oc(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Pg(t,n).matches&&this.queries[n].setDirty()}}class Eg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Pc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new Pc(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Nc{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 Nc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,gb(n,s)),this.matchTNodeWithReadOption(t,n,a(n,t,s,!1,!1))}else r===za?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,a(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Aa||i===Pl||i===za&&4&n.type)this.addMatch(n.index,-2);else{const s=a(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function gb(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function yb(e,t,n,r){return-1===n?function mb(e,t){return 11&e.type?Go(e,t):4&e.type?Ol(e,t):null}(t,e):-2===n?function vb(e,t,n){return n===Aa?Go(t,e):n===za?Ol(t,e):n===Pl?bg(t,e):void 0}(e,t,r):p(e,e[1],n,t)}function wg(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,l=n.matches,f=[];for(let g=0;g<l.length;g+=2){const S=l[g];f.push(S<0?null:yb(t,s[S],l[g+1],n.metadata.read))}i.matches=f}return i.matches}function xc(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const l=wg(e,t,i,n);for(let f=0;f<s.length;f+=2){const g=s[f];if(g>0)r.push(l[f/2]);else{const S=s[f+1],I=t[-g];for(let R=10;R<I.length;R++){const W=I[R];W[17]===W[3]&&xc(W[1],W,S,r)}if(null!==I[9]){const R=I[9];for(let W=0;W<R.length;W++){const ie=R[W];xc(ie[1],ie,S,r)}}}}}return r}function Sg(e){const t=Se(),n=Tt(),r=lo();Qs(r+1);const i=Pg(n,r);if(e.dirty&&ri(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?xc(n,t,r,[]):wg(n,t,i,r);e.reset(s,Ny),e.notifyOnChanges()}return!0}return!1}function Mg(e,t,n){const r=Tt();r.firstCreatePass&&(Og(r,new Eg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Ig(r,Se(),t)}function Tg(e,t,n,r){const i=Tt();if(i.firstCreatePass){const s=E();Og(i,new Eg(t,n,r),s.index),function Db(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Ig(i,Se(),n)}function Ag(){return function _b(e,t){return e[19].queries[t].queryList}(Se(),lo())}function Ig(e,t,n){const r=new Il(4==(4&n));qh(e,t,r,r.destroy),null===t[19]&&(t[19]=new Oc),t[19].queries.push(new Ic(r))}function Og(e,t,n){null===e.queries&&(e.queries=new Pc),e.queries.track(new Nc(t,n))}function Pg(e,t){return e.queries.getByIndex(t)}function Ng(e,t){return Ol(e,t)}const Hb=dn("Input",e=>({bindingPropertyName:e})),Ub=dn("Output",e=>({bindingPropertyName:e})),jb=dn("HostListener",(e,t)=>({eventName:e,args:t}));function xl(...e){}const Zg=new At("Application Initializer");let Rl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=xl,this.reject=xl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(sc(s))n.push(s);else if(Tf(s)){const l=new Promise((f,g)=>{s.subscribe({complete:f,error:g})});n.push(l)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Wn(Zg,8))},e.\u0275prov=xt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Jg=new At("AppId",{providedIn:"root",factory:function Xg(){return`${Vc()}${Vc()}${Vc()}`}});function Vc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const em=new At("Platform Initializer"),$b=new At("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),tm=new At("appBootstrapListener"),Gb=new At("AnimationModuleType");let zb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=xt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Fl=new At("LocaleId",{providedIn:"root",factory:()=>ad(Fl,rt.Optional|rt.SkipSelf)||function Wb(){return typeof $localize<"u"&&$localize.locale||la}()}),Yb=new At("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Kb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let qb=(()=>{class e{compileModuleSync(n){return new wc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=Gs(X(n).declarations).reduce((l,f)=>{const g=Ot(f);return g&&l.push(new Fa(g)),l},[]);return new Kb(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=xt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Jb=(()=>Promise.resolve(0))();function Bc(e){typeof Zone>"u"?Jb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ji{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ts(!1),this.onMicrotaskEmpty=new Ts(!1),this.onStable=new Ts(!1),this.onError=new Ts(!1),typeof Zone>"u")throw new le(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const s=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new s("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Xb(){let e=Dt.requestAnimationFrame,t=Dt.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function nE(e){const t=()=>{!function tE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Dt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Uc(e),e.isCheckStableRunning=!0,Hc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Uc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,l,f)=>{try{return im(e),n.invokeTask(i,s,l,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),sm(e)}},onInvoke:(n,r,i,s,l,f,g)=>{try{return im(e),n.invoke(i,s,l,f,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),sm(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Uc(e),Hc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ji.isInAngularZone())throw new le(909,!1)}static assertNotInAngularZone(){if(ji.isInAngularZone())throw new le(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,l=s.scheduleEventTask("NgZoneEvent: "+i,t,eE,xl,xl);try{return s.runTask(l,n,r)}finally{s.cancelTask(l)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const eE={};function Hc(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 Uc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function im(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sm(e){e._nesting--,Hc(e)}class rE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ts,this.onMicrotaskEmpty=new Ts,this.onStable=new Ts,this.onError=new Ts}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const om=new At(""),am=new At("");let jc,iE=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,jc||(function sE(e){jc=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ji.assertNotInAngularZone(),Bc(()=>{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())Bc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(Wn(ji),Wn(lm),Wn(am))},e.\u0275prov=xt({token:e,factory:e.\u0275fac}),e})(),lm=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return jc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=xt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),so=null;const um=new At("AllowMultipleToken"),$c=new At("PlatformDestroyListeners");class lE{constructor(t,n){this.name=t,this.token=n}}function dm(e,t,n=[]){const r=`Platform: ${t}`,i=new At(r);return(s=[])=>{let l=Gc();if(!l||l.injector.get(um,!1)){const f=[...n,...s,{provide:i,useValue:!0}];e?e(f):function uE(e){if(so&&!so.get(um,!1))throw new le(400,!1);so=e;const t=e.get(fm);(function cm(e){const t=e.get(em,null);t&&t.forEach(n=>n())})(e)}(function hm(e=[],t){return Ao.create({name:t,providers:[{provide:Xl,useValue:"platform"},{provide:$c,useValue:new Set([()=>so=null])},...e]})}(f,r))}return function dE(e){const t=Gc();if(!t)throw new le(401,!1);return t}()}}function Gc(){return so?.get(fm)??null}let fm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function gm(e,t){let n;return n="noop"===e?new rE:("zone.js"===e?void 0:e)||new ji(t),n}(r?.ngZone,function pm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),s=[{provide:ji,useValue:i}];return i.run(()=>{const l=Ao.create({providers:s,parent:this.injector,name:n.moduleType.name}),f=n.create(l),g=f.injector.get(Ia,null);if(!g)throw new le(402,!1);return i.runOutsideAngular(()=>{const S=i.onError.subscribe({next:I=>{g.handleError(I)}});f.onDestroy(()=>{Ll(this._modules,f),S.unsubscribe()})}),function mm(e,t,n){try{const r=n();return sc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(g,i,()=>{const S=f.injector.get(Rl);return S.runInitializers(),S.donePromise.then(()=>(function Ep(e){Ie(e,"Expected localeId to be defined"),"string"==typeof e&&(bp=e.toLowerCase().replace(/_/g,"-"))}(f.injector.get(Fl,la)||la),this._moduleDoBootstrap(f),f))})})}bootstrapModule(n,r=[]){const i=ym({},r);return function oE(e,t,n){const r=new wc(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(kl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new le(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new le(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get($c,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Wn(Ao))},e.\u0275prov=xt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function ym(e,t){return Array.isArray(t)?t.reduce(ym,e):{...e,...t}}let kl=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new Q.y(f=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{f.next(this._stable),f.complete()})}),l=new Q.y(f=>{let g;this._zone.runOutsideAngular(()=>{g=this._zone.onStable.subscribe(()=>{ji.assertNotInAngularZone(),Bc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,f.next(!0))})})});const S=this._zone.onUnstable.subscribe(()=>{ji.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{f.next(!1)}))});return()=>{g.unsubscribe(),S.unsubscribe()}});this.isStable=(0,oe.T)(s,l.pipe(function K(){return e=>(0,te.x)()(function Y(e,t){return function(r){let i;if(i="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new z(i,t));const s=Object.create(r,J.N);return s.source=r,s.subjectFactory=i,s}}(re)(e))}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Ld;if(!this._injector.get(Rl).done)throw!i&&F(n),new le(405,false);let l;l=i?n:this._injector.get(Ta).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const f=function aE(e){return e.isBoundToModule}(l)?void 0:this._injector.get(ca),S=l.create(Ao.NULL,[],r||l.selector,f),I=S.location.nativeElement,R=S.injector.get(om,null);return R?.registerApplication(I),S.onDestroy(()=>{this.detachView(S.hostView),Ll(this.components,S),R?.unregisterApplication(I)}),this._loadComponent(S),S}tick(){if(this._runningTick)throw new le(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ll(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(tm,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ll(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new le(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)(Wn(ji),Wn(Mo),Wn(Ia))},e.\u0275prov=xt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ll(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let _m=!0;function fE(){_m=!1}let pE=(()=>{class e{}return e.__NG_ELEMENT_ID__=gE,e})();function gE(e){return function mE(e,t,n){if(ei(e)&&!n){const r=wn(e.index,t);return new Ra(r,r)}return 47&e.type?new Ra(t[16],t):null}(E(),Se(),16==(16&e))}class wm{constructor(){}supports(t){return ka(t)}create(t){return new bE(t)}}const CE=(e,t)=>t;class bE{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||CE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const l=!r||n&&n.currentIndex<Mm(r,i,s)?n:r,f=Mm(l,i,s),g=l.currentIndex;if(l===r)i--,r=r._nextRemoved;else if(n=n._next,null==l.previousIndex)i++;else{s||(s=[]);const S=f-i,I=g-i;if(S!=I){for(let W=0;W<S;W++){const ie=W<s.length?s[W]:s[W]=0,Ee=ie+W;I<=Ee&&Ee<S&&(s[W]=ie+1)}s[l.previousIndex]=I-S}}f!==g&&t(l,f,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ka(t))throw new le(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,l,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)s=t[f],l=this._trackByFn(f,s),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,s,l,f)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,l,f),r=!0),n=n._next}else i=0,function eD(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Io()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,f=>{l=this._trackByFn(i,f),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,f,l,i)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,l,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new EE(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Sm),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Sm),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 EE{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 wE{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Sm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new wE,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Mm(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class Tm{constructor(){}supports(t){return t instanceof Map||Xu(t)}create(){return new SE}}class SE{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Xu(t)))throw new le(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,l=i._next;return s&&(s._next=l),l&&(l._prev=s),i._next=null,i._prev=null,i}const r=new ME(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class ME{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 Am(){return new qc([new wm])}let qc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Am()),deps:[[e,new Ca,new Da]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new le(901,!1)}}return e.\u0275prov=xt({token:e,providedIn:"root",factory:Am}),e})();function Im(){return new Qc([new Tm])}let Qc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Im()),deps:[[e,new Ca,new Da]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new le(901,!1)}}return e.\u0275prov=xt({token:e,providedIn:"root",factory:Im}),e})();const IE=dm(null,"core",[]);let OE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Wn(kl))},e.\u0275mod=yr({type:e}),e.\u0275inj=vn({}),e})();function PE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},4719:(ze,pe,N)=>{N.d(pe,{Wl:()=>Ce,Fj:()=>Oe,oH:()=>Cr,sg:()=>Ii,u5:()=>es,nD:()=>Os,Cf:()=>Z,JU:()=>ce,a5:()=>Lt,JJ:()=>Bn,JL:()=>rt,F:()=>gi,On:()=>Qn,wV:()=>$i,c5:()=>Ji,UX:()=>bi,Q7:()=>nn,p4:()=>Jr,kI:()=>It,_Y:()=>Nr});var c=N(5062),v=N(6895),Q=N(5254),oe=N(6498),J=N(6688),Y=N(4850),z=N(7830);function re(E,C){return new oe.y(_=>{const P=E.length;if(0===P)return void _.complete();const he=new Array(P);let je=0,Kt=0;for(let Gn=0;Gn<P;Gn++){const ki=(0,Q.D)(E[Gn]);let br=!1;_.add(ki.subscribe({next:an=>{br||(br=!0,Kt++),he[Gn]=an},error:an=>_.error(an),complete:()=>{je++,(je===P||!br)&&(Kt===P&&_.next(C?C.reduce((an,hr,fs)=>(an[hr]=he[fs],an),{}):he),_.complete())}}))}})}let K=(()=>{class E{constructor(_,P){this._renderer=_,this._elementRef=P,this.onChange=he=>{},this.onTouched=()=>{}}setProperty(_,P){this._renderer.setProperty(this._elementRef.nativeElement,_,P)}registerOnTouched(_){this.onTouched=_}registerOnChange(_){this.onChange=_}setDisabledState(_){this.setProperty("disabled",_)}}return E.\u0275fac=function(_){return new(_||E)(c.Y36(c.Qsj),c.Y36(c.SBq))},E.\u0275dir=c.lG2({type:E}),E})(),G=(()=>{class E extends K{}return E.\u0275fac=function(){let C;return function(P){return(C||(C=c.n5z(E)))(P||E)}}(),E.\u0275dir=c.lG2({type:E,features:[c.qOj]}),E})();const ce=new c.OlP("NgValueAccessor"),ae={provide:ce,useExisting:(0,c.Gpc)(()=>Ce),multi:!0};let Ce=(()=>{class E extends G{writeValue(_){this.setProperty("checked",_)}}return E.\u0275fac=function(){let C;return function(P){return(C||(C=c.n5z(E)))(P||E)}}(),E.\u0275dir=c.lG2({type:E,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(_,P){1&_&&c.NdJ("change",function(je){return P.onChange(je.target.checked)})("blur",function(){return P.onTouched()})},features:[c._Bn([ae]),c.qOj]}),E})();const xe={provide:ce,useExisting:(0,c.Gpc)(()=>Oe),multi:!0},ne=new c.OlP("CompositionEventMode");let Oe=(()=>{class E extends K{constructor(_,P,he){super(_,P),this._compositionMode=he,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ye(){const E=(0,v.q)()?(0,v.q)().getUserAgent():"";return/android (\d+)/.test(E.toLowerCase())}())}writeValue(_){this.setProperty("value",_??"")}_handleInput(_){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(_)}_compositionStart(){this._composing=!0}_compositionEnd(_){this._composing=!1,this._compositionMode&&this.onChange(_)}}return E.\u0275fac=function(_){return new(_||E)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(ne,8))},E.\u0275dir=c.lG2({type:E,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(_,P){1&_&&c.NdJ("input",function(je){return P._handleInput(je.target.value)})("blur",function(){return P.onTouched()})("compositionstart",function(){return P._compositionStart()})("compositionend",function(je){return P._compositionEnd(je.target.value)})},features:[c._Bn([xe]),c.qOj]}),E})();function le(E){return null==E||("string"==typeof E||Array.isArray(E))&&0===E.length}function be(E){return null!=E&&"number"==typeof E.length}const Z=new c.OlP("NgValidators"),Pe=new c.OlP("NgAsyncValidators"),Et=/^(?=.{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 It{static min(C){return function _t(E){return C=>{if(le(C.value)||le(E))return null;const _=parseFloat(C.value);return!isNaN(_)&&_<E?{min:{min:E,actual:C.value}}:null}}(C)}static max(C){return function Ke(E){return C=>{if(le(C.value)||le(E))return null;const _=parseFloat(C.value);return!isNaN(_)&&_>E?{max:{max:E,actual:C.value}}:null}}(C)}static required(C){return ot(C)}static requiredTrue(C){return function at(E){return!0===E.value?null:{required:!0}}(C)}static email(C){return function Nt(E){return le(E.value)||Et.test(E.value)?null:{email:!0}}(C)}static minLength(C){return function Ge(E){return C=>le(C.value)||!be(C.value)?null:C.value.length<E?{minlength:{requiredLength:E,actualLength:C.value.length}}:null}(C)}static maxLength(C){return kt(C)}static pattern(C){return Mn(C)}static nullValidator(C){return null}static compose(C){return Ie(C)}static composeAsync(C){return ue(C)}}function ot(E){return le(E.value)?{required:!0}:null}function kt(E){return C=>be(C.value)&&C.value.length>E?{maxlength:{requiredLength:E,actualLength:C.value.length}}:null}function Mn(E){if(!E)return zt;let C,_;return"string"==typeof E?(_="","^"!==E.charAt(0)&&(_+="^"),_+=E,"$"!==E.charAt(E.length-1)&&(_+="$"),C=new RegExp(_)):(_=E.toString(),C=E),P=>{if(le(P.value))return null;const he=P.value;return C.test(he)?null:{pattern:{requiredPattern:_,actualValue:he}}}}function zt(E){return null}function Ln(E){return null!=E}function Vn(E){return(0,c.QGY)(E)?(0,Q.D)(E):E}function Yr(E){let C={};return E.forEach(_=>{C=null!=_?{...C,..._}:C}),0===Object.keys(C).length?null:C}function di(E,C){return C.map(_=>_(E))}function Ae(E){return E.map(C=>function Kr(E){return!E.validate}(C)?C:_=>C.validate(_))}function Ie(E){if(!E)return null;const C=E.filter(Ln);return 0==C.length?null:function(_){return Yr(di(_,C))}}function q(E){return null!=E?Ie(Ae(E)):null}function ue(E){if(!E)return null;const C=E.filter(Ln);return 0==C.length?null:function(_){return function te(...E){if(1===E.length){const C=E[0];if((0,J.k)(C))return re(C,null);if((0,z.K)(C)&&Object.getPrototypeOf(C)===Object.prototype){const _=Object.keys(C);return re(_.map(P=>C[P]),_)}}if("function"==typeof E[E.length-1]){const C=E.pop();return re(E=1===E.length&&(0,J.k)(E[0])?E[0]:E,null).pipe((0,Y.U)(_=>C(..._)))}return re(E,null)}(di(_,C).map(Vn)).pipe((0,Y.U)(Yr))}}function $e(E){return null!=E?ue(Ae(E)):null}function Mt(E,C){return null===E?[C]:Array.isArray(E)?[...E,C]:[E,C]}function xt(E){return E._rawValidators}function Yn(E){return E._rawAsyncValidators}function vn(E){return E?Array.isArray(E)?E:[E]:[]}function _n(E,C){return Array.isArray(E)?E.includes(C):E===C}function Qt(E,C){const _=vn(C);return vn(E).forEach(he=>{_n(_,he)||_.push(he)}),_}function Dn(E,C){return vn(C).filter(_=>!_n(E,_))}class nr{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(C){this._rawValidators=C||[],this._composedValidatorFn=q(this._rawValidators)}_setAsyncValidators(C){this._rawAsyncValidators=C||[],this._composedAsyncValidatorFn=$e(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(C){this._onDestroyCallbacks.push(C)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(C=>C()),this._onDestroyCallbacks=[]}reset(C){this.control&&this.control.reset(C)}hasError(C,_){return!!this.control&&this.control.hasError(C,_)}getError(C,_){return this.control?this.control.getError(C,_):null}}class jt extends nr{get formDirective(){return null}get path(){return null}}class Lt extends nr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class tt{constructor(C){this._cd=C}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Bn=(()=>{class E extends tt{constructor(_){super(_)}}return E.\u0275fac=function(_){return new(_||E)(c.Y36(Lt,2))},E.\u0275dir=c.lG2({type:E,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(_,P){2&_&&c.ekj("ng-untouched",P.isUntouched)("ng-touched",P.isTouched)("ng-pristine",P.isPristine)("ng-dirty",P.isDirty)("ng-valid",P.isValid)("ng-invalid",P.isInvalid)("ng-pending",P.isPending)},features:[c.qOj]}),E})(),rt=(()=>{class E extends tt{constructor(_){super(_)}}return E.\u0275fac=function(_){return new(_||E)(c.Y36(jt,10))},E.\u0275dir=c.lG2({type:E,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(_,P){2&_&&c.ekj("ng-untouched",P.isUntouched)("ng-touched",P.isTouched)("ng-pristine",P.isPristine)("ng-dirty",P.isDirty)("ng-valid",P.isValid)("ng-invalid",P.isInvalid)("ng-pending",P.isPending)("ng-submitted",P.isSubmitted)},features:[c.qOj]}),E})();const Yt="VALID",qt="INVALID",it="PENDING",Cn="DISABLED";function Mr(E){return(yr(E)?E.validators:E)||null}function mr(E){return Array.isArray(E)?q(E):E||null}function qr(E,C){return(yr(C)?C.asyncValidators:E)||null}function fi(E){return Array.isArray(E)?$e(E):E||null}function yr(E){return null!=E&&!Array.isArray(E)&&"object"==typeof E}class sr{constructor(C,_){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=C,this._rawAsyncValidators=_,this._composedValidatorFn=mr(this._rawValidators),this._composedAsyncValidatorFn=fi(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(C){this._rawValidators=this._composedValidatorFn=C}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(C){this._rawAsyncValidators=this._composedAsyncValidatorFn=C}get parent(){return this._parent}get valid(){return this.status===Yt}get invalid(){return this.status===qt}get pending(){return this.status==it}get disabled(){return this.status===Cn}get enabled(){return this.status!==Cn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(C){this._rawValidators=C,this._composedValidatorFn=mr(C)}setAsyncValidators(C){this._rawAsyncValidators=C,this._composedAsyncValidatorFn=fi(C)}addValidators(C){this.setValidators(Qt(C,this._rawValidators))}addAsyncValidators(C){this.setAsyncValidators(Qt(C,this._rawAsyncValidators))}removeValidators(C){this.setValidators(Dn(C,this._rawValidators))}removeAsyncValidators(C){this.setAsyncValidators(Dn(C,this._rawAsyncValidators))}hasValidator(C){return _n(this._rawValidators,C)}hasAsyncValidator(C){return _n(this._rawAsyncValidators,C)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(C={}){this.touched=!0,this._parent&&!C.onlySelf&&this._parent.markAsTouched(C)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(C=>C.markAllAsTouched())}markAsUntouched(C={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(_=>{_.markAsUntouched({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}markAsDirty(C={}){this.pristine=!1,this._parent&&!C.onlySelf&&this._parent.markAsDirty(C)}markAsPristine(C={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(_=>{_.markAsPristine({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}markAsPending(C={}){this.status=it,!1!==C.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!C.onlySelf&&this._parent.markAsPending(C)}disable(C={}){const _=this._parentMarkedDirty(C.onlySelf);this.status=Cn,this.errors=null,this._forEachChild(P=>{P.disable({...C,onlySelf:!0})}),this._updateValue(),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...C,skipPristineCheck:_}),this._onDisabledChange.forEach(P=>P(!0))}enable(C={}){const _=this._parentMarkedDirty(C.onlySelf);this.status=Yt,this._forEachChild(P=>{P.enable({...C,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent}),this._updateAncestors({...C,skipPristineCheck:_}),this._onDisabledChange.forEach(P=>P(!1))}_updateAncestors(C){this._parent&&!C.onlySelf&&(this._parent.updateValueAndValidity(C),C.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(C){this._parent=C}getRawValue(){return this.value}updateValueAndValidity(C={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yt||this.status===it)&&this._runAsyncValidator(C.emitEvent)),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.updateValueAndValidity(C)}_updateTreeValidity(C={emitEvent:!0}){this._forEachChild(_=>_._updateTreeValidity(C)),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Cn:Yt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(C){if(this.asyncValidator){this.status=it,this._hasOwnPendingAsyncValidator=!0;const _=Vn(this.asyncValidator(this));this._asyncValidationSubscription=_.subscribe(P=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(P,{emitEvent:C})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(C,_={}){this.errors=C,this._updateControlsErrors(!1!==_.emitEvent)}get(C){let _=C;return null==_||(Array.isArray(_)||(_=_.split(".")),0===_.length)?null:_.reduce((P,he)=>P&&P._find(he),this)}getError(C,_){const P=_?this.get(_):this;return P&&P.errors?P.errors[C]:null}hasError(C,_){return!!this.getError(C,_)}get root(){let C=this;for(;C._parent;)C=C._parent;return C}_updateControlsErrors(C){this.status=this._calculateStatus(),C&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(C)}_initObservables(){this.valueChanges=new c.vpe,this.statusChanges=new c.vpe}_calculateStatus(){return this._allControlsDisabled()?Cn:this.errors?qt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(it)?it:this._anyControlsHaveStatus(qt)?qt:Yt}_anyControlsHaveStatus(C){return this._anyControls(_=>_.status===C)}_anyControlsDirty(){return this._anyControls(C=>C.dirty)}_anyControlsTouched(){return this._anyControls(C=>C.touched)}_updatePristine(C={}){this.pristine=!this._anyControlsDirty(),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}_updateTouched(C={}){this.touched=this._anyControlsTouched(),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}_registerOnCollectionChange(C){this._onCollectionChange=C}_setUpdateStrategy(C){yr(C)&&null!=C.updateOn&&(this._updateOn=C.updateOn)}_parentMarkedDirty(C){return!C&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(C){return null}}class Tr extends sr{constructor(C,_,P){super(Mr(_),qr(P,_)),this.controls=C,this._initObservables(),this._setUpdateStrategy(_),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(C,_){return this.controls[C]?this.controls[C]:(this.controls[C]=_,_.setParent(this),_._registerOnCollectionChange(this._onCollectionChange),_)}addControl(C,_,P={}){this.registerControl(C,_),this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}removeControl(C,_={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],this.updateValueAndValidity({emitEvent:_.emitEvent}),this._onCollectionChange()}setControl(C,_,P={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],_&&this.registerControl(C,_),this.updateValueAndValidity({emitEvent:P.emitEvent}),this._onCollectionChange()}contains(C){return this.controls.hasOwnProperty(C)&&this.controls[C].enabled}setValue(C,_={}){(function vr(E,C,_){E._forEachChild((P,he)=>{if(void 0===_[he])throw new c.vHH(1002,"")})})(this,0,C),Object.keys(C).forEach(P=>{(function Mi(E,C,_){const P=E.controls;if(!(C?Object.keys(P):P).length)throw new c.vHH(1e3,"");if(!P[_])throw new c.vHH(1001,"")})(this,!0,P),this.controls[P].setValue(C[P],{onlySelf:!0,emitEvent:_.emitEvent})}),this.updateValueAndValidity(_)}patchValue(C,_={}){null!=C&&(Object.keys(C).forEach(P=>{const he=this.controls[P];he&&he.patchValue(C[P],{onlySelf:!0,emitEvent:_.emitEvent})}),this.updateValueAndValidity(_))}reset(C={},_={}){this._forEachChild((P,he)=>{P.reset(C[he],{onlySelf:!0,emitEvent:_.emitEvent})}),this._updatePristine(_),this._updateTouched(_),this.updateValueAndValidity(_)}getRawValue(){return this._reduceChildren({},(C,_,P)=>(C[P]=_.getRawValue(),C))}_syncPendingControls(){let C=this._reduceChildren(!1,(_,P)=>!!P._syncPendingControls()||_);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){Object.keys(this.controls).forEach(_=>{const P=this.controls[_];P&&C(P,_)})}_setUpControls(){this._forEachChild(C=>{C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(C){for(const[_,P]of Object.entries(this.controls))if(this.contains(_)&&C(P))return!0;return!1}_reduceValue(){return this._reduceChildren({},(_,P,he)=>((P.enabled||this.disabled)&&(_[he]=P.value),_))}_reduceChildren(C,_){let P=C;return this._forEachChild((he,je)=>{P=_(P,he,je)}),P}_allControlsDisabled(){for(const C of Object.keys(this.controls))if(this.controls[C].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(C){return this.controls.hasOwnProperty(C)?this.controls[C]:null}}function De(E,C){Rt(E,C),C.valueAccessor.writeValue(E.value),E.disabled&&C.valueAccessor.setDisabledState?.(!0),function en(E,C){C.valueAccessor.registerOnChange(_=>{E._pendingValue=_,E._pendingChange=!0,E._pendingDirty=!0,"change"===E.updateOn&&Zt(E,C)})}(E,C),function pi(E,C){const _=(P,he)=>{C.valueAccessor.writeValue(P),he&&C.viewToModelUpdate(P)};E.registerOnChange(_),C._registerOnDestroy(()=>{E._unregisterOnChange(_)})}(E,C),function Ar(E,C){C.valueAccessor.registerOnTouched(()=>{E._pendingTouched=!0,"blur"===E.updateOn&&E._pendingChange&&Zt(E,C),"submit"!==E.updateOn&&E.markAsTouched()})}(E,C),function yt(E,C){if(C.valueAccessor.setDisabledState){const _=P=>{C.valueAccessor.setDisabledState(P)};E.registerOnDisabledChange(_),C._registerOnDestroy(()=>{E._unregisterOnDisabledChange(_)})}}(E,C)}function _e(E,C,_=!0){const P=()=>{};C.valueAccessor&&(C.valueAccessor.registerOnChange(P),C.valueAccessor.registerOnTouched(P)),Nn(E,C),E&&(C._invokeOnDestroyCallbacks(),E._registerOnCollectionChange(()=>{}))}function Re(E,C){E.forEach(_=>{_.registerOnValidatorChange&&_.registerOnValidatorChange(C)})}function Rt(E,C){const _=xt(E);null!==C.validator?E.setValidators(Mt(_,C.validator)):"function"==typeof _&&E.setValidators([_]);const P=Yn(E);null!==C.asyncValidator?E.setAsyncValidators(Mt(P,C.asyncValidator)):"function"==typeof P&&E.setAsyncValidators([P]);const he=()=>E.updateValueAndValidity();Re(C._rawValidators,he),Re(C._rawAsyncValidators,he)}function Nn(E,C){let _=!1;if(null!==E){if(null!==C.validator){const he=xt(E);if(Array.isArray(he)&&he.length>0){const je=he.filter(Kt=>Kt!==C.validator);je.length!==he.length&&(_=!0,E.setValidators(je))}}if(null!==C.asyncValidator){const he=Yn(E);if(Array.isArray(he)&&he.length>0){const je=he.filter(Kt=>Kt!==C.asyncValidator);je.length!==he.length&&(_=!0,E.setAsyncValidators(je))}}}const P=()=>{};return Re(C._rawValidators,P),Re(C._rawAsyncValidators,P),_}function Zt(E,C){E._pendingDirty&&E.markAsDirty(),E.setValue(E._pendingValue,{emitModelToViewChange:!1}),C.viewToModelUpdate(E._pendingValue),E._pendingChange=!1}function _r(E,C){Rt(E,C)}function rn(E,C){if(!E.hasOwnProperty("model"))return!1;const _=E.model;return!!_.isFirstChange()||!Object.is(C,_.currentValue)}function Dr(E,C){E._syncPendingControls(),C.forEach(_=>{const P=_.control;"submit"===P.updateOn&&P._pendingChange&&(_.viewToModelUpdate(P._pendingValue),P._pendingChange=!1)})}function sn(E,C){if(!C)return null;let _,P,he;return Array.isArray(C),C.forEach(je=>{je.constructor===Oe?_=je:function hn(E){return Object.getPrototypeOf(E.constructor)===G}(je)?P=je:he=je}),he||P||_||null}const Bt={provide:jt,useExisting:(0,c.Gpc)(()=>gi)},Zr=(()=>Promise.resolve(null))();let gi=(()=>{class E extends jt{constructor(_,P){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new c.vpe,this.form=new Tr({},q(_),$e(P))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(_){Zr.then(()=>{const P=this._findContainer(_.path);_.control=P.registerControl(_.name,_.control),De(_.control,_),_.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(_)})}getControl(_){return this.form.get(_.path)}removeControl(_){Zr.then(()=>{const P=this._findContainer(_.path);P&&P.removeControl(_.name),this._directives.delete(_)})}addFormGroup(_){Zr.then(()=>{const P=this._findContainer(_.path),he=new Tr({});_r(he,_),P.registerControl(_.name,he),he.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(_){Zr.then(()=>{const P=this._findContainer(_.path);P&&P.removeControl(_.name)})}getFormGroup(_){return this.form.get(_.path)}updateModel(_,P){Zr.then(()=>{this.form.get(_.path).setValue(P)})}setValue(_){this.control.setValue(_)}onSubmit(_){return this.submitted=!0,Dr(this.form,this._directives),this.ngSubmit.emit(_),!1}onReset(){this.resetForm()}resetForm(_){this.form.reset(_),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(_){return _.pop(),_.length?this.form.get(_):this.form}}return E.\u0275fac=function(_){return new(_||E)(c.Y36(Z,10),c.Y36(Pe,10))},E.\u0275dir=c.lG2({type:E,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(_,P){1&_&&c.NdJ("submit",function(je){return P.onSubmit(je)})("reset",function(){return P.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([Bt]),c.qOj]}),E})();function gn(E,C){const _=E.indexOf(C);_>-1&&E.splice(_,1)}function mi(E){return"object"==typeof E&&null!==E&&2===Object.keys(E).length&&"value"in E&&"disabled"in E}const Or=class extends sr{constructor(C=null,_,P){super(Mr(_),qr(P,_)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(C),this._setUpdateStrategy(_),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),yr(_)&&(_.nonNullable||_.initialValueIsDefault)&&(this.defaultValue=mi(C)?C.value:C)}setValue(C,_={}){this.value=this._pendingValue=C,this._onChange.length&&!1!==_.emitModelToViewChange&&this._onChange.forEach(P=>P(this.value,!1!==_.emitViewToModelChange)),this.updateValueAndValidity(_)}patchValue(C,_={}){this.setValue(C,_)}reset(C=this.defaultValue,_={}){this._applyFormState(C),this.markAsPristine(_),this.markAsUntouched(_),this.setValue(this.value,_),this._pendingChange=!1}_updateValue(){}_anyControls(C){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(C){this._onChange.push(C)}_unregisterOnChange(C){gn(this._onChange,C)}registerOnDisabledChange(C){this._onDisabledChange.push(C)}_unregisterOnDisabledChange(C){gn(this._onDisabledChange,C)}_forEachChild(C){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(C){mi(C)?(this.value=this._pendingValue=C.value,C.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=C}},Jr=Or,fn={provide:Lt,useExisting:(0,c.Gpc)(()=>Qn)},bn=(()=>Promise.resolve(null))();let Qn=(()=>{class E extends Lt{constructor(_,P,he,je,Kt){super(),this._changeDetectorRef=Kt,this.control=new Or,this._registered=!1,this.update=new c.vpe,this._parent=_,this._setValidators(P),this._setAsyncValidators(he),this.valueAccessor=sn(0,je)}ngOnChanges(_){if(this._checkForErrors(),!this._registered||"name"in _){if(this._registered&&(this._checkName(),this.formDirective)){const P=_.name.previousValue;this.formDirective.removeControl({name:P,path:this._getPath(P)})}this._setUpControl()}"isDisabled"in _&&this._updateDisabled(_),rn(_,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(_){this.viewModel=_,this.update.emit(_)}_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(){De(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(_){bn.then(()=>{this.control.setValue(_,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(_){const P=_.isDisabled.currentValue,he=0!==P&&(0,c.D6c)(P);bn.then(()=>{he&&!this.control.disabled?this.control.disable():!he&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(_){return this._parent?function X(E,C){return[...C.path,E]}(_,this._parent):[_]}}return E.\u0275fac=function(_){return new(_||E)(c.Y36(jt,9),c.Y36(Z,10),c.Y36(Pe,10),c.Y36(ce,10),c.Y36(c.sBO,8))},E.\u0275dir=c.lG2({type:E,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([fn]),c.qOj,c.TTD]}),E})(),Nr=(()=>{class E{}return E.\u0275fac=function(_){return new(_||E)},E.\u0275dir=c.lG2({type:E,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),E})();const yi={provide:ce,useExisting:(0,c.Gpc)(()=>$i),multi:!0};let $i=(()=>{class E extends G{writeValue(_){this.setProperty("value",_??"")}registerOnChange(_){this.onChange=P=>{_(""==P?null:parseFloat(P))}}}return E.\u0275fac=function(){let C;return function(P){return(C||(C=c.n5z(E)))(P||E)}}(),E.\u0275dir=c.lG2({type:E,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(_,P){1&_&&c.NdJ("input",function(je){return P.onChange(je.target.value)})("blur",function(){return P.onTouched()})},features:[c._Bn([yi]),c.qOj]}),E})(),zi=(()=>{class E{}return E.\u0275fac=function(_){return new(_||E)},E.\u0275mod=c.oAB({type:E}),E.\u0275inj=c.cJS({}),E})();const cs=new c.OlP("NgModelWithFormControlWarning"),Is={provide:Lt,useExisting:(0,c.Gpc)(()=>Cr)};let Cr=(()=>{class E extends Lt{constructor(_,P,he,je){super(),this._ngModelWarningConfig=je,this.update=new c.vpe,this._ngModelWarningSent=!1,this._setValidators(_),this._setAsyncValidators(P),this.valueAccessor=sn(0,he)}set isDisabled(_){}ngOnChanges(_){if(this._isControlChanged(_)){const P=_.form.previousValue;P&&_e(P,this,!1),De(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}rn(_,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&_e(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(_){this.viewModel=_,this.update.emit(_)}_isControlChanged(_){return _.hasOwnProperty("form")}}return E._ngModelWarningSentOnce=!1,E.\u0275fac=function(_){return new(_||E)(c.Y36(Z,10),c.Y36(Pe,10),c.Y36(ce,10),c.Y36(cs,8))},E.\u0275dir=c.lG2({type:E,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[c._Bn([Is]),c.qOj,c.TTD]}),E})();const ds={provide:jt,useExisting:(0,c.Gpc)(()=>Ii)};let Ii=(()=>{class E extends jt{constructor(_,P){super(),this.validators=_,this.asyncValidators=P,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new c.vpe,this._setValidators(_),this._setAsyncValidators(P)}ngOnChanges(_){this._checkFormPresent(),_.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Nn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(_){const P=this.form.get(_.path);return De(P,_),P.updateValueAndValidity({emitEvent:!1}),this.directives.push(_),P}getControl(_){return this.form.get(_.path)}removeControl(_){_e(_.control||null,_,!1),function jn(E,C){const _=E.indexOf(C);_>-1&&E.splice(_,1)}(this.directives,_)}addFormGroup(_){this._setUpFormContainer(_)}removeFormGroup(_){this._cleanUpFormContainer(_)}getFormGroup(_){return this.form.get(_.path)}addFormArray(_){this._setUpFormContainer(_)}removeFormArray(_){this._cleanUpFormContainer(_)}getFormArray(_){return this.form.get(_.path)}updateModel(_,P){this.form.get(_.path).setValue(P)}onSubmit(_){return this.submitted=!0,Dr(this.form,this.directives),this.ngSubmit.emit(_),!1}onReset(){this.resetForm()}resetForm(_){this.form.reset(_),this.submitted=!1}_updateDomValue(){this.directives.forEach(_=>{const P=_.control,he=this.form.get(_.path);P!==he&&(_e(P||null,_),(E=>E instanceof Or)(he)&&(De(he,_),_.control=he))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(_){const P=this.form.get(_.path);_r(P,_),P.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(_){if(this.form){const P=this.form.get(_.path);P&&function lt(E,C){return Nn(E,C)}(P,_)&&P.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Rt(this.form,this),this._oldForm&&Nn(this._oldForm,this)}_checkFormPresent(){}}return E.\u0275fac=function(_){return new(_||E)(c.Y36(Z,10),c.Y36(Pe,10))},E.\u0275dir=c.lG2({type:E,selectors:[["","formGroup",""]],hostBindings:function(_,P){1&_&&c.NdJ("submit",function(je){return P.onSubmit(je)})("reset",function(){return P.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([ds]),c.qOj,c.TTD]}),E})();let Rr=(()=>{class E{constructor(){this._validator=zt}ngOnChanges(_){if(this.inputName in _){const P=this.normalizeInput(_[this.inputName].currentValue);this._enabled=this.enabled(P),this._validator=this._enabled?this.createValidator(P):zt,this._onChange&&this._onChange()}}validate(_){return this._validator(_)}registerOnValidatorChange(_){this._onChange=_}enabled(_){return null!=_}}return E.\u0275fac=function(_){return new(_||E)},E.\u0275dir=c.lG2({type:E,features:[c.TTD]}),E})();const Ks={provide:Z,useExisting:(0,c.Gpc)(()=>nn),multi:!0};let nn=(()=>{class E extends Rr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=c.D6c,this.createValidator=_=>ot}enabled(_){return _}}return E.\u0275fac=function(){let C;return function(P){return(C||(C=c.n5z(E)))(P||E)}}(),E.\u0275dir=c.lG2({type:E,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(_,P){2&_&&c.uIk("required",P._enabled?"":null)},inputs:{required:"required"},features:[c._Bn([Ks]),c.qOj]}),E})();const xi={provide:Z,useExisting:(0,c.Gpc)(()=>Os),multi:!0};let Os=(()=>{class E extends Rr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=_=>function Ur(E){return"number"==typeof E?E:parseInt(E,10)}(_),this.createValidator=_=>kt(_)}}return E.\u0275fac=function(){let C;return function(P){return(C||(C=c.n5z(E)))(P||E)}}(),E.\u0275dir=c.lG2({type:E,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(_,P){2&_&&c.uIk("maxlength",P._enabled?P.maxlength:null)},inputs:{maxlength:"maxlength"},features:[c._Bn([xi]),c.qOj]}),E})();const ii={provide:Z,useExisting:(0,c.Gpc)(()=>Ji),multi:!0};let Ji=(()=>{class E extends Rr{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=_=>_,this.createValidator=_=>Mn(_)}}return E.\u0275fac=function(){let C;return function(P){return(C||(C=c.n5z(E)))(P||E)}}(),E.\u0275dir=c.lG2({type:E,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(_,P){2&_&&c.uIk("pattern",P._enabled?P.pattern:null)},inputs:{pattern:"pattern"},features:[c._Bn([ii]),c.qOj]}),E})(),Xi=(()=>{class E{}return E.\u0275fac=function(_){return new(_||E)},E.\u0275mod=c.oAB({type:E}),E.\u0275inj=c.cJS({imports:[zi]}),E})(),es=(()=>{class E{}return E.\u0275fac=function(_){return new(_||E)},E.\u0275mod=c.oAB({type:E}),E.\u0275inj=c.cJS({imports:[Xi]}),E})(),bi=(()=>{class E{static withConfig(_){return{ngModule:E,providers:[{provide:cs,useValue:_.warnOnNgModelWithFormControl}]}}}return E.\u0275fac=function(_){return new(_||E)},E.\u0275mod=c.oAB({type:E}),E.\u0275inj=c.cJS({imports:[Xi]}),E})()},1481:(ze,pe,N)=>{N.d(pe,{Dx:()=>ve,H7:()=>vr,b2:()=>rr,q6:()=>nr,se:()=>Ge});var c=N(6895),v=N(5062);class Q extends c.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class oe extends Q{static makeCurrent(){(0,c.HT)(new oe)}onAndCancel($,F,X){return $.addEventListener(F,X,!1),()=>{$.removeEventListener(F,X,!1)}}dispatchEvent($,F){$.dispatchEvent(F)}remove($){$.parentNode&&$.parentNode.removeChild($)}createElement($,F){return(F=F||this.getDefaultDocument()).createElement($)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode($){return $.nodeType===Node.ELEMENT_NODE}isShadowRoot($){return $ instanceof DocumentFragment}getGlobalEventTarget($,F){return"window"===F?window:"document"===F?$:"body"===F?$.body:null}getBaseHref($){const F=function Y(){return J=J||document.querySelector("base"),J?J.getAttribute("href"):null}();return null==F?null:function te(ee){z=z||document.createElement("a"),z.setAttribute("href",ee);const $=z.pathname;return"/"===$.charAt(0)?$:`/${$}`}(F)}resetBaseElement(){J=null}getUserAgent(){return window.navigator.userAgent}getCookie($){return(0,c.Mx)(document.cookie,$)}}let z,J=null;const re=new v.OlP("TRANSITION_ID"),G=[{provide:v.ip1,useFactory:function K(ee,$,F){return()=>{F.get(v.CZH).donePromise.then(()=>{const X=(0,c.q)(),De=$.querySelectorAll(`style[ng-transition="${ee}"]`);for(let _e=0;_e<De.length;_e++)X.remove(De[_e])})}},deps:[re,c.K0,v.zs3],multi:!0}];let ae=(()=>{class ee{build(){return new XMLHttpRequest}}return ee.\u0275fac=function(F){return new(F||ee)},ee.\u0275prov=v.Yz7({token:ee,factory:ee.\u0275fac}),ee})();const Ce=new v.OlP("EventManagerPlugins");let xe=(()=>{class ee{constructor(F,X){this._zone=X,this._eventNameToPlugin=new Map,F.forEach(De=>De.manager=this),this._plugins=F.slice().reverse()}addEventListener(F,X,De){return this._findPluginFor(X).addEventListener(F,X,De)}addGlobalEventListener(F,X,De){return this._findPluginFor(X).addGlobalEventListener(F,X,De)}getZone(){return this._zone}_findPluginFor(F){const X=this._eventNameToPlugin.get(F);if(X)return X;const De=this._plugins;for(let _e=0;_e<De.length;_e++){const Re=De[_e];if(Re.supports(F))return this._eventNameToPlugin.set(F,Re),Re}throw new Error(`No event manager plugin found for event ${F}`)}}return ee.\u0275fac=function(F){return new(F||ee)(v.LFG(Ce),v.LFG(v.R0b))},ee.\u0275prov=v.Yz7({token:ee,factory:ee.\u0275fac}),ee})();class ye{constructor($){this._doc=$}addGlobalEventListener($,F,X){const De=(0,c.q)().getGlobalEventTarget(this._doc,$);if(!De)throw new Error(`Unsupported event target ${De} for event ${F}`);return this.addEventListener(De,F,X)}}let ne=(()=>{class ee{constructor(){this._stylesSet=new Set}addStyles(F){const X=new Set;F.forEach(De=>{this._stylesSet.has(De)||(this._stylesSet.add(De),X.add(De))}),this.onStylesAdded(X)}onStylesAdded(F){}getAllStyles(){return Array.from(this._stylesSet)}}return ee.\u0275fac=function(F){return new(F||ee)},ee.\u0275prov=v.Yz7({token:ee,factory:ee.\u0275fac}),ee})(),Oe=(()=>{class ee extends ne{constructor(F){super(),this._doc=F,this._hostNodes=new Map,this._hostNodes.set(F.head,[])}_addStylesToHost(F,X,De){F.forEach(_e=>{const Re=this._doc.createElement("style");Re.textContent=_e,De.push(X.appendChild(Re))})}addHost(F){const X=[];this._addStylesToHost(this._stylesSet,F,X),this._hostNodes.set(F,X)}removeHost(F){const X=this._hostNodes.get(F);X&&X.forEach(Ye),this._hostNodes.delete(F)}onStylesAdded(F){this._hostNodes.forEach((X,De)=>{this._addStylesToHost(F,De,X)})}ngOnDestroy(){this._hostNodes.forEach(F=>F.forEach(Ye))}}return ee.\u0275fac=function(F){return new(F||ee)(v.LFG(c.K0))},ee.\u0275prov=v.Yz7({token:ee,factory:ee.\u0275fac}),ee})();function Ye(ee){(0,c.q)().remove(ee)}const le={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/"},be=/%COMP%/g;function ot(ee,$,F){for(let X=0;X<$.length;X++){let De=$[X];Array.isArray(De)?ot(ee,De,F):(De=De.replace(be,ee),F.push(De))}return F}function at(ee){return $=>{if("__ngUnwrap__"===$)return ee;!1===ee($)&&($.preventDefault(),$.returnValue=!1)}}let Ge=(()=>{class ee{constructor(F,X,De){this.eventManager=F,this.sharedStylesHost=X,this.appId=De,this.rendererByCompId=new Map,this.defaultRenderer=new kt(F)}createRenderer(F,X){if(!F||!X)return this.defaultRenderer;switch(X.encapsulation){case v.ifc.Emulated:{let De=this.rendererByCompId.get(X.id);return De||(De=new Vn(this.eventManager,this.sharedStylesHost,X,this.appId),this.rendererByCompId.set(X.id,De)),De.applyToHost(F),De}case 1:case v.ifc.ShadowDom:return new Yr(this.eventManager,this.sharedStylesHost,F,X);default:if(!this.rendererByCompId.has(X.id)){const De=ot(X.id,X.styles,[]);this.sharedStylesHost.addStyles(De),this.rendererByCompId.set(X.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ee.\u0275fac=function(F){return new(F||ee)(v.LFG(xe),v.LFG(Oe),v.LFG(v.AFp))},ee.\u0275prov=v.Yz7({token:ee,factory:ee.\u0275fac}),ee})();class kt{constructor($){this.eventManager=$,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement($,F){return F?document.createElementNS(le[F]||F,$):document.createElement($)}createComment($){return document.createComment($)}createText($){return document.createTextNode($)}appendChild($,F){(Ln($)?$.content:$).appendChild(F)}insertBefore($,F,X){$&&(Ln($)?$.content:$).insertBefore(F,X)}removeChild($,F){$&&$.removeChild(F)}selectRootElement($,F){let X="string"==typeof $?document.querySelector($):$;if(!X)throw new Error(`The selector "${$}" did not match any elements`);return F||(X.textContent=""),X}parentNode($){return $.parentNode}nextSibling($){return $.nextSibling}setAttribute($,F,X,De){if(De){F=De+":"+F;const _e=le[De];_e?$.setAttributeNS(_e,F,X):$.setAttribute(F,X)}else $.setAttribute(F,X)}removeAttribute($,F,X){if(X){const De=le[X];De?$.removeAttributeNS(De,F):$.removeAttribute(`${X}:${F}`)}else $.removeAttribute(F)}addClass($,F){$.classList.add(F)}removeClass($,F){$.classList.remove(F)}setStyle($,F,X,De){De&(v.JOm.DashCase|v.JOm.Important)?$.style.setProperty(F,X,De&v.JOm.Important?"important":""):$.style[F]=X}removeStyle($,F,X){X&v.JOm.DashCase?$.style.removeProperty(F):$.style[F]=""}setProperty($,F,X){$[F]=X}setValue($,F){$.nodeValue=F}listen($,F,X){return"string"==typeof $?this.eventManager.addGlobalEventListener($,F,at(X)):this.eventManager.addEventListener($,F,at(X))}}function Ln(ee){return"TEMPLATE"===ee.tagName&&void 0!==ee.content}class Vn extends kt{constructor($,F,X,De){super($),this.component=X;const _e=ot(De+"-"+X.id,X.styles,[]);F.addStyles(_e),this.contentAttr=function _t(ee){return"_ngcontent-%COMP%".replace(be,ee)}(De+"-"+X.id),this.hostAttr=function Ke(ee){return"_nghost-%COMP%".replace(be,ee)}(De+"-"+X.id)}applyToHost($){super.setAttribute($,this.hostAttr,"")}createElement($,F){const X=super.createElement($,F);return super.setAttribute(X,this.contentAttr,""),X}}class Yr extends kt{constructor($,F,X,De){super($),this.sharedStylesHost=F,this.hostEl=X,this.shadowRoot=X.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const _e=ot(De.id,De.styles,[]);for(let Re=0;Re<_e.length;Re++){const yt=document.createElement("style");yt.textContent=_e[Re],this.shadowRoot.appendChild(yt)}}nodeOrShadowRoot($){return $===this.hostEl?this.shadowRoot:$}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild($,F){return super.appendChild(this.nodeOrShadowRoot($),F)}insertBefore($,F,X){return super.insertBefore(this.nodeOrShadowRoot($),F,X)}removeChild($,F){return super.removeChild(this.nodeOrShadowRoot($),F)}parentNode($){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($)))}}let di=(()=>{class ee extends ye{constructor(F){super(F)}supports(F){return!0}addEventListener(F,X,De){return F.addEventListener(X,De,!1),()=>this.removeEventListener(F,X,De)}removeEventListener(F,X,De){return F.removeEventListener(X,De)}}return ee.\u0275fac=function(F){return new(F||ee)(v.LFG(c.K0))},ee.\u0275prov=v.Yz7({token:ee,factory:ee.\u0275fac}),ee})();const Kr=["alt","control","meta","shift"],Ae={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ie={alt:ee=>ee.altKey,control:ee=>ee.ctrlKey,meta:ee=>ee.metaKey,shift:ee=>ee.shiftKey};let q=(()=>{class ee extends ye{constructor(F){super(F)}supports(F){return null!=ee.parseEventName(F)}addEventListener(F,X,De){const _e=ee.parseEventName(X),Re=ee.eventCallback(_e.fullKey,De,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.q)().onAndCancel(F,_e.domEventName,Re))}static parseEventName(F){const X=F.toLowerCase().split("."),De=X.shift();if(0===X.length||"keydown"!==De&&"keyup"!==De)return null;const _e=ee._normalizeKey(X.pop());let Re="",yt=X.indexOf("code");if(yt>-1&&(X.splice(yt,1),Re="code."),Kr.forEach(Nn=>{const en=X.indexOf(Nn);en>-1&&(X.splice(en,1),Re+=Nn+".")}),Re+=_e,0!=X.length||0===_e.length)return null;const Rt={};return Rt.domEventName=De,Rt.fullKey=Re,Rt}static matchEventFullKeyCode(F,X){let De=Ae[F.key]||F.key,_e="";return X.indexOf("code.")>-1&&(De=F.code,_e="code."),!(null==De||!De)&&(De=De.toLowerCase()," "===De?De="space":"."===De&&(De="dot"),Kr.forEach(Re=>{Re!==De&&(0,Ie[Re])(F)&&(_e+=Re+".")}),_e+=De,_e===X)}static eventCallback(F,X,De){return _e=>{ee.matchEventFullKeyCode(_e,F)&&De.runGuarded(()=>X(_e))}}static _normalizeKey(F){return"esc"===F?"escape":F}}return ee.\u0275fac=function(F){return new(F||ee)(v.LFG(c.K0))},ee.\u0275prov=v.Yz7({token:ee,factory:ee.\u0275fac}),ee})();const nr=(0,v.eFA)(v._c5,"browser",[{provide:v.Lbi,useValue:c.bD},{provide:v.g9A,useValue:function vn(){oe.makeCurrent()},multi:!0},{provide:c.K0,useFactory:function Qt(){return(0,v.RDi)(document),document},deps:[]}]),jt=new v.OlP(""),Lt=[{provide:v.rWj,useClass:class ce{addToWindow($){v.dqk.getAngularTestability=(X,De=!0)=>{const _e=$.findTestabilityInTree(X,De);if(null==_e)throw new Error("Could not find testability for element.");return _e},v.dqk.getAllAngularTestabilities=()=>$.getAllTestabilities(),v.dqk.getAllAngularRootElements=()=>$.getAllRootElements(),v.dqk.frameworkStabilizers||(v.dqk.frameworkStabilizers=[]),v.dqk.frameworkStabilizers.push(X=>{const De=v.dqk.getAllAngularTestabilities();let _e=De.length,Re=!1;const yt=function(Rt){Re=Re||Rt,_e--,0==_e&&X(Re)};De.forEach(function(Rt){Rt.whenStable(yt)})})}findTestabilityInTree($,F,X){return null==F?null:$.getTestability(F)??(X?(0,c.q)().isShadowRoot(F)?this.findTestabilityInTree($,F.host,!0):this.findTestabilityInTree($,F.parentElement,!0):null)}},deps:[]},{provide:v.lri,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]},{provide:v.dDg,useClass:v.dDg,deps:[v.R0b,v.eoX,v.rWj]}],tt=[{provide:v.zSh,useValue:"root"},{provide:v.qLn,useFactory:function _n(){return new v.qLn},deps:[]},{provide:Ce,useClass:di,multi:!0,deps:[c.K0,v.R0b,v.Lbi]},{provide:Ce,useClass:q,multi:!0,deps:[c.K0]},{provide:Ge,useClass:Ge,deps:[xe,Oe,v.AFp]},{provide:v.FYo,useExisting:Ge},{provide:ne,useExisting:Oe},{provide:Oe,useClass:Oe,deps:[c.K0]},{provide:xe,useClass:xe,deps:[Ce,v.R0b]},{provide:c.JF,useClass:ae,deps:[]},[]];let rr=(()=>{class ee{constructor(F){}static withServerTransition(F){return{ngModule:ee,providers:[{provide:v.AFp,useValue:F.appId},{provide:re,useExisting:v.AFp},G]}}}return ee.\u0275fac=function(F){return new(F||ee)(v.LFG(jt,12))},ee.\u0275mod=v.oAB({type:ee}),ee.\u0275inj=v.cJS({providers:[...tt,...Lt],imports:[c.ez,v.hGG]}),ee})(),ve=(()=>{class ee{constructor(F){this._doc=F}getTitle(){return this._doc.title}setTitle(F){this._doc.title=F||""}}return ee.\u0275fac=function(F){return new(F||ee)(v.LFG(c.K0))},ee.\u0275prov=v.Yz7({token:ee,factory:function(F){let X=null;return X=F?new F:function Kn(){return new ve((0,v.LFG)(c.K0))}(),X},providedIn:"root"}),ee})();typeof window<"u"&&window;let vr=(()=>{class ee{}return ee.\u0275fac=function(F){return new(F||ee)},ee.\u0275prov=v.Yz7({token:ee,factory:function(F){let X=null;return X=F?new(F||ee):v.LFG(Tr),X},providedIn:"root"}),ee})(),Tr=(()=>{class ee extends vr{constructor(F){super(),this._doc=F}sanitize(F,X){if(null==X)return null;switch(F){case v.q3G.NONE:return X;case v.q3G.HTML:return(0,v.qzn)(X,"HTML")?(0,v.z3N)(X):(0,v.EiD)(this._doc,String(X)).toString();case v.q3G.STYLE:return(0,v.qzn)(X,"Style")?(0,v.z3N)(X):X;case v.q3G.SCRIPT:if((0,v.qzn)(X,"Script"))return(0,v.z3N)(X);throw new Error("unsafe value used in a script context");case v.q3G.URL:return(0,v.qzn)(X,"URL")?(0,v.z3N)(X):(0,v.mCW)(String(X));case v.q3G.RESOURCE_URL:if((0,v.qzn)(X,"ResourceURL"))return(0,v.z3N)(X);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${F} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(F){return(0,v.JVY)(F)}bypassSecurityTrustStyle(F){return(0,v.L6k)(F)}bypassSecurityTrustScript(F){return(0,v.eBb)(F)}bypassSecurityTrustUrl(F){return(0,v.LAX)(F)}bypassSecurityTrustResourceUrl(F){return(0,v.pB0)(F)}}return ee.\u0275fac=function(F){return new(F||ee)(v.LFG(c.K0))},ee.\u0275prov=v.Yz7({token:ee,factory:function(F){let X=null;return X=F?new F:function sr(ee){return new Tr(ee.get(c.K0))}(v.LFG(v.zs3)),X},providedIn:"root"}),ee})()},2920:(ze,pe,N)=>{N.d(pe,{gz:()=>cr,F0:()=>fe,Od:()=>nt,yS:()=>vt,Bz:()=>Us,lC:()=>Ci});var c=N(5062),v=N(5254),Q=N(1086),oe=N(591);const Y=(()=>{function d(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return d.prototype=Object.create(Error.prototype),d})();var z=N(3426),te=N(1221),re=N(8514),K=N(4843),G=N(1737),ce=N(6498),ae=N(8896),Ce=N(1762),xe=N(8929),ye=N(6895),ne=N(4850),Oe=N(7545),Ye=N(2986),le=N(1059),be=N(2198),Z=N(1709),Pe=N(3489);function Et(d=null){return h=>h.lift(new It(d))}class It{constructor(h){this.defaultValue=h}call(h,u){return u.subscribe(new _t(h,this.defaultValue))}}class _t extends Pe.L{constructor(h,u){super(h),this.defaultValue=u,this.isEmpty=!0}_next(h){this.isEmpty=!1,this.destination.next(h)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Ke(d=Nt){return h=>h.lift(new ot(d))}class ot{constructor(h){this.errorFactory=h}call(h,u){return u.subscribe(new at(h,this.errorFactory))}}class at extends Pe.L{constructor(h,u){super(h),this.errorFactory=u,this.hasValue=!1}_next(h){this.hasValue=!0,this.destination.next(h)}_complete(){if(this.hasValue)return this.destination.complete();{let h;try{h=this.errorFactory()}catch(u){h=u}this.destination.error(h)}}}function Nt(){return new Y}var Ge=N(5379);function kt(d,h){const u=arguments.length>=2;return y=>y.pipe(d?(0,be.h)((w,A)=>d(w,A,y)):Ge.y,(0,Ye.q)(1),u?Et(h):Ke(()=>new Y))}var Mn=N(1406),zt=N(2868),Ln=N(1177);function Vn(d){return function(u){const y=new Yr(d),w=u.lift(y);return y.caught=w}}class Yr{constructor(h){this.selector=h}call(h,u){return u.subscribe(new di(h,this.selector,this.caught))}}class di extends Ln.Ds{constructor(h,u,y){super(h),this.selector=u,this.caught=y}error(h){if(!this.isStopped){let u;try{u=this.selector(h,this.caught)}catch(A){return void super.error(A)}this._unsubscribeAndRecycle();const y=new Ln.IY(this);this.add(y);const w=(0,Ln.ft)(u,y);w!==y&&this.add(w)}}}function Kr(d,h){let u=!1;return arguments.length>=2&&(u=!0),function(w){return w.lift(new Ae(d,h,u))}}class Ae{constructor(h,u,y=!1){this.accumulator=h,this.seed=u,this.hasSeed=y}call(h,u){return u.subscribe(new Ie(h,this.accumulator,this.seed,this.hasSeed))}}class Ie extends Pe.L{constructor(h,u,y,w){super(h),this.accumulator=u,this._seed=y,this.hasSeed=w,this.index=0}get seed(){return this._seed}set seed(h){this.hasSeed=!0,this._seed=h}_next(h){if(this.hasSeed)return this._tryNext(h);this.seed=h,this.destination.next(h)}_tryNext(h){const u=this.index++;let y;try{y=this.accumulator(this.seed,h,u)}catch(w){this.destination.error(w)}this.seed=y,this.destination.next(y)}}var q=N(4231);function ue(d){return function(u){return 0===d?(0,ae.c)():u.lift(new $e(d))}}class $e{constructor(h){if(this.total=h,this.total<0)throw new q.W}call(h,u){return u.subscribe(new Mt(h,this.total))}}class Mt extends Pe.L{constructor(h,u){super(h),this.total=u,this.ring=new Array,this.count=0}_next(h){const u=this.ring,y=this.total,w=this.count++;u.length<y?u.push(h):u[w%y]=h}_complete(){const h=this.destination;let u=this.count;if(u>0){const y=this.count>=this.total?this.total:this.count,w=this.ring;for(let A=0;A<y;A++){const k=u++%y;h.next(w[k])}}h.complete()}}function xt(d,h){const u=arguments.length>=2;return y=>y.pipe(d?(0,be.h)((w,A)=>d(w,A,y)):Ge.y,ue(1),u?Et(h):Ke(()=>new Y))}var Yn=N(4290);class _n{constructor(h){this.value=h}call(h,u){return u.subscribe(new Qt(h,this.value))}}class Qt extends Pe.L{constructor(h,u){super(h),this.value=u}_next(h){this.destination.next(this.value)}}var Dn=N(537),nr=N(4327),jt=N(9146),Lt=N(1481);const tt="primary",rr=Symbol("RouteTitle");class hi{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const u=this.params[h];return Array.isArray(u)?u[0]:u}return null}getAll(h){if(this.has(h)){const u=this.params[h];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function Bn(d){return new hi(d)}function rt(d,h,u){const y=u.path.split("/");if(y.length>d.length||"full"===u.pathMatch&&(h.hasChildren()||y.length<d.length))return null;const w={};for(let A=0;A<y.length;A++){const k=y[A],V=d[A];if(k.startsWith(":"))w[k.substring(1)]=V;else if(k!==V.path)return null}return{consumed:d.slice(0,y.length),posParams:w}}function ve(d,h){const u=d?Object.keys(d):void 0,y=h?Object.keys(h):void 0;if(!u||!y||u.length!=y.length)return!1;let w;for(let A=0;A<u.length;A++)if(w=u[A],!B(d[w],h[w]))return!1;return!0}function B(d,h){if(Array.isArray(d)&&Array.isArray(h)){if(d.length!==h.length)return!1;const u=[...d].sort(),y=[...h].sort();return u.every((w,A)=>y[A]===w)}return d===h}function L(d){return Array.prototype.concat.apply([],d)}function me(d){return d.length>0?d[d.length-1]:null}function Fe(d,h){for(const u in d)d.hasOwnProperty(u)&&h(d[u],u)}function Le(d){return(0,c.CqO)(d)?d:(0,c.QGY)(d)?(0,v.D)(Promise.resolve(d)):(0,Q.of)(d)}const Dt={exact:function Xe(d,h,u){if(!mr(d.segments,h.segments)||!Yt(d.segments,h.segments,u)||d.numberOfChildren!==h.numberOfChildren)return!1;for(const y in h.children)if(!d.children[y]||!Xe(d.children[y],h.children[y],u))return!1;return!0},subset:Hn},Ht={exact:function ht(d,h){return ve(d,h)},subset:function Vt(d,h){return Object.keys(h).length<=Object.keys(d).length&&Object.keys(h).every(u=>B(d[u],h[u]))},ignored:()=>!0};function ir(d,h,u){return Dt[u.paths](d.root,h.root,u.matrixParams)&&Ht[u.queryParams](d.queryParams,h.queryParams)&&!("exact"===u.fragment&&d.fragment!==h.fragment)}function Hn(d,h,u){return Pn(d,h,h.segments,u)}function Pn(d,h,u,y){if(d.segments.length>u.length){const w=d.segments.slice(0,u.length);return!(!mr(w,u)||h.hasChildren()||!Yt(w,u,y))}if(d.segments.length===u.length){if(!mr(d.segments,u)||!Yt(d.segments,u,y))return!1;for(const w in h.children)if(!d.children[w]||!Hn(d.children[w],h.children[w],y))return!1;return!0}{const w=u.slice(0,d.segments.length),A=u.slice(d.segments.length);return!!(mr(d.segments,w)&&Yt(d.segments,w,y)&&d.children[tt])&&Pn(d.children[tt],h,A,y)}}function Yt(d,h,u){return h.every((y,w)=>Ht[u](d[w].parameters,y.parameters))}class qt{constructor(h,u,y){this.root=h,this.queryParams=u,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bn(this.queryParams)),this._queryParamMap}toString(){return Mi.serialize(this)}}class it{constructor(h,u){this.segments=h,this.children=u,this.parent=null,Fe(u,(y,w)=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return vr(this)}}class Cn{constructor(h,u){this.path=h,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=Bn(this.parameters)),this._parameterMap}toString(){return De(this)}}function mr(d,h){return d.length===h.length&&d.every((u,y)=>u.path===h[y].path)}let fi=(()=>{class d{}return d.\u0275fac=function(u){return new(u||d)},d.\u0275prov=c.Yz7({token:d,factory:function(){return new yr},providedIn:"root"}),d})();class yr{parse(h){const u=new pi(h);return new qt(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(h){const u=`/${sr(h.root,!0)}`,y=function Re(d){const h=Object.keys(d).map(u=>{const y=d[u];return Array.isArray(y)?y.map(w=>`${Ot(u)}=${Ot(w)}`).join("&"):`${Ot(u)}=${Ot(y)}`}).filter(u=>!!u);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${u}${y}${"string"==typeof h.fragment?`#${function ee(d){return encodeURI(d)}(h.fragment)}`:""}`}}const Mi=new yr;function vr(d){return d.segments.map(h=>De(h)).join("/")}function sr(d,h){if(!d.hasChildren())return vr(d);if(h){const u=d.children[tt]?sr(d.children[tt],!1):"",y=[];return Fe(d.children,(w,A)=>{A!==tt&&y.push(`${A}:${sr(w,!1)}`)}),y.length>0?`${u}(${y.join("//")})`:u}{const u=function qr(d,h){let u=[];return Fe(d.children,(y,w)=>{w===tt&&(u=u.concat(h(y,w)))}),Fe(d.children,(y,w)=>{w!==tt&&(u=u.concat(h(y,w)))}),u}(d,(y,w)=>w===tt?[sr(d.children[tt],!1)]:[`${w}:${sr(y,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[tt]?`${vr(d)}/${u[0]}`:`${vr(d)}/(${u.join("//")})`}}function Tr(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ot(d){return Tr(d).replace(/%3B/gi,";")}function $(d){return Tr(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function F(d){return decodeURIComponent(d)}function X(d){return F(d.replace(/\+/g,"%20"))}function De(d){return`${$(d.path)}${function _e(d){return Object.keys(d).map(h=>`;${$(h)}=${$(d[h])}`).join("")}(d.parameters)}`}const yt=/^[^\/()?;=#]+/;function Rt(d){const h=d.match(yt);return h?h[0]:""}const Nn=/^[^=?&#]+/,Ar=/^[^&#]+/;class pi{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new it([],{}):new it([],this.parseChildren())}parseQueryParams(){const h={};if(this.consumeOptional("?"))do{this.parseQueryParam(h)}while(this.consumeOptional("&"));return h}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const h=[];for(this.peekStartsWith("(")||h.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),h.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(h.length>0||Object.keys(u).length>0)&&(y[tt]=new it(h,u)),y}parseSegment(){const h=Rt(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new c.vHH(4009,!1);return this.capture(h),new Cn(F(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const u=Rt(this.remaining);if(!u)return;this.capture(u);let y="";if(this.consumeOptional("=")){const w=Rt(this.remaining);w&&(y=w,this.capture(y))}h[F(u)]=F(y)}parseQueryParam(h){const u=function en(d){const h=d.match(Nn);return h?h[0]:""}(this.remaining);if(!u)return;this.capture(u);let y="";if(this.consumeOptional("=")){const k=function Zt(d){const h=d.match(Ar);return h?h[0]:""}(this.remaining);k&&(y=k,this.capture(y))}const w=X(u),A=X(y);if(h.hasOwnProperty(w)){let k=h[w];Array.isArray(k)||(k=[k],h[w]=k),k.push(A)}else h[w]=A}parseParens(h){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=Rt(this.remaining),w=this.remaining[y.length];if("/"!==w&&")"!==w&&";"!==w)throw new c.vHH(4010,!1);let A;y.indexOf(":")>-1?(A=y.slice(0,y.indexOf(":")),this.capture(A),this.capture(":")):h&&(A=tt);const k=this.parseChildren();u[A]=1===Object.keys(k).length?k[tt]:new it([],k),this.consumeOptional("//")}return u}peekStartsWith(h){return this.remaining.startsWith(h)}consumeOptional(h){return!!this.peekStartsWith(h)&&(this.remaining=this.remaining.substring(h.length),!0)}capture(h){if(!this.consumeOptional(h))throw new c.vHH(4011,!1)}}function _r(d){return d.segments.length>0?new it([],{[tt]:d}):d}function lt(d){const h={};for(const y of Object.keys(d.children)){const A=lt(d.children[y]);(A.segments.length>0||A.hasChildren())&&(h[y]=A)}return function Un(d){if(1===d.numberOfChildren&&d.children[tt]){const h=d.children[tt];return new it(d.segments.concat(h.segments),h.children)}return d}(new it(d.segments,h))}function Tn(d){return d instanceof qt}function Dr(d,h,u,y,w){if(0===u.length)return Br(h.root,h.root,h.root,y,w);const A=function gi(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new Zr(!0,0,d);let h=0,u=!1;const y=d.reduce((w,A,k)=>{if("object"==typeof A&&null!=A){if(A.outlets){const V={};return Fe(A.outlets,(ge,ke)=>{V[ke]="string"==typeof ge?ge.split("/"):ge}),[...w,{outlets:V}]}if(A.segmentPath)return[...w,A.segmentPath]}return"string"!=typeof A?[...w,A]:0===k?(A.split("/").forEach((V,ge)=>{0==ge&&"."===V||(0==ge&&""===V?u=!0:".."===V?h++:""!=V&&w.push(V))}),w):[...w,A]},[]);return new Zr(u,h,y)}(u);return A.toRoot()?Br(h.root,h.root,new it([],{}),y,w):function k(ge){const ke=function Or(d,h,u,y){if(d.isAbsolute)return new gn(h.root,!0,0);if(-1===y)return new gn(u,u===h.root,0);return function Jr(d,h,u){let y=d,w=h,A=u;for(;A>w;){if(A-=w,y=y.parent,!y)throw new c.vHH(4005,!1);w=y.segments.length}return new gn(y,!1,w-A)}(u,y+(sn(d.commands[0])?0:1),d.numberOfDoubleDots)}(A,h,d.snapshot?._urlSegment,ge),bt=ke.processChildren?Xr(ke.segmentGroup,ke.index,A.commands):tn(ke.segmentGroup,ke.index,A.commands);return Br(h.root,ke.segmentGroup,bt,y,w)}(d.snapshot?._lastPathIndex)}function sn(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function jn(d){return"object"==typeof d&&null!=d&&d.outlets}function Br(d,h,u,y,w){let k,A={};y&&Fe(y,(ge,ke)=>{A[ke]=Array.isArray(ge)?ge.map(bt=>`${bt}`):`${ge}`}),k=d===h?u:Bt(d,h,u);const V=_r(lt(k));return new qt(V,A,w)}function Bt(d,h,u){const y={};return Fe(d.children,(w,A)=>{y[A]=w===h?u:Bt(w,h,u)}),new it(d.segments,y)}class Zr{constructor(h,u,y){if(this.isAbsolute=h,this.numberOfDoubleDots=u,this.commands=y,h&&y.length>0&&sn(y[0]))throw new c.vHH(4003,!1);const w=y.find(jn);if(w&&w!==me(y))throw new c.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class gn{constructor(h,u,y){this.segmentGroup=h,this.processChildren=u,this.index=y}}function tn(d,h,u){if(d||(d=new it([],{})),0===d.segments.length&&d.hasChildren())return Xr(d,h,u);const y=function qn(d,h,u){let y=0,w=h;const A={match:!1,pathIndex:0,commandIndex:0};for(;w<d.segments.length;){if(y>=u.length)return A;const k=d.segments[w],V=u[y];if(jn(V))break;const ge=`${V}`,ke=y<u.length-1?u[y+1]:null;if(w>0&&void 0===ge)break;if(ge&&ke&&"object"==typeof ke&&void 0===ke.outlets){if(!Pr(ge,ke,k))return A;y+=2}else{if(!Pr(ge,{},k))return A;y++}w++}return{match:!0,pathIndex:w,commandIndex:y}}(d,h,u),w=u.slice(y.commandIndex);if(y.match&&y.pathIndex<d.segments.length){const A=new it(d.segments.slice(0,y.pathIndex),{});return A.children[tt]=new it(d.segments.slice(y.pathIndex),d.children),Xr(A,0,w)}return y.match&&0===w.length?new it(d.segments,{}):y.match&&!d.hasChildren()?An(d,h,u):y.match?Xr(d,0,w):An(d,h,u)}function Xr(d,h,u){if(0===u.length)return new it(d.segments,{});{const y=function or(d){return jn(d[0])?d[0].outlets:{[tt]:d}}(u),w={};return Fe(y,(A,k)=>{"string"==typeof A&&(A=[A]),null!==A&&(w[k]=tn(d.children[k],h,A))}),Fe(d.children,(A,k)=>{void 0===y[k]&&(w[k]=A)}),new it(d.segments,w)}}function An(d,h,u){const y=d.segments.slice(0,h);let w=0;for(;w<u.length;){const A=u[w];if(jn(A)){const ge=Ti(A.outlets);return new it(y,ge)}if(0===w&&sn(u[0])){y.push(new Cn(d.segments[h].path,ei(u[0]))),w++;continue}const k=jn(A)?A.outlets[tt]:`${A}`,V=w<u.length-1?u[w+1]:null;k&&V&&sn(V)?(y.push(new Cn(k,ei(V))),w+=2):(y.push(new Cn(k,{})),w++)}return new it(y,{})}function Ti(d){const h={};return Fe(d,(u,y)=>{"string"==typeof u&&(u=[u]),null!==u&&(h[y]=An(new it([],{}),0,u))}),h}function ei(d){const h={};return Fe(d,(u,y)=>h[y]=`${u}`),h}function Pr(d,h,u){return d==u.path&&ve(h,u.parameters)}class fn{constructor(h,u){this.id=h,this.url=u}}class bn extends fn{constructor(h,u,y="imperative",w=null){super(h,u),this.type=0,this.navigationTrigger=y,this.restoredState=w}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Qn extends fn{constructor(h,u,y){super(h,u),this.urlAfterRedirects=y,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Nr extends fn{constructor(h,u,y,w){super(h,u),this.reason=y,this.code=w,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class yi extends fn{constructor(h,u,y,w){super(h,u),this.error=y,this.target=w,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class $i extends fn{constructor(h,u,y,w){super(h,u),this.urlAfterRedirects=y,this.state=w,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gi extends fn{constructor(h,u,y,w){super(h,u),this.urlAfterRedirects=y,this.state=w,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ti extends fn{constructor(h,u,y,w,A){super(h,u),this.urlAfterRedirects=y,this.state=w,this.shouldActivate=A,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class zi extends fn{constructor(h,u,y,w){super(h,u),this.urlAfterRedirects=y,this.state=w,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wi extends fn{constructor(h,u,y,w){super(h,u),this.urlAfterRedirects=y,this.state=w,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class As{constructor(h){this.route=h,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ai{constructor(h){this.route=h,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Yi{constructor(h){this.snapshot=h,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cs{constructor(h){this.snapshot=h,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Is{constructor(h){this.snapshot=h,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cr{constructor(h){this.snapshot=h,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ds{constructor(h,u,y){this.routerEvent=h,this.position=u,this.anchor=y,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ar{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const u=this.pathFromRoot(h);return u.length>1?u[u.length-2]:null}children(h){const u=xn(h,this._root);return u?u.children.map(y=>y.value):[]}firstChild(h){const u=xn(h,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(h){const u=lr(h,this._root);return u.length<2?[]:u[u.length-2].children.map(w=>w.value).filter(w=>w!==h)}pathFromRoot(h){return lr(h,this._root).map(u=>u.value)}}function xn(d,h){if(d===h.value)return h;for(const u of h.children){const y=xn(d,u);if(y)return y}return null}function lr(d,h){if(d===h.value)return[h];for(const u of h.children){const y=lr(d,u);if(y.length)return y.unshift(h),y}return[]}class ur{constructor(h,u){this.value=h,this.children=u}toString(){return`TreeNode(${this.value})`}}function xr(d){const h={};return d&&d.children.forEach(u=>h[u.value.outlet]=u),h}class Oi extends ar{constructor(h,u){super(h),this.snapshot=u,mn(this,h)}toString(){return this.snapshot.toString()}}function In(d,h){const u=function vi(d,h){const k=new Ni([],{},{},"",{},tt,h,null,d.root,-1,{});return new Ki("",new ur(k,[]))}(d,h),y=new oe.X([new Cn("",{})]),w=new oe.X({}),A=new oe.X({}),k=new oe.X({}),V=new oe.X(""),ge=new cr(y,w,k,V,A,tt,h,u.root);return ge.snapshot=u.root,new Oi(new ur(ge,[]),u)}class cr{constructor(h,u,y,w,A,k,V,ge){this.url=h,this.params=u,this.queryParams=y,this.fragment=w,this.data=A,this.outlet=k,this.component=V,this.title=this.data?.pipe((0,ne.U)(ke=>ke[rr]))??(0,Q.of)(void 0),this._futureSnapshot=ge}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,ne.U)(h=>Bn(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ne.U)(h=>Bn(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _i(d,h="emptyOnly"){const u=d.pathFromRoot;let y=0;if("always"!==h)for(y=u.length-1;y>=1;){const w=u[y],A=u[y-1];if(w.routeConfig&&""===w.routeConfig.path)y--;else{if(A.component)break;y--}}return function Pi(d){return d.reduce((h,u)=>({params:{...h.params,...u.params},data:{...h.data,...u.data},resolve:{...u.data,...h.resolve,...u.routeConfig?.data,...u._resolvedData}}),{params:{},data:{},resolve:{}})}(u.slice(y))}class Ni{constructor(h,u,y,w,A,k,V,ge,ke,bt,qe,Gt){this.url=h,this.params=u,this.queryParams=y,this.fragment=w,this.data=A,this.outlet=k,this.component=V,this.title=this.data?.[rr],this.routeConfig=ge,this._urlSegment=ke,this._lastPathIndex=bt,this._correctedLastPathIndex=Gt??bt,this._resolve=qe}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=Bn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Bn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ki extends ar{constructor(h,u){super(u),this.url=h,mn(this,u)}toString(){return qi(this._root)}}function mn(d,h){h.value._routerState=d,h.children.forEach(u=>mn(d,u))}function qi(d){const h=d.children.length>0?` { ${d.children.map(qi).join(", ")} } `:"";return`${d.value}${h}`}function ni(d){if(d.snapshot){const h=d.snapshot,u=d._futureSnapshot;d.snapshot=u,ve(h.queryParams,u.queryParams)||d.queryParams.next(u.queryParams),h.fragment!==u.fragment&&d.fragment.next(u.fragment),ve(h.params,u.params)||d.params.next(u.params),function Kn(d,h){if(d.length!==h.length)return!1;for(let u=0;u<d.length;++u)if(!ve(d[u],h[u]))return!1;return!0}(h.url,u.url)||d.url.next(u.url),ve(h.data,u.data)||d.data.next(u.data)}else d.snapshot=d._futureSnapshot,d.data.next(d._futureSnapshot.data)}function Hr(d,h){const u=ve(d.params,h.params)&&function Mr(d,h){return mr(d,h)&&d.every((u,y)=>ve(u.parameters,h[y].parameters))}(d.url,h.url);return u&&!(!d.parent!=!h.parent)&&(!d.parent||Hr(d.parent,h.parent))}function Ur(d,h,u){if(u&&d.shouldReuseRoute(h.value,u.value.snapshot)){const y=u.value;y._futureSnapshot=h.value;const w=function hs(d,h,u){return h.children.map(y=>{for(const w of u.children)if(d.shouldReuseRoute(y.value,w.value.snapshot))return Ur(d,y,w);return Ur(d,y)})}(d,h,u);return new ur(y,w)}{if(d.shouldAttach(h.value)){const A=d.retrieve(h.value);if(null!==A){const k=A.route;return k.value._futureSnapshot=h.value,k.children=h.children.map(V=>Ur(d,V)),k}}const y=function Rr(d){return new cr(new oe.X(d.url),new oe.X(d.params),new oe.X(d.queryParams),new oe.X(d.fragment),new oe.X(d.data),d.outlet,d.component,d)}(h.value),w=h.children.map(A=>Ur(d,A));return new ur(y,w)}}const Qi="ngNavigationCancelingError";function Di(d,h){const{redirectTo:u,navigationBehaviorOptions:y}=Tn(h)?{redirectTo:h,navigationBehaviorOptions:void 0}:h,w=on(!1,0,h);return w.url=u,w.navigationBehaviorOptions=y,w}function on(d,h,u){const y=new Error("NavigationCancelingError: "+(d||""));return y[Qi]=!0,y.cancellationCode=h,u&&(y.url=u),y}function Zi(d){return Ks(d)&&Tn(d.url)}function Ks(d){return d&&d[Qi]}class Jt{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new nn,this.attachRef=null}}let nn=(()=>{class d{constructor(){this.contexts=new Map}onChildOutletCreated(u,y){const w=this.getOrCreateContext(u);w.outlet=y,this.contexts.set(u,w)}onChildOutletDestroyed(u){const y=this.getContext(u);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const u=this.contexts;return this.contexts=new Map,u}onOutletReAttached(u){this.contexts=u}getOrCreateContext(u){let y=this.getContext(u);return y||(y=new Jt,this.contexts.set(u,y)),y}getContext(u){return this.contexts.get(u)||null}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275prov=c.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const Fr=!1;let Ci=(()=>{class d{constructor(u,y,w,A,k){this.parentContexts=u,this.location=y,this.changeDetector=A,this.environmentInjector=k,this.activated=null,this._activatedRoute=null,this.activateEvents=new c.vpe,this.deactivateEvents=new c.vpe,this.attachEvents=new c.vpe,this.detachEvents=new c.vpe,this.name=w||tt,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.vHH(4012,Fr);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.vHH(4012,Fr);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.vHH(4012,Fr);this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,y){this.activated=u,this._activatedRoute=y,this.location.insert(u.hostView),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,y){if(this.isActivated)throw new c.vHH(4013,Fr);this._activatedRoute=u;const w=this.location,k=u._futureSnapshot.component,V=this.parentContexts.getOrCreateContext(this.name).children,ge=new jr(u,V,w.injector);if(y&&function wn(d){return!!d.resolveComponentFactory}(y)){const ke=y.resolveComponentFactory(k);this.activated=w.createComponent(ke,w.length,ge)}else this.activated=w.createComponent(k,{index:w.length,injector:ge,environmentInjector:y??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.\u0275fac=function(u){return new(u||d)(c.Y36(nn),c.Y36(c.s_b),c.$8M("name"),c.Y36(c.sBO),c.Y36(c.lqb))},d.\u0275dir=c.lG2({type:d,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),d})();class jr{constructor(h,u,y){this.route=h,this.childContexts=u,this.parent=y}get(h,u){return h===cr?this.route:h===nn?this.childContexts:this.parent.get(h,u)}}let ri=(()=>{class d{}return d.\u0275fac=function(u){return new(u||d)},d.\u0275cmp=c.Xpm({type:d,selectors:[["ng-component"]],standalone:!0,features:[c.jDz],decls:1,vars:0,template:function(u,y){1&u&&c._UZ(0,"router-outlet")},dependencies:[Ci],encapsulation:2}),d})();function xi(d,h){return d.providers&&!d._injector&&(d._injector=(0,c.MMx)(d.providers,h,`Route: ${d.path}`)),d._injector??h}function bi(d){const h=d.children&&d.children.map(bi),u=h?{...d,children:h}:{...d};return!u.component&&!u.loadComponent&&(h||u.loadChildren)&&u.outlet&&u.outlet!==tt&&(u.component=ri),u}function $n(d){return d.outlet||tt}function Ns(d,h){const u=d.filter(y=>$n(y)===h);return u.push(...d.filter(y=>$n(y)!==h)),u}function Ri(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let h=d.parent;h;h=h.parent){const u=h.routeConfig;if(u?._loadedInjector)return u._loadedInjector;if(u?._injector)return u._injector}return null}class Se{constructor(h,u,y,w){this.routeReuseStrategy=h,this.futureState=u,this.currState=y,this.forwardEvent=w}activate(h){const u=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,y,h),ni(this.futureState.root),this.activateChildRoutes(u,y,h)}deactivateChildRoutes(h,u,y){const w=xr(u);h.children.forEach(A=>{const k=A.value.outlet;this.deactivateRoutes(A,w[k],y),delete w[k]}),Fe(w,(A,k)=>{this.deactivateRouteAndItsChildren(A,y)})}deactivateRoutes(h,u,y){const w=h.value,A=u?u.value:null;if(w===A)if(w.component){const k=y.getContext(w.outlet);k&&this.deactivateChildRoutes(h,u,k.children)}else this.deactivateChildRoutes(h,u,y);else A&&this.deactivateRouteAndItsChildren(u,y)}deactivateRouteAndItsChildren(h,u){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,u):this.deactivateRouteAndOutlet(h,u)}detachAndStoreRouteSubtree(h,u){const y=u.getContext(h.value.outlet),w=y&&h.value.component?y.children:u,A=xr(h);for(const k of Object.keys(A))this.deactivateRouteAndItsChildren(A[k],w);if(y&&y.outlet){const k=y.outlet.detach(),V=y.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:k,route:h,contexts:V})}}deactivateRouteAndOutlet(h,u){const y=u.getContext(h.value.outlet),w=y&&h.value.component?y.children:u,A=xr(h);for(const k of Object.keys(A))this.deactivateRouteAndItsChildren(A[k],w);y&&y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated(),y.attachRef=null,y.resolver=null,y.route=null)}activateChildRoutes(h,u,y){const w=xr(u);h.children.forEach(A=>{this.activateRoutes(A,w[A.value.outlet],y),this.forwardEvent(new Cr(A.value.snapshot))}),h.children.length&&this.forwardEvent(new cs(h.value.snapshot))}activateRoutes(h,u,y){const w=h.value,A=u?u.value:null;if(ni(w),w===A)if(w.component){const k=y.getOrCreateContext(w.outlet);this.activateChildRoutes(h,u,k.children)}else this.activateChildRoutes(h,u,y);else if(w.component){const k=y.getOrCreateContext(w.outlet);if(this.routeReuseStrategy.shouldAttach(w.snapshot)){const V=this.routeReuseStrategy.retrieve(w.snapshot);this.routeReuseStrategy.store(w.snapshot,null),k.children.onOutletReAttached(V.contexts),k.attachRef=V.componentRef,k.route=V.route.value,k.outlet&&k.outlet.attach(V.componentRef,V.route.value),ni(V.route.value),this.activateChildRoutes(h,null,k.children)}else{const V=Ri(w.snapshot),ge=V?.get(c._Vd)??null;k.attachRef=null,k.route=w,k.resolver=ge,k.injector=V,k.outlet&&k.outlet.activateWith(w,k.injector),this.activateChildRoutes(h,null,k.children)}}else this.activateChildRoutes(h,null,y)}}class Tt{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class Fi{constructor(h,u){this.component=h,this.route=u}}function ts(d,h,u){const y=d._root;return _(y,h?h._root:null,u,[y.value])}function C(d,h){const u=Symbol(),y=h.get(d,u);return y===u?"function"!=typeof d||(0,c.Z0I)(d)?h.get(d):d:y}function _(d,h,u,y,w={canDeactivateChecks:[],canActivateChecks:[]}){const A=xr(h);return d.children.forEach(k=>{(function P(d,h,u,y,w={canDeactivateChecks:[],canActivateChecks:[]}){const A=d.value,k=h?h.value:null,V=u?u.getContext(d.value.outlet):null;if(k&&A.routeConfig===k.routeConfig){const ge=function he(d,h,u){if("function"==typeof u)return u(d,h);switch(u){case"pathParamsChange":return!mr(d.url,h.url);case"pathParamsOrQueryParamsChange":return!mr(d.url,h.url)||!ve(d.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Hr(d,h)||!ve(d.queryParams,h.queryParams);default:return!Hr(d,h)}}(k,A,A.routeConfig.runGuardsAndResolvers);ge?w.canActivateChecks.push(new Tt(y)):(A.data=k.data,A._resolvedData=k._resolvedData),_(d,h,A.component?V?V.children:null:u,y,w),ge&&V&&V.outlet&&V.outlet.isActivated&&w.canDeactivateChecks.push(new Fi(V.outlet.component,k))}else k&&je(h,V,w),w.canActivateChecks.push(new Tt(y)),_(d,null,A.component?V?V.children:null:u,y,w)})(k,A[k.value.outlet],u,y.concat([k.value]),w),delete A[k.value.outlet]}),Fe(A,(k,V)=>je(k,u.getContext(V),w)),w}function je(d,h,u){const y=xr(d),w=d.value;Fe(y,(A,k)=>{je(A,w.component?h?h.children.getContext(k):null:h,u)}),u.canDeactivateChecks.push(new Fi(w.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,w))}function Kt(d){return"function"==typeof d}function Rs(d){return d instanceof Y||"EmptyError"===d?.name}const ps=Symbol("INITIAL_VALUE");function Li(){return(0,Oe.w)(d=>(0,z.aj)(d.map(h=>h.pipe((0,Ye.q)(1),(0,le.O)(ps)))).pipe((0,ne.U)(h=>{for(const u of h)if(!0!==u){if(u===ps)return ps;if(!1===u||u instanceof qt)return u}return!0}),(0,be.h)(h=>h!==ps),(0,Ye.q)(1)))}function O(d){return(0,K.z)((0,zt.b)(h=>{if(Tn(h))throw Di(0,h)}),(0,ne.U)(h=>!0===h))}const de={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function we(d,h,u,y,w){const A=Ue(d,h,u);return A.matched?function H(d,h,u,y){const w=h.canMatch;if(!w||0===w.length)return(0,Q.of)(!0);const A=w.map(k=>{const V=C(k,d);return Le(function fs(d){return d&&Kt(d.canMatch)}(V)?V.canMatch(h,u):d.runInContext(()=>V(h,u)))});return(0,Q.of)(A).pipe(Li(),O())}(y=xi(h,y),h,u).pipe((0,ne.U)(k=>!0===k?A:{...de})):(0,Q.of)(A)}function Ue(d,h,u){if(""===h.path)return"full"===h.pathMatch&&(d.hasChildren()||u.length>0)?{...de}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const w=(h.matcher||rt)(u,d,h);if(!w)return{...de};const A={};Fe(w.posParams,(V,ge)=>{A[ge]=V.path});const k=w.consumed.length>0?{...A,...w.consumed[w.consumed.length-1].parameters}:A;return{matched:!0,consumedSegments:w.consumed,remainingSegments:u.slice(w.consumed.length),parameters:k,positionalParamSegments:w.posParams??{}}}function mt(d,h,u,y,w="corrected"){if(u.length>0&&function et(d,h,u){return u.some(y=>$t(d,h,y)&&$n(y)!==tt)}(d,u,y)){const k=new it(h,function Ct(d,h,u,y){const w={};w[tt]=y,y._sourceSegment=d,y._segmentIndexShift=h.length;for(const A of u)if(""===A.path&&$n(A)!==tt){const k=new it([],{});k._sourceSegment=d,k._segmentIndexShift=h.length,w[$n(A)]=k}return w}(d,h,y,new it(u,d.children)));return k._sourceSegment=d,k._segmentIndexShift=h.length,{segmentGroup:k,slicedSegments:[]}}if(0===u.length&&function pn(d,h,u){return u.some(y=>$t(d,h,y))}(d,u,y)){const k=new it(d.segments,function ft(d,h,u,y,w,A){const k={};for(const V of y)if($t(d,u,V)&&!w[$n(V)]){const ge=new it([],{});ge._sourceSegment=d,ge._segmentIndexShift="legacy"===A?d.segments.length:h.length,k[$n(V)]=ge}return{...w,...k}}(d,h,u,y,d.children,w));return k._sourceSegment=d,k._segmentIndexShift=h.length,{segmentGroup:k,slicedSegments:u}}const A=new it(d.segments,d.children);return A._sourceSegment=d,A._segmentIndexShift=h.length,{segmentGroup:A,slicedSegments:u}}function $t(d,h,u){return(!(d.hasChildren()||h.length>0)||"full"!==u.pathMatch)&&""===u.path}function cn(d,h,u,y){return!!($n(d)===y||y!==tt&&$t(h,u,d))&&("**"===d.path||Ue(h,d,u).matched)}function oi(d,h,u){return 0===h.length&&!d.children[u]}const Jn=!1;class Xn{constructor(h){this.segmentGroup=h||null}}class fr{constructor(h){this.urlTree=h}}function pr(d){return(0,G._)(new Xn(d))}function ai(d){return(0,G._)(new fr(d))}class Vi{constructor(h,u,y,w,A){this.injector=h,this.configLoader=u,this.urlSerializer=y,this.urlTree=w,this.config=A,this.allowRedirects=!0}apply(){const h=mt(this.urlTree.root,[],[],this.config).segmentGroup,u=new it(h.segments,h.children);return this.expandSegmentGroup(this.injector,this.config,u,tt).pipe((0,ne.U)(A=>this.createUrlTree(lt(A),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Vn(A=>{if(A instanceof fr)return this.allowRedirects=!1,this.match(A.urlTree);throw A instanceof Xn?this.noMatchError(A):A}))}match(h){return this.expandSegmentGroup(this.injector,this.config,h.root,tt).pipe((0,ne.U)(w=>this.createUrlTree(lt(w),h.queryParams,h.fragment))).pipe(Vn(w=>{throw w instanceof Xn?this.noMatchError(w):w}))}noMatchError(h){return new c.vHH(4002,Jn)}createUrlTree(h,u,y){const w=_r(h);return new qt(w,u,y)}expandSegmentGroup(h,u,y,w){return 0===y.segments.length&&y.hasChildren()?this.expandChildren(h,u,y).pipe((0,ne.U)(A=>new it([],A))):this.expandSegment(h,y,u,y.segments,w,!0)}expandChildren(h,u,y){const w=[];for(const A of Object.keys(y.children))"primary"===A?w.unshift(A):w.push(A);return(0,v.D)(w).pipe((0,Mn.b)(A=>{const k=y.children[A],V=Ns(u,A);return this.expandSegmentGroup(h,V,k,A).pipe((0,ne.U)(ge=>({segment:ge,outlet:A})))}),Kr((A,k)=>(A[k.outlet]=k.segment,A),{}),xt())}expandSegment(h,u,y,w,A,k){return(0,v.D)(y).pipe((0,Mn.b)(V=>this.expandSegmentAgainstRoute(h,u,y,V,w,A,k).pipe(Vn(ke=>{if(ke instanceof Xn)return(0,Q.of)(null);throw ke}))),kt(V=>!!V),Vn((V,ge)=>{if(Rs(V))return oi(u,w,A)?(0,Q.of)(new it([],{})):pr(u);throw V}))}expandSegmentAgainstRoute(h,u,y,w,A,k,V){return cn(w,u,A,k)?void 0===w.redirectTo?this.matchSegmentAgainstRoute(h,u,w,A,k):V&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,u,y,w,A,k):pr(u):pr(u)}expandSegmentAgainstRouteUsingRedirect(h,u,y,w,A,k){return"**"===w.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,y,w,k):this.expandRegularSegmentAgainstRouteUsingRedirect(h,u,y,w,A,k)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,u,y,w){const A=this.applyRedirectCommands([],y.redirectTo,{});return y.redirectTo.startsWith("/")?ai(A):this.lineralizeSegments(y,A).pipe((0,Z.zg)(k=>{const V=new it(k,{});return this.expandSegment(h,V,u,k,w,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,u,y,w,A,k){const{matched:V,consumedSegments:ge,remainingSegments:ke,positionalParamSegments:bt}=Ue(u,w,A);if(!V)return pr(u);const qe=this.applyRedirectCommands(ge,w.redirectTo,bt);return w.redirectTo.startsWith("/")?ai(qe):this.lineralizeSegments(w,qe).pipe((0,Z.zg)(Gt=>this.expandSegment(h,u,y,Gt.concat(ke),k,!1)))}matchSegmentAgainstRoute(h,u,y,w,A){return"**"===y.path?(h=xi(y,h),y.loadChildren?(y._loadedRoutes?(0,Q.of)({routes:y._loadedRoutes,injector:y._loadedInjector}):this.configLoader.loadChildren(h,y)).pipe((0,ne.U)(V=>(y._loadedRoutes=V.routes,y._loadedInjector=V.injector,new it(w,{})))):(0,Q.of)(new it(w,{}))):we(u,y,w,h).pipe((0,Oe.w)(({matched:k,consumedSegments:V,remainingSegments:ge})=>k?this.getChildConfig(h=y._injector??h,y,w).pipe((0,Z.zg)(bt=>{const qe=bt.injector??h,Gt=bt.routes,{segmentGroup:gr,slicedSegments:ci}=mt(u,V,ge,Gt),js=new it(gr.segments,gr.children);if(0===ci.length&&js.hasChildren())return this.expandChildren(qe,Gt,js).pipe((0,ne.U)(Eo=>new it(V,Eo)));if(0===Gt.length&&0===ci.length)return(0,Q.of)(new it(V,{}));const wi=$n(y)===A;return this.expandSegment(qe,js,Gt,ci,wi?tt:A,!0).pipe((0,ne.U)(no=>new it(V.concat(no.segments),no.children)))})):pr(u)))}getChildConfig(h,u,y){return u.children?(0,Q.of)({routes:u.children,injector:h}):u.loadChildren?void 0!==u._loadedRoutes?(0,Q.of)({routes:u._loadedRoutes,injector:u._loadedInjector}):function D(d,h,u,y){const w=h.canLoad;if(void 0===w||0===w.length)return(0,Q.of)(!0);const A=w.map(k=>{const V=C(k,d);return Le(function ki(d){return d&&Kt(d.canLoad)}(V)?V.canLoad(h,u):d.runInContext(()=>V(h,u)))});return(0,Q.of)(A).pipe(Li(),O())}(h,u,y).pipe((0,Z.zg)(w=>w?this.configLoader.loadChildren(h,u).pipe((0,zt.b)(A=>{u._loadedRoutes=A.routes,u._loadedInjector=A.injector})):function Er(d){return(0,G._)(on(Jn,3))}())):(0,Q.of)({routes:[],injector:h})}lineralizeSegments(h,u){let y=[],w=u.root;for(;;){if(y=y.concat(w.segments),0===w.numberOfChildren)return(0,Q.of)(y);if(w.numberOfChildren>1||!w.children[tt])return(0,G._)(new c.vHH(4e3,Jn));w=w.children[tt]}}applyRedirectCommands(h,u,y){return this.applyRedirectCreateUrlTree(u,this.urlSerializer.parse(u),h,y)}applyRedirectCreateUrlTree(h,u,y,w){const A=this.createSegmentGroup(h,u.root,y,w);return new qt(A,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(h,u){const y={};return Fe(h,(w,A)=>{if("string"==typeof w&&w.startsWith(":")){const V=w.substring(1);y[A]=u[V]}else y[A]=w}),y}createSegmentGroup(h,u,y,w){const A=this.createSegments(h,u.segments,y,w);let k={};return Fe(u.children,(V,ge)=>{k[ge]=this.createSegmentGroup(h,V,y,w)}),new it(A,k)}createSegments(h,u,y,w){return u.map(A=>A.path.startsWith(":")?this.findPosParam(h,A,w):this.findOrReturn(A,y))}findPosParam(h,u,y){const w=y[u.path.substring(1)];if(!w)throw new c.vHH(4001,Jn);return w}findOrReturn(h,u){let y=0;for(const w of u){if(w.path===h.path)return u.splice(y),w;y++}return h}}class fa{}class pa{constructor(h,u,y,w,A,k,V,ge){this.injector=h,this.rootComponentType=u,this.config=y,this.urlTree=w,this.url=A,this.paramsInheritanceStrategy=k,this.relativeLinkResolution=V,this.urlSerializer=ge}recognize(){const h=mt(this.urlTree.root,[],[],this.config.filter(u=>void 0===u.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,h,tt).pipe((0,ne.U)(u=>{if(null===u)return null;const y=new Ni([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},tt,this.rootComponentType,null,this.urlTree.root,-1,{}),w=new ur(y,u),A=new Ki(this.url,w);return this.inheritParamsAndData(A._root),A}))}inheritParamsAndData(h){const u=h.value,y=_i(u,this.paramsInheritanceStrategy);u.params=Object.freeze(y.params),u.data=Object.freeze(y.data),h.children.forEach(w=>this.inheritParamsAndData(w))}processSegmentGroup(h,u,y,w){return 0===y.segments.length&&y.hasChildren()?this.processChildren(h,u,y):this.processSegment(h,u,y,y.segments,w)}processChildren(h,u,y){return(0,v.D)(Object.keys(y.children)).pipe((0,Mn.b)(w=>{const A=y.children[w],k=Ns(u,w);return this.processSegmentGroup(h,k,A,w)}),Kr((w,A)=>w&&A?(w.push(...A),w):null),(0,Yn.o)(w=>null!==w),Et(null),xt(),(0,ne.U)(w=>{if(null===w)return null;const A=vs(w);return function ga(d){d.sort((h,u)=>h.value.outlet===tt?-1:u.value.outlet===tt?1:h.value.outlet.localeCompare(u.value.outlet))}(A),A}))}processSegment(h,u,y,w,A){return(0,v.D)(u).pipe((0,Mn.b)(k=>this.processSegmentAgainstRoute(k._injector??h,k,y,w,A)),kt(k=>!!k),Vn(k=>{if(Rs(k))return oi(y,w,A)?(0,Q.of)([]):(0,Q.of)(null);throw k}))}processSegmentAgainstRoute(h,u,y,w,A){if(u.redirectTo||!cn(u,y,w,A))return(0,Q.of)(null);let k;if("**"===u.path){const V=w.length>0?me(w).parameters:{},ge=Vs(y)+w.length,ke=new Ni(w,V,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Zs(u),$n(u),u.component??u._loadedComponent??null,u,co(y),ge,li(u),ge);k=(0,Q.of)({snapshot:ke,consumedSegments:[],remainingSegments:[]})}else k=we(y,u,w,h).pipe((0,ne.U)(({matched:V,consumedSegments:ge,remainingSegments:ke,parameters:bt})=>{if(!V)return null;const qe=Vs(y)+ge.length;return{snapshot:new Ni(ge,bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Zs(u),$n(u),u.component??u._loadedComponent??null,u,co(y),qe,li(u),qe),consumedSegments:ge,remainingSegments:ke}}));return k.pipe((0,Oe.w)(V=>{if(null===V)return(0,Q.of)(null);const{snapshot:ge,consumedSegments:ke,remainingSegments:bt}=V;h=u._injector??h;const qe=u._loadedInjector??h,Gt=function Ro(d){return d.children?d.children:d.loadChildren?d._loadedRoutes:[]}(u),{segmentGroup:gr,slicedSegments:ci}=mt(y,ke,bt,Gt.filter(wi=>void 0===wi.redirectTo),this.relativeLinkResolution);if(0===ci.length&&gr.hasChildren())return this.processChildren(qe,Gt,gr).pipe((0,ne.U)(wi=>null===wi?null:[new ur(ge,wi)]));if(0===Gt.length&&0===ci.length)return(0,Q.of)([new ur(ge,[])]);const js=$n(u)===A;return this.processSegment(qe,Gt,gr,ci,js?tt:A).pipe((0,ne.U)(wi=>null===wi?null:[new ur(ge,wi)]))}))}}function Ya(d){const h=d.value.routeConfig;return h&&""===h.path&&void 0===h.redirectTo}function vs(d){const h=[],u=new Set;for(const y of d){if(!Ya(y)){h.push(y);continue}const w=h.find(A=>y.value.routeConfig===A.value.routeConfig);void 0!==w?(w.children.push(...y.children),u.add(w)):h.push(y)}for(const y of u){const w=vs(y.children);h.push(new ur(y.value,w))}return h.filter(y=>!u.has(y))}function co(d){let h=d;for(;h._sourceSegment;)h=h._sourceSegment;return h}function Vs(d){let h=d,u=h._segmentIndexShift??0;for(;h._sourceSegment;)h=h._sourceSegment,u+=h._segmentIndexShift??0;return u-1}function Zs(d){return d.data||{}}function li(d){return d.resolve||{}}function fo(d){return"string"==typeof d.title||null===d.title}function po(d){return(0,Oe.w)(h=>{const u=d(h);return u?(0,v.D)(u).pipe((0,ne.U)(()=>h)):(0,Q.of)(h)})}let $r=(()=>{class d{buildTitle(u){let y,w=u.root;for(;void 0!==w;)y=this.getResolvedTitleForRoute(w)??y,w=w.children.find(A=>A.outlet===tt);return y}getResolvedTitleForRoute(u){return u.data[rr]}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275prov=c.Yz7({token:d,factory:function(){return(0,c.f3M)(go)},providedIn:"root"}),d})(),go=(()=>{class d extends $r{constructor(u){super(),this.title=u}updateTitle(u){const y=this.buildTitle(u);void 0!==y&&this.title.setTitle(y)}}return d.\u0275fac=function(u){return new(u||d)(c.LFG(Lt.Dx))},d.\u0275prov=c.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();class eo{}class yo extends class mo{shouldDetach(h){return!1}store(h,u){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,u){return h.routeConfig===u.routeConfig}}{}const _o=new c.OlP("",{providedIn:"root",factory:()=>({})}),to=new c.OlP("ROUTES");let Co=(()=>{class d{constructor(u,y){this.injector=u,this.compiler=y,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return(0,Q.of)(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const y=Le(u.loadComponent()).pipe((0,zt.b)(A=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=A}),(0,Dn.x)(()=>{this.componentLoaders.delete(u)})),w=new Ce.c(y,()=>new xe.xQ).pipe((0,nr.x)());return this.componentLoaders.set(u,w),w}loadChildren(u,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,Q.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const A=this.loadModuleFactoryOrRoutes(y.loadChildren).pipe((0,ne.U)(V=>{this.onLoadEndListener&&this.onLoadEndListener(y);let ge,ke,bt=!1;Array.isArray(V)?ke=V:(ge=V.create(u).injector,ke=L(ge.get(to,[],c.XFs.Self|c.XFs.Optional)));return{routes:ke.map(bi),injector:ge}}),(0,Dn.x)(()=>{this.childrenLoaders.delete(y)})),k=new Ce.c(A,()=>new xe.xQ).pipe((0,nr.x)());return this.childrenLoaders.set(y,k),k}loadModuleFactoryOrRoutes(u){return Le(u()).pipe((0,Z.zg)(y=>y instanceof c.YKP||Array.isArray(y)?(0,Q.of)(y):(0,v.D)(this.compiler.compileModuleAsync(y))))}}return d.\u0275fac=function(u){return new(u||d)(c.LFG(c.zs3),c.LFG(c.Sil))},d.\u0275prov=c.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();class b{}class o{shouldProcessUrl(h){return!0}extract(h){return h}merge(h,u){return h}}function p(d){throw d}function T(d,h,u){return h.parse("/")}const x={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},U={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function se(){const d=(0,c.f3M)(fi),h=(0,c.f3M)(nn),u=(0,c.f3M)(ye.Ye),y=(0,c.f3M)(c.zs3),w=(0,c.f3M)(c.Sil),A=(0,c.f3M)(to,{optional:!0})??[],k=(0,c.f3M)(_o,{optional:!0})??{},V=(0,c.f3M)(go),ge=(0,c.f3M)($r,{optional:!0}),ke=(0,c.f3M)(b,{optional:!0}),bt=(0,c.f3M)(eo,{optional:!0}),qe=new fe(null,d,h,u,y,w,L(A));return ke&&(qe.urlHandlingStrategy=ke),bt&&(qe.routeReuseStrategy=bt),qe.titleStrategy=ge??V,function j(d,h){d.errorHandler&&(h.errorHandler=d.errorHandler),d.malformedUriErrorHandler&&(h.malformedUriErrorHandler=d.malformedUriErrorHandler),d.onSameUrlNavigation&&(h.onSameUrlNavigation=d.onSameUrlNavigation),d.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=d.paramsInheritanceStrategy),d.relativeLinkResolution&&(h.relativeLinkResolution=d.relativeLinkResolution),d.urlUpdateStrategy&&(h.urlUpdateStrategy=d.urlUpdateStrategy),d.canceledNavigationResolution&&(h.canceledNavigationResolution=d.canceledNavigationResolution)}(k,qe),qe}let fe=(()=>{class d{constructor(u,y,w,A,k,V,ge){this.rootComponentType=u,this.urlSerializer=y,this.rootContexts=w,this.location=A,this.config=ge,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new xe.xQ,this.errorHandler=p,this.malformedUriErrorHandler=T,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,Q.of)(void 0),this.urlHandlingStrategy=new o,this.routeReuseStrategy=new yo,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=k.get(Co),this.configLoader.onLoadEndListener=Gt=>this.triggerEvent(new Ai(Gt)),this.configLoader.onLoadStartListener=Gt=>this.triggerEvent(new As(Gt)),this.ngModule=k.get(c.h0i),this.console=k.get(c.c2e);const qe=k.get(c.R0b);this.isNgZoneEnabled=qe instanceof c.R0b&&c.R0b.isInAngularZone(),this.resetConfig(ge),this.currentUrlTree=function Je(){return new qt(new it([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=In(this.currentUrlTree,this.rootComponentType),this.transitions=new oe.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(u){const y=this.events;return u.pipe((0,be.h)(w=>0!==w.id),(0,ne.U)(w=>({...w,extractedUrl:this.urlHandlingStrategy.extract(w.rawUrl)})),(0,Oe.w)(w=>{let A=!1,k=!1;return(0,Q.of)(w).pipe((0,zt.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,Oe.w)(V=>{const ge=this.browserUrlTree.toString(),ke=!this.navigated||V.extractedUrl.toString()!==ge||ge!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||ke)&&this.urlHandlingStrategy.shouldProcessUrl(V.rawUrl))return We(V.source)&&(this.browserUrlTree=V.extractedUrl),(0,Q.of)(V).pipe((0,Oe.w)(qe=>{const Gt=this.transitions.getValue();return y.next(new bn(qe.id,this.serializeUrl(qe.extractedUrl),qe.source,qe.restoredState)),Gt!==this.transitions.getValue()?ae.E:Promise.resolve(qe)}),function ks(d,h,u,y){return(0,Oe.w)(w=>function gs(d,h,u,y,w){return new Vi(d,h,u,y,w).apply()}(d,h,u,w.extractedUrl,y).pipe((0,ne.U)(A=>({...w,urlAfterRedirects:A}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,zt.b)(qe=>{this.currentNavigation={...this.currentNavigation,finalUrl:qe.urlAfterRedirects},w.urlAfterRedirects=qe.urlAfterRedirects}),function ko(d,h,u,y,w,A){return(0,Z.zg)(k=>function ys(d,h,u,y,w,A,k="emptyOnly",V="legacy"){return new pa(d,h,u,y,w,k,V,A).recognize().pipe((0,Oe.w)(ge=>null===ge?function ms(d){return new ce.y(h=>h.error(d))}(new fa):(0,Q.of)(ge)))}(d,h,u,k.urlAfterRedirects,y.serialize(k.urlAfterRedirects),y,w,A).pipe((0,ne.U)(V=>({...k,targetSnapshot:V}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,zt.b)(qe=>{if(w.targetSnapshot=qe.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!qe.extras.skipLocationChange){const gr=this.urlHandlingStrategy.merge(qe.urlAfterRedirects,qe.rawUrl);this.setBrowserUrl(gr,qe)}this.browserUrlTree=qe.urlAfterRedirects}const Gt=new $i(qe.id,this.serializeUrl(qe.extractedUrl),this.serializeUrl(qe.urlAfterRedirects),qe.targetSnapshot);y.next(Gt)}));if(ke&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Gt,extractedUrl:gr,source:ci,restoredState:js,extras:wi}=V,Qa=new bn(Gt,this.serializeUrl(gr),ci,js);y.next(Qa);const no=In(gr,this.rootComponentType).snapshot;return w={...V,targetSnapshot:no,urlAfterRedirects:gr,extras:{...wi,skipLocationChange:!1,replaceUrl:!1}},(0,Q.of)(w)}return this.rawUrlTree=V.rawUrl,V.resolve(null),ae.E}),(0,zt.b)(V=>{const ge=new Gi(V.id,this.serializeUrl(V.extractedUrl),this.serializeUrl(V.urlAfterRedirects),V.targetSnapshot);this.triggerEvent(ge)}),(0,ne.U)(V=>w={...V,guards:ts(V.targetSnapshot,V.currentSnapshot,this.rootContexts)}),function ao(d,h){return(0,Z.zg)(u=>{const{targetSnapshot:y,currentSnapshot:w,guards:{canActivateChecks:A,canDeactivateChecks:k}}=u;return 0===k.length&&0===A.length?(0,Q.of)({...u,guardsResult:!0}):function qs(d,h,u,y){return(0,v.D)(d).pipe((0,Z.zg)(w=>function M(d,h,u,y,w){const A=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!A||0===A.length)return(0,Q.of)(!0);const k=A.map(V=>{const ge=Ri(h)??w,ke=C(V,ge);return Le(function hr(d){return d&&Kt(d.canDeactivate)}(ke)?ke.canDeactivate(d,h,u,y):ge.runInContext(()=>ke(d,h,u,y))).pipe(kt())});return(0,Q.of)(k).pipe(Li())}(w.component,w.route,u,h,y)),kt(w=>!0!==w,!0))}(k,y,w,d).pipe((0,Z.zg)(V=>V&&function Gn(d){return"boolean"==typeof d}(V)?function Fs(d,h,u,y){return(0,v.D)(h).pipe((0,Mn.b)(w=>(0,te.z)(function Qs(d,h){return null!==d&&h&&h(new Yi(d)),(0,Q.of)(!0)}(w.route.parent,y),function lo(d,h){return null!==d&&h&&h(new Is(d)),(0,Q.of)(!0)}(w.route,y),function m(d,h,u){const y=h[h.length-1],A=h.slice(0,h.length-1).reverse().map(k=>function E(d){const h=d.routeConfig?d.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:d,guards:h}:null}(k)).filter(k=>null!==k).map(k=>(0,re.P)(()=>{const V=k.guards.map(ge=>{const ke=Ri(k.node)??u,bt=C(ge,ke);return Le(function an(d){return d&&Kt(d.canActivateChild)}(bt)?bt.canActivateChild(y,d):ke.runInContext(()=>bt(y,d))).pipe(kt())});return(0,Q.of)(V).pipe(Li())}));return(0,Q.of)(A).pipe(Li())}(d,w.path,u),function uo(d,h,u){const y=h.routeConfig?h.routeConfig.canActivate:null;if(!y||0===y.length)return(0,Q.of)(!0);const w=y.map(A=>(0,re.P)(()=>{const k=Ri(h)??u,V=C(A,k);return Le(function br(d){return d&&Kt(d.canActivate)}(V)?V.canActivate(h,d):k.runInContext(()=>V(h,d))).pipe(kt())}));return(0,Q.of)(w).pipe(Li())}(d,w.route,u))),kt(w=>!0!==w,!0))}(y,A,d,h):(0,Q.of)(V)),(0,ne.U)(V=>({...u,guardsResult:V})))})}(this.ngModule.injector,V=>this.triggerEvent(V)),(0,zt.b)(V=>{if(w.guardsResult=V.guardsResult,Tn(V.guardsResult))throw Di(0,V.guardsResult);const ge=new ti(V.id,this.serializeUrl(V.extractedUrl),this.serializeUrl(V.urlAfterRedirects),V.targetSnapshot,!!V.guardsResult);this.triggerEvent(ge)}),(0,be.h)(V=>!!V.guardsResult||(this.restoreHistory(V),this.cancelNavigationTransition(V,"",3),!1)),po(V=>{if(V.guards.canActivateChecks.length)return(0,Q.of)(V).pipe((0,zt.b)(ge=>{const ke=new zi(ge.id,this.serializeUrl(ge.extractedUrl),this.serializeUrl(ge.urlAfterRedirects),ge.targetSnapshot);this.triggerEvent(ke)}),(0,Oe.w)(ge=>{let ke=!1;return(0,Q.of)(ge).pipe(function _s(d,h){return(0,Z.zg)(u=>{const{targetSnapshot:y,guards:{canActivateChecks:w}}=u;if(!w.length)return(0,Q.of)(u);let A=0;return(0,v.D)(w).pipe((0,Mn.b)(k=>function Js(d,h,u,y){const w=d.routeConfig,A=d._resolve;return void 0!==w?.title&&!fo(w)&&(A[rr]=w.title),function Xs(d,h,u,y){const w=function Ka(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===w.length)return(0,Q.of)({});const A={};return(0,v.D)(w).pipe((0,Z.zg)(k=>function Lo(d,h,u,y){const w=Ri(h)??y,A=C(d,w);return Le(A.resolve?A.resolve(h,u):w.runInContext(()=>A(h,u)))}(d[k],h,u,y).pipe(kt(),(0,zt.b)(V=>{A[k]=V}))),ue(1),function vn(d){return h=>h.lift(new _n(d))}(A),Vn(k=>Rs(k)?ae.E:(0,G._)(k)))}(A,d,h,y).pipe((0,ne.U)(k=>(d._resolvedData=k,d.data=_i(d,u).resolve,w&&fo(w)&&(d.data[rr]=w.title),null)))}(k.route,y,d,h)),(0,zt.b)(()=>A++),ue(1),(0,Z.zg)(k=>A===w.length?(0,Q.of)(u):ae.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,zt.b)({next:()=>ke=!0,complete:()=>{ke||(this.restoreHistory(ge),this.cancelNavigationTransition(ge,"",2))}}))}),(0,zt.b)(ge=>{const ke=new Wi(ge.id,this.serializeUrl(ge.extractedUrl),this.serializeUrl(ge.urlAfterRedirects),ge.targetSnapshot);this.triggerEvent(ke)}))}),po(V=>{const ge=ke=>{const bt=[];ke.routeConfig?.loadComponent&&!ke.routeConfig._loadedComponent&&bt.push(this.configLoader.loadComponent(ke.routeConfig).pipe((0,zt.b)(qe=>{ke.component=qe}),(0,ne.U)(()=>{})));for(const qe of ke.children)bt.push(...ge(qe));return bt};return(0,z.aj)(ge(V.targetSnapshot.root)).pipe(Et(),(0,Ye.q)(1))}),po(()=>this.afterPreactivation()),(0,ne.U)(V=>{const ge=function Zn(d,h,u){const y=Ur(d,h._root,u?u._root:void 0);return new Oi(y,h)}(this.routeReuseStrategy,V.targetSnapshot,V.currentRouterState);return w={...V,targetRouterState:ge}}),(0,zt.b)(V=>{this.currentUrlTree=V.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(V.urlAfterRedirects,V.rawUrl),this.routerState=V.targetRouterState,"deferred"===this.urlUpdateStrategy&&(V.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,V),this.browserUrlTree=V.urlAfterRedirects)}),((d,h,u)=>(0,ne.U)(y=>(new Se(h,y.targetRouterState,y.currentRouterState,u).activate(d),y)))(this.rootContexts,this.routeReuseStrategy,V=>this.triggerEvent(V)),(0,zt.b)({next(){A=!0},complete(){A=!0}}),(0,Dn.x)(()=>{A||k||this.cancelNavigationTransition(w,"",1),this.currentNavigation?.id===w.id&&(this.currentNavigation=null)}),Vn(V=>{if(k=!0,Ks(V)){Zi(V)||(this.navigated=!0,this.restoreHistory(w,!0));const ge=new Nr(w.id,this.serializeUrl(w.extractedUrl),V.message,V.cancellationCode);if(y.next(ge),Zi(V)){const ke=this.urlHandlingStrategy.merge(V.url,this.rawUrlTree),bt={skipLocationChange:w.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||We(w.source)};this.scheduleNavigation(ke,"imperative",null,bt,{resolve:w.resolve,reject:w.reject,promise:w.promise})}else w.resolve(!1)}else{this.restoreHistory(w,!0);const ge=new yi(w.id,this.serializeUrl(w.extractedUrl),V,w.targetSnapshot??void 0);y.next(ge);try{w.resolve(this.errorHandler(V))}catch(ke){w.reject(ke)}}return ae.E}))}))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next({...this.transitions.value,...u})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const y="popstate"===u.type?"popstate":"hashchange";"popstate"===y&&setTimeout(()=>{const w={replaceUrl:!0},A=u.state?.navigationId?u.state:null;if(A){const V={...A};delete V.navigationId,delete V.\u0275routerPageId,0!==Object.keys(V).length&&(w.state=V)}const k=this.parseUrl(u.url);this.scheduleNavigation(k,y,A,w)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){this.config=u.map(bi),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(u,y={}){const{relativeTo:w,queryParams:A,fragment:k,queryParamsHandling:V,preserveFragment:ge}=y,ke=w||this.routerState.root,bt=ge?this.currentUrlTree.fragment:k;let qe=null;switch(V){case"merge":qe={...this.currentUrlTree.queryParams,...A};break;case"preserve":qe=this.currentUrlTree.queryParams;break;default:qe=A||null}return null!==qe&&(qe=this.removeEmptyProps(qe)),Dr(ke,this.currentUrlTree,u,qe,bt??null)}navigateByUrl(u,y={skipLocationChange:!1}){const w=Tn(u)?u:this.parseUrl(u),A=this.urlHandlingStrategy.merge(w,this.rawUrlTree);return this.scheduleNavigation(A,"imperative",null,y)}navigate(u,y={skipLocationChange:!1}){return function Ve(d){for(let h=0;h<d.length;h++){if(null==d[h])throw new c.vHH(4008,false)}}(u),this.navigateByUrl(this.createUrlTree(u,y),y)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let y;try{y=this.urlSerializer.parse(u)}catch(w){y=this.malformedUriErrorHandler(w,this.urlSerializer,u)}return y}isActive(u,y){let w;if(w=!0===y?{...x}:!1===y?{...U}:y,Tn(u))return ir(this.currentUrlTree,u,w);const A=this.parseUrl(u);return ir(this.currentUrlTree,A,w)}removeEmptyProps(u){return Object.keys(u).reduce((y,w)=>{const A=u[w];return null!=A&&(y[w]=A),y},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new Qn(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),u.resolve(!0)},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}scheduleNavigation(u,y,w,A,k){if(this.disposed)return Promise.resolve(!1);let V,ge,ke;k?(V=k.resolve,ge=k.reject,ke=k.promise):ke=new Promise((Gt,gr)=>{V=Gt,ge=gr});const bt=++this.navigationId;let qe;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(w=this.location.getState()),qe=w&&w.\u0275routerPageId?w.\u0275routerPageId:A.replaceUrl||A.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):qe=0,this.setTransition({id:bt,targetPageId:qe,source:y,restoredState:w,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:A,resolve:V,reject:ge,promise:ke,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ke.catch(Gt=>Promise.reject(Gt))}setBrowserUrl(u,y){const w=this.urlSerializer.serialize(u),A={...y.extras.state,...this.generateNgRouterState(y.id,y.targetPageId)};this.location.isCurrentPathEqualTo(w)||y.extras.replaceUrl?this.location.replaceState(w,"",A):this.location.go(w,"",A)}restoreHistory(u,y=!1){if("computed"===this.canceledNavigationResolution){const w=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===w?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===w&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(w)}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,y,w){const A=new Nr(u.id,this.serializeUrl(u.extractedUrl),y,w);this.triggerEvent(A),u.resolve(!1)}generateNgRouterState(u,y){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:y}:{navigationId:u}}}return d.\u0275fac=function(u){c.$Z()},d.\u0275prov=c.Yz7({token:d,factory:function(){return se()},providedIn:"root"}),d})();function We(d){return"imperative"!==d}let wt=(()=>{class d{constructor(u,y,w,A,k){this.router=u,this.route=y,this.tabIndexAttribute=w,this.renderer=A,this.el=k,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new xe.xQ,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(u){this._preserveFragment=(0,c.D6c)(u)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(u){this._skipLocationChange=(0,c.D6c)(u)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(u){this._replaceUrl=(0,c.D6c)(u)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(u){if(null!=this.tabIndexAttribute)return;const y=this.renderer,w=this.el.nativeElement;null!==u?y.setAttribute(w,"tabindex",u):y.removeAttribute(w,"tabindex")}ngOnChanges(u){this.onChanges.next(this)}set routerLink(u){null!=u?(this.commands=Array.isArray(u)?u:[u],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return d.\u0275fac=function(u){return new(u||d)(c.Y36(fe),c.Y36(cr),c.$8M("tabindex"),c.Y36(c.Qsj),c.Y36(c.SBq))},d.\u0275dir=c.lG2({type:d,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(u,y){1&u&&c.NdJ("click",function(){return y.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[c.TTD]}),d})(),vt=(()=>{class d{constructor(u,y,w){this.router=u,this.route=y,this.locationStrategy=w,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new xe.xQ,this.subscription=u.events.subscribe(A=>{A instanceof Qn&&this.updateTargetUrlAndHref()})}set preserveFragment(u){this._preserveFragment=(0,c.D6c)(u)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(u){this._skipLocationChange=(0,c.D6c)(u)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(u){this._replaceUrl=(0,c.D6c)(u)}get replaceUrl(){return this._replaceUrl}set routerLink(u){this.commands=null!=u?Array.isArray(u)?u:[u]:null}ngOnChanges(u){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(u,y,w,A,k){return!!(0!==u||y||w||A||k||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return d.\u0275fac=function(u){return new(u||d)(c.Y36(fe),c.Y36(cr),c.Y36(ye.S$))},d.\u0275dir=c.lG2({type:d,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(u,y){1&u&&c.NdJ("click",function(A){return y.onClick(A.button,A.ctrlKey,A.shiftKey,A.altKey,A.metaKey)}),2&u&&c.uIk("target",y.target)("href",y.href,c.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[c.TTD]}),d})(),nt=(()=>{class d{constructor(u,y,w,A,k,V){this.router=u,this.element=y,this.renderer=w,this.cdr=A,this.link=k,this.linkWithHref=V,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new c.vpe,this.routerEventsSubscription=u.events.subscribe(ge=>{ge instanceof Qn&&this.update()})}ngAfterContentInit(){(0,Q.of)(this.links.changes,this.linksWithHrefs.changes,(0,Q.of)(null)).pipe((0,jt.J)()).subscribe(u=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const u=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(y=>!!y).map(y=>y.onChanges);this.linkInputChangesSubscription=(0,v.D)(u).pipe((0,jt.J)()).subscribe(y=>{this.isActive!==this.isLinkActive(this.router)(y)&&this.update()})}set routerLinkActive(u){const y=Array.isArray(u)?u:u.split(" ");this.classes=y.filter(w=>!!w)}ngOnChanges(u){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const u=this.hasActiveLinks();this.isActive!==u&&(this.isActive=u,this.cdr.markForCheck(),this.classes.forEach(y=>{u?this.renderer.addClass(this.element.nativeElement,y):this.renderer.removeClass(this.element.nativeElement,y)}),u&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(u))})}isLinkActive(u){const y=function dt(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return w=>!!w.urlTree&&u.isActive(w.urlTree,y)}hasActiveLinks(){const u=this.isLinkActive(this.router);return this.link&&u(this.link)||this.linkWithHref&&u(this.linkWithHref)||this.links.some(u)||this.linksWithHrefs.some(u)}}return d.\u0275fac=function(u){return new(u||d)(c.Y36(fe),c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(c.sBO),c.Y36(wt,8),c.Y36(vt,8))},d.\u0275dir=c.lG2({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(u,y,w){if(1&u&&(c.Suo(w,wt,5),c.Suo(w,vt,5)),2&u){let A;c.iGM(A=c.CRH())&&(y.links=A),c.iGM(A=c.CRH())&&(y.linksWithHrefs=A)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[c.TTD]}),d})();class Ft{}let En=(()=>{class d{constructor(u,y,w,A,k){this.router=u,this.injector=w,this.preloadingStrategy=A,this.loader=k}setUpPreloading(){this.subscription=this.router.events.pipe((0,be.h)(u=>u instanceof Qn),(0,Mn.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,y){const w=[];for(const A of y){A.providers&&!A._injector&&(A._injector=(0,c.MMx)(A.providers,u,`Route: ${A.path}`));const k=A._injector??u,V=A._loadedInjector??k;A.loadChildren&&!A._loadedRoutes&&void 0===A.canLoad||A.loadComponent&&!A._loadedComponent?w.push(this.preloadConfig(k,A)):(A.children||A._loadedRoutes)&&w.push(this.processRoutes(V,A.children??A._loadedRoutes))}return(0,v.D)(w).pipe((0,jt.J)())}preloadConfig(u,y){return this.preloadingStrategy.preload(y,()=>{let w;w=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(u,y):(0,Q.of)(null);const A=w.pipe((0,Z.zg)(k=>null===k?(0,Q.of)(void 0):(y._loadedRoutes=k.routes,y._loadedInjector=k.injector,this.processRoutes(k.injector??u,k.routes))));if(y.loadComponent&&!y._loadedComponent){const k=this.loader.loadComponent(y);return(0,v.D)([A,k]).pipe((0,jt.J)())}return A})}}return d.\u0275fac=function(u){return new(u||d)(c.LFG(fe),c.LFG(c.Sil),c.LFG(c.lqb),c.LFG(Ft),c.LFG(Co))},d.\u0275prov=c.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const dn=new c.OlP("");let rs=(()=>{class d{constructor(u,y,w={}){this.router=u,this.viewportScroller=y,this.options=w,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},w.scrollPositionRestoration=w.scrollPositionRestoration||"disabled",w.anchorScrolling=w.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(u=>{u instanceof bn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof Qn&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof ds&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,y){this.router.triggerEvent(new ds(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return d.\u0275fac=function(u){c.$Z()},d.\u0275prov=c.Yz7({token:d,factory:d.\u0275fac}),d})();function er(d,h){return{\u0275kind:d,\u0275providers:h}}function ui(d){return[{provide:to,multi:!0,useValue:d}]}function Bs(){const d=(0,c.f3M)(c.zs3);return h=>{const u=d.get(c.z2F);if(h!==u.components[0])return;const y=d.get(fe),w=d.get(Bi);1===d.get(Hi)&&y.initialNavigation(),d.get(st,null,c.XFs.Optional)?.setUpPreloading(),d.get(dn,null,c.XFs.Optional)?.init(),y.resetRootComponentType(u.componentTypes[0]),w.next(),w.complete()}}const Bi=new c.OlP("",{factory:()=>new xe.xQ}),Hi=new c.OlP("",{providedIn:"root",factory:()=>1});const st=new c.OlP("");function Pt(d){return er(0,[{provide:st,useExisting:En},{provide:Ft,useExisting:d}])}const Rn=new c.OlP("ROUTER_FORROOT_GUARD"),un=[ye.Ye,{provide:fi,useClass:yr},{provide:fe,useFactory:se},nn,{provide:cr,useFactory:function Ei(d){return d.routerState.root},deps:[fe]},Co];function Hs(){return new c.PXZ("Router",fe)}let Us=(()=>{class d{constructor(u){}static forRoot(u,y){return{ngModule:d,providers:[un,[],ui(u),{provide:Rn,useFactory:bo,deps:[[fe,new c.FiY,new c.tp0]]},{provide:_o,useValue:y||{}},y?.useHash?{provide:ye.S$,useClass:ye.Do}:{provide:ye.S$,useClass:ye.b0},{provide:dn,useFactory:()=>{const d=(0,c.f3M)(fe),h=(0,c.f3M)(ye.EM),u=(0,c.f3M)(_o);return u.scrollOffset&&h.setOffset(u.scrollOffset),new rs(d,h,u)}},y?.preloadingStrategy?Pt(y.preloadingStrategy).\u0275providers:[],{provide:c.PXZ,multi:!0,useFactory:Hs},y?.initialNavigation?Vo(y):[],[{provide:va,useFactory:Bs},{provide:c.tb,multi:!0,useExisting:va}]]}}static forChild(u){return{ngModule:d,providers:[ui(u)]}}}return d.\u0275fac=function(u){return new(u||d)(c.LFG(Rn,8))},d.\u0275mod=c.oAB({type:d}),d.\u0275inj=c.cJS({imports:[ri]}),d})();function bo(d){return"guarded"}function Vo(d){return["disabled"===d.initialNavigation?er(3,[{provide:c.ip1,multi:!0,useFactory:()=>{const h=(0,c.f3M)(fe);return()=>{h.setUpLocationChangeListener()}}},{provide:Hi,useValue:2}]).\u0275providers:[],"enabledBlocking"===d.initialNavigation?er(2,[{provide:Hi,useValue:0},{provide:c.ip1,multi:!0,deps:[c.zs3],useFactory:h=>{const u=h.get(ye.V_,Promise.resolve(null));let y=!1;return()=>u.then(()=>new Promise(A=>{const k=h.get(fe),V=h.get(Bi);(function w(A){h.get(fe).events.pipe((0,be.h)(V=>V instanceof Qn||V instanceof Nr||V instanceof yi),(0,ne.U)(V=>V instanceof Qn||V instanceof Nr&&(0===V.code||1===V.code)&&null),(0,be.h)(V=>null!==V),(0,Ye.q)(1)).subscribe(()=>{A()})})(()=>{A(!0),y=!0}),k.afterPreactivation=()=>(A(!0),y||V.closed?(0,Q.of)(void 0):V),k.initialNavigation()}))}}]).\u0275providers:[]]}const va=new c.OlP("")},7185:(ze,pe,N)=>{N.d(pe,{Rh:()=>Ln,_W:()=>kt});var c=N(5062),v=N(7340),Q=N(8929),oe=N(6895),J=N(1481);const Y=["toast-component",""];function z(Ae,Ie){if(1&Ae){const q=c.EpF();c.TgZ(0,"button",5),c.NdJ("click",function(){c.CHM(q);const $e=c.oxw();return c.KtG($e.remove())}),c.TgZ(1,"span",6),c._uU(2,"\xd7"),c.qZA()()}}function te(Ae,Ie){if(1&Ae&&(c.ynx(0),c._uU(1),c.BQk()),2&Ae){const q=c.oxw(2);c.xp6(1),c.hij("[",q.duplicatesCount+1,"]")}}function re(Ae,Ie){if(1&Ae&&(c.TgZ(0,"div"),c._uU(1),c.YNc(2,te,2,1,"ng-container",4),c.qZA()),2&Ae){const q=c.oxw();c.Tol(q.options.titleClass),c.uIk("aria-label",q.title),c.xp6(1),c.hij(" ",q.title," "),c.xp6(1),c.Q6J("ngIf",q.duplicatesCount)}}function K(Ae,Ie){if(1&Ae&&c._UZ(0,"div",7),2&Ae){const q=c.oxw();c.Tol(q.options.messageClass),c.Q6J("innerHTML",q.message,c.oJD)}}function G(Ae,Ie){if(1&Ae&&(c.TgZ(0,"div",8),c._uU(1),c.qZA()),2&Ae){const q=c.oxw();c.Tol(q.options.messageClass),c.uIk("aria-label",q.message),c.xp6(1),c.hij(" ",q.message," ")}}function ce(Ae,Ie){if(1&Ae&&(c.TgZ(0,"div"),c._UZ(1,"div",9),c.qZA()),2&Ae){const q=c.oxw();c.xp6(1),c.Udp("width",q.width+"%")}}class be{constructor(Ie,q){this.component=Ie,this.injector=q}attach(Ie,q){return this._attachedHost=Ie,Ie.attach(this,q)}detach(){const Ie=this._attachedHost;if(Ie)return this._attachedHost=void 0,Ie.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ie){this._attachedHost=Ie}}class Pe{constructor(Ie,q,ue,$e,Mt,xt){this.toastId=Ie,this.config=q,this.message=ue,this.title=$e,this.toastType=Mt,this.toastRef=xt,this._onTap=new Q.xQ,this._onAction=new Q.xQ,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(Ie){this._onAction.next(Ie)}onAction(){return this._onAction.asObservable()}}const It=new c.OlP("ToastConfig");class _t{constructor(Ie){this._overlayRef=Ie,this.duplicatesCount=0,this._afterClosed=new Q.xQ,this._activate=new Q.xQ,this._manualClose=new Q.xQ,this._resetTimeout=new Q.xQ,this._countDuplicate=new Q.xQ}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(Ie,q){Ie&&this._resetTimeout.next(),q&&this._countDuplicate.next(++this.duplicatesCount)}}class Ke{constructor(Ie,q){this._toastPackage=Ie,this._parentInjector=q}get(Ie,q,ue){return Ie===Pe?this._toastPackage:this._parentInjector.get(Ie,q,ue)}}class ot extends class Z{attach(Ie,q){return this._attachedPortal=Ie,this.attachComponentPortal(Ie,q)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Ie){this._disposeFn=Ie}}{constructor(Ie,q,ue){super(),this._hostDomElement=Ie,this._componentFactoryResolver=q,this._appRef=ue}attachComponentPortal(Ie,q){const ue=this._componentFactoryResolver.resolveComponentFactory(Ie.component);let $e;return $e=ue.create(Ie.injector),this._appRef.attachView($e.hostView),this.setDisposeFn(()=>{this._appRef.detachView($e.hostView),$e.destroy()}),q?this._hostDomElement.insertBefore(this._getComponentRootNode($e),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode($e)),$e}_getComponentRootNode(Ie){return Ie.hostView.rootNodes[0]}}class at{constructor(Ie){this._portalHost=Ie}attach(Ie,q=!0){return this._portalHost.attach(Ie,q)}detach(){return this._portalHost.detach()}}let Nt=(()=>{class Ae{constructor(q){this._document=q}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const q=this._document.createElement("div");q.classList.add("overlay-container"),q.setAttribute("aria-live","polite"),this._document.body.appendChild(q),this._containerElement=q}}return Ae.\u0275fac=function(q){return new(q||Ae)(c.LFG(oe.K0))},Ae.\u0275prov=c.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae})(),Ge=(()=>{class Ae{constructor(q,ue,$e,Mt){this._overlayContainer=q,this._componentFactoryResolver=ue,this._appRef=$e,this._document=Mt,this._paneElements=new Map}create(q,ue){return this._createOverlayRef(this.getPaneElement(q,ue))}getPaneElement(q="",ue){return this._paneElements.get(ue)||this._paneElements.set(ue,{}),this._paneElements.get(ue)[q]||(this._paneElements.get(ue)[q]=this._createPaneElement(q,ue)),this._paneElements.get(ue)[q]}_createPaneElement(q,ue){const $e=this._document.createElement("div");return $e.id="toast-container",$e.classList.add(q),$e.classList.add("toast-container"),ue?ue.getContainerElement().appendChild($e):this._overlayContainer.getContainerElement().appendChild($e),$e}_createPortalHost(q){return new ot(q,this._componentFactoryResolver,this._appRef)}_createOverlayRef(q){return new at(this._createPortalHost(q))}}return Ae.\u0275fac=function(q){return new(q||Ae)(c.LFG(Nt),c.LFG(c._Vd),c.LFG(c.z2F),c.LFG(oe.K0))},Ae.\u0275prov=c.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae})(),kt=(()=>{class Ae{constructor(q,ue,$e,Mt,xt){this.overlay=ue,this._injector=$e,this.sanitizer=Mt,this.ngZone=xt,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...q.default,...q.config},q.config.iconClasses&&(this.toastrConfig.iconClasses={...q.default.iconClasses,...q.config.iconClasses})}show(q,ue,$e={},Mt=""){return this._preBuildNotification(Mt,q,ue,this.applyConfig($e))}success(q,ue,$e={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",q,ue,this.applyConfig($e))}error(q,ue,$e={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",q,ue,this.applyConfig($e))}info(q,ue,$e={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",q,ue,this.applyConfig($e))}warning(q,ue,$e={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",q,ue,this.applyConfig($e))}clear(q){for(const ue of this.toasts)if(void 0!==q){if(ue.toastId===q)return void ue.toastRef.manualClose()}else ue.toastRef.manualClose()}remove(q){const ue=this._findToast(q);if(!ue||(ue.activeToast.toastRef.close(),this.toasts.splice(ue.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const $e=this.toasts[this.currentlyActive].toastRef;$e.isInactive()||(this.currentlyActive=this.currentlyActive+1,$e.activate())}return!0}findDuplicate(q="",ue="",$e,Mt){const{includeTitleDuplicates:xt}=this.toastrConfig;for(const Yn of this.toasts){const vn=xt&&Yn.title===q;if((!xt||vn)&&Yn.message===ue)return Yn.toastRef.onDuplicate($e,Mt),Yn}return null}applyConfig(q={}){return{...this.toastrConfig,...q}}_findToast(q){for(let ue=0;ue<this.toasts.length;ue++)if(this.toasts[ue].toastId===q)return{index:ue,activeToast:this.toasts[ue]};return null}_preBuildNotification(q,ue,$e,Mt){return Mt.onActivateTick?this.ngZone.run(()=>this._buildNotification(q,ue,$e,Mt)):this._buildNotification(q,ue,$e,Mt)}_buildNotification(q,ue,$e,Mt){if(!Mt.toastComponent)throw new Error("toastComponent required");const xt=this.findDuplicate($e,ue,this.toastrConfig.resetTimeoutOnDuplicate&&Mt.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&$e||ue)&&this.toastrConfig.preventDuplicates&&null!==xt)return xt;this.previousToastMessage=ue;let Yn=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Yn=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const vn=this.overlay.create(Mt.positionClass,this.overlayContainer);this.index=this.index+1;let _n=ue;ue&&Mt.enableHtml&&(_n=this.sanitizer.sanitize(c.q3G.HTML,ue));const Qt=new _t(vn),Dn=new Pe(this.index,Mt,_n,$e,q,Qt),nr=new Ke(Dn,this._injector),jt=new be(Mt.toastComponent,nr),Lt=vn.attach(jt,this.toastrConfig.newestOnTop);Qt.componentInstance=Lt.instance;const tt={toastId:this.index,title:$e||"",message:ue||"",toastRef:Qt,onShown:Qt.afterActivate(),onHidden:Qt.afterClosed(),onTap:Dn.onTap(),onAction:Dn.onAction(),portal:Lt};return Yn||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{tt.toastRef.activate()})),this.toasts.push(tt),tt}}return Ae.\u0275fac=function(q){return new(q||Ae)(c.LFG(It),c.LFG(Ge),c.LFG(c.zs3),c.LFG(J.H7),c.LFG(c.R0b))},Ae.\u0275prov=c.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae})();const zt={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null,toastComponent:(()=>{class Ae{constructor(q,ue,$e){this.toastrService=q,this.toastPackage=ue,this.ngZone=$e,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=ue.message,this.title=ue.title,this.options=ue.config,this.originalTimeout=ue.config.timeOut,this.toastClasses=`${ue.toastType} ${ue.config.toastClass}`,this.sub=ue.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ue.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ue.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ue.toastRef.countDuplicate().subscribe(Mt=>{this.duplicatesCount=Mt})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const q=(new Date).getTime();this.width=(this.hideTime-q)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(q,ue){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(q),ue)):this.timeout=setTimeout(()=>q(),ue)}outsideInterval(q,ue){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(q),ue)):this.intervalId=setInterval(()=>q(),ue)}runInsideAngular(q){this.ngZone?this.ngZone.run(()=>q()):q()}}return Ae.\u0275fac=function(q){return new(q||Ae)(c.Y36(kt),c.Y36(Pe),c.Y36(c.R0b))},Ae.\u0275cmp=c.Xpm({type:Ae,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(q,ue){1&q&&c.NdJ("click",function(){return ue.tapToast()})("mouseenter",function(){return ue.stickAround()})("mouseleave",function(){return ue.delayedHideToast()}),2&q&&(c.d8E("@flyInOut",ue.state),c.Tol(ue.toastClasses),c.Udp("display",ue.displayStyle))},attrs:Y,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(q,ue){1&q&&(c.YNc(0,z,3,0,"button",0),c.YNc(1,re,3,5,"div",1),c.YNc(2,K,1,3,"div",2),c.YNc(3,G,2,4,"div",3),c.YNc(4,ce,2,2,"div",4)),2&q&&(c.Q6J("ngIf",ue.options.closeButton),c.xp6(1),c.Q6J("ngIf",ue.title),c.xp6(1),c.Q6J("ngIf",ue.message&&ue.options.enableHtml),c.xp6(1),c.Q6J("ngIf",ue.message&&!ue.options.enableHtml),c.xp6(1),c.Q6J("ngIf",ue.options.progressBar))},dependencies:[oe.O5],encapsulation:2,data:{animation:[(0,v.X$)("flyInOut",[(0,v.SB)("inactive",(0,v.oB)({opacity:0})),(0,v.SB)("active",(0,v.oB)({opacity:1})),(0,v.SB)("removed",(0,v.oB)({opacity:0})),(0,v.eR)("inactive => active",(0,v.jt)("{{ easeTime }}ms {{ easing }}")),(0,v.eR)("active => removed",(0,v.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),Ae})()};let Ln=(()=>{class Ae{static forRoot(q={}){return{ngModule:Ae,providers:[{provide:It,useValue:{default:zt,config:q}}]}}}return Ae.\u0275fac=function(q){return new(q||Ae)},Ae.\u0275mod=c.oAB({type:Ae}),Ae.\u0275inj=c.cJS({imports:[oe.ez]}),Ae})()}},ze=>{ze(ze.s=1080)}]);
|