vendor: 4,252 bytes, line 1
1import{$ as Mt,Aa as Ie,Ab as wn,Ad as jo,Ba as Ar,Bb as Ro,Bd as Pt,Ca as Tr,Cb as Lr,D as oe,Da as je,Db as kr,Ea as oo,Eb as xr,Ed as $o,F as Ue,Fa as _r,G as Ce,Ga as so,Ha as Ft,I as Er,Ib as bo,J as rt,Ja as Ir,Jb as Ao,Ka as Mr,Kb as To,La as Or,M as it,Ma as $e,N as _e,Na as at,O as Sr,Oa as ao,P as Xi,Pa as uo,Qa as co,R as Ji,Ra as lo,Sa as ho,Ta as fo,Ua as po,V as Qi,Va as ze,W as j,Wb as _o,X as Rr,Ya as go,Z as B,_ as y,a as Wi,ab as Ve,ba as w,bb as Fr,c as qi,ca as Be,cb as mo,d as Tt,da as eo,db as He,dc as Io,e as wr,ea as R,eb as A,ec as q,f as Cr,fa as D,fb as vo,fc as P,g as ie,ga as h,gb as Ge,h as ee,ha as Ot,hb as Nr,hd as Po,ia as to,ib as Do,ja as Ee,jb as yo,jd as Nt,k as we,ka as W,kb as wo,kd as Lo,l as V,lb as yn,ld as se,m as p,mb as Co,mc as Mo,n as _t,nb as We,o as Zi,ob as te,od as ko,p as Yi,pa as no,pb as ut,qa as ot,qd as xo,ra as N,rc as Oo,sa as vn,t as b,ta as br,tc as Fo,u as gn,ua as st,ub as Eo,uc as No,v as G,vb as qe,w as It,wa as Dn,wb as de,x as Ki,xd as Ze,y as mn,ya as ro,yb as So,yd as Uo,za as io,zb as Pr,zd as Bo}from"./chunk-TMX3J7QX.js";import{a as f,b as z}from"./chunk-FPEONYEH.js";var Ho=null;function Se(){return Ho}function Ur(t){Ho??=t}var Lt=class{},kt=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>h(Go),providedIn:"platform"})}return t})(),Br=new R(""),Go=(()=>{class t extends kt{_location;_history;_doc=h(N);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Se().getBaseHref(this._doc)}onPopState(e){let n=Se().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=Se().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,n,i){this._history.pushState(e,n,i)}replaceState(e,n,i){this._history.replaceState(e,n,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Cn(t,r){return t?r?t.endsWith("/")?r.startsWith("/")?t+r.slice(1):t+r:r.startsWith("/")?t+r:`${t}/${r}`:t:r}function zo(t){let r=t.search(/#|\?|$/);return t[r-1]==="/"?t.slice(0,r-1)+t.slice(r):t}function ae(t){return t&&t[0]!=="?"?`?${t}`:t}var ne=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>h(Sn),providedIn:"root"})}return t})(),En=new R(""),Sn=(()=>{class t extends ne{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??h(N).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Cn(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+ae(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${n}${i}`:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+ae(o));this._platformLocation.pushState(e,n,s)}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+ae(o));this._platformLocation.replaceState(e,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(D(kt),D(En,8))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Me=(()=>
1{class t{_subject=new ie;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=Wa(zo(Vo(n))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+ae(n))}normalize(e){return t.stripTrailingSlash(Ga(this._basePath,Vo(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",i=null){this._locationStrategy.pushState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ae(n)),i)}replaceState(e,n="",i=null){this._locationStrategy.replaceState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ae(n)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(i=>i(e,n))}subscribe(e,n,i){return this._subject.subscribe({next:e,error:n??void 0,complete:i??void 0})}static normalizeQueryParams=ae;static joinWithSlash=Cn;static stripTrailingSlash=zo;static \u0275fac=function(n){return new(n||t)(D(ne))};static \u0275prov=w({token:t,factory:()=>Ha(),providedIn:"root"})}return t})();function Ha(){return new Me(D(ne))}function Ga(t,r){if(!t||!r.startsWith(t))return r;let e=r.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:r}function Vo(t){return t.replace(/\/index.html$/,"")}function Wa(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Nn=(()=>{class t extends ne{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=Cn(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+ae(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,s)}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+ae(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(D(kt),D(En,8))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),Qo={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},$t=(function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scie
1ntific=3]="Scientific",t})($t||{});var $=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})($||{}),_=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(_||{}),Z=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(Z||{}),L={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function es(t){return q(t)[P.LocaleId]}function ts(t,r,e){let n=q(t),i=[n[P.DayPeriodsFormat],n[P.DayPeriodsStandalone]],o=re(i,r);return re(o,e)}function ns(t,r,e){let n=q(t),i=[n[P.DaysFormat],n[P.DaysStandalone]],o=re(i,r);return re(o,e)}function rs(t,r,e){let n=q(t),i=[n[P.MonthsFormat],n[P.MonthsStandalone]],o=re(i,r);return re(o,e)}function is(t,r){let n=q(t)[P.Eras];return re(n,r)}function xt(t,r){let e=q(t);return re(e[P.DateFormat],r)}function Ut(t,r){let e=q(t);return re(e[P.TimeFormat],r)}function Bt(t,r){let n=q(t)[P.DateTimeFormat];return re(n,r)}function K(t,r){let e=q(t),n=e[P.NumberSymbols][r];if(typeof n>"u"){if(r===L.CurrencyDecimal)return e[P.NumberSymbols][L.Decimal];if(r===L.CurrencyGroup)return e[P.NumberSymbols][L.Group]}return n}function Pn(t,r){return q(t)[P.NumberFormats][r]}function qa(t){return q(t)[P.Currencies]}function os(t){if(!t[P.ExtraData])throw new y(2303,!1)}function ss(t){let r=q(t);return os(r),(r[P.ExtraData][2]||[]).map(n=>typeof n=="string"?jr(n):[jr(n[0]),jr(n[1])])}function as(t,r,e){let n=q(t);os(n);let i=[n[P.ExtraData][0],n[P.ExtraData][1]],o=re(i,r)||[];return re(o,e)||[]}function re(t,r){for(let e=r;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new y(2304,!1)}function jr(t){let[r,e]=t.split(":");return{hours:+r,minutes:+e}}function us(t,r,e="en"){let n=qa(e)[t]||Qo[t]||[],i=n[1];return r==="narrow"&&typeof i=="string"?i:n[0]||t}var Za=2;function cs(t){let r,e=Qo[t];return e&&(r=e[2]),typeof r=="number"?r:Za}var Ya=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Rn={},Ka=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function ls(t,r,e,n){let i=ou(t);r=Re(e,r)||r;let s=[],a;for(;r;)if(a=Ka.exec(r),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;r=l}else{s.push(r);break}let u=i.getTimezoneOffset();n&&(u=hs(n,u),i=iu(i,n));let c="";return s.forEach(l=>{let d=nu(l);c+=d?d(i,e,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function In(t,r,e){let n=new Date(0);return n.setFullYear(t,r,e),n.setHours(0,0,0),n}function Re(t,r){let e=es(t);if(Rn[e]??={},Rn[e][r])return Rn[e][r];let n="";switch(r){case"shortDate":n=xt(t,Z.Short);break;case"mediumDate":n=xt(t,Z.Medium);break;case"longDate":n=xt(t,Z.Long);break;case"fullDate":n=xt(t,Z.Full);break;case"shortTime":n=Ut(t,Z.Short);break;case"mediumTime":n=Ut(t,Z.Medium);break;case"longTime":n=Ut(t,Z.Long);break;case"fullTime":n=Ut(t,Z.Full);break;case"short":let i=Re(t,"shortTime"),o=Re(t,"shortDate");n=bn(Bt(t,Z.Short),[i,o]);break;case"medium":let s=Re(t,"mediumTime"),a=Re(t,"mediumDate");n=bn(Bt(t,Z.Medium),[s,a]);break;case"long":let u=Re(t,"longTime"),c=Re(t,"longDate");n=bn(Bt(t,Z.Long),[u,c]);break;case"full":let l=Re(t,"fullTime"),d=Re(t,"fullDate");n=bn(Bt(t,Z.Full),[l,d]);break}return n&&(Rn[e][r]=n),n}function bn(t,r){return r&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return r!=null&&n in r?r[n]:e})),t}function ue(t,r,e="-",n,i){let o="";
vendor: 4,276 bytes, line 1
1(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<r;)s="0"+s;return n&&(s=s.slice(s.length-r)),o+s}function Xa(t,r){return ue(t,3).substring(0,r)}function k(t,r,e=0,n=!1,i=!1){return function(o,s){let a=Ja(t,o);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return Xa(a,r);let u=K(s,L.MinusSign);return ue(a,r,u,n,i)}}function Ja(t,r){switch(t){case 0:return r.getFullYear();case 1:return r.getMonth();case 2:return r.getDate();case 3:return r.getHours();case 4:return r.getMinutes();case 5:return r.getSeconds();case 6:return r.getMilliseconds();case 7:return r.getDay();default:throw new y(2301,!1)}}function M(t,r,e=$.Format,n=!1){return function(i,o){return Qa(i,o,t,r,e,n)}}function Qa(t,r,e,n,i,o){switch(e){case 2:return rs(r,i,n)[t.getMonth()];case 1:return ns(r,i,n)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let c=ss(r),l=as(r,i,n),d=c.findIndex(g=>{if(Array.isArray(g)){let[v,m]=g,I=s>=v.hours&&a>=v.minutes,C=s<m.hours||s===m.hours&&a<m.minutes;if(v.hours<m.hours){if(I&&C)return!0}else if(I||C)return!0}else if(g.hours===s&&g.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return ts(r,i,n)[s<12?0:1];case 3:return is(r,n)[t.getFullYear()<=0?0:1];default:let u=e;throw new y(2302,!1)}}function An(t){return function(r,e,n){let i=-1*n,o=K(e,L.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+ue(s,2,o)+ue(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+ue(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+ue(s,2,o)+":"+ue(Math.abs(i%60),2,o);case 3:return n===0?"Z":(i>=0?"+":"")+ue(s,2,o)+":"+ue(Math.abs(i%60),2,o);default:throw new y(2302,!1)}}}var eu=0,_n=4;function tu(t){let r=In(t,eu,1).getDay();return In(t,0,1+(r<=_n?_n:_n+7)-r)}function ds(t){let r=t.getDay(),e=r===0?-3:_n-r;return In(t.getFullYear(),t.getMonth(),t.getDate()+e)}function $r(t,r=!1){return function(e,n){let i;if(r){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=ds(e),s=tu(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return ue(i,t,K(n,L.MinusSign))}}function Tn(t,r=!1){return function(e,n){let o=ds(e).getFullYear();return ue(o,t,K(n,L.MinusSign),r)}}var zr={};function nu(t){if(zr[t])return zr[t];let r;switch(t){case"G":case"GG":case"GGG":r=M(3,_.Abbreviated);break;case"GGGG":r=M(3,_.Wide);break;case"GGGGG":r=M(3,_.Narrow);break;case"y":r=k(0,1,0,!1,!0);break;case"yy":r=k(0,2,0,!0,!0);break;case"yyy":r=k(0,3,0,!1,!0);break;case"yyyy":r=k(0,4,0,!1,!0);break;case"Y":r=Tn(1);break;case"YY":r=Tn(2,!0);break;case"YYY":r=Tn(3);break;case"YYYY":r=Tn(4);break;case"M":case"L":r=k(1,1,1);break;case"MM":case"LL":r=k(1,2,1);break;case"MMM":r=M(2,_.Abbreviated);break;case"MMMM":r=M(2,_.Wide);break;case"MMMMM":r=M(2,_.Narrow);break;case"LLL":r=M(2,_.Abbreviated,$.Standalone);break;case"LLLL":r=M(2,_.Wide,$.Standalone);break;case"LLLLL":r=M(2,_.Narrow,$.Standalone);break;case"w":r=$r(1);break;case"ww":r=$r(2);break;case"W":r=$r(1,!0);break;case"d":r=k(2,1);break;case"dd":r=k(2,2);break;case"c":case"cc":r=k(7,1);break;case"ccc":r=M(1,_.Abbreviated,$.Standalone);break;case"cccc":r=M(1,_.Wide,$.Standalone);break;case"ccccc":r=M(1,_.Narrow,$.Standalone);break;case"cccccc":r=M(1,_.Short,$.Standalone);break;case"E":case"EE":case"EEE":r=M(1,_.Abbreviated);break;case"EEEE":r=M(1,_.Wide);break;case"EEEEE":r=M(1,_.Narrow);break;case"EEEEEE":r=M(1,_.Short);break;case"a":case"aa":case"aaa":r=M(0,_.Abbreviated);break;case"aaaa":r=M(0,_.Wide);break;case"aaaaa":r=M(0,_.Narrow);break;case"b":case"bb":case"bbb":r=M(0,_.Abbreviated,$.Standalone,!0);break;case"bbbb":r=M(0,_.Wide,$.Standalone,!0);break;case"bbbbb":r=M(0,_.Narrow,$.Standalone,!0);break;case"B":case"BB":case"BBB":r=M(0,_.Abbreviated,$.Format,!0);break;case"BBBB":r=M(0,_.Wide,$.Format,!0);break;case"BBBBB":r=M(0,_.Narrow,$.Format,!0);break;case"h":r=k(3,1,-12);break;case"hh":r=k(3,2,-12);break;case"H":r=k(3,1);break;case"HH":r=k(3,2);break;case"m":r=k(4,1);break;case"mm":r=k(4,2);break;case"s":r=k(5,1);break;case"ss":r=k(5,2);break;case"S":r=k(6,1);break;case"SS":r=k(6,2);break;case"SSS":r=k(6,3);break;case"Z":case"ZZ":case"ZZZ":r=An(0);break;case"ZZZZZ":r=An(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":r=An(1);break;
vendor: 19,613 bytes, line 1
1case"OOOO":case"ZZZZ":case"zzzz":r=An(2);break;default:return null}return zr[t]=r,r}function hs(t,r){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?r:e}function ru(t,r){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+r),t}function iu(t,r,e){let i=t.getTimezoneOffset(),o=hs(r,i);return ru(t,-1*(o-i))}function ou(t){if(Wo(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[i,o=1,s=1]=t.split("-").map(a=>+a);return In(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(Ya))return su(n)}let r=new Date(t);if(!Wo(r))throw new y(2302,!1);return r}function su(t){let r=new Date(0),e=0,n=0,i=t[8]?r.setUTCFullYear:r.setFullYear,o=t[8]?r.setUTCHours:r.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(r,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-n,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(r,s,a,u,c),r}function Wo(t){return t instanceof Date&&!isNaN(t.valueOf())}var au=/^(\d+)?\.((\d+)(-(\d+))?)?$/,qo=22,Mn=".",jt="0",uu=";",cu=",",Vr="#",Zo="\xA4",lu="%";function Zr(t,r,e,n,i,o,s=!1){let a="",u=!1;if(!isFinite(t))a=K(e,L.Infinity);else{let c=hu(t);s&&(c=du(c));let l=r.minInt,d=r.minFrac,g=r.maxFrac;if(o){let O=o.match(au);if(O===null)throw new y(2306,!1);let U=O[1],F=O[3],Y=O[5];U!=null&&(l=Hr(U)),F!=null&&(d=Hr(F)),Y!=null?g=Hr(Y):F!=null&&d>g&&(g=d)}fu(c,d,g);let v=c.digits,m=c.integerLen,I=c.exponent,C=[];for(u=v.every(O=>!O);m<l;m++)v.unshift(0);for(;m<0;m++)v.unshift(0);m>0?C=v.splice(m,v.length):(C=v,v=[0]);let S=[];for(v.length>=r.lgSize&&S.unshift(v.splice(-r.lgSize,v.length).join(""));v.length>r.gSize;)S.unshift(v.splice(-r.gSize,v.length).join(""));v.length&&S.unshift(v.join("")),a=S.join(K(e,n)),C.length&&(a+=K(e,i)+C.join("")),I&&(a+=K(e,L.Exponential)+"+"+I)}return t<0&&!u?a=r.negPre+a+r.negSuf:a=r.posPre+a+r.posSuf,a}function fs(t,r,e,n,i){let o=Pn(r,$t.Currency),s=Yr(o,K(r,L.MinusSign));return s.minFrac=cs(n),s.maxFrac=s.minFrac,Zr(t,s,r,L.CurrencyGroup,L.CurrencyDecimal,i).replace(Zo,e).replace(Zo,"").trim()}function ps(t,r,e){let n=Pn(r,$t.Percent),i=Yr(n,K(r,L.MinusSign));return Zr(t,i,r,L.Group,L.Decimal,e,!0).replace(new RegExp(lu,"g"),K(r,L.PercentSign))}function gs(t,r,e){let n=Pn(r,$t.Decimal),i=Yr(n,K(r,L.MinusSign));return Zr(t,i,r,L.Group,L.Decimal,e)}function Yr(t,r="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(uu),i=n[0],o=n[1],s=i.indexOf(Mn)!==-1?i.split(Mn):[i.substring(0,i.lastIndexOf(jt)+1),i.substring(i.lastIndexOf(jt)+1)],a=s[0],u=s[1]||"";e.posPre=a.substring(0,a.indexOf(Vr));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===jt?e.minFrac=e.maxFrac=l+1:d===Vr?e.maxFrac=l+1:e.posSuf+=d}let c=a.split(cu);if(e.gSize=c[1]?c[1].length:0,e.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){let l=i.length-e.posPre.length-e.posSuf.length,d=o.indexOf(Vr);e.negPre=o.substring(0,d).replace(/'/g,""),e.negSuf=o.slice(d+l).replace(/'/g,"")}else e.negPre=r+e.posPre,e.negSuf=e.posSuf;return e}function du(t){if(t.digits[0]===0)return t;let r=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(r===0?t.digits.push(0,0):r===1&&t.digits.push(0),t.integerLen+=2),t}function hu(t){let r=Math.abs(t)+"",e=0,n,i,o,s,a;for((i=r.indexOf(Mn))>-1&&(r=r.replace(Mn,"")),(o=r.search(/e/i))>0?(i<0&&(i=o),i+=+r.slice(o+1),r=r.substring(0,o)):i<0&&(i=r.length),o=0;r.charAt(o)===jt;o++);if(o===(a=r.length))n=[0],i=1;else{for(a--;r.charAt(a)===jt;)a--;for(i-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(r.charAt(o))}return i>qo&&(n=n.splice(0,qo-1),e=i-1,i=1),{digits:n,exponent:e,integerLen:i}}function fu(t,r,e){if(r>e)throw new y(2307,!1);let n=t.digits,i=n.length-t.integerLen,o=Math.min(Math.max(r,i),e),s=o+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d<n.length;d++)n[d]=0}else{i=Math.max(0,i),t.integerLen=1,n.length=Math.max(1,s=o+1),n[0]=0;for(let d=1;d<s;d++)n[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;i<Math.max(0,o);i++)n.push(0);let u=o!==0,c=r+t.integerLen,l=n.reduceRight(function(d,g,v,m){return g=g+d,m[v]=g<10?g:g-10,u&&(m[v]===0&&v>=c?m.pop():u=!1),g>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function Hr(t){let r=parseInt(t);if(isNaN(r))throw new y(2305,!1);return r}var Gr=/\s+/,Yo=[],pu=(()=>{class t{_ngEl;_renderer;initialClasses=Yo;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(Gr):Yo}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Gr):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==n&&(i.changed=!0,i.enabled=n),i.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],i=e[1];i.changed?(this._toggleClass(n,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),i.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(Gr).forEach(i=>{n?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(n){return new(n||t)(A(je),A(He))};static \u0275dir=te({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),gu=(()=>{class t{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(e){this._viewContainerRef=e}_needToReCreateNgModuleInstance(e){return e.ngComponentOutletNgModule!==void 0||e.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(e){return e.ngComponentOutlet!==void 0||e.ngComponentOutletContent!==void 0||e.ngComponentOutletInjector!==void 0||e.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=wo(this.ngComponentOutletNgModule,Ko(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Ko(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(let[n,i]of this._inputsUsed)i?(e.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(e.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||t)(A(Ge))};static \u0275dir=te({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[Ie]})}return t})();function Ko(t){return t.get(Do).injector}var On=class{$implicit;ngForOf;index;count;constructor(r,e,n,i){this.$implicit=r,this.ngForOf=e,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ms=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,n,i){this._viewContainer=e,this._template=n,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let n=this._viewContainer;e.forEachOperation((i,o,s)=>{if(i.previousIndex==null)n.createEmbeddedView(this._template,new On(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)n.remove(o===null?void 0:o);else if(o!==null){let a=n.get(o);n.move(a,s),Xo(a,i)}});for(let i=0,o=n.length;i<o;i++){let a=n.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{let o=n.get(i.currentIndex);Xo(o,i)})}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(A(Ge),A(Fr),A(Uo))};static \u0275dir=te({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Xo(t,r){t.context.$implicit=r.item}var mu=(()=>{class t{_viewContainer;_context=new Fn;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,n){this._viewContainer=e,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Jo(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Jo(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(A(Ge),A(Fr))};static \u0275dir=te({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Fn=class{$implicit=null;ngIf=null};function Jo(t,r){if(t&&!t.createEmbeddedView)throw new y(2020,!1)}var vu=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,i){this._ngEl=e,this._differs=n,this._renderer=i}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){let[i,o]=e.split("."),s=i.indexOf("-")===-1?void 0:Ve.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${n}${o}`:n,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(A(je),A(Bo),A(He))};static \u0275dir=te({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),Du=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,i):!1,get:(e,n,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,i)}})}static \u0275fac=function(n){return new(n||t)(A(Ge))};static \u0275dir=te({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ie]})}return t})();function zt(t,r){return new y(2100,!1)}var Wr=class{createSubscription(r,e,n){return se(()=>r.subscribe({next:e,error:n}))}dispose(r){se(()=>r.unsubscribe())}},qr=class{createSubscription(r,e,n){return r.then(i=>e?.(i),i=>n?.(i)),{unsubscribe:()=>{e=null,n=null}}}dispose(r){r.unsubscribe()}},yu=new qr,wu=new Wr,Cu=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=h(st);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n),n=>this.applicationErrorHandler(n))}_selectStrategy(e){if(wn(e))return yu;if(Ro(e))return wu;throw zt(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(A(Ze,16))};static \u0275pipe=ut({name:"async",type:t,pure:!1})}return t})();var Eu="mediumDate",vs=new R(""),Ds=new R(""),Su=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,i){this.locale=e,this.defaultTimezone=n,this.defaultOptions=i}transform(e,n,i,o){if(e==null||e===""||e!==e)return null;try{let s=n??this.defaultOptions?.dateFormat??Eu,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return ls(e,s,o||this.locale,a)}catch(s){throw zt(t,s.message)}}static \u0275fac=function(n){return new(n||t)(A(Nt,16),A(vs,24),A(Ds,24))};static \u0275pipe=ut({name:"date",type:t,pure:!0})}return t})();var Ru=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,n,i){if(!Kr(e))return null;i||=this._locale;try{let o=Xr(e);return gs(o,i,n)}catch(o){throw zt(t,o.message)}}static \u0275fac=function(n){return new(n||t)(A(Nt,16))};static \u0275pipe=ut({name:"number",type:t,pure:!0})}return t})(),bu=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,n,i){if(!Kr(e))return null;i||=this._locale;try{let o=Xr(e);return ps(o,i,n)}catch(o){throw zt(t,o.message)}}static \u0275fac=function(n){return new(n||t)(A(Nt,16))};static \u0275pipe=ut({name:"percent",type:t,pure:!0})}return t})(),Au=(()=>{class t{_locale;_defaultCurrencyCode;constructor(e,n="USD"){this._locale=e,this._defaultCurrencyCode=n}transform(e,n=this._defaultCurrencyCode,i="symbol",o,s){if(!Kr(e))return null;s||=this._locale,typeof i=="boolean"&&(i=i?"symbol":"code");let a=n||this._defaultCurrencyCode;i!=="code"&&(i==="symbol"||i==="symbol-narrow"?a=us(a,i==="symbol"?"wide":"narrow",s):a=i);try{let u=Xr(e);return fs(u,s,a,n,o)}catch(u){throw zt(t,u.message)}}static \u0275fac=function(n){return new(n||t)(A(Nt,16),A(Lo,16))};static \u0275pipe=ut({name:"currency",type:t,pure:!0})}return t})();function Kr(t){return!(t==null||t===""||t!==t)}function Xr(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new y(2309,!1);return t}var ys=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=We({type:t});static \u0275inj=Be({})}return t})();function Vt(t,r){r=encodeURIComponent(r);for(let e of t.split(";")){let n=e.indexOf("="),[i,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(i.trim()===r)return decodeURIComponent(o)}return null}var Ke=class{};function lh(t,r,e){return Io(t,r,e)}var Qr="browser",Iu="server";function dh(t){return t===Qr}function hh(t){return t===Iu}var ei=(()=>{class t{static \u0275prov=w({token:t,providedIn:"root",factory:()=>new Jr(h(N),window)})}return t})(),Jr=class{document;window;offset=()=>[0,0];constructor(r,e){this.document=r,this.window=e}setOffset(r){Array.isArray(r)?this.offset=()=>r:this.offset=r}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(r,e){this.window.scrollTo(z(f({},e),{left:r[0],top:r[1]}))}scrollToAnchor(r,e){let n=Mu(this.document,r);n&&(this.scrollToElement(n,e),n.focus())}setHistoryScrollRestoration(r){try{this.window.history.scrollRestoration=r}catch{console.warn(Mt(2400,!1))}}scrollToElement(r,e){let n=r.getBoundingClientRect(),i=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(z(f({},e),{left:i-s[0],top:o-s[1]}))}};function Mu(t,r){let e=t.getElementById(r)||t.getElementsByName(r)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(r)||o.querySelector(`[name="${r}"]`);if(s)return s}i=n.nextNode()}}return null}var kn=new R(""),oi=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,i,o){return this._findPluginFor(n).addEventListener(e,n,i,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new y(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(D(kn),D(de))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),Ht=class{_doc;constructor(r){this._doc=r}manager},ti="ng-app-id";function ws(t){for(let r of t)r.remove()}function Cs(t,r){let e=r.createElement("style");return e.textContent=t,e}function Fu(t,r,e,n){let i=t.head?.querySelectorAll(`style[${ti}="${r}"],link[${ti}="${r}"]`);if(i)for(let o of i)o.removeAttribute(ti),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function ri(t,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var si=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,n,i,o={}){this.doc=e,this.appId=n,this.nonce=i,Fu(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,Cs);n?.forEach(i=>
vendor: 6,000 bytes, line 1
1this.addUsage(i,this.external,ri))}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,n,i){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(ws(i.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])ws(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,Cs(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,ri(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(D(N),D(_r),D(Ir,8),D(Ft))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),ni={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},ai=/%COMP%/g;var Ss="%COMP%",Nu=`_nghost-${Ss}`,Pu=`_ngcontent-${Ss}`,Lu=!0,ku=new R("",{providedIn:"root",factory:()=>Lu});function xu(t){return Pu.replace(ai,t)}function Uu(t){return Nu.replace(ai,t)}function Rs(t,r){return r.map(e=>e.replace(ai,t))}var ui=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;animationDisabled;maxAnimationTimeout;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;registry;constructor(e,n,i,o,s,a,u,c=null,l,d,g=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.animationDisabled=l,this.maxAnimationTimeout=d,this.tracingService=g,this.platformIsServer=!1,this.defaultRenderer=new Gt(e,s,u,this.platformIsServer,this.tracingService,this.registry=no(),this.maxAnimationTimeout)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,n);return i instanceof Ln?i.applyToHost(e):i instanceof Wt&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,o=i.get(n.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,g=this.tracingService;switch(n.encapsulation){case Or.Emulated:o=new Ln(u,c,n,this.appId,l,s,a,d,g,this.registry,this.animationDisabled,this.maxAnimationTimeout);break;case Or.ShadowDom:return new ii(u,c,e,n,s,a,this.nonce,d,g,this.registry,this.maxAnimationTimeout);default:o=new Wt(u,c,n,l,s,a,d,g,this.registry,this.animationDisabled,this.maxAnimationTimeout);break}i.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(D(oi),D(si),D(_r),D(ku),D(N),D(Ft),D(de),D(Ir),D(Ao),D(To),D(Eo,8))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),Gt=class{eventManager;doc;ngZone;platformIsServer;tracingService;registry;maxAnimationTimeout;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,n,i,o,s,a){this.eventManager=r,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.tracingService=o,this.registry=s,this.maxAnimationTimeout=a}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(ni[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(Es(r)?r.content:r).appendChild(e)}insertBefore(r,e,n){r&&(Es(r)?r.content:r).insertBefore(e,n)}removeChild(r,e){let{elements:n}=this.registry;if(n){n.animate(e,()=>e.remove(),this.maxAnimationTimeout);return}e.remove()}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new y(-5104,!1);return e||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,n,i){if(i){e=i+":"+e;let o=ni[i];o?r.setAttributeNS(o,e,n):r.setAttribute(e,n)}else r.setAttribute(e,n)}removeAttribute(r,e,n){if(n){let i=ni[n];i?r.removeAttributeNS(i,e):r.removeAttribute(`${n}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,n,i){i&(Ve.DashCase|Ve.Important)?r.style.setProperty(e,n,i&Ve.Important?"important":""):r.style[e]=n}removeStyle(r,e,n){n&Ve.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,n){r!=null&&(r[e]=n)}setValue(r,e){r.nodeValue=e}listen(r,e,n,i){if(typeof r=="string"&&(r=Se().getGlobalEventTarget(this.doc,r),!r))throw new y(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;r(e)===!1&&e.preventDefault()}}};function Es(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ii=class extends Gt{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,n,i,o,s,a,u,c,l,d){super(r,o,s,u,c,l,d),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let g=i.styles;g=Rs(i.id,g);for(let m of g){let I=document.createElement("style");a&&I.setAttribute("nonce",a),I.textContent=m,this.shadowRoot.appendChild(I)}let v=i.getExternalStyles?.();if(v)for(let m of v){let I=ri(m,o);a&&I.setAttribute("nonce",a),this.shadowRoot.appendChild(I)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,n){return super.insertBefore(this.nodeOrShadowRoot(r),e,n)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}
vendor: 4,805 bytes, line 1
1,Wt=class extends Gt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;_animationDisabled;constructor(r,e,n,i,o,s,a,u,c,l,d,g){super(r,o,s,a,u,c,d),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this._animationDisabled=l;let v=n.styles;this.styles=g?Rs(g,v):v,this.styleUrls=n.getExternalStyles?.(g)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){if(this.removeStylesOnCompDestroy){if(!this._animationDisabled&&this.registry.elements){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)},this.maxAnimationTimeout)});return}this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}},Ln=class extends Wt{contentAttr;hostAttr;constructor(r,e,n,i,o,s,a,u,c,l,d,g){let v=i+"-"+n.id;super(r,e,n,o,s,a,u,c,l,d,g,v),this.contentAttr=xu(v),this.hostAttr=Uu(v)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let n=super.createElement(r,e);return super.setAttribute(n,this.contentAttr,""),n}};var xn=class t extends Lt{supportsDOMEvents=!0;static makeCurrent(){Ur(new t)}onAndCancel(r,e,n,i){return r.addEventListener(e,n,i),()=>{r.removeEventListener(e,n,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=ju();return e==null?null:$u(e)}resetBaseElement(){qt=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return Vt(document.cookie,r)}},qt=null;function ju(){return qt=qt||document.head.querySelector("base"),qt?qt.getAttribute("href"):null}function $u(t){return new URL(t,document.baseURI).pathname}var zu=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),As=(()=>{class t extends Ht{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,i,o){return e.addEventListener(n,i,o),()=>this.removeEventListener(e,n,i,o)}removeEventListener(e,n,i,o){return e.removeEventListener(n,i,o)}static \u0275fac=function(n){return new(n||t)(D(N))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),bs=["alt","control","meta","shift"],Vu={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Hu={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Ts=(()=>{class t extends Ht{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i,o){let s=t.parseEventName(n),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Se().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(n.pop()),s="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),s="code."),bs.forEach(c=>{let l=n.indexOf(c);l>-1&&(n.splice(l,1),s+=c+".")}),s+=o,n.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(e,n){let i=Vu[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),bs.forEach(s=>{if(s!==i){let a=Hu[s];a(e)&&(o+=s+".")}}),o+=i,o===n)}static eventCallback(e,n,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(D(N))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();function Gu(t,r,e){let n=f({rootComponent:t,platformRef:e?.platformRef},Wu(r));return jo(n)}function Wu(t){return{appProviders:[...Xu,...t?.providers??[]],platformProviders:Ku}}function qu(){xn.makeCurrent()}function Zu(){return new br}function Yu(){return oo(document),document}var Ku=[{provide:Ft,useValue:Qr},{provide:so,useValue:qu,multi:!0},{provide:N,useFactory:Yu}];var Xu=[{provide:to,useValue:"root"},{provide:br,useFactory:Zu},{provide:kn,useClass:As,multi:!0,deps:[N]},{provide:kn,useClass:Ts,multi:!0,deps:[N]},ui,si,oi,{provide:mo,useExisting:ui},{provide:Ke,useClass:zu},[]];var lt=class{},dt=class{},fe=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(`
2`).forEach(e=>{let n=e.indexOf(":");if(n>0){let i=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e))})}clone(r){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case"a":case"s":let n=r.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=(r.op==="a"?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":let o=r.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(r,e){let n=r.toLowerCase();this.maybeSetNormalizedName(r,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(r,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=r.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(r,i)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)))}};var jn=class{encodeKey(r){return _s(r)}encodeValue(r){return _s(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function Ju(t,r){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,o)),r.decodeValue(i.slice(o+1))],u=e.get(s)||[];u.push(a),e.set(s,u)}),e}var Qu=/%(\d[a-f0-9])/gi,ec={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _s(t){return encodeURIComponent(t).replace(Qu,(r,e)=>ec[e]??r)}function Un(t){return`${t}`}var be=class t{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new jn,r.fromString){if(r.fromObject)throw new y(2805,!1);this.map=Ju(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{let n=r.fromObject[e],i=Array.isArray(n)?n.map(Un):[Un(n)];this.map.set(e,i)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();let e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){let e=[];return Object.keys(r).forEach(n=>{let i=r[n];Array.isArray(i)?i.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEac
vendor: 4,644 bytes, line 2
2h(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(Un(r.value)),this.map.set(r.param,e);break;case"d":if(r.value!==void 0){let n=this.map.get(r.param)||[],i=n.indexOf(Un(r.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(r.param,n):this.map.delete(r.param)}else{this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null)}};var $n=class{map=new Map;set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}};function tc(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Is(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Ms(t){return typeof Blob<"u"&&t instanceof Blob}function Os(t){return typeof FormData<"u"&&t instanceof FormData}function nc(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Zt="Content-Type",zn="Accept",fi="X-Request-URL",Ns="text/plain",Ps="application/json",Ls=`${Ps}, ${Ns}, */*`,ct=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(r,e,n,i){this.url=e,this.method=r.toUpperCase();let o;if(tc(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new y(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new fe,this.context??=new $n,!this.params)this.params=new be,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),u=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+u+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Is(this.body)||Ms(this.body)||Os(this.body)||nc(this.body)?this.body:this.body instanceof be?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Os(this.body)?null:Ms(this.body)?this.body.type||null:Is(this.body)?null:typeof this.body=="string"?Ns:this.body instanceof be?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ps:null}clone(r={}){let e=r.method||this.method,n=r.url||this.url,i=r.responseType||this.responseType,o=r.keepalive??this.keepalive,s=r.priority||this.priority,a=r.cache||this.cache,u=r.mode||this.mode,c=r.redirect||this.redirect,l=r.credentials||this.credentials,d=r.referrer||this.referrer,g=r.integrity||this.integrity,v=r.transferCache??this.transferCache,m=r.timeout??this.timeout,I=r.body!==void 0?r.body:this.body,C=r.withCredentials??this.withCredentials,S=r.reportProgress??this.reportProgress,O=r.headers||this.headers,U=r.params||this.params,F=r.context??this.context;return r.setHeaders!==void 0&&(O=Object.keys(r.setHeaders).reduce((Y,ye)=>Y.set(ye,r.setHeaders[ye]),O)),r.setParams&&(U=Object.keys(r.setParams).reduce((Y,ye)=>Y.set(ye,r.setParams[ye]),U)),new t(e,n,I,{params:U,headers:O,context:F,reportProgress:S,responseType:i,withCredentials:C,transferCache:v,keepalive:o,cache:a,priority:s,timeout:m,mode:u,redirect:c,credentials:l,referrer:d,integrity:g})}},Ae=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Ae||{}),ht=class{headers;status;statusText;url;ok;type;redirected;constructor(r,e=200,n="OK"){this.headers=r.headers||new fe,this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||n,this.url=r.url||null,this.redirected=r.redirected,this.ok=this.status>=200&&this.status<300}},Yt=class t extends ht{constructor(r={}){super(r)}
vendor: 4,496 bytes, line 2
2type=Ae.ResponseHeader;clone(r={}){return new t({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},ft=class t extends ht{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null}type=Ae.Response;clone(r={}){return new t({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0,redirected:r.redirected??this.redirected})}},he=class extends ht{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}},ks=200,rc=204;function ci(t,r){return{body:r,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer}}var xs=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,i={}){let o;if(e instanceof ct)o=e;else{let u;i.headers instanceof fe?u=i.headers:u=new fe(i.headers);let c;i.params&&(i.params instanceof be?c=i.params:c=new be({fromObject:i.params})),o=new ct(e,n,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,integrity:i.integrity,timeout:i.timeout})}let s=p(o).pipe(Ce(u=>this.handler.handle(u)));if(e instanceof ct||i.observe==="events")return s;let a=s.pipe(oe(u=>u instanceof ft));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(b(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new y(2806,!1);return u.body}));case"blob":return a.pipe(b(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new y(2807,!1);return u.body}));case"text":return a.pipe(b(u=>{if(u.body!==null&&typeof u.body!="string")throw new y(2808,!1);return u.body}));case"json":default:return a.pipe(b(u=>u.body))}case"response":return a;default:throw new y(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new be().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,i={}){return this.request("PATCH",e,ci(i,n))}post(e,n,i={}){return this.request("POST",e,ci(i,n))}put(e,n,i={}){return this.request("PUT",e,ci(i,n))}static \u0275fac=function(n){return new(n||t)(D(lt))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),ic=/^\)\]\}',?\n/;function Fs(t){if(t.url)return t.url;let r=fi.toLocaleLowerCase();return t.headers.get(r)}var Us=new R(""),Bn=(()=>{class t{fetchImpl=h(li,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=h(de);destroyRef=h(vn);destroyed=!1;constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0})}handle(e){return new Tt(n=>{let i=new AbortController;this.doRequest(e,i.signal,n).then(di,s=>n.error(new he({error:s})));let o;return e.timeout&&(o=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{o!==void 0&&clearTimeout(o),i.abort()}})}async doRequest(e,n,i){let o=this.createRequestInit(e),s;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,f({signal:n},o)));oc(m),i.next({type:Ae.Sent}),s=await m}catch(m){i.error(new he({error:m,status:m.status??0,statusText:m.statusText,url:e.urlWithParams,headers:m.headers}));return}let a=new fe(s.headers),u=s.statusText,c=Fs(s)??e.urlWithParams,l=s.status,d=null;if(e.reportProgress&&i.next(new Yt({headers:a,status:l,statusText:u,url:c})),s.body){let m=s.headers.get("content-length"),I=[],C=s.body.getReader(),S=0,O,U,F=typeof Zone<"u"&&Zone.current,Y=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;
2){if(this.destroyed){await C.cancel(),Y=!0;break}let{done:xe,value:yr}=await C.read();if(xe)break;if(I.push(yr),S+=yr.length,e.reportProgress){U=e.responseType==="text"?(U??"")+(O??=new TextDecoder).decode(yr,{stream:!0}):void 0;let Gi=()=>i.next({type:Ae.DownloadProgress,total:m?+m:void 0,loaded:S,partialText:U});F?F.run(Gi):Gi()}}}),Y){i.complete();return}let ye=this.concatChunks(I,S);try{let xe=s.headers.get(Zt)??"";d=this.parseBody(e,ye,xe,l)}catch(xe){i.error(new he({error:xe,headers:new fe(s.headers),status:s.status,statusText:s.statusText,url:Fs(s)??e.urlWithParams}));return}}l===0&&(l=d?ks:0);let g=l>=200&&l<300,v=s.redirected;g?(i.next(new ft({body:d,headers:a,status:l,statusText:u,url:c,redirected:v})),i.complete()):i.error(new he({error:d,headers:a,status:l,statusText:u,url:c,redirected:v}))}parseBody(e,n,i,o){switch(e.responseType){case"json":let s=new TextDecoder().decode(n).replace(ic,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(o<200||o>=300)return s;throw a}case"text":return new TextDecoder().decode(n);case"blob":return new Blob([n],{type:i});case"arraybuffer":return n.buffer}}createRequestInit(e){let n={},i;if(i=e.credentials,e.withCredentials&&(i="include"),e.headers.forEach((o,s)=>n[o]=s.join(",")),e.headers.has(zn)||(n[zn]=Ls),!e.headers.has(Zt)){let o=e.detectContentTypeHeader();o!==null&&(n[Zt]=o)}return{body:e.serializeBody(),method:e.method,headers:n,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity}}concatChunks(e,n){let i=new Uint8Array(n),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),li=class{};function di(){}function oc(t){t.then(di,di)}function sc(t,r){return r(t)}function ac(t,r,e){return(n,i)=>W(e,()=>r(n,o=>t(o,i)))}var pi=new R(""),Bs=new R(""),js=new R("",{providedIn:"root",factory:()=>!0});var Vn=(()=>{class t extends lt{backend;injector;chain=null;pendingTasks=h(io);contributeToStability=h(js);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(pi),...this.injector.get(Bs,[])]));this.chain=n.reduceRight((i,o)=>ac(i,o,this.injector),sc)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(it(n))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(D(dt),D(Ee))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();var uc=/^\)\]\}',?\n/,cc=RegExp(`^${fi}:`,"m");function lc(t){return"responseURL"in t&&t.responseURL?t.responseURL:cc.test(t.getAllResponseHeaders())?t.getResponseHeader(fi):null}var hi=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new y(-2800,!1);let n=this.xhrFactory;return p(null).pipe(j(()=>new Tt(o=>{let s=n.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((C,S)=>s.setRequestHeader(C,S.join(","))),e.headers.has(zn)||s.setRequestHeader(zn,Ls),!e.headers.has(Zt)){let C=e.detectContentTypeHeader();C!==null&&s.setRequestHeader(Zt,C)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let C=e.responseType.toLowerCase();s.responseType=C!=="json"?C:"text"}let a=e.serializeBody(),u=null,c=()=>{if(u!==null)return u;let C=s.statusText||"OK",S=new fe(s.getAllResponseHeaders()),O=lc(s)||e.url;return u=new Yt({headers:S,status:s.status,statusText:C,url:O}),u},l=()=>{let{headers:C,status:S,statusText:O,url:U}=c(),F=null;S!==rc&&(F=typeof s.response>"u"?s.responseText:s.response),S===0&&(S=F?ks:0);let Y=S>=200&&S<300;if(e.responseType==="json"&&typeof F=="string"){let ye=F;F=F.replace(uc,"");try{F=F!==""?JSON.parse(F):null}catch(xe){F=ye,Y&&(Y=!1,F={error:xe,text:F})}}Y?(o.next(new ft({body:F,headers:C,status:S,statusText:O,url:U||void 0})),o.complete()):o.error(new he({error:F,headers:C,status:S,statusText:O,url:U||void 0}))},d=C=>{let{url:S}=c(),O=new he({error:C,status:s.status||0,statusText:s.statusText||"Unknown Error",url:S||void 0});o.error(O)},g=d;e.timeout&&(g=C=>{let{url:S}=c(),O=new he({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:S||void 0});o.error(O)});let v=!1,m=C=>
vendor: 40,424 bytes, line 2
2{v||(o.next(c()),v=!0);let S={type:Ae.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),e.responseType==="text"&&s.responseText&&(S.partialText=s.responseText),o.next(S)},I=C=>{let S={type:Ae.UploadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),o.next(S)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",g),s.addEventListener("abort",d),e.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",I)),s.send(a),o.next({type:Ae.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",g),e.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",I)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(n){return new(n||t)(D(Ke))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),$s=new R(""),dc="XSRF-TOKEN",hc=new R("",{providedIn:"root",factory:()=>dc}),fc="X-XSRF-TOKEN",pc=new R("",{providedIn:"root",factory:()=>fc}),Kt=class{},gc=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vt(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(D(N),D(hc))};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();function mc(t,r){let e=t.url.toLowerCase();if(!h($s)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return r(t);let n=h(Kt).getToken(),i=h(pc);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),r(t)}var Hn=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(Hn||{});function zs(t,r){return{\u0275kind:t,\u0275providers:r}}function vc(...t){let r=[xs,hi,Vn,{provide:lt,useExisting:Vn},{provide:dt,useFactory:()=>h(Us,{optional:!0})??h(hi)},{provide:pi,useValue:mc,multi:!0},{provide:$s,useValue:!0},{provide:Kt,useClass:gc}];for(let e of t)r.push(...e.\u0275providers);return Ot(r)}function Dc(t){return zs(Hn.Interceptors,t.map(r=>({provide:pi,useValue:r,multi:!0})))}function yc(){return zs(Hn.Fetch,[Bn,{provide:Us,useExisting:Bn},{provide:dt,useExisting:Bn}])}var Vs=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(D(N))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Cc=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=D(Ec),i},providedIn:"root"})}return t})(),Ec=(()=>{class t extends Cc{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case ze.NONE:return n;case ze.HTML:return at(n,"HTML")?$e(n):po(this._doc,String(n)).toString();case ze.STYLE:return at(n,"Style")?$e(n):n;case ze.SCRIPT:if(at(n,"Script"))return $e(n);throw new y(5200,!1);case ze.URL:return at(n,"URL")?$e(n):fo(String(n));case ze.RESOURCE_URL:if(at(n,"ResourceURL"))return $e(n);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(e){return ao(e)}bypassSecurityTrustStyle(e){return uo(e)}bypassSecurityTrustScript(e){return co(e)}bypassSecurityTrustUrl(e){return lo(e)}bypassSecurityTrustResourceUrl(e){return ho(e)}static \u0275fac=function(n){return new(n||t)(D(N))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var E="primary",ln=Symbol("RouteTitle"),yi=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Qe(t){return new yi(t)}function Xs(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function Rc(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!pe(t[e],r[e]))return!1;return!0}function pe(t,r){let e=t?wi(t):void 0,n=r?wi(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Js(t[i],r[i]))return!1;return!0}function wi(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Js(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,o)=>n[o]===i)}else return t===r}function Qs(t){return t.length>0?t[t.length-1]:null}function Te(t){return Zi(t)?t:wn(t)?V(Promise.resolve(t)):p(t)}var bc={exact:ta,subset:na},ea={exact:Ac,subset:Tc,ignored:()=>!0};function Hs(t,r,e){return bc[e.paths](t.root,r.root,e.matrixParams)&&ea[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function Ac(t,r){return pe(t,r)}function ta(t,r,e){if(!Xe(t.segments,r.segments)||!qn(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!ta(t.children[n],r.children[n],e))return!1;return!0}function Tc(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>Js(t[e],r[e]))}function na(t,r,e){return ra(t,r,r.segments,e)}function ra(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!Xe(i,e)||r.hasChildren()||!qn(i,e,n))}else if(t.segments.length===e.length){if(!Xe(t.segments,e)||!qn(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!na(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Xe(t.segments,i)||!qn(t.segments,i,n)||!t.children[E]?!1:ra(t.children[E],r,o,n)}}function qn(t,r,e){return r.every((n,i)=>ea[e](t[i].parameters,n.parameters))}var me=class{root;queryParams;fragment;_queryParamMap;constructor(r=new T([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Qe(this.queryParams),this._queryParamMap}toString(){return Mc.serialize(this)}},T=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Zn(this)}},Oe=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=Qe(this.parameters),this._parameterMap}toString(){return oa(this)}};function _c(t,r){return Xe(t,r)&&t.every((e,n)=>pe(e.parameters,r[n].parameters))}function Xe(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function Ic(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===E&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==E&&(e=e.concat(r(i,n)))}),e}var Le=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>new Fe,providedIn:"root"})}return t})(),Fe=class{parse(r){let e=new Ei(r);return new me(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${Xt(r.root,!0)}`,n=Nc(r.queryParams),i=typeof r.fragment=="string"?`#${Oc(r.fragment)}`:"";return`${e}${n}${i}`}},Mc=new Fe;function Zn(t){return t.segments.map(r=>oa(r)).join("/")}function Xt(t,r){if(!t.hasChildren())return Zn(t);if(r){let e=t.children[E]?Xt(t.children[E],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==E&&n.push(`${i}:${Xt(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=Ic(t,(n,i)=>i===E?[Xt(t.children[E],!1)]:[`${i}:${Xt(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[E]!=null?`${Zn(t)}/${e[0]}`:`${Zn(t)}/(${e.join("//")})`}}function ia(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gn(t){return ia(t).replace(/%3B/gi,";")}function Oc(t){return encodeURI(t)}function Ci(t){return ia(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yn(t){return decodeURIComponent(t)}function Gs(t){return Yn(t.replace(/\+/g,"%20"))}function oa(t){return`${Ci(t.path)}${Fc(t.parameters)}`}function Fc(t){return Object.entries(t).map(([r,e])=>`;${Ci(r)}=${Ci(e)}`).join("")}function Nc(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${Gn(e)}=${Gn(i)}`).join("&"):`${Gn(e)}=${Gn(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var Pc=/^[^\/()?;#]+/;function gi(t){let r=t.match(Pc);return r?r[0]:""}var Lc=/^[^\/()?;=#]+/;function kc(t){let r=t.match(Lc);return r?r[0]:""}var xc=/^[^=?&#]+/;function Uc(t){let r=t.match(xc);return r?r[0]:""}var Bc=/^[^&#]+/;function jc(t){let r=t.match(Bc);return r?r[0]:""}var Ei=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new T([],{}):new T([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[E]=new T(r,e)),n}parseSegment(){let r=gi(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(r),new Oe(Yn(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=kc(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=gi(this.remaining);i&&(n=i,this.capture(n))}r[Yn(e)]=Yn(n)}parseQueryParam(r){let e=Uc(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=jc(this.remaining);s&&(n=s,this.capture(n))}let i=Gs(e),o=Gs(n);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=gi(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=E);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[E]:new T([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new y(4011,!1)}};function sa(t){return t.segments.length>0?new T([],{[E]:t}):t}function aa(t){let r={};for(let[n,i]of Object.entries(t.children)){let o=aa(i);if(n===E&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))r[s]=a;else(o.segments.length>0||o.hasChildren())&&(r[n]=o)}let e=new T(t.segments,r);return $c(e)}function $c(t){if(t.numberOfChildren===1&&t.children[E]){let r=t.children[E];return new T(t.segments.concat(r.segments),r.children)}return t}function Ne(t){return t instanceof me}function ua(t,r,e=null,n=null){let i=ca(t);return la(i,r,e,n)}function ca(t){let r;function e(o){let s={};for(let u of o.children){let c=e(u);s[u.outlet]=c}let a=new T(o.url,s);return o===t&&(r=a),a}let n=e(t.root),i=sa(n);return r??i}function la(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return mi(i,i,i,e,n);let o=zc(r);if(o.toRoot())return mi(i,i,new T([],{}),e,n);let s=Vc(o,i,t),a=s.processChildren?Qt(s.segmentGroup,s.index,o.commands):ha(s.segmentGroup,s.index,o.commands);return mi(i,s.segmentGroup,a,e,n)}function Kn(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function tn(t){return typeof t=="object"&&t!=null&&t.outlets}function mi(t,r,e,n,i){let o={};n&&Object.entries(n).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===r?s=e:s=da(t,r,e);let a=sa(aa(s));return new me(a,o,i)}function da(t,r,e){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===r?n[i]=e:n[i]=da(o,r,e)}),new T(t.segments,n)}var Xn=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&Kn(n[0]))throw new y(4003,!1);let i=n.find(tn);if(i&&i!==Qs(n))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function zc(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Xn(!0,0,t);let r=0,e=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?e=!0:a===".."?r++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Xn(e,r,n)}var mt=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function Vc(t,r,e){if(t.isAbsolute)return new mt(r,!0,0);if(!e)return new mt(r,!1,NaN);if(e.parent===null)return new mt(e,!0,0);let n=Kn(t.commands[0])?0:1,i=e.segments.length-1+n;return Hc(e,i,t.numberOfDoubleDots)}function Hc(t,r,e){let n=t,i=r,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new y(4005,!1);i=n.segments.length}return new mt(n,!1,i-o)}function Gc(t){return tn(t[0])?t[0].outlets:{[E]:t}}function ha(t,r,e){if(t??=new T([],{}),t.segments.length===0&&t.hasChildren())return Qt(t,r,e);let n=Wc(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new T(t.segments.slice(0,n.pathIndex),{});return o.children[E]=new T(t.segments.slice(n.pathIndex),t.children),Qt(o,0,i)}else return n.match&&i.length===0?new T(t.segments,{}):n.match&&!t.hasChildren()?Si(t,r,e):n.match?Qt(t,0,i):Si(t,r,e)}function Qt(t,r,e){if(e.length===0)return new T(t.segments,{});{let n=Gc(e),i={};if(Object.keys(n).some(o=>o!==E)&&t.children[E]&&t.numberOfChildren===1&&t.children[E].segments.length===0){let o=Qt(t.children[E],r,e);return new T(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=ha(t.children[o],r,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new T(t.segments,i)}}function Wc(t,r,e){let n=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let s=t.segments[i],a=e[n];if(tn(a))break;let u=`${a}`,c=n<e.length-1?e[n+1]:null;if(i>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!qs(u,c,s))return o;n+=2}else{if(!qs(u,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Si(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(tn(o)){let u=qc(o.outlets);return new T(n,u)}if(i===0&&Kn(e[0])){let u=t.segments[r];n.push(new Oe(u.path,Ws(e[0]))),i++;continue}let s=tn(o)?o.outlets[E]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&Kn(a)?(n.push(new Oe(s,Ws(a))),i+=2):(n.push(new Oe(s,{})),i++)}return new T(n,{})}function qc(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=Si(new T([],{}),0,n))}),r}function Ws(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function qs(t,r,e){return t==e.path&&pe(r,e.parameters)}var vt="imperative",x=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(x||{}),J=class{id;url;constructor(r,e){this.id=r,this.url=e}},Pe=class extends J{type=x.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Q=class extends J{urlAfterRedirects;type=x.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},H=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(H||{}),yt=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(yt||{}),ge=class extends J{reason;code;type=x.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ve=class extends J{reason;code;type=x.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},wt=class extends J{error;target;type=x.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},nn=class extends J{urlAfterRedirects;state;type=x.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jn=class extends J{urlAfterRedirects;state;type=x.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Qn=class extends J{urlAfterRedirects;state;shouldActivate;type=x.GuardsCheckEnd;constructor(r,e,n,i,o){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},er=class extends J{urlAfterRedirects;state;type=x.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tr=class extends J{urlAfterRedirects;state;type=x.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nr=class{route;type=x.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},rr=class{route;type=x.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ir=class{snapshot;type=x.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},or=class{snapshot;type=x.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sr=class{snapshot;type=x.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ar=class{snapshot;type=x.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ct=class{routerEvent;position;anchor;type=x.Scroll;constructor(r,e,n){this.routerEvent=r,this.position=e,this.anchor=n}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},rn=class{},Et=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function Zc(t){return!(t instanceof rn)&&!(t instanceof Et)}function Yc(t,r){return t.providers&&!t._injector&&(t._injector=yn(t.providers,r,`Route: ${t.path}`)),t._injector??r}function ce(t){return t.outlet||E}function Kc(t,r){let e=t.filter(n=>ce(n)===r);return e.push(...t.filter(n=>ce(n)!==r)),e}function bt(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var ur=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return bt(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new et(this.rootInjector)}},et=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new ur(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(D(Ee))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cr=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=Ri(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=Ri(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=bi(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return bi(r,this._root).map(e=>e.value)}};function Ri(t,r){if(t===r.value)return r;for(let e of r.children){let n=Ri(t,e);if(n)return n}return null}function bi(t,r){if(t===r.value)return[r];for(let e of r.children){let n=bi(t,e);if(n.length)return n.unshift(r),n}return[]}var X=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function gt(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var on=class extends cr{snapshot;constructor(r,e){super(r),this.snapshot=e,Ni(this,r)}toString(){return this.snapshot.toString()}};function fa(t){let r=Xc(t),e=new ee([new Oe("",{})]),n=new ee({}),i=new ee({}),o=new ee({}),s=new ee(""),a=new De(e,n,o,s,i,E,t,r.root);return a.snapshot=r.root,new on(new X(a,[]),r)}function Xc(t){let r={},e={},n={},o=new Je([],r,n,"",e,E,t,null,{});return new sn("",new X(o,[]))}var De=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,o,s,a,u){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(b(c=>c[ln]))??p(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(b(r=>Qe(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(b(r=>Qe(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function lr(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:f(f({},r.params),t.params),data:f(f({},r.data),t.data),resolve:f(f(f(f({},t.data),r.data),i?.data),t._resolvedData)}:n={params:f({},t.params),data:f({},t.data),resolve:f(f({},t.data),t._resolvedData??{})},i&&ga(i)&&(n.resolve[ln]=i.title),n}var Je=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ln]}constructor(r,e,n,i,o,s,a,u,c){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}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??=Qe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Qe(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},sn=class extends cr{url;constructor(r,e){super(e),this.url=r,Ni(this,e)}toString(){return pa(this._root)}};function Ni(t,r){r.value._routerState=t,r.children.forEach(e=>Ni(t,e))}function pa(t){let r=t.children.length>0?` { ${t.children.map(pa).join(", ")} } `:"";return`${t.value}${r}`}function vi(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,pe(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),pe(r.params,e.params)||t.paramsSubject.next(e.params),Rc(r.url,e.url)||t.urlSubject.next(e.url),pe(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Ai(t,r){let e=pe(t.params,r.params)&&_c(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||Ai(t.parent,r.parent))}function ga(t){return typeof t.title=="string"||t.title===null}var ma=new R(""),Pi=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=E;activateEvents=new qe;deactivateEvents=new qe;attachEvents=new qe;detachEvents=new qe;routerOutletData=xo(void 0);parentContexts=h(et);location=h(Ge);changeDetector=h(Ze);inputBinder=h(dn,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new Ti(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=te({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ie]})}return t})(),Ti=class{route;childContexts;parent;outletData;constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===De?this.route:r===et?this.childContexts:r===ma?this.outletData:this.parent.get(r,e)}},dn=new R(""),Li=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,i=gn([n.queryParams,n.params,n.data]).pipe(j(([o,s,a],u)=>(a=f(f(f({},o),s),a),u===0?p(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=$o(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})(),ki=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=Co({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&_o(0,"router-outlet")},dependencies:[Pi],encapsulation:2})}return t})();function xi(t){let r=t.children&&t.children.map(xi),e=r?z(f({},t),{children:r}):f({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==E&&(e.component=ki),e}function Jc(t,r,e){let n=an(t,r._root,e?e._root:void 0);return new on(n,r)}function an(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=Qc(t,r,e);return new X(n,i)}else{if(t.shouldAttach(r.value)){let o=t.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(a=>an(t,a)),s}}let n=el(r.value),i=r.children.map(o=>an(t,o));return new X(n,i)}}function Qc(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return an(t,n,i);return an(t,n)})}function el(t){return new De(new ee(t.url),new ee(t.params),new ee(t.queryParams),new ee(t.fragment),new ee(t.data),t.outlet,t.component,t)}var St=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},va="ngNavigationCancelingError";function dr(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=Ne(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=Da(!1,H.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function Da(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[va]=!0,e.cancellationCode=r,e}function tl(t){return ya(t)&&Ne(t.url)}function ya(t){return!!t&&t[va]}var nl=(t,r,e,n)=>b(i=>(new _i(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),_i=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),vi(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=gt(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=gt(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:a})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=gt(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=gt(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new ar(o.value.snapshot))}),r.children.length&&this.forwardEvent(new or(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(vi(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),vi(a.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,n)}},hr=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},Dt=class{component;route;constructor(r,e){this.component=r,this.route=e}};function rl(t,r,e){let n=t._root,i=r?r._root:null;return Jt(n,i,e,[n.value])}function il(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function At(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!eo(t)?t:r.get(t):n}function Jt(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=gt(r);return t.children.forEach(s=>{ol(s,o[s.value.outlet],e,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>en(a,e.getContext(s),i)),i}function ol(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=r?r.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=sl(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new hr(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Jt(t,r,a?a.children:null,n,i):Jt(t,r,e,n,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Dt(a.outlet.component,s))}else s&&en(r,a,i),i.canActivateChecks.push(new hr(n)),o.component?Jt(t,null,a?a.children:null,n,i):Jt(t,null,e,n,i);return i}function sl(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!Xe(t.url,r.url);case"pathParamsOrQueryParamsChange":return!Xe(t.url,r.url)||!pe(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ai(t,r)||!pe(t.queryParams,r.queryParams);case"paramsChange":default:return!Ai(t,r)}}function en(t,r,e){let n=gt(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?r?en(s,r.children.getContext(o),e):en(s,null,e):en(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new Dt(r.outlet.component,i)):e.canDeactivateChecks.push(new Dt(null,i)):e.canDeactivateChecks.push(new Dt(null,i))}function hn(t){return typeof t=="function"}function al(t){return typeof t=="boolean"}function ul(t){return t&&hn(t.canLoad)}function cl(t){return t&&hn(t.canActivate)}function ll(t){return t&&hn(t.canActivateChild)}function dl(t){return t&&hn(t.canDeactivate)}function hl(t){return t&&hn(t.canMatch)}function wa(t){return t instanceof Yi||t?.name==="EmptyError"}var Wn=Symbol("INITIAL_VALUE");function Rt(){return j(t=>gn(t.map(r=>r.pipe(rt(1),Qi(Wn)))).pipe(b(r=>{for(let e of r)if(e!==!0){if(e===Wn)return Wn;if(e===!1||fl(e))return e}return!0}),oe(r=>r!==Wn),rt(1)))}function fl(t){return Ne(t)||t instanceof St}function pl(t,r){return G(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?p(z(f({},e),{guardsResult:!0})):gl(s,n,i,t).pipe(G(a=>a&&al(a)?ml(n,o,t,r):p(a)),b(a=>z(f({},e),{guardsResult:a})))})}function gl(t,r,e,n){return V(t).pipe(G(i=>Cl(i.component,i.route,e,r,n)),_e(i=>i!==!0,!0))}function ml(t,r,e,n){return V(r).pipe(Ce(i=>Ki(Dl(i.route.parent,n),vl(i.route,n),wl(t,i.path,e),yl(t,i.route,e))),_e(i=>i!==!0,!0))}function vl(t,r){return t!==null&&r&&r(new sr(t)),p(!0)}function Dl(t,r){return t!==null&&r&&r(new ir(t)),p(!0)}function yl(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return p(!0);let i=n.map(o=>mn(()=>{let s=bt(r)??e,a=At(o,s),u=cl(a)?a.canActivate(r,t):W(s,()=>a(r,t));return Te(u).pipe(_e())}));return p(i).pipe(Rt())}function wl(t,r,e){let n=r[r.length-1],o=r.slice(0,r.length-1).reverse().map(s=>il(s)).filter(s=>s!==null).map(s=>mn(()=>{let a=s.guards.map(u=>{let c=bt(s.node)??e,l=At(u,c),d=ll(l)?l.canActivateChild(n,t):W(c,()=>l(n,t));return Te(d).pipe(_e())});return p(a).pipe(Rt())}));return p(o).pipe(Rt())}function Cl(t,r,e,n,i){let o=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!o||o.length===0)return p(!0);let s=o.map(a=>{let u=bt(r)??i,c=At(a,u),l=dl(c)?c.canDeactivate(t,r,e,n):W(u,()=>c(t,r,e,n));return Te(l).pipe(_e())});return p(s).pipe(Rt())}function El(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return p(!0);let o=i.map(s=>{let a=At(s,t),u=ul(a)?a.canLoad(r,e):W(t,()=>a(r,e));return Te(u)});return p(o).pipe(Rt(),Ca(n))}function Ca(t){return qi(B(r=>{if(typeof r!="boolean")throw dr(t,r)}),b(r=>r===!0))}function Sl(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return p(!0);let o=i.map(s=>{let a=At(s,t),u=hl(a)?a.canMatch(r,e):W(t,()=>a(r,e));return Te(u)});return p(o).pipe(Rt(),Ca(n))}var un=class{segmentGroup;constructor(r){this.segmentGroup=r||null}}
2,cn=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function pt(t){return _t(new un(t))}function Rl(t){return _t(new y(4e3,!1))}function bl(t){return _t(Da(!1,H.GuardRejected))}var Ii=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return p(n);if(i.numberOfChildren>1||!i.children[E])return Rl(`${r.redirectTo}`);i=i.children[E]}}applyRedirectCommands(r,e,n,i,o){return Al(e,i,o).pipe(b(s=>{if(s instanceof me)throw new cn(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),r,n);if(s[0]==="/")throw new cn(a);return a}))}applyRedirectCreateUrlTree(r,e,n,i){let o=this.createSegmentGroup(r,e.root,n,i);return new me(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=e[a]}else n[i]=o}),n}createSegmentGroup(r,e,n,i){let o=this.createSegments(r,e.segments,n,i),s={};return Object.entries(e.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(r,u,n,i)}),new T(o,s)}createSegments(r,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new y(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}};function Al(t,r,e){if(typeof t=="string")return p(t);let n=t,{queryParams:i,fragment:o,routeConfig:s,url:a,outlet:u,params:c,data:l,title:d}=r;return Te(W(e,()=>n({params:c,data:l,queryParams:i,fragment:o,routeConfig:s,url:a,outlet:u,title:d})))}var Mi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Tl(t,r,e,n,i){let o=Ea(t,r,e);return o.matched?(n=Yc(r,n),Sl(n,r,e,i).pipe(b(s=>s===!0?o:f({},Mi)))):p(o)}function Ea(t,r,e){if(r.path==="**")return _l(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?f({},Mi):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||Xs)(e,t,r);if(!i)return f({},Mi);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?f(f({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function _l(t){return{matched:!0,parameters:t.length>0?Qs(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Zs(t,r,e,n){return e.length>0&&Ol(t,e,n)?{segmentGroup:new T(r,Ml(n,new T(e,t.children))),slicedSegments:[]}:e.length===0&&Fl(t,e,n)?{segmentGroup:new T(t.segments,Il(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new T(t.segments,t.children),slicedSegments:e}}function Il(t,r,e,n){let i={};for(let o of e)if(pr(t,r,o)&&!n[ce(o)]){let s=new T([],{});i[ce(o)]=s}return f(f({},n),i)}function Ml(t,r){let e={};e[E]=r;for(let n of t)if(n.path===""&&ce(n)!==E){let i=new T([],{});e[ce(n)]=i}return e}function Ol(t,r,e){return e.some(n=>pr(t,r,n)&&ce(n)!==E)}function Fl(t,r,e){return e.some(n=>pr(t,r,n))}function pr(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Nl(t,r,e){return r.length===0&&!t.children[e]}var Oi=class{};function Pl(t,r,e,n,i,o,s="emptyOnly"){return new Fi(t,r,e,n,i,s,o).recognize()}var Ll=31,Fi=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,o,s,a){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Ii(this.urlSerializer,this.urlTree)}noMatchError(r){return new y(4002,`'${r.segmentGroup}'`)}recognize(){let r=Zs(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(b(({children:e,rootSnapshot:n})=>{let i=new X(n,e),o=new sn("",i),s=ua(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(r){let e=new Je([],Object.freeze({}
2),Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),E,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,E,e).pipe(b(n=>({children:n,rootSnapshot:e})),Ue(n=>{if(n instanceof cn)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof un?this.noMatchError(n):n}))}processSegmentGroup(r,e,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n,o):this.processSegment(r,e,n,n.segments,i,!0,o).pipe(b(s=>s instanceof X?[s]:[]))}processChildren(r,e,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return V(o).pipe(Ce(s=>{let a=n.children[s],u=Kc(e,s);return this.processSegmentGroup(r,u,a,s,i)}),Ji((s,a)=>(s.push(...a),s)),Er(null),Xi(),G(s=>{if(s===null)return pt(n);let a=Sa(s);return kl(a),p(a)}))}processSegment(r,e,n,i,o,s,a){return V(e).pipe(Ce(u=>this.processSegmentAgainstRoute(u._injector??r,e,u,n,i,o,s,a).pipe(Ue(c=>{if(c instanceof un)return p(null);throw c}))),_e(u=>!!u),Ue(u=>{if(wa(u))return Nl(n,i,o)?p(new Oi):pt(n);throw u}))}processSegmentAgainstRoute(r,e,n,i,o,s,a,u){return ce(n)!==s&&(s===E||!pr(i,o,n))?pt(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,o,s,u):pt(i)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,o,s,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:d,remainingSegments:g}=Ea(e,i,o);if(!u)return pt(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ll&&(this.allowRedirects=!1));let v=new Je(o,c,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Ys(i),ce(i),i.component??i._loadedComponent??null,i,Ks(i)),m=lr(v,a,this.paramsInheritanceStrategy);return v.params=Object.freeze(m.params),v.data=Object.freeze(m.data),this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,v,r).pipe(j(C=>this.applyRedirects.lineralizeSegments(i,C)),G(C=>this.processSegment(r,n,e,C.concat(g),s,!1,a)))}matchSegmentAgainstRoute(r,e,n,i,o,s){let a=Tl(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),a.pipe(j(u=>u.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(j(({routes:c})=>{let l=n._loadedInjector??r,{parameters:d,consumedSegments:g,remainingSegments:v}=u,m=new Je(g,d,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Ys(n),ce(n),n.component??n._loadedComponent??null,n,Ks(n)),I=lr(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(I.params),m.data=Object.freeze(I.data);let{segmentGroup:C,slicedSegments:S}=Zs(e,g,v,c);if(S.length===0&&C.hasChildren())return this.processChildren(l,c,C,m).pipe(b(U=>new X(m,U)));if(c.length===0&&S.length===0)return p(new X(m,[]));let O=ce(n)===o;return this.processSegment(l,c,C,S,O?E:o,!0,m).pipe(b(U=>new X(m,U instanceof X?[U]:[])))}))):pt(e)))}getChildConfig(r,e,n){return e.children?p({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?p({routes:e._loadedRoutes,injector:e._loadedInjector}):El(r,e,n,this.urlSerializer).pipe(G(i=>i?this.configLoader.loadChildren(r,e).pipe(B(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):bl(e))):p({routes:[],injector:r})}};function kl(t){t.sort((r,e)=>r.value.outlet===E?-1:e.value.outlet===E?1:r.value.outlet.localeCompare(e.value.outlet))}function xl(t){let r=t.value.routeConfig;return r&&r.path===""}function Sa(t){let r=[],e=new Set;for(let n of t){if(!xl(n)){r.push(n);continue}let i=r.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=Sa(n.children);r.push(new X(n.value,i))}return r.filter(n=>!e.has(n))}function Ys(t){return t.data||{}}function Ks(t){return t.resolve||{}}function Ul(t,r,e,n,i,o){return G(s=>Pl(t,r,e,n,s.extractedUrl,i,o).pipe(b(({state:a,tree:u})=>z(f({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function Bl(t,r){return G(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return p(e);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let c of Ra(u))s.add(c);let a=0;return V(s).pipe(Ce(u=>
2o.has(u)?jl(u,n,t,r):(u.data=lr(u,u.parent,t).resolve,p(void 0))),B(()=>a++),Sr(1),G(u=>a===s.size?p(e):we))})}function Ra(t){let r=t.children.map(e=>Ra(e)).flat();return[t,...r]}function jl(t,r,e,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!ga(i)&&(o[ln]=i.title),mn(()=>(t.data=lr(t,t.parent,e).resolve,$l(o,t,r,n).pipe(b(s=>(t._resolvedData=s,t.data=f(f({},t.data),s),null)))))}function $l(t,r,e,n){let i=wi(t);if(i.length===0)return p({});let o={};return V(i).pipe(G(s=>zl(t[s],r,e,n).pipe(_e(),B(a=>{if(a instanceof St)throw dr(new Fe,a);o[s]=a}))),Sr(1),b(()=>o),Ue(s=>wa(s)?we:_t(s)))}function zl(t,r,e,n){let i=bt(r)??n,o=At(t,i),s=o.resolve?o.resolve(r,e):W(i,()=>o(r,e));return Te(s)}function Di(t){return j(r=>{let e=t(r);return e?V(e).pipe(b(()=>r)):p(r)})}var Ui=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===E);return n}getResolvedTitleForRoute(e){return e.data[ln]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>h(ba),providedIn:"root"})}return t})(),ba=(()=>{class t extends Ui{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(D(Vs))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ke=new R("",{providedIn:"root",factory:()=>({})}),tt=new R(""),gr=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(Po);loadComponent(e,n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return p(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Te(W(e,()=>n.loadComponent())).pipe(b(Ta),j(_a),B(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),it(()=>{this.componentLoaders.delete(n)})),o=new Cr(i,()=>new ie).pipe(wr());return this.componentLoaders.set(n,o),o}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return p({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let o=Aa(n,this.compiler,e,this.onLoadEndListener).pipe(it(()=>{this.childrenLoaders.delete(n)})),s=new Cr(o,()=>new ie).pipe(wr());return this.childrenLoaders.set(n,s),s}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Aa(t,r,e,n){return Te(W(e,()=>t.loadChildren())).pipe(b(Ta),j(_a),G(i=>i instanceof yo||Array.isArray(i)?p(i):V(r.compileModuleAsync(i))),b(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(tt,[],{optional:!0,self:!0}).flat()),{routes:s.map(xi),injector:o}}))}function Vl(t){return t&&typeof t=="object"&&"default"in t}function Ta(t){return Vl(t)?t.default:t}function _a(t){return p(t)}var mr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>h(Hl),providedIn:"root"})}return t})(),Hl=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bi=new R(""),ji=new R("");function Ia(t,r,e){let n=t.get(ji),i=t.get(N);if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),Gl(t)));a.ready.catch(c=>{});let{onViewTransitionCreated:u}=n;return u&&W(t,()=>u({transition:a,from:r,to:e})),s}function Gl(t){return new Promise(r=>{So({read:()=>setTimeout(r)},{injector:t})})}var $i=new R(""),fn=(()=>{class t{currentNavigation=Dn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new ie;transitionAbortWithErrorSubject=new ie;configLoader=h(gr);environmentInjector=h(Ee);destroyRef=h(vn);urlSerializer=h(Le);rootContexts=h(et);location=h(Me);inputBindingEnabled=h(dn,{optional:!0})!==null;titleStrategy=h(Ui);options=h(ke,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(mr);createViewTransition=h(Bi,{optional:!0});navigationErrorHandler=h($i,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>p(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new nr(i)),n=i=>this.events.next(new rr(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;se(()=>{this.transitions?.next(z(f({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:n}))})}setupNavigations(e){return this.transitions=new ee(null),this.transitions.pipe(oe(n=>n!==null),j(n=>
vendor: 28,944 bytes, lines 2-3
2{let i=!1;return p(n).pipe(j(o=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",H.SupersededByNewNavigation),we;this.currentTransition=n,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?z(f({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()});let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new ve(o.id,this.urlSerializer.serialize(o.rawUrl),"",yt.IgnoredSameUrlNavigation)),o.resolve(!1),we;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return p(o).pipe(j(u=>(this.events.next(new Pe(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),u.id!==this.navigationId?we:Promise.resolve(u))),Ul(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),B(u=>{n.targetSnapshot=u.targetSnapshot,n.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=u.urlAfterRedirects,l));let c=new nn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:u,extractedUrl:c,source:l,restoredState:d,extras:g}=o,v=new Pe(u,this.urlSerializer.serialize(c),l,d);this.events.next(v);let m=fa(this.rootComponentType).snapshot;return this.currentTransition=n=z(f({},o),{targetSnapshot:m,urlAfterRedirects:c,extras:z(f({},g),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(I=>(I.finalUrl=c,I)),p(n)}else return this.events.next(new ve(o.id,this.urlSerializer.serialize(o.extractedUrl),"",yt.IgnoredByUrlHandlingStrategy)),o.resolve(!1),we}),B(o=>{let s=new Jn(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),b(o=>(this.currentTransition=n=z(f({},o),{guards:rl(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),n)),pl(this.environmentInjector,o=>this.events.next(o)),B(o=>{if(n.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw dr(this.urlSerializer,o.guardsResult);let s=new Qn(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),oe(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",H.GuardRejected),!1)),Di(o=>{if(o.guards.canActivateChecks.length!==0)return p(o).pipe(B(s=>{let a=new er(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),j(s=>{let a=!1;return p(s).pipe(Bl(this.paramsInheritanceStrategy,this.environmentInjector),B({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",H.NoDataFromResolver)}}))}),B(s=>{let a=new tr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Di(o=>{let s=a=>{let u=[];if(a.routeConfig?.loadComponent){let c=bt(a)??this.environmentInjector;u.push(this.configLoader.loadComponent(c,a.routeConfig).pipe(B(l=>{a.component=l}),b(()=>{})))}for(let c of a.children)u.push(...s(c));return u};return gn(s(o.targetSnapshot.root)).pipe(Er(null),rt(1))}),Di(()=>this.afterPreactivation()),j(()=>{let{currentSnapshot:o,targetSnapshot:s}=n,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?V(a).pipe(b(()=>n)):p(n)}),b(o=>{let s=Jc(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=n=z(f({},o),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),n}),B(()=>{this.events.next(new rn)}),nl(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),rt(1),Rr(new Tt(o=>{let s=n.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(oe(()=>!i&&!n.targetRouterState),B(()=>{this.cancelNavigationTransition(n,n.abortController.signal.reason+"",H.Aborted)}))),B({next:o=>{i=!0,this.lastSuccessfulNavigation=se(this.currentNavigation),this.events.next(new Q(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{i=!0}}),Rr(this.transitionAbortWithErrorSubject.pipe(B(o=>{throw o}))),it(()=>{i||this.cancelNavigationTransition(n,"",H.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Ue(o=>{if(this.destroyed)return n.resolve(!1),we;if(i=!0,ya(o))this.events.next(new ge(n.id,this.urlSerializer.serialize(n.extractedUrl),o.message,o.cancellationCode)),tl(o)?this.events.next(new Et(o.url,o.navigationBehaviorOptions)):n.resolve(!1);else{let s=new wt(n.id,this.urlSerializer.serialize(n.extractedUrl),o,n.targetSnapshot??void 0);try{let a=W(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof St){let{message:u,cancellationCode:c}=dr(this.urlSerializer,a);this.events.next(new ge(n.id,this.urlSerializer.serialize(n.extractedUrl),u,c)),this.events.next(new Et(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(a)}}return we}))}))}cancelNavigationTransition(e,n,i){let o=new ge(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=se(this.currentNavigation),i=n?.targetBrowserUrl??n?.extractedUrl;return e.toString()!==i?.toString()&&!n?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Wl(t){return t!==vt}var Ma=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>h(ql),providedIn:"root"})}return t})(),fr=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},ql=(()=>{class t extends fr{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ar(t)))(i||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Oa=(()=>{class t{urlSerializer=h(Le);options=h(ke,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(Me);urlHandlingStrategy=h(mr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new me;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,s=i??o;return s instanceof me?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:i}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,i),this.routerState=e):this.rawUrlTree=i}routerState=fa(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:()=>h(Zl),providedIn:"root"})}return t})(),Zl=(()=>{class t extends Oa{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate")})})}handleRouterEvent(e,n){e instanceof Pe?this.updateStateMemento():e instanceof ve?this.commitTransition(n):e instanceof nn?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof rn?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof ge&&e.code!==H.SupersededByNewNavigation&&e.code!==H.Redirect?this.restoreHistory(n):e instanceof wt?this.restoreHistory(n,!0):e instanceof Q&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:n,id:i}){let{replaceUrl:o,state:s}=n;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,u=f(f({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",u)}else{let a=f(f({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ar(t)))(i||t)}})();static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vr(t,r){t.events.pipe(oe(e=>e instanceof Q||e instanceof ge||e instanceof wt||e instanceof ve),b(e=>e instanceof Q||e instanceof ve?0:(e instanceof ge?e.code===H.Redirect||e.code===H.SupersededByNewNavigation:!1)?2:1),oe(e=>e!==2),rt(1)).subscribe(()=>{r()})}var Yl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Kl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},le=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(Pr);stateManager=h(Oa);options=h(ke,{optional:!0})||{};pendingTasks=h(ro);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(fn);urlSerializer=h(Le);location=h(Me);urlHandlingStrategy=h(mr);injector=h(Ee);_events=new ie;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(Ma);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(tt,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(dn,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Wi;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=se(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof ge&&n.code!==H.Redirect&&n.code!==H.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof Q)this.navigated=!0;else if(n instanceof Et){let s=n.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),u=f({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Wl(i.source)},s);this.scheduleNavigation(a,vt,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Zc(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),vt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,i)=>{this.navigateToSyncWithBrowser(e,i,n)})}navigateToSyncWithBrowser(e,n,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let u=f({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(e);this.scheduleNavigation(a,n,s,o).catch(u=>{this.disposed||this.injector.get(st)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return se(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(xi),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=n,c=u?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=f(f({},this.currentUrlTree.queryParams),o);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let g=i?i.snapshot:this.routerState.snapshot.root;d=ca(g)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),d=this.currentUrlTree.root}return la(d,e,l,c??null)}navigateByUrl(e,n={skipLocationChange:!1}){let i=Ne(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,vt,null,n)}navigate(e,n={skipLocationChange:!1}){return Xl(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=f({},Yl):n===!1?i=f({},Kl):i=n,Ne(e))return Hs(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Hs(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}scheduleNavigation(e,n,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((d,g)=>{a=d,u=g});let l=this.pendingTasks.add();return vr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Xl(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new y(4008,!1)}var Dr=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Dn(null);get href(){return se(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new ie;applicationErrorHandler=h(st);options=h(ke,{optional:!0});constructor(e,n,i,o,s,a){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.reactiveHref.set(h(new ko("href"),{optional:!0}));let u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area"||!!(typeof customElements=="object"&&customElements.get(u)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let e=this.preserveFragment,n=i=>i==="merge"||i==="preserve";e||=n(this.queryParamsHandling),e||=!this.queryParamsHandling&&!n(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(i=>{i instanceof Q&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Ne(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||n||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,u)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:Ne(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)(A(le),A(De),Tr("tabindex"),A(He),A(je),A(ne))};static \u0275dir=te({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(n,i){n&1&&Mo("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&bo("href",i.reactiveHref(),go)("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Pt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Pt],replaceUrl:[2,"replaceUrl","replaceUrl",Pt],routerLink:"routerLink"},features:[Ie]})}return t})(),Jl=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new qe;constructor(e,n,i,o,s){this.router=e,this.element=n,this.renderer=i,this.cdr=o,this.link=s,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof Q&&this.update()})}ngAfterContentInit(){p(this.links.changes,p(null)).pipe(It()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=V(e).pipe(It()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=Ql(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let o=i.urlTree;return o?e.isActive(o,n):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(A(le),A(je),A(He),A(Ze),A(Dr,8))};static \u0275dir=te({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,o){if(n&1&&Oo(o,Dr,5),n&2){let s;Fo(s=No())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Ie]})}return t})();function Ql(t){return!!t.paths}var pn=class{};var Fa=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,i,o){this.router=e,this.injector=n,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(oe(e=>e instanceof Q),Ce(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){let i=[];for(let o of n){o.providers&&!o._injector&&(o._injector=yn(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return V(i).pipe(It())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let i;n.loadChildren&&n.canLoad===void 0?i=this.loader.loadChildren(e,n):i=p(null);let o=i.pipe(G(s=>s===null?p(void 0):(n._loadedRoutes=s.routes,n._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(n.loadComponent&&!n._loadedComponent){let s=this.loader.loadComponent(e,n);return V([o,s]).pipe(It())}else return o})}static \u0275fac=function(n){return new(n||t)(D(le),D(Ee),D(pn),D(gr))};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vi=new R(""),Na=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=vt;restoredId=0;store={};constructor(e,n,i,o,s={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=i,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Pe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Q?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ve&&e.code===yt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ct&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(async()=>{await new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new Ct(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){vo()};static \u0275prov=w({token:t,factory:t.\u0275fac})}return t})();function ed(t,...r){return Ot([{provide:tt,multi:!0,useValue:t},[],{provide:De,useFactory:Pa,deps:[le]},{provide:kr,multi:!0,useFactory:La},r.map(e=>e.\u0275providers)])}function Pa(t){return t.routerState.root}function nt(t,r){return{\u0275kind:t,\u0275providers:r}}function td(t={}){return nt(4,[{provide:Vi,useFactory:()=>{let e=h(ei),n=h(de),i=h(fn),o=h(Le);return new Na(o,i,e,n,t)}}])}function La(){let t=h(ot);return r=>{let e=t.get(xr);if(r!==e.components[0])return;let n=t.get(le),i=t.get(ka);t.get(Hi)===1&&n.initialNavigation(),t.get(Ba,null,{optional:!0})?.setUpPreloading(),t.get(Vi,null,{optional:!0})?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var ka=new R("",{factory:()=>new ie}),Hi=new R("",{providedIn:"root",factory:()=>1});function xa(){let t=[{provide:Mr,useValue:!0},{provide:Hi,useValue:0},Lr(()=>{let r=h(ot);return r.get(Br,Promise.resolve()).then(()=>new Promise(n=>{let i=r.get(le),o=r.get(ka);vr(i,()=>{n(!0)}),r.get(fn).afterPreactivation=()=>(n(!0),o.closed?p(void 0):o),i.initialNavigation()}))})];return nt(2,t)}function Ua(){let t=[Lr(()=>{h(le).setUpLocationChangeListener()}),{provide:Hi,useValue:2}];return nt(3,t)}var Ba=new R("");function ja(t){return nt(0,[{provide:Ba,useExisting:Fa},{provide:pn,useExisting:t}])}function nd(){return nt(6,[{provide:ne,useClass:Nn}])}function $a(){return nt(8,[Li,{provide:dn,useExisting:Li}])}function za(t){Nr("NgRouterViewTransitions");let r=[{provide:Bi,useValue:Ia},{provide:ji,useValue:f({skipNextTransition:!!t?.skipInitialTransition},t)}];return nt(9,r)}var Va=[Me,{provide:Le,useClass:Fe},le,et,{provide:De,useFactory:Pa,deps:[le]},gr,[]],rd=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[Va,[],{provide:tt,multi:!0,useValue:e},[],n?.errorHandler?{provide:$i,useValue:n.errorHandler}:[],{provide:ke,useValue:n||{}},n?.useHash?od():sd(),id(),n?.preloadingStrategy?ja(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?ad(n):[],n?.bindToComponentInputs?$a().\u0275providers:[],n?.enableViewTransitions?za().\u0275providers:[],ud()]}}static forChild(e){return{ngModule:t,providers:[{provide:tt,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=We({type:t});static \u0275inj=Be({})}return t})();function id(){return{provide:Vi,useFactory:()=>{let t=h(ei),r=h(de),e=h(ke),n=h(fn),i=h(Le);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Na(i,n,t,r,e)}}}function od(){return{provide:ne,useClass:Nn}}function sd(){return{provide:ne,useClass:Sn}}function ad(t){return[t.initialNavigation==="disabled"?Ua().\u0275providers:[],t.initialNavigation==="enabledBlocking"?xa().\u0275providers:[]]}var zi=new R("");function ud(){return[{provide:zi,useFactory:La},{provide:kr,multi:!0,useExisting:zi}]}export{Se as a,kt as b,Me as c,ls as d,gs as e,pu as f,gu as g,ms as h,mu as i,vu as j,Du as k,Cu as l,Su as m,Ru as n,bu as o,Au as p,ys as q,lh as r,dh as s,hh as t,ui as u,Gu as v,fe as w,be as x,Ae as y,he as z,xs as A,vc as B,Dc as C,yc as D,Vs as E,Cc as F,Pe as G,Q as H,De as I,Pi as J,le as K,Dr as L,Jl as M,ed as N,td as O,nd as P,$a as Q,rd as R}; 3/**i18n:19412ffe3d8d9f34a6b0cbb634f74d13b19775419406ffebe3236b0eba00a2e5*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.