vendor: 4,141 bytes, line 1
1import{$ as Dt,$a as Qe,A as pe,Aa as Le,Ab as F,B as mr,Ba as Xe,Bb as ho,C as qe,Ca as Yi,D as We,Da as Ki,E as Ce,Ea as Xi,F as vr,Fa as Ji,G as xi,Ga as Qi,H as Ui,Ha as eo,Ia as to,J as Bi,Ja as ke,K as V,L as ji,M as N,N as S,Na as no,P as v,Q as Pe,Qa as Je,R as $i,Ra as ro,S as C,Sa as Et,T as Dr,Ta as j,U as g,Ua as io,V as d,Va as Rr,W as Ze,X as zi,Xa as oo,Y as Ee,Ya as cn,Z as W,Za as so,_a as xe,a as Oi,ab as ln,b as Pi,c as dr,db as br,dc as fo,e as hr,ea as yr,eb as dn,f as fr,fa as wr,fb as ao,fc as po,g as J,ga as Ne,gb as Ar,gc as et,h as q,ha as an,hb as St,hc as go,i as fe,ia as un,ib as Rt,ic as mo,ja as Ye,jb as uo,jc as vo,ka as Z,kc as Do,la as Cr,lc as bt,m as L,mc as Tr,n as f,na as Vi,o as vt,oa as yt,p as Ni,pc as yo,q as Li,qa as Hi,r as R,ra as Er,s as sn,sa as Gi,t as B,ta as Ke,u as pr,ua as Sr,v as ki,va as qi,w as gr,wa as Wi,wb as co,xa as wt,y as oe,ya as Zi,yb as lo,z as Oe,za as Ct,zb as Y}from"./chunk-JFRFKXR4.js";import{a as h,b as x,e as Fi,i as on}from"./chunk-FBFWB55K.js";var M=new C("");var Eo=null;function se(){return Eo}function _r(t){Eo??=t}var At=class{},Tt=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>d(So),providedIn:"platform"})}return t})(),Ir=new C(""),So=(()=>{class t extends Tt{_location;_history;_doc=d(M);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return se().getBaseHref(this._doc)}onPopState(e){let r=se().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=se().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 \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function hn(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function wo(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Q(t){return t&&t[0]!=="?"?`?${t}`:t}var ee=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>d(pn),providedIn:"root"})}return t})(),fn=new C(""),pn=(()=>{class t extends ee{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??d(M).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 hn(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+Q(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+Q(o));this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+Q(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 \u0275fac=function(r){return new(r||t)(g(Tt),g(fn,8))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Se=(()=>
vendor: 6,909 bytes, line 1
1{class t{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=va(wo(Co(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+Q(r))}normalize(e){return t.stripTrailingSlash(ma(this._basePath,Co(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+Q(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Q(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=Q;static joinWithSlash=hn;static stripTrailingSlash=wo;static \u0275fac=function(r){return new(r||t)(g(ee))};static \u0275prov=v({token:t,factory:()=>ga(),providedIn:"root"})}return t})();function ga(){return new Se(g(ee))}function ma(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function Co(t){return t.replace(/\/index.html$/,"")}function va(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var kr=(()=>{class t extends ee{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(e){let r=hn(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+Q(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+Q(o))||this._platformLocation.pathname;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 \u0275fac=function(r){return new(r||t)(g(Tt),g(fn,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var k=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(k||{}),T=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(T||{}),$=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}($||{}),me={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 To(t){return Y(t)[F.LocaleId]}function _o(t,n,e){let r=Y(t),i=[r[F.DayPeriodsFormat],r[F.DayPeriodsStandalone]],o=K(i,n);return K(o,e)}function Io(t,n,e){let r=Y(t),i=[r[F.DaysFormat],r[F.DaysStandalone]],o=K(i,n);return K(o,e)}function Mo(t,n,e){let r=Y(t),i=[r[F.MonthsFormat],r[F.MonthsStandalone]],o=K(i,n);return K(o,e)}function Fo(t,n){let r=Y(t)[F.Eras];return K(r,n)}function _t(t,n){let e=Y(t);return K(e[F.DateFormat],n)}function It(t,n){let e=Y(t);return K(e[F.TimeFormat],n)}function Mt(t,n){let r=Y(t)[F.DateTimeFormat];return K(r,n)}function Ft(t,n){let e=Y(t),r=e[F.NumberSymbols][n];if(typeof r>"u"){if(n===me.CurrencyDecimal)return e[F.NumberSymbols][me.Decimal];if(n===me.CurrencyGroup)return e[F.NumberSymbols][me.Group]}return r}function Oo(t){if(!t[F.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[F.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Po(t){let n=Y(t);return Oo(n),(n[F.ExtraData][2]||[]).map(r=>typeof r=="string"?Mr(r):[Mr(r[0]),Mr(r[1])])}function No(t,n,e){let r=Y(t);Oo(r);let i=[r[F.ExtraData][0],r[F.ExtraData][1]],o=K(i,n)||[];return K(o,e)||[]}function K(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function Mr(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var Da=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,gn={},ya=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Lo(t,n,e,r){let i=_a(t);n=ge(e,n)||n;let s=[],a;for(;n;)if(a=ya.exec(n),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;n=l}else{s.push(n);break}let u=i.getTimezoneOffset();r&&(u=xo(r,u),i=Ta(i,r));let c="";return s.forEach(l=>{let p=ba(l);c+=p?p(i,e,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function wn(t,n,e){let r=new Date(0);return r.setFullYear(t,n,e),r.setHours(0,0,0),r}function ge(t,n){let e=To(t);if(gn[e]??={},gn[e][n])return gn[e][n];let r="";switch(n){case"shortDate":r=_t(t,$.Short);break;case"mediumDate":r=_t(t,$.Medium);break;case"longDate":r=_t(t,$.Long);break;case"fullDate":r=_t(t,$.Full);break;case"shortTime":r=It(t,$.Short);break;case"mediumTime":r=It(t,$.Medium);break;case"longTime":r=It(t,$.Long);break;case"fullTime":r=It(t,$.Full);break;case"short":let i=ge(t,"shortTime"),o=ge(t,"shortDate");r=mn(Mt(t,$.Short),[i,o]);break;case"medium":let s=ge(t,"mediumTime"),a=ge(t,"mediumDate");r=mn(Mt(t,$.Medium),[s,a]);break;case"long":let u=ge(t,"longTime"),c=ge(t,"longDate");r=mn(Mt(t,$.Long),[u,c]);break;case"full":let l=ge(t,"fullTime"),p=ge(t,"fullDate");r=mn(Mt(t,$.Full),[l,p]);break}return r&&(gn[e][n]=r),r}function mn(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return n!=null&&r in n?n[r]:e})),t}function te(t,n,e="-",r,i){let o="";
vendor: 4,368 bytes, line 1
1(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 wa(t,n){return te(t,3).substring(0,n)}function O(t,n,e=0,r=!1,i=!1){return function(o,s){let a=Ca(t,o);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return wa(a,n);let u=Ft(s,me.MinusSign);return te(a,n,u,r,i)}}function Ca(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 Error(`Unknown DateType value "${t}".`)}}function I(t,n,e=k.Format,r=!1){return function(i,o){return Ea(i,o,t,n,e,r)}}function Ea(t,n,e,r,i,o){switch(e){case 2:return Mo(n,i,r)[t.getMonth()];case 1:return Io(n,i,r)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let c=Po(n),l=No(n,i,r),p=c.findIndex(E=>{if(Array.isArray(E)){let[m,A]=E,y=s>=m.hours&&a>=m.minutes,w=s<A.hours||s===A.hours&&a<A.minutes;if(m.hours<A.hours){if(y&&w)return!0}else if(y||w)return!0}else if(E.hours===s&&E.minutes===a)return!0;return!1});if(p!==-1)return l[p]}return _o(n,i,r)[s<12?0:1];case 3:return Fo(n,r)[t.getFullYear()<=0?0:1];default:let u=e;throw new Error(`unexpected translation type ${u}`)}}function vn(t){return function(n,e,r){let i=-1*r,o=Ft(e,me.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+te(s,2,o)+te(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+te(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+te(s,2,o)+":"+te(Math.abs(i%60),2,o);case 3:return r===0?"Z":(i>=0?"+":"")+te(s,2,o)+":"+te(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}var Sa=0,yn=4;function Ra(t){let n=wn(t,Sa,1).getDay();return wn(t,0,1+(n<=yn?yn:yn+7)-n)}function ko(t){let n=t.getDay(),e=n===0?-3:yn-n;return wn(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Fr(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=ko(e),s=Ra(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return te(i,t,Ft(r,me.MinusSign))}}function Dn(t,n=!1){return function(e,r){let o=ko(e).getFullYear();return te(o,t,Ft(r,me.MinusSign),n)}}var Or={};function ba(t){if(Or[t])return Or[t];let n;switch(t){case"G":case"GG":case"GGG":n=I(3,T.Abbreviated);break;case"GGGG":n=I(3,T.Wide);break;case"GGGGG":n=I(3,T.Narrow);break;case"y":n=O(0,1,0,!1,!0);break;case"yy":n=O(0,2,0,!0,!0);break;case"yyy":n=O(0,3,0,!1,!0);break;case"yyyy":n=O(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=O(1,1,1);break;case"MM":case"LL":n=O(1,2,1);break;case"MMM":n=I(2,T.Abbreviated);break;case"MMMM":n=I(2,T.Wide);break;case"MMMMM":n=I(2,T.Narrow);break;case"LLL":n=I(2,T.Abbreviated,k.Standalone);break;case"LLLL":n=I(2,T.Wide,k.Standalone);break;case"LLLLL":n=I(2,T.Narrow,k.Standalone);break;case"w":n=Fr(1);break;case"ww":n=Fr(2);break;case"W":n=Fr(1,!0);break;case"d":n=O(2,1);break;case"dd":n=O(2,2);break;case"c":case"cc":n=O(7,1);break;case"ccc":n=I(1,T.Abbreviated,k.Standalone);break;case"cccc":n=I(1,T.Wide,k.Standalone);break;case"ccccc":n=I(1,T.Narrow,k.Standalone);break;case"cccccc":n=I(1,T.Short,k.Standalone);break;case"E":case"EE":case"EEE":n=I(1,T.Abbreviated);break;case"EEEE":n=I(1,T.Wide);break;case"EEEEE":n=I(1,T.Narrow);break;case"EEEEEE":n=I(1,T.Short);break;case"a":case"aa":case"aaa":n=I(0,T.Abbreviated);break;case"aaaa":n=I(0,T.Wide);break;case"aaaaa":n=I(0,T.Narrow);break;case"b":case"bb":case"bbb":n=I(0,T.Abbreviated,k.Standalone,!0);break;case"bbbb":n=I(0,T.Wide,k.Standalone,!0);break;case"bbbbb":n=I(0,T.Narrow,k.Standalone,!0);break;case"B":case"BB":case"BBB":n=I(0,T.Abbreviated,k.Format,!0);break;case"BBBB":n=I(0,T.Wide,k.Format,!0);break;case"BBBBB":n=I(0,T.Narrow,k.Format,!0);break;case"h":n=O(3,1,-12);break;case"hh":n=O(3,2,-12);break;case"H":n=O(3,1);break;case"HH":n=O(3,2);break;case"m":n=O(4,1);break;case"mm":n=O(4,2);break;case"s":n=O(5,1);break;case"ss":n=O(5,2);break;case"S":n=O(6,1);break;case"SS":n=O(6,2);break;case"SSS":n=O(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;
vendor: 4,622 bytes, line 1
1case"OOOO":case"ZZZZ":case"zzzz":n=vn(2);break;default:return null}return Or[t]=n,n}function xo(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function Aa(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function Ta(t,n,e){let i=t.getTimezoneOffset(),o=xo(n,i);return Aa(t,-1*(o-i))}function _a(t){if(Ro(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[i,o=1,s=1]=t.split("-").map(a=>+a);return wn(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(Da))return Ia(r)}let n=new Date(t);if(!Ro(n))throw new Error(`Unable to convert "${t}" into a date`);return n}function Ia(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,a=Number(t[5]||0)-r,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(n,s,a,u,c),n}function Ro(t){return t instanceof Date&&!isNaN(t.valueOf())}var Pr=/\s+/,bo=[],Ma=(()=>{class t{_ngEl;_renderer;initialClasses=bo;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(Pr):bo}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Pr):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],i=e[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(e,r){e=e.trim(),e.length>0&&e.split(Pr).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(r){return new(r||t)(j(yt),j(Et))};static \u0275dir=Qe({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();function Uo(t,n){return new S(2100,!1)}var Nr=class{createSubscription(n,e){return Tr(()=>n.subscribe({next:e,error:r=>{throw r}}))}dispose(n){Tr(()=>n.unsubscribe())}},Lr=class{createSubscription(n,e){return n.then(r=>e?.(r),r=>{throw r}),{unsubscribe:()=>{e=null}}}dispose(n){n.unsubscribe()}},Fa=new Lr,Oa=new Nr,Pa=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r))}_selectStrategy(e){if(dn(e))return Fa;if(ao(e))return Oa;throw Uo(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||t)(j(et,16))};static \u0275pipe=ln({name:"async",type:t,pure:!1})}return t})();var Na="mediumDate",Bo=new C(""),jo=new C(""),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??Na,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Lo(e,s,o||this.locale,a)}catch(s){throw Uo(t,s.message)}}static \u0275fac=function(r){return new(r||t)(j(po,16),j(Bo,24),j(jo,24))};static \u0275pipe=ln({name:"date",type:t,pure:!0})}return t})();function ka(t,n){return{key:t,value:n}}var xa=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=Ao;transform(e,r=Ao){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let i=this.differ.diff(e),o=r!==this.compareFn;
1return i&&(this.keyValues=[],i.forEachItem(s=>{this.keyValues.push(ka(s.key,s.currentValue))})),(i||o)&&(r&&this.keyValues.sort(r),this.compareFn=r),this.keyValues}static \u0275fac=function(r){return new(r||t)(j(go,16))};static \u0275pipe=ln({name:"keyvalue",type:t,pure:!1})}return t})();function Ao(t,n){let e=t.key,r=n.key;if(e===r)return 0;if(e==null)return 1;if(r==null)return-1;if(typeof e=="string"&&typeof r=="string")return e<r?-1:1;if(typeof e=="number"&&typeof r=="number")return e-r;if(typeof e=="boolean"&&typeof r=="boolean")return e<r?-1:1;let i=String(e),o=String(r);return i==o?0:i<o?-1:1}var $o=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=xe({type:t});static \u0275inj=Pe({})}return t})();function Ot(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)return decodeURIComponent(o)}return null}var Cn="browser",zo="server";function Ua(t){return t===Cn}function En(t){return t===zo}var Be=class{};function ih(t,n,e){return lo(t,n,e)}var Ur=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new xr(d(M),window)})}return t})(),xr=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=$a(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),r=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}};function $a(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}var bn=new C(""),zr=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}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 S(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(g(bn),g(Z))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Pt=class{_doc;constructor(n){this._doc=n}manager},Sn="ng-app-id";function Ho(t){for(let n of t)n.remove()}function Go(t,n){let e=n.createElement("style");return e.textContent=t,e}function Va(t,n,e,r){let i=t.head?.querySelectorAll(`style[${Sn}="${n}"],link[${Sn}="${n}"]`);if(i)for(let o of i)o.removeAttribute(Sn),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]})}function jr(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Vr=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,this.isServer=En(o),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,Go);r?.forEach(i=>this.addUsage(i,this.external,jr))}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&&(Ho(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Ho(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,Go(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,jr(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Sn,this.appId),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(g(M),g(Er),g(Sr,8),g(Ke))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),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"},Hr=/%COMP%/g;var Wo="%COMP%",Ha=`_nghost-${Wo}`,Ga=`_ngcontent-${Wo}`,qa=!0,Wa=new C("",{providedIn:"root",factory:()=>qa});function Za(t){return Ga.replace(Hr,t)}function Ya(t){return Ha.replace(Hr,t)}function Zo(t,n){return n.map(e=>e.replace(Hr,t))}var Gr=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,r,i,o,s,a,u,c=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.tracingService=l,this.platformIsServer=En(a),this.defaultRenderer=new Nt(e,s,u,this.platformIsServer,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ct.ShadowDom&&(r=x(h({},r),{encapsulation:Ct.Emulated}));let i=this.getOrCreateRenderer(e,r);
vendor: 6,670 bytes, line 1
1return i instanceof Rn?i.applyToHost(e):i instanceof Lt&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,p=this.platformIsServer,E=this.tracingService;switch(r.encapsulation){case Ct.Emulated:o=new Rn(u,c,r,this.appId,l,s,a,p,E);break;case Ct.ShadowDom:return new $r(u,c,e,r,s,a,this.nonce,p,E);default:o=new Lt(u,c,r,l,s,a,p,E);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(g(zr),g(Vr),g(Er),g(Wa),g(M),g(Ke),g(Z),g(Sr),g(Wi,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Nt=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i,o){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.tracingService=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){(qo(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(qo(n)?n.content:n).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 S(-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){i&(Je.DashCase|Je.Important)?n.style.setProperty(e,r,i&Je.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Je.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=se().getGlobalEventTarget(this.doc,n),!n))throw new S(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;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function qo(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var $r=class extends Nt{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,r,i,o,s,a,u,c){super(n,o,s,u,c),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=Zo(i.id,l);for(let E of l){let m=document.createElement("style");a&&m.setAttribute("nonce",a),m.textContent=E,this.shadowRoot.appendChild(m)}let p=i.getExternalStyles?.();if(p)for(let E of p){let m=jr(E,o);a&&m.setAttribute("nonce",a),this.shadowRoot.appendChild(m)}}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.removeHost(this.shadowRoot)}},Lt=class extends Nt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,a,u,c){super(n,o,s,a,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=r.styles;this.styles=c?Zo(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Rn=class extends Lt{contentAttr;hostAttr;constructor(n,e,r,i,o,s,a,u,c){let l=i+"-"+r.id;super(n,e,r,o,s,a,u,c,l),this.contentAttr=Za(l),this.hostAttr=Ya(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 An=class t extends At{supportsDOMEvents=!0;static makeCurrent(){_r(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=Xa();return e==null?null:Ja(e)}resetBaseElement(){kt=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ot(document.cookie,n)}},kt=null;function Xa(){return kt=kt||document.head.querySelector("base"),kt?kt.getAttribute("href"):null}function Ja(t){return new URL(t,document.baseURI).pathname}var Qa=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Ko=(()=>{class t extends Pt{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 \u0275fac=function(r){return new(r||t)(g(M))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Yo=["alt","control","meta","shift"],eu={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},tu={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Xo=(()=>{class t extends Pt{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>se().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Yo.forEach(c=>
1{let l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(e,r){let i=eu[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"),Yo.forEach(s=>{if(s!==i){let a=tu[s];a(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 \u0275fac=function(r){return new(r||t)(g(M))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();function nu(t,n,e){return mo(h({rootComponent:t,platformRef:e?.platformRef},ru(n)))}function ru(t){return{appProviders:[...uu,...t?.providers??[]],platformProviders:au}}function iu(){An.makeCurrent()}function ou(){return new Cr}function su(){return Hi(document),document}var au=[{provide:Ke,useValue:Cn},{provide:Gi,useValue:iu,multi:!0},{provide:M,useFactory:su}];var uu=[{provide:zi,useValue:"root"},{provide:Cr,useFactory:ou},{provide:bn,useClass:Ko,multi:!0,deps:[M]},{provide:bn,useClass:Xo,multi:!0,deps:[M]},Gr,Vr,zr,{provide:ro,useExisting:Gr},{provide:Be,useClass:Qa},[]];var nt=class{},rt=class{},ne=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: 4,100 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(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),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):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(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 In=class{encodeKey(n){return Jo(n)}encodeValue(n){return Jo(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function cu(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],u=e.get(s)||[];u.push(a),e.set(s,u)}),e}var lu=/%(\d[a-f0-9])/gi,du={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Jo(t){return encodeURIComponent(t).replace(lu,(n,e)=>du[e]??n)}function Tn(t){return`${t}`}var De=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new In,n.fromString){if(n.fromObject)throw new S(2805,!1);this.map=cu(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(Tn):[Tn(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(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>
vendor: 7,640 bytes, line 2
2this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Tn(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(Tn(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)}};var Mn=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()}};function hu(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 es(t){return typeof Blob<"u"&&t instanceof Blob}function ts(t){return typeof FormData<"u"&&t instanceof FormData}function fu(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var xt="Content-Type",Fn="Accept",Kr="X-Request-URL",rs="text/plain",is="application/json",os=`${is}, ${rs}, */*`,tt=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(hu(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new ne,this.context??=new Mn,!this.params)this.params=new De,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),u=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+u+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Qo(this.body)||es(this.body)||ts(this.body)||fu(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||ts(this.body)?null:es(this.body)?this.body.type||null:Qo(this.body)?null:typeof this.body=="string"?rs:this.body instanceof De?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?is:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,u=n.reportProgress??this.reportProgress,c=n.headers||this.headers,l=n.params||this.params,p=n.context??this.context;return n.setHeaders!==void 0&&(c=Object.keys(n.setHeaders).reduce((E,m)=>E.set(m,n.setHeaders[m]),c)),n.setParams&&(l=Object.keys(n.setParams).reduce((E,m)=>E.set(m,n.setParams[m]),l)),new t(e,r,s,{params:l,headers:c,context:p,reportProgress:u,responseType:i,withCredentials:a,transferCache:o})}},ye=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(ye||{}),it=class{headers;status;statusText;url;ok;type;constructor(n,e=200,r="OK"){this.headers=n.headers||new ne,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Ut=class t extends it{constructor(n={}){super(n)}type=ye.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})}},Re=class t extends it{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=ye.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})}},ve=class extends it{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}},ss=200,pu=204;function qr(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var as=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof tt)o=e;else{let u;i.headers instanceof ne?u=i.headers:u=new ne(i.headers);let c;i.params&&(i.params instanceof De?c=i.params:c=new De({fromObject:i.params})),o=new tt(e,r,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=f(o).pipe(pe(u=>this.handler.handle(u)));if(e instanceof tt||i.observe==="events")return s;let a=s.pipe(oe(u=>u instanceof Re));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new S(2806,!1);return u.body}));case"blob":return a.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new S(2807,!1);return u.body}));case"text":return a.pipe(R(u=>{if(u.body!==null&&typeof u.body!="string")throw new S(2808,!1);return u.body}));case"json":default:return a.pipe(R(u=>u.body))}case"response":return a;default:throw new S(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,qr(i,r))}post(e,r,i={}){return this.request("POST",e,qr(i,r))}put(e,r,i={}){return this.request("PUT",e,qr(i,r))}static \u0275fac=function(r){return new(r||t)(g(nt))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),gu=/^\)\]\}',?\n/;function ns(t){if(t.url)return t.url;let n=Kr.toLocaleLowerCase();return t.headers.get(n)}var us=new C(""),_n=(()=>{class t{fetchImpl=d(Wr,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=d(Z);destroyRef=d(an);destroyed=!1;constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0})}handle(e){return new dr(r=>{let i=new AbortController;return this.doRequest(e,i.signal,r).then(Zr,o=>r.error(new ve({error:o}))),()=>i.abort()})}doRequest(e,r,i){return on(this,null,function*(){let o=this.createRequestInit(e),s;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,h({signal:r},o)));mu(m),i.next({type:ye.Sent}),s=yield m}catch(m){i.error(new ve({error:m,status:m.status??0,statusText:m.statusText,url:e.urlWithParams,headers:m.headers}));return}let a=new ne(s.headers),u=s.statusText,c=ns(s)??e.urlWithParams,l=s.status,p=null;if(e.reportProgress&&i.next(new Ut({headers:a,status:l,statusText:u,url:c})),s.body){let m=s.headers.get("content-length"),A=[],y=s.body.getReader(),w=0,U,ie,_=typeof Zone<"u"&&Zone.current,we=!1;
2if(yield this.ngZone.runOutsideAngular(()=>on(this,null,function*(){for(;;){if(this.destroyed){yield y.cancel(),we=!0;break}let{done:Fe,value:lr}=yield y.read();if(Fe)break;if(A.push(lr),w+=lr.length,e.reportProgress){ie=e.responseType==="text"?(ie??"")+(U??=new TextDecoder).decode(lr,{stream:!0}):void 0;let Mi=()=>i.next({type:ye.DownloadProgress,total:m?+m:void 0,loaded:w,partialText:ie});_?_.run(Mi):Mi()}}})),we){i.complete();return}let cr=this.concatChunks(A,w);try{let Fe=s.headers.get(xt)??"";p=this.parseBody(e,cr,Fe)}catch(Fe){i.error(new ve({error:Fe,headers:new ne(s.headers),status:s.status,statusText:s.statusText,url:ns(s)??e.urlWithParams}));return}}l===0&&(l=p?ss:0),l>=200&&l<300?(i.next(new Re({body:p,headers:a,status:l,statusText:u,url:c})),i.complete()):i.error(new ve({error:p,headers:a,status:l,statusText:u,url:c}))})}parseBody(e,r,i){switch(e.responseType){case"json":let o=new TextDecoder().decode(r).replace(gu,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(e){let r={},i=e.withCredentials?"include":void 0;if(e.headers.forEach((o,s)=>r[o]=s.join(",")),e.headers.has(Fn)||(r[Fn]=os),!e.headers.has(xt)){let o=e.detectContentTypeHeader();o!==null&&(r[xt]=o)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i}}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 \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Wr=class{};function Zr(){}function mu(t){t.then(Zr,Zr)}function vu(t,n){return n(t)}function Du(t,n,e){return(r,i)=>W(e,()=>n(r,o=>t(o,i)))}var Xr=new C(""),Jr=new C(""),cs=new C("",{providedIn:"root",factory:()=>!0});var On=(()=>{class t extends nt{backend;injector;chain=null;pendingTasks=d(un);contributeToStability=d(cs);constructor(e,r){super(),this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Xr),...this.injector.get(Jr,[])]));this.chain=r.reduceRight((i,o)=>Du(i,o,this.injector),vu)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(We(()=>this.pendingTasks.remove(r)))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(g(rt),g(Ee))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var yu=/^\)\]\}',?\n/,wu=RegExp(`^${Kr}:`,"m");function Cu(t){return"responseURL"in t&&t.responseURL?t.responseURL:wu.test(t.getAllResponseHeaders())?t.getResponseHeader(Kr):null}var Yr=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new S(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?L(r.\u0275loadImpl()):f(null)).pipe(V(()=>new dr(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((y,w)=>s.setRequestHeader(y,w.join(","))),e.headers.has(Fn)||s.setRequestHeader(Fn,os),!e.headers.has(xt)){let y=e.detectContentTypeHeader();y!==null&&s.setRequestHeader(xt,y)}if(e.responseType){let y=e.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=e.serializeBody(),u=null,c=()=>{if(u!==null)return u;let y=s.statusText||"OK",w=new ne(s.getAllResponseHeaders()),U=Cu(s)||e.url;return u=new Ut({headers:w,status:s.status,statusText:y,url:U}),u},l=()=>{let{headers:y,status:w,statusText:U,url:ie}=c(),_=null;w!==pu&&(_=typeof s.response>"u"?s.responseText:s.response),w===0&&(w=_?ss:0);let we=w>=200&&w<300;if(e.responseType==="json"&&typeof _=="string"){let cr=_;_=_.replace(yu,"");try{_=_!==""?JSON.parse(_):null}catch(Fe){_=cr,we&&(we=!1,_={error:Fe,text:_})}}we?(o.next(new Re({body:_,headers:y,status:w,statusText:U,url:ie||void 0})),o.complete()):o.error(new ve({error:_,headers:y,status:w,statusText:U,url:ie||void 0}))},p=y=>{let{url:w}=c(),U=new ve({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:w||void 0});o.error(U)},E=!1,m=y=>{E||(o.next(c()),E=!0);let w={type:ye.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),e.responseType==="text"&&s.responseText&&(w.partialText=s.responseText),o.next(w)},A=y=>{let w={type:ye.UploadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),o.next(w)};return s.addEventListener("load",l),s.addEventListener("error",p),s.addEventListener("timeout",p),s.addEventListener("abort",p),e.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",A)),s.send(a),o.next({type:ye.Sent}),()=>{s.removeEventListener("error",p),s.removeEventListener("abort",p),s.removeEventListener("load",l),s.removeEventListener("timeout",p),e.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",A)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(g(Be))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),ls=new C(""),Eu="XSRF-TOKEN",Su=new C("",{providedIn:"root",factory:()=>Eu}),Ru="X-XSRF-TOKEN",bu=new C("",{providedIn:"root",factory:()=>Ru}),Bt=class{},Au=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,r){this.doc=e,this.cookieName=r}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ot(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)(g(M),g(Su))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Tu=/^(?:https?:)?\/\//i;function _u(t,n){if(!d(ls)||t.method==="GET"||t.method==="HEAD"||Tu.test(t.url))return n(t);let e=d(Bt).getToken(),r=d(bu);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}var Pn=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Pn||{});function ds(t,n){return{\u0275kind:t,\u0275providers:n}}function Iu(...t){let n=[as,Yr,On,{provide:nt,useExisting:On},{provide:rt,useFactory:()=>d(us,{optional:!0})??d(Yr)},{provide:Xr,useValue:_u,multi:!0},{provide:ls,useValue:!0},{provide:Bt,useClass:Au}];for(let e of t)n.push(...e.\u0275providers);return Ze(n)}function Mu(t){return ds(Pn.Interceptors,t.map(n=>({provide:Xr,useValue:n,multi:!0})))}function Fu(){return ds(Pn.Fetch,[_n,{provide:us,useExisting:_n},{provide:rt,useExisting:_n}])}var Ou=new C(""),Pu="b",Nu="h",Lu="s",ku="st",xu="u",Uu="rt",Qr=new C(""),Bu=["GET","HEAD"];function ju(t,n){let E=d(Qr),{isCacheActive:e}=E,r=Fi(E,["isCacheActive"]),{transferCache:i,method:o}=t;if(!e||i===!1||o==="POST"&&!r.includePostRequests&&!i||o!=="POST"&&!Bu.includes(o)||!r.includeRequestsWithAuthHeaders&&$u(t)||r.filter?.(t)===!1)return n(t);let s=d(qi);if(d(Ou,{optional:!0}))throw new S(2803,!1);let u=t.url,c=zu(t,u),l=s.get(c,null),p=r.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(p=i.includeHeaders),l){let{[Pu]:m,[Uu]:A,[Nu]:y,[Lu]:w,[ku]:U,[xu]:ie}=l,_=m;switch(A){case"arraybuffer":_=new TextEncoder().encode(m).buffer;break;case"blob":_=new Blob([m]);break}let we=new ne(y);return f(new Re({body:_,headers:we,status:w,statusText:U,url:ie}))}return n(t).pipe(N(m=>{m instanceof Re}))}function $u(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function hs(t){return[...t.keys()].sort().map(n=>`${n}=${t.getAll(n)}`).join("&")}function zu(t,n){let{params:e,method:r,responseType:i}=t,o=hs(e),s=t.serializeBody();
2s instanceof URLSearchParams?s=hs(s):typeof s!="string"&&(s="");let a=[r,i,n,s,o].join("|"),u=Vu(a);return u}function Vu(t){let n=0;for(let e of t)n=Math.imul(31,n)+e.charCodeAt(0)<<0;return n+=2147483648,n.toString()}function fs(t){return[{provide:Qr,useFactory:()=>(wt("NgHttpTransferCache"),h({isCacheActive:!0},t))},{provide:Jr,useValue:ju,multi:!0},{provide:St,multi:!0,useFactory:()=>{let n=d(Rt),e=d(Qr);return()=>{n.whenStable().then(()=>{e.isCacheActive=!1})}}}]}var Uf=(()=>{class t{_doc;_dom;constructor(e){this._doc=e,this._dom=se()}addTag(e,r=!1){return e?this._getOrCreateElement(e,r):null}addTags(e,r=!1){return e?e.reduce((i,o)=>(o&&i.push(this._getOrCreateElement(o,r)),i),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];let r=this._doc.querySelectorAll(`meta[${e}]`);return r?[].slice.call(r):[]}updateTag(e,r){if(!e)return null;r=r||this._parseSelector(e);let i=this.getTag(r);return i?this._setMetaElementAttributes(e,i):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,r=!1){if(!r){let s=this._parseSelector(e),a=this.getTags(s).filter(u=>this._containsAttributes(e,u))[0];if(a!==void 0)return a}let i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}_setMetaElementAttributes(e,r){return Object.keys(e).forEach(i=>r.setAttribute(this._getMetaKeyMap(i),e[i])),r}_parseSelector(e){let r=e.name?"name":"property";return`${r}="${e[r]}"`}_containsAttributes(e,r){return Object.keys(e).every(i=>r.getAttribute(this._getMetaKeyMap(i))===e[i])}_getMetaKeyMap(e){return Gu[e]||e}static \u0275fac=function(r){return new(r||t)(g(M))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gu={httpEquiv:"http-equiv"},ps=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(g(M))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var qu=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=g(Wu),i},providedIn:"root"})}return t})(),Wu=(()=>{class t extends qu{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case ke.NONE:return r;case ke.HTML:return Xe(r,"HTML")?Le(r):to(this._doc,String(r)).toString();case ke.STYLE:return Xe(r,"Style")?Le(r):r;case ke.SCRIPT:if(Xe(r,"Script"))return Le(r);throw new S(5200,!1);case ke.URL:return Xe(r,"URL")?Le(r):eo(String(r));case ke.RESOURCE_URL:if(Xe(r,"ResourceURL"))return Le(r);throw new S(5201,!1);default:throw new S(5202,!1)}}bypassSecurityTrustHtml(e){return Yi(e)}bypassSecurityTrustStyle(e){return Ki(e)}bypassSecurityTrustScript(e){return Xi(e)}bypassSecurityTrustUrl(e){return Ji(e)}bypassSecurityTrustResourceUrl(e){return Qi(e)}static \u0275fac=function(r){return new(r||t)(g(M))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nn=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t[t.IncrementalHydration=4]="IncrementalHydration",t}(Nn||{});function Zu(t,n=[],e={}){return{\u0275kind:t,\u0275providers:n}}function Bf(){return Zu(Nn.EventReplay,vo())}function jf(...t){let n=[],e=new Set;for(let{\u0275providers:i,\u0275kind:o}of t)e.add(o),i.length&&n.push(i);let r=e.has(Nn.HttpTransferCacheOptions);return Ze([[],Do(),e.has(Nn.NoHttpTransferCache)||r?[]:fs({}),n])}var D="primary",Jt=Symbol("RouteTitle"),ii=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(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 ze(t){return new ii(t)}function Es(t,n,e){let r=e.path.split("/");if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let i={};for(let o=0;o<r.length;o++){let s=r[o],a=t[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function Ku(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!ae(t[e],n[e]))return!1;return!0}function ae(t,n){let e=t?oi(t):void 0,r=n?oi(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],!Ss(t[i],n[i]))return!1;return!0}function oi(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Ss(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 Rs(t){return t.length>0?t[t.length-1]:null}function Ie(t){return Ni(t)?t:dn(t)?L(Promise.resolve(t)):f(t)}var Xu={exact:As,subset:Ts},bs={exact:Ju,subset:Qu,ignored:()=>!0};function gs(t,n,e){return Xu[e.paths](t.root,n.root,e.matrixParams)&&bs[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function Ju(t,n){return ae(t,n)}function As(t,n,e){if(!je(t.segments,n.segments)||!xn(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!As(t.children[r],n.children[r],e))return!1;return!0}function Qu(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Ss(t[e],n[e]))}function Ts(t,n,e){return _s(t,n,n.segments,e)}function _s(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);
vendor: 34,319 bytes, line 2
2return!(!je(i,e)||n.hasChildren()||!xn(i,e,r))}else if(t.segments.length===e.length){if(!je(t.segments,e)||!xn(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!Ts(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)||!xn(t.segments,i,r)||!t.children[D]?!1:_s(t.children[D],n,o,r)}}function xn(t,n,e){return n.every((r,i)=>bs[e](t[i].parameters,r.parameters))}var ce=class{root;queryParams;fragment;_queryParamMap;constructor(n=new b([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ze(this.queryParams),this._queryParamMap}toString(){return nc.serialize(this)}},b=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 Un(this)}},be=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=ze(this.parameters),this._parameterMap}toString(){return Ms(this)}};function ec(t,n){return je(t,n)&&t.every((e,r)=>ae(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 tc(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===D&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==D&&(e=e.concat(n(i,r)))}),e}var Me=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>new Ae,providedIn:"root"})}return t})(),Ae=class{parse(n){let e=new ai(n);return new ce(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${jt(n.root,!0)}`,r=oc(n.queryParams),i=typeof n.fragment=="string"?`#${rc(n.fragment)}`:"";return`${e}${r}${i}`}},nc=new Ae;function Un(t){return t.segments.map(n=>Ms(n)).join("/")}function jt(t,n){if(!t.hasChildren())return Un(t);if(n){let e=t.children[D]?jt(t.children[D],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==D&&r.push(`${i}:${jt(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=tc(t,(r,i)=>i===D?[jt(t.children[D],!1)]:[`${i}:${jt(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[D]!=null?`${Un(t)}/${e[0]}`:`${Un(t)}/(${e.join("//")})`}}function Is(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ln(t){return Is(t).replace(/%3B/gi,";")}function rc(t){return encodeURI(t)}function si(t){return Is(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bn(t){return decodeURIComponent(t)}function ms(t){return Bn(t.replace(/\+/g,"%20"))}function Ms(t){return`${si(t.path)}${ic(t.parameters)}`}function ic(t){return Object.entries(t).map(([n,e])=>`;${si(n)}=${si(e)}`).join("")}function oc(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${Ln(e)}=${Ln(i)}`).join("&"):`${Ln(e)}=${Ln(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var sc=/^[^\/()?;#]+/;function ei(t){let n=t.match(sc);return n?n[0]:""}var ac=/^[^\/()?;=#]+/;function uc(t){let n=t.match(ac);return n?n[0]:""}var cc=/^[^=?&#]+/;function lc(t){let n=t.match(cc);return n?n[0]:""}var dc=/^[^&#]+/;function hc(t){let n=t.match(dc);return n?n[0]:""}var ai=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new b([],{}):new b([],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(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(r[D]=new b(n,e)),r}parseSegment(){let n=ei(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(n),new be(Bn(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=uc(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=ei(this.remaining);i&&(r=i,this.capture(r))}n[Bn(e)]=Bn(r)}parseQueryParam(n){let e=lc(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=hc(this.remaining);s&&(r=s,this.capture(r))}let i=ms(e),o=ms(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=ei(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new S(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=D);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[D]:new b([],s),this.consumeOptional("//")}return e}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 S(4011,!1)}};function Fs(t){return t.segments.length>0?new b([],{[D]:t}):t}function Os(t){let n={};for(let[r,i]of Object.entries(t.children)){let o=Os(i);if(r===D&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}let e=new b(t.segments,n);return fc(e)}function fc(t){if(t.numberOfChildren===1&&t.children[D]){let n=t.children[D];return new b(t.segments.concat(n.segments),n.children)}return t}function Te(t){return t instanceof ce}function Ps(t,n,e=null,r=null){let i=Ns(t);return Ls(i,n,e,r)}function Ns(t){let n;function e(o){let s={};for(let u of o.children){let c=e(u);s[u.outlet]=c}let a=new b(o.url,s);return o===t&&(n=a),a}let r=e(t.root),i=Fs(r);return n??i}function Ls(t,n,e,r){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return ti(i,i,i,e,r);let o=pc(n);if(o.toRoot())return ti(i,i,new b([],{}),e,r);let s=gc(o,i,t),a=s.processChildren?zt(s.segmentGroup,s.index,o.commands):xs(s.segmentGroup,s.index,o.commands);return ti(i,s.segmentGroup,a,e,r)}function $n(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ht(t){return typeof t=="object"&&t!=null&&t.outlets}function ti(t,n,e,r,i){let o={};r&&Object.entries(r).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===n?s=e:s=ks(t,n,e);let a=Fs(Os(s));return new ce(a,o,i)}function ks(t,n,e){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=ks(o,n,e)}),new b(t.segments,r)}var zn=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&$n(r[0]))throw new S(4003,!1);let i=r.find(Ht);if(i&&i!==Rs(r))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function pc(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new zn(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?e=!0:a===".."?n++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new zn(e,n,r)}var at=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function gc(t,n,e){if(t.isAbsolute)return new at(n,!0,0);if(!e)return new at(n,!1,NaN);if(e.parent===null)return new at(e,!0,0);let r=$n(t.commands[0])?0:1,i=e.segments.length-1+r;return mc(e,i,t.numberOfDoubleDots)}function mc(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new S(4005,!1);i=r.segments.length}return new at(r,!1,i-o)}function vc(t){return Ht(t[0])?t[0].outlets:{[D]:t}}function xs(t,n,e){if(t??=new b([],{}),t.segments.length===0&&t.hasChildren())return zt(t,n,e);let r=Dc(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new b(t.segments.slice(0,r.pathIndex),{});return o.children[D]=new b(t.segments.slice(r.pathIndex),t.children),zt(o,0,i)}else return r.match&&i.length===0?new b(t.segments,{}):r.match&&!t.hasChildren()?ui(t,n,e):r.match?zt(t,0,i):ui(t,n,e)}function zt(t,n,e){if(e.length===0)return new b(t.segments,{});{let r=vc(e),i={};if(Object.keys(r).some(o=>o!==D)&&t.children[D]&&t.numberOfChildren===1&&t.children[D].segments.length===0){let o=zt(t.children[D],n,e);return new b(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=xs(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new b(t.segments,i)}}function Dc(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],a=e[r];if(Ht(a))break;let u=`${a}`,c=r<e.length-1?e[r+1]:null;if(i>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Ds(u,c,s))return o;r+=2}else{if(!Ds(u,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function ui(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(Ht(o)){let u=yc(o.outlets);return new b(r,u)}if(i===0&&$n(e[0])){let u=t.segments[n];r.push(new be(u.path,vs(e[0]))),i++;continue}let s=Ht(o)?o.outlets[D]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&$n(a)?(r.push(new be(s,vs(a))),i+=2):(r.push(new be(s,{})),i++)}return new b(r,{})}function yc(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=ui(new b([],{}),0,r))}),n}function vs(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function Ds(t,n,e){return t==e.path&&ae(n,e.parameters)}var jn="imperative",P=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}(P||{}),G=class{id;url;constructor(n,e){this.id=n,this.url=e}},_e=class extends G{type=P.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}')`}},X=class extends G{urlAfterRedirects;type=P.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},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}(z||{}),ct=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ct||{}),ue=class extends G{reason;code;type=P.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},le=class extends G{reason;code;type=P.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},lt=class extends G{error;target;type=P.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})`}},Gt=class extends G{urlAfterRedirects;state;type=P.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})`}},Vn=class extends G{urlAfterRedirects;state;type=P.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})`}},Hn=class extends G{urlAfterRedirects;state;shouldActivate;type=P.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})`}},Gn=class extends G{urlAfterRedirects;state;type=P.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})`}},qn=class extends G{urlAfterRedirects;state;type=P.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})`}},Wn=class{route;type=P.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Zn=class{route;type=P.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Yn=class{snapshot;type=P.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kn=class{snapshot;type=P.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xn=class{snapshot;type=P.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jn=class{snapshot;type=P.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dt=class{routerEvent;position;anchor;type=P.Scroll;constructor(n,e,r){this.routerEvent=n,this.position=e,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},qt=class{},ht=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function wc(t,n){return t.providers&&!t._injector&&(t._injector=cn(t.providers,n,`Route: ${t.path}`)),t._injector??n}function re(t){return t.outlet||D}function Cc(t,n){let e=t.filter(r=>re(r)===n);return e.push(...t.filter(r=>re(r)!==n)),e}function Qt(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Qn=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Qt(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Ve(this.rootInjector)}},Ve=(()=>{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 Qn(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(g(Ee))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),er=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=ci(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=ci(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=li(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return li(n,this._root).map(e=>e.value)}};function ci(t,n){if(t===n.value)return n;for(let e of n.children){let r=ci(t,e);if(r)return r}return null}function li(t,n){if(t===n.value)return[n];for(let e of n.children){let r=li(t,e);if(r.length)return r.unshift(n),r}return[]}var H=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function st(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Wt=class extends er{snapshot;constructor(n,e){super(n),this.snapshot=e,Di(this,n)}toString(){return this.snapshot.toString()}};function Us(t){let n=Ec(t),e=new q([new be("",{})]),r=new q({}),i=new q({}),o=new q({}),s=new q(""),a=new de(e,r,o,s,i,D,t,n.root);return a.snapshot=n.root,new Wt(new H(a,[]),n)}function Ec(t){let n={},e={},r={},i="",o=new $e([],n,r,i,e,D,t,null,{});return new Zt("",new H(o,[]))}var de=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,i,o,s,a,u){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(R(c=>c[Jt]))??f(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(R(n=>ze(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(R(n=>ze(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function tr(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:h(h({},n.params),t.params),data:h(h({},n.data),t.data),resolve:h(h(h(h({},t.data),n.data),i?.data),t._resolvedData)}:r={params:h({},t.params),data:h({},t.data),resolve:h(h({},t.data),t._resolvedData??{})},i&&js(i)&&(r.resolve[Jt]=i.title),r}var $e=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Jt]}constructor(n,e,r,i,o,s,a,u,c){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ze(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ze(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Zt=class extends er{url;constructor(n,e){super(e),this.url=n,Di(this,e)}toString(){return Bs(this._root)}};function Di(t,n){n.value._routerState=t,n.children.forEach(e=>Di(t,e))}function Bs(t){let n=t.children.length>0?` { ${t.children.map(Bs).join(", ")} } `:"";return`${t.value}${n}`}function ni(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ae(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),ae(n.params,e.params)||t.paramsSubject.next(e.params),Ku(n.url,e.url)||t.urlSubject.next(e.url),ae(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function di(t,n){let e=ae(t.params,n.params)&&ec(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||di(t.parent,n.parent))}function js(t){return typeof t.title=="string"||t.title===null}var $s=new C(""),yi=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=D;activateEvents=new Ye;deactivateEvents=new Ye;attachEvents=new Ye;detachEvents=new Ye;routerOutletData=Vi(void 0);parentContexts=d(Ve);location=d(Rr);changeDetector=d(et);inputBinder=d(en,{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 S(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(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.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 S(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new hi(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=Qe({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Dt]})}return t})(),hi=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===de?this.route:n===Ve?this.childContexts:n===$s?this.outletData:this.parent.get(n,e)}},en=new C(""),wi=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,i=sn([r.queryParams,r.params,r.data]).pipe(V(([o,s,a],u)=>(a=h(h(h({},o),s),a),u===0?f(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=yo(r.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Ci=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=so({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&co(0,"router-outlet")},dependencies:[yi],encapsulation:2})}return t})();function Ei(t){let n=t.children&&t.children.map(Ei),e=n?x(h({},t),{children:n}):h({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==D&&(e.component=Ci),e}function Sc(t,n,e){let r=Yt(t,n._root,e?e._root:void 0);return new Wt(r,n)}function Yt(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=Rc(t,n,e);return new H(r,i)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Yt(t,a)),s}}let r=bc(n.value),i=n.children.map(o=>Yt(t,o));return new H(r,i)}}function Rc(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Yt(t,r,i);return Yt(t,r)})}function bc(t){return new de(new q(t.url),new q(t.params),new q(t.queryParams),new q(t.fragment),new q(t.data),t.outlet,t.component,t)}var ft=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},zs="ngNavigationCancelingError";function nr(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=Te(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Vs(!1,z.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Vs(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[zs]=!0,e.cancellationCode=n,e}function Ac(t){return Hs(t)&&Te(t.url)}function Hs(t){return!!t&&t[zs]}var Tc=(t,n,e,r)=>R(i=>(new fi(n,i.targetRouterState,i.currentRouterState,e,r).activate(t),i)),fi=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),ni(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=st(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=st(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=st(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)}activateChildRoutes(n,e,r){let i=st(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Jn(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Kn(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(ni(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 a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),ni(a.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)}},rr=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},ut=class{component;route;constructor(n,e){this.component=n,this.route=e}};function _c(t,n,e){let r=t._root,i=n?n._root:null;return $t(r,i,e,[r.value])}function Ic(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function gt(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!$i(t)?t:n.get(t):r}function $t(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=st(n);return t.children.forEach(s=>{Mc(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Vt(a,e.getContext(s),i)),i}function Mc(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=Fc(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new rr(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?$t(t,n,a?a.children:null,r,i):$t(t,n,e,r,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ut(a.outlet.component,s))}else s&&Vt(n,a,i),i.canActivateChecks.push(new rr(r)),o.component?$t(t,null,a?a.children:null,r,i):$t(t,null,e,r,i);return i}function Fc(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!je(t.url,n.url);case"pathParamsOrQueryParamsChange":return!je(t.url,n.url)||!ae(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!di(t,n)||!ae(t.queryParams,n.queryParams);case"paramsChange":default:return!di(t,n)}}function Vt(t,n,e){let r=st(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?n?Vt(s,n.children.getContext(o),e):Vt(s,null,e):Vt(s,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new ut(n.outlet.component,i)):e.canDeactivateChecks.push(new ut(null,i)):e.canDeactivateChecks.push(new ut(null,i))}function tn(t){return typeof t=="function"}function Oc(t){return typeof t=="boolean"}function Pc(t){return t&&tn(t.canLoad)}function Nc(t){return t&&tn(t.canActivate)}function Lc(t){return t&&tn(t.canActivateChild)}function kc(t){return t&&tn(t.canDeactivate)}function xc(t){return t&&tn(t.canMatch)}function Gs(t){return t instanceof Li||t?.name==="EmptyError"}var kn=Symbol("INITIAL_VALUE");function pt(){return V(t=>sn(t.map(n=>n.pipe(qe(1),Bi(kn)))).pipe(R(n=>{for(let e of n)if(e!==!0){if(e===kn)return kn;if(e===!1||Uc(e))return e}return!0}),oe(n=>n!==kn),qe(1)))}function Uc(t){return Te(t)||t instanceof ft}function Bc(t,n){return B(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?f(x(h({},e),{guardsResult:!0})):jc(s,r,i,t).pipe(B(a=>a&&Oc(a)?$c(r,o,t,n):f(a)),R(a=>x(h({},e),{guardsResult:a})))})}function jc(t,n,e,r){return L(t).pipe(B(i=>qc(i.component,i.route,e,n,r)),Ce(i=>i!==!0,!0))}function $c(t,n,e,r){return L(n).pipe(pe(i=>ki(Vc(i.route.parent,r),zc(i.route,r),Gc(t,i.path,e),Hc(t,i.route,e))),Ce(i=>i!==!0,!0))}function zc(t,n){return t!==null&&n&&n(new Xn(t)),f(!0)}function Vc(t,n){return t!==null&&n&&n(new Yn(t)),f(!0)}function Hc(t,n,e){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return f(!0);let i=r.map(o=>gr(()=>{let s=Qt(n)??e,a=gt(o,s),u=Nc(a)?a.canActivate(n,t):W(s,()=>a(n,t));return Ie(u).pipe(Ce())}));return f(i).pipe(pt())}function Gc(t,n,e){let r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>Ic(s)).filter(s=>s!==null).map(s=>gr(()=>{let a=s.guards.map(u=>{let c=Qt(s.node)??e,l=gt(u,c),p=Lc(l)?l.canActivateChild(r,t):W(c,()=>l(r,t));return Ie(p).pipe(Ce())});return f(a).pipe(pt())}));return f(o).pipe(pt())}function qc(t,n,e,r,i){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return f(!0);let s=o.map(a=>{let u=Qt(n)??i,c=gt(a,u),l=kc(c)?c.canDeactivate(t,n,e,r):W(u,()=>c(t,n,e,r));return Ie(l).pipe(Ce())});return f(s).pipe(pt())}function Wc(t,n,e,r){let i=n.canLoad;if(i===void 0||i.length===0)return f(!0);let o=i.map(s=>{let a=gt(s,t),u=Pc(a)?a.canLoad(n,e):W(t,()=>a(n,e));return Ie(u)});return f(o).pipe(pt(),qs(r))}function qs(t){return Pi(N(n=>{if(typeof n!="boolean")throw nr(t,n)}),R(n=>n===!0))}function Zc(t,n,e,r){let i=n.canMatch;if(!i||i.length===0)return f(!0);let o=i.map(s=>{let a=gt(s,t),u=xc(a)?a.canMatch(n,e):W(t,()=>a(n,e));return Ie(u)});return f(o).pipe(pt(),qs(r))}var Kt=class{segmentGroup;constructor(n){this.segmentGroup=n||null}}
2,Xt=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function ot(t){return vt(new Kt(t))}function Yc(t){return vt(new S(4e3,!1))}function Kc(t){return vt(Vs(!1,z.GuardRejected))}var pi=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return f(r);if(i.numberOfChildren>1||!i.children[D])return Yc(`${n.redirectTo}`);i=i.children[D]}}applyRedirectCommands(n,e,r,i,o){if(typeof e!="string"){let a=e,{queryParams:u,fragment:c,routeConfig:l,url:p,outlet:E,params:m,data:A,title:y}=i,w=W(o,()=>a({params:m,data:A,queryParams:u,fragment:c,routeConfig:l,url:p,outlet:E,title:y}));if(w instanceof ce)throw new Xt(w);e=w}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,r);if(e[0]==="/")throw new Xt(s);return s}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new ce(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=e[a]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s={};return Object.entries(e.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(n,u,r,i)}),new b(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 S(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}},gi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Xc(t,n,e,r,i){let o=Ws(t,n,e);return o.matched?(r=wc(n,r),Zc(r,n,e,i).pipe(R(s=>s===!0?o:h({},gi)))):f(o)}function Ws(t,n,e){if(n.path==="**")return Jc(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?h({},gi):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||Es)(e,t,n);if(!i)return h({},gi);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?h(h({},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 Jc(t){return{matched:!0,parameters:t.length>0?Rs(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function ys(t,n,e,r){return e.length>0&&tl(t,e,r)?{segmentGroup:new b(n,el(r,new b(e,t.children))),slicedSegments:[]}:e.length===0&&nl(t,e,r)?{segmentGroup:new b(t.segments,Qc(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new b(t.segments,t.children),slicedSegments:e}}function Qc(t,n,e,r){let i={};for(let o of e)if(or(t,n,o)&&!r[re(o)]){let s=new b([],{});i[re(o)]=s}return h(h({},r),i)}function el(t,n){let e={};e[D]=n;for(let r of t)if(r.path===""&&re(r)!==D){let i=new b([],{});e[re(r)]=i}return e}function tl(t,n,e){return e.some(r=>or(t,n,r)&&re(r)!==D)}function nl(t,n,e){return e.some(r=>or(t,n,r))}function or(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function rl(t,n,e){return n.length===0&&!t.children[e]}var mi=class{};function il(t,n,e,r,i,o,s="emptyOnly"){return new vi(t,n,e,r,i,s,o).recognize()}var ol=31,vi=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new pi(this.urlSerializer,this.urlTree)}noMatchError(n){return new S(4002,`'${n.segmentGroup}'`)}recognize(){let n=ys(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(R(({children:e,rootSnapshot:r})=>{let i=new H(r,e),o=new Zt("",i),s=Ps(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){let e=new $e([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),D,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,D,e).pipe(R(r=>({children:r,rootSnapshot:e})),Oe(r=>{if(r instanceof Xt)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Kt?this.noMatchError(r):r}))}processSegmentGroup(n,e,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,e,r,o):this.processSegment(n,e,r,r.segments,i,!0,o).pipe(R(s=>s instanceof H?[s]:[]))}processChildren(n,e,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return L(o).pipe(pe(s=>{let a=r.children[s],u=Cc(e,s);return this.processSegmentGroup(n,u,a,s,i)}),Ui((s,a)=>
2(s.push(...a),s)),mr(null),xi(),B(s=>{if(s===null)return ot(r);let a=Zs(s);return sl(a),f(a)}))}processSegment(n,e,r,i,o,s,a){return L(e).pipe(pe(u=>this.processSegmentAgainstRoute(u._injector??n,e,u,r,i,o,s,a).pipe(Oe(c=>{if(c instanceof Kt)return f(null);throw c}))),Ce(u=>!!u),Oe(u=>{if(Gs(u))return rl(r,i,o)?f(new mi):ot(r);throw u}))}processSegmentAgainstRoute(n,e,r,i,o,s,a,u){return re(r)!==s&&(s===D||!or(i,o,r))?ot(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,r,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,u):ot(i)}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:p,remainingSegments:E}=Ws(e,i,o);if(!u)return ot(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ol&&(this.allowRedirects=!1));let m=new $e(o,c,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,ws(i),re(i),i.component??i._loadedComponent??null,i,Cs(i)),A=tr(m,a,this.paramsInheritanceStrategy);m.params=Object.freeze(A.params),m.data=Object.freeze(A.data);let y=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,p,m,n);return this.applyRedirects.lineralizeSegments(i,y).pipe(B(w=>this.processSegment(n,r,e,w.concat(E),s,!1,a)))}matchSegmentAgainstRoute(n,e,r,i,o,s){let a=Xc(e,r,i,n,this.urlSerializer);return r.path==="**"&&(e.children={}),a.pipe(V(u=>u.matched?(n=r._injector??n,this.getChildConfig(n,r,i).pipe(V(({routes:c})=>{let l=r._loadedInjector??n,{parameters:p,consumedSegments:E,remainingSegments:m}=u,A=new $e(E,p,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,ws(r),re(r),r.component??r._loadedComponent??null,r,Cs(r)),y=tr(A,s,this.paramsInheritanceStrategy);A.params=Object.freeze(y.params),A.data=Object.freeze(y.data);let{segmentGroup:w,slicedSegments:U}=ys(e,E,m,c);if(U.length===0&&w.hasChildren())return this.processChildren(l,c,w,A).pipe(R(_=>new H(A,_)));if(c.length===0&&U.length===0)return f(new H(A,[]));let ie=re(r)===o;return this.processSegment(l,c,w,U,ie?D:o,!0,A).pipe(R(_=>new H(A,_ instanceof H?[_]:[])))}))):ot(e)))}getChildConfig(n,e,r){return e.children?f({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?f({routes:e._loadedRoutes,injector:e._loadedInjector}):Wc(n,e,r,this.urlSerializer).pipe(B(i=>i?this.configLoader.loadChildren(n,e).pipe(N(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):Kc(e))):f({routes:[],injector:n})}};function sl(t){t.sort((n,e)=>n.value.outlet===D?-1:e.value.outlet===D?1:n.value.outlet.localeCompare(e.value.outlet))}function al(t){let n=t.value.routeConfig;return n&&n.path===""}function Zs(t){let n=[],e=new Set;for(let r of t){if(!al(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=Zs(r.children);n.push(new H(r.value,i))}return n.filter(r=>!e.has(r))}function ws(t){return t.data||{}}function Cs(t){return t.resolve||{}}function ul(t,n,e,r,i,o){return B(s=>il(t,n,e,r,s.extractedUrl,i,o).pipe(R(({state:a,tree:u})=>x(h({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function cl(t,n){return B(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return f(e);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let c of Ys(u))s.add(c);let a=0;return L(s).pipe(pe(u=>o.has(u)?ll(u,r,t,n):(u.data=tr(u,u.parent,t).resolve,f(void 0))),N(()=>a++),vr(1),B(u=>a===s.size?f(e):fe))})}function Ys(t){let n=t.children.map(e=>Ys(e)).flat();return[t,...n]}function ll(t,n,e,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!js(i)&&(o[Jt]=i.title),dl(o,t,n,r).pipe(R(s=>(t._resolvedData=s,t.data=tr(t,t.parent,e).resolve,null)))}function dl(t,n,e,r){let i=oi(t);if(i.length===0)return f({});let o={};return L(i).pipe(B(s=>hl(t[s],n,e,r).pipe(Ce(),N(a=>{if(a instanceof ft)throw nr(new Ae,a);o[s]=a}))),vr(1),R(()=>o),Oe(s=>Gs(s)?fe:vt(s)))}function hl(t,n,e,r){let i=Qt(n)??r,o=gt(t,i),s=o.resolve?o.resolve(n,e):W(i,()=>o(n,e));return Ie(s)}function ri(t){return V(n=>{let e=t(n);return e?L(e).pipe(R(()=>n)):f(n)})}var Si=(()=>{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===D);return r}getResolvedTitleForRoute(e){return e.data[Jt]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>d(Ks),providedIn:"root"})}return t})(),Ks=(()=>{class t extends Si{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(g(ps))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),He=new C("",{providedIn:"root",factory:()=>({})}),Ge=new C(""),sr=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(fo);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return f(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let r=Ie(e.loadComponent()).pipe(R(Js),N(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),We(()=>{this.componentLoaders.delete(e)})),i=new fr(r,()=>new J).pipe(hr());return this.componentLoaders.set(e,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return f({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Xs(r,this.compiler,e,this.onLoadEndListener).pipe(We(()=>{this.childrenLoaders.delete(r)})),s=new fr(o,()=>new J).pipe(hr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Xs(t,n,e,r){return Ie(t.loadChildren()).pipe(R(Js),B(i=>i instanceof oo||Array.isArray(i)?f(i):L(n.compileModuleAsync(i))),R(i=>{r&&r(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(Ge,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ei),injector:o}}))}function fl(t){return t&&typeof t=="object"&&"default"in t}function Js(t){return fl(t)?t.default:t}var ar=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>d(pl),providedIn:"root"})}return t})(),pl=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ri=new C(""),bi=new C("");function Qs(t,n,e){let r=t.get(bi),i=t.get(M);return t.get(Z).runOutsideAngular(()=>
2{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),gl(t))),{onViewTransitionCreated:u}=r;return u&&W(t,()=>u({transition:a,from:n,to:e})),s})}function gl(t){return new Promise(n=>{Zi({read:()=>setTimeout(n)},{injector:t})})}var Ai=new C(""),nn=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new J;transitionAbortSubject=new J;configLoader=d(sr);environmentInjector=d(Ee);destroyRef=d(an);urlSerializer=d(Me);rootContexts=d(Ve);location=d(Se);inputBindingEnabled=d(en,{optional:!0})!==null;titleStrategy=d(Si);options=d(He,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(ar);createViewTransition=d(Ri,{optional:!0});navigationErrorHandler=d(Ai,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>f(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new Wn(i)),r=i=>this.events.next(new Zn(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;this.transitions?.next(x(h({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r}))}setupNavigations(e){return this.transitions=new q(null),this.transitions.pipe(oe(r=>r!==null),V(r=>{let i=!1,o=!1;return f(r).pipe(V(s=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",z.SupersededByNewNavigation),fe;this.currentTransition=r,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?x(h({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&u!=="reload"){let c="";return this.events.next(new le(s.id,this.urlSerializer.serialize(s.rawUrl),c,ct.IgnoredSameUrlNavigation)),s.resolve(!1),fe}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return f(s).pipe(V(c=>(this.events.next(new _e(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?fe:Promise.resolve(c))),ul(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),N(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation=x(h({},this.currentNavigation),{finalUrl:c.urlAfterRedirects});let l=new Gt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:c,extractedUrl:l,source:p,restoredState:E,extras:m}=s,A=new _e(c,this.urlSerializer.serialize(l),p,E);this.events.next(A);let y=Us(this.rootComponentType).snapshot;return this.currentTransition=r=x(h({},s),{targetSnapshot:y,urlAfterRedirects:l,extras:x(h({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=l,f(r)}else{let c="";return this.events.next(new le(s.id,this.urlSerializer.serialize(s.extractedUrl),c,ct.IgnoredByUrlHandlingStrategy)),s.resolve(!1),fe}}),N(s=>{let a=new Vn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),R(s=>(this.currentTransition=r=x(h({},s),{guards:_c(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),r)),Bc(this.environmentInjector,s=>this.events.next(s)),N(s=>{if(r.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw nr(this.urlSerializer,s.guardsResult);let a=new Hn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),oe(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",z.GuardRejected),!1)),ri(s=>{if(s.guards.canActivateChecks.length!==0)return f(s).pipe(N(a=>{let u=new Gn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),V(a=>{let u=!1;return f(a).pipe(cl(this.paramsInheritanceStrategy,this.environmentInjector),N({next:()=>u=!0,complete:()=>
2{u||this.cancelNavigationTransition(a,"",z.NoDataFromResolver)}}))}),N(a=>{let u=new qn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}))}),ri(s=>{let a=u=>{let c=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(u.routeConfig).pipe(N(l=>{u.component=l}),R(()=>{})));for(let l of u.children)c.push(...a(l));return c};return sn(a(s.targetSnapshot.root)).pipe(mr(null),qe(1))}),ri(()=>this.afterPreactivation()),V(()=>{let{currentSnapshot:s,targetSnapshot:a}=r,u=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return u?L(u).pipe(R(()=>r)):f(r)}),R(s=>{let a=Sc(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=r=x(h({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,r}),N(()=>{this.events.next(new qt)}),Tc(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),qe(1),N({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new X(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),ji(this.transitionAbortSubject.pipe(N(s=>{throw s}))),We(()=>{!i&&!o&&this.cancelNavigationTransition(r,"",z.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),Oe(s=>{if(this.destroyed)return r.resolve(!1),fe;if(o=!0,Hs(s))this.events.next(new ue(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode)),Ac(s)?this.events.next(new ht(s.url,s.navigationBehaviorOptions)):r.resolve(!1);else{let a=new lt(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);try{let u=W(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(u instanceof ft){let{message:c,cancellationCode:l}=nr(this.urlSerializer,u);this.events.next(new ue(r.id,this.urlSerializer.serialize(r.extractedUrl),c,l)),this.events.next(new ht(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return fe}))}))}cancelNavigationTransition(e,r,i){let o=new ue(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=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ml(t){return t!==jn}var ea=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>d(vl),providedIn:"root"})}return t})(),ir=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},vl=(()=>{class t extends ir{static \u0275fac=(()=>{let e;return function(i){return(e||(e=yr(t)))(i||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ta=(()=>{class t{urlSerializer=d(Me);options=d(He,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=d(Se);urlHandlingStrategy=d(ar);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ce;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 ce?this.urlSerializer.serialize(s):s}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=Us(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>d(Dl),providedIn:"root"})}return t})(),Dl=(()=>{class t extends ta{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate")})})}handleRouterEvent(e,r){e instanceof _e?this.updateStateMemento():e instanceof le?this.commitTransition(r):e instanceof Gt?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof qt?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof ue&&(e.code===z.GuardRejected||e.code===z.NoDataFromRe
vendor: 5,366 bytes, line 2
2solver)?this.restoreHistory(r):e instanceof lt?this.restoreHistory(r,!0):e instanceof X&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:r,id:i}){let{replaceUrl:o,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,u=h(h({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",u)}else{let a=h(h({},s),this.generateNgRouterState(i,this.browserPageId+1));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())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=yr(t)))(i||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ur(t,n){t.events.pipe(oe(e=>e instanceof X||e instanceof ue||e instanceof lt||e instanceof le),R(e=>e instanceof X||e instanceof le?0:(e instanceof ue?e.code===z.Redirect||e.code===z.SupersededByNewNavigation:!1)?2:1),oe(e=>e!==2),qe(1)).subscribe(()=>{n()})}var yl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},he=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(br);stateManager=d(ta);options=d(He,{optional:!0})||{};pendingTasks=d(un);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(nn);urlSerializer=d(Me);location=d(Se);urlHandlingStrategy=d(ar);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(ea);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(Ge,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(en,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Oi;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof ue&&r.code!==z.Redirect&&r.code!==z.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof X)this.navigated=!0;else if(r instanceof ht){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),u=h({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ml(i.source)},s);this.scheduleNavigation(a,jn,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}El(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.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),jn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i)=>{this.navigateToSyncWithBrowser(e,i,r)})}navigateToSyncWithBrowser(e,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let u=h({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(e);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return 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&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=r,c=u?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=h(h({},this.currentUrlTree.queryParams),o);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let p;try{let E=i?i.snapshot:this.routerState.snapshot.root;p=Ns(E)}
2catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),p=this.currentUrlTree.root}return Ls(p,e,l,c??null)}navigateByUrl(e,r={skipLocationChange:!1}){let i=Te(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,jn,null,r)}navigate(e,r={skipLocationChange:!1}){return Cl(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=h({},yl):r===!1?i=h({},wl):i=r,Te(e))return gs(this.currentUrlTree,e,i);let o=this.parseUrl(e);return gs(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){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((p,E)=>{a=p,u=E});let l=this.pendingTasks.add();return ur(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(p=>Promise.reject(p))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Cl(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new S(4008,!1)}function El(t){return!(t instanceof qt)&&!(t instanceof ht)}var na=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new J;constructor(e,r,i,o,s,a){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof X&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Te(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let r=this.href===null?null:no(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:Te(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||t)(j(he),j(de),wr("tabindex"),j(Et),j(yt),j(ee))};static \u0275dir=Qe({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&ho("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&uo("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",bt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",bt],replaceUrl:[2,"replaceUrl","replaceUrl",bt],routerLink:"routerLink"},features:[Dt]})}return t})();var rn=class{};var ra=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(oe(e=>e instanceof X),pe(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=cn(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return L(i).pipe(pr())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(e,r):i=f(null);let o=i.pipe(B(s=>s===null?f(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return L([o,s]).pipe(pr())}else return o}
2)}static \u0275fac=function(r){return new(r||t)(g(he),g(Ee),g(rn),g(sr))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_i=new C(""),ia=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,r,i,o,s={}){this.urlSerializer=e,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof _e?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof X?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof le&&e.code===ct.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof dt&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new dt(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){io()};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();function Sl(t,...n){return Ze([{provide:Ge,multi:!0,useValue:t},[],{provide:de,useFactory:oa,deps:[he]},{provide:St,multi:!0,useFactory:sa},n.map(e=>e.\u0275providers)])}function oa(t){return t.routerState.root}function mt(t,n){return{\u0275kind:t,\u0275providers:n}}function Rl(t={}){return mt(4,[{provide:_i,useFactory:()=>{let e=d(Ur),r=d(Z),i=d(nn),o=d(Me);return new ia(o,i,e,r,t)}}])}function sa(){let t=d(Ne);return n=>{let e=t.get(Rt);if(n!==e.components[0])return;let r=t.get(he),i=t.get(aa);t.get(Ii)===1&&r.initialNavigation(),t.get(la,null,Dr.Optional)?.setUpPreloading(),t.get(_i,null,Dr.Optional)?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var aa=new C("",{factory:()=>new J}),Ii=new C("",{providedIn:"root",factory:()=>1});function ua(){let t=[{provide:Ii,useValue:0},Ar(()=>{let n=d(Ne);return n.get(Ir,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(he),o=n.get(aa);ur(i,()=>{r(!0)}),n.get(nn).afterPreactivation=()=>(r(!0),o.closed?f(void 0):o),i.initialNavigation()}))})];return mt(2,t)}function ca(){let t=[Ar(()=>{d(he).setUpLocationChangeListener()}),{provide:Ii,useValue:2}];return mt(3,t)}var la=new C("");function da(t){return mt(0,[{provide:la,useExisting:ra},{provide:rn,useExisting:t}])}function ha(){return mt(8,[wi,{provide:en,useExisting:wi}])}function fa(t){wt("NgRouterViewTransitions");let n=[{provide:Ri,useValue:Qs},{provide:bi,useValue:h({skipNextTransition:!!t?.skipInitialTransition},t)}];return mt(9,n)}var pa=[Se,{provide:Me,useClass:Ae},he,Ve,{provide:de,useFactory:oa,deps:[he]},sr,[]],bl=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[pa,[],{provide:Ge,multi:!0,useValue:e},[],r?.errorHandler?{provide:Ai,useValue:r.errorHandler}:[],{provide:He,useValue:r||{}},r?.useHash?Tl():_l(),Al(),r?.preloadingStrategy?da(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Il(r):[],r?.bindToComponentInputs?ha().\u0275providers:[],r?.enableViewTransitions?fa().\u0275providers:[],Ml()]}}static forChild(e){return{ngModule:t,providers:[{provide:Ge,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=xe({type:t});static \u0275inj=Pe({})}return t})();function Al(){return{provide:_i,useFactory:()=>{let t=d(Ur),n=d(Z),e=d(He),r=d(nn),i=d(Me);return e.scrollOffset&&t.setOffset(e.scrollOffset),new ia(i,r,t,n,e)}}}function Tl(){return{provide:ee,useClass:kr}}
2function _l(){return{provide:ee,useClass:pn}}function Il(t){return[t.initialNavigation==="disabled"?ca().\u0275providers:[],t.initialNavigation==="enabledBlocking"?ua().\u0275providers:[]]}var Ti=new C("");function Ml(){return[{provide:Ti,useFactory:sa},{provide:St,multi:!0,useExisting:Ti}]}export{M as a,se as b,Ma as c,Pa as d,La as e,xa as f,$o as g,Ua as h,En as i,ih as j,nu as k,ne as l,De as m,as as n,Iu as o,Mu as p,Fu as q,Uf as r,ps as s,qu as t,Bf as u,jf as v,X as w,de as x,yi as y,he as z,na as A,Sl as B,Rl as C,bl as D};
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.