1import{$ as Tt,$a as cr,A as It,Aa as Kn,Ab as gr,B as ee,Ba as Qn,C as _n,Ca as Yn,D as ze,Da as Xn,E as z,Ea as Jn,F as Mt,Fa as er,G as kn,Ga as tr,H as $n,Ha as Z,J as Fn,K as L,L as zn,La as nr,M as b,Ma as we,Mb as vr,N as C,Oa as U,P as m,Pa as rr,R as Hn,Ra as ir,S as M,Sa as Ut,T as Et,Tb as qe,U as S,Ua as x,Ub as mr,V as f,Va as xt,Vb as yr,W as ye,Wa as sr,Wb as Lt,X as He,Xb as jt,Y as Vn,Yb as We,Za as or,Zb as Sr,_ as Ve,_a as ar,_b as Ge,a as Pn,aa as Bn,ab as ur,b as Un,ba as Se,bc as Ze,ca as H,cb as lr,cc as Cr,d as St,dc as wr,e as Ct,ea as Be,ec as E,f as $,fc as _t,g as D,gc as Ke,h as F,hc as Rr,i as O,j as p,ja as At,k as ve,ka as qn,l as xn,la as Wn,m as Ln,ma as Dt,mc as br,o as y,ob as hr,oc as kt,p as wt,pc as Ir,q as N,qa as Ot,qc as Mr,r as Rt,ra as te,rb as dr,s as jn,sa as Gn,t as bt,ta as Nt,ua as Zn,va as Ce,w as X,x as J,xa as Pt,xb as fr,y as me,ya as ne,za as re,zb as pr}from"./chunk-NHUYKA2F.js";import{a as l,b as I,g as Nn}from"./chunk-MON7YFGF.js";var zt=class extends wr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ht=class t extends zt{static makeCurrent(){Cr(new t)}onAndCancel(r,e,n){return r.addEventListener(e,n),()=>{r.removeEventListener(e,n)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.parentNode&&r.parentNode.removeChild(r)}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=Mi();return e==null?null:Ei(e)}resetBaseElement(){Re=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return Rr(document.cookie,r)}},Re=null;function Mi(){return Re=Re||document.querySelector("base"),Re?Re.getAttribute("href"):null}function Ei(t){return new URL(t,document.baseURI).pathname}var Ti=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})(),Vt=new M(""),Dr=(()=>{class t{constructor(e,n){this._zone=n,this._eventNameToPlugin=new Map,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,i){return this._findPluginFor(n).addEventListener(e,n,i)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(s=>s.supports(e)),!n)throw new C(5101,!1);return this._eventNameToPlugin.set(e,n),n}static{this.\u0275fac=function(n){return new(n||t)(S(Vt),S(x))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})(),Qe=class{constructor(r){this._doc=r}},$t="ng-app-id",Or=(()=>{class t{constructor(e,n,i,s={}){this.doc=e,this.appId=n,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=kt(s),this.resetHostNodes()}addStyles(e){for(let n of e)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(e){for(let n of e)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(n=>n.remove()),e.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let n of this.getAllStyles())this.addStyleToHost(e,n)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let n of this.hostNodes)this.addStyleToHost(n,e)}onStyleRemoved(e){let n=this.styleRef;n.get(e)?.elements?.forEach(i=>i.remove()),n.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${$t}="${this.appId}"]`);if(e?.length){let n=new Map;return e.forEach(i=>{i.textContent!=null&&n.set(i.textContent,i)}),n}return null}changeUsageCount(e,n){let i=this.styleRef;if(i.has(e)){let s=i.get(e);return s.usage+=n,s.usage}return i.set(e,{usage:n,elements:[]}),n}getStyleElement(e,n){let i=this.styleNodesInDOM,s=i?.get(n);if(s?.parentNode===e)return i.delete(n),s.removeAttribute($t),s;{let o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=n,this.platformIsServer&&o.setAttribute($t,this.appId),e.appendChild(o),o}}addStyleToHost(e,n){let i=this.getStyleElement(e,n),s=this.styleRef,o=s.get(n)?.elements;o?o.push(i):s.set(n,{elements:[i],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(n){return new(n||t)(S(E),S(Nt),S(Pt,8),S(Ce))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})(),Ft={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qt=/%COMP%/g,Nr="%COMP%",Ai=`_nghost-${Nr}`,Di=`_ngcontent-${Nr}`,Oi=!0,Ni=new M("",{providedIn:"root",factory:()=>Oi});function Pi(t){return Di.replace(qt,t)}function Ui(t){return Ai.replace(qt,t)}function Pr(t,r){return r.map(e=>e.replace(qt,t))}var Er=(()=>{class t{constructor(e,n,i,s,o,c,a,u=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=o,this.platformId=c,this.ngZone=a,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=kt(c),this.defaultRenderer=new be(e,o,a,this.platformIsServer)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===ye.ShadowDom&&(n=I(l({},n),{encapsulation:ye.Emulated}));let i=this.getOrCreateRenderer(e,n);
1return i instanceof Ye?i.applyToHost(e):i instanceof Ie&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,s=i.get(n.id);if(!s){let o=this.doc,c=this.ngZone,a=this.eventManager,u=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(n.encapsulation){case ye.Emulated:s=new Ye(a,u,n,this.appId,h,o,c,d);break;case ye.ShadowDom:return new Bt(a,u,e,n,o,c,this.nonce,d);default:s=new Ie(a,u,n,h,o,c,d);break}i.set(n.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(n){return new(n||t)(S(Dr),S(Or),S(Nt),S(Ni),S(E),S(Ce),S(x),S(Pt))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})(),be=class{constructor(r,e,n,i){this.eventManager=r,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(r,e){return e?this.doc.createElementNS(Ft[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(Tr(r)?r.content:r).appendChild(e)}insertBefore(r,e,n){r&&(Tr(r)?r.content:r).insertBefore(e,n)}removeChild(r,e){r&&r.removeChild(e)}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new C(-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 s=Ft[i];s?r.setAttributeNS(s,e,n):r.setAttribute(e,n)}else r.setAttribute(e,n)}removeAttribute(r,e,n){if(n){let i=Ft[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&(we.DashCase|we.Important)?r.style.setProperty(e,n,i&we.Important?"important":""):r.style[e]=n}removeStyle(r,e,n){n&we.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){if(typeof r=="string"&&(r=Ze().getGlobalEventTarget(this.doc,r),!r))throw new Error(`Unsupported event target ${r} for event ${e}`);return this.eventManager.addEventListener(r,e,this.decoratePreventDefault(n))}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))===!1&&e.preventDefault()}}};function Tr(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Bt=class extends be{constructor(r,e,n,i,s,o,c,a){super(r,s,o,a),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Pr(i.id,i.styles);for(let h of u){let d=document.createElement("style");c&&d.setAttribute("nonce",c),d.textContent=h,this.shadowRoot.appendChild(d)}}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(this.nodeOrShadowRoot(r),e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ie=class extends be{constructor(r,e,n,i,s,o,c,a){super(r,s,o,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=a?Pr(a,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ye=class extends Ie{constructor(r,e,n,i,s,o,c,a){let u=i+"-"+n.id;super(r,e,n,s,o,c,a,u),this.contentAttr=Pi(u),this.hostAttr=Ui(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}},xi=(()=>{class t extends Qe{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,i){return e.addEventListener(n,i,!1),()=>this.removeEventListener(e,n,i)}removeEventListener(e,n,i){return e.removeEventListener(n,i)}static{this.\u0275fac=function(n){return new(n||t)(S(E))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})(),Ar=["alt","control","meta","shift"],Li={"\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"},ji={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},_i=(()=>{class t extends Qe{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i){let s=t.parseEventName(n),o=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ze().onAndCancel(e,s.domEventName,o))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(n.pop()),o="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),o="code."),Ar.forEach(u=>{let h=n.indexOf(u);h>-1&&(n.splice(h,1),o+=u+".")}),o+=s,n.length!=0||s.length===0)return null;let a={};return a.domEventName=i,a.fullKey=o,a}static matchEventFullKeyCode(e,n){let i=Li[e.key]||e.key,s="";return n.indexOf("code.")>-1&&(i=e.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Ar.forEach(o=>{if(o!==i){let c=ji[o];c(e)&&(s+=o+".")}}),s+=i,s===n)}static eventCallback(e,n,i){return s=>{t.matchEventFullKeyCode(s,e)&&i.runGuarded(()=>n(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(n){return new(n||t)(S(E))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})();function ua(t,r){return Sr(l({rootComponent:t},ki(r)))}function ki(t){return{appProviders:[...Vi,...t?.providers??[]],platformProviders:Hi}}function $i(){Ht.makeCurrent()}function Fi(){return new Dt}function zi(){return Gn(document),document}var Hi=[{provide:Ce,useValue:br},{provide:Zn,useValue:$i,multi:!0},{provide:E,useFactory:zi,deps:[]}];var Vi=[{provide:Bn,useValue:"root"},{provide:Dt,useFactory:Fi,deps:[]},{provide:Vt,useClass:xi,multi:!0,deps:[E,x,Ce]},{provide:Vt,useClass:_i,multi:!0,deps:[E]},Er,Or,Dr,{provide:ir,useExisting:Er},{provide:Mr,useClass:Ti,deps:[]},[]];var la=(()=>{class t{constructor(e){this._doc=e,this._dom=Ze()}addTag(e,n=!1){return e?this._getOrCreateElement(e,n):null}addTags(e,n=!1){return e?e.reduce((i,s)=>(s&&i.push(this._getOrCreateElement(s,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 o=this._parseSelector(e),c=this.getTags(o).filter(a=>this._containsAttributes(e,a))[0];if(c!==void 0)return c}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=>
1n.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 Bi[e]||e}static{this.\u0275fac=function(n){return new(n||t)(S(E))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Bi={httpEquiv:"http-equiv"},Ur=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(n){return new(n||t)(S(E))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var qi=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=S(Wi),i},providedIn:"root"})}}return t})(),Wi=(()=>{class t extends qi{constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case Z.NONE:return n;case Z.HTML:return re(n,"HTML")?ne(n):tr(this._doc,String(n)).toString();case Z.STYLE:return re(n,"Style")?ne(n):n;case Z.SCRIPT:if(re(n,"Script"))return ne(n);throw new C(5200,!1);case Z.URL:return re(n,"URL")?ne(n):er(String(n));case Z.RESOURCE_URL:if(re(n,"ResourceURL"))return ne(n);throw new C(5201,!1);default:throw new C(5202,!1)}}bypassSecurityTrustHtml(e){return Kn(e)}bypassSecurityTrustStyle(e){return Qn(e)}bypassSecurityTrustScript(e){return Yn(e)}bypassSecurityTrustUrl(e){return Xn(e)}bypassSecurityTrustResourceUrl(e){return Jn(e)}static{this.\u0275fac=function(n){return new(n||t)(S(E))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var g="primary",ke=Symbol("RouteTitle"),Qt=class{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 ce(t){return new Qt(t)}
vendor: 10,340 bytes, line 1
1function Zi(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let s=0;s<n.length;s++){let o=n[s],c=t[s];if(o.startsWith(":"))i[o.substring(1)]=c;else if(o!==c.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function Ki(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!j(t[e],r[e]))return!1;return!0}function j(t,r){let e=t?Yt(t):void 0,n=r?Yt(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let s=0;s<e.length;s++)if(i=e[s],!Fr(t[i],r[i]))return!1;return!0}function Yt(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Fr(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,s)=>n[s]===i)}else return t===r}function zr(t){return t.length>0?t[t.length-1]:null}function W(t){return xn(t)?t:mr(t)?O(Promise.resolve(t)):p(t)}var Qi={exact:Vr,subset:Br},Hr={exact:Yi,subset:Xi,ignored:()=>!0};function xr(t,r,e){return Qi[e.paths](t.root,r.root,e.matrixParams)&&Hr[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function Yi(t,r){return j(t,r)}function Vr(t,r,e){if(!Q(t.segments,r.segments)||!et(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!Vr(t.children[n],r.children[n],e))return!1;return!0}function Xi(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>Fr(t[e],r[e]))}function Br(t,r,e){return qr(t,r,r.segments,e)}function qr(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!Q(i,e)||r.hasChildren()||!et(i,e,n))}else if(t.segments.length===e.length){if(!Q(t.segments,e)||!et(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!Br(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!Q(t.segments,i)||!et(t.segments,i,n)||!t.children[g]?!1:qr(t.children[g],r,s,n)}}function et(t,r,e){return r.every((n,i)=>Hr[e](t[i].parameters,n.parameters))}var V=class{constructor(r=new v([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=ce(this.queryParams),this._queryParamMap}toString(){return ts.serialize(this)}},v=class{constructor(r,e){this.segments=r,this.children=e,this.parent=null,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return tt(this)}},K=class{constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=ce(this.parameters),this._parameterMap}toString(){return Gr(this)}};function Ji(t,r){return Q(t,r)&&t.every((e,n)=>j(e.parameters,r[n].parameters))}function Q(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function es(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===g&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==g&&(e=e.concat(r(i,n)))}),e}var pt=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:()=>new rt,providedIn:"root"})}}return t})(),rt=class{parse(r){let e=new Jt(r);return new V(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${Me(r.root,!0)}`,n=is(r.queryParams),i=typeof r.fragment=="string"?`#${ns(r.fragment)}`:"";return`${e}${n}${i}`}},ts=new rt;function tt(t){return t.segments.map(r=>Gr(r)).join("/")}function Me(t,r){if(!t.hasChildren())return tt(t);if(r){let e=t.children[g]?Me(t.children[g],!1):"",n=[];return Object.entries(t.children).forEach(([i,s])=>{i!==g&&n.push(`${i}:${Me(s,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=es(t,(n,i)=>i===g?[Me(t.children[g],!1)]:[`${i}:${Me(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[g]!=null?`${tt(t)}/${e[0]}`:`${tt(t)}/(${e.join("//")})`}}function Wr(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xe(t){return Wr(t).replace(/%3B/gi,";")}function ns(t){return encodeURI(t)}function Xt(t){return Wr(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function nt(t){return decodeURIComponent(t)}function Lr(t){return nt(t.replace(/\+/g,"%20"))}function Gr(t){return`${Xt(t.path)}${rs(t.parameters)}`}function rs(t){return Object.entries(t).map(([r,e])=>`;${Xt(r)}=${Xt(e)}`).join("")}function is(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${Xe(e)}=${Xe(i)}`).join("&"):`${Xe(e)}=${Xe(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var ss=/^[^\/()?;#]+/;function Wt(t){let r=t.match(ss);return r?r[0]:""}var os=/^[^\/()?;=#]+/;function as(t){let r=t.match(os);return r?r[0]:""}var cs=/^[^=?&#]+/;function us(t){let r=t.match(cs);return r?r[0]:""}var ls=/^[^&#]+/;function hs(t){let r=t.match(ls);return r?r[0]:""}var Jt=class{constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[g]=new v(r,e)),n}parseSegment(){let r=Wt(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(r),new K(nt(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=as(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=Wt(this.remaining);i&&(n=i,this.capture(n))}r[nt(e)]=nt(n)}parseQueryParam(r){let e=us(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let o=hs(this.remaining);o&&(n=o,this.capture(n))}let i=Lr(e),s=Lr(n);if(r.hasOwnProperty(i)){let o=r[i];Array.isArray(o)||(o=[o],r[i]=o),o.push(s)}else r[i]=s}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Wt(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new C(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):r&&(s=g);let o=this.parseChildren();e[s]=Object.keys(o).length===1?o[g]:new v([],o),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new C(4011,!1)}};function Zr(t){return t.segments.length>0?new v([],{[g]:t}):t}function Kr(t){let r={};for(let[n,i]of Object.entries(t.children)){let s=Kr(i);if(n===g&&s.segments.length===0&&s.hasChildren())for(let[o,c]of Object.entries(s.children))r[o]=c;else(s.segments.length>0||s.hasChildren())&&(r[n]=s)}let e=new v(t.segments,r);return ds(e)}function ds(t){if(t.numberOfChildren===1&&t.children[g]){let r=t.children[g];return new v(t.segments.concat(r.segments),r.children)}return t}function ue(t){return t instanceof V}function fs(t,r,e=null,n=null){let i=Qr(t);return Yr(i,r,e,n)}function Qr(t){let r;function e(s){let o={};for(let a of s.children){let u=e(a);o[a.outlet]=u}let c=new v(s.url,o);return s===t&&(r=c),c}let n=e(t.root),i=Zr(n);return r??i}function Yr(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return Gt(i,i,i,e,n);let s=ps(r);if(s.toRoot())return Gt(i,i,new v([],{}),e,n);let o=gs(s,i,t),c=o.processChildren?Ae(o.segmentGroup,o.index,s.commands):Jr(o.segmentGroup,o.index,s.commands);return Gt(i,o.segmentGroup,c,e,n)}function it(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ne(t){return typeof t=="object"&&t!=null&&t.outlets}function Gt(t,r,e,n,i){let s={};n&&Object.entries(n).forEach(([a,u])=>{s[a]=Array.isArray(u)?u.map(h=>`${h}`):`${u}`});let o;t===r?o=e:o=Xr(t,r,e);let c=Zr(Kr(o));return new V(c,s,i)}function Xr(t,r,e){let n={};return Object.entries(t.children).forEach(([i,s])=>{s===r?n[i]=e:n[i]=Xr(s,r,e)}),new v(t.segments,n)}var st=class{constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&it(n[0]))throw new C(4003,!1);let i=n.find(Ne);if(i&&i!==zr(n))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function ps(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new st(!0,0,t);let r=0,e=!1,n=t.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let c={};return Object.entries(s.outlets).forEach(([a,u])=>{c[a]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:c}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((c,a)=>{a==0&&c==="."||(a==0&&c===""?e=!0:c===".."?r++:c!=""&&i.push(c))}),i):[...i,s]},[]);return new st(e,r,n)}var oe=class{constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function gs(t,r,e){if(t.isAbsolute)return new oe(r,!0,0);if(!e)return new oe(r,!1,NaN);if(e.parent===null)return new oe(e,!0,0);let n=it(t.commands[0])?0:1,i=e.segments.length-1+n;return vs(e,i,t.numberOfDoubleDots)}function vs(t,r,e){let n=t,i=r,s=e;for(;s>i;){if(s-=i,n=n.parent,!n)throw new C(4005,!1);i=n.segments.length}return new oe(n,!1,i-s)}function ms(t){return Ne(t[0])?t[0].outlets:{[g]:t}}function Jr(t,r,e){if(t??=new v([],{}),t.segments.length===0&&t.hasChildren())return Ae(t,r,e);let n=ys(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let s=new v(t.segments.slice(0,n.pathIndex),{});return s.children[g]=new v(t.segments.slice(n.pathIndex),t.children),Ae(s,
10,i)}else return n.match&&i.length===0?new v(t.segments,{}):n.match&&!t.hasChildren()?en(t,r,e):n.match?Ae(t,0,i):en(t,r,e)}function Ae(t,r,e){if(e.length===0)return new v(t.segments,{});{let n=ms(e),i={};if(Object.keys(n).some(s=>s!==g)&&t.children[g]&&t.numberOfChildren===1&&t.children[g].segments.length===0){let s=Ae(t.children[g],r,e);return new v(t.segments,s.children)}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=Jr(t.children[s],r,o))}),Object.entries(t.children).forEach(([s,o])=>{n[s]===void 0&&(i[s]=o)}),new v(t.segments,i)}}function ys(t,r,e){let n=0,i=r,s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return s;let o=t.segments[i],c=e[n];if(Ne(c))break;let a=`${c}`,u=n<e.length-1?e[n+1]:null;if(i>0&&a===void 0)break;if(a&&u&&typeof u=="object"&&u.outlets===void 0){if(!_r(a,u,o))return s;n+=2}else{if(!_r(a,{},o))return s;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function en(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let s=e[i];if(Ne(s)){let a=Ss(s.outlets);return new v(n,a)}if(i===0&&it(e[0])){let a=t.segments[r];n.push(new K(a.path,jr(e[0]))),i++;continue}let o=Ne(s)?s.outlets[g]:`${s}`,c=i<e.length-1?e[i+1]:null;o&&c&&it(c)?(n.push(new K(o,jr(c))),i+=2):(n.push(new K(o,{})),i++)}return new v(n,{})}function Ss(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=en(new v([],{}),0,n))}),r}function jr(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function _r(t,r,e){return t==e.path&&j(r,e.parameters)}var De="imperative",R=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}(R||{}),P=class{constructor(r,e){this.id=r,this.url=e}},le=class extends P{constructor(r,e,n="imperative",i=null){super(r,e),this.type=R.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},_=class extends P{constructor(r,e,n){super(r,e),this.urlAfterRedirects=n,this.type=R.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},A=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(A||{}),ot=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ot||{}),B=class extends P{constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i,this.type=R.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},q=class extends P{constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i,this.type=R.NavigationSkipped}},Pe=class extends P{constructor(r,e,n,i){super(r,e),this.error=n,this.target=i,this.type=R.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},at=class extends P{constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i,this.type=R.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tn=class extends P{constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i,this.type=R.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nn=class extends P{constructor(r,e,n,i,s){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s,this.type=R.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},rn=class extends P{constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i,this.type=R.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sn=class extends P{constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i,this.type=R.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},on=class{constructor(r){this.route=r,this.type=R.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},an=class{constructor(r){this.route=r,this.type=R.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},cn=class{constructor(r){this.snapshot=r,this.type=R.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},un=class{constructor(r){this.snapshot=r,this.type=R.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ln=class{constructor(r){this.snapshot=r,this.type=R.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},hn=class{constructor(r){this.snapshot=r,this.type=R.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ct=class{constructor(r,e,n){this.routerEvent=r,this.position=e,this.anchor=n,this.type=R.Scroll}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},Ue=class{},xe=class{constructor(r){this.url=r}};var dn=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new gt,this.attachRef=null}},gt=(()=>{class t{constructor(){this.contexts=new Map}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 dn,this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ut=class{constructor(r){this._root=r}get root(){return this._root.value}
vendor: 16,488 bytes, line 1
1parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=fn(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=fn(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=pn(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return pn(r,this._root).map(e=>e.value)}};function fn(t,r){if(t===r.value)return r;for(let e of r.children){let n=fn(t,e);if(n)return n}return null}function pn(t,r){if(t===r.value)return[r];for(let e of r.children){let n=pn(t,e);if(n.length)return n.unshift(r),n}return[]}var T=class{constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function se(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var lt=class extends ut{constructor(r,e){super(r),this.snapshot=e,In(this,r)}toString(){return this.snapshot.toString()}};function ei(t){let r=Cs(t),e=new D([new K("",{})]),n=new D({}),i=new D({}),s=new D({}),o=new D(""),c=new Y(e,n,s,o,i,g,t,r.root);return c.snapshot=r.root,new lt(new T(c,[]),r)}function Cs(t){let r={},e={},n={},i="",s=new Le([],r,n,i,e,g,t,null,{});return new ht("",new T(s,[]))}var Y=class{constructor(r,e,n,i,s,o,c,a){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(y(u=>u[ke]))??p(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=s}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(y(r=>ce(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(y(r=>ce(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function bn(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:l(l({},r.params),t.params),data:l(l({},r.data),t.data),resolve:l(l(l(l({},t.data),r.data),i?.data),t._resolvedData)}:n={params:l({},t.params),data:l({},t.data),resolve:l(l({},t.data),t._resolvedData??{})},i&&ni(i)&&(n.resolve[ke]=i.title),n}var Le=class{get title(){return this.data?.[ke]}constructor(r,e,n,i,s,o,c,a,u){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=c,this.routeConfig=a,this._resolve=u}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??=ce(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ce(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}')`}},ht=class extends ut{constructor(r,e){super(e),this.url=r,In(this,e)}toString(){return ti(this._root)}};function In(t,r){r.value._routerState=t,r.children.forEach(e=>In(t,e))}function ti(t){let r=t.children.length>0?` { ${t.children.map(ti).join(", ")} } `:"";return`${t.value}${r}`}function Zt(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,j(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),j(r.params,e.params)||t.paramsSubject.next(e.params),Ki(r.url,e.url)||t.urlSubject.next(e.url),j(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function gn(t,r){let e=j(t.params,r.params)&&Ji(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||gn(t.parent,r.parent))}function ni(t){return typeof t.title=="string"||t.title===null}var ws=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=g,this.activateEvents=new te,this.deactivateEvents=new te,this.attachEvents=new te,this.detachEvents=new te,this.parentContexts=f(gt),this.location=f(sr),this.changeDetector=f(We),this.environmentInjector=f(Se),this.inputBinder=f(Mn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}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 C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(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 C(4013,!1);this._activatedRoute=e;let i=this.location,o=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,a=new vn(e,c,i.injector);this.activated=i.createComponent(o,{index:i.length,injector:a,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=Ve({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Be]})}}return t})(),vn=class t{__ngOutletInjector(r){return new t(this.route,this.childContexts,r)}constructor(r,e,n){this.route=r,this.childContexts=e,this.parent=n}get(r,e){return r===Y?this.route:r===gt?this.childContexts:this.parent.get(r,e)}},Mn=new M("");function Rs(t,r,e){let n=je(t,r._root,e?e._root:void 0);return new lt(n,r)}function je(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=bs(t,r,e);return new T(n,i)}else{if(t.shouldAttach(r.value)){let s=t.retrieve(r.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=r.value,o.children=r.children.map(c=>je(t,c)),o}}let n=Is(r.value),i=r.children.map(s=>je(t,s));return new T(n,i)}}function bs(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return je(t,n,i);return je(t,n)})}function Is(t){return new Y(new D(t.url),new D(t.params),new D(t.queryParams),new D(t.fragment),new D(t.data),t.outlet,t.component,t)}var ri="ngNavigationCancelingError";function ii(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=ue(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=si(!1,A.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function si(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[ri]=!0,e.cancellationCode=r,e}function Ms(t){return oi(t)&&ue(t.url)}function oi(t){return!!t&&t[ri]}var Es=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=Vn({type:t,selectors:[["ng-component"]],standalone:!0,features:[vr],decls:1,vars:0,template:function(n,i){n&1&&hr(0,"router-outlet")},dependencies:[ws],encapsulation:2})}}return t})();function Ts(t,r){return t.providers&&!t._injector&&(t._injector=cr(t.providers,r,`Route: ${t.path}`)),t._injector??r}function En(t){let r=t.children&&t.children.map(En),e=r?I(l({},t),{children:r}):l({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==g&&(e.component=Es),e}function k(t){return t.outlet||g}function As(t,r){let e=t.filter(n=>k(n)===r);return e.push(...t.filter(n=>k(n)!==r)),e}function $e(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Ds=(t,r,e,n)=>y(i=>(new mn(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),mn=class{constructor(r,e,n,i,s){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=s}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),Zt(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=se(e);r.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],n),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(r,e,n){let i=r.value,s=e?e.value:null;if(i===s)if(i.component){let o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(r,e,o.children)}else this.deactivateChildRoutes(r,e,n);else s&&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,s=se(r);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(n&&n.outlet){let o=n.outlet.detach(),c=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:o,route:r,contexts:c})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,s=se(r);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=se(e);r.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],n),this.forwardEvent(new hn(s.value.snapshot))}),r.children.length&&this.forwardEvent(new un(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,s=e?e.value:null;if(Zt(i),i===s)if(i.component){let o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,o.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(c.contexts),o.attachRef=c.componentRef,o.route=c.route.value,o.outlet&&o.outlet.attach(c.componentRef,c.route.value),Zt(c.route.value),this.activateChildRoutes(r,null,o.children)}else{let c=$e(i.snapshot);o.attachRef=null,o.route=i,o.injector=c,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(r,null,o.children)}}else this.activateChildRoutes(r,null,n)}},dt=class{constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},ae=class{constructor(r,e){this.component=r,this.route=e}};function Os(t,r,e){let n=t._root,i=r?r._root:null;return Ee(n,i,e,[n.value])}function Ns(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function de(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!Hn(t)?t:r.get(t):n}function Ee(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=se(r);return t.children.forEach(o=>{Ps(o,s[o.value.outlet],e,n.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,c])=>Oe(c,e.getContext(o),i)),i}function Ps(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=t.value,o=r?r.value:null,c=e?e.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let a=Us(o,s,s.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new dt(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?Ee(t,r,c?c.children:null,n,i):Ee(t,r,e,n,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new ae(c.outlet.component,o))}else o&&Oe(r,c,i),i.canActivateChecks.push(new dt(n)),s.component?Ee(t,null,c?c.children:null,n,i):Ee(t,null,e,n,i);return i}function Us(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!Q(t.url,r.url);case"pathParamsOrQueryParamsChange":return!Q(t.url,r.url)||!j(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gn(t,r)||!j(t.queryParams,r.queryParams);case"paramsChange":default:return!gn(t,r)}}function Oe(t,r,e){let n=se(t),i=t.value;Object.entries(n).forEach(([s,o])=>{i.component?r?Oe(o,r.children.getContext(s),e):Oe(o,null,e):Oe(o,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new ae(r.outlet.component,i)):e.canDeactivateChecks.push(new ae(null,i)):e.canDeactivateChecks.push(new ae(null,i))}function Fe(t){return typeof t=="function"}function xs(t){return typeof t=="boolean"}function Ls(t){return t&&Fe(t.canLoad)}function js(t){return t&&Fe(t.canActivate)}function _s(t){return t&&Fe(t.canActivateChild)}function ks(t){return t&&Fe(t.canDeactivate)}function $s(t){return t&&Fe(t.canMatch)}function ai(t){return t instanceof Ln||t?.name==="EmptyError"}var Je=Symbol("INITIAL_VALUE");function he(){return L(t=>wt(t.map(r=>r.pipe(ee(1),Fn(Je)))).pipe(y(r=>{for(let e of r)if(e!==!0){if(e===Je)return Je;if(e===!1||e instanceof V)return e}return!0}),X(r=>r!==Je),ee(1)))}function Fs(t,r){return N(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return o.length===0&&s.length===0?p(I(l({},e),{guardsResult:!0})):zs(o,n,i,t).pipe(N(c=>c&&xs(c)?Hs(n,s,t,r):p(c)),y(c=>I(l({},e),{guardsResult:c})))})}function zs(t,r,e,n){return O(t).pipe(N(i=>Gs(i.component,i.route,e,r,n)),z(i=>i!==!0,!0))}function Hs(t,r,e,n){return O(r).pipe(me(i=>jn(Bs(i.route.parent,n),Vs(i.route,n),Ws(t,i.path,e),qs(t,i.route,e))),z(i=>i!==!0,!0))}function Vs(t,r){return t!==null&&r&&r(new ln(t)),p(!0)}function Bs(t,r){return t!==null&&r&&r(new cn(t)),p(!0)}function qs(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return p(!0);let i=n.map(s=>bt(()=>{let o=$e(r)??e,c=de(s,o),a=js(c)?c.canActivate(r,t):H(o,()=>c(r,t));return W(a).pipe(z())}));return p(i).pipe(he())}function Ws(t,r,e){let n=r[r.length-1],s=r.slice(0,r.length-1).reverse().map(o=>Ns(o)).filter(o=>o!==null).map(o=>bt(()=>{let c=o.guards.map(a=>{let u=$e(o.node)??e,h=de(a,u),d=_s(h)?h.canActivateChild(n,t):H(u,()=>h(n,t));return W(d).pipe(z())});return p(c).pipe(he())}));return p(s).pipe(he())}function Gs(t,r,e,n,i){let s=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!s||s.length===0)return p(!0);let o=s.map(c=>{let a=$e(r)??i,u=de(c,a),h=ks(u)?u.canDeactivate(t,r,e,n):H(a,()=>u(t,r,e,n));return W(h).pipe(z())});return p(o).pipe(he())}function Zs(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return p(!0);let s=i.map(o=>{let c=de(o,t),a=Ls(c)?c.canLoad(r,e):H(t,()=>c(r,e));return W(a)});return p(s).pipe(he(),ci(n))}function ci(t){return Un(b(r=>{if(ue(r))throw ii(t,r)}),y(r=>r===!0))}function Ks(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return p(!0);let s=i.map(o=>{let c=de(o,t),a=$s(c)?c.canMatch(r,e):H(t,()=>c(r,e));return W(a)});return p(s).pipe(he(),ci(n))}var _e=class{constructor(r){this.segmentGroup=r||null}}
1,ft=class extends Error{constructor(r){super(),this.urlTree=r}};function ie(t){return ve(new _e(t))}function Qs(t){return ve(new C(4e3,!1))}function Ys(t){return ve(si(!1,A.GuardRejected))}var yn=class{constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return p(n);if(i.numberOfChildren>1||!i.children[g])return Qs(r.redirectTo);i=i.children[g]}}applyRedirectCommands(r,e,n){let i=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,n);if(e.startsWith("/"))throw new ft(i);return i}applyRedirectCreateUrlTree(r,e,n,i){let s=this.createSegmentGroup(r,e.root,n,i);return new V(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,s])=>{if(typeof s=="string"&&s.startsWith(":")){let c=s.substring(1);n[i]=e[c]}else n[i]=s}),n}createSegmentGroup(r,e,n,i){let s=this.createSegments(r,e.segments,n,i),o={};return Object.entries(e.children).forEach(([c,a])=>{o[c]=this.createSegmentGroup(r,a,n,i)}),new v(s,o)}createSegments(r,e,n,i){return e.map(s=>s.path.startsWith(":")?this.findPosParam(r,s,i):this.findOrReturn(s,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new C(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}},Sn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Xs(t,r,e,n,i){let s=Tn(t,r,e);return s.matched?(n=Ts(r,n),Ks(n,r,e,i).pipe(y(o=>o===!0?s:l({},Sn)))):p(s)}function Tn(t,r,e){if(r.path==="**")return Js(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?l({},Sn):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||Zi)(e,t,r);if(!i)return l({},Sn);let s={};Object.entries(i.posParams??{}).forEach(([c,a])=>{s[c]=a.path});let o=i.consumed.length>0?l(l({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function Js(t){return{matched:!0,parameters:t.length>0?zr(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function kr(t,r,e,n){return e.length>0&&no(t,e,n)?{segmentGroup:new v(r,to(n,new v(e,t.children))),slicedSegments:[]}:e.length===0&&ro(t,e,n)?{segmentGroup:new v(t.segments,eo(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new v(t.segments,t.children),slicedSegments:e}}function eo(t,r,e,n){let i={};for(let s of e)if(vt(t,r,s)&&!n[k(s)]){let o=new v([],{});i[k(s)]=o}return l(l({},n),i)}function to(t,r){let e={};e[g]=r;for(let n of t)if(n.path===""&&k(n)!==g){let i=new v([],{});e[k(n)]=i}return e}function no(t,r,e){return e.some(n=>vt(t,r,n)&&k(n)!==g)}function ro(t,r,e){return e.some(n=>vt(t,r,n))}function vt(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function io(t,r,e,n){return k(t)!==n&&(n===g||!vt(r,e,t))?!1:Tn(r,t,e).matched}function so(t,r,e){return r.length===0&&!t.children[e]}var Cn=class{};function oo(t,r,e,n,i,s,o="emptyOnly"){return new wn(t,r,e,n,i,o,s).recognize()}var ao=31,wn=class{constructor(r,e,n,i,s,o,c){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=c,this.applyRedirects=new yn(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(r){return new C(4002,`'${r.segmentGroup}'`)}recognize(){let r=kr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(y(e=>{let n=new Le([],Object.freeze({}),Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,{},g,this.rootComponentType,null,{}),i=new T(n,e),s=new ht("",i),o=fs(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),this.inheritParamsAndData(s._root,null),{state:s,tree:o}}))}match(r){return this.processSegmentGroup(this.injector,this.config,r,g).pipe(J(n=>{if(n instanceof ft)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof _e?this.noMatchError(n):n}))}inheritParamsAndData(r,e){let n=r.value,i=bn(n,e,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),r.children.forEac
1h(s=>this.inheritParamsAndData(s,n))}processSegmentGroup(r,e,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n):this.processSegment(r,e,n,n.segments,i,!0).pipe(y(s=>s instanceof T?[s]:[]))}processChildren(r,e,n){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return O(i).pipe(me(s=>{let o=n.children[s],c=As(e,s);return this.processSegmentGroup(r,c,o,s)}),$n((s,o)=>(s.push(...o),s)),It(null),kn(),N(s=>{if(s===null)return ie(n);let o=ui(s);return co(o),p(o)}))}processSegment(r,e,n,i,s,o){return O(e).pipe(me(c=>this.processSegmentAgainstRoute(c._injector??r,e,c,n,i,s,o).pipe(J(a=>{if(a instanceof _e)return p(null);throw a}))),z(c=>!!c),J(c=>{if(ai(c))return so(n,i,s)?p(new Cn):ie(n);throw c}))}processSegmentAgainstRoute(r,e,n,i,s,o,c){return io(n,i,s,o)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,s,o):this.allowRedirects&&c?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,s,o):ie(i):ie(i)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,s,o){let{matched:c,consumedSegments:a,positionalParamSegments:u,remainingSegments:h}=Tn(e,i,s);if(!c)return ie(e);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ao&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(a,i.redirectTo,u);return this.applyRedirects.lineralizeSegments(i,d).pipe(N(w=>this.processSegment(r,n,e,w.concat(h),o,!1)))}matchSegmentAgainstRoute(r,e,n,i,s){let o=Xs(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),o.pipe(L(c=>c.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(L(({routes:a})=>{let u=n._loadedInjector??r,{consumedSegments:h,remainingSegments:d,parameters:w}=c,fe=new Le(h,w,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,lo(n),k(n),n.component??n._loadedComponent??null,n,ho(n)),{segmentGroup:pe,slicedSegments:ge}=kr(e,h,d,a);if(ge.length===0&&pe.hasChildren())return this.processChildren(u,a,pe).pipe(y(G=>G===null?null:new T(fe,G)));if(a.length===0&&ge.length===0)return p(new T(fe,[]));let yt=k(n)===s;return this.processSegment(u,a,pe,ge,yt?g:s,!0).pipe(y(G=>new T(fe,G instanceof T?[G]:[])))}))):ie(e)))}getChildConfig(r,e,n){return e.children?p({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?p({routes:e._loadedRoutes,injector:e._loadedInjector}):Zs(r,e,n,this.urlSerializer).pipe(N(i=>i?this.configLoader.loadChildren(r,e).pipe(b(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):Ys(e))):p({routes:[],injector:r})}};function co(t){t.sort((r,e)=>r.value.outlet===g?-1:e.value.outlet===g?1:r.value.outlet.localeCompare(e.value.outlet))}function uo(t){let r=t.value.routeConfig;return r&&r.path===""}function ui(t){let r=[],e=new Set;for(let n of t){if(!uo(n)){r.push(n);continue}let i=r.find(s=>n.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=ui(n.children);r.push(new T(n.value,i))}return r.filter(n=>!e.has(n))}function lo(t){return t.data||{}}function ho(t){return t.resolve||{}}function fo(t,r,e,n,i,s){return N(o=>oo(t,r,e,n,o.extractedUrl,i,s).pipe(y(({state:c,tree:a})=>I(l({},o),{targetSnapshot:c,urlAfterRedirects:a}))))}function po(t,r){return N(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return p(e);let s=new Set(i.map(a=>a.route)),o=new Set;for(let a of s)if(!o.has(a))for(let u of li(a))o.add(u);let c=0;return O(o).pipe(me(a=>s.has(a)?go(a,n,t,r):(a.data=bn(a,a.parent,t).resolve,p(void 0))),b(()=>c++),Mt(1),N(a=>c===o.size?p(e):F))})}function li(t){let r=t.children.map(e=>li(e)).flat();return[t,...r]}function go(t,r,e,n){let i=t.routeConfig,s=t._resolve;return i?.title!==void 0&&!ni(i)&&(s[ke]=i.title),vo(s,t,r,n).pipe(y(o=>(t._resolvedData=o,t.data=bn(t,t.parent,e).resolve,null)))}function vo(t,r,e,n){let i=Yt(t);if(i.length===0)return p({});let s={};return O(i).pipe(N(o=>mo(t[o],r,e,n).pipe(z(),b(c=>{s[o]=c}))),Mt(1),_n(s),J(o=>ai(o)?F:ve(o)))}function mo(t,r,e,n){let i=$e(r)??n,s=de(t,i),o=s.resolve?s.resolve(r,e):H(i,()=>s(r,e));return W(o)}function Kt(t){return L(r=>{let e=t(r);return e?O(e).pipe(y(()=>r)):p(r)})}var hi=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(s=>s.outlet===g);return n}getResolvedTitleForRoute(e){return e.data[ke]}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:()=>f(yo),providedIn:"root"})}}return t})(),yo=(()=>{class t extends hi{constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static{this.\u0275fac=function(n){return new(n||t)(S(Ur))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),An=new M("",{providedIn:"root",factory:()=>({})}),Dn=new M(""),So=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=f(jt)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return p(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=W(e.loadComponent()).pipe(y(di),b(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),ze(()=>{this.componentLoaders.delete(e)})),i=new Ct(n,()=>new $).pipe(St());return this.componentLoaders.set(e,i),i}
1loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return p({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=Co(n,this.compiler,e,this.onLoadEndListener).pipe(ze(()=>{this.childrenLoaders.delete(n)})),o=new Ct(s,()=>new $).pipe(St());return this.childrenLoaders.set(n,o),o}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Co(t,r,e,n){return W(t.loadChildren()).pipe(y(di),N(i=>i instanceof ar||Array.isArray(i)?p(i):O(r.compileModuleAsync(i))),y(i=>{n&&n(t);let s,o,c=!1;return Array.isArray(i)?(o=i,c=!0):(s=i.create(e).injector,o=s.get(Dn,[],{optional:!0,self:!0}).flat()),{routes:o.map(En),injector:s}}))}function wo(t){return t&&typeof t=="object"&&"default"in t}function di(t){return wo(t)?t.default:t}var On=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:()=>f(Ro),providedIn:"root"})}}return t})(),Ro=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),fi=new M(""),pi=new M("");function bo(t,r,e){let n=t.get(pi),i=t.get(E);return t.get(x).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let s,o=new Promise(u=>{s=u}),c=i.startViewTransition(()=>(s(),Io(t))),{onViewTransitionCreated:a}=n;return a&&H(t,()=>a({transition:c,from:r,to:e})),o})}function Io(t){return new Promise(r=>{xt(r,{injector:t})})}var gi=(()=>{class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new $,this.transitionAbortSubject=new $,this.configLoader=f(So),this.environmentInjector=f(Se),this.urlSerializer=f(pt),this.rootContexts=f(gt),this.location=f(Ke),this.inputBindingEnabled=f(Mn,{optional:!0})!==null,this.titleStrategy=f(hi),this.options=f(An,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=f(On),this.createViewTransition=f(fi,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>p(void 0),this.rootComponentType=null;let e=i=>this.events.next(new on(i)),n=i=>this.events.next(new an(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(I(l(l({},this.transitions.value),e),{id:n}))}setupNavigations(e,n,i){return this.transitions=new D({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:De,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(X(s=>s.id!==0),y(s=>I(l({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),L(s=>{let o=!1,c=!1;return p(s).pipe(L(a=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",A.SupersededByNewNavigation),F;this.currentTransition=s,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?I(l({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),h=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&h!=="reload"){let d="";return this.events.next(new q(a.id,this.urlSerializer.serialize(a.rawUrl),d,ot.IgnoredSameUrlNavigation)),a.resolve(null),F}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return p(a).pipe(L(d=>{let w=this.transitions?.getValue();return this.events.next(new le(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),w!==this.transitions?.getValue()?F:Prom
1ise.resolve(d)}),fo(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),b(d=>{s.targetSnapshot=d.targetSnapshot,s.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=I(l({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let w=new at(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(w)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:w,source:fe,restoredState:pe,extras:ge}=a,yt=new le(d,this.urlSerializer.serialize(w),fe,pe);this.events.next(yt);let G=ei(this.rootComponentType).snapshot;return this.currentTransition=s=I(l({},a),{targetSnapshot:G,urlAfterRedirects:w,extras:I(l({},ge),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=w,p(s)}else{let d="";return this.events.next(new q(a.id,this.urlSerializer.serialize(a.extractedUrl),d,ot.IgnoredByUrlHandlingStrategy)),a.resolve(null),F}}),b(a=>{let u=new tn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),y(a=>(this.currentTransition=s=I(l({},a),{guards:Os(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),s)),Fs(this.environmentInjector,a=>this.events.next(a)),b(a=>{if(s.guardsResult=a.guardsResult,ue(a.guardsResult))throw ii(this.urlSerializer,a.guardsResult);let u=new nn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(u)}),X(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",A.GuardRejected),!1)),Kt(a=>{if(a.guards.canActivateChecks.length)return p(a).pipe(b(u=>{let h=new rn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(h)}),L(u=>{let h=!1;return p(u).pipe(po(this.paramsInheritanceStrategy,this.environmentInjector),b({next:()=>h=!0,complete:()=>{h||this.cancelNavigationTransition(u,"",A.NoDataFromResolver)}}))}),b(u=>{let h=new sn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(h)}))}),Kt(a=>{let u=h=>{let d=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(h.routeConfig).pipe(b(w=>{h.component=w}),y(()=>{})));for(let w of h.children)d.push(...u(w));return d};return wt(u(a.targetSnapshot.root)).pipe(It(null),ee(1))}),Kt(()=>this.afterPreactivation()),L(()=>{let{currentSnapshot:a,targetSnapshot:u}=s,h=this.createViewTransition?.(this.environmentInjector,a.root,u.root);return h?O(h).pipe(y(()=>s)):p(s)}),y(a=>{let u=Rs(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=s=I(l({},a),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),b(()=>{this.events.next(new Ue)}),Ds(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),ee(1),b({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new _(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),zn(this.transitionAbortSubject.pipe(b(a=>{throw a}))),ze(()=>{!o&&!c&&this.cancelNavigationTransition(s,"",A.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),J(a=>{if(c=!0,oi(a))this.events.next(new B(s.id,this.urlSerializer.serialize(s.extractedUrl),a.message,a.cancellationCode)),Ms(a)?this.events.next(new xe(a.url)):s.resolve(!1);else{this.events.next(new Pe(s.id,this.urlSerializer.serialize(s.extractedUrl),a,s.targetSnapshot??void 0));try{s.resolve(e.errorHandler(a))}catch(u){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(u)}}return F}))}))}cancelNavigationTransition(e,n,i){let s=new B(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(s),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Mo(t){return t!==De}var Eo=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:()=>f(To),providedIn:"root"})}}return t})(),Rn=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},To=(()=>{class t extends Rn{static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=At(t)))(i||t)}})()}static{this.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),vi=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:()=>f(Ao),providedIn:"root"})}}return t})(),Ao=(()=>{class t extends vi{constructor(){super(...arguments),this.location=f(Ke),this.urlSerializer
1=f(pt),this.options=f(An,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=f(On),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new V,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ei(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&e(n.url,n.state)})}handleRouterEvent(e,n){if(e instanceof le)this.stateMemento=this.createStateMemento();else if(e instanceof q)this.rawUrlTree=n.initialUrl;else if(e instanceof at){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(i,n)}}else e instanceof Ue?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n))):e instanceof B&&(e.code===A.GuardRejected||e.code===A.NoDataFromResolver)?this.restoreHistory(n):e instanceof Pe?this.restoreHistory(n,!0):e instanceof _&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let i=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(i)||n.extras.replaceUrl){let s=this.browserPageId,o=l(l({},n.extras.state),this.generateNgRouterState(n.id,s));this.location.replaceState(i,"",o)}else{let s=l(l({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===e.finalUrl&&s===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=At(t)))(i||t)}})()}static{this.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Te=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Te||{});function Do(t,r){t.events.pipe(X(e=>e instanceof _||e instanceof B||e instanceof Pe||e instanceof q),y(e=>e instanceof _||e instanceof q?Te.COMPLETE:(e instanceof B?e.code===A.Redirect||e.code===A.SupersededByNewNavigation:!1)?Te.REDIRECTING:Te.FAILED),X(e=>e!==Te.REDIRECTING),ee(1)).subscribe(()=>{r()})}function Oo(t){throw t}var No={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Po={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},mt=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=f(qe),this.stateManager=f(vi),this.options=f(An,{optional:!0})||{},this.pendingTasks=f(ur),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=f(gi),this.urlSerializer
1=f(pt),this.location=f(Ke),this.urlHandlingStrategy=f(On),this._events=new $,this.errorHandler=this.options.errorHandler||Oo,this.navigated=!1,this.routeReuseStrategy=f(Eo),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=f(Dn,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!f(Mn,{optional:!0}),this.eventsSubscription=new Pn,this.isNgZoneEnabled=f(x)instanceof x&&x.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(n,s),n instanceof B&&n.code!==A.Redirect&&n.code!==A.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof _)this.navigated=!0;else if(n instanceof xe){let o=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),c={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Mo(i.source)};this.scheduleNavigation(o,De,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}xo(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),De,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",n)},0)})}navigateToSyncWithBrowser(e,n,i){let s={replaceUrl:!0},o=i?.navigationId?i:null;if(i){let a=l({},i);delete a.navigationId,delete a.\u0275routerPageId,Object.keys(a).length!==0&&(s.state=a)}let c=this.parseUrl(e);this.scheduleNavigation(c,n,o,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(En),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:c,preserveFragment:a}=n,u=a?this.currentUrlTree.fragment:o,h=null;switch(c){case"merge":h=l(l({},this.currentUrlTree.queryParams),s);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=s||null}h!==null&&(h=this.removeEmptyProps(h));let d;try{let w=i?i.snapshot:this.routerState.snapshot.root;d=Qr(w)}catch{(typeof e[0]!="string"||!e[0].startsWith("/"))&&(e=[]),d=this.currentUrlTree.root}return Yr(d,e,h,u??null)}navigateByUrl(e,n={skipLocationChange:!1}){let i=ue(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,De,null,n)}navigate(e,n={skipLocationChange:!1}){return Uo(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=l({},No):n===!1?i=l({},Po):i=n,ue(e))return xr(this.currentUrlTree,e,i);let s=this.parseUrl(e);return xr(this.currentUrlTree,s,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,s])=>(s!=null&&(n[i]=s),n),{})}scheduleNavigation(e,n,i,s,o){if(this.disposed)return Promise.resolve(!1);let c,a,u;o?(c=o.resolve,a=o.reject,u=o.promise):u=new Promise((d,w)=>{c=d,a=w});let h=this.pendingTasks.add();return Do(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:c,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Uo(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new C(4008,!1)}function xo(t){return!(t instanceof Ue)&&!(t instanceof xe)}var $r=(()=>{class t{constructor(e,n,i,s,o,c){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new $,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let a=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a==="a"||a==="area",this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof _&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e!=null?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,n,i,s,o){let c=this.urlTree;if(c===null||this.isAnchorElement&&(e!==0||n||i||s||o||typeof this.target=="string"&&this.target!="_self"))return!0;
1let a={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,a),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:nr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let i=this.renderer,s=this.el.nativeElement;n!==null?i.setAttribute(s,e,n):i.removeAttribute(s,e)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(n){return new(n||t)(U(mt),U(Y),qn("tabindex"),U(Ut),U(Ot),U(_t))}}static{this.\u0275dir=Ve({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,i){n&1&&dr("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),n&2&&lr("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[He.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Ge],skipLocationChange:[He.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Ge],replaceUrl:[He.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Ge],routerLink:"routerLink"},standalone:!0,features:[or,Be]})}}return t})(),ja=(()=>{class t{get isActive(){return this._isActive}constructor(e,n,i,s,o){this.router=e,this.element=n,this.renderer=i,this.cdr=s,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new te,this.routerEventsSubscription=e.events.subscribe(c=>{c instanceof _&&this.update()})}ngAfterContentInit(){p(this.links.changes,p(null)).pipe(Rt()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=O(e).pipe(Rt()).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=Lo(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?e.isActive(s,n):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static{this.\u0275fac=function(n){return new(n||t)(U(mt),U(Ot),U(Ut),U(We),U($r,8))}}static{this.\u0275dir=Ve({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,s){if(n&1&&fr(s,$r,5),n&2){let o;pr(o=gr())&&(i.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Be]})}}return t})();function Lo(t){return!!t.paths}var mi=new M(""),jo=(()=>{class t{constructor(e,n,i,s,o={}
1){this.urlSerializer=e,this.transitions=n,this.viewportScroller=i,this.zone=s,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=f(Se),o.scrollPositionRestoration||="disabled",o.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 le?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof _?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof q&&e.code===ot.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ct&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>Nn(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),xt(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new ct(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(n){rr()}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})();function _a(t,...r){return Tt([{provide:Dn,multi:!0,useValue:t},[],{provide:Y,useFactory:_o,deps:[mt]},{provide:yr,multi:!0,useFactory:ko},r.map(e=>e.\u0275providers)])}function _o(t){return t.routerState.root}function yi(t,r){return{\u0275kind:t,\u0275providers:r}}function ka(t={}){return yi(4,[{provide:mi,useFactory:()=>{let e=f(Ir),n=f(x),i=f(gi),s=f(pt);return new jo(s,i,e,n,t)}}])}function ko(){let t=f(Wn);return r=>{let e=t.get(Lt);if(r!==e.components[0])return;let n=t.get(mt),i=t.get($o);t.get(Fo)===1&&n.initialNavigation(),t.get(zo,null,Et.Optional)?.setUpPreloading(),t.get(mi,null,Et.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var $o=new M("",{factory:()=>new $}),Fo=new M("",{providedIn:"root",factory:()=>1});var zo=new M("");function $a(t){let r=[{provide:fi,useValue:bo},{provide:pi,useValue:l({skipNextTransition:!!t?.skipInitialTransition},t)}];return yi(9,r)}export{Er as a,ua as b,la as c,Ur as d,qi as e,_ as f,Y as g,ws as h,mt as i,$r as j,ja as k,_a as l,ka as m,$a as n};
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.