2024-06-13 10:04:43 +02:00

167 lines
102 KiB
JavaScript

import{$ as ir,A as Ce,Aa as D,B,Ba as et,C as Nt,Ca as mr,D as Xn,Da as vr,E as Yn,Ea as tt,F as Jn,Fa as ce,G as F,Ga as yr,H as Qn,Ha as nt,I as S,Ia as wr,J as C,Ja as rt,K as w,Ka as Me,L as er,La as Rr,M as I,Ma as $t,N as xt,Na as zt,O as b,Oa as Cr,P as f,Pa as br,Q as be,Qa as Vt,R as He,Ra as Sr,S as tr,Sa as Tr,T as J,Ta as O,U as nr,Ua as it,V as Ke,Va as Bt,W as q,Wa as Er,X as rr,Xa as Ie,Y as ae,Ya as Mr,Z as Se,_ as kt,a as d,aa as Ut,b as M,ba as Te,c as Bn,ca as sr,d as qn,da as Lt,e as Gn,ea as or,f as It,fa as Q,g as At,ga as ar,h as X,ha as jt,i as x,ia as Xe,j as V,ja as cr,k,ka as Ee,l as g,la as Ye,m as Re,ma as Ft,n as Wn,na as lr,o as Zn,oa as Je,p as y,pa as Qe,q as Dt,qa as L,r as U,ra as ur,s as Hn,sa as hr,t as Ot,ta as dr,u as Y,ua as _t,v as ie,va as fr,w as se,wa as pr,x as Pt,xa as gr,y as oe,ya as T,z as Kn,za as A}from"./chunk-KPVI7RD6.js";var ot=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),s=i.toLowerCase(),o=r.slice(n+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let s=e.value;if(!s)this.headers.delete(r),this.normalizedNames.delete(r);else{let o=this.headers.get(r);if(!o)return;o=o.filter(a=>s.indexOf(a)===-1),o.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,o)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(s=>s.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var kr=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}(kr||{}),qt=class{constructor(e,r=Ur.Ok,n="OK"){this.headers=e.headers||new ot,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}};var at=class t extends qt{constructor(e={}){super(e),this.type=kr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}};var Ur=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(Ur||{});var Ui=new I("");var Ir="b",Ar="h",Dr="s",Or="st",Pr="u",Nr="rt",st=new I(""),Li=["GET","HEAD"];function ji(t,e){let p=f(st),{isCacheActive:r}=p,n=Bn(p,["isCacheActive"]),{transferCache:i,method:s}=t;if(!r||s==="POST"&&!n.includePostRequests&&!i||s!=="POST"&&!Li.includes(s)||i===!1||n.filter?.(t)===!1)return e(t);let o=f(Xe),a=_i(t),l=o.get(a,null),c=n.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(c=i.includeHeaders),l){let{[Ir]:h,[Nr]:R,[Ar]:H,[Dr]:K,[Or]:ye,[Pr]:z}=l,we=h;switch(R){case"arraybuffer":we=new TextEncoder().encode(h).buffer;break;case"blob":we=new Blob([h]);break}let Pi=new ot(H);return g(new at({body:we,headers:Pi,status:K,statusText:ye,url:z}))}let u=Ie(f(Q));return e(t).pipe(S(h=>{h instanceof at&&u&&o.set(a,{[Ir]:h.body,[Ar]:Fi(h.headers,c),[Dr]:h.status,[Or]:h.statusText,[Pr]:h.url||"",[Nr]:t.responseType})}))}function Fi(t,e){if(!e)return{};let r={};for(let n of e){let i=t.getAll(n);i!==null&&(r[n]=i)}return r}function xr(t){return[...t.keys()].sort().map(e=>`${e}=${t.getAll(e)}`).join("&")}function _i(t){let{params:e,method:r,responseType:n,url:i}=t,s=xr(e),o=t.serializeBody();o instanceof URLSearchParams?o=xr(o):typeof o!="string"&&(o="");let a=[r,n,i,o,s].join("|"),l=$i(a);return l}function $i(t){let e=0;for(let r of t)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function Lr(t){return[{provide:st,useFactory:()=>(Qe("NgHttpTransferCache"),d({isCacheActive:!0},t))},{provide:Ui,useValue:ji,multi:!0,deps:[Xe,st]},{provide:rt,multi:!0,useFactory:()=>{let e=f(Me),r=f(st);return()=>{Rr(e).then(()=>{r.isCacheActive=!1})}}}]}var Zt=class extends Tr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ht=class t extends Zt{static makeCurrent(){Sr(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=Wi();return r==null?null:Zi(r)}resetBaseElement(){Ae=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Bt(document.cookie,e)}},Ae=null;function Wi(){return Ae=Ae||document.querySelector("base"),Ae?Ae.getAttribute("href"):null}function Zi(t){return new URL(t,document.baseURI).pathname}var Hi=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Kt=new I(""),_r=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(s=>{s.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,s){return this._findPluginFor(i).addEventListener(n,i,s)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(o=>o.supports(n)),!i)throw new C(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(b(Kt),b(L))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),ct=class{constructor(e){this._doc=e}},Gt="ng-app-id",$r=(()=>{let e=class e{constructor(n,i,s,o={}){this.doc=n,this.appId=i,this.nonce=s,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ie(o),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(s=>s.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Gt}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(s=>{s.textContent!=null&&i.set(s.textContent,s)}),i}return null}changeUsageCount(n,i){let s=this.styleRef;if(s.has(n)){let o=s.get(n);return o.usage+=i,o.usage}return s.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let s=this.styleNodesInDOM,o=s?.get(i);if(o?.parentNode===n)return s.delete(i),o.removeAttribute(Gt),o;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Gt,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let s=this.getStyleElement(n,i),o=this.styleRef,a=o.get(i)?.elements;a?a.push(s):o.set(i,{elements:[s],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(b(O),b(Lt),b(jt,8),b(Q))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Wt={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Qt=/%COMP%/g,zr="%COMP%",Ki=`_nghost-${zr}`,Xi=`_ngcontent-${zr}`,Yi=!0,Ji=new I("",{providedIn:"root",factory:()=>Yi});function Qi(t){return Xi.replace(Qt,t)}function es(t){return Ki.replace(Qt,t)}function Vr(t,e){return e.map(r=>r.replace(Qt,t))}var lt=(()=>{let e=class e{constructor(n,i,s,o,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Ie(l),this.defaultRenderer=new De(n,a,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===be.ShadowDom&&(i=M(d({},i),{encapsulation:be.Emulated}));let s=this.getOrCreateRenderer(n,i);return s instanceof ut?s.applyToHost(n):s instanceof Oe&&s.applyStyles(),s}getOrCreateRenderer(n,i){let s=this.rendererByCompId,o=s.get(i.id);if(!o){let a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(i.encapsulation){case be.Emulated:o=new ut(c,u,i,this.appId,p,a,l,h);break;case be.ShadowDom:return new Xt(c,u,n,i,a,l,this.nonce,h);default:o=new Oe(c,u,i,p,a,l,h);break}s.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(b(_r),b($r),b(Lt),b(Ji),b(O),b(Q),b(L),b(jt))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),De=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Wt[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(jr(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(jr(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new C(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let s=Wt[i];s?e.setAttributeNS(s,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Wt[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Ee.DashCase|Ee.Important)?e.style.setProperty(r,n,i&Ee.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Ee.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Vt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function jr(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Xt=class extends De{constructor(e,r,n,i,s,o,a,l){super(e,s,o,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Vr(i.id,i.styles);for(let u of c){let p=document.createElement("style");a&&p.setAttribute("nonce",a),p.textContent=u,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Oe=class extends De{constructor(e,r,n,i,s,o,a,l){super(e,s,o,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?Vr(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ut=class extends Oe{constructor(e,r,n,i,s,o,a,l){let c=i+"-"+n.id;super(e,r,n,s,o,a,l,c),this.contentAttr=Qi(c),this.hostAttr=es(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},ts=(()=>{let e=class e extends ct{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,s){return n.addEventListener(i,s,!1),()=>this.removeEventListener(n,i,s)}removeEventListener(n,i,s){return n.removeEventListener(i,s)}};e.\u0275fac=function(i){return new(i||e)(b(O))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Fr=["alt","control","meta","shift"],ns={"\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"},rs={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},is=(()=>{let e=class e extends ct{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,s){let o=e.parseEventName(i),a=e.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Vt().onAndCancel(n,o.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),s=i.shift();if(i.length===0||!(s==="keydown"||s==="keyup"))return null;let o=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),Fr.forEach(u=>{let p=i.indexOf(u);p>-1&&(i.splice(p,1),a+=u+".")}),a+=o,i.length!=0||o.length===0)return null;let c={};return c.domEventName=s,c.fullKey=a,c}static matchEventFullKeyCode(n,i){let s=ns[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(s=n.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),Fr.forEach(a=>{if(a!==s){let l=rs[a];l(n)&&(o+=a+".")}}),o+=s,o===i)}static eventCallback(n,i,s){return o=>{e.matchEventFullKeyCode(o,n)&&s.runGuarded(()=>i(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(b(O))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function Br(t,e){return Cr(d({rootComponent:t},ss(e)))}function ss(t){return{appProviders:[...us,...t?.providers??[]],platformProviders:ls}}function os(){Ht.makeCurrent()}function as(){return new Ut}function cs(){return sr(document),document}var ls=[{provide:Q,useValue:Er},{provide:or,useValue:os,multi:!0},{provide:O,useFactory:cs,deps:[]}];var us=[{provide:nr,useValue:"root"},{provide:Ut,useFactory:as,deps:[]},{provide:Kt,useClass:ts,multi:!0,deps:[O,L,Q]},{provide:Kt,useClass:is,multi:!0,deps:[O]},lt,$r,_r,{provide:Je,useExisting:lt},{provide:Mr,useClass:Hi,deps:[]},[]];var qr=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(b(O))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Yt=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t}(Yt||{});function Gr(...t){let e=[],r=new Set,n=r.has(Yt.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:s}of t)r.add(s),i.length&&e.push(i);return J([[],br(),r.has(Yt.NoHttpTransferCache)||n?[]:Lr({}),e])}var m="primary",Ge=Symbol("RouteTitle"),sn=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function fe(t){return new sn(t)}function ds(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let i={};for(let s=0;s<n.length;s++){let o=n[s],a=t[s];if(o.startsWith(":"))i[o.substring(1)]=a;else if(o!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function fs(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!_(t[r],e[r]))return!1;return!0}function _(t,e){let r=t?on(t):void 0,n=e?on(e):void 0;if(!r||!n||r.length!=n.length)return!1;let i;for(let s=0;s<r.length;s++)if(i=r[s],!Yr(t[i],e[i]))return!1;return!0}function on(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Yr(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let r=[...t].sort(),n=[...e].sort();return r.every((i,s)=>n[s]===i)}else return t===e}function Jr(t){return t.length>0?t[t.length-1]:null}function Z(t){return Wn(t)?t:wr(t)?k(Promise.resolve(t)):g(t)}var ps={exact:ei,subset:ti},Qr={exact:gs,subset:ms,ignored:()=>!0};function Wr(t,e,r){return ps[r.paths](t.root,e.root,r.matrixParams)&&Qr[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function gs(t,e){return _(t,e)}function ei(t,e,r){if(!te(t.segments,e.segments)||!ft(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!ei(t.children[n],e.children[n],r))return!1;return!0}function ms(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Yr(t[r],e[r]))}function ti(t,e,r){return ni(t,e,e.segments,r)}function ni(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!te(i,r)||e.hasChildren()||!ft(i,r,n))}else if(t.segments.length===r.length){if(!te(t.segments,r)||!ft(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!ti(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),s=r.slice(t.segments.length);return!te(t.segments,i)||!ft(t.segments,i,n)||!t.children[m]?!1:ni(t.children[m],e,s,n)}}function ft(t,e,r){return e.every((n,i)=>Qr[r](t[i].parameters,n.parameters))}var G=class{constructor(e=new v([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=fe(this.queryParams),this._queryParamMap}toString(){return ws.serialize(this)}},v=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pt(this)}},ee=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=fe(this.parameters),this._parameterMap}toString(){return ii(this)}};function vs(t,e){return te(t,e)&&t.every((r,n)=>_(r.parameters,e[n].parameters))}function te(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function ys(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===m&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==m&&(r=r.concat(e(i,n)))}),r}var Nn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=w({token:e,factory:()=>new mt,providedIn:"root"});let t=e;return t})(),mt=class{parse(e){let r=new cn(e);return new G(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Pe(e.root,!0)}`,n=bs(e.queryParams),i=typeof e.fragment=="string"?`#${Rs(e.fragment)}`:"";return`${r}${n}${i}`}},ws=new mt;function pt(t){return t.segments.map(e=>ii(e)).join("/")}function Pe(t,e){if(!t.hasChildren())return pt(t);if(e){let r=t.children[m]?Pe(t.children[m],!1):"",n=[];return Object.entries(t.children).forEach(([i,s])=>{i!==m&&n.push(`${i}:${Pe(s,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=ys(t,(n,i)=>i===m?[Pe(t.children[m],!1)]:[`${i}:${Pe(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[m]!=null?`${pt(t)}/${r[0]}`:`${pt(t)}/(${r.join("//")})`}}function ri(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ht(t){return ri(t).replace(/%3B/gi,";")}function Rs(t){return encodeURI(t)}function an(t){return ri(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gt(t){return decodeURIComponent(t)}function Zr(t){return gt(t.replace(/\+/g,"%20"))}function ii(t){return`${an(t.path)}${Cs(t.parameters)}`}function Cs(t){return Object.entries(t).map(([e,r])=>`;${an(e)}=${an(r)}`).join("")}function bs(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${ht(r)}=${ht(i)}`).join("&"):`${ht(r)}=${ht(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var Ss=/^[^\/()?;#]+/;function en(t){let e=t.match(Ss);return e?e[0]:""}var Ts=/^[^\/()?;=#]+/;function Es(t){let e=t.match(Ts);return e?e[0]:""}var Ms=/^[^=?&#]+/;function Is(t){let e=t.match(Ms);return e?e[0]:""}var As=/^[^&#]+/;function Ds(t){let e=t.match(As);return e?e[0]:""}var cn=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){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));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[m]=new v(e,r)),n}parseSegment(){let e=en(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(e),new ee(gt(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=Es(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=en(this.remaining);i&&(n=i,this.capture(n))}e[gt(r)]=gt(n)}parseQueryParam(e){let r=Is(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Ds(this.remaining);o&&(n=o,this.capture(n))}let i=Zr(r),s=Zr(n);if(e.hasOwnProperty(i)){let o=e[i];Array.isArray(o)||(o=[o],e[i]=o),o.push(s)}else e[i]=s}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=en(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new C(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=m);let o=this.parseChildren();r[s]=Object.keys(o).length===1?o[m]:new v([],o),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new C(4011,!1)}};function si(t){return t.segments.length>0?new v([],{[m]:t}):t}function oi(t){let e={};for(let[n,i]of Object.entries(t.children)){let s=oi(i);if(n===m&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))e[o]=a;else(s.segments.length>0||s.hasChildren())&&(e[n]=s)}let r=new v(t.segments,e);return Os(r)}function Os(t){if(t.numberOfChildren===1&&t.children[m]){let e=t.children[m];return new v(t.segments.concat(e.segments),e.children)}return t}function pe(t){return t instanceof G}function Ps(t,e,r=null,n=null){let i=ai(t);return ci(i,e,r,n)}function ai(t){let e;function r(s){let o={};for(let l of s.children){let c=r(l);o[l.outlet]=c}let a=new v(s.url,o);return s===t&&(e=a),a}let n=r(t.root),i=si(n);return e??i}function ci(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return tn(i,i,i,r,n);let s=Ns(e);if(s.toRoot())return tn(i,i,new v([],{}),r,n);let o=xs(s,i,t),a=o.processChildren?ke(o.segmentGroup,o.index,s.commands):ui(o.segmentGroup,o.index,s.commands);return tn(i,o.segmentGroup,a,r,n)}function vt(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function je(t){return typeof t=="object"&&t!=null&&t.outlets}function tn(t,e,r,n,i){let s={};n&&Object.entries(n).forEach(([l,c])=>{s[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let o;t===e?o=r:o=li(t,e,r);let a=si(oi(o));return new G(a,s,i)}function li(t,e,r){let n={};return Object.entries(t.children).forEach(([i,s])=>{s===e?n[i]=r:n[i]=li(s,e,r)}),new v(t.segments,n)}var yt=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&vt(n[0]))throw new C(4003,!1);let i=n.find(je);if(i&&i!==Jr(n))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ns(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new yt(!0,0,t);let e=0,r=!1,n=t.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,s]},[]);return new yt(r,e,n)}var he=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function xs(t,e,r){if(t.isAbsolute)return new he(e,!0,0);if(!r)return new he(e,!1,NaN);if(r.parent===null)return new he(r,!0,0);let n=vt(t.commands[0])?0:1,i=r.segments.length-1+n;return ks(r,i,t.numberOfDoubleDots)}function ks(t,e,r){let n=t,i=e,s=r;for(;s>i;){if(s-=i,n=n.parent,!n)throw new C(4005,!1);i=n.segments.length}return new he(n,!1,i-s)}function Us(t){return je(t[0])?t[0].outlets:{[m]:t}}function ui(t,e,r){if(t??=new v([],{}),t.segments.length===0&&t.hasChildren())return ke(t,e,r);let n=Ls(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let s=new v(t.segments.slice(0,n.pathIndex),{});return s.children[m]=new v(t.segments.slice(n.pathIndex),t.children),ke(s,0,i)}else return n.match&&i.length===0?new v(t.segments,{}):n.match&&!t.hasChildren()?ln(t,e,r):n.match?ke(t,0,i):ln(t,e,r)}function ke(t,e,r){if(r.length===0)return new v(t.segments,{});{let n=Us(r),i={};if(Object.keys(n).some(s=>s!==m)&&t.children[m]&&t.numberOfChildren===1&&t.children[m].segments.length===0){let s=ke(t.children[m],e,r);return new v(t.segments,s.children)}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=ui(t.children[s],e,o))}),Object.entries(t.children).forEach(([s,o])=>{n[s]===void 0&&(i[s]=o)}),new v(t.segments,i)}}function Ls(t,e,r){let n=0,i=e,s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=r.length)return s;let o=t.segments[i],a=r[n];if(je(a))break;let l=`${a}`,c=n<r.length-1?r[n+1]:null;if(i>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!Kr(l,c,o))return s;n+=2}else{if(!Kr(l,{},o))return s;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function ln(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i<r.length;){let s=r[i];if(je(s)){let l=js(s.outlets);return new v(n,l)}if(i===0&&vt(r[0])){let l=t.segments[e];n.push(new ee(l.path,Hr(r[0]))),i++;continue}let o=je(s)?s.outlets[m]:`${s}`,a=i<r.length-1?r[i+1]:null;o&&a&&vt(a)?(n.push(new ee(o,Hr(a))),i+=2):(n.push(new ee(o,{})),i++)}return new v(n,{})}function js(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=ln(new v([],{}),0,n))}),e}function Hr(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Kr(t,e,r){return t==r.path&&_(e,r.parameters)}var Ue="imperative",E=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}(E||{}),j=class{constructor(e,r){this.id=e,this.url=r}},Fe=class extends j{constructor(e,r,n="imperative",i=null){super(e,r),this.type=E.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ne=class extends j{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=E.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},N=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(N||{}),un=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(un||{}),W=class extends j{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=E.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},re=class extends j{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=E.NavigationSkipped}},_e=class extends j{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=E.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},wt=class extends j{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=E.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},hn=class extends j{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=E.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},dn=class extends j{constructor(e,r,n,i,s){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s,this.type=E.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},fn=class extends j{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=E.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},pn=class extends j{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=E.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},gn=class{constructor(e){this.route=e,this.type=E.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},mn=class{constructor(e){this.route=e,this.type=E.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},vn=class{constructor(e){this.snapshot=e,this.type=E.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},yn=class{constructor(e){this.snapshot=e,this.type=E.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},wn=class{constructor(e){this.snapshot=e,this.type=E.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rn=class{constructor(e){this.snapshot=e,this.type=E.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var $e=class{},ze=class{constructor(e){this.url=e}};var Cn=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Et,this.attachRef=null}},Et=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let s=this.getOrCreateContext(n);s.outlet=i,this.contexts.set(n,s)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Cn,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Rt=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=bn(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=bn(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Sn(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Sn(e,this._root).map(r=>r.value)}};function bn(t,e){if(t===e.value)return e;for(let r of e.children){let n=bn(t,r);if(n)return n}return null}function Sn(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Sn(t,r);if(n.length)return n.unshift(e),n}return[]}var P=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function ue(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Ct=class extends Rt{constructor(e,r){super(e),this.snapshot=r,kn(this,e)}toString(){return this.snapshot.toString()}};function hi(t){let e=Fs(t),r=new x([new ee("",{})]),n=new x({}),i=new x({}),s=new x({}),o=new x(""),a=new ge(r,n,s,o,i,m,t,e.root);return a.snapshot=e.root,new Ct(new P(a,[]),e)}function Fs(t){let e={},r={},n={},i="",s=new Ve([],e,n,i,r,m,t,null,{});return new bt("",new P(s,[]))}var ge=class{constructor(e,r,n,i,s,o,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(y(c=>c[Ge]))??g(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(y(e=>fe(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(y(e=>fe(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function xn(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:d(d({},e.params),t.params),data:d(d({},e.data),t.data),resolve:d(d(d(d({},t.data),e.data),i?.data),t._resolvedData)}:n={params:d({},t.params),data:d({},t.data),resolve:d(d({},t.data),t._resolvedData??{})},i&&fi(i)&&(n.resolve[Ge]=i.title),n}var Ve=class{get title(){return this.data?.[Ge]}constructor(e,r,n,i,s,o,a,l,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=fe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=fe(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},bt=class extends Rt{constructor(e,r){super(r),this.url=e,kn(this,r)}toString(){return di(this._root)}};function kn(t,e){e.value._routerState=t,e.children.forEach(r=>kn(t,r))}function di(t){let e=t.children.length>0?` { ${t.children.map(di).join(", ")} } `:"";return`${t.value}${e}`}function nn(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,_(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),_(e.params,r.params)||t.paramsSubject.next(r.params),fs(e.url,r.url)||t.urlSubject.next(r.url),_(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Tn(t,e){let r=_(t.params,e.params)&&vs(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Tn(t.parent,e.parent))}function fi(t){return typeof t.title=="string"||t.title===null}var Un=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=m,this.activateEvents=new Te,this.deactivateEvents=new Te,this.attachEvents=new Te,this.detachEvents=new Te,this.parentContexts=f(Et),this.location=f(ur),this.changeDetector=f(zt),this.environmentInjector=f(Ke),this.inputBinder=f(Ln,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:s}=n.name;if(i)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new C(4013,!1);this._activatedRoute=n;let s=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new En(n,l,s.injector);this.activated=s.createComponent(a,{index:s.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=tr({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[rr]});let t=e;return t})(),En=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===ge?this.route:e===Et?this.childContexts:this.parent.get(e,r)}},Ln=new I("");function _s(t,e,r){let n=Be(t,e._root,r?r._root:void 0);return new Ct(n,e)}function Be(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=$s(t,e,r);return new P(n,i)}else{if(t.shouldAttach(e.value)){let s=t.retrieve(e.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=e.value,o.children=e.children.map(a=>Be(t,a)),o}}let n=zs(e.value),i=e.children.map(s=>Be(t,s));return new P(n,i)}}function $s(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Be(t,n,i);return Be(t,n)})}function zs(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 pi="ngNavigationCancelingError";function gi(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=pe(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=mi(!1,N.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function mi(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[pi]=!0,r.cancellationCode=e,r}function Vs(t){return vi(t)&&pe(t.url)}function vi(t){return!!t&&t[pi]}var Bs=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=He({type:e,selectors:[["ng-component"]],standalone:!0,features:[tt],decls:1,vars:0,template:function(i,s){i&1&&D(0,"router-outlet")},dependencies:[Un],encapsulation:2});let t=e;return t})();function qs(t,e){return t.providers&&!t._injector&&(t._injector=dr(t.providers,e,`Route: ${t.path}`)),t._injector??e}function jn(t){let e=t.children&&t.children.map(jn),r=e?M(d({},t),{children:e}):d({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==m&&(r.component=Bs),r}function $(t){return t.outlet||m}function Gs(t,e){let r=t.filter(n=>$(n)===e);return r.push(...t.filter(n=>$(n)!==e)),r}function We(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Ws=(t,e,r,n)=>y(i=>(new Mn(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Mn=class{constructor(e,r,n,i,s){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=s}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),nn(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=ue(r);e.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],n),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(e,r,n){let i=e.value,s=r?r.value:null;if(i===s)if(i.component){let o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(e,r,o.children)}else this.deactivateChildRoutes(e,r,n);else s&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,s=ue(e);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(n&&n.outlet){let o=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:o,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,s=ue(e);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=ue(r);e.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],n),this.forwardEvent(new Rn(s.value.snapshot))}),e.children.length&&this.forwardEvent(new yn(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,s=r?r.value:null;if(nn(i),i===s)if(i.component){let o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,o.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),nn(a.route.value),this.activateChildRoutes(e,null,o.children)}else{let a=We(i.snapshot);o.attachRef=null,o.route=i,o.injector=a,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(e,null,o.children)}}else this.activateChildRoutes(e,null,n)}},St=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},de=class{constructor(e,r){this.component=e,this.route=r}};function Zs(t,e,r){let n=t._root,i=e?e._root:null;return Ne(n,i,r,[n.value])}function Hs(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function ve(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!er(t)?t:e.get(t):n}function Ne(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=ue(e);return t.children.forEach(o=>{Ks(o,s[o.value.outlet],r,n.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>Le(a,r.getContext(o),i)),i}function Ks(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=t.value,o=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let l=Xs(o,s,s.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new St(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?Ne(t,e,a?a.children:null,n,i):Ne(t,e,r,n,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new de(a.outlet.component,o))}else o&&Le(e,a,i),i.canActivateChecks.push(new St(n)),s.component?Ne(t,null,a?a.children:null,n,i):Ne(t,null,r,n,i);return i}function Xs(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!te(t.url,e.url);case"pathParamsOrQueryParamsChange":return!te(t.url,e.url)||!_(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Tn(t,e)||!_(t.queryParams,e.queryParams);case"paramsChange":default:return!Tn(t,e)}}function Le(t,e,r){let n=ue(t),i=t.value;Object.entries(n).forEach(([s,o])=>{i.component?e?Le(o,e.children.getContext(s),r):Le(o,null,r):Le(o,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new de(e.outlet.component,i)):r.canDeactivateChecks.push(new de(null,i)):r.canDeactivateChecks.push(new de(null,i))}function Ze(t){return typeof t=="function"}function Ys(t){return typeof t=="boolean"}function Js(t){return t&&Ze(t.canLoad)}function Qs(t){return t&&Ze(t.canActivate)}function eo(t){return t&&Ze(t.canActivateChild)}function to(t){return t&&Ze(t.canDeactivate)}function no(t){return t&&Ze(t.canMatch)}function yi(t){return t instanceof Zn||t?.name==="EmptyError"}var dt=Symbol("INITIAL_VALUE");function me(){return F(t=>Dt(t.map(e=>e.pipe(oe(1),Jn(dt)))).pipe(y(e=>{for(let r of e)if(r!==!0){if(r===dt)return dt;if(r===!1||r instanceof G)return r}return!0}),Y(e=>e!==dt),oe(1)))}function ro(t,e){return U(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=r;return o.length===0&&s.length===0?g(M(d({},r),{guardsResult:!0})):io(o,n,i,t).pipe(U(a=>a&&Ys(a)?so(n,s,t,e):g(a)),y(a=>M(d({},r),{guardsResult:a})))})}function io(t,e,r,n){return k(t).pipe(U(i=>uo(i.component,i.route,r,e,n)),B(i=>i!==!0,!0))}function so(t,e,r,n){return k(e).pipe(se(i=>Hn(ao(i.route.parent,n),oo(i.route,n),lo(t,i.path,r),co(t,i.route,r))),B(i=>i!==!0,!0))}function oo(t,e){return t!==null&&e&&e(new wn(t)),g(!0)}function ao(t,e){return t!==null&&e&&e(new vn(t)),g(!0)}function co(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return g(!0);let i=n.map(s=>Ot(()=>{let o=We(e)??r,a=ve(s,o),l=Qs(a)?a.canActivate(e,t):q(o,()=>a(e,t));return Z(l).pipe(B())}));return g(i).pipe(me())}function lo(t,e,r){let n=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(o=>Hs(o)).filter(o=>o!==null).map(o=>Ot(()=>{let a=o.guards.map(l=>{let c=We(o.node)??r,u=ve(l,c),p=eo(u)?u.canActivateChild(n,t):q(c,()=>u(n,t));return Z(p).pipe(B())});return g(a).pipe(me())}));return g(s).pipe(me())}function uo(t,e,r,n,i){let s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||s.length===0)return g(!0);let o=s.map(a=>{let l=We(e)??i,c=ve(a,l),u=to(c)?c.canDeactivate(t,e,r,n):q(l,()=>c(t,e,r,n));return Z(u).pipe(B())});return g(o).pipe(me())}function ho(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return g(!0);let s=i.map(o=>{let a=ve(o,t),l=Js(a)?a.canLoad(e,r):q(t,()=>a(e,r));return Z(l)});return g(s).pipe(me(),wi(n))}function wi(t){return Gn(S(e=>{if(pe(e))throw gi(t,e)}),y(e=>e===!0))}function fo(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return g(!0);let s=i.map(o=>{let a=ve(o,t),l=no(a)?a.canMatch(e,r):q(t,()=>a(e,r));return Z(l)});return g(s).pipe(me(),wi(n))}var qe=class{constructor(e){this.segmentGroup=e||null}},Tt=class extends Error{constructor(e){super(),this.urlTree=e}};function le(t){return Re(new qe(t))}function po(t){return Re(new C(4e3,!1))}function go(t){return Re(mi(!1,N.GuardRejected))}var In=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return g(n);if(i.numberOfChildren>1||!i.children[m])return po(e.redirectTo);i=i.children[m]}}applyRedirectCommands(e,r,n){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new Tt(i);return i}applyRedirectCreateUrlTree(e,r,n,i){let s=this.createSegmentGroup(e,r.root,n,i);return new G(s,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,s])=>{if(typeof s=="string"&&s.startsWith(":")){let a=s.substring(1);n[i]=r[a]}else n[i]=s}),n}createSegmentGroup(e,r,n,i){let s=this.createSegments(e,r.segments,n,i),o={};return Object.entries(r.children).forEach(([a,l])=>{o[a]=this.createSegmentGroup(e,l,n,i)}),new v(s,o)}createSegments(e,r,n,i){return r.map(s=>s.path.startsWith(":")?this.findPosParam(e,s,i):this.findOrReturn(s,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new C(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},An={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function mo(t,e,r,n,i){let s=Fn(t,e,r);return s.matched?(n=qs(e,n),fo(n,e,r,i).pipe(y(o=>o===!0?s:d({},An)))):g(s)}function Fn(t,e,r){if(e.path==="**")return vo(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?d({},An):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||ds)(r,t,e);if(!i)return d({},An);let s={};Object.entries(i.posParams??{}).forEach(([a,l])=>{s[a]=l.path});let o=i.consumed.length>0?d(d({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function vo(t){return{matched:!0,parameters:t.length>0?Jr(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Xr(t,e,r,n){return r.length>0&&Ro(t,r,n)?{segmentGroup:new v(e,wo(n,new v(r,t.children))),slicedSegments:[]}:r.length===0&&Co(t,r,n)?{segmentGroup:new v(t.segments,yo(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new v(t.segments,t.children),slicedSegments:r}}function yo(t,e,r,n){let i={};for(let s of r)if(Mt(t,e,s)&&!n[$(s)]){let o=new v([],{});i[$(s)]=o}return d(d({},n),i)}function wo(t,e){let r={};r[m]=e;for(let n of t)if(n.path===""&&$(n)!==m){let i=new v([],{});r[$(n)]=i}return r}function Ro(t,e,r){return r.some(n=>Mt(t,e,n)&&$(n)!==m)}function Co(t,e,r){return r.some(n=>Mt(t,e,n))}function Mt(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function bo(t,e,r,n){return $(t)!==n&&(n===m||!Mt(e,r,t))?!1:Fn(e,t,r).matched}function So(t,e,r){return e.length===0&&!t.children[r]}var Dn=class{};function To(t,e,r,n,i,s,o="emptyOnly"){return new On(t,e,r,n,i,o,s).recognize()}var Eo=31,On=class{constructor(e,r,n,i,s,o,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new In(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new C(4002,`'${e.segmentGroup}'`)}recognize(){let e=Xr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(y(r=>{let n=new Ve([],Object.freeze({}),Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,{},m,this.rootComponentType,null,{}),i=new P(n,r),s=new bt("",i),o=Ps(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),this.inheritParamsAndData(s._root,null),{state:s,tree:o}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,m).pipe(ie(n=>{if(n instanceof Tt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof qe?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,i=xn(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(s=>this.inheritParamsAndData(s,n))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0).pipe(y(s=>s instanceof P?[s]:[]))}processChildren(e,r,n){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return k(i).pipe(se(s=>{let o=n.children[s],a=Gs(r,s);return this.processSegmentGroup(e,a,o,s)}),Yn((s,o)=>(s.push(...o),s)),Pt(null),Xn(),U(s=>{if(s===null)return le(n);let o=Ri(s);return Mo(o),g(o)}))}processSegment(e,r,n,i,s,o){return k(r).pipe(se(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,s,o).pipe(ie(l=>{if(l instanceof qe)return g(null);throw l}))),B(a=>!!a),ie(a=>{if(yi(a))return So(n,i,s)?g(new Dn):le(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,s,o,a){return bo(n,i,s,o)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,s,o):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,s,o):le(i):le(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,s,o){let{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=Fn(r,i,s);if(!a)return le(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Eo&&(this.allowRedirects=!1));let p=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,p).pipe(U(h=>this.processSegment(e,n,r,h.concat(u),o,!1)))}matchSegmentAgainstRoute(e,r,n,i,s){let o=mo(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),o.pipe(F(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(F(({routes:l})=>{let c=n._loadedInjector??e,{consumedSegments:u,remainingSegments:p,parameters:h}=a,R=new Ve(u,h,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Ao(n),$(n),n.component??n._loadedComponent??null,n,Do(n)),{segmentGroup:H,slicedSegments:K}=Xr(r,u,p,l);if(K.length===0&&H.hasChildren())return this.processChildren(c,l,H).pipe(y(z=>z===null?null:new P(R,z)));if(l.length===0&&K.length===0)return g(new P(R,[]));let ye=$(n)===s;return this.processSegment(c,l,H,K,ye?m:s,!0).pipe(y(z=>new P(R,z instanceof P?[z]:[])))}))):le(r)))}getChildConfig(e,r,n){return r.children?g({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?g({routes:r._loadedRoutes,injector:r._loadedInjector}):ho(e,r,n,this.urlSerializer).pipe(U(i=>i?this.configLoader.loadChildren(e,r).pipe(S(s=>{r._loadedRoutes=s.routes,r._loadedInjector=s.injector})):go(r))):g({routes:[],injector:e})}};function Mo(t){t.sort((e,r)=>e.value.outlet===m?-1:r.value.outlet===m?1:e.value.outlet.localeCompare(r.value.outlet))}function Io(t){let e=t.value.routeConfig;return e&&e.path===""}function Ri(t){let e=[],r=new Set;for(let n of t){if(!Io(n)){e.push(n);continue}let i=e.find(s=>n.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=Ri(n.children);e.push(new P(n.value,i))}return e.filter(n=>!r.has(n))}function Ao(t){return t.data||{}}function Do(t){return t.resolve||{}}function Oo(t,e,r,n,i,s){return U(o=>To(t,e,r,n,o.extractedUrl,i,s).pipe(y(({state:a,tree:l})=>M(d({},o),{targetSnapshot:a,urlAfterRedirects:l}))))}function Po(t,e){return U(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return g(r);let s=new Set(i.map(l=>l.route)),o=new Set;for(let l of s)if(!o.has(l))for(let c of Ci(l))o.add(c);let a=0;return k(o).pipe(se(l=>s.has(l)?No(l,n,t,e):(l.data=xn(l,l.parent,t).resolve,g(void 0))),S(()=>a++),Nt(1),U(l=>a===o.size?g(r):V))})}function Ci(t){let e=t.children.map(r=>Ci(r)).flat();return[t,...e]}function No(t,e,r,n){let i=t.routeConfig,s=t._resolve;return i?.title!==void 0&&!fi(i)&&(s[Ge]=i.title),xo(s,t,e,n).pipe(y(o=>(t._resolvedData=o,t.data=xn(t,t.parent,r).resolve,null)))}function xo(t,e,r,n){let i=on(t);if(i.length===0)return g({});let s={};return k(i).pipe(U(o=>ko(t[o],e,r,n).pipe(B(),S(a=>{s[o]=a}))),Nt(1),Kn(s),ie(o=>yi(o)?V:Re(o)))}function ko(t,e,r,n){let i=We(e)??n,s=ve(t,i),o=s.resolve?s.resolve(e,r):q(i,()=>s(e,r));return Z(o)}function rn(t){return F(e=>{let r=t(e);return r?k(r).pipe(y(()=>e)):g(e)})}var bi=(()=>{let e=class e{buildTitle(n){let i,s=n.root;for(;s!==void 0;)i=this.getResolvedTitleForRoute(s)??i,s=s.children.find(o=>o.outlet===m);return i}getResolvedTitleForRoute(n){return n.data[Ge]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=w({token:e,factory:()=>f(Uo),providedIn:"root"});let t=e;return t})(),Uo=(()=>{let e=class e extends bi{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(b(qr))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_n=new I("",{providedIn:"root",factory:()=>({})}),$n=new I(""),Lo=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=f($t)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return g(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Z(n.loadComponent()).pipe(y(Si),S(o=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=o}),Ce(()=>{this.componentLoaders.delete(n)})),s=new At(i,()=>new X).pipe(It());return this.componentLoaders.set(n,s),s}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return g({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=jo(i,this.compiler,n,this.onLoadEndListener).pipe(Ce(()=>{this.childrenLoaders.delete(i)})),a=new At(o,()=>new X).pipe(It());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function jo(t,e,r,n){return Z(t.loadChildren()).pipe(y(Si),U(i=>i instanceof hr||Array.isArray(i)?g(i):k(e.compileModuleAsync(i))),y(i=>{n&&n(t);let s,o,a=!1;return Array.isArray(i)?(o=i,a=!0):(s=i.create(r).injector,o=s.get($n,[],{optional:!0,self:!0}).flat()),{routes:o.map(jn),injector:s}}))}function Fo(t){return t&&typeof t=="object"&&"default"in t}function Si(t){return Fo(t)?t.default:t}var zn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=w({token:e,factory:()=>f(_o),providedIn:"root"});let t=e;return t})(),_o=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$o=new I("");var zo=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new X,this.transitionAbortSubject=new X,this.configLoader=f(Lo),this.environmentInjector=f(Ke),this.urlSerializer=f(Nn),this.rootContexts=f(Et),this.location=f(it),this.inputBindingEnabled=f(Ln,{optional:!0})!==null,this.titleStrategy=f(bi),this.options=f(_n,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=f(zn),this.createViewTransition=f($o,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>g(void 0),this.rootComponentType=null;let n=s=>this.events.next(new gn(s)),i=s=>this.events.next(new mn(s));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(M(d(d({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,s){return this.transitions=new x({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ue,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Y(o=>o.id!==0),y(o=>M(d({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),F(o=>{let a=!1,l=!1;return g(o).pipe(F(c=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",N.SupersededByNewNavigation),V;this.currentTransition=o,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?M(d({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),p=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&p!=="reload"){let h="";return this.events.next(new re(c.id,this.urlSerializer.serialize(c.rawUrl),h,un.IgnoredSameUrlNavigation)),c.resolve(null),V}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return g(c).pipe(F(h=>{let R=this.transitions?.getValue();return this.events.next(new Fe(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),R!==this.transitions?.getValue()?V:Promise.resolve(h)}),Oo(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),S(h=>{o.targetSnapshot=h.targetSnapshot,o.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=M(d({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let R=new wt(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(R)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:h,extractedUrl:R,source:H,restoredState:K,extras:ye}=c,z=new Fe(h,this.urlSerializer.serialize(R),H,K);this.events.next(z);let we=hi(this.rootComponentType).snapshot;return this.currentTransition=o=M(d({},c),{targetSnapshot:we,urlAfterRedirects:R,extras:M(d({},ye),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=R,g(o)}else{let h="";return this.events.next(new re(c.id,this.urlSerializer.serialize(c.extractedUrl),h,un.IgnoredByUrlHandlingStrategy)),c.resolve(null),V}}),S(c=>{let u=new hn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),y(c=>(this.currentTransition=o=M(d({},c),{guards:Zs(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),o)),ro(this.environmentInjector,c=>this.events.next(c)),S(c=>{if(o.guardsResult=c.guardsResult,pe(c.guardsResult))throw gi(this.urlSerializer,c.guardsResult);let u=new dn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),Y(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",N.GuardRejected),!1)),rn(c=>{if(c.guards.canActivateChecks.length)return g(c).pipe(S(u=>{let p=new fn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}),F(u=>{let p=!1;return g(u).pipe(Po(this.paramsInheritanceStrategy,this.environmentInjector),S({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(u,"",N.NoDataFromResolver)}}))}),S(u=>{let p=new pn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}))}),rn(c=>{let u=p=>{let h=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(p.routeConfig).pipe(S(R=>{p.component=R}),y(()=>{})));for(let R of p.children)h.push(...u(R));return h};return Dt(u(c.targetSnapshot.root)).pipe(Pt(null),oe(1))}),rn(()=>this.afterPreactivation()),F(()=>{let{currentSnapshot:c,targetSnapshot:u}=o,p=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return p?k(p).pipe(y(()=>o)):g(o)}),y(c=>{let u=_s(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=o=M(d({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,o}),S(()=>{this.events.next(new $e)}),Ws(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),oe(1),S({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ne(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Qn(this.transitionAbortSubject.pipe(S(c=>{throw c}))),Ce(()=>{!a&&!l&&this.cancelNavigationTransition(o,"",N.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),ie(c=>{if(l=!0,vi(c))this.events.next(new W(o.id,this.urlSerializer.serialize(o.extractedUrl),c.message,c.cancellationCode)),Vs(c)?this.events.next(new ze(c.url)):o.resolve(!1);else{this.events.next(new _e(o.id,this.urlSerializer.serialize(o.extractedUrl),c,o.targetSnapshot??void 0));try{o.resolve(n.errorHandler(c))}catch(u){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(u)}}return V}))}))}cancelNavigationTransition(n,i,s){let o=new W(n.id,this.urlSerializer.serialize(n.extractedUrl),i,s);this.events.next(o),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Vo(t){return t!==Ue}var Bo=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=w({token:e,factory:()=>f(qo),providedIn:"root"});let t=e;return t})(),Pn=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},qo=(()=>{let e=class e extends Pn{};e.\u0275fac=(()=>{let n;return function(s){return(n||(n=kt(e)))(s||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ti=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=w({token:e,factory:()=>f(Go),providedIn:"root"});let t=e;return t})(),Go=(()=>{let e=class e extends Ti{constructor(){super(...arguments),this.location=f(it),this.urlSerializer=f(Nn),this.options=f(_n,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=f(zn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new G,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=hi(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Fe)this.stateMemento=this.createStateMemento();else if(n instanceof re)this.rawUrlTree=i.initialUrl;else if(n instanceof wt){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(s,i)}}else n instanceof $e?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof W&&(n.code===N.GuardRejected||n.code===N.NoDataFromResolver)?this.restoreHistory(i):n instanceof _e?this.restoreHistory(i,!0):n instanceof ne&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let s=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(s)||i.extras.replaceUrl){let o=this.browserPageId,a=d(d({},i.extras.state),this.generateNgRouterState(i.id,o));this.location.replaceState(s,"",a)}else{let o=d(d({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(s,"",o)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,o=this.currentPageId-s;o!==0?this.location.historyGo(o):this.currentUrlTree===n.finalUrl&&o===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(s){return(n||(n=kt(e)))(s||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xe=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(xe||{});function Wo(t,e){t.events.pipe(Y(r=>r instanceof ne||r instanceof W||r instanceof _e||r instanceof re),y(r=>r instanceof ne||r instanceof re?xe.COMPLETE:(r instanceof W?r.code===N.Redirect||r.code===N.SupersededByNewNavigation:!1)?xe.REDIRECTING:xe.FAILED),Y(r=>r!==xe.REDIRECTING),oe(1)).subscribe(()=>{e()})}function Zo(t){throw t}var Ho={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ko={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ei=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=f(nt),this.stateManager=f(Ti),this.options=f(_n,{optional:!0})||{},this.pendingTasks=f(_t),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=f(zo),this.urlSerializer=f(Nn),this.location=f(it),this.urlHandlingStrategy=f(zn),this._events=new X,this.errorHandler=this.options.errorHandler||Zo,this.navigated=!1,this.routeReuseStrategy=f(Bo),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=f($n,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!f(Ln,{optional:!0}),this.eventsSubscription=new qn,this.isNgZoneEnabled=f(L)instanceof L&&L.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let s=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(s!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof W&&i.code!==N.Redirect&&i.code!==N.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ne)this.navigated=!0;else if(i instanceof ze){let a=this.urlHandlingStrategy.merge(i.url,s.currentRawUrl),l={info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Vo(s.source)};this.scheduleNavigation(a,Ue,null,l,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}Yo(i)&&this._events.next(i)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ue,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,s){let o={replaceUrl:!0},a=s?.navigationId?s:null;if(s){let c=d({},s);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let l=this.parseUrl(n);this.scheduleNavigation(l,i,a,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(jn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:s,queryParams:o,fragment:a,queryParamsHandling:l,preserveFragment:c}=i,u=c?this.currentUrlTree.fragment:a,p=null;switch(l){case"merge":p=d(d({},this.currentUrlTree.queryParams),o);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=o||null}p!==null&&(p=this.removeEmptyProps(p));let h;try{let R=s?s.snapshot:this.routerState.snapshot.root;h=ai(R)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),h=this.currentUrlTree.root}return ci(h,n,p,u??null)}navigateByUrl(n,i={skipLocationChange:!1}){let s=pe(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(o,Ue,null,i)}navigate(n,i={skipLocationChange:!1}){return Xo(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let s;if(i===!0?s=d({},Ho):i===!1?s=d({},Ko):s=i,pe(n))return Wr(this.currentUrlTree,n,s);let o=this.parseUrl(n);return Wr(this.currentUrlTree,o,s)}removeEmptyProps(n){return Object.entries(n).reduce((i,[s,o])=>(o!=null&&(i[s]=o),i),{})}scheduleNavigation(n,i,s,o,a){if(this.disposed)return Promise.resolve(!1);let l,c,u;a?(l=a.resolve,c=a.reject,u=a.promise):u=new Promise((h,R)=>{l=h,c=R});let p=this.pendingTasks.add();return Wo(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Xo(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new C(4008,!1)}function Yo(t){return!(t instanceof $e)&&!(t instanceof ze)}var Jo=new I("");function Mi(t,...e){return J([{provide:$n,multi:!0,useValue:t},[],{provide:ge,useFactory:Qo,deps:[Ei]},{provide:rt,multi:!0,useFactory:ea},e.map(r=>r.\u0275providers)])}function Qo(t){return t.routerState.root}function ea(){let t=f(ir);return e=>{let r=t.get(Me);if(e!==r.components[0])return;let n=t.get(Ei),i=t.get(ta);t.get(na)===1&&n.initialNavigation(),t.get(ra,null,xt.Optional)?.setUpPreloading(),t.get(Jo,null,xt.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var ta=new I("",{factory:()=>new X}),na=new I("",{providedIn:"root",factory:()=>1});var ra=new I("");var Ii=[];var ia="@",sa=(()=>{let e=class e{constructor(n,i,s,o,a){this.doc=n,this.delegate=i,this.zone=s,this.animationType=o,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=f(lr,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-NALQ2D3H.js")).catch(i=>{throw new C(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:s})=>{this._engine=i(this.animationType,this.doc,this.scheduler);let o=new s(this.delegate,this._engine,this.zone);return this.delegate=o,o})}createRenderer(n,i){let s=this.delegate.createRenderer(n,i);if(s.\u0275type===0)return s;typeof s.throwOnSyntheticProps=="boolean"&&(s.throwOnSyntheticProps=!1);let o=new Vn(s);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let l=a.createRenderer(n,i);o.use(l)}).catch(a=>{o.use(s)}),o}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};e.\u0275fac=function(i){Ft()},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Vn=class{constructor(e){this.delegate=e,this.replay=[],this.\u0275type=1}use(e){if(this.delegate=e,this.replay!==null){for(let r of this.replay)r(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,r){this.delegate.appendChild(e,r)}insertBefore(e,r,n,i){this.delegate.insertBefore(e,r,n,i)}removeChild(e,r,n){this.delegate.removeChild(e,r,n)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,n,i){this.delegate.setAttribute(e,r,n,i)}removeAttribute(e,r,n){this.delegate.removeAttribute(e,r,n)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,n,i){this.delegate.setStyle(e,r,n,i)}removeStyle(e,r,n){this.delegate.removeStyle(e,r,n)}setProperty(e,r,n){this.shouldReplay(r)&&this.replay.push(i=>i.setProperty(e,r,n)),this.delegate.setProperty(e,r,n)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,n){return this.shouldReplay(r)&&this.replay.push(i=>i.listen(e,r,n)),this.delegate.listen(e,r,n)}shouldReplay(e){return this.replay!==null&&e.startsWith(ia)}};function Ai(t="animations"){return Qe("NgAsyncAnimations"),J([{provide:Je,useFactory:(e,r,n)=>new sa(e,r,n,t),deps:[O,lt,L]},{provide:ar,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Di={providers:[Mi(Ii),Gr(),Ai()]};var oa=(t,e)=>e.title,aa=()=>({title:"Explore the Docs",link:"https://angular.dev"}),ca=()=>({title:"Learn with Tutorials",link:"https://angular.dev/tutorials"}),la=()=>({title:"CLI Docs",link:"https://angular.dev/tools/cli"}),ua=()=>({title:"Angular Language Service",link:"https://angular.dev/tools/language-service"}),ha=()=>({title:"Angular DevTools",link:"https://angular.dev/tools/devtools"}),da=(t,e,r,n,i)=>[t,e,r,n,i];function fa(t,e){if(t&1&&(T(0,"a",21)(1,"span"),et(2),A(),ae(),T(3,"svg",32),D(4,"path",33),A()()),t&2){let r=e.$implicit;fr("href",r.link,cr),Ye(2),mr(r.title)}}var Oi=(()=>{let e=class e{constructor(){this.title="envelope-generator-ui"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=He({type:e,selectors:[["app-root"]],standalone:!0,features:[tt],decls:39,vars:12,consts:[[1,"main"],[1,"content"],[1,"left-side"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 982 239","fill","none",1,"angular-logo"],["clip-path","url(#a)"],["fill","url(#b)","d","M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"],["fill","url(#c)","d","M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"],["id","c","cx","0","cy","0","r","1","gradientTransform","rotate(118.122 171.182 60.81) scale(205.794)","gradientUnits","userSpaceOnUse"],["stop-color","#FF41F8"],["offset",".707","stop-color","#FF41F8","stop-opacity",".5"],["offset","1","stop-color","#FF41F8","stop-opacity","0"],["id","b","x1","0","x2","982","y1","192","y2","192","gradientUnits","userSpaceOnUse"],["stop-color","#F0060B"],["offset","0","stop-color","#F0070C"],["offset",".526","stop-color","#CC26D5"],["offset","1","stop-color","#7702FF"],["id","a"],["fill","#fff","d","M0 0h982v239H0z"],["role","separator","aria-label","Divider",1,"divider"],[1,"right-side"],[1,"pill-group"],["target","_blank","rel","noopener",1,"pill",3,"href"],[1,"social-links"],["href","https://github.com/angular/angular","aria-label","Github","target","_blank","rel","noopener"],["width","25","height","24","viewBox","0 0 25 24","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Github"],["d","M12.3047 0C5.50634 0 0 5.50942 0 12.3047C0 17.7423 3.52529 22.3535 8.41332 23.9787C9.02856 24.0946 9.25414 23.7142 9.25414 23.3871C9.25414 23.0949 9.24389 22.3207 9.23876 21.2953C5.81601 22.0377 5.09414 19.6444 5.09414 19.6444C4.53427 18.2243 3.72524 17.8449 3.72524 17.8449C2.61064 17.082 3.81137 17.0973 3.81137 17.0973C5.04697 17.1835 5.69604 18.3647 5.69604 18.3647C6.79321 20.2463 8.57636 19.7029 9.27978 19.3881C9.39052 18.5924 9.70736 18.0499 10.0591 17.7423C7.32641 17.4347 4.45429 16.3765 4.45429 11.6618C4.45429 10.3185 4.9311 9.22133 5.72065 8.36C5.58222 8.04931 5.16694 6.79833 5.82831 5.10337C5.82831 5.10337 6.85883 4.77319 9.2121 6.36459C10.1965 6.09082 11.2424 5.95546 12.2883 5.94931C13.3342 5.95546 14.3801 6.09082 15.3644 6.36459C17.7023 4.77319 18.7328 5.10337 18.7328 5.10337C19.3942 6.79833 18.9789 8.04931 18.8559 8.36C19.6403 9.22133 20.1171 10.3185 20.1171 11.6618C20.1171 16.3888 17.2409 17.4296 14.5031 17.7321C14.9338 18.1012 15.3337 18.8559 15.3337 20.0084C15.3337 21.6552 15.3183 22.978 15.3183 23.3779C15.3183 23.7009 15.5336 24.0854 16.1642 23.9623C21.0871 22.3484 24.6094 17.7341 24.6094 12.3047C24.6094 5.50942 19.0999 0 12.3047 0Z"],["href","https://twitter.com/angular","aria-label","Twitter","target","_blank","rel","noopener"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Twitter"],["d","M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"],["href","https://www.youtube.com/channel/UCbn1OgGei-DV7aSRo_HaAiw","aria-label","Youtube","target","_blank","rel","noopener"],["width","29","height","20","viewBox","0 0 29 20","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Youtube"],["fill-rule","evenodd","clip-rule","evenodd","d","M27.4896 1.52422C27.9301 1.96749 28.2463 2.51866 28.4068 3.12258C29.0004 5.35161 29.0004 10 29.0004 10C29.0004 10 29.0004 14.6484 28.4068 16.8774C28.2463 17.4813 27.9301 18.0325 27.4896 18.4758C27.0492 18.9191 26.5 19.2389 25.8972 19.4032C23.6778 20 14.8068 20 14.8068 20C14.8068 20 5.93586 20 3.71651 19.4032C3.11363 19.2389 2.56449 18.9191 2.12405 18.4758C1.68361 18.0325 1.36732 17.4813 1.20683 16.8774C0.613281 14.6484 0.613281 10 0.613281 10C0.613281 10 0.613281 5.35161 1.20683 3.12258C1.36732 2.51866 1.68361 1.96749 2.12405 1.52422C2.56449 1.08095 3.11363 0.76113 3.71651 0.596774C5.93586 0 14.8068 0 14.8068 0C14.8068 0 23.6778 0 25.8972 0.596774C26.5 0.76113 27.0492 1.08095 27.4896 1.52422ZM19.3229 10L11.9036 5.77905V14.221L19.3229 10Z"],["xmlns","http://www.w3.org/2000/svg","height","14","viewBox","0 -960 960 960","width","14","fill","currentColor"],["d","M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z"]],template:function(i,s){i&1&&(T(0,"main",0)(1,"div",1)(2,"div",2),ae(),T(3,"svg",3)(4,"g",4),D(5,"path",5)(6,"path",6),A(),T(7,"defs")(8,"radialGradient",7),D(9,"stop",8)(10,"stop",9)(11,"stop",10),A(),T(12,"linearGradient",11),D(13,"stop",12)(14,"stop",13)(15,"stop",14)(16,"stop",15),A(),T(17,"clipPath",16),D(18,"path",17),A()()(),Se(),T(19,"h1"),et(20),A(),T(21,"p"),et(22,"Congratulations! Your app is running. \u{1F389}"),A()(),D(23,"div",18),T(24,"div",19)(25,"div",20),pr(26,fa,5,2,"a",21,oa),A(),T(28,"div",22)(29,"a",23),ae(),T(30,"svg",24),D(31,"path",25),A()(),Se(),T(32,"a",26),ae(),T(33,"svg",27),D(34,"path",28),A()(),Se(),T(35,"a",29),ae(),T(36,"svg",30),D(37,"path",31),A()()()()()(),Se(),D(38,"router-outlet")),i&2&&(Ye(20),vr("Hello, ",s.title,""),Ye(6),gr(yr(6,da,ce(1,aa),ce(2,ca),ce(3,la),ce(4,ua),ce(5,ha))))},dependencies:[Un],styles:[`[_nghost-%COMP%] {
--bright-blue: oklch(51.01% 0.274 263.83);
--electric-violet: oklch(53.18% 0.28 296.97);
--french-violet: oklch(47.66% 0.246 305.88);
--vivid-pink: oklch(69.02% 0.277 332.77);
--hot-red: oklch(61.42% 0.238 15.34);
--orange-red: oklch(63.32% 0.24 31.68);
--gray-900: oklch(19.37% 0.006 300.98);
--gray-700: oklch(36.98% 0.014 302.71);
--gray-400: oklch(70.9% 0.015 304.04);
--red-to-pink-to-purple-vertical-gradient: linear-gradient(
180deg,
var(--orange-red) 0%,
var(--vivid-pink) 50%,
var(--electric-violet) 100%
);
--red-to-pink-to-purple-horizontal-gradient: linear-gradient(
90deg,
var(--orange-red) 0%,
var(--vivid-pink) 50%,
var(--electric-violet) 100%
);
--pill-accent: var(--bright-blue);
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1[_ngcontent-%COMP%] {
font-size: 3.125rem;
color: var(--gray-900);
font-weight: 500;
line-height: 100%;
letter-spacing: -0.125rem;
margin: 0;
font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
}
p[_ngcontent-%COMP%] {
margin: 0;
color: var(--gray-700);
}
main[_ngcontent-%COMP%] {
width: 100%;
min-height: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
box-sizing: inherit;
position: relative;
}
.angular-logo[_ngcontent-%COMP%] {
max-width: 9.2rem;
}
.content[_ngcontent-%COMP%] {
display: flex;
justify-content: space-around;
width: 100%;
max-width: 700px;
margin-bottom: 3rem;
}
.content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] {
margin-top: 1.75rem;
}
.content[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {
margin-top: 1.5rem;
}
.divider[_ngcontent-%COMP%] {
width: 1px;
background: var(--red-to-pink-to-purple-vertical-gradient);
margin-inline: 0.5rem;
}
.pill-group[_ngcontent-%COMP%] {
display: flex;
flex-direction: column;
align-items: start;
flex-wrap: wrap;
gap: 1.25rem;
}
.pill[_ngcontent-%COMP%] {
display: flex;
align-items: center;
--pill-accent: var(--bright-blue);
background: color-mix(in srgb, var(--pill-accent) 5%, transparent);
color: var(--pill-accent);
padding-inline: 0.75rem;
padding-block: 0.375rem;
border-radius: 2.75rem;
border: 0;
transition: background 0.3s ease;
font-family: var(--inter-font);
font-size: 0.875rem;
font-style: normal;
font-weight: 500;
line-height: 1.4rem;
letter-spacing: -0.00875rem;
text-decoration: none;
}
.pill[_ngcontent-%COMP%]:hover {
background: color-mix(in srgb, var(--pill-accent) 15%, transparent);
}
.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 1) {
--pill-accent: var(--bright-blue);
}
.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 2) {
--pill-accent: var(--french-violet);
}
.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 3), .pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 4), .pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 5) {
--pill-accent: var(--hot-red);
}
.pill-group[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {
margin-inline-start: 0.25rem;
}
.social-links[_ngcontent-%COMP%] {
display: flex;
align-items: center;
gap: 0.73rem;
margin-top: 1.5rem;
}
.social-links[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {
transition: fill 0.3s ease;
fill: var(--gray-400);
}
.social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {
fill: var(--gray-900);
}
@media screen and (max-width: 650px) {
.content[_ngcontent-%COMP%] {
flex-direction: column;
width: max-content;
}
.divider[_ngcontent-%COMP%] {
height: 1px;
width: 100%;
background: var(--red-to-pink-to-purple-horizontal-gradient);
margin-block: 1.5rem;
}
}`]});let t=e;return t})();Br(Oi,Di).catch(t=>console.error(t));