63 lines
125 KiB
JavaScript
63 lines
125 KiB
JavaScript
import{$ as Cn,$b as ei,$c as Nt,A as bn,Ac as Pt,B as z,Ba as Nr,C as Tr,Ca as Pn,Cb as Wr,D as Tt,Da as Lr,Ea as St,Eb as Xr,Fb as Zr,Ga as An,Gb as Jr,H as Z,Ha as Dn,Hb as Yr,I as we,Ic as At,Id as mi,J as ue,Ja as xn,Jc as Dt,Ka as qe,Kc as ci,Kd as vi,L as Rn,La as kr,Lc as li,Ld as yi,M as be,Ma as Ur,Mc as Ze,O as Re,Oa as Ee,P as te,Pa as ne,Pc as ui,Pd as wi,Q as En,Qc as di,R as Cr,Rc as hi,T as Sr,Tb as Kr,Ua as jr,Ub as Qr,Uc as V,W as Mr,Wa as Nn,X as P,Xa as Mt,Xc as kn,Y as Tn,Ya as Fr,Yc as xt,Z as _,Za as Ln,Zc as pi,_ as E,_a as Ot,a as d,ab as _t,b as U,ba as w,bb as zr,be as bi,da as Or,ea as C,fa as R,fb as $r,ga as h,gb as Br,gd as ie,h as wr,ha as Ct,i as br,ia as _r,ib as Hr,j as Et,ja as de,jb as Vr,k as yn,ka as N,l as wn,la as Ir,lc as ti,ld as fi,m as ee,ma as Pr,n as j,nb as qr,nc as he,oa as Sn,ob as Gr,oc as ni,pa as x,pc as ri,q as X,qa as Mn,qc as re,ra as On,sa as _n,sc as ii,t as F,tb as Ge,tc as oi,u as p,ua as In,ub as We,uc as Te,v as He,vb as It,vc as Ce,w as Rr,wa as Ar,wc as Xe,x as Er,xa as Dr,xc as si,xd as gi,ya as xr,yc as ai,z as y,za as Ve}from"./chunk-SK2T2ZXR.js";var Je=class{_doc;constructor(t){this._doc=t}manager},Lt=(()=>{class n extends Je{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||n)(R(x))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),Ut=new C(""),$n=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof Lt));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Lt);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||n)(R(Ut),R(ne))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),Un="ng-app-id";function Ri(n){for(let t of n)t.remove()}function Ei(n,t){let e=t.createElement("style");return e.textContent=n,e}function Ho(n,t,e,r){let i=n.head?.querySelectorAll(`style[${Un}="${t}"],link[${Un}="${t}"]`);if(i)for(let o of i)o.removeAttribute(Un),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Fn(n,t){let e=t.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var Bn=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,Ho(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,Ei);r?.forEach(i=>this.addUsage(i,this.external,Fn))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(Ri(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Ri(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,Ei(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,Fn(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||n)(R(x),R(Pn),R(An,8),R(St))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),jn={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Hn=/%COMP%/g;var Ci="%COMP%",Vo=`_nghost-${Ci}`,qo=`_ngcontent-${Ci}`,Go=!0,Wo=new C("",{providedIn:"root",factory:()=>Go});function Xo(n){return qo.replace(Hn,n)}function Zo(n){return Vo.replace(Hn,n)}function Si(n,t){return t.map(e=>e.replace(Hn,n))}var Vn=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,r,i,o,s,a,c=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new Ye(e,s,a,this.platformIsServer,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof kt?i.applyToHost(e):i instanceof Ke&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,g=this.platformIsServer,m=this.tracingService;switch(r.encapsulation){case Dn.Emulated:o=new kt(c,l,r,this.appId,u,s,a,g,m);break;case Dn.ShadowDom:return new zn(c,l,e,r,s,a,this.nonce,g,m);default:o=new Ke(c,l,r,u,s,a,g,m);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||n)(R($n),R(Bn),R(Pn),R(Wo),R(x),R(ne),R(An),R(Ur,8))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),Ye=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,r,i,o){this.eventManager=t,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(jn[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Ti(t)?t.content:t).appendChild(e)}insertBefore(t,e,r){t&&(Ti(t)?t.content:t).insertBefore(e,r)}removeChild(t,e){e.remove()}selectRootElement(t,e){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new E(-5104,!1);return e||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,r,i){if(i){e=i+":"+e;let o=jn[i];o?t.setAttributeNS(o,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)}removeAttribute(t,e,r){if(r){let i=jn[r];i?t.removeAttributeNS(i,e):t.removeAttribute(`${r}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,r,i){i&(qe.DashCase|qe.Important)?t.style.setProperty(e,r,i&qe.Important?"important":""):t.style[e]=r}removeStyle(t,e,r){r&qe.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,r){t!=null&&(t[e]=r)}setValue(t,e){t.nodeValue=e}listen(t,e,r,i){if(typeof t=="string"&&(t=Xe().getGlobalEventTarget(this.doc,t),!t))throw new E(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,e,o)),this.eventManager.addEventListener(t,e,o,i)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;t(e)===!1&&e.preventDefault()}}};function Ti(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var zn=class extends Ye{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,r,i,o,s,a,c,l){super(t,o,s,c,l),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=i.styles;u=Si(i.id,u);for(let m of u){let S=document.createElement("style");a&&S.setAttribute("nonce",a),S.textContent=m,this.shadowRoot.appendChild(S)}let g=i.getExternalStyles?.();if(g)for(let m of g){let S=Fn(m,o);a&&S.setAttribute("nonce",a),this.shadowRoot.appendChild(S)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,r){return super.insertBefore(this.nodeOrShadowRoot(t),e,r)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ke=class extends Ye{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,r,i,o,s,a,c,l){super(t,o,s,a,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let u=r.styles;this.styles=l?Si(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&kr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},kt=class extends Ke{contentAttr;hostAttr;constructor(t,e,r,i,o,s,a,c,l){let u=i+"-"+r.id;super(t,e,r,o,s,a,c,l,u),this.contentAttr=Xo(u),this.hostAttr=Zo(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let r=super.createElement(t,e);return super.setAttribute(r,this.contentAttr,""),r}};var jt=class n extends ai{supportsDOMEvents=!0;static makeCurrent(){si(new n)}onAndCancel(t,e,r,i){return t.addEventListener(e,r,i),()=>{t.removeEventListener(e,r,i)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return e=e||this.getDefaultDocument(),e.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return e==="window"?window:e==="document"?t:e==="body"?t.body:null}getBaseHref(t){let e=Jo();return e==null?null:Yo(e)}resetBaseElement(){Qe=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return At(document.cookie,t)}},Qe=null;function Jo(){return Qe=Qe||document.head.querySelector("base"),Qe?Qe.getAttribute("href"):null}function Yo(n){return new URL(n,document.baseURI).pathname}var Ko=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),Mi=["alt","control","meta","shift"],Qo={"\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"},es={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Oi=(()=>{class n extends Je{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=n.parseEventName(r),a=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xe().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=n._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Mi.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,r){let i=Qo[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Mi.forEach(s=>{if(s!==i){let a=es[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{n.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||n)(R(x))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})();function ts(n){return oi(ns(n))}function ns(n){return{appProviders:[...as,...n?.providers??[]],platformProviders:ss}}function rs(){jt.makeCurrent()}function is(){return new On}function os(){return Nr(document),document}var ss=[{provide:St,useValue:ci},{provide:Lr,useValue:rs,multi:!0},{provide:x,useFactory:os}];var as=[{provide:_r,useValue:"root"},{provide:On,useFactory:is},{provide:Ut,useClass:Lt,multi:!0,deps:[x]},{provide:Ut,useClass:Oi,multi:!0,deps:[x]},Vn,Bn,$n,{provide:jr,useExisting:Vn},{provide:Dt,useClass:Ko},[]];var _e=class{},et=class{},oe=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,e);let i=(t.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let o=t.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(t,e){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(t,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}};var zt=class{encodeKey(t){return _i(t)}encodeValue(t){return _i(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function ls(n,t){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var us=/%(\d[a-f0-9])/gi,ds={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _i(n){return encodeURIComponent(n).replace(us,(t,e)=>ds[e]??t)}function Ft(n){return`${n}`}var J=class n{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new zt,t.fromString){if(t.fromObject)throw new E(2805,!1);this.map=ls(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let r=t.fromObject[e],i=Array.isArray(r)?r.map(Ft):[Ft(r)];this.map.set(e,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){let e=[];return Object.keys(t).forEach(r=>{let i=t[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let e=(t.op==="a"?this.map.get(t.param):void 0)||[];e.push(Ft(t.value)),this.map.set(t.param,e);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],i=r.indexOf(Ft(t.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var $t=class{map=new Map;set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function hs(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ii(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Pi(n){return typeof Blob<"u"&&n instanceof Blob}function Ai(n){return typeof FormData<"u"&&n instanceof FormData}function ps(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var Di="Content-Type",xi="Accept",Ni="X-Request-URL",Li="text/plain",ki="application/json",fs=`${ki}, ${Li}, */*`,Me=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,e,r,i){this.url=e,this.method=t.toUpperCase();let o;if(hs(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new E(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new oe,this.context??=new $t,!this.params)this.params=new J,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Ii(this.body)||Pi(this.body)||Ai(this.body)||ps(this.body)?this.body:this.body instanceof J?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Ai(this.body)?null:Pi(this.body)?this.body.type||null:Ii(this.body)?null:typeof this.body=="string"?Li:this.body instanceof J?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?ki:null}clone(t={}){let e=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,l=t.redirect||this.redirect,u=t.credentials||this.credentials,g=t.referrer||this.referrer,m=t.integrity||this.integrity,S=t.transferCache??this.transferCache,M=t.timeout??this.timeout,$=t.body!==void 0?t.body:this.body,v=t.withCredentials??this.withCredentials,T=t.reportProgress??this.reportProgress,D=t.headers||this.headers,B=t.params||this.params,I=t.context??this.context;return t.setHeaders!==void 0&&(D=Object.keys(t.setHeaders).reduce((ce,le)=>ce.set(le,t.setHeaders[le]),D)),t.setParams&&(B=Object.keys(t.setParams).reduce((ce,le)=>ce.set(le,t.setParams[le]),B)),new n(e,r,$,{params:B,headers:D,context:I,reportProgress:T,responseType:i,withCredentials:v,transferCache:S,keepalive:o,cache:a,priority:s,timeout:M,mode:c,redirect:l,credentials:u,referrer:g,integrity:m})}},pe=(function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n})(pe||{}),Ie=class{headers;status;statusText;url;ok;type;redirected;constructor(t,e=200,r="OK"){this.headers=t.headers||new oe,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},Bt=class n extends Ie{constructor(t={}){super(t)}type=pe.ResponseHeader;clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},tt=class n extends Ie{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=pe.Response;clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Oe=class extends Ie{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},gs=200,ms=204;function Wn(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,credentials:n.credentials,transferCache:n.transferCache,timeout:n.timeout,keepalive:n.keepalive,priority:n.priority,cache:n.cache,mode:n.mode,redirect:n.redirect,integrity:n.integrity,referrer:n.referrer}}var Ui=(()=>{class n{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof Me)o=e;else{let c;i.headers instanceof oe?c=i.headers:c=new oe(i.headers);let l;i.params&&(i.params instanceof J?l=i.params:l=new J({fromObject:i.params})),o=new Me(e,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,integrity:i.integrity,timeout:i.timeout})}let s=p(o).pipe(ue(c=>this.handler.handle(c)));if(e instanceof Me||i.observe==="events")return s;let a=s.pipe(Z(c=>c instanceof tt));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(y(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new E(2806,!1);return c.body}));case"blob":return a.pipe(y(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new E(2807,!1);return c.body}));case"text":return a.pipe(y(c=>{if(c.body!==null&&typeof c.body!="string")throw new E(2808,!1);return c.body}));default:return a.pipe(y(c=>c.body))}case"response":return a;default:throw new E(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new J().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,Wn(i,r))}post(e,r,i={}){return this.request("POST",e,Wn(i,r))}put(e,r,i={}){return this.request("PUT",e,Wn(i,r))}static \u0275fac=function(r){return new(r||n)(R(_e))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})();var vs=new C("");function ys(n,t){return t(n)}function ws(n,t,e){return(r,i)=>N(e,()=>t(r,o=>n(o,i)))}var ji=new C(""),Fi=new C(""),zi=new C("",{providedIn:"root",factory:()=>!0});var Ht=(()=>{class n extends _e{backend;injector;chain=null;pendingTasks=h(Dr);contributeToStability=h(zi);constructor(e,r){super(),this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(ji),...this.injector.get(Fi,[])]));this.chain=r.reduceRight((i,o)=>ws(i,o,this.injector),ys)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(Re(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||n)(R(et),R(de))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})();var bs=/^\)\]\}',?\n/,Rs=RegExp(`^${Ni}:`,"m");function Es(n){return"responseURL"in n&&n.responseURL?n.responseURL:Rs.test(n.getAllResponseHeaders())?n.getResponseHeader(Ni):null}var Xn=(()=>{class n{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return p(null).pipe(P(()=>new Et(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((v,T)=>s.setRequestHeader(v,T.join(","))),e.headers.has(xi)||s.setRequestHeader(xi,fs),!e.headers.has(Di)){let v=e.detectContentTypeHeader();v!==null&&s.setRequestHeader(Di,v)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let v=e.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let v=s.statusText||"OK",T=new oe(s.getAllResponseHeaders()),D=Es(s)||e.url;return c=new Bt({headers:T,status:s.status,statusText:v,url:D}),c},u=()=>{let{headers:v,status:T,statusText:D,url:B}=l(),I=null;T!==ms&&(I=typeof s.response>"u"?s.responseText:s.response),T===0&&(T=I?gs:0);let ce=T>=200&&T<300;if(e.responseType==="json"&&typeof I=="string"){let le=I;I=I.replace(bs,"");try{I=I!==""?JSON.parse(I):null}catch(Bo){I=le,ce&&(ce=!1,I={error:Bo,text:I})}}ce?(o.next(new tt({body:I,headers:v,status:T,statusText:D,url:B||void 0})),o.complete()):o.error(new Oe({error:I,headers:v,status:T,statusText:D,url:B||void 0}))},g=v=>{let{url:T}=l(),D=new Oe({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:T||void 0});o.error(D)},m=g;e.timeout&&(m=v=>{let{url:T}=l(),D=new Oe({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:T||void 0});o.error(D)});let S=!1,M=v=>{S||(o.next(l()),S=!0);let T={type:pe.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(T.total=v.total),e.responseType==="text"&&s.responseText&&(T.partialText=s.responseText),o.next(T)},$=v=>{let T={type:pe.UploadProgress,loaded:v.loaded};v.lengthComputable&&(T.total=v.total),o.next(T)};return s.addEventListener("load",u),s.addEventListener("error",g),s.addEventListener("timeout",m),s.addEventListener("abort",g),e.reportProgress&&(s.addEventListener("progress",M),a!==null&&s.upload&&s.upload.addEventListener("progress",$)),s.send(a),o.next({type:pe.Sent}),()=>{s.removeEventListener("error",g),s.removeEventListener("abort",g),s.removeEventListener("load",u),s.removeEventListener("timeout",m),e.reportProgress&&(s.removeEventListener("progress",M),a!==null&&s.upload&&s.upload.removeEventListener("progress",$)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||n)(R(Dt))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),$i=new C(""),Ts="XSRF-TOKEN",Cs=new C("",{providedIn:"root",factory:()=>Ts}),Ss="X-XSRF-TOKEN",Ms=new C("",{providedIn:"root",factory:()=>Ss}),nt=class{},Os=(()=>{class n{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,r){this.doc=e,this.cookieName=r}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=At(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||n)(R(x),R(Cs))};static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})(),_s=/^(?:https?:)?\/\//i;function Is(n,t){if(!h($i)||n.method==="GET"||n.method==="HEAD"||_s.test(n.url))return t(n);let e=h(nt).getToken(),r=h(Ms);return e!=null&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,e)})),t(n)}function Ps(...n){let t=[Ui,Xn,Ht,{provide:_e,useExisting:Ht},{provide:et,useFactory:()=>h(vs,{optional:!0})??h(Xn)},{provide:ji,useValue:Is,multi:!0},{provide:$i,useValue:!0},{provide:nt,useClass:Os}];for(let e of n)t.push(...e.\u0275providers);return Ct(t)}var Bi=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||n)(R(x))};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var f="primary",vt=Symbol("RouteTitle"),Qn=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function me(n){return new Qn(n)}function Ji(n,t,e){let r=e.path.split("/");if(r.length>n.length||e.pathMatch==="full"&&(t.hasChildren()||r.length<n.length))return null;let i={};for(let o=0;o<r.length;o++){let s=r[o],a=n[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:n.slice(0,r.length),posParams:i}}function Ds(n,t){if(n.length!==t.length)return!1;for(let e=0;e<n.length;++e)if(!q(n[e],t[e]))return!1;return!0}function q(n,t){let e=n?er(n):void 0,r=t?er(t):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Yi(n[i],t[i]))return!1;return!0}function er(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function Yi(n,t){if(Array.isArray(n)&&Array.isArray(t)){if(n.length!==t.length)return!1;let e=[...n].sort(),r=[...t].sort();return e.every((i,o)=>r[o]===i)}else return n===t}function Ki(n){return n.length>0?n[n.length-1]:null}function Q(n){return Rr(n)?n:Br(n)?F(Promise.resolve(n)):p(n)}var xs={exact:eo,subset:to},Qi={exact:Ns,subset:Ls,ignored:()=>!0};function Hi(n,t,e){return xs[e.paths](n.root,t.root,e.matrixParams)&&Qi[e.queryParams](n.queryParams,t.queryParams)&&!(e.fragment==="exact"&&n.fragment!==t.fragment)}function Ns(n,t){return q(n,t)}function eo(n,t,e){if(!fe(n.segments,t.segments)||!Gt(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!n.children[r]||!eo(n.children[r],t.children[r],e))return!1;return!0}function Ls(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>Yi(n[e],t[e]))}function to(n,t,e){return no(n,t,t.segments,e)}function no(n,t,e,r){if(n.segments.length>e.length){let i=n.segments.slice(0,e.length);return!(!fe(i,e)||t.hasChildren()||!Gt(i,e,r))}else if(n.segments.length===e.length){if(!fe(n.segments,e)||!Gt(n.segments,e,r))return!1;for(let i in t.children)if(!n.children[i]||!to(n.children[i],t.children[i],r))return!1;return!0}else{let i=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!fe(n.segments,i)||!Gt(n.segments,i,r)||!n.children[f]?!1:no(n.children[f],t,o,r)}}function Gt(n,t,e){return t.every((r,i)=>Qi[e](n[i].parameters,r.parameters))}var W=class{root;queryParams;fragment;_queryParamMap;constructor(t=new b([],{}),e={},r=null){this.root=t,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=me(this.queryParams),this._queryParamMap}toString(){return js.serialize(this)}},b=class{segments;children;parent=null;constructor(t,e){this.segments=t,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Wt(this)}},se=class{path;parameters;_parameterMap;constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=me(this.parameters),this._parameterMap}toString(){return io(this)}};function ks(n,t){return fe(n,t)&&n.every((e,r)=>q(e.parameters,t[r].parameters))}function fe(n,t){return n.length!==t.length?!1:n.every((e,r)=>e.path===t[r].path)}function Us(n,t){let e=[];return Object.entries(n.children).forEach(([r,i])=>{r===f&&(e=e.concat(t(i,r)))}),Object.entries(n.children).forEach(([r,i])=>{r!==f&&(e=e.concat(t(i,r)))}),e}var yt=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:()=>new ve,providedIn:"root"})}return n})(),ve=class{parse(t){let e=new nr(t);return new W(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){let e=`/${rt(t.root,!0)}`,r=$s(t.queryParams),i=typeof t.fragment=="string"?`#${Fs(t.fragment)}`:"";return`${e}${r}${i}`}},js=new ve;function Wt(n){return n.segments.map(t=>io(t)).join("/")}function rt(n,t){if(!n.hasChildren())return Wt(n);if(t){let e=n.children[f]?rt(n.children[f],!1):"",r=[];return Object.entries(n.children).forEach(([i,o])=>{i!==f&&r.push(`${i}:${rt(o,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=Us(n,(r,i)=>i===f?[rt(n.children[f],!1)]:[`${i}:${rt(r,!1)}`]);return Object.keys(n.children).length===1&&n.children[f]!=null?`${Wt(n)}/${e[0]}`:`${Wt(n)}/(${e.join("//")})`}}function ro(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vt(n){return ro(n).replace(/%3B/gi,";")}function Fs(n){return encodeURI(n)}function tr(n){return ro(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Xt(n){return decodeURIComponent(n)}function Vi(n){return Xt(n.replace(/\+/g,"%20"))}function io(n){return`${tr(n.path)}${zs(n.parameters)}`}function zs(n){return Object.entries(n).map(([t,e])=>`;${tr(t)}=${tr(e)}`).join("")}function $s(n){let t=Object.entries(n).map(([e,r])=>Array.isArray(r)?r.map(i=>`${Vt(e)}=${Vt(i)}`).join("&"):`${Vt(e)}=${Vt(r)}`).filter(e=>e);return t.length?`?${t.join("&")}`:""}var Bs=/^[^\/()?;#]+/;function Zn(n){let t=n.match(Bs);return t?t[0]:""}var Hs=/^[^\/()?;=#]+/;function Vs(n){let t=n.match(Hs);return t?t[0]:""}var qs=/^[^=?&#]+/;function Gs(n){let t=n.match(qs);return t?t[0]:""}var Ws=/^[^&#]+/;function Xs(n){let t=n.match(Ws);return t?t[0]:""}var nr=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new b([],{}):new b([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(r[f]=new b(t,e)),r}parseSegment(){let t=Zn(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(t),new se(Xt(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let e=Vs(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=Zn(this.remaining);i&&(r=i,this.capture(r))}t[Xt(e)]=Xt(r)}parseQueryParam(t){let e=Gs(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=Xs(this.remaining);s&&(r=s,this.capture(r))}let i=Vi(e),o=Vi(r);if(t.hasOwnProperty(i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o)}else t[i]=o}parseParens(t){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Zn(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new E(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=f);let s=this.parseChildren();e[o??f]=Object.keys(s).length===1&&s[f]?s[f]:new b([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new E(4011,!1)}};function oo(n){return n.segments.length>0?new b([],{[f]:n}):n}function so(n){let t={};for(let[r,i]of Object.entries(n.children)){let o=so(i);if(r===f&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[r]=o)}let e=new b(n.segments,t);return Zs(e)}function Zs(n){if(n.numberOfChildren===1&&n.children[f]){let t=n.children[f];return new b(n.segments.concat(t.segments),t.children)}return n}function Ne(n){return n instanceof W}function ao(n,t,e=null,r=null){let i=co(n);return lo(i,t,e,r)}function co(n){let t;function e(o){let s={};for(let c of o.children){let l=e(c);s[c.outlet]=l}let a=new b(o.url,s);return o===n&&(t=a),a}let r=e(n.root),i=oo(r);return t??i}function lo(n,t,e,r){let i=n;for(;i.parent;)i=i.parent;if(t.length===0)return Jn(i,i,i,e,r);let o=Js(t);if(o.toRoot())return Jn(i,i,new b([],{}),e,r);let s=Ys(o,i,n),a=s.processChildren?ot(s.segmentGroup,s.index,o.commands):ho(s.segmentGroup,s.index,o.commands);return Jn(i,s.segmentGroup,a,e,r)}function Zt(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function ct(n){return typeof n=="object"&&n!=null&&n.outlets}function Jn(n,t,e,r,i){let o={};r&&Object.entries(r).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;n===t?s=e:s=uo(n,t,e);let a=oo(so(s));return new W(a,o,i)}function uo(n,t,e){let r={};return Object.entries(n.children).forEach(([i,o])=>{o===t?r[i]=e:r[i]=uo(o,t,e)}),new b(n.segments,r)}var Jt=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,e,r){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=r,t&&r.length>0&&Zt(r[0]))throw new E(4003,!1);let i=r.find(ct);if(i&&i!==Ki(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Js(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Jt(!0,0,n);let t=0,e=!1,r=n.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?t++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Jt(e,t,r)}var De=class{segmentGroup;processChildren;index;constructor(t,e,r){this.segmentGroup=t,this.processChildren=e,this.index=r}};function Ys(n,t,e){if(n.isAbsolute)return new De(t,!0,0);if(!e)return new De(t,!1,NaN);if(e.parent===null)return new De(e,!0,0);let r=Zt(n.commands[0])?0:1,i=e.segments.length-1+r;return Ks(e,i,n.numberOfDoubleDots)}function Ks(n,t,e){let r=n,i=t,o=e;for(;o>i;){if(o-=i,r=r.parent,!r)throw new E(4005,!1);i=r.segments.length}return new De(r,!1,i-o)}function Qs(n){return ct(n[0])?n[0].outlets:{[f]:n}}function ho(n,t,e){if(n??=new b([],{}),n.segments.length===0&&n.hasChildren())return ot(n,t,e);let r=ea(n,t,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<n.segments.length){let o=new b(n.segments.slice(0,r.pathIndex),{});return o.children[f]=new b(n.segments.slice(r.pathIndex),n.children),ot(o,0,i)}else return r.match&&i.length===0?new b(n.segments,{}):r.match&&!n.hasChildren()?rr(n,t,e):r.match?ot(n,0,i):rr(n,t,e)}function ot(n,t,e){if(e.length===0)return new b(n.segments,{});{let r=Qs(e),i={};if(Object.keys(r).some(o=>o!==f)&&n.children[f]&&n.numberOfChildren===1&&n.children[f].segments.length===0){let o=ot(n.children[f],t,e);return new b(n.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=ho(n.children[o],t,s))}),Object.entries(n.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s)}),new b(n.segments,i)}}function ea(n,t,e){let r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i<n.segments.length;){if(r>=e.length)return o;let s=n.segments[i],a=e[r];if(ct(a))break;let c=`${a}`,l=r<e.length-1?e[r+1]:null;if(i>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Gi(c,l,s))return o;r+=2}else{if(!Gi(c,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function rr(n,t,e){let r=n.segments.slice(0,t),i=0;for(;i<e.length;){let o=e[i];if(ct(o)){let c=ta(o.outlets);return new b(r,c)}if(i===0&&Zt(e[0])){let c=n.segments[t];r.push(new se(c.path,qi(e[0]))),i++;continue}let s=ct(o)?o.outlets[f]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&Zt(a)?(r.push(new se(s,qi(a))),i+=2):(r.push(new se(s,{})),i++)}return new b(r,{})}function ta(n){let t={};return Object.entries(n).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[e]=rr(new b([],{}),0,r))}),t}function qi(n){let t={};return Object.entries(n).forEach(([e,r])=>t[e]=`${r}`),t}function Gi(n,t,e){return n==e.path&&q(t,e.parameters)}var st="imperative",O=(function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n})(O||{}),k=class{id;url;constructor(t,e){this.id=t,this.url=e}},ye=class extends k{type=O.NavigationStart;navigationTrigger;restoredState;constructor(t,e,r="imperative",i=null){super(t,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Y=class extends k{urlAfterRedirects;type=O.NavigationEnd;constructor(t,e,r){super(t,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},A=(function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n[n.Aborted=4]="Aborted",n})(A||{}),lt=(function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n})(lt||{}),G=class extends k{reason;code;type=O.NavigationCancel;constructor(t,e,r,i){super(t,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},K=class extends k{reason;code;type=O.NavigationSkipped;constructor(t,e,r,i){super(t,e),this.reason=r,this.code=i}},Le=class extends k{error;target;type=O.NavigationError;constructor(t,e,r,i){super(t,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ut=class extends k{urlAfterRedirects;state;type=O.RoutesRecognized;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Yt=class extends k{urlAfterRedirects;state;type=O.GuardsCheckStart;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Kt=class extends k{urlAfterRedirects;state;shouldActivate;type=O.GuardsCheckEnd;constructor(t,e,r,i,o){super(t,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Qt=class extends k{urlAfterRedirects;state;type=O.ResolveStart;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},en=class extends k{urlAfterRedirects;state;type=O.ResolveEnd;constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tn=class{route;type=O.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},nn=class{route;type=O.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},rn=class{snapshot;type=O.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},on=class{snapshot;type=O.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sn=class{snapshot;type=O.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},an=class{snapshot;type=O.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var dt=class{},ke=class{url;navigationBehaviorOptions;constructor(t,e){this.url=t,this.navigationBehaviorOptions=e}};function na(n){return!(n instanceof dt)&&!(n instanceof ke)}function ra(n,t){return n.providers&&!n._injector&&(n._injector=Ln(n.providers,t,`Route: ${n.path}`)),n._injector??t}function H(n){return n.outlet||f}function ia(n,t){let e=n.filter(r=>H(r)===t);return e.push(...n.filter(r=>H(r)!==t)),e}function Fe(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var cn=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Fe(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new ze(this.rootInjector)}},ze=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new cn(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||n)(R(de))};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ln=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){let e=ir(t,this._root);return e?e.children.map(r=>r.value):[]}firstChild(t){let e=ir(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){let e=or(t,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return or(t,this._root).map(e=>e.value)}};function ir(n,t){if(n===t.value)return t;for(let e of t.children){let r=ir(n,e);if(r)return r}return null}function or(n,t){if(n===t.value)return[t];for(let e of t.children){let r=or(n,e);if(r.length)return r.unshift(t),r}return[]}var L=class{value;children;constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}};function Ae(n){let t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}var ht=class extends ln{snapshot;constructor(t,e){super(t),this.snapshot=e,pr(this,t)}toString(){return this.snapshot.toString()}};function po(n){let t=oa(n),e=new j([new se("",{})]),r=new j({}),i=new j({}),o=new j({}),s=new j(""),a=new ae(e,r,o,s,i,f,n,t.root);return a.snapshot=t.root,new ht(new L(a,[]),t)}function oa(n){let t={},e={},r={},o=new ge([],t,r,"",e,f,n,null,{});return new pt("",new L(o,[]))}var ae=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,e,r,i,o,s,a,c){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(y(l=>l[vt]))??p(void 0),this.url=t,this.params=e,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(y(t=>me(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(y(t=>me(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function un(n,t,e="emptyOnly"){let r,{routeConfig:i}=n;return t!==null&&(e==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:d(d({},t.params),n.params),data:d(d({},t.data),n.data),resolve:d(d(d(d({},n.data),t.data),i?.data),n._resolvedData)}:r={params:d({},n.params),data:d({},n.data),resolve:d(d({},n.data),n._resolvedData??{})},i&&go(i)&&(r.resolve[vt]=i.title),r}var ge=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[vt]}constructor(t,e,r,i,o,s,a,c,l){this.url=t,this.params=e,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}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??=me(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=me(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${e}')`}},pt=class extends ln{url;constructor(t,e){super(e),this.url=t,pr(this,e)}toString(){return fo(this._root)}};function pr(n,t){t.value._routerState=n,t.children.forEach(e=>pr(n,e))}function fo(n){let t=n.children.length>0?` { ${n.children.map(fo).join(", ")} } `:"";return`${n.value}${t}`}function Yn(n){if(n.snapshot){let t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,q(t.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),t.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),q(t.params,e.params)||n.paramsSubject.next(e.params),Ds(t.url,e.url)||n.urlSubject.next(e.url),q(t.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function sr(n,t){let e=q(n.params,t.params)&&ks(n.url,t.url),r=!n.parent!=!t.parent;return e&&!r&&(!n.parent||sr(n.parent,t.parent))}function go(n){return typeof n.title=="string"||n.title===null}var mo=new C(""),fr=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=f;activateEvents=new Ee;deactivateEvents=new Ee;attachEvents=new Ee;detachEvents=new Ee;routerOutletData=re();parentContexts=h(ze);location=h(Mt);changeDetector=h(ii);inputBinder=h(fn,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new ar(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||n)};static \u0275dir=_t({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[xr]})}return n})(),ar=class{route;childContexts;parent;outletData;constructor(t,e,r,i){this.route=t,this.childContexts=e,this.parent=r,this.outletData=i}get(t,e){return t===ae?this.route:t===ze?this.childContexts:t===mo?this.outletData:this.parent.get(t,e)}},fn=new C("");var gr=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275cmp=Ot({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&It(0,"router-outlet")},dependencies:[fr],encapsulation:2})}return n})();function mr(n){let t=n.children&&n.children.map(mr),e=t?U(d({},n),{children:t}):d({},n);return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==f&&(e.component=gr),e}function sa(n,t,e){let r=ft(n,t._root,e?e._root:void 0);return new ht(r,t)}function ft(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=t.value;let i=aa(n,t,e);return new L(r,i)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ft(n,a)),s}}let r=ca(t.value),i=t.children.map(o=>ft(n,o));return new L(r,i)}}function aa(n,t,e){return t.children.map(r=>{for(let i of e.children)if(n.shouldReuseRoute(r.value,i.value.snapshot))return ft(n,r,i);return ft(n,r)})}function ca(n){return new ae(new j(n.url),new j(n.params),new j(n.queryParams),new j(n.fragment),new j(n.data),n.outlet,n.component,n)}var Ue=class{redirectTo;navigationBehaviorOptions;constructor(t,e){this.redirectTo=t,this.navigationBehaviorOptions=e}},vo="ngNavigationCancelingError";function dn(n,t){let{redirectTo:e,navigationBehaviorOptions:r}=Ne(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=yo(!1,A.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function yo(n,t){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[vo]=!0,e.cancellationCode=t,e}function la(n){return wo(n)&&Ne(n.url)}function wo(n){return!!n&&n[vo]}var ua=(n,t,e,r)=>y(i=>(new cr(t,i.targetRouterState,i.currentRouterState,e,r).activate(n),i)),cr=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,e,r,i,o){this.routeReuseStrategy=t,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,t),Yn(this.futureState.root),this.activateChildRoutes(e,r,t)}deactivateChildRoutes(t,e,r){let i=Ae(e);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(t,e,r){let i=t.value,o=e?e.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,r);else o&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){let r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,o=Ae(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){let r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,o=Ae(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,e,r){let i=Ae(e);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new an(o.value.snapshot))}),t.children.length&&this.forwardEvent(new on(t.value.snapshot))}activateRoutes(t,e,r){let i=t.value,o=e?e.value:null;if(Yn(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Yn(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},hn=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},xe=class{component;route;constructor(t,e){this.component=t,this.route=e}};function da(n,t,e){let r=n._root,i=t?t._root:null;return it(r,i,e,[r.value])}function ha(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function $e(n,t){let e=Symbol(),r=t.get(n,e);return r===e?typeof n=="function"&&!Or(n)?n:t.get(n):r}function it(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ae(t);return n.children.forEach(s=>{pa(s,o[s.value.outlet],e,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>at(a,e.getContext(s),i)),i}function pa(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=fa(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new hn(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?it(n,t,a?a.children:null,r,i):it(n,t,e,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new xe(a.outlet.component,s))}else s&&at(t,a,i),i.canActivateChecks.push(new hn(r)),o.component?it(n,null,a?a.children:null,r,i):it(n,null,e,r,i);return i}function fa(n,t,e){if(typeof e=="function")return e(n,t);switch(e){case"pathParamsChange":return!fe(n.url,t.url);case"pathParamsOrQueryParamsChange":return!fe(n.url,t.url)||!q(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sr(n,t)||!q(n.queryParams,t.queryParams);default:return!sr(n,t)}}function at(n,t,e){let r=Ae(n),i=n.value;Object.entries(r).forEach(([o,s])=>{i.component?t?at(s,t.children.getContext(o),e):at(s,null,e):at(s,t,e)}),i.component?t&&t.outlet&&t.outlet.isActivated?e.canDeactivateChecks.push(new xe(t.outlet.component,i)):e.canDeactivateChecks.push(new xe(null,i)):e.canDeactivateChecks.push(new xe(null,i))}function wt(n){return typeof n=="function"}function ga(n){return typeof n=="boolean"}function ma(n){return n&&wt(n.canLoad)}function va(n){return n&&wt(n.canActivate)}function ya(n){return n&&wt(n.canActivateChild)}function wa(n){return n&&wt(n.canDeactivate)}function ba(n){return n&&wt(n.canMatch)}function bo(n){return n instanceof Er||n?.name==="EmptyError"}var qt=Symbol("INITIAL_VALUE");function je(){return P(n=>bn(n.map(t=>t.pipe(be(1),Mr(qt)))).pipe(y(t=>{for(let e of t)if(e!==!0){if(e===qt)return qt;if(e===!1||Ra(e))return e}return!0}),Z(t=>t!==qt),be(1)))}function Ra(n){return Ne(n)||n instanceof Ue}function Ea(n,t){return z(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?p(U(d({},e),{guardsResult:!0})):Ta(s,r,i,n).pipe(z(a=>a&&ga(a)?Ca(r,o,n,t):p(a)),y(a=>U(d({},e),{guardsResult:a})))})}function Ta(n,t,e,r){return F(n).pipe(z(i=>Ia(i.component,i.route,e,t,r)),te(i=>i!==!0,!0))}function Ca(n,t,e,r){return F(t).pipe(ue(i=>Tr(Ma(i.route.parent,r),Sa(i.route,r),_a(n,i.path,e),Oa(n,i.route,e))),te(i=>i!==!0,!0))}function Sa(n,t){return n!==null&&t&&t(new sn(n)),p(!0)}function Ma(n,t){return n!==null&&t&&t(new rn(n)),p(!0)}function Oa(n,t,e){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return p(!0);let i=r.map(o=>Tt(()=>{let s=Fe(t)??e,a=$e(o,s),c=va(a)?a.canActivate(t,n):N(s,()=>a(t,n));return Q(c).pipe(te())}));return p(i).pipe(je())}function _a(n,t,e){let r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>ha(s)).filter(s=>s!==null).map(s=>Tt(()=>{let a=s.guards.map(c=>{let l=Fe(s.node)??e,u=$e(c,l),g=ya(u)?u.canActivateChild(r,n):N(l,()=>u(r,n));return Q(g).pipe(te())});return p(a).pipe(je())}));return p(o).pipe(je())}function Ia(n,t,e,r,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return p(!0);let s=o.map(a=>{let c=Fe(t)??i,l=$e(a,c),u=wa(l)?l.canDeactivate(n,t,e,r):N(c,()=>l(n,t,e,r));return Q(u).pipe(te())});return p(s).pipe(je())}function Pa(n,t,e,r){let i=t.canLoad;if(i===void 0||i.length===0)return p(!0);let o=i.map(s=>{let a=$e(s,n),c=ma(a)?a.canLoad(t,e):N(n,()=>a(t,e));return Q(c)});return p(o).pipe(je(),Ro(r))}function Ro(n){return br(_(t=>{if(typeof t!="boolean")throw dn(n,t)}),y(t=>t===!0))}function Aa(n,t,e,r){let i=t.canMatch;if(!i||i.length===0)return p(!0);let o=i.map(s=>{let a=$e(s,n),c=ba(a)?a.canMatch(t,e):N(n,()=>a(t,e));return Q(c)});return p(o).pipe(je(),Ro(r))}var gt=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},mt=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function Pe(n){return He(new gt(n))}function Da(n){return He(new E(4e3,!1))}function xa(n){return He(yo(!1,A.GuardRejected))}var lr=class{urlSerializer;urlTree;constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return p(r);if(i.numberOfChildren>1||!i.children[f])return Da(`${t.redirectTo}`);i=i.children[f]}}applyRedirectCommands(t,e,r,i,o){return Na(e,i,o).pipe(y(s=>{if(s instanceof W)throw new mt(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new mt(a);return a}))}applyRedirectCreateUrlTree(t,e,r,i){let o=this.createSegmentGroup(t,e.root,r,i);return new W(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){let r={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=e[a]}else r[i]=o}),r}createSegmentGroup(t,e,r,i){let o=this.createSegments(t,e.segments,r,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,i)}),new b(o,s)}createSegments(t,e,r,i){return e.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,e,r){let i=r[e.path.substring(1)];if(!i)throw new E(4001,!1);return i}findOrReturn(t,e){let r=0;for(let i of e){if(i.path===t.path)return e.splice(r),i;r++}return t}};function Na(n,t,e){if(typeof n=="string")return p(n);let r=n,{queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,params:l,data:u,title:g}=t;return Q(N(e,()=>r({params:l,data:u,queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,title:g})))}var ur={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function La(n,t,e,r,i){let o=Eo(n,t,e);return o.matched?(r=ra(t,r),Aa(r,t,e,i).pipe(y(s=>s===!0?o:d({},ur)))):p(o)}function Eo(n,t,e){if(t.path==="**")return ka(e);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||e.length>0)?d({},ur):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(t.matcher||Ji)(e,n,t);if(!i)return d({},ur);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?d(d({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ka(n){return{matched:!0,parameters:n.length>0?Ki(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function Wi(n,t,e,r){return e.length>0&&Fa(n,e,r)?{segmentGroup:new b(t,ja(r,new b(e,n.children))),slicedSegments:[]}:e.length===0&&za(n,e,r)?{segmentGroup:new b(n.segments,Ua(n,e,r,n.children)),slicedSegments:e}:{segmentGroup:new b(n.segments,n.children),slicedSegments:e}}function Ua(n,t,e,r){let i={};for(let o of e)if(gn(n,t,o)&&!r[H(o)]){let s=new b([],{});i[H(o)]=s}return d(d({},r),i)}function ja(n,t){let e={};e[f]=t;for(let r of n)if(r.path===""&&H(r)!==f){let i=new b([],{});e[H(r)]=i}return e}function Fa(n,t,e){return e.some(r=>gn(n,t,r)&&H(r)!==f)}function za(n,t,e){return e.some(r=>gn(n,t,r))}function gn(n,t,e){return(n.hasChildren()||t.length>0)&&e.pathMatch==="full"?!1:e.path===""}function $a(n,t,e){return t.length===0&&!n.children[e]}var dr=class{};function Ba(n,t,e,r,i,o,s="emptyOnly"){return new hr(n,t,e,r,i,s,o).recognize()}var Ha=31,hr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,e,r,i,o,s,a){this.injector=t,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new lr(this.urlSerializer,this.urlTree)}noMatchError(t){return new E(4002,`'${t.segmentGroup}'`)}recognize(){let t=Wi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(y(({children:e,rootSnapshot:r})=>{let i=new L(r,e),o=new pt("",i),s=ao(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let e=new ge([],Object.freeze({}),Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),f,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,f,e).pipe(y(r=>({children:r,rootSnapshot:e})),we(r=>{if(r instanceof mt)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof gt?this.noMatchError(r):r}))}processSegmentGroup(t,e,r,i,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,e,r,o):this.processSegment(t,e,r,r.segments,i,!0,o).pipe(y(s=>s instanceof L?[s]:[]))}processChildren(t,e,r,i){let o=[];for(let s of Object.keys(r.children))s==="primary"?o.unshift(s):o.push(s);return F(o).pipe(ue(s=>{let a=r.children[s],c=ia(e,s);return this.processSegmentGroup(t,c,a,s,i)}),Sr((s,a)=>(s.push(...a),s)),Rn(null),Cr(),z(s=>{if(s===null)return Pe(r);let a=To(s);return Va(a),p(a)}))}processSegment(t,e,r,i,o,s,a){return F(e).pipe(ue(c=>this.processSegmentAgainstRoute(c._injector??t,e,c,r,i,o,s,a).pipe(we(l=>{if(l instanceof gt)return p(null);throw l}))),te(c=>!!c),we(c=>{if(bo(c))return $a(r,i,o)?p(new dr):Pe(r);throw c}))}processSegmentAgainstRoute(t,e,r,i,o,s,a,c){return H(r)!==s&&(s===f||!gn(i,o,r))?Pe(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,r,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,i,e,r,o,s,c):Pe(i)}expandSegmentAgainstRouteUsingRedirect(t,e,r,i,o,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:g,remainingSegments:m}=Eo(e,i,o);if(!c)return Pe(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ha&&(this.allowRedirects=!1));let S=new ge(o,l,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Xi(i),H(i),i.component??i._loadedComponent??null,i,Zi(i)),M=un(S,a,this.paramsInheritanceStrategy);return S.params=Object.freeze(M.params),S.data=Object.freeze(M.data),this.applyRedirects.applyRedirectCommands(u,i.redirectTo,g,S,t).pipe(P(v=>this.applyRedirects.lineralizeSegments(i,v)),z(v=>this.processSegment(t,r,e,v.concat(m),s,!1,a)))}matchSegmentAgainstRoute(t,e,r,i,o,s){let a=La(e,r,i,t,this.urlSerializer);return r.path==="**"&&(e.children={}),a.pipe(P(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,i).pipe(P(({routes:l})=>{let u=r._loadedInjector??t,{parameters:g,consumedSegments:m,remainingSegments:S}=c,M=new ge(m,g,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Xi(r),H(r),r.component??r._loadedComponent??null,r,Zi(r)),$=un(M,s,this.paramsInheritanceStrategy);M.params=Object.freeze($.params),M.data=Object.freeze($.data);let{segmentGroup:v,slicedSegments:T}=Wi(e,m,S,l);if(T.length===0&&v.hasChildren())return this.processChildren(u,l,v,M).pipe(y(B=>new L(M,B)));if(l.length===0&&T.length===0)return p(new L(M,[]));let D=H(r)===o;return this.processSegment(u,l,v,T,D?f:o,!0,M).pipe(y(B=>new L(M,B instanceof L?[B]:[])))}))):Pe(e)))}getChildConfig(t,e,r){return e.children?p({routes:e.children,injector:t}):e.loadChildren?e._loadedRoutes!==void 0?p({routes:e._loadedRoutes,injector:e._loadedInjector}):Pa(t,e,r,this.urlSerializer).pipe(z(i=>i?this.configLoader.loadChildren(t,e).pipe(_(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):xa(e))):p({routes:[],injector:t})}};function Va(n){n.sort((t,e)=>t.value.outlet===f?-1:e.value.outlet===f?1:t.value.outlet.localeCompare(e.value.outlet))}function qa(n){let t=n.value.routeConfig;return t&&t.path===""}function To(n){let t=[],e=new Set;for(let r of n){if(!qa(r)){t.push(r);continue}let i=t.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):t.push(r)}for(let r of e){let i=To(r.children);t.push(new L(r.value,i))}return t.filter(r=>!e.has(r))}function Xi(n){return n.data||{}}function Zi(n){return n.resolve||{}}function Ga(n,t,e,r,i,o){return z(s=>Ba(n,t,e,r,s.extractedUrl,i,o).pipe(y(({state:a,tree:c})=>U(d({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Wa(n,t){return z(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return p(e);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of Co(c))s.add(l);let a=0;return F(s).pipe(ue(c=>o.has(c)?Xa(c,r,n,t):(c.data=un(c,c.parent,n).resolve,p(void 0))),_(()=>a++),En(1),z(c=>a===s.size?p(e):X))})}function Co(n){let t=n.children.map(e=>Co(e)).flat();return[n,...t]}function Xa(n,t,e,r){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!go(i)&&(o[vt]=i.title),Tt(()=>(n.data=un(n,n.parent,e).resolve,Za(o,n,t,r).pipe(y(s=>(n._resolvedData=s,n.data=d(d({},n.data),s),null)))))}function Za(n,t,e,r){let i=er(n);if(i.length===0)return p({});let o={};return F(i).pipe(z(s=>Ja(n[s],t,e,r).pipe(te(),_(a=>{if(a instanceof Ue)throw dn(new ve,a);o[s]=a}))),En(1),y(()=>o),we(s=>bo(s)?X:He(s)))}function Ja(n,t,e,r){let i=Fe(t)??r,o=$e(n,i),s=o.resolve?o.resolve(t,e):N(i,()=>o(t,e));return Q(s)}function Kn(n){return P(t=>{let e=n(t);return e?F(e).pipe(y(()=>t)):p(t)})}var vr=(()=>{class n{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===f);return r}getResolvedTitleForRoute(e){return e.data[vt]}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:()=>h(So),providedIn:"root"})}return n})(),So=(()=>{class n extends vr{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||n)(R(Bi))};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),bt=new C("",{providedIn:"root",factory:()=>({})}),Rt=new C(""),Mo=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(ti);loadComponent(e,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return p(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=Q(N(e,()=>r.loadComponent())).pipe(y(_o),P(Io),_(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Re(()=>{this.componentLoaders.delete(r)})),o=new wn(i,()=>new ee).pipe(yn());return this.componentLoaders.set(r,o),o}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return p({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Oo(r,this.compiler,e,this.onLoadEndListener).pipe(Re(()=>{this.childrenLoaders.delete(r)})),s=new wn(o,()=>new ee).pipe(yn());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Oo(n,t,e,r){return Q(N(e,()=>n.loadChildren())).pipe(y(_o),P(Io),z(i=>i instanceof Fr||Array.isArray(i)?p(i):F(t.compileModuleAsync(i))),y(i=>{r&&r(n);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(Rt,[],{optional:!0,self:!0}).flat()),{routes:s.map(mr),injector:o}}))}function Ya(n){return n&&typeof n=="object"&&"default"in n}function _o(n){return Ya(n)?n.default:n}function Io(n){return p(n)}var mn=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:()=>h(Ka),providedIn:"root"})}return n})(),Ka=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Po=new C("");var Ao=new C(""),Do=(()=>{class n{currentNavigation=In(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new ee;transitionAbortWithErrorSubject=new ee;configLoader=h(Mo);environmentInjector=h(de);destroyRef=h(Mn);urlSerializer=h(yt);rootContexts=h(ze);location=h(Pt);inputBindingEnabled=h(fn,{optional:!0})!==null;titleStrategy=h(vr);options=h(bt,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(mn);createViewTransition=h(Po,{optional:!0});navigationErrorHandler=h(Ao,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>p(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new tn(i)),r=i=>this.events.next(new nn(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;he(()=>{this.transitions?.next(U(d({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(e){return this.transitions=new j(null),this.transitions.pipe(Z(r=>r!==null),P(r=>{let i=!1;return p(r).pipe(P(o=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",A.SupersededByNewNavigation),X;this.currentTransition=r,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?U(d({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()});let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new K(o.id,this.urlSerializer.serialize(o.rawUrl),"",lt.IgnoredSameUrlNavigation)),o.resolve(!1),X;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return p(o).pipe(P(c=>(this.events.next(new ye(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?X:Promise.resolve(c))),Ga(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),_(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(u=>(u.finalUrl=c.urlAfterRedirects,u));let l=new ut(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:c,extractedUrl:l,source:u,restoredState:g,extras:m}=o,S=new ye(c,this.urlSerializer.serialize(l),u,g);this.events.next(S);let M=po(this.rootComponentType).snapshot;return this.currentTransition=r=U(d({},o),{targetSnapshot:M,urlAfterRedirects:l,extras:U(d({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update($=>($.finalUrl=l,$)),p(r)}else return this.events.next(new K(o.id,this.urlSerializer.serialize(o.extractedUrl),"",lt.IgnoredByUrlHandlingStrategy)),o.resolve(!1),X}),_(o=>{let s=new Yt(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),y(o=>(this.currentTransition=r=U(d({},o),{guards:da(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),r)),Ea(this.environmentInjector,o=>this.events.next(o)),_(o=>{if(r.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw dn(this.urlSerializer,o.guardsResult);let s=new Kt(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),Z(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",A.GuardRejected),!1)),Kn(o=>{if(o.guards.canActivateChecks.length!==0)return p(o).pipe(_(s=>{let a=new Qt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),P(s=>{let a=!1;return p(s).pipe(Wa(this.paramsInheritanceStrategy,this.environmentInjector),_({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",A.NoDataFromResolver)}}))}),_(s=>{let a=new en(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Kn(o=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let l=Fe(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(l,a.routeConfig).pipe(_(u=>{a.component=u}),y(()=>{})))}for(let l of a.children)c.push(...s(l));return c};return bn(s(o.targetSnapshot.root)).pipe(Rn(null),be(1))}),Kn(()=>this.afterPreactivation()),P(()=>{let{currentSnapshot:o,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?F(a).pipe(y(()=>r)):p(r)}),y(o=>{let s=sa(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=r=U(d({},o),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),_(()=>{this.events.next(new dt)}),ua(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),be(1),Tn(new Et(o=>{let s=r.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(Z(()=>!i&&!r.targetRouterState),_(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",A.Aborted)}))),_({next:o=>{i=!0,this.lastSuccessfulNavigation=he(this.currentNavigation),this.events.next(new Y(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{i=!0}}),Tn(this.transitionAbortWithErrorSubject.pipe(_(o=>{throw o}))),Re(()=>{i||this.cancelNavigationTransition(r,"",A.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),we(o=>{if(this.destroyed)return r.resolve(!1),X;if(i=!0,wo(o))this.events.next(new G(r.id,this.urlSerializer.serialize(r.extractedUrl),o.message,o.cancellationCode)),la(o)?this.events.next(new ke(o.url,o.navigationBehaviorOptions)):r.resolve(!1);else{let s=new Le(r.id,this.urlSerializer.serialize(r.extractedUrl),o,r.targetSnapshot??void 0);try{let a=N(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof Ue){let{message:c,cancellationCode:l}=dn(this.urlSerializer,a);this.events.next(new G(r.id,this.urlSerializer.serialize(r.extractedUrl),c,l)),this.events.next(new ke(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return X}))}))}cancelNavigationTransition(e,r,i){let o=new G(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=he(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Qa(n){return n!==st}var xo=(()=>{class n{static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:()=>h(ec),providedIn:"root"})}return n})(),pn=class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}},ec=(()=>{class n extends pn{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(n)))(i||n)}})();static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),No=(()=>{class n{urlSerializer=h(yt);options=h(bt,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h(Pt);urlHandlingStrategy=h(mn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new W;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=i??o;return s instanceof W?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=po(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:()=>h(tc),providedIn:"root"})}return n})(),tc=(()=>{class n extends No{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate")})})}handleRouterEvent(e,r){e instanceof ye?this.updateStateMemento():e instanceof K?this.commitTransition(r):e instanceof ut?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof dt?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof G&&e.code!==A.SupersededByNewNavigation&&e.code!==A.Redirect?this.restoreHistory(r):e instanceof Le?this.restoreHistory(r,!0):e instanceof Y&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:r,id:i}){let{replaceUrl:o,state:s}=r;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,c=d(d({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",c)}else{let a=d(d({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(n)))(i||n)}})();static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function yr(n,t){n.events.pipe(Z(e=>e instanceof Y||e instanceof G||e instanceof Le||e instanceof K),y(e=>e instanceof Y||e instanceof K?0:(e instanceof G?e.code===A.Redirect||e.code===A.SupersededByNewNavigation:!1)?2:1),Z(e=>e!==2),be(1)).subscribe(()=>{t()})}var nc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rc={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Be=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h($r);stateManager=h(No);options=h(bt,{optional:!0})||{};pendingTasks=h(Ar);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(Do);urlSerializer=h(yt);location=h(Pt);urlHandlingStrategy=h(mn);injector=h(de);_events=new ee;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(xo);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(Rt,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(fn,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new wr;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=he(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof G&&r.code!==A.Redirect&&r.code!==A.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Y)this.navigated=!0;else if(r instanceof ke){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=d({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Qa(i.source)},s);this.scheduleNavigation(a,st,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}na(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),st,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i)=>{this.navigateToSyncWithBrowser(e,i,r)})}navigateToSyncWithBrowser(e,r,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=d({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,r,s,o).catch(c=>{this.disposed||this.injector.get(_n)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return he(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(mr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=d(d({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}u!==null&&(u=this.removeEmptyProps(u));let g;try{let m=i?i.snapshot:this.routerState.snapshot.root;g=co(m)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),g=this.currentUrlTree.root}return lo(g,e,u,l??null)}navigateByUrl(e,r={skipLocationChange:!1}){let i=Ne(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,st,null,r)}navigate(e,r={skipLocationChange:!1}){return ic(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(Cn(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=d({},nc):r===!1?i=d({},rc):i=r,Ne(e))return Hi(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Hi(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}scheduleNavigation(e,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((g,m)=>{a=g,c=m});let u=this.pendingTasks.add();return yr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(g=>Promise.reject(g))}static \u0275fac=function(r){return new(r||n)};static \u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function ic(n){for(let t=0;t<n.length;t++)if(n[t]==null)throw new E(4008,!1)}var sc=new C("");function ac(n,...t){return Ct([{provide:Rt,multi:!0,useValue:n},[],{provide:ae,useFactory:cc,deps:[Be]},{provide:Hr,multi:!0,useFactory:lc},t.map(e=>e.\u0275providers)])}function cc(n){return n.routerState.root}function lc(){let n=h(Sn);return t=>{let e=n.get(Vr);if(t!==e.components[0])return;let r=n.get(Be),i=n.get(uc);n.get(dc)===1&&r.initialNavigation(),n.get(hc,null,{optional:!0})?.setUpPreloading(),n.get(sc,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var uc=new C("",{factory:()=>new ee}),dc=new C("",{providedIn:"root",factory:()=>1});var hc=new C("");var Lo=class n{static isArray(t,e=!0){return Array.isArray(t)&&(e||t.length!==0)}static isObject(t,e=!0){return typeof t=="object"&&!Array.isArray(t)&&t!=null&&(e||Object.keys(t).length!==0)}static equals(t,e,r){return r?this.resolveFieldData(t,r)===this.resolveFieldData(e,r):this.equalsByValue(t,e)}static equalsByValue(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){var r=Array.isArray(t),i=Array.isArray(e),o,s,a;if(r&&i){if(s=t.length,s!=e.length)return!1;for(o=s;o--!==0;)if(!this.equalsByValue(t[o],e[o]))return!1;return!0}if(r!=i)return!1;var c=this.isDate(t),l=this.isDate(e);if(c!=l)return!1;if(c&&l)return t.getTime()==e.getTime();var u=t instanceof RegExp,g=e instanceof RegExp;if(u!=g)return!1;if(u&&g)return t.toString()==e.toString();var m=Object.keys(t);if(s=m.length,s!==Object.keys(e).length)return!1;for(o=s;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,m[o]))return!1;for(o=s;o--!==0;)if(a=m[o],!this.equalsByValue(t[a],e[a]))return!1;return!0}return t!==t&&e!==e}static resolveFieldData(t,e){if(t&&e){if(this.isFunction(e))return e(t);if(e.indexOf(".")==-1)return t[e];{let r=e.split("."),i=t;for(let o=0,s=r.length;o<s;++o){if(i==null)return null;i=i[r[o]]}return i}}else return null}static isFunction(t){return!!(t&&t.constructor&&t.call&&t.apply)}static reorderArray(t,e,r){let i;t&&e!==r&&(r>=t.length&&(r%=t.length,e%=t.length),t.splice(r,0,t.splice(e,1)[0]))}static insertIntoOrderedArray(t,e,r,i){if(r.length>0){let o=!1;for(let s=0;s<r.length;s++)if(this.findIndexInList(r[s],i)>e){r.splice(s,0,t),o=!0;break}o||r.push(t)}else r.push(t)}static findIndexInList(t,e){let r=-1;if(e){for(let i=0;i<e.length;i++)if(e[i]==t){r=i;break}}return r}static contains(t,e){if(t!=null&&e&&e.length){for(let r of e)if(this.equals(t,r))return!0}return!1}static removeAccents(t){return t&&(t=t.normalize("NFKD").replace(new RegExp("\\p{Diacritic}","gu"),"")),t}static isDate(t){return Object.prototype.toString.call(t)==="[object Date]"}static isEmpty(t){return t==null||t===""||Array.isArray(t)&&t.length===0||!this.isDate(t)&&typeof t=="object"&&Object.keys(t).length===0}static isNotEmpty(t){return!this.isEmpty(t)}static compare(t,e,r,i=1){let o=-1,s=this.isEmpty(t),a=this.isEmpty(e);return s&&a?o=0:s?o=i:a?o=-i:typeof t=="string"&&typeof e=="string"?o=t.localeCompare(e,r,{numeric:!0}):o=t<e?-1:t>e?1:0,o}static sort(t,e,r=1,i,o=1){let s=n.compare(t,e,i,r),a=r;return(n.isEmpty(t)||n.isEmpty(e))&&(a=o===1?r:o),a*s}static merge(t,e){if(!(t==null&&e==null)){{if((t==null||typeof t=="object")&&(e==null||typeof e=="object"))return d(d({},t||{}),e||{});if((t==null||typeof t=="string")&&(e==null||typeof e=="string"))return[t||"",e||""].join(" ")}return e||t}}static isPrintableCharacter(t=""){return this.isNotEmpty(t)&&t.length===1&&t.match(/\S| /)}static getItemValue(t,...e){return this.isFunction(t)?t(...e):t}static findLastIndex(t,e){let r=-1;if(this.isNotEmpty(t))try{r=t.findLastIndex(e)}catch{r=t.lastIndexOf([...t].reverse().find(e))}return r}static findLast(t,e){let r;if(this.isNotEmpty(t))try{r=t.findLast(e)}catch{r=[...t].reverse().find(e)}return r}static deepEquals(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){var r=Array.isArray(t),i=Array.isArray(e),o,s,a;if(r&&i){if(s=t.length,s!=e.length)return!1;for(o=s;o--!==0;)if(!this.deepEquals(t[o],e[o]))return!1;return!0}if(r!=i)return!1;var c=t instanceof Date,l=e instanceof Date;if(c!=l)return!1;if(c&&l)return t.getTime()==e.getTime();var u=t instanceof RegExp,g=e instanceof RegExp;if(u!=g)return!1;if(u&&g)return t.toString()==e.toString();var m=Object.keys(t);if(s=m.length,s!==Object.keys(e).length)return!1;for(o=s;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,m[o]))return!1;for(o=s;o--!==0;)if(a=m[o],!this.deepEquals(t[a],e[a]))return!1;return!0}return t!==t&&e!==e}static minifyCSS(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}static toFlatCase(t){return this.isString(t)?t.replace(/(-|_)/g,"").toLowerCase():t}static isString(t,e=!0){return typeof t=="string"&&(e||t!=="")}},ko=0;function zu(n="pn_id_"){return ko++,`${n}${ko}`}function fc(){let n=[],t=(o,s)=>{let a=n.length>0?n[n.length-1]:{key:o,value:s},c=a.value+(a.key===o?0:s)+2;return n.push({key:o,value:c}),c},e=o=>{n=n.filter(s=>s.value!==o)},r=()=>n.length>0?n[n.length-1].value:0,i=o=>o&&parseInt(o.style.zIndex,10)||0;return{get:i,set:(o,s,a)=>{s&&(s.style.zIndex=String(t(o,a)))},clear:o=>{o&&(e(i(o)),o.style.zIndex="")},getCurrent:()=>r(),generateZIndex:t,revertZIndex:e}}var vn=fc();var Uo=`
|
|
.p-tooltip {
|
|
position: absolute;
|
|
display: none;
|
|
max-width: dt('tooltip.max.width');
|
|
}
|
|
|
|
.p-tooltip-right,
|
|
.p-tooltip-left {
|
|
padding: 0 dt('tooltip.gutter');
|
|
}
|
|
|
|
.p-tooltip-top,
|
|
.p-tooltip-bottom {
|
|
padding: dt('tooltip.gutter') 0;
|
|
}
|
|
|
|
.p-tooltip-text {
|
|
white-space: pre-line;
|
|
word-break: break-word;
|
|
background: dt('tooltip.background');
|
|
color: dt('tooltip.color');
|
|
padding: dt('tooltip.padding');
|
|
box-shadow: dt('tooltip.shadow');
|
|
border-radius: dt('tooltip.border.radius');
|
|
}
|
|
|
|
.p-tooltip-arrow {
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
border-color: transparent;
|
|
border-style: solid;
|
|
}
|
|
|
|
.p-tooltip-right .p-tooltip-arrow {
|
|
margin-top: calc(-1 * dt('tooltip.gutter'));
|
|
border-width: dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter') 0;
|
|
border-right-color: dt('tooltip.background');
|
|
}
|
|
|
|
.p-tooltip-left .p-tooltip-arrow {
|
|
margin-top: calc(-1 * dt('tooltip.gutter'));
|
|
border-width: dt('tooltip.gutter') 0 dt('tooltip.gutter') dt('tooltip.gutter');
|
|
border-left-color: dt('tooltip.background');
|
|
}
|
|
|
|
.p-tooltip-top .p-tooltip-arrow {
|
|
margin-left: calc(-1 * dt('tooltip.gutter'));
|
|
border-width: dt('tooltip.gutter') dt('tooltip.gutter') 0 dt('tooltip.gutter');
|
|
border-top-color: dt('tooltip.background');
|
|
border-bottom-color: dt('tooltip.background');
|
|
}
|
|
|
|
.p-tooltip-bottom .p-tooltip-arrow {
|
|
margin-left: calc(-1 * dt('tooltip.gutter'));
|
|
border-width: 0 dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter');
|
|
border-top-color: dt('tooltip.background');
|
|
border-bottom-color: dt('tooltip.background');
|
|
}
|
|
`;var gc={root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"},jo=(()=>{class n extends mi{name="tooltip";style=Uo;classes=gc;static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ve(n)))(i||n)}})();static \u0275prov=w({token:n,factory:n.\u0275fac})}return n})();var Fo=new C("TOOLTIP_INSTANCE"),zo=(()=>{class n extends yi{zone;viewContainer;$pcTooltip=h(Fo,{optional:!0,skipSelf:!0})??void 0;tooltipPosition;tooltipEvent="hover";positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;content;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.deactivate()}tooltipOptions;appendTo=re(void 0);$appendTo=ni(()=>this.appendTo()||this.config.overlayAppendTo());_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,id:gi("pn_id_")+"_tooltip"};_disabled;container;styleClass;tooltipText;rootPTClasses="";showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;documentEscapeListener;scrollHandler;resizeListener;_componentStyle=h(jo);interactionInProgress=!1;ptTooltip=re();constructor(e,r){super(),this.zone=e,this.viewContainer=r,ri(()=>{this.ptTooltip()&&this.directivePT.set(this.ptTooltip())})}onAfterViewInit(){li(this.platformId)&&this.zone.runOutsideAngular(()=>{let e=this.getOption("tooltipEvent");if((e==="hover"||e==="both")&&(this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener)),e==="focus"||e==="both"){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let r=this.el.nativeElement.querySelector(".p-component");r||(r=this.getTarget(this.el.nativeElement)),r.addEventListener("focus",this.focusListener),r.addEventListener("blur",this.blurListener)}})}onChanges(e){e.tooltipPosition&&this.setOption({tooltipPosition:e.tooltipPosition.currentValue}),e.tooltipEvent&&this.setOption({tooltipEvent:e.tooltipEvent.currentValue}),e.appendTo&&this.setOption({appendTo:e.appendTo.currentValue}),e.positionStyle&&this.setOption({positionStyle:e.positionStyle.currentValue}),e.tooltipStyleClass&&this.setOption({tooltipStyleClass:e.tooltipStyleClass.currentValue}),e.tooltipZIndex&&this.setOption({tooltipZIndex:e.tooltipZIndex.currentValue}),e.escape&&this.setOption({escape:e.escape.currentValue}),e.showDelay&&this.setOption({showDelay:e.showDelay.currentValue}),e.hideDelay&&this.setOption({hideDelay:e.hideDelay.currentValue}),e.life&&this.setOption({life:e.life.currentValue}),e.positionTop&&this.setOption({positionTop:e.positionTop.currentValue}),e.positionLeft&&this.setOption({positionLeft:e.positionLeft.currentValue}),e.disabled&&this.setOption({disabled:e.disabled.currentValue}),e.content&&(this.setOption({tooltipLabel:e.content.currentValue}),this.active&&(e.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),e.autoHide&&this.setOption({autoHide:e.autoHide.currentValue}),e.id&&this.setOption({id:e.id.currentValue}),e.tooltipOptions&&(this._tooltipOptions=d(d({},this._tooltipOptions),e.tooltipOptions.currentValue),this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(e){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(e){this.isAutoHide()?this.deactivate():!(Ze(e.relatedTarget,"p-tooltip")||Ze(e.relatedTarget,"p-tooltip-text")||Ze(e.relatedTarget,"p-tooltip-arrow"))&&this.deactivate()}onFocus(e){this.activate()}onBlur(e){this.deactivate()}onInputClick(e){this.deactivate()}activate(){if(!this.interactionInProgress){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let e=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},e)}this.getOption("hideOnEscape")&&(this.documentEscapeListener=this.renderer.listen("document","keydown.escape",()=>{this.deactivate(),this.documentEscapeListener?.()})),this.interactionInProgress=!0}}deactivate(){this.interactionInProgress=!1,this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide(),this.documentEscapeListener&&this.documentEscapeListener()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=xt("div",{class:this.cx("root"),role:"tooltip","p-bind":this.ptm("root"),"data-pc-section":"root"});let e=xt("div",{class:"p-tooltip-arrow","p-bind":this.ptm("arrow"),"data-pc-section":"arrow"});this.container.appendChild(e),this.tooltipText=xt("div",{class:"p-tooltip-text","p-bind":this.ptm("text"),"data-pc-section":"text"}),this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),this.getOption("appendTo")==="body"?document.body.appendChild(this.container):this.getOption("appendTo")==="target"?kn(this.container,this.el.nativeElement):kn(this.getOption("appendTo"),this.container),this.container.style.display="none",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){if(!this.containerMouseleaveListener){let e=this.container??this.container.nativeElement;this.containerMouseleaveListener=this.renderer.listen(e,"mouseleave",r=>{this.deactivate()})}}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){if(!this.getOption("tooltipLabel")||this.getOption("disabled"))return;this.create(),this.el.nativeElement.closest("p-dialog")?setTimeout(()=>{this.container&&(this.container.style.display="inline-block"),this.container&&this.align()},100):(this.container.style.display="inline-block",this.align()),pi(this.container,250),this.getOption("tooltipZIndex")==="auto"?vn.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener()}hide(){this.getOption("tooltipZIndex")==="auto"&&vn.clear(this.container),this.remove()}updateText(){let e=this.getOption("tooltipLabel");if(e&&typeof e.createEmbeddedView=="function"){let r=this.viewContainer.createEmbeddedView(e);r.detectChanges(),r.rootNodes.forEach(i=>this.tooltipText.appendChild(i))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(e))):this.tooltipText.innerHTML=e}align(){let e=this.getOption("tooltipPosition"),i={top:[this.alignTop,this.alignBottom,this.alignRight,this.alignLeft],bottom:[this.alignBottom,this.alignTop,this.alignRight,this.alignLeft],left:[this.alignLeft,this.alignRight,this.alignTop,this.alignBottom],right:[this.alignRight,this.alignLeft,this.alignTop,this.alignBottom]}[e]||[];for(let[o,s]of i.entries())if(o===0)s.call(this);else if(this.isOutOfBounds())s.call(this);else break}getHostOffset(){if(this.getOption("appendTo")==="body"||this.getOption("appendTo")==="target"){let e=this.el.nativeElement.getBoundingClientRect(),r=e.left+di(),i=e.top+hi();return{left:r,top:i}}else return{left:0,top:0}}get activeElement(){return this.el.nativeElement.nodeName.startsWith("P-")?Nt(this.el.nativeElement,".p-component"):this.el.nativeElement}alignRight(){this.preAlign("right");let e=this.activeElement,r=V(e),i=(ie(e)-ie(this.container))/2;this.alignTooltip(r,i);let o=this.getArrowElement();o.style.top="50%",o.style.right=null,o.style.bottom=null,o.style.left="0"}alignLeft(){this.preAlign("left");let e=this.getArrowElement(),r=V(this.container),i=(ie(this.el.nativeElement)-ie(this.container))/2;this.alignTooltip(-r,i),e.style.top="50%",e.style.right="0",e.style.bottom=null,e.style.left=null}alignTop(){this.preAlign("top");let e=this.getArrowElement(),r=this.getHostOffset(),i=V(this.container),o=(V(this.el.nativeElement)-V(this.container))/2,s=ie(this.container);this.alignTooltip(o,-s);let a=r.left-this.getHostOffset().left+i/2;e.style.top=null,e.style.right=null,e.style.bottom="0",e.style.left=a+"px"}getArrowElement(){return Nt(this.container,'[data-pc-section="arrow"]')}alignBottom(){this.preAlign("bottom");let e=this.getArrowElement(),r=V(this.container),i=this.getHostOffset(),o=(V(this.el.nativeElement)-V(this.container))/2,s=ie(this.el.nativeElement);this.alignTooltip(o,s);let a=i.left-this.getHostOffset().left+r/2;e.style.top="0",e.style.right=null,e.style.bottom=null,e.style.left=a+"px"}alignTooltip(e,r){let i=this.getHostOffset(),o=i.left+e,s=i.top+r;this.container.style.left=o+this.getOption("positionLeft")+"px",this.container.style.top=s+this.getOption("positionTop")+"px"}setOption(e){this._tooltipOptions=d(d({},this._tooltipOptions),e)}getOption(e){return this._tooltipOptions[e]}getTarget(e){return Ze(e,"p-inputwrapper")?Nt(e,"input"):e}preAlign(e){this.container.style.left="-999px",this.container.style.top="-999px",this.container.className=this.cn(this.cx("root"),this.ptm("root")?.class,"p-tooltip-"+e,this.getOption("tooltipStyleClass"))}isOutOfBounds(){let e=this.container.getBoundingClientRect(),r=e.top,i=e.left,o=V(this.container),s=ie(this.container),a=ui();return i+o>a.width||i<0||r<0||r+s>a.height}onWindowResize(e){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new wi(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){let e=this.getOption("tooltipEvent");if((e==="hover"||e==="both")&&(this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener)),e==="focus"||e==="both"){let r=this.el.nativeElement.querySelector(".p-component");r||(r=this.getTarget(this.el.nativeElement)),r.removeEventListener("focus",this.focusListener),r.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&(this.getOption("appendTo")==="body"?document.body.removeChild(this.container):this.getOption("appendTo")==="target"?this.el.nativeElement.removeChild(this.container):fi(this.getOption("appendTo"),this.container)),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}onDestroy(){this.unbindEvents(),this.container&&vn.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.documentEscapeListener&&this.documentEscapeListener()}static \u0275fac=function(r){return new(r||n)(Nn(ne),Nn(Mt))};static \u0275dir=_t({type:n,selectors:[["","pTooltip",""]],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:[2,"escape","escape",Te],showDelay:[2,"showDelay","showDelay",Ce],hideDelay:[2,"hideDelay","hideDelay",Ce],life:[2,"life","life",Ce],positionTop:[2,"positionTop","positionTop",Ce],positionLeft:[2,"positionLeft","positionLeft",Ce],autoHide:[2,"autoHide","autoHide",Te],fitContent:[2,"fitContent","fitContent",Te],hideOnEscape:[2,"hideOnEscape","hideOnEscape",Te],content:[0,"pTooltip","content"],disabled:[0,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions",appendTo:[1,"appendTo"],ptTooltip:[1,"ptTooltip"]},features:[ei([jo,{provide:Fo,useExisting:n},{provide:vi,useExisting:n}]),zr]})}return n})();var mc=["*"];function vc(n,t){if(n&1){let e=Wr();Ge(0,"p-button",9),Xr("click",function(){Ir(e);let i=Zr();return Pr(i.router.navigate(["/"]))}),We()}}var $o=class n{title=re.required();router=h(Be);noHomeButton=re(!1);static \u0275fac=function(e){return new(e||n)};static \u0275cmp=Ot({type:n,selectors:[["app-base"]],inputs:{title:[1,"title"],noHomeButton:[1,"noHomeButton"]},ngContentSelectors:mc,decls:11,vars:2,consts:[[1,"min-h-screen","flex","items-center","justify-center","p-4"],[1,"border-2","rounded-2xl","bg-gray-100/50","drop-shadow-2xl","w-full","mx-auto","p-4",2,"max-width","800px"],[1,"flex","justify-between","items-center"],[1,"flex","items-center","gap-2","w-full"],[1,"text-2xl","font-bold"],[1,"flex","items-center","gap-2"],["icon","fa fa-home","text","","rounded","","outlined","","pTooltip","Home","tooltipPosition","left"],[1,"my-4"],[1,"mt-4"],["icon","fa fa-home","text","","rounded","","outlined","","pTooltip","Home","tooltipPosition","left",3,"click"]],template:function(e,r){e&1&&(Jr(),Ge(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),Kr(5),We()(),Ge(6,"div",5),qr(7,vc,1,0,"p-button",6),We()(),It(8,"hr",7),Ge(9,"div",8),Yr(10),We()()()),e&2&&(xn(5),Qr(r.title()),xn(2),Gr(r.noHomeButton()?-1:7))},dependencies:[bi,zo],styles:['*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type=button]), input[_ngcontent-%COMP%]:where([type=reset]), input[_ngcontent-%COMP%]:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]:where(:not([hidden=until-found])){display:none}.visible[_ngcontent-%COMP%]{visibility:visible}.absolute[_ngcontent-%COMP%]{position:absolute}.col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.my-4[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}.mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.ml-auto[_ngcontent-%COMP%]{margin-left:auto}.mr-auto[_ngcontent-%COMP%]{margin-right:auto}.mt-4[_ngcontent-%COMP%]{margin-top:1rem}.line-clamp-2[_ngcontent-%COMP%]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block[_ngcontent-%COMP%]{display:block}.flex[_ngcontent-%COMP%]{display:flex}.table[_ngcontent-%COMP%]{display:table}.grid[_ngcontent-%COMP%]{display:grid}.h-16[_ngcontent-%COMP%]{height:4rem}.h-32[_ngcontent-%COMP%]{height:8rem}.min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.w-16[_ngcontent-%COMP%]{width:4rem}.w-32[_ngcontent-%COMP%]{width:8rem}.w-full[_ngcontent-%COMP%]{width:100%}.transform[_ngcontent-%COMP%]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col[_ngcontent-%COMP%]{flex-direction:column}.items-center[_ngcontent-%COMP%]{align-items:center}.justify-center[_ngcontent-%COMP%]{justify-content:center}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.gap-2[_ngcontent-%COMP%]{gap:.5rem}.gap-4[_ngcontent-%COMP%]{gap:1rem}.truncate[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded[_ngcontent-%COMP%]{border-radius:.25rem}.rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.border[_ngcontent-%COMP%]{border-width:1px}.border-2[_ngcontent-%COMP%]{border-width:2px}.bg-gray-100\\/50[_ngcontent-%COMP%]{background-color:#f3f4f680}.bg-red-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-1[_ngcontent-%COMP%]{padding:.25rem}.p-2[_ngcontent-%COMP%]{padding:.5rem}.p-4[_ngcontent-%COMP%]{padding:1rem}.p-8[_ngcontent-%COMP%]{padding:2rem}.pt-4[_ngcontent-%COMP%]{padding-top:1rem}.text-center[_ngcontent-%COMP%]{text-align:center}.text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.font-bold[_ngcontent-%COMP%]{font-weight:700}.italic[_ngcontent-%COMP%]{font-style:italic}.text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.drop-shadow[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-2xl[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 25px 25px rgb(0 0 0 / .15));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg[_ngcontent-%COMP%]{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter[_ngcontent-%COMP%]{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.text-muted-color[_ngcontent-%COMP%]{color:var(--p-text-muted-color)}@keyframes _ngcontent-%COMP%_enter{0%{opacity:var(--p-enter-opacity, 1);transform:translate3d(var(--p-enter-translate-x, 0),var(--p-enter-translate-y, 0),0) scale3d(var(--p-enter-scale, 1),var(--p-enter-scale, 1),var(--p-enter-scale, 1)) rotate(var(--p-enter-rotate, 0))}}@keyframes _ngcontent-%COMP%_leave{to{opacity:var(--p-leave-opacity, 1);transform:translate3d(var(--p-leave-translate-x, 0),var(--p-leave-translate-y, 0),0) scale3d(var(--p-leave-scale, 1),var(--p-leave-scale, 1),var(--p-leave-scale, 1)) rotate(var(--p-leave-rotate, 0))}}.hover\\:text-blue-700[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}@media(min-width:640px){.sm\\:grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}}']})};export{Vn as a,ts as b,oe as c,$t as d,Oe as e,Ui as f,Ps as g,ae as h,fr as i,Be as j,ac as k,Lo as l,zu as m,vn as n,zo as o,$o as p};
|