"use strict";(self.webpackChunkkinetix_frontend=self.webpackChunkkinetix_frontend||[]).push([[792],{259:(ft,ge,H)=>{var _=H(661),I=H(690);class de extends _.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class X extends de{static makeCurrent(){(0,_.ZD)(new X)}onAndCancel(c,a,l){return c.addEventListener(a,l),()=>{c.removeEventListener(a,l)}}dispatchEvent(c,a){c.dispatchEvent(a)}remove(c){c.parentNode&&c.parentNode.removeChild(c)}createElement(c,a){return(a=a||this.getDefaultDocument()).createElement(c)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(c){return c.nodeType===Node.ELEMENT_NODE}isShadowRoot(c){return c instanceof DocumentFragment}getGlobalEventTarget(c,a){return"window"===a?window:"document"===a?c:"body"===a?c.body:null}getBaseHref(c){const a=function q(){return W=W||document.querySelector("base"),W?W.getAttribute("href"):null}();return null==a?null:function We(s){return new URL(s,document.baseURI).pathname}(a)}resetBaseElement(){W=null}getUserAgent(){return window.navigator.userAgent}getCookie(c){return(0,_._b)(document.cookie,c)}}let W=null,Se=(()=>{class s{build(){return new XMLHttpRequest}static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac})}}return s})();const Z=new I.nKC("");let V=(()=>{class s{constructor(a,l){this._zone=l,this._eventNameToPlugin=new Map,a.forEach(p=>{p.manager=this}),this._plugins=a.slice().reverse()}addEventListener(a,l,p){return this._findPluginFor(l).addEventListener(a,l,p)}getZone(){return this._zone}_findPluginFor(a){let l=this._eventNameToPlugin.get(a);if(l)return l;if(l=this._plugins.find(v=>v.supports(a)),!l)throw new I.wOt(5101,!1);return this._eventNameToPlugin.set(a,l),l}static{this.\u0275fac=function(l){return new(l||s)(I.KVO(Z),I.KVO(I.SKi))}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac})}}return s})();class Y{constructor(c){this._doc=c}}const Ue="ng-app-id";let ce=(()=>{class s{constructor(a,l,p,v={}){this.doc=a,this.appId=l,this.nonce=p,this.platformId=v,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,_.Vy)(v),this.resetHostNodes()}addStyles(a){for(const l of a)1===this.changeUsageCount(l,1)&&this.onStyleAdded(l)}removeStyles(a){for(const l of a)this.changeUsageCount(l,-1)<=0&&this.onStyleRemoved(l)}ngOnDestroy(){const a=this.styleNodesInDOM;a&&(a.forEach(l=>l.remove()),a.clear());for(const l of this.getAllStyles())this.onStyleRemoved(l);this.resetHostNodes()}addHost(a){this.hostNodes.add(a);for(const l of this.getAllStyles())this.addStyleToHost(a,l)}removeHost(a){this.hostNodes.delete(a)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(a){for(const l of this.hostNodes)this.addStyleToHost(l,a)}onStyleRemoved(a){const l=this.styleRef;l.get(a)?.elements?.forEach(p=>p.remove()),l.delete(a)}collectServerRenderedStyles(){const a=this.doc.head?.querySelectorAll(`style[${Ue}="${this.appId}"]`);if(a?.length){const l=new Map;return a.forEach(p=>{null!=p.textContent&&l.set(p.textContent,p)}),l}return null}changeUsageCount(a,l){const p=this.styleRef;if(p.has(a)){const v=p.get(a);return v.usage+=l,v.usage}return p.set(a,{usage:l,elements:[]}),l}getStyleElement(a,l){const p=this.styleNodesInDOM,v=p?.get(l);if(v?.parentNode===a)return p.delete(l),v.removeAttribute(Ue),v;{const w=this.doc.createElement("style");return this.nonce&&w.setAttribute("nonce",this.nonce),w.textContent=l,this.platformIsServer&&w.setAttribute(Ue,this.appId),a.appendChild(w),w}}addStyleToHost(a,l){const p=this.getStyleElement(a,l),v=this.styleRef,w=v.get(l)?.elements;w?w.push(p):v.set(l,{elements:[p],usage:1})}resetHostNodes(){const a=this.hostNodes;a.clear(),a.add(this.doc.head)}static{this.\u0275fac=function(l){return new(l||s)(I.KVO(_.qQ),I.KVO(I.sZ2),I.KVO(I.BIS,8),I.KVO(I.Agw))}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac})}}return s})();const Le={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"},Qt=/%COMP%/g,it=new I.nKC("",{providedIn:"root",factory:()=>!0});function pt(s,c){return c.map(a=>a.replace(Qt,s))}let Zt=(()=>{class s{constructor(a,l,p,v,w,T,M,R=null){this.eventManager=a,this.sharedStylesHost=l,this.appId=p,this.removeStylesOnCompDestroy=v,this.doc=w,this.platformId=T,this.ngZone=M,this.nonce=R,this.rendererByCompId=new Map,this.platformIsServer=(0,_.Vy)(T),this.defaultRenderer=new et(a,w,M,this.platformIsServer)}createRenderer(a,l){if(!a||!l)return this.defaultRenderer;this.platformIsServer&&l.encapsulation===I.gXe.ShadowDom&&(l={...l,encapsulation:I.gXe.Emulated});const p=this.getOrCreateRenderer(a,l);return p instanceof Wo?p.applyToHost(a):p instanceof Go&&p.applyStyles(),p}getOrCreateRenderer(a,l){const p=this.rendererByCompId;let v=p.get(l.id);if(!v){const w=this.doc,T=this.ngZone,M=this.eventManager,R=this.sharedStylesHost,L=this.removeStylesOnCompDestroy,G=this.platformIsServer;switch(l.encapsulation){case I.gXe.Emulated:v=new Wo(M,R,l,this.appId,L,w,T,G);break;case I.gXe.ShadowDom:return new wa(M,R,a,l,w,T,this.nonce,G);default:v=new Go(M,R,l,L,w,T,G)}p.set(l.id,v)}return v}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(l){return new(l||s)(I.KVO(V),I.KVO(ce),I.KVO(I.sZ2),I.KVO(it),I.KVO(_.qQ),I.KVO(I.Agw),I.KVO(I.SKi),I.KVO(I.BIS))}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac})}}return s})();class et{constructor(c,a,l,p){this.eventManager=c,this.doc=a,this.ngZone=l,this.platformIsServer=p,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(c,a){return a?this.doc.createElementNS(Le[a]||a,c):this.doc.createElement(c)}createComment(c){return this.doc.createComment(c)}createText(c){return this.doc.createTextNode(c)}appendChild(c,a){(Ke(c)?c.content:c).appendChild(a)}insertBefore(c,a,l){c&&(Ke(c)?c.content:c).insertBefore(a,l)}removeChild(c,a){c&&c.removeChild(a)}selectRootElement(c,a){let l="string"==typeof c?this.doc.querySelector(c):c;if(!l)throw new I.wOt(-5104,!1);return a||(l.textContent=""),l}parentNode(c){return c.parentNode}nextSibling(c){return c.nextSibling}setAttribute(c,a,l,p){if(p){a=p+":"+a;const v=Le[p];v?c.setAttributeNS(v,a,l):c.setAttribute(a,l)}else c.setAttribute(a,l)}removeAttribute(c,a,l){if(l){const p=Le[l];p?c.removeAttributeNS(p,a):c.removeAttribute(`${l}:${a}`)}else c.removeAttribute(a)}addClass(c,a){c.classList.add(a)}removeClass(c,a){c.classList.remove(a)}setStyle(c,a,l,p){p&(I.czy.DashCase|I.czy.Important)?c.style.setProperty(a,l,p&I.czy.Important?"important":""):c.style[a]=l}removeStyle(c,a,l){l&I.czy.DashCase?c.style.removeProperty(a):c.style[a]=""}setProperty(c,a,l){null!=c&&(c[a]=l)}setValue(c,a){c.nodeValue=a}listen(c,a,l){if("string"==typeof c&&!(c=(0,_.QT)().getGlobalEventTarget(this.doc,c)))throw new Error(`Unsupported event target ${c} for event ${a}`);return this.eventManager.addEventListener(c,a,this.decoratePreventDefault(l))}decoratePreventDefault(c){return a=>{if("__ngUnwrap__"===a)return c;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>c(a)):c(a))&&a.preventDefault()}}}function Ke(s){return"TEMPLATE"===s.tagName&&void 0!==s.content}class wa extends et{constructor(c,a,l,p,v,w,T,M){super(c,v,w,M),this.sharedStylesHost=a,this.hostEl=l,this.shadowRoot=l.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const R=pt(p.id,p.styles);for(const L of R){const G=document.createElement("style");T&&G.setAttribute("nonce",T),G.textContent=L,this.shadowRoot.appendChild(G)}}nodeOrShadowRoot(c){return c===this.hostEl?this.shadowRoot:c}appendChild(c,a){return super.appendChild(this.nodeOrShadowRoot(c),a)}insertBefore(c,a,l){return super.insertBefore(this.nodeOrShadowRoot(c),a,l)}removeChild(c,a){return super.removeChild(this.nodeOrShadowRoot(c),a)}parentNode(c){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(c)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Go extends et{constructor(c,a,l,p,v,w,T,M){super(c,v,w,T),this.sharedStylesHost=a,this.removeStylesOnCompDestroy=p,this.styles=M?pt(M,l.styles):l.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Wo extends Go{constructor(c,a,l,p,v,w,T,M){const R=p+"-"+l.id;super(c,a,l,v,w,T,M,R),this.contentAttr=function oe(s){return"_ngcontent-%COMP%".replace(Qt,s)}(R),this.hostAttr=function qe(s){return"_nghost-%COMP%".replace(Qt,s)}(R)}applyToHost(c){this.applyStyles(),this.setAttribute(c,this.hostAttr,"")}createElement(c,a){const l=super.createElement(c,a);return super.setAttribute(l,this.contentAttr,""),l}}let Qi=(()=>{class s extends Y{constructor(a){super(a)}supports(a){return!0}addEventListener(a,l,p){return a.addEventListener(l,p,!1),()=>this.removeEventListener(a,l,p)}removeEventListener(a,l,p){return a.removeEventListener(l,p)}static{this.\u0275fac=function(l){return new(l||s)(I.KVO(_.qQ))}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac})}}return s})();const Zi=["alt","control","meta","shift"],qo={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ic={alt:s=>s.altKey,control:s=>s.ctrlKey,meta:s=>s.metaKey,shift:s=>s.shiftKey};let zd=(()=>{class s extends Y{constructor(a){super(a)}supports(a){return null!=s.parseEventName(a)}addEventListener(a,l,p){const v=s.parseEventName(l),w=s.eventCallback(v.fullKey,p,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,_.QT)().onAndCancel(a,v.domEventName,w))}static parseEventName(a){const l=a.toLowerCase().split("."),p=l.shift();if(0===l.length||"keydown"!==p&&"keyup"!==p)return null;const v=s._normalizeKey(l.pop());let w="",T=l.indexOf("code");if(T>-1&&(l.splice(T,1),w="code."),Zi.forEach(R=>{const L=l.indexOf(R);L>-1&&(l.splice(L,1),w+=R+".")}),w+=v,0!=l.length||0===v.length)return null;const M={};return M.domEventName=p,M.fullKey=w,M}static matchEventFullKeyCode(a,l){let p=qo[a.key]||a.key,v="";return l.indexOf("code.")>-1&&(p=a.code,v="code."),!(null==p||!p)&&(p=p.toLowerCase()," "===p?p="space":"."===p&&(p="dot"),Zi.forEach(w=>{w!==p&&(0,Ic[w])(a)&&(v+=w+".")}),v+=p,v===l)}static eventCallback(a,l,p){return v=>{s.matchEventFullKeyCode(v,a)&&p.runGuarded(()=>l(v))}}static _normalizeKey(a){return"esc"===a?"escape":a}static{this.\u0275fac=function(l){return new(l||s)(I.KVO(_.qQ))}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac})}}return s})();function Pr(s){return{appProviders:[...Ia,...s?.providers??[]],platformProviders:Sc}}const Sc=[{provide:I.Agw,useValue:_.AJ},{provide:I.PLl,useValue:function Zo(){X.makeCurrent()},multi:!0},{provide:_.qQ,useFactory:function Ea(){return(0,I.TL$)(document),document},deps:[]}],Ia=[{provide:I.H8p,useValue:"root"},{provide:I.zcH,useFactory:function Gd(){return new I.zcH},deps:[]},{provide:Z,useClass:Qi,multi:!0,deps:[_.qQ,I.SKi,I.Agw]},{provide:Z,useClass:zd,multi:!0,deps:[_.qQ]},Zt,ce,V,{provide:I._9s,useExisting:Zt},{provide:_.N0,useClass:Se,deps:[]},[]];let z=(()=>{class s{constructor(a){this._doc=a}getTitle(){return this._doc.title}setTitle(a){this._doc.title=a||""}static{this.\u0275fac=function(l){return new(l||s)(I.KVO(_.qQ))}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();var at=H(799),Fe=H(429);function un(s){return this instanceof un?(this.v=s,this):new un(s)}function jr(s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a,c=s[Symbol.asyncIterator];return c?c.call(s):(s=function po(s){var c="function"==typeof Symbol&&Symbol.iterator,a=c&&s[c],l=0;if(a)return a.call(s);if(s&&"number"==typeof s.length)return{next:function(){return s&&l>=s.length&&(s=void 0),{value:s&&s[l++],done:!s}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")}(s),a={},l("next"),l("throw"),l("return"),a[Symbol.asyncIterator]=function(){return this},a);function l(v){a[v]=s[v]&&function(w){return new Promise(function(T,M){!function p(v,w,T,M){Promise.resolve(M).then(function(R){v({value:R,done:T})},w)}(T,M,(w=s[v](w)).done,w.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Fc=s=>s&&"number"==typeof s.length&&"function"!=typeof s;function Aa(s){return(0,Fe.T)(s?.then)}var Ra=H(848);function is(s){return(0,Fe.T)(s[Ra.s])}function go(s){return Symbol.asyncIterator&&(0,Fe.T)(s?.[Symbol.asyncIterator])}function $n(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const mo=function Ur(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function si(s){return(0,Fe.T)(s?.[mo])}function Rn(s){return function Lr(s,c,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var p,l=a.apply(s,c||[]),v=[];return p=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),T("next"),T("throw"),T("return",function w(Ee){return function(Ne){return Promise.resolve(Ne).then(Ee,G)}}),p[Symbol.asyncIterator]=function(){return this},p;function T(Ee,Ne){l[Ee]&&(p[Ee]=function(nt){return new Promise(function(Ye,xe){v.push([Ee,nt,Ye,xe])>1||M(Ee,nt)})},Ne&&(p[Ee]=Ne(p[Ee])))}function M(Ee,Ne){try{!function R(Ee){Ee.value instanceof un?Promise.resolve(Ee.value.v).then(L,G):Te(v[0][2],Ee)}(l[Ee](Ne))}catch(nt){Te(v[0][3],nt)}}function L(Ee){M("next",Ee)}function G(Ee){M("throw",Ee)}function Te(Ee,Ne){Ee(Ne),v.shift(),v.length&&M(v[0][0],v[0][1])}}(this,arguments,function*(){const a=s.getReader();try{for(;;){const{value:l,done:p}=yield un(a.read());if(p)return yield un(void 0);yield yield un(l)}}finally{a.releaseLock()}})}function Hr(s){return(0,Fe.T)(s?.getReader)}var ai=H(512);function re(s){if(s instanceof at.c)return s;if(null!=s){if(is(s))return function Re(s){return new at.c(c=>{const a=s[Ra.s]();if((0,Fe.T)(a.subscribe))return a.subscribe(c);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(s);if(Fc(s))return function qd(s){return new at.c(c=>{for(let a=0;a{s.then(a=>{c.closed||(c.next(a),c.complete())},a=>c.error(a)).then(null,ai.m)})}(s);if(go(s))return Oa(s);if(si(s))return function cn(s){return new at.c(c=>{for(const a of s)if(c.next(a),c.closed)return;c.complete()})}(s);if(Hr(s))return function xa(s){return Oa(Rn(s))}(s)}throw $n(s)}function Oa(s){return new at.c(c=>{(function ui(s,c){var a,l,p,v;return function zt(s,c,a,l){return new(a||(a=Promise))(function(v,w){function T(L){try{R(l.next(L))}catch(G){w(G)}}function M(L){try{R(l.throw(L))}catch(G){w(G)}}function R(L){L.done?v(L.value):function p(v){return v instanceof a?v:new a(function(w){w(v)})}(L.value).then(T,M)}R((l=l.apply(s,c||[])).next())})}(this,void 0,void 0,function*(){try{for(a=jr(s);!(l=yield a.next()).done;)if(c.next(l.value),c.closed)return}catch(w){p={error:w}}finally{try{l&&!l.done&&(v=a.return)&&(yield v.call(a))}finally{if(p)throw p.error}}c.complete()})})(s,c).catch(a=>c.error(a))})}function le(s,c,a,l=0,p=!1){const v=c.schedule(function(){a(),p?s.add(this.schedule(null,l)):this.unsubscribe()},l);if(s.add(v),!p)return v}var vt=H(536),Ct=H(578);function xt(s,c=0){return(0,vt.N)((a,l)=>{a.subscribe((0,Ct._)(l,p=>le(l,s,()=>l.next(p),c),()=>le(l,s,()=>l.complete(),c),p=>le(l,s,()=>l.error(p),c)))})}function ci(s,c=0){return(0,vt.N)((a,l)=>{l.add(s.schedule(()=>a.subscribe(l),c))})}function Br(s,c){if(!s)throw new Error("Iterable cannot be null");return new at.c(a=>{le(a,c,()=>{const l=s[Symbol.asyncIterator]();le(a,c,()=>{l.next().then(p=>{p.done?a.complete():a.next(p.value)})},0,!0)})})}function Pt(s,c){return c?function ka(s,c){if(null!=s){if(is(s))return function jc(s,c){return re(s).pipe(ci(c),xt(c))}(s,c);if(Fc(s))return function $r(s,c){return new at.c(a=>{let l=0;return c.schedule(function(){l===s.length?a.complete():(a.next(s[l++]),a.closed||this.schedule())})})}(s,c);if(Aa(s))return function Vc(s,c){return re(s).pipe(ci(c),xt(c))}(s,c);if(go(s))return Br(s,c);if(si(s))return function li(s,c){return new at.c(a=>{let l;return le(a,c,()=>{l=s[mo](),le(a,c,()=>{let p,v;try{({value:p,done:v}=l.next())}catch(w){return void a.error(w)}v?a.complete():a.next(p)},0,!0)}),()=>(0,Fe.T)(l?.return)&&l.return()})}(s,c);if(Hr(s))return function Pa(s,c){return Br(Rn(s),c)}(s,c)}throw $n(s)}(s,c):re(s)}function Bn(s){return s[s.length-1]}function Jt(s){return function ss(s){return s&&(0,Fe.T)(s.schedule)}(Bn(s))?s.pop():void 0}function ee(...s){return Pt(s,Jt(s))}var en=H(398);const On=(0,H(279).L)(s=>function(){s(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:as}=Array,{getPrototypeOf:vo,prototype:La,keys:us}=Object;var zn=H(871),$e=H(764);const{isArray:cs}=Array;function kt(...s){const c=Jt(s),a=function Fa(s){return(0,Fe.T)(Bn(s))?s.pop():void 0}(s),{args:l,keys:p}=function ja(s){if(1===s.length){const c=s[0];if(as(c))return{args:c,keys:null};if(function Hc(s){return s&&"object"==typeof s&&vo(s)===La}(c)){const a=us(c);return{args:a.map(l=>c[l]),keys:a}}}return{args:s,keys:null}}(s);if(0===l.length)return Pt([],c);const v=new at.c(function xn(s,c,a=zn.D){return l=>{ls(c,()=>{const{length:p}=s,v=new Array(p);let w=p,T=p;for(let M=0;M{const R=Pt(s[M],c);let L=!1;R.subscribe((0,Ct._)(l,G=>{v[M]=G,L||(L=!0,T--),T||l.next(a(v.slice()))},()=>{--w||l.complete()}))},l)},l)}}(l,c,p?w=>function Bc(s,c){return s.reduce((a,l,p)=>(a[l]=c[p],a),{})}(p,w):zn.D));return a?v.pipe(function er(s){return(0,$e.T)(c=>function $c(s,c){return cs(c)?s(...c):s(c)}(s,c))}(a)):v}function ls(s,c,a){s?le(a,s,c):c()}function St(s,c,a=1/0){return(0,Fe.T)(c)?St((l,p)=>(0,$e.T)((v,w)=>c(l,v,p,w))(re(s(l,p))),a):("number"==typeof c&&(a=c),(0,vt.N)((l,p)=>function tr(s,c,a,l,p,v,w,T){const M=[];let R=0,L=0,G=!1;const Te=()=>{G&&!M.length&&!R&&c.complete()},Ee=nt=>R{v&&c.next(nt),R++;let Ye=!1;re(a(nt,L++)).subscribe((0,Ct._)(c,xe=>{p?.(xe),v?Ee(xe):c.next(xe)},()=>{Ye=!0},void 0,()=>{if(Ye)try{for(R--;M.length&&RNe(xe)):Ne(xe)}Te()}catch(xe){c.error(xe)}}))};return s.subscribe((0,Ct._)(c,Ee,()=>{G=!0,Te()})),()=>{T?.()}}(l,p,s,a)))}function yo(...s){return function zc(){return function Dr(s=1/0){return St(zn.D,s)}(1)}()(Pt(s,Jt(s)))}function zr(s){return new at.c(c=>{re(s()).subscribe(c)})}var Gt=H(297);function Gr(s,c){const a=(0,Fe.T)(s)?s:()=>s,l=p=>p.error(a());return new at.c(c?p=>c.schedule(l,0,p):l)}const Ft=new at.c(s=>s.complete());var ln=H(539);function we(){return(0,vt.N)((s,c)=>{let a=null;s._refCount++;const l=(0,Ct._)(c,void 0,void 0,void 0,()=>{if(!s||s._refCount<=0||0<--s._refCount)return void(a=null);const p=s._connection,v=a;a=null,p&&(!v||p===v)&&p.unsubscribe(),c.unsubscribe()});s.subscribe(l),l.closed||(a=s.connect())})}class dn extends at.c{constructor(c,a){super(),this.source=c,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,vt.S)(c)&&(this.lift=c.lift)}_subscribe(c){return this.getSubject().subscribe(c)}getSubject(){const c=this._subject;return(!c||c.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:c}=this;this._subject=this._connection=null,c?.unsubscribe()}connect(){let c=this._connection;if(!c){c=this._connection=new ln.yU;const a=this.getSubject();c.add(this.source.subscribe((0,Ct._)(a,void 0,()=>{this._teardown(),a.complete()},l=>{this._teardown(),a.error(l)},()=>this._teardown()))),c.closed&&(this._connection=null,c=ln.yU.EMPTY)}return c}refCount(){return we()(this)}}var Gn=H(334);function yn(s,c){return(0,vt.N)((a,l)=>{let p=null,v=0,w=!1;const T=()=>w&&!p&&l.complete();a.subscribe((0,Ct._)(l,M=>{p?.unsubscribe();let R=0;const L=v++;re(s(M,L)).subscribe(p=(0,Ct._)(l,G=>l.next(c?c(M,G,L,R++):G),()=>{p=null,T()}))},()=>{w=!0,T()}))})}function Wn(s){return s<=0?()=>Ft:(0,vt.N)((c,a)=>{let l=0;c.subscribe((0,Ct._)(a,p=>{++l<=s&&(a.next(p),s<=l&&a.complete())}))})}function Wt(s,c){return(0,vt.N)((a,l)=>{let p=0;a.subscribe((0,Ct._)(l,v=>s.call(c,v,p++)&&l.next(v)))})}function Pn(s){return(0,vt.N)((c,a)=>{let l=!1;c.subscribe((0,Ct._)(a,p=>{l=!0,a.next(p)},()=>{l||a.next(s),a.complete()}))})}function Ua(s=ds){return(0,vt.N)((c,a)=>{let l=!1;c.subscribe((0,Ct._)(a,p=>{l=!0,a.next(p)},()=>l?a.complete():a.error(s())))})}function ds(){return new On}function qn(s,c){const a=arguments.length>=2;return l=>l.pipe(s?Wt((p,v)=>s(p,v,l)):zn.D,Wn(1),a?Pn(c):Ua(()=>new On))}function Wr(s,c){return(0,Fe.T)(c)?St(s,c,1):St(s,1)}function yt(s,c,a){const l=(0,Fe.T)(s)||c||a?{next:s,error:c,complete:a}:s;return l?(0,vt.N)((p,v)=>{var w;null===(w=l.subscribe)||void 0===w||w.call(l);let T=!0;p.subscribe((0,Ct._)(v,M=>{var R;null===(R=l.next)||void 0===R||R.call(l,M),v.next(M)},()=>{var M;T=!1,null===(M=l.complete)||void 0===M||M.call(l),v.complete()},M=>{var R;T=!1,null===(R=l.error)||void 0===R||R.call(l,M),v.error(M)},()=>{var M,R;T&&(null===(M=l.unsubscribe)||void 0===M||M.call(l)),null===(R=l.finalize)||void 0===R||R.call(l)}))}):zn.D}function Cr(s){return(0,vt.N)((c,a)=>{let v,l=null,p=!1;l=c.subscribe((0,Ct._)(a,void 0,void 0,w=>{v=re(s(w,Cr(s)(c))),l?(l.unsubscribe(),l=null,v.subscribe(a)):p=!0})),p&&(l.unsubscribe(),l=null,v.subscribe(a))})}function qr(s){return s<=0?()=>Ft:(0,vt.N)((c,a)=>{let l=[];c.subscribe((0,Ct._)(a,p=>{l.push(p),s{for(const p of l)a.next(p);a.complete()},void 0,()=>{l=null}))})}function qt(s){return(0,vt.N)((c,a)=>{try{c.subscribe(a)}finally{a.add(s)}})}var za=H(777);const me="primary",Co=Symbol("RouteTitle");class Wc{constructor(c){this.params=c||{}}has(c){return Object.prototype.hasOwnProperty.call(this.params,c)}get(c){if(this.has(c)){const a=this.params[c];return Array.isArray(a)?a[0]:a}return null}getAll(c){if(this.has(c)){const a=this.params[c];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function Qr(s){return new Wc(s)}function Ga(s,c,a){const l=a.path.split("/");if(l.length>s.length||"full"===a.pathMatch&&(c.hasChildren()||l.lengthl[v]===p)}return s===c}function Wa(s){return s.length>0?s[s.length-1]:null}function nr(s){return function Tc(s){return!!s&&(s instanceof at.c||(0,Fe.T)(s.lift)&&(0,Fe.T)(s.subscribe))}(s)?s:(0,I.jNT)(s)?Pt(Promise.resolve(s)):ee(s)}const wo={exact:function fe(s,c,a){if(!Qn(s.segments,c.segments)||!mt(s.segments,c.segments,a)||s.numberOfChildren!==c.numberOfChildren)return!1;for(const l in c.children)if(!s.children[l]||!fe(s.children[l],c.children[l],a))return!1;return!0},subset:bt},fi={exact:function Eo(s,c){return kn(s,c)},subset:function wt(s,c){return Object.keys(c).length<=Object.keys(s).length&&Object.keys(c).every(a=>fs(s[a],c[a]))},ignored:()=>!0};function hi(s,c,a){return wo[a.paths](s.root,c.root,a.matrixParams)&&fi[a.queryParams](s.queryParams,c.queryParams)&&!("exact"===a.fragment&&s.fragment!==c.fragment)}function bt(s,c,a){return Dn(s,c,c.segments,a)}function Dn(s,c,a,l){if(s.segments.length>a.length){const p=s.segments.slice(0,a.length);return!(!Qn(p,a)||c.hasChildren()||!mt(p,a,l))}if(s.segments.length===a.length){if(!Qn(s.segments,a)||!mt(s.segments,a,l))return!1;for(const p in c.children)if(!s.children[p]||!bt(s.children[p],c.children[p],l))return!1;return!0}{const p=a.slice(0,s.segments.length),v=a.slice(s.segments.length);return!!(Qn(s.segments,p)&&mt(s.segments,p,l)&&s.children[me])&&Dn(s.children[me],c,v,l)}}function mt(s,c,a){return c.every((l,p)=>fi[a](s[p].parameters,l.parameters))}class wr{constructor(c=new je([],{}),a={},l=null){this.root=c,this.queryParams=a,this.fragment=l}get queryParamMap(){return this._queryParamMap??=Qr(this.queryParams),this._queryParamMap}toString(){return qa.serialize(this)}}class je{constructor(c,a){this.segments=c,this.children=a,this.parent=null,Object.values(a).forEach(l=>l.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Er(this)}}class rr{constructor(c,a){this.path=c,this.parameters=a}get parameterMap(){return this._parameterMap??=Qr(this.parameters),this._parameterMap}toString(){return ps(this)}}function Qn(s,c){return s.length===c.length&&s.every((a,l)=>a.path===c[l].path)}let Kr=(()=>{class s{static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275prov=I.jDH({token:s,factory:()=>new Yr,providedIn:"root"})}}return s})();class Yr{parse(c){const a=new Za(c);return new wr(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(c){const a=`/${pi(c.root,!0)}`,l=function So(s){const c=Object.entries(s).map(([a,l])=>Array.isArray(l)?l.map(p=>`${mi(a)}=${mi(p)}`).join("&"):`${mi(a)}=${mi(l)}`).filter(a=>a);return c.length?`?${c.join("&")}`:""}(c.queryParams);return`${a}${l}${"string"==typeof c.fragment?`#${function vi(s){return encodeURI(s)}(c.fragment)}`:""}`}}const qa=new Yr;function Er(s){return s.segments.map(c=>ps(c)).join("/")}function pi(s,c){if(!s.hasChildren())return Er(s);if(c){const a=s.children[me]?pi(s.children[me],!1):"",l=[];return Object.entries(s.children).forEach(([p,v])=>{p!==me&&l.push(`${p}:${pi(v,!1)}`)}),l.length>0?`${a}(${l.join("//")})`:a}{const a=function Zr(s,c){let a=[];return Object.entries(s.children).forEach(([l,p])=>{l===me&&(a=a.concat(c(p,l)))}),Object.entries(s.children).forEach(([l,p])=>{l!==me&&(a=a.concat(c(p,l)))}),a}(s,(l,p)=>p===me?[pi(s.children[me],!1)]:[`${p}:${pi(l,!1)}`]);return 1===Object.keys(s.children).length&&null!=s.children[me]?`${Er(s)}/${a[0]}`:`${Er(s)}/(${a.join("//")})`}}function gi(s){return encodeURIComponent(s).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mi(s){return gi(s).replace(/%3B/gi,";")}function Io(s){return gi(s).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Xr(s){return decodeURIComponent(s)}function or(s){return Xr(s.replace(/\+/g,"%20"))}function ps(s){return`${Io(s.path)}${function gs(s){return Object.entries(s).map(([c,a])=>`;${Io(c)}=${Io(a)}`).join("")}(s.parameters)}`}const Qa=/^[^\/()?;#]+/;function bo(s){const c=s.match(Qa);return c?c[0]:""}const yi=/^[^\/()?;=#]+/,Jr=/^[^=?&#]+/,Qc=/^[^&#]+/;class Za{constructor(c){this.url=c,this.remaining=c}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new je([],{}):new je([],this.parseChildren())}parseQueryParams(){const c={};if(this.consumeOptional("?"))do{this.parseQueryParam(c)}while(this.consumeOptional("&"));return c}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const c=[];for(this.peekStartsWith("(")||c.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),c.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let l={};return this.peekStartsWith("(")&&(l=this.parseParens(!1)),(c.length>0||Object.keys(a).length>0)&&(l[me]=new je(c,a)),l}parseSegment(){const c=bo(this.remaining);if(""===c&&this.peekStartsWith(";"))throw new I.wOt(4009,!1);return this.capture(c),new rr(Xr(c),this.parseMatrixParams())}parseMatrixParams(){const c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){const a=function fn(s){const c=s.match(yi);return c?c[0]:""}(this.remaining);if(!a)return;this.capture(a);let l="";if(this.consumeOptional("=")){const p=bo(this.remaining);p&&(l=p,this.capture(l))}c[Xr(a)]=Xr(l)}parseQueryParam(c){const a=function ms(s){const c=s.match(Jr);return c?c[0]:""}(this.remaining);if(!a)return;this.capture(a);let l="";if(this.consumeOptional("=")){const w=function Zc(s){const c=s.match(Qc);return c?c[0]:""}(this.remaining);w&&(l=w,this.capture(l))}const p=or(a),v=or(l);if(c.hasOwnProperty(p)){let w=c[p];Array.isArray(w)||(w=[w],c[p]=w),w.push(v)}else c[p]=v}parseParens(c){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const l=bo(this.remaining),p=this.remaining[l.length];if("/"!==p&&")"!==p&&";"!==p)throw new I.wOt(4010,!1);let v;l.indexOf(":")>-1?(v=l.slice(0,l.indexOf(":")),this.capture(v),this.capture(":")):c&&(v=me);const w=this.parseChildren();a[v]=1===Object.keys(w).length?w[me]:new je([],w),this.consumeOptional("//")}return a}peekStartsWith(c){return this.remaining.startsWith(c)}consumeOptional(c){return!!this.peekStartsWith(c)&&(this.remaining=this.remaining.substring(c.length),!0)}capture(c){if(!this.consumeOptional(c))throw new I.wOt(4011,!1)}}function Ir(s){return s.segments.length>0?new je([],{[me]:s}):s}function Ka(s){const c={};for(const[l,p]of Object.entries(s.children)){const v=Ka(p);if(l===me&&0===v.segments.length&&v.hasChildren())for(const[w,T]of Object.entries(v.children))c[w]=T;else(v.segments.length>0||v.hasChildren())&&(c[l]=v)}return function Mo(s){if(1===s.numberOfChildren&&s.children[me]){const c=s.children[me];return new je(s.segments.concat(c.segments),c.children)}return s}(new je(s.segments,c))}function _o(s){return s instanceof wr}function h(s){let c;const p=Ir(function a(v){const w={};for(const M of v.children){const R=a(M);w[M.outlet]=R}const T=new je(v.url,w);return v===s&&(c=T),T}(s.root));return c??p}function C(s,c,a,l){let p=s;for(;p.parent;)p=p.parent;if(0===c.length)return b(p,p,p,a,l);const v=function Q(s){if("string"==typeof s[0]&&1===s.length&&"/"===s[0])return new k(!0,0,s);let c=0,a=!1;const l=s.reduce((p,v,w)=>{if("object"==typeof v&&null!=v){if(v.outlets){const T={};return Object.entries(v.outlets).forEach(([M,R])=>{T[M]="string"==typeof R?R.split("/"):R}),[...p,{outlets:T}]}if(v.segmentPath)return[...p,v.segmentPath]}return"string"!=typeof v?[...p,v]:0===w?(v.split("/").forEach((T,M)=>{0==M&&"."===T||(0==M&&""===T?a=!0:".."===T?c++:""!=T&&p.push(T))}),p):[...p,v]},[]);return new k(a,c,l)}(c);if(v.toRoot())return b(p,p,new je([],{}),a,l);const w=function Ae(s,c,a){if(s.isAbsolute)return new Ve(c,!0,0);if(!a)return new Ve(c,!1,NaN);if(null===a.parent)return new Ve(a,!0,0);const l=g(s.commands[0])?0:1;return function ze(s,c,a){let l=s,p=c,v=a;for(;v>p;){if(v-=p,l=l.parent,!l)throw new I.wOt(4005,!1);p=l.segments.length}return new Ve(l,!1,p-v)}(a,a.segments.length-1+l,s.numberOfDoubleDots)}(v,p,s),T=w.processChildren?be(w.segmentGroup,w.index,v.commands):tt(w.segmentGroup,w.index,v.commands);return b(p,w.segmentGroup,T,a,l)}function g(s){return"object"==typeof s&&null!=s&&!s.outlets&&!s.segmentPath}function D(s){return"object"==typeof s&&null!=s&&s.outlets}function b(s,c,a,l,p){let w,v={};l&&Object.entries(l).forEach(([M,R])=>{v[M]=Array.isArray(R)?R.map(L=>`${L}`):`${R}`}),w=s===c?a:O(s,c,a);const T=Ir(Ka(w));return new wr(T,v,p)}function O(s,c,a){const l={};return Object.entries(s.children).forEach(([p,v])=>{l[p]=v===c?a:O(v,c,a)}),new je(s.segments,l)}class k{constructor(c,a,l){if(this.isAbsolute=c,this.numberOfDoubleDots=a,this.commands=l,c&&l.length>0&&g(l[0]))throw new I.wOt(4003,!1);const p=l.find(D);if(p&&p!==Wa(l))throw new I.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ve{constructor(c,a,l){this.segmentGroup=c,this.processChildren=a,this.index=l}}function tt(s,c,a){if(s??=new je([],{}),0===s.segments.length&&s.hasChildren())return be(s,c,a);const l=function Et(s,c,a){let l=0,p=c;const v={match:!1,pathIndex:0,commandIndex:0};for(;p=a.length)return v;const w=s.segments[p],T=a[l];if(D(T))break;const M=`${T}`,R=l0&&void 0===M)break;if(M&&R&&"object"==typeof R&&void 0===R.outlets){if(!Me(M,R,w))return v;l+=2}else{if(!Me(M,{},w))return v;l++}p++}return{match:!0,pathIndex:p,commandIndex:l}}(s,c,a),p=a.slice(l.commandIndex);if(l.match&&l.pathIndexv!==me)&&s.children[me]&&1===s.numberOfChildren&&0===s.children[me].segments.length){const v=be(s.children[me],c,a);return new je(s.segments,v.children)}return Object.entries(l).forEach(([v,w])=>{"string"==typeof w&&(w=[w]),null!==w&&(p[v]=tt(s.children[v],c,w))}),Object.entries(s.children).forEach(([v,w])=>{void 0===l[v]&&(p[v]=w)}),new je(s.segments,p)}}function Cn(s,c,a){const l=s.segments.slice(0,c);let p=0;for(;p{"string"==typeof l&&(l=[l]),null!==l&&(c[a]=Cn(new je([],{}),0,l))}),c}function wn(s){const c={};return Object.entries(s).forEach(([a,l])=>c[a]=`${l}`),c}function Me(s,c,a){return s==a.path&&kn(c,a.parameters)}const j="imperative";var U=function(s){return s[s.NavigationStart=0]="NavigationStart",s[s.NavigationEnd=1]="NavigationEnd",s[s.NavigationCancel=2]="NavigationCancel",s[s.NavigationError=3]="NavigationError",s[s.RoutesRecognized=4]="RoutesRecognized",s[s.ResolveStart=5]="ResolveStart",s[s.ResolveEnd=6]="ResolveEnd",s[s.GuardsCheckStart=7]="GuardsCheckStart",s[s.GuardsCheckEnd=8]="GuardsCheckEnd",s[s.RouteConfigLoadStart=9]="RouteConfigLoadStart",s[s.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",s[s.ChildActivationStart=11]="ChildActivationStart",s[s.ChildActivationEnd=12]="ChildActivationEnd",s[s.ActivationStart=13]="ActivationStart",s[s.ActivationEnd=14]="ActivationEnd",s[s.Scroll=15]="Scroll",s[s.NavigationSkipped=16]="NavigationSkipped",s}(U||{});class Ie{constructor(c,a){this.id=c,this.url=a}}class Lt extends Ie{constructor(c,a,l="imperative",p=null){super(c,a),this.type=U.NavigationStart,this.navigationTrigger=l,this.restoredState=p}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ut extends Ie{constructor(c,a,l){super(c,a),this.urlAfterRedirects=l,this.type=U.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Qe=function(s){return s[s.Redirect=0]="Redirect",s[s.SupersededByNewNavigation=1]="SupersededByNewNavigation",s[s.NoDataFromResolver=2]="NoDataFromResolver",s[s.GuardRejected=3]="GuardRejected",s}(Qe||{}),ir=function(s){return s[s.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",s[s.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",s}(ir||{});class Oe extends Ie{constructor(c,a,l,p){super(c,a),this.reason=l,this.code=p,this.type=U.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class rt extends Ie{constructor(c,a,l,p){super(c,a),this.reason=l,this.code=p,this.type=U.NavigationSkipped}}class En extends Ie{constructor(c,a,l,p){super(c,a),this.error=l,this.target=p,this.type=U.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class se extends Ie{constructor(c,a,l,p){super(c,a),this.urlAfterRedirects=l,this.state=p,this.type=U.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Di extends Ie{constructor(c,a,l,p){super(c,a),this.urlAfterRedirects=l,this.state=p,this.type=U.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kc extends Ie{constructor(c,a,l,p,v){super(c,a),this.urlAfterRedirects=l,this.state=p,this.shouldActivate=v,this.type=U.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class To extends Ie{constructor(c,a,l,p){super(c,a),this.urlAfterRedirects=l,this.state=p,this.type=U.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ot extends Ie{constructor(c,a,l,p){super(c,a),this.urlAfterRedirects=l,this.state=p,this.type=U.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class eo{constructor(c){this.route=c,this.type=U.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class No{constructor(c){this.route=c,this.type=U.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class sr{constructor(c){this.snapshot=c,this.type=U.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ao{constructor(c){this.snapshot=c,this.type=U.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yc{constructor(c){this.snapshot=c,this.type=U.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sr{constructor(c){this.snapshot=c,this.type=U.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ar{}class te{constructor(c,a){this.url=c,this.navigationBehaviorOptions=a}}class Ci{constructor(c){this.injector=c,this.outlet=null,this.route=null,this.children=new nn(this.injector),this.attachRef=null}}let nn=(()=>{class s{constructor(a){this.parentInjector=a,this.contexts=new Map}onChildOutletCreated(a,l){const p=this.getOrCreateContext(a);p.outlet=l,this.contexts.set(a,p)}onChildOutletDestroyed(a){const l=this.getContext(a);l&&(l.outlet=null,l.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let l=this.getContext(a);return l||(l=new Ci(this.parentInjector),this.contexts.set(a,l)),l}getContext(a){return this.contexts.get(a)||null}static{this.\u0275fac=function(l){return new(l||s)(I.KVO(I.uvJ))}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();class wi{constructor(c){this._root=c}get root(){return this._root.value}parent(c){const a=this.pathFromRoot(c);return a.length>1?a[a.length-2]:null}children(c){const a=br(c,this._root);return a?a.children.map(l=>l.value):[]}firstChild(c){const a=br(c,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(c){const a=ct(c,this._root);return a.length<2?[]:a[a.length-2].children.map(p=>p.value).filter(p=>p!==c)}pathFromRoot(c){return ct(c,this._root).map(a=>a.value)}}function br(s,c){if(s===c.value)return c;for(const a of c.children){const l=br(s,a);if(l)return l}return null}function ct(s,c){if(s===c.value)return[c];for(const a of c.children){const l=ct(s,a);if(l.length)return l.unshift(c),l}return[]}class rn{constructor(c,a){this.value=c,this.children=a}toString(){return`TreeNode(${this.value})`}}function lt(s){const c={};return s&&s.children.forEach(a=>c[a.value.outlet]=a),c}class jt extends wi{constructor(c,a){super(c),this.snapshot=a,Xa(this,c)}toString(){return this.snapshot.toString()}}function ys(s){const c=function to(s){const v=new Mr([],{},{},"",{},me,s,null,{});return new Jc("",new rn(v,[]))}(s),a=new en.t([new rr("",{})]),l=new en.t({}),p=new en.t({}),v=new en.t({}),w=new en.t(""),T=new ur(a,l,v,w,p,me,s,c.root);return T.snapshot=c.root,new jt(new rn(T,[]),c)}class ur{constructor(c,a,l,p,v,w,T,M){this.urlSubject=c,this.paramsSubject=a,this.queryParamsSubject=l,this.fragmentSubject=p,this.dataSubject=v,this.outlet=w,this.component=T,this._futureSnapshot=M,this.title=this.dataSubject?.pipe((0,$e.T)(R=>R[Co]))??ee(void 0),this.url=c,this.params=a,this.queryParams=l,this.fragment=p,this.data=v}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((0,$e.T)(c=>Qr(c))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,$e.T)(c=>Qr(c))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function on(s,c,a="emptyOnly"){let l;const{routeConfig:p}=s;return l=null===c||"always"!==a&&""!==p?.path&&(c.component||c.routeConfig?.loadComponent)?{params:{...s.params},data:{...s.data},resolve:{...s.data,...s._resolvedData??{}}}:{params:{...c.params,...s.params},data:{...c.data,...s.data},resolve:{...s.data,...c.data,...p?.data,...s._resolvedData}},p&&ws(p)&&(l.resolve[Co]=p.title),l}class Mr{get title(){return this.data?.[Co]}constructor(c,a,l,p,v,w,T,M,R){this.url=c,this.params=a,this.queryParams=l,this.fragment=p,this.data=v,this.outlet=w,this.component=T,this.routeConfig=M,this._resolve=R}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??=Qr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Qr(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(l=>l.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Jc extends wi{constructor(c,a){super(a),this.url=c,Xa(this,a)}toString(){return Ds(this._root)}}function Xa(s,c){c.value._routerState=s,c.children.forEach(a=>Xa(s,a))}function Ds(s){const c=s.children.length>0?` { ${s.children.map(Ds).join(", ")} } `:"";return`${s.value}${c}`}function Cs(s){if(s.snapshot){const c=s.snapshot,a=s._futureSnapshot;s.snapshot=a,kn(c.queryParams,a.queryParams)||s.queryParamsSubject.next(a.queryParams),c.fragment!==a.fragment&&s.fragmentSubject.next(a.fragment),kn(c.params,a.params)||s.paramsSubject.next(a.params),function qc(s,c){if(s.length!==c.length)return!1;for(let a=0;akn(a.parameters,c[l].parameters))}(s.url,c.url);return a&&!(!s.parent!=!c.parent)&&(!s.parent||Ja(s.parent,c.parent))}function ws(s){return"string"==typeof s.title||null===s.title}let el=(()=>{class s{constructor(){this.activated=null,this._activatedRoute=null,this.name=me,this.activateEvents=new I.bkB,this.deactivateEvents=new I.bkB,this.attachEvents=new I.bkB,this.detachEvents=new I.bkB,this.parentContexts=(0,I.WQX)(nn),this.location=(0,I.WQX)(I.c1b),this.changeDetector=(0,I.WQX)(I.gRc),this.inputBinder=(0,I.WQX)(eu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:l,previousValue:p}=a.name;if(l)return;this.isTrackedInParentContexts(p)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(p)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I.wOt(4012,!1);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,l){this.activated=a,this._activatedRoute=l,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,l){if(this.isActivated)throw new I.wOt(4013,!1);this._activatedRoute=a;const p=this.location,w=a.snapshot.component,T=this.parentContexts.getOrCreateContext(this.name).children,M=new tl(a,T,p.injector);this.activated=p.createComponent(w,{index:p.length,injector:M,environmentInjector:l}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275dir=I.FsC({type:s,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[I.OA$]})}}return s})();class tl{__ngOutletInjector(c){return new tl(this.route,this.childContexts,c)}constructor(c,a,l){this.route=c,this.childContexts=a,this.parent=l}get(c,a){return c===ur?this.route:c===nn?this.childContexts:this.parent.get(c,a)}}const eu=new I.nKC("");function Es(s,c,a){if(a&&s.shouldReuseRoute(c.value,a.value.snapshot)){const l=a.value;l._futureSnapshot=c.value;const p=function ug(s,c,a){return c.children.map(l=>{for(const p of a.children)if(s.shouldReuseRoute(l.value,p.value.snapshot))return Es(s,l,p);return Es(s,l)})}(s,c,a);return new rn(l,p)}{if(s.shouldAttach(c.value)){const v=s.retrieve(c.value);if(null!==v){const w=v.route;return w.value._futureSnapshot=c.value,w.children=c.children.map(T=>Es(s,T)),w}}const l=function cg(s){return new ur(new en.t(s.url),new en.t(s.params),new en.t(s.queryParams),new en.t(s.fragment),new en.t(s.data),s.outlet,s.component,s)}(c.value),p=c.children.map(v=>Es(s,v));return new rn(l,p)}}class nl{constructor(c,a){this.redirectTo=c,this.navigationBehaviorOptions=a}}const Kd="ngNavigationCancelingError";function tu(s,c){const{redirectTo:a,navigationBehaviorOptions:l}=_o(c)?{redirectTo:c,navigationBehaviorOptions:void 0}:c,p=Yd(!1,Qe.Redirect);return p.url=a,p.navigationBehaviorOptions=l,p}function Yd(s,c){const a=new Error(`NavigationCancelingError: ${s||""}`);return a[Kd]=!0,a.cancellationCode=c,a}function nu(s){return!!s&&s[Kd]}let Xd=(()=>{class s{static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275cmp=I.VBU({type:s,selectors:[["ng-component"]],standalone:!0,features:[I.aNF],decls:1,vars:0,template:function(l,p){1&l&&I.nrm(0,"router-outlet")},dependencies:[el],encapsulation:2})}}return s})();function Is(s){const c=s.children&&s.children.map(Is),a=c?{...s,children:c}:{...s};return!a.component&&!a.loadComponent&&(c||a.loadChildren)&&a.outlet&&a.outlet!==me&&(a.component=Xd),a}function In(s){return s.outlet||me}function no(s){if(!s)return null;if(s.routeConfig?._injector)return s.routeConfig._injector;for(let c=s.parent;c;c=c.parent){const a=c.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class ol{constructor(c,a,l,p,v){this.routeReuseStrategy=c,this.futureState=a,this.currState=l,this.forwardEvent=p,this.inputBindingEnabled=v}activate(c){const a=this.futureState._root,l=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,l,c),Cs(this.futureState.root),this.activateChildRoutes(a,l,c)}deactivateChildRoutes(c,a,l){const p=lt(a);c.children.forEach(v=>{const w=v.value.outlet;this.deactivateRoutes(v,p[w],l),delete p[w]}),Object.values(p).forEach(v=>{this.deactivateRouteAndItsChildren(v,l)})}deactivateRoutes(c,a,l){const p=c.value,v=a?a.value:null;if(p===v)if(p.component){const w=l.getContext(p.outlet);w&&this.deactivateChildRoutes(c,a,w.children)}else this.deactivateChildRoutes(c,a,l);else v&&this.deactivateRouteAndItsChildren(a,l)}deactivateRouteAndItsChildren(c,a){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,a):this.deactivateRouteAndOutlet(c,a)}detachAndStoreRouteSubtree(c,a){const l=a.getContext(c.value.outlet),p=l&&c.value.component?l.children:a,v=lt(c);for(const w of Object.values(v))this.deactivateRouteAndItsChildren(w,p);if(l&&l.outlet){const w=l.outlet.detach(),T=l.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:w,route:c,contexts:T})}}deactivateRouteAndOutlet(c,a){const l=a.getContext(c.value.outlet),p=l&&c.value.component?l.children:a,v=lt(c);for(const w of Object.values(v))this.deactivateRouteAndItsChildren(w,p);l&&(l.outlet&&(l.outlet.deactivate(),l.children.onOutletDeactivated()),l.attachRef=null,l.route=null)}activateChildRoutes(c,a,l){const p=lt(a);c.children.forEach(v=>{this.activateRoutes(v,p[v.value.outlet],l),this.forwardEvent(new Sr(v.value.snapshot))}),c.children.length&&this.forwardEvent(new Ao(c.value.snapshot))}activateRoutes(c,a,l){const p=c.value,v=a?a.value:null;if(Cs(p),p===v)if(p.component){const w=l.getOrCreateContext(p.outlet);this.activateChildRoutes(c,a,w.children)}else this.activateChildRoutes(c,a,l);else if(p.component){const w=l.getOrCreateContext(p.outlet);if(this.routeReuseStrategy.shouldAttach(p.snapshot)){const T=this.routeReuseStrategy.retrieve(p.snapshot);this.routeReuseStrategy.store(p.snapshot,null),w.children.onOutletReAttached(T.contexts),w.attachRef=T.componentRef,w.route=T.route.value,w.outlet&&w.outlet.attach(T.componentRef,T.route.value),Cs(T.route.value),this.activateChildRoutes(c,null,w.children)}else{const T=no(p.snapshot);w.attachRef=null,w.route=p,w.injector=T??w.injector,w.outlet&&w.outlet.activateWith(p,w.injector),this.activateChildRoutes(c,null,w.children)}}else this.activateChildRoutes(c,null,l)}}class ou{constructor(c){this.path=c,this.route=this.path[this.path.length-1]}}class _e{constructor(c,a){this.component=c,this.route=a}}function iu(s,c,a){const l=s._root;return Ii(l,c?c._root:null,a,[l.value])}function It(s,c){const a=Symbol(),l=c.get(s,a);return l===a?"function"!=typeof s||(0,I.LfX)(s)?c.get(s):s:l}function Ii(s,c,a,l,p={canDeactivateChecks:[],canActivateChecks:[]}){const v=lt(c);return s.children.forEach(w=>{(function Si(s,c,a,l,p={canDeactivateChecks:[],canActivateChecks:[]}){const v=s.value,w=c?c.value:null,T=a?a.getContext(s.value.outlet):null;if(w&&v.routeConfig===w.routeConfig){const M=function Ro(s,c,a){if("function"==typeof a)return a(s,c);switch(a){case"pathParamsChange":return!Qn(s.url,c.url);case"pathParamsOrQueryParamsChange":return!Qn(s.url,c.url)||!kn(s.queryParams,c.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ja(s,c)||!kn(s.queryParams,c.queryParams);default:return!Ja(s,c)}}(w,v,v.routeConfig.runGuardsAndResolvers);M?p.canActivateChecks.push(new ou(l)):(v.data=w.data,v._resolvedData=w._resolvedData),Ii(s,c,v.component?T?T.children:null:a,l,p),M&&T&&T.outlet&&T.outlet.isActivated&&p.canDeactivateChecks.push(new _e(T.outlet.component,w))}else w&&Vt(c,T,p),p.canActivateChecks.push(new ou(l)),Ii(s,null,v.component?T?T.children:null:a,l,p)})(w,v[w.value.outlet],a,l.concat([w.value]),p),delete v[w.value.outlet]}),Object.entries(v).forEach(([w,T])=>Vt(T,a.getContext(w),p)),p}function Vt(s,c,a){const l=lt(s),p=s.value;Object.entries(l).forEach(([v,w])=>{Vt(w,p.component?c?c.children.getContext(v):null:c,a)}),a.canDeactivateChecks.push(new _e(p.component&&c&&c.outlet&&c.outlet.isActivated?c.outlet.component:null,p))}function bi(s){return"function"==typeof s}function Oo(s){return s instanceof On||"EmptyError"===s?.name}const xo=Symbol("INITIAL_VALUE");function cr(){return yn(s=>kt(s.map(c=>c.pipe(Wn(1),function Do(...s){const c=Jt(s);return(0,vt.N)((a,l)=>{(c?yo(s,a,c):yo(s,a)).subscribe(l)})}(xo)))).pipe((0,$e.T)(c=>{for(const a of c)if(!0!==a){if(a===xo)return xo;if(!1===a||Ss(a))return a}return!0}),Wt(c=>c!==xo),Wn(1)))}function Ss(s){return _o(s)||s instanceof nl}function ul(s){return(0,Gt.F)(yt(c=>{if("boolean"!=typeof c)throw tu(0,c)}),(0,$e.T)(c=>!0===c))}class lr{constructor(c){this.segmentGroup=c||null}}class Ms extends Error{constructor(c){super(),this.urlTree=c}}function Po(s){return Gr(new lr(s))}class P{constructor(c,a){this.urlSerializer=c,this.urlTree=a}lineralizeSegments(c,a){let l=[],p=a.root;for(;;){if(l=l.concat(p.segments),0===p.numberOfChildren)return ee(l);if(p.numberOfChildren>1||!p.children[me])return Gr(new I.wOt(4e3,!1));p=p.children[me]}}applyRedirectCommands(c,a,l,p,v){if("string"!=typeof a){const T=a,{queryParams:M,fragment:R,routeConfig:L,url:G,outlet:Te,params:Ee,data:Ne,title:nt}=p,Ye=(0,I.N4e)(v,()=>T({params:Ee,data:Ne,queryParams:M,fragment:R,routeConfig:L,url:G,outlet:Te,title:nt}));if(Ye instanceof wr)throw new Ms(Ye);a=Ye}const w=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),c,l);if("/"===a[0])throw new Ms(w);return w}applyRedirectCreateUrlTree(c,a,l,p){const v=this.createSegmentGroup(c,a.root,l,p);return new wr(v,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(c,a){const l={};return Object.entries(c).forEach(([p,v])=>{if("string"==typeof v&&":"===v[0]){const T=v.substring(1);l[p]=a[T]}else l[p]=v}),l}createSegmentGroup(c,a,l,p){const v=this.createSegments(c,a.segments,l,p);let w={};return Object.entries(a.children).forEach(([T,M])=>{w[T]=this.createSegmentGroup(c,M,l,p)}),new je(v,w)}createSegments(c,a,l,p){return a.map(v=>":"===v.path[0]?this.findPosParam(c,v,p):this.findOrReturn(v,l))}findPosParam(c,a,l){const p=l[a.path.substring(1)];if(!p)throw new I.wOt(4001,!1);return p}findOrReturn(c,a){let l=0;for(const p of a){if(p.path===c.path)return a.splice(l),p;l++}return c}}const ye={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ll(s,c,a,l,p){const v=_s(s,c,a);return v.matched?(l=function lg(s,c){return s.providers&&!s._injector&&(s._injector=(0,I.Ol2)(s.providers,c,`Route: ${s.path}`)),s._injector??c}(c,l),function cl(s,c,a,l){const p=c.canMatch;return p&&0!==p.length?ee(p.map(w=>{const T=It(w,s);return nr(function sl(s){return s&&bi(s.canMatch)}(T)?T.canMatch(c,a):(0,I.N4e)(s,()=>T(c,a)))})).pipe(cr(),ul()):ee(!0)}(l,c,a).pipe((0,$e.T)(w=>!0===w?v:{...ye}))):ee(v)}function _s(s,c,a){if("**"===c.path)return function Ge(s){return{matched:!0,parameters:s.length>0?Wa(s).parameters:{},consumedSegments:s,remainingSegments:[],positionalParamSegments:{}}}(a);if(""===c.path)return"full"===c.pathMatch&&(s.hasChildren()||a.length>0)?{...ye}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const p=(c.matcher||Ga)(a,s,c);if(!p)return{...ye};const v={};Object.entries(p.posParams??{}).forEach(([T,M])=>{v[T]=M.path});const w=p.consumed.length>0?{...v,...p.consumed[p.consumed.length-1].parameters}:v;return{matched:!0,consumedSegments:p.consumed,remainingSegments:a.slice(p.consumed.length),parameters:w,positionalParamSegments:p.posParams??{}}}function cu(s,c,a,l){return a.length>0&&function lu(s,c,a){return a.some(l=>Ts(s,c,l)&&In(l)!==me)}(s,a,l)?{segmentGroup:new je(c,Kn(l,new je(a,s.children))),slicedSegments:[]}:0===a.length&&function du(s,c,a){return a.some(l=>Ts(s,c,l))}(s,a,l)?{segmentGroup:new je(s.segments,Mi(s,a,l,s.children)),slicedSegments:a}:{segmentGroup:new je(s.segments,s.children),slicedSegments:a}}function Mi(s,c,a,l){const p={};for(const v of a)if(Ts(s,c,v)&&!l[In(v)]){const w=new je([],{});p[In(v)]=w}return{...l,...p}}function Kn(s,c){const a={};a[me]=c;for(const l of s)if(""===l.path&&In(l)!==me){const p=new je([],{});a[In(l)]=p}return a}function Ts(s,c,a){return(!(s.hasChildren()||c.length>0)||"full"!==a.pathMatch)&&""===a.path}class dl{}class Kt{constructor(c,a,l,p,v,w,T){this.injector=c,this.configLoader=a,this.rootComponentType=l,this.config=p,this.urlTree=v,this.paramsInheritanceStrategy=w,this.urlSerializer=T,this.applyRedirects=new P(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(c){return new I.wOt(4002,`'${c.segmentGroup}'`)}recognize(){const c=cu(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(c).pipe((0,$e.T)(({children:a,rootSnapshot:l})=>{const p=new rn(l,a),v=new Jc("",p),w=function vs(s,c,a=null,l=null){return C(h(s),c,a,l)}(l,[],this.urlTree.queryParams,this.urlTree.fragment);return w.queryParams=this.urlTree.queryParams,v.url=this.urlSerializer.serialize(w),{state:v,tree:w}}))}match(c){const a=new Mr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),me,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,c,me,a).pipe((0,$e.T)(l=>({children:l,rootSnapshot:a})),Cr(l=>{if(l instanceof Ms)return this.urlTree=l.urlTree,this.match(l.urlTree.root);throw l instanceof lr?this.noMatchError(l):l}))}processSegmentGroup(c,a,l,p,v){return 0===l.segments.length&&l.hasChildren()?this.processChildren(c,a,l,v):this.processSegment(c,a,l,l.segments,p,!0,v).pipe((0,$e.T)(w=>w instanceof rn?[w]:[]))}processChildren(c,a,l,p){const v=[];for(const w of Object.keys(l.children))"primary"===w?v.unshift(w):v.push(w);return Pt(v).pipe(Wr(w=>{const T=l.children[w],M=function rf(s,c){const a=s.filter(l=>In(l)===c);return a.push(...s.filter(l=>In(l)!==c)),a}(a,w);return this.processSegmentGroup(c,M,T,w,p)}),function $a(s,c){return(0,vt.N)(function Ha(s,c,a,l,p){return(v,w)=>{let T=a,M=c,R=0;v.subscribe((0,Ct._)(w,L=>{const G=R++;M=T?s(M,L,G):(T=!0,L),l&&w.next(M)},p&&(()=>{T&&w.next(M),w.complete()})))}}(s,c,arguments.length>=2,!0))}((w,T)=>(w.push(...T),w)),Pn(null),function Ba(s,c){const a=arguments.length>=2;return l=>l.pipe(s?Wt((p,v)=>s(p,v,l)):zn.D,qr(1),a?Pn(c):Ua(()=>new On))}(),St(w=>{if(null===w)return Po(l);const T=bn(w);return function dr(s){s.sort((c,a)=>c.value.outlet===me?-1:a.value.outlet===me?1:c.value.outlet.localeCompare(a.value.outlet))}(T),ee(T)}))}processSegment(c,a,l,p,v,w,T){return Pt(a).pipe(Wr(M=>this.processSegmentAgainstRoute(M._injector??c,a,M,l,p,v,w,T).pipe(Cr(R=>{if(R instanceof lr)return ee(null);throw R}))),qn(M=>!!M),Cr(M=>{if(Oo(M))return function mg(s,c,a){return 0===c.length&&!s.children[a]}(l,p,v)?ee(new dl):Po(l);throw M}))}processSegmentAgainstRoute(c,a,l,p,v,w,T,M){return function gg(s,c,a,l){return!!(In(s)===l||l!==me&&Ts(c,a,s))&&_s(c,s,a).matched}(l,p,v,w)?void 0===l.redirectTo?this.matchSegmentAgainstRoute(c,p,l,v,w,M):this.allowRedirects&&T?this.expandSegmentAgainstRouteUsingRedirect(c,p,a,l,v,w,M):Po(p):Po(p)}expandSegmentAgainstRouteUsingRedirect(c,a,l,p,v,w,T){const{matched:M,parameters:R,consumedSegments:L,positionalParamSegments:G,remainingSegments:Te}=_s(a,p,v);if(!M)return Po(a);"string"==typeof p.redirectTo&&"/"===p.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ee=new Mr(v,R,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,gl(p),In(p),p.component??p._loadedComponent??null,p,fu(p)),Ne=on(Ee,T,this.paramsInheritanceStrategy);Ee.params=Object.freeze(Ne.params),Ee.data=Object.freeze(Ne.data);const nt=this.applyRedirects.applyRedirectCommands(L,p.redirectTo,G,Ee,c);return this.applyRedirects.lineralizeSegments(p,nt).pipe(St(Ye=>this.processSegment(c,l,a,Ye.concat(Te),w,!1,T)))}matchSegmentAgainstRoute(c,a,l,p,v,w){const T=ll(a,l,p,c);return"**"===l.path&&(a.children={}),T.pipe(yn(M=>M.matched?this.getChildConfig(c=l._injector??c,l,p).pipe(yn(({routes:R})=>{const L=l._loadedInjector??c,{parameters:G,consumedSegments:Te,remainingSegments:Ee}=M,Ne=new Mr(Te,G,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,gl(l),In(l),l.component??l._loadedComponent??null,l,fu(l)),nt=on(Ne,w,this.paramsInheritanceStrategy);Ne.params=Object.freeze(nt.params),Ne.data=Object.freeze(nt.data);const{segmentGroup:Ye,slicedSegments:xe}=cu(a,Te,Ee,R);if(0===xe.length&&Ye.hasChildren())return this.processChildren(L,R,Ye,Ne).pipe((0,$e.T)(fr=>new rn(Ne,fr)));if(0===R.length&&0===xe.length)return ee(new rn(Ne,[]));const Nl=In(l)===v;return this.processSegment(L,R,Ye,xe,Nl?me:v,!0,Ne).pipe((0,$e.T)(fr=>new rn(Ne,fr instanceof rn?[fr]:[])))})):Po(a)))}getChildConfig(c,a,l){return a.children?ee({routes:a.children,injector:c}):a.loadChildren?void 0!==a._loadedRoutes?ee({routes:a._loadedRoutes,injector:a._loadedInjector}):function cf(s,c,a,l){const p=c.canLoad;return void 0===p||0===p.length?ee(!0):ee(p.map(w=>{const T=It(w,s);return nr(function sf(s){return s&&bi(s.canLoad)}(T)?T.canLoad(c,a):(0,I.N4e)(s,()=>T(c,a)))})).pipe(cr(),ul())}(c,a,l).pipe(St(p=>p?this.configLoader.loadChildren(c,a).pipe(yt(v=>{a._loadedRoutes=v.routes,a._loadedInjector=v.injector})):function df(){return Gr(Yd(!1,Qe.GuardRejected))}())):ee({routes:[],injector:c})}}function pl(s){const c=s.value.routeConfig;return c&&""===c.path}function bn(s){const c=[],a=new Set;for(const l of s){if(!pl(l)){c.push(l);continue}const p=c.find(v=>l.value.routeConfig===v.value.routeConfig);void 0!==p?(p.children.push(...l.children),a.add(p)):c.push(l)}for(const l of a){const p=bn(l.children);c.push(new rn(l.value,p))}return c.filter(l=>!a.has(l))}function gl(s){return s.data||{}}function fu(s){return s.resolve||{}}function Ns(s){const c=s.children.map(a=>Ns(a)).flat();return[s,...c]}function gu(s){return yn(c=>{const a=s(c);return a?Pt(a).pipe((0,$e.T)(()=>c)):ee(c)})}let mu=(()=>{class s{buildTitle(a){let l,p=a.root;for(;void 0!==p;)l=this.getResolvedTitleForRoute(p)??l,p=p.children.find(v=>v.outlet===me);return l}getResolvedTitleForRoute(a){return a.data[Co]}static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275prov=I.jDH({token:s,factory:()=>(0,I.WQX)(vu),providedIn:"root"})}}return s})(),vu=(()=>{class s extends mu{constructor(a){super(),this.title=a}updateTitle(a){const l=this.buildTitle(a);void 0!==l&&this.title.setTitle(l)}static{this.\u0275fac=function(l){return new(l||s)(I.KVO(z))}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();const ko=new I.nKC("",{providedIn:"root",factory:()=>({})}),_i=new I.nKC("");let yu=(()=>{class s{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,I.WQX)(I.Ql9)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return ee(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const l=nr(a.loadComponent()).pipe((0,$e.T)(vl),yt(v=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=v}),qt(()=>{this.componentLoaders.delete(a)})),p=new dn(l,()=>new Gn.B).pipe(we());return this.componentLoaders.set(a,p),p}loadChildren(a,l){if(this.childrenLoaders.get(l))return this.childrenLoaders.get(l);if(l._loadedRoutes)return ee({routes:l._loadedRoutes,injector:l._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(l);const v=function ml(s,c,a,l){return nr(s.loadChildren()).pipe((0,$e.T)(vl),St(p=>p instanceof I.Co$||Array.isArray(p)?ee(p):Pt(c.compileModuleAsync(p))),(0,$e.T)(p=>{l&&l(s);let v,w,T=!1;return Array.isArray(p)?(w=p,!0):(v=p.create(a).injector,w=v.get(_i,[],{optional:!0,self:!0}).flat()),{routes:w.map(Is),injector:v}}))}(l,this.compiler,a,this.onLoadEndListener).pipe(qt(()=>{this.childrenLoaders.delete(l)})),w=new dn(v,()=>new Gn.B).pipe(we());return this.childrenLoaders.set(l,w),w}static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();function vl(s){return function Du(s){return s&&"object"==typeof s&&"default"in s}(s)?s.default:s}let Rt=(()=>{class s{static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275prov=I.jDH({token:s,factory:()=>(0,I.WQX)(oo),providedIn:"root"})}}return s})(),oo=(()=>{class s{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,l){return a}static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();const Ze=new I.nKC(""),Dl=new I.nKC("");let Ti=(()=>{class s{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Gn.B,this.transitionAbortSubject=new Gn.B,this.configLoader=(0,I.WQX)(yu),this.environmentInjector=(0,I.WQX)(I.uvJ),this.urlSerializer=(0,I.WQX)(Kr),this.rootContexts=(0,I.WQX)(nn),this.location=(0,I.WQX)(_.aZ),this.inputBindingEnabled=null!==(0,I.WQX)(eu,{optional:!0}),this.titleStrategy=(0,I.WQX)(mu),this.options=(0,I.WQX)(ko,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,I.WQX)(Rt),this.createViewTransition=(0,I.WQX)(Ze,{optional:!0}),this.navigationErrorHandler=(0,I.WQX)(Dl,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ee(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=p=>this.events.next(new No(p)),this.configLoader.onLoadStartListener=p=>this.events.next(new eo(p))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const l=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:l})}setupNavigations(a,l,p){return this.transitions=new en.t({id:0,currentUrlTree:l,currentRawUrl:l,extractedUrl:this.urlHandlingStrategy.extract(l),urlAfterRedirects:this.urlHandlingStrategy.extract(l),rawUrl:l,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:j,restoredState:null,currentSnapshot:p.snapshot,targetSnapshot:null,currentRouterState:p,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Wt(v=>0!==v.id),(0,$e.T)(v=>({...v,extractedUrl:this.urlHandlingStrategy.extract(v.rawUrl)})),yn(v=>{let w=!1,T=!1;return ee(v).pipe(yn(M=>{if(this.navigationId>v.id)return this.cancelNavigationTransition(v,"",Qe.SupersededByNewNavigation),Ft;this.currentTransition=v,this.currentNavigation={id:M.id,initialUrl:M.rawUrl,extractedUrl:M.extractedUrl,trigger:M.source,extras:M.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const R=!a.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!R&&"reload"!==(M.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const G="";return this.events.next(new rt(M.id,this.urlSerializer.serialize(M.rawUrl),G,ir.IgnoredSameUrlNavigation)),M.resolve(!1),Ft}if(this.urlHandlingStrategy.shouldProcessUrl(M.rawUrl))return ee(M).pipe(yn(G=>{const Te=this.transitions?.getValue();return this.events.next(new Lt(G.id,this.urlSerializer.serialize(G.extractedUrl),G.source,G.restoredState)),Te!==this.transitions?.getValue()?Ft:Promise.resolve(G)}),function ff(s,c,a,l,p,v){return St(w=>function fl(s,c,a,l,p,v,w="emptyOnly"){return new Kt(s,c,a,l,p,w,v).recognize()}(s,c,a,l,w.extractedUrl,p,v).pipe((0,$e.T)(({state:T,tree:M})=>({...w,targetSnapshot:T,urlAfterRedirects:M}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.config,this.urlSerializer,this.paramsInheritanceStrategy),yt(G=>{v.targetSnapshot=G.targetSnapshot,v.urlAfterRedirects=G.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:G.urlAfterRedirects};const Te=new se(G.id,this.urlSerializer.serialize(G.extractedUrl),this.urlSerializer.serialize(G.urlAfterRedirects),G.targetSnapshot);this.events.next(Te)}));if(R&&this.urlHandlingStrategy.shouldProcessUrl(M.currentRawUrl)){const{id:G,extractedUrl:Te,source:Ee,restoredState:Ne,extras:nt}=M,Ye=new Lt(G,this.urlSerializer.serialize(Te),Ee,Ne);this.events.next(Ye);const xe=ys(this.rootComponentType).snapshot;return this.currentTransition=v={...M,targetSnapshot:xe,urlAfterRedirects:Te,extras:{...nt,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Te,ee(v)}{const G="";return this.events.next(new rt(M.id,this.urlSerializer.serialize(M.extractedUrl),G,ir.IgnoredByUrlHandlingStrategy)),M.resolve(!1),Ft}}),yt(M=>{const R=new Di(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects),M.targetSnapshot);this.events.next(R)}),(0,$e.T)(M=>(this.currentTransition=v={...M,guards:iu(M.targetSnapshot,M.currentSnapshot,this.rootContexts)},v)),function au(s,c){return St(a=>{const{targetSnapshot:l,currentSnapshot:p,guards:{canActivateChecks:v,canDeactivateChecks:w}}=a;return 0===w.length&&0===v.length?ee({...a,guardsResult:!0}):function ro(s,c,a,l){return Pt(s).pipe(St(p=>function uf(s,c,a,l,p){const v=c&&c.routeConfig?c.routeConfig.canDeactivate:null;return v&&0!==v.length?ee(v.map(T=>{const M=no(c)??p,R=It(T,M);return nr(function af(s){return s&&bi(s.canDeactivate)}(R)?R.canDeactivate(s,c,a,l):(0,I.N4e)(M,()=>R(s,c,a,l))).pipe(qn())})).pipe(cr()):ee(!0)}(p.component,p.route,a,c,l)),qn(p=>!0!==p,!0))}(w,l,p,s).pipe(St(T=>T&&function su(s){return"boolean"==typeof s}(T)?function ue(s,c,a,l){return Pt(c).pipe(Wr(p=>yo(function uu(s,c){return null!==s&&c&&c(new sr(s)),ee(!0)}(p.route.parent,l),function bs(s,c){return null!==s&&c&&c(new Yc(s)),ee(!0)}(p.route,l),function hg(s,c,a){const l=c[c.length-1],v=c.slice(0,c.length-1).reverse().map(w=>function Ei(s){const c=s.routeConfig?s.routeConfig.canActivateChild:null;return c&&0!==c.length?{node:s,guards:c}:null}(w)).filter(w=>null!==w).map(w=>zr(()=>ee(w.guards.map(M=>{const R=no(w.node)??a,L=It(M,R);return nr(function il(s){return s&&bi(s.canActivateChild)}(L)?L.canActivateChild(l,s):(0,I.N4e)(R,()=>L(l,s))).pipe(qn())})).pipe(cr())));return ee(v).pipe(cr())}(s,p.path,a),function al(s,c,a){const l=c.routeConfig?c.routeConfig.canActivate:null;if(!l||0===l.length)return ee(!0);const p=l.map(v=>zr(()=>{const w=no(c)??a,T=It(v,w);return nr(function Sn(s){return s&&bi(s.canActivate)}(T)?T.canActivate(c,s):(0,I.N4e)(w,()=>T(c,s))).pipe(qn())}));return ee(p).pipe(cr())}(s,p.route,a))),qn(p=>!0!==p,!0))}(l,v,s,c):ee(T)),(0,$e.T)(T=>({...a,guardsResult:T})))})}(this.environmentInjector,M=>this.events.next(M)),yt(M=>{if(v.guardsResult=M.guardsResult,M.guardsResult&&"boolean"!=typeof M.guardsResult)throw tu(0,M.guardsResult);const R=new Kc(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects),M.targetSnapshot,!!M.guardsResult);this.events.next(R)}),Wt(M=>!!M.guardsResult||(this.cancelNavigationTransition(M,"",Qe.GuardRejected),!1)),gu(M=>{if(M.guards.canActivateChecks.length)return ee(M).pipe(yt(R=>{const L=new To(R.id,this.urlSerializer.serialize(R.extractedUrl),this.urlSerializer.serialize(R.urlAfterRedirects),R.targetSnapshot);this.events.next(L)}),yn(R=>{let L=!1;return ee(R).pipe(function hf(s,c){return St(a=>{const{targetSnapshot:l,guards:{canActivateChecks:p}}=a;if(!p.length)return ee(a);const v=new Set(p.map(M=>M.route)),w=new Set;for(const M of v)if(!w.has(M))for(const R of Ns(M))w.add(R);let T=0;return Pt(w).pipe(Wr(M=>v.has(M)?function hu(s,c,a,l){const p=s.routeConfig,v=s._resolve;return void 0!==p?.title&&!ws(p)&&(v[Co]=p.title),function pu(s,c,a,l){const p=di(s);if(0===p.length)return ee({});const v={};return Pt(p).pipe(St(w=>function As(s,c,a,l){const p=no(c)??l,v=It(s,p);return nr(v.resolve?v.resolve(c,a):(0,I.N4e)(p,()=>v(c,a)))}(s[w],c,a,l).pipe(qn(),yt(T=>{if(T instanceof nl)throw tu(new Yr,T);v[w]=T}))),qr(1),function Gc(s){return(0,$e.T)(()=>s)}(v),Cr(w=>Oo(w)?Ft:Gr(w)))}(v,s,c,l).pipe((0,$e.T)(w=>(s._resolvedData=w,s.data=on(s,s.parent,a).resolve,null)))}(M,l,s,c):(M.data=on(M,M.parent,s).resolve,ee(void 0))),yt(()=>T++),qr(1),St(M=>T===w.size?ee(a):Ft))})}(this.paramsInheritanceStrategy,this.environmentInjector),yt({next:()=>L=!0,complete:()=>{L||this.cancelNavigationTransition(R,"",Qe.NoDataFromResolver)}}))}),yt(R=>{const L=new ot(R.id,this.urlSerializer.serialize(R.extractedUrl),this.urlSerializer.serialize(R.urlAfterRedirects),R.targetSnapshot);this.events.next(L)}))}),gu(M=>{const R=L=>{const G=[];L.routeConfig?.loadComponent&&!L.routeConfig._loadedComponent&&G.push(this.configLoader.loadComponent(L.routeConfig).pipe(yt(Te=>{L.component=Te}),(0,$e.T)(()=>{})));for(const Te of L.children)G.push(...R(Te));return G};return kt(R(M.targetSnapshot.root)).pipe(Pn(null),Wn(1))}),gu(()=>this.afterPreactivation()),yn(()=>{const{currentSnapshot:M,targetSnapshot:R}=v,L=this.createViewTransition?.(this.environmentInjector,M.root,R.root);return L?Pt(L).pipe((0,$e.T)(()=>v)):ee(v)}),(0,$e.T)(M=>{const R=function ag(s,c,a){const l=Es(s,c._root,a?a._root:void 0);return new jt(l,c)}(a.routeReuseStrategy,M.targetSnapshot,M.currentRouterState);return this.currentTransition=v={...M,targetRouterState:R},this.currentNavigation.targetRouterState=R,v}),yt(()=>{this.events.next(new ar)}),((s,c,a,l)=>(0,$e.T)(p=>(new ol(c,p.targetRouterState,p.currentRouterState,a,l).activate(s),p)))(this.rootContexts,a.routeReuseStrategy,M=>this.events.next(M),this.inputBindingEnabled),Wn(1),yt({next:M=>{w=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ut(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects))),this.titleStrategy?.updateTitle(M.targetRouterState.snapshot),M.resolve(!0)},complete:()=>{w=!0}}),function Be(s){return(0,vt.N)((c,a)=>{re(s).subscribe((0,Ct._)(a,()=>a.complete(),za.l)),!a.closed&&c.subscribe(a)})}(this.transitionAbortSubject.pipe(yt(M=>{throw M}))),qt(()=>{!w&&!T&&this.cancelNavigationTransition(v,"",Qe.SupersededByNewNavigation),this.currentTransition?.id===v.id&&(this.currentNavigation=null,this.currentTransition=null)}),Cr(M=>{if(T=!0,nu(M))this.events.next(new Oe(v.id,this.urlSerializer.serialize(v.extractedUrl),M.message,M.cancellationCode)),function rl(s){return nu(s)&&_o(s.url)}(M)?this.events.next(new te(M.url,M.navigationBehaviorOptions)):v.resolve(!1);else{const R=new En(v.id,this.urlSerializer.serialize(v.extractedUrl),M,v.targetSnapshot??void 0);try{const L=(0,I.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(R));if(L instanceof nl){const{message:G,cancellationCode:Te}=tu(0,L);this.events.next(new Oe(v.id,this.urlSerializer.serialize(v.extractedUrl),G,Te)),this.events.next(new te(L.redirectTo,L.navigationBehaviorOptions))}else{this.events.next(R);const G=a.errorHandler(M);v.resolve(!!G)}}catch(L){this.options.resolveNavigationPromiseOnError?v.resolve(!1):v.reject(L)}}return Ft}))}))}cancelNavigationTransition(a,l,p){const v=new Oe(a.id,this.urlSerializer.serialize(a.extractedUrl),l,p);this.events.next(v),a.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();function Cl(s){return s!==j}let Ni=(()=>{class s{static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275prov=I.jDH({token:s,factory:()=>(0,I.WQX)(gf),providedIn:"root"})}}return s})();class Yn{shouldDetach(c){return!1}store(c,a){}shouldAttach(c){return!1}retrieve(c){return null}shouldReuseRoute(c,a){return c.routeConfig===a.routeConfig}}let gf=(()=>{class s extends Yn{static{this.\u0275fac=(()=>{let a;return function(p){return(a||(a=I.xGo(s)))(p||s)}})()}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})(),Ai=(()=>{class s{static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275prov=I.jDH({token:s,factory:()=>(0,I.WQX)(Rs),providedIn:"root"})}}return s})(),Rs=(()=>{class s extends Ai{constructor(){super(...arguments),this.location=(0,I.WQX)(_.aZ),this.urlSerializer=(0,I.WQX)(Kr),this.options=(0,I.WQX)(ko,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,I.WQX)(Rt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new wr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ys(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(a){return this.location.subscribe(l=>{"popstate"===l.type&&a(l.url,l.state)})}handleRouterEvent(a,l){if(a instanceof Lt)this.stateMemento=this.createStateMemento();else if(a instanceof rt)this.rawUrlTree=l.initialUrl;else if(a instanceof se){if("eager"===this.urlUpdateStrategy&&!l.extras.skipLocationChange){const p=this.urlHandlingStrategy.merge(l.finalUrl,l.initialUrl);this.setBrowserUrl(p,l)}}else a instanceof ar?(this.currentUrlTree=l.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(l.finalUrl,l.initialUrl),this.routerState=l.targetRouterState,"deferred"===this.urlUpdateStrategy&&(l.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,l))):a instanceof Oe&&(a.code===Qe.GuardRejected||a.code===Qe.NoDataFromResolver)?this.restoreHistory(l):a instanceof En?this.restoreHistory(l,!0):a instanceof ut&&(this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId)}setBrowserUrl(a,l){const p=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(p)||l.extras.replaceUrl){const w={...l.extras.state,...this.generateNgRouterState(l.id,this.browserPageId)};this.location.replaceState(p,"",w)}else{const v={...l.extras.state,...this.generateNgRouterState(l.id,this.browserPageId+1)};this.location.go(p,"",v)}}restoreHistory(a,l=!1){if("computed"===this.canceledNavigationResolution){const v=this.currentPageId-this.browserPageId;0!==v?this.location.historyGo(v):this.currentUrlTree===a.finalUrl&&0===v&&(this.resetState(a),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(l&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,l){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:l}:{navigationId:a}}static{this.\u0275fac=(()=>{let a;return function(p){return(a||(a=I.xGo(s)))(p||s)}})()}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();var Tr=function(s){return s[s.COMPLETE=0]="COMPLETE",s[s.FAILED=1]="FAILED",s[s.REDIRECTING=2]="REDIRECTING",s}(Tr||{});function wl(s){throw s}const El={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mf={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let hn=(()=>{class s{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,I.WQX)(I.H3F),this.stateManager=(0,I.WQX)(Ai),this.options=(0,I.WQX)(ko,{optional:!0})||{},this.pendingTasks=(0,I.WQX)(I.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,I.WQX)(Ti),this.urlSerializer=(0,I.WQX)(Kr),this.location=(0,I.WQX)(_.aZ),this.urlHandlingStrategy=(0,I.WQX)(Rt),this._events=new Gn.B,this.errorHandler=this.options.errorHandler||wl,this.navigated=!1,this.routeReuseStrategy=(0,I.WQX)(Ni),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,I.WQX)(_i,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,I.WQX)(eu,{optional:!0}),this.eventsSubscription=new ln.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:a=>{this.console.warn(a)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const a=this.navigationTransitions.events.subscribe(l=>{try{const p=this.navigationTransitions.currentTransition,v=this.navigationTransitions.currentNavigation;if(null!==p&&null!==v)if(this.stateManager.handleRouterEvent(l,v),l instanceof Oe&&l.code!==Qe.Redirect&&l.code!==Qe.SupersededByNewNavigation)this.navigated=!0;else if(l instanceof ut)this.navigated=!0;else if(l instanceof te){const w=l.navigationBehaviorOptions,T=this.urlHandlingStrategy.merge(l.url,p.currentRawUrl),M={info:p.extras.info,skipLocationChange:p.extras.skipLocationChange,replaceUrl:p.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Cl(p.source),...w};this.scheduleNavigation(T,j,null,M,{resolve:p.resolve,reject:p.reject,promise:p.promise})}(function vf(s){return!(s instanceof ar||s instanceof te)})(l)&&this._events.next(l)}catch(p){this.navigationTransitions.transitionAbortSubject.next(p)}});this.eventsSubscription.add(a)}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),j,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((a,l)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(a,"popstate",l)},0)})}navigateToSyncWithBrowser(a,l,p){const v={replaceUrl:!0},w=p?.navigationId?p:null;if(p){const M={...p};delete M.navigationId,delete M.\u0275routerPageId,0!==Object.keys(M).length&&(v.state=M)}const T=this.parseUrl(a);this.scheduleNavigation(T,l,w,v)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map(Is),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(a,l={}){const{relativeTo:p,queryParams:v,fragment:w,queryParamsHandling:T,preserveFragment:M}=l,R=M?this.currentUrlTree.fragment:w;let G,L=null;switch(T){case"merge":L={...this.currentUrlTree.queryParams,...v};break;case"preserve":L=this.currentUrlTree.queryParams;break;default:L=v||null}null!==L&&(L=this.removeEmptyProps(L));try{G=h(p?p.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||"/"!==a[0][0])&&(a=[]),G=this.currentUrlTree.root}return C(G,a,L,R??null)}navigateByUrl(a,l={skipLocationChange:!1}){const p=_o(a)?a:this.parseUrl(a),v=this.urlHandlingStrategy.merge(p,this.rawUrlTree);return this.scheduleNavigation(v,j,null,l)}navigate(a,l={skipLocationChange:!1}){return function Ri(s){for(let c=0;c(null!=v&&(l[p]=v),l),{})}scheduleNavigation(a,l,p,v,w){if(this.disposed)return Promise.resolve(!1);let T,M,R;w?(T=w.resolve,M=w.reject,R=w.promise):R=new Promise((G,Te)=>{T=G,M=Te});const L=this.pendingTasks.add();return function Os(s,c){s.events.pipe(Wt(a=>a instanceof ut||a instanceof Oe||a instanceof En||a instanceof rt),(0,$e.T)(a=>a instanceof ut||a instanceof rt?Tr.COMPLETE:a instanceof Oe&&(a.code===Qe.Redirect||a.code===Qe.SupersededByNewNavigation)?Tr.REDIRECTING:Tr.FAILED),Wt(a=>a!==Tr.REDIRECTING),Wn(1)).subscribe(()=>{c()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(L))}),this.navigationTransitions.handleNavigationRequest({source:l,restoredState:p,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:a,extras:v,resolve:T,reject:M,promise:R,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),R.catch(G=>Promise.reject(G))}static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275prov=I.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();const io=new I.nKC("");function xs(s){return s.routerState.root}function Fn(){const s=(0,I.WQX)(I.zZn);return c=>{const a=s.get(I.o8S);if(c!==a.components[0])return;const l=s.get(hn),p=s.get(Sl);1===s.get(Fo)&&l.initialNavigation(),s.get(Ps,null,I.$GK.Optional)?.setUpPreloading(),s.get(io,null,I.$GK.Optional)?.init(),l.resetRootComponentType(a.componentTypes[0]),p.closed||(p.next(),p.complete(),p.unsubscribe())}}const Sl=new I.nKC("",{factory:()=>new Gn.B}),Fo=new I.nKC("",{providedIn:"root",factory:()=>1}),Ps=new I.nKC(""),ks=[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"dashboard",loadComponent:()=>H.e(626).then(H.bind(H,626)).then(s=>s.DashboardComponent)}],Tl={providers:[(0,I.Jn2)({eventCoalescing:!0}),function xi(s,...c){return(0,I.EmA)([{provide:_i,multi:!0,useValue:s},[],{provide:ur,useFactory:xs,deps:[hn]},{provide:I.iLQ,multi:!0,useFactory:Fn},c.map(a=>a.\u0275providers)])}(ks)]};(function Qo(s,c){return(0,I.TL3)({rootComponent:s,...Pr(c)})})((()=>{class s{static{this.\u0275fac=function(l){return new(l||s)}}static{this.\u0275cmp=I.VBU({type:s,selectors:[["app-root"]],standalone:!0,features:[I.aNF],decls:10,vars:0,consts:[[1,"min-h-screen","flex","flex-col","justify-between","p-6","bg-[#0a0a0c]"],[1,"flex","justify-between","items-center","border-b","border-white/10","pb-4","mb-6"],[1,"text-2xl","font-extrabold","tracking-wider","text-transparent","bg-clip-text","bg-gradient-to-r","from-cyan-400","to-blue-500"],[1,"text-xs","text-white/50"],[1,"flex-grow"],[1,"border-t","border-white/5","pt-4","mt-6","text-center","text-xs","text-white/30"]],template:function(l,p){1&l&&(I.j41(0,"main",0)(1,"header",1)(2,"h1",2),I.EFF(3," KINETIX INTRANET "),I.k0s(),I.j41(4,"div",3),I.EFF(5,"MODULAR AGENT ARCHITECTURE"),I.k0s()(),I.j41(6,"section",4),I.nrm(7,"router-outlet"),I.k0s(),I.j41(8,"footer",5),I.EFF(9," \xa9 2026 Kinetix Corp. All rights reserved. "),I.k0s()())},dependencies:[el],encapsulation:2})}}return s})(),Tl).catch(s=>console.error(s))},398:(ft,ge,H)=>{H.d(ge,{t:()=>I});var _=H(334);class I extends _.B{constructor(X){super(),this._value=X}get value(){return this.getValue()}_subscribe(X){const W=super._subscribe(X);return!W.closed&&X.next(this._value),W}getValue(){const{hasError:X,thrownError:W,_value:q}=this;if(X)throw W;return this._throwIfClosed(),q}next(X){super.next(this._value=X)}}},799:(ft,ge,H)=>{H.d(ge,{c:()=>Je});var _=H(713),I=H(539),de=H(848),X=H(297),W=H(348),q=H(429),We=H(540);let Je=(()=>{class Y{constructor(ce){ce&&(this._subscribe=ce)}lift(ce){const Le=new Y;return Le.source=this,Le.operator=ce,Le}subscribe(ce,Le,Qt){const ht=function V(Y){return Y&&Y instanceof _.vU||function Z(Y){return Y&&(0,q.T)(Y.next)&&(0,q.T)(Y.error)&&(0,q.T)(Y.complete)}(Y)&&(0,I.Uv)(Y)}(ce)?ce:new _.Ms(ce,Le,Qt);return(0,We.Y)(()=>{const{operator:Nt,source:Yt}=this;ht.add(Nt?Nt.call(ht,Yt):Yt?this._subscribe(ht):this._trySubscribe(ht))}),ht}_trySubscribe(ce){try{return this._subscribe(ce)}catch(Le){ce.error(Le)}}forEach(ce,Le){return new(Le=Se(Le))((Qt,ht)=>{const Nt=new _.Ms({next:Yt=>{try{ce(Yt)}catch(mr){ht(mr),Nt.unsubscribe()}},error:ht,complete:Qt});this.subscribe(Nt)})}_subscribe(ce){var Le;return null===(Le=this.source)||void 0===Le?void 0:Le.subscribe(ce)}[de.s](){return this}pipe(...ce){return(0,X.m)(ce)(this)}toPromise(ce){return new(ce=Se(ce))((Le,Qt)=>{let ht;this.subscribe(Nt=>ht=Nt,Nt=>Qt(Nt),()=>Le(ht))})}}return Y.create=Ue=>new Y(Ue),Y})();function Se(Y){var Ue;return null!==(Ue=Y??W.$.Promise)&&void 0!==Ue?Ue:Promise}},334:(ft,ge,H)=>{H.d(ge,{B:()=>We});var _=H(799),I=H(539);const X=(0,H(279).L)(Se=>function(){Se(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var W=H(618),q=H(540);let We=(()=>{class Se extends _.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(V){const Y=new Je(this,this);return Y.operator=V,Y}_throwIfClosed(){if(this.closed)throw new X}next(V){(0,q.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Y of this.currentObservers)Y.next(V)}})}error(V){(0,q.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=V;const{observers:Y}=this;for(;Y.length;)Y.shift().error(V)}})}complete(){(0,q.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:V}=this;for(;V.length;)V.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var V;return(null===(V=this.observers)||void 0===V?void 0:V.length)>0}_trySubscribe(V){return this._throwIfClosed(),super._trySubscribe(V)}_subscribe(V){return this._throwIfClosed(),this._checkFinalizedStatuses(V),this._innerSubscribe(V)}_innerSubscribe(V){const{hasError:Y,isStopped:Ue,observers:ce}=this;return Y||Ue?I.Kn:(this.currentObservers=null,ce.push(V),new I.yU(()=>{this.currentObservers=null,(0,W.o)(ce,V)}))}_checkFinalizedStatuses(V){const{hasError:Y,thrownError:Ue,isStopped:ce}=this;Y?V.error(Ue):ce&&V.complete()}asObservable(){const V=new _.c;return V.source=this,V}}return Se.create=(Z,V)=>new Je(Z,V),Se})();class Je extends We{constructor(Z,V){super(),this.destination=Z,this.source=V}next(Z){var V,Y;null===(Y=null===(V=this.destination)||void 0===V?void 0:V.next)||void 0===Y||Y.call(V,Z)}error(Z){var V,Y;null===(Y=null===(V=this.destination)||void 0===V?void 0:V.error)||void 0===Y||Y.call(V,Z)}complete(){var Z,V;null===(V=null===(Z=this.destination)||void 0===Z?void 0:Z.complete)||void 0===V||V.call(Z)}_subscribe(Z){var V,Y;return null!==(Y=null===(V=this.source)||void 0===V?void 0:V.subscribe(Z))&&void 0!==Y?Y:I.Kn}}},713:(ft,ge,H)=>{H.d(ge,{Ms:()=>Qt,vU:()=>Y});var _=H(429),I=H(539),de=H(348),X=H(512),W=H(777);const q=Se("C",void 0,void 0);function Se(it,oe,qe){return{kind:it,value:oe,error:qe}}var Z=H(356),V=H(540);class Y extends I.yU{constructor(oe){super(),this.isStopped=!1,oe?(this.destination=oe,(0,I.Uv)(oe)&&oe.add(this)):this.destination=mr}static create(oe,qe,pt){return new Qt(oe,qe,pt)}next(oe){this.isStopped?Yt(function Je(it){return Se("N",it,void 0)}(oe),this):this._next(oe)}error(oe){this.isStopped?Yt(function We(it){return Se("E",void 0,it)}(oe),this):(this.isStopped=!0,this._error(oe))}complete(){this.isStopped?Yt(q,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(oe){this.destination.next(oe)}_error(oe){try{this.destination.error(oe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ue=Function.prototype.bind;function ce(it,oe){return Ue.call(it,oe)}class Le{constructor(oe){this.partialObserver=oe}next(oe){const{partialObserver:qe}=this;if(qe.next)try{qe.next(oe)}catch(pt){ht(pt)}}error(oe){const{partialObserver:qe}=this;if(qe.error)try{qe.error(oe)}catch(pt){ht(pt)}else ht(oe)}complete(){const{partialObserver:oe}=this;if(oe.complete)try{oe.complete()}catch(qe){ht(qe)}}}class Qt extends Y{constructor(oe,qe,pt){let Zt;if(super(),(0,_.T)(oe)||!oe)Zt={next:oe??void 0,error:qe??void 0,complete:pt??void 0};else{let et;this&&de.$.useDeprecatedNextContext?(et=Object.create(oe),et.unsubscribe=()=>this.unsubscribe(),Zt={next:oe.next&&ce(oe.next,et),error:oe.error&&ce(oe.error,et),complete:oe.complete&&ce(oe.complete,et)}):Zt=oe}this.destination=new Le(Zt)}}function ht(it){de.$.useDeprecatedSynchronousErrorHandling?(0,V.l)(it):(0,X.m)(it)}function Yt(it,oe){const{onStoppedNotification:qe}=de.$;qe&&Z.f.setTimeout(()=>qe(it,oe))}const mr={closed:!0,next:W.l,error:function Nt(it){throw it},complete:W.l}},539:(ft,ge,H)=>{H.d(ge,{Kn:()=>q,yU:()=>W,Uv:()=>We});var _=H(429);const de=(0,H(279).L)(Se=>function(V){Se(this),this.message=V?`${V.length} errors occurred during unsubscription:\n${V.map((Y,Ue)=>`${Ue+1}) ${Y.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=V});var X=H(618);class W{constructor(Z){this.initialTeardown=Z,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Z;if(!this.closed){this.closed=!0;const{_parentage:V}=this;if(V)if(this._parentage=null,Array.isArray(V))for(const ce of V)ce.remove(this);else V.remove(this);const{initialTeardown:Y}=this;if((0,_.T)(Y))try{Y()}catch(ce){Z=ce instanceof de?ce.errors:[ce]}const{_finalizers:Ue}=this;if(Ue){this._finalizers=null;for(const ce of Ue)try{Je(ce)}catch(Le){Z=Z??[],Le instanceof de?Z=[...Z,...Le.errors]:Z.push(Le)}}if(Z)throw new de(Z)}}add(Z){var V;if(Z&&Z!==this)if(this.closed)Je(Z);else{if(Z instanceof W){if(Z.closed||Z._hasParent(this))return;Z._addParent(this)}(this._finalizers=null!==(V=this._finalizers)&&void 0!==V?V:[]).push(Z)}}_hasParent(Z){const{_parentage:V}=this;return V===Z||Array.isArray(V)&&V.includes(Z)}_addParent(Z){const{_parentage:V}=this;this._parentage=Array.isArray(V)?(V.push(Z),V):V?[V,Z]:Z}_removeParent(Z){const{_parentage:V}=this;V===Z?this._parentage=null:Array.isArray(V)&&(0,X.o)(V,Z)}remove(Z){const{_finalizers:V}=this;V&&(0,X.o)(V,Z),Z instanceof W&&Z._removeParent(this)}}W.EMPTY=(()=>{const Se=new W;return Se.closed=!0,Se})();const q=W.EMPTY;function We(Se){return Se instanceof W||Se&&"closed"in Se&&(0,_.T)(Se.remove)&&(0,_.T)(Se.add)&&(0,_.T)(Se.unsubscribe)}function Je(Se){(0,_.T)(Se)?Se():Se.unsubscribe()}},348:(ft,ge,H)=>{H.d(ge,{$:()=>_});const _={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},578:(ft,ge,H)=>{H.d(ge,{_:()=>I});var _=H(713);function I(X,W,q,We,Je){return new de(X,W,q,We,Je)}class de extends _.vU{constructor(W,q,We,Je,Se,Z){super(W),this.onFinalize=Se,this.shouldUnsubscribe=Z,this._next=q?function(V){try{q(V)}catch(Y){W.error(Y)}}:super._next,this._error=Je?function(V){try{Je(V)}catch(Y){W.error(Y)}finally{this.unsubscribe()}}:super._error,this._complete=We?function(){try{We()}catch(V){W.error(V)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var W;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:q}=this;super.unsubscribe(),!q&&(null===(W=this.onFinalize)||void 0===W||W.call(this))}}}},764:(ft,ge,H)=>{H.d(ge,{T:()=>de});var _=H(536),I=H(578);function de(X,W){return(0,_.N)((q,We)=>{let Je=0;q.subscribe((0,I._)(We,Se=>{We.next(X.call(W,Se,Je++))}))})}},356:(ft,ge,H)=>{H.d(ge,{f:()=>_});const _={setTimeout(I,de,...X){const{delegate:W}=_;return W?.setTimeout?W.setTimeout(I,de,...X):setTimeout(I,de,...X)},clearTimeout(I){const{delegate:de}=_;return(de?.clearTimeout||clearTimeout)(I)},delegate:void 0}},848:(ft,ge,H)=>{H.d(ge,{s:()=>_});const _="function"==typeof Symbol&&Symbol.observable||"@@observable"},618:(ft,ge,H)=>{function _(I,de){if(I){const X=I.indexOf(de);0<=X&&I.splice(X,1)}}H.d(ge,{o:()=>_})},279:(ft,ge,H)=>{function _(I){const X=I(W=>{Error.call(W),W.stack=(new Error).stack});return X.prototype=Object.create(Error.prototype),X.prototype.constructor=X,X}H.d(ge,{L:()=>_})},540:(ft,ge,H)=>{H.d(ge,{Y:()=>de,l:()=>X});var _=H(348);let I=null;function de(W){if(_.$.useDeprecatedSynchronousErrorHandling){const q=!I;if(q&&(I={errorThrown:!1,error:null}),W(),q){const{errorThrown:We,error:Je}=I;if(I=null,We)throw Je}}else W()}function X(W){_.$.useDeprecatedSynchronousErrorHandling&&I&&(I.errorThrown=!0,I.error=W)}},871:(ft,ge,H)=>{function _(I){return I}H.d(ge,{D:()=>_})},429:(ft,ge,H)=>{function _(I){return"function"==typeof I}H.d(ge,{T:()=>_})},536:(ft,ge,H)=>{H.d(ge,{N:()=>de,S:()=>I});var _=H(429);function I(X){return(0,_.T)(X?.lift)}function de(X){return W=>{if(I(W))return W.lift(function(q){try{return X(q,this)}catch(We){this.error(We)}});throw new TypeError("Unable to lift unknown Observable type")}}},777:(ft,ge,H)=>{function _(){}H.d(ge,{l:()=>_})},297:(ft,ge,H)=>{H.d(ge,{F:()=>I,m:()=>de});var _=H(871);function I(...X){return de(X)}function de(X){return 0===X.length?_.D:1===X.length?X[0]:function(q){return X.reduce((We,Je)=>Je(We),q)}}},512:(ft,ge,H)=>{H.d(ge,{m:()=>de});var _=H(348),I=H(356);function de(X){I.f.setTimeout(()=>{const{onUnhandledError:W}=_.$;if(!W)throw X;W(X)})}},661:(ft,ge,H)=>{H.d(ge,{AJ:()=>us,MD:()=>La,N0:()=>kt,QT:()=>de,VF:()=>W,Vy:()=>zn,ZD:()=>X,_b:()=>os,aZ:()=>Nt,hb:()=>ce,qQ:()=>We});var _=H(690);let I=null;function de(){return I}function X(h){I??=h}class W{}const We=new _.nKC("");let Je=(()=>{class h{historyGo(g){throw new Error("")}static{this.\u0275fac=function(D){return new(D||h)}}static{this.\u0275prov=_.jDH({token:h,factory:()=>(0,_.WQX)(Z),providedIn:"platform"})}}return h})(),Z=(()=>{class h extends Je{constructor(){super(),this._doc=(0,_.WQX)(We),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return de().getBaseHref(this._doc)}onPopState(g){const D=de().getGlobalEventTarget(this._doc,"window");return D.addEventListener("popstate",g,!1),()=>D.removeEventListener("popstate",g)}onHashChange(g){const D=de().getGlobalEventTarget(this._doc,"window");return D.addEventListener("hashchange",g,!1),()=>D.removeEventListener("hashchange",g)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(g){this._location.pathname=g}pushState(g,D,b){this._history.pushState(g,D,b)}replaceState(g,D,b){this._history.replaceState(g,D,b)}forward(){this._history.forward()}back(){this._history.back()}historyGo(g=0){this._history.go(g)}getState(){return this._history.state}static{this.\u0275fac=function(D){return new(D||h)}}static{this.\u0275prov=_.jDH({token:h,factory:()=>new h,providedIn:"platform"})}}return h})();function V(h,C){if(0==h.length)return C;if(0==C.length)return h;let g=0;return h.endsWith("/")&&g++,C.startsWith("/")&&g++,2==g?h+C.substring(1):1==g?h+C:h+"/"+C}function Y(h){const C=h.match(/#|\?|$/),g=C&&C.index||h.length;return h.slice(0,g-("/"===h[g-1]?1:0))+h.slice(g)}function Ue(h){return h&&"?"!==h[0]?"?"+h:h}let ce=(()=>{class h{historyGo(g){throw new Error("")}static{this.\u0275fac=function(D){return new(D||h)}}static{this.\u0275prov=_.jDH({token:h,factory:()=>(0,_.WQX)(Qt),providedIn:"root"})}}return h})();const Le=new _.nKC("");let Qt=(()=>{class h extends ce{constructor(g,D){super(),this._platformLocation=g,this._removeListenerFns=[],this._baseHref=D??this._platformLocation.getBaseHrefFromDOM()??(0,_.WQX)(We).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(g){this._removeListenerFns.push(this._platformLocation.onPopState(g),this._platformLocation.onHashChange(g))}getBaseHref(){return this._baseHref}prepareExternalUrl(g){return V(this._baseHref,g)}path(g=!1){const D=this._platformLocation.pathname+Ue(this._platformLocation.search),b=this._platformLocation.hash;return b&&g?`${D}${b}`:D}pushState(g,D,b,O){const k=this.prepareExternalUrl(b+Ue(O));this._platformLocation.pushState(g,D,k)}replaceState(g,D,b,O){const k=this.prepareExternalUrl(b+Ue(O));this._platformLocation.replaceState(g,D,k)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(g=0){this._platformLocation.historyGo?.(g)}static{this.\u0275fac=function(D){return new(D||h)(_.KVO(Je),_.KVO(Le,8))}}static{this.\u0275prov=_.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})(),Nt=(()=>{class h{constructor(g){this._subject=new _.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=g;const D=this._locationStrategy.getBaseHref();this._basePath=function oe(h){if(new RegExp("^(https?:)?//").test(h)){const[,g]=h.split(/\/\/[^\/]+/);return g}return h}(Y(it(D))),this._locationStrategy.onPopState(b=>{this._subject.emit({url:this.path(!0),pop:!0,state:b.state,type:b.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(g=!1){return this.normalize(this._locationStrategy.path(g))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(g,D=""){return this.path()==this.normalize(g+Ue(D))}normalize(g){return h.stripTrailingSlash(function mr(h,C){if(!h||!C.startsWith(h))return C;const g=C.substring(h.length);return""===g||["/",";","?","#"].includes(g[0])?g:C}(this._basePath,it(g)))}prepareExternalUrl(g){return g&&"/"!==g[0]&&(g="/"+g),this._locationStrategy.prepareExternalUrl(g)}go(g,D="",b=null){this._locationStrategy.pushState(b,"",g,D),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+Ue(D)),b)}replaceState(g,D="",b=null){this._locationStrategy.replaceState(b,"",g,D),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+Ue(D)),b)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(g=0){this._locationStrategy.historyGo?.(g)}onUrlChange(g){return this._urlChangeListeners.push(g),this._urlChangeSubscription??=this.subscribe(D=>{this._notifyUrlChangeListeners(D.url,D.state)}),()=>{const D=this._urlChangeListeners.indexOf(g);this._urlChangeListeners.splice(D,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(g="",D){this._urlChangeListeners.forEach(b=>b(g,D))}subscribe(g,D,b){return this._subject.subscribe({next:g,error:D,complete:b})}static{this.normalizeQueryParams=Ue}static{this.joinWithSlash=V}static{this.stripTrailingSlash=Y}static{this.\u0275fac=function(D){return new(D||h)(_.KVO(ce))}}static{this.\u0275prov=_.jDH({token:h,factory:()=>function Yt(){return new Nt((0,_.KVO)(ce))}(),providedIn:"root"})}}return h})();function it(h){return h.replace(/\/index.html$/,"")}function os(h,C){C=encodeURIComponent(C);for(const g of h.split(";")){const D=g.indexOf("="),[b,O]=-1==D?[g,""]:[g.slice(0,D),g.slice(D+1)];if(b.trim()===C)return decodeURIComponent(O)}return null}let La=(()=>{class h{static{this.\u0275fac=function(D){return new(D||h)}}static{this.\u0275mod=_.$C({type:h})}static{this.\u0275inj=_.G2t({})}}return h})();const us="browser",ja="server";function zn(h){return h===ja}class kt{}},690:(ft,ge,H)=>{function _(e,t){return Object.is(e,t)}H.d(ge,{iLQ:()=>xd,sZ2:()=>Ff,o8S:()=>gr,BIS:()=>HE,gRc:()=>Ow,Ql9:()=>WN,Ocv:()=>eA,Z63:()=>dn,aKT:()=>_u,uvJ:()=>fn,zcH:()=>xe,bkB:()=>Nr,$GK:()=>le,nKC:()=>he,zZn:()=>L,_q3:()=>eg,MKu:()=>tg,xe9:()=>Fd,Co$:()=>My,Vns:()=>Hi,SKi:()=>dt,Agw:()=>Lf,PLl:()=>qg,sFG:()=>Tb,_9s:()=>kh,czy:()=>Gl,C4Q:()=>Gu,NYb:()=>VN,giA:()=>yw,RxE:()=>lw,c1b:()=>ld,gXe:()=>Wt,L39:()=>XA,EWP:()=>eR,Ol2:()=>tp,w6W:()=>_M,WQX:()=>K,QuC:()=>Dn,EmA:()=>Zr,Jn2:()=>YN,N4e:()=>h,vPA:()=>ay,O8t:()=>tR,H3F:()=>dw,H8p:()=>gs,KH2:()=>ga,TgB:()=>$i,wOt:()=>z,WHO:()=>mw,e01:()=>vw,H5H:()=>Mp,Zy3:()=>Un,mq5:()=>kD,JZv:()=>gt,TL3:()=>OA,LfX:()=>Ta,plB:()=>Uo,jNT:()=>Bp,zjR:()=>Dw,TL$:()=>VE,Tbb:()=>st,GFd:()=>by,OA$:()=>ru,aNF:()=>$C,R7$:()=>$m,BMQ:()=>hp,AVh:()=>yp,vxM:()=>bD,wni:()=>vC,VBU:()=>fs,FsC:()=>hi,jDH:()=>He,G2t:()=>un,$C:()=>wo,EJ8:()=>Eo,rXU:()=>zs,nrm:()=>Ip,k0s:()=>bd,j41:()=>Sd,RV6:()=>OD,xGo:()=>bu,KVO:()=>ee,kS0:()=>Mu,bIt:()=>Np,lsd:()=>DC,joV:()=>yl,qSk:()=>Cu,XpG:()=>aC,mGM:()=>yC,Dyx:()=>TD,Z7z:()=>_D,fX1:()=>MD,Njj:()=>_s,eBV:()=>ll,n$t:()=>Dm,DNE:()=>rp,EFF:()=>NC,JRh:()=>Op,SpI:()=>Nd});let I=null,de=!1,X=1;const W=Symbol("SIGNAL");function q(e){const t=I;return I=e,t}const Z={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function V(e){if(de)throw new Error("");if(null===I)return;I.consumerOnSignalRead(e);const t=I.nextProducerIndex++;pt(I),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Yt(e){pt(e);for(let t=0;t0}function pt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Zt(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const ke=Symbol("UNSET"),Bt=Symbol("COMPUTING"),Ke=Symbol("ERRORED"),wa={...Z,value:ke,dirty:!0,error:null,equal:_,producerMustRecompute:e=>e.value===ke||e.value===Bt,producerRecomputeValue(e){if(e.value===Bt)throw new Error("Detected cycle in computations.");const t=e.value;e.value=Bt;const n=ht(e);let r;try{r=e.computation()}catch(o){r=Ke,e.error=o}finally{Nt(e,n)}t!==ke&&t!==Ke&&r!==Ke&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let Wo=function Go(){throw new Error};function Qi(){Wo()}let qo=null;function uo(e,t){Le()||Qi(),e.equal(e.value,t)||(e.value=t,function Zo(e){e.version++,function Y(){X++}(),ce(e),qo?.()}(e))}const an={...Z,equal:_,value:void 0};var Ki=H(334),co=H(539),Ia=H(398),bc=H(764);const Xt="https://g.co/ng/security#xss";class z extends Error{constructor(t,n){super(Un(t,n)),this.code=t}}function Un(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function At(e){return{toString:e}.toString()}const Ce="__parameters__";function Hn(e,t,n){return At(()=>{const r=function mn(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const u=new o(...i);return d.annotation=u,d;function d(f,m,y){const E=f.hasOwnProperty(Ce)?f[Ce]:Object.defineProperty(f,Ce,{value:[]})[Ce];for(;E.length<=y;)E.push(null);return(E[y]=E[y]||[]).push(u),f}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const gt=globalThis;function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function st(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(st).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ji(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const _c=J({__forward_ref__:J});function Ko(e){return e.__forward_ref__=Ko,e.toString=function(){return st(this())},e}function ie(e){return at(e)?e():e}function at(e){return"function"==typeof e&&e.hasOwnProperty(_c)&&e.__forward_ref__===Ko}function He(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function un(e){return{providers:e.providers||[],imports:e.imports||[]}}function Lr(e){return jr(e,yr)||jr(e,os)}function Ta(e){return null!==Lr(e)}function jr(e,t){return e.hasOwnProperty(t)?e[t]:null}function Vr(e){return e&&(e.hasOwnProperty(rs)||e.hasOwnProperty(ei))?e[rs]:null}const yr=J({\u0275prov:J}),rs=J({\u0275inj:J}),os=J({ngInjectableDef:J}),ei=J({ngInjectorDef:J});class he{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=He({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function go(e){return e&&!!e.\u0275providers}const $n=J({\u0275cmp:J}),Ur=J({\u0275dir:J}),mo=J({\u0275pipe:J}),si=J({\u0275mod:J}),Rn=J({\u0275fac:J}),Hr=J({__NG_ELEMENT_ID__:J}),ai=J({__NG_ENV_ID__:J});function re(e){return"string"==typeof e?e:null==e?"":String(e)}function ui(e,t){throw new z(-201,!1)}var le=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(le||{});let vt;function Ct(){return vt}function xt(e){const t=vt;return vt=e,t}function ci(e,t,n){const r=Lr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&le.Optional?null:void 0!==t?t:void ui()}const $r={},li="__NG_DI_FLAG__",Br="ngTempTokenPath",ka=/\n/gm,ss="__source";let Bn;function Jt(e){const t=Bn;return Bn=e,t}function Uc(e,t=le.Default){if(void 0===Bn)throw new z(-203,!1);return null===Bn?ci(e,void 0,t):Bn.get(e,t&le.Optional?null:void 0,t)}function ee(e,t=le.Default){return(Ct()||Uc)(ie(e),t)}function K(e,t=le.Default){return ee(e,On(t))}function On(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function as(e){const t=[];for(let n=0;nArray.isArray(n)?xn(n,t):t(n))}function ls(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function tr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Gt(e,t,n){let r=Ft(e,t);return r>=0?e[1|r]=n:(r=~r,function yo(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Gr(e,t){const n=Ft(e,t);if(n>=0)return e[1|n]}function Ft(e,t){return function Va(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),u=e[i<t?o=i:r=i+1}return~(o<t){u=i-1;break}}}for(;i-1){let i;for(;++oi?"":o[y+1].toLowerCase(),2&r&&m!==E){if(qt(r))return!1;u=!0}}}}else{if(!u&&!qt(r)&&!qt(f))return!1;if(u&&qt(f))continue;u=!1,r=f|1&r}}return qt(r)||u}function qt(e){return!(1&e)}function za(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+d+'"':"")+"]"}else 8&r?o+="."+u:4&r&&(o+=" "+u);else""!==o&&!qt(u)&&(t+=Ga(i,o),o=""),r=u,i=i||!qt(r);n++}return""!==o&&(t+=Ga(i,o)),t}function fs(e){return At(()=>{const t=wr(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Do.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Wt.Emulated,styles:e.styles||we,_:null,schemas:e.schemas||null,tView:null,id:""};je(n);const r=e.dependencies;return n.directiveDefs=rr(r,!1),n.pipeDefs=rr(r,!0),n.id=function Qn(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Wa(e){return fe(e)||wt(e)}function nr(e){return null!==e}function wo(e){return At(()=>({type:e.type,bootstrap:e.bootstrap||we,declarations:e.declarations||we,imports:e.imports||we,exports:e.exports||we,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fi(e,t){if(null==e)return ln;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,u,d=Pn.None;Array.isArray(o)?(d=o[0],i=o[1],u=o[2]??i):(i=o,u=o),t?(n[i]=d!==Pn.None?[r,d]:r,t[i]=u):n[i]=r}return n}function hi(e){return At(()=>{const t=wr(e);return je(t),t})}function Eo(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function fe(e){return e[$n]||null}function wt(e){return e[Ur]||null}function bt(e){return e[mo]||null}function Dn(e){const t=fe(e)||wt(e)||bt(e);return null!==t&&t.standalone}function mt(e,t){const n=e[si]||null;if(!n&&!0===t)throw new Error(`Type ${st(e)} does not have '\u0275mod' property.`);return n}function wr(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||ln,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||we,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:fi(e.inputs,t),outputs:fi(e.outputs),debugInfo:null}}function je(e){e.features?.forEach(t=>t(e))}function rr(e,t){if(!e)return null;const n=t?bt:Wa;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(nr)}function Zr(e){return{\u0275providers:e}}function Kr(...e){return{\u0275providers:Yr(0,e),\u0275fromNgModule:!0}}function Yr(e,...t){const n=[],r=new Set;let o;const i=u=>{n.push(u)};return xn(t,u=>{const d=u;Er(d,i,[],r)&&(o||=[],o.push(d))}),void 0!==o&&qa(o,i),n}function qa(e,t){for(let n=0;n{t(i,r)})}}function Er(e,t,n,r){if(!(e=ie(e)))return!1;let o=null,i=Vr(e);const u=!i&&fe(e);if(i||u){if(u&&!u.standalone)return!1;o=e}else{const f=e.ngModule;if(i=Vr(f),!i)return!1;o=f}const d=r.has(o);if(u){if(d)return!1;if(r.add(o),u.dependencies){const f="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const m of f)Er(m,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!d){let m;r.add(o);try{xn(i.imports,y=>{Er(y,t,n,r)&&(m||=[],m.push(y))})}finally{}void 0!==m&&qa(m,t)}if(!d){const m=er(o)||(()=>new o);t({provide:o,useFactory:m,deps:we},o),t({provide:yn,useValue:o,multi:!0},o),t({provide:dn,useValue:()=>ee(o),multi:!0},o)}const f=i.providers;if(null!=f&&!d){const m=e;gi(f,y=>{t(y,m)})}}}return o!==e&&void 0!==e.providers}function gi(e,t){for(let n of e)go(n)&&(n=n.\u0275providers),Array.isArray(n)?gi(n,t):t(n)}const mi=J({provide:String,useValue:J});function vi(e){return null!==e&&"object"==typeof e&&mi in e}function or(e){return"function"==typeof e}const gs=new he(""),So={},Qa={};let bo;function yi(){return void 0===bo&&(bo=new Wn),bo}class fn{}class Jr extends fn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,vs(t,u=>this.processProvider(u)),this.records.set(Gn,Ir(void 0,this)),o.has("environment")&&this.records.set(fn,Ir(void 0,this));const i=this.records.get(gs);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(yn,we,le.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=q(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),q(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Jt(this),r=xt(void 0);try{return t()}finally{Jt(n),xt(r)}}get(t,n=$r,r=le.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ai))return t[ai](this);r=On(r);const i=Jt(this),u=xt(void 0);try{if(!(r&le.SkipSelf)){let f=this.records.get(t);if(void 0===f){const m=function _o(e){return"function"==typeof e||"object"==typeof e&&e instanceof he}(t)&&Lr(t);f=m&&this.injectableDefInScope(m)?Ir(ms(t),So):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&le.Self?yi():this.parent).get(t,n=r&le.Optional&&n===$r?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[Br]=d[Br]||[]).unshift(st(t)),i)throw d;return function us(e,t,n,r){const o=e[Br];throw t[ss]&&o.unshift(t[ss]),e.message=function ja(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=st(t);if(Array.isArray(t))o=t.map(st).join(" -> ");else if("object"==typeof t){let i=[];for(let u in t)if(t.hasOwnProperty(u)){let d=t[u];i.push(u+":"+("string"==typeof d?JSON.stringify(d):st(d)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ka,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Br]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{xt(u),Jt(i)}}resolveInjectorInitializers(){const t=q(null),n=Jt(this),r=xt(void 0);try{const i=this.get(dn,we,le.Self);for(const u of i)u()}finally{Jt(n),xt(r),q(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(st(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new z(205,!1)}processProvider(t){let n=or(t=ie(t))?t:ie(t&&t.provide);const r=function Zc(e){return vi(e)?Ir(void 0,e.useValue):Ir(function Za(e,t,n){let r;if(or(e)){const o=ie(e);return er(o)||ms(o)}if(vi(e))r=()=>ie(e.useValue);else if(function Xr(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...as(e.deps||[]));else if(function Io(e){return!(!e||!e.useExisting)}(e))r=()=>ee(ie(e.useExisting));else{const o=ie(e&&(e.useClass||e.provide));if(!function Ka(e){return!!e.deps}(e))return er(o)||ms(o);r=()=>new o(...as(e.deps))}return r}(e),So)}(t);if(!or(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Ir(void 0,So,!0),o.factory=()=>as(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=q(null);try{return n.value===So&&(n.value=Qa,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Mo(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{q(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ie(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function ms(e){const t=Lr(e),n=null!==t?t.factory:er(e);if(null!==n)return n;if(e instanceof he)throw new z(204,!1);if(e instanceof Function)return function Qc(e){if(e.length>0)throw new z(204,!1);const n=function Jo(e){return e&&(e[yr]||e[os])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new z(204,!1)}function Ir(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function vs(e,t){for(const n of e)Array.isArray(n)?vs(n,t):n&&go(n)?vs(n.\u0275providers,t):t(n)}function h(e,t){e instanceof Jr&&e.assertNotDestroyed();const r=Jt(e),o=xt(void 0);try{return t()}finally{Jt(r),xt(o)}}const Me=0,j=1,U=2,Ie=3,Lt=4,ut=5,Qe=6,ir=7,Oe=8,rt=9,En=10,se=11,Di=12,Kc=13,To=14,ot=15,eo=16,No=17,sr=18,Ao=19,Yc=20,Sr=21,Ya=22,ar=23,te=25,Xc=1,nn=7,br=9,ct=10;var rn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(rn||{});function lt(e){return Array.isArray(e)&&"object"==typeof e[Xc]}function jt(e){return Array.isArray(e)&&!0===e[Xc]}function ys(e){return!!(4&e.flags)}function to(e){return e.componentOffset>-1}function ur(e){return!(1&~e.flags)}function on(e){return!!e.template}function Mr(e){return!!(512&e[U])}class dg{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Jd(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function ru(){return ef}function ef(e){return e.type.prototype.ngOnChanges&&(e.setInput=nf),tf}function tf(){const e=In(this),t=e?.current;if(t){const n=e.previous;if(n===ln)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function nf(e,t,n,r,o){const i=this.declaredInputs[r],u=In(e)||function rf(e,t){return e[Is]=t}(e,{previous:ln,current:null}),d=u.current||(u.current={}),f=u.previous,m=f[i];d[i]=new dg(m&&m.currentValue,n,f===ln),Jd(e,t,o,n)}ru.ngInherit=!0;const Is="__ngSimpleChanges__";function In(e){return e[Is]||null}const Zn=function(e,t,n){},ol="svg";function _e(e){for(;Array.isArray(e);)e=e[Me];return e}function Ei(e,t){return _e(t[e])}function It(e,t){return _e(t[e.index])}function Si(e,t){return e.data[t]}function Vt(e,t){const n=t[e];return lt(n)?n:n[Me]}function su(e){return!(128&~e[U])}function Sn(e,t){return null==t?null:e[t]}function il(e){e[No]=0}function af(e){1024&e[U]||(e[U]|=1024,su(e)&&cr(e))}function Oo(e){return!!(9216&e[U]||e[ar]?.dirty)}function xo(e){e[En].changeDetectionScheduler?.notify(7),64&e[U]&&(e[U]|=1024),Oo(e)&&cr(e)}function cr(e){e[En].changeDetectionScheduler?.notify(0);let t=ro(e);for(;null!==t&&!(8192&t[U])&&(t[U]|=8192,su(t));)t=ro(t)}function Ss(e,t){if(!(256&~e[U]))throw new z(911,!1);null===e[Sr]&&(e[Sr]=[]),e[Sr].push(t)}function ro(e){const t=e[Ie];return jt(t)?t[Ie]:t}const ue={lFrame:_i(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let al=!1;function cl(){return ue.bindingsEnabled}function P(){return ue.lFrame.lView}function ye(){return ue.lFrame.tView}function ll(e){return ue.lFrame.contextLView=e,e[Oe]}function _s(e){return ue.lFrame.contextLView=null,e}function Ge(){let e=cu();for(;null!==e&&64===e.type;)e=e.parent;return e}function cu(){return ue.lFrame.currentTNode}function Kn(e,t){const n=ue.lFrame;n.currentTNode=e,n.isParent=t}function lu(){return ue.lFrame.isParent}function fl(){return al}function hl(e){al=e}function bn(){return ue.lFrame.bindingIndex++}function ff(e,t){const n=ue.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ns(t)}function Ns(e){ue.lFrame.currentDirectiveIndex=e}function pu(){return ue.lFrame.currentQueryIndex}function As(e){ue.lFrame.currentQueryIndex=e}function gu(e){const t=e[j];return 2===t.type?t.declTNode:1===t.type?e[ut]:null}function mu(e,t,n){if(n&le.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&le.Host||(o=gu(i),null===o||(i=i[To],10&o.type))););if(null===o)return!1;t=o,e=i}const r=ue.lFrame=ko();return r.currentTNode=t,r.lView=e,!0}function vu(e){const t=ko(),n=e[j];ue.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ko(){const e=ue.lFrame,t=null===e?null:e.child;return null===t?_i(e):t}function _i(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function yu(){const e=ue.lFrame;return ue.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ml=yu;function Du(){const e=yu();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Rt(){return ue.lFrame.selectedIndex}function oo(e){ue.lFrame.selectedIndex=e}function Cu(){ue.lFrame.currentNamespace=ol}function yl(){!function Dl(){ue.lFrame.currentNamespace=null}()}let Cl=!0;function Ni(){return Cl}function Yn(e){Cl=e}function Ai(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[f]<0&&(e[No]+=65536),(d>14>16&&(3&e[U])===t&&(e[U]+=16384,El(d,i)):El(d,i)}const hn=-1;class Ri{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function wu(e){return e!==hn}function io(e){return 32767&e}function xi(e,t){let n=function Il(e){return e>>16}(e),r=t;for(;n>0;)r=r[To],n--;return r}let xs=!0;function pn(e){const t=xs;return xs=e,t}const wf=255,Ef=5;let yg=0;const Fn={};function Fo(e,t){const n=bl(e,t);if(-1!==n)return n;const r=t[j];r.firstCreatePass&&(e.injectorIndex=t.length,Eu(r.data,e),Eu(t,null),Eu(r.blueprint,null));const o=Iu(e,t),i=e.injectorIndex;if(wu(o)){const u=io(o),d=xi(o,t),f=d[j].data;for(let m=0;m<8;m++)t[i+m]=d[u+m]|f[u+m]}return t[i+8]=o,i}function Eu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function bl(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Iu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Nf(o),null===r)return hn;if(n++,o=o[To],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return hn}function Ps(e,t,n){!function Sl(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Hr)&&(r=n[Hr]),null==r&&(r=n[Hr]=yg++);const o=r&wf;t.data[e+(o>>Ef)]|=1<=0?t&wf:Eg:t}(n);if("function"==typeof i){if(!mu(t,e,r))return r&le.Host?If(o,0,r):Sf(t,n,r,o);try{let u;if(u=i(r),null!=u||r&le.Optional)return u;ui()}finally{ml()}}else if("number"==typeof i){let u=null,d=bl(e,t),f=hn,m=r&le.Host?t[ot][ut]:null;for((-1===d||r&le.SkipSelf)&&(f=-1===d?Iu(e,t):t[d+8],f!==hn&&Tf(r,!1)?(u=t[j],d=io(f),t=xi(f,t)):d=-1);-1!==d;){const y=t[j];if(_f(i,d,y.data)){const E=Cg(d,t,n,u,r,m);if(E!==Fn)return E}f=t[d+8],f!==hn&&Tf(r,t[j].data[d+8]===m)&&_f(i,d,t)?(u=y,d=io(f),t=xi(f,t)):d=-1}}return o}function Cg(e,t,n,r,o,i){const u=t[j],d=u.data[e+8],y=Su(d,u,n,null==r?to(d)&&xs:r!=u&&!!(3&d.type),o&le.Host&&i===d);return null!==y?Lo(t,u,y,d):Fn}function Su(e,t,n,r,o){const i=e.providerIndexes,u=t.data,d=1048575&i,f=e.directiveStart,y=i>>20,S=o?d+y:e.directiveEnd;for(let N=r?d:d+y;N=f&&A.type===n)return N}if(o){const N=u[f];if(N&&on(N)&&N.type===n)return f}return null}function Lo(e,t,n,r){let o=e[n];const i=t.data;if(function vf(e){return e instanceof Ri}(o)){const u=o;u.resolving&&function cn(e,t){throw t&&t.join(" > "),new z(-200,e)}(function Re(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():re(e)}(i[n]));const d=pn(u.canSeeViewProviders);u.resolving=!0;const m=u.injectImpl?xt(u.injectImpl):null;mu(e,r,le.Default);try{o=e[n]=u.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function gf(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const u=ef(t);(n.preOrderHooks??=[]).push(e,u),(n.preOrderCheckHooks??=[]).push(e,u)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==m&&xt(m),pn(d),u.resolving=!1,ml()}}return o}function _f(e,t,n){return!!(n[t+(e>>Ef)]&1<{const t=e.prototype.constructor,n=t[Rn]||Ml(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Rn]||Ml(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ml(e){return at(e)?()=>{const t=Ml(ie(e));return t&&t()}:er(e)}function Nf(e){const t=e[j],n=t.type;return 2===n?t.declTNode:1===n?e[ut]:null}function Mu(e){return function Dg(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;oee(Gn)})}static{this.__NG_ELEMENT_ID__=-1}}new he("").__NG_ELEMENT_ID__=e=>{const t=Ge();if(null===t)throw new z(204,!1);if(2&t.type)return t.value;if(e&le.Optional)return null;throw new z(204,!1)};function Ye(e){return e.ngOriginalError}class xe{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ye(t);for(;n&&Ye(n);)n=Ye(n);return n||null}}const Nl=new he("",{providedIn:"root",factory:()=>K(xe).handleError.bind(void 0)});let fr=(()=>{class e{static{this.__NG_ELEMENT_ID__=gE}static{this.__NG_ENV_ID__=n=>n}}return e})();class pE extends fr{constructor(t){super(),this._lView=t}onDestroy(t){return Ss(this._lView,t),()=>function au(e,t){if(null===e[Sr])return;const n=e[Sr].indexOf(t);-1!==n&&e[Sr].splice(n,1)}(this._lView,t)}}function gE(){return new pE(P())}function mE(){return Fs(Ge(),P())}function Fs(e,t){return new _u(It(e,t))}let _u=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=mE}}return e})();function _g(e){return e instanceof _u?e.nativeElement:e}function Rf(e){return t=>{setTimeout(e,void 0,t)}}const Nr=class vE extends Ki.B{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,function C(){return void 0!==Ct()||null!=function Fa(){return Bn}()}()&&(this.destroyRef=K(fr,{optional:!0})??void 0)}emit(t){const n=q(null);try{super.next(t)}finally{q(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),u=r;if(t&&"object"==typeof t){const f=t;o=f.next?.bind(f),i=f.error?.bind(f),u=f.complete?.bind(f)}this.__isAsync&&(i=Rf(i),o&&(o=Rf(o)),u&&(u=Rf(u)));const d=super.subscribe({next:o,error:i,complete:u});return t instanceof co.yU&&t.add(d),d}};function yE(){return this._results[Symbol.iterator]()}class Of{get changes(){return this._changes??=new Nr}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Of.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=yE)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function kt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Bc(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rUE}),UE="ng",qg=new he(""),Lf=new he("",{providedIn:"platform",factory:()=>"unknown"}),HE=new he("",{providedIn:"root",factory:()=>function jo(){if(void 0!==kf)return kf;if(typeof document<"u")return document;throw new z(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Qg=()=>null;function zf(e,t,n=!1){return Qg(e,t,n)}const nm=new he("",{providedIn:"root",factory:()=>!1});let Hl;function am(e){return function Zf(){if(void 0===Hl&&(Hl=null,gt.trustedTypes))try{Hl=gt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Hl}()?.createScriptURL(e)||e}class um{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xt})`}}function Vo(e){return e instanceof um?e.changingThisBreaksApplicationSecurity:e}function ku(e,t){const n=function sI(e){return e instanceof um&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Xt})`)}return n===t}const lI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Hs=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Hs||{});function vm(e){const t=Lu();return t?t.sanitize(Hs.URL,e)||"":ku(e,"URL")?Vo(e):function Kf(e){return(e=String(e)).match(lI)?e:"unsafe:"+e}(re(e))}function ym(e){const t=Lu();if(t)return am(t.sanitize(Hs.RESOURCE_URL,e)||"");if(ku(e,"ResourceURL"))return am(Vo(e));throw new z(904,!1)}function Dm(e,t,n){return function bI(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ym:vm}(t,n)(e)}function Lu(){const e=P();return e&&e[En].sanitizer}function Ln(e){return e instanceof Function?e():e}var Gl=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gl||{});let rh;function oh(e,t){return rh(e,t)}function Bs(e,t,n,r,o){if(null!=r){let i,u=!1;jt(r)?i=r:lt(r)&&(u=!0,r=r[Me]);const d=_e(r);0===e&&null!==n?null==o?Rm(t,n,d):Fi(t,n,d,o||null,!0):1===e&&null!==n?Fi(t,n,d,o||null,!0):2===e?function Uu(e,t,n){const r=Ql(e,t);r&&function WI(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,d,u):3===e&&t.destroyNode(d),null!=i&&function ZI(e,t,n,r,o){const i=n[nn];i!==_e(n)&&Bs(t,e,r,i,o);for(let d=ct;d0&&(e[n-1][Lt]=r[Lt]);const i=tr(e,ct+t);!function UI(e,t){Tm(e,t),t[Me]=null,t[ut]=null}(r[j],r);const u=i[sr];null!==u&&u.detachView(i[j]),r[Ie]=null,r[Lt]=null,r[U]&=-129}return r}function ql(e,t){if(!(256&t[U])){const n=t[se];n.destroyNode&&Kl(e,t,n,3,null,null),function $I(e){let t=e[Di];if(!t)return uh(e[j],e);for(;t;){let n=null;if(lt(t))n=t[Di];else{const r=t[ct];r&&(n=r)}if(!n){for(;t&&!t[Lt]&&t!==e;)lt(t)&&uh(t[j],t),t=t[Ie];null===t&&(t=e),lt(t)&&uh(t[j],t),n=t&&t[Lt]}t=n}}(t)}}function uh(e,t){if(256&t[U])return;const n=q(null);try{t[U]&=-129,t[U]|=256,t[ar]&&function mr(e){if(pt(e),qe(e))for(let t=0;t=0?r[u]():r[-u].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[ir]=null);const o=t[Sr];if(null!==o){t[Sr]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Wt.None||i===Wt.Emulated)return null}return It(r,n)}}(e,t.parent,n)}function Fi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Rm(e,t,n){e.appendChild(t,n)}function Om(e,t,n,r,o){null!==r?Fi(e,t,n,r,o):Rm(e,t,n)}function Ql(e,t){return e.parentNode(t)}let lh,km=function Pm(e,t,n){return 40&e.type?It(e,n):null};function Zl(e,t,n,r){const o=ch(e,r,t),i=t[se],d=function xm(e,t,n){return km(e,t,n)}(r.parent||t[ut],r,t);if(null!=o)if(Array.isArray(n))for(let f=0;fte&&Bm(e,t,te,!1),Zn(u?2:0,o),n(r,o)}finally{oo(i),Zn(u?3:1,o)}}function ph(e,t,n){if(ys(t)){const r=q(null);try{const i=t.directiveEnd;for(let u=t.directiveStart;unull;function Qm(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const u=t[i];if(void 0===u)continue;r??={};let d,f=Pn.None;Array.isArray(u)?(d=u[0],f=u[1]):d=u;let m=i;if(null!==o){if(!o.hasOwnProperty(i))continue;m=o[i]}0===e?Zm(r,n,m,d,f):Zm(r,n,m,d)}return r}function Zm(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function yh(e,t,n,r){if(cl()){const o=null===r?null:{"":-1},i=function gS(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=d&&u.push(d),u.push(n,r,i)}}(e,t,r,Hu(e,n,o.hostVars,pe),o)}function Ar(e,t,n,r,o,i){const u=It(e,t);!function Ch(e,t,n,r,o,i,u){if(null==i)e.removeAttribute(t,o,n);else{const d=null==u?re(i):u(i,r||"",o);e.setAttribute(t,o,d,n)}}(t[se],u,i,e.value,n,r,o)}function wS(e,t,n,r,o,i){const u=i[t];if(null!==u)for(let d=0;d0&&(n[o-1][Lt]=t),r{cr(e.lView)},consumerOnSignalRead(){this.lView[ar]=this}},AS=100;function ed(e,t=!0,n=0){const r=e[En],o=r.rendererFactory;o.begin?.();try{!function RS(e,t){const n=fl();try{hl(!0),bh(e,t);let r=0;for(;Oo(e);){if(r===AS)throw new z(103,!1);r++,bh(e,1)}}finally{hl(n)}}(e,n)}catch(u){throw t&&Jl(e,u),u}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function OS(e,t,n,r){const o=t[U];if(!(256&~o))return;t[En].inlineEffectRunner?.flush(),vu(t);let d=null,f=null;(function xS(e){return 2!==e.type})(e)&&(f=function MS(e){return e[ar]??function _S(e){const t=iv.pop()??Object.create(NS);return t.lView=e,t}(e)}(t),d=ht(f));try{il(t),function pl(e){return ue.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Gm(e,t,n,2,r);const m=!(3&~o);if(m){const S=e.preOrderCheckHooks;null!==S&&Rs(t,S,null)}else{const S=e.preOrderHooks;null!==S&&Tr(t,S,0,null),Os(t,0)}if(function PS(e){for(let t=Lg(e);null!==t;t=jg(t)){if(!(t[U]&rn.HasTransplantedViews))continue;const n=t[br];for(let r=0;r-1&&(ju(t,r),tr(n,r))}this._attachedToViewContainer=!1}ql(this._lView[j],this._lView)}onDestroy(t){Ss(this._lView,t)}markForCheck(){Bu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[U]&=-129}reattach(){xo(this._lView),this._lView[U]|=128}detectChanges(){this._lView[U]|=1024,ed(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Mr(this._lView),n=this._lView[eo];null!==n&&!t&&ah(n,this._lView),Tm(this._lView[j],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new z(902,!1);this._appRef=t;const n=Mr(this._lView),r=this._lView[eo];null!==r&&!n&&Nm(r,this._lView),xo(this._lView)}}let Gu=(()=>{class e{static{this.__NG_ELEMENT_ID__=jS}}return e})();const FS=Gu,LS=class extends FS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=Ws(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new zu(o)}};function jS(){return td(Ge(),P())}function td(e,t){return 4&e.type?new LS(t,e,Fs(e,t)):null}let Nv=()=>null;function Vi(e,t){return Nv(e,t)}class Zs{}const Ju=new he("",{providedIn:"root",factory:()=>!1}),Av=new he("");class bb{}class Rv{}class _b{resolveComponentFactory(t){throw function Mb(e){const t=Error(`No component factory found for ${st(e)}.`);return t.ngComponent=e,t}(t)}}class sd{static{this.NULL=new _b}}class kh{}let Tb=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function Nb(){const e=P(),n=Vt(Ge().index,e);return(lt(n)?n:e)[se]}()}}return e})(),Ab=(()=>{class e{static{this.\u0275prov=He({token:e,providedIn:"root",factory:()=>null})}}return e})();const Fh={},xv=new Set;function jn(e){xv.has(e)||(xv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Pv(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),"function"==typeof gt.requestAnimationFrame&>.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function kv(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function Fv(...e){}class dt{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Nr(!1),this.onMicrotaskEmpty=new Nr(!1),this.onStable=new Nr(!1),this.onError=new Nr(!1),typeof Zone>"u")throw new z(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,function xb(e){const t=()=>{!function Ob(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Pv(()=>{e.callbackScheduled=!1,jh(e),e.isCheckStableRunning=!0,Lh(e),e.isCheckStableRunning=!1})}),jh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,u,d)=>{if(function Pb(e){return Vv(e,"__ignore_ng_zone__")}(d))return n.invokeTask(o,i,u,d);try{return Lv(e),n.invokeTask(o,i,u,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),jv(e)}},onInvoke:(n,r,o,i,u,d,f)=>{try{return Lv(e),n.invoke(o,i,u,d,f)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function kb(e){return Vv(e,"__scheduler_tick__")}(d)&&t(),jv(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,jh(e),Lh(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!dt.isInAngularZone())throw new z(909,!1)}static assertNotInAngularZone(){if(dt.isInAngularZone())throw new z(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,u=i.scheduleEventTask("NgZoneEvent: "+o,t,Rb,Fv,Fv);try{return i.runTask(u,n,r)}finally{i.cancelTask(u)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Rb={};function Lh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function jh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Lv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function jv(e){e._nesting--,Lh(e)}class Vh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Nr,this.onMicrotaskEmpty=new Nr,this.onStable=new Nr,this.onError=new Nr}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}function Vv(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}let ec=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static{this.\u0275prov=He({token:e,providedIn:"root",factory:()=>new e})}}return e})();function Uo(e){return!!mt(e)}function ud(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let u=0;u0&&Um(e,n,i.join(" "))}}(N,$t,x,r),void 0!==n&&function Qb(e,t,n){const r=e.projection=[];for(let o=0;o{class e{static{this.__NG_ELEMENT_ID__=Kb}}return e})();function Kb(){return Zv(Ge(),P())}const Yb=ld,qv=class extends Yb{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Fs(this._hostTNode,this._hostLView)}get injector(){return new Ot(this._hostTNode,this._hostLView)}get parentInjector(){const t=Iu(this._hostTNode,this._hostLView);if(wu(t)){const n=xi(t,this._hostLView),r=io(t);return new Ot(n[j].data[r+8],n)}return new Ot(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Qv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ct}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const u=Vi(this._lContainer,t.ssrId),d=t.createEmbeddedViewImpl(n||{},i,u);return this.insertImpl(d,o,Li(this._hostTNode,u)),d}createComponent(t,n,r,o,i){const u=t&&!function Ae(e){return"function"==typeof e}(t);let d;if(u)d=n;else{const A=n||{};d=A.index,r=A.injector,o=A.projectableNodes,i=A.environmentInjector||A.ngModuleRef}const f=u?t:new rc(fe(t)),m=r||this.parentInjector;if(!i&&null==f.ngModule){const x=(u?m:this.parentInjector).get(fn,null);x&&(i=x)}const y=fe(f.componentType??{}),E=Vi(this._lContainer,y?.id??null),N=f.create(m,o,E?.firstChild??null,i);return this.insertImpl(N.hostView,d,Li(this._hostTNode,E)),N}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function sf(e){return jt(e[Ie])}(o)){const d=this.indexOf(t);if(-1!==d)this.detach(d);else{const f=o[Ie],m=new qv(f,f[ut],f[Ie]);m.detach(m.indexOf(t))}}const i=this._adjustIndex(n),u=this._lContainer;return qs(u,o,i,r),t.attachToViewContainerRef(),ls(Bh(u),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Qv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ju(this._lContainer,n);r&&(tr(Bh(this._lContainer),n),ql(r[j],r))}detach(t){const n=this._adjustIndex(t,-1),r=ju(this._lContainer,n);return r&&null!=tr(Bh(this._lContainer),n)?new zu(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Qv(e){return e[8]}function Bh(e){return e[8]||(e[8]=[])}function Zv(e,t){let n;const r=t[e.index];return jt(r)?n=r:(n=Xm(r,t,null,e),t[e.index]=n,Xl(t,n)),Kv(n,t,e,r),new qv(n,e,t)}let Kv=function Xv(e,t,n,r){if(e[nn])return;let o;o=8&n.type?_e(r):function Xb(e,t){const n=e[se],r=n.createComment(""),o=It(t,e);return Fi(n,Ql(n,o),r,function qI(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[nn]=o},zh=()=>!1;class Gh{constructor(t){this.queryList=t,this.matches=null}clone(){return new Gh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Wh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;it.trim())}(t):t}}class qh{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(u[d/2]);else{const m=i[d+1],y=t[-f];for(let E=ct;E(V(t),t.value);return n[W]=t,n}(e),r=n[W];return t?.equal&&(r.equal=t.equal),n.set=o=>uo(r,o),n.update=o=>function Pr(e,t){Le()||Qi(),uo(e,t(e.value))}(r,o),n.asReadonly=uy.bind(n),n}function uy(){const e=this[W];if(void 0===e.readonlyFn){const t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}function by(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}class Hi{}class My{}function _M(e,t){return new Jh(e,t??null,[])}class Jh extends Hi{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Gv(this);const o=mt(t);this._bootstrapComponents=Ln(o.bootstrap),this._r3Injector=R(t,n,[{provide:Hi,useValue:this},{provide:sd,useValue:this.componentFactoryResolver},...r],st(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ep extends My{constructor(t){super(),this.moduleType=t}create(t){return new Jh(this.moduleType,t,[])}}class _y extends Hi{constructor(t){super(),this.componentFactoryResolver=new Gv(this),this.instance=null;const n=new Jr([...t.providers,{provide:Hi,useValue:this},{provide:sd,useValue:this.componentFactoryResolver}],t.parent||yi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function tp(e,t,n=null){return new _y({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let $i=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ia.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=He({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function pd(e){return!!np(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function np(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Mt(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function sc(e,t,n,r,o,i,u,d,f,m){const y=n+te,E=t.firstCreatePass?function PM(e,t,n,r,o,i,u,d,f){const m=t.consts,y=Gs(t,e,4,u||null,d||null);yh(t,n,y,Sn(m,f)),Ai(t,y);const E=y.tView=vh(2,y,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,m,null);return null!==t.queries&&(t.queries.template(t,y),E.queries=t.queries.embeddedTView(y)),y}(y,t,e,r,o,i,u,d,f):t.data[y];Kn(E,!1);const S=Ny(t,e,E,n);Ni()&&Zl(t,e,S,E),sn(S,e);const N=Xm(S,e,S,E);return e[y]=N,Xl(e,N),function Yv(e,t,n){return zh(e,t,n)}(N,E,e),ur(E)&&gh(t,e,E),null!=f&&mh(e,E,m),E}function rp(e,t,n,r,o,i,u,d){const f=P(),m=ye();return sc(f,m,e,t,n,r,o,Sn(m.consts,i),u,d),rp}let Ny=function Ay(e,t,n,r){return Yn(!0),t[se].createComment("")};function hp(e,t,n,r){const o=P();return Mt(o,bn(),t)&&(ye(),Ar(function Ze(){const e=ue.lFrame;return Si(e.tView,e.selectedIndex)}(),o,e,t,n,r)),hp}function wd(e,t){return e<<17|t<<2}function Bo(e){return e>>17&32767}function pp(e){return 2|e}function Gi(e){return(131068&e)>>2}function gp(e,t){return-131069&e|t<<2}function mp(e){return 1|e}function aD(e,t,n,r){const o=e[n+1],i=null===t;let u=r?Bo(o):Gi(o),d=!1;for(;0!==u&&(!1===d||i);){const m=e[u+1];C_(e[u],t)&&(d=!0,e[u+1]=r?mp(m):pp(m)),u=r?Bo(m):Gi(m)}d&&(e[n+1]=r?pp(o):mp(o))}function C_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ft(e,t)>=0}function vp(e,t,n,r,o){const u=o?"class":"style";Eh(e,n,t.inputs[u],u,r)}function yp(e,t){return function hr(e,t,n,r){const o=P(),i=ye(),u=function _r(e){const t=ue.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function vD(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Rt()],u=function mD(e,t){return t>=e.expandoStartIndex}(e,n);(function wD(e,t){return!!(e.flags&(t?8:16))})(i,r)&&null===t&&!u&&(t=!1),t=function N_(e,t,n,r){const o=function hu(e){const t=ue.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=lc(n=Dp(null,e,t,n,r),t.attrs,r),i=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==o)if(n=Dp(o,e,t,n,r),null===i){let f=function A_(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Gi(r))return e[Bo(r)]}(e,t,r);void 0!==f&&Array.isArray(f)&&(f=Dp(null,e,t,f[1],r),f=lc(f,t.attrs,r),function R_(e,t,n,r){e[Bo(n?t.classBindings:t.styleBindings)]=r}(e,t,r,f))}else i=function O_(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(m=!0)):y=n,o)if(0!==f){const S=Bo(e[d+1]);e[r+1]=wd(S,d),0!==S&&(e[S+1]=gp(e[S+1],r)),e[d+1]=function m_(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=wd(d,0),0!==d&&(e[d+1]=gp(e[d+1],r)),d=r;else e[r+1]=wd(f,0),0===d?d=r:e[f+1]=gp(e[f+1],r),f=r;m&&(e[r+1]=pp(e[r+1])),aD(e,y,r,!0),aD(e,y,r,!1),function D_(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Ft(i,t)>=0&&(n[r+1]=mp(n[r+1]))}(t,y,e,r,i),u=wd(d,f),i?t.classBindings=u:t.styleBindings=u}(o,i,t,n,u,r)}}(i,e,u,r),t!==pe&&Mt(o,u,t)&&function DD(e,t,n,r,o,i,u,d){if(!(3&t.type))return;const f=e.data,m=f[d+1],y=function v_(e){return!(1&~e)}(m)?CD(f,t,n,o,Gi(m),u):void 0;Ed(y)||(Ed(i)||function g_(e){return!(2&~e)}(m)&&(i=CD(f,null,n,o,d,u)),function KI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Gl.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Gl.Important),e.setStyle(n,r,o,i))}}(r,u,Ei(Rt(),n),o,i))}(i,i.data[Rt()],o,o[se],e,o[u+1]=function F_(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=st(Vo(e)))),e}(t,n),r,u)}(e,t,null,!0),yp}function Dp(e,t,n,r,o){let i=null;const u=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d0;){const f=e[o],m=Array.isArray(f),y=m?f[1]:f,E=null===y;let S=n[o+1];S===pe&&(S=E?we:void 0);let N=E?Gr(S,r):y===r?S:void 0;if(m&&!Ed(N)&&(N=Gr(f,r)),Ed(N)&&(d=N,u))return d;const A=e[o+1];o=u?Bo(A):Gi(A)}if(null!==t){let f=i?t.residualClasses:t.residualStyles;null!=f&&(d=Gr(f,r))}return d}function Ed(e){return void 0!==e}class q_{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){const u=this.detach(r);this.attach(r,i),this.attach(o,u)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}}function Cp(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function wp(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function ED(e,t,n,r,o){if(wp(e,t,r,n(r,o)))e.updateValue(r,o);else{const i=e.create(r,o);e.attach(r,i)}}function ID(e,t,n,r){const o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}class SD{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}}function bD(e,t){jn("NgControlFlow");const n=P(),r=bn(),o=n[r]!==pe?n[r]:-1,i=-1!==o?Id(n,te+o):void 0;if(Mt(n,r,e)){const d=q(null);try{if(void 0!==i&&Sh(i,0),-1!==e){const f=te+e,m=Id(n,f),y=Ep(n[j],f),E=Vi(m,y.tView.ssrId);qs(m,Ws(n,y,t,{dehydratedView:E}),0,Li(y,E))}}finally{q(d)}}else if(void 0!==i){const d=rv(i,0);void 0!==d&&(d[Oe]=t)}}class Z_{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ct}}function MD(e,t){return t}class Y_{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function _D(e,t,n,r,o,i,u,d,f,m,y,E,S){jn("NgControlFlow");const N=P(),A=ye(),x=void 0!==f,$=P(),B=d?u.bind($[ot][Oe]):u,F=new Y_(x,B);$[te+e]=F,sc(N,A,e+1,t,n,r,o,Sn(A.consts,i)),x&&sc(N,A,e+2,f,m,y,E,Sn(A.consts,S))}class X_ extends q_{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ct}at(t){return this.getLView(t)[Oe].$implicit}attach(t,n){const r=n[Qe];this.needsIndexUpdate||=t!==this.length,qs(this.lContainer,n,t,Li(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function J_(e,t){return ju(e,t)}(this.lContainer,t)}create(t,n){const r=Vi(this.lContainer,this.templateTNode.tView.ssrId),o=Ws(this.hostLView,this.templateTNode,new Z_(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){ql(t[j],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Oe].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t{e.destroy(f)})}(f,e,i.trackByFn),f.updateIndexes(),i.hasEmptyBlock){const m=bn(),y=0===f.length;if(Mt(r,m,y)){const E=n+2,S=Id(r,E);if(y){const N=Ep(o,E),A=Vi(S,N.tView.ssrId);qs(S,Ws(r,N,void 0,{dehydratedView:A}),0,Li(N,A))}else Sh(S,0)}}}finally{q(t)}}function Id(e,t){return e[t]}function Ep(e,t){return Si(e,t)}function Sd(e,t,n,r){const o=P(),i=ye(),u=te+e,d=o[se],f=i.firstCreatePass?function t0(e,t,n,r,o,i){const u=t.consts,f=Gs(t,e,2,r,Sn(u,o));return yh(t,n,f,Sn(u,i)),null!==f.attrs&&ud(f,f.attrs,!1),null!==f.mergedAttrs&&ud(f,f.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,f),f}(u,i,o,t,n,r):i.data[u],m=ND(i,o,f,d,t,e);o[u]=m;const y=ur(f);return Kn(f,!0),Hm(d,m,f),!function Ys(e){return!(32&~e.flags)}(f)&&Ni()&&Zl(i,o,m,f),0===function uf(){return ue.lFrame.elementDepthCount}()&&sn(m,o),function cf(){ue.lFrame.elementDepthCount++}(),y&&(gh(i,o,f),ph(i,f,o)),null!==r&&mh(o,f),Sd}function bd(){let e=Ge();lu()?function du(){ue.lFrame.isParent=!1}():(e=e.parent,Kn(e,!1));const t=e;(function Ms(e){return ue.skipHydrationRootTNode===e})(t)&&function df(){ue.skipHydrationRootTNode=null}(),function ul(){ue.lFrame.elementDepthCount--}();const n=ye();return n.firstCreatePass&&(Ai(n,e),ys(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Df(e){return!!(8&e.flags)}(t)&&vp(n,t,P(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Cf(e){return!!(16&e.flags)}(t)&&vp(n,t,P(),t.stylesWithoutHost,!1),bd}function Ip(e,t,n,r){return Sd(e,t,n,r),bd(),Ip}let ND=(e,t,n,r,o,i)=>(Yn(!0),Wl(r,o,function Ti(){return ue.lFrame.currentNamespace}()));function OD(){return P()}const Wi=void 0;var c0=["en",[["a","p"],["AM","PM"],Wi],[["AM","PM"],Wi,Wi],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Wi,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Wi,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Wi,"{1} 'at' {0}",Wi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function u0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let pa={};function Mp(e){const t=function l0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=FD(t);if(n)return n;const r=t.split("-")[0];if(n=FD(r),n)return n;if("en"===r)return c0;throw new z(701,!1)}function kD(e){return Mp(e)[ga.PluralCase]}function FD(e){return e in pa||(pa[e]=gt.ng&>.ng.common&>.ng.common.locales&>.ng.common.locales[e]),pa[e]}var ga=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(ga||{});const ma="en-US";let LD=ma;let nC=(e,t,n)=>{};function Np(e,t,n,r){const o=P(),i=ye(),u=Ge();return function Ap(e,t,n,r,o,i,u){const d=ur(r),m=e.firstCreatePass&&tv(e),y=t[Oe],E=ev(t);let S=!0;if(3&r.type||u){const x=It(r,t),$=u?u(x):x,B=E.length,F=u?Pe=>u(_e(Pe[r.index])):r.index;nC(x,o,i);let ae=null;if(!u&&d&&(ae=function X0(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;if?d[f]:null}"string"==typeof u&&(i+=2)}return null}(e,t,o,r.index)),null!==ae)(ae.__ngLastListenerFn__||ae).__ngNextListenerFn__=i,ae.__ngLastListenerFn__=i,S=!1;else{i=sC(r,t,y,i);const Pe=n.listen($,o,i);E.push(i,Pe),m&&m.push(o,F,B,B+1)}}else i=sC(r,t,y,i);const N=r.outputs;let A;if(S&&null!==N&&(A=N[o])){const x=A.length;if(x)for(let $=0;$-1?Vt(e.index,t):t,5);let d=iC(t,n,r,i),f=o.__ngNextListenerFn__;for(;f;)d=iC(t,n,f,i)&&d,f=f.__ngNextListenerFn__;return d}}function aC(e=1){return function vl(e){return(ue.lFrame.contextLView=function sl(e,t){for(;e>0;)t=t[To],e--;return t}(e,ue.lFrame.contextLView))[Oe]}(e)}function vC(e,t,n,r){ry(e,t,n,r)}function yC(e){const t=P(),n=ye(),r=pu();As(r+1);const o=Yh(n,r);if(e.dirty&&function bi(e){return!(4&~e[U])}(t)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const i=iy(t,r);e.reset(i,_g),e.notifyOnChanges()}return!0}return!1}function DC(){return function Kh(e,t){return e[sr].queries[t].queryList}(P(),pu())}function NC(e,t=""){const n=P(),r=ye(),o=e+te,i=r.firstCreatePass?Gs(r,o,1,t,null):r.data[o],u=AC(r,n,i,t,e);n[o]=u,Ni()&&Zl(r,n,u,i),Kn(i,!1)}let AC=(e,t,n,r,o)=>(Yn(!0),function ih(e,t){return e.createText(t)}(t[se],r));function Op(e){return Nd("",e,""),Op}function Nd(e,t,n){const r=P(),o=function ia(e,t,n,r){return Mt(e,bn(),n)?t+re(n)+r:pe}(r,e,t,n);return o!==pe&&function ao(e,t,n){const r=Ei(t,e);!function _m(e,t,n){e.setValue(t,n)}(e[se],r,n)}(r,Rt(),o),Nd}let MT=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Yr(0,n.type),o=r.length>0?tp([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=He({token:e,providedIn:"environment",factory:()=>new e(ee(fn))})}}return e})();function $C(e){jn("NgStandalone"),e.getStandaloneInjector=t=>t.get(MT).getOrCreateStandaloneInjector(e)}class lw{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let dw=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=He({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const mw=new he(""),vw=new he("");let $p,VN=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,$p||(function UN(e){$p=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{dt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static{this.\u0275fac=function(r){return new(r||e)(ee(dt),ee(yw),ee(vw))}}static{this.\u0275prov=He({token:e,factory:e.\u0275fac})}}return e})(),yw=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return $p?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=He({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function Bp(e){return!!e&&"function"==typeof e.then}function Dw(e){return!!e&&"function"==typeof e.subscribe}const HN=new he("");let zp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=K(HN,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Bp(i))n.push(i);else if(Dw(i)){const u=new Promise((d,f)=>{i.subscribe({complete:d,error:f})});n.push(u)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=He({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const xd=new he("");let gr=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=K(Nl),this.afterRenderEffectManager=K(ec),this.zonelessEnabled=K(Ju),this.externalTestViews=new Set,this.beforeRender=new Ki.B,this.afterTick=new Ki.B,this.componentTypes=[],this.components=[],this.isStable=K($i).hasPendingTasks.pipe((0,bc.T)(n=>!n)),this._injector=K(fn)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Rv;if(!this._injector.get(zp).done)throw!o&&Dn(n),new z(405,!1);let u;u=o?n:this._injector.get(sd).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const d=function $N(e){return e.isBoundToModule}(u)?void 0:this._injector.get(Hi),m=u.create(L.NULL,[],r||u.selector,d),y=m.location.nativeElement,E=m.injector.get(mw,null);return E?.registerApplication(y),m.onDestroy(()=>{this.detachView(m.hostView),Pd(this.components,m),E?.unregisterApplication(y)}),this._loadComponent(m),m}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new z(101,!1);const r=q(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,q(r),this.afterTick.next()}}detectChangesInAttachedViews(n){let r=null;this._injector.destroyed||(r=this._injector.get(kh,null,{optional:!0}));let o=0;const i=this.afterRenderEffectManager;for(;o<10;){const u=0===o;if(n||!u){this.beforeRender.next(u);for(let{_lView:d,notifyErrorHandler:f}of this._views)zN(d,f,u,this.zonelessEnabled)}else r?.begin?.(),r?.end?.();if(o++,i.executeInternalCallbacks(),!this.allViews.some(({_lView:d})=>Oo(d))&&(i.execute(),!this.allViews.some(({_lView:d})=>Oo(d))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Pd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(xd,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Pd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new z(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=He({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Pd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function zN(e,t,n,r){(n||Oo(e))&&ed(e,t,n&&!r?0:1)}class GN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let WN=(()=>{class e{compileModuleSync(n){return new ep(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Ln(mt(n).declarations).reduce((u,d)=>{const f=fe(d);return f&&u.push(new rc(f)),u},[]);return new GN(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=He({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ZN=(()=>{class e{constructor(){this.zone=K(dt),this.changeDetectionScheduler=K(Zs),this.applicationRef=K(gr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=He({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Gp({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new dt(Wp()),[{provide:dt,useFactory:e},{provide:dn,multi:!0,useFactory:()=>{const n=K(ZN,{optional:!0});return()=>n.initialize()}},{provide:dn,multi:!0,useFactory:()=>{const n=K(XN);return()=>{n.initialize()}}},{provide:Nl,useFactory:KN},!0===t?{provide:Av,useValue:!0}:[]]}function KN(){const e=K(dt),t=K(xe);return n=>e.runOutsideAngular(()=>t.handleError(n))}function YN(e){const t=e?.ignoreChangesOutsideZone,n=Gp({ngZoneFactory:()=>{const r=Wp(e);return r.shouldCoalesceEventChangeDetection&&jn("NgZone_CoalesceEvent"),new dt(r)},ignoreChangesOutsideZone:t});return Zr([[],{provide:Ju,useValue:!1},n])}function Wp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let XN=(()=>{class e{constructor(){this.subscription=new co.yU,this.initialized=!1,this.zone=K(dt),this.pendingTasks=K($i)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{dt.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{dt.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=He({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Cc=(()=>{class e{constructor(){this.appRef=K(gr),this.taskService=K($i),this.ngZone=K(dt),this.zonelessEnabled=K(Ju),this.disableScheduling=K(Av,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new co.yU,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Vh||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?kv:Pv;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&dt.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(r),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,kv(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=He({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Fd=new he("",{providedIn:"root",factory:()=>K(Fd,le.Optional|le.SkipSelf)||function JN(){return typeof $localize<"u"&&$localize.locale||ma}()}),eA=new he("",{providedIn:"root",factory:()=>"USD"}),Qp=new he("");let zo=null;let Ow=(()=>{class e{static{this.__NG_ELEMENT_ID__=iA}}return e})();function iA(e){return function sA(e,t,n){if(to(e)&&!n){const r=Vt(e.index,t);return new zu(r,r)}return 47&e.type?new zu(t[ot],t):null}(Ge(),P(),!(16&~e))}class Fw{constructor(){}supports(t){return pd(t)}create(t){return new dA(t)}}const lA=(e,t)=>t;class dA{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||lA}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const u=!r||n&&n.currentIndex{u=this._trackByFn(o,d),null!==n&&Object.is(n.trackById,u)?(r&&(n=this._verifyReinsertion(n,d,u,o)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,u,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new fA(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Lw),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Lw),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class fA{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class hA{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Lw{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new hA,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function jw(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,u=o._next;return i&&(i._next=u),u&&(u._prev=i),o._next=null,o._prev=null,o}const r=new gA(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class gA{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Uw(){return new eg([new Fw])}let eg=(()=>{class e{static{this.\u0275prov=He({token:e,providedIn:"root",factory:Uw})}constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Uw()),deps:[[e,new cs,new zn]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new z(901,!1)}}return e})();function Hw(){return new tg([new Vw])}let tg=(()=>{class e{static{this.\u0275prov=He({token:e,providedIn:"root",factory:Hw})}constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Hw()),deps:[[e,new cs,new zn]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new z(901,!1)}}return e})();function OA(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,o=function oA(e=[]){if(zo)return zo;const t=function Nw(e=[],t){return L.create({name:t,providers:[{provide:gs,useValue:"platform"},{provide:Qp,useValue:new Set([()=>zo=null])},...e]})}(e);return zo=t,function Cw(){!function Zi(e){Wo=e}(()=>{throw new z(600,!1)})}(),function Aw(e){e.get(qg,null)?.forEach(n=>n())}(t),t}(r),i=[Gp({}),{provide:Zs,useExisting:Cc},...n||[]],d=new _y({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,f=d.get(dt);return f.run(()=>{d.resolveInjectorInitializers();const m=d.get(xe,null);let y;f.runOutsideAngular(()=>{y=f.onError.subscribe({next:N=>{m.handleError(N)}})});const E=()=>d.destroy(),S=o.get(Qp);return S.add(E),d.onDestroy(()=>{y.unsubscribe(),S.delete(E)}),function ww(e,t,n){try{const r=n();return Bp(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(m,f,()=>{const N=d.get(zp);return N.runInitializers(),N.donePromise.then(()=>{!function jD(e){"string"==typeof e&&(LD=e.toLowerCase().replace(/_/g,"-"))}(d.get(Fd,ma)||ma);const x=d.get(gr);return void 0!==t&&x.bootstrap(t),x})})})}catch(t){return Promise.reject(t)}}function XA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function eR(e,t){jn("NgSignals");const n=function et(e){const t=Object.create(wa);t.computation=e;const n=()=>{if(Ue(t),V(t),t.value===Ke)throw t.error;return t.value};return n[W]=t,n}(e);return t?.equal&&(n[W].equal=t.equal),n}function tR(e){const t=q(null);try{return e()}finally{q(t)}}}},ft=>{ft(ft.s=259)}]);