From 8c229009b66693880ac37208f8b20adbec8ee333 Mon Sep 17 00:00:00 2001 From: jeremymlewis Date: Thu, 27 Jun 2024 09:36:15 +1000 Subject: [PATCH] change socket to https --- index.html | 2 +- main.8af644238c7d8988.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 main.8af644238c7d8988.js diff --git a/index.html b/index.html index 4d86346..d0de6eb 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@ - + \ No newline at end of file diff --git a/main.8af644238c7d8988.js b/main.8af644238c7d8988.js new file mode 100644 index 0000000..c7ebace --- /dev/null +++ b/main.8af644238c7d8988.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{9905:(wt,Ye,L)=>{"use strict";L.d(Ye,{w:()=>Bn,dr:()=>Tt,YG:()=>bt,W2:()=>Je,jY:()=>P,Gu:()=>x,gu:()=>$,pK:()=>Pe,Ie:()=>Xe,Q$:()=>Hn,q_:()=>dr,d8:()=>Ti,jP:()=>E,t9:()=>Ir,n0:()=>oo,yq:()=>Fr,ZU:()=>$o,UN:()=>D,wd:()=>Nr,ho:()=>so,sr:()=>ao,Pc:()=>Zr,r4:()=>ws,IN:()=>ci,QI:()=>Kn,j9:()=>jt,yF:()=>Fi});var o=L(8274),I=L(433);function q(a,y,l,v){var Ke,R=arguments.length,ge=R<3?y:null===v?v=Object.getOwnPropertyDescriptor(y,l):v;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ge=Reflect.decorate(a,y,l,v);else for(var ct=a.length-1;ct>=0;ct--)(Ke=a[ct])&&(ge=(R<3?Ke(ge):R>3?Ke(y,l,ge):Ke(y,l))||ge);return R>3&&ge&&Object.defineProperty(y,l,ge),ge}function z(a,y,l,v){return new(l||(l=Promise))(function(ge,Ke){function ct(cn){try{Ct(v.next(cn))}catch(wn){Ke(wn)}}function Ft(cn){try{Ct(v.throw(cn))}catch(wn){Ke(wn)}}function Ct(cn){cn.done?ge(cn.value):function R(ge){return ge instanceof l?ge:new l(function(Ke){Ke(ge)})}(cn.value).then(ct,Ft)}Ct((v=v.apply(a,y||[])).next())})}var ie=L(8421),Ee=L(9751),_e=L(5577),st=L(1144),Ze=L(576),je=L(3268);const Me=["addListener","removeListener"],Be=["addEventListener","removeEventListener"],Ne=["on","off"];function xe(a,y,l,v){if((0,Ze.m)(l)&&(v=l,l=void 0),v)return xe(a,y,l).pipe((0,je.Z)(v));const[R,ge]=function ot(a){return(0,Ze.m)(a.addEventListener)&&(0,Ze.m)(a.removeEventListener)}(a)?Be.map(Ke=>ct=>a[Ke](y,ct,l)):function qe(a){return(0,Ze.m)(a.addListener)&&(0,Ze.m)(a.removeListener)}(a)?Me.map(Ue(a,y)):function tt(a){return(0,Ze.m)(a.on)&&(0,Ze.m)(a.off)}(a)?Ne.map(Ue(a,y)):[];if(!R&&(0,st.z)(a))return(0,_e.z)(Ke=>xe(Ke,y,l))((0,ie.Xf)(a));if(!R)throw new TypeError("Invalid event target");return new Ee.y(Ke=>{const ct=(...Ft)=>Ke.next(1ge(ct)})}function Ue(a,y){return l=>v=>a[l](y,v)}var Dt=L(7579),Wt=L(1135),mt=L(1829),An=(L(4181),L(5980),L(3139),L(5729)),on=L(3756),Ht=L(9753),Et=(L(97),L(3280)),zt=(L(3509),L(7205)),Jn=L(4671),an=L(4482),at=L(5403);function Rn(a,y){return a===y}var Fn=L(9300),Pt=L(3900),kt=L(6895);const lr=An.i,Qe=["*"],rr=["outlet"],fn=[[["","slot","top"]],"*"],kn=["[slot=top]","*"];function Ln(a,y){if(1&a&&o.GkF(0,1),2&a){const l=o.oxw();o.Q6J("ngTemplateOutlet",l.template)}}const Wn=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),hn=a=>!!a.resolveComponentFactory;let En=(()=>{class a{constructor(l,v){this.injector=l,this.el=v,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(l){this.el.nativeElement.value=this.lastValue=l??"",Jt(this.el)}handleChangeEvent(l,v){l===this.el.nativeElement&&(v!==this.lastValue&&(this.lastValue=v,this.onChange(v)),Jt(this.el))}_handleBlurEvent(l){l===this.el.nativeElement&&(this.onTouched(),Jt(this.el))}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}setDisabledState(l){this.el.nativeElement.disabled=l}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let l;try{l=this.injector.get(I.a5)}catch{}if(!l)return;l.statusChanges&&(this.statusChanges=l.statusChanges.subscribe(()=>Jt(this.el)));const v=l.control;v&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(ge=>{if(typeof v[ge]<"u"){const Ke=v[ge].bind(v);v[ge]=(...ct)=>{Ke(...ct),Jt(this.el)}}})}}return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.zs3),o.Y36(o.SBq))},a.\u0275dir=o.lG2({type:a,hostBindings:function(l,v){1&l&&o.NdJ("ionBlur",function(ge){return v._handleBlurEvent(ge.target)})}}),a})();const Jt=a=>{Wn(()=>{const y=a.nativeElement,l=null!=y.value&&y.value.toString().length>0,v=un(y);Nn(y,v);const R=y.closest("ion-item");R&&Nn(R,l?[...v,"item-has-value"]:v)})},un=a=>{const y=a.classList,l=[];for(let v=0;v{const l=a.classList;l.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),l.add(...y)},qn=(a,y)=>a.substring(0,y.length)===y;let Bn=(()=>{class a extends En{constructor(l,v){super(l,v)}writeValue(l){this.el.nativeElement.checked=this.lastValue=l??!1,Jt(this.el)}_handleIonChange(l){this.handleChangeEvent(l,l.checked)}}return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.zs3),o.Y36(o.SBq))},a.\u0275dir=o.lG2({type:a,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(l,v){1&l&&o.NdJ("ionChange",function(ge){return v._handleIonChange(ge.target)})},features:[o._Bn([{provide:I.JU,useExisting:a,multi:!0}]),o.qOj]}),a})(),Kn=(()=>{class a extends En{constructor(l,v){super(l,v)}_handleChangeEvent(l){this.handleChangeEvent(l,l.value)}}return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.zs3),o.Y36(o.SBq))},a.\u0275dir=o.lG2({type:a,selectors:[["ion-range"],["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(l,v){1&l&&o.NdJ("ionChange",function(ge){return v._handleChangeEvent(ge.target)})},features:[o._Bn([{provide:I.JU,useExisting:a,multi:!0}]),o.qOj]}),a})(),jt=(()=>{class a extends En{constructor(l,v){super(l,v)}_handleInputEvent(l){this.handleChangeEvent(l,l.value)}}return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.zs3),o.Y36(o.SBq))},a.\u0275dir=o.lG2({type:a,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(l,v){1&l&&o.NdJ("ionChange",function(ge){return v._handleInputEvent(ge.target)})},features:[o._Bn([{provide:I.JU,useExisting:a,multi:!0}]),o.qOj]}),a})();const dn=(a,y)=>{const l=a.prototype;y.forEach(v=>{Object.defineProperty(l,v,{get(){return this.el[v]},set(R){this.z.runOutsideAngular(()=>this.el[v]=R)}})})},Re=(a,y)=>{const l=a.prototype;y.forEach(v=>{l[v]=function(){const R=arguments;return this.z.runOutsideAngular(()=>this.el[v].apply(this.el,R))}})},ne=(a,y,l)=>{l.forEach(v=>a[v]=xe(y,v))};function W(a){return function(l){const{defineCustomElementFn:v,inputs:R,methods:ge}=a;return void 0!==v&&v(),R&&dn(l,R),ge&&Re(l,ge),l}}let Tt=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-app"]],ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0})],a),a})(),bt=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement,ne(this,this.el,["ionFocus","ionBlur"])}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],a),a})(),Je=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement,ne(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],a),a})(),P=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["fixed"]})],a),a})(),x=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["collapse","mode","translucent"]})],a),a})(),$=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],a),a})(),Pe=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement,ne(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","enterkeyhint","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],a),a})(),Xe=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],a),a})(),Hn=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["color","mode","position"]})],a),a})(),dr=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],a),a})(),Ir=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement,ne(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",compareWith:"compareWith",disabled:"disabled",interface:"interface",interfaceOptions:"interfaceOptions",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",value:"value"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"],methods:["open"]})],a),a})(),oo=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["disabled","value"]})],a),a})(),Fr=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["color","mode","selectedTab","translucent"]})],a),a})(),$o=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],a),a})(),Nr=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["color","size"]})],a),a})(),so=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement,ne(this,this.el,["ionChange","ionFocus","ionBlur"])}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-toggle"]],inputs:{checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",mode:"mode",name:"name",value:"value"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["checked","color","disabled","enableOnOffLabels","mode","name","value"]})],a),a})(),ao=(()=>{let a=class{constructor(l,v,R){this.z=R,l.detach(),this.el=v.nativeElement}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Qe,decls:1,vars:0,template:function(l,v){1&l&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),a=q([W({defineCustomElementFn:void 0,inputs:["color","mode"]})],a),a})();class Sn{constructor(y={}){this.data=y}get(y){return this.data[y]}}let pr=(()=>{class a{constructor(l,v){this.zone=l,this.appRef=v}create(l,v,R){return new ai(l,v,R,this.appRef,this.zone)}}return a.\u0275fac=function(l){return new(l||a)(o.LFG(o.R0b),o.LFG(o.z2F))},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac}),a})();class ai{constructor(y,l,v,R,ge){this.resolverOrInjector=y,this.injector=l,this.location=v,this.appRef=R,this.zone=ge,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(y,l,v,R){return this.zone.run(()=>new Promise(ge=>{ge(yr(this.zone,this.resolverOrInjector,this.injector,this.location,this.appRef,this.elRefMap,this.elEventsMap,y,l,v,R))}))}removeViewFromDom(y,l){return this.zone.run(()=>new Promise(v=>{const R=this.elRefMap.get(l);if(R){R.destroy(),this.elRefMap.delete(l);const ge=this.elEventsMap.get(l);ge&&(ge(),this.elEventsMap.delete(l))}v()}))}}const yr=(a,y,l,v,R,ge,Ke,ct,Ft,Ct,cn)=>{let wn;const Dn=o.zs3.create({providers:Y(Ct),parent:l});if(y&&hn(y)){const Eo=y.resolveComponentFactory(Ft);wn=v?v.createComponent(Eo,v.length,Dn):Eo.create(Dn)}else{if(!v)return null;wn=v.createComponent(Ft,{index:v.indexOf,injector:Dn,environmentInjector:y})}const Un=wn.instance,or=wn.location.nativeElement;if(Ct&&Object.assign(Un,Ct),cn)for(const Eo of cn)or.classList.add(Eo);const Qr=V(a,Un,or);return ct.appendChild(or),v||R.attachView(wn.hostView),wn.changeDetectorRef.reattach(),ge.set(or,wn),Ke.set(or,Qr),or},b=[Ht.L,Ht.a,Ht.b,Ht.c,Ht.d],V=(a,y,l)=>a.run(()=>{const v=b.filter(R=>"function"==typeof y[R]).map(R=>{const ge=Ke=>y[R](Ke.detail);return l.addEventListener(R,ge),()=>l.removeEventListener(R,ge)});return()=>v.forEach(R=>R())}),w=new o.OlP("NavParamsToken"),Y=a=>[{provide:w,useValue:a},{provide:Sn,useFactory:ve,deps:[w]}],ve=a=>new Sn(a),rt=(a,y)=>((a=a.filter(l=>l.stackId!==y.stackId)).push(y),a),bn=(a,y)=>{const l=a.createUrlTree(["."],{relativeTo:y});return a.serializeUrl(l)},gt=(a,y)=>{if(!a)return;const l=Yn(y);for(let v=0;v=a.length)return l[v];if(l[v]!==a[v])return}},Yn=a=>a.split("/").map(y=>y.trim()).filter(y=>""!==y),Mn=a=>{a&&(a.ref.destroy(),a.unlistenEvents())};class er{constructor(y,l,v,R,ge,Ke){this.containerEl=l,this.router=v,this.navCtrl=R,this.zone=ge,this.location=Ke,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==y?Yn(y):void 0}createView(y,l){var v;const R=bn(this.router,l),ge=null===(v=y?.location)||void 0===v?void 0:v.nativeElement,Ke=V(this.zone,y.instance,ge);return{id:this.nextId++,stackId:gt(this.tabsPrefix,R),unlistenEvents:Ke,element:ge,ref:y,url:R}}getExistingView(y){const l=bn(this.router,y),v=this.views.find(R=>R.url===l);return v&&v.ref.changeDetectorRef.reattach(),v}setActive(y){var l,v;const R=this.navCtrl.consumeTransition();let{direction:ge,animation:Ke,animationBuilder:ct}=R;const Ft=this.activeView,Ct=((a,y)=>!y||a.stackId!==y.stackId)(y,Ft);Ct&&(ge="back",Ke=void 0);const cn=this.views.slice();let wn;const Dn=this.router;Dn.getCurrentNavigation?wn=Dn.getCurrentNavigation():!(null===(l=Dn.navigations)||void 0===l)&&l.value&&(wn=Dn.navigations.value),null!==(v=wn?.extras)&&void 0!==v&&v.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const Un=this.views.includes(y),or=this.insertView(y,ge);Un||y.ref.changeDetectorRef.detectChanges();const Qr=y.animationBuilder;return void 0===ct&&"back"===ge&&!Ct&&void 0!==Qr&&(ct=Qr),Ft&&(Ft.animationBuilder=ct),this.zone.runOutsideAngular(()=>this.wait(()=>(Ft&&Ft.ref.changeDetectorRef.detach(),y.ref.changeDetectorRef.reattach(),this.transition(y,Ft,Ke,this.canGoBack(1),!1,ct).then(()=>nr(y,or,cn,this.location,this.zone)).then(()=>({enteringView:y,direction:ge,animation:Ke,tabSwitch:Ct})))))}canGoBack(y,l=this.getActiveStackId()){return this.getStack(l).length>y}pop(y,l=this.getActiveStackId()){return this.zone.run(()=>{var v,R;const ge=this.getStack(l);if(ge.length<=y)return Promise.resolve(!1);const Ke=ge[ge.length-y-1];let ct=Ke.url;const Ft=Ke.savedData;if(Ft){const cn=Ft.get("primary");null!==(R=null===(v=cn?.route)||void 0===v?void 0:v._routerState)&&void 0!==R&&R.snapshot.url&&(ct=cn.route._routerState.snapshot.url)}const{animationBuilder:Ct}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(ct,Object.assign(Object.assign({},Ke.savedExtras),{animation:Ct})).then(()=>!0)})}startBackTransition(){const y=this.activeView;if(y){const l=this.getStack(y.stackId),v=l[l.length-2],R=v.animationBuilder;return this.wait(()=>this.transition(v,y,"back",this.canGoBack(2),!0,R))}return Promise.resolve()}endBackTransition(y){y?(this.skipTransition=!0,this.pop(1)):this.activeView&&Sr(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(y){const l=this.getStack(y);return l.length>0?l[l.length-1]:void 0}getRootUrl(y){const l=this.getStack(y);return l.length>0?l[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Mn),this.activeView=void 0,this.views=[]}getStack(y){return this.views.filter(l=>l.stackId===y)}insertView(y,l){return this.activeView=y,this.views=((a,y,l)=>"root"===l?rt(a,y):"forward"===l?((a,y)=>(a.indexOf(y)>=0?a=a.filter(v=>v.stackId!==y.stackId||v.id<=y.id):a.push(y),a))(a,y):((a,y)=>a.indexOf(y)>=0?a.filter(v=>v.stackId!==y.stackId||v.id<=y.id):rt(a,y))(a,y))(this.views,y,l),this.views.slice()}transition(y,l,v,R,ge,Ke){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(l===y)return Promise.resolve(!1);const ct=y?y.element:void 0,Ft=l?l.element:void 0,Ct=this.containerEl;return ct&&ct!==Ft&&(ct.classList.add("ion-page"),ct.classList.add("ion-page-invisible"),ct.parentElement!==Ct&&Ct.appendChild(ct),Ct.commit)?Ct.commit(ct,Ft,{deepWait:!0,duration:void 0===v?0:void 0,direction:v,showGoBack:R,progressAnimation:ge,animationBuilder:Ke}):Promise.resolve(!1)}wait(y){return z(this,void 0,void 0,function*(){void 0!==this.runningTask&&(yield this.runningTask,this.runningTask=void 0);const l=this.runningTask=y();return l.finally(()=>this.runningTask=void 0),l})}}const nr=(a,y,l,v,R)=>"function"==typeof requestAnimationFrame?new Promise(ge=>{requestAnimationFrame(()=>{Sr(a,y,l,v,R),ge()})}):Promise.resolve(),Sr=(a,y,l,v,R)=>{R.run(()=>l.filter(ge=>!y.includes(ge)).forEach(Mn)),y.forEach(ge=>{const ct=v.path().split("?")[0].split("#")[0];if(ge!==a&&ge.url!==ct){const Ft=ge.element;Ft.setAttribute("aria-hidden","true"),Ft.classList.add("ion-page-hidden"),ge.ref.changeDetectorRef.detach()}})};let Mr=(()=>{class a{get(l,v){const R=qr();return R?R.get(l,v):null}getBoolean(l,v){const R=qr();return!!R&&R.getBoolean(l,v)}getNumber(l,v){const R=qr();return R?R.getNumber(l,v):0}}return a.\u0275fac=function(l){return new(l||a)},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const Pr=new o.OlP("USERCONFIG"),qr=()=>{if(typeof window<"u"){const a=window.Ionic;if(a?.config)return a.config}return null};let nt=(()=>{class a{constructor(l,v){this.doc=l,this.backButton=new Dt.x,this.keyboardDidShow=new Dt.x,this.keyboardDidHide=new Dt.x,this.pause=new Dt.x,this.resume=new Dt.x,this.resize=new Dt.x,v.run(()=>{var R;let ge;this.win=l.defaultView,this.backButton.subscribeWithPriority=function(Ke,ct){return this.subscribe(Ft=>Ft.register(Ke,Ct=>v.run(()=>ct(Ct))))},Kr(this.pause,l,"pause"),Kr(this.resume,l,"resume"),Kr(this.backButton,l,"ionBackButton"),Kr(this.resize,this.win,"resize"),Kr(this.keyboardDidShow,this.win,"ionKeyboardDidShow"),Kr(this.keyboardDidHide,this.win,"ionKeyboardDidHide"),this._readyPromise=new Promise(Ke=>{ge=Ke}),null!==(R=this.win)&&void 0!==R&&R.cordova?l.addEventListener("deviceready",()=>{ge("cordova")},{once:!0}):ge("dom")})}is(l){return(0,An.a)(this.win,l)}platforms(){return(0,An.g)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(l){return Zt(this.win.location.href,l)}isLandscape(){return!this.isPortrait()}isPortrait(){var l,v;return null===(v=(l=this.win).matchMedia)||void 0===v?void 0:v.call(l,"(orientation: portrait)").matches}testUserAgent(l){const v=this.win.navigator;return!!(v?.userAgent&&v.userAgent.indexOf(l)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return a.\u0275fac=function(l){return new(l||a)(o.LFG(kt.K0),o.LFG(o.R0b))},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const Zt=(a,y)=>{y=y.replace(/[[\]\\]/g,"\\$&");const v=new RegExp("[\\?&]"+y+"=([^&#]*)").exec(a);return v?decodeURIComponent(v[1].replace(/\+/g," ")):null},Kr=(a,y,l)=>{y&&y.addEventListener(l,v=>{a.next(v?.detail)})};let lo=(()=>{class a{constructor(l,v,R,ge){this.location=v,this.serializer=R,this.router=ge,this.direction=Xr,this.animated=co,this.guessDirection="forward",this.lastNavId=-1,ge&&ge.events.subscribe(Ke=>{if(Ke instanceof mt.OD){const ct=Ke.restoredState?Ke.restoredState.navigationId:Ke.id;this.guessDirection=ct{this.pop(),Ke()})}navigateForward(l,v={}){return this.setDirection("forward",v.animated,v.animationDirection,v.animation),this.navigate(l,v)}navigateBack(l,v={}){return this.setDirection("back",v.animated,v.animationDirection,v.animation),this.navigate(l,v)}navigateRoot(l,v={}){return this.setDirection("root",v.animated,v.animationDirection,v.animation),this.navigate(l,v)}back(l={animated:!0,animationDirection:"back"}){return this.setDirection("back",l.animated,l.animationDirection,l.animation),this.location.back()}pop(){return z(this,void 0,void 0,function*(){let l=this.topOutlet;for(;l&&!(yield l.pop());)l=l.parentOutlet})}setDirection(l,v,R,ge){this.direction=l,this.animated=jn(l,v,R),this.animationBuilder=ge}setTopOutlet(l){this.topOutlet=l}consumeTransition(){let v,l="root";const R=this.animationBuilder;return"auto"===this.direction?(l=this.guessDirection,v=this.guessAnimation):(v=this.animated,l=this.direction),this.direction=Xr,this.animated=co,this.animationBuilder=void 0,{direction:l,animation:v,animationBuilder:R}}navigate(l,v){if(Array.isArray(l))return this.router.navigate(l,v);{const R=this.serializer.parse(l.toString());return void 0!==v.queryParams&&(R.queryParams=Object.assign({},v.queryParams)),void 0!==v.fragment&&(R.fragment=v.fragment),this.router.navigateByUrl(R,v)}}}return a.\u0275fac=function(l){return new(l||a)(o.LFG(nt),o.LFG(kt.Ye),o.LFG(mt.Hx),o.LFG(mt.F0,8))},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const jn=(a,y,l)=>{if(!1!==y){if(void 0!==l)return l;if("forward"===a||"back"===a)return a;if("root"===a&&!0===y)return"forward"}},Xr="auto",co=void 0;class wr{}let E=(()=>{class a{constructor(l,v,R,ge,Ke,ct,Ft,Ct,cn,wn,Dn,Un,or,Qr){this.parentContexts=l,this.location=v,this.config=Ke,this.navCtrl=ct,this.environmentInjector=Ft,this.componentFactoryResolver=Ct,this.parentOutlet=Qr,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Wt.X(null),this.stackEvents=new o.vpe,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.nativeEl=wn.nativeElement,this.name=R||mt.eC,this.tabsPrefix="true"===ge?bn(Dn,or):void 0,this.stackCtrl=new er(this.tabsPrefix,this.nativeEl,Dn,ct,Un,cn),l.onChildOutletCreated(this.name,this)}set animation(l){this.nativeEl.animation=l}set animated(l){this.nativeEl.animated=l}set swipeGesture(l){this._swipeGesture=l,this.nativeEl.swipeHandler=l?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:v=>this.stackCtrl.endBackTransition(v)}:void 0}ngOnDestroy(){this.stackCtrl.destroy()}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){if(!this.activated){const l=this.getContext();l?.route&&this.activateWith(l.route,l.resolver||null)}new Promise(l=>(0,on.c)(this.nativeEl,l)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(l,v){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const v=this.getContext();this.activatedView.savedData=new Map(v.children.contexts);const R=this.activatedView.savedData.get("primary");if(R&&v.route&&(R.route=Object.assign({},v.route)),this.activatedView.savedExtras={},v.route){const ge=v.route.snapshot;this.activatedView.savedExtras.queryParams=ge.queryParams,this.activatedView.savedExtras.fragment=ge.fragment}}const l=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,v){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=l;let R,ge=this.stackCtrl.getExistingView(l);if(ge){R=this.activated=ge.ref;const Ke=ge.savedData;Ke&&(this.getContext().children.contexts=Ke),this.updateActivatedRouteProxy(R.instance,l)}else{const Ke=l._futureSnapshot,ct=Ke.routeConfig.component;if(null==ct&&Ke.component)return void console.warn("[Ionic Warning]: Standalone components are not currently supported with ion-router-outlet. You can track this feature request at https://github.com/ionic-team/ionic-framework/issues/25404");const Ft=this.parentContexts.getOrCreateContext(this.name).children,Ct=new Wt.X(null),cn=this.createActivatedRouteProxy(Ct,l),wn=new _(cn,Ft,this.location.injector);if((v=v||this.componentFactoryResolver)&&hn(v)){const Dn=v.resolveComponentFactory(ct);R=this.activated=this.location.createComponent(Dn,this.location.length,wn)}else R=this.activated=this.location.createComponent(ct,{index:this.location.length,injector:wn,environmentInjector:v??this.environmentInjector});Ct.next(R.instance),ge=this.stackCtrl.createView(this.activated,l),this.proxyMap.set(R.instance,cn),this.currentActivatedRoute$.next({component:R.instance,activatedRoute:l})}this.activatedView=ge,this.stackCtrl.setActive(ge).then(Ke=>{this.navCtrl.setTopOutlet(this),this.activateEvents.emit(R.instance),this.stackEvents.emit(Ke)})}canGoBack(l=1,v){return this.stackCtrl.canGoBack(l,v)}pop(l=1,v){return this.stackCtrl.pop(l,v)}getLastUrl(l){const v=this.stackCtrl.getLastUrl(l);return v?v.url:void 0}getLastRouteView(l){return this.stackCtrl.getLastUrl(l)}getRootView(l){return this.stackCtrl.getRootUrl(l)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(l,v){const R=new mt.gz;return R._futureSnapshot=v._futureSnapshot,R._routerState=v._routerState,R.snapshot=v.snapshot,R.outlet=v.outlet,R.component=v.component,R._paramMap=this.proxyObservable(l,"paramMap"),R._queryParamMap=this.proxyObservable(l,"queryParamMap"),R.url=this.proxyObservable(l,"url"),R.params=this.proxyObservable(l,"params"),R.queryParams=this.proxyObservable(l,"queryParams"),R.fragment=this.proxyObservable(l,"fragment"),R.data=this.proxyObservable(l,"data"),R}proxyObservable(l,v){return l.pipe((0,Fn.h)(R=>!!R),(0,Pt.w)(R=>this.currentActivatedRoute$.pipe((0,Fn.h)(ge=>null!==ge&&ge.component===R),(0,Pt.w)(ge=>ge&&ge.activatedRoute[v]),function vt(a,y=Jn.y){return a=a??Rn,(0,an.e)((l,v)=>{let R,ge=!0;l.subscribe(new at.Q(v,Ke=>{const ct=y(Ke);(ge||!a(R,ct))&&(ge=!1,R=ct,v.next(Ke))}))})}())))}updateActivatedRouteProxy(l,v){const R=this.proxyMap.get(l);if(!R)throw new Error("Could not find activated route proxy for view");R._futureSnapshot=v._futureSnapshot,R._routerState=v._routerState,R.snapshot=v.snapshot,R.outlet=v.outlet,R.component=v.component,this.currentActivatedRoute$.next({component:l,activatedRoute:v})}}return a.\u0275fac=function(l){return new(l||a)(o.Y36(mt.y6),o.Y36(o.s_b),o.$8M("name"),o.$8M("tabs"),o.Y36(Mr),o.Y36(lo),o.Y36(wr,8),o.Y36(o._Vd,8),o.Y36(kt.Ye),o.Y36(o.SBq),o.Y36(mt.F0),o.Y36(o.R0b),o.Y36(mt.gz),o.Y36(a,12))},a.\u0275dir=o.lG2({type:a,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",swipeGesture:"swipeGesture"},outputs:{stackEvents:"stackEvents",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),a})();class _{constructor(y,l,v){this.route=y,this.childContexts=l,this.parent=v}get(y,l){return y===mt.gz?this.route:y===mt.y6?this.childContexts:this.parent.get(y,l)}}let D=(()=>{class a{constructor(l){this.navCtrl=l,this.ionTabsWillChange=new o.vpe,this.ionTabsDidChange=new o.vpe}onPageSelected(l){const v=l.enteringView.stackId;l.tabSwitch&&void 0!==v&&(this.ionTabsWillChange.emit({tab:v}),this.tabBar&&(this.tabBar.selectedTab=v),this.ionTabsDidChange.emit({tab:v}))}select(l){const v="string"==typeof l,R=v?l:l.detail.tab,ge=this.outlet.getActiveStackId()===R,Ke=`${this.outlet.tabsPrefix}/${R}`;if(v||l.stopPropagation(),ge){const ct=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(ct)?.url===Ke)return;const Ct=this.outlet.getRootView(R);return this.navCtrl.navigateRoot(Ke,Object.assign(Object.assign({},Ct&&Ke===Ct.url&&Ct.savedExtras),{animated:!0,animationDirection:"back"}))}{const ct=this.outlet.getLastRouteView(R),Ct=ct?.savedExtras;return this.navCtrl.navigateRoot(ct?.url||Ke,Object.assign(Object.assign({},Ct),{animated:!0,animationDirection:"back"}))}}getSelected(){return this.outlet.getActiveStackId()}}return a.\u0275fac=function(l){return new(l||a)(o.Y36(lo))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-tabs"]],contentQueries:function(l,v,R){if(1&l&&o.Suo(R,Fr,5),2&l){let ge;o.iGM(ge=o.CRH())&&(v.tabBar=ge.first)}},viewQuery:function(l,v){if(1&l&&o.Gf(rr,5,E),2&l){let R;o.iGM(R=o.CRH())&&(v.outlet=R.first)}},hostBindings:function(l,v){1&l&&o.NdJ("ionTabButtonClick",function(ge){return v.select(ge)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"},ngContentSelectors:kn,decls:5,vars:0,consts:[[1,"tabs-inner"],["tabs","true",3,"stackEvents"],["outlet",""]],template:function(l,v){1&l&&(o.F$t(fn),o.Hsn(0),o.TgZ(1,"div",0)(2,"ion-router-outlet",1,2),o.NdJ("stackEvents",function(ge){return v.onPageSelected(ge)}),o.qZA()(),o.Hsn(4,1))},dependencies:[E],styles:["[_nghost-%COMP%] {\n display: flex;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n flex-direction: column;\n\n width: 100%;\n height: 100%;\n\n contain: layout size style;\n z-index: $z-index-page-container;\n }\n .tabs-inner[_ngcontent-%COMP%] {\n position: relative;\n\n flex: 1;\n\n contain: layout size style;\n }"]}),a})(),Ti=(()=>{let a=class{constructor(l,v,R){this.z=R,this.isCmpOpen=!1,this.el=v.nativeElement,this.el.addEventListener("willPresent",()=>{this.isCmpOpen=!0,l.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,l.detectChanges()}),ne(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return a.\u0275fac=function(l){return new(l||a)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},a.\u0275cmp=o.Xpm({type:a,selectors:[["ion-popover"]],contentQueries:function(l,v,R){if(1&l&&o.Suo(R,o.Rgc,5),2&l){let ge;o.iGM(ge=o.CRH())&&(v.template=ge.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"},decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(l,v){1&l&&o.YNc(0,Ln,1,1,"ng-container",0),2&l&&o.Q6J("ngIf",v.isCmpOpen||v.keepContentsMounted)},dependencies:[kt.O5,kt.tP],encapsulation:2,changeDetection:0}),a=q([W({inputs:["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],a),a})();class li{constructor(y){this.ctrl=y}create(y){return this.ctrl.create(y||{})}dismiss(y,l,v){return this.ctrl.dismiss(y,l,v)}getTop(){return this.ctrl.getTop()}}let ci=(()=>{class a extends li{constructor(l,v,R,ge){super(Et.m),this.angularDelegate=l,this.resolver=v,this.injector=R,this.environmentInjector=ge}create(l){var v;return super.create(Object.assign(Object.assign({},l),{delegate:this.angularDelegate.create(null!==(v=this.resolver)&&void 0!==v?v:this.environmentInjector,this.injector)}))}}return a.\u0275fac=function(l){return new(l||a)(o.LFG(pr),o.LFG(o._Vd),o.LFG(o.zs3),o.LFG(wr,8))},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac}),a})(),Xo=(()=>{class a extends li{constructor(l,v,R,ge){super(Et.c),this.angularDelegate=l,this.resolver=v,this.injector=R,this.environmentInjector=ge}create(l){var v;return super.create(Object.assign(Object.assign({},l),{delegate:this.angularDelegate.create(null!==(v=this.resolver)&&void 0!==v?v:this.environmentInjector,this.injector)}))}}return a.\u0275fac=function(l){return new(l||a)(o.LFG(pr),o.LFG(o._Vd),o.LFG(o.zs3),o.LFG(wr,8))},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac}),a})(),Fi=(()=>{class a extends li{constructor(){super(Et.t)}}return a.\u0275fac=function(l){return new(l||a)},a.\u0275prov=o.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();class ws{shouldDetach(y){return!1}shouldAttach(y){return!1}store(y,l){}retrieve(y){return null}shouldReuseRoute(y,l){if(y.routeConfig!==l.routeConfig)return!1;const v=y.params,R=l.params,ge=Object.keys(v),Ke=Object.keys(R);if(ge.length!==Ke.length)return!1;for(const ct of ge)if(R[ct]!==v[ct])return!1;return!0}}const Es=(a,y,l)=>()=>{if(y.defaultView&&typeof window<"u"){(a=>{const y=window,l=y.Ionic;l&&l.config&&"Object"!==l.config.constructor.name||(y.Ionic=y.Ionic||{},y.Ionic.config=Object.assign(Object.assign({},y.Ionic.config),a))})(Object.assign(Object.assign({},a),{_zoneGate:ge=>l.run(ge)}));const R="__zone_symbol__addEventListener"in y.body?"__zone_symbol__addEventListener":"addEventListener";return function In(){var a=[];if(typeof window<"u"){var y=window;(!y.customElements||y.Element&&(!y.Element.prototype.closest||!y.Element.prototype.matches||!y.Element.prototype.remove||!y.Element.prototype.getRootNode))&&a.push(L.e(6748).then(L.t.bind(L,723,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||y.NodeList&&!y.NodeList.prototype.forEach||!y.fetch||!function(){try{var v=new URL("b","http://a");return v.pathname="c%20d","http://a/c%20d"===v.href&&v.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&a.push(L.e(2214).then(L.t.bind(L,4144,23)))}return Promise.all(a)}().then(()=>((a,y)=>typeof window>"u"?Promise.resolve():(0,zt.p)().then(()=>(lr(),(0,zt.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"],[0,"keydown","onKeydown"]]],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]]]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[1],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]]]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1025],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]]]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"activated":[32]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-input",[[34,"ion-input",{"fireFocusEvents":[4,"fire-focus-events"],"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-textarea",[[34,"ion-textarea",{"fireFocusEvents":[4,"fire-focus-events"],"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"swipeToClose":[4,"swipe-to-close"],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-slide_2",[[0,"ion-slide"],[36,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]}]]],["ion-picker-internal",[[33,"ion-picker-internal"]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32],"ariaLabel":[32]}]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"multiple":[4],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isPresented":[32],"isTimePopoverOpen":[32],"confirm":[64],"reset":[64],"cancel":[64]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[32,"ion-picker-column",{"col":[16]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]]]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8]}]]],["ion-select_3",[[33,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]},[[0,"ionChange","onSelect"]]]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[8,"appload","onAppLoad"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[33,"ion-title",{"color":[513],"size":[1]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionChange","handleIonChange"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]}],[33,"ion-note",{"color":[513]}]]]]'),y))))(0,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:Wn,jmp:ge=>l.runOutsideAngular(ge),ael(ge,Ke,ct,Ft){ge[R](Ke,ct,Ft)},rel(ge,Ke,ct,Ft){ge.removeEventListener(Ke,ct,Ft)}}))}};let Zr=(()=>{class a{static forRoot(l){return{ngModule:a,providers:[{provide:Pr,useValue:l},{provide:o.ip1,useFactory:Es,multi:!0,deps:[Pr,kt.K0,o.R0b]}]}}}return a.\u0275fac=function(l){return new(l||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({providers:[pr,ci,Xo],imports:[[kt.ez]]}),a})()},9442:(wt,Ye,L)=>{"use strict";L.d(Ye,{c:()=>Se});var o=L(3756);let I;const he=le=>le.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Oe=le=>{if(void 0===I){const we=void 0!==le.style.webkitAnimationName;I=void 0===le.style.animationName&&we?"-webkit-":""}return I},Fe=(le,fe,we)=>{const We=fe.startsWith("animation")?Oe(le):"";le.style.setProperty(We+fe,we)},q=(le,fe)=>{const we=fe.startsWith("animation")?Oe(le):"";le.style.removeProperty(we+fe)},z=[],pe=(le=[],fe)=>{if(void 0!==fe){const we=Array.isArray(fe)?fe:[fe];return[...le,...we]}return le},Se=le=>{let fe,we,We,ke,te,Ce,ae,je,Me,Be,Ne,tt,ot,ce=[],Ae=[],De=[],Le=!1,se={},re=[],ie=[],Ee={},_e=0,st=!1,Ze=!1,xe=!0,Ue=!1,qe=!0,Dt=!1;const Wt=le,mt=[],ln=[],Bt=[],_t=[],An=[],on=[],Ht=[],tr=[],Et=[],tn=[],zt="function"==typeof AnimationEffect||"function"==typeof window.AnimationEffect,sn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&zt,gn=()=>tn,at=(x,$)=>(($?.oneTimeCallback?ln:mt).push({c:x,o:$}),ot),Rn=()=>{if(sn)tn.forEach(x=>{x.cancel()}),tn.length=0;else{const x=Bt.slice();(0,o.r)(()=>{x.forEach($=>{q($,"animation-name"),q($,"animation-duration"),q($,"animation-timing-function"),q($,"animation-iteration-count"),q($,"animation-delay"),q($,"animation-play-state"),q($,"animation-fill-mode"),q($,"animation-direction")})})}},Fn=()=>{An.forEach(x=>{x?.parentNode&&x.parentNode.removeChild(x)}),An.length=0},Wn=()=>void 0!==te?te:ae?ae.getFill():"both",hn=()=>void 0!==Me?Me:void 0!==Ce?Ce:ae?ae.getDirection():"normal",En=()=>st?"linear":void 0!==We?We:ae?ae.getEasing():"linear",Jt=()=>Ze?0:void 0!==Be?Be:void 0!==we?we:ae?ae.getDuration():0,un=()=>void 0!==ke?ke:ae?ae.getIterations():1,Nn=()=>void 0!==Ne?Ne:void 0!==fe?fe:ae?ae.getDelay():0,Nt=()=>{0!==_e&&(_e--,0===_e&&((()=>{H(),tr.forEach(me=>me()),Et.forEach(me=>me());const x=xe?1:0,$=re,J=ie,de=Ee;Bt.forEach(me=>{const Pe=me.classList;$.forEach(Xe=>Pe.add(Xe)),J.forEach(Xe=>Pe.remove(Xe));for(const Xe in de)de.hasOwnProperty(Xe)&&Fe(me,Xe,de[Xe])}),mt.forEach(me=>me.c(x,ot)),ln.forEach(me=>me.c(x,ot)),ln.length=0,qe=!0,xe&&(Ue=!0),xe=!0})(),ae&&ae.animationFinish()))},$t=(x=!0)=>{Fn();const $=(le=>(le.forEach(fe=>{for(const we in fe)if(fe.hasOwnProperty(we)){const We=fe[we];if("easing"===we)fe["animation-timing-function"]=We,delete fe[we];else{const ke=he(we);ke!==we&&(fe[ke]=We,delete fe[we])}}}),le))(ce);Bt.forEach(J=>{if($.length>0){const de=((le=[])=>le.map(fe=>{const we=fe.offset,We=[];for(const ke in fe)fe.hasOwnProperty(ke)&&"offset"!==ke&&We.push(`${ke}: ${fe[ke]};`);return`${100*we}% { ${We.join(" ")} }`}).join(" "))($);tt=void 0!==le?le:(le=>{let fe=z.indexOf(le);return fe<0&&(fe=z.push(le)-1),`ion-animation-${fe}`})(de);const me=((le,fe,we)=>{const We=(le=>{const fe=le.getRootNode();return fe.head||fe})(we),ke=Oe(we),te=We.querySelector("#"+le);if(te)return te;const Ce=(we.ownerDocument||document).createElement("style");return Ce.id=le,Ce.textContent=`@${ke}keyframes ${le} { ${fe} } @${ke}keyframes ${le}-alt { ${fe} }`,We.appendChild(Ce),Ce})(tt,de,J);An.push(me),Fe(J,"animation-duration",`${Jt()}ms`),Fe(J,"animation-timing-function",En()),Fe(J,"animation-delay",`${Nn()}ms`),Fe(J,"animation-fill-mode",Wn()),Fe(J,"animation-direction",hn());const Pe=un()===1/0?"infinite":un().toString();Fe(J,"animation-iteration-count",Pe),Fe(J,"animation-play-state","paused"),x&&Fe(J,"animation-name",`${me.id}-alt`),(0,o.r)(()=>{Fe(J,"animation-name",me.id||null)})}})},qt=(x=!0)=>{(()=>{on.forEach(de=>de()),Ht.forEach(de=>de());const x=Ae,$=De,J=se;Bt.forEach(de=>{const me=de.classList;x.forEach(Pe=>me.add(Pe)),$.forEach(Pe=>me.remove(Pe));for(const Pe in J)J.hasOwnProperty(Pe)&&Fe(de,Pe,J[Pe])})})(),ce.length>0&&(sn?(Bt.forEach(x=>{const $=x.animate(ce,{id:Wt,delay:Nn(),duration:Jt(),easing:En(),iterations:un(),fill:Wn(),direction:hn()});$.pause(),tn.push($)}),tn.length>0&&(tn[0].onfinish=()=>{Nt()})):$t(x)),Le=!0},Cn=x=>{if(x=Math.min(Math.max(x,0),.9999),sn)tn.forEach($=>{$.currentTime=$.effect.getComputedTiming().delay+Jt()*x,$.pause()});else{const $=`-${Jt()*x}ms`;Bt.forEach(J=>{ce.length>0&&(Fe(J,"animation-delay",$),Fe(J,"animation-play-state","paused"))})}},Tn=x=>{tn.forEach($=>{$.effect.updateTiming({delay:Nn(),duration:Jt(),easing:En(),iterations:un(),fill:Wn(),direction:hn()})}),void 0!==x&&Cn(x)},bt=(x=!0,$)=>{(0,o.r)(()=>{Bt.forEach(J=>{Fe(J,"animation-name",tt||null),Fe(J,"animation-duration",`${Jt()}ms`),Fe(J,"animation-timing-function",En()),Fe(J,"animation-delay",void 0!==$?`-${$*Jt()}ms`:`${Nn()}ms`),Fe(J,"animation-fill-mode",Wn()||null),Fe(J,"animation-direction",hn()||null);const de=un()===1/0?"infinite":un().toString();Fe(J,"animation-iteration-count",de),x&&Fe(J,"animation-name",`${tt}-alt`),(0,o.r)(()=>{Fe(J,"animation-name",tt||null)})})})},Xt=(x=!1,$=!0,J)=>(x&&_t.forEach(de=>{de.update(x,$,J)}),sn?Tn(J):bt($,J),ot),j=()=>{Le&&(sn?tn.forEach(x=>{x.pause()}):Bt.forEach(x=>{Fe(x,"animation-play-state","paused")}),Dt=!0)},T=()=>{je=void 0,Nt()},H=()=>{je&&clearTimeout(je)},oe=x=>new Promise($=>{x?.sync&&(Ze=!0,at(()=>Ze=!1,{oneTimeCallback:!0})),Le||qt(),Ue&&(sn?(Cn(0),Tn()):bt(),Ue=!1),qe&&(_e=_t.length+1,qe=!1),at(()=>$(),{oneTimeCallback:!0}),_t.forEach(J=>{J.play()}),sn?(tn.forEach(x=>{x.play()}),(0===ce.length||0===Bt.length)&&Nt()):(()=>{if(H(),(0,o.r)(()=>{Bt.forEach(x=>{ce.length>0&&Fe(x,"animation-play-state","running")})}),0===ce.length||0===Bt.length)Nt();else{const x=Nn()||0,$=Jt()||0,J=un()||1;isFinite(J)&&(je=setTimeout(T,x+$*J+100)),((le,fe)=>{let we;const We={passive:!0},te=Ce=>{le===Ce.target&&(we&&we(),H(),(0,o.r)(()=>{Bt.forEach(x=>{q(x,"animation-duration"),q(x,"animation-delay"),q(x,"animation-play-state")}),(0,o.r)(Nt)}))};le&&(le.addEventListener("webkitAnimationEnd",te,We),le.addEventListener("animationend",te,We),we=()=>{le.removeEventListener("webkitAnimationEnd",te,We),le.removeEventListener("animationend",te,We)})})(Bt[0])}})(),Dt=!1}),A=(x,$)=>{const J=ce[0];return void 0===J||void 0!==J.offset&&0!==J.offset?ce=[{offset:0,[x]:$},...ce]:J[x]=$,ot};return ot={parentAnimation:ae,elements:Bt,childAnimations:_t,id:Wt,animationFinish:Nt,from:A,to:(x,$)=>{const J=ce[ce.length-1];return void 0===J||void 0!==J.offset&&1!==J.offset?ce=[...ce,{offset:1,[x]:$}]:J[x]=$,ot},fromTo:(x,$,J)=>A(x,$).to(x,J),parent:x=>(ae=x,ot),play:oe,pause:()=>(_t.forEach(x=>{x.pause()}),j(),ot),stop:()=>{_t.forEach(x=>{x.stop()}),Le&&(Rn(),Le=!1),st=!1,Ze=!1,qe=!0,Me=void 0,Be=void 0,Ne=void 0,_e=0,Ue=!1,xe=!0,Dt=!1},destroy:x=>(_t.forEach($=>{$.destroy(x)}),(x=>{Rn(),x&&Fn()})(x),Bt.length=0,_t.length=0,ce.length=0,mt.length=0,ln.length=0,Le=!1,qe=!0,ot),keyframes:x=>{const $=ce!==x;return ce=x,$&&(x=>{sn?gn().forEach($=>{if($.effect.setKeyframes)$.effect.setKeyframes(x);else{const J=new KeyframeEffect($.effect.target,x,$.effect.getTiming());$.effect=J}}):$t()})(ce),ot},addAnimation:x=>{if(null!=x)if(Array.isArray(x))for(const $ of x)$.parent(ot),_t.push($);else x.parent(ot),_t.push(x);return ot},addElement:x=>{if(null!=x)if(1===x.nodeType)Bt.push(x);else if(x.length>=0)for(let $=0;$(te=x,Xt(!0),ot),direction:x=>(Ce=x,Xt(!0),ot),iterations:x=>(ke=x,Xt(!0),ot),duration:x=>(!sn&&0===x&&(x=1),we=x,Xt(!0),ot),easing:x=>(We=x,Xt(!0),ot),delay:x=>(fe=x,Xt(!0),ot),getWebAnimations:gn,getKeyframes:()=>ce,getFill:Wn,getDirection:hn,getDelay:Nn,getIterations:un,getEasing:En,getDuration:Jt,afterAddRead:x=>(tr.push(x),ot),afterAddWrite:x=>(Et.push(x),ot),afterClearStyles:(x=[])=>{for(const $ of x)Ee[$]="";return ot},afterStyles:(x={})=>(Ee=x,ot),afterRemoveClass:x=>(ie=pe(ie,x),ot),afterAddClass:x=>(re=pe(re,x),ot),beforeAddRead:x=>(on.push(x),ot),beforeAddWrite:x=>(Ht.push(x),ot),beforeClearStyles:(x=[])=>{for(const $ of x)se[$]="";return ot},beforeStyles:(x={})=>(se=x,ot),beforeRemoveClass:x=>(De=pe(De,x),ot),beforeAddClass:x=>(Ae=pe(Ae,x),ot),onFinish:at,isRunning:()=>0!==_e&&!Dt,progressStart:(x=!1,$)=>(_t.forEach(J=>{J.progressStart(x,$)}),j(),st=x,Le||qt(),Xt(!1,!0,$),ot),progressStep:x=>(_t.forEach($=>{$.progressStep(x)}),Cn(x),ot),progressEnd:(x,$,J)=>(st=!1,_t.forEach(de=>{de.progressEnd(x,$,J)}),void 0!==J&&(Be=J),Ue=!1,xe=!0,0===x?(Me="reverse"===hn()?"normal":"reverse","reverse"===Me&&(xe=!1),sn?(Xt(),Cn(1-$)):(Ne=(1-$)*Jt()*-1,Xt(!1,!1))):1===x&&(sn?(Xt(),Cn($)):(Ne=$*Jt()*-1,Xt(!1,!1))),void 0!==x&&(at(()=>{Be=void 0,Me=void 0,Ne=void 0},{oneTimeCallback:!0}),ae||oe()),ot)}}},3509:(wt,Ye,L)=>{"use strict";L.d(Ye,{G:()=>Oe});class I{constructor(q,ye,U,z,K){this.id=ye,this.name=U,this.disableScroll=K,this.priority=1e6*z+ye,this.ctrl=q}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const q=this.ctrl.capture(this.name,this.id,this.priority);return q&&this.disableScroll&&this.ctrl.disableScroll(this.id),q}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class Te{constructor(q,ye,U,z){this.id=ye,this.disable=U,this.disableScroll=z,this.ctrl=q}block(){if(this.ctrl){if(this.disable)for(const q of this.disable)this.ctrl.disableGesture(q,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const q of this.disable)this.ctrl.enableGesture(q,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const he="backdrop-no-scroll",Oe=new class o{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(q){return new I(this,this.newID(),q.name,q.priority||0,!!q.disableScroll)}createBlocker(q={}){return new Te(this,this.newID(),q.disable,!!q.disableScroll)}start(q,ye,U){return this.canStart(q)?(this.requestedStart.set(ye,U),!0):(this.requestedStart.delete(ye),!1)}capture(q,ye,U){if(!this.start(q,ye,U))return!1;const z=this.requestedStart;let K=-1e4;if(z.forEach(O=>{K=Math.max(K,O)}),K===U){this.capturedId=ye,z.clear();const O=new CustomEvent("ionGestureCaptured",{detail:{gestureName:q}});return document.dispatchEvent(O),!0}return z.delete(ye),!1}release(q){this.requestedStart.delete(q),this.capturedId===q&&(this.capturedId=void 0)}disableGesture(q,ye){let U=this.disabledGestures.get(q);void 0===U&&(U=new Set,this.disabledGestures.set(q,U)),U.add(ye)}enableGesture(q,ye){const U=this.disabledGestures.get(q);void 0!==U&&U.delete(ye)}disableScroll(q){this.disabledScroll.add(q),1===this.disabledScroll.size&&document.body.classList.add(he)}enableScroll(q){this.disabledScroll.delete(q),0===this.disabledScroll.size&&document.body.classList.remove(he)}canStart(q){return!(void 0!==this.capturedId||this.isDisabled(q))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(q){const ye=this.disabledGestures.get(q);return!!(ye&&ye.size>0)}newID(){return this.gestureId++,this.gestureId}}},7593:(wt,Ye,L)=>{"use strict";L.r(Ye),L.d(Ye,{MENU_BACK_BUTTON_PRIORITY:()=>Oe,OVERLAY_BACK_BUTTON_PRIORITY:()=>he,blockHardwareBackButton:()=>I,startHardwareBackButton:()=>Te});var o=L(5861);const I=()=>{document.addEventListener("backbutton",()=>{})},Te=()=>{const Fe=document;let q=!1;Fe.addEventListener("backbutton",()=>{if(q)return;let ye=0,U=[];const z=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(ee,pe){U.push({priority:ee,handler:pe,id:ye++})}}});Fe.dispatchEvent(z);const K=function(){var ee=(0,o.Z)(function*(pe){try{if(pe?.handler){const Se=pe.handler(O);null!=Se&&(yield Se)}}catch(Se){console.error(Se)}});return function(Se){return ee.apply(this,arguments)}}(),O=()=>{if(U.length>0){let ee={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};U.forEach(pe=>{pe.priority>=ee.priority&&(ee=pe)}),q=!0,U=U.filter(pe=>pe.id!==ee.id),K(ee).then(()=>q=!1)}};O()})},he=100,Oe=99},3756:(wt,Ye,L)=>{"use strict";L.d(Ye,{a:()=>q,b:()=>ye,c:()=>Te,d:()=>pe,e:()=>Se,f:()=>ee,g:()=>U,h:()=>te,i:()=>Fe,j:()=>he,k:()=>O,l:()=>le,m:()=>K,n:()=>fe,o:()=>ke,p:()=>We,q:()=>Ce,r:()=>z,s:()=>ce,t:()=>o,u:()=>we});const o=(Ae,De=0)=>new Promise(Le=>{I(Ae,De,Le)}),I=(Ae,De=0,Le)=>{let ae,se;const re={passive:!0},Ee=()=>{ae&&ae()},_e=st=>{(void 0===st||Ae===st.target)&&(Ee(),Le(st))};return Ae&&(Ae.addEventListener("webkitTransitionEnd",_e,re),Ae.addEventListener("transitionend",_e,re),se=setTimeout(_e,De+500),ae=()=>{se&&(clearTimeout(se),se=void 0),Ae.removeEventListener("webkitTransitionEnd",_e,re),Ae.removeEventListener("transitionend",_e,re)}),Ee},Te=(Ae,De)=>{Ae.componentOnReady?Ae.componentOnReady().then(Le=>De(Le)):z(()=>De(Ae))},he=(Ae,De=[])=>{const Le={};return De.forEach(ae=>{Ae.hasAttribute(ae)&&(null!==Ae.getAttribute(ae)&&(Le[ae]=Ae.getAttribute(ae)),Ae.removeAttribute(ae))}),Le},Oe=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","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-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],Fe=Ae=>he(Ae,Oe),q=(Ae,De,Le,ae)=>{var se;if(typeof window<"u"){const ie=null===(se=window?.Ionic)||void 0===se?void 0:se.config;if(ie){const Ee=ie.get("_ael");if(Ee)return Ee(Ae,De,Le,ae);if(ie._ael)return ie._ael(Ae,De,Le,ae)}}return Ae.addEventListener(De,Le,ae)},ye=(Ae,De,Le,ae)=>{var se;if(typeof window<"u"){const ie=null===(se=window?.Ionic)||void 0===se?void 0:se.config;if(ie){const Ee=ie.get("_rel");if(Ee)return Ee(Ae,De,Le,ae);if(ie._rel)return ie._rel(Ae,De,Le,ae)}}return Ae.removeEventListener(De,Le,ae)},U=(Ae,De=Ae)=>Ae.shadowRoot||De,z=Ae=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(Ae):"function"==typeof requestAnimationFrame?requestAnimationFrame(Ae):setTimeout(Ae),K=Ae=>!!Ae.shadowRoot&&!!Ae.attachShadow,O=Ae=>{const De=Ae.closest("ion-item");return De?De.querySelector("ion-label"):null},ee=Ae=>{if(Ae.focus(),Ae.classList.contains("ion-focusable")){const De=Ae.closest("ion-app");De&&De.setFocus([Ae])}},pe=(Ae,De)=>{let Le;const ae=Ae.getAttribute("aria-labelledby"),se=Ae.id;let re=null!==ae&&""!==ae.trim()?ae:De+"-lbl",ie=null!==ae&&""!==ae.trim()?document.getElementById(ae):O(Ae);return ie?(null===ae&&(ie.id=re),Le=ie.textContent,ie.setAttribute("aria-hidden","true")):""!==se.trim()&&(ie=document.querySelector(`label[for="${se}"]`),ie&&(""!==ie.id?re=ie.id:ie.id=re=`${se}-lbl`,Le=ie.textContent)),{label:ie,labelId:re,labelText:Le}},Se=(Ae,De,Le,ae,se)=>{if(Ae||K(De)){let re=De.querySelector("input.aux-input");re||(re=De.ownerDocument.createElement("input"),re.type="hidden",re.classList.add("aux-input"),De.appendChild(re)),re.disabled=se,re.name=Le,re.value=ae||""}},le=(Ae,De,Le)=>Math.max(Ae,Math.min(De,Le)),fe=(Ae,De)=>{if(!Ae){const Le="ASSERT: "+De;throw console.error(Le),new Error(Le)}},we=Ae=>Ae.timeStamp||Date.now(),We=Ae=>{if(Ae){const De=Ae.changedTouches;if(De&&De.length>0){const Le=De[0];return{x:Le.clientX,y:Le.clientY}}if(void 0!==Ae.pageX)return{x:Ae.pageX,y:Ae.pageY}}return{x:0,y:0}},ke=Ae=>{const De="rtl"===document.dir;switch(Ae){case"start":return De;case"end":return!De;default:throw new Error(`"${Ae}" is not a valid value for [side]. Use "start" or "end" instead.`)}},te=(Ae,De)=>{const Le=Ae._original||Ae;return{_original:Ae,emit:Ce(Le.emit.bind(Le),De)}},Ce=(Ae,De=0)=>{let Le;return(...ae)=>{clearTimeout(Le),Le=setTimeout(Ae,De,...ae)}},ce=(Ae,De)=>{if(Ae??(Ae={}),De??(De={}),Ae===De)return!0;const Le=Object.keys(Ae);if(Le.length!==Object.keys(De).length)return!1;for(const ae of Le)if(!(ae in De)||Ae[ae]!==De[ae])return!1;return!0}},3139:(wt,Ye,L)=>{"use strict";L.r(Ye),L.d(Ye,{GESTURE_CONTROLLER:()=>o.G,createGesture:()=>U});var o=L(3509);const I=(ee,pe,Se,le)=>{const fe=Te(ee)?{capture:!!le.capture,passive:!!le.passive}:!!le.capture;let we,We;return ee.__zone_symbol__addEventListener?(we="__zone_symbol__addEventListener",We="__zone_symbol__removeEventListener"):(we="addEventListener",We="removeEventListener"),ee[we](pe,Se,fe),()=>{ee[We](pe,Se,fe)}},Te=ee=>{if(void 0===he)try{const pe=Object.defineProperty({},"passive",{get:()=>{he=!0}});ee.addEventListener("optsTest",()=>{},pe)}catch{he=!1}return!!he};let he;const q=ee=>ee instanceof Document?ee:ee.ownerDocument,U=ee=>{let pe=!1,Se=!1,le=!0,fe=!1;const we=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},ee),We=we.canStart,ke=we.onWillStart,te=we.onStart,Ce=we.onEnd,ce=we.notCaptured,Ae=we.onMove,De=we.threshold,Le=we.passive,ae=we.blurOnStart,se={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},re=((ee,pe,Se)=>{const le=Se*(Math.PI/180),fe="x"===ee,we=Math.cos(le),We=pe*pe;let ke=0,te=0,Ce=!1,ce=0;return{start(Ae,De){ke=Ae,te=De,ce=0,Ce=!0},detect(Ae,De){if(!Ce)return!1;const Le=Ae-ke,ae=De-te,se=Le*Le+ae*ae;if(sewe?1:ie<-we?-1:0,Ce=!1,!0},isGesture:()=>0!==ce,getDirection:()=>ce}})(we.direction,we.threshold,we.maxAngle),ie=o.G.createGesture({name:ee.gestureName,priority:ee.gesturePriority,disableScroll:ee.disableScroll}),st=()=>{!pe||(fe=!1,Ae&&Ae(se))},Ze=()=>!(ie&&!ie.capture()||(pe=!0,le=!1,se.startX=se.currentX,se.startY=se.currentY,se.startTime=se.currentTime,ke?ke(se).then(Me):Me(),0)),Me=()=>{ae&&(()=>{if(typeof document<"u"){const qe=document.activeElement;qe?.blur&&qe.blur()}})(),te&&te(se),le=!0},Be=()=>{pe=!1,Se=!1,fe=!1,le=!0,ie.release()},Ne=qe=>{const tt=pe,ot=le;if(Be(),ot){if(z(se,qe),tt)return void(Ce&&Ce(se));ce&&ce(se)}},xe=((ee,pe,Se,le,fe)=>{let we,We,ke,te,Ce,ce,Ae,De=0;const Le=je=>{De=Date.now()+2e3,pe(je)&&(!We&&Se&&(We=I(ee,"touchmove",Se,fe)),ke||(ke=I(je.target,"touchend",se,fe)),te||(te=I(je.target,"touchcancel",se,fe)))},ae=je=>{De>Date.now()||!pe(je)||(!ce&&Se&&(ce=I(q(ee),"mousemove",Se,fe)),Ae||(Ae=I(q(ee),"mouseup",re,fe)))},se=je=>{ie(),le&&le(je)},re=je=>{Ee(),le&&le(je)},ie=()=>{We&&We(),ke&&ke(),te&&te(),We=ke=te=void 0},Ee=()=>{ce&&ce(),Ae&&Ae(),ce=Ae=void 0},_e=()=>{ie(),Ee()},st=(je=!0)=>{je?(we||(we=I(ee,"touchstart",Le,fe)),Ce||(Ce=I(ee,"mousedown",ae,fe))):(we&&we(),Ce&&Ce(),we=Ce=void 0,_e())};return{enable:st,stop:_e,destroy:()=>{st(!1),le=Se=pe=void 0}}})(we.el,qe=>{const tt=O(qe);return!(Se||!le||(K(qe,se),se.startX=se.currentX,se.startY=se.currentY,se.startTime=se.currentTime=tt,se.velocityX=se.velocityY=se.deltaX=se.deltaY=0,se.event=qe,We&&!1===We(se))||(ie.release(),!ie.start()))&&(Se=!0,0===De?Ze():(re.start(se.startX,se.startY),!0))},qe=>{pe?!fe&&le&&(fe=!0,z(se,qe),requestAnimationFrame(st)):(z(se,qe),re.detect(se.currentX,se.currentY)&&(!re.isGesture()||!Ze())&&Ue())},Ne,{capture:!1,passive:Le}),Ue=()=>{Be(),xe.stop(),ce&&ce(se)};return{enable(qe=!0){qe||(pe&&Ne(void 0),Be()),xe.enable(qe)},destroy(){ie.destroy(),xe.destroy()}}},z=(ee,pe)=>{if(!pe)return;const Se=ee.currentX,le=ee.currentY,fe=ee.currentTime;K(pe,ee);const we=ee.currentX,We=ee.currentY,te=(ee.currentTime=O(pe))-fe;if(te>0&&te<100){const ce=(We-le)/te;ee.velocityX=(we-Se)/te*.7+.3*ee.velocityX,ee.velocityY=.7*ce+.3*ee.velocityY}ee.deltaX=we-ee.startX,ee.deltaY=We-ee.startY,ee.event=pe},K=(ee,pe)=>{let Se=0,le=0;if(ee){const fe=ee.changedTouches;if(fe&&fe.length>0){const we=fe[0];Se=we.clientX,le=we.clientY}else void 0!==ee.pageX&&(Se=ee.pageX,le=ee.pageY)}pe.currentX=Se,pe.currentY=le},O=ee=>ee.timeStamp||Date.now()},9753:(wt,Ye,L)=>{"use strict";L.d(Ye,{L:()=>he,a:()=>Oe,b:()=>Fe,c:()=>q,d:()=>ye,e:()=>De,g:()=>se,l:()=>ce,s:()=>Le,t:()=>K});var o=L(5861),I=L(7205),Te=L(3756);const he="ionViewWillEnter",Oe="ionViewDidEnter",Fe="ionViewWillLeave",q="ionViewDidLeave",ye="ionViewWillUnload",K=re=>new Promise((ie,Ee)=>{(0,I.c)(()=>{O(re),ee(re).then(_e=>{_e.animation&&_e.animation.destroy(),pe(re),ie(_e)},_e=>{pe(re),Ee(_e)})})}),O=re=>{const ie=re.enteringEl,Ee=re.leavingEl;ae(ie,Ee,re.direction),re.showGoBack?ie.classList.add("can-go-back"):ie.classList.remove("can-go-back"),Le(ie,!1),ie.style.setProperty("pointer-events","none"),Ee&&(Le(Ee,!1),Ee.style.setProperty("pointer-events","none"))},ee=function(){var re=(0,o.Z)(function*(ie){const Ee=yield Se(ie);return Ee&&I.B.isBrowser?le(Ee,ie):fe(ie)});return function(Ee){return re.apply(this,arguments)}}(),pe=re=>{const ie=re.enteringEl,Ee=re.leavingEl;ie.classList.remove("ion-page-invisible"),ie.style.removeProperty("pointer-events"),void 0!==Ee&&(Ee.classList.remove("ion-page-invisible"),Ee.style.removeProperty("pointer-events"))},Se=function(){var re=(0,o.Z)(function*(ie){return ie.leavingEl&&ie.animated&&0!==ie.duration?ie.animationBuilder?ie.animationBuilder:"ios"===ie.mode?(yield Promise.resolve().then(L.bind(L,4181))).iosTransitionAnimation:(yield Promise.resolve().then(L.bind(L,5980))).mdTransitionAnimation:void 0});return function(Ee){return re.apply(this,arguments)}}(),le=function(){var re=(0,o.Z)(function*(ie,Ee){yield we(Ee,!0);const _e=ie(Ee.baseEl,Ee);te(Ee.enteringEl,Ee.leavingEl);const st=yield ke(_e,Ee);return Ee.progressCallback&&Ee.progressCallback(void 0),st&&Ce(Ee.enteringEl,Ee.leavingEl),{hasCompleted:st,animation:_e}});return function(Ee,_e){return re.apply(this,arguments)}}(),fe=function(){var re=(0,o.Z)(function*(ie){const Ee=ie.enteringEl,_e=ie.leavingEl;return yield we(ie,!1),te(Ee,_e),Ce(Ee,_e),{hasCompleted:!0}});return function(Ee){return re.apply(this,arguments)}}(),we=function(){var re=(0,o.Z)(function*(ie,Ee){const st=(void 0!==ie.deepWait?ie.deepWait:Ee)?[De(ie.enteringEl),De(ie.leavingEl)]:[Ae(ie.enteringEl),Ae(ie.leavingEl)];yield Promise.all(st),yield We(ie.viewIsReady,ie.enteringEl)});return function(Ee,_e){return re.apply(this,arguments)}}(),We=function(){var re=(0,o.Z)(function*(ie,Ee){ie&&(yield ie(Ee))});return function(Ee,_e){return re.apply(this,arguments)}}(),ke=(re,ie)=>{const Ee=ie.progressCallback,_e=new Promise(st=>{re.onFinish(Ze=>st(1===Ze))});return Ee?(re.progressStart(!0),Ee(re)):re.play(),_e},te=(re,ie)=>{ce(ie,Fe),ce(re,he)},Ce=(re,ie)=>{ce(re,Oe),ce(ie,q)},ce=(re,ie)=>{if(re){const Ee=new CustomEvent(ie,{bubbles:!1,cancelable:!1});re.dispatchEvent(Ee)}},Ae=re=>re?new Promise(ie=>(0,Te.c)(re,ie)):Promise.resolve(),De=function(){var re=(0,o.Z)(function*(ie){const Ee=ie;if(Ee){if(null!=Ee.componentOnReady){if(null!=(yield Ee.componentOnReady()))return}else if(null!=Ee.__registerHost)return void(yield new Promise(st=>(0,Te.r)(st)));yield Promise.all(Array.from(Ee.children).map(De))}});return function(Ee){return re.apply(this,arguments)}}(),Le=(re,ie)=>{ie?(re.setAttribute("aria-hidden","true"),re.classList.add("ion-page-hidden")):(re.hidden=!1,re.removeAttribute("aria-hidden"),re.classList.remove("ion-page-hidden"))},ae=(re,ie,Ee)=>{void 0!==re&&(re.style.zIndex="back"===Ee?"99":"101"),void 0!==ie&&(ie.style.zIndex="100")},se=re=>re.classList.contains("ion-page")?re:re.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||re},7205:(wt,Ye,L)=>{"use strict";L.d(Ye,{B:()=>oe,H:()=>_t,a:()=>Ue,b:()=>Tt,c:()=>k,e:()=>Qe,f:()=>ht,g:()=>qe,h:()=>ln,i:()=>Gt,j:()=>En,k:()=>Nt,p:()=>le,r:()=>qt,s:()=>pe});var o=L(5861);let Te,he,Oe,Fe=!1,q=!1,ye=!1,U=!1,z=!1;const K=typeof window<"u"?window:{},O=K.document||{head:{}},ee={$flags$:0,$resourcesUrl$:"",jmp:g=>g(),raf:g=>requestAnimationFrame(g),ael:(g,A,F,P)=>g.addEventListener(A,F,P),rel:(g,A,F,P)=>g.removeEventListener(A,F,P),ce:(g,A)=>new CustomEvent(g,A)},pe=g=>{Object.assign(ee,g)},le=g=>Promise.resolve(g),fe=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch{}return!1})(),we=(g,A,F,P)=>{F&&F.map(([x,$,J])=>{const de=ke(g,x),me=We(A,J),Pe=te(x);ee.ael(de,$,me,Pe),(A.$rmListeners$=A.$rmListeners$||[]).push(()=>ee.rel(de,$,me,Pe))})},We=(g,A)=>F=>{try{256&g.$flags$?g.$lazyInstance$[A](F):(g.$queuedListeners$=g.$queuedListeners$||[]).push([A,F])}catch(P){bt(P)}},ke=(g,A)=>4&A?O:8&A?K:16&A?O.body:g,te=g=>0!=(2&g),Le="s-id",ae="sty-id",ie="http://www.w3.org/1999/xlink",st=new WeakMap,Ze=(g,A,F)=>{let P=On.get(g);fe&&F?(P=P||new CSSStyleSheet,P.replace(A)):P=A,On.set(g,P)},je=(g,A,F,P)=>{let x=Be(A,F);const $=On.get(x);if(g=11===g.nodeType?g:O,$)if("string"==typeof $){let de,J=st.get(g=g.head||g);J||st.set(g,J=new Set),J.has(x)||(g.host&&(de=g.querySelector(`[${ae}="${x}"]`))?de.innerHTML=$:(de=O.createElement("style"),de.innerHTML=$,g.insertBefore(de,g.querySelector("link"))),J&&J.add(x))}else g.adoptedStyleSheets.includes($)||(g.adoptedStyleSheets=[...g.adoptedStyleSheets,$]);return x},Be=(g,A)=>"sc-"+(A&&32&g.$flags$?g.$tagName$+"-"+A:g.$tagName$),Ne=g=>g.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ue=g=>Xn.push(g),qe=g=>vn(g).$modeName$,tt={},mt=g=>"object"==(g=typeof g)||"function"===g,ln=(g,A,...F)=>{let P=null,x=null,$=null,J=!1,de=!1;const me=[],Pe=lt=>{for(let pt=0;ptlt[pt]).join(" "))}}if("function"==typeof g)return g(null===A?{}:A,me,on);const Xe=Bt(g,null);return Xe.$attrs$=A,me.length>0&&(Xe.$children$=me),Xe.$key$=x,Xe.$name$=$,Xe},Bt=(g,A)=>({$flags$:0,$tag$:g,$text$:A,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),_t={},on={forEach:(g,A)=>g.map(Ht).forEach(A),map:(g,A)=>g.map(Ht).map(A).map(tr)},Ht=g=>({vattrs:g.$attrs$,vchildren:g.$children$,vkey:g.$key$,vname:g.$name$,vtag:g.$tag$,vtext:g.$text$}),tr=g=>{if("function"==typeof g.vtag){const F=Object.assign({},g.vattrs);return g.vkey&&(F.key=g.vkey),g.vname&&(F.name=g.vname),ln(g.vtag,F,...g.vchildren||[])}const A=Bt(g.vtag,g.vtext);return A.$attrs$=g.vattrs,A.$children$=g.vchildren,A.$key$=g.vkey,A.$name$=g.vname,A},Et=(g,A,F,P,x,$)=>{if(F!==P){let J=Tn(g,A),de=A.toLowerCase();if("class"===A){const me=g.classList,Pe=zt(F),Xe=zt(P);me.remove(...Pe.filter(lt=>lt&&!Xe.includes(lt))),me.add(...Xe.filter(lt=>lt&&!Pe.includes(lt)))}else if("style"===A){for(const me in F)(!P||null==P[me])&&(me.includes("-")?g.style.removeProperty(me):g.style[me]="");for(const me in P)(!F||P[me]!==F[me])&&(me.includes("-")?g.style.setProperty(me,P[me]):g.style[me]=P[me])}else if("key"!==A)if("ref"===A)P&&P(g);else if(J||"o"!==A[0]||"n"!==A[1]){const me=mt(P);if((J||me&&null!==P)&&!x)try{if(g.tagName.includes("-"))g[A]=P;else{const Xe=P??"";"list"===A?J=!1:(null==F||g[A]!=Xe)&&(g[A]=Xe)}}catch{}let Pe=!1;de!==(de=de.replace(/^xlink\:?/,""))&&(A=de,Pe=!0),null==P||!1===P?(!1!==P||""===g.getAttribute(A))&&(Pe?g.removeAttributeNS(ie,A):g.removeAttribute(A)):(!J||4&$||x)&&!me&&(P=!0===P?"":P,Pe?g.setAttributeNS(ie,A,P):g.setAttribute(A,P))}else A="-"===A[2]?A.slice(3):Tn(K,de)?de.slice(2):de[2]+A.slice(3),F&&ee.rel(g,A,F,!1),P&&ee.ael(g,A,P,!1)}},tn=/\s/,zt=g=>g?g.split(tn):[],sn=(g,A,F,P)=>{const x=11===A.$elm$.nodeType&&A.$elm$.host?A.$elm$.host:A.$elm$,$=g&&g.$attrs$||tt,J=A.$attrs$||tt;for(P in $)P in J||Et(x,P,$[P],void 0,F,A.$flags$);for(P in J)Et(x,P,$[P],J[P],F,A.$flags$)},It=(g,A,F,P)=>{const x=A.$children$[F];let J,de,me,$=0;if(Fe||(ye=!0,"slot"===x.$tag$&&(Te&&P.classList.add(Te+"-s"),x.$flags$|=x.$children$?2:1)),null!==x.$text$)J=x.$elm$=O.createTextNode(x.$text$);else if(1&x.$flags$)J=x.$elm$=O.createTextNode("");else{if(U||(U="svg"===x.$tag$),J=x.$elm$=O.createElementNS(U?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&x.$flags$?"slot-fb":x.$tag$),U&&"foreignObject"===x.$tag$&&(U=!1),sn(null,x,U),(g=>null!=g)(Te)&&J["s-si"]!==Te&&J.classList.add(J["s-si"]=Te),x.$children$)for($=0;${ee.$flags$|=1;const F=g.childNodes;for(let P=F.length-1;P>=0;P--){const x=F[P];x["s-hn"]!==Oe&&x["s-ol"]&&(vt(x).insertBefore(x,at(x)),x["s-ol"].remove(),x["s-ol"]=void 0,ye=!0),A&&gn(x,A)}ee.$flags$&=-2},vr=(g,A,F,P,x,$)=>{let de,J=g["s-cr"]&&g["s-cr"].parentNode||g;for(J.shadowRoot&&J.tagName===Oe&&(J=J.shadowRoot);x<=$;++x)P[x]&&(de=It(null,F,x,g),de&&(P[x].$elm$=de,J.insertBefore(de,at(A))))},mn=(g,A,F,P,x)=>{for(;A<=F;++A)(P=g[A])&&(x=P.$elm$,lr(P),q=!0,x["s-ol"]?x["s-ol"].remove():gn(x,!0),x.remove())},an=(g,A)=>g.$tag$===A.$tag$&&("slot"===g.$tag$?g.$name$===A.$name$:g.$key$===A.$key$),at=g=>g&&g["s-ol"]||g,vt=g=>(g["s-ol"]?g["s-ol"]:g).parentNode,Rn=(g,A)=>{const F=A.$elm$=g.$elm$,P=g.$children$,x=A.$children$,$=A.$tag$,J=A.$text$;let de;null===J?(U="svg"===$||"foreignObject"!==$&&U,"slot"===$||sn(g,A,U),null!==P&&null!==x?((g,A,F,P)=>{let nn,Kt,x=0,$=0,J=0,de=0,me=A.length-1,Pe=A[0],Xe=A[me],lt=P.length-1,pt=P[0],Ot=P[lt];for(;x<=me&&$<=lt;)if(null==Pe)Pe=A[++x];else if(null==Xe)Xe=A[--me];else if(null==pt)pt=P[++$];else if(null==Ot)Ot=P[--lt];else if(an(Pe,pt))Rn(Pe,pt),Pe=A[++x],pt=P[++$];else if(an(Xe,Ot))Rn(Xe,Ot),Xe=A[--me],Ot=P[--lt];else if(an(Pe,Ot))("slot"===Pe.$tag$||"slot"===Ot.$tag$)&&gn(Pe.$elm$.parentNode,!1),Rn(Pe,Ot),g.insertBefore(Pe.$elm$,Xe.$elm$.nextSibling),Pe=A[++x],Ot=P[--lt];else if(an(Xe,pt))("slot"===Pe.$tag$||"slot"===Ot.$tag$)&&gn(Xe.$elm$.parentNode,!1),Rn(Xe,pt),g.insertBefore(Xe.$elm$,Pe.$elm$),Xe=A[--me],pt=P[++$];else{for(J=-1,de=x;de<=me;++de)if(A[de]&&null!==A[de].$key$&&A[de].$key$===pt.$key$){J=de;break}J>=0?(Kt=A[J],Kt.$tag$!==pt.$tag$?nn=It(A&&A[$],F,J,g):(Rn(Kt,pt),A[J]=void 0,nn=Kt.$elm$),pt=P[++$]):(nn=It(A&&A[$],F,$,g),pt=P[++$]),nn&&vt(Pe.$elm$).insertBefore(nn,at(Pe.$elm$))}x>me?vr(g,null==P[lt+1]?null:P[lt+1].$elm$,F,P,$,lt):$>lt&&mn(A,x,me)})(F,P,A,x):null!==x?(null!==g.$text$&&(F.textContent=""),vr(F,null,A,x,0,x.length-1)):null!==P&&mn(P,0,P.length-1),U&&"svg"===$&&(U=!1)):(de=F["s-cr"])?de.parentNode.textContent=J:g.$text$!==J&&(F.data=J)},Fn=g=>{const A=g.childNodes;let F,P,x,$,J,de;for(P=0,x=A.length;P{let A,F,P,x,$,J,de=0;const me=g.childNodes,Pe=me.length;for(;de=0;J--)F=P[J],!F["s-cn"]&&!F["s-nr"]&&F["s-hn"]!==A["s-hn"]&&(In(F,x)?($=Pt.find(Xe=>Xe.$nodeToRelocate$===F),q=!0,F["s-sn"]=F["s-sn"]||x,$?$.$slotRefNode$=A:Pt.push({$slotRefNode$:A,$nodeToRelocate$:F}),F["s-sr"]&&Pt.map(Xe=>{In(Xe.$nodeToRelocate$,F["s-sn"])&&($=Pt.find(lt=>lt.$nodeToRelocate$===F),$&&!Xe.$slotRefNode$&&(Xe.$slotRefNode$=$.$slotRefNode$))})):Pt.some(Xe=>Xe.$nodeToRelocate$===F)||Pt.push({$nodeToRelocate$:F}));1===A.nodeType&&kt(A)}},In=(g,A)=>1===g.nodeType?null===g.getAttribute("slot")&&""===A||g.getAttribute("slot")===A:g["s-sn"]===A||""===A,lr=g=>{g.$attrs$&&g.$attrs$.ref&&g.$attrs$.ref(null),g.$children$&&g.$children$.map(lr)},Gt=g=>vn(g).$hostElement$,Qe=(g,A,F)=>{const P=Gt(g);return{emit:x=>rr(P,A,{bubbles:!!(4&F),composed:!!(2&F),cancelable:!!(1&F),detail:x})}},rr=(g,A,F)=>{const P=ee.ce(A,F);return g.dispatchEvent(P),P},fn=(g,A)=>{A&&!g.$onRenderResolve$&&A["s-p"]&&A["s-p"].push(new Promise(F=>g.$onRenderResolve$=F))},kn=(g,A)=>{if(g.$flags$|=16,!(4&g.$flags$))return fn(g,g.$ancestorComponent$),k(()=>St(g,A));g.$flags$|=512},St=(g,A)=>{const P=g.$lazyInstance$;let x;return A&&(g.$flags$|=256,g.$queuedListeners$&&(g.$queuedListeners$.map(([$,J])=>un(P,$,J)),g.$queuedListeners$=null),x=un(P,"componentWillLoad")),x=Nn(x,()=>un(P,"componentWillRender")),Nn(x,()=>Ln(g,P,A))},Ln=function(){var g=(0,o.Z)(function*(A,F,P){const x=A.$hostElement$,J=x["s-rc"];P&&(g=>{const A=g.$cmpMeta$,F=g.$hostElement$,P=A.$flags$,$=je(F.shadowRoot?F.shadowRoot:F.getRootNode(),A,g.$modeName$);10&P&&(F["s-sc"]=$,F.classList.add($+"-h"),2&P&&F.classList.add($+"-s"))})(A);Wn(A,F),J&&(J.map(me=>me()),x["s-rc"]=void 0);{const me=x["s-p"],Pe=()=>hn(A);0===me.length?Pe():(Promise.all(me).then(Pe),A.$flags$|=4,me.length=0)}});return function(F,P,x){return g.apply(this,arguments)}}(),Wn=(g,A,F)=>{try{A=A.render&&A.render(),g.$flags$&=-17,g.$flags$|=2,((g,A)=>{const F=g.$hostElement$,P=g.$cmpMeta$,x=g.$vnode$||Bt(null,null),$=(g=>g&&g.$tag$===_t)(A)?A:ln(null,null,A);if(Oe=F.tagName,P.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},P.$attrsToReflect$.map(([J,de])=>$.$attrs$[de]=F[J])),$.$tag$=null,$.$flags$|=4,g.$vnode$=$,$.$elm$=x.$elm$=F.shadowRoot||F,Te=F["s-sc"],he=F["s-cr"],Fe=0!=(1&P.$flags$),q=!1,Rn(x,$),ee.$flags$|=1,ye){kt($.$elm$);let J,de,me,Pe,Xe,lt,pt=0;for(;pt{const F=g.$hostElement$,x=g.$lazyInstance$,$=g.$ancestorComponent$;un(x,"componentDidRender"),64&g.$flags$?un(x,"componentDidUpdate"):(g.$flags$|=64,qn(F),un(x,"componentDidLoad"),g.$onReadyResolve$(F),$||Jt()),g.$onInstanceResolve$(F),g.$onRenderResolve$&&(g.$onRenderResolve$(),g.$onRenderResolve$=void 0),512&g.$flags$&&Je(()=>kn(g,!1)),g.$flags$&=-517},En=g=>{{const A=vn(g),F=A.$hostElement$.isConnected;return F&&2==(18&A.$flags$)&&kn(A,!1),F}},Jt=g=>{qn(O.documentElement),Je(()=>rr(K,"appload",{detail:{namespace:"ionic"}}))},un=(g,A,F)=>{if(g&&g[A])try{return g[A](F)}catch(P){bt(P)}},Nn=(g,A)=>g&&g.then?g.then(A):A(),qn=g=>g.classList.add("hydrated"),Gn=(g,A,F,P,x,$,J)=>{let de,me,Pe,Xe;if(1===$.nodeType){for(de=$.getAttribute("c-id"),de&&(me=de.split("."),(me[0]===J||"0"===me[0])&&(Pe={$flags$:0,$hostId$:me[0],$nodeId$:me[1],$depth$:me[2],$index$:me[3],$tag$:$.tagName.toLowerCase(),$elm$:$,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},A.push(Pe),$.removeAttribute("c-id"),g.$children$||(g.$children$=[]),g.$children$[Pe.$index$]=Pe,g=Pe,P&&"0"===Pe.$depth$&&(P[Pe.$index$]=Pe.$elm$))),Xe=$.childNodes.length-1;Xe>=0;Xe--)Gn(g,A,F,P,x,$.childNodes[Xe],J);if($.shadowRoot)for(Xe=$.shadowRoot.childNodes.length-1;Xe>=0;Xe--)Gn(g,A,F,P,x,$.shadowRoot.childNodes[Xe],J)}else if(8===$.nodeType)me=$.nodeValue.split("."),(me[1]===J||"0"===me[1])&&(de=me[0],Pe={$flags$:0,$hostId$:me[1],$nodeId$:me[2],$depth$:me[3],$index$:me[4],$elm$:$,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===de?(Pe.$elm$=$.nextSibling,Pe.$elm$&&3===Pe.$elm$.nodeType&&(Pe.$text$=Pe.$elm$.textContent,A.push(Pe),$.remove(),g.$children$||(g.$children$=[]),g.$children$[Pe.$index$]=Pe,P&&"0"===Pe.$depth$&&(P[Pe.$index$]=Pe.$elm$))):Pe.$hostId$===J&&("s"===de?(Pe.$tag$="slot",$["s-sn"]=me[5]?Pe.$name$=me[5]:"",$["s-sr"]=!0,P&&(Pe.$elm$=O.createElement(Pe.$tag$),Pe.$name$&&Pe.$elm$.setAttribute("name",Pe.$name$),$.parentNode.insertBefore(Pe.$elm$,$),$.remove(),"0"===Pe.$depth$&&(P[Pe.$index$]=Pe.$elm$)),F.push(Pe),g.$children$||(g.$children$=[]),g.$children$[Pe.$index$]=Pe):"r"===de&&(P?$.remove():(x["s-cr"]=$,$["s-cn"]=!0))));else if(g&&"style"===g.$tag$){const lt=Bt(null,$.textContent);lt.$elm$=$,lt.$index$="0",g.$children$=[lt]}},$n=(g,A)=>{if(1===g.nodeType){let F=0;for(;F{if(A.$members$){g.watchers&&(A.$watchers$=g.watchers);const P=Object.entries(A.$members$),x=g.prototype;if(P.map(([$,[J]])=>{31&J||2&F&&32&J?Object.defineProperty(x,$,{get(){return((g,A)=>vn(this).$instanceValues$.get(A))(0,$)},set(de){((g,A,F,P)=>{const x=vn(g),$=x.$hostElement$,J=x.$instanceValues$.get(A),de=x.$flags$,me=x.$lazyInstance$;F=((g,A)=>null==g||mt(g)?g:4&A?"false"!==g&&(""===g||!!g):2&A?parseFloat(g):1&A?String(g):g)(F,P.$members$[A][0]);const Pe=Number.isNaN(J)&&Number.isNaN(F);if((!(8&de)||void 0===J)&&F!==J&&!Pe&&(x.$instanceValues$.set(A,F),me)){if(P.$watchers$&&128&de){const lt=P.$watchers$[A];lt&<.map(pt=>{try{me[pt](F,J,A)}catch(Ot){bt(Ot,$)}})}2==(18&de)&&kn(x,!1)}})(this,$,de,A)},configurable:!0,enumerable:!0}):1&F&&64&J&&Object.defineProperty(x,$,{value(...de){const me=vn(this);return me.$onInstancePromise$.then(()=>me.$lazyInstance$[$](...de))}})}),1&F){const $=new Map;x.attributeChangedCallback=function(J,de,me){ee.jmp(()=>{const Pe=$.get(J);if(this.hasOwnProperty(Pe))me=this[Pe],delete this[Pe];else if(x.hasOwnProperty(Pe)&&"number"==typeof this[Pe]&&this[Pe]==me)return;this[Pe]=(null!==me||"boolean"!=typeof this[Pe])&&me})},g.observedAttributes=P.filter(([J,de])=>15&de[0]).map(([J,de])=>{const me=de[1]||J;return $.set(me,J),512&de[0]&&A.$attrsToReflect$.push([J,me]),me})}}return g},ne=function(){var g=(0,o.Z)(function*(A,F,P,x,$){if(0==(32&F.$flags$)){{if(F.$flags$|=32,($=Vn(P)).then){const Pe=()=>{};$=yield $,Pe()}$.isProxied||(P.$watchers$=$.watchers,Re($,P,2),$.isProxied=!0);const me=()=>{};F.$flags$|=8;try{new $(F)}catch(Pe){bt(Pe)}F.$flags$&=-9,F.$flags$|=128,me(),X(F.$lazyInstance$)}if($.style){let me=$.style;"string"!=typeof me&&(me=me[F.$modeName$=(g=>Xn.map(A=>A(g)).find(A=>!!A))(A)]);const Pe=Be(P,F.$modeName$);if(!On.has(Pe)){const Xe=()=>{};Ze(Pe,me,!!(1&P.$flags$)),Xe()}}}const J=F.$ancestorComponent$,de=()=>kn(F,!0);J&&J["s-rc"]?J["s-rc"].push(de):de()});return function(F,P,x,$,J){return g.apply(this,arguments)}}(),X=g=>{un(g,"connectedCallback")},He=g=>{const A=g["s-cr"]=O.createComment("");A["s-cn"]=!0,g.insertBefore(A,g.firstChild)},Tt=(g,A={})=>{const P=[],x=A.exclude||[],$=K.customElements,J=O.head,de=J.querySelector("meta[charset]"),me=O.createElement("style"),Pe=[],Xe=O.querySelectorAll(`[${ae}]`);let lt,pt=!0,Ot=0;for(Object.assign(ee,A),ee.$resourcesUrl$=new URL(A.resourcesUrl||"./",O.baseURI).href,ee.$flags$|=2;Ot{nn[1].map(Kt=>{const Hn={$flags$:Kt[0],$tagName$:Kt[1],$members$:Kt[2],$listeners$:Kt[3]};Hn.$members$=Kt[2],Hn.$listeners$=Kt[3],Hn.$attrsToReflect$=[],Hn.$watchers$={};const dr=Hn.$tagName$,Br=class extends HTMLElement{constructor(Cr){super(Cr),Cn(Cr=this,Hn),1&Hn.$flags$&&Cr.attachShadow({mode:"open",delegatesFocus:!!(16&Hn.$flags$)})}connectedCallback(){lt&&(clearTimeout(lt),lt=null),pt?Pe.push(this):ee.jmp(()=>(g=>{if(0==(1&ee.$flags$)){const A=vn(g),F=A.$cmpMeta$,P=()=>{};if(1&A.$flags$)we(g,A,F.$listeners$),X(A.$lazyInstance$);else{let x;if(A.$flags$|=1,x=g.getAttribute(Le),x){if(1&F.$flags$){const $=je(g.shadowRoot,F,g.getAttribute("s-mode"));g.classList.remove($+"-h",$+"-s")}((g,A,F,P)=>{const $=g.shadowRoot,J=[],me=$?[]:null,Pe=P.$vnode$=Bt(A,null);ee.$orgLocNodes$||$n(O.body,ee.$orgLocNodes$=new Map),g[Le]=F,g.removeAttribute(Le),Gn(Pe,J,[],me,g,g,F),J.map(Xe=>{const lt=Xe.$hostId$+"."+Xe.$nodeId$,pt=ee.$orgLocNodes$.get(lt),Ot=Xe.$elm$;pt&&""===pt["s-en"]&&pt.parentNode.insertBefore(Ot,pt.nextSibling),$||(Ot["s-hn"]=A,pt&&(Ot["s-ol"]=pt,Ot["s-ol"]["s-nr"]=Ot)),ee.$orgLocNodes$.delete(lt)}),$&&me.map(Xe=>{Xe&&$.appendChild(Xe)})})(g,F.$tagName$,x,A)}x||12&F.$flags$&&He(g);{let $=g;for(;$=$.parentNode||$.host;)if(1===$.nodeType&&$.hasAttribute("s-id")&&$["s-p"]||$["s-p"]){fn(A,A.$ancestorComponent$=$);break}}F.$members$&&Object.entries(F.$members$).map(([$,[J]])=>{if(31&J&&g.hasOwnProperty($)){const de=g[$];delete g[$],g[$]=de}}),Je(()=>ne(g,A,F))}P()}})(this))}disconnectedCallback(){ee.jmp(()=>(g=>{if(0==(1&ee.$flags$)){const A=vn(this),F=A.$lazyInstance$;A.$rmListeners$&&(A.$rmListeners$.map(P=>P()),A.$rmListeners$=void 0),un(F,"disconnectedCallback")}})())}componentOnReady(){return vn(this).$onReadyPromise$}};Hn.$lazyBundleId$=nn[0],!x.includes(dr)&&!$.get(dr)&&(P.push(dr),$.define(dr,Re(Br,Hn,1)))})}),me.innerHTML=P+"{visibility:hidden}.hydrated{visibility:inherit}",me.setAttribute("data-styles",""),J.insertBefore(me,de?de.nextSibling:J.firstChild),pt=!1,Pe.length?Pe.map(nn=>nn.connectedCallback()):ee.jmp(()=>lt=setTimeout(Jt,30))},Nt=g=>{const A=new URL(g,ee.$resourcesUrl$);return A.origin!==K.location.origin?A.href:A.pathname},$t=new WeakMap,vn=g=>$t.get(g),qt=(g,A)=>$t.set(A.$lazyInstance$=g,A),Cn=(g,A)=>{const F={$flags$:0,$hostElement$:g,$cmpMeta$:A,$instanceValues$:new Map};return F.$onInstancePromise$=new Promise(P=>F.$onInstanceResolve$=P),F.$onReadyPromise$=new Promise(P=>F.$onReadyResolve$=P),g["s-p"]=[],g["s-rc"]=[],we(g,F,A.$listeners$),$t.set(g,F)},Tn=(g,A)=>A in g,bt=(g,A)=>(0,console.error)(g,A),Xt=new Map,Vn=(g,A,F)=>{const P=g.$tagName$.replace(/-/g,"_"),x=g.$lazyBundleId$,$=Xt.get(x);return $?$[P]:L(863)(`./${x}.entry.js`).then(J=>(Xt.set(x,J),J[P]),bt)},On=new Map,Xn=[],j=[],S=[],T=(g,A)=>F=>{g.push(F),z||(z=!0,A&&4&ee.$flags$?Je(Ie):ee.raf(Ie))},H=g=>{for(let A=0;A{H(j),H(S),(z=j.length>0)&&ee.raf(Ie)},Je=g=>le().then(g),ht=T(j,!1),k=T(S,!0),oe={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1}},97:(wt,Ye,L)=>{"use strict";L.d(Ye,{m:()=>K});var o=L(5861),I=L(7593),Te=L(3756),he=L(5729),Oe=L(9442);const Fe=O=>(0,Oe.c)().duration(O?400:300),q=O=>{let ee,pe;const Se=O.width+8,le=(0,Oe.c)(),fe=(0,Oe.c)();O.isEndSide?(ee=Se+"px",pe="0px"):(ee=-Se+"px",pe="0px"),le.addElement(O.menuInnerEl).fromTo("transform",`translateX(${ee})`,`translateX(${pe})`);const We="ios"===(0,he.b)(O),ke=We?.2:.25;return fe.addElement(O.backdropEl).fromTo("opacity",.01,ke),Fe(We).addAnimation([le,fe])},ye=O=>{let ee,pe;const Se=(0,he.b)(O),le=O.width;O.isEndSide?(ee=-le+"px",pe=le+"px"):(ee=le+"px",pe=-le+"px");const fe=(0,Oe.c)().addElement(O.menuInnerEl).fromTo("transform",`translateX(${pe})`,"translateX(0px)"),we=(0,Oe.c)().addElement(O.contentEl).fromTo("transform","translateX(0px)",`translateX(${ee})`),We=(0,Oe.c)().addElement(O.backdropEl).fromTo("opacity",.01,.32);return Fe("ios"===Se).addAnimation([fe,we,We])},U=O=>{const ee=(0,he.b)(O),pe=O.width*(O.isEndSide?-1:1)+"px",Se=(0,Oe.c)().addElement(O.contentEl).fromTo("transform","translateX(0px)",`translateX(${pe})`);return Fe("ios"===ee).addAnimation(Se)},K=(()=>{const O=new Map,ee=[],pe=function(){var Me=(0,o.Z)(function*(Be){const Ne=yield te(Be);return!!Ne&&Ne.open()});return function(Ne){return Me.apply(this,arguments)}}(),Se=function(){var Me=(0,o.Z)(function*(Be){const Ne=yield void 0!==Be?te(Be):Ce();return void 0!==Ne&&Ne.close()});return function(Ne){return Me.apply(this,arguments)}}(),le=function(){var Me=(0,o.Z)(function*(Be){const Ne=yield te(Be);return!!Ne&&Ne.toggle()});return function(Ne){return Me.apply(this,arguments)}}(),fe=function(){var Me=(0,o.Z)(function*(Be,Ne){const xe=yield te(Ne);return xe&&(xe.disabled=!Be),xe});return function(Ne,xe){return Me.apply(this,arguments)}}(),we=function(){var Me=(0,o.Z)(function*(Be,Ne){const xe=yield te(Ne);return xe&&(xe.swipeGesture=Be),xe});return function(Ne,xe){return Me.apply(this,arguments)}}(),We=function(){var Me=(0,o.Z)(function*(Be){if(null!=Be){const Ne=yield te(Be);return void 0!==Ne&&Ne.isOpen()}return void 0!==(yield Ce())});return function(Ne){return Me.apply(this,arguments)}}(),ke=function(){var Me=(0,o.Z)(function*(Be){const Ne=yield te(Be);return!!Ne&&!Ne.disabled});return function(Ne){return Me.apply(this,arguments)}}(),te=function(){var Me=(0,o.Z)(function*(Be){return yield je(),"start"===Be||"end"===Be?Ze(Ue=>Ue.side===Be&&!Ue.disabled)||Ze(Ue=>Ue.side===Be):null!=Be?Ze(xe=>xe.menuId===Be):Ze(xe=>!xe.disabled)||(ee.length>0?ee[0].el:void 0)});return function(Ne){return Me.apply(this,arguments)}}(),Ce=function(){var Me=(0,o.Z)(function*(){return yield je(),Ee()});return function(){return Me.apply(this,arguments)}}(),ce=function(){var Me=(0,o.Z)(function*(){return yield je(),_e()});return function(){return Me.apply(this,arguments)}}(),Ae=function(){var Me=(0,o.Z)(function*(){return yield je(),st()});return function(){return Me.apply(this,arguments)}}(),De=(Me,Be)=>{O.set(Me,Be)},se=Me=>{const Be=Me.side;ee.filter(Ne=>Ne.side===Be&&Ne!==Me).forEach(Ne=>Ne.disabled=!0)},re=function(){var Me=(0,o.Z)(function*(Be,Ne,xe){if(st())return!1;if(Ne){const Ue=yield Ce();Ue&&Be.el!==Ue&&(yield Ue.setOpen(!1,!1))}return Be._setOpen(Ne,xe)});return function(Ne,xe,Ue){return Me.apply(this,arguments)}}(),Ee=()=>Ze(Me=>Me._isOpen),_e=()=>ee.map(Me=>Me.el),st=()=>ee.some(Me=>Me.isAnimating),Ze=Me=>{const Be=ee.find(Me);if(void 0!==Be)return Be.el},je=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(Me=>new Promise(Be=>(0,Te.c)(Me,Be))));return De("reveal",U),De("push",ye),De("overlay",q),typeof document<"u"&&document.addEventListener("ionBackButton",Me=>{const Be=Ee();Be&&Me.detail.register(I.MENU_BACK_BUTTON_PRIORITY,()=>Be.close())}),{registerAnimation:De,get:te,getMenus:ce,getOpen:Ce,isEnabled:ke,swipeGesture:we,isAnimating:Ae,isOpen:We,enable:fe,toggle:le,close:Se,open:pe,_getOpenSync:Ee,_createAnimation:(Me,Be)=>{const Ne=O.get(Me);if(!Ne)throw new Error("animation not registered");return Ne(Be)},_register:Me=>{ee.indexOf(Me)<0&&(Me.disabled||se(Me),ee.push(Me))},_unregister:Me=>{const Be=ee.indexOf(Me);Be>-1&&ee.splice(Be,1)},_setOpen:re,_setActiveMenu:se}})()},5729:(wt,Ye,L)=>{"use strict";L.d(Ye,{a:()=>K,b:()=>st,c:()=>Te,g:()=>z,i:()=>Ze});var o=L(7205);class I{constructor(){this.m=new Map}reset(Me){this.m=new Map(Object.entries(Me))}get(Me,Be){const Ne=this.m.get(Me);return void 0!==Ne?Ne:Be}getBoolean(Me,Be=!1){const Ne=this.m.get(Me);return void 0===Ne?Be:"string"==typeof Ne?"true"===Ne:!!Ne}getNumber(Me,Be){const Ne=parseFloat(this.m.get(Me));return isNaN(Ne)?void 0!==Be?Be:NaN:Ne}set(Me,Be){this.m.set(Me,Be)}}const Te=new I,U="ionic-persist-config",z=je=>O(je),K=(je,Me)=>("string"==typeof je&&(Me=je,je=void 0),z(je).includes(Me)),O=(je=window)=>{if(typeof je>"u")return[];je.Ionic=je.Ionic||{};let Me=je.Ionic.platforms;return null==Me&&(Me=je.Ionic.platforms=ee(je),Me.forEach(Be=>je.document.documentElement.classList.add(`plt-${Be}`))),Me},ee=je=>{const Me=Te.get("platform");return Object.keys(Ee).filter(Be=>{const Ne=Me?.[Be];return"function"==typeof Ne?Ne(je):Ee[Be](je)})},Se=je=>!!(re(je,/iPad/i)||re(je,/Macintosh/i)&&Ce(je)),we=je=>re(je,/android|sink/i),Ce=je=>ie(je,"(any-pointer:coarse)"),Ae=je=>De(je)||Le(je),De=je=>!!(je.cordova||je.phonegap||je.PhoneGap),Le=je=>!!je.Capacitor?.isNative,re=(je,Me)=>Me.test(je.navigator.userAgent),ie=(je,Me)=>{var Be;return null===(Be=je.matchMedia)||void 0===Be?void 0:Be.call(je,Me).matches},Ee={ipad:Se,iphone:je=>re(je,/iPhone/i),ios:je=>re(je,/iPhone|iPod/i)||Se(je),android:we,phablet:je=>{const Me=je.innerWidth,Be=je.innerHeight,Ne=Math.min(Me,Be),xe=Math.max(Me,Be);return Ne>390&&Ne<520&&xe>620&&xe<800},tablet:je=>{const Me=je.innerWidth,Be=je.innerHeight,Ne=Math.min(Me,Be),xe=Math.max(Me,Be);return Se(je)||(je=>we(je)&&!re(je,/mobile/i))(je)||Ne>460&&Ne<820&&xe>780&&xe<1400},cordova:De,capacitor:Le,electron:je=>re(je,/electron/i),pwa:je=>{var Me;return!(!(null===(Me=je.matchMedia)||void 0===Me?void 0:Me.call(je,"(display-mode: standalone)").matches)&&!je.navigator.standalone)},mobile:Ce,mobileweb:je=>Ce(je)&&!Ae(je),desktop:je=>!Ce(je),hybrid:Ae};let _e;const st=je=>je&&(0,o.g)(je)||_e,Ze=(je={})=>{if(typeof window>"u")return;const Me=window.document,Be=window,Ne=Be.Ionic=Be.Ionic||{},xe={};je._ael&&(xe.ael=je._ael),je._rel&&(xe.rel=je._rel),je._ce&&(xe.ce=je._ce),(0,o.s)(xe);const Ue=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(je=>{try{const Me=je.sessionStorage.getItem(U);return null!==Me?JSON.parse(Me):{}}catch{return{}}})(Be)),{persistConfig:!1}),Ne.config),(je=>{const Me={};return je.location.search.slice(1).split("&").map(Be=>Be.split("=")).map(([Be,Ne])=>[decodeURIComponent(Be),decodeURIComponent(Ne)]).filter(([Be])=>((je,Me)=>je.substr(0,Me.length)===Me)(Be,"ionic:")).map(([Be,Ne])=>[Be.slice("ionic:".length),Ne]).forEach(([Be,Ne])=>{Me[Be]=Ne}),Me})(Be)),je);Te.reset(Ue),Te.getBoolean("persistConfig")&&((je,Me)=>{try{je.sessionStorage.setItem(U,JSON.stringify(Me))}catch{return}})(Be,Ue),O(Be),Ne.config=Te,Ne.mode=_e=Te.get("mode",Me.documentElement.getAttribute("mode")||(K(Be,"ios")?"ios":"md")),Te.set("mode",_e),Me.documentElement.setAttribute("mode",_e),Me.documentElement.classList.add(_e),Te.getBoolean("_testing")&&Te.set("animated",!1);const qe=ot=>{var Dt;return null===(Dt=ot.tagName)||void 0===Dt?void 0:Dt.startsWith("ION-")},tt=ot=>["ios","md"].includes(ot);(0,o.a)(ot=>{for(;ot;){const Dt=ot.mode||ot.getAttribute("mode");if(Dt){if(tt(Dt))return Dt;qe(ot)&&console.warn('Invalid ionic mode: "'+Dt+'", expected: "ios" or "md"')}ot=ot.parentElement}return _e})}},4181:(wt,Ye,L)=>{"use strict";L.r(Ye),L.d(Ye,{iosTransitionAnimation:()=>O,shadow:()=>Fe});var o=L(9442),I=L(9753);L(7205);const Oe=ee=>document.querySelector(`${ee}.ion-cloned-element`),Fe=ee=>ee.shadowRoot||ee,q=ee=>{const pe="ION-TABS"===ee.tagName?ee:ee.querySelector("ion-tabs"),Se="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=pe){const le=pe.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=le?le.querySelector(Se):null}return ee.querySelector(Se)},ye=(ee,pe)=>{const Se="ION-TABS"===ee.tagName?ee:ee.querySelector("ion-tabs");let le=[];if(null!=Se){const fe=Se.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=fe&&(le=fe.querySelectorAll("ion-buttons"))}else le=ee.querySelectorAll("ion-buttons");for(const fe of le){const we=fe.closest("ion-header"),We=we&&!we.classList.contains("header-collapse-condense-inactive"),ke=fe.querySelector("ion-back-button"),te=fe.classList.contains("buttons-collapse"),Ce="start"===fe.slot||""===fe.slot;if(null!==ke&&Ce&&(te&&We&&pe||!te))return ke}return null},z=(ee,pe,Se,le,fe,we)=>{const We=pe?`calc(100% - ${we.right+4}px)`:we.left-4+"px",ke=pe?"7px":"-7px",te=pe?"-4px":"4px",Ce=pe?"-4px":"4px",ce=pe?"right":"left",Ae=pe?"left":"right",ae=Se?[{offset:0,opacity:1,transform:`translate3d(${te}, ${we.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${ke}, ${fe.top-40}px, 0) scale(2.1)`}]:[{offset:0,opacity:0,transform:`translate3d(${ke}, ${fe.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${te}, ${we.top-46}px, 0) scale(1)`}],ie=Se?[{offset:0,opacity:1,transform:`translate3d(${Ce}, ${we.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${Ce}, ${we.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${Ce}, ${we.top-41}px, 0) scale(0.6)`}]:[{offset:0,opacity:0,transform:`translate3d(${Ce}, ${we.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${Ce}, ${we.top-46}px, 0) scale(1)`}],Ee=(0,o.c)(),_e=(0,o.c)(),st=Oe("ion-back-button"),Ze=Fe(st).querySelector(".button-text"),je=Fe(st).querySelector("ion-icon");st.text=le.text,st.mode=le.mode,st.icon=le.icon,st.color=le.color,st.disabled=le.disabled,st.style.setProperty("display","block"),st.style.setProperty("position","fixed"),_e.addElement(je),Ee.addElement(Ze),Ee.beforeStyles({"transform-origin":`${ce} center`}).beforeAddWrite(()=>{le.style.setProperty("display","none"),st.style.setProperty(ce,We)}).afterAddWrite(()=>{le.style.setProperty("display",""),st.style.setProperty("display","none"),st.style.removeProperty(ce)}).keyframes(ae),_e.beforeStyles({"transform-origin":`${Ae} center`}).keyframes(ie),ee.addAnimation([Ee,_e])},K=(ee,pe,Se,le,fe,we)=>{const We=pe?`calc(100% - ${fe.right}px)`:`${fe.left}px`,ke=pe?"-18px":"18px",te=pe?"right":"left",Ae=Se?[{offset:0,opacity:0,transform:`translate3d(${ke}, ${we.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${fe.top-2}px, 0) scale(1)`}]:[{offset:0,opacity:.99,transform:`translate3d(0, ${fe.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${ke}, ${we.top-4}px, 0) scale(0.5)`}],De=Oe("ion-title"),Le=(0,o.c)();De.innerText=le.innerText,De.size=le.size,De.color=le.color,Le.addElement(De),Le.beforeStyles({"transform-origin":`${te} center`,height:"46px",display:"",position:"relative",[te]:We}).beforeAddWrite(()=>{le.style.setProperty("display","none")}).afterAddWrite(()=>{le.style.setProperty("display",""),De.style.setProperty("display","none")}).keyframes(Ae),ee.addAnimation(Le)},O=(ee,pe)=>{try{const Se="cubic-bezier(0.32,0.72,0,1)",le="opacity",fe="transform",we="0%",ke="rtl"===ee.ownerDocument.dir,te=ke?"-99.5%":"99.5%",Ce=ke?"33%":"-33%",ce=pe.enteringEl,Ae=pe.leavingEl,De="back"===pe.direction,Le=ce.querySelector(":scope > ion-content"),ae=ce.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),se=ce.querySelectorAll(":scope > ion-header > ion-toolbar"),re=(0,o.c)(),ie=(0,o.c)();if(re.addElement(ce).duration(pe.duration||540).easing(pe.easing||Se).fill("both").beforeRemoveClass("ion-page-invisible"),Ae&&ee){const Ze=(0,o.c)();Ze.addElement(ee),re.addAnimation(Ze)}if(Le||0!==se.length||0!==ae.length?(ie.addElement(Le),ie.addElement(ae)):ie.addElement(ce.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),re.addAnimation(ie),De?ie.beforeClearStyles([le]).fromTo("transform",`translateX(${Ce})`,`translateX(${we})`).fromTo(le,.8,1):ie.beforeClearStyles([le]).fromTo("transform",`translateX(${te})`,`translateX(${we})`),Le){const Ze=Fe(Le).querySelector(".transition-effect");if(Ze){const je=Ze.querySelector(".transition-cover"),Me=Ze.querySelector(".transition-shadow"),Be=(0,o.c)(),Ne=(0,o.c)(),xe=(0,o.c)();Be.addElement(Ze).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Ne.addElement(je).beforeClearStyles([le]).fromTo(le,0,.1),xe.addElement(Me).beforeClearStyles([le]).fromTo(le,.03,.7),Be.addAnimation([Ne,xe]),ie.addAnimation([Be])}}const Ee=ce.querySelector("ion-header.header-collapse-condense"),{forward:_e,backward:st}=((ee,pe,Se,le,fe)=>{const we=ye(le,Se),We=q(fe),ke=q(le),te=ye(fe,Se),Ce=null!==we&&null!==We&&!Se,ce=null!==ke&&null!==te&&Se;if(Ce){const Ae=We.getBoundingClientRect(),De=we.getBoundingClientRect();K(ee,pe,Se,We,Ae,De),z(ee,pe,Se,we,Ae,De)}else if(ce){const Ae=ke.getBoundingClientRect(),De=te.getBoundingClientRect();K(ee,pe,Se,ke,Ae,De),z(ee,pe,Se,te,Ae,De)}return{forward:Ce,backward:ce}})(re,ke,De,ce,Ae);if(se.forEach(Ze=>{const je=(0,o.c)();je.addElement(Ze),re.addAnimation(je);const Me=(0,o.c)();Me.addElement(Ze.querySelector("ion-title"));const Be=(0,o.c)(),Ne=Array.from(Ze.querySelectorAll("ion-buttons,[menuToggle]")),xe=Ze.closest("ion-header"),Ue=xe?.classList.contains("header-collapse-condense-inactive");let qe;qe=Ne.filter(De?mt=>{const ln=mt.classList.contains("buttons-collapse");return ln&&!Ue||!ln}:mt=>!mt.classList.contains("buttons-collapse")),Be.addElement(qe);const tt=(0,o.c)();tt.addElement(Ze.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const ot=(0,o.c)();ot.addElement(Fe(Ze).querySelector(".toolbar-background"));const Dt=(0,o.c)(),Wt=Ze.querySelector("ion-back-button");if(Wt&&Dt.addElement(Wt),je.addAnimation([Me,Be,tt,ot,Dt]),Be.fromTo(le,.01,1),tt.fromTo(le,.01,1),De)Ue||Me.fromTo("transform",`translateX(${Ce})`,`translateX(${we})`).fromTo(le,.01,1),tt.fromTo("transform",`translateX(${Ce})`,`translateX(${we})`),Dt.fromTo(le,.01,1);else if(Ee||Me.fromTo("transform",`translateX(${te})`,`translateX(${we})`).fromTo(le,.01,1),tt.fromTo("transform",`translateX(${te})`,`translateX(${we})`),ot.beforeClearStyles([le,"transform"]),xe?.translucent?ot.fromTo("transform",ke?"translateX(-100%)":"translateX(100%)","translateX(0px)"):ot.fromTo(le,.01,"var(--opacity)"),_e||Dt.fromTo(le,.01,1),Wt&&!_e){const ln=(0,o.c)();ln.addElement(Fe(Wt).querySelector(".button-text")).fromTo("transform",ke?"translateX(-100px)":"translateX(100px)","translateX(0px)"),je.addAnimation(ln)}}),Ae){const Ze=(0,o.c)(),je=Ae.querySelector(":scope > ion-content"),Me=Ae.querySelectorAll(":scope > ion-header > ion-toolbar"),Be=Ae.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(je||0!==Me.length||0!==Be.length?(Ze.addElement(je),Ze.addElement(Be)):Ze.addElement(Ae.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),re.addAnimation(Ze),De){Ze.beforeClearStyles([le]).fromTo("transform",`translateX(${we})`,ke?"translateX(-100%)":"translateX(100%)");const Ne=(0,I.g)(Ae);re.afterAddWrite(()=>{"normal"===re.getDirection()&&Ne.style.setProperty("display","none")})}else Ze.fromTo("transform",`translateX(${we})`,`translateX(${Ce})`).fromTo(le,1,.8);if(je){const Ne=Fe(je).querySelector(".transition-effect");if(Ne){const xe=Ne.querySelector(".transition-cover"),Ue=Ne.querySelector(".transition-shadow"),qe=(0,o.c)(),tt=(0,o.c)(),ot=(0,o.c)();qe.addElement(Ne).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),tt.addElement(xe).beforeClearStyles([le]).fromTo(le,.1,0),ot.addElement(Ue).beforeClearStyles([le]).fromTo(le,.7,.03),qe.addAnimation([tt,ot]),Ze.addAnimation([qe])}}Me.forEach(Ne=>{const xe=(0,o.c)();xe.addElement(Ne);const Ue=(0,o.c)();Ue.addElement(Ne.querySelector("ion-title"));const qe=(0,o.c)(),tt=Ne.querySelectorAll("ion-buttons,[menuToggle]"),ot=Ne.closest("ion-header"),Dt=ot?.classList.contains("header-collapse-condense-inactive"),Wt=Array.from(tt).filter(on=>{const Ht=on.classList.contains("buttons-collapse");return Ht&&!Dt||!Ht});qe.addElement(Wt);const mt=(0,o.c)(),ln=Ne.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");ln.length>0&&mt.addElement(ln);const Bt=(0,o.c)();Bt.addElement(Fe(Ne).querySelector(".toolbar-background"));const _t=(0,o.c)(),An=Ne.querySelector("ion-back-button");if(An&&_t.addElement(An),xe.addAnimation([Ue,qe,mt,_t,Bt]),re.addAnimation(xe),_t.fromTo(le,.99,0),qe.fromTo(le,.99,0),mt.fromTo(le,.99,0),De){if(Dt||Ue.fromTo("transform",`translateX(${we})`,ke?"translateX(-100%)":"translateX(100%)").fromTo(le,.99,0),mt.fromTo("transform",`translateX(${we})`,ke?"translateX(-100%)":"translateX(100%)"),Bt.beforeClearStyles([le,"transform"]),ot?.translucent?Bt.fromTo("transform","translateX(0px)",ke?"translateX(-100%)":"translateX(100%)"):Bt.fromTo(le,"var(--opacity)",0),An&&!st){const Ht=(0,o.c)();Ht.addElement(Fe(An).querySelector(".button-text")).fromTo("transform",`translateX(${we})`,`translateX(${(ke?-124:124)+"px"})`),xe.addAnimation(Ht)}}else Dt||Ue.fromTo("transform",`translateX(${we})`,`translateX(${Ce})`).fromTo(le,.99,0).afterClearStyles([fe,le]),mt.fromTo("transform",`translateX(${we})`,`translateX(${Ce})`).afterClearStyles([fe,le]),_t.afterClearStyles([le]),Ue.afterClearStyles([le]),qe.afterClearStyles([le])})}return re}catch(Se){throw Se}}},5980:(wt,Ye,L)=>{"use strict";L.r(Ye),L.d(Ye,{mdTransitionAnimation:()=>he});var o=L(9442),I=L(9753);L(7205);const he=(Oe,Fe)=>{const U="back"===Fe.direction,K=Fe.leavingEl,O=(0,I.g)(Fe.enteringEl),ee=O.querySelector("ion-toolbar"),pe=(0,o.c)();if(pe.addElement(O).fill("both").beforeRemoveClass("ion-page-invisible"),U?pe.duration(Fe.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):pe.duration(Fe.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),ee){const Se=(0,o.c)();Se.addElement(ee),pe.addAnimation(Se)}if(K&&U){pe.duration(Fe.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const Se=(0,o.c)();Se.addElement((0,I.g)(K)).onFinish(le=>{1===le&&Se.elements.length>0&&Se.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),pe.addAnimation(Se)}return pe}},3280:(wt,Ye,L)=>{"use strict";L.d(Ye,{B:()=>Be,a:()=>ye,b:()=>U,c:()=>ee,d:()=>ae,e:()=>Se,f:()=>re,g:()=>_e,h:()=>Fe,i:()=>Ze,j:()=>we,k:()=>De,m:()=>K,s:()=>Me,t:()=>pe});var o=L(5861),I=L(5729),Te=L(7593),he=L(3756);let Oe=0;const Fe=new WeakMap,q=Ne=>({create:xe=>le(Ne,xe),dismiss:(xe,Ue,qe)=>ce(document,xe,Ue,Ne,qe),getTop:()=>(0,o.Z)(function*(){return De(document,Ne)})()}),ye=q("ion-alert"),U=q("ion-action-sheet"),K=q("ion-modal"),ee=q("ion-popover"),pe=q("ion-toast"),Se=Ne=>{typeof document<"u"&&Ce(document);const xe=Oe++;Ne.overlayIndex=xe,Ne.hasAttribute("id")||(Ne.id=`ion-overlay-${xe}`)},le=(Ne,xe)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Ne).then(()=>{const Ue=document.createElement(Ne);return Ue.classList.add("overlay-hidden"),Object.assign(Ue,Object.assign(Object.assign({},xe),{hasController:!0})),ie(document).appendChild(Ue),new Promise(qe=>(0,he.c)(Ue,qe))}):Promise.resolve(),fe='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',we=(Ne,xe)=>{let Ue=Ne.querySelector(fe);const qe=Ue?.shadowRoot;qe&&(Ue=qe.querySelector(fe)||Ue),Ue?(0,he.f)(Ue):xe.focus()},ke=(Ne,xe)=>{const Ue=Array.from(Ne.querySelectorAll(fe));let qe=Ue.length>0?Ue[Ue.length-1]:null;const tt=qe?.shadowRoot;tt&&(qe=tt.querySelector(fe)||qe),qe?qe.focus():xe.focus()},Ce=Ne=>{0===Oe&&(Oe=1,Ne.addEventListener("focus",xe=>{((Ne,xe)=>{const Ue=De(xe,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),qe=Ne.target;Ue&&qe&&!Ue.classList.contains("ion-disable-focus-trap")&&(Ue.shadowRoot?(()=>{if(Ue.contains(qe))Ue.lastFocus=qe;else{const Dt=Ue.lastFocus;we(Ue,Ue),Dt===xe.activeElement&&ke(Ue,Ue),Ue.lastFocus=xe.activeElement}})():(()=>{if(Ue===qe)Ue.lastFocus=void 0;else{const Dt=(0,he.g)(Ue);if(!Dt.contains(qe))return;const Wt=Dt.querySelector(".ion-overlay-wrapper");if(!Wt)return;if(Wt.contains(qe))Ue.lastFocus=qe;else{const mt=Ue.lastFocus;we(Wt,Ue),mt===xe.activeElement&&ke(Wt,Ue),Ue.lastFocus=xe.activeElement}}})())})(xe,Ne)},!0),Ne.addEventListener("ionBackButton",xe=>{const Ue=De(Ne);Ue?.backdropDismiss&&xe.detail.register(Te.OVERLAY_BACK_BUTTON_PRIORITY,()=>Ue.dismiss(void 0,Be))}),Ne.addEventListener("keyup",xe=>{if("Escape"===xe.key){const Ue=De(Ne);Ue?.backdropDismiss&&Ue.dismiss(void 0,Be)}}))},ce=(Ne,xe,Ue,qe,tt)=>{const ot=De(Ne,qe,tt);return ot?ot.dismiss(xe,Ue):Promise.reject("overlay does not exist")},De=(Ne,xe,Ue)=>{const qe=((Ne,xe)=>(void 0===xe&&(xe="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Ne.querySelectorAll(xe)).filter(Ue=>Ue.overlayIndex>0)))(Ne,xe).filter(tt=>!(Ne=>Ne.classList.contains("overlay-hidden"))(tt));return void 0===Ue?qe[qe.length-1]:qe.find(tt=>tt.id===Ue)},Le=(Ne=!1)=>{const Ue=ie(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");!Ue||(Ne?Ue.setAttribute("aria-hidden","true"):Ue.removeAttribute("aria-hidden"))},ae=function(){var Ne=(0,o.Z)(function*(xe,Ue,qe,tt,ot){var Dt,Wt;if(xe.presented)return;Le(!0),xe.presented=!0,xe.willPresent.emit(),null===(Dt=xe.willPresentShorthand)||void 0===Dt||Dt.emit();const mt=(0,I.b)(xe),ln=xe.enterAnimation?xe.enterAnimation:I.c.get(Ue,"ios"===mt?qe:tt);(yield Ee(xe,ln,xe.el,ot))&&(xe.didPresent.emit(),null===(Wt=xe.didPresentShorthand)||void 0===Wt||Wt.emit()),"ION-TOAST"!==xe.el.tagName&&se(xe.el),xe.keyboardClose&&(null===document.activeElement||!xe.el.contains(document.activeElement))&&xe.el.focus()});return function(Ue,qe,tt,ot,Dt){return Ne.apply(this,arguments)}}(),se=function(){var Ne=(0,o.Z)(function*(xe){let Ue=document.activeElement;if(!Ue)return;const qe=Ue?.shadowRoot;qe&&(Ue=qe.querySelector(fe)||Ue),yield xe.onDidDismiss(),Ue.focus()});return function(Ue){return Ne.apply(this,arguments)}}(),re=function(){var Ne=(0,o.Z)(function*(xe,Ue,qe,tt,ot,Dt,Wt){var mt,ln;if(!xe.presented)return!1;Le(!1),xe.presented=!1;try{xe.el.style.setProperty("pointer-events","none"),xe.willDismiss.emit({data:Ue,role:qe}),null===(mt=xe.willDismissShorthand)||void 0===mt||mt.emit({data:Ue,role:qe});const Bt=(0,I.b)(xe),_t=xe.leaveAnimation?xe.leaveAnimation:I.c.get(tt,"ios"===Bt?ot:Dt);"gesture"!==qe&&(yield Ee(xe,_t,xe.el,Wt)),xe.didDismiss.emit({data:Ue,role:qe}),null===(ln=xe.didDismissShorthand)||void 0===ln||ln.emit({data:Ue,role:qe}),Fe.delete(xe),xe.el.classList.add("overlay-hidden"),xe.el.style.removeProperty("pointer-events")}catch(Bt){console.error(Bt)}return xe.el.remove(),!0});return function(Ue,qe,tt,ot,Dt,Wt,mt){return Ne.apply(this,arguments)}}(),ie=Ne=>Ne.querySelector("ion-app")||Ne.body,Ee=function(){var Ne=(0,o.Z)(function*(xe,Ue,qe,tt){qe.classList.remove("overlay-hidden");const Dt=Ue(xe.el,tt);(!xe.animated||!I.c.getBoolean("animated",!0))&&Dt.duration(0),xe.keyboardClose&&Dt.beforeAddWrite(()=>{const mt=qe.ownerDocument.activeElement;mt?.matches("input,ion-input, ion-textarea")&&mt.blur()});const Wt=Fe.get(xe)||[];return Fe.set(xe,[...Wt,Dt]),yield Dt.play(),!0});return function(Ue,qe,tt,ot){return Ne.apply(this,arguments)}}(),_e=(Ne,xe)=>{let Ue;const qe=new Promise(tt=>Ue=tt);return st(Ne,xe,tt=>{Ue(tt.detail)}),qe},st=(Ne,xe,Ue)=>{const qe=tt=>{(0,he.b)(Ne,xe,qe),Ue(tt)};(0,he.a)(Ne,xe,qe)},Ze=Ne=>"cancel"===Ne||Ne===Be,je=Ne=>Ne(),Me=(Ne,xe)=>{if("function"==typeof Ne)return I.c.get("_zoneGate",je)(()=>{try{return Ne(xe)}catch(qe){throw qe}})},Be="backdrop"},849:(wt,Ye,L)=>{"use strict";L.d(Ye,{K:()=>Fe});var o=L(5861),I=L(4424),Te=L.n(I);const he={SecureStorage:"ionicSecureStorage",IndexedDB:Te().INDEXEDDB,LocalStorage:Te().LOCALSTORAGE},Oe={name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:[he.SecureStorage,he.IndexedDB,he.LocalStorage]};class Fe{constructor(ye=Oe){this._db=null,this._secureStorageDriver=null;const U=Object.assign({},Oe,ye||{});this._config=U}create(){var ye=this;return(0,o.Z)(function*(){const U=Te().createInstance(ye._config);return ye._db=U,yield U.setDriver(ye._config.driverOrder||[]),ye})()}defineDriver(ye){var U=this;return(0,o.Z)(function*(){return ye._driver===he.SecureStorage&&(U._secureStorageDriver=ye),Te().defineDriver(ye)})()}get driver(){var ye;return(null===(ye=this._db)||void 0===ye?void 0:ye.driver())||null}assertDb(){if(!this._db)throw new Error("Database not created. Must call create() first");return this._db}get(ye){return this.assertDb().getItem(ye)}set(ye,U){return this.assertDb().setItem(ye,U)}remove(ye){return this.assertDb().removeItem(ye)}clear(){return this.assertDb().clear()}length(){return this.assertDb().length()}keys(){return this.assertDb().keys()}forEach(ye){return this.assertDb().iterate(ye)}setEncryptionKey(ye){var U;if(!this._secureStorageDriver)throw new Error("@ionic-enterprise/secure-storage not installed. Encryption support not available");null===(U=this._secureStorageDriver)||void 0===U||U.setEncryptionKey(ye)}}},5883:(wt,Ye,L)=>{"use strict";L.d(Ye,{s:()=>Fe});var o=L(5861);class I{constructor(ye,U,z,K,O,ee){this.name=ye,this.protected="",this.thirdPercent=-1,this.abbreviation=U,this.college=z,this.demPercent=K,this.repPercent=O,this.leansDem=K-O,this.leansRep=O-K,this.order=ee||0,this.pollingError=0}}var he=L(8274),Oe=L(849);let Fe=(()=>{class q{constructor(U){this.storage=U,this.isMultiplayer=!1,this.isHost=!1,this.lastMultiPlayerMove={},this.lastMoveIsEvent=!1,this.neededToWin=270,this.mapTitle="",this.actionPending=!1,this.unlockedOccuredThisRound=!1,this.scandals=0,this.progressMessage="",this.progress=0,this.isDemocrat=!0,this.isThird=!1,this.campaignPopup=!1,this.thirdName="",this.background={},this.thirdPartyName="",this.opponentFunds=0,this.funds=0,this.round=1,this.gameLength=16,this.turn=0,this.popularVoteDem=0,this.populatVoteRep=0,this.Alabama=new I("Alabama","AL",9,30,49,23),this.Alaska=new I("Alaska","AK",3,35,45,50),this.Arizona=new I("Arizona","AZ",11,39,41,37),this.Arkansas=new I("Arkansas","AR",6,30,49,31),this.California=new I("California","CA",54,52,27,49),this.Colorado=new I("Colorado","CO",10,43,36,38),this.Connecticut=new I("Connecticut","CT",7,47,32,11),this.Delaware=new I("Delaware","DE",3,47,32,13),this.DC=new I("DC","DC",3,75,7,12),this.Florida=new I("Florida","FL",30,38,41,10),this.Georgia=new I("Georgia","GA",16,39,41,3),this.Hawaii=new I("Hawaii","HI",4,53,28,51),this.Idaho=new I("Idaho","ID",4,30,51,43),this.Illinois=new I("Illinois","IL",19,47,32,24),this.Indiana=new I("Indiana","IN",11,34,45,1),this.Iowa=new I("Iowa","IA",6,37,42,33),this.Kansas=new I("Kansas","KS",6,33,46,25),this.Kentucky=new I("Kentucky","KY",8,30,49,2),this.Louisiana=new I("Louisiana","LA",8,33,46,34),this.Maine=new I("Maine","ME",4,43,36,14),this.Maryland=new I("Maryland","MD",10,52,27,15),this.Massachusetts=new I("Massachusetts","MA",11,52,27,16),this.Michigan=new I("Michigan","MI",15,41,38,17),this.Minnesota=new I("Minnesota","MN",10,42,37,35),this.Mississippi=new I("Mississippi","MS",6,33,47,26),this.Missouri=new I("Missouri","MO",10,34,46,27),this.Montana=new I("Montana","MT",4,34,46,44),this.Nebraska=new I("Nebraska","NE",5,32,47,39),this.Nevada=new I("Nevada","NV",6,41,39,46),this.NewHampshire=new I("New Hampshire","NH",4,41,38,18),this.NewJersey=new I("New Jersey","NJ",14,46,34,19),this.NewMexico=new I("New Mexico","NM",5,45,35,40),this.NewYork=new I("New York","NY",28,50,29,32),this.NorthCarolina=new I("North Carolina","NC",16,39,41,7),this.NorthDakota=new I("North Dakota","ND",3,29,50,42),this.Ohio=new I("Ohio","OH",17,37,42,8),this.Oklahoma=new I("Oklahoma","OK",7,26,53,28),this.Oregon=new I("Oregon","OR",8,46,34,47),this.Pennsylvania=new I("Pennsylvania","PA",19,40,39,20),this.RhodeIsland=new I("Rhode Island","RI",4,49,30,21),this.SouthCarolina=new I("South Carolina","SC",9,35,45,4),this.SouthDakota=new I("South Dakota","SD",3,31,48,29),this.Tennessee=new I("Tennessee","TN",11,31,48,22),this.Texas=new I("Texas","TX",40,36,43,30),this.Utah=new I("Utah","UT",6,30,50,45),this.Vermont=new I("Vermont","VT",3,54,25,5),this.Virginia=new I("Virginia","VA",13,43,36,6),this.Washington=new I("Washington","WA",12,47,32,48),this.WestVirginia=new I("West Virginia","WV",4,26,53,9),this.Wisconsin=new I("Wisconsin","WI",10,40,40,36),this.Wyoming=new I("Wyoming","WY",3,24,55,41),this.states=[],this.visitedStates={},this.NationalClimate=0,this._storage=null,this.init(),this.states=[this.Alabama,this.Alaska,this.Arizona,this.Arkansas,this.California,this.Colorado,this.Connecticut,this.Delaware,this.DC,this.Florida,this.Georgia,this.Hawaii,this.Idaho,this.Illinois,this.Indiana,this.Iowa,this.Kansas,this.Kentucky,this.Louisiana,this.Maine,this.Maryland,this.Massachusetts,this.Michigan,this.Minnesota,this.Mississippi,this.Missouri,this.Montana,this.Nebraska,this.Nevada,this.NewHampshire,this.NewJersey,this.NewMexico,this.NewYork,this.NorthCarolina,this.NorthDakota,this.Ohio,this.Oklahoma,this.Oregon,this.Pennsylvania,this.RhodeIsland,this.SouthCarolina,this.SouthDakota,this.Tennessee,this.Texas,this.Utah,this.Vermont,this.Virginia,this.Washington,this.WestVirginia,this.Wisconsin,this.Wyoming]}init(){var U=this;return(0,o.Z)(function*(){console.log("Votes init for some reason");let z=0,K=0,O=0,ee=0,pe=0,Se=0,le=0,fe=0,we=0;for(let ke=0;ke<1e4;ke++){let te=U.randn_bm(-4.5,4.5);te<-4?z++:te<-3?K++:te<-2?O++:te<-1?ee++:te<1?we++:te<2?pe++:te<3?Se++:te<4?le++:fe++}console.log((z/100).toFixed(2)," ",(K/100).toFixed(2)," ",(O/100).toFixed(2)," ",(ee/100).toFixed(2)," . ",(we/100).toFixed(2)," . ",(pe/100).toFixed(2)," ",(Se/100).toFixed(2)," ",(le/100).toFixed(2)," ",(fe/100).toFixed(2));const We=yield U.storage.create();U._storage=We})()}saveStatsToServer(){var U=this;return(0,o.Z)(function*(){yield U.getLocalStorage("plays"),yield U.getLocalStorage("wins"),yield U.getLocalStorage("demWins"),yield U.getLocalStorage("repWins"),yield U.getLocalStorage("highVotes")})()}addGameStats(U,z,K){var O=this;return(0,o.Z)(function*(){let ee=yield O.getLocalStorage("plays"),pe=yield O.getLocalStorage("wins"),Se=yield O.getLocalStorage("demWins"),le=yield O.getLocalStorage("repWins"),fe=yield O.getLocalStorage("highVotes");pe=Number(pe),Se=Number(Se),le=Number(le),fe=Number(fe),ee=Number(ee),Number.isNaN(pe)&&(pe=0),Number.isNaN(ee)&&(ee=0),Number.isNaN(Se)&&(Se=0),Number.isNaN(le)&&(le=0),Number.isNaN(fe)&&(fe=0),pe!==Se+le&&(pe=Se+le),O.setLocalStorage("plays",Number(ee)+1),K>Number(fe)&&O.setLocalStorage("highVotes",K),K>399&&O.unlockRecord("record13"),K>374&&O.unlockRecord("record26"),K>349&&O.unlockRecord("record25"),270===K&&O.unlockRecord("record11"),U?(pe>9&&O.unlockRecord("record8"),ee>59&&O.unlockRecord("record12"),O.unlockRecord("record1"),O.setLocalStorage("wins",pe+1),z?(O.setLocalStorage("demWins",Se+1),O.Ohio.leansDemO.Texas.leansRep&&O.unlockRecord("record10"),le>0&&O.unlockRecord("record3"),O.Minnesota.leansDem>O.Minnesota.leansRep&&O.Iowa.leansDem>O.Iowa.leansRep&&O.Wisconsin.leansDem>O.Wisconsin.leansRep&&O.Michigan.leansDem>O.Michigan.leansRep&&O.Ohio.leansDem>O.Ohio.leansRep&&O.Pennsylvania.leansDem>O.Pennsylvania.leansRep&&O.unlockRecord("record19"),O.NewHampshire.leansDem>O.NewHampshire.leansRep&&O.Maine.leansDem>O.Maine.leansRep&&O.NewJersey.leansDem>O.NewJersey.leansRep&&O.Massachusetts.leansDem>O.Massachusetts.leansRep&&O.Connecticut.leansDem>O.Connecticut.leansRep&&O.Vermont.leansDem>O.Vermont.leansRep&&O.NewYork.leansDem>O.NewYork.leansRep&&O.Delaware.leansDem>O.Delaware.leansRep&&O.unlockRecord("record20"),O.Arizona.leansDem>O.Arizona.leansRep&&O.Nevada.leansDem>O.Nevada.leansRep&&O.Colorado.leansDem>O.Colorado.leansRep&&O.NewMexico.leansDem>O.NewMexico.leansRep&&O.unlockRecord("record21"),O.Florida.leansDem>O.Florida.leansRep&&O.Georgia.leansDem>O.Georgia.leansRep&&O.SouthCarolina.leansDem>O.SouthCarolina.leansRep&&O.NorthCarolina.leansDem>O.NorthCarolina.leansRep&&O.Virginia.leansDem>O.Virginia.leansRep&&O.Tennessee.leansDem>O.Tennessee.leansRep&&O.Alabama.leansDem>O.Alabama.leansRep&&O.Mississippi.leansDem>O.Mississippi.leansRep&&O.Arkansas.leansDem>O.Arkansas.leansRep&&O.Louisiana.leansDem>O.Louisiana.leansRep&&O.unlockRecord("record22")):(O.setLocalStorage("repWins",le+1),O.Ohio.leansDem>O.Ohio.leansRep&&O.unlockRecord("record7"),O.California.leansDem0&&O.unlockRecord("record3"),O.Minnesota.leansDem9&&O.unlockRecord("record15")),0===Object.keys(O.visitedStates).length&&O.unlockRecord("record4")})()}setLocalStorage(U,z){this._storage?.set(U,z)}getLocalStorage(U){var z=this;return(0,o.Z)(function*(){return yield z._storage?.get(U)})()}unlockRecord(U){var z=this;return(0,o.Z)(function*(){(yield z.getLocalStorage(U))||(z.unlockedOccuredThisRound=!0),z.setLocalStorage(U,"unlocked")})()}stateVisited(U){this.visitedStates[U.abbreviation]=this.visitedStates[U.abbreviation]?this.visitedStates[U.abbreviation]+1:1,this.visitedStates[U.abbreviation]>4&&this.unlockRecord("record9")}scandalDrawn(){this.scandals++,this.scandals>1&&this.unlockRecord("record5")}randn_bm(U,z){let K=0,O=0;for(;0===K;)K=Math.random();for(;0===O;)O=Math.random();let ee=Math.sqrt(-12*Math.log(K))*Math.cos(12*Math.PI*O);return ee=ee/10+.5,ee>1||ee<0?ee=this.randn_bm(U,z):(ee*=z-U,ee+=U),Math.round(10*ee)/10}finalizeVotes(){for(const U of this.states){const z=this.randn_bm(-4.5,4.5);U.pollingError=z,console.log(U.name," : ",U.demPercent," : ",U.leansDem," : ",U.pollingError),this.isDemocrat?this.changeStateClimate(U.abbreviation,z,0):this.changeStateClimate(U.abbreviation,0,z),U.leansDem===U.leansRep&&(U.pollingError*=2,this.isDemocrat?this.changeStateClimate(U.abbreviation,z,0):this.changeStateClimate(U.abbreviation,0,z))}}getUserIsThird(){return this.isThird}setUserIsThird(U){this.isThird=U;for(const z of this.states)z.thirdPercent=2}setBackground(U){this.background=U}setThirdPartyName(U){this.thirdName=U}getThirdPartyName(){return this.thirdName}getUserIsDem(){return this.isDemocrat}hasSeenCampaignPopup(){return this.campaignPopup}setUserIsDem(U){this.isDemocrat=U;for(const z of this.states)(z.leansDem>17&&!U||z.leansRep>14&&U)&&(z.protected="*")}getAllStates(){return this.states}getSortedStates(U=51){const z=[];return this.states.forEach(K=>{z.push(K)}),z.sort(function(K,O){return Math.abs(K.demPercent-K.repPercent)-Math.abs(O.demPercent-O.repPercent)}),z.slice(0,U)}getSortedGroups(U=0){const z=this.getSortedStates();return this.NewMexico||"NY"!==z[U].abbreviation&&"NJ"!==z[U].abbreviation?"HI"===z[U].abbreviation||"CA"===z[U].abbreviation||"WA"===z[U].abbreviation||"OR"===z[U].abbreviation?this.Hawaii?["HI","CA","WA","OR"]:this.Washington?["CA","WA","OR"]:["CA","OR","NV"]:"IL"===z[U].abbreviation||"MN"===z[U].abbreviation?["IL","MN"]:"NM"===z[U].abbreviation||"CO"===z[U].abbreviation||"NV"===z[U].abbreviation||"AZ"===z[U].abbreviation?this.NewMexico?["NM","CO","NV","AZ"]:["CA","OR","NV"]:"ME"===z[U].abbreviation||"NH"===z[U].abbreviation||"VA"===z[U].abbreviation||"PA"===z[U].abbreviation?["ME","NH","VA","PA"]:"WI"===z[U].abbreviation||"IA"===z[U].abbreviation||"MI"===z[U].abbreviation||"OH"===z[U].abbreviation?["WI","IA","MI","OH"]:"FL"===z[U].abbreviation||"NC"===z[U].abbreviation||"GA"===z[U].abbreviation?["FL","NC","GA"]:"TX"===z[U].abbreviation?this.Alaska?["TX","AK"]:["TX"]:"SC"===z[U].abbreviation||"MO"===z[U].abbreviation||"IN"===z[U].abbreviation||"MT"===z[U].abbreviation||"MS"===z[U].abbreviation||"LA"===z[U].abbreviation?this.Montana?["SC","MO","IN","MT","MS","LA"]:["SC","MO","IN","MS","LA"]:(U+=1)>49?[]:this.getSortedGroups(U):["NY","NJ","CT"]}getCurrentScore(){if(this.isThird)return 0;let U=0,z=0;for(const K of this.states)K.leansDem>0&&(U+=K.college),K.leansRep>0&&(z+=K.college);return this.isDemocrat?z-this.neededToWin:U-this.neededToWin}getSafeStates(){const U=[];for(const z of this.states)(z.leansDem>=12||z.leansRep>=12)&&U.push(z);return U}getLeftLeanStates(){const U=[];for(const z of this.states)z.leansDem>=5&&z.leansDem<12&&U.push(z);return U}getRightLeanStates(){const U=[];for(const z of this.states)z.leansRep>=5&&z.leansRep<12&&U.push(z);return U}getTossUpsLeft(){const U=[];for(const z of this.states)z.leansDem>0&&z.leansDem<5&&U.push(z);return U}getTossUps(){const U=[];for(const z of this.states)0===z.leansDem&&U.push(z);return U}getTossUpsRight(){const U=[];for(const z of this.states)z.leansRep>0&&z.leansRep<5&&U.push(z);return U}changeNationalClimate(U,z){this.NationalClimate+=z,this.NationalClimate-=U;for(const K of this.states)K.demPercent+=U,K.repPercent+=z,K.leansDem=K.demPercent-K.repPercent,K.leansRep=K.repPercent-K.demPercent}changeStateClimate(U,z,K){for(const O of this.states)O.abbreviation===U&&(O.demPercent+=z,O.repPercent+=K,O.leansDem=O.demPercent-O.repPercent,O.leansRep=O.repPercent-O.demPercent,O.leansDem>90&&(O.leansDem=90,O.leansRep=-90,O.demPercent=95,O.repPercent=5),O.leansDem<-90&&(O.leansDem=-90,O.leansRep=90,O.demPercent=5,O.repPercent=95))}neutralizeStateClimate(U){for(const z of this.states)z.abbreviation===U&&(z.leansDem=0,z.demPercent=40,z.repPercent=40,z.leansRep=0)}getFinalRed(){let U=0;for(const z of this.states)z.repPercent>z.demPercent&&(U+=z.college),z.repPercent===z.demPercent&&this.NationalClimate>=0&&(this.changeStateClimate(z.abbreviation,-1,1),U+=z.college);return U}getFinalBlue(){let U=0;for(const z of this.states)z.repPercent0?this.changeStateClimate(U[z].abbreviation,1,-1):z++),this.isDemocrat||(U[z].demPercent-U[z].repPercent>0?this.changeStateClimate(U[z].abbreviation,-1,1):z++)}return!!(this.getFinalBlue()>this.neededToWin-1&&this.isDemocrat)||!(this.getFinalBlue()>this.neededToWin-1&&!this.isDemocrat)&&this.getFinalRed()>this.neededToWin-1&&!this.isDemocrat}shuffle(U){let K,z=U.length;for(;0!==z;)K=Math.floor(Math.random()*z),z--,[U[z],U[K]]=[U[K],U[z]];return U}randomizeStates(){var U=this;return(0,o.Z)(function*(){U.mapTitle="Randomized Game Mode!";let z=U.states;z=U.shuffle(z);let K=0,O=0;for(const Se of z)O<262&&(K++,O+=Se.college);const ee=O%2==0;let pe=0;for(const Se of z){const le=Math.floor(17*Math.random())+1;pe<=K&&ee||pe>=K&&!ee?(Se.repPercent=40-Math.floor(le/2),Se.leansRep=-le,Se.demPercent=40+Math.ceil(le/2),Se.leansDem=le):(Se.repPercent=40+Math.floor(le/2),Se.leansRep=le,Se.demPercent=40-Math.ceil(le/2),Se.leansDem=-le),pe++}})()}setLongGameLength(){var U=this;return(0,o.Z)(function*(){U.gameLength=32})()}setElectionOf1916(){this.mapTitle="1916 Election",this.neededToWin=266,this.Alaska=null,this.Hawaii=null,this.Alabama=new I("Alabama","AL",12,72,21),this.Arizona=new I("Arizona","AZ",3,52,35),this.Arkansas=new I("Arkansas","AR",9,60,35),this.California=new I("California","CA",13,47,46),this.Colorado=new I("Colorado","CO",6,55,39),this.Connecticut=new I("Connecticut","CT",7,36,39),this.Delaware=new I("Delaware","DE",3,47,49),this.Florida=new I("Florida","FL",6,64,18),this.Georgia=new I("Georgia","GA",14,65,12),this.Idaho=new I("Idaho","ID",4,52,41),this.Illinois=new I("Illinois","IL",29,44,52),this.Indiana=new I("Indiana","IN",15,46,47),this.Iowa=new I("Iowa","IA",13,39,46),this.Kansas=new I("Kansas","KS",10,49,44),this.Kentucky=new I("Kentucky","KY",13,51,47),this.Louisiana=new I("Louisiana","LA",10,80,7),this.Maine=new I("Maine","ME",6,38,42),this.Maryland=new I("Maryland","MD",8,51,44),this.Massachusetts=new I("Massachusetts","MA",18,46,50),this.Michigan=new I("Michigan","MI",15,44,52),this.Minnesota=new I("Minnesota","MN",12,45,46),this.Mississippi=new I("Mississippi","MS",10,80,4),this.Missouri=new I("Missouri","MO",18,50,47),this.Montana=new I("Montana","MT",4,50,41),this.Nebraska=new I("Nebraska","NE",8,50,43),this.Nevada=new I("Nevada","NV",3,50,41),this.NewHampshire=new I("New Hampshire","NH",4,49,48),this.NewJersey=new I("New Jersey","NJ",14,42,54),this.NewMexico=new I("New Mexico","NM",3,50,47),this.NewYork=new I("New York","NY",45,44,46),this.NorthCarolina=new I("North Carolina","NC",12,48,42),this.NorthDakota=new I("North Dakota","ND",5,41,39),this.Ohio=new I("Ohio","OH",24,51,44),this.Oklahoma=new I("Oklahoma","OK",10,50,45),this.Oregon=new I("Oregon","OR",5,45,48),this.Pennsylvania=new I("Pennsylvania","PA",38,40,42),this.RhodeIsland=new I("Rhode Island","RI",5,46,51),this.SouthCarolina=new I("South Carolina","SC",9,80,4),this.SouthDakota=new I("South Dakota","SD",5,45,49),this.Tennessee=new I("Tennessee","TN",12,54,42),this.Texas=new I("Texas","TX",20,76,15),this.Utah=new I("Utah","UT",4,58,38),this.Vermont=new I("Vermont","VT",4,35,62),this.Virginia=new I("Virginia","VA",12,44,39),this.Washington=new I("Washington","WA",7,39,35),this.WestVirginia=new I("West Virginia","WV",8,38,39),this.Wisconsin=new I("Wisconsin","WI",13,41,49),this.Wyoming=new I("Wyoming","WY",3,54,41),this.states=[this.Alabama,this.Arizona,this.Arkansas,this.California,this.Colorado,this.Connecticut,this.Delaware,this.Florida,this.Georgia,this.Idaho,this.Illinois,this.Indiana,this.Iowa,this.Kansas,this.Kentucky,this.Louisiana,this.Maine,this.Maryland,this.Massachusetts,this.Michigan,this.Minnesota,this.Mississippi,this.Missouri,this.Montana,this.Nebraska,this.Nevada,this.NewHampshire,this.NewJersey,this.NewMexico,this.NewYork,this.NorthCarolina,this.NorthDakota,this.Ohio,this.Oklahoma,this.Oregon,this.Pennsylvania,this.RhodeIsland,this.SouthCarolina,this.SouthDakota,this.Tennessee,this.Texas,this.Utah,this.Vermont,this.Virginia,this.Washington,this.WestVirginia,this.Wisconsin,this.Wyoming]}setElectionOf1876(){this.mapTitle="1876 Election",this.neededToWin=185,this.Alaska=null,this.Arizona=null,this.Idaho=null,this.Montana=null,this.NorthDakota=null,this.SouthDakota=null,this.Utah=null,this.Oklahoma=null,this.NewMexico=null,this.Wyoming=null,this.Washington=null,this.Hawaii=null,this.Alabama=new I("Alabama","AL",10,59,40),this.Arkansas=new I("Arkansas","AR",6,60,40),this.California=new I("California","CA",6,45,46),this.Colorado=new I("Colorado","CO",3,50,51),this.Connecticut=new I("Connecticut","CT",6,50,48),this.Delaware=new I("Delaware","DE",3,55,45),this.Florida=new I("Florida","FL",4,49,51),this.Georgia=new I("Georgia","GA",11,65,12),this.Illinois=new I("Illinois","IL",21,47,50),this.Indiana=new I("Indiana","IN",15,48,47),this.Iowa=new I("Iowa","IA",11,38,58),this.Kansas=new I("Kansas","KS",5,31,63),this.Kentucky=new I("Kentucky","KY",12,61,47),this.Louisiana=new I("Louisiana","LA",8,48,51),this.Maine=new I("Maine","ME",7,42,56),this.Maryland=new I("Maryland","MD",8,55,44),this.Massachusetts=new I("Massachusetts","MA",13,37,50),this.Michigan=new I("Michigan","MI",11,44,52),this.Minnesota=new I("Minnesota","MN",5,32,46),this.Mississippi=new I("Mississippi","MS",8,68,32),this.Missouri=new I("Missouri","MO",15,57,41),this.Nebraska=new I("Nebraska","NE",3,35,64),this.Nevada=new I("Nevada","NV",3,47,52),this.NewHampshire=new I("New Hampshire","NH",5,48,51),this.NewJersey=new I("New Jersey","NJ",9,52,47),this.NewYork=new I("New York","NY",35,51,48),this.NorthCarolina=new I("North Carolina","NC",10,53,46),this.Ohio=new I("Ohio","OH",22,49,50),this.Oregon=new I("Oregon","OR",3,45,48),this.Pennsylvania=new I("Pennsylvania","PA",29,40,42),this.RhodeIsland=new I("Rhode Island","RI",4,40,57),this.SouthCarolina=new I("South Carolina","SC",7,49,50),this.Tennessee=new I("Tennessee","TN",12,59,42),this.Texas=new I("Texas","TX",8,68,30),this.Vermont=new I("Vermont","VT",5,35,62),this.Virginia=new I("Virginia","VA",11,55,39),this.WestVirginia=new I("West Virginia","WV",5,53,39),this.Wisconsin=new I("Wisconsin","WI",10,48,51),this.states=[this.Alabama,this.Arkansas,this.California,this.Colorado,this.Connecticut,this.Delaware,this.Florida,this.Georgia,this.Illinois,this.Indiana,this.Iowa,this.Kansas,this.Kentucky,this.Louisiana,this.Maine,this.Maryland,this.Massachusetts,this.Michigan,this.Minnesota,this.Mississippi,this.Missouri,this.Nebraska,this.Nevada,this.NewHampshire,this.NewJersey,this.NewYork,this.NorthCarolina,this.Ohio,this.Oregon,this.Pennsylvania,this.RhodeIsland,this.SouthCarolina,this.Tennessee,this.Texas,this.Vermont,this.Virginia,this.WestVirginia,this.Wisconsin]}setElectionOf1976(){this.neededToWin=270,this.mapTitle="1976 Election",this.Alabama=new I("Alabama","AL",9,54,43),this.Alaska=new I("Alaska","AK",3,39,56),this.Arizona=new I("Arizona","AZ",6,40,54),this.Arkansas=new I("Arkansas","AR",6,60,35),this.California=new I("California","CA",45,47,49),this.Colorado=new I("Colorado","CO",7,42,54),this.Connecticut=new I("Connecticut","CT",8,46,52),this.Delaware=new I("Delaware","DE",3,51,46),this.DC=new I("DC","DC",3,70,20),this.Florida=new I("Florida","FL",17,51,46),this.Georgia=new I("Georgia","GA",12,65,32),this.Hawaii=new I("Hawaii","HI",4,50,48),this.Idaho=new I("Idaho","ID",4,37,59),this.Illinois=new I("Illinois","IL",26,48,50),this.Indiana=new I("Indiana","IN",13,46,53),this.Iowa=new I("Iowa","IA",8,48,49),this.Kansas=new I("Kansas","KS",7,44,52),this.Kentucky=new I("Kentucky","KY",9,51,46),this.Louisiana=new I("Louisiana","LA",10,51,46),this.Maine=new I("Maine","ME",4,48,49),this.Maryland=new I("Maryland","MD",10,51,44),this.Massachusetts=new I("Massachusetts","MA",14,56,40),this.Michigan=new I("Michigan","MI",21,46,52),this.Minnesota=new I("Minnesota","MN",10,54,42),this.Mississippi=new I("Mississippi","MS",7,49,47),this.Missouri=new I("Missouri","MO",12,50,47),this.Montana=new I("Montana","MT",4,45,52),this.Nebraska=new I("Nebraska","NE",5,45,50),this.Nevada=new I("Nevada","NV",3,50,41),this.NewHampshire=new I("New Hampshire","NH",4,44,54),this.NewJersey=new I("New Jersey","NJ",17,47,50),this.NewMexico=new I("New Mexico","NM",4,45,47),this.NewYork=new I("New York","NY",41,51,47),this.NorthCarolina=new I("North Carolina","NC",13,55,44),this.NorthDakota=new I("North Dakota","ND",3,46,51),this.Ohio=new I("Ohio","OH",25,51,50),this.Oklahoma=new I("Oklahoma","OK",8,44,45),this.Oregon=new I("Oregon","OR",6,47,48),this.Pennsylvania=new I("Pennsylvania","PA",27,50,47),this.RhodeIsland=new I("Rhode Island","RI",4,54,44),this.SouthCarolina=new I("South Carolina","SC",8,55,43),this.SouthDakota=new I("South Dakota","SD",4,48,50),this.Tennessee=new I("Tennessee","TN",10,54,42),this.Texas=new I("Texas","TX",26,51,48),this.Utah=new I("Utah","UT",4,34,59),this.Vermont=new I("Vermont","VT",3,43,54),this.Virginia=new I("Virginia","VA",12,48,49),this.Washington=new I("Washington","WA",9,46,50),this.WestVirginia=new I("West Virginia","WV",6,57,42),this.Wisconsin=new I("Wisconsin","WI",11,49,47),this.Wyoming=new I("Wyoming","WY",3,40,59),this.states=[this.Alabama,this.Alaska,this.Arizona,this.Arkansas,this.California,this.Colorado,this.Connecticut,this.Delaware,this.DC,this.Florida,this.Georgia,this.Hawaii,this.Idaho,this.Illinois,this.Indiana,this.Iowa,this.Kansas,this.Kentucky,this.Louisiana,this.Maine,this.Maryland,this.Massachusetts,this.Michigan,this.Minnesota,this.Mississippi,this.Missouri,this.Montana,this.Nebraska,this.Nevada,this.NewHampshire,this.NewJersey,this.NewMexico,this.NewYork,this.NorthCarolina,this.NorthDakota,this.Ohio,this.Oklahoma,this.Oregon,this.Pennsylvania,this.RhodeIsland,this.SouthCarolina,this.SouthDakota,this.Tennessee,this.Texas,this.Utah,this.Vermont,this.Virginia,this.Washington,this.WestVirginia,this.Wisconsin,this.Wyoming]}reset(){this.mapTitle="",this.scandals=0,this.gameLength=16,this.unlockedOccuredThisRound=!1,this.visitedStates={},this.isDemocrat=!0,this.isThird=!1,this.funds=0,this.opponentFunds=0,this.turn=0,this.NationalClimate=0,this.progressMessage="",this.progress=0,this.Alabama=new I("Alabama","AL",9,30,49,23),this.Alaska=new I("Alaska","AK",3,35,45,50),this.Arizona=new I("Arizona","AZ",11,39,41,37),this.Arkansas=new I("Arkansas","AR",6,30,49,31),this.California=new I("California","CA",54,52,27,49),this.Colorado=new I("Colorado","CO",10,44,35,38),this.Connecticut=new I("Connecticut","CT",7,47,32,11),this.Delaware=new I("Delaware","DE",3,47,32,13),this.DC=new I("DC","DC",3,75,7,12),this.Florida=new I("Florida","FL",30,38,41,10),this.Georgia=new I("Georgia","GA",16,39,41,3),this.Hawaii=new I("Hawaii","HI",4,53,28,51),this.Idaho=new I("Idaho","ID",4,30,51,43),this.Illinois=new I("Illinois","IL",19,47,32,24),this.Indiana=new I("Indiana","IN",11,34,45,1),this.Iowa=new I("Iowa","IA",6,37,42,33),this.Kansas=new I("Kansas","KS",6,33,46,25),this.Kentucky=new I("Kentucky","KY",8,30,49,2),this.Louisiana=new I("Louisiana","LA",8,33,46,34),this.Maine=new I("Maine","ME",4,43,36,14),this.Maryland=new I("Maryland","MD",10,52,27,15),this.Massachusetts=new I("Massachusetts","MA",11,52,27,16),this.Michigan=new I("Michigan","MI",15,41,38,17),this.Minnesota=new I("Minnesota","MN",10,42,37,35),this.Mississippi=new I("Mississippi","MS",6,33,47,26),this.Missouri=new I("Missouri","MO",10,34,46,27),this.Montana=new I("Montana","MT",4,34,46,44),this.Nebraska=new I("Nebraska","NE",5,32,47,39),this.Nevada=new I("Nevada","NV",6,41,39,46),this.NewHampshire=new I("New Hampshire","NH",4,41,38,18),this.NewJersey=new I("New Jersey","NJ",14,46,34,19),this.NewMexico=new I("New Mexico","NM",5,45,35,40),this.NewYork=new I("New York","NY",28,50,29,32),this.NorthCarolina=new I("North Carolina","NC",16,39,41,7),this.NorthDakota=new I("North Dakota","ND",3,29,50,42),this.Ohio=new I("Ohio","OH",17,38,42,8),this.Oklahoma=new I("Oklahoma","OK",7,26,53,28),this.Oregon=new I("Oregon","OR",8,46,34,47),this.Pennsylvania=new I("Pennsylvania","PA",19,40,39,20),this.RhodeIsland=new I("Rhode Island","RI",4,49,30,21),this.SouthCarolina=new I("South Carolina","SC",9,35,45,4),this.SouthDakota=new I("South Dakota","SD",3,31,48,29),this.Tennessee=new I("Tennessee","TN",11,31,48,22),this.Texas=new I("Texas","TX",40,36,43,30),this.Utah=new I("Utah","UT",6,30,50,45),this.Vermont=new I("Vermont","VT",3,54,25,5),this.Virginia=new I("Virginia","VA",13,43,36,6),this.Washington=new I("Washington","WA",12,47,32,48),this.WestVirginia=new I("West Virginia","WV",4,26,53,9),this.Wisconsin=new I("Wisconsin","WI",10,40,40,36),this.Wyoming=new I("Wyoming","WY",3,24,55,41),this.states=[],this.states=[this.Alabama,this.Alaska,this.Arizona,this.Arkansas,this.California,this.Colorado,this.Connecticut,this.Delaware,this.DC,this.Florida,this.Georgia,this.Hawaii,this.Idaho,this.Illinois,this.Indiana,this.Iowa,this.Kansas,this.Kentucky,this.Louisiana,this.Maine,this.Maryland,this.Massachusetts,this.Michigan,this.Minnesota,this.Mississippi,this.Missouri,this.Montana,this.Nebraska,this.Nevada,this.NewHampshire,this.NewJersey,this.NewMexico,this.NewYork,this.NorthCarolina,this.NorthDakota,this.Ohio,this.Oklahoma,this.Oregon,this.Pennsylvania,this.RhodeIsland,this.SouthCarolina,this.SouthDakota,this.Tennessee,this.Texas,this.Utah,this.Vermont,this.Virginia,this.Washington,this.WestVirginia,this.Wisconsin,this.Wyoming]}getStateIconByAbrev(U){U=U.toUpperCase();for(const z of this.states)if(z.abbreviation===U){const K=z.name.replace(/ /g,"-");return z.abbreviation+"-"+K+".png"}}getStateIconByName(U){for(const z of this.states)if(z.name===U){const K=z.name.replace(/ /g,"-");return z.abbreviation+"-"+K+".png"}}}return q.\u0275fac=function(U){return new(U||q)(he.LFG(Oe.K))},q.\u0275prov=he.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})()},8005:(wt,Ye,L)=>{"use strict";L.d(Ye,{Z:()=>Oe});var o=L(8274),I=L(1940),Te=L(5883),he=L(1829);let Oe=(()=>{class Fe{constructor(ye,U,z){this.socket=ye,this.votes=U,this.route=z,this.connectionId="",this.pendingId="",this.createSuccessEvent=this.socket.fromEvent("createSuccess"),this.joinSuccessEvent=this.socket.fromEvent("joinSuccess"),this.joinFailureEvent=this.socket.fromEvent("joinFailure"),this.partySelectEvent=this.socket.fromEvent("partySelect"),this.guestMoveEvent=this.socket.fromEvent("guestMove"),this.hostMoveEvent=this.socket.fromEvent("hostMove"),this.guestSpecialEvent=this.socket.fromEvent("guestSpecial"),this.hostSpecialEvent=this.socket.fromEvent("hostSpecial"),this.finalEvent=this.socket.fromEvent("final"),this.leaveEvent=this.socket.fromEvent("partnerLeft")}ngOnDestroy(){}createGame(){let ye=this.gameId();return this.socket.emit("createGame",ye),this.connectionId=ye,this.votes.isHost=!0,this.votes.isMultiplayer=!0,ye}joinGame(ye){this.pendingId=ye,this.votes.isHost=!1,this.votes.isMultiplayer=!0,this.socket.emit("joinGame",ye)}handleCreateSuccess(ye){console.log(ye)}handleJoinFailure(ye){console.log(ye),console.log(this.pendingId),console.log("handle join fail"),this.pendingId&&ye===this.pendingId&&this.route.navigateByUrl("/host-join/fail")}handleJoinSuccess(ye){console.log("A join succeeded to "+ye),this.connectionId=ye,this.votes.isHost?(this.route.navigateByUrl("/options/party"),this.votes.round=1):(this.pendingId="",this.route.navigateByUrl("/options/party-wait"),this.votes.round=1)}partySelect(ye){this.socket.emit("hostPartySelect",this.connectionId,ye),this.votes.lastMoveIsEvent=!0}handlePartySelect(ye){this.votes.isHost?console.log(ye):(this.votes.isDemocrat=!ye,this.route.navigateByUrl("/tabs/tab1"))}sendHostMove(ye,U,z){this.socket.emit("hostMove",this.connectionId,ye,U,z)}handleHostMove(ye){console.log(ye),this.votes.isHost?this.route.navigateByUrl("/tabs/tab1/wait-turn"):(this.votes.lastMultiPlayerMove=ye,this.route.navigateByUrl("/tabs/tab1/opponent"))}sendGuestMove(ye,U,z){this.socket.emit("guestMove",this.connectionId,ye,U,z)}handleGuestMove(ye){console.log(ye),this.votes.isHost?(this.votes.lastMultiPlayerMove=ye,this.route.navigateByUrl("/tabs/tab1/opponent")):this.route.navigateByUrl("/tabs/tab1/wait-turn")}sendHostSpecial(ye,U,z){this.votes.lastMoveIsEvent=!0,this.socket.emit("hostSpecial",this.connectionId,ye,U,z)}handleHostSpecial(ye){console.log(ye),this.votes.isHost?this.route.navigateByUrl("/tabs/tab1/wait-turn"):(this.votes.lastMultiPlayerMove=ye,this.route.navigateByUrl("/tabs/tab1/opponent"))}sendGuestSpecial(ye,U,z){this.votes.lastMoveIsEvent=!0,this.socket.emit("guestSpecial",this.connectionId,ye,U,z)}handleGuestSpecial(ye){console.log(ye),this.votes.isHost?(this.votes.lastMultiPlayerMove=ye,this.route.navigateByUrl("/tabs/tab1/opponent")):this.route.navigateByUrl("/tabs/tab1/wait-turn")}sendFinal(){this.socket.emit("final",this.connectionId)}handleFinal(ye){console.log(ye),this.leave(),this.route.navigateByUrl("/results")}leave(){this.socket.emit("leave",this.connectionId),this.connectionId=""}handleLeave(ye){this.route.navigateByUrl("/host-join/fail")}gameId(){let ye="";const U="ABCDEFGHIJKLMNOPQRSTUVWXYZ";for(let z=0;z<4;z++)ye+=U.charAt(Math.floor(Math.random()*U.length));return ye}}return Fe.\u0275fac=function(ye){return new(ye||Fe)(o.LFG(I.sk),o.LFG(Te.s),o.LFG(he.F0))},Fe.\u0275prov=o.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})()},746:(wt,Ye,L)=>{"use strict";var o=L(1481),I=L(8274),Te=L(1829),he=L(9905);const Oe=[{path:"",loadChildren:()=>Promise.all([L.e(8592),L.e(7677)]).then(L.bind(L,7677)).then(te=>te.IntroModule)},{path:"options",loadChildren:()=>L.e(2743).then(L.bind(L,2743)).then(te=>te.OptionsModule)},{path:"tabs",loadChildren:()=>L.e(174).then(L.bind(L,5652)).then(te=>te.TabsPageModule)},{path:"results",loadChildren:()=>L.e(7404).then(L.bind(L,7404)).then(te=>te.ResultsModule)}];let Fe=(()=>{class te{}return te.\u0275fac=function(ce){return new(ce||te)},te.\u0275mod=I.oAB({type:te}),te.\u0275inj=I.cJS({imports:[Te.Bz.forRoot(Oe,{preloadingStrategy:Te.wm}),Te.Bz]}),te})();var q=L(5883),ye=L(8005);let U=(()=>{class te{constructor(ce,Ae,De){this.route=ce,this.store=Ae,this.multiplayer=De}ngOnInit(){this._createSuccessSub=this.multiplayer.createSuccessEvent.subscribe(ce=>this.multiplayer.handleCreateSuccess(ce)),this._joinSuccessSub=this.multiplayer.joinSuccessEvent.subscribe(ce=>this.multiplayer.handleJoinSuccess(ce)),this._joinFailureSub=this.multiplayer.joinFailureEvent.subscribe(ce=>this.multiplayer.handleJoinFailure(ce)),this._partySelectSub=this.multiplayer.partySelectEvent.subscribe(ce=>this.multiplayer.handlePartySelect(ce)),this._guestMoveSub=this.multiplayer.guestMoveEvent.subscribe(ce=>this.multiplayer.handleGuestMove(ce)),this._hostMoveSub=this.multiplayer.hostMoveEvent.subscribe(ce=>this.multiplayer.handleHostMove(ce)),this._guestSpecialSub=this.multiplayer.guestSpecialEvent.subscribe(ce=>this.multiplayer.handleGuestSpecial(ce)),this._hostSpecialSub=this.multiplayer.hostSpecialEvent.subscribe(ce=>this.multiplayer.handleHostSpecial(ce)),this._finalSub=this.multiplayer.finalEvent.subscribe(ce=>this.multiplayer.handleFinal(ce)),this._leaveSub=this.multiplayer.leaveEvent.subscribe(ce=>this.multiplayer.handleLeave(ce))}ngOnDestroy(){this._createSuccessSub.unsubscribe(),this._joinSuccessSub.unsubscribe(),this._joinFailureSub.unsubscribe(),this._partySelectSub.unsubscribe(),this._guestMoveSub.unsubscribe(),this._hostMoveSub.unsubscribe(),this._guestSpecialSub.unsubscribe(),this._hostSpecialSub.unsubscribe(),this._finalSub.unsubscribe(),this._leaveSub.unsubscribe()}moveToTab(){this.store.changeNationalClimate(-1,1)}}return te.\u0275fac=function(ce){return new(ce||te)(I.Y36(Te.F0),I.Y36(q.s),I.Y36(ye.Z))},te.\u0275cmp=I.Xpm({type:te,selectors:[["app-root"]],decls:4,vars:0,template:function(ce,Ae){1&ce&&(I.TgZ(0,"ion-app")(1,"p"),I._uU(2,"multiplayer is enabled"),I.qZA(),I._UZ(3,"ion-router-outlet"),I.qZA())},dependencies:[he.dr,he.jP]}),te})();var z=L(5861),K=L(6895),O=L(849);const ee=new I.OlP("STORAGE_CONFIG_TOKEN");class pe extends O.K{constructor(){super()}create(){var Ce=this;return(0,z.Z)(function*(){return Ce})()}defineDriver(){return(0,z.Z)(function*(){})()}get driver(){return"noop"}get(Ce){return(0,z.Z)(function*(){return null})()}set(Ce,ce){return(0,z.Z)(function*(){})()}remove(Ce){return(0,z.Z)(function*(){})()}clear(){return(0,z.Z)(function*(){})()}length(){return(0,z.Z)(function*(){return 0})()}keys(){return(0,z.Z)(function*(){return[]})()}forEach(Ce){return(0,z.Z)(function*(){})()}setEncryptionKey(Ce){}}function Se(te,Ce){return(0,K.PM)(te)?new pe:new O.K(Ce)}let le=(()=>{class te{static forRoot(ce=null){return{ngModule:te,providers:[{provide:ee,useValue:ce},{provide:O.K,useFactory:Se,deps:[I.Lbi,ee]}]}}}return te.\u0275fac=function(ce){return new(ce||te)},te.\u0275mod=I.oAB({type:te}),te.\u0275inj=I.cJS({}),te})();var fe=L(1940);const we={url:"https://54.189.223.171:3000",options:{}};let We=(()=>{class te{}return te.\u0275fac=function(ce){return new(ce||te)},te.\u0275mod=I.oAB({type:te,bootstrap:[U]}),te.\u0275inj=I.cJS({providers:[{provide:Te.wN,useClass:he.r4}],imports:[o.b2,le.forRoot(),he.Pc.forRoot({swipeBackEnabled:!1,animated:!1}),Fe,fe.HB.forRoot(we)]}),te})();(0,I.G48)(),o.q6().bootstrapModule(We).catch(te=>console.log(te))},4424:wt=>{wt.exports=function I(Te,he,Oe){function Fe(U,z){if(!he[U]){if(!Te[U]){if(q)return q(U,!0);var O=new Error("Cannot find module '"+U+"'");throw O.code="MODULE_NOT_FOUND",O}var ee=he[U]={exports:{}};Te[U][0].call(ee.exports,function(pe){return Fe(Te[U][1][pe]||pe)},ee,ee.exports,I,Te,he,Oe)}return he[U].exports}for(var q=void 0,ye=0;ye"u"&&I(3);var K=Promise;function O(k,oe){oe&&k.then(function(g){oe(null,g)},function(g){oe(g)})}function ee(k,oe,g){"function"==typeof oe&&k.then(oe),"function"==typeof g&&k.catch(g)}function pe(k){return"string"!=typeof k&&(console.warn(k+" used as a key, but it is not a string."),k=String(k)),k}function Se(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var le="local-forage-detect-blob-support",fe=void 0,we={},We=Object.prototype.toString,ke="readonly",te="readwrite";function Ce(k){for(var oe=k.length,g=new ArrayBuffer(oe),A=new Uint8Array(g),F=0;F=43)}}).catch(function(){return!1})}(k).then(function(oe){return fe=oe})}function De(k){var oe=we[k.name],g={};g.promise=new K(function(A,F){g.resolve=A,g.reject=F}),oe.deferredOperations.push(g),oe.dbReady=oe.dbReady?oe.dbReady.then(function(){return g.promise}):g.promise}function Le(k){var g=we[k.name].deferredOperations.pop();if(g)return g.resolve(),g.promise}function ae(k,oe){var A=we[k.name].deferredOperations.pop();if(A)return A.reject(oe),A.promise}function se(k,oe){return new K(function(g,A){if(we[k.name]=we[k.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},k.db){if(!oe)return g(k.db);De(k),k.db.close()}var F=[k.name];oe&&F.push(k.version);var P=ye.open.apply(ye,F);oe&&(P.onupgradeneeded=function(x){var $=P.result;try{$.createObjectStore(k.storeName),x.oldVersion<=1&&$.createObjectStore(le)}catch(J){if("ConstraintError"!==J.name)throw J;console.warn('The database "'+k.name+'" has been upgraded from version '+x.oldVersion+" to version "+x.newVersion+', but the storage "'+k.storeName+'" already exists.')}}),P.onerror=function(x){x.preventDefault(),A(P.error)},P.onsuccess=function(){var x=P.result;x.onversionchange=function($){$.target.close()},g(x),Le(k)}})}function re(k){return se(k,!1)}function ie(k){return se(k,!0)}function Ee(k,oe){if(!k.db)return!0;var g=!k.db.objectStoreNames.contains(k.storeName),F=k.version>k.db.version;if(k.versionk.version&&(k.version=P)}return!0}return!1}function st(k){return z([Ce(atob(k.data))],{type:k.type})}function Ze(k){return k&&k.__local_forage_encoded_blob}function je(k){var oe=this,g=oe._initReady().then(function(){var A=we[oe._dbInfo.name];if(A&&A.dbReady)return A.dbReady});return ee(g,k,k),g}function Be(k,oe,g,A){void 0===A&&(A=1);try{var F=k.db.transaction(k.storeName,oe);g(null,F)}catch(P){if(A>0&&(!k.db||"InvalidStateError"===P.name||"NotFoundError"===P.name))return K.resolve().then(function(){if(!k.db||"NotFoundError"===P.name&&!k.db.objectStoreNames.contains(k.storeName)&&k.version<=k.db.version)return k.db&&(k.version=k.db.version+1),ie(k)}).then(function(){return function Me(k){De(k);for(var oe=we[k.name],g=oe.forages,A=0;A>4,me[F++]=(15&x)<<4|$>>2,me[F++]=(3&$)<<6|63&J;return de}function In(k){var A,oe=new Uint8Array(k),g="";for(A=0;A>2],g+=on[(3&oe[A])<<4|oe[A+1]>>4],g+=on[(15&oe[A+1])<<2|oe[A+2]>>6],g+=on[63&oe[A+2]];return oe.length%3==2?g=g.substring(0,g.length-1)+"=":oe.length%3==1&&(g=g.substring(0,g.length-2)+"=="),g}var Gt={serialize:function lr(k,oe){var g="";if(k&&(g=Pt.call(k)),k&&("[object ArrayBuffer]"===g||k.buffer&&"[object ArrayBuffer]"===Pt.call(k.buffer))){var A,F=Et;k instanceof ArrayBuffer?(A=k,F+=zt):(A=k.buffer,"[object Int8Array]"===g?F+="si08":"[object Uint8Array]"===g?F+="ui08":"[object Uint8ClampedArray]"===g?F+="uic8":"[object Int16Array]"===g?F+="si16":"[object Uint16Array]"===g?F+="ur16":"[object Int32Array]"===g?F+="si32":"[object Uint32Array]"===g?F+="ui32":"[object Float32Array]"===g?F+="fl32":"[object Float64Array]"===g?F+="fl64":oe(new Error("Failed to get type for BinaryArray"))),oe(F+In(A))}else if("[object Blob]"===g){var P=new FileReader;P.onload=function(){var x="~~local_forage_type~"+k.type+"~"+In(this.result);oe(Et+sn+x)},P.readAsArrayBuffer(k)}else try{oe(JSON.stringify(k))}catch(x){console.error("Couldn't convert value into a JSON string: ",k),oe(null,x)}},deserialize:function Qt(k){if(k.substring(0,tn)!==Et)return JSON.parse(k);var A,oe=k.substring(Fn),g=k.substring(tn,Fn);if(g===sn&&tr.test(oe)){var F=oe.match(tr);A=F[1],oe=oe.substring(F[0].length)}var P=kt(oe);switch(g){case zt:return P;case sn:return z([P],{type:A});case"si08":return new Int8Array(P);case"ui08":return new Uint8Array(P);case"uic8":return new Uint8ClampedArray(P);case"si16":return new Int16Array(P);case"ur16":return new Uint16Array(P);case"si32":return new Int32Array(P);case"ui32":return new Uint32Array(P);case"fl32":return new Float32Array(P);case"fl64":return new Float64Array(P);default:throw new Error("Unkown type: "+g)}},stringToBuffer:kt,bufferToString:In};function Qe(k,oe,g,A){k.executeSql("CREATE TABLE IF NOT EXISTS "+oe.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],g,A)}function fn(k,oe,g,A,F,P){k.executeSql(g,A,F,function(x,$){$.code===$.SYNTAX_ERR?x.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[oe.storeName],function(J,de){de.rows.length?P(J,$):Qe(J,oe,function(){J.executeSql(g,A,F,P)},P)},P):P(x,$)},P)}function Ln(k,oe,g,A){var F=this;k=pe(k);var P=new K(function(x,$){F.ready().then(function(){void 0===oe&&(oe=null);var J=oe,de=F._dbInfo;de.serializer.serialize(oe,function(me,Pe){Pe?$(Pe):de.db.transaction(function(Xe){fn(Xe,de,"INSERT OR REPLACE INTO "+de.storeName+" (key, value) VALUES (?, ?)",[k,me],function(){x(J)},function(lt,pt){$(pt)})},function(Xe){if(Xe.code===Xe.QUOTA_ERR){if(A>0)return void x(Ln.apply(F,[k,J,g,A-1]));$(Xe)}})})}).catch($)});return O(P,g),P}function qn(k){return new K(function(oe,g){k.transaction(function(A){A.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(F,P){for(var x=[],$=0;$0}var qt={_driver:"localStorageWrapper",_initStorage:function Re(k){var g={};if(k)for(var A in k)g[A]=k[A];return g.keyPrefix=Kn(k,this._defaultConfig),dn()?(this._dbInfo=g,g.serializer=Gt,K.resolve()):K.reject()},_support:function $n(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function W(k,oe){var g=this,A=g.ready().then(function(){for(var F=g._dbInfo,P=F.keyPrefix,x=P.length,$=localStorage.length,J=1,de=0;de<$;de++){var me=localStorage.key(de);if(0===me.indexOf(P)){var Pe=localStorage.getItem(me);if(Pe&&(Pe=F.serializer.deserialize(Pe)),void 0!==(Pe=k(Pe,me.substring(x),J++)))return Pe}}});return O(A,oe),A},getItem:function X(k,oe){var g=this;k=pe(k);var A=g.ready().then(function(){var F=g._dbInfo,P=localStorage.getItem(F.keyPrefix+k);return P&&(P=F.serializer.deserialize(P)),P});return O(A,oe),A},setItem:function $t(k,oe,g){var A=this;k=pe(k);var F=A.ready().then(function(){void 0===oe&&(oe=null);var P=oe;return new K(function(x,$){var J=A._dbInfo;J.serializer.serialize(oe,function(de,me){if(me)$(me);else try{localStorage.setItem(J.keyPrefix+k,de),x(P)}catch(Pe){("QuotaExceededError"===Pe.name||"NS_ERROR_DOM_QUOTA_REACHED"===Pe.name)&&$(Pe),$(Pe)}})})});return O(F,g),F},removeItem:function Nt(k,oe){var g=this;k=pe(k);var A=g.ready().then(function(){localStorage.removeItem(g._dbInfo.keyPrefix+k)});return O(A,oe),A},clear:function ne(k){var oe=this,g=oe.ready().then(function(){for(var A=oe._dbInfo.keyPrefix,F=localStorage.length-1;F>=0;F--){var P=localStorage.key(F);0===P.indexOf(A)&&localStorage.removeItem(P)}});return O(g,k),g},length:function Tt(k){var g=this.keys().then(function(A){return A.length});return O(g,k),g},key:function He(k,oe){var g=this,A=g.ready().then(function(){var P,F=g._dbInfo;try{P=localStorage.key(k)}catch{P=null}return P&&(P=P.substring(F.keyPrefix.length)),P});return O(A,oe),A},keys:function dt(k){var oe=this,g=oe.ready().then(function(){for(var A=oe._dbInfo,F=localStorage.length,P=[],x=0;x=0;x--){var $=localStorage.key(x);0===$.indexOf(P)&&localStorage.removeItem($)}}):K.reject("Invalid arguments"),oe),F}},Cn=function(oe,g){return oe===g||"number"==typeof oe&&"number"==typeof g&&isNaN(oe)&&isNaN(g)},Tn=function(oe,g){for(var A=oe.length,F=0;F"u"?"undefined":Oe(g))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var A in g){if("storeName"===A&&(g[A]=g[A].replace(/\W/g,"_")),"version"===A&&"number"!=typeof g[A])return new Error("Database version must be a number.");this._config[A]=g[A]}return!("driver"in g)||!g.driver||this.setDriver(this._config.driver)}return"string"==typeof g?this._config[g]:this._config},k.prototype.defineDriver=function(g,A,F){var P=new K(function(x,$){try{var J=g._driver,de=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!g._driver)return void $(de);for(var me=S.concat("_initStorage"),Pe=0,Xe=me.length;Pe{"use strict";L.d(Ye,{sk:()=>Xt,HB:()=>Xn});var o={};L.r(o),L.d(o,{Decoder:()=>dt,Encoder:()=>W,PacketType:()=>X,protocol:()=>ne});var I={};L.r(I),L.d(I,{Manager:()=>Cn,Socket:()=>vn,connect:()=>bt,default:()=>bt,io:()=>bt,protocol:()=>ne});var Te=L(8274),he=L(9751),Oe=L(3099);const Fe=Object.create(null);Fe.open="0",Fe.close="1",Fe.ping="2",Fe.pong="3",Fe.message="4",Fe.upgrade="5",Fe.noop="6";const q=Object.create(null);Object.keys(Fe).forEach(j=>{q[Fe[j]]=j});const ye={type:"error",data:"parser error"},U="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),z="function"==typeof ArrayBuffer,K=j=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(j):j&&j.buffer instanceof ArrayBuffer,O=({type:j,data:S},T,H)=>U&&S instanceof Blob?T?H(S):ee(S,H):z&&(S instanceof ArrayBuffer||K(S))?T?H(S):ee(new Blob([S]),H):H(Fe[j]+(S||"")),ee=(j,S)=>{const T=new FileReader;return T.onload=function(){const H=T.result.split(",")[1];S("b"+(H||""))},T.readAsDataURL(j)};function pe(j){return j instanceof Uint8Array?j:j instanceof ArrayBuffer?new Uint8Array(j):new Uint8Array(j.buffer,j.byteOffset,j.byteLength)}let Se;const fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",we=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let j=0;j{if("string"!=typeof j)return{type:"message",data:Ae(j,S)};const T=j.charAt(0);return"b"===T?{type:"message",data:ce(j.substring(1),S)}:q[T]?j.length>1?{type:q[T],data:j.substring(1)}:{type:q[T]}:ye},ce=(j,S)=>{if(te){const T=(j=>{let H,Je,ht,k,oe,S=.75*j.length,T=j.length,Ie=0;"="===j[j.length-1]&&(S--,"="===j[j.length-2]&&S--);const g=new ArrayBuffer(S),A=new Uint8Array(g);for(H=0;H>4,A[Ie++]=(15&ht)<<4|k>>2,A[Ie++]=(3&k)<<6|63&oe;return g})(j);return Ae(T,S)}return{base64:!0,data:j}},Ae=(j,S)=>"blob"===S?j instanceof Blob?j:new Blob([j]):j instanceof ArrayBuffer?j:j.buffer,De=String.fromCharCode(30);let re;function ie(j){return j.reduce((S,T)=>S+T.length,0)}function Ee(j,S){if(j[0].length===S)return j.shift();const T=new Uint8Array(S);let H=0;for(let Ie=0;Ie(j.hasOwnProperty(H)&&(T[H]=j[H]),T),{})}const Ne=Me.setTimeout,xe=Me.clearTimeout;function Ue(j,S){S.useNativeTimers?(j.setTimeoutFn=Ne.bind(Me),j.clearTimeoutFn=xe.bind(Me)):(j.setTimeoutFn=Me.setTimeout.bind(Me),j.clearTimeoutFn=Me.clearTimeout.bind(Me))}function tt(j){return"string"==typeof j?function ot(j){let S=0,T=0;for(let H=0,Ie=j.length;H=57344?T+=3:(H++,T+=4);return T}(j):Math.ceil(1.33*(j.byteLength||j.size))}class mt extends Error{constructor(S,T,H){super(S),this.description=T,this.context=H,this.type="TransportError"}}class ln extends Ze{constructor(S){super(),this.writable=!1,Ue(this,S),this.opts=S,this.query=S.query,this.socket=S.socket}onError(S,T,H){return super.emitReserved("error",new mt(S,T,H)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(S){"open"===this.readyState&&this.write(S)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(S){const T=Ce(S,this.socket.binaryType);this.onPacket(T)}onPacket(S){super.emitReserved("packet",S)}onClose(S){this.readyState="closed",super.emitReserved("close",S)}pause(S){}createUri(S,T={}){return S+"://"+this._hostname()+this._port()+this.opts.path+this._query(T)}_hostname(){const S=this.opts.hostname;return-1===S.indexOf(":")?S:"["+S+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(S){const T=function Dt(j){let S="";for(let T in j)j.hasOwnProperty(T)&&(S.length&&(S+="&"),S+=encodeURIComponent(T)+"="+encodeURIComponent(j[T]));return S}(S);return T.length?"?"+T:""}}const Bt="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),An={};let tr,on=0,Ht=0;function Et(j){let S="";do{S=Bt[j%64]+S,j=Math.floor(j/64)}while(j>0);return S}function zt(){const j=Et(+new Date);return j!==tr?(on=0,tr=j):j+"."+Et(on++)}for(;Ht<64;Ht++)An[Bt[Ht]]=Ht;let sn=!1;try{sn=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const It=sn;function gn(j){const S=j.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!S||It))return new XMLHttpRequest}catch{}if(!S)try{return new(Me[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch{}}function mn(){}const Jn=null!=new gn({xdomain:!1}).responseType;let at=(()=>{class j extends Ze{constructor(T,H){super(),Ue(this,H),this.opts=H,this.method=H.method||"GET",this.uri=T,this.data=void 0!==H.data?H.data:null,this.create()}create(){var T;const H=Be(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");H.xdomain=!!this.opts.xd;const Ie=this.xhr=new gn(H);try{Ie.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){Ie.setDisableHeaderCheck&&Ie.setDisableHeaderCheck(!0);for(let Je in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(Je)&&Ie.setRequestHeader(Je,this.opts.extraHeaders[Je])}}catch{}if("POST"===this.method)try{Ie.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{Ie.setRequestHeader("Accept","*/*")}catch{}null===(T=this.opts.cookieJar)||void 0===T||T.addCookies(Ie),"withCredentials"in Ie&&(Ie.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(Ie.timeout=this.opts.requestTimeout),Ie.onreadystatechange=()=>{var Je;3===Ie.readyState&&(null===(Je=this.opts.cookieJar)||void 0===Je||Je.parseCookies(Ie)),4===Ie.readyState&&(200===Ie.status||1223===Ie.status?this.onLoad():this.setTimeoutFn(()=>{this.onError("number"==typeof Ie.status?Ie.status:0)},0))},Ie.send(this.data)}catch(Je){return void this.setTimeoutFn(()=>{this.onError(Je)},0)}typeof document<"u"&&(this.index=j.requestsCount++,j.requests[this.index]=this)}onError(T){this.emitReserved("error",T,this.xhr),this.cleanup(!0)}cleanup(T){if(!(typeof this.xhr>"u"||null===this.xhr)){if(this.xhr.onreadystatechange=mn,T)try{this.xhr.abort()}catch{}typeof document<"u"&&delete j.requests[this.index],this.xhr=null}}onLoad(){const T=this.xhr.responseText;null!==T&&(this.emitReserved("data",T),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}return j.requestsCount=0,j.requests={},j})();function vt(){for(let j in at.requests)at.requests.hasOwnProperty(j)&&at.requests[j].abort()}typeof document<"u"&&("function"==typeof attachEvent?attachEvent("onunload",vt):"function"==typeof addEventListener&&addEventListener("onpagehide"in Me?"pagehide":"unload",vt,!1));const Rn="function"==typeof Promise&&"function"==typeof Promise.resolve?S=>Promise.resolve().then(S):(S,T)=>T(S,0),Fn=Me.WebSocket||Me.MozWebSocket,In=typeof navigator<"u"&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),Gt={websocket:class lr extends ln{constructor(S){super(S),this.supportsBinary=!S.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const S=this.uri(),T=this.opts.protocols,H=In?{}:Be(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(H.headers=this.opts.extraHeaders);try{this.ws=In?new Fn(S,T,H):T?new Fn(S,T):new Fn(S)}catch(Ie){return this.emitReserved("error",Ie)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=S=>this.onClose({description:"websocket connection closed",context:S}),this.ws.onmessage=S=>this.onData(S.data),this.ws.onerror=S=>this.onError("websocket error",S)}write(S){this.writable=!1;for(let T=0;T{try{this.ws.send(Je)}catch{}Ie&&Rn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const S=this.opts.secure?"wss":"ws",T=this.query||{};return this.opts.timestampRequests&&(T[this.opts.timestampParam]=zt()),this.supportsBinary||(T.b64=1),this.createUri(S,T)}check(){return!!Fn}},webtransport:class Qt extends ln{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(S=>{this.onError("webtransport error",S)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(S=>{const T=function _e(j,S){re||(re=new TextDecoder);const T=[];let H=0,Ie=-1,Je=!1;return new TransformStream({transform(ht,k){for(T.push(ht);;){if(0===H){if(ie(T)<1)break;const oe=Ee(T,1);Je=128==(128&oe[0]),Ie=127&oe[0],H=Ie<126?3:126===Ie?1:2}else if(1===H){if(ie(T)<2)break;const oe=Ee(T,2);Ie=new DataView(oe.buffer,oe.byteOffset,oe.length).getUint16(0),H=3}else if(2===H){if(ie(T)<8)break;const oe=Ee(T,8),g=new DataView(oe.buffer,oe.byteOffset,oe.length),A=g.getUint32(0);if(A>Math.pow(2,21)-1){k.enqueue(ye);break}Ie=A*Math.pow(2,32)+g.getUint32(4),H=3}else{if(ie(T)j){k.enqueue(ye);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),H=S.readable.pipeThrough(T).getReader(),Ie=function se(){return new TransformStream({transform(j,S){!function le(j,S){U&&j.data instanceof Blob?j.data.arrayBuffer().then(pe).then(S):z&&(j.data instanceof ArrayBuffer||K(j.data))?S(pe(j.data)):O(j,!1,T=>{Se||(Se=new TextEncoder),S(Se.encode(T))})}(j,T=>{const H=T.length;let Ie;if(H<126)Ie=new Uint8Array(1),new DataView(Ie.buffer).setUint8(0,H);else if(H<65536){Ie=new Uint8Array(3);const Je=new DataView(Ie.buffer);Je.setUint8(0,126),Je.setUint16(1,H)}else{Ie=new Uint8Array(9);const Je=new DataView(Ie.buffer);Je.setUint8(0,127),Je.setBigUint64(1,BigInt(H))}j.data&&"string"!=typeof j.data&&(Ie[0]|=128),S.enqueue(Ie),S.enqueue(T)})}})}();Ie.readable.pipeTo(S.writable),this.writer=Ie.writable.getWriter();const Je=()=>{H.read().then(({done:k,value:oe})=>{k||(this.onPacket(oe),Je())}).catch(k=>{})};Je();const ht={type:"open"};this.query.sid&&(ht.data=`{"sid":"${this.query.sid}"}`),this.writer.write(ht).then(()=>this.onOpen())})}))}write(S){this.writable=!1;for(let T=0;T{Ie&&Rn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var S;null===(S=this.transport)||void 0===S||S.close()}},polling:class an extends ln{constructor(S){if(super(S),this.polling=!1,typeof location<"u"){const H="https:"===location.protocol;let Ie=location.port;Ie||(Ie=H?"443":"80"),this.xd=typeof location<"u"&&S.hostname!==location.hostname||Ie!==S.port}this.supportsBinary=Jn&&!(S&&S.forceBase64),this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(S){this.readyState="pausing";const T=()=>{this.readyState="paused",S()};if(this.polling||!this.writable){let H=0;this.polling&&(H++,this.once("pollComplete",function(){--H||T()})),this.writable||(H++,this.once("drain",function(){--H||T()}))}else T()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(S){((j,S)=>{const T=j.split(De),H=[];for(let Ie=0;Ie{if("opening"===this.readyState&&"open"===H.type&&this.onOpen(),"close"===H.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(H)}),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const S=()=>{this.write([{type:"close"}])};"open"===this.readyState?S():this.once("open",S)}write(S){this.writable=!1,((j,S)=>{const T=j.length,H=new Array(T);let Ie=0;j.forEach((Je,ht)=>{O(Je,!1,k=>{H[ht]=k,++Ie===T&&S(H.join(De))})})})(S,T=>{this.doWrite(T,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const S=this.opts.secure?"https":"http",T=this.query||{};return!1!==this.opts.timestampRequests&&(T[this.opts.timestampParam]=zt()),!this.supportsBinary&&!T.sid&&(T.b64=1),this.createUri(S,T)}request(S={}){return Object.assign(S,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new at(this.uri(),S)}doWrite(S,T){const H=this.request({method:"POST",data:S});H.on("success",T),H.on("error",(Ie,Je)=>{this.onError("xhr post error",Ie,Je)})}doPoll(){const S=this.request();S.on("data",this.onData.bind(this)),S.on("error",(T,H)=>{this.onError("xhr poll error",T,H)}),this.pollXhr=S}}},Qe=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,rr=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function fn(j){if(j.length>2e3)throw"URI too long";const S=j,T=j.indexOf("["),H=j.indexOf("]");-1!=T&&-1!=H&&(j=j.substring(0,T)+j.substring(T,H).replace(/:/g,";")+j.substring(H,j.length));let Ie=Qe.exec(j||""),Je={},ht=14;for(;ht--;)Je[rr[ht]]=Ie[ht]||"";return-1!=T&&-1!=H&&(Je.source=S,Je.host=Je.host.substring(1,Je.host.length-1).replace(/;/g,":"),Je.authority=Je.authority.replace("[","").replace("]","").replace(/;/g,":"),Je.ipv6uri=!0),Je.pathNames=function kn(j,S){const H=S.replace(/\/{2,9}/g,"/").split("/");return("/"==S.slice(0,1)||0===S.length)&&H.splice(0,1),"/"==S.slice(-1)&&H.splice(H.length-1,1),H}(0,Je.path),Je.queryKey=function St(j,S){const T={};return S.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(H,Ie,Je){Ie&&(T[Ie]=Je)}),T}(0,Je.query),Je}let Ln=(()=>{class j extends Ze{constructor(T,H={}){super(),this.binaryType="arraybuffer",this.writeBuffer=[],T&&"object"==typeof T&&(H=T,T=null),T?(T=fn(T),H.hostname=T.host,H.secure="https"===T.protocol||"wss"===T.protocol,H.port=T.port,T.query&&(H.query=T.query)):H.host&&(H.hostname=fn(H.host).host),Ue(this,H),this.secure=null!=H.secure?H.secure:typeof location<"u"&&"https:"===location.protocol,H.hostname&&!H.port&&(H.port=this.secure?"443":"80"),this.hostname=H.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=H.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=H.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},H),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function Wt(j){let S={},T=j.split("&");for(let H=0,Ie=T.length;H{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(T){const H=Object.assign({},this.opts.query);H.EIO=4,H.transport=T,this.id&&(H.sid=this.id);const Ie=Object.assign({},this.opts,{query:H,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[T]);return new Gt[T](Ie)}open(){let T;if(this.opts.rememberUpgrade&&j.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))T="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);T=this.transports[0]}this.readyState="opening";try{T=this.createTransport(T)}catch{return this.transports.shift(),void this.open()}T.open(),this.setTransport(T)}setTransport(T){this.transport&&this.transport.removeAllListeners(),this.transport=T,T.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",H=>this.onClose("transport close",H))}probe(T){let H=this.createTransport(T),Ie=!1;j.priorWebsocketSuccess=!1;const Je=()=>{Ie||(H.send([{type:"ping",data:"probe"}]),H.once("packet",P=>{if(!Ie)if("pong"===P.type&&"probe"===P.data){if(this.upgrading=!0,this.emitReserved("upgrading",H),!H)return;j.priorWebsocketSuccess="websocket"===H.name,this.transport.pause(()=>{Ie||"closed"!==this.readyState&&(F(),this.setTransport(H),H.send([{type:"upgrade"}]),this.emitReserved("upgrade",H),H=null,this.upgrading=!1,this.flush())})}else{const x=new Error("probe error");x.transport=H.name,this.emitReserved("upgradeError",x)}}))};function ht(){Ie||(Ie=!0,F(),H.close(),H=null)}const k=P=>{const x=new Error("probe error: "+P);x.transport=H.name,ht(),this.emitReserved("upgradeError",x)};function oe(){k("transport closed")}function g(){k("socket closed")}function A(P){H&&P.name!==H.name&&ht()}const F=()=>{H.removeListener("open",Je),H.removeListener("error",k),H.removeListener("close",oe),this.off("close",g),this.off("upgrading",A)};H.once("open",Je),H.once("error",k),H.once("close",oe),this.once("close",g),this.once("upgrading",A),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==T?this.setTimeoutFn(()=>{Ie||H.open()},200):H.open()}onOpen(){if(this.readyState="open",j.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let T=0;const H=this.upgrades.length;for(;T{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const T=this.getWritablePackets();this.transport.send(T),this.prevBufferLen=T.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let H=1;for(let Ie=0;Ie0&&H>this.maxPayload)return this.writeBuffer.slice(0,Ie);H+=2}return this.writeBuffer}write(T,H,Ie){return this.sendPacket("message",T,H,Ie),this}send(T,H,Ie){return this.sendPacket("message",T,H,Ie),this}sendPacket(T,H,Ie,Je){if("function"==typeof H&&(Je=H,H=void 0),"function"==typeof Ie&&(Je=Ie,Ie=null),"closing"===this.readyState||"closed"===this.readyState)return;(Ie=Ie||{}).compress=!1!==Ie.compress;const ht={type:T,data:H,options:Ie};this.emitReserved("packetCreate",ht),this.writeBuffer.push(ht),Je&&this.once("flush",Je),this.flush()}close(){const T=()=>{this.onClose("forced close"),this.transport.close()},H=()=>{this.off("upgrade",H),this.off("upgradeError",H),T()},Ie=()=>{this.once("upgrade",H),this.once("upgradeError",H)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?Ie():T()}):this.upgrading?Ie():T()),this}onError(T){j.priorWebsocketSuccess=!1,this.emitReserved("error",T),this.onClose("transport error",T)}onClose(T,H){("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",T,H),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(T){const H=[];let Ie=0;const Je=T.length;for(;Ie"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(j):j.buffer instanceof ArrayBuffer)(j))||Nn&&j instanceof Blob||qn&&j instanceof File}function Gn(j,S){if(!j||"object"!=typeof j)return!1;if(Array.isArray(j)){for(let T=0,H=j.length;T=0&&j.num{return(j=X||(X={}))[j.CONNECT=0]="CONNECT",j[j.DISCONNECT=1]="DISCONNECT",j[j.EVENT=2]="EVENT",j[j.ACK=3]="ACK",j[j.CONNECT_ERROR=4]="CONNECT_ERROR",j[j.BINARY_EVENT=5]="BINARY_EVENT",j[j.BINARY_ACK=6]="BINARY_ACK",X;var j})();class W{constructor(S){this.replacer=S}encode(S){return S.type!==X.EVENT&&S.type!==X.ACK||!Gn(S)?[this.encodeAsString(S)]:this.encodeAsBinary({type:S.type===X.EVENT?X.BINARY_EVENT:X.BINARY_ACK,nsp:S.nsp,data:S.data,id:S.id})}encodeAsString(S){let T=""+S.type;return(S.type===X.BINARY_EVENT||S.type===X.BINARY_ACK)&&(T+=S.attachments+"-"),S.nsp&&"/"!==S.nsp&&(T+=S.nsp+","),null!=S.id&&(T+=S.id),null!=S.data&&(T+=JSON.stringify(S.data,this.replacer)),T}encodeAsBinary(S){const T=$n(S),H=this.encodeAsString(T.packet),Ie=T.buffers;return Ie.unshift(H),Ie}}function He(j){return"[object Object]"===Object.prototype.toString.call(j)}class dt extends Ze{constructor(S){super(),this.reviver=S}add(S){let T;if("string"==typeof S){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");T=this.decodeString(S);const H=T.type===X.BINARY_EVENT;H||T.type===X.BINARY_ACK?(T.type=H?X.EVENT:X.ACK,this.reconstructor=new Tt(T),0===T.attachments&&super.emitReserved("decoded",T)):super.emitReserved("decoded",T)}else{if(!Bn(S)&&!S.base64)throw new Error("Unknown type: "+S);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");T=this.reconstructor.takeBinaryData(S),T&&(this.reconstructor=null,super.emitReserved("decoded",T))}}decodeString(S){let T=0;const H={type:Number(S.charAt(0))};if(void 0===X[H.type])throw new Error("unknown packet type "+H.type);if(H.type===X.BINARY_EVENT||H.type===X.BINARY_ACK){const Je=T+1;for(;"-"!==S.charAt(++T)&&T!=S.length;);const ht=S.substring(Je,T);if(ht!=Number(ht)||"-"!==S.charAt(T))throw new Error("Illegal attachments");H.attachments=Number(ht)}if("/"===S.charAt(T+1)){const Je=T+1;for(;++T&&","!==S.charAt(T)&&T!==S.length;);H.nsp=S.substring(Je,T)}else H.nsp="/";const Ie=S.charAt(T+1);if(""!==Ie&&Number(Ie)==Ie){const Je=T+1;for(;++T;){const ht=S.charAt(T);if(null==ht||Number(ht)!=ht){--T;break}if(T===S.length)break}H.id=Number(S.substring(Je,T+1))}if(S.charAt(++T)){const Je=this.tryParse(S.substr(T));if(!dt.isPayloadValid(H.type,Je))throw new Error("invalid payload");H.data=Je}return H}tryParse(S){try{return JSON.parse(S,this.reviver)}catch{return!1}}static isPayloadValid(S,T){switch(S){case X.CONNECT:return He(T);case X.DISCONNECT:return void 0===T;case X.CONNECT_ERROR:return"string"==typeof T||He(T);case X.EVENT:case X.BINARY_EVENT:return Array.isArray(T)&&("number"==typeof T[0]||"string"==typeof T[0]&&-1===Re.indexOf(T[0]));case X.ACK:case X.BINARY_ACK:return Array.isArray(T)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Tt{constructor(S){this.packet=S,this.buffers=[],this.reconPack=S}takeBinaryData(S){if(this.buffers.push(S),this.buffers.length===this.reconPack.attachments){const T=jt(this.reconPack,this.buffers);return this.finishedReconstruction(),T}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function Nt(j,S,T){return j.on(S,T),function(){j.off(S,T)}}const $t=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class vn extends Ze{constructor(S,T,H){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=S,this.nsp=T,H&&H.auth&&(this.auth=H.auth),this._opts=Object.assign({},H),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const S=this.io;this.subs=[Nt(S,"open",this.onopen.bind(this)),Nt(S,"packet",this.onpacket.bind(this)),Nt(S,"error",this.onerror.bind(this)),Nt(S,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...S){return S.unshift("message"),this.emit.apply(this,S),this}emit(S,...T){if($t.hasOwnProperty(S))throw new Error('"'+S.toString()+'" is a reserved event name');if(T.unshift(S),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(T),this;const H={type:X.EVENT,data:T,options:{}};if(H.options.compress=!1!==this.flags.compress,"function"==typeof T[T.length-1]){const ht=this.ids++,k=T.pop();this._registerAckCallback(ht,k),H.id=ht}return this.flags.volatile&&(!(this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable)||!this.connected)||(this.connected?(this.notifyOutgoingListeners(H),this.packet(H)):this.sendBuffer.push(H)),this.flags={},this}_registerAckCallback(S,T){var H;const Ie=null!==(H=this.flags.timeout)&&void 0!==H?H:this._opts.ackTimeout;if(void 0===Ie)return void(this.acks[S]=T);const Je=this.io.setTimeoutFn(()=>{delete this.acks[S];for(let k=0;k{this.io.clearTimeoutFn(Je),T.apply(this,k)};ht.withError=!0,this.acks[S]=ht}emitWithAck(S,...T){return new Promise((H,Ie)=>{const Je=(ht,k)=>ht?Ie(ht):H(k);Je.withError=!0,T.push(Je),this.emit(S,...T)})}_addToQueue(S){let T;"function"==typeof S[S.length-1]&&(T=S.pop());const H={id:this._queueSeq++,tryCount:0,pending:!1,args:S,flags:Object.assign({fromQueue:!0},this.flags)};S.push((Ie,...Je)=>H!==this._queue[0]?void 0:(null!==Ie?H.tryCount>this._opts.retries&&(this._queue.shift(),T&&T(Ie)):(this._queue.shift(),T&&T(null,...Je)),H.pending=!1,this._drainQueue())),this._queue.push(H),this._drainQueue()}_drainQueue(S=!1){if(!this.connected||0===this._queue.length)return;const T=this._queue[0];T.pending&&!S||(T.pending=!0,T.tryCount++,this.flags=T.flags,this.emit.apply(this,T.args))}packet(S){S.nsp=this.nsp,this.io._packet(S)}onopen(){"function"==typeof this.auth?this.auth(S=>{this._sendConnectPacket(S)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(S){this.packet({type:X.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},S):S})}onerror(S){this.connected||this.emitReserved("connect_error",S)}onclose(S,T){this.connected=!1,delete this.id,this.emitReserved("disconnect",S,T),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(S=>{if(!this.sendBuffer.some(H=>String(H.id)===S)){const H=this.acks[S];delete this.acks[S],H.withError&&H.call(this,new Error("socket has been disconnected"))}})}onpacket(S){if(S.nsp===this.nsp)switch(S.type){case X.CONNECT:S.data&&S.data.sid?this.onconnect(S.data.sid,S.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case X.EVENT:case X.BINARY_EVENT:this.onevent(S);break;case X.ACK:case X.BINARY_ACK:this.onack(S);break;case X.DISCONNECT:this.ondisconnect();break;case X.CONNECT_ERROR:this.destroy();const H=new Error(S.data.message);H.data=S.data.data,this.emitReserved("connect_error",H)}}onevent(S){const T=S.data||[];null!=S.id&&T.push(this.ack(S.id)),this.connected?this.emitEvent(T):this.receiveBuffer.push(Object.freeze(T))}emitEvent(S){if(this._anyListeners&&this._anyListeners.length){const T=this._anyListeners.slice();for(const H of T)H.apply(this,S)}super.emit.apply(this,S),this._pid&&S.length&&"string"==typeof S[S.length-1]&&(this._lastOffset=S[S.length-1])}ack(S){const T=this;let H=!1;return function(...Ie){H||(H=!0,T.packet({type:X.ACK,id:S,data:Ie}))}}onack(S){const T=this.acks[S.id];"function"==typeof T&&(delete this.acks[S.id],T.withError&&S.data.unshift(null),T.apply(this,S.data))}onconnect(S,T){this.id=S,this.recovered=T&&this._pid===T,this._pid=T,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(S=>this.emitEvent(S)),this.receiveBuffer=[],this.sendBuffer.forEach(S=>{this.notifyOutgoingListeners(S),this.packet(S)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(S=>S()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:X.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(S){return this.flags.compress=S,this}get volatile(){return this.flags.volatile=!0,this}timeout(S){return this.flags.timeout=S,this}onAny(S){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(S),this}prependAny(S){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(S),this}offAny(S){if(!this._anyListeners)return this;if(S){const T=this._anyListeners;for(let H=0;H0&&j.jitter<=1?j.jitter:0,this.attempts=0}qt.prototype.duration=function(){var j=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var S=Math.random(),T=Math.floor(S*this.jitter*j);j=0==(1&Math.floor(10*S))?j-T:j+T}return 0|Math.min(j,this.max)},qt.prototype.reset=function(){this.attempts=0},qt.prototype.setMin=function(j){this.ms=j},qt.prototype.setMax=function(j){this.max=j},qt.prototype.setJitter=function(j){this.jitter=j};class Cn extends Ze{constructor(S,T){var H;super(),this.nsps={},this.subs=[],S&&"object"==typeof S&&(T=S,S=void 0),(T=T||{}).path=T.path||"/socket.io",this.opts=T,Ue(this,T),this.reconnection(!1!==T.reconnection),this.reconnectionAttempts(T.reconnectionAttempts||1/0),this.reconnectionDelay(T.reconnectionDelay||1e3),this.reconnectionDelayMax(T.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(H=T.randomizationFactor)&&void 0!==H?H:.5),this.backoff=new qt({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(T.timeout??2e4),this._readyState="closed",this.uri=S;const Ie=T.parser||o;this.encoder=new Ie.Encoder,this.decoder=new Ie.Decoder,this._autoConnect=!1!==T.autoConnect,this._autoConnect&&this.open()}reconnection(S){return arguments.length?(this._reconnection=!!S,this):this._reconnection}reconnectionAttempts(S){return void 0===S?this._reconnectionAttempts:(this._reconnectionAttempts=S,this)}reconnectionDelay(S){var T;return void 0===S?this._reconnectionDelay:(this._reconnectionDelay=S,null===(T=this.backoff)||void 0===T||T.setMin(S),this)}randomizationFactor(S){var T;return void 0===S?this._randomizationFactor:(this._randomizationFactor=S,null===(T=this.backoff)||void 0===T||T.setJitter(S),this)}reconnectionDelayMax(S){var T;return void 0===S?this._reconnectionDelayMax:(this._reconnectionDelayMax=S,null===(T=this.backoff)||void 0===T||T.setMax(S),this)}timeout(S){return arguments.length?(this._timeout=S,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(S){if(~this._readyState.indexOf("open"))return this;this.engine=new Ln(this.uri,this.opts);const T=this.engine,H=this;this._readyState="opening",this.skipReconnect=!1;const Ie=Nt(T,"open",function(){H.onopen(),S&&S()}),Je=k=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",k),S?S(k):this.maybeReconnectOnOpen()},ht=Nt(T,"error",Je);if(!1!==this._timeout){const oe=this.setTimeoutFn(()=>{Ie(),Je(new Error("timeout")),T.close()},this._timeout);this.opts.autoUnref&&oe.unref(),this.subs.push(()=>{this.clearTimeoutFn(oe)})}return this.subs.push(Ie),this.subs.push(ht),this}connect(S){return this.open(S)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const S=this.engine;this.subs.push(Nt(S,"ping",this.onping.bind(this)),Nt(S,"data",this.ondata.bind(this)),Nt(S,"error",this.onerror.bind(this)),Nt(S,"close",this.onclose.bind(this)),Nt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(S){try{this.decoder.add(S)}catch(T){this.onclose("parse error",T)}}ondecoded(S){Rn(()=>{this.emitReserved("packet",S)},this.setTimeoutFn)}onerror(S){this.emitReserved("error",S)}socket(S,T){let H=this.nsps[S];return H?this._autoConnect&&!H.active&&H.connect():(H=new vn(this,S,T),this.nsps[S]=H),H}_destroy(S){const T=Object.keys(this.nsps);for(const H of T)if(this.nsps[H].active)return;this._close()}_packet(S){const T=this.encoder.encode(S);for(let H=0;HS()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(S,T){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",S,T),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const S=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const T=this.backoff.duration();this._reconnecting=!0;const H=this.setTimeoutFn(()=>{S.skipReconnect||(this.emitReserved("reconnect_attempt",S.backoff.attempts),!S.skipReconnect&&S.open(Ie=>{Ie?(S._reconnecting=!1,S.reconnect(),this.emitReserved("reconnect_error",Ie)):S.onreconnect()}))},T);this.opts.autoUnref&&H.unref(),this.subs.push(()=>{this.clearTimeoutFn(H)})}}onreconnect(){const S=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",S)}}const Tn={};function bt(j,S){"object"==typeof j&&(S=j,j=void 0);const T=function hn(j,S="",T){let H=j;T=T||typeof location<"u"&&location,null==j&&(j=T.protocol+"//"+T.host),"string"==typeof j&&("/"===j.charAt(0)&&(j="/"===j.charAt(1)?T.protocol+j:T.host+j),/^(https?|wss?):\/\//.test(j)||(j=typeof T<"u"?T.protocol+"//"+j:"https://"+j),H=fn(j)),H.port||(/^(http|ws)$/.test(H.protocol)?H.port="80":/^(http|ws)s$/.test(H.protocol)&&(H.port="443")),H.path=H.path||"/";const Je=-1!==H.host.indexOf(":")?"["+H.host+"]":H.host;return H.id=H.protocol+"://"+Je+":"+H.port+S,H.href=H.protocol+"://"+Je+(T&&T.port===H.port?"":":"+H.port),H}(j,(S=S||{}).path||"/socket.io"),H=T.source,Ie=T.id;let oe;return S.forceNew||S["force new connection"]||!1===S.multiplex||Tn[Ie]&&T.path in Tn[Ie].nsps?oe=new Cn(H,S):(Tn[Ie]||(Tn[Ie]=new Cn(H,S)),oe=Tn[Ie]),T.query&&!S.query&&(S.query=T.queryKey),oe.socket(T.path,S)}Object.assign(bt,{Manager:Cn,Socket:vn,io:bt,connect:bt});class Xt{constructor(S){this.config=S,this.subscribersCounter={},this.eventObservables$={},this.emptyConfig={url:"",options:{}},void 0===S&&(S=this.emptyConfig),this.ioSocket=(bt||I)(S.url,S.options)}of(S){this.ioSocket.of(S)}on(S,T){this.ioSocket.on(S,T)}once(S,T){this.ioSocket.once(S,T)}connect(){return this.ioSocket.connect()}disconnect(S){return this.ioSocket.disconnect.apply(this.ioSocket,arguments)}emit(S,...T){return this.ioSocket.emit.apply(this.ioSocket,arguments)}removeListener(S,T){return this.ioSocket.removeListener.apply(this.ioSocket,arguments)}removeAllListeners(S){return this.ioSocket.removeAllListeners.apply(this.ioSocket,arguments)}fromEvent(S){return this.subscribersCounter[S]||(this.subscribersCounter[S]=0),this.subscribersCounter[S]++,this.eventObservables$[S]||(this.eventObservables$[S]=new he.y(T=>{const H=Ie=>{T.next(Ie)};return this.ioSocket.on(S,H),()=>{this.subscribersCounter[S]--,0===this.subscribersCounter[S]&&(this.ioSocket.removeListener(S,H),delete this.eventObservables$[S])}}).pipe((0,Oe.B)())),this.eventObservables$[S]}fromOneTimeEvent(S){return new Promise(T=>this.once(S,T))}}function Vn(j){return new Xt(j)}const On=new Te.OlP("__SOCKET_IO_CONFIG__");let Xn=(()=>{class j{static forRoot(T){return{ngModule:j,providers:[{provide:On,useValue:T},{provide:Xt,useFactory:Vn,deps:[On]}]}}}return j.\u0275fac=function(T){return new(T||j)},j.\u0275mod=Te.oAB({type:j}),j.\u0275inj=Te.cJS({}),j})()},1135:(wt,Ye,L)=>{"use strict";L.d(Ye,{X:()=>I});var o=L(7579);class I extends o.x{constructor(he){super(),this._value=he}get value(){return this.getValue()}_subscribe(he){const Oe=super._subscribe(he);return!Oe.closed&&he.next(this._value),Oe}getValue(){const{hasError:he,thrownError:Oe,_value:Fe}=this;if(he)throw Oe;return this._throwIfClosed(),Fe}next(he){super.next(this._value=he)}}},9751:(wt,Ye,L)=>{"use strict";L.d(Ye,{y:()=>ye});var o=L(2961),I=L(727),Te=L(8822),he=L(9635),Oe=L(2416),Fe=L(576),q=L(2806);let ye=(()=>{class O{constructor(pe){pe&&(this._subscribe=pe)}lift(pe){const Se=new O;return Se.source=this,Se.operator=pe,Se}subscribe(pe,Se,le){const fe=function K(O){return O&&O instanceof o.Lv||function z(O){return O&&(0,Fe.m)(O.next)&&(0,Fe.m)(O.error)&&(0,Fe.m)(O.complete)}(O)&&(0,I.Nn)(O)}(pe)?pe:new o.Hp(pe,Se,le);return(0,q.x)(()=>{const{operator:we,source:We}=this;fe.add(we?we.call(fe,We):We?this._subscribe(fe):this._trySubscribe(fe))}),fe}_trySubscribe(pe){try{return this._subscribe(pe)}catch(Se){pe.error(Se)}}forEach(pe,Se){return new(Se=U(Se))((le,fe)=>{let we;we=this.subscribe(We=>{try{pe(We)}catch(ke){fe(ke),we?.unsubscribe()}},fe,le)})}_subscribe(pe){var Se;return null===(Se=this.source)||void 0===Se?void 0:Se.subscribe(pe)}[Te.L](){return this}pipe(...pe){return(0,he.U)(pe)(this)}toPromise(pe){return new(pe=U(pe))((Se,le)=>{let fe;this.subscribe(we=>fe=we,we=>le(we),()=>Se(fe))})}}return O.create=ee=>new O(ee),O})();function U(O){var ee;return null!==(ee=O??Oe.v.Promise)&&void 0!==ee?ee:Promise}},7579:(wt,Ye,L)=>{"use strict";L.d(Ye,{x:()=>q});var o=L(9751),I=L(727);const he=(0,L(3888).d)(U=>function(){U(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Oe=L(8737),Fe=L(2806);let q=(()=>{class U extends o.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(K){const O=new ye(this,this);return O.operator=K,O}_throwIfClosed(){if(this.closed)throw new he}next(K){(0,Fe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){const O=this.observers.slice();for(const ee of O)ee.next(K)}})}error(K){(0,Fe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=K;const{observers:O}=this;for(;O.length;)O.shift().error(K)}})}complete(){(0,Fe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:K}=this;for(;K.length;)K.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var K;return(null===(K=this.observers)||void 0===K?void 0:K.length)>0}_trySubscribe(K){return this._throwIfClosed(),super._trySubscribe(K)}_subscribe(K){return this._throwIfClosed(),this._checkFinalizedStatuses(K),this._innerSubscribe(K)}_innerSubscribe(K){const{hasError:O,isStopped:ee,observers:pe}=this;return O||ee?I.Lc:(pe.push(K),new I.w0(()=>(0,Oe.P)(pe,K)))}_checkFinalizedStatuses(K){const{hasError:O,thrownError:ee,isStopped:pe}=this;O?K.error(ee):pe&&K.complete()}asObservable(){const K=new o.y;return K.source=this,K}}return U.create=(z,K)=>new ye(z,K),U})();class ye extends q{constructor(z,K){super(),this.destination=z,this.source=K}next(z){var K,O;null===(O=null===(K=this.destination)||void 0===K?void 0:K.next)||void 0===O||O.call(K,z)}error(z){var K,O;null===(O=null===(K=this.destination)||void 0===K?void 0:K.error)||void 0===O||O.call(K,z)}complete(){var z,K;null===(K=null===(z=this.destination)||void 0===z?void 0:z.complete)||void 0===K||K.call(z)}_subscribe(z){var K,O;return null!==(O=null===(K=this.source)||void 0===K?void 0:K.subscribe(z))&&void 0!==O?O:I.Lc}}},2961:(wt,Ye,L)=>{"use strict";L.d(Ye,{Hp:()=>ee,Lv:()=>O});var o=L(576),I=L(727),Te=L(2416),he=L(7849);function Oe(){}const Fe=U("C",void 0,void 0);function U(we,We,ke){return{kind:we,value:We,error:ke}}var z=L(3410),K=L(2806);class O extends I.w0{constructor(We){super(),this.isStopped=!1,We?(this.destination=We,(0,I.Nn)(We)&&We.add(this)):this.destination=fe}static create(We,ke,te){return new ee(We,ke,te)}next(We){this.isStopped?le(function ye(we){return U("N",we,void 0)}(We),this):this._next(We)}error(We){this.isStopped?le(function q(we){return U("E",void 0,we)}(We),this):(this.isStopped=!0,this._error(We))}complete(){this.isStopped?le(Fe,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(We){this.destination.next(We)}_error(We){try{this.destination.error(We)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class ee extends O{constructor(We,ke,te){let Ce;if(super(),(0,o.m)(We))Ce=We;else if(We){let ce;({next:Ce,error:ke,complete:te}=We),this&&Te.v.useDeprecatedNextContext?(ce=Object.create(We),ce.unsubscribe=()=>this.unsubscribe()):ce=We,Ce=Ce?.bind(ce),ke=ke?.bind(ce),te=te?.bind(ce)}this.destination={next:Ce?pe(Ce):Oe,error:pe(ke??Se),complete:te?pe(te):Oe}}}function pe(we,We){return(...ke)=>{try{we(...ke)}catch(te){Te.v.useDeprecatedSynchronousErrorHandling?(0,K.O)(te):(0,he.h)(te)}}}function Se(we){throw we}function le(we,We){const{onStoppedNotification:ke}=Te.v;ke&&z.z.setTimeout(()=>ke(we,We))}const fe={closed:!0,next:Oe,error:Se,complete:Oe}},727:(wt,Ye,L)=>{"use strict";L.d(Ye,{Lc:()=>Fe,w0:()=>Oe,Nn:()=>q});var o=L(576);const Te=(0,L(3888).d)(U=>function(K){U(this),this.message=K?`${K.length} errors occurred during unsubscription:\n${K.map((O,ee)=>`${ee+1}) ${O.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=K});var he=L(8737);class Oe{constructor(z){this.initialTeardown=z,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let z;if(!this.closed){this.closed=!0;const{_parentage:K}=this;if(K)if(this._parentage=null,Array.isArray(K))for(const pe of K)pe.remove(this);else K.remove(this);const{initialTeardown:O}=this;if((0,o.m)(O))try{O()}catch(pe){z=pe instanceof Te?pe.errors:[pe]}const{_teardowns:ee}=this;if(ee){this._teardowns=null;for(const pe of ee)try{ye(pe)}catch(Se){z=z??[],Se instanceof Te?z=[...z,...Se.errors]:z.push(Se)}}if(z)throw new Te(z)}}add(z){var K;if(z&&z!==this)if(this.closed)ye(z);else{if(z instanceof Oe){if(z.closed||z._hasParent(this))return;z._addParent(this)}(this._teardowns=null!==(K=this._teardowns)&&void 0!==K?K:[]).push(z)}}_hasParent(z){const{_parentage:K}=this;return K===z||Array.isArray(K)&&K.includes(z)}_addParent(z){const{_parentage:K}=this;this._parentage=Array.isArray(K)?(K.push(z),K):K?[K,z]:z}_removeParent(z){const{_parentage:K}=this;K===z?this._parentage=null:Array.isArray(K)&&(0,he.P)(K,z)}remove(z){const{_teardowns:K}=this;K&&(0,he.P)(K,z),z instanceof Oe&&z._removeParent(this)}}Oe.EMPTY=(()=>{const U=new Oe;return U.closed=!0,U})();const Fe=Oe.EMPTY;function q(U){return U instanceof Oe||U&&"closed"in U&&(0,o.m)(U.remove)&&(0,o.m)(U.add)&&(0,o.m)(U.unsubscribe)}function ye(U){(0,o.m)(U)?U():U.unsubscribe()}},2416:(wt,Ye,L)=>{"use strict";L.d(Ye,{v:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},515:(wt,Ye,L)=>{"use strict";L.d(Ye,{E:()=>I});const I=new(L(9751).y)(Oe=>Oe.complete())},2076:(wt,Ye,L)=>{"use strict";L.d(Ye,{D:()=>Ae});var o=L(8421),I=L(9672),Te=L(4482),he=L(5403);function Oe(De,Le=0){return(0,Te.e)((ae,se)=>{ae.subscribe(new he.Q(se,re=>(0,I.f)(se,De,()=>se.next(re),Le),()=>(0,I.f)(se,De,()=>se.complete(),Le),re=>(0,I.f)(se,De,()=>se.error(re),Le)))})}function Fe(De,Le=0){return(0,Te.e)((ae,se)=>{se.add(De.schedule(()=>ae.subscribe(se),Le))})}var U=L(9751),K=L(2202),O=L(576);function pe(De,Le){if(!De)throw new Error("Iterable cannot be null");return new U.y(ae=>{(0,I.f)(ae,Le,()=>{const se=De[Symbol.asyncIterator]();(0,I.f)(ae,Le,()=>{se.next().then(re=>{re.done?ae.complete():ae.next(re.value)})},0,!0)})})}var Se=L(3670),le=L(8239),fe=L(1144),we=L(6495),We=L(2206),ke=L(4532),te=L(3260);function Ae(De,Le){return Le?function ce(De,Le){if(null!=De){if((0,Se.c)(De))return function q(De,Le){return(0,o.Xf)(De).pipe(Fe(Le),Oe(Le))}(De,Le);if((0,fe.z)(De))return function z(De,Le){return new U.y(ae=>{let se=0;return Le.schedule(function(){se===De.length?ae.complete():(ae.next(De[se++]),ae.closed||this.schedule())})})}(De,Le);if((0,le.t)(De))return function ye(De,Le){return(0,o.Xf)(De).pipe(Fe(Le),Oe(Le))}(De,Le);if((0,We.D)(De))return pe(De,Le);if((0,we.T)(De))return function ee(De,Le){return new U.y(ae=>{let se;return(0,I.f)(ae,Le,()=>{se=De[K.h](),(0,I.f)(ae,Le,()=>{let re,ie;try{({value:re,done:ie}=se.next())}catch(Ee){return void ae.error(Ee)}ie?ae.complete():ae.next(re)},0,!0)}),()=>(0,O.m)(se?.return)&&se.return()})}(De,Le);if((0,te.L)(De))return function Ce(De,Le){return pe((0,te.Q)(De),Le)}(De,Le)}throw(0,ke.z)(De)}(De,Le):(0,o.Xf)(De)}},8421:(wt,Ye,L)=>{"use strict";L.d(Ye,{Xf:()=>ee});var o=L(5987),I=L(1144),Te=L(8239),he=L(9751),Oe=L(3670),Fe=L(2206),q=L(4532),ye=L(6495),U=L(3260),z=L(576),K=L(7849),O=L(8822);function ee(te){if(te instanceof he.y)return te;if(null!=te){if((0,Oe.c)(te))return function pe(te){return new he.y(Ce=>{const ce=te[O.L]();if((0,z.m)(ce.subscribe))return ce.subscribe(Ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(te);if((0,I.z)(te))return function Se(te){return new he.y(Ce=>{for(let ce=0;ce{te.then(ce=>{Ce.closed||(Ce.next(ce),Ce.complete())},ce=>Ce.error(ce)).then(null,K.h)})}(te);if((0,Fe.D)(te))return we(te);if((0,ye.T)(te))return function fe(te){return new he.y(Ce=>{for(const ce of te)if(Ce.next(ce),Ce.closed)return;Ce.complete()})}(te);if((0,U.L)(te))return function We(te){return we((0,U.Q)(te))}(te)}throw(0,q.z)(te)}function we(te){return new he.y(Ce=>{(function ke(te,Ce){var ce,Ae,De,Le;return(0,o.mG)(this,void 0,void 0,function*(){try{for(ce=(0,o.KL)(te);!(Ae=yield ce.next()).done;)if(Ce.next(Ae.value),Ce.closed)return}catch(ae){De={error:ae}}finally{try{Ae&&!Ae.done&&(Le=ce.return)&&(yield Le.call(ce))}finally{if(De)throw De.error}}Ce.complete()})})(te,Ce).catch(ce=>Ce.error(ce))})}},5403:(wt,Ye,L)=>{"use strict";L.d(Ye,{Q:()=>I});var o=L(2961);class I extends o.Lv{constructor(he,Oe,Fe,q,ye){super(he),this.onFinalize=ye,this._next=Oe?function(U){try{Oe(U)}catch(z){he.error(z)}}:super._next,this._error=q?function(U){try{q(U)}catch(z){he.error(z)}finally{this.unsubscribe()}}:super._error,this._complete=Fe?function(){try{Fe()}catch(U){he.error(U)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var he;const{closed:Oe}=this;super.unsubscribe(),!Oe&&(null===(he=this.onFinalize)||void 0===he||he.call(this))}}},9300:(wt,Ye,L)=>{"use strict";L.d(Ye,{h:()=>Te});var o=L(4482),I=L(5403);function Te(he,Oe){return(0,o.e)((Fe,q)=>{let ye=0;Fe.subscribe(new I.Q(q,U=>he.call(Oe,U,ye++)&&q.next(U)))})}},4004:(wt,Ye,L)=>{"use strict";L.d(Ye,{U:()=>Te});var o=L(4482),I=L(5403);function Te(he,Oe){return(0,o.e)((Fe,q)=>{let ye=0;Fe.subscribe(new I.Q(q,U=>{q.next(he.call(Oe,U,ye++))}))})}},8189:(wt,Ye,L)=>{"use strict";L.d(Ye,{J:()=>Te});var o=L(5577),I=L(4671);function Te(he=1/0){return(0,o.z)(I.y,he)}},5577:(wt,Ye,L)=>{"use strict";L.d(Ye,{z:()=>ye});var o=L(4004),I=L(8421),Te=L(4482),he=L(9672),Oe=L(5403),q=L(576);function ye(U,z,K=1/0){return(0,q.m)(z)?ye((O,ee)=>(0,o.U)((pe,Se)=>z(O,pe,ee,Se))((0,I.Xf)(U(O,ee))),K):("number"==typeof z&&(K=z),(0,Te.e)((O,ee)=>function Fe(U,z,K,O,ee,pe,Se,le){const fe=[];let we=0,We=0,ke=!1;const te=()=>{ke&&!fe.length&&!we&&z.complete()},Ce=Ae=>we{pe&&z.next(Ae),we++;let De=!1;(0,I.Xf)(K(Ae,We++)).subscribe(new Oe.Q(z,Le=>{ee?.(Le),pe?Ce(Le):z.next(Le)},()=>{De=!0},void 0,()=>{if(De)try{for(we--;fe.length&&wece(Le)):ce(Le)}te()}catch(Le){z.error(Le)}}))};return U.subscribe(new Oe.Q(z,Ce,()=>{ke=!0,te()})),()=>{le?.()}}(O,ee,U,K)))}},3099:(wt,Ye,L)=>{"use strict";L.d(Ye,{B:()=>Fe});var o=L(2076),I=L(5698),Te=L(7579),he=L(2961),Oe=L(4482);function Fe(ye={}){const{connector:U=(()=>new Te.x),resetOnError:z=!0,resetOnComplete:K=!0,resetOnRefCountZero:O=!0}=ye;return ee=>{let pe=null,Se=null,le=null,fe=0,we=!1,We=!1;const ke=()=>{Se?.unsubscribe(),Se=null},te=()=>{ke(),pe=le=null,we=We=!1},Ce=()=>{const ce=pe;te(),ce?.unsubscribe()};return(0,Oe.e)((ce,Ae)=>{fe++,!We&&!we&&ke();const De=le=le??U();Ae.add(()=>{fe--,0===fe&&!We&&!we&&(Se=q(Ce,O))}),De.subscribe(Ae),pe||(pe=new he.Hp({next:Le=>De.next(Le),error:Le=>{We=!0,ke(),Se=q(te,z,Le),De.error(Le)},complete:()=>{we=!0,ke(),Se=q(te,K),De.complete()}}),(0,o.D)(ce).subscribe(pe))})(ee)}}function q(ye,U,...z){return!0===U?(ye(),null):!1===U?null:U(...z).pipe((0,I.q)(1)).subscribe(()=>ye())}},3900:(wt,Ye,L)=>{"use strict";L.d(Ye,{w:()=>he});var o=L(8421),I=L(4482),Te=L(5403);function he(Oe,Fe){return(0,I.e)((q,ye)=>{let U=null,z=0,K=!1;const O=()=>K&&!U&&ye.complete();q.subscribe(new Te.Q(ye,ee=>{U?.unsubscribe();let pe=0;const Se=z++;(0,o.Xf)(Oe(ee,Se)).subscribe(U=new Te.Q(ye,le=>ye.next(Fe?Fe(ee,le,Se,pe++):le),()=>{U=null,O()}))},()=>{K=!0,O()}))})}},5698:(wt,Ye,L)=>{"use strict";L.d(Ye,{q:()=>he});var o=L(515),I=L(4482),Te=L(5403);function he(Oe){return Oe<=0?()=>o.E:(0,I.e)((Fe,q)=>{let ye=0;Fe.subscribe(new Te.Q(q,U=>{++ye<=Oe&&(q.next(U),Oe<=ye&&q.complete())}))})}},3410:(wt,Ye,L)=>{"use strict";L.d(Ye,{z:()=>o});const o={setTimeout(...I){const{delegate:Te}=o;return(Te?.setTimeout||setTimeout)(...I)},clearTimeout(I){const{delegate:Te}=o;return(Te?.clearTimeout||clearTimeout)(I)},delegate:void 0}},2202:(wt,Ye,L)=>{"use strict";L.d(Ye,{h:()=>I});const I=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(wt,Ye,L)=>{"use strict";L.d(Ye,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},7669:(wt,Ye,L)=>{"use strict";L.d(Ye,{_6:()=>Fe,jO:()=>he,yG:()=>Oe});var o=L(576);function Te(q){return q[q.length-1]}function he(q){return(0,o.m)(Te(q))?q.pop():void 0}function Oe(q){return function I(q){return q&&(0,o.m)(q.schedule)}(Te(q))?q.pop():void 0}function Fe(q,ye){return"number"==typeof Te(q)?q.pop():ye}},4742:(wt,Ye,L)=>{"use strict";L.d(Ye,{D:()=>Oe});const{isArray:o}=Array,{getPrototypeOf:I,prototype:Te,keys:he}=Object;function Oe(q){if(1===q.length){const ye=q[0];if(o(ye))return{args:ye,keys:null};if(function Fe(q){return q&&"object"==typeof q&&I(q)===Te}(ye)){const U=he(ye);return{args:U.map(z=>ye[z]),keys:U}}}return{args:q,keys:null}}},8737:(wt,Ye,L)=>{"use strict";function o(I,Te){if(I){const he=I.indexOf(Te);0<=he&&I.splice(he,1)}}L.d(Ye,{P:()=>o})},3888:(wt,Ye,L)=>{"use strict";function o(I){const he=I(Oe=>{Error.call(Oe),Oe.stack=(new Error).stack});return he.prototype=Object.create(Error.prototype),he.prototype.constructor=he,he}L.d(Ye,{d:()=>o})},1810:(wt,Ye,L)=>{"use strict";function o(I,Te){return I.reduce((he,Oe,Fe)=>(he[Oe]=Te[Fe],he),{})}L.d(Ye,{n:()=>o})},2806:(wt,Ye,L)=>{"use strict";L.d(Ye,{O:()=>he,x:()=>Te});var o=L(2416);let I=null;function Te(Oe){if(o.v.useDeprecatedSynchronousErrorHandling){const Fe=!I;if(Fe&&(I={errorThrown:!1,error:null}),Oe(),Fe){const{errorThrown:q,error:ye}=I;if(I=null,q)throw ye}}else Oe()}function he(Oe){o.v.useDeprecatedSynchronousErrorHandling&&I&&(I.errorThrown=!0,I.error=Oe)}},9672:(wt,Ye,L)=>{"use strict";function o(I,Te,he,Oe=0,Fe=!1){const q=Te.schedule(function(){he(),Fe?I.add(this.schedule(null,Oe)):this.unsubscribe()},Oe);if(I.add(q),!Fe)return q}L.d(Ye,{f:()=>o})},4671:(wt,Ye,L)=>{"use strict";function o(I){return I}L.d(Ye,{y:()=>o})},1144:(wt,Ye,L)=>{"use strict";L.d(Ye,{z:()=>o});const o=I=>I&&"number"==typeof I.length&&"function"!=typeof I},2206:(wt,Ye,L)=>{"use strict";L.d(Ye,{D:()=>I});var o=L(576);function I(Te){return Symbol.asyncIterator&&(0,o.m)(Te?.[Symbol.asyncIterator])}},576:(wt,Ye,L)=>{"use strict";function o(I){return"function"==typeof I}L.d(Ye,{m:()=>o})},3670:(wt,Ye,L)=>{"use strict";L.d(Ye,{c:()=>Te});var o=L(8822),I=L(576);function Te(he){return(0,I.m)(he[o.L])}},6495:(wt,Ye,L)=>{"use strict";L.d(Ye,{T:()=>Te});var o=L(2202),I=L(576);function Te(he){return(0,I.m)(he?.[o.h])}},8239:(wt,Ye,L)=>{"use strict";L.d(Ye,{t:()=>I});var o=L(576);function I(Te){return(0,o.m)(Te?.then)}},3260:(wt,Ye,L)=>{"use strict";L.d(Ye,{L:()=>he,Q:()=>Te});var o=L(5987),I=L(576);function Te(Oe){return(0,o.FC)(this,arguments,function*(){const q=Oe.getReader();try{for(;;){const{value:ye,done:U}=yield(0,o.qq)(q.read());if(U)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(ye)}}finally{q.releaseLock()}})}function he(Oe){return(0,I.m)(Oe?.getReader)}},4482:(wt,Ye,L)=>{"use strict";L.d(Ye,{A:()=>I,e:()=>Te});var o=L(576);function I(he){return(0,o.m)(he?.lift)}function Te(he){return Oe=>{if(I(Oe))return Oe.lift(function(Fe){try{return he(Fe,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(wt,Ye,L)=>{"use strict";L.d(Ye,{Z:()=>he});var o=L(4004);const{isArray:I}=Array;function he(Oe){return(0,o.U)(Fe=>function Te(Oe,Fe){return I(Fe)?Oe(...Fe):Oe(Fe)}(Oe,Fe))}},9635:(wt,Ye,L)=>{"use strict";L.d(Ye,{U:()=>Te,z:()=>I});var o=L(4671);function I(...he){return Te(he)}function Te(he){return 0===he.length?o.y:1===he.length?he[0]:function(Fe){return he.reduce((q,ye)=>ye(q),Fe)}}},7849:(wt,Ye,L)=>{"use strict";L.d(Ye,{h:()=>Te});var o=L(2416),I=L(3410);function Te(he){I.z.setTimeout(()=>{const{onUnhandledError:Oe}=o.v;if(!Oe)throw he;Oe(he)})}},4532:(wt,Ye,L)=>{"use strict";function o(I){return new TypeError(`You provided ${null!==I&&"object"==typeof I?"an invalid object":`'${I}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}L.d(Ye,{z:()=>o})},863:(wt,Ye,L)=>{var o={"./ion-accordion_2.entry.js":[9654,8592,9654],"./ion-action-sheet.entry.js":[3648,8592,3648],"./ion-alert.entry.js":[1118,8592,1118],"./ion-app_8.entry.js":[53,8592,3236],"./ion-avatar_3.entry.js":[4753,4753],"./ion-back-button.entry.js":[2073,8592,2073],"./ion-backdrop.entry.js":[8939,8939],"./ion-breadcrumb_2.entry.js":[7544,8592,7544],"./ion-button_2.entry.js":[8372,5652],"./ion-card_5.entry.js":[388,388],"./ion-checkbox.entry.js":[9922,9922],"./ion-chip.entry.js":[657,657],"./ion-col_3.entry.js":[9824,9824],"./ion-datetime-button.entry.js":[9230,4223,9230],"./ion-datetime_3.entry.js":[4959,4223,8592,4959],"./ion-fab_3.entry.js":[5836,8592,5836],"./ion-img.entry.js":[1033,1033],"./ion-infinite-scroll_2.entry.js":[8034,8592,5817],"./ion-input.entry.js":[1217,1217],"./ion-item-option_3.entry.js":[2933,8592,4651],"./ion-item_8.entry.js":[4711,8592,4711],"./ion-loading.entry.js":[9434,8592,9434],"./ion-menu_3.entry.js":[8136,8592,8136],"./ion-modal.entry.js":[2349,8592,2349],"./ion-nav_2.entry.js":[5349,8592,5349],"./ion-picker-column-internal.entry.js":[7602,8592,7602],"./ion-picker-internal.entry.js":[9016,9016],"./ion-popover.entry.js":[3804,8592,3804],"./ion-progress-bar.entry.js":[4174,4174],"./ion-radio_2.entry.js":[4432,4432],"./ion-range.entry.js":[1709,8592,1709],"./ion-refresher_2.entry.js":[3326,8592,2175],"./ion-reorder_2.entry.js":[3583,8592,1186],"./ion-ripple-effect.entry.js":[9958,9958],"./ion-route_4.entry.js":[4330,4330],"./ion-searchbar.entry.js":[8628,8592,8628],"./ion-segment_2.entry.js":[9325,8592,9325],"./ion-select_3.entry.js":[2773,2773],"./ion-slide_2.entry.js":[1650,1650],"./ion-spinner.entry.js":[4908,8592,4908],"./ion-split-pane.entry.js":[9536,9536],"./ion-tab-bar_2.entry.js":[438,438],"./ion-tab_2.entry.js":[1536,8592,1536],"./ion-text.entry.js":[4376,4376],"./ion-textarea.entry.js":[6560,6560],"./ion-toast.entry.js":[6120,8592,6120],"./ion-toggle.entry.js":[5168,8592,5168],"./ion-virtual-scroll.entry.js":[2289,2289]};function I(Te){if(!L.o(o,Te))return Promise.resolve().then(()=>{var Fe=new Error("Cannot find module '"+Te+"'");throw Fe.code="MODULE_NOT_FOUND",Fe});var he=o[Te],Oe=he[0];return Promise.all(he.slice(1).map(L.e)).then(()=>L(Oe))}I.keys=()=>Object.keys(o),I.id=863,wt.exports=I},5987:(wt,Ye,L)=>{"use strict";function ye(ae,se,re,ie){return new(re||(re=Promise))(function(_e,st){function Ze(Be){try{Me(ie.next(Be))}catch(Ne){st(Ne)}}function je(Be){try{Me(ie.throw(Be))}catch(Ne){st(Ne)}}function Me(Be){Be.done?_e(Be.value):function Ee(_e){return _e instanceof re?_e:new re(function(st){st(_e)})}(Be.value).then(Ze,je)}Me((ie=ie.apply(ae,se||[])).next())})}function fe(ae){return this instanceof fe?(this.v=ae,this):new fe(ae)}function we(ae,se,re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ee,ie=re.apply(ae,se||[]),_e=[];return Ee={},st("next"),st("throw"),st("return"),Ee[Symbol.asyncIterator]=function(){return this},Ee;function st(xe){ie[xe]&&(Ee[xe]=function(Ue){return new Promise(function(qe,tt){_e.push([xe,Ue,qe,tt])>1||Ze(xe,Ue)})})}function Ze(xe,Ue){try{!function je(xe){xe.value instanceof fe?Promise.resolve(xe.value.v).then(Me,Be):Ne(_e[0][2],xe)}(ie[xe](Ue))}catch(qe){Ne(_e[0][3],qe)}}function Me(xe){Ze("next",xe)}function Be(xe){Ze("throw",xe)}function Ne(xe,Ue){xe(Ue),_e.shift(),_e.length&&Ze(_e[0][0],_e[0][1])}}function ke(ae){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var re,se=ae[Symbol.asyncIterator];return se?se.call(ae):(ae=function O(ae){var se="function"==typeof Symbol&&Symbol.iterator,re=se&&ae[se],ie=0;if(re)return re.call(ae);if(ae&&"number"==typeof ae.length)return{next:function(){return ae&&ie>=ae.length&&(ae=void 0),{value:ae&&ae[ie++],done:!ae}}};throw new TypeError(se?"Object is not iterable.":"Symbol.iterator is not defined.")}(ae),re={},ie("next"),ie("throw"),ie("return"),re[Symbol.asyncIterator]=function(){return this},re);function ie(_e){re[_e]=ae[_e]&&function(st){return new Promise(function(Ze,je){!function Ee(_e,st,Ze,je){Promise.resolve(je).then(function(Me){_e({value:Me,done:Ze})},st)}(Ze,je,(st=ae[_e](st)).done,st.value)})}}}L.d(Ye,{FC:()=>we,KL:()=>ke,mG:()=>ye,qq:()=>fe})},6895:(wt,Ye,L)=>{"use strict";L.d(Ye,{Do:()=>te,EM:()=>so,HT:()=>Oe,JF:()=>yr,K0:()=>q,Mx:()=>T,O5:()=>F,PM:()=>Zn,S$:()=>fe,V_:()=>z,Ye:()=>Ce,b0:()=>ke,bD:()=>$r,ez:()=>bo,q:()=>Te,sg:()=>oe,tP:()=>Ot,w_:()=>Fe});var o=L(8274);let I=null;function Te(){return I}function Oe(b){I||(I=b)}class Fe{}const q=new o.OlP("DocumentToken");let ye=(()=>{class b{historyGo(w){throw new Error("Not implemented")}}return b.\u0275fac=function(w){return new(w||b)},b.\u0275prov=o.Yz7({token:b,factory:function(){return function U(){return(0,o.LFG)(K)}()},providedIn:"platform"}),b})();const z=new o.OlP("Location Initialized");let K=(()=>{class b extends ye{constructor(w){super(),this._doc=w,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Te().getBaseHref(this._doc)}onPopState(w){const Y=Te().getGlobalEventTarget(this._doc,"window");return Y.addEventListener("popstate",w,!1),()=>Y.removeEventListener("popstate",w)}onHashChange(w){const Y=Te().getGlobalEventTarget(this._doc,"window");return Y.addEventListener("hashchange",w,!1),()=>Y.removeEventListener("hashchange",w)}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(w){this.location.pathname=w}pushState(w,Y,ve){O()?this._history.pushState(w,Y,ve):this.location.hash=ve}replaceState(w,Y,ve){O()?this._history.replaceState(w,Y,ve):this.location.hash=ve}forward(){this._history.forward()}back(){this._history.back()}historyGo(w=0){this._history.go(w)}getState(){return this._history.state}}return b.\u0275fac=function(w){return new(w||b)(o.LFG(q))},b.\u0275prov=o.Yz7({token:b,factory:function(){return function ee(){return new K((0,o.LFG)(q))}()},providedIn:"platform"}),b})();function O(){return!!window.history.pushState}function pe(b,V){if(0==b.length)return V;if(0==V.length)return b;let w=0;return b.endsWith("/")&&w++,V.startsWith("/")&&w++,2==w?b+V.substring(1):1==w?b+V:b+"/"+V}function Se(b){const V=b.match(/#|\?|$/),w=V&&V.index||b.length;return b.slice(0,w-("/"===b[w-1]?1:0))+b.slice(w)}function le(b){return b&&"?"!==b[0]?"?"+b:b}let fe=(()=>{class b{historyGo(w){throw new Error("Not implemented")}}return b.\u0275fac=function(w){return new(w||b)},b.\u0275prov=o.Yz7({token:b,factory:function(){return function we(){const b=(0,o.LFG)(q).location;return new ke((0,o.LFG)(ye),b&&b.origin||"")}()},providedIn:"root"}),b})();const We=new o.OlP("appBaseHref");let ke=(()=>{class b extends fe{constructor(w,Y){if(super(),this._platformLocation=w,this._removeListenerFns=[],null==Y&&(Y=this._platformLocation.getBaseHrefFromDOM()),null==Y)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=Y}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(w){this._removeListenerFns.push(this._platformLocation.onPopState(w),this._platformLocation.onHashChange(w))}getBaseHref(){return this._baseHref}prepareExternalUrl(w){return pe(this._baseHref,w)}path(w=!1){const Y=this._platformLocation.pathname+le(this._platformLocation.search),ve=this._platformLocation.hash;return ve&&w?`${Y}${ve}`:Y}pushState(w,Y,ve,Ge){const rt=this.prepareExternalUrl(ve+le(Ge));this._platformLocation.pushState(w,Y,rt)}replaceState(w,Y,ve,Ge){const rt=this.prepareExternalUrl(ve+le(Ge));this._platformLocation.replaceState(w,Y,rt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(w=0){this._platformLocation.historyGo?.(w)}}return b.\u0275fac=function(w){return new(w||b)(o.LFG(ye),o.LFG(We,8))},b.\u0275prov=o.Yz7({token:b,factory:b.\u0275fac}),b})(),te=(()=>{class b extends fe{constructor(w,Y){super(),this._platformLocation=w,this._baseHref="",this._removeListenerFns=[],null!=Y&&(this._baseHref=Y)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(w){this._removeListenerFns.push(this._platformLocation.onPopState(w),this._platformLocation.onHashChange(w))}getBaseHref(){return this._baseHref}path(w=!1){let Y=this._platformLocation.hash;return null==Y&&(Y="#"),Y.length>0?Y.substring(1):Y}prepareExternalUrl(w){const Y=pe(this._baseHref,w);return Y.length>0?"#"+Y:Y}pushState(w,Y,ve,Ge){let rt=this.prepareExternalUrl(ve+le(Ge));0==rt.length&&(rt=this._platformLocation.pathname),this._platformLocation.pushState(w,Y,rt)}replaceState(w,Y,ve,Ge){let rt=this.prepareExternalUrl(ve+le(Ge));0==rt.length&&(rt=this._platformLocation.pathname),this._platformLocation.replaceState(w,Y,rt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(w=0){this._platformLocation.historyGo?.(w)}}return b.\u0275fac=function(w){return new(w||b)(o.LFG(ye),o.LFG(We,8))},b.\u0275prov=o.Yz7({token:b,factory:b.\u0275fac}),b})(),Ce=(()=>{class b{constructor(w){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=w;const Y=this._locationStrategy.getBaseHref();this._baseHref=Se(De(Y)),this._locationStrategy.onPopState(ve=>{this._subject.emit({url:this.path(!0),pop:!0,state:ve.state,type:ve.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(w=!1){return this.normalize(this._locationStrategy.path(w))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(w,Y=""){return this.path()==this.normalize(w+le(Y))}normalize(w){return b.stripTrailingSlash(function Ae(b,V){return b&&V.startsWith(b)?V.substring(b.length):V}(this._baseHref,De(w)))}prepareExternalUrl(w){return w&&"/"!==w[0]&&(w="/"+w),this._locationStrategy.prepareExternalUrl(w)}go(w,Y="",ve=null){this._locationStrategy.pushState(ve,"",w,Y),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+le(Y)),ve)}replaceState(w,Y="",ve=null){this._locationStrategy.replaceState(ve,"",w,Y),this._notifyUrlChangeListeners(this.prepareExternalUrl(w+le(Y)),ve)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(w=0){this._locationStrategy.historyGo?.(w)}onUrlChange(w){return this._urlChangeListeners.push(w),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Y=>{this._notifyUrlChangeListeners(Y.url,Y.state)})),()=>{const Y=this._urlChangeListeners.indexOf(w);this._urlChangeListeners.splice(Y,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(w="",Y){this._urlChangeListeners.forEach(ve=>ve(w,Y))}subscribe(w,Y,ve){return this._subject.subscribe({next:w,error:Y,complete:ve})}}return b.normalizeQueryParams=le,b.joinWithSlash=pe,b.stripTrailingSlash=Se,b.\u0275fac=function(w){return new(w||b)(o.LFG(fe))},b.\u0275prov=o.Yz7({token:b,factory:function(){return function ce(){return new Ce((0,o.LFG)(fe))}()},providedIn:"root"}),b})();function De(b){return b.replace(/\/index.html$/,"")}function T(b,V){V=encodeURIComponent(V);for(const w of b.split(";")){const Y=w.indexOf("="),[ve,Ge]=-1==Y?[w,""]:[w.slice(0,Y),w.slice(Y+1)];if(ve.trim()===V)return decodeURIComponent(Ge)}return null}class k{constructor(V,w,Y,ve){this.$implicit=V,this.ngForOf=w,this.index=Y,this.count=ve}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 oe=(()=>{class b{constructor(w,Y,ve){this._viewContainer=w,this._template=Y,this._differs=ve,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(w){this._ngForOf=w,this._ngForOfDirty=!0}set ngForTrackBy(w){this._trackByFn=w}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(w){w&&(this._template=w)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const w=this._ngForOf;!this._differ&&w&&(this._differ=this._differs.find(w).create(this.ngForTrackBy))}if(this._differ){const w=this._differ.diff(this._ngForOf);w&&this._applyChanges(w)}}_applyChanges(w){const Y=this._viewContainer;w.forEachOperation((ve,Ge,rt)=>{if(null==ve.previousIndex)Y.createEmbeddedView(this._template,new k(ve.item,this._ngForOf,-1,-1),null===rt?void 0:rt);else if(null==rt)Y.remove(null===Ge?void 0:Ge);else if(null!==Ge){const xt=Y.get(Ge);Y.move(xt,rt),g(xt,ve)}});for(let ve=0,Ge=Y.length;ve{g(Y.get(ve.currentIndex),ve)})}static ngTemplateContextGuard(w,Y){return!0}}return b.\u0275fac=function(w){return new(w||b)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},b.\u0275dir=o.lG2({type:b,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),b})();function g(b,V){b.context.$implicit=V.item}let F=(()=>{class b{constructor(w,Y){this._viewContainer=w,this._context=new P,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Y}set ngIf(w){this._context.$implicit=this._context.ngIf=w,this._updateView()}set ngIfThen(w){x("ngIfThen",w),this._thenTemplateRef=w,this._thenViewRef=null,this._updateView()}set ngIfElse(w){x("ngIfElse",w),this._elseTemplateRef=w,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(w,Y){return!0}}return b.\u0275fac=function(w){return new(w||b)(o.Y36(o.s_b),o.Y36(o.Rgc))},b.\u0275dir=o.lG2({type:b,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),b})();class P{constructor(){this.$implicit=null,this.ngIf=null}}function x(b,V){if(V&&!V.createEmbeddedView)throw new Error(`${b} must be a TemplateRef, but received '${(0,o.AaK)(V)}'.`)}let Ot=(()=>{class b{constructor(w){this._viewContainerRef=w,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(w){if(w.ngTemplateOutlet||w.ngTemplateOutletInjector){const Y=this._viewContainerRef;if(this._viewRef&&Y.remove(Y.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ve,ngTemplateOutletContext:Ge,ngTemplateOutletInjector:rt}=this;this._viewRef=Y.createEmbeddedView(ve,Ge,rt?{injector:rt}:void 0)}else this._viewRef=null}else this._viewRef&&w.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return b.\u0275fac=function(w){return new(w||b)(o.Y36(o.s_b))},b.\u0275dir=o.lG2({type:b,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]}),b})(),bo=(()=>{class b{}return b.\u0275fac=function(w){return new(w||b)},b.\u0275mod=o.oAB({type:b}),b.\u0275inj=o.cJS({}),b})();const $r="browser";function Zn(b){return"server"===b}let so=(()=>{class b{}return b.\u0275prov=(0,o.Yz7)({token:b,providedIn:"root",factory:()=>new ao((0,o.LFG)(q),window)}),b})();class ao{constructor(V,w){this.document=V,this.window=w,this.offset=()=>[0,0]}setOffset(V){this.offset=Array.isArray(V)?()=>V:V}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(V){this.supportsScrolling()&&this.window.scrollTo(V[0],V[1])}scrollToAnchor(V){if(!this.supportsScrolling())return;const w=function pr(b,V){const w=b.getElementById(V)||b.getElementsByName(V)[0];if(w)return w;if("function"==typeof b.createTreeWalker&&b.body&&(b.body.createShadowRoot||b.body.attachShadow)){const Y=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT);let ve=Y.currentNode;for(;ve;){const Ge=ve.shadowRoot;if(Ge){const rt=Ge.getElementById(V)||Ge.querySelector(`[name="${V}"]`);if(rt)return rt}ve=Y.nextNode()}}return null}(this.document,V);w&&(this.scrollToElement(w),w.focus())}setHistoryScrollRestoration(V){if(this.supportScrollRestoration()){const w=this.window.history;w&&w.scrollRestoration&&(w.scrollRestoration=V)}}scrollToElement(V){const w=V.getBoundingClientRect(),Y=w.left+this.window.pageXOffset,ve=w.top+this.window.pageYOffset,Ge=this.offset();this.window.scrollTo(Y-Ge[0],ve-Ge[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const V=Sn(this.window.history)||Sn(Object.getPrototypeOf(this.window.history));return!(!V||!V.writable&&!V.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Sn(b){return Object.getOwnPropertyDescriptor(b,"scrollRestoration")}class yr{}},8274:(wt,Ye,L)=>{"use strict";L.d(Ye,{deG:()=>vl,tb:()=>Bg,AFp:()=>Pg,ip1:()=>Ng,CZH:()=>tl,hGG:()=>Ab,z2F:()=>rl,sBO:()=>fb,Sil:()=>zC,_Vd:()=>js,EJc:()=>GC,Xts:()=>Ol,SBq:()=>Us,lqb:()=>Ci,qLn:()=>Gs,vpe:()=>Fo,XFs:()=>It,OlP:()=>Pn,zs3:()=>wi,ZZ4:()=>Nu,aQg:()=>Pu,soG:()=>nl,YKP:()=>jp,h0i:()=>ys,PXZ:()=>ib,R0b:()=>Wr,FiY:()=>Ps,Lbi:()=>HC,g9A:()=>Lg,Qsj:()=>mv,FYo:()=>Pd,JOm:()=>Ao,tp0:()=>ks,Rgc:()=>sa,dDg:()=>tb,eoX:()=>Yg,GfV:()=>kd,s_b:()=>Qa,ifc:()=>Pt,MMx:()=>cu,Lck:()=>N_,eFA:()=>qg,G48:()=>db,Gpc:()=>le,f3M:()=>rd,_c5:()=>Mb,c2e:()=>jC,zSh:()=>Pl,wAp:()=>Vt,vHH:()=>ke,lri:()=>Ug,rWj:()=>Gg,D6c:()=>Tb,cg1:()=>tu,kL8:()=>hp,dqk:()=>kt,sIi:()=>Zs,CqO:()=>Ch,QGY:()=>Yc,QP$:()=>_s,F4k:()=>_h,RDi:()=>Am,AaK:()=>ee,qOj:()=>Nc,TTD:()=>Ir,_Bn:()=>Hp,xp6:()=>yf,uIk:()=>Lc,zWS:()=>Bc,ekj:()=>Kc,Suo:()=>dg,Xpm:()=>hn,lG2:()=>$n,Yz7:()=>mt,cJS:()=>Bt,oAB:()=>qn,Yjl:()=>Kn,Y36:()=>ns,_UZ:()=>Hc,GkF:()=>Gc,qZA:()=>Ua,TgZ:()=>ja,EpF:()=>Dh,n5z:()=>va,LFG:()=>cr,$8M:()=>Gi,$Z:()=>Rf,NdJ:()=>zc,CRH:()=>fg,kcU:()=>v,O4$:()=>y,oxw:()=>Sh,ALo:()=>ng,lcZ:()=>rg,Hsn:()=>Ah,F$t:()=>Mh,Q6J:()=>$c,s9C:()=>Wc,MGl:()=>Ga,hYB:()=>qc,DdM:()=>Xp,iGM:()=>cg,KtG:()=>lo,CHM:()=>Kr,LSH:()=>Rl,YNc:()=>yh,_uU:()=>Xh,Oqu:()=>Zc,hij:()=>za,AsE:()=>Qc,lnq:()=>Jc,HOy:()=>eu,Gf:()=>ug});var o=L(8189),I=L(8421),Te=L(515),he=L(7669),Oe=L(2076),q=L(7579),ye=L(727),U=L(9751),z=L(3099);function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function O(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ee(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ee).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 pe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Se=K({__forward_ref__:K});function le(e){return e.__forward_ref__=le,e.toString=function(){return ee(this())},e}function fe(e){return we(e)?e():e}function we(e){return"function"==typeof e&&e.hasOwnProperty(Se)&&e.__forward_ref__===le}class ke extends Error{constructor(t,n){super(function te(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Ce(e){return"string"==typeof e?e:null==e?"":String(e)}function ae(e,t){throw new ke(-201,!1)}function qe(e,t){null==e&&function tt(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function mt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Bt(e){return{providers:e.providers||[],imports:e.imports||[]}}function _t(e){return An(e,Et)||An(e,zt)}function An(e,t){return e.hasOwnProperty(t)?e[t]:null}function tr(e){return e&&(e.hasOwnProperty(tn)||e.hasOwnProperty(sn))?e[tn]:null}const Et=K({\u0275prov:K}),tn=K({\u0275inj:K}),zt=K({ngInjectableDef:K}),sn=K({ngInjectorDef:K});var It=(()=>((It=It||{})[It.Default=0]="Default",It[It.Host=1]="Host",It[It.Self=2]="Self",It[It.SkipSelf=4]="SkipSelf",It[It.Optional=8]="Optional",It))();let gn;function mn(e){const t=gn;return gn=e,t}function Jn(e,t,n){const r=_t(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&It.Optional?null:void 0!==t?t:void ae(ee(e))}function at(e){return{toString:e}.toString()}var vt=(()=>((vt=vt||{})[vt.OnPush=0]="OnPush",vt[vt.Default=1]="Default",vt))(),Pt=(()=>{return(e=Pt||(Pt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Pt;var e})();const kt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Qt={},Gt=[],Qe=K({\u0275cmp:K}),rr=K({\u0275dir:K}),fn=K({\u0275pipe:K}),kn=K({\u0275mod:K}),St=K({\u0275fac:K}),Ln=K({__NG_ELEMENT_ID__:K});let Wn=0;function hn(e){return at(()=>{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===vt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Gt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Pt.Emulated,id:"c"+Wn++,styles:e.styles||Gt,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.dependencies,c=e.features;return i.inputs=Gn(e.inputs,r),i.outputs=Gn(e.outputs),c&&c.forEach(h=>h(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(Jt).filter(un):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(Re).filter(un):null,i})}function Jt(e){return jt(e)||dn(e)}function un(e){return null!==e}const Nn={};function qn(e){return at(()=>{const t={type:e.type,bootstrap:e.bootstrap||Gt,declarations:e.declarations||Gt,imports:e.imports||Gt,exports:e.exports||Gt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Nn[e.id]=e.type),t})}function Gn(e,t){if(null==e)return Qt;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 $n=hn;function Kn(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 jt(e){return e[Qe]||null}function dn(e){return e[rr]||null}function Re(e){return e[fn]||null}function ne(e,t){const n=e[kn]||null;if(!n&&!0===t)throw new Error(`Type ${ee(e)} does not have '\u0275mod' property.`);return n}const j=16,T=18,H=19,$=10;function de(e){return Array.isArray(e)&&"object"==typeof e[1]}function me(e){return Array.isArray(e)&&!0===e[1]}function Pe(e){return 0!=(8&e.flags)}function Xe(e){return 2==(2&e.flags)}function lt(e){return 1==(1&e.flags)}function pt(e){return null!==e.template}function Ot(e){return 0!=(256&e[2])}function Or(e,t){return e.hasOwnProperty(St)?e[St]:null}class hr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ir(){return oo}function oo(e){return e.type.prototype.ngOnChanges&&(e.setInput=bo),Ur}function Ur(){const e=io(this),t=e?.current;if(t){const n=e.previous;if(n===Qt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function bo(e,t,n,r){const i=io(e)||function Gr(e,t){return e[$r]=t}(e,{previous:Qt,current:null}),s=i.current||(i.current={}),c=i.previous,h=this.declaredInputs[n],m=c[h];s[h]=new hr(m&&m.currentValue,t,c===Qt),e[r]=t}Ir.ngInherit=!0;const $r="__ngSimpleChanges__";function io(e){return e[$r]||null}function Sn(e){for(;Array.isArray(e);)e=e[0];return e}function yr(e,t){return Sn(t[e])}function b(e,t){return Sn(t[e.index])}function w(e,t){return e.data[t]}function ve(e,t){const n=t[e];return de(n)?n:n[0]}function Ge(e){return 4==(4&e[2])}function rt(e){return 64==(64&e[2])}function pn(e,t){return null==t?null:e[t]}function bn(e){e[T]=0}function yn(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 gt={lFrame:ui(null),bindingsEnabled:!0};function Mr(){return gt.bindingsEnabled}function nt(){return gt.lFrame.lView}function Zt(){return gt.lFrame.tView}function Kr(e){return gt.lFrame.contextLView=e,e[8]}function lo(e){return gt.lFrame.contextLView=null,e}function jn(){let e=Xr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xr(){return gt.lFrame.currentTNode}function wr(e,t){const n=gt.lFrame;n.currentTNode=e,n.isParent=t}function E(){return gt.lFrame.isParent}function _(){gt.lFrame.isParent=!1}function rn(){const e=gt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function zn(){return gt.lFrame.bindingIndex}function Dr(){return gt.lFrame.bindingIndex++}function ar(e){const t=gt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ti(e,t){const n=gt.lFrame;n.bindingIndex=n.bindingRootIndex=e,xi(t)}function xi(e){gt.lFrame.currentDirectiveIndex=e}function bs(){return gt.lFrame.currentQueryIndex}function Oi(e){gt.lFrame.currentQueryIndex=e}function la(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ci(e,t,n){if(n&It.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&It.Host||(i=la(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=gt.lFrame=Fi();return r.currentTNode=t,r.lView=e,!0}function Xo(e){const t=Fi(),n=e[1];gt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Fi(){const e=gt.lFrame,t=null===e?null:e.child;return null===t?ui(e):t}function ui(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 Ni(){const e=gt.lFrame;return gt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const di=Ni;function Vo(){const e=Ni();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 _r(){return gt.lFrame.selectedIndex}function Zr(e){gt.lFrame.selectedIndex=e}function a(){const e=gt.lFrame;return w(e.tView,e.selectedIndex)}function y(){gt.lFrame.currentNamespace="svg"}function v(){!function R(){gt.lFrame.currentNamespace=null}()}function ct(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[m]<0&&(e[T]+=65536),(h>11>16&&(3&e[2])===t){e[2]+=2048;try{s.call(h)}finally{}}}else try{s.call(h)}finally{}}class or{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function hi(e,t,n){let r=0;for(;rt){c=s-1;break}}}for(;s>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Ts=!0;function Pi(e){const t=Ts;return Ts=e,t}let ua=0;const Jr={};function Qo(e,t){const n=mi(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,gi(r.data,e),gi(t,null),gi(r.blueprint,null));const i=Li(e,t),s=e.injectorIndex;if(ca(i)){const c=Io(i),h=Zo(i,t),m=h[1].data;for(let M=0;M<8;M++)t[s+M]=h[c+M]|m[c+M]}return t[s+8]=i,s}function gi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function mi(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Li(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=hl(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Bi(e,t,n){!function dl(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ln)&&(r=n[Ln]),null==r&&(r=n[Ln]=ua++);const i=255&r;t.data[e+(i>>5)]|=1<=0?255&t:ma:t}(n);if("function"==typeof s){if(!ci(t,e,r))return r&It.Host?da(i,0,r):fa(t,n,r,i);try{const c=s(r);if(null!=c||r&It.Optional)return c;ae()}finally{di()}}else if("number"==typeof s){let c=null,h=mi(e,t),m=-1,M=r&It.Host?t[j][6]:null;for((-1===h||r&It.SkipSelf)&&(m=-1===h?Li(e,t):t[h+8],-1!==m&&ga(r,!1)?(c=t[1],h=Io(m),t=Zo(m,t)):h=-1);-1!==h;){const B=t[1];if(ji(s,h,B.data)){const Q=gr(h,t,n,c,r,M);if(Q!==Jr)return Q}m=t[h+8],-1!==m&&ga(r,t[1].data[h+8]===M)&&ji(s,h,t)?(c=B,h=Io(m),t=Zo(m,t)):h=-1}}return i}function gr(e,t,n,r,i,s){const c=t[1],h=c.data[e+8],B=Vi(h,c,n,null==r?Xe(h)&&Ts:r!=c&&0!=(3&h.type),i&It.Host&&s===h);return null!==B?Jo(t,c,B,h):Jr}function Vi(e,t,n,r,i){const s=e.providerIndexes,c=t.data,h=1048575&s,m=e.directiveStart,B=s>>20,be=i?h+B:e.directiveEnd;for(let $e=r?h:h+B;$e=m&&et.type===n)return $e}if(i){const $e=c[m];if($e&&pt($e)&&$e.type===n)return m}return null}function Jo(e,t,n,r){let i=e[n];const s=t.data;if(function Qr(e){return e instanceof or}(i)){const c=i;c.resolving&&function Ae(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ke(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ce(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ce(e)}(s[n]));const h=Pi(c.canSeeViewProviders);c.resolving=!0;const m=c.injectImpl?mn(c.injectImpl):null;ci(e,r,It.Default);try{i=e[n]=c.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Ke(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const c=oo(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,c),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,c)}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!==m&&mn(m),Pi(h),c.resolving=!1,di()}}return i}function ji(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[St]||Ui(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[St]||Ui(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Ui(e){return we(e)?()=>{const t=Ui(fe(e));return t&&t()}:Or(e)}function hl(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Gi(e){return function $i(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{const r=function vi(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const c=new i(...s);return h.annotation=c,h;function h(m,M,B){const Q=m.hasOwnProperty(ti)?m[ti]:Object.defineProperty(m,ti,{value:[]})[ti];for(;Q.length<=B;)Q.push(null);return(Q[B]=Q[B]||[]).push(c),m}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class Pn{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=mt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const vl=new Pn("AnalyzeForEntryComponents");function Er(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?uo(n,t):t(n))}function ya(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Yi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function zi(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function u(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 ue(e,t){const n=Ve(e,t);if(n>=0)return e[1|n]}function Ve(e,t){return function Yt(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),c=e[s<t?i=s:r=s+1}return~(i<((ur=ur||{})[ur.NONE=0]="NONE",ur[ur.HTML=1]="HTML",ur[ur.STYLE=2]="STYLE",ur[ur.SCRIPT=3]="SCRIPT",ur[ur.URL=4]="URL",ur[ur.RESOURCE_URL=5]="RESOURCE_URL",ur))();function Rl(e){const t=function Hs(){const e=nt();return e&&e[12]}();return t?t.sanitize(ur.URL,e)||"":function $s(e,t){const n=function km(e){return e instanceof gd&&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}(e,"URL")?ni(e):function Ea(e){return(e=String(e)).match(Vm)||e.match(Hm)?e:"unsafe:"+e}(Ce(e))}const Ol=new Pn("ENVIRONMENT_INITIALIZER"),Ed=new Pn("INJECTOR",-1),Id=new Pn("INJECTOR_DEF_TYPES");class Sd{get(t,n=Os){if(n===Os){const r=new Error(`NullInjectorError: No provider for ${ee(t)}!`);throw r.name="NullInjectorError",r}return n}}function tv(...e){return{\u0275providers:Md(0,e)}}function Md(e,...t){const n=[],r=new Set;let i;return uo(t,s=>{const c=s;Fl(c,n,[],r)&&(i||(i=[]),i.push(c))}),void 0!==i&&Ad(i,n),n}function Ad(e,t){for(let n=0;n{t.push(s)})}}function Fl(e,t,n,r){if(!(e=fe(e)))return!1;let i=null,s=tr(e);const c=!s&&jt(e);if(s||c){if(c&&!c.standalone)return!1;i=e}else{const m=e.ngModule;if(s=tr(m),!s)return!1;i=m}const h=r.has(i);if(c){if(h)return!1;if(r.add(i),c.dependencies){const m="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const M of m)Fl(M,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!h){let M;r.add(i);try{uo(s.imports,B=>{Fl(B,t,n,r)&&(M||(M=[]),M.push(B))})}finally{}void 0!==M&&Ad(M,t)}if(!h){const M=Or(i)||(()=>new i);t.push({provide:i,useFactory:M,deps:Gt},{provide:Id,useValue:i,multi:!0},{provide:Ol,useValue:()=>cr(i),multi:!0})}const m=s.providers;null==m||h||uo(m,B=>{t.push(B)})}}return i!==e&&void 0!==e.providers}const nv=K({provide:String,useValue:K});function Nl(e){return null!==e&&"object"==typeof e&&nv in e}function _i(e){return"function"==typeof e}const Pl=new Pn("Set Injector scope."),Sa={},ov={};let kl;function Ma(){return void 0===kl&&(kl=new Sd),kl}class Ci{}class Rd extends Ci{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,Bl(t,c=>this.processProvider(c)),this.records.set(Ed,Zi(void 0,this)),i.has("environment")&&this.records.set(Ci,Zi(void 0,this));const s=this.records.get(Pl);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Id.multi,Gt,It.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=qi(this),r=mn(void 0);try{return t()}finally{qi(n),mn(r)}}get(t,n=Os,r=It.Default){this.assertNotDestroyed();const i=qi(this),s=mn(void 0);try{if(!(r&It.SkipSelf)){let h=this.records.get(t);if(void 0===h){const m=function cv(e){return"function"==typeof e||"object"==typeof e&&e instanceof Pn}(t)&&_t(t);h=m&&this.injectableDefInScope(m)?Zi(Ll(t),Sa):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&It.Self?Ma():this.parent).get(t,n=r&It.Optional&&n===Os?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[Da]=c[Da]||[]).unshift(ee(t)),i)throw c;return function vm(e,t,n,r){const i=e[Da];throw t[td]&&i.unshift(t[td]),e.message=function ym(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ee(t);if(Array.isArray(t))i=t.map(ee).join(" -> ");else if("object"==typeof t){let s=[];for(let c in t)if(t.hasOwnProperty(c)){let h=t[c];s.push(c+":"+("string"==typeof h?JSON.stringify(h):ee(h)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(hm,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Da]=null,e}(c,t,"R3InjectorError",this.source)}throw c}finally{mn(s),qi(i)}}resolveInjectorInitializers(){const t=qi(this),n=mn(void 0);try{const r=this.get(Ol.multi,Gt,It.Self);for(const i of r)i()}finally{qi(t),mn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ee(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ke(205,!1)}processProvider(t){let n=_i(t=fe(t))?t:fe(t&&t.provide);const r=function sv(e){return Nl(e)?Zi(void 0,e.useValue):Zi(Od(e),Sa)}(t);if(_i(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=Zi(void 0,Sa,!0),i.factory=()=>bl(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Sa&&(n.value=ov,n.value=n.factory()),"object"==typeof n.value&&n.value&&function lv(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=fe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Ll(e){const t=_t(e),n=null!==t?t.factory:Or(e);if(null!==n)return n;if(e instanceof Pn)throw new ke(204,!1);if(e instanceof Function)return function iv(e){const t=e.length;if(t>0)throw zi(t,"?"),new ke(204,!1);const n=function on(e){const t=e&&(e[Et]||e[zt]);if(t){const n=function Ht(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 ke(204,!1)}function Od(e,t,n){let r;if(_i(e)){const i=fe(e);return Or(i)||Ll(i)}if(Nl(e))r=()=>fe(e.useValue);else if(function xd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...bl(e.deps||[]));else if(function Td(e){return!(!e||!e.useExisting)}(e))r=()=>cr(fe(e.useExisting));else{const i=fe(e&&(e.useClass||e.provide));if(!function av(e){return!!e.deps}(e))return Or(i)||Ll(i);r=()=>new i(...bl(e.deps))}return r}function Zi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function uv(e){return!!e.\u0275providers}function Bl(e,t){for(const n of e)Array.isArray(n)?Bl(n,t):uv(n)?Bl(n.\u0275providers,t):t(n)}class Fd{}class hv{resolveComponentFactory(t){throw function fv(e){const t=Error(`No component factory found for ${ee(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let js=(()=>{class e{}return e.NULL=new hv,e})();function pv(){return Qi(jn(),nt())}function Qi(e,t){return new Us(b(e,t))}let Us=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=pv,e})();function gv(e){return e instanceof Us?e.nativeElement:e}class Pd{}let mv=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function vv(){const e=nt(),n=ve(jn().index,e);return(de(n)?n:e)[11]}(),e})(),yv=(()=>{class e{}return e.\u0275prov=mt({token:e,providedIn:"root",factory:()=>null}),e})();class kd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Dv=new kd("14.1.0"),$l={};function Gl(e){return e.ngOriginalError}class Gs{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&&Gl(t);for(;n&&Gl(n);)n=Gl(n);return n||null}}const Yl=new Map;let Ov=0;const Wl="__ngContext__";function xr(e,t){de(t)?(e[Wl]=t[20],function Nv(e){Yl.set(e[20],e)}(t)):e[Wl]=t}function Ys(e){const t=e[Wl];return"number"==typeof t?function Hd(e){return Yl.get(e)||null}(t):t||null}function ql(e){const t=Ys(e);return t?de(t)?t:t.lView:null}const Uv=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(kt))();function Go(e){return e instanceof Function?e():e}var Ao=(()=>((Ao=Ao||{})[Ao.Important=1]="Important",Ao[Ao.DashCase=2]="DashCase",Ao))();function Xl(e,t){return undefined(e,t)}function zs(e){const t=e[3];return me(t)?t[3]:t}function Zl(e){return Kd(e[13])}function Ql(e){return Kd(e[4])}function Kd(e){for(;null!==e&&!me(e);)e=e[4];return e}function es(e,t,n,r,i){if(null!=r){let s,c=!1;me(r)?s=r:de(r)&&(c=!0,r=r[0]);const h=Sn(r);0===e&&null!==n?null==i?tf(t,n,h):bi(t,n,h,i||null,!0):1===e&&null!==n?bi(t,n,h,i||null,!0):2===e?function uf(e,t,n){const r=Aa(e,t);r&&function ay(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,h,c):3===e&&t.destroyNode(h),null!=s&&function uy(e,t,n,r,i){const s=n[7];s!==Sn(n)&&es(t,e,r,s,i);for(let h=$;h0&&(e[n-1][4]=r[4]);const s=Yi(e,$+t);!function Jv(e,t){Ws(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const c=s[H];null!==c&&c.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Qd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Ws(e,t,n,3,null,null),function ny(e){let t=e[13];if(!t)return nc(e[1],e);for(;t;){let n=null;if(de(t))n=t[13];else{const r=t[$];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)de(t)&&nc(t[1],t),t=t[3];null===t&&(t=e),de(t)&&nc(t[1],t),n=t&&t[4]}t=n}}(t)}}function nc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function sy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[i=M]():r[i=-M].unsubscribe(),s+=2}else{const c=r[i=n[s+1]];n[s].call(c)}if(null!==r){for(let s=i+1;ss?"":i[Q+1].toLowerCase();const $e=8&r?be:null;if($e&&-1!==hf($e,M,0)||2&r&&M!==be){if(ho(r))return!1;c=!0}}}}else{if(!c&&!ho(r)&&!ho(m))return!1;if(c&&ho(m))continue;c=!1,r=m|1&r}}return ho(r)||c}function ho(e){return 0==(1&e)}function gy(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i-1)for(n++;n0?'="'+h+'"':"")+"]"}else 8&r?i+="."+c:4&r&&(i+=" "+c);else""!==i&&!ho(c)&&(t+=vf(s,i),i=""),r=c,s=s||!ho(r);n++}return""!==i&&(t+=vf(s,i)),t}const en={};function yf(e){Df(Zt(),nt(),_r()+e,!1)}function Df(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&Ft(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Ct(t,s,0,n)}Zr(n)}function wf(e,t=null,n=null,r){const i=Ef(e,t,n,r);return i.resolveInjectorInitializers(),i}function Ef(e,t=null,n=null,r,i=new Set){const s=[n||Gt,tv(e)];return r=r||("object"==typeof e?void 0:ee(e)),new Rd(s,t||Ma(),r||null,i)}let wi=(()=>{class e{static create(n,r){if(Array.isArray(n))return wf({name:""},r,n,"");{const i=n.name??"";return wf({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Os,e.NULL=new Sd,e.\u0275prov=mt({token:e,providedIn:"any",factory:()=>cr(Ed)}),e.__NG_ELEMENT_ID__=-1,e})();function ns(e,t=It.Default){const n=nt();return null===n?cr(e,t):ha(jn(),n,fe(e),t)}function Rf(){throw new Error("invalid")}function Oa(e,t){return e<<17|t<<2}function po(e){return e>>17&32767}function dc(e){return 2|e}function Yo(e){return(131068&e)>>2}function fc(e,t){return-131069&e|t<<2}function hc(e){return 1|e}function jf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&Df(e,t,22,!1),n(r,i)}finally{Zr(s)}}function Gf(e,t,n){if(Pe(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=m&&h.push(m),h.push(r,i,c)}}function Zf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Qf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function fD(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&Ac(n)}}function Ac(e){for(let r=Zl(e);null!==r;r=Ql(r))for(let i=$;i0&&Ac(s)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Ac(i)}}function DD(e,t){const n=ve(t,e),r=n[1];(function _D(e,t){for(let n=t.length;nPromise.resolve(null))();function oh(e){return e[7]||(e[7]=[])}function ih(e){return e.cleanup||(e.cleanup=[])}function ah(e,t){const n=e[9],r=n?n.get(Gs,null):null;r&&r.handleError(t)}function Oc(e,t,n,r,i){for(let s=0;s-1&&(tc(t,r),Yi(n,r))}this._attachedToViewContainer=!1}Qd(this._lView[1],this._lView)}onDestroy(t){zf(this._lView[1],this._lView,null,t)}markForCheck(){Tc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function xc(e,t,n){const r=t[10];r.begin&&r.begin();try{qs(e,t,e.template,n)}catch(i){throw ah(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ke(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ty(e,t){Ws(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ke(902,!1);this._appRef=t}}class wD extends Ks{constructor(t){super(t),this._view=t}detectChanges(){rh(this._view)}checkNoChanges(){}get context(){return null}}class Fc extends js{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=jt(t);return new Xs(n,this.ngModule)}}function lh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class ID{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,$l,r);return i!==$l||n===$l?i:this.parentInjector.get(t,n,r)}}class Xs extends Fd{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Cy(e){return e.map(_y).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return lh(this.componentDef.inputs)}get outputs(){return lh(this.componentDef.outputs)}create(t,n,r,i){let s=(i=i||this.ngModule)instanceof Ci?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const c=s?new ID(t,s):t,h=c.get(Pd,null);if(null===h)throw new ke(407,!1);const m=c.get(yv,null),M=h.createRenderer(null,this.componentDef),B=this.componentDef.selectors[0][0]||"div",Q=r?function nD(e,t,n){return e.selectRootElement(t,n===Pt.ShadowDom)}(M,r,this.componentDef.encapsulation):ec(h.createRenderer(null,this.componentDef),B,function ED(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(B)),be=this.componentDef.onPush?288:272,$e=function xD(e,t){return{components:[],scheduler:e||Uv,clean:bD,playerHandler:t||null,flags:0}}(),et=Ic(0,null,null,1,0,null,null,null,null,null),ut=Pa(null,et,$e,be,null,null,h,M,m,c,null);let yt,At;Xo(ut);try{const Ut=function AD(e,t,n,r,i,s){const c=n[1];n[22]=e;const m=rs(c,22,2,"#host",null),M=m.mergedAttrs=t.hostAttrs;null!==M&&(Ba(m,M,!0),null!==e&&(hi(i,e,M),null!==m.classes&&sc(i,e,m.classes),null!==m.styles&&ff(i,e,m.styles)));const B=r.createRenderer(e,t),Q=Pa(n,Yf(t),null,t.onPush?32:16,n[22],m,r,B,s||null,null,null);return c.firstCreatePass&&(Bi(Qo(m,n),c,t.type),Qf(c,m),Jf(m,n.length,1)),La(n,Q),n[22]=Q}(Q,this.componentDef,ut,h,M);if(Q)if(r)hi(M,Q,["ng-version",Dv.full]);else{const{attrs:it,classes:Lt}=function by(e){const t=[],n=[];let r=1,i=2;for(;r0&&sc(M,Q,Lt.join(" "))}if(At=w(et,22),void 0!==n){const it=At.projection=[];for(let Lt=0;Lt=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=pi(i.hostAttrs,n=pi(n,i.hostAttrs))}}(r)}function Pc(e){return e===Qt?{}:e===Gt?[]:e}function FD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function ND(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function PD(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let Va=null;function Ei(){if(!Va){const e=kt.Symbol;if(e&&e.iterator)Va=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nh(Sn(_n[r.index])):r.index;let Lt=null;if(!h&&m&&(Lt=function KD(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;sm?h[m]:null}"string"==typeof c&&(s+=2)}return null}(e,t,i,r.index)),null!==Lt)(Lt.__ngLastListenerFn__||Lt).__ngNextListenerFn__=s,Lt.__ngLastListenerFn__=s,$e=!1;else{s=Ih(r,t,Q,s,!1);const _n=n.listen(At,i,s);be.push(s,_n),B&&B.push(i,it,Ut,Ut+1)}}else s=Ih(r,t,Q,s,!1);const et=r.outputs;let ut;if($e&&null!==et&&(ut=et[i])){const yt=ut.length;if(yt)for(let At=0;At0;)t=t[15],e--;return t}(e,gt.lFrame.contextLView))[8]}(e)}function XD(e,t){let n=null;const r=function my(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=0}function Kc(e,t){return function go(e,t,n,r){const i=nt(),s=Zt(),c=ar(2);s.firstUpdatePass&&function Yh(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[_r()],c=function Gh(e,t){return t>=e.expandoStartIndex}(e,n);(function Kh(e,t){return 0!=(e.flags&(t?16:32))})(s,r)&&null===t&&!c&&(t=!1),t=function c0(e,t,n,r){const i=function Ri(e){const t=gt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Js(n=Xc(null,e,t,n,r),t.attrs,r),s=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==i)if(n=Xc(i,e,t,n,r),null===s){let m=function u0(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Yo(r))return e[po(r)]}(e,t,r);void 0!==m&&Array.isArray(m)&&(m=Xc(null,e,t,m[1],r),m=Js(m,t.attrs,r),function d0(e,t,n,r){e[po(n?t.classBindings:t.styleBindings)]=r}(e,t,r,m))}else s=function f0(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(M=!0)}else B=n;if(i)if(0!==m){const be=po(e[h+1]);e[r+1]=Oa(be,h),0!==be&&(e[be+1]=fc(e[be+1],r)),e[h+1]=function Hy(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=Oa(h,0),0!==h&&(e[h+1]=fc(e[h+1],r)),h=r;else e[r+1]=Oa(m,0),0===h?h=r:e[m+1]=fc(e[m+1],r),m=r;M&&(e[r+1]=dc(e[r+1])),kh(e,B,r,!0),kh(e,B,r,!1),function QD(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Ve(s,t)>=0&&(n[r+1]=hc(n[r+1]))}(t,B,e,r,s),c=Oa(h,m),s?t.classBindings=c:t.styleBindings=c}(i,s,t,n,c,r)}}(s,e,c,r),t!==en&&Rr(i,c,t)&&function Wh(e,t,n,r,i,s,c,h){if(!(3&t.type))return;const m=e.data,M=m[h+1];Ya(function Nf(e){return 1==(1&e)}(M)?qh(m,t,n,i,Yo(M),c):void 0)||(Ya(s)||function Ff(e){return 2==(2&e)}(M)&&(s=qh(m,null,n,i,h,c)),function dy(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:Ao.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=Ao.Important),e.setStyle(n,r,i,s))}}(r,c,yr(_r(),n),i,s))}(s,s.data[_r()],i,i[11],e,i[c+1]=function g0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ee(ni(e)))),e}(t,n),r,c)}(e,t,null,!0),Kc}function Xc(e,t,n,r,i){let s=null;const c=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h0;){const m=e[i],M=Array.isArray(m),B=M?m[1]:m,Q=null===B;let be=n[i+1];be===en&&(be=Q?Gt:void 0);let $e=Q?ue(be,r):B===r?be:void 0;if(M&&!Ya($e)&&($e=ue(m,r)),Ya($e)&&(h=$e,c))return h;const et=e[i+1];i=c?po(et):Yo(et)}if(null!==t){let m=s?t.residualClasses:t.residualStyles;null!=m&&(h=ue(m,r))}return h}function Ya(e){return void 0!==e}function Xh(e,t=""){const n=nt(),r=Zt(),i=e+22,s=r.firstCreatePass?rs(r,i,1,t,null):r.data[i],c=n[i]=function Jl(e,t){return e.createText(t)}(n[11],t);Ta(r,n,c,s),wr(s,!1)}function Zc(e){return za("",e,""),Zc}function za(e,t,n){const r=nt(),i=ss(r,e,t,n);return i!==en&&zo(r,_r(),i),za}function Qc(e,t,n,r,i){const s=nt(),c=as(s,e,t,n,r,i);return c!==en&&zo(s,_r(),c),Qc}function Jc(e,t,n,r,i,s,c){const h=nt(),m=ls(h,e,t,n,r,i,s,c);return m!==en&&zo(h,_r(),m),Jc}function eu(e,t,n,r,i,s,c,h,m){const M=nt(),B=cs(M,e,t,n,r,i,s,c,h,m);return B!==en&&zo(M,_r(),B),eu}const Si=void 0;var P0=["en",[["a","p"],["AM","PM"],Si],[["AM","PM"],Si,Si],[["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"]],Si,[["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"]],Si,[["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}",Si,"{1} 'at' {0}",Si],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function N0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let gs={};function tu(e){const t=function k0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=pp(t);if(n)return n;const r=t.split("-")[0];if(n=pp(r),n)return n;if("en"===r)return P0;throw new ke(701,!1)}function hp(e){return tu(e)[Vt.PluralCase]}function pp(e){return e in gs||(gs[e]=kt.ng&&kt.ng.common&&kt.ng.common.locales&&kt.ng.common.locales[e]),gs[e]}var Vt=(()=>((Vt=Vt||{})[Vt.LocaleId=0]="LocaleId",Vt[Vt.DayPeriodsFormat=1]="DayPeriodsFormat",Vt[Vt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Vt[Vt.DaysFormat=3]="DaysFormat",Vt[Vt.DaysStandalone=4]="DaysStandalone",Vt[Vt.MonthsFormat=5]="MonthsFormat",Vt[Vt.MonthsStandalone=6]="MonthsStandalone",Vt[Vt.Eras=7]="Eras",Vt[Vt.FirstDayOfWeek=8]="FirstDayOfWeek",Vt[Vt.WeekendRange=9]="WeekendRange",Vt[Vt.DateFormat=10]="DateFormat",Vt[Vt.TimeFormat=11]="TimeFormat",Vt[Vt.DateTimeFormat=12]="DateTimeFormat",Vt[Vt.NumberSymbols=13]="NumberSymbols",Vt[Vt.NumberFormats=14]="NumberFormats",Vt[Vt.CurrencyCode=15]="CurrencyCode",Vt[Vt.CurrencySymbol=16]="CurrencySymbol",Vt[Vt.CurrencyName=17]="CurrencyName",Vt[Vt.Currencies=18]="Currencies",Vt[Vt.Directionality=19]="Directionality",Vt[Vt.PluralCase=20]="PluralCase",Vt[Vt.ExtraData=21]="ExtraData",Vt))();const ms="en-US";let gp=ms;function ou(e,t,n,r,i){if(e=fe(e),Array.isArray(e))for(let s=0;s>20;if(_i(e)||!e.multi){const $e=new or(m,i,ns),et=su(h,t,i?B:B+be,Q);-1===et?(Bi(Qo(M,c),s,h),iu(s,e,t.length),t.push(h),M.directiveStart++,M.directiveEnd++,i&&(M.providerIndexes+=1048576),n.push($e),c.push($e)):(n[et]=$e,c[et]=$e)}else{const $e=su(h,t,B+be,Q),et=su(h,t,B,B+be),ut=$e>=0&&n[$e],yt=et>=0&&n[et];if(i&&!yt||!i&&!ut){Bi(Qo(M,c),s,h);const At=function F_(e,t,n,r,i){const s=new or(e,n,ns);return s.multi=[],s.index=t,s.componentProviders=0,Vp(s,i,r&&!n),s}(i?O_:R_,n.length,i,r,m);!i&&yt&&(n[et].providerFactory=At),iu(s,e,t.length,0),t.push(h),M.directiveStart++,M.directiveEnd++,i&&(M.providerIndexes+=1048576),n.push(At),c.push(At)}else iu(s,e,$e>-1?$e:et,Vp(n[i?et:$e],m,!i&&r));!i&&r&&yt&&n[et].componentProviders++}}}function iu(e,t,n,r){const i=_i(t),s=function rv(e){return!!e.useClass}(t);if(i||s){const m=(s?fe(t.useClass):t).prototype.ngOnDestroy;if(m){const M=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const B=M.indexOf(n);-1===B?M.push(n,[r,m]):M[B+1].push(r,m)}else M.push(n,m)}}}function Vp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function su(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function x_(e,t,n){const r=Zt();if(r.firstCreatePass){const i=pt(e);ou(n,r.data,r.blueprint,i,!0),ou(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class ys{}class jp{}function N_(e,t){return new Up(e,t??null)}class Up extends ys{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Fc(this);const r=ne(t);this._bootstrapComponents=Go(r.bootstrap),this._r3Injector=Ef(t,n,[{provide:ys,useValue:this},{provide:js,useValue:this.componentFactoryResolver}],ee(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 lu extends jp{constructor(t){super(),this.moduleType=t}create(t){return new Up(this.moduleType,t)}}class P_ extends ys{constructor(t,n,r){super(),this.componentFactoryResolver=new Fc(this),this.instance=null;const i=new Rd([...t,{provide:ys,useValue:this},{provide:js,useValue:this.componentFactoryResolver}],n||Ma(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function cu(e,t,n=null){return new P_(e,t,n).injector}function Xp(e,t,n){const r=rn()+e,i=nt();return i[r]===en?xo(i,r,n?t.call(n):t()):function Qs(e,t){return e[t]}(i,r)}function Zp(e,t,n,r,i,s){const c=t+n;return Rr(e,c,i)?xo(e,c+1,s?r.call(s,i):r(i)):function oa(e,t){const n=e[t];return n===en?void 0:n}(e,c+1)}function ng(e,t){const n=Zt();let r;const i=e+22;n.firstCreatePass?(r=function tC(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=Or(r.type)),c=mn(ns);try{const h=Pi(!1),m=s();return Pi(h),function YD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,nt(),i,m),m}finally{mn(c)}}function rg(e,t,n){const r=e+22,i=nt(),s=function Y(e,t){return e[t]}(i,r);return function ia(e,t){return e[1].data[t].pure}(i,r)?Zp(i,rn(),t,s.transform,n,s):s.transform(n)}function du(e){return t=>{setTimeout(e,void 0,t)}}const Fo=class sC extends q.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),c=r;if(t&&"object"==typeof t){const m=t;i=m.next?.bind(m),s=m.error?.bind(m),c=m.complete?.bind(m)}this.__isAsync&&(s=du(s),i&&(i=du(i)),c&&(c=du(c)));const h=super.subscribe({next:i,error:s,complete:c});return t instanceof ye.w0&&t.add(h),h}};function aC(){return this._results[Ei()]()}class fu{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=Ei(),r=fu.prototype;r[n]||(r[n]=aC)}get changes(){return this._changes||(this._changes=new Fo)}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=Er(t);(this._changesDetected=!function _l(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=uC,e})();const lC=sa,cC=class extends lC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=Pa(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const c=this._declarationLView[H];return null!==c&&(i[H]=c.createEmbeddedView(r)),ka(r,i,t),new Ks(i)}};function uC(){return Za(jn(),nt())}function Za(e,t){return 4&e.type?new cC(t,e,Qi(e,t)):null}let Qa=(()=>{class e{}return e.__NG_ELEMENT_ID__=dC,e})();function dC(){return sg(jn(),nt())}const fC=Qa,og=class extends fC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Qi(this._hostTNode,this._hostLView)}get injector(){return new ei(this._hostTNode,this._hostLView)}get parentInjector(){const t=Li(this._hostTNode,this._hostLView);if(ca(t)){const n=Zo(t,this._hostLView),r=Io(t);return new ei(n[1].data[r+8],n)}return new ei(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ig(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-$}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const c=t.createEmbeddedView(n||{},s);return this.insert(c,i),c}createComponent(t,n,r,i,s){const c=t&&!function Di(e){return"function"==typeof e}(t);let h;if(c)h=n;else{const Q=n||{};h=Q.index,r=Q.injector,i=Q.projectableNodes,s=Q.environmentInjector||Q.ngModuleRef}const m=c?t:new Xs(jt(t)),M=r||this.parentInjector;if(!s&&null==m.ngModule){const be=(c?M:this.parentInjector).get(Ci,null);be&&(s=be)}const B=m.create(M,i,void 0,s);return this.insert(B.hostView,h),B}insert(t,n){const r=t._lView,i=r[1];if(function xt(e){return me(e[3])}(r)){const B=this.indexOf(t);if(-1!==B)this.detach(B);else{const Q=r[3],be=new og(Q,Q[6],Q[3]);be.detach(be.indexOf(t))}}const s=this._adjustIndex(n),c=this._lContainer;!function ry(e,t,n,r){const i=$+r,s=n.length;r>0&&(n[i-1][4]=t),r0)r.push(c[h/2]);else{const M=s[h+1],B=t[-m];for(let Q=$;Q{class e{constructor(n){this.appInits=n,this.resolve=el,this.reject=el,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{s.subscribe({complete:h,error:m})});n.push(c)}}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)(cr(Ng,8))},e.\u0275prov=mt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Pg=new Pn("AppId",{providedIn:"root",factory:function kg(){return`${wu()}${wu()}${wu()}`}});function wu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Lg=new Pn("Platform Initializer"),HC=new Pn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Bg=new Pn("appBootstrapListener");let jC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=mt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const nl=new Pn("LocaleId",{providedIn:"root",factory:()=>rd(nl,It.Optional|It.SkipSelf)||function UC(){return typeof $localize<"u"&&$localize.locale||ms}()}),GC=new Pn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class YC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let zC=(()=>{class e{compileModuleSync(n){return new lu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=Go(ne(n).declarations).reduce((c,h)=>{const m=jt(h);return m&&c.push(new Xs(m)),c},[]);return new YC(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=mt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const KC=(()=>Promise.resolve(0))();function Eu(e){typeof Zone>"u"?KC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Wr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Fo(!1),this.onMicrotaskEmpty=new Fo(!1),this.onStable=new Fo(!1),this.onError=new Fo(!1),typeof Zone>"u")throw new ke(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 XC(){let e=kt.requestAnimationFrame,t=kt.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 JC(e){const t=()=>{!function QC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(kt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Su(e),e.isCheckStableRunning=!0,Iu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Su(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,c,h)=>{try{return Hg(e),n.invokeTask(i,s,c,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),jg(e)}},onInvoke:(n,r,i,s,c,h,m)=>{try{return Hg(e),n.invoke(i,s,c,h,m)}finally{e.shouldCoalesceRunChangeDetection&&t(),jg(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Su(e),Iu(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(!Wr.isInAngularZone())throw new ke(909,!1)}static assertNotInAngularZone(){if(Wr.isInAngularZone())throw new ke(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,c=s.scheduleEventTask("NgZoneEvent: "+i,t,ZC,el,el);try{return s.runTask(c,n,r)}finally{s.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const ZC={};function Iu(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 Su(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Hg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function jg(e){e._nesting--,Iu(e)}class eb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Fo,this.onMicrotaskEmpty=new Fo,this.onStable=new Fo,this.onError=new Fo}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 Ug=new Pn(""),Gg=new Pn("");let Mu,tb=(()=>{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,Mu||(function nb(e){Mu=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:()=>{Wr.assertNotInAngularZone(),Eu(()=>{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())Eu(()=>{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(c=>c.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)(cr(Wr),cr(Yg),cr(Gg))},e.\u0275prov=mt({token:e,factory:e.\u0275fac}),e})(),Yg=(()=>{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 Mu?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=mt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),ii=null;const zg=new Pn("AllowMultipleToken"),Au=new Pn("PlatformDestroyListeners");class ib{constructor(t,n){this.name=t,this.token=n}}function qg(e,t,n=[]){const r=`Platform: ${t}`,i=new Pn(r);return(s=[])=>{let c=Tu();if(!c||c.injector.get(zg,!1)){const h=[...n,...s,{provide:i,useValue:!0}];e?e(h):function sb(e){if(ii&&!ii.get(zg,!1))throw new ke(400,!1);ii=e;const t=e.get(Xg);(function Wg(e){const t=e.get(Lg,null);t&&t.forEach(n=>n())})(e)}(function Kg(e=[],t){return wi.create({name:t,providers:[{provide:Pl,useValue:"platform"},{provide:Au,useValue:new Set([()=>ii=null])},...e]})}(h,r))}return function lb(e){const t=Tu();if(!t)throw new ke(401,!1);return t}()}}function Tu(){return ii?.get(Xg)??null}let Xg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function cb(e,t){let n;return n="noop"===e?new eb:("zone.js"===e?void 0:e)||new Wr(t),n}(r?.ngZone,function Zg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),s=[{provide:Wr,useValue:i}];return i.run(()=>{const c=wi.create({providers:s,parent:this.injector,name:n.moduleType.name}),h=n.create(c),m=h.injector.get(Gs,null);if(!m)throw new ke(402,!1);return i.runOutsideAngular(()=>{const M=i.onError.subscribe({next:B=>{m.handleError(B)}});h.onDestroy(()=>{ol(this._modules,h),M.unsubscribe()})}),function Qg(e,t,n){try{const r=n();return Yc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(m,i,()=>{const M=h.injector.get(tl);return M.runInitializers(),M.donePromise.then(()=>(function mp(e){qe(e,"Expected localeId to be defined"),"string"==typeof e&&(gp=e.toLowerCase().replace(/_/g,"-"))}(h.injector.get(nl,ms)||ms),this._moduleDoBootstrap(h),h))})})}bootstrapModule(n,r=[]){const i=Jg({},r);return function rb(e,t,n){const r=new lu(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(rl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new ke(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 ke(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Au,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)(cr(wi))},e.\u0275prov=mt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Jg(e,t){return Array.isArray(t)?t.reduce(Jg,e):{...e,...t}}let rl=(()=>{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 U.y(h=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{h.next(this._stable),h.complete()})}),c=new U.y(h=>{let m;this._zone.runOutsideAngular(()=>{m=this._zone.onStable.subscribe(()=>{Wr.assertNotInAngularZone(),Eu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,h.next(!0))})})});const M=this._zone.onUnstable.subscribe(()=>{Wr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{h.next(!1)}))});return()=>{m.unsubscribe(),M.unsubscribe()}});this.isStable=function Fe(...e){const t=(0,he.yG)(e),n=(0,he._6)(e,1/0),r=e;return r.length?1===r.length?(0,I.Xf)(r[0]):(0,o.J)(n)((0,Oe.D)(r,t)):Te.E}(s,c.pipe((0,z.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Fd;if(!this._injector.get(tl).done)throw!i&&_s(n),new ke(405,false);let c;c=i?n:this._injector.get(js).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const h=function ob(e){return e.isBoundToModule}(c)?void 0:this._injector.get(ys),M=c.create(wi.NULL,[],r||c.selector,h),B=M.location.nativeElement,Q=M.injector.get(Ug,null);return Q?.registerApplication(B),M.onDestroy(()=>{this.detachView(M.hostView),ol(this.components,M),Q?.unregisterApplication(B)}),this._loadComponent(M),M}tick(){if(this._runningTick)throw new ke(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;ol(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Bg,[]).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),()=>ol(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ke(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)(cr(Wr),cr(Ci),cr(Gs))},e.\u0275prov=mt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ol(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let tm=!0;function db(){tm=!1}let fb=(()=>{class e{}return e.__NG_ELEMENT_ID__=hb,e})();function hb(e){return function pb(e,t,n){if(Xe(e)&&!n){const r=ve(e.index,t);return new Ks(r,r)}return 47&e.type?new Ks(t[j],t):null}(jn(),nt(),16==(16&e))}class sm{constructor(){}supports(t){return Zs(t)}create(t){return new _b(t)}}const Db=(e,t)=>t;class _b{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||Db}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 c=!r||n&&n.currentIndex{c=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,h,c,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,c,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 Cb(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 am),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 am),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 Cb{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 bb{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 am{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new bb,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 lm(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{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,c=i._next;return s&&(s._next=c),c&&(c._prev=s),i._next=null,i._prev=null,i}const r=new Eb(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 Eb{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 um(){return new Nu([new sm])}let Nu=(()=>{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||um()),deps:[[e,new ks,new Ps]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new ke(901,!1)}}return e.\u0275prov=mt({token:e,providedIn:"root",factory:um}),e})();function dm(){return new Pu([new cm])}let Pu=(()=>{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||dm()),deps:[[e,new ks,new Ps]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new ke(901,!1)}}return e.\u0275prov=mt({token:e,providedIn:"root",factory:dm}),e})();const Mb=qg(null,"core",[]);let Ab=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(cr(rl))},e.\u0275mod=qn({type:e}),e.\u0275inj=Bt({}),e})();function Tb(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},433:(wt,Ye,L)=>{"use strict";L.d(Ye,{Fj:()=>te,NI:()=>J,u:()=>Ur,cw:()=>Re,sg:()=>br,u5:()=>Pr,nD:()=>gt,JU:()=>Se,a5:()=>sn,JJ:()=>mn,JL:()=>Jn,On:()=>Br,_:()=>_o,UX:()=>qr});var o=L(8274),I=L(6895),Te=L(9751),he=L(4742),Oe=L(8421),Fe=L(7669),q=L(5403),ye=L(3268),U=L(1810),K=L(2076),O=L(4004);let ee=(()=>{class E{constructor(D,G){this._renderer=D,this._elementRef=G,this.onChange=ze=>{},this.onTouched=()=>{}}setProperty(D,G){this._renderer.setProperty(this._elementRef.nativeElement,D,G)}registerOnTouched(D){this.onTouched=D}registerOnChange(D){this.onChange=D}setDisabledState(D){this.setProperty("disabled",D)}}return E.\u0275fac=function(D){return new(D||E)(o.Y36(o.Qsj),o.Y36(o.SBq))},E.\u0275dir=o.lG2({type:E}),E})(),pe=(()=>{class E extends ee{}return E.\u0275fac=function(){let _;return function(G){return(_||(_=o.n5z(E)))(G||E)}}(),E.\u0275dir=o.lG2({type:E,features:[o.qOj]}),E})();const Se=new o.OlP("NgValueAccessor"),we={provide:Se,useExisting:(0,o.Gpc)(()=>te),multi:!0},ke=new o.OlP("CompositionEventMode");let te=(()=>{class E extends ee{constructor(D,G,ze){super(D,G),this._compositionMode=ze,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function We(){const E=(0,I.q)()?(0,I.q)().getUserAgent():"";return/android (\d+)/.test(E.toLowerCase())}())}writeValue(D){this.setProperty("value",D??"")}_handleInput(D){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(D)}_compositionStart(){this._composing=!0}_compositionEnd(D){this._composing=!1,this._compositionMode&&this.onChange(D)}}return E.\u0275fac=function(D){return new(D||E)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(ke,8))},E.\u0275dir=o.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(D,G){1&D&&o.NdJ("input",function(Mt){return G._handleInput(Mt.target.value)})("blur",function(){return G.onTouched()})("compositionstart",function(){return G._compositionStart()})("compositionend",function(Mt){return G._compositionEnd(Mt.target.value)})},features:[o._Bn([we]),o.qOj]}),E})();const De=new o.OlP("NgValidators"),Le=new o.OlP("NgAsyncValidators");function Be(E){return null}function Ne(E){return null!=E}function xe(E){return(0,o.QGY)(E)?(0,K.D)(E):E}function Ue(E){let _={};return E.forEach(D=>{_=null!=D?{..._,...D}:_}),0===Object.keys(_).length?null:_}function qe(E,_){return _.map(D=>D(E))}function ot(E){return E.map(_=>function tt(E){return!E.validate}(_)?_:D=>_.validate(D))}function Wt(E){return null!=E?function Dt(E){if(!E)return null;const _=E.filter(Ne);return 0==_.length?null:function(D){return Ue(qe(D,_))}}(ot(E)):null}function ln(E){return null!=E?function mt(E){if(!E)return null;const _=E.filter(Ne);return 0==_.length?null:function(D){return function z(...E){const _=(0,Fe.jO)(E),{args:D,keys:G}=(0,he.D)(E),ze=new Te.y(Mt=>{const{length:rn}=D;if(!rn)return void Mt.complete();const zn=new Array(rn);let Vr=rn,Dr=rn;for(let ar=0;ar{Hr||(Hr=!0,Dr--),zn[ar]=Ko},()=>Vr--,void 0,()=>{(!Vr||!Hr)&&(Dr||Mt.next(G?(0,U.n)(G,zn):zn),Mt.complete())}))}});return _?ze.pipe((0,ye.Z)(_)):ze}(qe(D,_).map(xe)).pipe((0,O.U)(Ue))}}(ot(E)):null}function Bt(E,_){return null===E?[_]:Array.isArray(E)?[...E,_]:[E,_]}function _t(E){return E._rawValidators}function An(E){return E._rawAsyncValidators}function on(E){return E?Array.isArray(E)?E:[E]:[]}function Ht(E,_){return Array.isArray(E)?E.includes(_):E===_}function tr(E,_){const D=on(_);return on(E).forEach(ze=>{Ht(D,ze)||D.push(ze)}),D}function Et(E,_){return on(_).filter(D=>!Ht(E,D))}class tn{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(_){this._rawValidators=_||[],this._composedValidatorFn=Wt(this._rawValidators)}_setAsyncValidators(_){this._rawAsyncValidators=_||[],this._composedAsyncValidatorFn=ln(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(_){this._onDestroyCallbacks.push(_)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(_=>_()),this._onDestroyCallbacks=[]}reset(_){this.control&&this.control.reset(_)}hasError(_,D){return!!this.control&&this.control.hasError(_,D)}getError(_,D){return this.control?this.control.getError(_,D):null}}class zt extends tn{get formDirective(){return null}get path(){return null}}class sn extends tn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class It{constructor(_){this._cd=_}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 mn=(()=>{class E extends It{constructor(D){super(D)}}return E.\u0275fac=function(D){return new(D||E)(o.Y36(sn,2))},E.\u0275dir=o.lG2({type:E,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(D,G){2&D&&o.ekj("ng-untouched",G.isUntouched)("ng-touched",G.isTouched)("ng-pristine",G.isPristine)("ng-dirty",G.isDirty)("ng-valid",G.isValid)("ng-invalid",G.isInvalid)("ng-pending",G.isPending)},features:[o.qOj]}),E})(),Jn=(()=>{class E extends It{constructor(D){super(D)}}return E.\u0275fac=function(D){return new(D||E)(o.Y36(zt,10))},E.\u0275dir=o.lG2({type:E,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(D,G){2&D&&o.ekj("ng-untouched",G.isUntouched)("ng-touched",G.isTouched)("ng-pristine",G.isPristine)("ng-dirty",G.isDirty)("ng-valid",G.isValid)("ng-invalid",G.isInvalid)("ng-pending",G.isPending)("ng-submitted",G.isSubmitted)},features:[o.qOj]}),E})();const hn="VALID",En="INVALID",Jt="PENDING",un="DISABLED";function Nn(E){return($n(E)?E.validators:E)||null}function qn(E){return Array.isArray(E)?Wt(E):E||null}function Bn(E,_){return($n(_)?_.asyncValidators:E)||null}function Gn(E){return Array.isArray(E)?ln(E):E||null}function $n(E){return null!=E&&!Array.isArray(E)&&"object"==typeof E}class dn{constructor(_,D){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=_,this._rawAsyncValidators=D,this._composedValidatorFn=qn(this._rawValidators),this._composedAsyncValidatorFn=Gn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(_){this._rawValidators=this._composedValidatorFn=_}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(_){this._rawAsyncValidators=this._composedAsyncValidatorFn=_}get parent(){return this._parent}get valid(){return this.status===hn}get invalid(){return this.status===En}get pending(){return this.status==Jt}get disabled(){return this.status===un}get enabled(){return this.status!==un}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(_){this._rawValidators=_,this._composedValidatorFn=qn(_)}setAsyncValidators(_){this._rawAsyncValidators=_,this._composedAsyncValidatorFn=Gn(_)}addValidators(_){this.setValidators(tr(_,this._rawValidators))}addAsyncValidators(_){this.setAsyncValidators(tr(_,this._rawAsyncValidators))}removeValidators(_){this.setValidators(Et(_,this._rawValidators))}removeAsyncValidators(_){this.setAsyncValidators(Et(_,this._rawAsyncValidators))}hasValidator(_){return Ht(this._rawValidators,_)}hasAsyncValidator(_){return Ht(this._rawAsyncValidators,_)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(_={}){this.touched=!0,this._parent&&!_.onlySelf&&this._parent.markAsTouched(_)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(_=>_.markAllAsTouched())}markAsUntouched(_={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(D=>{D.markAsUntouched({onlySelf:!0})}),this._parent&&!_.onlySelf&&this._parent._updateTouched(_)}markAsDirty(_={}){this.pristine=!1,this._parent&&!_.onlySelf&&this._parent.markAsDirty(_)}markAsPristine(_={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(D=>{D.markAsPristine({onlySelf:!0})}),this._parent&&!_.onlySelf&&this._parent._updatePristine(_)}markAsPending(_={}){this.status=Jt,!1!==_.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!_.onlySelf&&this._parent.markAsPending(_)}disable(_={}){const D=this._parentMarkedDirty(_.onlySelf);this.status=un,this.errors=null,this._forEachChild(G=>{G.disable({..._,onlySelf:!0})}),this._updateValue(),!1!==_.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({..._,skipPristineCheck:D}),this._onDisabledChange.forEach(G=>G(!0))}enable(_={}){const D=this._parentMarkedDirty(_.onlySelf);this.status=hn,this._forEachChild(G=>{G.enable({..._,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:_.emitEvent}),this._updateAncestors({..._,skipPristineCheck:D}),this._onDisabledChange.forEach(G=>G(!1))}_updateAncestors(_){this._parent&&!_.onlySelf&&(this._parent.updateValueAndValidity(_),_.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(_){this._parent=_}getRawValue(){return this.value}updateValueAndValidity(_={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===hn||this.status===Jt)&&this._runAsyncValidator(_.emitEvent)),!1!==_.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!_.onlySelf&&this._parent.updateValueAndValidity(_)}_updateTreeValidity(_={emitEvent:!0}){this._forEachChild(D=>D._updateTreeValidity(_)),this.updateValueAndValidity({onlySelf:!0,emitEvent:_.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?un:hn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(_){if(this.asyncValidator){this.status=Jt,this._hasOwnPendingAsyncValidator=!0;const D=xe(this.asyncValidator(this));this._asyncValidationSubscription=D.subscribe(G=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(G,{emitEvent:_})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(_,D={}){this.errors=_,this._updateControlsErrors(!1!==D.emitEvent)}get(_){let D=_;return null==D||(Array.isArray(D)||(D=D.split(".")),0===D.length)?null:D.reduce((G,ze)=>G&&G._find(ze),this)}getError(_,D){const G=D?this.get(D):this;return G&&G.errors?G.errors[_]:null}hasError(_,D){return!!this.getError(_,D)}get root(){let _=this;for(;_._parent;)_=_._parent;return _}_updateControlsErrors(_){this.status=this._calculateStatus(),_&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(_)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?un:this.errors?En:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Jt)?Jt:this._anyControlsHaveStatus(En)?En:hn}_anyControlsHaveStatus(_){return this._anyControls(D=>D.status===_)}_anyControlsDirty(){return this._anyControls(_=>_.dirty)}_anyControlsTouched(){return this._anyControls(_=>_.touched)}_updatePristine(_={}){this.pristine=!this._anyControlsDirty(),this._parent&&!_.onlySelf&&this._parent._updatePristine(_)}_updateTouched(_={}){this.touched=this._anyControlsTouched(),this._parent&&!_.onlySelf&&this._parent._updateTouched(_)}_registerOnCollectionChange(_){this._onCollectionChange=_}_setUpdateStrategy(_){$n(_)&&null!=_.updateOn&&(this._updateOn=_.updateOn)}_parentMarkedDirty(_){return!_&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(_){return null}}class Re extends dn{constructor(_,D,G){super(Nn(D),Bn(G,D)),this.controls=_,this._initObservables(),this._setUpdateStrategy(D),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(_,D){return this.controls[_]?this.controls[_]:(this.controls[_]=D,D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange),D)}addControl(_,D,G={}){this.registerControl(_,D),this.updateValueAndValidity({emitEvent:G.emitEvent}),this._onCollectionChange()}removeControl(_,D={}){this.controls[_]&&this.controls[_]._registerOnCollectionChange(()=>{}),delete this.controls[_],this.updateValueAndValidity({emitEvent:D.emitEvent}),this._onCollectionChange()}setControl(_,D,G={}){this.controls[_]&&this.controls[_]._registerOnCollectionChange(()=>{}),delete this.controls[_],D&&this.registerControl(_,D),this.updateValueAndValidity({emitEvent:G.emitEvent}),this._onCollectionChange()}contains(_){return this.controls.hasOwnProperty(_)&&this.controls[_].enabled}setValue(_,D={}){(function jt(E,_,D){E._forEachChild((G,ze)=>{if(void 0===D[ze])throw new o.vHH(1002,"")})})(this,0,_),Object.keys(_).forEach(G=>{(function Kn(E,_,D){const G=E.controls;if(!(_?Object.keys(G):G).length)throw new o.vHH(1e3,"");if(!G[D])throw new o.vHH(1001,"")})(this,!0,G),this.controls[G].setValue(_[G],{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D)}patchValue(_,D={}){null!=_&&(Object.keys(_).forEach(G=>{const ze=this.controls[G];ze&&ze.patchValue(_[G],{onlySelf:!0,emitEvent:D.emitEvent})}),this.updateValueAndValidity(D))}reset(_={},D={}){this._forEachChild((G,ze)=>{G.reset(_[ze],{onlySelf:!0,emitEvent:D.emitEvent})}),this._updatePristine(D),this._updateTouched(D),this.updateValueAndValidity(D)}getRawValue(){return this._reduceChildren({},(_,D,G)=>(_[G]=D.getRawValue(),_))}_syncPendingControls(){let _=this._reduceChildren(!1,(D,G)=>!!G._syncPendingControls()||D);return _&&this.updateValueAndValidity({onlySelf:!0}),_}_forEachChild(_){Object.keys(this.controls).forEach(D=>{const G=this.controls[D];G&&_(G,D)})}_setUpControls(){this._forEachChild(_=>{_.setParent(this),_._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(_){for(const[D,G]of Object.entries(this.controls))if(this.contains(D)&&_(G))return!0;return!1}_reduceValue(){return this._reduceChildren({},(D,G,ze)=>((G.enabled||this.disabled)&&(D[ze]=G.value),D))}_reduceChildren(_,D){let G=_;return this._forEachChild((ze,Mt)=>{G=D(G,ze,Mt)}),G}_allControlsDisabled(){for(const _ of Object.keys(this.controls))if(this.controls[_].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(_){return this.controls.hasOwnProperty(_)?this.controls[_]:null}}function dt(E,_){return[..._.path,E]}function Tt(E,_){qt(E,_),_.valueAccessor.writeValue(E.value),E.disabled&&_.valueAccessor.setDisabledState?.(!0),function Tn(E,_){_.valueAccessor.registerOnChange(D=>{E._pendingValue=D,E._pendingChange=!0,E._pendingDirty=!0,"change"===E.updateOn&&Xt(E,_)})}(E,_),function Vn(E,_){const D=(G,ze)=>{_.valueAccessor.writeValue(G),ze&&_.viewToModelUpdate(G)};E.registerOnChange(D),_._registerOnDestroy(()=>{E._unregisterOnChange(D)})}(E,_),function bt(E,_){_.valueAccessor.registerOnTouched(()=>{E._pendingTouched=!0,"blur"===E.updateOn&&E._pendingChange&&Xt(E,_),"submit"!==E.updateOn&&E.markAsTouched()})}(E,_),function vn(E,_){if(_.valueAccessor.setDisabledState){const D=G=>{_.valueAccessor.setDisabledState(G)};E.registerOnDisabledChange(D),_._registerOnDestroy(()=>{E._unregisterOnDisabledChange(D)})}}(E,_)}function Nt(E,_,D=!0){const G=()=>{};_.valueAccessor&&(_.valueAccessor.registerOnChange(G),_.valueAccessor.registerOnTouched(G)),Cn(E,_),E&&(_._invokeOnDestroyCallbacks(),E._registerOnCollectionChange(()=>{}))}function $t(E,_){E.forEach(D=>{D.registerOnValidatorChange&&D.registerOnValidatorChange(_)})}function qt(E,_){const D=_t(E);null!==_.validator?E.setValidators(Bt(D,_.validator)):"function"==typeof D&&E.setValidators([D]);const G=An(E);null!==_.asyncValidator?E.setAsyncValidators(Bt(G,_.asyncValidator)):"function"==typeof G&&E.setAsyncValidators([G]);const ze=()=>E.updateValueAndValidity();$t(_._rawValidators,ze),$t(_._rawAsyncValidators,ze)}function Cn(E,_){let D=!1;if(null!==E){if(null!==_.validator){const ze=_t(E);if(Array.isArray(ze)&&ze.length>0){const Mt=ze.filter(rn=>rn!==_.validator);Mt.length!==ze.length&&(D=!0,E.setValidators(Mt))}}if(null!==_.asyncValidator){const ze=An(E);if(Array.isArray(ze)&&ze.length>0){const Mt=ze.filter(rn=>rn!==_.asyncValidator);Mt.length!==ze.length&&(D=!0,E.setAsyncValidators(Mt))}}}const G=()=>{};return $t(_._rawValidators,G),$t(_._rawAsyncValidators,G),D}function Xt(E,_){E._pendingDirty&&E.markAsDirty(),E.setValue(E._pendingValue,{emitModelToViewChange:!1}),_.viewToModelUpdate(E._pendingValue),E._pendingChange=!1}function Ie(E,_){if(!E.hasOwnProperty("model"))return!1;const D=E.model;return!!D.isFirstChange()||!Object.is(_,D.currentValue)}function k(E,_){if(!_)return null;let D,G,ze;return Array.isArray(_),_.forEach(Mt=>{Mt.constructor===te?D=Mt:function Je(E){return Object.getPrototypeOf(E.constructor)===pe}(Mt)?G=Mt:ze=Mt}),ze||G||D||null}function x(E,_){const D=E.indexOf(_);D>-1&&E.splice(D,1)}function $(E){return"object"==typeof E&&null!==E&&2===Object.keys(E).length&&"value"in E&&"disabled"in E}const J=class extends dn{constructor(_=null,D,G){super(Nn(D),Bn(G,D)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(_),this._setUpdateStrategy(D),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$n(D)&&(D.nonNullable||D.initialValueIsDefault)&&(this.defaultValue=$(_)?_.value:_)}setValue(_,D={}){this.value=this._pendingValue=_,this._onChange.length&&!1!==D.emitModelToViewChange&&this._onChange.forEach(G=>G(this.value,!1!==D.emitViewToModelChange)),this.updateValueAndValidity(D)}patchValue(_,D={}){this.setValue(_,D)}reset(_=this.defaultValue,D={}){this._applyFormState(_),this.markAsPristine(D),this.markAsUntouched(D),this.setValue(this.value,D),this._pendingChange=!1}_updateValue(){}_anyControls(_){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(_){this._onChange.push(_)}_unregisterOnChange(_){x(this._onChange,_)}registerOnDisabledChange(_){this._onDisabledChange.push(_)}_unregisterOnDisabledChange(_){x(this._onDisabledChange,_)}_forEachChild(_){}_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(_){$(_)?(this.value=this._pendingValue=_.value,_.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=_}},Hn={provide:sn,useExisting:(0,o.Gpc)(()=>Br)},dr=(()=>Promise.resolve(null))();let Br=(()=>{class E extends sn{constructor(D,G,ze,Mt,rn){super(),this._changeDetectorRef=rn,this.control=new J,this._registered=!1,this.update=new o.vpe,this._parent=D,this._setValidators(G),this._setAsyncValidators(ze),this.valueAccessor=k(0,Mt)}ngOnChanges(D){if(this._checkForErrors(),!this._registered||"name"in D){if(this._registered&&(this._checkName(),this.formDirective)){const G=D.name.previousValue;this.formDirective.removeControl({name:G,path:this._getPath(G)})}this._setUpControl()}"isDisabled"in D&&this._updateDisabled(D),Ie(D,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(D){this.viewModel=D,this.update.emit(D)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Tt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(D){dr.then(()=>{this.control.setValue(D,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(D){const G=D.isDisabled.currentValue,ze=0!==G&&(0,o.D6c)(G);dr.then(()=>{ze&&!this.control.disabled?this.control.disable():!ze&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(D){return this._parent?dt(D,this._parent):[D]}}return E.\u0275fac=function(D){return new(D||E)(o.Y36(zt,9),o.Y36(De,10),o.Y36(Le,10),o.Y36(Se,10),o.Y36(o.sBO,8))},E.\u0275dir=o.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:[o._Bn([Hn]),o.qOj,o.TTD]}),E})();const yo={provide:Se,useExisting:(0,o.Gpc)(()=>_o),multi:!0};let Po=(()=>{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275mod=o.oAB({type:E}),E.\u0275inj=o.cJS({}),E})(),qo=(()=>{class E{constructor(){this._accessors=[]}add(D,G){this._accessors.push([D,G])}remove(D){for(let G=this._accessors.length-1;G>=0;--G)if(this._accessors[G][1]===D)return void this._accessors.splice(G,1)}select(D){this._accessors.forEach(G=>{this._isSameGroup(G,D)&&G[1]!==D&&G[1].fireUncheck(D.value)})}_isSameGroup(D,G){return!!D[0].control&&D[0]._parent===G._control._parent&&D[1].name===G.name}}return E.\u0275fac=function(D){return new(D||E)},E.\u0275prov=o.Yz7({token:E,factory:E.\u0275fac,providedIn:Po}),E})(),_o=(()=>{class E extends pe{constructor(D,G,ze,Mt){super(D,G),this._registry=ze,this._injector=Mt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(sn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(D){this._state=D===this.value,this.setProperty("checked",this._state)}registerOnChange(D){this._fn=D,this.onChange=()=>{D(this.value),this._registry.select(this)}}fireUncheck(D){this.writeValue(D)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return E.\u0275fac=function(D){return new(D||E)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(qo),o.Y36(o.zs3))},E.\u0275dir=o.lG2({type:E,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(D,G){1&D&&o.NdJ("change",function(){return G.onChange()})("blur",function(){return G.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[o._Bn([yo]),o.qOj]}),E})();const no=new o.OlP("NgModelWithFormControlWarning"),fr={provide:zt,useExisting:(0,o.Gpc)(()=>br)};let br=(()=>{class E extends zt{constructor(D,G){super(),this.validators=D,this.asyncValidators=G,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(D),this._setAsyncValidators(G)}ngOnChanges(D){this._checkFormPresent(),D.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Cn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(D){const G=this.form.get(D.path);return Tt(G,D),G.updateValueAndValidity({emitEvent:!1}),this.directives.push(D),G}getControl(D){return this.form.get(D.path)}removeControl(D){Nt(D.control||null,D,!1),function oe(E,_){const D=E.indexOf(_);D>-1&&E.splice(D,1)}(this.directives,D)}addFormGroup(D){this._setUpFormContainer(D)}removeFormGroup(D){this._cleanUpFormContainer(D)}getFormGroup(D){return this.form.get(D.path)}addFormArray(D){this._setUpFormContainer(D)}removeFormArray(D){this._cleanUpFormContainer(D)}getFormArray(D){return this.form.get(D.path)}updateModel(D,G){this.form.get(D.path).setValue(G)}onSubmit(D){return this.submitted=!0,function ht(E,_){E._syncPendingControls(),_.forEach(D=>{const G=D.control;"submit"===G.updateOn&&G._pendingChange&&(D.viewToModelUpdate(G._pendingValue),G._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(D),!1}onReset(){this.resetForm()}resetForm(D){this.form.reset(D),this.submitted=!1}_updateDomValue(){this.directives.forEach(D=>{const G=D.control,ze=this.form.get(D.path);G!==ze&&(Nt(G||null,D),(E=>E instanceof J)(ze)&&(Tt(ze,D),D.control=ze))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(D){const G=this.form.get(D.path);(function On(E,_){qt(E,_)})(G,D),G.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(D){if(this.form){const G=this.form.get(D.path);G&&function Xn(E,_){return Cn(E,_)}(G,D)&&G.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qt(this.form,this),this._oldForm&&Cn(this._oldForm,this)}_checkFormPresent(){}}return E.\u0275fac=function(D){return new(D||E)(o.Y36(De,10),o.Y36(Le,10))},E.\u0275dir=o.lG2({type:E,selectors:[["","formGroup",""]],hostBindings:function(D,G){1&D&&o.NdJ("submit",function(Mt){return G.onSubmit(Mt)})("reset",function(){return G.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([fr]),o.qOj,o.TTD]}),E})();const oo={provide:sn,useExisting:(0,o.Gpc)(()=>Ur)};let Ur=(()=>{class E extends sn{constructor(D,G,ze,Mt,rn){super(),this._ngModelWarningConfig=rn,this._added=!1,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=D,this._setValidators(G),this._setAsyncValidators(ze),this.valueAccessor=k(0,Mt)}set isDisabled(D){}ngOnChanges(D){this._added||this._setUpControl(),Ie(D,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(D){this.viewModel=D,this.update.emit(D)}get path(){return dt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return E._ngModelWarningSentOnce=!1,E.\u0275fac=function(D){return new(D||E)(o.Y36(zt,13),o.Y36(De,10),o.Y36(Le,10),o.Y36(Se,10),o.Y36(no,8))},E.\u0275dir=o.lG2({type:E,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([oo]),o.qOj,o.TTD]}),E})();let pr=(()=>{class E{constructor(){this._validator=Be}ngOnChanges(D){if(this.inputName in D){const G=this.normalizeInput(D[this.inputName].currentValue);this._enabled=this.enabled(G),this._validator=this._enabled?this.createValidator(G):Be,this._onChange&&this._onChange()}}validate(D){return this._validator(D)}registerOnValidatorChange(D){this._onChange=D}enabled(D){return null!=D}}return E.\u0275fac=function(D){return new(D||E)},E.\u0275dir=o.lG2({type:E,features:[o.TTD]}),E})();const yn={provide:De,useExisting:(0,o.Gpc)(()=>gt),multi:!0};let gt=(()=>{class E extends pr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=D=>function ao(E){return"number"==typeof E?E:parseInt(E,10)}(D),this.createValidator=D=>function je(E){return _=>function Ae(E){return null!=E&&"number"==typeof E.length}(_.value)&&_.value.length>E?{maxlength:{requiredLength:E,actualLength:_.value.length}}:null}(D)}}return E.\u0275fac=function(){let _;return function(G){return(_||(_=o.n5z(E)))(G||E)}}(),E.\u0275dir=o.lG2({type:E,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(D,G){2&D&&o.uIk("maxlength",G._enabled?G.maxlength:null)},inputs:{maxlength:"maxlength"},features:[o._Bn([yn]),o.qOj]}),E})(),Mr=(()=>{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275mod=o.oAB({type:E}),E.\u0275inj=o.cJS({imports:[Po]}),E})(),Pr=(()=>{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275mod=o.oAB({type:E}),E.\u0275inj=o.cJS({imports:[Mr]}),E})(),qr=(()=>{class E{static withConfig(D){return{ngModule:E,providers:[{provide:no,useValue:D.warnOnNgModelWithFormControl}]}}}return E.\u0275fac=function(D){return new(D||E)},E.\u0275mod=o.oAB({type:E}),E.\u0275inj=o.cJS({imports:[Mr]}),E})()},1481:(wt,Ye,L)=>{"use strict";L.d(Ye,{Dx:()=>Jn,b2:()=>sn,q6:()=>tr});var o=L(6895),I=L(8274);class Te extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class he extends Te{static makeCurrent(){(0,o.HT)(new he)}onAndCancel(ne,X,W){return ne.addEventListener(X,W,!1),()=>{ne.removeEventListener(X,W,!1)}}dispatchEvent(ne,X){ne.dispatchEvent(X)}remove(ne){ne.parentNode&&ne.parentNode.removeChild(ne)}createElement(ne,X){return(X=X||this.getDefaultDocument()).createElement(ne)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ne){return ne.nodeType===Node.ELEMENT_NODE}isShadowRoot(ne){return ne instanceof DocumentFragment}getGlobalEventTarget(ne,X){return"window"===X?window:"document"===X?ne:"body"===X?ne.body:null}getBaseHref(ne){const X=function Fe(){return Oe=Oe||document.querySelector("base"),Oe?Oe.getAttribute("href"):null}();return null==X?null:function ye(Re){q=q||document.createElement("a"),q.setAttribute("href",Re);const ne=q.pathname;return"/"===ne.charAt(0)?ne:`/${ne}`}(X)}resetBaseElement(){Oe=null}getUserAgent(){return window.navigator.userAgent}getCookie(ne){return(0,o.Mx)(document.cookie,ne)}}let q,Oe=null;const U=new I.OlP("TRANSITION_ID"),K=[{provide:I.ip1,useFactory:function z(Re,ne,X){return()=>{X.get(I.CZH).donePromise.then(()=>{const W=(0,o.q)(),He=ne.querySelectorAll(`style[ng-transition="${Re}"]`);for(let dt=0;dt{class Re{build(){return new XMLHttpRequest}}return Re.\u0275fac=function(X){return new(X||Re)},Re.\u0275prov=I.Yz7({token:Re,factory:Re.\u0275fac}),Re})();const pe=new I.OlP("EventManagerPlugins");let Se=(()=>{class Re{constructor(X,W){this._zone=W,this._eventNameToPlugin=new Map,X.forEach(He=>He.manager=this),this._plugins=X.slice().reverse()}addEventListener(X,W,He){return this._findPluginFor(W).addEventListener(X,W,He)}addGlobalEventListener(X,W,He){return this._findPluginFor(W).addGlobalEventListener(X,W,He)}getZone(){return this._zone}_findPluginFor(X){const W=this._eventNameToPlugin.get(X);if(W)return W;const He=this._plugins;for(let dt=0;dt{class Re{constructor(){this._stylesSet=new Set}addStyles(X){const W=new Set;X.forEach(He=>{this._stylesSet.has(He)||(this._stylesSet.add(He),W.add(He))}),this.onStylesAdded(W)}onStylesAdded(X){}getAllStyles(){return Array.from(this._stylesSet)}}return Re.\u0275fac=function(X){return new(X||Re)},Re.\u0275prov=I.Yz7({token:Re,factory:Re.\u0275fac}),Re})(),we=(()=>{class Re extends fe{constructor(X){super(),this._doc=X,this._hostNodes=new Map,this._hostNodes.set(X.head,[])}_addStylesToHost(X,W,He){X.forEach(dt=>{const Tt=this._doc.createElement("style");Tt.textContent=dt,He.push(W.appendChild(Tt))})}addHost(X){const W=[];this._addStylesToHost(this._stylesSet,X,W),this._hostNodes.set(X,W)}removeHost(X){const W=this._hostNodes.get(X);W&&W.forEach(We),this._hostNodes.delete(X)}onStylesAdded(X){this._hostNodes.forEach((W,He)=>{this._addStylesToHost(X,He,W)})}ngOnDestroy(){this._hostNodes.forEach(X=>X.forEach(We))}}return Re.\u0275fac=function(X){return new(X||Re)(I.LFG(o.K0))},Re.\u0275prov=I.Yz7({token:Re,factory:Re.\u0275fac}),Re})();function We(Re){(0,o.q)().remove(Re)}const ke={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/"},te=/%COMP%/g;function se(Re,ne,X){for(let W=0;W{if("__ngUnwrap__"===ne)return Re;!1===Re(ne)&&(ne.preventDefault(),ne.returnValue=!1)}}let Ee=(()=>{class Re{constructor(X,W,He){this.eventManager=X,this.sharedStylesHost=W,this.appId=He,this.rendererByCompId=new Map,this.defaultRenderer=new _e(X)}createRenderer(X,W){if(!X||!W)return this.defaultRenderer;switch(W.encapsulation){case I.ifc.Emulated:{let He=this.rendererByCompId.get(W.id);return He||(He=new Me(this.eventManager,this.sharedStylesHost,W,this.appId),this.rendererByCompId.set(W.id,He)),He.applyToHost(X),He}case 1:case I.ifc.ShadowDom:return new Be(this.eventManager,this.sharedStylesHost,X,W);default:if(!this.rendererByCompId.has(W.id)){const He=se(W.id,W.styles,[]);this.sharedStylesHost.addStyles(He),this.rendererByCompId.set(W.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Re.\u0275fac=function(X){return new(X||Re)(I.LFG(Se),I.LFG(we),I.LFG(I.AFp))},Re.\u0275prov=I.Yz7({token:Re,factory:Re.\u0275fac}),Re})();class _e{constructor(ne){this.eventManager=ne,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ne,X){return X?document.createElementNS(ke[X]||X,ne):document.createElement(ne)}createComment(ne){return document.createComment(ne)}createText(ne){return document.createTextNode(ne)}appendChild(ne,X){(je(ne)?ne.content:ne).appendChild(X)}insertBefore(ne,X,W){ne&&(je(ne)?ne.content:ne).insertBefore(X,W)}removeChild(ne,X){ne&&ne.removeChild(X)}selectRootElement(ne,X){let W="string"==typeof ne?document.querySelector(ne):ne;if(!W)throw new Error(`The selector "${ne}" did not match any elements`);return X||(W.textContent=""),W}parentNode(ne){return ne.parentNode}nextSibling(ne){return ne.nextSibling}setAttribute(ne,X,W,He){if(He){X=He+":"+X;const dt=ke[He];dt?ne.setAttributeNS(dt,X,W):ne.setAttribute(X,W)}else ne.setAttribute(X,W)}removeAttribute(ne,X,W){if(W){const He=ke[W];He?ne.removeAttributeNS(He,X):ne.removeAttribute(`${W}:${X}`)}else ne.removeAttribute(X)}addClass(ne,X){ne.classList.add(X)}removeClass(ne,X){ne.classList.remove(X)}setStyle(ne,X,W,He){He&(I.JOm.DashCase|I.JOm.Important)?ne.style.setProperty(X,W,He&I.JOm.Important?"important":""):ne.style[X]=W}removeStyle(ne,X,W){W&I.JOm.DashCase?ne.style.removeProperty(X):ne.style[X]=""}setProperty(ne,X,W){ne[X]=W}setValue(ne,X){ne.nodeValue=X}listen(ne,X,W){return"string"==typeof ne?this.eventManager.addGlobalEventListener(ne,X,re(W)):this.eventManager.addEventListener(ne,X,re(W))}}function je(Re){return"TEMPLATE"===Re.tagName&&void 0!==Re.content}class Me extends _e{constructor(ne,X,W,He){super(ne),this.component=W;const dt=se(He+"-"+W.id,W.styles,[]);X.addStyles(dt),this.contentAttr=function Le(Re){return"_ngcontent-%COMP%".replace(te,Re)}(He+"-"+W.id),this.hostAttr=function ae(Re){return"_nghost-%COMP%".replace(te,Re)}(He+"-"+W.id)}applyToHost(ne){super.setAttribute(ne,this.hostAttr,"")}createElement(ne,X){const W=super.createElement(ne,X);return super.setAttribute(W,this.contentAttr,""),W}}class Be extends _e{constructor(ne,X,W,He){super(ne),this.sharedStylesHost=X,this.hostEl=W,this.shadowRoot=W.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const dt=se(He.id,He.styles,[]);for(let Tt=0;Tt{class Re extends le{constructor(X){super(X)}supports(X){return!0}addEventListener(X,W,He){return X.addEventListener(W,He,!1),()=>this.removeEventListener(X,W,He)}removeEventListener(X,W,He){return X.removeEventListener(W,He)}}return Re.\u0275fac=function(X){return new(X||Re)(I.LFG(o.K0))},Re.\u0275prov=I.Yz7({token:Re,factory:Re.\u0275fac}),Re})();const xe=["alt","control","meta","shift"],qe={"\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"},tt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ot={alt:Re=>Re.altKey,control:Re=>Re.ctrlKey,meta:Re=>Re.metaKey,shift:Re=>Re.shiftKey};let Dt=(()=>{class Re extends le{constructor(X){super(X)}supports(X){return null!=Re.parseEventName(X)}addEventListener(X,W,He){const dt=Re.parseEventName(W),Tt=Re.eventCallback(dt.fullKey,He,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.q)().onAndCancel(X,dt.domEventName,Tt))}static parseEventName(X){const W=X.toLowerCase().split("."),He=W.shift();if(0===W.length||"keydown"!==He&&"keyup"!==He)return null;const dt=Re._normalizeKey(W.pop());let Tt="";if(xe.forEach($t=>{const vn=W.indexOf($t);vn>-1&&(W.splice(vn,1),Tt+=$t+".")}),Tt+=dt,0!=W.length||0===dt.length)return null;const Nt={};return Nt.domEventName=He,Nt.fullKey=Tt,Nt}static getEventFullKey(X){let W="",He=function Wt(Re){let ne=Re.key;if(null==ne){if(ne=Re.keyIdentifier,null==ne)return"Unidentified";ne.startsWith("U+")&&(ne=String.fromCharCode(parseInt(ne.substring(2),16)),3===Re.location&&tt.hasOwnProperty(ne)&&(ne=tt[ne]))}return qe[ne]||ne}(X);return He=He.toLowerCase()," "===He?He="space":"."===He&&(He="dot"),xe.forEach(dt=>{dt!=He&&(0,ot[dt])(X)&&(W+=dt+".")}),W+=He,W}static eventCallback(X,W,He){return dt=>{Re.getEventFullKey(dt)===X&&He.runGuarded(()=>W(dt))}}static _normalizeKey(X){return"esc"===X?"escape":X}}return Re.\u0275fac=function(X){return new(X||Re)(I.LFG(o.K0))},Re.\u0275prov=I.Yz7({token:Re,factory:Re.\u0275fac}),Re})();const tr=(0,I.eFA)(I._c5,"browser",[{provide:I.Lbi,useValue:o.bD},{provide:I.g9A,useValue:function _t(){he.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function on(){return(0,I.RDi)(document),document},deps:[]}]),Et=new I.OlP(""),tn=[{provide:I.rWj,useClass:class O{addToWindow(ne){I.dqk.getAngularTestability=(W,He=!0)=>{const dt=ne.findTestabilityInTree(W,He);if(null==dt)throw new Error("Could not find testability for element.");return dt},I.dqk.getAllAngularTestabilities=()=>ne.getAllTestabilities(),I.dqk.getAllAngularRootElements=()=>ne.getAllRootElements(),I.dqk.frameworkStabilizers||(I.dqk.frameworkStabilizers=[]),I.dqk.frameworkStabilizers.push(W=>{const He=I.dqk.getAllAngularTestabilities();let dt=He.length,Tt=!1;const Nt=function($t){Tt=Tt||$t,dt--,0==dt&&W(Tt)};He.forEach(function($t){$t.whenStable(Nt)})})}findTestabilityInTree(ne,X,W){return null==X?null:ne.getTestability(X)??(W?(0,o.q)().isShadowRoot(X)?this.findTestabilityInTree(ne,X.host,!0):this.findTestabilityInTree(ne,X.parentElement,!0):null)}},deps:[]},{provide:I.lri,useClass:I.dDg,deps:[I.R0b,I.eoX,I.rWj]},{provide:I.dDg,useClass:I.dDg,deps:[I.R0b,I.eoX,I.rWj]}],zt=[{provide:I.zSh,useValue:"root"},{provide:I.qLn,useFactory:function An(){return new I.qLn},deps:[]},{provide:pe,useClass:Ne,multi:!0,deps:[o.K0,I.R0b,I.Lbi]},{provide:pe,useClass:Dt,multi:!0,deps:[o.K0]},{provide:Ee,useClass:Ee,deps:[Se,we,I.AFp]},{provide:I.FYo,useExisting:Ee},{provide:fe,useExisting:we},{provide:we,useClass:we,deps:[o.K0]},{provide:Se,useClass:Se,deps:[pe,I.R0b]},{provide:o.JF,useClass:ee,deps:[]},[]];let sn=(()=>{class Re{constructor(X){}static withServerTransition(X){return{ngModule:Re,providers:[{provide:I.AFp,useValue:X.appId},{provide:U,useExisting:I.AFp},K]}}}return Re.\u0275fac=function(X){return new(X||Re)(I.LFG(Et,12))},Re.\u0275mod=I.oAB({type:Re}),Re.\u0275inj=I.cJS({providers:[...zt,...tn],imports:[o.ez,I.hGG]}),Re})(),Jn=(()=>{class Re{constructor(X){this._doc=X}getTitle(){return this._doc.title}setTitle(X){this._doc.title=X||""}}return Re.\u0275fac=function(X){return new(X||Re)(I.LFG(o.K0))},Re.\u0275prov=I.Yz7({token:Re,factory:function(X){let W=null;return W=X?new X:function mn(){return new Jn((0,I.LFG)(o.K0))}(),W},providedIn:"root"}),Re})();typeof window<"u"&&window},1829:(wt,Ye,L)=>{"use strict";L.d(Ye,{gz:()=>hr,y6:()=>yr,m2:()=>Ot,OD:()=>pt,eC:()=>Et,wm:()=>fl,wN:()=>ua,F0:()=>gr,rH:()=>Hi,Bz:()=>vl,Hx:()=>Jt});var o=L(8274),I=L(7669),Te=L(2076);function he(...d){const f=(0,I.yG)(d);return(0,Te.D)(d,f)}var Oe=L(9751),Fe=L(4742),q=L(4671),ye=L(3268),U=L(1810),z=L(5403),K=L(9672);function O(...d){const f=(0,I.yG)(d),u=(0,I.jO)(d),{args:p,keys:C}=(0,Fe.D)(d);if(0===p.length)return(0,Te.D)([],f);const N=new Oe.y(function ee(d,f,u=q.y){return p=>{pe(f,()=>{const{length:C}=d,N=new Array(C);let Z=C,ue=C;for(let Ve=0;Ve{const ft=(0,Te.D)(d[Ve],f);let Yt=!1;ft.subscribe(new z.Q(p,Rt=>{N[Ve]=Rt,Yt||(Yt=!0,ue--),ue||p.next(u(N.slice()))},()=>{--Z||p.complete()}))},p)},p)}}(p,f,C?Z=>(0,U.n)(C,Z):q.y));return u?N.pipe((0,ye.Z)(u)):N}function pe(d,f,u){d?(0,K.f)(u,d,f):f()}var Se=L(8189);function fe(...d){return function le(){return(0,Se.J)(1)}()((0,Te.D)(d,(0,I.yG)(d)))}var we=L(8421);function We(d){return new Oe.y(f=>{(0,we.Xf)(d()).subscribe(f)})}var ke=L(576);function te(d,f){const u=(0,ke.m)(d)?d:()=>d,p=C=>C.error(u());return new Oe.y(f?C=>f.schedule(p,0,C):p)}const ce=(0,L(3888).d)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"});var Ae=L(727),De=L(4482);function Le(){return(0,De.e)((d,f)=>{let u=null;d._refCount++;const p=new z.Q(f,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(u=null);const C=d._connection,N=u;u=null,C&&(!N||C===N)&&C.unsubscribe(),f.unsubscribe()});d.subscribe(p),p.closed||(u=d.connect())})}class ae extends Oe.y{constructor(f,u){super(),this.source=f,this.subjectFactory=u,this._subject=null,this._refCount=0,this._connection=null,(0,De.A)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new Ae.w0;const u=this.getSubject();f.add(this.source.subscribe(new z.Q(u,void 0,()=>{this._teardown(),u.complete()},p=>{this._teardown(),u.error(p)},()=>this._teardown()))),f.closed&&(this._connection=null,f=Ae.w0.EMPTY)}return f}refCount(){return Le()(this)}}var se=L(1135),re=L(9635),ie=L(515),Ee=L(7579),_e=L(6895),Ze=L(9300),je=L(5698);function Me(d){return(0,De.e)((f,u)=>{let p=!1;f.subscribe(new z.Q(u,C=>{p=!0,u.next(C)},()=>{p||u.next(d),u.complete()}))})}function Be(d=Ne){return(0,De.e)((f,u)=>{let p=!1;f.subscribe(new z.Q(u,C=>{p=!0,u.next(C)},()=>p?u.complete():u.error(d())))})}function Ne(){return new ce}function xe(d,f){const u=arguments.length>=2;return p=>p.pipe(d?(0,Ze.h)((C,N)=>d(C,N,p)):q.y,(0,je.q)(1),u?Me(f):Be(()=>new ce))}var Ue=L(5577);function qe(d,f){return(0,ke.m)(f)?(0,Ue.z)(d,f,1):(0,Ue.z)(d,1)}function tt(d,f,u){const p=(0,ke.m)(d)||f||u?{next:d,error:f,complete:u}:d;return p?(0,De.e)((C,N)=>{var Z;null===(Z=p.subscribe)||void 0===Z||Z.call(p);let ue=!0;C.subscribe(new z.Q(N,Ve=>{var ft;null===(ft=p.next)||void 0===ft||ft.call(p,Ve),N.next(Ve)},()=>{var Ve;ue=!1,null===(Ve=p.complete)||void 0===Ve||Ve.call(p),N.complete()},Ve=>{var ft;ue=!1,null===(ft=p.error)||void 0===ft||ft.call(p,Ve),N.error(Ve)},()=>{var Ve,ft;ue&&(null===(Ve=p.unsubscribe)||void 0===Ve||Ve.call(p)),null===(ft=p.finalize)||void 0===ft||ft.call(p)}))}):q.y}function ot(d){return(0,De.e)((f,u)=>{let N,p=null,C=!1;p=f.subscribe(new z.Q(u,void 0,void 0,Z=>{N=(0,we.Xf)(d(Z,ot(d)(f))),p?(p.unsubscribe(),p=null,N.subscribe(u)):C=!0})),C&&(p.unsubscribe(),p=null,N.subscribe(u))})}function Dt(d,f,u,p,C){return(N,Z)=>{let ue=u,Ve=f,ft=0;N.subscribe(new z.Q(Z,Yt=>{const Rt=ft++;Ve=ue?d(Ve,Yt,Rt):(ue=!0,Yt),p&&Z.next(Ve)},C&&(()=>{ue&&Z.next(Ve),Z.complete()})))}}function Wt(d,f){return(0,De.e)(Dt(d,f,arguments.length>=2,!0))}function mt(d){return d<=0?()=>ie.E:(0,De.e)((f,u)=>{let p=[];f.subscribe(new z.Q(u,C=>{p.push(C),d{for(const C of p)u.next(C);u.complete()},void 0,()=>{p=null}))})}function ln(d,f){const u=arguments.length>=2;return p=>p.pipe(d?(0,Ze.h)((C,N)=>d(C,N,p)):q.y,mt(1),u?Me(f):Be(()=>new ce))}var _t=L(4004);function on(d){return(0,De.e)((f,u)=>{try{f.subscribe(u)}finally{u.add(d)}})}var Ht=L(3900),tr=L(1481);const Et="primary";class tn{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const u=this.params[f];return Array.isArray(u)?u[0]:u}return null}getAll(f){if(this.has(f)){const u=this.params[f];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function zt(d){return new tn(d)}function sn(d,f,u){const p=u.path.split("/");if(p.length>d.length||"full"===u.pathMatch&&(f.hasChildren()||p.lengthp[N]===C)}return d===f}function mn(d){return Array.prototype.concat.apply([],d)}function Jn(d){return d.length>0?d[d.length-1]:null}function at(d,f){for(const u in d)d.hasOwnProperty(u)&&f(d[u],u)}function vt(d){return(0,o.CqO)(d)?d:(0,o.QGY)(d)?(0,Te.D)(Promise.resolve(d)):he(d)}const Pt={exact:function Qt(d,f,u){if(!hn(d.segments,f.segments)||!fn(d.segments,f.segments,u)||d.numberOfChildren!==f.numberOfChildren)return!1;for(const p in f.children)if(!d.children[p]||!Qt(d.children[p],f.children[p],u))return!1;return!0},subset:Qe},kt={exact:function lr(d,f){return gn(d,f)},subset:function Gt(d,f){return Object.keys(f).length<=Object.keys(d).length&&Object.keys(f).every(u=>vr(d[u],f[u]))},ignored:()=>!0};function In(d,f,u){return Pt[u.paths](d.root,f.root,u.matrixParams)&&kt[u.queryParams](d.queryParams,f.queryParams)&&!("exact"===u.fragment&&d.fragment!==f.fragment)}function Qe(d,f,u){return rr(d,f,f.segments,u)}function rr(d,f,u,p){if(d.segments.length>u.length){const C=d.segments.slice(0,u.length);return!(!hn(C,u)||f.hasChildren()||!fn(C,u,p))}if(d.segments.length===u.length){if(!hn(d.segments,u)||!fn(d.segments,u,p))return!1;for(const C in f.children)if(!d.children[C]||!Qe(d.children[C],f.children[C],p))return!1;return!0}{const C=u.slice(0,d.segments.length),N=u.slice(d.segments.length);return!!(hn(d.segments,C)&&fn(d.segments,C,p)&&d.children[Et])&&rr(d.children[Et],f,N,p)}}function fn(d,f,u){return f.every((p,C)=>kt[u](d[C].parameters,p.parameters))}class kn{constructor(f,u,p){this.root=f,this.queryParams=u,this.fragment=p}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zt(this.queryParams)),this._queryParamMap}toString(){return Nn.serialize(this)}}class St{constructor(f,u){this.segments=f,this.children=u,this.parent=null,at(u,(p,C)=>p.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qn(this)}}class Ln{constructor(f,u){this.path=f,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=zt(this.parameters)),this._parameterMap}toString(){return ne(this)}}function hn(d,f){return d.length===f.length&&d.every((u,p)=>u.path===f[p].path)}class Jt{}class un{parse(f){const u=new qt(f);return new kn(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(f){const u=`/${Bn(f.root,!0)}`,p=function W(d){const f=Object.keys(d).map(u=>{const p=d[u];return Array.isArray(p)?p.map(C=>`${$n(u)}=${$n(C)}`).join("&"):`${$n(u)}=${$n(p)}`}).filter(u=>!!u);return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${u}${p}${"string"==typeof f.fragment?`#${function Kn(d){return encodeURI(d)}(f.fragment)}`:""}`}}const Nn=new un;function qn(d){return d.segments.map(f=>ne(f)).join("/")}function Bn(d,f){if(!d.hasChildren())return qn(d);if(f){const u=d.children[Et]?Bn(d.children[Et],!1):"",p=[];return at(d.children,(C,N)=>{N!==Et&&p.push(`${N}:${Bn(C,!1)}`)}),p.length>0?`${u}(${p.join("//")})`:u}{const u=function En(d,f){let u=[];return at(d.children,(p,C)=>{C===Et&&(u=u.concat(f(p,C)))}),at(d.children,(p,C)=>{C!==Et&&(u=u.concat(f(p,C)))}),u}(d,(p,C)=>C===Et?[Bn(d.children[Et],!1)]:[`${C}:${Bn(p,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[Et]?`${qn(d)}/${u[0]}`:`${qn(d)}/(${u.join("//")})`}}function Gn(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $n(d){return Gn(d).replace(/%3B/gi,";")}function jt(d){return Gn(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function dn(d){return decodeURIComponent(d)}function Re(d){return dn(d.replace(/\+/g,"%20"))}function ne(d){return`${jt(d.path)}${function X(d){return Object.keys(d).map(f=>`;${jt(f)}=${jt(d[f])}`).join("")}(d.parameters)}`}const He=/^[^\/()?;=#]+/;function dt(d){const f=d.match(He);return f?f[0]:""}const Tt=/^[^=?&#]+/,$t=/^[^&#]+/;class qt{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new St([],{}):new St([],this.parseChildren())}parseQueryParams(){const f={};if(this.consumeOptional("?"))do{this.parseQueryParam(f)}while(this.consumeOptional("&"));return f}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const f=[];for(this.peekStartsWith("(")||f.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),f.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let p={};return this.peekStartsWith("(")&&(p=this.parseParens(!1)),(f.length>0||Object.keys(u).length>0)&&(p[Et]=new St(f,u)),p}parseSegment(){const f=dt(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new o.vHH(4009,!1);return this.capture(f),new Ln(dn(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const u=dt(this.remaining);if(!u)return;this.capture(u);let p="";if(this.consumeOptional("=")){const C=dt(this.remaining);C&&(p=C,this.capture(p))}f[dn(u)]=dn(p)}parseQueryParam(f){const u=function Nt(d){const f=d.match(Tt);return f?f[0]:""}(this.remaining);if(!u)return;this.capture(u);let p="";if(this.consumeOptional("=")){const Z=function vn(d){const f=d.match($t);return f?f[0]:""}(this.remaining);Z&&(p=Z,this.capture(p))}const C=Re(u),N=Re(p);if(f.hasOwnProperty(C)){let Z=f[C];Array.isArray(Z)||(Z=[Z],f[C]=Z),Z.push(N)}else f[C]=N}parseParens(f){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const p=dt(this.remaining),C=this.remaining[p.length];if("/"!==C&&")"!==C&&";"!==C)throw new o.vHH(4010,!1);let N;p.indexOf(":")>-1?(N=p.slice(0,p.indexOf(":")),this.capture(N),this.capture(":")):f&&(N=Et);const Z=this.parseChildren();u[N]=1===Object.keys(Z).length?Z[Et]:new St([],Z),this.consumeOptional("//")}return u}peekStartsWith(f){return this.remaining.startsWith(f)}consumeOptional(f){return!!this.peekStartsWith(f)&&(this.remaining=this.remaining.substring(f.length),!0)}capture(f){if(!this.consumeOptional(f))throw new o.vHH(4011,!1)}}function Cn(d){return d.segments.length>0?new St([],{[Et]:d}):d}function Tn(d){const f={};for(const p of Object.keys(d.children)){const N=Tn(d.children[p]);(N.segments.length>0||N.hasChildren())&&(f[p]=N)}return function bt(d){if(1===d.numberOfChildren&&d.children[Et]){const f=d.children[Et];return new St(d.segments.concat(f.segments),f.children)}return d}(new St(d.segments,f))}function Xt(d){return d instanceof kn}function S(d,f,u,p,C){if(0===u.length)return Ie(f.root,f.root,f.root,p,C);const N=function k(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new ht(!0,0,d);let f=0,u=!1;const p=d.reduce((C,N,Z)=>{if("object"==typeof N&&null!=N){if(N.outlets){const ue={};return at(N.outlets,(Ve,ft)=>{ue[ft]="string"==typeof Ve?Ve.split("/"):Ve}),[...C,{outlets:ue}]}if(N.segmentPath)return[...C,N.segmentPath]}return"string"!=typeof N?[...C,N]:0===Z?(N.split("/").forEach((ue,Ve)=>{0==Ve&&"."===ue||(0==Ve&&""===ue?u=!0:".."===ue?f++:""!=ue&&C.push(ue))}),C):[...C,N]},[]);return new ht(u,f,p)}(u);return N.toRoot()?Ie(f.root,f.root,new St([],{}),p,C):function Z(Ve){const ft=function A(d,f,u,p){if(d.isAbsolute)return new oe(f.root,!0,0);if(-1===p)return new oe(u,u===f.root,0);return function F(d,f,u){let p=d,C=f,N=u;for(;N>C;){if(N-=C,p=p.parent,!p)throw new o.vHH(4005,!1);C=p.segments.length}return new oe(p,!1,C-N)}(u,p+(T(d.commands[0])?0:1),d.numberOfDoubleDots)}(N,f,d.snapshot?._urlSegment,Ve),Yt=ft.processChildren?$(ft.segmentGroup,ft.index,N.commands):x(ft.segmentGroup,ft.index,N.commands);return Ie(f.root,ft.segmentGroup,Yt,p,C)}(d.snapshot?._lastPathIndex)}function T(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function H(d){return"object"==typeof d&&null!=d&&d.outlets}function Ie(d,f,u,p,C){let Z,N={};p&&at(p,(Ve,ft)=>{N[ft]=Array.isArray(Ve)?Ve.map(Yt=>`${Yt}`):`${Ve}`}),Z=d===f?u:Je(d,f,u);const ue=Cn(Tn(Z));return new kn(ue,N,C)}function Je(d,f,u){const p={};return at(d.children,(C,N)=>{p[N]=C===f?u:Je(C,f,u)}),new St(d.segments,p)}class ht{constructor(f,u,p){if(this.isAbsolute=f,this.numberOfDoubleDots=u,this.commands=p,f&&p.length>0&&T(p[0]))throw new o.vHH(4003,!1);const C=p.find(H);if(C&&C!==Jn(p))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class oe{constructor(f,u,p){this.segmentGroup=f,this.processChildren=u,this.index=p}}function x(d,f,u){if(d||(d=new St([],{})),0===d.segments.length&&d.hasChildren())return $(d,f,u);const p=function J(d,f,u){let p=0,C=f;const N={match:!1,pathIndex:0,commandIndex:0};for(;C=u.length)return N;const Z=d.segments[C],ue=u[p];if(H(ue))break;const Ve=`${ue}`,ft=p0&&void 0===Ve)break;if(Ve&&ft&&"object"==typeof ft&&void 0===ft.outlets){if(!Xe(Ve,ft,Z))return N;p+=2}else{if(!Xe(Ve,{},Z))return N;p++}C++}return{match:!0,pathIndex:C,commandIndex:p}}(d,f,u),C=u.slice(p.commandIndex);if(p.match&&p.pathIndex{"string"==typeof N&&(N=[N]),null!==N&&(C[Z]=x(d.children[Z],f,N))}),at(d.children,(N,Z)=>{void 0===p[Z]&&(C[Z]=N)}),new St(d.segments,C)}}function de(d,f,u){const p=d.segments.slice(0,f);let C=0;for(;C{"string"==typeof u&&(u=[u]),null!==u&&(f[p]=de(new St([],{}),0,u))}),f}function Pe(d){const f={};return at(d,(u,p)=>f[p]=`${u}`),f}function Xe(d,f,u){return d==u.path&&gn(f,u.parameters)}class lt{constructor(f,u){this.id=f,this.url=u}}class pt extends lt{constructor(f,u,p="imperative",C=null){super(f,u),this.type=0,this.navigationTrigger=p,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ot extends lt{constructor(f,u,p){super(f,u),this.urlAfterRedirects=p,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class nn extends lt{constructor(f,u,p,C){super(f,u),this.reason=p,this.code=C,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Kt extends lt{constructor(f,u,p,C){super(f,u),this.error=p,this.target=C,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Hn extends lt{constructor(f,u,p,C){super(f,u),this.urlAfterRedirects=p,this.state=C,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dr extends lt{constructor(f,u,p,C){super(f,u),this.urlAfterRedirects=p,this.state=C,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Br extends lt{constructor(f,u,p,C,N){super(f,u),this.urlAfterRedirects=p,this.state=C,this.shouldActivate=N,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Cr extends lt{constructor(f,u,p,C){super(f,u),this.urlAfterRedirects=p,this.state=C,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class No extends lt{constructor(f,u,p,C){super(f,u),this.urlAfterRedirects=p,this.state=C,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class to{constructor(f){this.route=f,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class yo{constructor(f){this.route=f,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Do{constructor(f){this.snapshot=f,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Po{constructor(f){this.snapshot=f,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qo{constructor(f){this.snapshot=f,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _o{constructor(f){this.snapshot=f,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ko{constructor(f,u,p){this.routerEvent=f,this.position=u,this.anchor=p,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class no{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const u=this.pathFromRoot(f);return u.length>1?u[u.length-2]:null}children(f){const u=Co(f,this._root);return u?u.children.map(p=>p.value):[]}firstChild(f){const u=Co(f,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(f){const u=jr(f,this._root);return u.length<2?[]:u[u.length-2].children.map(C=>C.value).filter(C=>C!==f)}pathFromRoot(f){return jr(f,this._root).map(u=>u.value)}}function Co(d,f){if(d===f.value)return f;for(const u of f.children){const p=Co(d,u);if(p)return p}return null}function jr(d,f){if(d===f.value)return[f];for(const u of f.children){const p=jr(d,u);if(p.length)return p.unshift(f),p}return[]}class fr{constructor(f,u){this.value=f,this.children=u}toString(){return`TreeNode(${this.value})`}}function br(d){const f={};return d&&d.children.forEach(u=>f[u.value.outlet]=u),f}class Bo extends no{constructor(f,u){super(f),this.snapshot=u,$r(this,f)}toString(){return this.snapshot.toString()}}function ro(d,f){const u=function Or(d,f){const Z=new Ur([],{},{},"",{},Et,f,null,d.root,-1,{});return new bo("",new fr(Z,[]))}(d,f),p=new se.X([new Ln("",{})]),C=new se.X({}),N=new se.X({}),Z=new se.X({}),ue=new se.X(""),Ve=new hr(p,C,Z,ue,N,Et,f,u.root);return Ve.snapshot=u.root,new Bo(new fr(Ve,[]),u)}class hr{constructor(f,u,p,C,N,Z,ue,Ve){this.url=f,this.params=u,this.queryParams=p,this.fragment=C,this.data=N,this.outlet=Z,this.component=ue,this._futureSnapshot=Ve}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,_t.U)(f=>zt(f)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,_t.U)(f=>zt(f)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ir(d,f="emptyOnly"){const u=d.pathFromRoot;let p=0;if("always"!==f)for(p=u.length-1;p>=1;){const C=u[p],N=u[p-1];if(C.routeConfig&&""===C.routeConfig.path)p--;else{if(N.component)break;p--}}return function oo(d){return d.reduce((f,u)=>({params:{...f.params,...u.params},data:{...f.data,...u.data},resolve:{...u.data,...f.resolve,...u.routeConfig?.data,...u._resolvedData}}),{params:{},data:{},resolve:{}})}(u.slice(p))}class Ur{constructor(f,u,p,C,N,Z,ue,Ve,ft,Yt,Rt,xn){this.url=f,this.params=u,this.queryParams=p,this.fragment=C,this.data=N,this.outlet=Z,this.component=ue,this.routeConfig=Ve,this._urlSegment=ft,this._lastPathIndex=Yt,this._correctedLastPathIndex=xn??Yt,this._resolve=Rt}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=zt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=zt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(p=>p.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class bo extends no{constructor(f,u){super(u),this.url=f,$r(this,u)}toString(){return io(this._root)}}function $r(d,f){f.value._routerState=d,f.children.forEach(u=>$r(d,u))}function io(d){const f=d.children.length>0?` { ${d.children.map(io).join(", ")} } `:"";return`${d.value}${f}`}function Gr(d){if(d.snapshot){const f=d.snapshot,u=d._futureSnapshot;d.snapshot=u,gn(f.queryParams,u.queryParams)||d.queryParams.next(u.queryParams),f.fragment!==u.fragment&&d.fragment.next(u.fragment),gn(f.params,u.params)||d.params.next(u.params),function It(d,f){if(d.length!==f.length)return!1;for(let u=0;ugn(u.parameters,f[p].parameters))}(d.url,f.url);return u&&!(!d.parent!=!f.parent)&&(!d.parent||Fr(d.parent,f.parent))}function Zn(d,f,u){if(u&&d.shouldReuseRoute(f.value,u.value.snapshot)){const p=u.value;p._futureSnapshot=f.value;const C=function wo(d,f,u){return f.children.map(p=>{for(const C of u.children)if(d.shouldReuseRoute(p.value,C.value.snapshot))return Zn(d,p,C);return Zn(d,p)})}(d,f,u);return new fr(p,C)}{if(d.shouldAttach(f.value)){const N=d.retrieve(f.value);if(null!==N){const Z=N.route;return Z.value._futureSnapshot=f.value,Z.children=f.children.map(ue=>Zn(d,ue)),Z}}const p=function si(d){return new hr(new se.X(d.url),new se.X(d.params),new se.X(d.queryParams),new se.X(d.fragment),new se.X(d.data),d.outlet,d.component,d)}(f.value),C=f.children.map(N=>Zn(d,N));return new fr(p,C)}}const Nr="ngNavigationCancelingError";function so(d,f){const{redirectTo:u,navigationBehaviorOptions:p}=Xt(f)?{redirectTo:f,navigationBehaviorOptions:void 0}:f,C=ao(!1,0,f);return C.url=u,C.navigationBehaviorOptions=p,C}function ao(d,f,u){const p=new Error("NavigationCancelingError: "+(d||""));return p[Nr]=!0,p.cancellationCode=f,u&&(p.url=u),p}function Sn(d){return pr(d)&&Xt(d.url)}function pr(d){return d&&d[Nr]}class ai{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new yr,this.attachRef=null}}class yr{constructor(){this.contexts=new Map}onChildOutletCreated(f,u){const p=this.getOrCreateContext(f);p.outlet=u,this.contexts.set(f,p)}onChildOutletDestroyed(f){const u=this.getContext(f);u&&(u.outlet=null,u.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let u=this.getContext(f);return u||(u=new ai,this.contexts.set(f,u)),u}getContext(f){return this.contexts.get(f)||null}}const b=!1;let V=(()=>{class d{constructor(u,p,C,N,Z){this.parentContexts=u,this.location=p,this.changeDetector=N,this.environmentInjector=Z,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.name=C||Et,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 o.vHH(4012,b);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,b);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,b);this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,p){this.activated=u,this._activatedRoute=p,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,p){if(this.isActivated)throw new o.vHH(4013,b);this._activatedRoute=u;const C=this.location,Z=u._futureSnapshot.component,ue=this.parentContexts.getOrCreateContext(this.name).children,Ve=new w(u,ue,C.injector);if(p&&function Y(d){return!!d.resolveComponentFactory}(p)){const ft=p.resolveComponentFactory(Z);this.activated=C.createComponent(ft,C.length,Ve)}else this.activated=C.createComponent(Z,{index:C.length,injector:Ve,environmentInjector:p??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.\u0275fac=function(u){return new(u||d)(o.Y36(yr),o.Y36(o.s_b),o.$8M("name"),o.Y36(o.sBO),o.Y36(o.lqb))},d.\u0275dir=o.lG2({type:d,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),d})();class w{constructor(f,u,p){this.route=f,this.childContexts=u,this.parent=p}get(f,u){return f===hr?this.route:f===yr?this.childContexts:this.parent.get(f,u)}}let ve=(()=>{class d{}return d.\u0275fac=function(u){return new(u||d)},d.\u0275cmp=o.Xpm({type:d,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,p){1&u&&o._UZ(0,"router-outlet")},dependencies:[V],encapsulation:2}),d})();function Ge(d,f){return d.providers&&!d._injector&&(d._injector=(0,o.MMx)(d.providers,f,`Route: ${d.path}`)),d._injector??f}function er(d){const f=d.children&&d.children.map(er),u=f?{...d,children:f}:{...d};return!u.component&&!u.loadComponent&&(f||u.loadChildren)&&u.outlet&&u.outlet!==Et&&(u.component=ve),u}function nr(d){return d.outlet||Et}function Sr(d,f){const u=d.filter(p=>nr(p)===f);return u.push(...d.filter(p=>nr(p)!==f)),u}function Mr(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let f=d.parent;f;f=f.parent){const u=f.routeConfig;if(u?._loadedInjector)return u._loadedInjector;if(u?._injector)return u._injector}return null}class qr{constructor(f,u,p,C){this.routeReuseStrategy=f,this.futureState=u,this.currState=p,this.forwardEvent=C}activate(f){const u=this.futureState._root,p=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,p,f),Gr(this.futureState.root),this.activateChildRoutes(u,p,f)}deactivateChildRoutes(f,u,p){const C=br(u);f.children.forEach(N=>{const Z=N.value.outlet;this.deactivateRoutes(N,C[Z],p),delete C[Z]}),at(C,(N,Z)=>{this.deactivateRouteAndItsChildren(N,p)})}deactivateRoutes(f,u,p){const C=f.value,N=u?u.value:null;if(C===N)if(C.component){const Z=p.getContext(C.outlet);Z&&this.deactivateChildRoutes(f,u,Z.children)}else this.deactivateChildRoutes(f,u,p);else N&&this.deactivateRouteAndItsChildren(u,p)}deactivateRouteAndItsChildren(f,u){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,u):this.deactivateRouteAndOutlet(f,u)}detachAndStoreRouteSubtree(f,u){const p=u.getContext(f.value.outlet),C=p&&f.value.component?p.children:u,N=br(f);for(const Z of Object.keys(N))this.deactivateRouteAndItsChildren(N[Z],C);if(p&&p.outlet){const Z=p.outlet.detach(),ue=p.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:Z,route:f,contexts:ue})}}deactivateRouteAndOutlet(f,u){const p=u.getContext(f.value.outlet),C=p&&f.value.component?p.children:u,N=br(f);for(const Z of Object.keys(N))this.deactivateRouteAndItsChildren(N[Z],C);p&&p.outlet&&(p.outlet.deactivate(),p.children.onOutletDeactivated(),p.attachRef=null,p.resolver=null,p.route=null)}activateChildRoutes(f,u,p){const C=br(u);f.children.forEach(N=>{this.activateRoutes(N,C[N.value.outlet],p),this.forwardEvent(new _o(N.value.snapshot))}),f.children.length&&this.forwardEvent(new Po(f.value.snapshot))}activateRoutes(f,u,p){const C=f.value,N=u?u.value:null;if(Gr(C),C===N)if(C.component){const Z=p.getOrCreateContext(C.outlet);this.activateChildRoutes(f,u,Z.children)}else this.activateChildRoutes(f,u,p);else if(C.component){const Z=p.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const ue=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),Z.children.onOutletReAttached(ue.contexts),Z.attachRef=ue.componentRef,Z.route=ue.route.value,Z.outlet&&Z.outlet.attach(ue.componentRef,ue.route.value),Gr(ue.route.value),this.activateChildRoutes(f,null,Z.children)}else{const ue=Mr(C.snapshot),Ve=ue?.get(o._Vd)??null;Z.attachRef=null,Z.route=C,Z.resolver=Ve,Z.injector=ue,Z.outlet&&Z.outlet.activateWith(C,Z.injector),this.activateChildRoutes(f,null,Z.children)}}else this.activateChildRoutes(f,null,p)}}class nt{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class Zt{constructor(f,u){this.component=f,this.route=u}}function Kr(d,f,u){const p=d._root;return Xr(p,f?f._root:null,u,[p.value])}function jn(d,f,u){return(Mr(f)??u).get(d)}function Xr(d,f,u,p,C={canDeactivateChecks:[],canActivateChecks:[]}){const N=br(f);return d.children.forEach(Z=>{(function co(d,f,u,p,C={canDeactivateChecks:[],canActivateChecks:[]}){const N=d.value,Z=f?f.value:null,ue=u?u.getContext(d.value.outlet):null;if(Z&&N.routeConfig===Z.routeConfig){const Ve=function wr(d,f,u){if("function"==typeof u)return u(d,f);switch(u){case"pathParamsChange":return!hn(d.url,f.url);case"pathParamsOrQueryParamsChange":return!hn(d.url,f.url)||!gn(d.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Fr(d,f)||!gn(d.queryParams,f.queryParams);default:return!Fr(d,f)}}(Z,N,N.routeConfig.runGuardsAndResolvers);Ve?C.canActivateChecks.push(new nt(p)):(N.data=Z.data,N._resolvedData=Z._resolvedData),Xr(d,f,N.component?ue?ue.children:null:u,p,C),Ve&&ue&&ue.outlet&&ue.outlet.isActivated&&C.canDeactivateChecks.push(new Zt(ue.outlet.component,Z))}else Z&&E(f,ue,C),C.canActivateChecks.push(new nt(p)),Xr(d,null,N.component?ue?ue.children:null:u,p,C)})(Z,N[Z.value.outlet],u,p.concat([Z.value]),C),delete N[Z.value.outlet]}),at(N,(Z,ue)=>E(Z,u.getContext(ue),C)),C}function E(d,f,u){const p=br(d),C=d.value;at(p,(N,Z)=>{E(N,C.component?f?f.children.getContext(Z):null:f,u)}),u.canDeactivateChecks.push(new Zt(C.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,C))}function _(d){return"function"==typeof d}const ar=Symbol("INITIAL_VALUE");function Hr(){return(0,Ht.w)(d=>O(d.map(f=>f.pipe((0,je.q)(1),function st(...d){const f=(0,I.yG)(d);return(0,De.e)((u,p)=>{(f?fe(d,u,f):fe(d,u)).subscribe(p)})}(ar)))).pipe((0,_t.U)(f=>{for(const u of f)if(!0!==u){if(u===ar)return ar;if(!1===u||u instanceof kn)return u}return!0}),(0,Ze.h)(f=>f!==ar),(0,je.q)(1)))}function Xo(d){return(0,re.z)(tt(f=>{if(Xt(f))throw so(0,f)}),(0,_t.U)(f=>!0===f))}const ui={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ni(d,f,u,p,C){const N=di(d,f,u);return N.matched?function Fi(d,f,u,p){const C=f.canMatch;return C&&0!==C.length?he(C.map(Z=>{const ue=d.get(Z),Ve=function zn(d){return d&&_(d.canMatch)}(ue)?ue.canMatch(f,u):ue(f,u);return vt(Ve)})).pipe(Hr(),Xo()):he(!0)}(p=Ge(f,p),f,u).pipe((0,_t.U)(Z=>!0===Z?N:{...ui})):he(N)}function di(d,f,u){if(""===f.path)return"full"===f.pathMatch&&(d.hasChildren()||u.length>0)?{...ui}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const C=(f.matcher||sn)(u,d,f);if(!C)return{...ui};const N={};at(C.posParams,(ue,Ve)=>{N[Ve]=ue.path});const Z=C.consumed.length>0?{...N,...C.consumed[C.consumed.length-1].parameters}:N;return{matched:!0,consumedSegments:C.consumed,remainingSegments:u.slice(C.consumed.length),parameters:Z,positionalParamSegments:C.posParams??{}}}function Vo(d,f,u,p,C="corrected"){if(u.length>0&&function _r(d,f,u){return u.some(p=>a(d,f,p)&&nr(p)!==Et)}(d,u,p)){const Z=new St(f,function Es(d,f,u,p){const C={};C[Et]=p,p._sourceSegment=d,p._segmentIndexShift=f.length;for(const N of u)if(""===N.path&&nr(N)!==Et){const Z=new St([],{});Z._sourceSegment=d,Z._segmentIndexShift=f.length,C[nr(N)]=Z}return C}(d,f,p,new St(u,d.children)));return Z._sourceSegment=d,Z._segmentIndexShift=f.length,{segmentGroup:Z,slicedSegments:[]}}if(0===u.length&&function Zr(d,f,u){return u.some(p=>a(d,f,p))}(d,u,p)){const Z=new St(d.segments,function ws(d,f,u,p,C,N){const Z={};for(const ue of p)if(a(d,u,ue)&&!C[nr(ue)]){const Ve=new St([],{});Ve._sourceSegment=d,Ve._segmentIndexShift="legacy"===N?d.segments.length:f.length,Z[nr(ue)]=Ve}return{...C,...Z}}(d,f,u,p,d.children,C));return Z._sourceSegment=d,Z._segmentIndexShift=f.length,{segmentGroup:Z,slicedSegments:u}}const N=new St(d.segments,d.children);return N._sourceSegment=d,N._segmentIndexShift=f.length,{segmentGroup:N,slicedSegments:u}}function a(d,f,u){return(!(d.hasChildren()||f.length>0)||"full"!==u.pathMatch)&&""===u.path}function y(d,f,u,p){return!!(nr(d)===p||p!==Et&&a(f,u,d))&&("**"===d.path||di(f,d,u).matched)}function l(d,f,u){return 0===f.length&&!d.children[u]}const v=!1;class R{constructor(f){this.segmentGroup=f||null}}class ge{constructor(f){this.urlTree=f}}function Ke(d){return te(new R(d))}function ct(d){return te(new ge(d))}class wn{constructor(f,u,p,C,N){this.injector=f,this.configLoader=u,this.urlSerializer=p,this.urlTree=C,this.config=N,this.allowRedirects=!0}apply(){const f=Vo(this.urlTree.root,[],[],this.config).segmentGroup,u=new St(f.segments,f.children);return this.expandSegmentGroup(this.injector,this.config,u,Et).pipe((0,_t.U)(N=>this.createUrlTree(Tn(N),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ot(N=>{if(N instanceof ge)return this.allowRedirects=!1,this.match(N.urlTree);throw N instanceof R?this.noMatchError(N):N}))}match(f){return this.expandSegmentGroup(this.injector,this.config,f.root,Et).pipe((0,_t.U)(C=>this.createUrlTree(Tn(C),f.queryParams,f.fragment))).pipe(ot(C=>{throw C instanceof R?this.noMatchError(C):C}))}noMatchError(f){return new o.vHH(4002,v)}createUrlTree(f,u,p){const C=Cn(f);return new kn(C,u,p)}expandSegmentGroup(f,u,p,C){return 0===p.segments.length&&p.hasChildren()?this.expandChildren(f,u,p).pipe((0,_t.U)(N=>new St([],N))):this.expandSegment(f,p,u,p.segments,C,!0)}expandChildren(f,u,p){const C=[];for(const N of Object.keys(p.children))"primary"===N?C.unshift(N):C.push(N);return(0,Te.D)(C).pipe(qe(N=>{const Z=p.children[N],ue=Sr(u,N);return this.expandSegmentGroup(f,ue,Z,N).pipe((0,_t.U)(Ve=>({segment:Ve,outlet:N})))}),Wt((N,Z)=>(N[Z.outlet]=Z.segment,N),{}),ln())}expandSegment(f,u,p,C,N,Z){return(0,Te.D)(p).pipe(qe(ue=>this.expandSegmentAgainstRoute(f,u,p,ue,C,N,Z).pipe(ot(ft=>{if(ft instanceof R)return he(null);throw ft}))),xe(ue=>!!ue),ot((ue,Ve)=>{if(ue instanceof ce||"EmptyError"===ue.name)return l(u,C,N)?he(new St([],{})):Ke(u);throw ue}))}expandSegmentAgainstRoute(f,u,p,C,N,Z,ue){return y(C,u,N,Z)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(f,u,C,N,Z):ue&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(f,u,p,C,N,Z):Ke(u):Ke(u)}expandSegmentAgainstRouteUsingRedirect(f,u,p,C,N,Z){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(f,p,C,Z):this.expandRegularSegmentAgainstRouteUsingRedirect(f,u,p,C,N,Z)}expandWildCardWithParamsAgainstRouteUsingRedirect(f,u,p,C){const N=this.applyRedirectCommands([],p.redirectTo,{});return p.redirectTo.startsWith("/")?ct(N):this.lineralizeSegments(p,N).pipe((0,Ue.z)(Z=>{const ue=new St(Z,{});return this.expandSegment(f,ue,u,Z,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(f,u,p,C,N,Z){const{matched:ue,consumedSegments:Ve,remainingSegments:ft,positionalParamSegments:Yt}=di(u,C,N);if(!ue)return Ke(u);const Rt=this.applyRedirectCommands(Ve,C.redirectTo,Yt);return C.redirectTo.startsWith("/")?ct(Rt):this.lineralizeSegments(C,Rt).pipe((0,Ue.z)(xn=>this.expandSegment(f,u,p,xn.concat(ft),Z,!1)))}matchSegmentAgainstRoute(f,u,p,C,N){return"**"===p.path?(f=Ge(p,f),p.loadChildren?(p._loadedRoutes?he({routes:p._loadedRoutes,injector:p._loadedInjector}):this.configLoader.loadChildren(f,p)).pipe((0,_t.U)(ue=>(p._loadedRoutes=ue.routes,p._loadedInjector=ue.injector,new St(C,{})))):he(new St(C,{}))):Ni(u,p,C,f).pipe((0,Ht.w)(({matched:Z,consumedSegments:ue,remainingSegments:Ve})=>Z?this.getChildConfig(f=p._injector??f,p,C).pipe((0,Ue.z)(Yt=>{const Rt=Yt.injector??f,xn=Yt.routes,{segmentGroup:Tr,slicedSegments:fo}=Vo(u,ue,Ve,xn),Uo=new St(Tr.segments,Tr.children);if(0===fo.length&&Uo.hasChildren())return this.expandChildren(Rt,xn,Uo).pipe((0,_t.U)(ed=>new St(ue,ed)));if(0===xn.length&&0===fo.length)return he(new St(ue,{}));const Yr=nr(p)===N;return this.expandSegment(Rt,Uo,xn,fo,Yr?Et:N,!0).pipe((0,_t.U)(So=>new St(ue.concat(So.segments),So.children)))})):Ke(u)))}getChildConfig(f,u,p){return u.children?he({routes:u.children,injector:f}):u.loadChildren?void 0!==u._loadedRoutes?he({routes:u._loadedRoutes,injector:u._loadedInjector}):function ci(d,f,u,p){const C=f.canLoad;return void 0===C||0===C.length?he(!0):he(C.map(Z=>{const ue=d.get(Z),Ve=function G(d){return d&&_(d.canLoad)}(ue)?ue.canLoad(f,u):ue(f,u);return vt(Ve)})).pipe(Hr(),Xo())}(f,u,p).pipe((0,Ue.z)(C=>C?this.configLoader.loadChildren(f,u).pipe(tt(N=>{u._loadedRoutes=N.routes,u._loadedInjector=N.injector})):function Ct(d){return te(ao(v,3))}())):he({routes:[],injector:f})}lineralizeSegments(f,u){let p=[],C=u.root;for(;;){if(p=p.concat(C.segments),0===C.numberOfChildren)return he(p);if(C.numberOfChildren>1||!C.children[Et])return te(new o.vHH(4e3,v));C=C.children[Et]}}applyRedirectCommands(f,u,p){return this.applyRedirectCreateUrlTree(u,this.urlSerializer.parse(u),f,p)}applyRedirectCreateUrlTree(f,u,p,C){const N=this.createSegmentGroup(f,u.root,p,C);return new kn(N,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(f,u){const p={};return at(f,(C,N)=>{if("string"==typeof C&&C.startsWith(":")){const ue=C.substring(1);p[N]=u[ue]}else p[N]=C}),p}createSegmentGroup(f,u,p,C){const N=this.createSegments(f,u.segments,p,C);let Z={};return at(u.children,(ue,Ve)=>{Z[Ve]=this.createSegmentGroup(f,ue,p,C)}),new St(N,Z)}createSegments(f,u,p,C){return u.map(N=>N.path.startsWith(":")?this.findPosParam(f,N,C):this.findOrReturn(N,p))}findPosParam(f,u,p){const C=p[u.path.substring(1)];if(!C)throw new o.vHH(4001,v);return C}findOrReturn(f,u){let p=0;for(const C of u){if(C.path===f.path)return u.splice(p),C;p++}return f}}class or{}class fi{constructor(f,u,p,C,N,Z,ue,Ve){this.injector=f,this.rootComponentType=u,this.config=p,this.urlTree=C,this.url=N,this.paramsInheritanceStrategy=Z,this.relativeLinkResolution=ue,this.urlSerializer=Ve}recognize(){const f=Vo(this.urlTree.root,[],[],this.config.filter(u=>void 0===u.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,f,Et).pipe((0,_t.U)(u=>{if(null===u)return null;const p=new Ur([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Et,this.rootComponentType,null,this.urlTree.root,-1,{}),C=new fr(p,u),N=new bo(this.url,C);return this.inheritParamsAndData(N._root),N}))}inheritParamsAndData(f){const u=f.value,p=Ir(u,this.paramsInheritanceStrategy);u.params=Object.freeze(p.params),u.data=Object.freeze(p.data),f.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(f,u,p,C){return 0===p.segments.length&&p.hasChildren()?this.processChildren(f,u,p):this.processSegment(f,u,p,p.segments,C)}processChildren(f,u,p){return(0,Te.D)(Object.keys(p.children)).pipe(qe(C=>{const N=p.children[C],Z=Sr(u,C);return this.processSegmentGroup(f,Z,N,C)}),Wt((C,N)=>C&&N?(C.push(...N),C):null),function Bt(d,f=!1){return(0,De.e)((u,p)=>{let C=0;u.subscribe(new z.Q(p,N=>{const Z=d(N,C++);(Z||f)&&p.next(N),!Z&&p.complete()}))})}(C=>null!==C),Me(null),ln(),(0,_t.U)(C=>{if(null===C)return null;const N=cl(C);return function Is(d){d.sort((f,u)=>f.value.outlet===Et?-1:u.value.outlet===Et?1:f.value.outlet.localeCompare(u.value.outlet))}(N),N}))}processSegment(f,u,p,C,N){return(0,Te.D)(u).pipe(qe(Z=>this.processSegmentAgainstRoute(Z._injector??f,Z,p,C,N)),xe(Z=>!!Z),ot(Z=>{if(Z instanceof ce)return l(p,C,N)?he([]):he(null);throw Z}))}processSegmentAgainstRoute(f,u,p,C,N){if(u.redirectTo||!y(u,p,C,N))return he(null);let Z;if("**"===u.path){const ue=C.length>0?Jn(C).parameters:{},Ve=Ss(p)+C.length;Z=he({snapshot:new Ur(C,ue,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,pi(u),nr(u),u.component??u._loadedComponent??null,u,hi(p),Ve,As(u),Ve),consumedSegments:[],remainingSegments:[]})}else Z=Ni(p,u,C,f).pipe((0,_t.U)(({matched:ue,consumedSegments:Ve,remainingSegments:ft,parameters:Yt})=>{if(!ue)return null;const Rt=Ss(p)+Ve.length;return{snapshot:new Ur(Ve,Yt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,pi(u),nr(u),u.component??u._loadedComponent??null,u,hi(p),Rt,As(u),Rt),consumedSegments:Ve,remainingSegments:ft}}));return Z.pipe((0,Ht.w)(ue=>{if(null===ue)return he(null);const{snapshot:Ve,consumedSegments:ft,remainingSegments:Yt}=ue;f=u._injector??f;const Rt=u._loadedInjector??f,xn=function al(d){return d.children?d.children:d.loadChildren?d._loadedRoutes:[]}(u),{segmentGroup:Tr,slicedSegments:fo}=Vo(p,ft,Yt,xn.filter(Yr=>void 0===Yr.redirectTo),this.relativeLinkResolution);if(0===fo.length&&Tr.hasChildren())return this.processChildren(Rt,xn,Tr).pipe((0,_t.U)(Yr=>null===Yr?null:[new fr(Ve,Yr)]));if(0===xn.length&&0===fo.length)return he([new fr(Ve,[])]);const Uo=nr(u)===N;return this.processSegment(Rt,xn,Tr,fo,Uo?Et:N).pipe((0,_t.U)(Yr=>null===Yr?null:[new fr(Ve,Yr)]))}))}}function ll(d){const f=d.value.routeConfig;return f&&""===f.path&&void 0===f.redirectTo}function cl(d){const f=[],u=new Set;for(const p of d){if(!ll(p)){f.push(p);continue}const C=f.find(N=>p.value.routeConfig===N.value.routeConfig);void 0!==C?(C.children.push(...p.children),u.add(C)):f.push(p)}for(const p of u){const C=cl(p.children);f.push(new fr(p.value,C))}return f.filter(p=>!u.has(p))}function hi(d){let f=d;for(;f._sourceSegment;)f=f._sourceSegment;return f}function Ss(d){let f=d,u=f._segmentIndexShift??0;for(;f._sourceSegment;)f=f._sourceSegment,u+=f._segmentIndexShift??0;return u-1}function pi(d){return d.data||{}}function As(d){return d.resolve||{}}const Io=Symbol("RouteTitle");function xs(d){return"string"==typeof d.title||null===d.title}function ki(d){return(0,Ht.w)(f=>{const u=d(f);return u?(0,Te.D)(u).pipe((0,_t.U)(()=>f)):he(f)})}class ua{}class dl extends class Jr{shouldDetach(f){return!1}store(f,u){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,u){return f.routeConfig===u.routeConfig}}{}const gi=new o.OlP("ROUTES");let mi=(()=>{class d{constructor(u,p){this.injector=u,this.compiler=p,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return he(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const p=vt(u.loadComponent()).pipe(tt(N=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=N}),on(()=>{this.componentLoaders.delete(u)})),C=new ae(p,()=>new Ee.x).pipe(Le());return this.componentLoaders.set(u,C),C}loadChildren(u,p){if(this.childrenLoaders.get(p))return this.childrenLoaders.get(p);if(p._loadedRoutes)return he({routes:p._loadedRoutes,injector:p._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(p);const N=this.loadModuleFactoryOrRoutes(p.loadChildren).pipe((0,_t.U)(ue=>{this.onLoadEndListener&&this.onLoadEndListener(p);let Ve,ft,Yt=!1;Array.isArray(ue)?ft=ue:(Ve=ue.create(u).injector,ft=mn(Ve.get(gi,[],o.XFs.Self|o.XFs.Optional)));return{routes:ft.map(er),injector:Ve}}),on(()=>{this.childrenLoaders.delete(p)})),Z=new ae(N,()=>new Ee.x).pipe(Le());return this.childrenLoaders.set(p,Z),Z}loadModuleFactoryOrRoutes(u){return vt(u()).pipe((0,Ue.z)(p=>p instanceof o.YKP||Array.isArray(p)?he(p):(0,Te.D)(this.compiler.compileModuleAsync(p))))}}return d.\u0275fac=function(u){return new(u||d)(o.LFG(o.zs3),o.LFG(o.Sil))},d.\u0275prov=o.Yz7({token:d,factory:d.\u0275fac}),d})();class Bi{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,u){return f}}function da(d){throw d}function fa(d,f,u){return f.parse("/")}const ha={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},pa={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let gr=(()=>{class d{constructor(u,p,C,N,Z,ue,Ve){this.rootComponentType=u,this.urlSerializer=p,this.rootContexts=C,this.location=N,this.config=Ve,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ee.x,this.errorHandler=da,this.malformedUriErrorHandler=fa,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>he(void 0),this.urlHandlingStrategy=new Bi,this.routeReuseStrategy=new dl,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=Z.get(mi),this.configLoader.onLoadEndListener=xn=>this.triggerEvent(new yo(xn)),this.configLoader.onLoadStartListener=xn=>this.triggerEvent(new to(xn)),this.ngModule=Z.get(o.h0i),this.console=Z.get(o.c2e);const Rt=Z.get(o.R0b);this.isNgZoneEnabled=Rt instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(Ve),this.currentUrlTree=function Fn(){return new kn(new St([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ro(this.currentUrlTree,this.rootComponentType),this.transitions=new se.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 p=this.events;return u.pipe((0,Ze.h)(C=>0!==C.id),(0,_t.U)(C=>({...C,extractedUrl:this.urlHandlingStrategy.extract(C.rawUrl)})),(0,Ht.w)(C=>{let N=!1,Z=!1;return he(C).pipe(tt(ue=>{this.currentNavigation={id:ue.id,initialUrl:ue.rawUrl,extractedUrl:ue.extractedUrl,trigger:ue.source,extras:ue.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Ht.w)(ue=>{const Ve=this.browserUrlTree.toString(),ft=!this.navigated||ue.extractedUrl.toString()!==Ve||Ve!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||ft)&&this.urlHandlingStrategy.shouldProcessUrl(ue.rawUrl))return Jo(ue.source)&&(this.browserUrlTree=ue.extractedUrl),he(ue).pipe((0,Ht.w)(Rt=>{const xn=this.transitions.getValue();return p.next(new pt(Rt.id,this.serializeUrl(Rt.extractedUrl),Rt.source,Rt.restoredState)),xn!==this.transitions.getValue()?ie.E:Promise.resolve(Rt)}),function Dn(d,f,u,p){return(0,Ht.w)(C=>function cn(d,f,u,p,C){return new wn(d,f,u,p,C).apply()}(d,f,u,C.extractedUrl,p).pipe((0,_t.U)(N=>({...C,urlAfterRedirects:N}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),tt(Rt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Rt.urlAfterRedirects},C.urlAfterRedirects=Rt.urlAfterRedirects}),function ca(d,f,u,p,C,N){return(0,Ue.z)(Z=>function Eo(d,f,u,p,C,N,Z="emptyOnly",ue="legacy"){return new fi(d,f,u,p,C,Z,ue,N).recognize().pipe((0,Ht.w)(Ve=>null===Ve?function Qr(d){return new Oe.y(f=>f.error(d))}(new or):he(Ve)))}(d,f,u,Z.urlAfterRedirects,p.serialize(Z.urlAfterRedirects),p,C,N).pipe((0,_t.U)(ue=>({...Z,targetSnapshot:ue}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),tt(Rt=>{if(C.targetSnapshot=Rt.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!Rt.extras.skipLocationChange){const Tr=this.urlHandlingStrategy.merge(Rt.urlAfterRedirects,Rt.rawUrl);this.setBrowserUrl(Tr,Rt)}this.browserUrlTree=Rt.urlAfterRedirects}const xn=new Hn(Rt.id,this.serializeUrl(Rt.extractedUrl),this.serializeUrl(Rt.urlAfterRedirects),Rt.targetSnapshot);p.next(xn)}));if(ft&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:xn,extractedUrl:Tr,source:fo,restoredState:Uo,extras:Yr}=ue,Wi=new pt(xn,this.serializeUrl(Tr),fo,Uo);p.next(Wi);const So=ro(Tr,this.rootComponentType).snapshot;return he(C={...ue,targetSnapshot:So,urlAfterRedirects:Tr,extras:{...Yr,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=ue.rawUrl,ue.resolve(null),ie.E}),tt(ue=>{const Ve=new dr(ue.id,this.serializeUrl(ue.extractedUrl),this.serializeUrl(ue.urlAfterRedirects),ue.targetSnapshot);this.triggerEvent(Ve)}),(0,_t.U)(ue=>C={...ue,guards:Kr(ue.targetSnapshot,ue.currentSnapshot,this.rootContexts)}),function Ko(d,f){return(0,Ue.z)(u=>{const{targetSnapshot:p,currentSnapshot:C,guards:{canActivateChecks:N,canDeactivateChecks:Z}}=u;return 0===Z.length&&0===N.length?he({...u,guardsResult:!0}):function Ti(d,f,u,p){return(0,Te.D)(d).pipe((0,Ue.z)(C=>function la(d,f,u,p,C){const N=f&&f.routeConfig?f.routeConfig.canDeactivate:null;return N&&0!==N.length?he(N.map(ue=>{const Ve=jn(ue,f,C);return vt(function rn(d){return d&&_(d.canDeactivate)}(Ve)?Ve.canDeactivate(d,f,u,p):Ve(d,f,u,p)).pipe(xe())})).pipe(Hr()):he(!0)}(C.component,C.route,u,f,p)),xe(C=>!0!==C,!0))}(Z,p,C,d).pipe((0,Ue.z)(ue=>ue&&function D(d){return"boolean"==typeof d}(ue)?function li(d,f,u,p){return(0,Te.D)(f).pipe(qe(C=>fe(function Ri(d,f){return null!==d&&f&&f(new Do(d)),he(!0)}(C.route.parent,p),function xi(d,f){return null!==d&&f&&f(new qo(d)),he(!0)}(C.route,p),function Oi(d,f,u){const p=f[f.length-1],N=f.slice(0,f.length-1).reverse().map(Z=>function lo(d){const f=d.routeConfig?d.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:d,guards:f}:null}(Z)).filter(Z=>null!==Z).map(Z=>We(()=>he(Z.guards.map(Ve=>{const ft=jn(Ve,Z.node,u);return vt(function Mt(d){return d&&_(d.canActivateChild)}(ft)?ft.canActivateChild(p,d):ft(p,d)).pipe(xe())})).pipe(Hr())));return he(N).pipe(Hr())}(d,C.path,u),function bs(d,f,u){const p=f.routeConfig?f.routeConfig.canActivate:null;if(!p||0===p.length)return he(!0);const C=p.map(N=>We(()=>{const Z=jn(N,f,u);return vt(function ze(d){return d&&_(d.canActivate)}(Z)?Z.canActivate(f,d):Z(f,d)).pipe(xe())}));return he(C).pipe(Hr())}(d,C.route,u))),xe(C=>!0!==C,!0))}(p,N,d,f):he(ue)),(0,_t.U)(ue=>({...u,guardsResult:ue})))})}(this.ngModule.injector,ue=>this.triggerEvent(ue)),tt(ue=>{if(C.guardsResult=ue.guardsResult,Xt(ue.guardsResult))throw so(0,ue.guardsResult);const Ve=new Br(ue.id,this.serializeUrl(ue.extractedUrl),this.serializeUrl(ue.urlAfterRedirects),ue.targetSnapshot,!!ue.guardsResult);this.triggerEvent(Ve)}),(0,Ze.h)(ue=>!!ue.guardsResult||(this.restoreHistory(ue),this.cancelNavigationTransition(ue,"",3),!1)),ki(ue=>{if(ue.guards.canActivateChecks.length)return he(ue).pipe(tt(Ve=>{const ft=new Cr(Ve.id,this.serializeUrl(Ve.extractedUrl),this.serializeUrl(Ve.urlAfterRedirects),Ve.targetSnapshot);this.triggerEvent(ft)}),(0,Ht.w)(Ve=>{let ft=!1;return he(Ve).pipe(function ul(d,f){return(0,Ue.z)(u=>{const{targetSnapshot:p,guards:{canActivateChecks:C}}=u;if(!C.length)return he(u);let N=0;return(0,Te.D)(C).pipe(qe(Z=>function Zo(d,f,u,p){const C=d.routeConfig,N=d._resolve;return void 0!==C?.title&&!xs(C)&&(N[Io]=C.title),function Ts(d,f,u,p){const C=function Pi(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===C.length)return he({});const N={};return(0,Te.D)(C).pipe((0,Ue.z)(Z=>function zu(d,f,u,p){const C=jn(d,f,p);return vt(C.resolve?C.resolve(f,u):C(f,u))}(d[Z],f,u,p).pipe(xe(),tt(ue=>{N[Z]=ue}))),mt(1),function An(d){return(0,_t.U)(()=>d)}(N),ot(Z=>Z instanceof ce?ie.E:te(Z)))}(N,d,f,p).pipe((0,_t.U)(Z=>(d._resolvedData=Z,d.data=Ir(d,u).resolve,C&&xs(C)&&(d.data[Io]=C.title),null)))}(Z.route,p,d,f)),tt(()=>N++),mt(1),(0,Ue.z)(Z=>N===C.length?he(u):ie.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),tt({next:()=>ft=!0,complete:()=>{ft||(this.restoreHistory(Ve),this.cancelNavigationTransition(Ve,"",2))}}))}),tt(Ve=>{const ft=new No(Ve.id,this.serializeUrl(Ve.extractedUrl),this.serializeUrl(Ve.urlAfterRedirects),Ve.targetSnapshot);this.triggerEvent(ft)}))}),ki(ue=>{const Ve=ft=>{const Yt=[];ft.routeConfig?.loadComponent&&!ft.routeConfig._loadedComponent&&Yt.push(this.configLoader.loadComponent(ft.routeConfig).pipe(tt(Rt=>{ft.component=Rt}),(0,_t.U)(()=>{})));for(const Rt of ft.children)Yt.push(...Ve(Rt));return Yt};return O(Ve(ue.targetSnapshot.root)).pipe(Me(),(0,je.q)(1))}),ki(()=>this.afterPreactivation()),(0,_t.U)(ue=>{const Ve=function $o(d,f,u){const p=Zn(d,f._root,u?u._root:void 0);return new Bo(p,f)}(this.routeReuseStrategy,ue.targetSnapshot,ue.currentRouterState);return C={...ue,targetRouterState:Ve}}),tt(ue=>{this.currentUrlTree=ue.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ue.urlAfterRedirects,ue.rawUrl),this.routerState=ue.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ue.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ue),this.browserUrlTree=ue.urlAfterRedirects)}),((d,f,u)=>(0,_t.U)(p=>(new qr(f,p.targetRouterState,p.currentRouterState,u).activate(d),p)))(this.rootContexts,this.routeReuseStrategy,ue=>this.triggerEvent(ue)),tt({next(){N=!0},complete(){N=!0}}),on(()=>{N||Z||this.cancelNavigationTransition(C,"",1),this.currentNavigation?.id===C.id&&(this.currentNavigation=null)}),ot(ue=>{if(Z=!0,pr(ue)){Sn(ue)||(this.navigated=!0,this.restoreHistory(C,!0));const Ve=new nn(C.id,this.serializeUrl(C.extractedUrl),ue.message,ue.cancellationCode);if(p.next(Ve),Sn(ue)){const ft=this.urlHandlingStrategy.merge(ue.url,this.rawUrlTree),Yt={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Jo(C.source)};this.scheduleNavigation(ft,"imperative",null,Yt,{resolve:C.resolve,reject:C.reject,promise:C.promise})}else C.resolve(!1)}else{this.restoreHistory(C,!0);const Ve=new Kt(C.id,this.serializeUrl(C.extractedUrl),ue,C.targetSnapshot??void 0);p.next(Ve);try{C.resolve(this.errorHandler(ue))}catch(ft){C.reject(ft)}}return ie.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 p="popstate"===u.type?"popstate":"hashchange";"popstate"===p&&setTimeout(()=>{const C={replaceUrl:!0},N=u.state?.navigationId?u.state:null;if(N){const ue={...N};delete ue.navigationId,delete ue.\u0275routerPageId,0!==Object.keys(ue).length&&(C.state=ue)}const Z=this.parseUrl(u.url);this.scheduleNavigation(Z,p,N,C)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){this.config=u.map(er),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,p={}){const{relativeTo:C,queryParams:N,fragment:Z,queryParamsHandling:ue,preserveFragment:Ve}=p,ft=C||this.routerState.root,Yt=Ve?this.currentUrlTree.fragment:Z;let Rt=null;switch(ue){case"merge":Rt={...this.currentUrlTree.queryParams,...N};break;case"preserve":Rt=this.currentUrlTree.queryParams;break;default:Rt=N||null}return null!==Rt&&(Rt=this.removeEmptyProps(Rt)),S(ft,this.currentUrlTree,u,Rt,Yt??null)}navigateByUrl(u,p={skipLocationChange:!1}){const C=Xt(u)?u:this.parseUrl(u),N=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(N,"imperative",null,p)}navigate(u,p={skipLocationChange:!1}){return function Vi(d){for(let f=0;f{const N=u[C];return null!=N&&(p[C]=N),p},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new Ot(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,p,C,N,Z){if(this.disposed)return Promise.resolve(!1);let ue,Ve,ft;Z?(ue=Z.resolve,Ve=Z.reject,ft=Z.promise):ft=new Promise((xn,Tr)=>{ue=xn,Ve=Tr});const Yt=++this.navigationId;let Rt;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(C=this.location.getState()),Rt=C&&C.\u0275routerPageId?C.\u0275routerPageId:N.replaceUrl||N.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Rt=0,this.setTransition({id:Yt,targetPageId:Rt,source:p,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:N,resolve:ue,reject:Ve,promise:ft,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ft.catch(xn=>Promise.reject(xn))}setBrowserUrl(u,p){const C=this.urlSerializer.serialize(u),N={...p.extras.state,...this.generateNgRouterState(p.id,p.targetPageId)};this.location.isCurrentPathEqualTo(C)||p.extras.replaceUrl?this.location.replaceState(C,"",N):this.location.go(C,"",N)}restoreHistory(u,p=!1){if("computed"===this.canceledNavigationResolution){const C=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===C?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===C&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(C)}else"replace"===this.canceledNavigationResolution&&(p&&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,p,C){const N=new nn(u.id,this.serializeUrl(u.extractedUrl),p,C);this.triggerEvent(N),u.resolve(!1)}generateNgRouterState(u,p){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:p}:{navigationId:u}}}return d.\u0275fac=function(u){o.$Z()},d.\u0275prov=o.Yz7({token:d,factory:d.\u0275fac}),d})();function Jo(d){return"imperative"!==d}let Hi=(()=>{class d{constructor(u,p,C,N,Z){this.router=u,this.route=p,this.tabIndexAttribute=C,this.renderer=N,this.el=Z,this.commands=null,this.onChanges=new Ee.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(u){if(null!=this.tabIndexAttribute)return;const p=this.renderer,C=this.el.nativeElement;null!==u?p.setAttribute(C,"tabindex",u):p.removeAttribute(C,"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(){if(null===this.urlTree)return!0;const u={skipLocationChange:(0,o.D6c)(this.skipLocationChange),replaceUrl:(0,o.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,u),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:(0,o.D6c)(this.preserveFragment)})}}return d.\u0275fac=function(u){return new(u||d)(o.Y36(gr),o.Y36(hr),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq))},d.\u0275dir=o.lG2({type:d,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(u,p){1&u&&o.NdJ("click",function(){return p.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[o.TTD]}),d})(),ma=(()=>{class d{buildTitle(u){let p,C=u.root;for(;void 0!==C;)p=this.getResolvedTitleForRoute(C)??p,C=C.children.find(N=>N.outlet===Et);return p}getResolvedTitleForRoute(u){return u.data[Io]}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275prov=o.Yz7({token:d,factory:function(){return(0,o.f3M)(va)},providedIn:"root"}),d})(),va=(()=>{class d extends ma{constructor(u){super(),this.title=u}updateTitle(u){const p=this.buildTitle(u);void 0!==p&&this.title.setTitle(p)}}return d.\u0275fac=function(u){return new(u||d)(o.LFG(tr.Dx))},d.\u0275prov=o.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();class Ui{}let fl=(()=>{class d{preload(u,p){return p().pipe(ot(()=>he(null)))}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275prov=o.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),Gi=(()=>{class d{constructor(u,p,C,N,Z){this.router=u,this.injector=C,this.preloadingStrategy=N,this.loader=Z}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ze.h)(u=>u instanceof Ot),qe(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,p){const C=[];for(const N of p){N.providers&&!N._injector&&(N._injector=(0,o.MMx)(N.providers,u,`Route: ${N.path}`));const Z=N._injector??u,ue=N._loadedInjector??Z;N.loadChildren&&!N._loadedRoutes||N.loadComponent&&!N._loadedComponent?C.push(this.preloadConfig(Z,N)):(N.children||N._loadedRoutes)&&C.push(this.processRoutes(ue,N.children??N._loadedRoutes))}return(0,Te.D)(C).pipe((0,Se.J)())}preloadConfig(u,p){return this.preloadingStrategy.preload(p,()=>{let C;C=p.loadChildren&&void 0===p.canLoad?this.loader.loadChildren(u,p):he(null);const N=C.pipe((0,Ue.z)(Z=>null===Z?he(void 0):(p._loadedRoutes=Z.routes,p._loadedInjector=Z.injector,this.processRoutes(Z.injector??u,Z.routes))));if(p.loadComponent&&!p._loadedComponent){const Z=this.loader.loadComponent(p);return(0,Te.D)([N,Z]).pipe((0,Se.J)())}return N})}}return d.\u0275fac=function(u){return new(u||d)(o.LFG(gr),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(Ui),o.LFG(mi))},d.\u0275prov=o.Yz7({token:d,factory:d.\u0275fac}),d})();const Ho=new o.OlP("");let ti=(()=>{class d{constructor(u,p,C={}){this.router=u,this.viewportScroller=p,this.options=C,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},C.scrollPositionRestoration=C.scrollPositionRestoration||"disabled",C.anchorScrolling=C.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 pt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof Ot&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof ko&&(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,p){this.router.triggerEvent(new ko(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,p))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return d.\u0275fac=function(u){o.$Z()},d.\u0275prov=o.Yz7({token:d,factory:d.\u0275fac}),d})();const vi=new o.OlP("ROUTER_CONFIGURATION",{providedIn:"root",factory:()=>({})}),jo=new o.OlP("ROUTER_FORROOT_GUARD"),gl=new o.OlP(""),ml=[_e.Ye,{provide:Jt,useClass:un},{provide:gr,useFactory:function Zu(d,f,u,p,C,N,Z,ue={},Ve,ft){const Yt=new gr(null,d,f,u,p,C,mn(N));return Ve&&(Yt.urlHandlingStrategy=Ve),ft&&(Yt.routeReuseStrategy=ft),Yt.titleStrategy=Z,function yi(d,f){d.errorHandler&&(f.errorHandler=d.errorHandler),d.malformedUriErrorHandler&&(f.malformedUriErrorHandler=d.malformedUriErrorHandler),d.onSameUrlNavigation&&(f.onSameUrlNavigation=d.onSameUrlNavigation),d.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=d.paramsInheritanceStrategy),d.relativeLinkResolution&&(f.relativeLinkResolution=d.relativeLinkResolution),d.urlUpdateStrategy&&(f.urlUpdateStrategy=d.urlUpdateStrategy),d.canceledNavigationResolution&&(f.canceledNavigationResolution=d.canceledNavigationResolution)}(ue,Yt),Yt},deps:[Jt,yr,_e.Ye,o.zs3,o.Sil,gi,ma,vi,[class Li{},new o.FiY],[ua,new o.FiY]]},yr,{provide:hr,useFactory:function Qu(d){return d.routerState.root},deps:[gr]},mi];function Pn(){return new o.PXZ("Router",gr)}let vl=(()=>{class d{constructor(u,p){}static forRoot(u,p){return{ngModule:d,providers:[ml,[],yl(u),{provide:jo,useFactory:Xu,deps:[[gr,new o.FiY,new o.tp0]]},{provide:vi,useValue:p||{}},p?.useHash?{provide:_e.S$,useClass:_e.Do}:{provide:_e.S$,useClass:_e.b0},{provide:Ho,useFactory:()=>{const d=(0,o.f3M)(gr),f=(0,o.f3M)(_e.EM),u=(0,o.f3M)(vi);return u.scrollOffset&&f.setOffset(u.scrollOffset),new ti(d,f,u)}},p?.preloadingStrategy?Yi(p.preloadingStrategy):[],{provide:o.PXZ,multi:!0,useFactory:Pn},p?.initialNavigation?Rs(p):[],[{provide:ir,useFactory:Ju},{provide:o.tb,multi:!0,useExisting:ir}]]}}static forChild(u){return{ngModule:d,providers:[yl(u)]}}}return d.\u0275fac=function(u){return new(u||d)(o.LFG(jo,8),o.LFG(gr,8))},d.\u0275mod=o.oAB({type:d}),d.\u0275inj=o.cJS({}),d})();function Xu(d){return"guarded"}function yl(d){return[{provide:o.deG,multi:!0,useValue:d},{provide:gi,multi:!0,useValue:d}]}function Ju(){const d=(0,o.f3M)(o.zs3);return f=>{const u=d.get(o.z2F);if(f!==u.components[0])return;const p=d.get(gr),C=d.get(Dl);null===d.get(Er,null,o.XFs.Optional)&&p.initialNavigation(),d.get(gl,null,o.XFs.Optional)?.setUpPreloading(),d.get(Ho,null,o.XFs.Optional)?.init(),p.resetRootComponentType(u.componentTypes[0]),C.next(),C.complete()}}const ir=new o.OlP("");function Rs(d){return["disabled"===d.initialNavigation?[{provide:o.ip1,multi:!0,useFactory:()=>{const d=(0,o.f3M)(gr);return()=>{d.setUpLocationChangeListener()}}},{provide:Er,useValue:"disabled"}]:[],"enabledBlocking"===d.initialNavigation?[{provide:Er,useValue:"enabledBlocking"},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:d=>{const f=d.get(_e.V_,Promise.resolve(null));let u=!1;return()=>f.then(()=>new Promise(C=>{const N=d.get(gr),Z=d.get(Dl);(function p(C){d.get(gr).events.pipe((0,Ze.h)(Z=>Z instanceof Ot||Z instanceof nn||Z instanceof Kt),(0,_t.U)(Z=>Z instanceof Ot||Z instanceof nn&&(0===Z.code||1===Z.code)&&null),(0,Ze.h)(Z=>null!==Z),(0,je.q)(1)).subscribe(()=>{C()})})(()=>{C(!0),u=!0}),N.afterPreactivation=()=>(C(!0),u||Z.closed?he(void 0):Z),N.initialNavigation()}))}}]:[]]}const Dl=new o.OlP("",{factory:()=>new Ee.x}),Er=new o.OlP("");function Yi(d){return[Gi,{provide:gl,useExisting:Gi},{provide:Ui,useExisting:d}]}},5861:(wt,Ye,L)=>{"use strict";function o(Te,he,Oe,Fe,q,ye,U){try{var z=Te[ye](U),K=z.value}catch(O){return void Oe(O)}z.done?he(K):Promise.resolve(K).then(Fe,q)}function I(Te){return function(){var he=this,Oe=arguments;return new Promise(function(Fe,q){var ye=Te.apply(he,Oe);function U(K){o(ye,Fe,q,U,z,"next",K)}function z(K){o(ye,Fe,q,U,z,"throw",K)}U(void 0)})}}L.d(Ye,{Z:()=>I})}},wt=>{wt(wt.s=746)}]); \ No newline at end of file