PageSourceSearch

https://nbmedical.com/chunk-LRSFZQSP.js

js nbmedical.com collected 2026-10-02 07:00:23 UTC 99,734 bytes, 1 lines download raw bytes

vendor: 11,309 bytes, line 1
1import{$ as bn,$a as q,A as ht,Aa as _n,Ac as Ct,B as je,Ba as Sr,Bc as ei,Ca as yt,Cb as Yn,Cc as ti,D as ve,Da as me,Ea as ye,Ec as ri,Fa as An,Ga as Nn,Gc as ni,H as wn,Ha as On,Hc as ii,I as ee,Ia as Un,Ic as Et,J as hr,Ja as Pn,Jc as oi,Ka as Ln,Kc as bt,La as xn,M as Cn,Mc as si,N as H,Nb as Kn,O as ft,Oc as Re,P as $,Pc as ai,Qa as jn,Qc as ci,R as S,Rc as ui,S as fr,Sa as ze,Sb as Qn,Sc as Be,Ta as kn,Tc as li,U as v,Ua as Hn,Ub as Zn,Uc as Se,V as pt,Va as $n,Vb as Jn,Vc as di,W as En,X as E,Xa as wr,Y as m,Z as d,Za as zn,_ as gt,_a as Cr,a as gn,aa as K,ab as Fn,b as vn,ba as N,bb as Bn,c as mn,ca as ce,cb as qn,cd as hi,d as ae,db as Rt,dd as fi,e as x,eb as Vn,ed as pi,f as j,fb as St,g as I,gb as Fe,gd as Ir,h as g,ha as ke,i as yn,ia as O,j as lr,ja as pr,k as Rn,ka as Mn,la as ue,lb as Er,m as D,ma as He,mb as Gn,n as dr,na as gr,o as B,oa as vt,ob as br,p as xe,pa as M,pb as Mr,pd as gi,q as Sn,qb as wt,r as dt,ra as $e,rb as Wn,sa as vr,ta as In,ua as mr,va as Tn,wa as yr,x as X,xa as Dn,xc as Xn,ya as mt,za as Rr,zc as C}from"./chunk-IXJZIWF6.js";import{a as l,b as A,g as w}from"./chunk-6IZLXKZM.js";var qe=class{_doc;constructor(n){this._doc=n}manager},Mt=(()=>{class t extends qe{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||t)(m(O))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),_t=new E(""),Ar=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof Mt));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Mt);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new S(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(m(_t),m(He))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Tr="ng-app-id";function vi(t){for(let n of t)n.remove()}function mi(t,n){let e=n.createElement("style");return e.textContent=t,e}function _o(t,n,e,r){let i=t.head?.querySelectorAll(`style[${Tr}="${n}"],link[${Tr}="${n}"]`);if(i)for(let o of i)o.removeAttribute(Tr),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function _r(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Nr=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,_o(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,mi);r?.forEach(i=>this.addUsage(i,this.external,_r))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(vi(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])vi(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,mi(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,_r(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(m(O),m(yr),m(Rr,8),m(mt))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Dr={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"},Or=/%COMP%/g;var Ri="%COMP%",Ao=`_nghost-${Ri}`,No=`_ngcontent-${Ri}`,Oo=!0,Uo=new E("",{factory:()=>Oo});function Po(t){return No.replace(Or,t)}function Lo(t){return Ao.replace(Or,t)}function Si(t,n){return n.map(e=>e.replace(Or,t))}var Ur=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,r,i,o,s,a,c=null,u=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new Ve(e,s,a,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof Tt?i.applyToHost(e):i instanceof Ge&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,f=this.tracingService;switch(r.encapsulation){case yt.Emulated:o=new Tt(c,u,r,this.appId,h,s,a,f);break;case yt.ShadowDom:return new It(c,e,r,s,a,this.nonce,f,u);case yt.ExperimentalIsolatedShadowDom:return new It(c,e,r,s,a,this.nonce,f);default:o=new Ge(c,u,r,h,s,a,f);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(m(Ar),m(Nr),m(yr),m(Uo),m(O),m(He),m(Rr),m(Hn,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Ve=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i){this.eventManager=n,this.doc=e,this.ngZone=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Dr[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(yi(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(yi(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new S(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let o=Dr[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=Dr[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(ze.DashCase|ze.Important)?n.style.setProperty(e,r,i&ze.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&ze.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n=="string"&&(n=Re().getGlobalEventTarget(this.doc,n),!n))throw new S(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function yi(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var It=class extends Ve{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,i,o,s,a,c){super(n,i,o,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Si(r.id,u);for(let f of u){let R=document.createElement("style");s&&R.setAttribute("nonce",s),R.textContent=f,this.shadowRoot.appendChild(R)}let h=r.getExternalStyles?.();if(h)for(let f of h){let R=_r(f,i);s&&R.setAttribute("nonce",s),this.shadowRoot.appendChild(R)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Ge=class extends Ve{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,a,c){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let u=r.styles;this.styles=c?Si(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&kn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Tt=class extends Ge{contentAttr;hostAttr;constructor(n,e,r,i,o,s,a,c){let u=i+"-"+r.id;super(n,e,r,o,s,a,c,u),this.contentAttr=Po(u),this.hostAttr=Lo(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var At=class t extends ci{supportsDOMEvents=!0;static makeCurrent(){ai(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=jo();return e==null?null:ko(e)}resetBaseElement(){We=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return hi(document.cookie,n)}},We=null;function jo(){return We=We||document.head.querySelector("base"),We?We.getAttribute("href"):null}function ko(t){return new URL(t,document.baseURI).pathname}var Ho=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),wi=["alt","control","meta","shift"],$o={"\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"},zo={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Ci=(()=>{class t extends qe{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Re().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),wi.forEach(u=>{let h=r.indexOf(u);h>-1&&(r.splice(h,1),s+=u+".")}),s+=o,r.length!=0||o.length===0)return null;
1let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,r){let i=$o[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),wi.forEach(s=>{if(s!==i){let a=zo[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(m(O))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();function Fo(t,n,e){return w(this,null,function*(){let r=l({rootComponent:t},Bo(n,e));return oi(r)})}function Bo(t,n){return{platformRef:n?.platformRef,appProviders:[...Yo,...t?.providers??[]],platformProviders:Wo}}function qo(){At.makeCurrent()}function Vo(){return new gr}function Go(){return Tn(document),document}var Wo=[{provide:mt,useValue:pi},{provide:Dn,useValue:qo,multi:!0},{provide:O,useFactory:Go}];var Yo=[{provide:bn,useValue:"root"},{provide:gr,useFactory:Vo},{provide:_t,useClass:Mt,multi:!0},{provide:_t,useClass:Ci,multi:!0},Ur,Nr,Ar,{provide:zn,useExisting:Ur},{provide:fi,useClass:Ho},[]];var Dc=(()=>{class t{_doc;_dom;constructor(e){this._doc=e,this._dom=Re()}addTag(e,r=!1){return e?this._getOrCreateElement(e,r):null}addTags(e,r=!1){return e?e.reduce((i,o)=>(o&&i.push(this._getOrCreateElement(o,r)),i),[]):[]}getTag(e){if(!e)return null;let r=this._doc.querySelector(`meta[${e}]`);return r?.nodeName.toLowerCase()==="meta"?r:null}getTags(e){if(!e)return[];let r=this._doc.querySelectorAll(`meta[${e}]`);return r?[].slice.call(r).filter(i=>i.nodeName.toLowerCase()==="meta"):[]}updateTag(e,r){if(!e)return null;this._validateMetaDefinition(e),r=r||this._parseSelector(e);let i=this.getTag(r);return i?this._setMetaElementAttributes(e,i):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,r=!1){if(this._validateMetaDefinition(e),!r){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,r){return Object.keys(e).forEach(i=>r.setAttribute(this._getMetaKeyMap(i),e[i])),r}_parseSelector(e){let r=e.name?"name":"property";return`${r}=${this._escapeSelectorValue(String(e[r]))}`}_escapeSelectorValue(e){return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}_validateMetaDefinition(e){for(let r of Object.keys(e))if(this._getMetaKeyMap(r).toLowerCase().startsWith("on"))throw new S(5203,!1)}_containsAttributes(e,r){return Object.keys(e).every(i=>r.getAttribute(this._getMetaKeyMap(i))===e[i])}_getMetaKeyMap(e){return Object.hasOwn(Ei,e)?Ei[e]:e}static \u0275fac=function(r){return new(r||t)(m(O))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ei={httpEquiv:"http-equiv"},bi=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(m(O))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Qo=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=m(Zo),i},providedIn:"root"})}return t})(),Zo=(()=>{class t extends Qo{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case ce.NONE:return r;case ce.HTML:return ye(r,"HTML")?me(r):xn(this._doc,String(r)).toString();case ce.STYLE:return ye(r,"Style")?me(r):r;case ce.SCRIPT:if(ye(r,"Script"))return me(r);throw new S(5200,!1);case ce.URL:return ye(r,"URL")?me(r):Ln(String(r));case ce.RESOURCE_URL:if(ye(r,"ResourceURL"))return me(r);throw new S(5201,!1);default:throw new S(5202,!1)}}bypassSecurityTrustHtml(e){return An(e)}bypassSecurityTrustStyle(e){return Nn(e)}bypassSecurityTrustScript(e){return On(e)}bypassSecurityTrustUrl(e){return Un(e)}bypassSecurityTrustResourceUrl(e){return Pn(e)}static \u0275fac=function(r){return new(r||t)(m(O))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Nt=(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})(Nt||{});function Jo(t,n=[],e={}){return{\u0275kind:t,\u0275providers:n}}function _c(){return Jo(Nt.EventReplay,ni())}function Ac(...t){let n=[],e=new Set;for(let{\u0275providers:i,\u0275kind:o}of t)e.add(o),i.length&&n.push(i);let r=e.has(Nt.HttpTransferCacheOptions);return gt([[],[],ii(),e.has(Nt.NoHttpTransferCache)||r?[]:gi({}),n])}var p="primary",st=Symbol("RouteTitle"),Hr=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function de(t){return new Hr(t)}function Pr(t,n,e){for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function Ni(t,n,e){let r=e.path.split("/"),i=r.indexOf("**");if(i===-1){if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;
1let c={},u=t.slice(0,r.length);return Pr(r,u,c)?{consumed:u,posParams:c}:null}if(i!==r.lastIndexOf("**"))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>t.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let a={};return!Pr(o,t.slice(0,o.length),a)||!Pr(s,t.slice(t.length-s.length),a)?null:{consumed:t,posParams:a}}function jt(t){return new Promise((n,e)=>{t.pipe(ee()).subscribe({next:r=>n(r),error:r=>e(r)})})}function es(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!V(t[e],n[e]))return!1;return!0}function V(t,n){let e=t?$r(t):void 0,r=n?$r(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Oi(t[i],n[i]))return!1;return!0}function $r(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Oi(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,o)=>r[o]===i)}else return t===n}function ts(t){return t.length>0?t[t.length-1]:null}function fe(t){return lr(t)?t:Gn(t)?I(Promise.resolve(t)):g(t)}function Ui(t){return lr(t)?jt(t):Promise.resolve(t)}var rs={exact:Li,subset:xi},Pi={exact:ns,subset:is,ignored:()=>!0},en={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Je={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function tn(t,n,e){let r=t instanceof _?t:n.parseUrl(t);return Ct(()=>zr(n.lastSuccessfulNavigation()?.finalUrl??new _,r,l(l({},Je),e)))}function zr(t,n,e){return rs[e.paths](t.root,n.root,e.matrixParams)&&Pi[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function ns(t,n){return V(t,n)}function Li(t,n,e){if(!le(t.segments,n.segments)||!Pt(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!Li(t.children[r],n.children[r],e))return!1;return!0}function is(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Oi(t[e],n[e]))}function xi(t,n,e){return ji(t,n,n.segments,e)}function ji(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!le(i,e)||n.hasChildren()||!Pt(i,e,r))}else if(t.segments.length===e.length){if(!le(t.segments,e)||!Pt(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!xi(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!le(t.segments,i)||!Pt(t.segments,i,r)||!t.children[p]?!1:ji(t.children[p],n,o,r)}}function Pt(t,n,e){return n.every((r,i)=>Pi[e](t[i].parameters,r.parameters))}var _=class{root;queryParams;fragment;_queryParamMap;constructor(n=new y([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=de(this.queryParams),this._queryParamMap}toString(){return as.serialize(this)}},y=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lt(this)}},te=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=de(this.parameters),this._parameterMap}toString(){return Hi(this)}};function os(t,n){return le(t,n)&&t.every((e,r)=>V(e.parameters,n[r].parameters))}function le(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function ss(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===p&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==p&&(e=e.concat(n(i,r)))}),e}var ie=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>new Z,providedIn:"root"})}return t})(),Z=class{parse(n){let e=new Br(n);return new _(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Ye(n.root,!0)}`,r=ls(n.queryParams),i=typeof n.fragment=="string"?`#${cs(n.fragment)}`:"";return`${e}${r}${i}`}},as=new Z;function Lt(t){return t.segments.map(n=>Hi(n)).join("/")}function Ye(t,n){if(!t.hasChildren())return Lt(t);if(n){let e=t.children[p]?Ye(t.children[p],!1):"",r=[];
1return Object.entries(t.children).forEach(([i,o])=>{i!==p&&r.push(`${i}:${Ye(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=ss(t,(r,i)=>i===p?[Ye(t.children[p],!1)]:[`${i}:${Ye(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[p]!=null?`${Lt(t)}/${e[0]}`:`${Lt(t)}/(${e.join("//")})`}}function ki(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ot(t){return ki(t).replace(/%3B/gi,";")}function cs(t){return encodeURI(t)}function Fr(t){return ki(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xt(t){return decodeURIComponent(t)}function Mi(t){return xt(t.replace(/\+/g,"%20"))}function Hi(t){return`${Fr(t.path)}${us(t.parameters)}`}function us(t){return Object.entries(t).map(([n,e])=>`;${Fr(n)}=${Fr(e)}`).join("")}function ls(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${Ot(e)}=${Ot(i)}`).join("&"):`${Ot(e)}=${Ot(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Lr=1073741824;function kt(t,n,e){Number(n)>=32&&!Object.hasOwn(t,Lr)&&(t[Lr]=e,delete t[Lr]),t[n]=e}var ds=/^[^\/()?;#]+/;function xr(t){let n=t.match(ds);return n?n[0]:""}var hs=/^[^\/()?;=#]+/;function fs(t){let n=t.match(hs);return n?n[0]:""}var ps=/^[^=?&#]+/;function gs(t){let n=t.match(ps);return n?n[0]:""}var vs=/^[^&#]+/;function ms(t){let n=t.match(vs);return n?n[0]:""}var Br=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new y([],{}):new y([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new S(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(i[p]=new y(e,r)),i}parseSegment(){let n=xr(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(n),new te(xt(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=fs(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=xr(this.remaining);i&&(r=i,this.capture(r))}kt(n,xt(e),xt(r))}parseQueryParam(n){let e=gs(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=ms(this.remaining);s&&(r=s,this.capture(r))}let i=Mi(e),o=Mi(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=xr(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new S(4010,!1);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=p);let a=this.parseChildren(e+1),c=Object.keys(a).length===1&&a[p]?a[p]:new y([],a);kt(r,s??p,c),this.consumeOptional("//")}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new S(4011,!1)}};function $i(t){return t.segments.length>0?new y([],{[p]:t}):t}function zi(t){let n={};for(let[r,i]of Object.entries(t.children)){let o=zi(i);if(r===p&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))kt(n,s,a);else(o.segments.length>0||o.hasChildren())&&kt(n,r,o)}let e=new y(t.segments,n);return ys(e)}function ys(t){if(t.numberOfChildren===1&&t.children[p]){let n=t.children[p];return new y(t.segments.concat(n.segments),n.children)}return t}function re(t){return t instanceof _}function Fi(t,n,e=null,r=null,i=new Z){let o=Bi(t);return qi(o,n,e,r,i)}function Bi(t){let n;function e(o){let s={};for(let c of o.children){let u=e(c);s[c.outlet]=u}let a=new y(o.url,s);return o===t&&(n=a),a}let r=e(t.root),i=$i(r);return n??i}
vendor: 5,536 bytes, line 1
1function qi(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return jr(o,o,o,e,r,i);let s=Rs(n);if(s.toRoot())return jr(o,o,new y([],{}),e,r,i);let a=Ss(s,o,t),c=a.processChildren?Qe(a.segmentGroup,a.index,s.commands):Gi(a.segmentGroup,a.index,s.commands);return jr(o,a.segmentGroup,c,e,r,i)}function Ht(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Xe(t){return typeof t=="object"&&t!=null&&t.outlets}function Ii(t,n,e){t||="\u0275";let r=new _;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function jr(t,n,e,r,i,o){let s={};for(let[u,h]of Object.entries(r??{}))s[u]=Array.isArray(h)?h.map(f=>Ii(u,f,o)):Ii(u,h,o);let a;t===n?a=e:a=Vi(t,n,e);let c=$i(zi(a));return new _(c,s,i)}function Vi(t,n,e){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=Vi(o,n,e)}),new y(t.segments,r)}var $t=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&Ht(r[0]))throw new S(4003,!1);let i=r.find(Xe);if(i&&i!==ts(r))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Rs(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new $t(!0,0,t);let n=0,e=!1,r=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([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===".."?n++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new $t(e,n,r)}var Ce=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function Ss(t,n,e){if(t.isAbsolute)return new Ce(n,!0,0);if(!e)return new Ce(n,!1,NaN);if(e.parent===null)return new Ce(e,!0,0);let r=Ht(t.commands[0])?0:1,i=e.segments.length-1+r;return ws(e,i,t.numberOfDoubleDots)}function ws(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new S(4005,!1);i=r.segments.length}return new Ce(r,!1,i-o)}function Cs(t){return Xe(t[0])?t[0].outlets:{[p]:t}}function Gi(t,n,e){if(t??=new y([],{}),t.segments.length===0&&t.hasChildren())return Qe(t,n,e);let r=Es(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new y(t.segments.slice(0,r.pathIndex),{});return o.children[p]=new y(t.segments.slice(r.pathIndex),t.children),Qe(o,0,i)}else return r.match&&i.length===0?new y(t.segments,{}):r.match&&!t.hasChildren()?qr(t,n,e):r.match?Qe(t,0,i):qr(t,n,e)}function Qe(t,n,e){if(e.length===0)return new y(t.segments,{});{let r=Cs(e),i={};if(Object.keys(r).some(o=>o!==p)&&t.children[p]&&t.numberOfChildren===1&&t.children[p].segments.length===0){let o=Qe(t.children[p],n,e);return new y(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Gi(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new y(t.segments,i)}}function Es(t,n,e){let r=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return o;let s=t.segments[i],a=e[r];if(Xe(a))break;let c=`${a}`,u=r<e.length-1?e[r+1]:null;if(i>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Di(c,u,s))return o;r+=2}else{if(!Di(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function qr(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(Xe(o)){let c=bs(o.outlets);return new y(r,c)}if(i===0&&Ht(e[0])){let c=t.segments[n];r.push(new te(c.path,Ti(e[0]))),i++;continue}let s=Xe(o)?o.outlets[p]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&Ht(a)?(r.push(new te(s,Ti(a))),i+=2):(r.push(new te(s,{})),i++)}return new y(r,{})}function bs(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=qr(new y([],{}),0,r))}),n}function Ti(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function Di(t,n,e){return t==e.path&&V(n,e.parameters)}var Ee="imperative",b=(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})(b||{}),P=class{id;url;constructor(n,e){this.id=n,this.url=e}},ne=class extends P{type=b.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},L=class extends P{urlAfterRedirects;type=b.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},T=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
1solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(T||{}),Me=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Me||{}),k=class extends P{reason;code;type=b.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function Wi(t){return t instanceof k&&(t.code===T.Redirect||t.code===T.SupersededByNewNavigation)}var G=class extends P{reason;code;type=b.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},he=class extends P{error;target;type=b.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},et=class extends P{urlAfterRedirects;state;type=b.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zt=class extends P{urlAfterRedirects;state;type=b.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ft=class extends P{urlAfterRedirects;state;shouldActivate;type=b.GuardsCheckEnd;constructor(n,e,r,i,o){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Bt=class extends P{urlAfterRedirects;state;type=b.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qt=class extends P{urlAfterRedirects;state;type=b.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vt=class{route;type=b.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Gt=class{route;type=b.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Wt=class{snapshot;type=b.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yt=class{snapshot;type=b.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kt=class{snapshot;type=b.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qt=class{snapshot;type=b.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ie=class{routerEvent;position;anchor;scrollBehavior;type=b.Scroll;constructor(n,e,r,i){this.routerEvent=n,this.position=e,this.anchor=r,this.scrollBehavior=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Te=class{},tt=class{},De=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Ms(t){return!(t instanceof Te)&&!(t instanceof De)&&!(t instanceof tt)}var Zt=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new pe(this.rootInjector)}},pe=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Zt(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(m(K))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jt=class{_root;constructor(n){this._root=n}get root(){return this._root.value}
vendor: 17,601 bytes, line 1
1parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Vr(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Vr(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Gr(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Gr(n,this._root).map(e=>e.value)}};function Vr(t,n){if(t===n.value)return n;for(let e of n.children){let r=Vr(t,e);if(r)return r}return null}function Gr(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Gr(t,e);if(r.length)return r.unshift(n),r}return[]}var U=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function we(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var rt=class extends Jt{snapshot;constructor(n,e){super(n),this.snapshot=e,nn(this,n)}toString(){return this.snapshot.toString()}};function Yi(t,n){let e=Is(t,n),r=new x([new te("",{})]),i=new x({}),o=new x({}),s=new x({}),a=new x(""),c=new W(r,i,s,a,o,p,t,e.root);return c.snapshot=e.root,new rt(new U(c,[]),e)}function Is(t,n){let e={},r={},i={},s=new _e([],e,i,"",r,p,t,null,{},n);return new nt("",new U(s,[]))}var W=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,i,o,s,a,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(D(u=>u[st]))??g(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(D(n=>de(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(D(n=>de(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function rn(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:l(l({},n.params),t.params),data:l(l({},n.data),t.data),resolve:l(l(l(l({},t.data),n.data),i?.data),t._resolvedData)}:r={params:l({},t.params),data:l({},t.data),resolve:l(l({},t.data),t._resolvedData??{})},i&&Qi(i)&&(r.resolve[st]=i.title),r}var _e=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[st]}constructor(n,e,r,i,o,s,a,c,u,h){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u,this._environmentInjector=h}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??=de(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=de(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},nt=class extends Jt{url;constructor(n,e){super(e),this.url=n,nn(this,e)}toString(){return Ki(this._root)}};function nn(t,n){n.value._routerState=t,n.children.forEach(e=>nn(t,e))}function Ki(t){let n=t.children.length>0?` { ${t.children.map(Ki).join(", ")} } `:"";return`${t.value}${n}`}function kr(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,V(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),V(n.params,e.params)||t.paramsSubject.next(e.params),es(n.url,e.url)||t.urlSubject.next(e.url),V(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Wr(t,n){let e=V(t.params,n.params)&&os(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Wr(t.parent,n.parent))}function Qi(t){return typeof t.title=="string"||t.title===null}var Zi=new E(""),on=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new ue;deactivateEvents=new ue;attachEvents=new ue;detachEvents=new ue;routerOutletData=ri();parentContexts=d(pe);location=d(Bn);changeDetector=d(Et);inputBinder=d(at,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new S(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Yr(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=Fe({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[$e]})}return t})(),Yr=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===W?this.route:n===pe?this.childContexts:n===Zi?this.outletData:this.parent.get(n,e)}},at=new E(""),sn=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,i=dr([r.queryParams,r.params,r.data]).pipe(H(([o,s,a],c)=>(a=l(l(l({},o),s),a),c===0?g(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=si(r.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),an=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Vn({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&Yn(0,"router-outlet")},dependencies:[on],encapsulation:2})}return t})();function cn(t){let n=t.children&&t.children.map(cn),e=n?A(l({},t),{children:n}):l({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==p&&(e.component=an),e}function Ts(t,n,e){let r=it(t,n._root,e?e._root:void 0);return new rt(r,n)}function it(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=Ds(t,n,e);return new U(r,i)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>it(t,a)),s}}let r=_s(n.value),i=n.children.map(o=>it(t,o));return new U(r,i)}}function Ds(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return it(t,r,i);return it(t,r)})}function _s(t){return new W(new x(t.url),new x(t.params),new x(t.queryParams),new x(t.fragment),new x(t.data),t.outlet,t.component,t)}var Ae=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},Ji="ngNavigationCancelingError";function Xt(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=re(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=Xi(!1,T.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function Xi(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[Ji]=!0,e.cancellationCode=n,e}function As(t){return eo(t)&&re(t.url)}function eo(t){return!!t&&t[Ji]}var Kr=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),kr(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=we(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=we(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,o=we(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=we(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Qt(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Yt(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(kr(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),kr(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},er=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},be=class{component;route;constructor(n,e){this.component=n,this.route=e}};function Ns(t,n,e){let r=t._root,i=n?n._root:null;return Ke(r,i,e,[r.value])}function Os(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Oe(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!En(t)?t:n.get(t):r}function Ke(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=we(n);return t.children.forEach(s=>{Us(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ze(a,e.getContext(s),i)),i}function Us(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=Ps(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new er(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ke(t,n,a?a.children:null,r,i):Ke(t,n,e,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new be(a.outlet.component,s))}else s&&Ze(n,a,i),i.canActivateChecks.push(new er(r)),o.component?Ke(t,null,a?a.children:null,r,i):Ke(t,null,e,r,i);return i}function Ps(t,n,e){if(typeof e=="function")return N(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!le(t.url,n.url);case"pathParamsOrQueryParamsChange":return!le(t.url,n.url)||!V(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wr(t,n)||!V(t.queryParams,n.queryParams);default:return!Wr(t,n)}}function Ze(t,n,e){let r=we(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?n?Ze(s,n.children.getContext(o),e):Ze(s,null,e):Ze(s,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new be(n.outlet.component,i)):e.canDeactivateChecks.push(new be(null,i)):e.canDeactivateChecks.push(new be(null,i))}function ct(t){return typeof t=="function"}function Ls(t){return typeof t=="boolean"}function xs(t){return t&&ct(t.canLoad)}function js(t){return t&&ct(t.canActivate)}function ks(t){return t&&ct(t.canActivateChild)}function Hs(t){return t&&ct(t.canDeactivate)}function $s(t){return t&&ct(t.canMatch)}function to(t){return t instanceof Rn||t?.name==="EmptyError"}var Ut=Symbol("INITIAL_VALUE");function Ne(){return H(t=>dr(t.map(n=>n.pipe(ve(1),Cn(Ut)))).pipe(D(n=>{for(let e of n)if(e!==!0){if(e===Ut)return Ut;if(e===!1||zs(e))return e}return!0}),X(n=>n!==Ut),ve(1)))}function zs(t){return re(t)||t instanceof Ae}function ro(t){return t.aborted?g(void 0).pipe(ve(1)):new mn(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function no(t){return ft(ro(t))}function Fs(t){return B(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?g(A(l({},n),{guardsResult:!0})):Bs(o,e,r).pipe(B(s=>s&&Ls(s)?qs(e,i,t):g(s)),D(s=>A(l({},n),{guardsResult:s})))})}function Bs(t,n,e){return I(t).pipe(B(r=>Ks(r.component,r.route,e,n)),ee(r=>r!==!0,!0))}function qs(t,n,e){return I(n).pipe(je(r=>Sn(Gs(r.route.parent,e),Vs(r.route,e),Ys(t,r.path),Ws(t,r.route))),ee(r=>r!==!0,!0))}function Vs(t,n){return t!==null&&n&&n(new Kt(t)),g(!0)}function Gs(t,n){return t!==null&&n&&n(new Wt(t)),g(!0)}function Ws(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return g(!0);let r=e.map(i=>dt(()=>{let o=n._environmentInjector,s=Oe(i,o),a=js(s)?s.canActivate(n,t):N(o,()=>s(n,t));return fe(a).pipe(ee())}));return g(r).pipe(Ne())}function Ys(t,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>Os(o)).filter(o=>o!==null).map(o=>dt(()=>{let s=o.guards.map(a=>{let c=o.node._environmentInjector,u=Oe(a,c),h=ks(u)?u.canActivateChild(e,t):N(c,()=>u(e,t));return fe(h).pipe(ee())});return g(s).pipe(Ne())}));return g(i).pipe(Ne())}function Ks(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return g(!0);let o=i.map(s=>{let a=n._environmentInjector,c=Oe(s,a),u=Hs(c)?c.canDeactivate(t,n,e,r):N(a,()=>c(t,n,e,r));return fe(u).pipe(ee())});return g(o).pipe(Ne())}function Qs(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return g(!0);let s=o.map(a=>{let c=Oe(a,t),u=xs(c)?c.canLoad(n,e):N(t,()=>c(n,e)),h=fe(u);return i?h.pipe(no(i)):h});return g(s).pipe(Ne(),io(r))}function io(t){return vn($(n=>{if(typeof n!="boolean")throw Xt(t,n)}),D(n=>n===!0))}function Zs(t,n,e,r,i,o){let s=n.canMatch;if(!s||s.length===0)return g(!0);let a=s.map(c=>{let u=Oe(c,t),h=$s(u)?u.canMatch(n,e,i):N(t,()=>u(n,e,i));return fe(h).pipe(no(o))});return g(a).pipe(Ne(),io(r))}
1var Q=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},ot=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function Js(t){throw new S(4e3,!1)}function Xs(t){throw Xi(!1,T.GuardRejected)}var Qr=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return w(this,null,function*(){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[p])throw Js(`${n.redirectTo}`);i=i.children[p]}})}applyRedirectCommands(n,e,r,i,o){return w(this,null,function*(){let s=yield ea(e,i,o);if(s instanceof _)throw new ot(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new ot(a);return a})}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new _(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=e[a]}else r[i]=o}),r}createSegmentGroup(n,e,r,i){let o=this.createSegments(n,e.segments,r,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,i)}),new y(o,s)}createSegments(n,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new S(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function ea(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return jt(fe(N(e,()=>r(n))))}function ta(t,n){return t.providers&&!t._injector&&(t._injector=Rt(t.providers,n,`Route: ${t.path}`)),t._injector??n}function z(t){return t.outlet||p}function ra(t,n){let e=t.filter(r=>z(r)===n);return e.push(...t.filter(r=>z(r)!==n)),e}var Zr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function oo(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 na(t,n,e,r,i,o,s){let a=so(t,n,e);if(!a.matched)return g(a);let c=oo(o(a));return r=ta(n,r),Zs(r,n,e,i,c,s).pipe(D(u=>u===!0?a:l({},Zr)))}function so(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?l({},Zr):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};
1let i=(n.matcher||Ni)(e,t,n);if(!i)return l({},Zr);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?l(l({},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 _i(t,n,e,r,i){return e.length>0&&sa(t,e,r,i)?{segmentGroup:new y(n,oa(r,new y(e,t.children))),slicedSegments:[]}:e.length===0&&aa(t,e,r)?{segmentGroup:new y(t.segments,ia(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new y(t.segments,t.children),slicedSegments:e}}function ia(t,n,e,r){let i={};for(let o of e)if(rr(t,n,o)&&!r[z(o)]){let s=new y([],{});i[z(o)]=s}return l(l({},r),i)}function oa(t,n){let e={};e[p]=n;for(let r of t)if(r.path===""&&z(r)!==p){let i=new y([],{});e[z(r)]=i}return e}function sa(t,n,e,r){return e.some(i=>!rr(t,n,i)||!(z(i)!==p)?!1:!(r!==void 0&&z(i)===r))}function aa(t,n,e){return e.some(r=>rr(t,n,r))}function rr(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function ca(t,n,e){return n.length===0&&!t.children[e]}var Jr=class{};function ua(t,n,e,r,i,o,s="emptyOnly",a){return w(this,null,function*(){return new Xr(t,n,e,r,i,s,o,a).recognize()})}var la=31,Xr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,o,s,a,c){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new Qr(this.urlSerializer,this.urlTree)}noMatchError(n){return new S(4002,`'${n.segmentGroup}'`)}recognize(){return w(this,null,function*(){let n=_i(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=yield this.match(n),i=new U(r,e),o=new nt("",i),s=Fi(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}})}match(n){return w(this,null,function*(){let e=new _e([],Object.freeze({}),Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,p,e),rootSnapshot:e}}catch(r){if(r instanceof ot)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Q?this.noMatchError(r):r}})}processSegmentGroup(n,e,r,i,o){return w(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let s=yield this.processSegment(n,e,r,r.segments,i,!0,o);return s instanceof U?[s]:[]})}processChildren(n,e,r,i){return w(this,null,function*(){let o=[];for(let c of Object.keys(r.children))c==="primary"?o.unshift(c):o.push(c);let s=[];for(let c of o){let u=r.children[c],h=ra(e,c),f=yield this.processSegmentGroup(n,h,u,c,i);s.push(...f)}let a=ao(s);return da(a),a})}processSegment(n,e,r,i,o,s,a){return w(this,null,function*(){for(let c of e)try{return yield this.processSegmentAgainstRoute(c._injector??n,e,c,r,i,o,s,a)}catch(u){if(u instanceof Q||to(u))continue;throw u}if(ca(r,i,o))return new Jr;throw new Q(r)})}processSegmentAgainstRoute(n,e,r,i,o,s,a,c){return w(this,null,function*(){if(z(r)!==s&&(s===p||!rr(i,o,r)))throw new Q(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,o,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,o,s,c);throw new Q(i)})}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,a){return w(this,null,function*(){let{matched:c,parameters:u,consumedSegments:h,positionalParamSegments:f,remainingSegments:R}=so(e,i,o);if(!c)throw new Q(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>la&&(this.allowRedirects=!1));let oe=this.createSnapshot(n,i,o,u,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let Y=yield this.applyRedirects.applyRedirectCommands(h,i.redirectTo,f,oo(oe),n),se=yield this.applyRedirects.lineralizeSegments(i,Y);return this.processSegment(n,r,e,se.concat(R),s,!1,a)})}createSnapshot(n,e,r,i,o){let s=new _e(r,i,Object.freeze(l({},this.urlTree.queryParams)),this.urlTree.fragment,fa(e),z(e),e.component??e._loadedComponent??null,e,pa(e),n),a=rn(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}matchSegmentAgainstRoute(n,e,r,i,o,s){return w(this,null,function*(){if(this.abort
1Signal.aborted)throw new Error(this.abortSignal.reason);let a=lt=>this.createSnapshot(n,r,lt.consumedSegments,lt.parameters,s),c=yield jt(na(e,r,i,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(e.children={}),!c?.matched)throw new Q(e);n=r._injector??n;let{routes:u}=yield this.getChildConfig(n,r,i),h=r._loadedInjector??n,{parameters:f,consumedSegments:R,remainingSegments:oe}=c,Y=this.createSnapshot(n,r,R,f,s),{segmentGroup:se,slicedSegments:Pe}=_i(e,R,oe,u,o);if(Pe.length===0&&se.hasChildren()){let lt=yield this.processChildren(h,u,se,Y);return new U(Y,lt)}if(u.length===0&&Pe.length===0)return new U(Y,[]);let ur=z(r)===o,Le=yield this.processSegment(h,u,se,Pe,ur?p:o,!0,Y);return new U(Y,Le instanceof U?[Le]:[])})}getChildConfig(n,e,r){return w(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield jt(Qs(n,e,r,this.urlSerializer,this.abortSignal))){let o=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw Xs(e)}return{routes:[],injector:n}})}};function da(t){t.sort((n,e)=>n.value.outlet===p?-1:e.value.outlet===p?1:n.value.outlet.localeCompare(e.value.outlet))}function ha(t){let n=t.value.routeConfig;return n&&n.path===""}function ao(t){let n=[],e=new Set;for(let r of t){if(!ha(r)){n.push(r);continue}let i=n.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=ao(r.children);n.push(new U(r.value,i))}return n.filter(r=>!e.has(r))}function fa(t){return t.data||{}}function pa(t){return t.resolve||{}}function ga(t,n,e,r,i,o,s){return B(a=>w(null,null,function*(){let{state:c,tree:u}=yield ua(t,n,e,r,a.extractedUrl,i,o,s);return A(l({},a),{targetSnapshot:c,urlAfterRedirects:u})}))}function va(t){return B(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return g(n);let i=new Set(r.map(a=>a.route)),o=new Set;for(let a of i)if(!o.has(a))for(let c of co(a))o.add(c);let s=0;return I(o).pipe(je(a=>i.has(a)?ma(a,e,t):(a.data=rn(a,a.parent,t).resolve,g(void 0))),$(()=>s++),hr(1),B(a=>s===o.size?g(n):j))})}function co(t){let n=t.children.map(e=>co(e)).flat();return[t,...n]}function ma(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!Qi(r)&&(i[st]=r.title),dt(()=>(t.data=rn(t,t.parent,e).resolve,ya(i,t,n).pipe(D(o=>(t._resolvedData=o,t.data=l(l({},t.data),o),null)))))}function ya(t,n,e){let r=$r(t);if(r.length===0)return g({});let i={};return I(r).pipe(B(o=>Ra(t[o],n,e).pipe(ee(),$(s=>{if(s instanceof Ae)throw Xt(new Z,s);i[o]=s}))),hr(1),D(()=>i),ht(o=>to(o)?j:yn(o)))}function Ra(t,n,e){let r=n._environmentInjector,i=Oe(t,r),o=i.resolve?i.resolve(n,e):N(r,()=>i(n,e));return fe(o)}function Ai(t){return H(n=>{let e=t(n);return e?I(e).pipe(D(()=>n)):g(n)})}var un=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===p);return r}getResolvedTitleForRoute(e){return e.data[st]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>d(uo),providedIn:"root"})}return t})(),uo=(()=>{class t extends un{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(m(bi))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),J=new E("",{factory:()=>({})}),ge=new E(""),nr=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(Xn);loadComponent(e,r){return w(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=w(this,null,function*(){try{let o=yield Ui(N(e,()=>r.loadComponent())),s=yield fo(ho(o));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,i),i})}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=w(this,null,function*(){try{let o=yield lo(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,i),i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function lo(t,n,e,r){return w(this,null,function*(){let i=yield Ui(N(e,()=>t.loadChildren())),o=yield fo(ho(i)),s;o instanceof qn||Array.isArray(o)?s=o:s=yield n.compileModuleAsync(o),r&&r(t);let a,c,u=!1,h;return Array.isArray(s)?(c=s,u=!0):(a=s.create(e).injector,h=s,c=a.get(ge,[],{optional:!0,self:!0}).flat()),{routes:c.map(cn),injector:a,factory:h}})}function Sa(t){return t&&typeof t=="object"&&"default"in t}function ho(t){return Sa(t)?t.default:t}function fo(t){return w(this,null,function*(){return t})}var ir=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>d(wa),providedIn:"root"})}return t})(),wa=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ln=new E(""),dn=new E("");function po(t,n,e){let r=t.get(dn),i=t.get(O);
1if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),a=i.startViewTransition(()=>(o(),Ca(t)));a.updateCallbackDone.catch(u=>{}),a.ready.catch(u=>{}),a.finished.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&N(t,()=>c({transition:a,from:n,to:e})),s}function Ca(t){return new Promise(n=>{wr({read:()=>setTimeout(n)},{injector:t})})}var Ea=()=>{},hn=new E(""),or=(()=>{class t{currentNavigation=M(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=M(null);events=new ae;transitionAbortWithErrorSubject=new ae;configLoader=d(nr);environmentInjector=d(K);destroyRef=d(pr);urlSerializer=d(ie);rootContexts=d(pe);location=d(Se);inputBindingEnabled=d(at,{optional:!0})!==null;titleStrategy=d(un);options=d(J,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(ir);createViewTransition=d(ln,{optional:!0});navigationErrorHandler=d(hn,{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 Vt(i)),r=i=>this.events.next(new Gt(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;C(()=>{this.transitions?.next(A(l({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new x(null),this.transitions.pipe(X(r=>r!==null),H(r=>{let i=!1,o=new AbortController,s=()=>!i&&this.currentTransition?.id===r.id;return g(r).pipe(H(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",T.SupersededByNewNavigation),j;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?A(l({},c),{previousNavigation:null}):null,abort:()=>o.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),h=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&h!=="reload")return this.events.next(new G(a.id,this.urlSerializer.serialize(a.rawUrl),"",Me.IgnoredSameUrlNavigation)),a.resolve(!1),j;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return g(a).pipe(H(f=>(this.events.next(new ne(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),f.id!==this.navigationId?j:Promise.resolve(f))),ga(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),$(f=>{r.targetSnapshot=f.targetSnapshot,r.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation.update(R=>(R.finalUrl=f.urlAfterRedirects,R)),this.events.next(new tt)}),H(f=>I(r.routesRecognizeHandler.deferredHandle??g(void 0)).pipe(D(()=>f))),$(()=>{let f=new et(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:R,source:oe,restoredState:Y,extras:se}=a,Pe=new ne(f,this.urlSerializer.serialize(R),oe,Y);this.events.next(Pe);let ur=Yi(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=A(l({},a),{targetSnapshot:ur,urlAfterRedirects:R,extras:A(l({},se),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(Le=>(Le.finalUrl=R,Le)),g(r)}else return this.events.next(new G(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Me.IgnoredByUrlHandlingStrategy)),a.resolve(!1),j}),D(a=>{let c=new zt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=A(l({},a),{guards:Ns(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),Fs(a=>this.events.next(a)),H(a=>
1{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Xt(this.urlSerializer,a.guardsResult);let c=new Ft(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return j;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",T.GuardRejected),j;if(a.guards.canActivateChecks.length===0)return g(a);let u=new Bt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return j;let h=!1;return g(a).pipe(va(this.paramsInheritanceStrategy),$({next:()=>{h=!0;let f=new qt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(f)},complete:()=>{h||this.cancelNavigationTransition(a,"",T.NoDataFromResolver)}}))}),Ai(a=>{let c=h=>{let f=[];if(h.routeConfig?._loadedComponent)h.component=h.routeConfig?._loadedComponent;else if(h.routeConfig?.loadComponent){let R=h._environmentInjector;f.push(this.configLoader.loadComponent(R,h.routeConfig).then(oe=>{h.component=oe}))}for(let R of h.children)f.push(...c(R));return f},u=c(a.targetSnapshot.root);return u.length===0?g(a):I(Promise.all(u).then(()=>a))}),Ai(()=>this.afterPreactivation()),H(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,u=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return u?I(u).pipe(D(()=>r)):g(r)}),ve(1),H(a=>{let c=Ts(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=A(l({},a),{targetRouterState:c}),this.currentNavigation.update(h=>(h.targetRouterState=c,h)),this.events.next(new Te);let u=r.beforeActivateHandler.deferredHandle;return u?I(u.then(()=>a)):g(a)}),$(a=>{new Kr(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(i=!0,this.currentNavigation.update(c=>(c.abort=Ea,c)),this.lastSuccessfulNavigation.set(C(this.currentNavigation)),this.events.next(new L(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),ft(ro(o.signal).pipe(X(()=>!i&&!r.targetRouterState),$(()=>{this.cancelNavigationTransition(r,o.signal.reason+"",T.Aborted)}))),$({complete:()=>{i=!0}}),ft(this.transitionAbortWithErrorSubject.pipe($(a=>{throw a}))),wn(()=>{o.abort(),i||this.cancelNavigationTransition(r,"",T.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),ht(a=>{if(i=!0,this.destroyed)return r.resolve(!1),j;if(eo(a))this.events.next(new k(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),As(a)?this.events.next(new De(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new he(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let u=N(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof Ae){let{message:h,cancellationCode:f}=Xt(this.urlSerializer,u);this.events.next(new k(r.id,this.urlSerializer.serialize(r.extractedUrl),h,f)),this.events.next(new De(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return j}))}))}cancelNavigationTransition(e,r,i){let o=new k(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=C(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ba(t){return t!==Ee}var go=new E("");var vo=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>d(Ma),providedIn:"root"})}return t})(),tr=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}
1shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},Ma=(()=>{class t extends tr{static \u0275fac=(()=>{let e;return function(i){return(e||(e=vr(t)))(i||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sr=(()=>{class t{urlSerializer=d(ie);options=d(J,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=d(Se);urlHandlingStrategy=d(ir);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new _;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof _?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:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=Yi(null,d(K));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(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>d(Ia),providedIn:"root"})}return t})(),Ia=(()=>{class t extends sr{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,r){e instanceof ne?this.updateStateMemento():e instanceof G?this.commitTransition(r):e instanceof et?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Te?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof k&&!Wi(e)?this.restoreHistory(r):e instanceof he?this.restoreHistory(r,!0):e instanceof L&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:i,id:o}=r,{replaceUrl:s,state:a}=i;if(this.location.isCurrentPathEqualTo(e)||s){let c=this.browserPageId,u=l(l({},a),this.generateNgRouterState(o,c,r));this.location.replaceState(e,"",u)}else{let c=l(l({},a),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(e,"",c)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r,i){return this.canceledNavigationResolution==="computed"?l({navigationId:e,\u0275routerPageId:r},this.routerUrlState(i)):l({navigationId:e},this.routerUrlState(i))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=vr(t)))(i||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ar(t,n){t.events.pipe(X(e=>e instanceof L||e instanceof k||e instanceof he||e instanceof G),D(e=>e instanceof L||e instanceof G?0:(e instanceof k?e.code===T.Redirect||e.code===T.SupersededByNewNavigation:!1)?2:1),X(e=>e!==2),ve(1)).subscribe(()=>{n()})}var F=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(Er);stateManager=d(sr);options=d(J,{optional:!0})||{};pendingTasks=d(Mn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(or);
1urlSerializer=d(ie);location=d(Se);urlHandlingStrategy=d(ir);injector=d(K);_events=new ae;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(vo);injectorCleanup=d(go,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(ge,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(at,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new gn;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=C(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof k&&r.code!==T.Redirect&&r.code!==T.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof L)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof De){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=l({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ba(i.source)},s);this.scheduleNavigation(a,Ee,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Ms(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ee,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i,o)=>{this.navigateToSyncWithBrowser(e,i,r,o)})}navigateToSyncWithBrowser(e,r,i,o){let s=i?.navigationId?i:null,a=i?.\u0275routerUrl??e;if(i?.\u0275routerUrl&&(o=A(l({},o),{browserUrl:e})),i){let u=l({},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,r,s,o).catch(u=>{this.disposed||this.injector.get(vt)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return C(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(cn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,h=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":h=l(l({},this.currentUrlTree.queryParams),o);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null}h!==null&&(h=this.removeEmptyProps(h));let f;try{let R=i?i.snapshot:this.routerState.snapshot.root;f=Bi(R)}catch(R){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),f=this.currentUrlTree.root}return qi(f,e,h,u??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=re(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Ee,null,r)}navigate(e,r={skipLocationChange:!1}){return Ta(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(r){return this.console.warn(fr(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=l({},en):r===!1?i=l({},Je):i=l(l({},Je),r),re(e))return zr(this.currentUrlTree,e,i);let o=this.parseUrl(e);return zr(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}
1scheduleNavigation(e,r,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,R)=>{a=f,c=R});let h=this.pendingTasks.add();return ar(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:r,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(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ta(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new S(4008,!1)}var Da=(()=>{class t{router=d(F);stateManager=d(sr);fragment=M("");queryParams=M({});path=M("");serializer=d(ie);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof L&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new _(r)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cr=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=d(new ti("href"),{optional:!0});reactiveHref=ei(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return C(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return C(this._target)}_target=M(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return C(this._queryParams)}_queryParams=M(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return C(this._fragment)}_fragment=M(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return C(this._queryParamsHandling)}_queryParamsHandling=M(void 0);set state(e){this._state.set(e)}get state(){return C(this._state)}_state=M(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return C(this._info)}_info=M(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return C(this._relativeTo)}_relativeTo=M(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return C(this._preserveFragment)}_preserveFragment=M(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return C(this._skipLocationChange)}_skipLocationChange=M(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return C(this._replaceUrl)}_replaceUrl=M(!1);isAnchorElement;onChanges=new ae;applicationErrorHandler=d(vt);options=d(J,{optional:!0});reactiveRouterState=d(Da);constructor(e,r,i,o,s,a){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let 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=M(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(re(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,o,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(e!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let 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,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}_urlTree=Ct(()=>{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 r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:re(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return C(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(r){return new(r||t)(q(F),q(W),In("tabindex"),q(Cr),q(mr),q(Be))};static \u0275dir=Fe({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&Kn("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Wn("href",i.reactiveHref(),jn)("target",i._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",bt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",bt],replaceUrl:[2,"replaceUrl","replaceUrl",bt],routerLink:"routerLink"},features:[$e]})}return t})(),_a=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ue;link=d(cr,{optional:!0});constructor(e,r,i,o){this.router=e,this.element=r,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof L&&this.update()})}ngAfterContentInit(){g(this.links.changes,g(null)).pipe(xe()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=I(e).pipe(xe()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();
1this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=Aa(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?l({},en):l({},Je);return i=>{let o=i.urlTree;return o?C(tn(o,e,r)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||t)(q(F),q(mr),q(Cr),q(Et))};static \u0275dir=Fe({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&Qn(o,cr,5),r&2){let s;Zn(s=Jn())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[$e]})}return t})();function Aa(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var ut=class{};var mo=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(X(e=>e instanceof L),je(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=Rt(o.providers,e,""));let s=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return I(i).pipe(xe())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return g(null);let i;r.loadChildren&&r.canLoad===void 0?i=I(this.loader.loadChildren(e,r)):i=g(null);let o=i.pipe(B(s=>s===null?g(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(e,r);return I([o,s]).pipe(xe())}else return o})}static \u0275fac=function(r){return new(r||t)(m(F),m(K),m(ut),m(nr))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yo=new E(""),Na=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Ee;restoredId=0;store={};isHydrating=d(_n,{optional:!0})??!1;urlSerializer=d(ie);zone=d(He);viewportScroller=d(Ir);transitions=d(or);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&d(wt).whenStable().then(()=>{this.isHydrating=!1})}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 ne?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof L?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof G&&e.code===Me.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 Ie)||e.scrollBehavior==="manual")return;let r={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){if(this.isHydrating)return;let i=C(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>w(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new Ie(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Fn()};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();function Oa(t,...n){return gt([{provide:ge,multi:!0,useValue:t},[],{provide:W,useFactory:Ro},{provide:Mr,multi:!0,useFactory:So},n.map(e=>e.\u0275providers)])}function Ro(){return d(F).routerState.root}function Ue(t,n){return{\u0275kind:t,\u0275providers:n}}function So(){let t=d(ke);return n=>{let e=t.get(wt);if(n!==e.components[0])return;let r=t.get(F),i=t.get(wo);t.get(pn)===1&&r.initialNavigation(),t.get(bo,null,{optional:!0})?.setUpPreloading(),t.get(yo,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var wo=new E("",{factory:()=>new ae}),pn=new E("",{factory:()=>1});function Co(){let t=[{provide:Sr,useValue:!0},{provide:pn,useValue:0},br(()=>{let n=d(ke);return n.get(ui,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(F),o=n.get(wo);ar(i,()=>{r(!0)}),n.get(or).afterPreactivation=()=>(r(!0),o.closed?g(void 0):o),i.initialNavigation()}))})];return Ue(2,t)}function Eo(){let t=[br(()=>{d(F).setUpLocationChangeListener()}),{provide:pn,useValue:2}];return Ue(3,t)}var bo=new E("");function Mo(t){return Ue(0,[{provide:bo,useExisting:mo},{provide:ut,useExisting:t}])}function Ua(t){return Ue(5,[{provide:J,useValue:t}])}function Io(){return Ue(8,[sn,{provide:at,useExisting:sn}])}function To(t){$n("NgRouterViewTransitions");let n=[{provide:ln,useValue:po},{provide:dn,useValue:l({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ue(9,n)}var Do=[Se,{provide:ie,useClass:Z},F,pe,{provide:W,useFactory:Ro},nr,[]],Pa=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[Do,[],{provide:ge,multi:!0,useValue:e},[],r?.errorHandler?{provide:hn,useValue:r.errorHandler}:[],{provide:J,useValue:r||{}},r?.useHash?xa():ja(),La(),r?.preloadingStrategy?Mo(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?ka(r):[],r?.bindToComponentInputs?Io().\u0275providers:[],r?.enableViewTransitions?To().\u0275providers:[],Ha()]}}static forChild(e){return{ngModule:t,providers:[{provide:ge,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=St({type:t});static \u0275inj=pt({})}return t})();function La(){return{provide:yo,useFactory:()=>{let t=d(Ir),n=d(J);return n.scrollOffset&&t.setOffset(n.scrollOffset),new Na(n)}}}function xa(){return{provide:Be,useClass:di}}function ja(){return{provide:Be,useClass:li}}function ka(t){return[t.initialNavigation==="disabled"?Eo().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Co().\u0275providers:[]]}var fn=new E("");function Ha(){return[{provide:fn,useFactory:So},{provide:Mr,multi:!0,useExisting:fn}]}export{Fo as a,Dc as b,bi as c,Qo as d,_c as e,Ac as f,ie as g,Z as h,ne as i,L as j,W as k,on as l,Ae as m,F as n,cr as o,_a as p,Oa as q,Ua as r,Pa as s};

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.