vendor: 6,015 bytes, line 1
1import{a as _e,b as to,c as ro,d as hn,e as no,f as mt,g as io,h as Ve,i as oo,k as so,l as tr,m as rr,n as ao,p as fn}from"./chunk-L5PR6VQU.js";import{$,$a as ln,$b as Zi,A as Zr,Aa as Ii,Ab as qi,Ba as Di,C as mi,Ca as Ai,Cb as Gi,D as V,Da as _i,Db as Wi,E as zt,Ea as Ni,F as Z,G as w,H as lt,I as ue,Ia as Oi,K as y,L as je,La as ft,M as vi,Ma as Pi,N as b,Na as Jt,O as R,Oa as Xt,P as u,Pa as an,Q as ut,Qa as xi,Qb as Ji,Ra as cn,Rb as _,S as yi,Sa as se,Sb as gt,T as Y,Ta as Ui,Tb as dn,U as F,Ua as Li,Ub as Xi,V as Ie,Va as ki,Wa as Kt,Wb as Ki,Xa as ji,Ya as He,Yb as Yi,Za as pt,Zb as Zt,_ as Fe,_b as Qi,a as di,aa as dt,ab as Fi,ac as er,b as hi,ba as Ri,bb as $i,c as st,ca as De,cb as Yt,cc as eo,d as Ce,da as Ae,db as Bi,e as X,ea as en,eb as un,f as K,fa as Vt,fb as Qt,g as k,ga as U,gb as ze,h as p,ha as tn,hb as Hi,i as fi,ia as ht,j as Yr,ja as rn,k as pi,ka as wi,la as nn,m as P,ma as Ei,n as Qr,na as on,o as ie,oa as bi,p as at,pa as qt,q as gi,r as Bt,ra as Gt,rb as zi,sa as Si,ta as Ti,u as oe,ua as sn,v as Ht,va as Wt,w as Me,wa as $e,x as ke,xa as Be,xb as Vi,y as ct,ya as Ci,z as ve,za as Mi}from"./chunk-MFM5QLPL.js";import{a as f,b as z,c as ui,f as I}from"./chunk-OSQMNGTH.js";var vt=class{_doc;constructor(n){this._doc=n}manager},nr=(()=>{class t extends vt{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)(R($))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),sr=new b(""),vn=(()=>{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 nr));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof nr);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 w(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(R(sr),R(Ae))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),pn="ng-app-id";function co(t){for(let n of t)n.remove()}function lo(t,n){let e=n.createElement("style");return e.textContent=t,e}function Vs(t,n,e,r){let i=t.head?.querySelectorAll(`style[${pn}="${n}"],link[${pn}="${n}"]`);if(i)for(let o of i)o.removeAttribute(pn),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 mn(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var yn=(()=>{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,Vs(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,lo);r?.forEach(i=>this.addUsage(i,this.external,mn))}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&&(co(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])co(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,lo(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,mn(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)(R($),R(on),R(Gt,8),R(qt))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),gn={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"},Rn=/%COMP%/g;var ho="%COMP%",qs=`_nghost-${ho}`,Gs=`_ngcontent-${ho}`,Ws=!0,Js=new b("",{factory:()=>Ws});function Xs(t){return Gs.replace(Rn,t)}function Ks(t){return qs.replace(Rn,t)}function fo(t,n){return n.map(e=>e.replace(Rn,t))}var wn=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,r,i,o,s,a,c=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new yt(e,s,a,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof or?i.applyToHost(e):i instanceof Rt&&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,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.tracingService;switch(r.encapsulation){case Wt.Emulated:o=new or(c,l,r,this.appId,d,s,a,h);break;case Wt.ShadowDom:return new ir(c,e,r,s,a,this.nonce,h,l);case Wt.ExperimentalIsolatedShadowDom:return new ir(c,e,r,s,a,this.nonce,h);default:o=new Rt(c,l,r,d,s,a,h);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)(R(vn),R(yn),R(on),R(Js),R($),R(Ae),R(Gt),R(Jt,8))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),yt=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;
vendor: 5,902 bytes, line 1
1createElement(n,e){return e?this.doc.createElementNS(gn[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(uo(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(uo(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 w(-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=gn[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=gn[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&(ft.DashCase|ft.Important)?n.style.setProperty(e,r,i&ft.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&ft.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=_e().getGlobalEventTarget(this.doc,n),!n))throw new w(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 uo(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ir=class extends yt{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 l=r.styles;l=fo(r.id,l);for(let h of l){let v=document.createElement("style");s&&v.setAttribute("nonce",s),v.textContent=h,this.shadowRoot.appendChild(v)}let d=r.getExternalStyles?.();if(d)for(let h of d){let v=mn(h,i);s&&v.setAttribute("nonce",s),this.shadowRoot.appendChild(v)}}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)}},Rt=class extends yt{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 l=r.styles;this.styles=c?fo(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Pi.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},or=class extends Rt{contentAttr;hostAttr;constructor(n,e,r,i,o,s,a,c){let l=i+"-"+r.id;super(n,e,r,o,s,a,c,l),this.contentAttr=Xs(l),this.hostAttr=Ks(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var ar=class t extends ro{supportsDOMEvents=!0;static makeCurrent(){to(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=Ys();return e==null?null:Qs(e)}resetBaseElement(){Et=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return tr(document.cookie,n)}},Et=null;function Ys(){return Et=Et||document.head.querySelector("base"),Et?Et.getAttribute("href"):null}function Qs(t){return new URL(t,document.baseURI).pathname}var cr=class{addToWindow(n){ue.getAngularTestability=(r,i=!0)=>{let o=n.findTestabilityInTree(r,i);if(o==null)throw new w(5103,!1);return o},ue.getAllAngularTestabilities=()=>n.getAllTestabilities(),ue.getAllAngularRootElements=()=>n.getAllRootElements();let e=r=>{let i=ue.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&r()};i.forEach(a=>{a.whenStable(s)})};ue.frameworkStabilizers||(ue.frameworkStabilizers=[]),ue.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,r){if(e==null)return null;let i=n.getTestability(e);return i??(r?_e().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},Zs=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),po=["alt","control","meta","shift"],ea={"\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"},ta={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},go=(()=>{class t extends vt{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(()=>_e().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-1&&(r.splice(a,1),s="code."),po.forEach(l=>{let d=r.indexOf(l);d>-1&&(r.splice(d,1),s+=l+".")}),s+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,r){let i=ea[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"),po.forEach(s=>{if(s!==i){let a=ta[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)(R($))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();function ra(t,n,e){return I(this,null,function*(){let r=f({rootComponent:t},na(n,e));return Zi(r)})}function na(t,n){return{platformRef:n?.platformRef,appProviders:[...mo,...t?.providers??[]],platformProviders:aa}}function ia(){ar.makeCurrent()}function oa(){return new en}function sa(){return Ei(document),document}var aa=[{provide:qt,useValue:ao},{provide:bi,useValue:ia,multi:!0},{provide:$,useFactory:sa}];var ca=[{provide:$i,useClass:cr},{provide:Fi,useClass:Yt},{provide:Yt,useClass:Yt}],mo=[{provide:yi,useValue:"root"},{provide:en,useFactory:oa},{provide:sr,useClass:nr,multi:!0},{provide:sr,useClass:go,multi:!0},wn,yn,vn,{provide:xi,useExisting:wn},{provide:rr,useClass:Zs},[]],la=(()=>{class t{constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275mod=He({type:t});static \u0275inj=je({providers:[...mo,...ca],imports:[so,Qi]})}return t})();var ee=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` 2`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEac
vendor: 4,388 bytes, line 2
2h((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init();for(let[e,r]of n.headers.entries())this.headers.set(e,r),this.normalizedNames.set(e,n.normalizedNames.get(e))}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=n.op==="a"?(this.headers.get(e)||[]).slice():[];i.push(...r),this.headers.set(e,i);break;case"d":let o=n.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=Array.isArray(o)?o:[o],a=this.headers.get(e);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var dr=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},hr=class{encodeKey(n){return vo(n)}encodeValue(n){return vo(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function ua(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var da=/%(\d[a-f0-9])/gi,ha={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function vo(t){return encodeURIComponent(t).replace(da,(n,e)=>ha[e]??n)}function lr(t){return`${t}`}var de=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new hr,n.fromString){if(n.fromObject)throw new w(2805,!1);this.map=ua(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(lr):[lr(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);
vendor: 16,102 bytes, line 2
2this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=n.op==="a"?(this.map.get(n.param)||[]).slice():[];e.push(lr(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=(this.map.get(n.param)||[]).slice(),i=r.indexOf(lr(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null}}};function fa(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function yo(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Ro(t){return typeof Blob<"u"&&t instanceof Blob}function wo(t){return typeof FormData<"u"&&t instanceof FormData}function pa(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var bt="Content-Type",fr="Accept",bo="text/plain",So="application/json",To=`${So}, ${bo}, */*`,qe=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(fa(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new w(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new ee,this.context??=new dr,!this.params)this.params=new de,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||yo(this.body)||Ro(this.body)||wo(this.body)||pa(this.body)?this.body:this.body instanceof de?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||wo(this.body)?null:Ro(this.body)?this.body.type||null:yo(this.body)?null:typeof this.body=="string"?bo:this.body instanceof de?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?So:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,d=n.credentials||this.credentials,h=n.referrer??this.referrer,v=n.integrity||this.integrity,D=n.referrerPolicy||this.referrerPolicy,A=n.transferCache??this.transferCache,C=n.timeout??this.timeout,g=n.body!==void 0?n.body:this.body,E=n.withCredentials??this.withCredentials,S=n.reportProgress??this.reportProgress,x=n.headers||this.headers,M=n.params||this.params,J=n.context??this.context;return n.setHeaders!==void 0&&(x=Object.keys(n.setHeaders).reduce((N,H)=>N.set(H,n.setHeaders[H]),x)),n.setParams&&(M=Object.keys(n.setParams).reduce((N,H)=>N.set(H,n.setParams[H]),M)),new t(e,r,g,{params:M,headers:x,context:J,reportProgress:S,responseType:i,withCredentials:E,transferCache:A,keepalive:o,cache:a,priority:s,timeout:C,mode:c,redirect:l,credentials:d,referrer:h,integrity:v,referrerPolicy:D})}},he=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(he||{}),Ge=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r="OK"){this.headers=n.headers||new ee,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},St=class t extends Ge{constructor(n={}){super(n)}type=he.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Ne=class t extends Ge{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=he.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},ae=class extends Ge{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Co=200,ga=204;var ma=/^\)\]\}',?\n/,Mo=new b(""),ur=(()=>{class t{fetchImpl=u(bn,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=u(Ae);destroyRef=u(dt);handle(e){return new st(r=>{let i=new AbortController;this.doRequest(e,i.signal,r).then(Sn,s=>r.error(new ae({error:s})));let o;return e.timeout&&(o=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{o!==void 0&&clearTimeout(o),i.abort()}})}doRequest(e,r,i){return I(this,null,function*(){let o=this.createRequestInit(e),s;try{let C=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,f({signal:r},o)));va(C),i.next({type:he.Sent}),s=yield C}catch(C){i.error(new ae({error:C,status:C.status??0,statusText:C.statusText,url:e.urlWithParams,headers:C.headers}));return}let a=new ee(s.headers),c=s.statusText,l=s.url||e.urlWithParams,d=s.status,h=null;if(e.reportProgress&&i.next(new St({headers:a,status:d,statusText:c,url:l})),s.body){let C=s.headers.get("content-length"),g=[],E=s.body.getReader(),S=0,x,M,J=typeof Zone<"u"&&Zone.current,N=!1;if(yield this.ngZone.runOutsideAngular(()=>I(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield E.cancel(),N=!0;break}let{done:ne,value:Se}=yield E.read();if(ne)break;if(g.push(Se),S+=Se.length,e.reportProgress){M=e.responseType==="text"?(M??"")+(x??=new TextDecoder).decode(Se,{stream:!0}):void 0;let O=()=>i.next({type:he.DownloadProgress,total:C?+C:void 0,loaded:S,partialText:M});J?J.run(O):O()}}})),N){i.complete();return}let H=this.concatChunks(g,S);try{let ne=s.headers.get(bt)??"";h=this.parseBody(e,H,ne,d)}catch(ne){i.error(new ae({error:ne,headers:new ee(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}));return}}d===0&&(d=h?Co:0);let v=d>=200&&d<300,D=s.redirected,A=s.type;v?(i.next(new Ne({body:h,headers:a,status:d,statusText:c,url:l,redirected:D,responseType:A})),i.complete()):i.error(new ae({error:h,headers:a,status:d,statusText:c,url:l,redirected:D,responseType:A}))})}parseBody(e,r,i,o){switch(e.responseType){case"json":let s=new TextDecoder().decode(r).replace(ma,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(o<200||o>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(e){let r={},i;if(i=e.credentials,e.withCredentials&&(i="include"),e.headers.forEach((o,s)=>r[o]=s.join(",")),e.headers.has(fr)||(r[fr]=To),!e.headers.has(bt)){let o=e.detectContentTypeHeader();o!==null&&(r[bt]=o)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,r){let i=new Uint8Array(r),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),bn=class{};function Sn(){}function va(t){t.then(Sn,Sn)}var ya=/^\)\]\}',?\n/;var Tn=(()=>{class t{xhrFactory;tracingService=u(Jt,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new w(-2800,!1);let r=this.xhrFactory;return p(null).pipe(V(()=>new st(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((g,E)=>s.setRequestHeader(g,E.join(","))),e.headers.has(fr)||s.setRequestHeader(fr,To),!e.headers.has(bt)){let g=e.detectContentTypeHeader();g!==null&&s.setRequestHeader(bt,g)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let g=e.responseType.toLowerCase();s.responseType=g!=="json"?g:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let g=s.statusText||"OK",E=new ee(s.getAllResponseHeaders()),S=s.responseURL||e.url;return c=new St({headers:E,status:s.status,statusText:g,url:S}),c},d=this.maybePropagateTrace(()=>{let{headers:g,status:E,statusText:S,url:x}=l(),M=null;E!==ga&&(M=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=M?Co:0);let J=E>=200&&E<300;if(e.responseType==="json"&&typeof M=="string"){let N=M;M=M.replace(ya,"");try{M=M!==""?JSON.parse(M):null}catch(H){M=N,J&&(J=!1,M={error:H,text:M})}}J?(o.next(new Ne({body:M,headers:g,status:E,statusText:S,url:x||void 0})),o.complete()):o.error(new ae({error:M,headers:g,status:E,statusText:S,url:x||void 0}))}),h=this.maybePropagateTrace(g=>{let{url:E}=l(),S=new ae({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});o.error(S)}),v=h;e.timeout&&(v=this.maybePropagateTrace(g=>{let{url:E}=l(),S=new ae({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:E||void 0});o.error(S)}));let D=!1,A=this.maybePropagateTrace(g=>{D||(o.next(l()),D=!0);let E={type:he.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(E.total=g.total),e.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),o.next(E)}),C=this.maybePropagateTrace(g=>{let E={type:he.UploadProgress,loaded:g.loaded};g.lengthComputable&&(E.total=g.total),o.next(E)});return s.addEventListener("load",d),s.addEventListener("error",h),s.addEventListener("timeout",v),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",A),a!==null&&s.upload&&s.upload.addEventListener("progress",C)),s.send(a),o.next({type:he.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",d),s.removeEventListener("timeout",v),e.reportProgress&&(s.removeEventListener("progress",A),a!==null&&s.upload&&s.upload.removeEventListener("progress",C)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(R(rr))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ra=new b("",{factory:()=>!0}),wa="XSRF-TOKEN",Ea=new b("",{factory:()=>wa}),ba="X-XSRF-TOKEN",Sa=new b("",{factory:()=>ba}),Ta=(()=>{class t{cookieName=u(Ea);doc=u($);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=tr(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Io=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=R(Ta),i},providedIn:"root"})}return t})();function Do(t,n){if(!u(Ra)||t.method==="GET"||t.method==="HEAD")return n(t);try{let i=u(hn).href,{origin:o}=new URL(i),{origin:s}=new URL(t.url,o);if(o!==s)return n(t)}catch(i){return n(t)}let e=u(Io).getToken(),r=u(Sa);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}function Ao(t,n){return n(t)}function Ca(t,n){return(e,r)=>n.intercept(e,{handle:i=>t(i,r)})}function Ma(t,n,e){return(r,i)=>F(e,()=>n(r,o=>t(o,i)))}var _o=new b(""),Cn=new b("",{factory:()=>[Do]}),Mn=new b(""),In=new b("",{factory:()=>!0});function Ia(){let t=null;return(n,e)=>{t===null&&(t=(u(_o,{optional:!0})??[]).reduceRight(Ca,Ao));let r=u(tn);if(u(In)){let o=r.add();return t(n,e).pipe(ct(o))}else return t(n,e)}}var gr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=R(Tn),i},providedIn:"root"})}return t})();var pr=(()=>{class t{backend;injector;chain=null;pendingTasks=u(tn);contributeToStability=u(In);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=this.injector.get(mr,null,{skipSelf:!0}),i=r!==null&&this.backend===r,o=this.injector.get(Mn,[],i?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(Cn),...o]));this.chain=s.reduceRight((a,c)=>Ma(a,c,this.injector),Ao)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(ct(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(R(gr),R(Y))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=R(pr),i},providedIn:"root"})}return t})();function En(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var No=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof qe)o=e;else{let c;i.headers instanceof ee?c=i.headers:c=new ee(i.headers);let l;i.params&&(i.params instanceof de?l=i.params:l=new de({fromObject:i.params})),o=new qe(e,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=p(o).pipe(Me(c=>this.handler.handle(c)));if(e instanceof qe||i.observe==="events")return s;let a=s.pipe(oe(c=>c instanceof Ne));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(P(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new w(2806,!1);return c.body}));case"blob":return a.pipe(P(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new w(2807,!1);return c.body}));case"text":return a.pipe(P(c=>{if(c.body!==null&&typeof c.body!="string")throw new w(2808,!1);return c.body}));default:return a.pipe(P(c=>c.body))}case"response":return a;default:throw new w(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new de().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,En(i,r))}post(e,r,i={}
2){return this.request("POST",e,En(i,r))}put(e,r,i={}){return this.request("PUT",e,En(i,r))}static \u0275fac=function(r){return new(r||t)(R(mr))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var vr=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(vr||{});function Oo(t,n){return{\u0275kind:t,\u0275providers:n}}function Da(...t){let n=[No,pr,{provide:mr,useExisting:pr},{provide:gr,useFactory:()=>u(Mo,{optional:!0})??u(Tn)},{provide:Cn,useValue:Do,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return ut(n)}var Eo=new b("");function Aa(){return Oo(vr.LegacyInterceptors,[{provide:Eo,useFactory:Ia},{provide:Cn,useExisting:Eo,multi:!0}])}function _a(){return Oo(vr.Fetch,[ur,{provide:Mo,useExisting:ur},{provide:gr,useExisting:ur}])}var Na=new b(""),Oa="b",Pa="h",xa="s",Ua="st",La="u",ka="rt",Dn=new b(""),ja=["GET","HEAD"];function Lo(t,n){let s=n,{isCacheActive:e}=s,r=ui(s,["isCacheActive"]),{transferCache:i,method:o}=t;return!(!e||i===!1||Ha(t)||o==="POST"&&!r.includePostRequests&&!i||o!=="POST"&&!ja.includes(o)||!r.includeRequestsWithAuthHeaders&&Ba(t)||Va(t.headers)||qa(t.cache)||r.filter?.(t)===!1)}function Fa(t,n,e,r,i,o=!1){if(!o&&!Lo(t,n))return null;if(r)throw new w(2803,!1);if(!i){let C=t.url;i=ko(t,C)}let s=e.get(i,null);if(!s)return null;let{[Oa]:a,[ka]:c,[Pa]:l,[xa]:d,[Ua]:h,[La]:v}=s,D=a;switch(c){case"arraybuffer":D=xo(a);break;case"blob":D=new Blob([xo(a)]);break}let A=new ee(l);return new Ne({body:D,headers:A,status:d,statusText:h,url:v})}function $a(t,n){let e=u(Dn);if(!Lo(t,e))return n(t);let r=u(Si),i=u(Na,{optional:!0}),o=t.url,s=ko(t,o),a=Fa(t,e,r,null,s,!0);return a?p(a):n(t)}function Ba(t){let n=t.headers;return n.has("authorization")||n.has("proxy-authorization")||n.has("cookie")}function Ha(t){let{withCredentials:n,credentials:e}=t;return n||e==="include"||e==="same-origin"}var za=new Set(["no-store","private","no-cache"]);function Va(t){let n=t.get("cache-control");return n?n.split(",").some(e=>{let r=e.split("=",1)[0].trim().toLowerCase();return za.has(r)}):!1}function qa(t){return t==="no-cache"||t==="no-store"}function Po(t){let n=new URLSearchParams(t instanceof URLSearchParams?t:t.toString());return n.sort(),n.toString()}function ko(t,n){let{params:e,method:r,responseType:i}=t,o=Po(e),s=t.serializeBody();s instanceof URLSearchParams?s=Po(s):typeof s!="string"&&(s="");let a=[r,i,n,s,o].join("|"),c=Wa(a);return c}function xo(t){let n=atob(t);return Uint8Array.from(n,r=>r.charCodeAt(0)).buffer}function jo(t){return[{provide:Dn,useFactory:()=>(Xt("NgHttpTransferCache"),f({isCacheActive:!0},t))},{provide:Mn,useValue:$a,multi:!0},{provide:Qt,multi:!0,useFactory:()=>{let n=u(ze),e=u(Dn);return()=>{n.whenStable().then(()=>{e.isCacheActive=!1})}}}]}var Ga=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Uo;function Wa(t){Uo??=new TextEncoder;let n=Uo.encode(t),e=1779033703,r=3144134277,i=1013904242,o=2773480762,s=1359893119,a=2600822924,c=528734635,l=1541459225,d=n.length*8,h=(n.length+8>>6)+1<<6,v=new Uint8Array(h);v.set(n),v[n.length]=128;let D=new DataView(v.buffer),A=d>>>0,C=d/4294967296>>>0;D.setUint32(h-8,C,!1),D.setUint32(h-4,A,!1);let g=new Uint32Array(64);for(let E=0;E<h;E+=64){for(let O=0;O<16;O++)g[O]=D.getUint32(E+O*4,!1);for(let O=16;O<64;O++){let Te=g[O-15],Xr=((Te>>>7|Te<<25)^(Te>>>18|Te<<14)^Te>>>3)>>>0,me=g[O-2],Kr=((me>>>17|me<<15)^(me>>>19|me<<13)^me>>>10)>>>0;g[O]=g[O-16]+Xr+g[O-7]+Kr>>>0}let S=e,x=r,M=i,J=o,N=s,H=a,ne=c,Se=l;for(let O=0;O<64;O++){let Te=((N>>>6|N<<26)^(N>>>11|N<<21)^(N>>>25|N<<7))>>>0,Xr=(N&H^~N&ne)>>>0,me=Se+Te+Xr+Ga[O]+g[O]>>>0,Kr=((S>>>2|S<<30)^(S>>>13|S<<19)^(S>>>22|S<<10))>>>0,Hs=(S&x^S&M^x&M)>>>0,zs=Kr+Hs>>>0;Se=ne,ne=H,H=N,N=J+me>>>0,J=M,M=x,x=S,S=me+zs>>>0}e=e+S>>>0,r=r+x>>>0,i=i+M>>>0,o=o+J>>>0,s=s+N>>>0,a=a+H>>>0,c=c+ne>>>0,l=l+Se>>>0}return[e,r,i,o,s,a,c,l].map(E=>E.toString(16).padStart(8,"0")).join("")}var td=(()=>{class t{_doc;_dom;
2constructor(e){this._doc=e,this._dom=_e()}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 w(5203,!1)}_containsAttributes(e,r){return Object.keys(e).every(i=>r.getAttribute(this._getMetaKeyMap(i))===e[i])}_getMetaKeyMap(e){return Object.hasOwn(Fo,e)?Fo[e]:e}static \u0275fac=function(r){return new(r||t)(R($))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fo={httpEquiv:"http-equiv"},$o=(()=>{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)(R($))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Xa=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=R(Ka),i},providedIn:"root"})}return t})(),Ka=(()=>{class t extends Xa{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case Ie.NONE:return r;case Ie.HTML:return Be(r,"HTML")?$e(r):Ni(this._doc,String(r)).toString();case Ie.STYLE:return Be(r,"Style")?$e(r):r;case Ie.SCRIPT:if(Be(r,"Script"))return $e(r);throw new w(5200,!1);case Ie.URL:return Be(r,"URL")?$e(r):_i(String(r));case Ie.RESOURCE_URL:if(Be(r,"ResourceURL"))return $e(r);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(e){return Ci(e)}bypassSecurityTrustStyle(e){return Mi(e)}bypassSecurityTrustScript(e){return Ii(e)}bypassSecurityTrustUrl(e){return Di(e)}bypassSecurityTrustResourceUrl(e){return Ai(e)}static \u0275fac=function(r){return new(r||t)(R($))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),An=(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})(An||{});function rd(...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(An.HttpTransferCacheOptions);return ut([[],[],Yi(),e.has(An.NoHttpTransferCache)||r?[]:jo({}),n])}var m="primary",Lt=Symbol("RouteTitle"),Un=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 Pe(t){return new Un(t)}function _n(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 Wo(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;
2let c={},l=t.slice(0,r.length);return _n(r,l,c)?{consumed:l,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!_n(o,t.slice(0,o.length),a)||!_n(s,t.slice(t.length-s.length),a)?null:{consumed:t,posParams:a}}function Sr(t){return new Promise((n,e)=>{t.pipe(ve()).subscribe({next:r=>n(r),error:r=>e(r)})})}function Qa(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!ce(t[e],n[e]))return!1;return!0}function ce(t,n){let e=t?Ln(t):void 0,r=n?Ln(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],!Jo(t[i],n[i]))return!1;return!0}function Ln(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Jo(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 Za(t){return t.length>0?t[t.length-1]:null}function Ue(t){return Yr(t)?t:Bi(t)?k(Promise.resolve(t)):p(t)}function Xo(t){return Yr(t)?Sr(t):Promise.resolve(t)}var ec={exact:Yo,subset:Qo},Ko={exact:tc,subset:rc,ignored:()=>!0},Kn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Dt={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Yn(t,n,e){let r=t instanceof B?t:n.parseUrl(t);return gt(()=>kn(n.lastSuccessfulNavigation()?.finalUrl??new B,r,f(f({},Dt),e)))}function kn(t,n,e){return ec[e.paths](t.root,n.root,e.matrixParams)&&Ko[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function tc(t,n){return ce(t,n)}function Yo(t,n,e){if(!Oe(t.segments,n.segments)||!wr(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!Yo(t.children[r],n.children[r],e))return!1;return!0}function rc(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Jo(t[e],n[e]))}function Qo(t,n,e){return Zo(t,n,n.segments,e)}function Zo(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!Oe(i,e)||n.hasChildren()||!wr(i,e,r))}else if(t.segments.length===e.length){if(!Oe(t.segments,e)||!wr(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!Qo(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!Oe(t.segments,i)||!wr(t.segments,i,r)||!t.children[m]?!1:Zo(t.children[m],n,o,r)}}function wr(t,n,e){return n.every((r,i)=>Ko[e](t[i].parameters,r.parameters))}var B=class{root;queryParams;fragment;_queryParamMap;constructor(n=new T([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Pe(this.queryParams),this._queryParamMap}toString(){return oc.serialize(this)}},T=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 Er(this)}},ye=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Pe(this.parameters),this._parameterMap}toString(){return ts(this)}};function nc(t,n){return Oe(t,n)&&t.every((e,r)=>ce(e.parameters,n[r].parameters))}function Oe(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function ic(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===m&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==m&&(e=e.concat(n(i,r)))}),e}var Ee=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>new pe,providedIn:"root"})}return t})(),pe=class{parse(n){let e=new Fn(n);return new B(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Tt(n.root,!0)}`,r=cc(n.queryParams),i=typeof n.fragment=="string"?`#${sc(n.fragment)}`:"";return`${e}${r}${i}`}},oc=new pe;function Er(t){return t.segments.map(n=>ts(n)).join("/")}function Tt(t,n){if(!t.hasChildren())return Er(t);if(n){let e=t.children[m]?Tt(t.children[m],!1):"",r=[];
2return Object.entries(t.children).forEach(([i,o])=>{i!==m&&r.push(`${i}:${Tt(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=ic(t,(r,i)=>i===m?[Tt(t.children[m],!1)]:[`${i}:${Tt(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[m]!=null?`${Er(t)}/${e[0]}`:`${Er(t)}/(${e.join("//")})`}}function es(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function yr(t){return es(t).replace(/%3B/gi,";")}function sc(t){return encodeURI(t)}function jn(t){return es(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function br(t){return decodeURIComponent(t)}function Bo(t){return br(t.replace(/\+/g,"%20"))}function ts(t){return`${jn(t.path)}${ac(t.parameters)}`}function ac(t){return Object.entries(t).map(([n,e])=>`;${jn(n)}=${jn(e)}`).join("")}function cc(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${yr(e)}=${yr(i)}`).join("&"):`${yr(e)}=${yr(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Nn=1073741824;function Tr(t,n,e){Number(n)>=32&&!Object.hasOwn(t,Nn)&&(t[Nn]=e,delete t[Nn]),t[n]=e}var lc=/^[^\/()?;#]+/;function On(t){let n=t.match(lc);return n?n[0]:""}var uc=/^[^\/()?;=#]+/;function dc(t){let n=t.match(uc);return n?n[0]:""}var hc=/^[^=?&#]+/;function fc(t){let n=t.match(hc);return n?n[0]:""}var pc=/^[^&#]+/;function gc(t){let n=t.match(pc);return n?n[0]:""}var Fn=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new T([],{}):new T([],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 w(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[m]=new T(e,r)),i}parseSegment(){let n=On(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(n),new ye(br(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=dc(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=On(this.remaining);i&&(r=i,this.capture(r))}Tr(n,br(e),br(r))}parseQueryParam(n){let e=fc(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=gc(this.remaining);s&&(r=s,this.capture(r))}let i=Bo(e),o=Bo(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=On(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new w(4010,!1);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=m);let a=this.parseChildren(e+1),c=Object.keys(a).length===1&&a[m]?a[m]:new T([],a);Tr(r,s??m,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 w(4011,!1)}};function rs(t){return t.segments.length>0?new T([],{[m]:t}):t}function ns(t){let n={};for(let[r,i]of Object.entries(t.children)){let o=ns(i);if(r===m&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))Tr(n,s,a);else(o.segments.length>0||o.hasChildren())&&Tr(n,r,o)}let e=new T(t.segments,n);return mc(e)}function mc(t){if(t.numberOfChildren===1&&t.children[m]){let n=t.children[m];return new T(t.segments.concat(n.segments),n.children)}return t}function Re(t){return t instanceof B}function is(t,n,e=null,r=null,i=new pe){let o=os(t);return ss(o,n,e,r,i)}function os(t){let n;function e(o){let s={};for(let c of o.children){let l=e(c);s[c.outlet]=l}let a=new T(o.url,s);return o===t&&(n=a),a}let r=e(t.root),i=rs(r);return n??i}function ss(t,n,e,r,i){let o=t;for(;o.parent;)o=o.parent;if(n.length===0)return Pn(o,o,o,e,r,i);let s=vc(n);if(s.toRoot())return Pn(o,o,new T([],{}),e,r,i);let a=yc(s,o,t),c=a.processChildren?Mt(a.segmentGroup,a.index,s.commands):cs(a.segmentGroup,a.index,s.commands);return Pn(o,a.segmentGroup,c,e,r,i)}function Cr(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function At(t){return typeof t=="object"&&t!=null&&t.outlets}function Ho(t,n,e){t||="\u0275";let r=new B;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function Pn(t,n,e,r,i,o){let s={};for(let[l,d]of Object.entries(r??{}))s[l]=Array.isArray(d)?d.map(h=>Ho(l,h,o)):Ho(l,d,o);let a;t===n?a=e:a=as(t,n,e);let c=rs(ns(a));return new B(c,s,i)}function as(t,n,e){let r={};
vendor: 4,767 bytes, line 2
2return Object.entries(t.children).forEach(([i,o])=>{o===n?r[i]=e:r[i]=as(o,n,e)}),new T(t.segments,r)}var Mr=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&Cr(r[0]))throw new w(4003,!1);let i=r.find(At);if(i&&i!==Za(r))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function vc(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Mr(!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,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...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 Mr(e,n,r)}var Je=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function yc(t,n,e){if(t.isAbsolute)return new Je(n,!0,0);if(!e)return new Je(n,!1,NaN);if(e.parent===null)return new Je(e,!0,0);let r=Cr(t.commands[0])?0:1,i=e.segments.length-1+r;return Rc(e,i,t.numberOfDoubleDots)}function Rc(t,n,e){let r=t,i=n,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new w(4005,!1);i=r.segments.length}return new Je(r,!1,i-o)}function wc(t){return At(t[0])?t[0].outlets:{[m]:t}}function cs(t,n,e){if(t??=new T([],{}),t.segments.length===0&&t.hasChildren())return Mt(t,n,e);let r=Ec(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let o=new T(t.segments.slice(0,r.pathIndex),{});return o.children[m]=new T(t.segments.slice(r.pathIndex),t.children),Mt(o,0,i)}else return r.match&&i.length===0?new T(t.segments,{}):r.match&&!t.hasChildren()?$n(t,n,e):r.match?Mt(t,0,i):$n(t,n,e)}function Mt(t,n,e){if(e.length===0)return new T(t.segments,{});{let r=wc(e),i={};if(Object.keys(r).some(o=>o!==m)&&t.children[m]&&t.numberOfChildren===1&&t.children[m].segments.length===0){let o=Mt(t.children[m],n,e);return new T(t.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=cs(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new T(t.segments,i)}}function Ec(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(At(a))break;let c=`${a}`,l=r<e.length-1?e[r+1]:null;if(i>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Vo(c,l,s))return o;r+=2}else{if(!Vo(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function $n(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(At(o)){let c=bc(o.outlets);return new T(r,c)}if(i===0&&Cr(e[0])){let c=t.segments[n];r.push(new ye(c.path,zo(e[0]))),i++;continue}let s=At(o)?o.outlets[m]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&Cr(a)?(r.push(new ye(s,zo(a))),i+=2):(r.push(new ye(s,{})),i++)}return new T(r,{})}function bc(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=$n(new T([],{}),0,r))}),n}function zo(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function Vo(t,n,e){return t==e.path&&ce(n,e.parameters)}var Xe="imperative",L=(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})(L||{}),G=class{id;url;constructor(n,e){this.id=n,this.url=e}},we=class extends G{type=L.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}')`}},W=class extends G{urlAfterRedirects;type=L.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},j=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
2solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(j||{}),Ye=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Ye||{}),Q=class extends G{reason;code;type=L.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function ls(t){return t instanceof Q&&(t.code===j.Redirect||t.code===j.SupersededByNewNavigation)}var le=class extends G{reason;code;type=L.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},xe=class extends G{error;target;type=L.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})`}},_t=class extends G{urlAfterRedirects;state;type=L.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})`}},Ir=class extends G{urlAfterRedirects;state;type=L.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})`}},Dr=class extends G{urlAfterRedirects;state;shouldActivate;type=L.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})`}},Ar=class extends G{urlAfterRedirects;state;type=L.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})`}},_r=class extends G{urlAfterRedirects;state;type=L.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})`}},Nr=class{route;type=L.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Or=class{route;type=L.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Pr=class{snapshot;type=L.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xr=class{snapshot;type=L.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ur=class{snapshot;type=L.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Lr=class{snapshot;type=L.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qe=class{routerEvent;position;anchor;scrollBehavior;type=L.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}')`}},Ze=class{},Nt=class{},et=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Sc(t){return!(t instanceof Ze)&&!(t instanceof et)&&!(t instanceof Nt)}var kr=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 Le(this.rootInjector)}},Le=(()=>{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 kr(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(R(Y))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jr=class{_root;constructor(n){this._root=n}get root(){return this._root.value}
vendor: 15,866 bytes, line 2
2parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Bn(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Bn(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Hn(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Hn(n,this._root).map(e=>e.value)}};function Bn(t,n){if(t===n.value)return n;for(let e of n.children){let r=Bn(t,e);if(r)return r}return null}function Hn(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Hn(t,e);if(r.length)return r.unshift(n),r}return[]}var q=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function We(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Ot=class extends jr{snapshot;constructor(n,e){super(n),this.snapshot=e,Zn(this,n)}toString(){return this.snapshot.toString()}};function us(t,n){let e=Tc(t,n),r=new X([new ye("",{})]),i=new X({}),o=new X({}),s=new X({}),a=new X(""),c=new ge(r,i,s,a,o,m,t,e.root);return c.snapshot=e.root,new Ot(new q(c,[]),e)}function Tc(t,n){let e={},r={},i={},s=new tt([],e,i,"",r,m,t,null,{},n);return new Pt("",new q(s,[]))}var ge=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(P(l=>l[Lt]))??p(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(P(n=>Pe(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(P(n=>Pe(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Qn(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:f(f({},n.params),t.params),data:f(f({},n.data),t.data),resolve:f(f(f(f({},t.data),n.data),i?.data),t._resolvedData)}:r={params:f({},t.params),data:f({},t.data),resolve:f(f({},t.data),t._resolvedData??{})},i&&hs(i)&&(r.resolve[Lt]=i.title),r}var tt=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Lt]}constructor(n,e,r,i,o,s,a,c,l,d){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=l,this._environmentInjector=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Pe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Pe(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}')`}},Pt=class extends jr{url;constructor(n,e){super(e),this.url=n,Zn(this,e)}toString(){return ds(this._root)}};function Zn(t,n){n.value._routerState=t,n.children.forEach(e=>Zn(t,e))}function ds(t){let n=t.children.length>0?` { ${t.children.map(ds).join(", ")} } `:"";return`${t.value}${n}`}function xn(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ce(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),ce(n.params,e.params)||t.paramsSubject.next(e.params),Qa(n.url,e.url)||t.urlSubject.next(e.url),ce(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function zn(t,n){let e=ce(t.params,n.params)&&nc(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||zn(t.parent,n.parent))}function hs(t){return typeof t.title=="string"||t.title===null}var fs=new b(""),ei=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=m;activateEvents=new De;deactivateEvents=new De;attachEvents=new De;detachEvents=new De;routerOutletData=Ki();parentContexts=u(Le);location=u(Li);changeDetector=u(Zt);inputBinder=u(kt,{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 w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(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 w(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Vn(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=pt({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ht]})}return t})(),Vn=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===ge?this.route:n===Le?this.childContexts:n===fs?this.outletData:this.parent.get(n,e)}},kt=new b(""),ti=(()=>{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=Qr([r.queryParams,r.params,r.data]).pipe(V(([o,s,a],c)=>(a=f(f(f({},o),s),a),c===0?p(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=eo(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=y({token:t,factory:t.\u0275fac})}return t})(),ri=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ji({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&zi(0,"router-outlet")},dependencies:[ei],encapsulation:2})}return t})();function ni(t){let n=t.children&&t.children.map(ni),e=n?z(f({},t),{children:n}):f({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==m&&(e.component=ri),e}function Cc(t,n,e){let r=xt(t,n._root,e?e._root:void 0);return new Ot(r,n)}function xt(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=Mc(t,n,e);return new q(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=>xt(t,a)),s}}let r=Ic(n.value),i=n.children.map(o=>xt(t,o));return new q(r,i)}}function Mc(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return xt(t,r,i);return xt(t,r)})}function Ic(t){return new ge(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 rt=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},ps="ngNavigationCancelingError";function Fr(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=Re(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=gs(!1,j.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function gs(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[ps]=!0,e.cancellationCode=n,e}function Dc(t){return ms(t)&&Re(t.url)}function ms(t){return!!t&&t[ps]}var qn=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),xn(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 Lr(o.value.snapshot))}),n.children.length&&this.forwardEvent(new xr(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,o=e?e.value:null;if(xn(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),xn(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)}},$r=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ke=class{component;route;constructor(n,e){this.component=n,this.route=e}};function Ac(t,n,e){let r=t._root,i=n?n._root:null;return Ct(r,i,e,[r.value])}function _c(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function it(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!vi(t)?t:n.get(t):r}function Ct(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=We(n);return t.children.forEach(s=>{Nc(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>It(a,e.getContext(s),i)),i}function Nc(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=Oc(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new $r(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ct(t,n,a?a.children:null,r,i):Ct(t,n,e,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ke(a.outlet.component,s))}else s&&It(n,a,i),i.canActivateChecks.push(new $r(r)),o.component?Ct(t,null,a?a.children:null,r,i):Ct(t,null,e,r,i);return i}function Oc(t,n,e){if(typeof e=="function")return F(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!Oe(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Oe(t.url,n.url)||!ce(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zn(t,n)||!ce(t.queryParams,n.queryParams);default:return!zn(t,n)}}function It(t,n,e){let r=We(t),i=t.value;Object.entries(r).forEach(([o,s])=>{i.component?n?It(s,n.children.getContext(o),e):It(s,null,e):It(s,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Ke(n.outlet.component,i)):e.canDeactivateChecks.push(new Ke(null,i)):e.canDeactivateChecks.push(new Ke(null,i))}function jt(t){return typeof t=="function"}function Pc(t){return typeof t=="boolean"}function xc(t){return t&&jt(t.canLoad)}function Uc(t){return t&&jt(t.canActivate)}function Lc(t){return t&&jt(t.canActivateChild)}function kc(t){return t&&jt(t.canDeactivate)}function jc(t){return t&&jt(t.canMatch)}function vs(t){return t instanceof pi||t?.name==="EmptyError"}var Rr=Symbol("INITIAL_VALUE");function nt(){return V(t=>Qr(t.map(n=>n.pipe(ke(1),mi(Rr)))).pipe(P(n=>{for(let e of n)if(e!==!0){if(e===Rr)return Rr;if(e===!1||Fc(e))return e}return!0}),oe(n=>n!==Rr),ke(1)))}function Fc(t){return Re(t)||t instanceof rt}function ys(t){return t.aborted?p(void 0).pipe(ke(1)):new st(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function Rs(t){return zt(ys(t))}function $c(t){return ie(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?p(z(f({},n),{guardsResult:!0}
2)):Bc(o,e,r).pipe(ie(s=>s&&Pc(s)?Hc(e,i,t):p(s)),P(s=>z(f({},n),{guardsResult:s})))})}function Bc(t,n,e){return k(t).pipe(ie(r=>Wc(r.component,r.route,e,n)),ve(r=>r!==!0,!0))}function Hc(t,n,e){return k(n).pipe(Me(r=>gi(Vc(r.route.parent,e),zc(r.route,e),Gc(t,r.path),qc(t,r.route))),ve(r=>r!==!0,!0))}function zc(t,n){return t!==null&&n&&n(new Ur(t)),p(!0)}function Vc(t,n){return t!==null&&n&&n(new Pr(t)),p(!0)}function qc(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return p(!0);let r=e.map(i=>Bt(()=>{let o=n._environmentInjector,s=it(i,o),a=Uc(s)?s.canActivate(n,t):F(o,()=>s(n,t));return Ue(a).pipe(ve())}));return p(r).pipe(nt())}function Gc(t,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>_c(o)).filter(o=>o!==null).map(o=>Bt(()=>{let s=o.guards.map(a=>{let c=o.node._environmentInjector,l=it(a,c),d=Lc(l)?l.canActivateChild(e,t):F(c,()=>l(e,t));return Ue(d).pipe(ve())});return p(s).pipe(nt())}));return p(i).pipe(nt())}function Wc(t,n,e,r){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return p(!0);let o=i.map(s=>{let a=n._environmentInjector,c=it(s,a),l=kc(c)?c.canDeactivate(t,n,e,r):F(a,()=>c(t,n,e,r));return Ue(l).pipe(ve())});return p(o).pipe(nt())}function Jc(t,n,e,r,i){let o=n.canLoad;if(o===void 0||o.length===0)return p(!0);let s=o.map(a=>{let c=it(a,t),l=xc(c)?c.canLoad(n,e):F(t,()=>c(n,e)),d=Ue(l);return i?d.pipe(Rs(i)):d});return p(s).pipe(nt(),ws(r))}function ws(t){return hi(Z(n=>{if(typeof n!="boolean")throw Fr(t,n)}),P(n=>n===!0))}function Xc(t,n,e,r,i,o){let s=n.canMatch;if(!s||s.length===0)return p(!0);let a=s.map(c=>{let l=it(c,t),d=jc(l)?l.canMatch(n,e,i):F(t,()=>l(n,e,i));return Ue(d).pipe(Rs(o))});return p(a).pipe(nt(),ws(r))}var fe=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},Ut=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function Kc(t){throw new w(4e3,!1)}function Yc(t){throw gs(!1,j.GuardRejected)}var Gn=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return I(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[m])throw Kc(`${n.redirectTo}`);i=i.children[m]}})}applyRedirectCommands(n,e,r,i,o){return I(this,null,function*(){let s=yield Qc(e,i,o);if(s instanceof B)throw new Ut(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new Ut(a);return a})}applyRedirectCreateUrlTree(n,e,r,i){let o=this.createSegmentGroup(n,e.root,r,i);return new B(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 T(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 w(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 Qc(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return Sr(Ue(F(e,()=>r(n))))}function Zc(t,n){return t.providers&&!t._injector&&(t._injector=Kt(t.providers,n,`Route: ${t.path}`)),t._injector??n}function te(t){return t.outlet||m}function el(t,n){let e=t.filter(r=>te(r)===n);return e.push(...t.filter(r=>te(r)!==n)),e}var Wn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Es(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 tl(t,n,e,r,i,o,s){let a=bs(t,n,e);if(!a.matched)return p(a);let c=Es(o(a));return r=Zc(n,r),Xc(r,n,e,i,c,s).pipe(P(l=>l===!0?a:f({},Wn)))}function bs(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?f({},Wn):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};
2let i=(n.matcher||Wo)(e,t,n);if(!i)return f({},Wn);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?f(f({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function qo(t,n,e,r,i){return e.length>0&&il(t,e,r,i)?{segmentGroup:new T(n,nl(r,new T(e,t.children))),slicedSegments:[]}:e.length===0&&ol(t,e,r)?{segmentGroup:new T(t.segments,rl(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new T(t.segments,t.children),slicedSegments:e}}function rl(t,n,e,r){let i={};for(let o of e)if(Hr(t,n,o)&&!r[te(o)]){let s=new T([],{});i[te(o)]=s}return f(f({},r),i)}function nl(t,n){let e={};e[m]=n;for(let r of t)if(r.path===""&&te(r)!==m){let i=new T([],{});e[te(r)]=i}return e}function il(t,n,e,r){return e.some(i=>!Hr(t,n,i)||!(te(i)!==m)?!1:!(r!==void 0&&te(i)===r))}function ol(t,n,e){return e.some(r=>Hr(t,n,r))}function Hr(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function sl(t,n,e){return n.length===0&&!t.children[e]}var Jn=class{};function al(t,n,e,r,i,o,s="emptyOnly",a){return I(this,null,function*(){return new Xn(t,n,e,r,i,s,o,a).recognize()})}var cl=31,Xn=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 Gn(this.urlSerializer,this.urlTree)}noMatchError(n){return new w(4002,`'${n.segmentGroup}'`)}recognize(){return I(this,null,function*(){let n=qo(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=yield this.match(n),i=new q(r,e),o=new Pt("",i),s=is(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 I(this,null,function*(){let e=new tt([],Object.freeze({}),Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),m,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,m,e),rootSnapshot:e}}catch(r){if(r instanceof Ut)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof fe?this.noMatchError(r):r}})}processSegmentGroup(n,e,r,i,o){return I(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,o);let s=yield this.processSegment(n,e,r,r.segments,i,!0,o);return s instanceof q?[s]:[]})}processChildren(n,e,r,i){return I(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 l=r.children[c],d=el(e,c),h=yield this.processSegmentGroup(n,d,l,c,i);s.push(...h)}let a=Ss(s);return ll(a),a})}processSegment(n,e,r,i,o,s,a){return I(this,null,function*(){for(let c of e)try{return yield this.processSegmentAgainstRoute(c._injector??n,e,c,r,i,o,s,a)}catch(l){if(l instanceof fe||vs(l))continue;throw l}if(sl(r,i,o))return new Jn;throw new fe(r)})}processSegmentAgainstRoute(n,e,r,i,o,s,a,c){return I(this,null,function*(){if(te(r)!==s&&(s===m||!Hr(i,o,r)))throw new fe(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 fe(i)})}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,o,s,a){return I(this,null,function*(){let{matched:c,parameters:l,consumedSegments:d,positionalParamSegments:h,remainingSegments:v}=bs(e,i,o);if(!c)throw new fe(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>cl&&(this.allowRedirects=!1));let D=this.createSnapshot(n,i,o,l,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let A=yield this.applyRedirects.applyRedirectCommands(d,i.redirectTo,h,Es(D),n),C=yield this.applyRedirects.lineralizeSegments(i,A);return this.processSegment(n,r,e,C.concat(v),s,!1,a)})}
2createSnapshot(n,e,r,i,o){let s=new tt(r,i,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,dl(e),te(e),e.component??e._loadedComponent??null,e,hl(e),n),a=Qn(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 I(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=x=>this.createSnapshot(n,r,x.consumedSegments,x.parameters,s),c=yield Sr(tl(e,r,i,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(e.children={}),!c?.matched)throw new fe(e);n=r._injector??n;let{routes:l}=yield this.getChildConfig(n,r,i),d=r._loadedInjector??n,{parameters:h,consumedSegments:v,remainingSegments:D}=c,A=this.createSnapshot(n,r,v,h,s),{segmentGroup:C,slicedSegments:g}=qo(e,v,D,l,o);if(g.length===0&&C.hasChildren()){let x=yield this.processChildren(d,l,C,A);return new q(A,x)}if(l.length===0&&g.length===0)return new q(A,[]);let E=te(r)===o,S=yield this.processSegment(d,l,C,g,E?m:o,!0,A);return new q(A,S instanceof q?[S]:[])})}getChildConfig(n,e,r){return I(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 Sr(Jc(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 Yc(e)}return{routes:[],injector:n}})}};function ll(t){t.sort((n,e)=>n.value.outlet===m?-1:e.value.outlet===m?1:n.value.outlet.localeCompare(e.value.outlet))}function ul(t){let n=t.value.routeConfig;return n&&n.path===""}function Ss(t){let n=[],e=new Set;for(let r of t){if(!ul(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=Ss(r.children);n.push(new q(r.value,i))}return n.filter(r=>!e.has(r))}function dl(t){return t.data||{}}function hl(t){return t.resolve||{}}function fl(t,n,e,r,i,o,s){return ie(a=>I(null,null,function*(){let{state:c,tree:l}=yield al(t,n,e,r,a.extractedUrl,i,o,s);return z(f({},a),{targetSnapshot:c,urlAfterRedirects:l})}))}function pl(t){return ie(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return p(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 Ts(a))o.add(c);let s=0;return k(o).pipe(Me(a=>i.has(a)?gl(a,e,t):(a.data=Qn(a,a.parent,t).resolve,p(void 0))),Z(()=>s++),Zr(1),ie(a=>s===o.size?p(n):K))})}function Ts(t){let n=t.children.map(e=>Ts(e)).flat();return[t,...n]}function gl(t,n,e){let r=t.routeConfig,i=t._resolve;return r?.title!==void 0&&!hs(r)&&(i[Lt]=r.title),Bt(()=>(t.data=Qn(t,t.parent,e).resolve,ml(i,t,n).pipe(P(o=>(t._resolvedData=o,t.data=f(f({},t.data),o),null)))))}function ml(t,n,e){let r=Ln(t);if(r.length===0)return p({});let i={};return k(r).pipe(ie(o=>vl(t[o],n,e).pipe(ve(),Z(s=>{if(s instanceof rt)throw Fr(new pe,s);i[o]=s}))),Zr(1),P(()=>i),Ht(o=>vs(o)?K:fi(o)))}function vl(t,n,e){let r=n._environmentInjector,i=it(t,r),o=i.resolve?i.resolve(n,e):F(r,()=>i(n,e));return Ue(o)}function Go(t){return V(n=>{let e=t(n);return e?k(e).pipe(P(()=>n)):p(n)})}var ii=(()=>{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===m);return r}getResolvedTitleForRoute(e){return e.data[Lt]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>u(Cs),providedIn:"root"})}return t})(),Cs=(()=>{class t extends ii{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)(R($o))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),be=new b("",{factory:()=>({})}),ot=new b(""),zr=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(Ji);loadComponent(e,r){return I(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=I(this,null,function*(){try{let o=yield Xo(F(e,()=>r.loadComponent())),s=yield Ds(Is(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=I(this,null,function*(){try{let o=yield Ms(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=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ms(t,n,e,r){return I(this,null,function*(){let i=yield Xo(F(e,()=>t.loadChildren())),o=yield Ds(Is(i)),s;o instanceof ki||Array.isArray(o)?s=o:s=yield n.compileModuleAsync(o),r&&r(t);let a,c,l=!1,d;return Array.isArray(s)?(c=s,l=!0):(a=s.create(e).injector,d=s,c=a.get(ot,[],{optional:!0,self:!0}).flat()),{routes:c.map(ni),injector:a,factory:d}})}function yl(t){return t&&typeof t=="object"&&"default"in t}function Is(t){return yl(t)?t.default:t}function Ds(t){return I(this,null,function*(){return t})}var Vr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>u(Rl),providedIn:"root"})}return t})(),Rl=(()=>{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=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),oi=new b(""),si=new b("");function As(t,n,e){let r=t.get(si),i=t.get($);
2if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(l=>setTimeout(l));let o,s=new Promise(l=>{o=l}),a=i.startViewTransition(()=>(o(),wl(t)));a.updateCallbackDone.catch(l=>{}),a.ready.catch(l=>{}),a.finished.catch(l=>{});let{onViewTransitionCreated:c}=r;return c&&F(t,()=>c({transition:a,from:n,to:e})),s}function wl(t){return new Promise(n=>{an({read:()=>setTimeout(n)},{injector:t})})}var El=()=>{},ai=new b(""),qr=(()=>{class t{currentNavigation=U(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=U(null);events=new Ce;transitionAbortWithErrorSubject=new Ce;configLoader=u(zr);environmentInjector=u(Y);destroyRef=u(dt);urlSerializer=u(Ee);rootContexts=u(Le);location=u(Ve);inputBindingEnabled=u(kt,{optional:!0})!==null;titleStrategy=u(ii);options=u(be,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=u(Vr);createViewTransition=u(oi,{optional:!0});navigationErrorHandler=u(ai,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>p(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new Nr(i)),r=i=>this.events.next(new Or(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;_(()=>{this.transitions?.next(z(f({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new X(null),this.transitions.pipe(oe(r=>r!==null),V(r=>{let i=!1,o=new AbortController,s=()=>!i&&this.currentTransition?.id===r.id;return p(r).pipe(V(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",j.SupersededByNewNavigation),K;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?z(f({},c),{previousNavigation:null}):null,abort:()=>o.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&d!=="reload")return this.events.next(new le(a.id,this.urlSerializer.serialize(a.rawUrl),"",Ye.IgnoredSameUrlNavigation)),a.resolve(!1),K;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return p(a).pipe(V(h=>(this.events.next(new we(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),h.id!==this.navigationId?K:Promise.resolve(h))),fl(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),Z(h=>{r.targetSnapshot=h.targetSnapshot,r.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation.update(v=>(v.finalUrl=h.urlAfterRedirects,v)),this.events.next(new Nt)}),V(h=>k(r.routesRecognizeHandler.deferredHandle??p(void 0)).pipe(P(()=>h))),Z(()=>{let h=new _t(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:h,extractedUrl:v,source:D,restoredState:A,extras:C}=a,g=new we(h,this.urlSerializer.serialize(v),D,A);this.events.next(g);let E=us(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=z(f({},a),{targetSnapshot:E,urlAfterRedirects:v,extras:z(f({},C),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(S=>(S.finalUrl=v,S)),p(r)}else return this.events.next(new le(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Ye.IgnoredByUrlHandlingStrategy)),a.resolve(!1),K}),P(a=>{let c=new Ir(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=z(f({},a),{guards:Ac(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),$c(a=>this.events.next(a)),V(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Fr(this.urlSerializer,a.guardsResult);let c=new Dr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return K;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",j.GuardRejected),K;if(a.guards.canActivateChecks.length===0)return p(a);let l=new Ar(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!s())return K;let d=!1;return p(a).pipe(pl(this.paramsInheritanceStrategy),Z({next:()=>{d=!0;let h=new _r(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(h)},complete:()=>
2{d||this.cancelNavigationTransition(a,"",j.NoDataFromResolver)}}))}),Go(a=>{let c=d=>{let h=[];if(d.routeConfig?._loadedComponent)d.component=d.routeConfig?._loadedComponent;else if(d.routeConfig?.loadComponent){let v=d._environmentInjector;h.push(this.configLoader.loadComponent(v,d.routeConfig).then(D=>{d.component=D}))}for(let v of d.children)h.push(...c(v));return h},l=c(a.targetSnapshot.root);return l.length===0?p(a):k(Promise.all(l).then(()=>a))}),Go(()=>this.afterPreactivation()),V(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?k(l).pipe(P(()=>r)):p(r)}),ke(1),V(a=>{let c=Cc(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=z(f({},a),{targetRouterState:c}),this.currentNavigation.update(d=>(d.targetRouterState=c,d)),this.events.next(new Ze);let l=r.beforeActivateHandler.deferredHandle;return l?k(l.then(()=>a)):p(a)}),Z(a=>{new qn(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=El,c)),this.lastSuccessfulNavigation.set(_(this.currentNavigation)),this.events.next(new W(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),zt(ys(o.signal).pipe(oe(()=>!i&&!r.targetRouterState),Z(()=>{this.cancelNavigationTransition(r,o.signal.reason+"",j.Aborted)}))),Z({complete:()=>{i=!0}}),zt(this.transitionAbortWithErrorSubject.pipe(Z(a=>{throw a}))),ct(()=>{o.abort(),i||this.cancelNavigationTransition(r,"",j.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Ht(a=>{if(i=!0,this.destroyed)return r.resolve(!1),K;if(ms(a))this.events.next(new Q(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),Dc(a)?this.events.next(new et(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new xe(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=F(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof rt){let{message:d,cancellationCode:h}=Fr(this.urlSerializer,l);this.events.next(new Q(r.id,this.urlSerializer.serialize(r.extractedUrl),d,h)),this.events.next(new et(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return K}))}))}cancelNavigationTransition(e,r,i){let o=new Q(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=_(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bl(t){return t!==Xe}var _s=new b("");var Ns=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>u(Sl),providedIn:"root"})}return t})(),Br=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},Sl=(()=>{class t extends Br{static \u0275fac=(()=>{let e;return function(i){return(e||(e=rn(t)))(i||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gr=(()=>{class t{urlSerializer=u(Ee);options=u(be,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=u(Ve);urlHandlingStrategy=u(Vr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new B;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 B?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=us(null,u(Y));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=y({token:t,factory:()=>u(Tl),providedIn:"root"})}return t})(),Tl=(()=>{class t extends Gr{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,r){e instanceof we?this.updateStateMemento():e instanceof le?this.commitTransition(r):e instanceof _t?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Ze?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Q&&!ls(e)?this.restoreHistory(r):e instanceof xe?this.restoreHistory(r,!0):e instanceof W&&(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,l=f(f({},a),this.generateNgRouterState(o,c,r));this.location.replaceState(e,"",l)}else{let c=f(f({},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"?f({navigationId:e,\u0275routerPageId:r},this.routerUrlState(i)):f({navigationId:e},this.routerUrlState(i))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=rn(t)))(i||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Wr(t,n){t.events.pipe(oe(e=>e instanceof W||e instanceof Q||e instanceof xe||e instanceof le),P(e=>e instanceof W||e instanceof le?0:(e instanceof Q?e.code===j.Redirect||e.code===j.SupersededByNewNavigation:!1)?2:1),oe(e=>e!==2),ke(1)).subscribe(()=>{n()})}var re=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u(ln);stateManager=u(Gr);options=u(be,{optional:!0})||{};pendingTasks=u(Ri);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(qr);
2urlSerializer=u(Ee);location=u(Ve);urlHandlingStrategy=u(Vr);injector=u(Y);_events=new Ce;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(Ns);injectorCleanup=u(_s,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=u(ot,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!u(kt,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new di;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=_(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof Q&&r.code!==j.Redirect&&r.code!==j.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof W)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof et){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=f({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||bl(i.source)},s);this.scheduleNavigation(a,Xe,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Sc(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),Xe,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=z(f({},o),{browserUrl:e})),i){let l=f({},i);delete l.navigationId,delete l.\u0275routerPageId,delete l.\u0275routerUrl,Object.keys(l).length!==0&&(o.state=l)}let c=this.parseUrl(a);this.scheduleNavigation(c,r,s,o).catch(l=>{this.disposed||this.injector.get(Vt)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return _(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(ni),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,l=c?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=f(f({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let v=i?i.snapshot:this.routerState.snapshot.root;h=os(v)}catch(v){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return ss(h,e,d,l??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,Xe,null,r)}navigate(e,r={skipLocationChange:!1}){return Cl(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(r){return this.console.warn(lt(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=f({},Kn):r===!1?i=f({},Dt):i=f(f({},Dt),r),Re(e))return kn(this.currentUrlTree,e,i);let o=this.parseUrl(e);return kn(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}
2scheduleNavigation(e,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((h,v)=>{a=h,c=v});let d=this.pendingTasks.add();return Wr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Cl(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new w(4008,!1)}var Ml=(()=>{class t{router=u(re);stateManager=u(Gr);fragment=U("");queryParams=U({});path=U("");serializer=u(Ee);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof W&&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 B(r)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jr=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=u(new Xi("href"),{optional:!0});reactiveHref=dn(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return _(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return _(this._target)}_target=U(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return _(this._queryParams)}_queryParams=U(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return _(this._fragment)}_fragment=U(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return _(this._queryParamsHandling)}_queryParamsHandling=U(void 0);set state(e){this._state.set(e)}get state(){return _(this._state)}_state=U(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return _(this._info)}_info=U(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return _(this._relativeTo)}_relativeTo=U(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return _(this._preserveFragment)}_preserveFragment=U(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return _(this._skipLocationChange)}_skipLocationChange=U(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return _(this._replaceUrl)}_replaceUrl=U(!1);isAnchorElement;onChanges=new Ce;applicationErrorHandler=u(Vt);options=u(be,{optional:!0});reactiveRouterState=u(Ml);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=U(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(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,e,r):i.removeAttribute(o,e)}_urlTree=gt(()=>{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 _(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)(se(re),se(ge),wi("tabindex"),se(cn),se(nn),se(mt))};static \u0275dir=pt({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&Vi("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Hi("href",i.reactiveHref(),Oi)("target",i._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",er],skipLocationChange:[2,"skipLocationChange","skipLocationChange",er],replaceUrl:[2,"replaceUrl","replaceUrl",er],routerLink:"routerLink"},features:[ht]})}return t})(),Il=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new De;link=u(Jr,{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 W&&this.update()})}ngAfterContentInit(){p(this.links.changes,p(null)).pipe(at()).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=k(e).pipe(at()).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();
2this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=Dl(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?f({},Kn):f({},Dt);return i=>{let o=i.urlTree;return o?_(Yn(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)(se(re),se(nn),se(cn),se(Zt))};static \u0275dir=pt({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&qi(o,Jr,5),r&2){let s;Gi(s=Wi())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ht]})}return t})();function Dl(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var Ft=class{};var Os=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,i,o){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(oe(e=>e instanceof W),Me(()=>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=Kt(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 k(i).pipe(at())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return p(null);let i;r.loadChildren&&r.canLoad===void 0?i=k(this.loader.loadChildren(e,r)):i=p(null);let o=i.pipe(ie(s=>s===null?p(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 k([o,s]).pipe(at())}else return o})}static \u0275fac=function(r){return new(r||t)(R(re),R(Y),R(Ft),R(zr))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ps=new b(""),Al=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Xe;restoredId=0;store={};isHydrating=u(Ti,{optional:!0})??!1;urlSerializer=u(Ee);zone=u(Ae);viewportScroller=u(fn);transitions=u(qr);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&u(ze).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 we?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof W?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof le&&e.code===Ye.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 Qe)||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=_(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>I(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new Qe(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Ui()};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();function _l(){return u(re).routerState.root}function $t(t,n){return{\u0275kind:t,\u0275providers:n}}function Nl(){let t=u(Fe);return n=>{let e=t.get(ze);if(n!==e.components[0])return;let r=t.get(re),i=t.get(xs);t.get(li)===1&&r.initialNavigation(),t.get(ks,null,{optional:!0})?.setUpPreloading(),t.get(Ps,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var xs=new b("",{factory:()=>new Ce}),li=new b("",{factory:()=>1});function Us(){let t=[{provide:sn,useValue:!0},{provide:li,useValue:0},un(()=>{let n=u(Fe);return n.get(no,Promise.resolve()).then(()=>new Promise(r=>{let i=n.get(re),o=n.get(xs);Wr(i,()=>{r(!0)}),n.get(qr).afterPreactivation=()=>(r(!0),o.closed?p(void 0):o),i.initialNavigation()}))})];return $t(2,t)}function Ls(){let t=[un(()=>{u(re).setUpLocationChangeListener()}),{provide:li,useValue:2}];return $t(3,t)}var ks=new b("");function js(t){return $t(0,[{provide:ks,useExisting:Os},{provide:Ft,useExisting:t}])}function Fs(){return $t(8,[ti,{provide:kt,useExisting:ti}])}function $s(t){Xt("NgRouterViewTransitions");let n=[{provide:oi,useValue:As},{provide:si,useValue:f({skipNextTransition:!!t?.skipInitialTransition},t)}];return $t(9,n)}
vendor: 1,359 bytes, line 2
2var Bs=[Ve,{provide:Ee,useClass:pe},re,Le,{provide:ge,useFactory:_l},zr,[]],Ol=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[Bs,[],{provide:ot,multi:!0,useValue:e},[],r?.errorHandler?{provide:ai,useValue:r.errorHandler}:[],{provide:be,useValue:r||{}},r?.useHash?xl():Ul(),Pl(),r?.preloadingStrategy?js(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Ll(r):[],r?.bindToComponentInputs?Fs().\u0275providers:[],r?.enableViewTransitions?$s().\u0275providers:[],kl()]}}static forChild(e){return{ngModule:t,providers:[{provide:ot,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=He({type:t});static \u0275inj=je({})}return t})();function Pl(){return{provide:Ps,useFactory:()=>{let t=u(fn),n=u(be);return n.scrollOffset&&t.setOffset(n.scrollOffset),new Al(n)}}}function xl(){return{provide:mt,useClass:oo}}function Ul(){return{provide:mt,useClass:io}}function Ll(t){return[t.initialNavigation==="disabled"?Ls().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Us().\u0275providers:[]]}var ci=new b("");function kl(){return[{provide:ci,useFactory:Nl},{provide:Qt,multi:!0,useExisting:ci}]}export{wn as a,ra as b,la as c,ee as d,de as e,ae as f,No as g,Da as h,Aa as i,_a as j,td as k,$o as l,Xa as m,rd as n,W as o,_t as p,ge as q,ei as r,re as s,Jr as t,Il as u,Ol as v};
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.