vendor: 8,602 bytes, line 1
1import{$ as T,$b as Xe,A as mn,Aa as Zi,Ab as ao,B as xe,Bb as co,C as Cr,D as se,Da as pt,E as Hi,Ea as Xi,Eb as uo,F as O,Fa as wn,G as lt,Ga as Lt,H as fe,Ha as Cn,I as m,Ia as Ji,J as ke,Ja as gt,Ka as X,L as h,La as Qi,Ma as Tr,N as Vi,Na as eo,O as b,Oa as Mr,P as E,Pa as to,Q as l,Qb as lo,R as dt,Ra as Be,Rb as Sn,Sa as no,Sb as F,T as Gi,Tb as y,U as pe,Ua as _r,Ub as Fr,V as K,Va as Or,Vb as ho,Wa as En,Xa as Ut,Xb as fo,Ya as ro,Zb as po,_ as ye,_b as go,a as p,aa as Z,ac as mo,b as j,ba as qi,bc as Ie,c as Ui,ca as Ke,cc as Pr,d as xi,da as Ze,dc as vo,e as ki,ea as Er,ec as yo,f as Ye,fa as Nt,g as be,gb as io,h as ie,ha as w,i as ji,ia as Sr,j as oe,ja as ht,k as te,ka as je,l as g,la as $e,m as $i,ma as br,mb as ae,n as yr,na as ft,nb as B,o as Bi,oa as Wi,p as C,pa as Rr,q as Dr,qa as Yi,r as Re,ra as H,s as wr,sa as vn,t as zi,ta as Ki,tb as oo,u as gn,ua as Ir,va as yn,w as he,wa as Dn,x as L,xa as Ar,y as ct,yb as so,z as ut}from"./chunk-B6JJDYZC.js";var Do=null;function De(){return Do}function Nr(t){Do??=t}var xt=class{},Je=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:()=>l(wo),providedIn:"platform"})}return t})();var wo=(()=>{class t extends Je{_location;_history;_doc=l(T);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return De().getBaseHref(this._doc)}onPopState(e){let n=De().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=De().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,n,i){this._history.pushState(e,n,i)}replaceState(e,n,i){this._history.replaceState(e,n,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function So(t,r){return t?r?t.endsWith("/")?r.startsWith("/")?t+r.slice(1):t+r:r.startsWith("/")?t+r:`${t}/${r}`:t:r}function Co(t){let r=t.search(/#|\?|$/);return t[r-1]==="/"?t.slice(0,r-1)+t.slice(r):t}function ze(t){return t&&t[0]!=="?"?`?${t}`:t}var Qe=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:()=>l(bo),providedIn:"root"})}return t})(),pa=new b(""),bo=(()=>{class t extends Qe{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??l(T).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 So(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+ze(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${n}${i}`:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+ze(o));this._platformLocation.pushState(e,n,s)}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+ze(o));this._platformLocation.replaceState(e,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(E(Je),E(pa,8))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ae=(()=>{class t{_subject=new be;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=va(Co(Eo(n))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+ze(n))}normalize(e){return t.stripTrailingSlash(ma(this._basePath,Eo(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",i=null){this._locationStrategy.pushState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ze(n)),i)}replaceState(e,n="",i=null){this._locationStrategy.replaceState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ze(n)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(i=>i(e,n))}subscribe(e,n,i){return this._subject.subscribe({next:e,error:n??void 0,complete:i??void 0})}static normalizeQueryParams=ze;static joinWithSlash=So;static stripTrailingSlash=Co;static \u0275fac=function(n){return new(n||t)(E(Qe))};static \u0275prov=h({token:t,factory:()=>ga(),providedIn:"root"})}return t})();function ga(){return new Ae(E(Qe))}function ma(t,r){if(!t||!r.startsWith(t))return r;let e=r.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:r}function Eo(t){return t.replace(/\/index.html$/,"")}function va(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var V=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(V||{}),M=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(M||{}),J=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(J||{}),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 Io(t){return ae(t)[B.LocaleId]}function Ao(t,r,e){let n=ae(t),i=[n[B.DayPeriodsFormat],n[B.DayPeriodsStandalone]],o=ce(i,r);return ce(o,e)}function To(t,r,e){let n=ae(t),i=[n[B.DaysFormat],n[B.DaysStandalone]],o=ce(i,r);return ce(o,e)}function Mo(t,r,e){let n=ae(t),i=[n[B.MonthsFormat],n[B.MonthsStandalone]],o=ce(i,r);return ce(o,e)}function _o(t,r){let n=ae(t)[B.Eras];return ce(n,r)}function kt(t,r){let e=ae(t);return ce(e[B.DateFormat],r)}function jt(t,r){let e=ae(t);return ce(e[B.TimeFormat],r)}function $t(t,r){let n=ae(t)[B.DateTimeFormat];return ce(n,r)}function Bt(t,r){let e=ae(t),n=e[B.NumberSymbols][r];if(typeof n>"u"){if(r===Me.CurrencyDecimal)return e[B.NumberSymbols][Me.Decimal];if(r===Me.CurrencyGroup)return e[B.NumberSymbols][Me.Group]}return n}function Oo(t){if(!t[B.ExtraData])throw new m(2303,!1)}function Fo(t){let r=ae(t);return Oo(r),(r[B.ExtraData][2]||[]).map(n=>typeof n=="string"?Lr(n):[Lr(n[0]),Lr(n[1])])}function Po(t,r,e){let n=ae(t);Oo(n);let i=[n[B.ExtraData][0],n[B.ExtraData][1]],o=ce(i,r)||[];return ce(o,e)||[]}function ce(t,r){for(let e=r;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new m(2304,!1)}function Lr(t){let[r,e]=t.split(":");return{hours:+r,minutes:+e}}var ya=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,bn={},Da=/((?:[^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 No(t,r,e,n){let i=Ta(t);r=Te(e,r)||r;let s=[],a;for(;r;)if(a=Da.exec(r),a){s=s.concat(a.slice(1));let d=s.pop();if(!d)break;r=d}else{s.push(r);break}let c=i.getTimezoneOffset();n&&(c=Uo(n,c),i=Aa(i,n));let u="";
vendor: 1,092 bytes, line 1
1return s.forEach(d=>{let f=Ra(d);u+=f?f(i,e,c):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Mn(t,r,e){let n=new Date(0);return n.setFullYear(t,r,e),n.setHours(0,0,0),n}function Te(t,r){let e=Io(t);if(bn[e]??={},bn[e][r])return bn[e][r];let n="";switch(r){case"shortDate":n=kt(t,J.Short);break;case"mediumDate":n=kt(t,J.Medium);break;case"longDate":n=kt(t,J.Long);break;case"fullDate":n=kt(t,J.Full);break;case"shortTime":n=jt(t,J.Short);break;case"mediumTime":n=jt(t,J.Medium);break;case"longTime":n=jt(t,J.Long);break;case"fullTime":n=jt(t,J.Full);break;case"short":let i=Te(t,"shortTime"),o=Te(t,"shortDate");n=Rn($t(t,J.Short),[i,o]);break;case"medium":let s=Te(t,"mediumTime"),a=Te(t,"mediumDate");n=Rn($t(t,J.Medium),[s,a]);break;case"long":let c=Te(t,"longTime"),u=Te(t,"longDate");n=Rn($t(t,J.Long),[c,u]);break;case"full":let d=Te(t,"fullTime"),f=Te(t,"fullDate");n=Rn($t(t,J.Full),[d,f]);break}return n&&(bn[e][r]=n),n}function Rn(t,r){return r&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return r!=null&&n in r?r[n]:e})),t}function ge(t,r,e="-",n,i){let o="";
vendor: 4,124 bytes, line 1
1(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<r;)s="0"+s;return n&&(s=s.slice(s.length-r)),o+s}function wa(t,r){return ge(t,3).substring(0,r)}function $(t,r,e=0,n=!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,r);let c=Bt(s,Me.MinusSign);return ge(a,r,c,n,i)}}function Ca(t,r){switch(t){case 0:return r.getFullYear();case 1:return r.getMonth();case 2:return r.getDate();case 3:return r.getHours();case 4:return r.getMinutes();case 5:return r.getSeconds();case 6:return r.getMilliseconds();case 7:return r.getDay();default:throw new m(2301,!1)}}function _(t,r,e=V.Format,n=!1){return function(i,o){return Ea(i,o,t,r,e,n)}}function Ea(t,r,e,n,i,o){switch(e){case 2:return Mo(r,i,n)[t.getMonth()];case 1:return To(r,i,n)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let u=Fo(r),d=Po(r,i,n),f=u.findIndex(v=>{if(Array.isArray(v)){let[x,P]=v,A=s>=x.hours&&a>=x.minutes,S=s<P.hours||s===P.hours&&a<P.minutes;if(x.hours<P.hours){if(A&&S)return!0}else if(A||S)return!0}else if(v.hours===s&&v.minutes===a)return!0;return!1});if(f!==-1)return d[f]}return Ao(r,i,n)[s<12?0:1];case 3:return _o(r,n)[t.getFullYear()<=0?0:1];default:let c=e;throw new m(2302,!1)}}function In(t){return function(r,e,n){let i=-1*n,o=Bt(e,Me.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+ge(s,2,o)+ge(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+ge(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+ge(s,2,o)+":"+ge(Math.abs(i%60),2,o);case 3:return n===0?"Z":(i>=0?"+":"")+ge(s,2,o)+":"+ge(Math.abs(i%60),2,o);default:throw new m(2310,!1)}}}var Sa=0,Tn=4;function ba(t){let r=Mn(t,Sa,1).getDay();return Mn(t,0,1+(r<=Tn?Tn:Tn+7)-r)}function Lo(t){let r=t.getDay(),e=r===0?-3:Tn-r;return Mn(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Ur(t,r=!1){return function(e,n){let i;if(r){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=Lo(e),s=ba(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return ge(i,t,Bt(n,Me.MinusSign))}}function An(t,r=!1){return function(e,n){let o=Lo(e).getFullYear();return ge(o,t,Bt(n,Me.MinusSign),r)}}var xr={};function Ra(t){if(xr[t])return xr[t];let r;switch(t){case"G":case"GG":case"GGG":r=_(3,M.Abbreviated);break;case"GGGG":r=_(3,M.Wide);break;case"GGGGG":r=_(3,M.Narrow);break;case"y":r=$(0,1,0,!1,!0);break;case"yy":r=$(0,2,0,!0,!0);break;case"yyy":r=$(0,3,0,!1,!0);break;case"yyyy":r=$(0,4,0,!1,!0);break;case"Y":r=An(1);break;case"YY":r=An(2,!0);break;case"YYY":r=An(3);break;case"YYYY":r=An(4);break;case"M":case"L":r=$(1,1,1);break;case"MM":case"LL":r=$(1,2,1);break;case"MMM":r=_(2,M.Abbreviated);break;case"MMMM":r=_(2,M.Wide);break;case"MMMMM":r=_(2,M.Narrow);break;case"LLL":r=_(2,M.Abbreviated,V.Standalone);break;case"LLLL":r=_(2,M.Wide,V.Standalone);break;case"LLLLL":r=_(2,M.Narrow,V.Standalone);break;case"w":r=Ur(1);break;case"ww":r=Ur(2);break;case"W":r=Ur(1,!0);break;case"d":r=$(2,1);break;case"dd":r=$(2,2);break;case"c":case"cc":r=$(7,1);break;case"ccc":r=_(1,M.Abbreviated,V.Standalone);break;case"cccc":r=_(1,M.Wide,V.Standalone);break;case"ccccc":r=_(1,M.Narrow,V.Standalone);break;case"cccccc":r=_(1,M.Short,V.Standalone);break;case"E":case"EE":case"EEE":r=_(1,M.Abbreviated);break;case"EEEE":r=_(1,M.Wide);break;case"EEEEE":r=_(1,M.Narrow);break;case"EEEEEE":r=_(1,M.Short);break;case"a":case"aa":case"aaa":r=_(0,M.Abbreviated);break;case"aaaa":r=_(0,M.Wide);break;case"aaaaa":r=_(0,M.Narrow);break;case"b":case"bb":case"bbb":r=_(0,M.Abbreviated,V.Standalone,!0);break;case"bbbb":r=_(0,M.Wide,V.Standalone,!0);break;case"bbbbb":r=_(0,M.Narrow,V.Standalone,!0);break;case"B":case"BB":case"BBB":r=_(0,M.Abbreviated,V.Format,!0);break;case"BBBB":r=_(0,M.Wide,V.Format,!0);break;case"BBBBB":r=_(0,M.Narrow,V.Format,!0);break;case"h":r=$(3,1,-12);break;case"hh":r=$(3,2,-12);break;case"H":r=$(3,1);break;case"HH":r=$(3,2);break;case"m":r=$(4,1);break;case"mm":r=$(4,2);break;case"s":r=$(5,1);break;case"ss":r=$(5,2);break;case"S":r=$(6,1);break;case"SS":r=$(6,2);break;
vendor: 27,203 bytes, lines 1-2
1case"SSS":r=$(6,3);break;case"Z":case"ZZ":case"ZZZ":r=In(0);break;case"ZZZZZ":r=In(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":r=In(1);break;case"OOOO":case"ZZZZ":case"zzzz":r=In(2);break;default:return null}return xr[t]=r,r}function Uo(t,r){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?r:e}function Ia(t,r){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+r),t}function Aa(t,r,e){let i=t.getTimezoneOffset(),o=Uo(r,i);return Ia(t,-1*(o-i))}function Ta(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 Mn(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(ya))return Ma(n)}let r=new Date(t);if(!Ro(r))throw new m(2311,!1);return r}function Ma(t){let r=new Date(0),e=0,n=0,i=t[8]?r.setUTCFullYear:r.setFullYear,o=t[8]?r.setUTCHours:r.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(r,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return o.call(r,s,a,c,u),r}function Ro(t){return t instanceof Date&&!isNaN(t.valueOf())}function _a(t,r){return new m(2100,!1)}var Oa="mediumDate",xo=new b(""),ko=new b(""),Fa=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,i){this.locale=e,this.defaultTimezone=n,this.defaultOptions=i}transform(e,n,i,o){if(e==null||e===""||e!==e)return null;try{let s=n??this.defaultOptions?.dateFormat??Oa,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return No(e,s,o||this.locale,a)}catch(s){throw _a(t,s.message)}}static \u0275fac=function(n){return new(n||t)(X(Sn,16),X(xo,24),X(ko,24))};static \u0275pipe=no({name:"date",type:t,pure:!0})}return t})();function zt(t,r){r=encodeURIComponent(r);for(let e of t.split(";")){let n=e.indexOf("="),[i,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(i.trim()===r)return decodeURIComponent(o)}return null}var et=class{};var jr="browser",ka="server";function He(t){return t===jr}function Ht(t){return t===ka}var $o=(()=>{class t{static \u0275prov=h({token:t,providedIn:"root",factory:()=>new kr(l(T),window)})}return t})(),kr=class{document;window;offset=()=>[0,0];constructor(r,e){this.document=r,this.window=e}setOffset(r){Array.isArray(r)?this.offset=()=>r:this.offset=r}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(r,e){this.window.scrollTo(j(p({},e),{left:r[0],top:r[1]}))}scrollToAnchor(r,e){let n=ja(this.document,r);n&&(this.scrollToElement(n,e),n.focus({preventScroll:!0}))}setHistoryScrollRestoration(r){try{this.window.history.scrollRestoration=r}catch{console.warn(ke(2400,!1))}}scrollToElement(r,e){let n=r.getBoundingClientRect(),i=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(j(p({},e),{left:i-s[0],top:o-s[1]}))}};function ja(t,r){let e=t.getElementById(r)||t.getElementsByName(r)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(r)||o.querySelector(`[name="${r}"]`);if(s)return s}i=n.nextNode()}}return null}var Bo=t=>t.src,$a=new b("",{factory:()=>Bo});var jo=/^((\s*\d+w\s*(,|$)){1,})$/;var Ba=[1,2],za=640;var Ha=1920,Va=1080;var Th=(()=>{class t{imageLoader=l($a);config=Ga(l(Ir));renderer=l(gt);imgElement=l(ft).nativeElement;injector=l(ye);destroyRef=l(Z);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,"loading")})}ngOnInit(){Lt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let e=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&jo.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(e){if(e.ngSrc&&!e.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}getAspectRatio(){return this.width&&this.height&&this.height!==0?this.width/this.height:null}callImageLoader(e){let n=e;this.loaderParams&&(n.loaderParams=this.loaderParams);let i=this.getAspectRatio();return i!==null&&n.width&&(n.height=Math.round(n.width/i)),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){let e=jo.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let o=e?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:e}=this.config,n=e;return this.sizes?.trim()==="100vw"&&(n=e.filter(o=>o>=za)),n.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return Ba.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>Ha||this.height>Va),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Bo&&!e}generatePlaceholder(e){let{placeholderResolution:n}=this.config;return e===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof e=="string"?`url(${e})`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")?!0:!!e.blur}removePlaceholderOnLoad(e){let n=()=>{let s=this.injector.get(Xe);i(),o(),this.placeholder=!1,s.markForCheck()},i=this.renderer.listen(e,"load",n),o=this.renderer.listen(e,"error",n);this.destroyRef.onDestroy(()=>{i(),o()}),qa(e,n)}setHostAttribute(e,n){this.renderer.setAttribute(this.imgElement,e,n)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=Be({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,i){n&2&&uo("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Wa],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Pr],height:[2,"height","height",Pr],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",Ie],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Ie],fill:[2,"fill","fill",Ie],placeholder:[2,"placeholder","placeholder",Ya],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[je]})}return t})();function Ga(t){let r={};return t.breakpoints&&(r.breakpoints=t.breakpoints.sort((e,n)=>e-n)),Object.assign({},Ki,t,r)}function qa(t,r){t.complete&&t.naturalWidth&&r()}function Wa(t){return typeof t=="string"?t:Ar(t)}function Ya(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:Ie(t)}var Vt=class{_doc;constructor(r){this._doc=r}manager},Fn=(()=>{class t extends Vt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,i,o){return e.addEventListener(n,i,o),()=>this.removeEventListener(e,n,i,o)}removeEventListener(e,n,i,o){return e.removeEventListener(n,i,o)}static \u0275fac=function(n){return new(n||t)(E(T))};static \u0275prov=h({token:t,factory:t.\u0275fac})}return t})(),Ln=new b(""),Hr=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof Fn));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Fn);o&&this._plugins.push(o)}addEventListener(e,n,i,o){return this._findPluginFor(n).addEventListener(e,n,i,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new m(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(E(Ln),E(Ze))};static \u0275prov=h({token:t,factory:t.\u0275fac})}return t})(),$r="ng-app-id";function zo(t){for(let r of t)r.remove()}function Ho(t,r){let e=r.createElement("style");return e.textContent=t,e}function Za(t,r,e,n){let i=t.head?.querySelectorAll(`style[${$r}="${r}"],link[${$r}="${r}"]`);if(i)for(let o of i)o.removeAttribute($r),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function zr(t,r){let e=r.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;constructor(e,n,i,o={}){this.doc=e,this.appId=n,this.nonce=i,Za(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,Ho);n?.forEach(i=>this.addUsage(i,this.external,zr))}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,n,i){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(zo(i.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])zo(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,Ho(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,zr(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(E(T),E(Rr),E(vn,8),E(H))};static \u0275prov=h({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"},Gr=/%COMP%/g;var Go="%COMP%",Xa=`_nghost-${Go}`,Ja=`_ngcontent-${Go}`,Qa=!0,ec=new b("",{factory:()=>Qa});function tc(t){return Ja.replace(Gr,t)}function nc(t){return Xa.replace(Gr,t)}function qo(t,r){return r.map(e=>e.replace(Gr,t))}var qr=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,n,i,o,s,a,c=null,u=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new Gt(e,s,a,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,n);return i instanceof Nn?i.applyToHost(e):i instanceof qt&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,o=i.get(n.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.tracingService;switch(n.encapsulation){case Dn.Emulated:o=new Nn(c,u,n,this.appId,d,s,a,f);break;case Dn.ShadowDom:return new Pn(c,e,n,s,a,this.nonce,f,u);case Dn.ExperimentalIsolatedShadowDom:return new Pn(c,e,n,s,a,this.nonce,f);default:o=new qt(c,u,n,d,s,a,f);break}i.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(E(Hr),E(Vr),E(Rr),E(ec),E(T),E(Ze),E(vn),E(wn,8))};static \u0275prov=h({token:t,factory:t.\u0275fac})}return t})(),Gt=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,n,i){this.eventManager=r,this.doc=e,this.ngZone=n,this.tracingService=i}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(Br[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(Vo(r)?r.content:r).appendChild(e)}insertBefore(r,e,n){r&&(Vo(r)?r.content:r).insertBefore(e,n)}removeChild(r,e){e.remove()}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new m(-5104,!1);return e||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,n,i){if(i){e=i+":"+e;let o=Br[i];o?r.setAttributeNS(o,e,n):r.setAttribute(e,n)}else r.setAttribute(e,n)}removeAttribute(r,e,n){if(n){let i=Br[n];i?r.removeAttributeNS(i,e):r.removeAttribute(`${n}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,n,i){i&(pt.DashCase|pt.Important)?r.style.setProperty(e,n,i&pt.Important?"important":""):r.style[e]=n}removeStyle(r,e,n){n&pt.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,n){r!=null&&(r[e]=n)}setValue(r,e){r.nodeValue=e}listen(r,e,n,i){if(typeof r=="string"&&(r=De().getGlobalEventTarget(this.doc,r),!r))throw new m(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;r(e)===!1&&e.preventDefault()}}};function Vo(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Pn=class extends Gt{hostEl;sharedStylesHost;shadowRoot;constructor(r,e,n,i,o,s,a,c){super(r,i,o,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=n.styles;u=qo(n.id,u);for(let f of u){let v=document.createElement("style");s&&v.setAttribute("nonce",s),v.textContent=f,this.shadowRoot.appendChild(v)}let d=n.getExternalStyles?.();if(d)for(let f of d){let v=zr(f,i);s&&v.setAttribute("nonce",s),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,n){return super.insertBefore(this.nodeOrShadowRoot(r),e,n)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},qt=class extends Gt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,n,i,o,s,a,c){super(r,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let u=n.styles;this.styles=c?qo(c,u):u,this.styleUrls=n.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Xi.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Nn=class extends qt{contentAttr;hostAttr;constructor(r,e,n,i,o,s,a,c){let u=i+"-"+n.id;super(r,e,n,o,s,a,c,u),this.contentAttr=tc(u),this.hostAttr=nc(u)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let n=super.createElement(r,e);return super.setAttribute(n,this.contentAttr,""),n}};var Un=class t extends xt{supportsDOMEvents=!0;static makeCurrent(){Nr(new t)}onAndCancel(r,e,n,i){return r.addEventListener(e,n,i),()=>{r.removeEventListener(e,n,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=ic();return e==null?null:oc(e)}resetBaseElement(){Wt=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return zt(document.cookie,r)}},Wt=null;function ic(){return Wt=Wt||document.head.querySelector("base"),Wt?Wt.getAttribute("href"):null}function oc(t){return new URL(t,document.baseURI).pathname}var sc=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac})}return t})(),Wo=["alt","control","meta","shift"],ac={"\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"},cc={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Yo=(()=>{class t extends Vt{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i,o){let s=t.parseEventName(n),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>De().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(n.pop()),s="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),s="code."),Wo.forEach(u=>{let d=n.indexOf(u);d>-1&&(n.splice(d,1),s+=u+".")}),s+=o,n.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,n){let i=ac[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Wo.forEach(s=>{if(s!==i){let a=cc[s];a(e)&&(o+=s+".")}}),o+=i,o===n)}static eventCallback(e,n,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(E(T))};static \u0275prov=h({token:t,factory:t.\u0275fac})}return t})();async function uc(t,r,e){let n=p({rootComponent:t},lc(r,e));return mo(n)}function lc(t,r){return{platformRef:r?.platformRef,appProviders:[...gc,...t?.providers??[]],platformProviders:pc}}function dc(){Un.makeCurrent()}function hc(){return new Er}function fc(){return Wi(document),document}var pc=[{provide:H,useValue:jr},{provide:Yi,useValue:dc,multi:!0},{provide:T,useFactory:fc}];var gc=[{provide:Gi,useValue:"root"},{provide:Er,useFactory:hc},{provide:Ln,useClass:Fn,multi:!0},{provide:Ln,useClass:Yo,multi:!0},qr,Vr,Hr,{provide:Ji,useExisting:qr},{provide:et,useClass:sc},[]];var me=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(` 2`).forEach(e=>{let n=e.indexOf(":");if(n>0){let i=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e))})}clone(r){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case"a":case"s":let n=r.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=(r.op==="a"?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":let o=r.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(r,e){let n=r.toLowerCase();this.maybeSetNormalizedName(r,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(r,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=r.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(r,i)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)))}};var jn=class{map=new Map;set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}},$n=class{encodeKey(r){return Ko(r)}encodeValue(r){return Ko(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function mc(t,r){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,o)),r.decodeValue(i.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var vc=/%(\d[a-f0-9])/gi,yc={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ko(t){return encodeURIComponent(t).replace(vc,(r,e)=>yc[e]??r)}function xn(t){return`${t}`}var _e=class t{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new $n,r.fromString){if(r.fromObject)throw new m(2805,!1);this.map=mc(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{let n=r.fromObject[e],i=Array.isArray(n)?n.map(xn):[xn(n)];this.map.set(e,i)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();let e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){let e=[];return Object.keys(r).forEach(n=>{let i=r[n];Array.isArray(i)?i.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(xn(r.value)),this.map.set(r.param,e);break;case"d":if(r.value!==void 0){let n=this.map.get(r.param)||[],i=n.indexOf(xn(r.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(r.param,n):this.map.delete(r.param)}else{this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null)}};function Dc(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Zo(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Xo(t){return typeof Blob<"u"&&t instanceof Blob}function Jo(t){return typeof FormData<"u"&&t instanceof FormData}function wc(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Yt="Content-Type",Bn="Accept",Qo="text/plain",es="application/json",ts=`${es}, ${Qo}, */*`,mt=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(r,e,n,i){this.url=e,this.method=r.toUpperCase();let o;if(Dc(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new m(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new me,this.context??=new jn,!this.params)this.params=new _e,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Zo(this.body)||Xo(this.body)||Jo(this.body)||wc(this.body)?this.body:this.body instanceof _e?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||Jo(this.body)?null:Xo(this.body)?this.body.type||null:Zo(this.body)?null:typeof this.body=="str
2ing"?Qo:this.body instanceof _e?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?es:null}clone(r={}){let e=r.method||this.method,n=r.url||this.url,i=r.responseType||this.responseType,o=r.keepalive??this.keepalive,s=r.priority||this.priority,a=r.cache||this.cache,c=r.mode||this.mode,u=r.redirect||this.redirect,d=r.credentials||this.credentials,f=r.referrer||this.referrer,v=r.integrity||this.integrity,x=r.referrerPolicy||this.referrerPolicy,P=r.transferCache??this.transferCache,A=r.timeout??this.timeout,S=r.body!==void 0?r.body:this.body,R=r.withCredentials??this.withCredentials,k=r.reportProgress??this.reportProgress,ee=r.headers||this.headers,U=r.params||this.params,Le=r.context??this.context;return r.setHeaders!==void 0&&(ee=Object.keys(r.setHeaders).reduce((Ue,Se)=>Ue.set(Se,r.setHeaders[Se]),ee)),r.setParams&&(U=Object.keys(r.setParams).reduce((Ue,Se)=>Ue.set(Se,r.setParams[Se]),U)),new t(e,n,S,{params:U,headers:ee,context:Le,reportProgress:k,responseType:i,withCredentials:R,transferCache:P,keepalive:o,cache:a,priority:s,timeout:A,mode:c,redirect:u,credentials:d,referrer:f,integrity:v,referrerPolicy:x})}},Oe=(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})(Oe||{}),vt=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(r,e=200,n="OK"){this.headers=r.headers||new me,this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||n,this.url=r.url||null,this.redirected=r.redirected,this.responseType=r.responseType,this.ok=this.status>=200&&this.status<300}},Kt=class t extends vt{constructor(r={}){super(r)}type=Oe.ResponseHeader;clone(r={}){return new t({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},tt=class t extends vt{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null}type=Oe.Response;clone(r={}){return new t({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0,redirected:r.redirected??this.redirected,responseType:r.responseType??this.responseType})}},we=class extends vt{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}},ns=200,Cc=204;var Ec=/^\)\]\}',?\n/,rs=new b(""),kn=(()=>{class t{fetchImpl=l(Yr,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=l(Ze);destroyRef=l(Z);handle(e){return new Ye(n=>{let i=new AbortController;this.doRequest(e,i.signal,n).then(Kr,s=>n.error(new we({error:s})));let o;return e.timeout&&(o=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{o!==void 0&&clearTimeout(o),i.abort()}})}async doRequest(e,n,i){let o=this.createRequestInit(e),s;try{let A=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,p({signal:n},o)));Sc(A),i.next({type:Oe.Sent}),s=await A}catch(A){i.error(new we({error:A,status:A.status??0,statusText:A.statusText,url:e.urlWithParams,headers:A.headers}));return}let a=new me(s.headers),c=s.statusText,u=s.url||e.urlWithParams,d=s.status,f=null;if(e.reportProgress&&i.next(new Kt({headers:a,status:d,statusText:c,url:u})),s.body){let A=s.headers.get("content-length"),S=[],R=s.body.getReader(),k=0,ee,U,Le=typeof Zone<"u"&&Zone.current,Ue=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await R.cancel(),Ue=!0;break}let{done:Pt,value:vr}=await R.read();if(Pt)break;if(S.push(vr),k+=vr.length,e.reportProgress){U=e.responseType==="text"?(U??"")+(ee??=new TextDecoder).decode(vr,{stream:!0}):void 0;let Li=()=>i.next({type:Oe.DownloadProgress,total:A?+A:void 0,loaded:k,partialText:U});Le?Le.run(Li):Li()}}}),Ue){i.complete();return}let Se=this.concatChunks(S,k);try{let Pt=s.headers.get(Yt)??"";f=this.parseBody(e,Se,Pt,d)}catch(Pt){i.error(new we({error:Pt,headers:new me(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}));return}}d===0&&(d=f?ns:0);let v=d>=200&&d<300,x=s.redirected,P=s.type;v?(i.next(new tt({body:f,headers:a,status:d,statusText:c,url:u,redirected:x,responseType:P})),i.complete()):i.error(new we({error:f,headers:a,status:d,statusText:c,url:u,redirected:x,responseType:P}))}parseBody(e,n,i,o){switch(e.responseType){case"json":let s=new TextDecoder().decode(n).replace(Ec,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(o<200||o>=300)return s;throw a}case"text":return new TextDecoder().decode(n);case"blob":return new Blob([n],{type:i});case"arraybuffer":return n.buffer}}createRequestInit(e){let n={},i;if(i=e.credentials,e.withCredentials&&(i="include"),e.headers.forEac
vendor: 6,036 bytes, line 2
2h((o,s)=>n[o]=s.join(",")),e.headers.has(Bn)||(n[Bn]=ts),!e.headers.has(Yt)){let o=e.detectContentTypeHeader();o!==null&&(n[Yt]=o)}return{body:e.serializeBody(),method:e.method,headers:n,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,n){let i=new Uint8Array(n),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac})}return t})(),Yr=class{};function Kr(){}function Sc(t){t.then(Kr,Kr)}var bc=/^\)\]\}',?\n/;var Zr=(()=>{class t{xhrFactory;tracingService=l(wn,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new m(-2800,!1);let n=this.xhrFactory;return g(null).pipe(O(()=>new Ye(o=>{let s=n.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((S,R)=>s.setRequestHeader(S,R.join(","))),e.headers.has(Bn)||s.setRequestHeader(Bn,ts),!e.headers.has(Yt)){let S=e.detectContentTypeHeader();S!==null&&s.setRequestHeader(Yt,S)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let S=e.responseType.toLowerCase();s.responseType=S!=="json"?S:"text"}let a=e.serializeBody(),c=null,u=()=>{if(c!==null)return c;let S=s.statusText||"OK",R=new me(s.getAllResponseHeaders()),k=s.responseURL||e.url;return c=new Kt({headers:R,status:s.status,statusText:S,url:k}),c},d=this.maybePropagateTrace(()=>{let{headers:S,status:R,statusText:k,url:ee}=u(),U=null;R!==Cc&&(U=typeof s.response>"u"?s.responseText:s.response),R===0&&(R=U?ns:0);let Le=R>=200&&R<300;if(e.responseType==="json"&&typeof U=="string"){let Ue=U;U=U.replace(bc,"");try{U=U!==""?JSON.parse(U):null}catch(Se){U=Ue,Le&&(Le=!1,U={error:Se,text:U})}}Le?(o.next(new tt({body:U,headers:S,status:R,statusText:k,url:ee||void 0})),o.complete()):o.error(new we({error:U,headers:S,status:R,statusText:k,url:ee||void 0}))}),f=this.maybePropagateTrace(S=>{let{url:R}=u(),k=new we({error:S,status:s.status||0,statusText:s.statusText||"Unknown Error",url:R||void 0});o.error(k)}),v=f;e.timeout&&(v=this.maybePropagateTrace(S=>{let{url:R}=u(),k=new we({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:R||void 0});o.error(k)}));let x=!1,P=this.maybePropagateTrace(S=>{x||(o.next(u()),x=!0);let R={type:Oe.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(R.total=S.total),e.responseType==="text"&&s.responseText&&(R.partialText=s.responseText),o.next(R)}),A=this.maybePropagateTrace(S=>{let R={type:Oe.UploadProgress,loaded:S.loaded};S.lengthComputable&&(R.total=S.total),o.next(R)});return s.addEventListener("load",d),s.addEventListener("error",f),s.addEventListener("timeout",v),s.addEventListener("abort",f),e.reportProgress&&(s.addEventListener("progress",P),a!==null&&s.upload&&s.upload.addEventListener("progress",A)),s.send(a),o.next({type:Oe.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",d),s.removeEventListener("timeout",v),e.reportProgress&&(s.removeEventListener("progress",P),a!==null&&s.upload&&s.upload.removeEventListener("progress",A)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(n){return new(n||t)(E(et))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Rc(t,r){return r(t)}function Ic(t,r,e){return(n,i)=>K(e,()=>r(n,o=>t(o,i)))}var is=new b("",{factory:()=>[]}),Xr=new b(""),os=new b("",{factory:()=>!0});var Hn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=E(Zr),i},providedIn:"root"})}return t})();var zn=(()=>{class t{backend;injector;chain=null;pendingTasks=l(Sr);contributeToStability=l(os);constructor(e,n){this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(is),...this.injector.get(Xr,[])]));this.chain=n.reduceRight((i,o)=>Ic(i,o,this.injector),Rc)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(mn(n))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(E(Hn),E(pe))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=E(zn),i},providedIn:"root"})}return t})();function Wr(t,r){return{body:r,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var G=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,i={}){let o;if(e instanceof mt)o=e;else{let c;i.headers instanceof me?c=i.headers:c=new me(i.headers);let u;i.params&&(i.params instanceof _e?u=i.params:u=new _e({fromObject:i.params})),o=new mt(e,n,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=g(o).pipe(ct(c=>this.handler.handle(c)));if(e instanceof mt||i.observe==="events")return s;let a=s.pipe(he(c=>c instanceof tt));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(C(c=>
2{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(C(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(C(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(C(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new _e().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,i={}){return this.request("PATCH",e,Wr(i,n))}post(e,n,i={}){return this.request("POST",e,Wr(i,n))}put(e,n,i={}){return this.request("PUT",e,Wr(i,n))}static \u0275fac=function(n){return new(n||t)(E(Jr))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ac=new b("",{factory:()=>!0}),Tc="XSRF-TOKEN",Mc=new b("",{factory:()=>Tc}),_c="X-XSRF-TOKEN",Oc=new b("",{factory:()=>_c}),Fc=(()=>{class t{cookieName=l(Mc);doc=l(T);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=zt(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ss=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=E(Fc),i},providedIn:"root"})}return t})();function Pc(t,r){if(!l(Ac)||t.method==="GET"||t.method==="HEAD")return r(t);try{let i=l(Je).href,{origin:o}=new URL(i),{origin:s}=new URL(t.url,o);if(o!==s)return r(t)}catch{return r(t)}let e=l(ss).getToken(),n=l(Oc);return e!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,e)})),r(t)}var Qr=(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})(Qr||{});function Nc(t,r){return{\u0275kind:t,\u0275providers:r}}function Lc(...t){let r=[G,zn,{provide:Jr,useExisting:zn},{provide:Hn,useFactory:()=>l(rs,{optional:!0})??l(Zr)},{provide:is,useValue:Pc,multi:!0}];for(let e of t)r.push(...e.\u0275providers);return dt(r)}function Uc(){return Nc(Qr.Fetch,[kn,{provide:rs,useExisting:kn},{provide:Hn,useExisting:kn}])}var jc=new b(""),$c="b",Bc="h",zc="s",Hc="st",Vc="u",Gc="rt",ei=new b(""),qc=["GET","HEAD"];function us(t,r){let s=r,{isCacheActive:e}=s,n=Ui(s,["isCacheActive"]),{transferCache:i,method:o}=t;return!(!e||i===!1||o==="POST"&&!n.includePostRequests&&!i||o!=="POST"&&!qc.includes(o)||!n.includeRequestsWithAuthHeaders&&Kc(t)||n.filter?.(t)===!1)}function ls(t,r){let{includeHeaders:e}=t,n=e;return typeof r=="object"&&r.includeHeaders&&(n=r.includeHeaders),n}function Wc(t,r,e,n){let{transferCache:i}=t;if(!us(t,r))return null;if(n)throw new m(2803,!1);let o=t.url,s=ds(t,o),a=e.get(s,null),c=ls(r,i);if(a){let{[$c]:u,[Gc]:d,[Bc]:f,[zc]:v,[Hc]:x,[Vc]:P}=a,A=u;switch(d){case"arraybuffer":A=cs(u);break;case"blob":A=new Blob([cs(u)]);break}let S=new me(f);return new tt({body:A,headers:S,status:v,statusText:x,url:P})}return null}function Yc(t,r){let e=l(ei),n=l(yn),i=l(jc,{optional:!0}),o=Wc(t,e,n,i);if(o)return g(o);let{transferCache:s}=t,a=ls(e,s),c=t.url,u=ds(t,c);return us(t,e),r(t)}function Kc(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function as(t){return[...t.keys()].sort().map(r=>`${r}=${t.getAll(r)}`).join("&")}function ds(t,r){let{params:e,method:n,responseType:i}=t,o=as(e),s=t.serializeBody();s instanceof URLSearchParams?s=as(s):typeof s!="string"&&(s="");let a=[n,i,r,s,o].join("|"),c=Zc(a);return c}function Zc(t){let r=0;for(let e of t)r=Math.imul(31,r)+e.charCodeAt(0)<<0;return r+=2147483648,r.toString()}function cs(t){let r=atob(t);return Uint8Array.from(r,n=>n.charCodeAt(0)).buffer}function ti(t){return[{provide:ei,useFactory:()=>(Lt("NgHttpTransferCache"),p({isCacheActive:!0},t))},{provide:Xr,useValue:Yc,multi:!0},{provide:En,multi:!0,useFactory:()=>{let r=l(Ut),e=l(ei);return()=>{r.whenStable().then(()=>{e.isCacheActive=!1})}}}]}var dp=(()=>{class t{_doc;_dom;
2constructor(e){this._doc=e,this._dom=De()}addTag(e,n=!1){return e?this._getOrCreateElement(e,n):null}addTags(e,n=!1){return e?e.reduce((i,o)=>(o&&i.push(this._getOrCreateElement(o,n)),i),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];let n=this._doc.querySelectorAll(`meta[${e}]`);return n?[].slice.call(n):[]}updateTag(e,n){if(!e)return null;n=n||this._parseSelector(e);let i=this.getTag(n);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,n=!1){if(!n){let s=this._parseSelector(e),a=this.getTags(s).filter(c=>this._containsAttributes(e,c))[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,n){return Object.keys(e).forEach(i=>n.setAttribute(this._getMetaKeyMap(i),e[i])),n}_parseSelector(e){let n=e.name?"name":"property";return`${n}="${e[n]}"`}_containsAttributes(e,n){return Object.keys(e).every(i=>n.getAttribute(this._getMetaKeyMap(i))===e[i])}_getMetaKeyMap(e){return Qc[e]||e}static \u0275fac=function(n){return new(n||t)(E(T))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qc={httpEquiv:"http-equiv"},hs=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(E(T))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Zt=(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})(Zt||{});function fs(t,r=[],e={}){return{\u0275kind:t,\u0275providers:r}}function hp(t){return fs(Zt.HttpTransferCacheOptions,ti(t))}function fp(){return fs(Zt.EventReplay,po())}function pp(...t){let r=[],e=new Set;for(let{\u0275providers:i,\u0275kind:o}of t)e.add(o),i.length&&r.push(i);let n=e.has(Zt.HttpTransferCacheOptions);return dt([[],[],go(),e.has(Zt.NoHttpTransferCache)||n?[]:ti({}),r])}var D="primary",ln=Symbol("RouteTitle"),si=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function rt(t){return new si(t)}function ni(t,r,e){for(let n=0;n<t.length;n++){let i=t[n],o=r[n];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function ws(t,r,e){let n=e.path.split("/"),i=n.indexOf("**");if(i===-1){if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let c={},u=t.slice(0,n.length);return ni(n,u,c)?{consumed:u,posParams:c}:null}if(i!==n.lastIndexOf("**"))return null;let o=n.slice(0,i),s=n.slice(i+1);if(o.length+s.length>t.length||e.pathMatch==="full"&&r.hasChildren()&&e.path!=="**")return null;let a={};return!ni(o,t.slice(0,o.length),a)||!ni(s,t.slice(t.length-s.length),a)?null:{consumed:t,posParams:a}}function Kn(t){return new Promise((r,e)=>{t.pipe(xe()).subscribe({next:n=>r(n),error:n=>e(n)})})}function tu(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!Ce(t[e],r[e]))return!1;return!0}function Ce(t,r){let e=t?ai(t):void 0,n=r?ai(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Cs(t[i],r[i]))return!1;return!0}function ai(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Cs(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,o)=>n[o]===i)}else return t===r}function nu(t){return t.length>0?t[t.length-1]:null}function ot(t){return yr(t)?t:Or(t)?te(Promise.resolve(t)):g(t)}function Es(t){return yr(t)?Kn(t):Promise.resolve(t)}var ru={exact:bs,subset:Rs},Ss={exact:iu,subset:ou,ignored:()=>!0},Ci={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Ei(t,r,e){let n=t instanceof Y?t:r.parseUrl(t);return y(()=>ci(r.lastSuccessfulNavigation()?.finalUrl??new Y,n,p(p({},tn),e)))}function ci(t,r,e){return ru[e.paths](t.root,r.root,e.matrixParams)&&Ss[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function iu(t,r){return Ce(t,r)}function bs(t,r,e){if(!nt(t.segments,r.segments)||!qn(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;
vendor: 12,369 bytes, line 2
2for(let n in r.children)if(!t.children[n]||!bs(t.children[n],r.children[n],e))return!1;return!0}function ou(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>Cs(t[e],r[e]))}function Rs(t,r,e){return Is(t,r,r.segments,e)}function Is(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!nt(i,e)||r.hasChildren()||!qn(i,e,n))}else if(t.segments.length===e.length){if(!nt(t.segments,e)||!qn(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!Rs(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!nt(t.segments,i)||!qn(t.segments,i,n)||!t.children[D]?!1:Is(t.children[D],r,o,n)}}function qn(t,r,e){return r.every((n,i)=>Ss[e](t[i].parameters,n.parameters))}var Y=class{root;queryParams;fragment;_queryParamMap;constructor(r=new I([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=rt(this.queryParams),this._queryParamMap}toString(){return cu.serialize(this)}},I=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wn(this)}},Ve=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=rt(this.parameters),this._parameterMap}toString(){return Ts(this)}};function su(t,r){return nt(t,r)&&t.every((e,n)=>Ce(e.parameters,r[n].parameters))}function nt(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function au(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===D&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==D&&(e=e.concat(r(i,n)))}),e}var st=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:()=>new Ge,providedIn:"root"})}return t})(),Ge=class{parse(r){let e=new li(r);return new Y(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${Xt(r.root,!0)}`,n=du(r.queryParams),i=typeof r.fragment=="string"?`#${uu(r.fragment)}`:"";return`${e}${n}${i}`}},cu=new Ge;function Wn(t){return t.segments.map(r=>Ts(r)).join("/")}function Xt(t,r){if(!t.hasChildren())return Wn(t);if(r){let e=t.children[D]?Xt(t.children[D],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==D&&n.push(`${i}:${Xt(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=au(t,(n,i)=>i===D?[Xt(t.children[D],!1)]:[`${i}:${Xt(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[D]!=null?`${Wn(t)}/${e[0]}`:`${Wn(t)}/(${e.join("//")})`}}function As(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vn(t){return As(t).replace(/%3B/gi,";")}function uu(t){return encodeURI(t)}function ui(t){return As(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yn(t){return decodeURIComponent(t)}function ps(t){return Yn(t.replace(/\+/g,"%20"))}function Ts(t){return`${ui(t.path)}${lu(t.parameters)}`}function lu(t){return Object.entries(t).map(([r,e])=>`;${ui(r)}=${ui(e)}`).join("")}function du(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${Vn(e)}=${Vn(i)}`).join("&"):`${Vn(e)}=${Vn(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var hu=/^[^\/()?;#]+/;function ri(t){let r=t.match(hu);return r?r[0]:""}var fu=/^[^\/()?;=#]+/;function pu(t){let r=t.match(fu);return r?r[0]:""}var gu=/^[^=?&#]+/;function mu(t){let r=t.match(gu);return r?r[0]:""}var vu=/^[^&#]+/;function yu(t){let r=t.match(vu);return r?r[0]:""}var li=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new I([],{}):new I([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(r=0){if(r>50)throw new m(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0,r));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1,r)),(e.length>0||Object.keys(n).length>0)&&(i[D]=new I(e,n)),i}parseSegment(){let r=ri(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(r),new Ve(Yn(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=pu(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=ri(this.remaining);i&&(n=i,this.capture(n))}r[Yn(e)]=Yn(n)}parseQueryParam(r){let e=mu(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=yu(this.remaining);s&&(n=s,this.capture(n))}let i=ps(e),o=ps(n);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r,e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=ri(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new m(4010,!1);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):r&&(s=D);let a=this.parseChildren(e+1);n[s??D]=Object.keys(a).length===1&&a[D]?a[D]:new I([],a),this.consumeOptional("//")}return n}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new m(4011,!1)}};function Ms(t){return t.segments.length>0?new I([],{[D]:t}):t}function _s(t){let r={};for(let[n,i]of Object.entries(t.children)){let o=_s(i);if(n===D&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))r[s]=a;else(o.segments.length>0||o.hasChildren())&&(r[n]=o)}let e=new I(t.segments,r);return Du(e)}function Du(t){if(t.numberOfChildren===1&&t.children[D]){let r=t.children[D];return new I(t.segments.concat(r.segments),r.children)}return t}function qe(t){return t instanceof Y}function Os(t,r,e=null,n=null,i=new Ge){let o=Fs(t);return Ps(o,r,e,n,i)}function Fs(t){let r;function e(o){let s={};for(let c of o.children){let u=e(c);s[c.outlet]=u}let a=new I(o.url,s);return o===t&&(r=a),a}let n=e(t.root),i=Ms(n);return r??i}function Ps(t,r,e,n,i){let o=t;for(;o.parent;)o=o.parent;if(r.length===0)return ii(o,o,o,e,n,i);let s=wu(r);if(s.toRoot())return ii(o,o,new I([],{}),e,n,i);let a=Cu(s,o,t),c=a.processChildren?Qt(a.segmentGroup,a.index,s.commands):Ls(a.segmentGroup,a.index,s.commands);return ii(o,a.segmentGroup,c,e,n,i)}function Zn(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function nn(t){return typeof t=="object"&&t!=null&&t.outlets}function gs(t,r,e){t||="\u0275";let n=new Y;return n.queryParams={[t]:r},e.parse(e.serialize(n)).queryParams[t]}function ii(t,r,e,n,i,o){let s={};for(let[u,d]of Object.entries(n??{}))s[u]=Array.isArray(d)?d.map(f=>gs(u,f,o)):gs(u,d,o);let a;t===r?a=e:a=Ns(t,r,e);let c=Ms(_s(a));return new Y(c,s,i)}function Ns(t,r,e){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===r?n[i]=e:n[i]=Ns(o,r,e)}),new I(t.segments,n)}var Xn=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&Zn(n[0]))throw new m(4003,!1);let i=n.find(nn);if(i&&i!==nu(n))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function wu(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Xn(!0,0,t);let r=0,e=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?r++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Xn(e,r,n)}var Dt=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function Cu(t,r,e){if(t.isAbsolute)return new Dt(r,!0,0);if(!e)return new Dt(r,!1,NaN);if(e.parent===null)return new Dt(e,!0,0);let n=Zn(t.commands[0])?0:1,i=e.segments.length-1+n;return Eu(e,i,t.numberOfDoubleDots)}function Eu(t,r,e){let n=t,i=r,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new m(4005,!1);i=n.segments.length}return new Dt(n,!1,i-o)}function Su(t){return nn(t[0])?t[0].outlets:{[D]:t}}function Ls(t,r,e){if(t??=new I([],{}),t.segments.length===0&&t.hasChildren())return Qt(t,r,e);let n=bu(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new I(t.segments.slice(0,n.pathIndex),{});return o.children[D]=new I(t.segments.slice(n.pathIndex),t.children),Qt(o,0,i)}else return n.match&&i.length===0?new I(t.segments,{}):n.match&&!t.hasChildren()?di(t,r,e):n.match?Qt(t,0,i):di(t,r,e)}function Qt(t,r,e){if(e.length===0)return new I(t.segments,{});{let n=Su(e),i={};if(Object.keys(n).some(o=>o!==D)&&t.children[D]&&t.numberOfChildren===1&&t.children[D].segments.length===0){let o=Qt(t.children[D],r,e);return new I(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Ls(t.children[o],r,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new I(t.segments,i)}}function bu(t,r,e){let n=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let s=t.segments[i],a=e[n];if(nn(a))break;let c=`${a}`,u=n<e.length-1?e[n+1]:null;if(i>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!vs(c,u,s))return o;n+=2}else{if(!vs(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function di(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(nn(o)){let c=Ru(o.outlets);return new I(n,c)}if(i===0&&Zn(e[0])){let c=t.segments[r];n.push(new Ve(c.path,ms(e[0]))),i++;continue}let s=nn(o)?o.outlets[D]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&Zn(a)?(n.push(new Ve(s,ms(a))),i+=2):(n.push(new Ve(s,{})),i++)}return new I(n,{})}function Ru(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=di(new I([],{}),0,n))}),r}function ms(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function vs(t,r,e){return t==e.path&&Ce(r,e.parameters)}var wt="imperative",z=(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})(z||{}),re=class{id;url;constructor(r,e){this.id=r,this.url=e}},We=class extends re{type=z.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Q=class extends re{urlAfterRedirects;type=z.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},q=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
2solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(q||{}),Et=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Et||{}),ue=class extends re{reason;code;type=z.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function Us(t){return t instanceof ue&&(t.code===q.Redirect||t.code===q.SupersededByNewNavigation)}var Ee=class extends re{reason;code;type=z.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},it=class extends re{error;target;type=z.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},rn=class extends re{urlAfterRedirects;state;type=z.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jn=class extends re{urlAfterRedirects;state;type=z.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Qn=class extends re{urlAfterRedirects;state;shouldActivate;type=z.GuardsCheckEnd;constructor(r,e,n,i,o){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},er=class extends re{urlAfterRedirects;state;type=z.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tr=class extends re{urlAfterRedirects;state;type=z.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nr=class{route;type=z.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},rr=class{route;type=z.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ir=class{snapshot;type=z.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},or=class{snapshot;type=z.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sr=class{snapshot;type=z.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ar=class{snapshot;type=z.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},St=class{routerEvent;position;anchor;scrollBehavior;type=z.Scroll;constructor(r,e,n,i){this.routerEvent=r,this.position=e,this.anchor=n,this.scrollBehavior=i}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},bt=class{},on=class{},Rt=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function Iu(t){return!(t instanceof bt)&&!(t instanceof Rt)&&!(t instanceof on)}var cr=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new Mt(this.rootInjector)}},Mt=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new cr(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(E(pe))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ur=class{_root;constructor(r){this._root=r}get root(){return this._root.value}
vendor: 21,855 bytes, line 2
2parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=hi(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=hi(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=fi(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return fi(r,this._root).map(e=>e.value)}};function hi(t,r){if(t===r.value)return r;for(let e of r.children){let n=hi(t,e);if(n)return n}return null}function fi(t,r){if(t===r.value)return[r];for(let e of r.children){let n=fi(t,e);if(n.length)return n.unshift(r),n}return[]}var ne=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function yt(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var sn=class extends ur{snapshot;constructor(r,e){super(r),this.snapshot=e,bi(this,r)}toString(){return this.snapshot.toString()}};function xs(t,r){let e=Au(t,r),n=new ie([new Ve("",{})]),i=new ie({}),o=new ie({}),s=new ie({}),a=new ie(""),c=new Pe(n,i,s,a,o,D,t,e.root);return c.snapshot=e.root,new sn(new ne(c,[]),e)}function Au(t,r){let e={},n={},i={},s=new It([],e,i,"",n,D,t,null,{},r);return new an("",new ne(s,[]))}var Pe=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,o,s,a,c){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(C(u=>u[ln]))??g(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(C(r=>rt(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(C(r=>rt(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Si(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:p(p({},r.params),t.params),data:p(p({},r.data),t.data),resolve:p(p(p(p({},t.data),r.data),i?.data),t._resolvedData)}:n={params:p({},t.params),data:p({},t.data),resolve:p(p({},t.data),t._resolvedData??{})},i&&js(i)&&(n.resolve[ln]=i.title),n}var It=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[ln]}constructor(r,e,n,i,o,s,a,c,u,d){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u,this._environmentInjector=d}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??=rt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=rt(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},an=class extends ur{url;constructor(r,e){super(e),this.url=r,bi(this,e)}toString(){return ks(this._root)}};function bi(t,r){r.value._routerState=t,r.children.forEach(e=>bi(t,e))}function ks(t){let r=t.children.length>0?` { ${t.children.map(ks).join(", ")} } `:"";return`${t.value}${r}`}function oi(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Ce(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Ce(r.params,e.params)||t.paramsSubject.next(e.params),tu(r.url,e.url)||t.urlSubject.next(e.url),Ce(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function pi(t,r){let e=Ce(t.params,r.params)&&su(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||pi(t.parent,r.parent))}function js(t){return typeof t.title=="string"||t.title===null}var $s=new b(""),Ri=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=D;activateEvents=new Ke;deactivateEvents=new Ke;attachEvents=new Ke;detachEvents=new Ke;routerOutletData=fo();parentContexts=l(Mt);location=l(Tr);changeDetector=l(Xe);inputBinder=l(dn,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new m(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new m(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new gi(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=Be({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[je]})}return t})(),gi=class{route;childContexts;parent;outletData;constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===Pe?this.route:r===Mt?this.childContexts:r===$s?this.outletData:this.parent.get(r,e)}},dn=new b(""),Ii=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,i=Dr([n.queryParams,n.params,n.data]).pipe(O(([o,s,a],c)=>(a=p(p(p({},o),s),a),c===0?g(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=vo(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac})}return t})(),Ai=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=to({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&io(0,"router-outlet")},dependencies:[Ri],encapsulation:2})}return t})();function Ti(t){let r=t.children&&t.children.map(Ti),e=r?j(p({},t),{children:r}):p({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==D&&(e.component=Ai),e}function Tu(t,r,e){let n=cn(t,r._root,e?e._root:void 0);return new sn(n,r)}function cn(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=Mu(t,r,e);return new ne(n,i)}else{if(t.shouldAttach(r.value)){let o=t.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(a=>cn(t,a)),s}}let n=_u(r.value),i=r.children.map(o=>cn(t,o));return new ne(n,i)}}function Mu(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return cn(t,n,i);return cn(t,n)})}function _u(t){return new Pe(new ie(t.url),new ie(t.params),new ie(t.queryParams),new ie(t.fragment),new ie(t.data),t.outlet,t.component,t)}var At=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},Bs="ngNavigationCancelingError";function lr(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=qe(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=zs(!1,q.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function zs(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[Bs]=!0,e.cancellationCode=r,e}function Ou(t){return Hs(t)&&qe(t.url)}function Hs(t){return!!t&&t[Bs]}var mi=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),oi(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=yt(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=yt(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:a})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=yt(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=yt(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new ar(o.value.snapshot))}),r.children.length&&this.forwardEvent(new or(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(oi(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),oi(a.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,n)}},dr=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},Ct=class{component;route;constructor(r,e){this.component=r,this.route=e}};function Fu(t,r,e){let n=t._root,i=r?r._root:null;return Jt(n,i,e,[n.value])}function Pu(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function _t(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!Vi(t)?t:r.get(t):n}function Jt(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=yt(r);return t.children.forEach(s=>{Nu(s,o[s.value.outlet],e,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>en(a,e.getContext(s),i)),i}function Nu(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=r?r.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=Lu(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new dr(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Jt(t,r,a?a.children:null,n,i):Jt(t,r,e,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ct(a.outlet.component,s))}else s&&en(r,a,i),i.canActivateChecks.push(new dr(n)),o.component?Jt(t,null,a?a.children:null,n,i):Jt(t,null,e,n,i);return i}function Lu(t,r,e){if(typeof e=="function")return K(r._environmentInjector,()=>e(t,r));switch(e){case"pathParamsChange":return!nt(t.url,r.url);case"pathParamsOrQueryParamsChange":return!nt(t.url,r.url)||!Ce(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pi(t,r)||!Ce(t.queryParams,r.queryParams);default:return!pi(t,r)}}function en(t,r,e){let n=yt(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?r?en(s,r.children.getContext(o),e):en(s,null,e):en(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new Ct(r.outlet.component,i)):e.canDeactivateChecks.push(new Ct(null,i)):e.canDeactivateChecks.push(new Ct(null,i))}function hn(t){return typeof t=="function"}function Uu(t){return typeof t=="boolean"}function xu(t){return t&&hn(t.canLoad)}function ku(t){return t&&hn(t.canActivate)}function ju(t){return t&&hn(t.canActivateChild)}function $u(t){return t&&hn(t.canDeactivate)}function Bu(t){return t&&hn(t.canMatch)}function Vs(t){return t instanceof Bi||t?.name==="EmptyError"}var Gn=Symbol("INITIAL_VALUE");function Tt(){return O(t=>Dr(t.map(r=>r.pipe(ut(1),Hi(Gn)))).pipe(C(r=>{for(let e of r)if(e!==!0){if(e===Gn)return Gn;if(e===!1||zu(e))return e}return!0}),he(r=>r!==Gn),ut(1)))}function zu(t){return qe(t)||t instanceof At}function Gs(t){return t.aborted?g(void 0).pipe(ut(1)):new Ye(r=>{let e=()=>{r.next(),r.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function qs(t){return lt(Gs(t))}function Hu(t){return Re(r=>{let{targetSnapshot:e,currentSnapshot:n,guards:{canActivateChecks:i,canDeactivateChecks:o}}=r;return o.length===0&&i.length===0?g(j(p({},r),{guardsResult:!0})):Vu(o,e,n).pipe(Re(s=>s&&Uu(s)?Gu(e,i,t):g(s)),C(s=>j(p({},r),{guardsResult:s})))})}function Vu(t,r,e){return te(t).pipe(Re(n=>Zu(n.component,n.route,e,r)),xe(n=>n!==!0,!0))}function Gu(t,r,e){return te(r).pipe(ct(n=>zi(Wu(n.route.parent,e),qu(n.route,e),Ku(t,n.path),Yu(t,n.route))),xe(n=>n!==!0,!0))}function qu(t,r){return t!==null&&r&&r(new sr(t)),g(!0)}function Wu(t,r){return t!==null&&r&&r(new ir(t)),g(!0)}function Yu(t,r){let e=r.routeConfig?r.routeConfig.canActivate:null;if(!e||e.length===0)return g(!0);let n=e.map(i=>gn(()=>{let o=r._environmentInjector,s=_t(i,o),a=ku(s)?s.canActivate(r,t):K(o,()=>s(r,t));return ot(a).pipe(xe())}));return g(n).pipe(Tt())}function Ku(t,r){let e=r[r.length-1],i=r.slice(0,r.length-1).reverse().map(o=>Pu(o)).filter(o=>o!==null).map(o=>gn(()=>{let s=o.guards.map(a=>{let c=o.node._environmentInjector,u=_t(a,c),d=ju(u)?u.canActivateChild(e,t):K(c,()=>u(e,t));return ot(d).pipe(xe())});return g(s).pipe(Tt())}));return g(i).pipe(Tt())}function Zu(t,r,e,n){let i=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!i||i.length===0)return g(!0);let o=i.map(s=>{let a=r._environmentInjector,c=_t(s,a),u=$u(c)?c.canDeactivate(t,r,e,n):K(a,()=>c(t,r,e,n));return ot(u).pipe(xe())});return g(o).pipe(Tt())}function Xu(t,r,e,n,i){let o=r.canLoad;if(o===void 0||o.length===0)return g(!0);let s=o.map(a=>{let c=_t(a,t),u=xu(c)?c.canLoad(r,e):K(t,()=>c(r,e)),d=ot(u);return i?d.pipe(qs(i)):d});return g(s).pipe(Tt(),Ws(n))}function Ws(t){return ki(fe(r=>{if(typeof r!="boolean")throw lr(t,r)}),C(r=>r===!0))}function Ju(t,r,e,n,i,o){let s=r.canMatch;if(!s||s.length===0)return g(!0);let a=s.map(c=>{let u=_t(c,t),d=Bu(u)?u.canMatch(r,e,i):K(t,()=>u(r,e,i));return ot(d).pipe(qs(o))});return g(a).pipe(Tt(),Ws(n))}var Fe=class t extends Error{segmentGroup;constructor(r){super(),this.segmentGroup=r||null,Object.setPrototypeOf(this,t.prototype)}},un=class t extends Error{urlTree;constructor(r){super(),this.urlTree=r,Object.setPrototypeOf(this,t.prototype)}};function Qu(t){throw new m(4e3,!1)}function el(t){throw zs(!1,q.GuardRejected)}var vi=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}async lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return n;if(i.numberOfChildren>1||!i.children[D])throw Qu(`${r.redirectTo}`);i=i.children[D]}}async applyRedirectCommands(r,e,n,i,o){let s=await tl(e,i,o);if(s instanceof Y)throw new un(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),r,n);if(s[0]==="/")throw new un(a);return a}applyRedirectCreateUrlTree(r,e,n,i){let o=this.createSegmentGroup(r,e.root,n,i);return new Y(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=e[a]}else n[i]=o}),n}createSegmentGroup(r,e,n,i){let o=this.createSegments(r,e.segments,n,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(r,c,n,i)}),new I(o,s)}createSegments(r,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new m(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}};function tl(t,r,e){if(typeof t=="string")return Promise.resolve(t);let n=t;return Kn(ot(K(e,()=>n(r))))}function nl(t,r){return t.providers&&!t._injector&&(t._injector=Mr(t.providers,r,`Route: ${t.path}`)),t._injector??r}function ve(t){return t.outlet||D}function rl(t,r){let e=t.filter(n=>ve(n)===r);return e.push(...t.filter(n=>ve(n)!==r)),e}var yi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ys(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function il(t,r,e,n,i,o,s){let a=Ks(t,r,e);if(!a.matched)return g(a);let c=Ys(o(a));return n=nl(r,n),Ju(n,r,e,i,c,s).pipe(C(u=>u===!0?a:p({},yi)))}function Ks(t,r,e){if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?p({},yi):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||ws)(e,t,r);if(!i)return p({},yi);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?p(p({},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 ys(t,r,e,n,i){return e.length>0&&al(t,e,n,i)?{segmentGroup:new I(r,sl(n,new I(e,t.children))),slicedSegments:[]}:e.length===0&&cl(t,e,n)?{segmentGroup:new I(t.segments,ol(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new I(t.segments,t.children),slicedSegments:e}}function ol(t,r,e,n){let i={};for(let o of e)if(fr(t,r,o)&&!n[ve(o)]){let s=new I([],{});i[ve(o)]=s}return p(p({},n),i)}function sl(t,r){let e={};e[D]=r;for(let n of t)if(n.path===""&&ve(n)!==D){let i=new I([],{});e[ve(n)]=i}return e}function al(t,r,e,n){return e.some(i=>!fr(t,r,i)||!(ve(i)!==D)?!1:!(n!==void 0&&ve(i)===n))}function cl(t,r,e){return e.some(n=>fr(t,r,n))}function fr(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function ul(t,r,e){return r.length===0&&!t.children[e]}var Di=class{};async function ll(t,r,e,n,i,o,s="emptyOnly",a){return new wi(t,r,e,n,i,s,o,a).recognize()}var dl=31,wi=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,o,s,a,c){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer
2=a,this.abortSignal=c,this.applyRedirects=new vi(this.urlSerializer,this.urlTree)}noMatchError(r){return new m(4002,`'${r.segmentGroup}'`)}async recognize(){let r=ys(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:n}=await this.match(r),i=new ne(n,e),o=new an("",i),s=Os(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}async match(r){let e=new It([],Object.freeze({}),Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),D,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,r,D,e),rootSnapshot:e}}catch(n){if(n instanceof un)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Fe?this.noMatchError(n):n}}async processSegmentGroup(r,e,n,i,o){if(n.segments.length===0&&n.hasChildren())return this.processChildren(r,e,n,o);let s=await this.processSegment(r,e,n,n.segments,i,!0,o);return s instanceof ne?[s]:[]}async processChildren(r,e,n,i){let o=[];for(let c of Object.keys(n.children))c==="primary"?o.unshift(c):o.push(c);let s=[];for(let c of o){let u=n.children[c],d=rl(e,c),f=await this.processSegmentGroup(r,d,u,c,i);s.push(...f)}let a=Zs(s);return hl(a),a}async processSegment(r,e,n,i,o,s,a){for(let c of e)try{return await this.processSegmentAgainstRoute(c._injector??r,e,c,n,i,o,s,a)}catch(u){if(u instanceof Fe||Vs(u))continue;throw u}if(ul(n,i,o))return new Di;throw new Fe(n)}async processSegmentAgainstRoute(r,e,n,i,o,s,a,c){if(ve(n)!==s&&(s===D||!fr(i,o,n)))throw new Fe(i);if(n.redirectTo===void 0)return this.matchSegmentAgainstRoute(r,i,n,o,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,o,s,c);throw new Fe(i)}async expandSegmentAgainstRouteUsingRedirect(r,e,n,i,o,s,a){let{matched:c,parameters:u,consumedSegments:d,positionalParamSegments:f,remainingSegments:v}=Ks(e,i,o);if(!c)throw new Fe(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>dl&&(this.allowRedirects=!1));let x=this.createSnapshot(r,i,o,u,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let P=await this.applyRedirects.applyRedirectCommands(d,i.redirectTo,f,Ys(x),r),A=await this.applyRedirects.lineralizeSegments(i,P);return this.processSegment(r,n,e,A.concat(v),s,!1,a)}createSnapshot(r,e,n,i,o){let s=new It(n,i,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,pl(e),ve(e),e.component??e._loadedComponent??null,e,gl(e),r),a=Si(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}async matchSegmentAgainstRoute(r,e,n,i,o,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=ee=>this.createSnapshot(r,n,ee.consumedSegments,ee.parameters,s),c=await Kn(il(e,n,i,r,this.urlSerializer,a,this.abortSignal));if(n.path==="**"&&(e.children={}),!c?.matched)throw new Fe(e);r=n._injector??r;let{routes:u}=await this.getChildConfig(r,n,i),d=n._loadedInjector??r,{parameters:f,consumedSegments:v,remainingSegments:x}=c,P=this.createSnapshot(r,n,v,f,s),{segmentGroup:A,slicedSegments:S}=ys(e,v,x,u,o);if(S.length===0&&A.hasChildren()){let ee=await this.processChildren(d,u,A,P);return new ne(P,ee)}if(u.length===0&&S.length===0)return new ne(P,[]);let R=ve(n)===o,k=await this.processSegment(d,u,A,S,R?D:o,!0,P);return new ne(P,k instanceof ne?[k]:[])}async getChildConfig(r,e,n){if(e.children)return{routes:e.children,injector:r};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(r).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await Kn(Xu(r,e,n,this.urlSerializer,this.abortSignal))){let o=await this.configLoader.loadChildren(r,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw el(e)}return{routes:[],injector:r}}};function hl(t){t.sort((r,e)=>r.value.outlet===D?-1:e.value.outlet===D?1:r.value.outlet.localeCompare(e.value.outlet))}function fl(t){let r=t.value.routeConfig;return r&&r.path===""}function Zs(t){let r=[],e=new Set;for(let n of t){if(!fl(n)){r.push(n);continue}let i=r.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}
vendor: 4,204 bytes, line 2
2for(let n of e){let i=Zs(n.children);r.push(new ne(n.value,i))}return r.filter(n=>!e.has(n))}function pl(t){return t.data||{}}function gl(t){return t.resolve||{}}function ml(t,r,e,n,i,o,s){return Re(async a=>{let{state:c,tree:u}=await ll(t,r,e,n,a.extractedUrl,i,o,s);return j(p({},a),{targetSnapshot:c,urlAfterRedirects:u})})}function vl(t){return Re(r=>{let{targetSnapshot:e,guards:{canActivateChecks:n}}=r;if(!n.length)return g(r);let i=new Set(n.map(a=>a.route)),o=new Set;for(let a of i)if(!o.has(a))for(let c of Xs(a))o.add(c);let s=0;return te(o).pipe(ct(a=>i.has(a)?yl(a,e,t):(a.data=Si(a,a.parent,t).resolve,g(void 0))),fe(()=>s++),Cr(1),Re(a=>s===o.size?g(r):oe))})}function Xs(t){let r=t.children.map(e=>Xs(e)).flat();return[t,...r]}function yl(t,r,e){let n=t.routeConfig,i=t._resolve;return n?.title!==void 0&&!js(n)&&(i[ln]=n.title),gn(()=>(t.data=Si(t,t.parent,e).resolve,Dl(i,t,r).pipe(C(o=>(t._resolvedData=o,t.data=p(p({},t.data),o),null)))))}function Dl(t,r,e){let n=ai(t);if(n.length===0)return g({});let i={};return te(n).pipe(Re(o=>wl(t[o],r,e).pipe(xe(),fe(s=>{if(s instanceof At)throw lr(new Ge,s);i[o]=s}))),Cr(1),C(()=>i),L(o=>Vs(o)?oe:$i(o)))}function wl(t,r,e){let n=r._environmentInjector,i=_t(t,n),o=i.resolve?i.resolve(r,e):K(n,()=>i(r,e));return ot(o)}function Ds(t){return O(r=>{let e=t(r);return e?te(e).pipe(C(()=>r)):g(r)})}var Mi=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===D);return n}getResolvedTitleForRoute(e){return e.data[ln]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:()=>l(Js),providedIn:"root"})}return t})(),Js=(()=>{class t extends Mi{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(E(hs))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ot=new b("",{factory:()=>({})}),fn=new b(""),Qs=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=l(lo);async loadComponent(e,n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return Promise.resolve(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=(async()=>{try{let o=await Es(K(e,()=>n.loadComponent())),s=await na(ta(o));return this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s,s}finally{this.componentLoaders.delete(n)}})();return this.componentLoaders.set(n,i),i}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Promise.resolve({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let i=(async()=>{try{let o=await ea(n,this.compiler,e,this.onLoadEndListener);return n._loadedRoutes=o.routes,n._loadedInjector=o.injector,n._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(n)}})();return this.childrenLoaders.set(n,i),i}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();async function ea(t,r,e,n){let i=await Es(K(e,()=>t.loadChildren())),o=await na(ta(i)),s;o instanceof eo||Array.isArray(o)?s=o:s=await r.compileModuleAsync(o),n&&n(t);let a,c,u=!1,d;return Array.isArray(s)?(c=s,u=!0):(a=s.create(e).injector,d=s,c=a.get(fn,[],{optional:!0,self:!0}).flat()),{routes:c.map(Ti),injector:a,factory:d}}function Cl(t){return t&&typeof t=="object"&&"default"in t}function ta(t){return Cl(t)?t.default:t}async function na(t){return t}var pr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:()=>l(El),providedIn:"root"})}return t})(),El=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ra=new b("");var Sl=()=>{},ia=new b(""),_i=(()=>{class t{currentNavigation=w(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=w(null);events=new be;
2transitionAbortWithErrorSubject=new be;configLoader=l(Qs);environmentInjector=l(pe);destroyRef=l(Z);urlSerializer=l(st);rootContexts=l(Mt);location=l(Ae);inputBindingEnabled=l(dn,{optional:!0})!==null;titleStrategy=l(Mi);options=l(Ot,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=l(pr);createViewTransition=l(ra,{optional:!0});navigationErrorHandler=l(ia,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>g(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new nr(i)),n=i=>this.events.next(new rr(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;F(()=>{this.transitions?.next(j(p({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new ie(null),this.transitions.pipe(he(n=>n!==null),O(n=>{let i=!1,o=new AbortController,s=()=>!i&&this.currentTransition?.id===n.id;return g(n).pipe(O(a=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",q.SupersededByNewNavigation),oe;this.currentTransition=n;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?j(p({},c),{previousNavigation:null}):null,abort:()=>o.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&d!=="reload")return this.events.next(new Ee(a.id,this.urlSerializer.serialize(a.rawUrl),"",Et.IgnoredSameUrlNavigation)),a.resolve(!1),oe;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return g(a).pipe(O(f=>(this.events.next(new We(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),f.id!==this.navigationId?oe:Promise.resolve(f))),ml(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),fe(f=>{n.targetSnapshot=f.targetSnapshot,n.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation.update(v=>(v.finalUrl=f.urlAfterRedirects,v)),this.events.next(new on)}),O(f=>te(n.routesRecognizeHandler.deferredHandle??g(void 0)).pipe(C(()=>f))),fe(()=>{let f=new rn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(f)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:f,extractedUrl:v,source:x,restoredState:P,extras:A}=a,S=new We(f,this.urlSerializer.serialize(v),x,P);this.events.next(S);let R=xs(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=n=j(p({},a),{targetSnapshot:R,urlAfterRedirects:v,extras:j(p({},A),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(k=>(k.finalUrl=v,k)),g(n)}else return this.events.next(new Ee(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Et.IgnoredByUrlHandlingStrategy)),a.resolve(!1),oe}),C(a=>{let c=new Jn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=n=j(p({},a),{guards:Fu(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),n}),Hu(a=>this.events.next(a)),O(a=>{if(n.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw lr(this.urlSerializer,a.guardsResult);let c=new Qn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return oe;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",q.GuardRejected),oe;if(a.guards.canActivateChecks.length===0)return g(a);let u=new er(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return oe;let d=!1;return g(a).pipe(vl(this.paramsInheritanceStrategy),fe({next:()=>{d=!0;let f=new tr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(f)},complete:()=>
2{d||this.cancelNavigationTransition(a,"",q.NoDataFromResolver)}}))}),Ds(a=>{let c=d=>{let f=[];if(d.routeConfig?._loadedComponent)d.component=d.routeConfig?._loadedComponent;else if(d.routeConfig?.loadComponent){let v=d._environmentInjector;f.push(this.configLoader.loadComponent(v,d.routeConfig).then(x=>{d.component=x}))}for(let v of d.children)f.push(...c(v));return f},u=c(a.targetSnapshot.root);return u.length===0?g(a):te(Promise.all(u).then(()=>a))}),Ds(()=>this.afterPreactivation()),O(()=>{let{currentSnapshot:a,targetSnapshot:c}=n,u=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return u?te(u).pipe(C(()=>n)):g(n)}),ut(1),O(a=>{let c=Tu(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=n=a=j(p({},a),{targetRouterState:c}),this.currentNavigation.update(d=>(d.targetRouterState=c,d)),this.events.next(new bt);let u=n.beforeActivateHandler.deferredHandle;return u?te(u.then(()=>a)):g(a)}),fe(a=>{new mi(e.routeReuseStrategy,n.targetRouterState,n.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(i=!0,this.currentNavigation.update(c=>(c.abort=Sl,c)),this.lastSuccessfulNavigation.set(F(this.currentNavigation)),this.events.next(new Q(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),lt(Gs(o.signal).pipe(he(()=>!i&&!n.targetRouterState),fe(()=>{this.cancelNavigationTransition(n,o.signal.reason+"",q.Aborted)}))),fe({complete:()=>{i=!0}}),lt(this.transitionAbortWithErrorSubject.pipe(fe(a=>{throw a}))),mn(()=>{o.abort(),i||this.cancelNavigationTransition(n,"",q.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),L(a=>{if(i=!0,this.destroyed)return n.resolve(!1),oe;if(Hs(a))this.events.next(new ue(n.id,this.urlSerializer.serialize(n.extractedUrl),a.message,a.cancellationCode)),Ou(a)?this.events.next(new Rt(a.url,a.navigationBehaviorOptions)):n.resolve(!1);else{let c=new it(n.id,this.urlSerializer.serialize(n.extractedUrl),a,n.targetSnapshot??void 0);try{let u=K(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof At){let{message:d,cancellationCode:f}=lr(this.urlSerializer,u);this.events.next(new ue(n.id,this.urlSerializer.serialize(n.extractedUrl),d,f)),this.events.next(new Rt(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(u){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(u)}}return oe}))}))}cancelNavigationTransition(e,n,i){let o=new ue(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=F(this.currentNavigation),i=n?.targetBrowserUrl??n?.extractedUrl;return e.toString()!==i?.toString()&&!n?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bl(t){return t!==wt}var oa=new b("");var sa=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:()=>l(Rl),providedIn:"root"})}return t})(),hr=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}shouldDestroyInjector(r){return!0}},Rl=(()=>{class t extends hr{static \u0275fac=(()=>{let e;return function(i){return(e||(e=$e(t)))(i||t)}})();static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gr=(()=>{class t{urlSerializer=l(st);options=l(Ot,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=l(Ae);urlHandlingStrategy=l(pr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Y;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,s=i??o;return s instanceof Y?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:i}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,i),this.routerState=e):this.rawUrlTree=i}routerState=xs(null,l(pe));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:()=>l(Il),providedIn:"root"})}return t})(),Il=(()=>{class t extends gr{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,n){e instanceof We?this.updateStateMemento():e instanceof Ee?this.commitTransition(n):e instanceof rn?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof bt?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof ue&&!Us(e)?this.restoreHistory(n):e instanceof it?this.restoreHistory(n,!0):e instanceof Q&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let{extras:i,id:o}=n,{replaceUrl:s,state:a}=i;if(this.location.isCurrentPathEqualTo(e)||s){let c=this.browserPageId,u=p(p({},a),this.generateNgRouterState(o,c,n));this.location.replaceState(e,"",u)}else{let c=p(p({},a),this.generateNgRouterState(o,this.browserPageId+1,n));this.location.go(e,"",c)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n,i){return this.canceledNavigationResolution==="computed"?p({navigationId:e,\u0275routerPageId:n},this.routerUrlState(i)):p({navigationId:e},this.routerUrlState(i))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=$e(t)))(i||t)}})();static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Oi(t,r){t.events.pipe(he(e=>e instanceof Q||e instanceof ue||e instanceof it||e instanceof Ee),C(e=>e instanceof Q||e instanceof Ee?0:(e instanceof ue?e.code===q.Redirect||e.code===q.SupersededByNewNavigation:!1)?2:1),he(e=>e!==2),ut(1)).subscribe(()=>{r()})}var Ne=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=l(_r);stateManager=l(gr);options=l(Ot,{optional:!0})||{};pendingTasks=l(qi);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=l(_i);
2urlSerializer=l(st);location=l(Ae);urlHandlingStrategy=l(pr);injector=l(pe);_events=new be;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=l(sa);injectorCleanup=l(oa,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=l(fn,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!l(dn,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new xi;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=F(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof ue&&n.code!==q.Redirect&&n.code!==q.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof Q)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(n instanceof Rt){let s=n.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),c=p({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||bl(i.source)},s);this.scheduleNavigation(a,wt,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Iu(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),wt,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,i,o)=>{this.navigateToSyncWithBrowser(e,i,n,o)})}navigateToSyncWithBrowser(e,n,i,o){let s=i?.navigationId?i:null,a=i?.\u0275routerUrl??e;if(i?.\u0275routerUrl&&(o=j(p({},o),{browserUrl:e})),i){let u=p({},i);delete u.navigationId,delete u.\u0275routerPageId,delete u.\u0275routerUrl,Object.keys(u).length!==0&&(o.state=u)}let c=this.parseUrl(a);this.scheduleNavigation(c,n,s,o).catch(u=>{this.disposed||this.injector.get(Nt)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return F(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ti),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=n,u=c?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=p(p({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let v=i?i.snapshot:this.routerState.snapshot.root;f=Fs(v)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),f=this.currentUrlTree.root}return Ps(f,e,d,u??null,this.urlSerializer)}navigateByUrl(e,n={skipLocationChange:!1}){let i=qe(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,wt,null,n)}navigate(e,n={skipLocationChange:!1}){return Al(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(ke(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=p({},Ci):n===!1?i=p({},tn):i=p(p({},tn),n),qe(e))return ci(this.currentUrlTree,e,i);let o=this.parseUrl(e);return ci(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}
2scheduleNavigation(e,n,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((f,v)=>{a=f,c=v});let d=this.pendingTasks.add();return Oi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(Promise.reject.bind(Promise))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Al(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new m(4008,!1)}var Tl=(()=>{class t{router=l(Ne);stateManager=l(gr);fragment=w("");queryParams=w({});path=w("");serializer=l(st);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof Q&&this.updateState()})}updateState(){let{fragment:e,root:n,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new Y(n)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mr=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=l(new ho("href"),{optional:!0});reactiveHref=Fr(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return F(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return F(this._target)}_target=w(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return F(this._queryParams)}_queryParams=w(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return F(this._fragment)}_fragment=w(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return F(this._queryParamsHandling)}_queryParamsHandling=w(void 0);set state(e){this._state.set(e)}get state(){return F(this._state)}_state=w(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return F(this._info)}_info=w(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return F(this._relativeTo)}_relativeTo=w(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return F(this._preserveFragment)}_preserveFragment=w(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return F(this._skipLocationChange)}_skipLocationChange=w(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return F(this._replaceUrl)}_replaceUrl=w(!1);isAnchorElement;onChanges=new be;applicationErrorHandler=l(Nt);options=l(Ot,{optional:!0});reactiveRouterState=l(Tl);constructor(e,n,i,o,s,a){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=w(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(qe(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,o,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(e!==0||n||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e)}_urlTree=y(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i==="preserve"||i==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let n=this.routerLinkInput();return n===null||!this.router.createUrlTree?null:qe(n)?n:this.router.createUrlTree(n,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,n)=>this.computeHref(e)===this.computeHref(n)});get urlTree(){return F(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(n){return new(n||t)(X(Ne),X(Pe),br("tabindex"),X(gt),X(ft),X(Qe))};static \u0275dir=Be({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(n,i){n&1&&oo("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&ro("href",i.reactiveHref(),Zi)("target",i._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ie],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ie],replaceUrl:[2,"replaceUrl","replaceUrl",Ie],routerLink:"routerLink"},features:[je]})}return t})(),Ml=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Ke;link=l(mr,{optional:!0});constructor(e,n,i,o){this.router=e,this.element=n,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof Q&&this.update()})}ngAfterContentInit(){g(this.links.changes,g(null)).pipe(wr()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);
2this.linkInputChangesSubscription=te(e).pipe(wr()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=_l(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?p({},Ci):p({},tn);return i=>{let o=i.urlTree;return o?F(Ei(o,e,n)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(X(Ne),X(ft),X(gt),X(Xe))};static \u0275dir=Be({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,o){if(n&1&&so(o,mr,5),n&2){let s;ao(s=co())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[je]})}return t})();function _l(t){let r=t;return!!(r.paths||r.matrixParams||r.queryParams||r.fragment)}var aa=new b(""),Ol=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=wt;restoredId=0;store={};urlSerializer=l(st);zone=l(Ze);viewportScroller=l($o);transitions=l(_i);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.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 We?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Q?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Ee&&e.code===Et.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof St)||e.scrollBehavior==="manual")return;let n={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],n):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,n):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,n){let i=F(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(async()=>{await new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new St(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n,i))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){Qi()};static \u0275prov=h({token:t,factory:t.\u0275fac})}return t})();function Fl(t,...r){return dt([{provide:fn,multi:!0,useValue:t},[],{provide:Pe,useFactory:Pl},{provide:En,multi:!0,useFactory:Ll},r.map(e=>e.\u0275providers)])}function Pl(){return l(Ne).routerState.root}function ca(t,r){return{\u0275kind:t,\u0275providers:r}}function Nl(t={}){return ca(4,[{provide:aa,useFactory:()=>new Ol(t)}])}function Ll(){let t=l(ye);return r=>{let e=t.get(Ut);
2if(r!==e.components[0])return;let n=t.get(Ne),i=t.get(Ul);t.get(xl)===1&&n.initialNavigation(),t.get(kl,null,{optional:!0})?.setUpPreloading(),t.get(aa,null,{optional:!0})?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Ul=new b("",{factory:()=>new be}),xl=new b("",{factory:()=>1});var kl=new b("");function jl(){return ca(8,[Ii,{provide:dn,useExisting:Ii}])}function ua(t){t||(t=l(Z));let r=new Ye(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(lt(r))}function le(t,r){let e=r?.injector??l(ye),n=new ji(1),i=ht(()=>{let o;try{o=t()}catch(s){F(()=>n.error(s));return}F(()=>n.next(o))},{injector:e,manualCleanup:!0});return e.get(Z).onDestroy(()=>{i.destroy(),n.complete()}),n.asObservable()}function de(t,r){let n=!r?.manualCleanup?r?.injector?.get(Z)??l(Z):null,i=$l(r?.equal),o;r?.requireSync?o=w({kind:0},{equal:i}):o=w({kind:1,value:r?.initialValue},{equal:i});let s,a=t.subscribe({next:c=>o.set({kind:1,value:c}),error:c=>{o.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(r?.requireSync&&o().kind===0)throw new m(601,!1);return s=n?.onDestroy(a.unsubscribe.bind(a)),y(()=>{let c=o();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new m(601,!1)}},{equal:r?.equal})}function $l(t=Object.is){return(r,e)=>r.kind===1&&e.kind===1&&t(r.value,e.value)}var Fi=(()=>{class t{document=l(T);router=l(Ne,{optional:!0});destroyRef=l(Z);_alternates=w(null);alternates=this._alternates.asReadonly();_currentPath=w(this.readPath());currentPath=this._currentPath.asReadonly();constructor(){this.router?.events.pipe(he(e=>e instanceof Q),ua(this.destroyRef)).subscribe(()=>this._currentPath.set(this.readPath())),l(Ae).onUrlChange(()=>this._currentPath.set(this.readPath()))}set(e){this._alternates.set(e)}clear(){this._alternates.set(null)}sync(){this._currentPath.set(this.readPath())}readPath(){try{let e=this.document.location;return e?`${e.pathname}${e.search}${e.hash}`:"/"}catch{return"/"}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ft=(function(t){return t.DEV="DEV",t.PROD="PROD",t})(Ft||{}),Pi=new b("SERVER_CONFIG");var la="serverConfig",da="publicUrl",ha={portal:"SITE",cmsUrl:"http://localhost:1337",ssrCmsUrl:"http://localhost:1337",environment:Ft.DEV,gtmId:"",siteName:"My Site",port:4e3,sourceLocale:"en",supportedLocales:["en","hu"],trustProxy:!1,sitemapCacheTtl:3600},pn=(()=>{class t{transferState=l(yn);platformId=l(H);serverConfig=l(Pi,{optional:!0});request=l(yo,{optional:!0});document=l(T);_config=w(this.resolveConfig());_publicUrl=w(this.resolvePublicUrl());config=this._config.asReadonly();portal=y(()=>this._config().portal);cmsUrl=y(()=>this._config().cmsUrl);ssrCmsUrl=y(()=>this._config().ssrCmsUrl);environment=y(()=>this._config().environment);gtmId=y(()=>this._config().gtmId);siteName=y(()=>this._config().siteName);isProduction=y(()=>this._config().environment===Ft.PROD);sourceLocale=y(()=>this._config().sourceLocale);supportedLocales=y(()=>this._config().supportedLocales);publicUrl=this._publicUrl.asReadonly();resolveConfig(){if(Ht(this.platformId)){let e=this.serverConfig??ha;return this.transferState.set(la,e),e}return this.transferState.get(la,ha)}resolvePublicUrl(){if(Ht(this.platformId)){let n=this.deriveFromRequest();return this.transferState.set(da,n),n}let e=this.transferState.get(da,"");if(e)return e;try{return this.document.location?.origin??""}catch{return""}}deriveFromRequest(){let e=this.request;if(!e)return"";try{let n=e.headers.get("x-forwarded-proto")?.split(",")[0]?.trim(),i=e.headers.get("x-forwarded-host")?.split(",")[0]?.trim(),o=e.headers.get("x-forwarded-ssl")?.toLowerCase(),s=new URL(e.url),a=n||(o==="on"?"https":s.protocol.replace(":",""));/^https?$/i.test(a)||(a="http");let c=i||e.headers.get("host")||s.host;return c?`${a}://${c}`:""}catch{return""}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ni=(()=>{class t{localeId=l(Sn);configService=l(pn);document=l(T);localeLinks=l(Fi);_currentLocale=w(this.normalizeLocale(this.localeId));currentLocale=this._currentLocale.asReadonly();supportedLocales=y(()=>this.configService.supportedLocales());sourceLocale=y(()=>this.configService.sourceLocale());isSourceLocale=y(()=>this._currentLocale()===this.configService.sourceLocale());localeUrl(e){let n=`/${e}`,i=this.localeLinks.alternates();if(i){let s=i.byLocale[e]??i.sectionPath;if(s)return this.joinPrefix(n,this.ensureLeadingSlash(s))}let o=this.stripLocalePrefix(this.localeLinks.currentPath());return o!==null?this.joinPrefix(n,o):`${n}/`}switchLocale(e){try{let n=this.localeUrl(e);this.document.location.assign(n)}catch{}}stripLocalePrefix(e){if(!e||!e.startsWith("/"))return null;let n=e.match(/^\/([^/?#]+)(.*)$/);if(!n)return"/";let[,i,o]=n;return this.configService.supportedLocales().includes(i)?o?o.startsWith("/")?o:`/${o}`:"/":e}joinPrefix(e,n){return e?n==="/"||n===""?`${e}/`:`${e}${n}`:n||"/"}ensureLeadingSlash(e){return e.startsWith("/")?e:`/${e}`}normalizeLocale(e){return e.split("-")[0].toLowerCase()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var fa="cookie_consent",Bl=365*24*60*60,zl=(()=>{class t{document=l(T);platformId=l(H);isBrowser=He(this.platformId);_consentStatus=w(this.readCookie());consentStatus=this._consentStatus.asReadonly();constructor(){this.isBrowser&&this._consentStatus()==="accepted"&&this.updateGtagConsent("accepted")}accept(){this.setConsent("accepted")}reject(){this.setConsent("rejected")}setConsent(e){this._consentStatus.set(e),this.writeCookie(e),this.updateGtagConsent(e)}readCookie(){if(!this.isBrowser)return"unknown";let e=this.document.cookie.split("; ").find(i=>i.startsWith(`${fa}=`));if(!e)return"unknown";let n=e.split("=")[1];return n==="accepted"||n==="rejected"?n:"unknown"}writeCookie(e){this.isBrowser&&(this.document.cookie=`${fa}=${e}; path=/; max-age=${Bl}; SameSite=Lax`)}updateGtagConsent(e){if(!this.isBrowser)return;let n=this.document.defaultView;if(!n)return;let i=n.gtag;if(!i)return;let o=e==="accepted"?"granted":"denied";i("consent","update",{analytics_storage:o,ad_storage:o})}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Hl="hydration-ready",Vl=(()=>{class t{document=l(T);_isHydrated=w(!1);isHydrated=this._isHydrated.asReadonly();constructor(){He(l(H))&&Cn(()=>{this._isHydrated.set(!0),this.document.documentElement.classList.add(Hl)})}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var W=(()=>{class t{configService=l(pn);localeService=l(Ni);isServer=Ht(l(H));portal=y(()=>this.configService.portal());environment=y(()=>this.configService.environment());locale=y(()=>this.localeService.currentLocale());cmsUrl=y(()=>
2this.isServer?this.configService.ssrCmsUrl():this.configService.cmsUrl());resolveMediaUrl(e){let n=e?.formats?.large?.url??e?.formats?.medium?.url??e?.url??null;if(!n)return null;let i=this.configService.cmsUrl().replace(/\/$/,"");return n.startsWith("http")?this.rewriteToPublicOrigin(n,i):i+n}rewriteToPublicOrigin(e,n){try{let i=new URL(e);return[this.configService.cmsUrl(),this.configService.ssrCmsUrl()].some(a=>new URL(a).origin===i.origin)?n+i.pathname+i.search:e}catch{return e}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var at=(()=>{class t{http=l(G);cms=l(W);resourceType=null;listFields(){return["slug","title","abstract","published","updatedAt","locale","documentId","description"]}listPopulate(){return["populate[media][fields][0]=url","populate[media][fields][1]=alternativeText","populate[media][fields][2]=formats","populate[document][fields][0]=url","populate[document][fields][1]=name","populate[keywords][fields][0]=name"]}defaultPageSize(){return 100}pageSizeSig=w(this.defaultPageSize());pageSizeLocked=!1;setPageSize(e){this.pageSizeLocked||!Number.isFinite(e)||e<=0||(this.pageSizeLocked=!0,e!==this.pageSizeSig()&&this.pageSizeSig.set(e))}pageSize(){return this.pageSizeSig()}platformId=l(H);isBrowser=He(this.platformId);cmsLocale(){return this.cms.locale()}buildListUrl(e,n){let i=this.cms.cmsUrl().replace(/\/$/,""),o=this.cms.environment(),s=this.cmsLocale(),a=this.listFields().map((f,v)=>`fields[${v}]=${encodeURIComponent(f)}`).join("&"),c=this.listPopulate().join("&"),u=this.cms.portal(),d=[`${i}/api/resources?`,`filters[environments][environment][$eq]=${encodeURIComponent(o)}`];return u&&d.push(`&filters[portals][portal][$eq]=${encodeURIComponent(u)}`),this.resourceType&&d.push(`&filters[resourceType][resourceType][$eq]=${encodeURIComponent(this.resourceType)}`),d.push(`&locale=${encodeURIComponent(s)}`),d.push(`&${a}`),d.push(`&${c}`),d.push("&sort=published:desc"),d.push(`&pagination[start]=${e}`),d.push(`&pagination[limit]=${n}`),d.push("&pagination[withCount]=true"),d.join("")}apiUrl=y(()=>this.buildListUrl(0,this.pageSize()));firstPage$=le(this.apiUrl).pipe(O(e=>this.http.get(e).pipe(C(n=>({data:(n.data??[]).map(i=>this.normalizeKeywords(i)),total:n.meta?.pagination?.total??n.data?.length??0})),L(n=>(console.error(`[${this.constructor.name}] Failed to fetch resources:`,n?.message??n),g({data:[],total:0}))))),se(1));firstPage=de(this.firstPage$,{initialValue:{data:[],total:0}});extra=w([]);loading=w(!1);total=y(()=>this.firstPage().total);articles=y(()=>[...this.firstPage().data,...this.extra()]);hasMore=y(()=>this.articles().length<this.total());resetExtraOnReload=ht(()=>{this.firstPage(),this.extra.set([])});loadMore(){if(!this.isBrowser||this.loading()||!this.hasMore())return;let e=this.articles().length,n=this.buildListUrl(e,this.pageSize());this.loading.set(!0),this.http.get(n).pipe(C(i=>(i.data??[]).map(o=>this.normalizeKeywords(o))),L(i=>(console.error(`[${this.constructor.name}] Failed to load more resources:`,i?.message??i),g([])))).subscribe(i=>{i.length&&this.extra.update(o=>[...o,...i]),this.loading.set(!1)})}getBySlug(e){let n=this.cms.cmsUrl().replace(/\/$/,""),i=this.cms.portal(),o=this.cms.environment(),s=this.cmsLocale(),a=[`${n}/api/resources?`,`filters[portals][portal]=${encodeURIComponent(i)}`,`&filters[environments][environment][$eq]=${encodeURIComponent(o)}`];this.resourceType&&a.push(`&filters[resourceType][resourceType][$eq]=${encodeURIComponent(this.resourceType)}`),a.push(`&filters[slug][$eq]=${encodeURIComponent(e)}`),a.push(`&locale=${encodeURIComponent(s)}`),a.push("&populate=*"),a.push("&pagination[limit]=1");let c=a.join("");return this.http.get(c).pipe(C(u=>{let d=(u.data??[])[0]??null;return d?this.normalizeKeywords(d):null}),L(()=>g(null)))}normalizeKeywords(e){let n=e.keywords;if(!Array.isArray(n))return e;let i=["keyword","name","title","label","value","slug","text"],o=n.map(s=>{if(typeof s=="string")return s;if(!s||typeof s!="object")return;let a=s;for(let u of i){let d=a[u];
2if(typeof d=="string"&&d.length>0)return d}let c=a.attributes;if(c&&typeof c=="object")for(let u of i){let d=c[u];if(typeof d=="string"&&d.length>0)return d}}).filter(s=>typeof s=="string"&&s.length>0);return j(p({},e),{keywords:o})}filterBySearch(e,n){if(!n.trim())return e;let i=n.toLowerCase();return e.filter(o=>o.title.toLowerCase().includes(i)||(o.abstract?.toLowerCase().includes(i)??!1)||(o.keywords?.some(s=>s.toLowerCase().includes(i))??!1))}filterByKeyword(e,n){if(!n)return e;let i=n.toLowerCase();return e.filter(o=>o.keywords?.some(s=>s.toLowerCase()===i))}extractKeywords(e){let n=new Map;for(let i of e)for(let o of i.keywords??[])n.set(o,(n.get(o)??0)+1);return[...n.entries()].sort((i,o)=>o[1]-i[1]||i[0].localeCompare(o[0])).map(([i])=>i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gl=(()=>{class t extends at{resourceType="Blog";static \u0275fac=(()=>{let e;return function(i){return(e||(e=$e(t)))(i||t)}})();static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ql=(()=>{class t{http=l(G);cms=l(W);apiUrl=y(()=>{let e=this.cms.cmsUrl().replace(/\/$/,""),n=this.cms.portal(),i=this.cms.environment(),o=this.cms.locale();return`${e}/api/careers?filters[portals][portal]=${encodeURIComponent(n)}&filters[environments][environment][$eq]=${encodeURIComponent(i)}&locale=${encodeURIComponent(o)}&fields[0]=slug&fields[1]=title&fields[2]=abstract&fields[3]=updatedAt&fields[4]=locale&fields[5]=documentId&populate[media][fields][0]=url&populate[media][fields][1]=alternativeText&populate[media][fields][2]=formats&sort=updatedAt:desc&pagination[limit]=100`});articles$=le(this.apiUrl).pipe(O(e=>this.http.get(e).pipe(C(n=>n.data??[]),L(n=>(console.error("[CareerService] Failed to fetch career postings:",n?.message??n),g([]))))),se(1));articles=de(this.articles$,{initialValue:[]});getBySlug(e){let n=this.cms.cmsUrl().replace(/\/$/,""),i=this.cms.portal(),o=this.cms.environment(),s=this.cms.locale(),a=`${n}/api/careers?filters[portals][portal]=${encodeURIComponent(i)}&filters[environments][environment][$eq]=${encodeURIComponent(o)}&filters[slug][$eq]=${encodeURIComponent(e)}&locale=${encodeURIComponent(s)}&populate=*&pagination[limit]=1`;return this.http.get(a).pipe(C(c=>(c.data??[])[0]??null),L(()=>g(null)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Wl=(()=>{class t{http=l(G);cms=l(W);platformId=l(H);isBrowser=He(this.platformId);pageSizeSig=w(100);pageSizeLocked=!1;setPageSize(e){this.pageSizeLocked||!Number.isFinite(e)||e<=0||(this.pageSizeLocked=!0,e!==this.pageSizeSig()&&this.pageSizeSig.set(e))}buildUrl(e,n){let i=this.cms.cmsUrl().replace(/\/$/,""),o=this.cms.portal(),s=this.cms.environment(),a=this.cms.locale();return`${i}/api/news-articles?filters[portals][portal]=${encodeURIComponent(o)}&filters[environments][environment][$eq]=${encodeURIComponent(s)}&locale=${encodeURIComponent(a)}&fields[0]=slug&fields[1]=title&fields[2]=abstract&fields[3]=published&fields[4]=updatedAt&fields[5]=locale&fields[6]=documentId&populate[media][fields][0]=url&populate[media][fields][1]=alternativeText&populate[media][fields][2]=formats&sort=published:desc&pagination[start]=${e}&pagination[limit]=${n}&pagination[withCount]=true`}apiUrl=y(()=>this.buildUrl(0,this.pageSizeSig()));firstPage$=le(this.apiUrl).pipe(O(e=>this.http.get(e).pipe(C(n=>({data:n.data??[],total:n.meta?.pagination?.total??n.data?.length??0})),L(n=>(console.error("[NewsService] Failed to fetch news articles:",n?.message??n),g({data:[],total:0}))))),se(1));firstPage=de(this.firstPage$,{initialValue:{data:[],total:0}});extra=w([]);loading=w(!1);total=y(()=>this.firstPage().total);articles=y(()=>[...this.firstPage().data,...this.extra()]);hasMore=y(()=>this.articles().length<this.total());resetExtraOnReload=ht(()=>{this.firstPage(),this.extra.set([])});loadMore(){if(!this.isBrowser||this.loading()||!this.hasMore())return;let e=this.articles().length,n=this.buildUrl(e,this.pageSizeSig());this.loading.set(!0),this.http.get(n).pipe(C(i=>i.data??[]),L(i=>(console.error("[NewsService] Failed to load more news articles:",i?.message??i),g([]))
2)).subscribe(i=>{i.length&&this.extra.update(o=>[...o,...i]),this.loading.set(!1)})}getBySlug(e){let n=this.cms.cmsUrl().replace(/\/$/,""),i=this.cms.portal(),o=this.cms.environment(),s=this.cms.locale(),a=`${n}/api/news-articles?filters[portals][portal]=${encodeURIComponent(i)}&filters[environments][environment][$eq]=${encodeURIComponent(o)}&filters[slug][$eq]=${encodeURIComponent(e)}&locale=${encodeURIComponent(s)}&populate=*&pagination[limit]=1`;return this.http.get(a).pipe(C(c=>(c.data??[])[0]??null),L(()=>g(null)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Yl=(()=>{class t{http=l(G);cms=l(W);apiUrl=y(()=>{let e=this.cms.cmsUrl().replace(/\/$/,""),n=this.cms.portal(),i=this.cms.environment(),o=this.cms.locale();return`${e}/api/references?filters[portals][portal]=${encodeURIComponent(n)}&filters[environments][environment][$eq]=${encodeURIComponent(i)}&locale=${encodeURIComponent(o)}&fields[0]=company&fields[1]=projects&fields[2]=highlight&fields[3]=updatedAt&fields[4]=locale&fields[5]=documentId&fields[6]=url&populate[logo][fields][0]=url&populate[logo][fields][1]=alternativeText&populate[logo][fields][2]=formats&sort=updatedAt:desc&pagination[limit]=100`});references$=le(this.apiUrl).pipe(O(e=>this.http.get(e).pipe(C(n=>n.data??[]),L(n=>(console.error("[ReferenceService] Failed to fetch references:",n?.message??n),g([]))))),se(1));references=de(this.references$,{initialValue:[]});static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Kl=(()=>{class t{http=l(G);cms=l(W);apiUrl=y(()=>{let e=this.cms.cmsUrl().replace(/\/$/,""),n=this.cms.portal(),i=this.cms.environment(),o=this.cms.locale();return`${e}/api/grants?filters[portals][portal][$eq]=${encodeURIComponent(n)}&filters[environments][environment][$eq]=${encodeURIComponent(i)}&locale=${encodeURIComponent(o)}&fields[0]=title&fields[1]=description&fields[2]=updatedAt&fields[3]=locale&fields[4]=documentId&populate[media][fields][0]=url&populate[media][fields][1]=alternativeText&populate[media][fields][2]=formats&sort=createdAt:desc&pagination[limit]=100`});articles$=le(this.apiUrl).pipe(O(e=>this.http.get(e).pipe(C(n=>n.data??[]),L(n=>(console.error("[GrantService] Failed to fetch grants:",n?.message??n),g([]))))),se(1));articles=de(this.articles$,{initialValue:[]});getByDocumentId(e){let n=this.cms.cmsUrl().replace(/\/$/,""),i=this.cms.portal(),o=this.cms.environment(),s=this.cms.locale(),a=`${n}/api/grants?filters[portals][portal][$eq]=${encodeURIComponent(i)}&filters[environments][environment][$eq]=${encodeURIComponent(o)}&filters[documentId][$eq]=${encodeURIComponent(e)}&locale=${encodeURIComponent(s)}&populate=*&pagination[limit]=1`;return this.http.get(a).pipe(C(c=>(c.data??[])[0]??null),L(()=>g(null)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Zl=(()=>{class t extends at{resourceType="Brochure";static \u0275fac=(()=>{let e;return function(i){return(e||(e=$e(t)))(i||t)}})();static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Xl=(()=>{class t{http=l(G);cms=l(W);apiUrl=y(()=>{let e=this.cms.cmsUrl().replace(/\/$/,""),n=this.cms.portal(),i=this.cms.environment(),o=this.cms.locale();return`${e}/api/services?filters[portals][portal]=${encodeURIComponent(n)}&filters[environments][environment][$eq]=${encodeURIComponent(i)}&locale=${encodeURIComponent(o)}&fields[0]=name&fields[1]=abstract&fields[2]=teaser&fields[3]=order&fields[4]=slug&fields[5]=updatedAt&fields[6]=locale&fields[7]=documentId&fields[8]=overview&populate[media][fields][0]=url&populate[media][fields][1]=alternativeText&populate[media][fields][2]=formats&populate[icon][fields][0]=url&populate[icon][fields][1]=alternativeText&populate[icon][fields][2]=formats&populate[customerRole][fields][0]=customerRole&populate[customerRole][fields][1]=name&sort=order:asc&pagination[limit]=100`});services$=le(this.apiUrl).pipe(O(e=>this.http.get(e).pipe(C(n=>n.data??[]),L(n=>(console.error("[ServiceService] Failed to fetch services:",n?.message??n),g([]))
2))),se(1));services=de(this.services$,{initialValue:[]});getBySlug(e){let n=this.cms.cmsUrl().replace(/\/$/,""),i=this.cms.portal(),o=this.cms.environment(),s=this.cms.locale(),a=`${n}/api/services?filters[portals][portal]=${encodeURIComponent(i)}&filters[environments][environment][$eq]=${encodeURIComponent(o)}&filters[slug][$eq]=${encodeURIComponent(e)}&locale=${encodeURIComponent(s)}&populate=*&pagination[limit]=1`;return this.http.get(a).pipe(C(c=>(c.data??[])[0]??null),L(()=>g(null)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Jl=(()=>{class t{http=l(G);cms=l(W);submit(e){let n=this.cms.cmsUrl().replace(/\/$/,""),i={data:{name:e.name,email:e.email,phone:e.phone??"",company:e.company??"",intent:e.intent??"",message:e.message,portal:this.cms.portal()}};return this.http.post(`${n}/api/contacts`,i).pipe(C(()=>{}))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{De as a,Fa as b,He as c,Ht as d,Th as e,uc as f,Lc as g,Uc as h,dp as i,hs as j,hp as k,fp as l,pp as m,Q as n,Pe as o,Ri as p,Ne as q,mr as r,Ml as s,Fl as t,Nl as u,jl as v,pn as w,ua as x,le as y,de as z,Fi as A,Ni as B,zl as C,Vl as D,W as E,Gl as F,Zl as G,ql as H,Wl as I,Yl as J,Xl as K,Jl as L,Kl as M}; 3/**i18n:0e4247f1d6c7a55aa66a1c5585411754ea11b71bf92f6aa34cfedb7036922b80*/
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.