PageSourceSearch

https://r0medicina.web.app/chunk-Cx_FOi17.js

js r0medicina.web.app collected 2026-10-03 12:35:22 UTC 135,608 bytes, 2 lines download raw bytes

vendor: 4,224 bytes, line 1
1import{l as N,n as G,t as F}from"./chunk-CtROqRrB.js";import{Ar as tD,At as Ut$1,B as Jg,Br as vd,Bt as Xg,C as Ed,Ct as T0,Dt as Un$1,E as Ew,Er as sm,F as Il,Fr as uh,G as Kl,Gn as ly,Gr as xg,Hr as wb,I as Im,Ir as uv,It as We,J as LD,Kr as xh,L as Is$1,Ln as im,Lr as uw,M as Hv,Mt as V,Nr as tp,Nt as Vh,O as Fn$1,Or as sr$1,Ot as Uo$1,P as Ie$1,Pn as iD,Pr as ue$1,Qn as na$1,Rr as uy,S as Eb,Sn as fs$1,St as T$1,Tn as gg,Tr as sl$1,Un as lv,Ur as wm,Vn as k0,Vr as vw,W as Ki,Wn as lw,Wr as x0,Xr as zt$1,Xt as _y,Y as Lc$1,Yr as zp,_ as Ch,_n as eu$1,_t as Rr,a as A,an as bm,ar as oi$1,at as Om,d as Bh,dr as ps$1,dt as Qn$1,en as al$1,er as ne$1,f as Bi,fn as cv,ft as Qt$1,g as Cb,gn as et,gr as qo$1,gt as Rh,hn as ee,hr as qn$1,ht as Re,in as bc$1,j as Hg,k as Fr$1,kt as Ur$1,l as Be$1,ln as cc$1,lt as Qe,m as C,mn as dv,mt as R0,nn as b,nr as oD,o as A0,on as bt,ot as Or$1,p as Br$1,pr as q$1,qn as mg,r as $t$1,rt as Of,s as Ae,t as $g,tn as av,u as Bg,un as ci$1,ur as po$1,v as Ci$1,vn as ev,vr as rE,w as Em,wn as ge,wt as Tb,x as EI,xr as ri$1,xt as Su$1,yt as Se$1,zn as jr$1,zt as XI}from"./chunk-mbnDHcR5.js";var co=null;function ye(){return co}function Or(t){co??=t}var _t=class{};var nt=(()=>{class t{historyGo(e){throw new Error(``)}static ɵfac=function(r){return new(r||t)};static ɵprov=ne$1({token:t,factory:()=>C(lo),providedIn:`platform`})}return t})();var lo=(()=>{class t extends nt{_location;_history;_doc=C(ri$1);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ye().getBaseHref(this._doc)}onPopState(e){let r=ye().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`popstate`,e,!1),()=>r.removeEventListener(`popstate`,e)}onHashChange(e){let r=ye().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`hashchange`,e,!1),()=>r.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,r,i){this._history.pushState(e,r,i)}replaceState(e,r,i){this._history.replaceState(e,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static ɵfac=function(r){return new(r||t)};static ɵprov=ne$1({token:t,factory:()=>new t,providedIn:`platform`})}return t})();function po(t,n){return t?n?t.endsWith(`/`)?n.startsWith(`/`)?t+n.slice(1):t+n:n.startsWith(`/`)?t+n:`${t}/${n}`:t:n}function ho(t){let n=t.search(/#|\?|$/);return t[n-1]===`/`?t.slice(0,n-1)+t.slice(n):t}function Ie(t){return t&&t[0]!==`?`?`?${t}`:t}var rt=(()=>{class t{historyGo(e){throw new Error(``)}static ɵfac=function(r){return new(r||t)};static ɵprov=ne$1({token:t,factory:()=>C(oa),providedIn:`root`})}return t})();var ia=new A(``);var oa=(()=>{class t extends rt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??C(ri$1).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 po(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+Ie(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+Ie(o));this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+Ie(o));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static ɵfac=function(r){return new(r||t)(Ae(nt),Ae(ia,8))};static ɵprov=ne$1({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var it=(()=>
1{class t{_subject=new ee;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=ua(ho(fo(r))),this._locationStrategy.onPopState(i=>{let o={url:this.path(!0),pop:!0,state:i.state,type:i.type};i.hasUAVisualTransition&&(o.hasUAVisualTransition=!0),this._subject.next(o)})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=``){return this.path()==this.normalize(e+Ie(r))}normalize(e){return t.stripTrailingSlash(aa(this._basePath,fo(e)))}prepareExternalUrl(e){return e&&e[0]!==`/`&&(e=`/`+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r=``,i=null){this._locationStrategy.pushState(i,``,e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ie(r)),i)}replaceState(e,r=``,i=null){this._locationStrategy.replaceState(i,``,e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ie(r)),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(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e=``,r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=Ie;static joinWithSlash=po;static stripTrailingSlash=ho;static ɵfac=function(r){return new(r||t)(Ae(rt))};static ɵprov=ne$1({token:t,factory:()=>sa(),providedIn:`root`})}return t})();function sa(){return new it(Ae(rt))}function aa(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===``||[`/`,`;`,`?`,`#`].includes(e[0])?e:n}function fo(t){return t.replace(/\/index\.html$/,``)}function ua(t){if(new RegExp(`^(https?:)?//`).test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Rn=(function(t){return t[t.Decimal=0]=`Decimal`,t[t.Percent=1]=`Percent`,t[t.Currency=2]=`Currency`,t[t.Scientific=3]=`Scientific`,t})(Rn||{});var $=(function(t){return t[t.Format=0]=`Format`,t[t.Standalone=1]=`Standalone`,t})($||{});var R=(function(t){return t[t.Narrow=0]=`Narrow`,t[t.Abbreviated=1]=`Abbreviated`,t[t.Wide=2]=`Wide`,t[t.Short=3]=`Short`,t})(R||{});var X=(function(t){return t[t.Short=0]=`Short`,t[t.Medium=1]=`Medium`,t[t.Long=2]=`Long`,t[t.Full=3]=`Full`,t})(X||{});var x={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 vo(t){return uw(t)[bc$1.LocaleId]}function Do(t,n,e){let r=uw(t);return ne(ne([r[bc$1.DayPeriodsFormat],r[bc$1.DayPeriodsStandalone]],n),e)}function Co(t,n,e){let r=uw(t);return ne(ne([r[bc$1.DaysFormat],r[bc$1.DaysStandalone]],n),e)}function So(t,n,e){let r=uw(t);return ne(ne([r[bc$1.MonthsFormat],r[bc$1.MonthsStandalone]],n),e)}function wo(t,n){let r=uw(t)[bc$1.Eras];return ne(r,n)}function Mt(t,n){return ne(uw(t)[bc$1.DateFormat],n)}function Ot(t,n){return ne(uw(t)[bc$1.TimeFormat],n)}function Pt(t,n){let r=uw(t)[bc$1.DateTimeFormat];return ne(r,n)}function te(t,n){let e=uw(t),r=e[bc$1.NumberSymbols][n];if(typeof r>`u`){if(n===x.CurrencyDecimal)return e[bc$1.NumberSymbols][x.Decimal];if(n===x.CurrencyGroup)return e[bc$1.NumberSymbols][x.Group]}return r}function kr(t,n){return uw(t)[bc$1.NumberFormats][n]}function Eo(t){if(!t[bc$1.ExtraData])throw new b(2303,!1)}function Ro(t){let n=uw(t);return Eo(n),(n[bc$1.ExtraData][2]||[]).map(r=>typeof r==`string`?Pr(r):[Pr(r[0]),Pr(r[1])])}function bo(t,n,e){let r=uw(t);Eo(r);return ne(ne([r[bc$1.ExtraData][0],r[bc$1.ExtraData][1]],n)||[],e)||[]}function ne(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<`u`)return t[e];throw new b(2304,!1)}function Pr(t){let[n,e]=t.split(`:`);return{hours:+n,minutes:+e}}var ca=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;var mn=Object.create(null);var la=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var da=256;function Ao(t,n,e,r){let i=Sa(t);ha(n),n=ve(e,n)||n;let s=[],u;
vendor: 4,608 bytes, line 1
1for(;n;)if(u=la.exec(n),u){s=s.concat(u.slice(1));let l=s.pop();if(!l)break;n=l}else{s.push(n);break}let a=i.getTimezoneOffset();r&&(a=Io(r,a),i=Ca(i,r));let c=``;return s.forEach(l=>{let d=va(l);c+=d?d(i,e,a):l===`''`?`'`:l.replace(/(^'|'$)/g,``).replace(/''/g,`'`)}),c}function ha(t){if(t.length>da)throw new b(2300,!1)}function Sn(t,n,e){let r=new Date(0);return r.setFullYear(t,n,e),r.setHours(0,0,0),r}function ve(t,n){let e=vo(t);if(mn[e]??=Object.create(null),mn[e][n])return mn[e][n];let r=``;switch(n){case`shortDate`:r=Mt(t,X.Short);break;case`mediumDate`:r=Mt(t,X.Medium);break;case`longDate`:r=Mt(t,X.Long);break;case`fullDate`:r=Mt(t,X.Full);break;case`shortTime`:r=Ot(t,X.Short);break;case`mediumTime`:r=Ot(t,X.Medium);break;case`longTime`:r=Ot(t,X.Long);break;case`fullTime`:r=Ot(t,X.Full);break;case`short`:let i=ve(t,`shortTime`),o=ve(t,`shortDate`);r=yn(Pt(t,X.Short),[i,o]);break;case`medium`:let s=ve(t,`mediumTime`),u=ve(t,`mediumDate`);r=yn(Pt(t,X.Medium),[s,u]);break;case`long`:let a=ve(t,`longTime`),c=ve(t,`longDate`);r=yn(Pt(t,X.Long),[a,c]);break;case`full`:let l=ve(t,`fullTime`),d=ve(t,`fullDate`);r=yn(Pt(t,X.Full),[l,d])}return r&&(mn[e][n]=r),r}function yn(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return Object.hasOwn(n,r)?n[r]:e})),t}function ae(t,n,e=`-`,r,i){let o=``;(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<n;)s=`0`+s;return r&&(s=s.slice(s.length-n)),o+s}function fa(t,n){return ae(t,3).substring(0,n)}function P(t,n,e=0,r=!1,i=!1){return function(o,s){let u=pa(t,o);if((e>0||u>-e)&&(u+=e),t===3)u===0&&e===-12&&(u=12);else if(t===6)return fa(u,n);let a=te(s,x.MinusSign);return ae(u,n,a,r,i)}}function pa(t,n){switch(t){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new b(2301,!1)}}function T(t,n,e=$.Format,r=!1){return function(i,o){return ga(i,o,t,n,e,r)}}function ga(t,n,e,r,i,o){switch(e){case 2:return So(n,i,r)[t.getMonth()];case 1:return Co(n,i,r)[t.getDay()];case 0:let s=t.getHours(),u=t.getMinutes();if(o){let c=Ro(n),l=bo(n,i,r),d=c.findIndex(f=>{if(Array.isArray(f)){let[g,S]=f,k=s>=g.hours&&u>=g.minutes,b=s<S.hours||s===S.hours&&u<S.minutes;if(g.hours<S.hours){if(k&&b)return!0}else if(k||b)return!0}else if(f.hours===s&&f.minutes===u)return!0;return!1});if(d!==-1)return l[d]}return Do(n,i,r)[s<12?0:1];case 3:return wo(n,r)[t.getFullYear()<=0?0:1];default:throw new b(2302,!1)}}function vn(t){return function(n,e,r){let i=-1*r,o=te(e,x.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?`+`:``)+ae(s,2,o)+ae(Math.abs(i%60),2,o);case 1:return`GMT`+(i>=0?`+`:``)+ae(s,1,o);case 2:return`GMT`+(i>=0?`+`:``)+ae(s,2,o)+`:`+ae(Math.abs(i%60),2,o);case 3:return r===0?`Z`:(i>=0?`+`:``)+ae(s,2,o)+`:`+ae(Math.abs(i%60),2,o);default:throw new b(2310,!1)}}}var ma=0;var Cn=4;function ya(t){let n=Sn(t,ma,1).getDay();return Sn(t,0,1+(n<=Cn?Cn:Cn+7)-n)}function To(t){let n=t.getDay(),e=n===0?-3:Cn-n;return Sn(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Nr(t,n=!1){return function(e,r){let i;if(n){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=To(e),s=ya(o.getFullYear()),u=o.getTime()-s.getTime();i=1+Math.round(u/6048e5)}return ae(i,t,te(r,x.MinusSign))}}function Dn(t,n=!1){return function(e,r){return ae(To(e).getFullYear(),t,te(r,x.MinusSign),n)}}var Fr=Object.create(null);function va(t){if(Fr[t])return Fr[t];let n;switch(t){case`G`:case`GG`:case`GGG`:n=T(3,R.Abbreviated);break;case`GGGG`:n=T(3,R.Wide);break;case`GGGGG`:n=T(3,R.Narrow);break;case`y`:n=P(0,1,0,!1,!0);break;case`yy`:n=P(0,2,0,!0,!0);break;case`yyy`:n=P(0,3,0,!1,!0);break;case`yyyy`:n=P(0,4,0,!1,!0);break;case`Y`:n=Dn(1);break;case`YY`:n=Dn(2,!0);break;case`YYY`:n=Dn(3);break;case`YYYY`:n=Dn(4);break;case`M`:case`L`:n=P(1,1,1);break;case`MM`:case`LL`:n=P(1,2,1);break;case`MMM`:n=T(2,R.Abbreviated);break;case`MMMM`:n=T(2,R.Wide);break;case`MMMMM`:n=T(2,R.Narrow);break;case`LLL`:n=T(2,R.Abbreviated,$.Standalone);break;case`LLLL`:n=T(2,R.Wide,$.Standalone);break;case`LLLLL`:n=T(2,R.Narrow,$.Standalone);break;case`w`:n=Nr(1);break;case`ww`:n=Nr(2);break;case`W`:n=Nr(1,!0);break;case`d`:n=P(2,1);break;case`dd`:n=P(2,2);break;case`c`:case`cc`:n=P(7,1);break;case`ccc`:n=T(1,R.Abbreviated,$.Standalone);break;case`cccc`:n=T(1,R.Wide,$.Standalone);break;case`ccccc`:n=T(1,R.Narrow,$.Standalone);break;case`cccccc`:n=T(1,R.Short,$.Standalone);break;
vendor: 5,450 bytes, line 1
1case`E`:case`EE`:case`EEE`:n=T(1,R.Abbreviated);break;case`EEEE`:n=T(1,R.Wide);break;case`EEEEE`:n=T(1,R.Narrow);break;case`EEEEEE`:n=T(1,R.Short);break;case`a`:case`aa`:case`aaa`:n=T(0,R.Abbreviated);break;case`aaaa`:n=T(0,R.Wide);break;case`aaaaa`:n=T(0,R.Narrow);break;case`b`:case`bb`:case`bbb`:n=T(0,R.Abbreviated,$.Standalone,!0);break;case`bbbb`:n=T(0,R.Wide,$.Standalone,!0);break;case`bbbbb`:n=T(0,R.Narrow,$.Standalone,!0);break;case`B`:case`BB`:case`BBB`:n=T(0,R.Abbreviated,$.Format,!0);break;case`BBBB`:n=T(0,R.Wide,$.Format,!0);break;case`BBBBB`:n=T(0,R.Narrow,$.Format,!0);break;case`h`:n=P(3,1,-12);break;case`hh`:n=P(3,2,-12);break;case`H`:n=P(3,1);break;case`HH`:n=P(3,2);break;case`m`:n=P(4,1);break;case`mm`:n=P(4,2);break;case`s`:n=P(5,1);break;case`ss`:n=P(5,2);break;case`S`:n=P(6,1);break;case`SS`:n=P(6,2);break;case`SSS`:n=P(6,3);break;case`Z`:case`ZZ`:case`ZZZ`:n=vn(0);break;case`ZZZZZ`:n=vn(3);break;case`O`:case`OO`:case`OOO`:case`z`:case`zz`:case`zzz`:n=vn(1);break;case`OOOO`:case`ZZZZ`:case`zzzz`:n=vn(2);break;default:return null}return Fr[t]=n,n}function Io(t,n){t=t.replace(/:/g,``);let e=Date.parse(`Jan 01, 1970 00:00:00 `+t)/6e4;return isNaN(e)?n:e}function Da(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function Ca(t,n,e){let i=t.getTimezoneOffset();return Da(t,-1*(Io(n,i)-i))}function Sa(t){if(go(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(u=>+u);return Sn(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(ca))return wa(r)}let n=new Date(t);if(!go(n))throw new b(2311,!1);return n}function wa(t){let n=new Date(0),e=0,r=0,i=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),r=Number(t[9]+t[11])),i.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,u=Number(t[5]||0)-r,a=Number(t[6]||0),c=Math.floor(parseFloat(`0.`+(t[7]||0))*1e3);return o.call(n,s,u,a,c),n}function go(t){return t instanceof Date&&!isNaN(t.valueOf())}var Ea=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var mo=22;var wn=`.`;var Nt=`0`;var Ra=`;`;var ba=`,`;var Lr=`#`;var Aa=`%`;function _o(t,n,e,r,i,o,s=!1){let u=``,a=!1;if(!isFinite(t))u=te(e,Number.isNaN(t)?x.NaN:x.Infinity);else{let c=Ia(t);s&&(c=Ta(c));let l=n.minInt,d=n.minFrac,f=n.maxFrac;if(o){let N=o.match(Ea);if(N===null)throw new b(2306,!1);let H=N[1],he=N[3],ie=N[5];H!=null&&(l=xr(H)),he!=null&&(d=xr(he)),ie!=null?f=xr(ie):he!=null&&d>f&&(f=d);let fe=100;if(l>fe||d>fe||f>fe)throw new b(2306,!1)}_a(c,d,f);let g=c.digits,S=c.integerLen,k=c.exponent,b$1=[];for(a=g.every(N=>!N);S<l;S++)g.unshift(0);for(;S<0;S++)g.unshift(0);S>0?b$1=g.splice(S,g.length):(b$1=g,g=[0]);let B=[];for(g.length>=n.lgSize&&B.unshift(g.splice(-n.lgSize,g.length).join(``));g.length>n.gSize;)B.unshift(g.splice(-n.gSize,g.length).join(``));g.length&&B.unshift(g.join(``)),u=B.join(te(e,r)),b$1.length&&(u+=te(e,i)+b$1.join(``)),k&&(u+=te(e,x.Exponential)+`+`+k)}return t<0&&!a?u=n.negPre+u+n.negSuf:u=n.posPre+u+n.posSuf,u}function Mo(t,n,e){return _o(t,Po(kr(n,Rn.Percent),te(n,x.MinusSign)),n,x.Group,x.Decimal,e,!0).replace(new RegExp(Aa,`g`),te(n,x.PercentSign))}function Oo(t,n,e){return _o(t,Po(kr(n,Rn.Decimal),te(n,x.MinusSign)),n,x.Group,x.Decimal,e)}function Po(t,n=`-`){let e={minInt:1,minFrac:0,maxFrac:0,posPre:``,posSuf:``,negPre:``,negSuf:``,gSize:0,lgSize:0},r=t.split(Ra),i=r[0],o=r[1],s=i.indexOf(wn)!==-1?i.split(wn):[i.substring(0,i.lastIndexOf(Nt)+1),i.substring(i.lastIndexOf(Nt)+1)],u=s[0],a=s[1]||``;e.posPre=u.substring(0,u.indexOf(Lr));for(let l=0;l<a.length;l++){let d=a.charAt(l);d===Nt?e.minFrac=e.maxFrac=l+1:d===Lr?e.maxFrac=l+1:e.posSuf+=d}let c=u.split(ba);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(Lr);e.negPre=o.substring(0,d).replace(/'/g,``),e.negSuf=o.slice(d+l).replace(/'/g,``)}else e.negPre=n+e.posPre,e.negSuf=e.posSuf;return e}function Ta(t){if(t.digits[0]===0)return t;let n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(n===0?t.digits.push(0,0):n===1&&t.digits.push(0),t.integerLen+=2),t}function Ia(t){let n=Math.abs(t)+``,e=0,r,i,o,s,u;for((i=n.indexOf(wn))>-1&&(n=n.replace(wn,``)),(o=n.search(/e/i))>0?(i<0&&(i=o),i+=+n.slice(o+1),n=n.substring(0,o)):i<0&&(i=n.length),o=0;n.charAt(o)===Nt;o++);if(o===(u=n.length))r=[0],i=1;else{for(u--;n.charAt(u)===Nt;)u--;for(i-=o,r=[],s=0;o<=u;o++,s++)r[s]=Number(n.charAt(o))}return i>mo&&(r=r.splice(0,mo-1),e=i-1,i=1),{digits:r,exponent:e,integerLen:i}}function _a(t,n,e){if(n>e)throw new b(2307,!1);let r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(n,i),e),s=o+t.integerLen,u=r[s];if(s>0){r.splice(Math.max(t.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{i=Math.max(0,i),t.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(u>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let a=o!==0,c=n+t.integerLen,l=r.reduceRight(function(d,f,g,S){return f=f+d,S[g]=f<10?f:f-10,a&&(S[g]===0&&g>=c?S.pop():a=!1),f>=10?1:0},0);l&&(r.unshift(l),t.integerLen++)}function xr(t){let n=parseInt(t);if(isNaN(n))throw new b(2305,!1);return n}var Ma=(()=>{class t{_viewContainer;_context=new En;_thenTemplateRef=null;_elseTemplateRef=null;
1_thenViewRef=null;_elseViewRef=null;constructor(e,r){this._viewContainer=e,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){yo(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){yo(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,r){return!0}static ɵfac=function(r){return new(r||t)(Br$1(Ki),Br$1(Rr))};static ɵdir=oD({type:t,selectors:[[``,`ngIf`,``]],inputs:{ngIf:`ngIf`,ngIfThen:`ngIfThen`,ngIfElse:`ngIfElse`}})}return t})();var En=class{$implicit=null;ngIf=null};function yo(t,n){if(t&&!t.createEmbeddedView)throw new b(2020,!1)}var Oa=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=C(ue$1);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector===`outlet`?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(e,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static ɵfac=function(r){return new(r||t)(Br$1(Ki))};static ɵdir=oD({type:t,selectors:[[``,`ngTemplateOutlet`,``]],inputs:{ngTemplateOutletContext:`ngTemplateOutletContext`,ngTemplateOutlet:`ngTemplateOutlet`,ngTemplateOutletInjector:`ngTemplateOutletInjector`},features:[_y]})}return t})();function bn(t,n){return new b(2100,!1)}var Pa=(()=>{class t{transform(e){return e==null?null:(Na(t,e),e.toLowerCase())}static ɵfac=function(r){return new(r||t)};static ɵpipe=iD({name:`lowercase`,type:t,pure:!0})}return t})();function Na(t,n){if(typeof n!=`string`)throw bn(t,n)}var Fa=`mediumDate`;var No=new A(``);var Fo=new A(``);var La=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,r,i){this.locale=e,this.defaultTimezone=r,this.defaultOptions=i}transform(e,r,i,o){if(e==null||e===``||e!==e)return null;try{let s=r??this.defaultOptions?.dateFormat??Fa,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Ao(e,s,o||this.locale,u)}catch(s){throw bn(t,s.message)}}static ɵfac=function(r){return new(r||t)(Br$1(Il,16),Br$1(No,24),Br$1(Fo,24))};static ɵpipe=iD({name:`date`,type:t,pure:!0})}return t})();var xa=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,r,i){if(!Lo(e))return null;i||=this._locale;try{return Oo(xo(e),i,r)}catch(o){throw bn(t,o.message)}}static ɵfac=function(r){return new(r||t)(Br$1(Il,16))};static ɵpipe=iD({name:`number`,type:t,pure:!0})}return t})();var ka=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,r,i){if(!Lo(e))return null;i||=this._locale;try{return Mo(xo(e),i,r)}catch(o){throw bn(t,o.message)}}static ɵfac=function(r){return new(r||t)(Br$1(Il,16))};static ɵpipe=iD({name:`percent`,type:t,pure:!0})}return t})();function Lo(t){return!(t==null||t===``||t!==t)}function xo(t){if(typeof t==`string`&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!=`number`)throw new b(2309,!1);return t}var ko=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵmod=tD({type:t});static ɵinj=Su$1({})}return t})();function Ft(t,n){n=encodeURIComponent(n);for(let e of t.split(`;`)){let r=e.indexOf(`=`),[i,o]=r==-1?[e,``]:[e.slice(0,r),e.slice(r+1)];if(i.trim()!==n)continue;let s=o;try{s=decodeURIComponent(o)}catch(u){}return s.length>1&&s[0]===`"`&&s[s.length-1]===`"`&&(s=s.slice(1,-1)),s}return null}function qd(t,n,e){return lw(t,n,e)}var Ur=`browser`;function Wd(t){return t===Ur}var Lt=class{_doc;constructor(n){this._doc=n}manager};var An=(()=>{class t extends Lt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static ɵfac=function(r){return new(r||t)(Ae(ri$1))};static ɵprov=ne$1({token:t,factory:t.ɵfac})}return t})();var _n=new A(``);var zr=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof An));this._plugins=i.slice().reverse();let o=e.find(s=>
1s instanceof An);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new b(-5101,!1);return this._eventNameToPlugin.set(e,r),r}static ɵfac=function(r){return new(r||t)(Ae(_n),Ae(Ie$1))};static ɵprov=ne$1({token:t,factory:t.ɵfac})}return t})();var jr=`ng-app-id`;function Uo(t){for(let n of t)n.remove()}function jo(t,n){let e=n.createElement(`style`);return e.textContent=t,e}function Va(t,n,e,r){let i=t.head?.querySelectorAll(`style[${jr}="${n}"],link[${jr}="${n}"]`);if(!i||i.length===0)return!1;for(let o of i)o.removeAttribute(jr),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf(`/`)+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]});return!0}function $r(t,n){let e=n.createElement(`link`);return e.setAttribute(`rel`,`stylesheet`),e.setAttribute(`href`,t),e}var Hr=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,Va(e,r,this.inline,this.external)&&this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,jo);r?.forEach(i=>this.addUsage(i,this.external,$r))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(Uo(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Uo(e);this.hosts.clear()}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,jo(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,$r(r,this.doc)))}}removeHost(e){this.hosts.delete(e);for(let r of[...this.inline.values(),...this.external.values()]){let i=[];for(let o of r.elements)o.parentNode===e?o.remove():i.push(o);r.elements=i}}addElement(e,r){return this.nonce&&r.setAttribute(`nonce`,this.nonce),e.appendChild(r)}static ɵfac=function(r){return new(r||t)(Ae(ri$1),Ae(vd),Ae(uy,8),Ae(ly))};static ɵprov=ne$1({token:t,factory:t.ɵfac})}return t})();var Br={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`};var Vr=/%COMP%/g;var $o=`%COMP%`;var Ga=`_nghost-${$o}`;var qa=`_ngcontent-${$o}`;var Wa=!0;var Xa=new A(``,{factory:()=>Wa});var Ya=new A(``);function Ka(t){return qa.replace(Vr,t)}function Za(t){return Ga.replace(Vr,t)}function zo(t,n){return n.map(e=>e.replace(Vr,t))}var Gr=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(e,r,i,o,s,u,a=null,c=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=u,this.nonce=a,this.tracingService=c,this.cssVarNamespace=l??``,this.defaultRenderer=new xt(e,s,u,this.tracingService,this.cssVarNamespace)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof In?i.applyToHost(e):i instanceof kt&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,u=this.ngZone,a=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case zt$1.Emulated:o=new In(a,c,r,this.appId,l,s,u,d,this.cssVarNamespace);break;case zt$1.ShadowDom:return new Tn(a,e,r,s,u,this.nonce,d,this.cssVarNamespace,c);case zt$1.ExperimentalIsolatedShadowDom:return new Tn(a,e,r,s,u,this.nonce,d,this.cssVarNamespace);default:o=new kt(a,c,r,l,s,u,d,this.cssVarNamespace)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static ɵfac=function(r){return new(r||t)(Ae(zr),Ae(zp),Ae(vd),Ae(Xa),Ae(ri$1),Ae(Ie$1),Ae(uy),Ae(Fn$1,8),Ae(Ya,8))};static ɵprov=ne$1({token:t,factory:t.ɵfac})}return t})();var xt=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i,o=``){this.eventManager=n,this.doc=e,this.ngZone=r,this.tracingService=i,this.cssVarNamespace=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Br[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Bo(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){if(n){let i=Bo(n)?n.content:n;if(r!=null&&r.parentNode!==i)throw new b(-5106,!1);i.insertBefore(e,r)}}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n==`string`?this.doc.querySelector(n):n;if(!r)throw new b(-5104,!1);return e||(r.textContent=``),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+`:`+e;let o=Br[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=Br[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){let o=e.startsWith(`--`);o&&(e=e.replace(`%NS%`,this.cssVarNamespace)),o||i&(Ci$1.DashCase|Ci$1.Important)?n.style.setProperty(e,r,i&Ci$1.Important?`important`:``):n.style[e]=r}removeStyle(n,e,r){let i=e.startsWith(`--`);i&&(e=e.replace(`%NS%`,this.cssVarNamespace)),i||r&Ci$1.DashCase?n.style.removeProperty(e):n.style[e]=``}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n==`string`&&(n=ye().getGlobalEventTarget(this.doc,n),!n))throw new b(-5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e===`__ngUnwrap__`)return n;n(e)===!1&&e.preventDefault()}}};function Bo(t){return t.tagName===`TEMPLATE`&&t.content!==void 0}var Tn=class extends xt{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,i,o,s,u,a,c){super(n,i,o,u,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=zo(r.id,l).map(f=>f.replace(/%NS%/g,a));for(let f of l){let g=document.createElement(`style`);s&&g.setAttribute(`nonce`,s),g.textContent=f,this.shadowRoot.appendChild(g)}let d=r.getExternalStyles?.();if(d)for(let f of d){let g=$r(f,i);s&&g.setAttribute(`nonce`,s),this.shadowRoot.appendChild(g)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}};var kt=class extends xt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,u,a,c){super(n,o,s,u,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=r.styles,d=c?zo(c,l):l;this.styles=d.map(f=>f.replace(/%NS%/g,a)),this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&rE.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}};var In=class extends kt{contentAttr;hostAttr;constructor(n,e,r,i,o,s,u,a,c){let l=i+`-`+r.id;super(n,e,r,o,s,u,a,c,l),this.contentAttr=Ka(l),this.hostAttr=Za(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,``)}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,``),r}};var Mn=class t extends _t{supportsDOMEvents=!0;static makeCurrent(){Or(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e===`window`?window:e===`document`?n:e===`body`?n.body:null}getBaseHref(n){let e=Qa();return e==null?null:eu(e)}resetBaseElement(){Ut=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ft(document.cookie,n)}};var Ut=null;function Qa(){return Ut=Ut||document.head.querySelector(`base`),Ut?Ut.getAttribute(`href`):null}function eu(t){return new URL(t,document.baseURI).pathname}var Ho=[`alt`,`control`,`meta`,`shift`];var tu={"\b":`Backspace`,"	":`Tab`,"�":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`};var nu={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};var Vo=(()=>{class t extends Lt{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),u=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ye().onAndCancel(e,s.domEventName,u,o))}static parseEventName(e){let r=e.toLowerCase().split(`.`),i=r.shift();if(r.length===0||!(i===`keydown`||i===`keyup`))return null;let o=t._normalizeKey(r.pop()),s=``,u=r.indexOf(`code`);if(u>
1-1&&(r.splice(u,1),s=`code.`),Ho.forEach(c=>{let l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+`.`)}),s+=o,r.length!=0||o.length===0)return null;let a={};return a.domEventName=i,a.fullKey=s,a}static matchEventFullKeyCode(e,r){let i=tu[e.key]||e.key,o=``;return r.indexOf(`code.`)>-1&&(i=e.code,o=`code.`),i==null||!i?!1:(i=i.toLowerCase(),i===` `?i=`space`:i===`.`&&(i=`dot`),Ho.forEach(s=>{if(s!==i){let u=nu[s];u(e)&&(o+=s+`.`)}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e===`esc`?`escape`:e}static ɵfac=function(r){return new(r||t)(Ae(ri$1))};static ɵprov=ne$1({token:t,factory:t.ɵfac})}return t})();function ru(t,n,e){return N(this,null,function*(){let r=F({rootComponent:t},iu(n,e));return A0(r)})}function iu(t,n){return{platformRef:n?.platformRef,appProviders:[...cu,...t?.providers??[]],platformProviders:uu}}function ou(){Mn.makeCurrent()}function su(){return new Qe}function au(){return ev(document),document}var uu=[{provide:ly,useValue:Ur},{provide:Ed,useValue:ou,multi:!0},{provide:ri$1,useFactory:au}];var cu=[{provide:na$1,useValue:`root`},{provide:Qe,useFactory:su},{provide:_n,useClass:An,multi:!0},{provide:_n,useClass:Vo,multi:!0},Gr,{provide:zp,useClass:Hr},{provide:Hr,useExisting:zp},zr,{provide:Or$1,useExisting:Gr},[]];var Ce=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n==`string`?this.lazyInit=()=>{this.headers=new Map,n.split(`
2`).forEach(e=>{let r=e.indexOf(`:`);if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<`u`&&n instanceof Headers?(this.headers=new Map,n.forEac
vendor: 8,855 bytes, line 2
2h((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:`a`})}set(n,e){return this.clone({name:n,value:e,op:`s`})}delete(n,e){return this.clone({name:n,value:e,op:`d`})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init();for(let[e,r]of n.headers.entries())this.headers.set(e,r),this.normalizedNames.set(e,n.normalizedNames.get(e))}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case`a`:case`s`:let r=n.value;if(typeof r==`string`&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=n.op===`a`?(this.headers.get(e)||[]).slice():[];i.push(...r),this.headers.set(e,i);break;case`d`:let o=n.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=Array.isArray(o)?o:[o],u=this.headers.get(e);if(!u)return;u=u.filter(a=>s.indexOf(a)===-1),u.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,u)}}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Pn=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};var Nn=class{encodeKey(n){return Go(n)}encodeValue(n){return Go(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function lu(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,``).split(`&`).forEach(i=>{let o=i.indexOf(`=`),[s,u]=o==-1?[n.decodeKey(i),``]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],a=e.get(s)||[];a.push(u),e.set(s,a)}),e}var du=/%(\d[a-f0-9])/gi;var hu={40:`@`,"3A":`:`,24:`$`,"2C":`,`,"3B":`;`,"3D":`=`,"3F":`?`,"2F":`/`};function Go(t){return encodeURIComponent(t).replace(du,(n,e)=>hu[e]??n)}function On(t){return`${t}`}var De=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Nn,n.fromString){if(n.fromObject)throw new b(2805,!1);this.map=lu(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(On):[On(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:`a`})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:`a`})}):e.push({param:r,value:i,op:`a`})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:`s`})}delete(n,e){return this.clone({param:n,value:e,op:`d`})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+`=`+this.encoder.encodeValue(r)).join(`&`)}).filter(n=>n!==``).join(`&`)}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);this.updates.forEach(n=>{switch(n.op){case`a`:case`s`:let e=n.op===`a`?(this.map.get(n.param)||[]).slice():[];e.push(On(n.value)),this.map.set(n.param,e);break;case`d`:if(n.value!==void 0){let r=(this.map.get(n.param)||[]).slice(),i=r.indexOf(On(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null}}};function fu(t){switch(t){case`DELETE`:case`GET`:case`HEAD`:case`OPTIONS`:case`JSONP`:return!1;default:return!0}}function qo(t){return typeof ArrayBuffer<`u`&&t instanceof ArrayBuffer}function Wo(t){return typeof Blob<`u`&&t instanceof Blob}function Xo(t){return typeof FormData<`u`&&t instanceof FormData}function pu(t){return typeof URLSearchParams<`u`&&t instanceof URLSearchParams}var qr=`Content-Type`;var Yo=`Accept`;var Jo=`text/plain`;var Qo=`application/json`;var gu=`${Qo}, ${Jo}, */*`;var ot=class t{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType=`json`;method;params;urlWithParams;transferCache;timeout;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(fu(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.reportUploadProgress=!!o.reportUploadProgress,this.reportDownloadProgress=!!o.reportDownloadProgress,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 b(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!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new Ce,this.context??=new Pn,!this.params)this.params=new De,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let u=e,a=``,c=e.indexOf(`#`);c!==-1&&(a=e.substring(c),u=e.substring(0,c));let l=u.indexOf(`?`),d=l===-1?`?`:l<u.length-1?`&`:``;this.urlWithParams=u+d+s+a}}}serializeBody(){return this.body===null?null:typeof this.body==`string`||qo(this.body)||Wo(this.body)||Xo(this.body)||pu(this.body)?this.body:this.body instanceof De?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||Xo(this.body)?null:Wo(this.body)?this.body.type||null:qo(this.body)?null:typeof this.body==`string`?Jo:this.body instanceof De?`application/x-www-form-urlencoded;charset=UTF-8`:typeof this.body==`object`||typeof this.body==`number`||typeof this.body==`boolean`?Qo:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,u=n.cache||this.cache,a=n.mode||this.mode,c=n.redirect||this.redirect,l=n.credentials||this.credentials,d=n.referrer??this.referrer,f=n.integrity||this.integrity,g=n.referrerPolicy||this.referrerPolicy,S=n.transferCache??this.transferCache,k=n.timeout??this.timeout,b=n.body!==void 0?n.body:this.body,B=n.withCredentials??this.withCredentials,N=n.reportProgress??this.reportProgress,H=n.reportUploadProgress??this.reportUploadProgress,he=n.reportDownloadProgress??this.reportDownloadProgress,ie=n.headers||this.headers,fe=n.params||this.params,vt=n.context??this.context;return n.setHeaders!==void 0&&(ie=Object.keys(n.setHeaders).reduce((We,Ee)=>We.set(Ee,n.setHeaders[Ee]),ie)),n.setParams&&(fe=Object.keys(n.setParams).reduce((We,Ee)=>We.set(Ee,n.setParams[Ee]),fe)),new t(e,r,b,{params:fe,headers:ie,context:vt,reportProgress:N,reportUploadProgress:H,reportDownloadProgress:he,responseType:i,withCredentials:B,transferCache:S,keepalive:o,cache:u,priority:s,timeout:k,mode:a,redirect:c,credentials:l,referrer:d,integrity:f,referrerPolicy:g})}};var Ue=(function(t){return t[t.Sent=0]=`Sent`,t[t.UploadProgress=1]=`UploadProgress`,t[t.ResponseHeader=2]=`Re
2sponseHeader`,t[t.DownloadProgress=3]=`DownloadProgress`,t[t.Response=4]=`Response`,t[t.User=5]=`User`,t})(Ue||{});var st=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r=`OK`){this.headers=n.headers||new Ce,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}};var Fn=class t extends st{constructor(n={}){super(n)}type=Ue.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}};var jt=class t extends st{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Ue.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}};var ke=class extends st{name=`HttpErrorResponse`;message;error;ok=!1;constructor(n){super(n,0,`Unknown Error`),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||`(unknown url)`}`:this.message=`Http failure response for ${n.url||`(unknown url)`}: ${n.status} ${n.statusText}`,this.error=n.error||null}};var mu=200;var yu=/^\)\]\}',?\n/;var es=new A(``,{factory:()=>null});var Ln=(()=>{class t{fetchImpl=C(Xr,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=C(Ie$1);destroyRef=C(Re);maxResponseSize=C(es);handle(e){return new T$1(r=>{let i=new AbortController,o=!1,s={next:a=>{a.type===Ue.Response&&(o=!0),r.next(a)},error:a=>{o=!0,r.error(a)},complete:()=>{o=!0,r.complete()}};this.doRequest(e,i.signal,s).then(Yr,a=>s.error(new ke({error:a})));let u;return e.timeout&&(u=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException(`signal timed out`,`TimeoutError`))},e.timeout))),()=>{u!==void 0&&clearTimeout(u),!o&&!i.signal.aborted&&i.abort()}})}
2doRequest(e,r,i){return N(this,null,function*(){let o=this.createRequestInit(e),s;try{let b=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,F({signal:r},o)));vu(b),i.next({type:Ue.Sent}),s=yield b}catch(b){i.error(new ke({error:b,status:b.status??0,statusText:b.statusText,url:e.urlWithParams,headers:b.headers}));return}let u=new Ce(s.headers),a=s.statusText,c=s.url||e.urlWithParams,l=s.status,d=null,f=e.reportProgress||e.reportDownloadProgress;if(f&&i.next(new Fn({headers:u,status:l,statusText:a,url:c})),s.body){let b=s.headers.get(qr)??``,B=s.headers.get(`content-length`),N$1=B!==null?Number(B):NaN;this.maxResponseSize!==null&&Number.isFinite(N$1)&&N$1>this.maxResponseSize&&(yield s.body.cancel(),Ko(this.maxResponseSize));let H=[],he=s.body.getReader(),ie=0,fe,vt,We=typeof Zone<`u`&&Zone.current,Ee=!1;if(yield this.ngZone.runOutsideAngular(()=>N(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield he.cancel(),Ee=!0;break}let{done:hr,value:fr}=yield he.read();if(hr)break;if(H.push(fr),ie+=fr.length,this.maxResponseSize!==null&&ie>this.maxResponseSize&&(yield he.cancel(),Ko(this.maxResponseSize)),f){vt=e.responseType===`text`?(vt??``)+(fe??=Zo(b)).decode(fr,{stream:!0}):void 0;let Ti=()=>i.next({type:Ue.DownloadProgress,total:Number.isFinite(N$1)?N$1:void 0,loaded:ie,partialText:vt});We?We.run(Ti):Ti()}}})),Ee){i.complete();return}let ra=this.concatChunks(H,ie);try{d=this.parseBody(e,ra,b,l)}catch(hr){i.error(new ke({error:hr,headers:new Ce(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}));return}}l===0&&(l=d?mu:0);let g=l>=200&&l<300,S=s.redirected,k=s.type;g?(i.next(new jt({body:d,headers:u,status:l,statusText:a,url:c,redirected:S,responseType:k})),i.complete()):i.error(new ke({error:d,headers:u,status:l,statusText:a,url:c,redirected:S,responseType:k}))})}parseBody(e,r,i,o){switch(e.responseType){case`json`:let s=new TextDecoder().decode(r).replace(yu,``);if(s===``)return null;try{return JSON.parse(s)}catch(u){if(o<200||o>=300)return s;throw u}case`text`:return Zo(i).decode(r);case`blob`:return new Blob([r],{type:i});case`arraybuffer`:return r.buffer}}createRequestInit(e){if(e.reportUploadProgress)throw new b(2824,!1);let r={},i;if(i=e.credentials,e.withCredentials&&(i=`include`),e.headers.forEach((o,s)=>r[o]=s.join(`,`)),e.headers.has(Yo)||(r[Yo]=gu),!e.headers.has(qr)){let o=e.detectContentTypeHeader();o!==null&&(r[qr]=o)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,r){let i=new Uint8Array(r),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:t.ɵfac})}return t})();var Xr=class{};function Yr(){}function vu(t){t.then(Yr,Yr)}function Ko(t){throw new b(-2825,!1)}var Du=/charset=\s*["']?([^;"'\s]+)["']?/i;function Zo(t){let n=t.match(Du);if(n!==null)try{return new TextDecoder(n[1])}catch(e){}return new TextDecoder}var Cu=new A(``,{factory:()=>!0});var Su=`XSRF-TOKEN`;var wu=new A(``,{factory:()=>Su});var Eu=`X-XSRF-TOKEN`;var Ru=new A(``,{factory:()=>Eu});var bu=(()=>{class t{cookieName=C(wu);doc=C(ri$1);lastCookieString=``;lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||``;return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ft(e,this.cookieName),this.lastCookieString=e),this.lastToken}static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:t.ɵfac})}return t})();var ts=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=ne$1({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=Ae(bu),i},providedIn:`root`})}return t})();function ns(t,n){if(!C(Cu)||t.method===`GET`||t.method===`HEAD`)return n(t);try{let i=C(nt).href,{origin:o}=new URL(i),{origin:s}=new URL(t.url,o);if(o!==s)return n(t)}catch(i){return n(t)}let e=C(ts).getToken(),r=C(Ru);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}function Au(t,n){return n(t)}function Tu(t,n,e){return(r,i)=>qo$1(e,()=>n(r,o=>t(o,i)))}
2var rs=new A(``,{factory:()=>[ns]});var is=new A(``);var os=new A(``,{factory:()=>!0});var Kr=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=ne$1({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=Ae(Ln),i},providedIn:`root`})}return t})();var xn=(()=>{class t{backend;injector;chain=null;pendingTasks=C(ci$1);contributeToStability=C(os);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let i=this.injector.get(kn,null,{skipSelf:!0}),o=i!==null&&this.backend===i,s=this.injector.get(is,[],o?{self:!0}:void 0),u=Array.from(new Set([...this.injector.get(rs),...s]));this.chain=u.reduceRight((a,c)=>Tu(a,c,this.injector),Au)}let r=this.chain;if(this.contributeToStability){let i=this.pendingTasks.add();return gg(()=>r(e,o=>this.backend.handle(o))).pipe(Kl(i))}else return gg(()=>r(e,i=>this.backend.handle(i)))}static ɵfac=function(r){return new(r||t)(Ae(Kr),Ae(ge))};static ɵprov=ne$1({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var kn=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=ne$1({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=Ae(xn),i},providedIn:`root`})}return t})();function Wr(t,n){return F({body:n},t)}var ss=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof ot)o=e;else{let a;i.headers instanceof Ce?a=i.headers:a=new Ce(i.headers);let c;i.params&&(i.params instanceof De?c=i.params:c=new De({fromObject:i.params})),o=new ot(e,r,i.body!==void 0?i.body:null,{headers:a,context:i.context,params:c,reportProgress:i.reportProgress,reportUploadProgress:i.reportUploadProgress,reportDownloadProgress:i.reportDownloadProgress,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,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=Hg(o).pipe(Jg(a=>this.handler.handle(a)));if(e instanceof ot||i.observe===`events`)return s;let u=s.pipe(fs$1(a=>a instanceof jt));switch(i.observe||`body`){case`body`:switch(o.responseType){case`arraybuffer`:return u.pipe(et(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new b(2806,!1);return a.body}));case`blob`:return u.pipe(et(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new b(2807,!1);return a.body}));case`text`:return u.pipe(et(a=>{if(a.body!==null&&typeof a.body!=`string`)throw new b(2808,!1);return a.body}));default:return u.pipe(et(a=>a.body))}case`response`:return u;default:throw new b(2809,!1)}}delete(e,r={}){return this.request(`DELETE`,e,r)}get(e,r={}){return this.request(`GET`,e,r)}head(e,r={}){return this.request(`HEAD`,e,r)}jsonp(e,r){return this.request(`JSONP`,e,{params:new De().append(r,`JSONP_CALLBACK`),observe:`body`,responseType:`json`})}options(e,r={}){return this.request(`OPTIONS`,e,r)}patch(e,r,i={}){return this.request(`PATCH`,e,Wr(i,r))}post(e,r,i={}){return this.request(`POST`,e,Wr(i,r))}put(e,r,i={}){return this.request(`PUT`,e,Wr(i,r))}static ɵfac=function(r){return new(r||t)(Ae(kn))};static ɵprov=ne$1({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();function Iu(...t){let n=[ss,Ln,xn,{provide:kn,useExisting:xn},{provide:Kr,useFactory:()=>C(Ln)},{provide:rs,useValue:ns,multi:!0}];for(let e of t)n.push(...e.ɵproviders);return Uo$1(n)}var as=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||``}static ɵfac=function(r){return new(r||t)(Ae(ri$1))};static ɵprov=ne$1({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Mu=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=ne$1({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=Ae(Ou),i},providedIn:`root`})}return t})();var Ou=(()=>{class t extends Mu{_doc=C(ri$1);sanitize(e,r){if(r==null)return null;switch(e){case q$1.NONE:return r;case q$1.HTML:return Bi(r,`HTML`)?Qt$1(r):tp(this._doc,String(r)).toString();case q$1.STYLE:return Bi(r,`Style`)?Qt$1(r):r;case q$1.SCRIPT:if(Bi(r,`Script`))return Qt$1(r);
2throw new b(5200,!1);case q$1.URL:return Bi(r,`URL`)?Qt$1(r):Lc$1(String(r));case q$1.RESOURCE_URL:if(Bi(r,`ResourceURL`))return Qt$1(r);throw new b(-5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(e){return av(e)}bypassSecurityTrustStyle(e){return cv(e)}bypassSecurityTrustScript(e){return lv(e)}bypassSecurityTrustUrl(e){return uv(e)}bypassSecurityTrustResourceUrl(e){return dv(e)}static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:t.ɵfac})}return t})();var y=`primary`;var en=Symbol(`RouteTitle`);var ni=class{params;constructor(n){this.params=n||{}}has(n){return Object.hasOwn(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Be(t){return new ni(t)}function Zr(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===`:`)e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function ps(t,n,e){let r=e.path.split(`/`),i=r.indexOf(`**`);if(i===-1){if(r.length>t.length||e.pathMatch===`full`&&(n.hasChildren()||r.length<t.length))return null;let a={},c=t.slice(0,r.length);return Zr(r,c,a)?{consumed:c,posParams:a}:null}if(i!==r.lastIndexOf(`**`))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>t.length||e.pathMatch===`full`&&n.hasChildren()&&e.path!==`**`)return null;let u={};return!Zr(o,t.slice(0,o.length),u)||!Zr(s,t.slice(t.length-s.length),u)?null:{consumed:t,posParams:u}}function Hn(t){return new Promise((n,e)=>{t.pipe(Em()).subscribe({next:r=>n(r),error:r=>e(r)})})}function Lu(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!de(t[e],n[e]))return!1;return!0}function de(t,n){let e=t?ri(t):void 0,r=n?ri(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!gs(t[i],n[i]))return!1;return!0}function ri(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function gs(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function xu(t){return t.length>0?t[t.length-1]:null}function Ge(t){return Bg(t)?t:sl$1(t)?Se$1(Promise.resolve(t)):Hg(t)}function ms(t){return Bg(t)?Hn(t):Promise.resolve(t)}var ku={exact:vs,subset:Ds};var ys={exact:Uu,subset:ju,ignored:()=>!0};var yi={paths:`exact`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`exact`};var lt={paths:`subset`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`subset`};function vi(t,n,e){let r=t instanceof W?t:n.parseUrl(t);return wb(()=>Vn(n.lastSuccessfulNavigation()?.finalUrl??new W,r,e))}function Vn(t,n,e){let r=F(F({},lt),e||{});return ku[r.paths](t.root,n.root,r.matrixParams)&&ys[r.queryParams](t.queryParams,n.queryParams)&&!(r.fragment===`exact`&&t.fragment!==n.fragment)}function Uu(t,n){return de(t,n)}function vs(t,n,e){if(!je(t.segments,n.segments)||!Bn(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!vs(t.children[r],n.children[r],e))return!1;return!0}function ju(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>gs(t[e],n[e]))}function Ds(t,n,e){return Cs(t,n,n.segments,e)}function Cs(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!je(i,e)||n.hasChildren()||!Bn(i,e,r))}else if(t.segments.length===e.length){if(!je(t.segments,e)||!Bn(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!Ds(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!je(t.segments,i)||!Bn(t.segments,i,r)||!t.children[`primary`]?!1:Cs(t.children[y],n,o,r)}}function Bn(t,n,e){return n.every((r,i)=>ys[e](t[i].parameters,r.parameters))}var W=class{root;queryParams;fragment;_queryParamMap;constructor(n=new w([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Be(this.queryParams),this._queryParamMap}toString(){return zu.serialize(this)}};var w=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $n(this)}};var _e=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Be(this.parameters),this._parameterMap}toString(){return ws(this)}};function Bu(t,n){return je(t,n)&&t.every((e,r)=>de(e.parameters,n[r].parameters))}function je(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function $u(t,n){let e=[];
2return Object.entries(t.children).forEach(([r,i])=>{r===`primary`&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==`primary`&&(e=e.concat(n(i,r)))}),e}var gt=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:()=>new Me})}return t})();var Me=class{parse(n){let e=new oi(n);return new W(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){return`${`/${Bt(n.root,!0)}`}${Gu(n.queryParams)}${typeof n.fragment==`string`?`#${Hu(n.fragment)}`:``}`}};var zu=new Me;function $n(t){return t.segments.map(n=>ws(n)).join(`/`)}function Bt(t,n){if(!t.hasChildren())return $n(t);if(n){let e=t.children[`primary`]?Bt(t.children[y],!1):``,r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==`primary`&&r.push(`${i}:${Bt(o,!1)}`)}),r.length>0?`${e}(${r.join(`//`)})`:e}else{let e=$u(t,(r,i)=>i===`primary`?[Bt(t.children[y],!1)]:[`${i}:${Bt(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[`primary`]!=null?`${$n(t)}/${e[0]}`:`${$n(t)}/(${e.join(`//`)})`}}function Ss(t){return encodeURIComponent(t).replace(/%40/g,`@`).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`)}function Un(t){return Ss(t).replace(/%3B/gi,`;`)}function Hu(t){return encodeURI(t)}function ii(t){return Ss(t).replace(/\(/g,`%28`).replace(/\)/g,`%29`).replace(/%26/gi,`&`)}function zn(t){return decodeURIComponent(t)}function us(t){return zn(t.replace(/\+/g,`%20`))}function ws(t){return`${ii(t.path)}${Vu(t.parameters)}`}function Vu(t){return Object.entries(t).map(([n,e])=>`;${ii(n)}=${ii(e)}`).join(``)}function Gu(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${Un(e)}=${Un(i)}`).join(`&`):`${Un(e)}=${Un(r)}`).filter(e=>e);return n.length?`?${n.join(`&`)}`:``}var Jr=1073741824;function Gn(t,n,e){Number(n)>=32&&!Object.hasOwn(t,Jr)&&(t[Jr]=e,delete t[Jr]),t[n]=e}var qu=/^[^\/()?;#]+/;function Qr(t){let n=t.match(qu);return n?n[0]:``}var Wu=/^[^\/()?;=#]+/;function Xu(t){let n=t.match(Wu);return n?n[0]:``}var Yu=/^[^=?&#]+/;function Ku(t){let n=t.match(Yu);return n?n[0]:``}var Zu=/^[^&#]+/;function Ju(t){let n=t.match(Zu);return n?n[0]:``}var oi=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional(`/`););return this.remaining===``||this.peekStartsWith(`?`)||this.peekStartsWith(`#`)?new w([],{}):new w([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional(`?`))do this.parseQueryParam(n);while(this.consumeOptional(`&`));return n}parseFragment(){return this.consumeOptional(`#`)?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new b(4010,!1);if(this.remaining===``)return{};this.consumeOptional(`/`);let e=[];for(this.peekStartsWith(`(`)||e.push(this.parseSegment());this.peekStartsWith(`/`)&&!this.peekStartsWith(`//`)&&!this.peekStartsWith(`/(`);)this.capture(`/`),e.push(this.parseSegment());let r={};this.peekStartsWith(`/(`)&&(this.capture(`/`),r=this.parseParens(!0,n));let i={};return this.peekStartsWith(`(`)&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(i[`primary`]=new w(e,r)),i}parseSegment(){let n=Qr(this.remaining);if(n===``&&this.peekStartsWith(`;`))throw new b(4009,!1);return this.capture(n),new _e(zn(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(`;`);)this.parseParam(n);return n}parseParam(n){let e=Xu(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let i=Qr(this.remaining);i&&(r=i,this.capture(r))}Gn(n,zn(e),zn(r))}parseQueryParam(n){let e=Ku(this.remaining);if(!e)return;this.capture(e);let r=``;if(this.consumeOptional(`=`)){let s=Ju(this.remaining);s&&(r=s,this.capture(r))}let i=us(e),o=us(r);if(Object.hasOwn(n,i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,e){let r=Object.create(null);for(this.capture(`(`);!this.consumeOptional(`)`)&&this.remaining.length>0;){let i=Qr(this.remaining),o=this.remaining[i.length];if(o!==`/`&&o!==`)`&&o!==`;`)throw new b(4010,!1);let s;i.indexOf(`:`)>-1?(s=i.slice(0,i.indexOf(`:`)),this.capture(s),this.capture(`:`)):n&&(s=`primary`);let u=this.parseChildren(e+1),a=Object.keys(u).length===1&&u[`primary`]?u[y]:new w([],u);Gn(r,s??`primary`,a),this.consumeOptional(`//`)}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new b(4011,!1)}};function Es(t){return t.segments.length>0?new w([],{[y]:t}):t}function Rs(t){let n=Object.create(null);for(let[r,i]of Object.entries(t.children)){let o=Rs(i);if(r===`primary`&&o.segments.length===0&&o.hasChildren())for(let[s,u]of Object.entries(o.children))Gn(n,s,u);else(o.segments.length>0||o.hasChildren())&&Gn(n,r,o)}return Qu(new w(t.segments,n))}function Qu(t){if(t.numberOfChildren===1&&t.children[`primary`]){let n=t.children[y];return new w(t.segments.concat(n.segments),n.children)}return t}function Oe(t){return t instanceof W}function bs(t,n,e=null,r=null,i=new Me){return Ts(As(t),n,e,r,i)}function As(t){let n;function e(o){let s={};for(let a of o.children){let c=e(a);s[a.outlet]=c}let u=new w(o.url,s);return o===t&&(n=u),u}let i=Es(e(t.root));return n??i}function Ts(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return ei(o,o,o,e,r,i);let s=ec(n);if(s.toRoot())return ei(o,o,new w([],{}),e,r,i);let u=tc(s,o,t),a=u.processChildren?zt(u.segmentGroup,u.index,s.commands):_s(u.segmentGroup,u.index,s.commands);return ei(o,u.segmentGroup,a,e,r,i)}function qn(t){return typeof t==`object`&&t!=null&&!t.outlets&&!t.segmentPath}function qt(t){return typeof t==`object`&&t!=null&&t.outlets}function cs(t,n,e){t||=`ɵ`;let r=new W;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function ei(t,n,e,r,i,o){let s={};for(let[c,l]of Object.entries(r??{}))s[c]=Array.isArray(l)?l.map(d=>cs(c,d,o)):cs(c,l,o);let u;t===n?u=e:u=Is(t,n,e);return new W(Es(Rs(u)),s,i)}function Is(t,n,e){let r=Object.create(null);
vendor: 4,421 bytes, line 2
2return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=Is(o,n,e)}),new w(t.segments,r)}var Wn=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&qn(r[0]))throw new b(4003,!1);let i=r.find(qt);if(i&&i!==xu(r))throw new b(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]==`/`}};function ec(t){if(typeof t[0]==`string`&&t.length===1&&t[0]===`/`)return new Wn(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o==`object`&&o!=null){if(o.outlets){let u={};return Object.entries(o.outlets).forEach(([a,c])=>{u[a]=typeof c==`string`?c.split(`/`):c}),[...i,{outlets:u}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!=`string`?[...i,o]:s===0?(o.split(`/`).forEach((u,a)=>{a==0&&u===`.`||(a==0&&u===``?e=!0:u===`..`?n++:u!=``&&i.push(u))}),i):[...i,o]},[]);return new Wn(e,n,r)}var ut=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function tc(t,n,e){if(t.isAbsolute)return new ut(n,!0,0);if(!e)return new ut(n,!1,NaN);if(e.parent===null)return new ut(e,!0,0);let r=qn(t.commands[0])?0:1;return nc(e,e.segments.length-1+r,t.numberOfDoubleDots)}function nc(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new b(4005,!1);i=r.segments.length}return new ut(r,!1,i-o)}function rc(t){return qt(t[0])?t[0].outlets:{[y]:t}}function _s(t,n,e){if(t??=new w([],{}),t.segments.length===0&&t.hasChildren())return zt(t,n,e);let r=ic(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new w(t.segments.slice(0,r.pathIndex),{});return o.children[y]=new w(t.segments.slice(r.pathIndex),t.children),zt(o,0,i)}else return r.match&&i.length===0?new w(t.segments,{}):r.match&&!t.hasChildren()?si(t,n,e):r.match?zt(t,0,i):si(t,n,e)}function zt(t,n,e){if(e.length===0)return new w(t.segments,{});{let r=rc(e),i=Object.create(null);if(Object.keys(r).some(o=>o!==`primary`)&&t.children[`primary`]&&t.numberOfChildren===1&&t.children[`primary`].segments.length===0){let o=zt(t.children[y],n,e);return new w(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s==`string`&&(s=[s]),s!==null&&(i[o]=_s(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new w(t.segments,i)}}function ic(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let s=t.segments[i],u=e[r];if(qt(u))break;let a=`${u}`,c=r<e.length-1?e[r+1]:null;if(i>0&&a===void 0)break;if(a&&c&&typeof c==`object`&&c.outlets===void 0){if(!ds(a,c,s))return o;r+=2}else{if(!ds(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function si(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(qt(o))return new w(r,oc(o.outlets));if(i===0&&qn(e[0])){let a=t.segments[n];r.push(new _e(a.path,ls(e[0]))),i++;continue}let s=qt(o)?o.outlets[y]:`${o}`,u=i<e.length-1?e[i+1]:null;s&&u&&qn(u)?(r.push(new _e(s,ls(u))),i+=2):(r.push(new _e(s,{})),i++)}return new w(r,{})}function oc(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r==`string`&&(r=[r]),r!==null&&(n[e]=si(new w([],{}),0,r))}),n}function ls(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function ds(t,n,e){return t==e.path&&de(n,e.parameters)}var Xn=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new $e(this.rootInjector)}resetChildren(){this.children=new $e(this.rootInjector)}};var $e=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Xn(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static ɵfac=function(r){return new(r||t)(Ae(ge))};static ɵprov=ne$1({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();var Yn=class{_root;constructor(n){this._root=n}get root(){return this._root.value}
2parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=ai(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=ai(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=ui(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return ui(n,this._root).map(e=>e.value)}};function ai(t,n){if(t===n.value)return n;for(let e of n.children){let r=ai(t,e);if(r)return r}return null}function ui(t,n){if(t===n.value)return[n];for(let e of n.children){let r=ui(t,e);if(r.length)return r.unshift(n),r}return[]}var q=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function at(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Wt=class extends Yn{snapshot;constructor(n,e){super(n),this.snapshot=e,Ci(this,n)}toString(){return this.snapshot.toString()}};function Ms(t,n){let e=sc(t,n),r=new qn$1([new _e(``,{})]),i=new qn$1({}),o=new qn$1({}),a=new Se(r,i,new qn$1({}),new qn$1(``),o,y,t,e.root);return a.snapshot=e.root,new Wt(new q(a,[]),e)}function sc(t,n){return new Xt(``,new q(new dt([],{},{},``,{},y,t,null,{},n),[]))}var Se=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(n,e,r,i,o,s,u,a){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=u,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(et(c=>c[en]))??Hg(void 0),this.url=n,this.params=e,this.queryParams=r,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(et(n=>Be(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(et(n=>Be(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(n){this._futureSnapshot=n,this.pending?.set(!0)}};var ac=`always`;function Di(t,n,e){let r,{routeConfig:i}=t;return n!==null&&(e===`always`||i?.path===``||!n.component&&!n.routeConfig?.loadComponent)?r={params:Object.keys(t.params).length===0?n.params:Object.freeze(F(F({},n.params),t.params)),data:Object.freeze(F(F({},n.data),t.data)),resolve:F(F(F(F({},t.data),n.data),i?.data),t._resolvedData)}:r={params:Object.freeze(F({},t.params)),data:Object.freeze(F({},t.data)),resolve:F(F({},t.data),t._resolvedData??{})},i&&Ps(i)&&(r.resolve[en]=i.title),r}var dt=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[en]}constructor(n,e,r,i,o,s,u,a,c,l){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=u,this.routeConfig=a,this._resolve=c,this._environmentInjector=l}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??=Be(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Be(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(`/`)}', path:'${this.routeConfig?this.routeConfig.path:``}')`}};var Xt=class extends Yn{url;constructor(n,e){super(e),this.url=n,Ci(this,e)}toString(){return Os(this._root)}};
2function Ci(t,n){n.value._routerState=t,n.children.forEach(e=>Ci(t,e))}function Os(t){let n=t.children.length>0?` { ${t.children.map(Os).join(`, `)} } `:``;return`${t.value}${n}`}function ti(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,de(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),de(n.params,e.params)||t.paramsSubject.next(e.params),Lu(n.url,e.url)||t.urlSubject.next(e.url),de(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function ci(t,n){let e=de(t.params,n.params)&&Bu(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||ci(t.parent,n.parent))}function Ps(t){return typeof t.title==`string`||t.title===null}var Ns=new A(``);var Si=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=y;activateEvents=new We;deactivateEvents=new We;attachEvents=new We;detachEvents=new We;routerOutletData=T0();parentContexts=C($e);location=C(Ki);changeDetector=C(x0);inputBinder=C(tn,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)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 b(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),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,r){if(this.isActivated)throw new b(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,a=new li(e,u,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:a,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(r){return new(r||t)};static ɵdir=oD({type:t,selectors:[[`router-outlet`]],inputs:{name:`name`,routerOutletData:[1,`routerOutletData`]},outputs:{activateEvents:`activate`,deactivateEvents:`deactivate`,attachEvents:`attach`,detachEvents:`detach`},exportAs:[`outlet`],features:[_y]})}return t})();var li=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===Se?this.route:n===$e?this.childContexts:n===Ns?this.outletData:this.parent.get(n,e)}};var tn=new A(``);var Fs=(()=>{class t{options;feature;outletDataSubscriptions=new Map;outletSeenKeys=new Map;outletEffects=new Map;constructor(e,r=null){this.options=e,this.feature=r,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(e,r){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e,r)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e),this.outletSeenKeys.delete(e),this.outletEffects.get(e)?.forEach(r=>r.destroy()),this.outletEffects.delete(e)}subscribeToRouteData(e,r){let{activatedRoute:i}=e,o=[],s=[];if(this.feature?.createResourceOutletBindingEffects&&e.activatedComponentRef){let{handledKeys:a,createdEffects:c}=this.feature.createResourceOutletBindingEffects(e.activatedComponentRef,i);o.push(...c),s=a}o.length>0&&this.outletEffects.set(e,o);let u=sm([this.options.queryParams?i.queryParams:Hg({}),i.params,i.data]).pipe(Xg(([a,c,l],d)=>(l=F(F(F(F({},a),c),l),i.resources),d===0?Hg(l):Promise.resolve(l)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let c=k0(i.component);if(!c){this.unsubscribeFromRouteData(e);return}let l=this.outletSeenKeys.get(e);l||(l=new Set,this.outletSeenKeys.set(e,l));for(let f of Object.keys(a))l.add(f);let d=this.options.unmatchedInputBehavior??`alwaysUndefined`;for(let{templateName:f}of c.inputs){if(s.includes(f))continue;
2let g=a[f];(g!==void 0||d===`alwaysUndefined`||l.has(f))&&e.activatedComponentRef.setInput(f,g)}});this.outletDataSubscriptions.set(e,u)}static ɵfac=function(r){EI()};static ɵprov=ne$1({token:t,factory:t.ɵfac})}return t})();var wi=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵcmp=XI({type:t,selectors:[[`ng-component`]],exportAs:[`emptyRouterOutlet`],decls:1,vars:0,template:function(r,i){r&1&&Rh(0,`router-outlet`)},dependencies:[Si],encapsulation:2,changeDetection:1})}return t})();function Ei(t){let n=t.children&&t.children.map(Ei),e=n?G(F({},t),{children:n}):F({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==`primary`&&(e.component=wi),e}var Ht=`imperative`;var j=(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})(j||{});var J=class{id;url;constructor(n,e){this.id=n,this.url=e}};var ze=class extends J{type=j.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r=`imperative`,i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}};var ce=class extends J{urlAfterRedirects;type=j.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}};var z=(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})(z||{});var Yt=(function(t){return t[t.IgnoredSameUrlNavigation=0]=`IgnoredSameUrlNavigation`,t[t.IgnoredByUrlHandlingStrategy=1]=`IgnoredByUrlHandlingStrategy`,t})(Yt||{});var re=class extends J{reason;code;type=j.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function Ls(t){return t instanceof re&&(t.code===z.Redirect||t.code===z.SupersededByNewNavigation)}var we=class extends J{reason;code;type=j.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}};var He=class extends J{error;target;type=j.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}};var Kt=class extends J{urlAfterRedirects;state;type=j.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var Kn=class extends J{urlAfterRedirects;state;type=j.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var Zn=class extends J{urlAfterRedirects;state;shouldActivate;type=j.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}};var Jn=class extends J{urlAfterRedirects;state;type=j.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var Qn=class extends J{urlAfterRedirects;state;type=j.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var er=class{route;type=j.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}};var tr=class{route;type=j.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}};var nr=class{snapshot;type=j.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var rr=class{snapshot;type=j.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var ir=class{snapshot;type=j.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var or=class{snapshot;type=j.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var ht=class{};var Zt=class{};var ft=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function uc(t){return!(t instanceof ht)&&!(t instanceof ft)&&!(t instanceof Zt)}function cc(t,n,e){let r=new Set;return{newlyCreatedRoutes:r,state:new Wt(Jt(t,n._root,e?e._root:void 0,r),n)}}function Jt(t,n,e,r){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._setPending(n.value);return new q(i,lc(t,n,e,r))}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let u=s.route;return u.value._setPending(n.value),u.children=n.children.map(a=>Jt(t,a,void 0,r)),u}}let i=dc(n.value);i._setPending(n.value),r.add(i);return new q(i,n.children.map(s=>Jt(t,s,void 0,r)))}}function lc(t,n,e,r){return n.children.map(i=>{for(let o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Jt(t,i,o,r);return Jt(t,i,void 0,r)})}function dc(t){return new Se(new qn$1(t.url),new qn$1(t.params),new qn$1(t.queryParams),new qn$1(t.fragment),new qn$1(t.data),t.outlet,t.component,t)}
2var Ve=class t extends Error{redirectTo;navigationBehaviorOptions;constructor(n,e){super(),this.redirectTo=n,this.navigationBehaviorOptions=e,Object.setPrototypeOf(this,t.prototype)}};var xs=`ngNavigationCancelingError`;function Vt(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=Oe(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=ks(!1,z.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function ks(t,n){let e=new Error(`NavigationCancelingError: ${t||``}`);return e[xs]=!0,e.cancellationCode=n,e}function hc(t){return Us(t)&&Oe(t.url)}function Us(t){return!!t&&t[xs]}var di=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),ti(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=at(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=at(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),u=r.children.contexts;r.resetChildren(),this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:u})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=at(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),n.value._localInjector?.destroy()}activateChildRoutes(n,e,r){let i=at(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new or(o.value.snapshot))}),n.children.length&&this.forwardEvent(new rr(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(ti(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let u=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(u.contexts),s.attachRef=u.componentRef,s.route=u.route.value,s.outlet&&s.outlet.attach(u.componentRef,u.route.value),ti(u.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}};var sr=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}};var ct=class{component;route;constructor(n,e){this.component=n,this.route=e}};function fc(t,n,e){let r=t._root;return $t(r,n?n._root:null,e,[r.value])}function pc(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function mt(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t==`function`&&!Om(t)?t:n.get(t):r}function $t(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=at(n);return t.children.forEach(s=>{gc(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,u])=>Gt(u,e.getContext(s),e,i)),i}function gc(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,u=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let a=mc(s,o,o.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new sr(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?$t(t,n,u?u.children:null,r,i):$t(t,n,e,r,i),a&&u&&u.outlet&&u.outlet.isActivated&&i.canDeactivateChecks.push(new ct(u.outlet.component,s))}else s&&Gt(n,u,e,i),i.canActivateChecks.push(new sr(r)),o.component?$t(t,null,u?u.children:null,r,i):$t(t,null,e,r,i);return i}function mc(t,n,e){if(typeof e==`function`)return qo$1(n._environmentInjector,()=>e(t,n));switch(e){case`pathParamsChange`:return!je(t.url,n.url);case`pathParamsOrQueryParamsChange`:return!je(t.url,n.url)||!de(t.queryParams,n.queryParams);case`always`:return!0;case`paramsOrQueryParamsChange`:return!ci(t,n)||!de(t.queryParams,n.queryParams);default:return!ci(t,n)}}function Gt(t,n,e,r){let i=at(t),o=t.value;
2Object.entries(i).forEach(([s,u])=>{o.component?n?Gt(u,n.children.getContext(s),n.children,r):Gt(u,null,null,r):Gt(u,e?e.getContext(s):null,e,r)}),o.component?n&&n.outlet&&n.outlet.isActivated?r.canDeactivateChecks.push(new ct(n.outlet.component,o)):r.canDeactivateChecks.push(new ct(null,o)):r.canDeactivateChecks.push(new ct(null,o))}function nn(t){return typeof t==`function`}function yc(t){return typeof t==`boolean`}function vc(t){return t&&nn(t.canLoad)}function Dc(t){return t&&nn(t.canActivate)}function Cc(t){return t&&nn(t.canActivateChild)}function Sc(t){return t&&nn(t.canDeactivate)}function wc(t){return t&&nn(t.canMatch)}function js(t){return t instanceof Qn$1||t?.name===`EmptyError`}var jn=Symbol(`INITIAL_VALUE`);function pt(){return Xg(t=>sm(t.map(n=>n.pipe(ps$1(1),wm(jn)))).pipe(et(n=>{for(let e of n)if(e!==!0){if(e===jn)return jn;if(e===!1||Ec(e))return e}return!0}),fs$1(n=>n!==jn),ps$1(1)))}function Ec(t){return Oe(t)||t instanceof Ve}function Bs(t){return t.aborted?Hg(void 0).pipe(ps$1(1)):new T$1(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener(`abort`,e),()=>t.removeEventListener(`abort`,e)})}function $s(t){return bm(Bs(t))}function Rc(t){return Be$1(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?Hg(G(F({},n),{guardsResult:!0})):bc(o,e,r).pipe(Be$1(s=>s&&yc(s)?Ac(e,i,t):Hg(s)),et(s=>G(F({},n),{guardsResult:s})))})}function bc(t,n,e){return Se$1(t).pipe(Be$1(r=>Oc(r.component,r.route,e,n)),Em(r=>r!==!0,!0))}function Ac(t,n,e){return Se$1(n).pipe(Jg(r=>po$1(Ic(r.route.parent,e),Tc(r.route,e),Mc(t,r.path),_c(t,r.route))),Em(r=>r!==!0,!0))}function Tc(t,n){return t!==null&&n&&n(new ir(t)),Hg(!0)}function Ic(t,n){return t!==null&&n&&n(new nr(t)),Hg(!0)}function _c(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return Hg(!0);let r=e.map(i=>$g(()=>{let o=n._environmentInjector,s=mt(i,o);return Ge(Dc(s)?s.canActivate(n,t):qo$1(o,()=>s(n,t))).pipe(Em())}));return Hg(r).pipe(pt())}function Mc(t,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>pc(o)).filter(o=>o!==null).map(o=>$g(()=>{let s=o.guards.map(u=>{let a=o.node._environmentInjector,c=mt(u,a);return Ge(Cc(c)?c.canActivateChild(e,t):qo$1(a,()=>c(e,t))).pipe(Em())});return Hg(s).pipe(pt())}));return Hg(i).pipe(pt())}function Oc(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return Hg(!0);let o=i.map(s=>{let u=n._environmentInjector,a=mt(s,u);return Ge(Sc(a)?a.canDeactivate(t,n,e,r):qo$1(u,()=>a(t,n,e,r))).pipe(Em())});return Hg(o).pipe(pt())}function Pc(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return Hg(!0);let s=o.map(u=>{let a=mt(u,t),l=Ge(vc(a)?a.canLoad(n,e):qo$1(t,()=>a(n,e)));return i?l.pipe($s(i)):l});return Hg(s).pipe(pt(),zs(r))}function zs(t){return xg(eu$1(n=>{if(typeof n!=`boolean`)throw Vt(t,n)}),et(n=>n===!0))}function Nc(t,n,e,r,i,o){let s=n.canMatch;if(!s||s.length===0)return Hg(!0);let u=s.map(a=>{let c=mt(a,t);return Ge(wc(c)?c.canMatch(n,e,i):qo$1(t,()=>c(n,e,i))).pipe($s(o))});return Hg(u).pipe(pt(),zs(r))}var le=class t extends Error{name=`NoMatch`;segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}};var Qt=class t extends Error{urlTree;name=`AbsoluteRedirect`;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function Fc(t){throw new b(4e3,!1)}function Lc(t){throw ks(!1,z.GuardRejected)}var hi=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return N(this,null,function*(){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[`primary`])throw Fc(`${n.redirectTo}`);i=i.children[y]}})}applyRedirectCommands(n,e,r,i,o){return N(this,null,function*(){let s=yield xc(e,i,o);if(s instanceof W)throw new Qt(s);let u=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]===`/`)throw new Qt(u);return u})}applyRedirectCreateUrlTree(n,e,r,i){return new W(this.createSegmentGroup(n,e.root,r,i),this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};
2return Object.entries(n).forEach(([i,o])=>{if(typeof o==`string`&&o[0]===`:`){let u=o.substring(1);r[i]=e[u]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s=Object.create(null);return Object.entries(e.children).forEach(([u,a])=>{s[u]=this.createSegmentGroup(n,a,r,i)}),new w(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===`:`?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new b(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function xc(t,n,e){if(typeof t==`string`)return Promise.resolve(t);let r=t;return Hn(Ge(qo$1(e,()=>r(n))))}function kc(t,n){return t.providers&&!t._injector&&(t._injector=al$1(t.providers,n,`Route: ${t.path}`)),t._injector??n}function ue(t){return t.outlet||`primary`}function Uc(t,n){let e=t.filter(r=>ue(r)===n);return e.push(...t.filter(r=>ue(r)!==n)),e}var fi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Hs(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function jc(t,n,e,r,i,o,s){let u=Vs(t,n,e);if(!u.matched)return Hg(u);let a=Hs(o(u));return r=kc(n,r),Nc(r,n,e,i,a,s).pipe(et(c=>c===!0?u:F({},fi)))}function Vs(t,n,e){if(n.path===``)return n.pathMatch===`full`&&(t.hasChildren()||e.length>0)?F({},fi):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||ps)(e,t,n);if(!i)return F({},fi);let o={};Object.entries(i.posParams??{}).forEach(([u,a])=>{o[u]=a.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 hs(t,n,e,r,i){return e.length>0&&zc(t,e,r,i)?{segmentGroup:new w(n,$c(r,new w(e,t.children))),slicedSegments:[]}:e.length===0&&Hc(t,e,r)?{segmentGroup:new w(t.segments,Bc(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new w(t.segments,t.children),slicedSegments:e}}function Bc(t,n,e,r){let i={};for(let o of e)if(ur(t,n,o)&&!r[ue(o)]){let s=new w([],{});i[ue(o)]=s}return F(F({},r),i)}function $c(t,n){let e={};e[y]=n;for(let r of t)if(r.path===``&&ue(r)!==`primary`){let i=new w([],{});e[ue(r)]=i}return e}function zc(t,n,e,r){return e.some(i=>!ur(t,n,i)||!(ue(i)!==`primary`)?!1:!(r!==void 0&&ue(i)===r))}function Hc(t,n,e){return e.some(r=>ur(t,n,r))}function ur(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch===`full`?!1:e.path===``}function Vc(t,n,e){return n.length===0&&!t.hasChildren()}var pi=class{};function Gc(t,n,e,r,i,o,s,u){return N(this,null,function*(){return new gi(t,n,e,r,i,s,o,u).recognize()})}var qc=31;var gi=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;queryParams;constructor(n,e,r,i,o,s,u,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=u,this.abortSignal=a,this.applyRedirects=new hi(this.urlSerializer,this.urlTree),this.queryParams=Object.freeze(F({},this.urlTree.queryParams))}noMatchError(n){return new b(4002,`'${n.segmentGroup}'`)}recognize(){return N(this,null,function*(){let n=hs(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=yield this.match(n),o=new Xt(``,new q(r,e)),s=bs(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}})}match(n){return N(this,null,function*(){let e=new dt([],Object.freeze({}),this.queryParams,this.urlTree.fragment,Object.freeze({}),y,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,y,e),rootSnapshot:e}}catch(r){if(r instanceof Qt)return this.absoluteRedirectCount++,this.absoluteRedirectCount>qc&&(this.allowRedirects=!1),this.urlTree=r.urlTree,this.queryParams=Object.freeze(F({},this.urlTree.queryParams)),this.match(r.urlTree.root);throw r instanceof le?this.noMatchError(r):r}})}processSegmentGroup(n,e,r,i,o){return N(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let s=yield this.processSegment(n,e,r,r.segments,i,!0,o);return s instanceof q?[s]:[]})}processChildren(n,e,r,i){return N(this,null,function*(){let o=[];for(let a of Object.keys(r.children))a===`primary`?o.unshift(a):o.push(a);let s=[];for(let a of o){let c=r.children[a],l=Uc(e,a),d=yield this.processSegment(n,l,c,c.segments,a,!0,i);d instanceof q&&s.push(d)}let u=Gs(s);return Wc(u),u})}processSegment(n,e,r,i,o,s,u){return N(this,null,function*(){for(let a of e)try{return yield this.processSegmentAgainstRoute(a._injector??n,e,a,r,i,o,s,u)}catch(c){if(c instanceof le||js(c))continue;throw c}if(Vc(r,i))return new pi;throw new le(r)})}processSegmentAgainstRoute(n,e,r,i,o,s,u,a){return N(this,null,function*(){if(ue(r)!==s&&(s===`primary`||!ur(i,o,r)||!r.children?.length&&!r.loadChildren||o.length===0&&!i.hasChildren()))throw new le(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,s,a);if(this.allowRedirects&&u)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,a);throw new le(i)})}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,u){return N(this,null,function*(){let{matched:a,parameters:c,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=Vs(e,i,o);if(!a)throw new le(e);let g=this.createSnapshot(n,i,o,c,u);
2if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let S=yield this.applyRedirects.applyRedirectCommands(l,i.redirectTo,d,Hs(g),n),k=yield this.applyRedirects.lineralizeSegments(i,S);return this.processSegment(n,r,e,k.concat(f),s,!1,u)})}createSnapshot(n,e,r,i,o){let s=new dt(r,i,this.queryParams,this.urlTree.fragment,Kc(e),ue(e),e.component??e._loadedComponent??null,e,Zc(e),n),u=Di(s,o,this.paramsInheritanceStrategy);return s.params=u.params,s.data=u.data,s}matchSegmentAgainstRoute(n,e,r,i,o,s){return N(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let u=H=>this.createSnapshot(n,r,H.consumedSegments,H.parameters,s),a=yield Hn(jc(e,r,i,n,this.urlSerializer,u,this.abortSignal));if(r.path===`**`&&(e.children={}),!a?.matched)throw new le(e);n=r._injector??n;let{routes:c}=yield this.getChildConfig(n,r,i),l=r._loadedInjector??n,{parameters:d,consumedSegments:f,remainingSegments:g}=a,S=this.createSnapshot(n,r,f,d,s),{segmentGroup:k,slicedSegments:b}=hs(e,f,g,c,o),B=ue(r)===o;if(B&&b.length===0&&k.hasChildren())return new q(S,yield this.processChildren(l,c,k,S));if(B&&c.length===0&&b.length===0)return new q(S,[]);let N=yield this.processSegment(l,c,k,b,B?y:o,!0,S);if(!B&&!(N instanceof q))throw new le(e);return new q(S,N instanceof q?[N]:[])})}getChildConfig(n,e,r){return N(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield Hn(Pc(n,e,r,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw Lc(e)}return{routes:[],injector:n}})}};function Wc(t){t.sort((n,e)=>n.value.outlet===`primary`?-1:e.value.outlet===`primary`?1:n.value.outlet.localeCompare(e.value.outlet))}function Xc(t){let n=t.value.routeConfig;return n&&n.path===``}function Gs(t){let n=[],e=new Set;for(let i of t){if(!Xc(i)){n.push(i);continue}let o=n.find(s=>i.value.routeConfig===s.value.routeConfig);o!==void 0?(o.children.push(...i.children),e.add(o)):n.push(i)}for(let i of e){let o=Gs(i.children);n.push(new q(i.value,o))}let r=n.filter(i=>!e.has(i));return Yc(r),r}function Yc(t){let n=Object.create(null);t.forEach(e=>{let r=n[e.value.outlet];if(r){r.url.map(s=>s.toString()).join(`/`);e.value.url.map(s=>s.toString()).join(`/`);throw new b(4006,!1)}n[e.value.outlet]=e.value})}function Kc(t){return t.data||{}}function Zc(t){return t.resolve||{}}function Jc(t,n,e,r,i,o,s){return Be$1(u=>N(null,null,function*(){let{state:a,tree:c}=yield Gc(t,n,e,r,u.extractedUrl,i,o,s);return G(F({},u),{targetSnapshot:a,urlAfterRedirects:c})}))}function Qc(t){return Be$1(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return Hg(n);let i=new Set(r.map(u=>u.route)),o=new Set;for(let u of i)if(!o.has(u))for(let a of qs(u))o.add(a);let s=0;return Se$1(o).pipe(Jg(u=>i.has(u)?el(u,e,t):(u.data=Di(u,u.parent,t).resolve,Hg(void 0))),eu$1(()=>s++),Im(1),Be$1(u=>s===o.size?Hg(n):bt))})}function qs(t){return[t,...t.children.map(e=>qs(e)).flat()]}function el(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!Ps(r)&&(i[en]=r.title),$g(()=>(t.data=Di(t,t.parent,e).resolve,tl(i,t,n).pipe(et(o=>(t._resolvedData=o,t.data=F(F({},t.data),o),null)))))}function tl(t,n,e){let r=ri(t);if(r.length===0)return Hg({});let i={};return Se$1(r).pipe(Be$1(o=>nl(t[o],n,e).pipe(Em(),eu$1(s=>{if(s instanceof Ve)throw Vt(new Me,s);i[o]=s}))),Im(1),et(()=>i),Is$1(o=>js(o)?bt:im(o)))}function nl(t,n,e){let r=n._environmentInjector,i=mt(t,r);return Ge(i.resolve?i.resolve(n,e):qo$1(r,()=>i(n,e)))}var Ri=new A(``);function mi(t){return Xg(n=>{let e=t(n);return e?Se$1(e).pipe(et(()=>n)):Hg(n)})}var bi=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===y);return r}getResolvedTitleForRoute(e){return e.data[en]}static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:()=>C(Ws)})}return t})();var Ws=(()=>{class t extends bi{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static ɵfac=function(r){return new(r||t)(Ae(as))};static ɵprov=ne$1({token:t,factory:t.ɵfac,providedIn:`root`})}return t})();
2var yt=new A(``,{factory:()=>({})});var rn=new A(``);var Xs=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=C(Eb);loadComponent(e,r){return N(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=N(this,null,function*(){try{let o=yield ms(qo$1(e,()=>r.loadComponent())),s=yield Ks(Tb(o));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,i),i})}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=N(this,null,function*(){try{let o=yield Ys(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,i),i}static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:t.ɵfac})}return t})();function Ys(t,n,e,r){return N(this,null,function*(){let i=yield ms(qo$1(e,()=>t.loadChildren())),o=yield Ks(Tb(i)),s;o instanceof uh||Array.isArray(o)?s=o:s=yield n.compileModuleAsync(o),r&&r(t);let u,a,l;return Array.isArray(s)?a=s:(u=s.create(e).injector,l=s,a=u.get(rn,[],{optional:!0,self:!0}).flat()),{routes:a.map(Ei),injector:u,factory:l}})}function Ks(t){return N(this,null,function*(){return t})}var cr=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:()=>C(rl)})}return t})();var rl=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:t.ɵfac})}return t})();var Zs=new A(``);var il=()=>{};var Js=new A(``);var Qs=(()=>{class t{currentNavigation=oi$1(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=oi$1(null);events=new ee;transitionAbortWithErrorSubject=new ee;configLoader=C(Xs);environmentInjector=C(ge);destroyRef=C(Re);urlSerializer=C(gt);rootContexts=C($e);location=C(it);inputBindingEnabled=C(tn,{optional:!0})!==null;titleStrategy=C(bi);options=C(yt,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||ac;urlHandlingStrategy=C(cr);createViewTransition=C(Zs,{optional:!0});navigationErrorHandler=C(Js,{optional:!0});routerResourcesFeature=C(Ri,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>Hg(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new er(i)),r=i=>this.events.next(new tr(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;gg(()=>{this.transitions?.next(G(F({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new qn$1(null),this.transitions.pipe(fs$1(r=>r!==null),Xg(r=>{let i=!0,o=!1,s=new AbortController,u=()=>!o&&this.currentTransition?.id===r.id;return Hg(r).pipe(Xg(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,``,z.SupersededByNewNavigation),bt;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl==`string`?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?G(F({},c),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&d!==`reload`)return this.events.next(new we(a.id,this.urlSerializer.serialize(a.rawUrl),``,Yt.IgnoredSameUrlNavigation)),a.resolve(!1),bt;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Hg(a).pipe(Xg(f=>(this.events.next(new ze(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),f.id!==this.navigationId?bt:Promise.resolve(f))),Jc(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),eu$1(f=>{r.targetSnapshot=f.targetSnapshot,r.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation.update(g=>(g.finalUrl=f.urlAfterRedirects,g)),this.events.next(new Zt)}),Xg(f=>Se$1(r.routesRecognizeHandler.deferredHandle??Hg(void 0)).pipe(et(()=>f))),eu$1(()=>{let f=new Kt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:f,extractedUrl:g,source:S,restoredState:k,extras:b}=a,B=new ze(f,this.urlSerializer.serialize(g),S,k);this.events.next(B);let N=Ms(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=G(F({},a),{targetSnapshot:N,urlAfterRedirects:g,extras:G(F({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(H=>(H.finalUrl=g,H)),Hg(r)}else return this.events.next(new we(a.id,this.urlSerializer.serialize(a.extractedUrl),``,Yt.IgnoredByUrlHandlingStrategy)),a.resolve(!1),bt}),et(a=>{let c=new Kn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=G(F({},a),{guards:fc(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),Rc(a=>this.events.next(a)),Xg(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!=`boolean`)throw Vt(this.urlSerializer,a.guardsResult);let c=new Zn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!u())return bt;if(!a.guardsResult)return this.cancelNavigationTransition(a,``,z.GuardRejected),bt;if(a.guards.canActivateChecks.length===0)return Hg(a);let l=new Jn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!u())return bt;let d=!1;return Hg(a).pipe(Qc(this.paramsInheritanceStrategy),eu$1({next:()=>{d=!0;let f=new Qn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(f)},complete:()=>
2{d||this.cancelNavigationTransition(a,``,z.NoDataFromResolver)}}))}),mi(a=>{let c=d=>{let f=[];if(d.routeConfig?._loadedComponent)d.component=d.routeConfig?._loadedComponent;else if(d.routeConfig?.loadComponent){let g=d._environmentInjector;f.push(this.configLoader.loadComponent(g,d.routeConfig).then(S=>{d.component=S}))}for(let g of d.children)f.push(...c(g));return f},l=c(a.targetSnapshot.root);return l.length===0?Hg(a):Se$1(Promise.all(l).then(()=>a))}),Xg(a=>{let{newlyCreatedRoutes:c,state:l}=cc(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=r=a=G(F({},a),{targetRouterState:l,newlyCreatedRoutes:c}),this.currentNavigation.update(d=>(d.targetRouterState=l,d)),Hg(a)}),this.routerResourcesFeature?.setupAndRunResources(s.signal)??(a=>a),mi(()=>this.afterPreactivation()),Xg(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root,r.hasUAVisualTransition);return l?Se$1(l).pipe(et(()=>r)):Hg(r)}),ps$1(1),Xg(a=>{i=!1,this.events.next(new ht);let c=r.beforeActivateHandler.deferredHandle;return c?Se$1(c.then(()=>a)):Hg(a)}),eu$1(a=>{new di(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),a.newlyCreatedRoutes?.clear(),u()&&(ea(a.targetRouterState),o=!0,this.currentNavigation.update(c=>(c.abort=il,c)),this.lastSuccessfulNavigation.set(gg(this.currentNavigation)),this.events.next(new ce(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),bm(Bs(s.signal).pipe(fs$1(()=>!o&&i),eu$1(()=>{this.cancelNavigationTransition(r,s.signal.reason+``,z.Aborted)}))),eu$1({complete:()=>{o=!0}}),bm(this.transitionAbortWithErrorSubject.pipe(eu$1(a=>{throw a}))),Kl(()=>{s.abort(),o||this.cancelNavigationTransition(r,``,z.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Is$1(a=>{if(o=!0,fs(r),this.destroyed)return r.resolve(!1),bt;if(a instanceof Ve&&(a=Vt(this.urlSerializer,a)),Us(a))this.events.next(new re(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),hc(a)?this.events.next(new ft(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new He(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=qo$1(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof Ve){let{message:d,cancellationCode:f}=Vt(this.urlSerializer,l);this.events.next(new re(r.id,this.urlSerializer.serialize(r.extractedUrl),d,f)),this.events.next(new ft(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return bt}))}))}cancelNavigationTransition(e,r,i){fs(e);let o=new re(e.id,this.urlSerializer.serialize(e.extractedUrl),r,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))),r=gg(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:t.ɵfac})}return t})();function ol(t){return t!==Ht}function fs(t){for(let n of t.newlyCreatedRoutes??[])n._localInjector?.destroy(),n._localInjector=void 0;ea(t.targetRouterState)}function ea(t){if(!t)return;let n=e=>{e.value.pending?.set(!1),e.children.forEach(n)};n(t._root)}var ta=new A(``);var na=(()=>{class t{static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:()=>C(sl)})}return t})();var ar=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}};var sl=(()=>{class t extends ar{static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:t.ɵfac})}return t})();var lr=(()=>
2{class t{urlSerializer=C(gt);options=C(yt,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||`replace`;location=C(it);urlHandlingStrategy=C(cr);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;currentUrlTree=new W;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof W?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{ɵrouterUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=Ms(null,C(ge));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:()=>C(al)})}return t})();var al=(()=>{class t extends lr{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!==`computed`?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type===`popstate`&&setTimeout(()=>{e(r.url,r.state,`popstate`,{replaceUrl:!0},r.hasUAVisualTransition)})})}handleRouterEvent(e,r){e instanceof ze?this.updateStateMemento():e instanceof we?this.commitTransition(r):e instanceof Kt?this.urlUpdateStrategy===`eager`&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof ht?(this.commitTransition(r),this.urlUpdateStrategy===`deferred`&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof re&&!Ls(e)?this.restoreHistory(r):e instanceof He?this.restoreHistory(r,!0):e instanceof ce&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:i,id:o}=r,{replaceUrl:s,state:u}=i;if(this.location.isCurrentPathEqualTo(e)||s){let a=this.browserPageId,c=F(F({},u),this.generateNgRouterState(o,a,r));this.location.replaceState(e,``,c)}else{let a=F(F({},u),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(e,``,a)}}restoreHistory(e,r=!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`&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),``,this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r,i){return this.canceledNavigationResolution===`computed`?F({navigationId:e,ɵrouterPageId:r},this.routerUrlState(i)):F({navigationId:e},this.routerUrlState(i))}static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:t.ɵfac})}return t})();function Ai(t,n){t.events.pipe(fs$1(e=>e instanceof ce||e instanceof re||e instanceof He||e instanceof we),et(e=>e instanceof ce||e instanceof we?0:(e instanceof re?e.code===z.Redirect||e.code===z.SupersededByNewNavigation:!1)?2:1),fs$1(e=>e!==2),ps$1(1)).subscribe(()=>{n()})}var qe=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=C(LD);stateManager=C(lr);options=C(yt,{optional:!0})||{};pendingTasks=C($t$1);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;navigationTransitions=C(Qs);
2urlSerializer=C(gt);location=C(it);urlHandlingStrategy=C(cr);injector=C(ge);_events=new ee;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=C(na);injectorCleanup=C(ta,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||`ignore`;config=C(rn,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!C(tn,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new V;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=gg(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof re&&r.code!==z.Redirect&&r.code!==z.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof ce)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof ft){let s=r.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a=F({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy===`eager`||ol(i.source)},s);this.scheduleNavigation(u,Ht,null,a,i.hasUAVisualTransition,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}uc(r)&&this._events.next(r)}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),Ht,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o,s)=>{this.navigateToSyncWithBrowser(e,i,r,o,s)})}navigateToSyncWithBrowser(e,r,i,o,s){let u=i?.navigationId?i:null,a=i?.ɵrouterUrl??e;if(i?.ɵrouterUrl&&(o=G(F({},o),{browserUrl:e})),i){let l=F({},i);delete l.navigationId,delete l.ɵrouterPageId,delete l.ɵrouterUrl,Object.keys(l).length!==0&&(o.state=l)}let c=this.parseUrl(a);this.scheduleNavigation(c,r,u,o,s).catch(l=>{this.disposed||this.injector.get(Ut$1)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return gg(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ei),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:u,preserveFragment:a}=r,c=a?this.currentUrlTree.fragment:s,l=null;switch(u??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{d=As(i?i.snapshot:this.routerState.snapshot.root)}catch(f){(typeof e[0]!=`string`||e[0][0]!==`/`)&&(e=[]),d=this.currentUrlTree.root}return Ts(d,e,l,c??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=Oe(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Ht,null,r)}navigate(e,r={skipLocationChange:!1}){return ul(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(r){return this.console.warn(sr$1(4018,!1)),this.urlSerializer.parse(`/`)}}isActive(e,r){let i;if(r===!0?i=F({},yi):r===!1?i=F({},lt):i=F(F({},lt),r),Oe(e))return Vn(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Vn(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,s,u){if(this.disposed)return Promise.resolve(!1);let a,c,l;u?(a=u.resolve,c=u.reject,l=u.promise):l=new Promise((f,g)=>{a=f,c=g});let d=this.pendingTasks.add();return Ai(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,hasUAVisualTransition:s,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
2),l.catch(Promise.reject.bind(Promise))}static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:t.ɵfac})}return t})();function ul(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new b(4008,!1)}var ll=(()=>{class t{router=C(qe);stateManager=C(lr);fragment=oi$1(``);queryParams=oi$1({});path=oi$1(``);serializer=C(gt);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof ce&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new W(r)))}static ɵfac=function(r){return new(r||t)};static ɵprov=Fr$1({token:t,factory:t.ɵfac})}return t})();var dr=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=C(new mg(`href`),{optional:!0});reactiveHref=Cb(()=>{if(!this.isAnchorElement)return this.hrefAttributeValue;this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=r=>r===`preserve`||r===`merge`;return(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams(),this.computeHref(this.createUrlTree())});get href(){return gg(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return gg(this._target)}
2_target=oi$1(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return gg(this._queryParams)}_queryParams=oi$1(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return gg(this._fragment)}_fragment=oi$1(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return gg(this._queryParamsHandling)}_queryParamsHandling=oi$1(void 0);set state(e){this._state.set(e)}get state(){return gg(this._state)}_state=oi$1(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return gg(this._info)}_info=oi$1(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return gg(this._relativeTo)}_relativeTo=oi$1(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return gg(this._preserveFragment)}_preserveFragment=oi$1(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return gg(this._skipLocationChange)}_skipLocationChange=oi$1(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return gg(this._replaceUrl)}_replaceUrl=oi$1(!1);browserUrl=T0(void 0);isAnchorElement;onChanges=new ee;applicationErrorHandler=C(Ut$1);options=C(yt,{optional:!0});reactiveRouterState=C(ll);constructor(e,r,i,o,s,u){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=u;let a=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a===`a`||a===`area`||!!(typeof customElements==`object`&&customElements.get(a)?.observedAttributes?.includes?.(`href`))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue(`tabindex`,e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=oi$1(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Oe(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl(`0`))}onClick(e,r,i,o,s){let u=this.urlTree;if(u===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target==`string`&&this.target!=`_self`))return!0;let a=this.browserUrl(),c=F({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},a!==void 0&&{browserUrl:a});return this.router.navigateByUrl(u,c)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}createUrlTree(){let e=this.routerLinkInput();return e===null||!this.router.createUrlTree?null:Oe(e)?e:this.router.createUrlTree(e,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})}get urlTree(){return gg(()=>this.createUrlTree())}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??``:null}static ɵfac=function(r){return new(r||t)(Br$1(qe),Br$1(Se),Of(`tabindex`),Br$1(cc$1),Br$1(jr$1),Br$1(rt))};static ɵdir=oD({type:t,selectors:[[``,`routerLink`,``]],hostVars:2,hostBindings:function(r,i){r&1&&Vh(`click`,function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&xh(`href`,i.reactiveHref(),Hv)(`target`,i._target())},inputs:{target:`target`,queryParams:`queryParams`,fragment:`fragment`,queryParamsHandling:`queryParamsHandling`,state:`state`,info:`info`,relativeTo:`relativeTo`,preserveFragment:[2,`preserveFragment`,`preserveFragment`,R0],skipLocationChange:[2,`skipLocationChange`,`skipLocationChange`,R0],replaceUrl:[2,`replaceUrl`,`replaceUrl`,R0],browserUrl:[1,`browserUrl`],routerLink:`routerLink`},features:[_y]})}return t})();var dl=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new We;link=C(dr,{optional:!0});constructor(e,r,i,o){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof ce&&this.update()})}ngAfterContentInit(){Hg(this.links.changes,Hg(null)).pipe(Un$1()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Se$1(e).pipe(Un$1()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){if(e==null){this.classes=[];return}let r=Array.isArray(e)?e:e.split(` `);this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||this.routerLinkActiveOptions===null&&!this._isActive||queueMicrotask(()=>{let e=this.hasActiveLinks();
2this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),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 r=this.routerLinkActiveOptions;if(r===null)return()=>!1;let i;return r===void 0?i=F({},lt):hl(r)?i=r:r.exact??!1?i=F({},yi):i=F({},lt),o=>{let s=o.urlTree;return s?gg(vi(s,e,i)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static ɵfac=function(r){return new(r||t)(Br$1(qe),Br$1(jr$1),Br$1(cc$1),Br$1(x0))};static ɵdir=oD({type:t,selectors:[[``,`routerLinkActive`,``]],contentQueries:function(r,i,o){if(r&1&&Bh(o,dr,5),r&2){let s;vw(s=Ew())&&(i.links=s)}},inputs:{routerLinkActiveOptions:`routerLinkActiveOptions`,ariaCurrentWhenActive:`ariaCurrentWhenActive`,routerLinkActive:`routerLinkActive`},outputs:{isActiveChange:`isActiveChange`},exportAs:[`routerLinkActive`],features:[_y]})}return t})();function hl(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var fl=new A(``);function pl(t,...n){return Uo$1([{provide:rn,multi:!0,useValue:t},{provide:Se,useFactory:gl},{provide:Ch,multi:!0,useFactory:yl},n.map(e=>e.ɵproviders)])}function gl(){return C(qe).routerState.root}function ml(t,n){return{ɵkind:t,ɵproviders:n}}function yl(){let t=C(ue$1);return n=>{let e=t.get(Ur$1);if(n!==e.components[0])return;let r=t.get(qe),i=t.get(vl);t.get(Dl)===1&&r.initialNavigation(),t.get(Cl,null,{optional:!0})?.setUpPreloading(),t.get(fl,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var vl=new A(``,{factory:()=>new ee});var Dl=new A(``,{factory:()=>1});var Cl=new A(``);function Sl(t={}){return ml(8,[{provide:tn,useFactory:()=>new Fs(t,C(Ri,{optional:!0}))}])}export{ye as A,qe as C,ss as D,ru as E,xa as O,qd as S,rt as T,it as _,Kr as a,na as b,Mu as c,Se as d,Sl as f,gt as g,dr as h,Iu as i,ze as j,y as k,Oa as l,dl as m,Ao as n,La as o,Wd as p,He as r,Ma as s,$e as t,Pa as u,ka as v,re as w,pl as x,ko as y};

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.