diff --git a/index.html b/index.html index 2d4e3d6..ffc26d2 100644 --- a/index.html +++ b/index.html @@ -11,5 +11,5 @@ - + diff --git a/main-KPGEYPFZ.js b/main-FFMDLIKN.js similarity index 95% rename from main-KPGEYPFZ.js rename to main-FFMDLIKN.js index 245e13a..9ab8ed2 100644 --- a/main-KPGEYPFZ.js +++ b/main-FFMDLIKN.js @@ -4,4 +4,4 @@ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` `);return n===-1?t:t.substring(0,n)}function Zu(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var bh=L({__forward_ref__:L});function Nc(e){return e.__forward_ref__=Nc,e.toString=function(){return se(this())},e}function he(e){return Rc(e)?e():e}function Rc(e){return typeof e=="function"&&e.hasOwnProperty(bh)&&e.__forward_ref__===Nc}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function co(e){return Yu(e,Pc)||Yu(e,Fc)}function Oc(e){return co(e)!==null}function Yu(e,t){return e.hasOwnProperty(t)?e[t]:null}function Mh(e){let t=e&&(e[Pc]||e[Fc]);return t||null}function Qu(e){return e&&(e.hasOwnProperty(Ku)||e.hasOwnProperty(Sh))?e[Ku]:null}var Pc=L({\u0275prov:L}),Ku=L({\u0275inj:L}),Fc=L({ngInjectableDef:L}),Sh=L({ngInjectorDef:L}),A=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=C({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function kc(e){return e&&!!e.\u0275providers}var xh=L({\u0275cmp:L}),Th=L({\u0275dir:L}),_h=L({\u0275pipe:L}),Ah=L({\u0275mod:L}),qr=L({\u0275fac:L}),wn=L({__NG_ELEMENT_ID__:L}),Ju=L({__NG_ENV_ID__:L});function lo(e){return typeof e=="string"?e:e==null?"":String(e)}function Nh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():lo(e)}function Rh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new y(-200,e)}function Is(e,t){throw new y(-201,!1)}var M=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}(M||{}),Ni;function Lc(){return Ni}function fe(e){let t=Ni;return Ni=e,t}function jc(e,t,n){let r=co(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&M.Optional)return null;if(t!==void 0)return t;Is(e,"Injector")}var Oh={},Cn=Oh,Ph="__NG_DI_FLAG__",Gr="ngTempTokenPath",Fh="ngTokenPath",kh=/\n/gm,Lh="\u0275",Xu="__source",Wt;function jh(){return Wt}function tt(e){let t=Wt;return Wt=e,t}function Vh(e,t=M.Default){if(Wt===void 0)throw new y(-203,!1);return Wt===null?jc(e,void 0,t):Wt.get(e,t&M.Optional?null:void 0,t)}function S(e,t=M.Default){return(Lc()||Vh)(he(e),t)}function p(e,t=M.Default){return S(e,fo(t))}function fo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ri(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):se(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(kh,` - `)}`}function Yt(e,t){let n=e.hasOwnProperty(qr);return n?e[qr]:null}function Hh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Es(n,t):t(n))}function Vc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var In={},Qt=[],Kt=new A(""),$c=new A("",-1),Bc=new A(""),Zr=class{get(t,n=Cn){if(n===Cn){let r=new Error(`NullInjectorError: No provider for ${se(t)}!`);throw r.name="NullInjectorError",r}return n}},Uc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Uc||{}),Fe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Fe||{}),Se=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Se||{});function qh(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Oi(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function Qh(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!be(s)&&(t+=tc(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=tc(i,o)),t}function tp(e){return e.map(ep).join(",")}function np(e){let t=[],n=[],r=1,o=2;for(;r{let t=Yc(e),n=B(g({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Uc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Fe.Emulated,styles:e.styles||Qt,_:null,schemas:e.schemas||null,tView:null,id:""});Qc(n);let r=e.dependencies;return n.directiveDefs=rc(r,!1),n.pipeDefs=rc(r,!0),n.id=ip(n),n})}function rp(e){return vt(e)||qc(e)}function op(e){return e!==null}function nc(e,t){if(e==null)return In;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Se.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Se.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Fn(e){return Cs(()=>{let t=Yc(e);return Qc(t),t})}function vt(e){return e[xh]||null}function qc(e){return e[Th]||null}function Gc(e){return e[_h]||null}function Wc(e){let t=vt(e)||qc(e)||Gc(e);return t!==null?t.standalone:!1}function Zc(e,t){let n=e[Ah]||null;if(!n&&t===!0)throw new Error(`Type ${se(e)} does not have '\u0275mod' property.`);return n}function Yc(e){let 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||In,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Qt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:nc(e.inputs,t),outputs:nc(e.outputs),debugInfo:null}}function Qc(e){e.features?.forEach(t=>t(e))}function rc(e,t){if(!e)return null;let n=t?Gc:rp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(op)}function ip(e){let t=0,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(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ho(e){return{\u0275providers:e}}function sp(...e){return{\u0275providers:Kc(!0,e),\u0275fromNgModule:!0}}function Kc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Es(t,s=>{let a=s;Pi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Jc(o,i),n}function Jc(e,t){for(let n=0;n{t(i,r)})}}function Pi(e,t,n,r){if(e=he(e),!e)return!1;let o=null,i=Qu(e),s=!i&&vt(e);if(!i&&!s){let u=e.ngModule;if(i=Qu(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Pi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Es(i.imports,l=>{Pi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Jc(c,t)}if(!a){let c=Yt(o)||(()=>new o);t({provide:o,useFactory:c,deps:Qt},o),t({provide:Bc,useValue:o,multi:!0},o),t({provide:Kt,useValue:()=>S(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Ss(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Ss(e,t){for(let n of e)kc(n)&&(n=n.\u0275providers),Array.isArray(n)?Ss(n,t):t(n)}var ap=L({provide:String,useValue:L});function Xc(e){return e!==null&&typeof e=="object"&&ap in e}function up(e){return!!(e&&e.useExisting)}function cp(e){return!!(e&&e.useFactory)}function Fi(e){return typeof e=="function"}var po=new A(""),Vr={},lp={},wi;function xs(){return wi===void 0&&(wi=new Zr),wi}var pe=class{},En=class extends pe{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,Li(t,s=>this.processProvider(s)),this.records.set($c,zt(void 0,this)),o.has("environment")&&this.records.set(pe,zt(void 0,this));let i=this.records.get(po);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bc,Qt,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=N(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),N(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=tt(this),r=fe(void 0),o;try{return t()}finally{tt(n),fe(r)}}get(t,n=Cn,r=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ju))return t[Ju](this);r=fo(r);let o,i=tt(this),s=fe(void 0);try{if(!(r&M.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=mp(t)&&co(t);c&&this.injectableDefInScope(c)?u=zt(ki(t),Vr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&M.Self?xs():this.parent;return n=r&M.Optional&&n===Cn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Gr]=a[Gr]||[]).unshift(se(t)),i)throw a;return Bh(a,t,"R3InjectorError",this.source)}else throw a}finally{fe(s),tt(i)}}resolveInjectorInitializers(){let t=N(null),n=tt(this),r=fe(void 0),o;try{let i=this.get(Kt,Qt,M.Self);for(let s of i)s()}finally{tt(n),fe(r),N(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(se(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(t){t=he(t);let n=Fi(t)?t:he(t&&t.provide),r=fp(t);if(!Fi(t)&&t.multi===!0){let o=this.records.get(n);o||(o=zt(void 0,Vr,!0),o.factory=()=>Ri(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=N(null);try{return n.value===Vr&&(n.value=lp,n.value=n.factory()),typeof n.value=="object"&&n.value&&gp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{N(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=he(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ki(e){let t=co(e),n=t!==null?t.factory:Yt(e);if(n!==null)return n;if(e instanceof A)throw new y(204,!1);if(e instanceof Function)return dp(e);throw new y(204,!1)}function dp(e){if(e.length>0)throw new y(204,!1);let n=Mh(e);return n!==null?()=>n.factory(e):()=>new e}function fp(e){if(Xc(e))return zt(void 0,e.useValue);{let t=hp(e);return zt(t,Vr)}}function hp(e,t,n){let r;if(Fi(e)){let o=he(e);return Yt(o)||ki(o)}else if(Xc(e))r=()=>he(e.useValue);else if(cp(e))r=()=>e.useFactory(...Ri(e.deps||[]));else if(up(e))r=()=>S(he(e.useExisting));else{let o=he(e&&(e.useClass||e.provide));if(pp(e))r=()=>new o(...Ri(e.deps));else return Yt(o)||ki(o)}return r}function zt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function pp(e){return!!e.deps}function gp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function mp(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function Li(e,t){for(let n of e)Array.isArray(n)?Li(n,t):n&&kc(n)?Li(n.\u0275providers,t):t(n)}function Et(e,t){e instanceof En&&e.assertNotDestroyed();let n,r=tt(e),o=fe(void 0);try{return t()}finally{tt(r),fe(o)}}function vp(){return Lc()!==void 0||jh()!=null}function yp(e){return typeof e=="function"}var We=0,I=1,m=2,Q=3,Me=4,_e=5,bn=6,Mn=7,ae=8,Jt=9,xe=10,ee=11,Sn=12,oc=13,kn=14,Te=15,Ln=16,qt=17,ze=18,go=19,el=20,nt=21,Ci=22,yt=23,qe=25,tl=1;var Dt=7,Yr=8,Xt=9,X=10,Ts=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ts||{});function gt(e){return Array.isArray(e)&&typeof e[tl]=="object"}function Ze(e){return Array.isArray(e)&&e[tl]===!0}function nl(e){return(e.flags&4)!==0}function mo(e){return e.componentOffset>-1}function _s(e){return(e.flags&1)===1}function jn(e){return!!e.template}function Dp(e){return(e[m]&512)!==0}var ji=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function rl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function tn(){return ol}function ol(e){return e.type.prototype.ngOnChanges&&(e.setInput=Cp),wp}tn.ngInherit=!0;function wp(){let e=sl(this),t=e?.current;if(t){let n=e.previous;if(n===In)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Cp(e,t,n,r,o){let i=this.declaredInputs[r],s=sl(e)||Ip(e,{previous:In,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new ji(c&&c.currentValue,n,u===In),rl(e,t,o,n)}var il="__ngSimpleChanges__";function sl(e){return e[il]||null}function Ip(e,t){return e[il]=t}var ic=null;var Oe=function(e,t,n){ic?.(e,t,n)},al="svg",Ep="math",bp=!1;function Mp(){return bp}function ke(e){for(;Array.isArray(e);)e=e[We];return e}function Sp(e,t){return ke(t[e])}function me(e,t){return ke(t[e.index])}function As(e,t){return e.data[t]}function ot(e,t){let n=t[e];return gt(n)?n:n[We]}function xp(e){return(e[m]&4)===4}function Ns(e){return(e[m]&128)===128}function Tp(e){return Ze(e[Q])}function Qr(e,t){return t==null?null:e[t]}function ul(e){e[qt]=0}function _p(e){e[m]&1024||(e[m]|=1024,Ns(e)&&xn(e))}function Rs(e){return!!(e[m]&9216||e[yt]?.dirty)}function Vi(e){e[xe].changeDetectionScheduler?.notify(1),Rs(e)?xn(e):e[m]&64&&(Mp()?(e[m]|=1024,xn(e)):e[xe].changeDetectionScheduler?.notify())}function xn(e){e[xe].changeDetectionScheduler?.notify();let t=Tn(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!Ns(t)));)t=Tn(t)}function cl(e,t){if((e[m]&256)===256)throw new y(911,!1);e[nt]===null&&(e[nt]=[]),e[nt].push(t)}function Ap(e,t){if(e[nt]===null)return;let n=e[nt].indexOf(t);n!==-1&&e[nt].splice(n,1)}function Tn(e){let t=e[Q];return Ze(t)?t[Q]:t}var R={lFrame:ml(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Np(){return R.lFrame.elementDepthCount}function Rp(){R.lFrame.elementDepthCount++}function Op(){R.lFrame.elementDepthCount--}function ll(){return R.bindingsEnabled}function Pp(){return R.skipHydrationRootTNode!==null}function Fp(e){return R.skipHydrationRootTNode===e}function kp(){R.skipHydrationRootTNode=null}function j(){return R.lFrame.lView}function Le(){return R.lFrame.tView}function ue(){let e=dl();for(;e!==null&&e.type===64;)e=e.parent;return e}function dl(){return R.lFrame.currentTNode}function Lp(){let e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Vn(e,t){let n=R.lFrame;n.currentTNode=e,n.isParent=t}function fl(){return R.lFrame.isParent}function jp(){R.lFrame.isParent=!1}function Vp(e){return R.lFrame.bindingIndex=e}function vo(){return R.lFrame.bindingIndex++}function $p(){return R.lFrame.inI18n}function Bp(e,t){let n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,$i(t)}function Up(){return R.lFrame.currentDirectiveIndex}function $i(e){R.lFrame.currentDirectiveIndex=e}function hl(){return R.lFrame.currentQueryIndex}function Os(e){R.lFrame.currentQueryIndex=e}function Hp(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[_e]:null}function pl(e,t,n){if(n&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&M.Host);)if(o=Hp(i),o===null||(i=i[kn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=R.lFrame=gl();return r.currentTNode=t,r.lView=e,!0}function Ps(e){let t=gl(),n=e[I];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function gl(){let e=R.lFrame,t=e===null?null:e.child;return t===null?ml(e):t}function ml(e){let 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 e!==null&&(e.child=t),t}function vl(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var yl=vl;function Fs(){let e=vl();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 yo(){return R.lFrame.selectedIndex}function wt(e){R.lFrame.selectedIndex=e}function Dl(){let e=R.lFrame;return As(e.tView,e.selectedIndex)}function nn(){R.lFrame.currentNamespace=al}function Do(){zp()}function zp(){R.lFrame.currentNamespace=null}function qp(){return R.lFrame.currentNamespace}var wl=!0;function ks(){return wl}function Ls(e){wl=e}function Gp(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ol(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function js(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[qt]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,sc(a,i)):sc(a,i)}var Zt=-1,_n=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Zp(e){return e instanceof _n}function Yp(e){return(e.flags&8)!==0}function Qp(e){return(e.flags&16)!==0}function Il(e){return e!==Zt}function Kr(e){return e&32767}function Kp(e){return e>>16}function Jr(e,t){let n=Kp(e),r=t;for(;n>0;)r=r[kn],n--;return r}var Bi=!0;function ac(e){let t=Bi;return Bi=e,t}var Jp=256,El=Jp-1,bl=5,Xp=0,Pe={};function eg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(wn)&&(r=n[wn]),r==null&&(r=n[wn]=Xp++);let o=r&El,i=1<>bl)]|=i}function Ml(e,t){let n=Sl(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Ei(r.data,e),Ei(t,null),Ei(r.blueprint,null));let o=Vs(e,t),i=e.injectorIndex;if(Il(o)){let s=Kr(o),a=Jr(o,t),u=a[I].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Ei(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Sl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Vs(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Nl(o),r===null)return Zt;if(n++,o=o[kn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Zt}function tg(e,t,n){eg(e,t,n)}function ng(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let h=d;h=u&&v.type===n)return h}if(o){let h=s[u];if(h&&jn(h)&&h.type===n)return u}return null}function en(e,t,n,r){let o=e[n],i=t.data;if(Zp(o)){let s=o;s.resolving&&Rh(Nh(i[n]));let a=ac(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?fe(s.injectImpl):null,l=pl(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Gp(n,i[n],t)}finally{c!==null&&fe(c),ac(a),s.resolving=!1,yl()}}return o}function og(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(wn)?e[wn]:void 0;return typeof t=="number"?t>=0?t&El:ig:t}function uc(e,t,n){let r=1<>bl)]&r)}function cc(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var mt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return _l(this._tNode,this._lView,t,fo(r),n)}};function ig(){return new mt(ue(),j())}function $s(e){return Cs(()=>{let t=e.prototype.constructor,n=t[qr]||Ui(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[qr]||Ui(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ui(e){return Rc(e)?()=>{let t=Ui(he(e));return t&&t()}:Yt(e)}function sg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=Al(i,s,n,r|M.Self,Pe);if(a!==Pe)return a;let u=i.parent;if(!u){let c=s[el];if(c){let l=c.get(n,Pe,r);if(l!==Pe)return l}u=Nl(s),s=s[kn]}i=u}return o}function Nl(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[_e]:null}function Bs(e){return ng(ue(),e)}function lc(e,t=null,n=null,r){let o=Rl(e,t,n,r);return o.resolveInjectorInitializers(),o}function Rl(e,t=null,n=null,r,o=new Set){let i=[n||Qt,sp(e)];return r=r||(typeof e=="object"?void 0:se(e)),new En(i,t||xs(),r||null,o)}var $n=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return lc({name:""},o,r,"");{let i=r.name??"";return lc({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=Cn,t.NULL=new Zr,t.\u0275prov=C({token:t,providedIn:"any",factory:()=>S($c)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var ag="ngOriginalError";function bi(e){return e[ag]}var Ge=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&bi(t);for(;n&&bi(n);)n=bi(n);return n||null}},Ol=new A("",{providedIn:"root",factory:()=>p(Ge).handleError.bind(void 0)}),Pl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ug,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Hi=class extends Pl{constructor(t){super(),this._lView=t}onDestroy(t){return cl(this._lView,t),()=>Ap(this._lView,t)}};function ug(){return new Hi(j())}function cg(){return rn(ue(),j())}function rn(e,t){return new Ye(me(e,t))}var Ye=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=cg;let e=t;return e})();function lg(e){return e instanceof Ye?e.nativeElement:e}var zi=class extends J{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,vp()&&(this.destroyRef=p(Pl,{optional:!0})??void 0)}emit(t){let n=N(null);try{super.next(t)}finally{N(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Mi(i),o&&(o=Mi(o)),s&&(s=Mi(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof z&&t.add(a),a}};function Mi(e){return t=>{setTimeout(e,void 0,t)}}var ie=zi;function dg(){return this._results[Symbol.iterator]()}var qi=class e{get changes(){return this._changes??=new ie}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;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=dg)}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;let r=zh(t);(this._changesDetected=!Hh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Fl(e){return(e.flags&128)===128}var kl=new Map,fg=0;function hg(){return fg++}function pg(e){kl.set(e[go],e)}function gg(e){kl.delete(e[go])}var dc="__ngContext__";function Ct(e,t){gt(t)?(e[dc]=t[go],pg(t)):e[dc]=t}function Ll(e){return Vl(e[Sn])}function jl(e){return Vl(e[Me])}function Vl(e){for(;e!==null&&!Ze(e);)e=e[Me];return e}var Gi;function $l(e){Gi=e}function mg(){if(Gi!==void 0)return Gi;if(typeof document<"u")return document;throw new y(210,!1)}var Us=new A("",{providedIn:"root",factory:()=>vg}),vg="ng",Hs=new A(""),on=new A("",{providedIn:"platform",factory:()=>"unknown"});var zs=new A("",{providedIn:"root",factory:()=>mg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var yg="h",Dg="b";var wg=()=>null;function qs(e,t,n=!1){return wg(e,t,n)}var Bl=!1,Cg=new A("",{providedIn:"root",factory:()=>Bl});var jr;function Ig(){if(jr===void 0&&(jr=null,pt.trustedTypes))try{jr=pt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return jr}function fc(e){return Ig()?.createScriptURL(e)||e}var Xr=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ac})`}};function wo(e){return e instanceof Xr?e.changingThisBreaksApplicationSecurity:e}function Gs(e,t){let n=Eg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ac})`)}return n===t}function Eg(e){return e instanceof Xr&&e.getTypeName()||null}var bg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ul(e){return e=String(e),e.match(bg)?e:"unsafe:"+e}var Co=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}(Co||{});function Bn(e){let t=zl();return t?t.sanitize(Co.URL,e)||"":Gs(e,"URL")?wo(e):Ul(lo(e))}function Mg(e){let t=zl();if(t)return fc(t.sanitize(Co.RESOURCE_URL,e)||"");if(Gs(e,"ResourceURL"))return fc(wo(e));throw new y(904,!1)}function Sg(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Mg:Bn}function Hl(e,t,n){return Sg(t,n)(e)}function zl(){let e=j();return e&&e[xe].sanitizer}function ql(e){return e instanceof Function?e():e}var bt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(bt||{}),xg;function Ws(e,t){return xg(e,t)}function Gt(e,t,n,r,o){if(r!=null){let i,s=!1;Ze(r)?i=r:gt(r)&&(s=!0,r=r[We]);let a=ke(r);e===0&&n!==null?o==null?Yl(t,n,a):eo(t,n,a,o||null,!0):e===1&&n!==null?eo(t,n,a,o||null,!0):e===2?zg(t,a,s):e===3&&t.destroyNode(a),i!=null&&Gg(t,e,i,n,o)}}function Tg(e,t){return e.createText(t)}function _g(e,t,n){e.setValue(t,n)}function Gl(e,t,n){return e.createElement(t,n)}function Ag(e,t){Wl(e,t),t[We]=null,t[_e]=null}function Ng(e,t,n,r,o,i){r[We]=o,r[_e]=t,Eo(e,r,n,1,o,i)}function Wl(e,t){t[xe].changeDetectionScheduler?.notify(1),Eo(e,t,t[ee],2,null,null)}function Rg(e){let t=e[Sn];if(!t)return Si(e[I],e);for(;t;){let n=null;if(gt(t))n=t[Sn];else{let r=t[X];r&&(n=r)}if(!n){for(;t&&!t[Me]&&t!==e;)gt(t)&&Si(t[I],t),t=t[Q];t===null&&(t=e),gt(t)&&Si(t[I],t),n=t&&t[Me]}t=n}}function Og(e,t,n,r){let o=X+r,i=n.length;r>0&&(n[o-1][Me]=t),r0&&(e[n-1][Me]=r[Me]);let i=Wr(e,X+t);Ag(r[I],r);let s=i[ze];s!==null&&s.detachView(i[I]),r[Q]=null,r[Me]=null,r[m]&=-129}return r}function Io(e,t){if(!(t[m]&256)){let n=t[ee];n.destroyNode&&Eo(e,t,n,3,null,null),Rg(t)}}function Si(e,t){if(t[m]&256)return;let n=N(null);try{t[m]&=-129,t[m]|=256,t[yt]&&yu(t[yt]),kg(e,t),Fg(e,t),t[I].type===1&&t[ee].destroy();let r=t[Ln];if(r!==null&&Ze(t[Q])){r!==t[Q]&&Zl(r,t);let o=t[ze];o!==null&&o.detachView(e)}gg(t)}finally{N(n)}}function Fg(e,t){let n=e.cleanup,r=t[Mn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Mn]=null);let o=t[nt];if(o!==null){t[nt]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Fe.None||i===Fe.Emulated)return null}return me(r,n)}}function eo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Yl(e,t,n){e.appendChild(t,n)}function hc(e,t,n,r,o){r!==null?eo(e,t,n,r,o):Yl(e,t,n)}function Vg(e,t,n,r){e.removeChild(t,n,r)}function Zs(e,t){return e.parentNode(t)}function $g(e,t){return e.nextSibling(t)}function Bg(e,t,n){return Hg(e,t,n)}function Ug(e,t,n){return e.type&40?me(e,n):null}var Hg=Ug,pc;function Ys(e,t,n,r){let o=Lg(e,r,t),i=t[ee],s=r.parent||t[_e],a=Bg(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uqe&&Xl(e,t,qe,!1),Oe(s?2:0,o),n(r,o)}finally{wt(i),Oe(s?3:1,o)}}function rd(e,t,n){if(nl(t)){let r=N(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function em(e,t,n,r){let o=fd(t);o.push(n),e.firstCreatePass&&hd(e).push(r,o.length-1)}function tm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Pp()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function gc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Se.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?mc(r,n,c,a,u):mc(r,n,c,a)}return r}function mc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function nm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function um(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;mo(n)&&gm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ml(n,t),Ct(r,t);let s=n.initialInputs;for(let a=o;a{xn(e.lView)},consumerOnSignalRead(){this.lView[yt]=this}}),md=100;function vd(e,t=!0,n=0){let r=e[xe],o=r.rendererFactory,i=!1;i||o.begin?.();try{Nm(e,n)}catch(s){throw t&&pd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Nm(e,t){Qi(e,t);let n=0;for(;Rs(e);){if(n===md)throw new y(103,!1);n++,Qi(e,1)}}function Rm(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1;!i&&t[xe].inlineEffectRunner?.flush(),Ps(t);let s=null,a=null;!i&&Om(e)&&(a=xm(t),s=mu(a));try{ul(t),Vp(e.bindingStartIndex),n!==null&&nd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&$r(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Br(t,d,0,null),Ii(t,0)}if(Pm(t),yd(t,0),e.contentQueries!==null&&dd(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&$r(t,d)}else{let d=e.contentHooks;d!==null&&Br(t,d,1),Ii(t,1)}Zg(e,t);let c=e.components;c!==null&&wd(t,c,0);let l=e.viewQuery;if(l!==null&&Yi(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&$r(t,d)}else{let d=e.viewHooks;d!==null&&Br(t,d,2),Ii(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ci]){for(let d of t[Ci])d();t[Ci]=null}i||(t[m]&=-73)}catch(u){throw xn(t),u}finally{a!==null&&(vu(a,s),_m(a)),Fs()}}function Om(e){return e.type!==2}function yd(e,t){for(let n=Ll(e);n!==null;n=jl(n))for(let r=X;r-1&&(An(t,r),Wr(n,r))}this._attachedToViewContainer=!1}Io(this._lView[I],this._lView)}onDestroy(t){cl(this._lView,t)}markForCheck(){na(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){Vi(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,vd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Wl(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t,Vi(this._lView)}},Nn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=jm;let e=t;return e})(),km=Nn,Lm=class extends km{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){let o=ea(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new It(o)}};function jm(){return ra(ue(),j())}function ra(e,t){return e.type&4?new Lm(t,e,rn(e,t)):null}var lM=new RegExp(`^(\\d+)*(${Dg}|${yg})*(.*)`);var Vm=()=>null;function ro(e,t){return Vm(e,t)}var Ki=class{},Ji=class{},oo=class{};function $m(e){let t=Error(`No component factory found for ${se(e)}.`);return t[Bm]=e,t}var Bm="ngComponent";var Xi=class{resolveComponentFactory(t){throw $m(t)}},To=(()=>{let t=class t{};t.NULL=new Xi;let e=t;return e})(),Rn=class{},Un=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Um();let e=t;return e})();function Um(){let e=j(),t=ue(),n=ot(t.index,e);return(gt(n)?n:e)[ee]}var Hm=(()=>{let t=class t{};t.\u0275prov=C({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),xi={};var vc=new Set;function oa(e){vc.has(e)||(vc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Cd=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=C({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function es(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Kl(e,n,i.join(" "))}}function Qm(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Jm;let e=t;return e})();function Jm(){let e=ue();return Ed(e,j())}var Xm=sn,Id=class extends Xm{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return rn(this._hostTNode,this._hostLView)}get injector(){return new mt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Vs(this._hostTNode,this._hostLView);if(Il(t)){let n=Jr(t,this._hostLView),r=Kr(t),o=n[I].data[r+8];return new mt(o,n)}else return new mt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Dc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-X}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ro(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,to(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!yp(t),a;if(s)a=n;else{let v=n||{};a=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef}let u=s?t:new On(vt(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let b=(s?c:this.parentInjector).get(pe,null);b&&(i=b)}let l=vt(u.componentType??{}),d=ro(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,to(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Tp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[Q],c=new Id(u,u[_e],u[Q]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ta(s,o,i,r),t.attachToViewContainerRef(),Vc(Ti(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Dc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=An(this._lContainer,n);r&&(Wr(Ti(this._lContainer),n),Io(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=An(this._lContainer,n);return r&&Wr(Ti(this._lContainer),n)!=null?new It(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Dc(e){return e[Yr]}function Ti(e){return e[Yr]||(e[Yr]=[])}function Ed(e,t){let n,r=t[e.index];return Ze(r)?n=r:(n=ld(r,t,null,e),t[e.index]=n,xo(t,n)),tv(n,t,e,r),new Id(n,e,t)}function ev(e,t){let n=e[ee],r=n.createComment(""),o=me(t,e),i=Zs(n,o);return eo(n,i,r,$g(n,o),!1),r}var tv=ov,nv=()=>!1;function rv(e,t,n){return nv(e,t,n)}function ov(e,t,n,r){if(e[Dt])return;let o;n.type&8?o=ke(r):o=ev(t,n),e[Dt]=o}var rs=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},os=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=X;dt.trim())}function hv(e,t,n){e.queries===null&&(e.queries=new ss),e.queries.track(new as(t,n))}function pv(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function ia(e,t){return e.queries.getByIndex(t)}function gv(e,t){let n=e[I],r=ia(n,t);return r.crossesNgTemplate?us(n,e,t,[]):bd(n,e,r,t)}function sa(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var rt=class{},Pn=class{};var cs=class extends rt{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new io(this);let o=Zc(t);this._bootstrapComponents=ql(o.bootstrap),this._r3Injector=Rl(t,n,[{provide:rt,useValue:this},{provide:To,useValue:this.componentFactoryResolver},...r],se(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ls=class extends Pn{constructor(t){super(),this.moduleType=t}create(t){return new cs(this.moduleType,t,[])}};var so=class extends rt{constructor(t){super(),this.componentFactoryResolver=new io(this),this.instance=null;let n=new En([...t.providers,{provide:rt,useValue:this},{provide:To,useValue:this.componentFactoryResolver}],t.parent||xs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function aa(e,t,n=null){return new so({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var _o=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Z(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ao(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function mv(e){return(e.flags&32)===32}function vv(e,t,n,r,o,i,s,a,u){let c=t.consts,l=So(t,e,4,s||null,Qr(c,a));ad(t,n,l,Qr(c,u)),js(t,l);let d=l.tView=Ks(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function ds(e,t,n,r,o,i,s,a){let u=j(),c=Le(),l=e+qe,d=c.firstCreatePass?vv(l,c,u,t,n,r,o,i,s):c.data[l];Vn(d,!1);let f=yv(c,u,d,e);ks()&&Ys(c,u,f,d),Ct(f,u);let h=ld(f,u,f,d);return u[l]=h,xo(u,h),rv(h,d,u),_s(d)&&od(c,u,d),s!=null&&id(u,d,a),ds}var yv=Dv;function Dv(e,t,n,r){return Ls(!0),t[ee].createComment("")}function wc(...e){}function wv(){let e=typeof pt.requestAnimationFrame=="function",t=pt[e?"requestAnimationFrame":"setTimeout"],n=pt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var H=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ie(!1),this.onMicrotaskEmpty=new ie(!1),this.onStable=new ie(!1),this.onError=new ie(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let 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.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=wv().nativeRequestAnimationFrame,Ev(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Cv,wc,wc);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Cv={};function ua(e){if(e._nesting==0&&!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 Iv(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,fs(e),e.isCheckStableRunning=!0,ua(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),fs(e))}function Ev(e){let t=()=>{Iv(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(bv(a))return n.invokeTask(o,i,s,a);try{return Cc(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ic(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Cc(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ic(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,fs(e),ua(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function fs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Cc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ic(e){e._nesting--,ua(e)}function bv(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}function ca(e,t,n,r){let o=j(),i=vo();if(Ao(o,i,t)){let s=Le(),a=Dl();mm(a,o,e,t,n,r)}return ca}function Mv(e,t,n,r){return Ao(e,vo(),n)?t+lo(n)+r:bo}function Hn(e,t,n){let r=j(),o=vo();if(Ao(r,o,t)){let i=Le(),s=Dl();om(i,s,r,e,t,r[ee],n,!1)}return Hn}function Ec(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Js(e,n,i[s],s,r)}var hs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function _i(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Sv(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=_i(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),f=t[a],h=_i(s,d,a,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,a--;continue}let v=n(i,u),b=n(s,d),$=n(i,c);if(Object.is($,b)){let P=n(a,f);Object.is(P,v)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new ao,o??=Mc(e,i,s,n),ps(e,r,i,$))e.updateValue(i,c),i++,s++;else if(o.has($))r.set(v,e.detach(i)),s--;else{let P=e.create(i,t[i]);e.attach(i,P),i++,s++}}for(;i<=a;)bc(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=_i(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new ao,o??=Mc(e,i,s,n);let f=n(i,l);if(ps(e,r,i,f))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let h=n(i,c);r.set(h,e.detach(i)),s--}}}for(;!u.done;)bc(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function ps(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function bc(e,t,n,r,o){if(ps(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Mc(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ao=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&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);this._vMap===void 0&&(this._vMap=new Map);let 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),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};var gs=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-X}};function zn(e,t){return t}var ms=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function qn(e,t,n,r,o,i,s,a,u,c,l,d,f){oa("NgControlFlow");let h=u!==void 0,v=j(),b=a?s.bind(v[Te][ae]):s,$=new ms(h,b);v[qe+e]=$,ds(e+1,t,n,r,o,i),h&&ds(e+2,u,c,l,d,f)}var vs=class extends hs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-X}at(t){return this.getLView(t)[ae].$implicit}attach(t,n){let r=n[bn];this.needsIndexUpdate||=t!==this.length,ta(this.lContainer,n,t,to(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,xv(this.lContainer,t)}create(t,n){let r=ro(this.lContainer,this.templateTNode.tView.ssrId);return ea(this.hostLView,this.templateTNode,new gs(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Io(t[I],t)}updateValue(t,n){this.getLView(t)[ae].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Ls(!0),Gl(r,o,qp()));var uo="en-US";var Nv=uo;function Rv(e){typeof e=="string"&&(Nv=e.toLowerCase().replace(/_/g,"-"))}function la(e,t,n,r){let o=j(),i=Le(),s=ue();return Pv(i,o,o[ee],s,e,t,r),la}function Ov(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Pv(e,t,n,r,o,i,s){let a=_s(r),c=e.firstCreatePass&&hd(e),l=t[ae],d=fd(t),f=!0;if(r.type&3||s){let b=me(r,t),$=s?s(b):b,P=d.length,$e=s?Be=>s(ke(Be[r.index])):r.index,te=null;if(!s&&a&&(te=Ov(e,t,o,r.index)),te!==null){let Be=te.__ngLastListenerFn__||te;Be.__ngNextListenerFn__=i,te.__ngLastListenerFn__=i,f=!1}else{i=_c(r,t,l,i,!1);let Be=n.listen($,o,i);d.push(i,Be),c&&c.push(o,$e,P,P+1)}}else i=_c(r,t,l,i,!1);let h=r.outputs,v;if(f&&h!==null&&(v=h[o])){let b=v.length;if(b)for(let $=0;$-1?ot(e.index,t):t;na(a);let u=Tc(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Tc(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function Md(e,t,n,r){dv(e,t,n,r)}function Sd(e){let t=j(),n=Le(),r=hl();Os(r+1);let o=ia(n,r);if(e.dirty&&xp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=gv(t,r);e.reset(i,lg),e.notifyOnChanges()}return!0}return!1}function xd(){return cv(j(),hl())}function W(e,t=""){let n=j(),r=Le(),o=e+qe,i=r.firstCreatePass?So(r,o,1,t,null):r.data[o],s=Fv(r,n,i,t,e);n[o]=s,ks()&&Ys(r,n,s,i),Vn(i,!1)}var Fv=(e,t,n,r,o)=>(Ls(!0),Tg(t[ee],r));function Mt(e){return Td("",e,""),Mt}function Td(e,t,n){let r=j(),o=Mv(r,e,t,n);return o!==bo&&wm(r,yo(),o),Td}var kv=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Kc(!1,r.type),i=o.length>0?aa([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=C({token:t,providedIn:"environment",factory:()=>new t(S(pe))});let e=t;return e})();function ve(e){oa("NgStandalone"),e.getStandaloneInjector=t=>t.get(kv).getOrCreateStandaloneInjector(e)}var No=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var _d=new A("");function Wn(e){return!!e&&typeof e.then=="function"}function Ad(e){return!!e&&typeof e.subscribe=="function"}var Nd=new A(""),Rd=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=p(Nd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Wn(s))r.push(s);else if(Ad(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),da=new A("");function Lv(){Du(()=>{throw new y(600,!1)})}function jv(e){return e.isBoundToModule}function Vv(e,t,n){try{let r=n();return Wn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Zn=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Ol),this.afterRenderEffectManager=p(Cd),this.externalTestViews=new Set,this.beforeRender=new J,this.afterTick=new J,this.componentTypes=[],this.components=[],this.isStable=p(_o).hasPendingTasks.pipe(_(r=>!r)),this._injector=p(pe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof oo;if(!this._injector.get(Rd).done){let h=!i&&Wc(r),v=!1;throw new y(405,v)}let a;i?a=r:a=this._injector.get(To).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=jv(a)?void 0:this._injector.get(rt),c=o||a.selector,l=a.create($n.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(_d,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ai(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new y(101,!1);let o=N(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,N(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===md)throw new y(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)$v(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ys(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ys(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Ai(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(da,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Ai(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new y(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ai(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function $v(e,t,n){!t&&!ys(e)||Bv(e,n,t)}function ys(e){return Rs(e)}function Bv(e,t,n){let r;n?(r=0,e[m]|=1024):e[m]&64?r=0:r=1,vd(e,t,r)}var Ds=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},fa=(()=>{let t=class t{compileModuleSync(r){return new ls(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Zc(r),s=ql(i.declarations).reduce((a,u)=>{let c=vt(u);return c&&a.push(new On(c)),a},[]);return new Ds(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Uv=(()=>{let t=class t{constructor(){this.zone=p(H),this.applicationRef=p(Zn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Hv(e){return[{provide:H,useFactory:e},{provide:Kt,multi:!0,useFactory:()=>{let t=p(Uv,{optional:!0});return()=>t.initialize()}},{provide:Kt,multi:!0,useFactory:()=>{let t=p(Wv);return()=>{t.initialize()}}},{provide:Ol,useFactory:zv}]}function zv(){let e=p(H),t=p(Ge);return n=>e.runOutsideAngular(()=>t.handleError(n))}function qv(e){let t=Hv(()=>new H(Gv(e)));return ho([[],t])}function Gv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Wv=(()=>{let t=class t{constructor(){this.subscription=new z,this.initialized=!1,this.zone=p(H),this.pendingTasks=p(_o)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{H.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Zv(){return typeof $localize<"u"&&$localize.locale||uo}var ha=new A("",{providedIn:"root",factory:()=>p(ha,M.Optional|M.SkipSelf)||Zv()});var Od=new A("");var zr=null;function Yv(e=[],t){return $n.create({name:t,providers:[{provide:po,useValue:"platform"},{provide:Od,useValue:new Set([()=>zr=null])},...e]})}function Qv(e=[]){if(zr)return zr;let t=Yv(e);return zr=t,Lv(),Kv(t),t}function Kv(e){e.get(Hs,null)?.forEach(n=>n())}var an=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Jv;let e=t;return e})();function Jv(e){return Xv(ue(),j(),(e&16)===16)}function Xv(e,t,n){if(mo(e)&&!n){let r=ot(e.index,t);return new It(r,r)}else if(e.type&47){let r=t[Te];return new It(r,t)}return null}function Pd(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Qv(r),i=[qv(),...n||[]],a=new so({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(H);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ge,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:h=>{c.handleError(h)}})});let d=()=>a.destroy(),f=o.get(Od);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),Vv(c,u,()=>{let h=a.get(Rd);return h.runInitializers(),h.donePromise.then(()=>{let v=a.get(ha,uo);Rv(v||uo);let b=a.get(Zn);return t!==void 0&&b.bootstrap(t),b})})})}catch(t){return Promise.reject(t)}}function Yn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var $d=null;function un(){return $d}function Bd(e){$d??=e}var Ro=class{};var ye=new A(""),pa=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(ey),providedIn:"platform"});let e=t;return e})();var ey=(()=>{let t=class t extends pa{constructor(){super(),this._doc=p(ye),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return un().getBaseHref(this._doc)}onPopState(r){let o=un().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=un().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function ga(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Fd(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Qe(e){return e&&e[0]!=="?"?"?"+e:e}var st=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(Hd),providedIn:"root"});let e=t;return e})(),Ud=new A(""),Hd=(()=>{let t=class t extends st{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(ye).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return ga(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Qe(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(S(pa),S(Ud,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),zd=(()=>{let t=class t extends st{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=ga(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(S(pa),S(Ud,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Qn=(()=>{let t=class t{constructor(r){this._subject=new ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=ry(Fd(kd(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Qe(o))}normalize(r){return t.stripTrailingSlash(ny(this._basePath,kd(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Qe(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Qe(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Qe,t.joinWithSlash=ga,t.stripTrailingSlash=Fd,t.\u0275fac=function(o){return new(o||t)(S(st))},t.\u0275prov=C({token:t,factory:()=>ty(),providedIn:"root"});let e=t;return e})();function ty(){return new Qn(S(st))}function ny(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function kd(e){return e.replace(/\/index.html$/,"")}function ry(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function qd(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Gd="browser",oy="server";function ma(e){return e===oy}var Oo=class{};var Da=class extends Ro{constructor(){super(...arguments),this.supportsDOMEvents=!0}},wa=class e extends Da{static makeCurrent(){Bd(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=ay();return n==null?null:uy(n)}resetBaseElement(){Kn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return qd(document.cookie,t)}},Kn=null;function ay(){return Kn=Kn||document.querySelector("base"),Kn?Kn.getAttribute("href"):null}function uy(e){return new URL(e,document.baseURI).pathname}var cy=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Ca=new A(""),Qd=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new y(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(S(Ca),S(H))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Po=class{constructor(t){this._doc=t}},va="ng-app-id",Kd=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ma(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${va}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(va),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(va,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(S(ye),S(Us),S(zs,8),S(on))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),ya={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ea=/%COMP%/g,Jd="%COMP%",ly=`_nghost-${Jd}`,dy=`_ngcontent-${Jd}`,fy=!0,hy=new A("",{providedIn:"root",factory:()=>fy});function py(e){return dy.replace(Ea,e)}function gy(e){return ly.replace(Ea,e)}function Xd(e,t){return t.map(n=>n.replace(Ea,e))}var Wd=(()=>{let t=class t{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=ma(u),this.defaultRenderer=new Jn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Fe.ShadowDom&&(o=B(g({},o),{encapsulation:Fe.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Fo?i.applyToHost(r):i instanceof Xn&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Fe.Emulated:s=new Fo(c,l,o,this.appId,d,a,u,f);break;case Fe.ShadowDom:return new Ia(c,l,r,o,a,u,this.nonce,f);default:s=new Xn(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(S(Qd),S(Kd),S(Us),S(hy),S(ye),S(on),S(H),S(zs))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Jn=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(ya[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Zd(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Zd(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new y(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=ya[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=ya[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(bt.DashCase|bt.Important)?t.style.setProperty(n,r,o&bt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&bt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=un().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Zd(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ia=class extends Jn{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Xd(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xn=class extends Jn{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Xd(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Fo=class extends Xn{constructor(t,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=py(c),this.hostAttr=gy(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},my=(()=>{let t=class t extends Po{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(S(ye))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Yd=["alt","control","meta","shift"],vy={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},yy={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Dy=(()=>{let t=class t extends Po{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>un().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),Yd.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=vy[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Yd.forEach(a=>{if(a!==i){let u=yy[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(S(ye))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})();function ef(e,t){return Pd(g({rootComponent:e},wy(t)))}function wy(e){return{appProviders:[...My,...e?.providers??[]],platformProviders:by}}function Cy(){wa.makeCurrent()}function Iy(){return new Ge}function Ey(){return $l(document),document}var by=[{provide:on,useValue:Gd},{provide:Hs,useValue:Cy,multi:!0},{provide:ye,useFactory:Ey,deps:[]}];var My=[{provide:po,useValue:"root"},{provide:Ge,useFactory:Iy,deps:[]},{provide:Ca,useClass:my,multi:!0,deps:[ye,H,on]},{provide:Ca,useClass:Dy,multi:!0,deps:[ye]},Wd,Kd,Qd,{provide:Rn,useExisting:Wd},{provide:Oo,useClass:cy,deps:[]},[]];var tf=(()=>{let t=class t{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};t.\u0275fac=function(o){return new(o||t)(S(ye))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var E="primary",pr=Symbol("RouteTitle"),Ta=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function hn(e){return new Ta(e)}function xy(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[i]===o)}else return e===t}function cf(e){return e.length>0?e[e.length-1]:null}function lt(e){return pi(e)?e:Wn(e)?U(Promise.resolve(e)):D(e)}var _y={exact:df,subset:ff},lf={exact:Ay,subset:Ny,ignored:()=>!0};function nf(e,t,n){return _y[n.paths](e.root,t.root,n.matrixParams)&&lf[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function Ay(e,t){return je(e,t)}function df(e,t,n){if(!xt(e.segments,t.segments)||!jo(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!df(e.children[r],t.children[r],n))return!1;return!0}function Ny(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>uf(e[n],t[n]))}function ff(e,t,n){return hf(e,t,t.segments,n)}function hf(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!xt(o,n)||t.hasChildren()||!jo(o,n,r))}else if(e.segments.length===n.length){if(!xt(e.segments,n)||!jo(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!ff(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!xt(e.segments,o)||!jo(e.segments,o,r)||!e.children[E]?!1:hf(e.children[E],t,i,r)}}function jo(e,t,n){return t.every((r,o)=>lf[n](e[o].parameters,r.parameters))}var at=class{constructor(t=new O([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=hn(this.queryParams),this._queryParamMap}toString(){return Py.serialize(this)}},O=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vo(this)}},St=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=hn(this.parameters),this._parameterMap}toString(){return gf(this)}};function Ry(e,t){return xt(e,t)&&e.every((n,r)=>je(n.parameters,t[r].parameters))}function xt(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function Oy(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===E&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==E&&(n=n.concat(t(o,r)))}),n}var tu=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>new Bo,providedIn:"root"});let e=t;return e})(),Bo=class{parse(t){let n=new Na(t);return new at(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${er(t.root,!0)}`,r=Ly(t.queryParams),o=typeof t.fragment=="string"?`#${Fy(t.fragment)}`:"";return`${n}${r}${o}`}},Py=new Bo;function Vo(e){return e.segments.map(t=>gf(t)).join("/")}function er(e,t){if(!e.hasChildren())return Vo(e);if(t){let n=e.children[E]?er(e.children[E],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==E&&r.push(`${o}:${er(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=Oy(e,(r,o)=>o===E?[er(e.children[E],!1)]:[`${o}:${er(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[E]!=null?`${Vo(e)}/${n[0]}`:`${Vo(e)}/(${n.join("//")})`}}function pf(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ko(e){return pf(e).replace(/%3B/gi,";")}function Fy(e){return encodeURI(e)}function Aa(e){return pf(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $o(e){return decodeURIComponent(e)}function rf(e){return $o(e.replace(/\+/g,"%20"))}function gf(e){return`${Aa(e.path)}${ky(e.parameters)}`}function ky(e){return Object.entries(e).map(([t,n])=>`;${Aa(t)}=${Aa(n)}`).join("")}function Ly(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${ko(n)}=${ko(o)}`).join("&"):`${ko(n)}=${ko(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var jy=/^[^\/()?;#]+/;function ba(e){let t=e.match(jy);return t?t[0]:""}var Vy=/^[^\/()?;=#]+/;function $y(e){let t=e.match(Vy);return t?t[0]:""}var By=/^[^=?&#]+/;function Uy(e){let t=e.match(By);return t?t[0]:""}var Hy=/^[^&#]+/;function zy(e){let t=e.match(Hy);return t?t[0]:""}var Na=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new O([],{}):new O([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[E]=new O(t,n)),r}parseSegment(){let t=ba(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(t),new St($o(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=$y(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=ba(this.remaining);o&&(r=o,this.capture(r))}t[$o(n)]=$o(r)}parseQueryParam(t){let n=Uy(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=zy(this.remaining);s&&(r=s,this.capture(r))}let o=rf(n),i=rf(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=ba(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=E);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[E]:new O([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new y(4011,!1)}};function mf(e){return e.segments.length>0?new O([],{[E]:e}):e}function vf(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=vf(o);if(r===E&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new O(e.segments,t);return qy(n)}function qy(e){if(e.numberOfChildren===1&&e.children[E]){let t=e.children[E];return new O(e.segments.concat(t.segments),t.children)}return e}function pn(e){return e instanceof at}function Gy(e,t,n=null,r=null){let o=yf(e);return Df(o,t,n,r)}function yf(e){let t;function n(i){let s={};for(let u of i.children){let c=n(u);s[u.outlet]=c}let a=new O(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=mf(r);return t??o}function Df(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Ma(o,o,o,n,r);let i=Wy(t);if(i.toRoot())return Ma(o,o,new O([],{}),n,r);let s=Zy(i,o,e),a=s.processChildren?rr(s.segmentGroup,s.index,i.commands):Cf(s.segmentGroup,s.index,i.commands);return Ma(o,s.segmentGroup,a,n,r)}function Uo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function sr(e){return typeof e=="object"&&e!=null&&e.outlets}function Ma(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;e===t?s=n:s=wf(e,t,n);let a=mf(vf(s));return new at(a,i,o)}function wf(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=wf(i,t,n)}),new O(e.segments,r)}var Ho=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Uo(r[0]))throw new y(4003,!1);let o=r.find(sr);if(o&&o!==cf(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Wy(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ho(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Ho(n,t,r)}var dn=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function Zy(e,t,n){if(e.isAbsolute)return new dn(t,!0,0);if(!n)return new dn(t,!1,NaN);if(n.parent===null)return new dn(n,!0,0);let r=Uo(e.commands[0])?0:1,o=n.segments.length-1+r;return Yy(n,o,e.numberOfDoubleDots)}function Yy(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new y(4005,!1);o=r.segments.length}return new dn(r,!1,o-i)}function Qy(e){return sr(e[0])?e[0].outlets:{[E]:e}}function Cf(e,t,n){if(e??=new O([],{}),e.segments.length===0&&e.hasChildren())return rr(e,t,n);let r=Ky(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==E)&&e.children[E]&&e.numberOfChildren===1&&e.children[E].segments.length===0){let i=rr(e.children[E],t,n);return new O(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Cf(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new O(e.segments,o)}}function Ky(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;let s=e.segments[o],a=n[r];if(sr(a))break;let u=`${a}`,c=r0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!sf(u,c,s))return i;r+=2}else{if(!sf(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Ra(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Ra(new O([],{}),0,r))}),t}function of(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function sf(e,t,n){return e==n.path&&je(t,n.parameters)}var or="imperative",K=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(K||{}),De=class{constructor(t,n){this.id=t,this.url=n}},ar=class extends De{constructor(t,n,r="imperative",o=null){super(t,n),this.type=K.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ke=class extends De{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=K.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},de=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(de||{}),Oa=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Oa||{}),ut=class extends De{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=K.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Tt=class extends De{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=K.NavigationSkipped}},ur=class extends De{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=K.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},zo=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pa=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fa=class extends De{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=K.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ka=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},La=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ja=class{constructor(t){this.route=t,this.type=K.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Va=class{constructor(t){this.route=t,this.type=K.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},$a=class{constructor(t){this.snapshot=t,this.type=K.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ba=class{constructor(t){this.snapshot=t,this.type=K.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ua=class{constructor(t){this.snapshot=t,this.type=K.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ha=class{constructor(t){this.snapshot=t,this.type=K.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var cr=class{},lr=class{constructor(t){this.url=t}};var za=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Qo,this.attachRef=null}},Qo=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(r,o){let i=this.getOrCreateContext(r);i.outlet=o,this.contexts.set(r,i)}onChildOutletDestroyed(r){let o=this.getContext(r);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let o=this.getContext(r);return o||(o=new za,this.contexts.set(r,o)),o}getContext(r){return this.contexts.get(r)||null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),qo=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=qa(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=qa(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Ga(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ga(t,this._root).map(n=>n.value)}};function qa(e,t){if(e===t.value)return t;for(let n of t.children){let r=qa(e,n);if(r)return r}return null}function Ga(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Ga(e,n);if(r.length)return r.unshift(t),r}return[]}var le=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function ln(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Go=class extends qo{constructor(t,n){super(t),this.snapshot=n,ru(this,t)}toString(){return this.snapshot.toString()}};function If(e){let t=Xy(e),n=new Z([new St("",{})]),r=new Z({}),o=new Z({}),i=new Z({}),s=new Z(""),a=new _t(n,r,i,s,o,E,e,t.root);return a.snapshot=t.root,new Go(new le(a,[]),t)}function Xy(e){let t={},n={},r={},o="",i=new dr([],t,r,o,n,E,e,null,{});return new Wo("",new le(i,[]))}var _t=class{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(_(c=>c[pr]))??D(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}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(_(t=>hn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(_(t=>hn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function nu(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:g(g({},t.params),e.params),data:g(g({},t.data),e.data),resolve:g(g(g(g({},e.data),t.data),o?.data),e._resolvedData)}:r={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&bf(o)&&(r.resolve[pr]=o.title),r}var dr=class{get title(){return this.data?.[pr]}constructor(t,n,r,o,i,s,a,u,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=hn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=hn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Wo=class extends qo{constructor(t,n){super(n),this.url=t,ru(this,n)}toString(){return Ef(this._root)}};function ru(e,t){t.value._routerState=e,t.children.forEach(n=>ru(e,n))}function Ef(e){let t=e.children.length>0?` { ${e.children.map(Ef).join(", ")} } `:"";return`${e.value}${t}`}function Sa(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,je(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),je(t.params,n.params)||e.paramsSubject.next(n.params),Ty(t.url,n.url)||e.urlSubject.next(n.url),je(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Wa(e,t){let n=je(e.params,t.params)&&Ry(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Wa(e.parent,t.parent))}function bf(e){return typeof e.title=="string"||e.title===null}var ou=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=E,this.activateEvents=new ie,this.deactivateEvents=new ie,this.attachEvents=new ie,this.detachEvents=new ie,this.parentContexts=p(Qo),this.location=p(sn),this.changeDetector=p(an),this.environmentInjector=p(pe),this.inputBinder=p(iu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:o,previousValue:i}=r.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,o){this.activated=r,this._activatedRoute=o,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,o){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=r;let i=this.location,a=r.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new Za(r,u,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=Fn({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[tn]});let e=t;return e})(),Za=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===_t?this.route:t===Qo?this.childContexts:this.parent.get(t,n)}},iu=new A("");function eD(e,t,n){let r=fr(e,t._root,n?n._root:void 0);return new Go(r,t)}function fr(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=tD(e,t,n);return new le(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>fr(e,a)),s}}let r=nD(t.value),o=t.children.map(i=>fr(e,i));return new le(r,o)}}function tD(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return fr(e,r,o);return fr(e,r)})}function nD(e){return new _t(new Z(e.url),new Z(e.params),new Z(e.queryParams),new Z(e.fragment),new Z(e.data),e.outlet,e.component,e)}var Mf="ngNavigationCancelingError";function Sf(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=pn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=xf(!1,de.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function xf(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Mf]=!0,n.cancellationCode=t,n}function rD(e){return Tf(e)&&pn(e.url)}function Tf(e){return!!e&&e[Mf]}var oD=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["ng-component"]],standalone:!0,features:[ve],decls:1,vars:0,template:function(o,i){o&1&&Ne(0,"router-outlet")},dependencies:[ou],encapsulation:2});let e=t;return e})();function iD(e,t){return e.providers&&!e._injector&&(e._injector=aa(e.providers,t,`Route: ${e.path}`)),e._injector??t}function su(e){let t=e.children&&e.children.map(su),n=t?B(g({},e),{children:t}):g({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==E&&(n.component=oD),n}function Ve(e){return e.outlet||E}function sD(e,t){let n=e.filter(r=>Ve(r)===t);return n.push(...e.filter(r=>Ve(r)!==t)),n}function gr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var aD=(e,t,n,r)=>_(o=>(new Ya(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Ya=class{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Sa(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=ln(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=ln(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=ln(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=ln(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Ha(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Ba(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Sa(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Sa(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=gr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}},Zo=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},fn=class{constructor(t,n){this.component=t,this.route=n}};function uD(e,t,n){let r=e._root,o=t?t._root:null;return tr(r,o,n,[r.value])}function cD(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function mn(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Oc(e)?e:t.get(e):r}function tr(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=ln(t);return e.children.forEach(s=>{lD(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ir(a,n.getContext(s),o)),o}function lD(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let u=dD(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Zo(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?tr(e,t,a?a.children:null,r,o):tr(e,t,n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new fn(a.outlet.component,s))}else s&&ir(t,a,o),o.canActivateChecks.push(new Zo(r)),i.component?tr(e,null,a?a.children:null,r,o):tr(e,null,n,r,o);return o}function dD(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!xt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!xt(e.url,t.url)||!je(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wa(e,t)||!je(e.queryParams,t.queryParams);case"paramsChange":default:return!Wa(e,t)}}function ir(e,t,n){let r=ln(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?ir(s,t.children.getContext(i),n):ir(s,null,n):ir(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new fn(t.outlet.component,o)):n.canDeactivateChecks.push(new fn(null,o)):n.canDeactivateChecks.push(new fn(null,o))}function mr(e){return typeof e=="function"}function fD(e){return typeof e=="boolean"}function hD(e){return e&&mr(e.canLoad)}function pD(e){return e&&mr(e.canActivate)}function gD(e){return e&&mr(e.canActivateChild)}function mD(e){return e&&mr(e.canDeactivate)}function vD(e){return e&&mr(e.canMatch)}function _f(e){return e instanceof Ue||e?.name==="EmptyError"}var Lo=Symbol("INITIAL_VALUE");function gn(){return Ee(e=>Fr(e.map(t=>t.pipe(He(1),yi(Lo)))).pipe(_(t=>{for(let n of t)if(n!==!0){if(n===Lo)return Lo;if(n===!1||n instanceof at)return n}return!0}),Ie(t=>t!==Lo),He(1)))}function yD(e,t){return q(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?D(B(g({},n),{guardsResult:!0})):DD(s,r,o,e).pipe(q(a=>a&&fD(a)?wD(r,i,e,t):D(a)),_(a=>B(g({},n),{guardsResult:a})))})}function DD(e,t,n,r){return U(e).pipe(q(o=>MD(o.component,o.route,n,t,r)),Re(o=>o!==!0,!0))}function wD(e,t,n,r){return U(t).pipe(Ut(o=>Bt(ID(o.route.parent,r),CD(o.route,r),bD(e,o.path,n),ED(e,o.route,n))),Re(o=>o!==!0,!0))}function CD(e,t){return e!==null&&t&&t(new Ua(e)),D(!0)}function ID(e,t){return e!==null&&t&&t(new $a(e)),D(!0)}function ED(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return D(!0);let o=r.map(i=>kr(()=>{let s=gr(t)??n,a=mn(i,s),u=pD(a)?a.canActivate(t,e):Et(s,()=>a(t,e));return lt(u).pipe(Re())}));return D(o).pipe(gn())}function bD(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>cD(s)).filter(s=>s!==null).map(s=>kr(()=>{let a=s.guards.map(u=>{let c=gr(s.node)??n,l=mn(u,c),d=gD(l)?l.canActivateChild(r,e):Et(c,()=>l(r,e));return lt(d).pipe(Re())});return D(a).pipe(gn())}));return D(i).pipe(gn())}function MD(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return D(!0);let s=i.map(a=>{let u=gr(t)??o,c=mn(a,u),l=mD(c)?c.canDeactivate(e,t,n,r):Et(u,()=>c(e,t,n,r));return lt(l).pipe(Re())});return D(s).pipe(gn())}function SD(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return D(!0);let i=o.map(s=>{let a=mn(s,e),u=hD(a)?a.canLoad(t,n):Et(e,()=>a(t,n));return lt(u)});return D(i).pipe(gn(),Af(r))}function Af(e){return li(Y(t=>{if(pn(t))throw Sf(e,t)}),_(t=>t===!0))}function xD(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return D(!0);let i=o.map(s=>{let a=mn(s,e),u=vD(a)?a.canMatch(t,n):Et(e,()=>a(t,n));return lt(u)});return D(i).pipe(gn(),Af(r))}var hr=class{constructor(t){this.segmentGroup=t||null}},Yo=class extends Error{constructor(t){super(),this.urlTree=t}};function cn(e){return Vt(new hr(e))}function TD(e){return Vt(new y(4e3,!1))}function _D(e){return Vt(xf(!1,de.GuardRejected))}var Qa=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return D(r);if(o.numberOfChildren>1||!o.children[E])return TD(t.redirectTo);o=o.children[E]}}applyRedirectCommands(t,n,r){let o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new Yo(o);return o}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new at(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new O(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},Ka={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function AD(e,t,n,r,o){let i=au(e,t,n);return i.matched?(r=iD(t,r),xD(r,t,n,o).pipe(_(s=>s===!0?i:g({},Ka)))):D(i)}function au(e,t,n){if(t.path==="**")return ND(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?g({},Ka):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||xy)(n,e,t);if(!o)return g({},Ka);let i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ND(e){return{matched:!0,parameters:e.length>0?cf(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function af(e,t,n,r){return n.length>0&&PD(e,n,r)?{segmentGroup:new O(t,OD(r,new O(n,e.children))),slicedSegments:[]}:n.length===0&&FD(e,n,r)?{segmentGroup:new O(e.segments,RD(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new O(e.segments,e.children),slicedSegments:n}}function RD(e,t,n,r){let o={};for(let i of n)if(Ko(e,t,i)&&!r[Ve(i)]){let s=new O([],{});o[Ve(i)]=s}return g(g({},r),o)}function OD(e,t){let n={};n[E]=t;for(let r of e)if(r.path===""&&Ve(r)!==E){let o=new O([],{});n[Ve(r)]=o}return n}function PD(e,t,n){return n.some(r=>Ko(e,t,r)&&Ve(r)!==E)}function FD(e,t,n){return n.some(r=>Ko(e,t,r))}function Ko(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function kD(e,t,n,r){return Ve(e)!==r&&(r===E||!Ko(t,n,e))?!1:au(t,e,n).matched}function LD(e,t,n){return t.length===0&&!e.children[n]}var Ja=class{};function jD(e,t,n,r,o,i,s="emptyOnly"){return new Xa(e,t,n,r,o,s,i).recognize()}var VD=31,Xa=class{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Qa(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new y(4002,`'${t.segmentGroup}'`)}recognize(){let t=af(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(_(n=>{let r=new dr([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},E,this.rootComponentType,null,{}),o=new le(r,n),i=new Wo("",o),s=Gy(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,E).pipe(Xe(r=>{if(r instanceof Yo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof hr?this.noMatchError(r):r}))}inheritParamsAndData(t,n){let r=t.value,o=nu(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(_(i=>i instanceof le?[i]:[]))}processChildren(t,n,r){let o=[];for(let i of Object.keys(r.children))i==="primary"?o.unshift(i):o.push(i);return U(o).pipe(Ut(i=>{let s=r.children[i],a=sD(n,i);return this.processSegmentGroup(t,a,s,i)}),vi((i,s)=>(i.push(...s),i)),et(null),mi(),q(i=>{if(i===null)return cn(r);let s=Nf(i);return $D(s),D(s)}))}processSegment(t,n,r,o,i,s){return U(n).pipe(Ut(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(Xe(u=>{if(u instanceof hr)return D(null);throw u}))),Re(a=>!!a),Xe(a=>{if(_f(a))return LD(r,o,i)?D(new Ja):cn(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return kD(r,o,i,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):cn(o):cn(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=au(n,o,i);if(!a)return cn(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>VD&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe(q(f=>this.processSegment(t,r,n,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){let s=AD(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),s.pipe(Ee(a=>a.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(Ee(({routes:u})=>{let c=r._loadedInjector??t,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new dr(l,f,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,UD(r),Ve(r),r.component??r._loadedComponent??null,r,HD(r)),{segmentGroup:v,slicedSegments:b}=af(n,l,d,u);if(b.length===0&&v.hasChildren())return this.processChildren(c,u,v).pipe(_(P=>P===null?null:new le(h,P)));if(u.length===0&&b.length===0)return D(new le(h,[]));let $=Ve(r)===i;return this.processSegment(c,u,v,b,$?E:i,!0).pipe(_(P=>new le(h,P instanceof le?[P]:[])))}))):cn(n)))}getChildConfig(t,n,r){return n.children?D({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?D({routes:n._loadedRoutes,injector:n._loadedInjector}):SD(t,n,r,this.urlSerializer).pipe(q(o=>o?this.configLoader.loadChildren(t,n).pipe(Y(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):_D(n))):D({routes:[],injector:t})}};function $D(e){e.sort((t,n)=>t.value.outlet===E?-1:n.value.outlet===E?1:t.value.outlet.localeCompare(n.value.outlet))}function BD(e){let t=e.value.routeConfig;return t&&t.path===""}function Nf(e){let t=[],n=new Set;for(let r of e){if(!BD(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=Nf(r.children);t.push(new le(r.value,o))}return t.filter(r=>!n.has(r))}function UD(e){return e.data||{}}function HD(e){return e.resolve||{}}function zD(e,t,n,r,o,i){return q(s=>jD(e,t,n,r,s.extractedUrl,o,i).pipe(_(({state:a,tree:u})=>B(g({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function qD(e,t){return q(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return D(n);let i=new Set(o.map(u=>u.route)),s=new Set;for(let u of i)if(!s.has(u))for(let c of Rf(u))s.add(c);let a=0;return U(s).pipe(Ut(u=>i.has(u)?GD(u,r,e,t):(u.data=nu(u,u.parent,e).resolve,D(void 0))),Y(()=>a++),Ht(1),q(u=>a===s.size?D(n):oe))})}function Rf(e){let t=e.children.map(n=>Rf(n)).flat();return[e,...t]}function GD(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!bf(o)&&(i[pr]=o.title),WD(i,e,t,r).pipe(_(s=>(e._resolvedData=s,e.data=nu(e,e.parent,n).resolve,null)))}function WD(e,t,n,r){let o=_a(e);if(o.length===0)return D({});let i={};return U(o).pipe(q(s=>ZD(e[s],t,n,r).pipe(Re(),Y(a=>{i[s]=a}))),Ht(1),gi(i),Xe(s=>_f(s)?oe:Vt(s)))}function ZD(e,t,n,r){let o=gr(t)??r,i=mn(e,o),s=i.resolve?i.resolve(t,n):Et(o,()=>i(t,n));return lt(s)}function xa(e){return Ee(t=>{let n=e(t);return n?U(n).pipe(_(()=>t)):D(t)})}var Of=(()=>{let t=class t{buildTitle(r){let o,i=r.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===E);return o}getResolvedTitleForRoute(r){return r.data[pr]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(YD),providedIn:"root"});let e=t;return e})(),YD=(()=>{let t=class t extends Of{constructor(r){super(),this.title=r}updateTitle(r){let o=this.buildTitle(r);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(S(tf))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),uu=new A("",{providedIn:"root",factory:()=>({})}),cu=new A(""),QD=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(fa)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return D(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=lt(r.loadComponent()).pipe(_(Pf),Y(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Dn(()=>{this.componentLoaders.delete(r)})),i=new jt(o,()=>new J).pipe(Lt());return this.componentLoaders.set(r,i),i}loadChildren(r,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return D({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=KD(o,this.compiler,r,this.onLoadEndListener).pipe(Dn(()=>{this.childrenLoaders.delete(o)})),a=new jt(s,()=>new J).pipe(Lt());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function KD(e,t,n,r){return lt(e.loadChildren()).pipe(_(Pf),q(o=>o instanceof Pn||Array.isArray(o)?D(o):U(t.compileModuleAsync(o))),_(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(cu,[],{optional:!0,self:!0}).flat()),{routes:s.map(su),injector:i}}))}function JD(e){return e&&typeof e=="object"&&"default"in e}function Pf(e){return JD(e)?e.default:e}var lu=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(XD),providedIn:"root"});let e=t;return e})(),XD=(()=>{let t=class t{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,o){return r}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ew=new A("");var tw=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new J,this.transitionAbortSubject=new J,this.configLoader=p(QD),this.environmentInjector=p(pe),this.urlSerializer=p(tu),this.rootContexts=p(Qo),this.location=p(Qn),this.inputBindingEnabled=p(iu,{optional:!0})!==null,this.titleStrategy=p(Of),this.options=p(uu,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(lu),this.createViewTransition=p(ew,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>D(void 0),this.rootComponentType=null;let r=i=>this.events.next(new ja(i)),o=i=>this.events.next(new Va(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let o=++this.navigationId;this.transitions?.next(B(g(g({},this.transitions.value),r),{id:o}))}setupNavigations(r,o,i){return this.transitions=new Z({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:or,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ie(s=>s.id!==0),_(s=>B(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ee(s=>{let a=!1,u=!1;return D(s).pipe(Ee(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",de.SupersededByNewNavigation),oe;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?B(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Tt(c.id,this.urlSerializer.serialize(c.rawUrl),f,Oa.IgnoredSameUrlNavigation)),c.resolve(null),oe}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return D(c).pipe(Ee(f=>{let h=this.transitions?.getValue();return this.events.next(new ar(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?oe:Promise.resolve(f)}),zD(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),Y(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=B(g({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new zo(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:v,restoredState:b,extras:$}=c,P=new ar(f,this.urlSerializer.serialize(h),v,b);this.events.next(P);let $e=If(this.rootComponentType).snapshot;return this.currentTransition=s=B(g({},c),{targetSnapshot:$e,urlAfterRedirects:h,extras:B(g({},$),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,D(s)}else{let f="";return this.events.next(new Tt(c.id,this.urlSerializer.serialize(c.extractedUrl),f,Oa.IgnoredByUrlHandlingStrategy)),c.resolve(null),oe}}),Y(c=>{let l=new Pa(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),_(c=>(this.currentTransition=s=B(g({},c),{guards:uD(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),yD(this.environmentInjector,c=>this.events.next(c)),Y(c=>{if(s.guardsResult=c.guardsResult,pn(c.guardsResult))throw Sf(this.urlSerializer,c.guardsResult);let l=new Fa(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),Ie(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",de.GuardRejected),!1)),xa(c=>{if(c.guards.canActivateChecks.length)return D(c).pipe(Y(l=>{let d=new ka(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Ee(l=>{let d=!1;return D(l).pipe(qD(this.paramsInheritanceStrategy,this.environmentInjector),Y({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",de.NoDataFromResolver)}}))}),Y(l=>{let d=new La(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),xa(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(Y(h=>{d.component=h}),_(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Fr(l(c.targetSnapshot.root)).pipe(et(null),He(1))}),xa(()=>this.afterPreactivation()),Ee(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?U(d).pipe(_(()=>s)):D(s)}),_(c=>{let l=eD(r.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=B(g({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),Y(()=>{this.events.next(new cr)}),aD(this.rootContexts,r.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),He(1),Y({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ke(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Di(this.transitionAbortSubject.pipe(Y(c=>{throw c}))),Dn(()=>{!a&&!u&&this.cancelNavigationTransition(s,"",de.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Xe(c=>{if(u=!0,Tf(c))this.events.next(new ut(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),rD(c)?this.events.next(new lr(c.url)):s.resolve(!1);else{this.events.next(new ur(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(r.errorHandler(c))}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return oe}))}))}cancelNavigationTransition(r,o,i){let s=new ut(r.id,this.urlSerializer.serialize(r.extractedUrl),o,i);this.events.next(s),r.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}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function nw(e){return e!==or}var rw=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(ow),providedIn:"root"});let e=t;return e})(),eu=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},ow=(()=>{let t=class t extends eu{};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=$s(t)))(i||t)}})(),t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ff=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(iw),providedIn:"root"});let e=t;return e})(),iw=(()=>{let t=class t extends Ff{constructor(){super(...arguments),this.location=p(Qn),this.urlSerializer=p(tu),this.options=p(uu,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(lu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new at,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=If(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(r){return this.location.subscribe(o=>{o.type==="popstate"&&r(o.url,o.state)})}handleRouterEvent(r,o){if(r instanceof ar)this.stateMemento=this.createStateMemento();else if(r instanceof Tt)this.rawUrlTree=o.initialUrl;else if(r instanceof zo){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else r instanceof cr?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):r instanceof ut&&(r.code===de.GuardRejected||r.code===de.NoDataFromResolver)?this.restoreHistory(o):r instanceof ur?this.restoreHistory(o,!0):r instanceof Ke&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,o){let i=this.urlSerializer.serialize(r);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=g(g({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=g(g({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(r,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===r.finalUrl&&s===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,o){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:o}:{navigationId:r}}};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=$s(t)))(i||t)}})(),t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),nr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(nr||{});function sw(e,t){e.events.pipe(Ie(n=>n instanceof Ke||n instanceof ut||n instanceof ur||n instanceof Tt),_(n=>n instanceof Ke||n instanceof Tt?nr.COMPLETE:(n instanceof ut?n.code===de.Redirect||n.code===de.SupersededByNewNavigation:!1)?nr.REDIRECTING:nr.FAILED),Ie(n=>n!==nr.REDIRECTING),He(1)).subscribe(()=>{t()})}function aw(e){throw e}var uw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},cw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Jo=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(No),this.stateManager=p(Ff),this.options=p(uu,{optional:!0})||{},this.pendingTasks=p(_o),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(tw),this.urlSerializer=p(tu),this.location=p(Qn),this.urlHandlingStrategy=p(lu),this._events=new J,this.errorHandler=this.options.errorHandler||aw,this.navigated=!1,this.routeReuseStrategy=p(rw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(cu,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(iu,{optional:!0}),this.eventsSubscription=new z,this.isNgZoneEnabled=p(H)instanceof H&&H.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof ut&&o.code!==de.Redirect&&o.code!==de.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Ke)this.navigated=!0;else if(o instanceof lr){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||nw(i.source)};this.scheduleNavigation(a,or,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}dw(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),or,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",o)},0)})}navigateToSyncWithBrowser(r,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let c=g({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(r);this.scheduleNavigation(u,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(su),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(r,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:c}=o,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=g(g({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=yf(h)}catch{(typeof r[0]!="string"||!r[0].startsWith("/"))&&(r=[]),f=this.currentUrlTree.root}return Df(f,r,d,l??null)}navigateByUrl(r,o={skipLocationChange:!1}){let i=pn(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,or,null,o)}navigate(r,o={skipLocationChange:!1}){return lw(r),this.navigateByUrl(this.createUrlTree(r,o),o)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,o){let i;if(o===!0?i=g({},uw):o===!1?i=g({},cw):i=o,pn(r))return nf(this.currentUrlTree,r,i);let s=this.parseUrl(r);return nf(this.currentUrlTree,s,i)}removeEmptyProps(r){return Object.entries(r).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(r,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return sw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function lw(e){for(let t=0;t{let t=class t{constructor(r,o,i,s,a,u){this.router=r,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new J,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=r.events.subscribe(l=>{l instanceof Ke&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(r){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",r)}ngOnChanges(r){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(r){r!=null?(this.commands=Array.isArray(r)?r:[r],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(r,o,i,s,a){let u=this.urlTree;if(u===null||this.isAnchorElement&&(r!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let r=this.urlTree;this.href=r!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(r)):null;let o=this.href===null?null:Hl(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(r,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,r,o):i.removeAttribute(s,r)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(o){return new(o||t)(ce(Jo),ce(_t),Bs("tabindex"),ce(Un),ce(Ye),ce(st))},t.\u0275dir=Fn({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&la("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&ca("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Se.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Yn],skipLocationChange:[Se.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Yn],replaceUrl:[Se.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Yn],routerLink:"routerLink"},standalone:!0,features:[sa,tn]});let e=t;return e})(),Xo=(()=>{let t=class t{get isActive(){return this._isActive}constructor(r,o,i,s,a){this.router=r,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ie,this.routerEventsSubscription=r.events.subscribe(u=>{u instanceof Ke&&this.update()})}ngAfterContentInit(){D(this.links.changes,D(null)).pipe($t()).subscribe(r=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let r=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=U(r).pipe($t()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(r){let o=Array.isArray(r)?r:r.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(r){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let r=this.hasActiveLinks();this.classes.forEach(o=>{r?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),r&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==r&&(this._isActive=r,this.cdr.markForCheck(),this.isActiveChange.emit(r))})}isLinkActive(r){let o=fw(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?r.isActive(s,o):!1}}hasActiveLinks(){let r=this.isLinkActive(this.router);return this.link&&r(this.link)||this.links.some(r)}};t.\u0275fac=function(o){return new(o||t)(ce(Jo),ce(Ye),ce(Un),ce(an),ce(ct,8))},t.\u0275dir=Fn({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&Md(s,ct,5),o&2){let a;Sd(a=xd())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[tn]});let e=t;return e})();function fw(e){return!!e.paths}var hw=new A("");function kf(e,...t){return ho([{provide:cu,multi:!0,useValue:e},[],{provide:_t,useFactory:pw,deps:[Jo]},{provide:da,multi:!0,useFactory:mw},t.map(n=>n.\u0275providers)])}function pw(e){return e.routerState.root}function gw(e,t){return{\u0275kind:e,\u0275providers:t}}function mw(){let e=p($n);return t=>{let n=e.get(Zn);if(t!==n.components[0])return;let r=e.get(Jo),o=e.get(vw);e.get(yw)===1&&r.initialNavigation(),e.get(Dw,null,M.Optional)?.setUpPreloading(),e.get(hw,null,M.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var vw=new A("",{factory:()=>new J}),yw=new A("",{providedIn:"root",factory:()=>1});var Dw=new A("");function Lf(){return gw(6,[{provide:st,useClass:zd}])}function ww(e,t){if(e&1&&(k(0,"div",6)(1,"h2",7),W(2),V(),k(3,"p",8),W(4),V(),k(5,"a",9),W(6,"Demo "),nn(),k(7,"svg",10),Ne(8,"path",11),V()()()),e&2){let n=t.$implicit;Ae(2),Mt(n.name),Ae(2),Mt(n.description),Ae(),Hn("href",n.url,Bn)}}var jf=(()=>{let t=class t{constructor(){this.items=[{name:"Hugo",description:"Welcome to Hugo's World! This website showcases the versatility and power of Hugo, a modern open-source static site generator. With Hugo, we've built a comprehensive platform for exploring the world of web development, featuring tutorials, documentation, and resources for developers of all levels. Dive in to learn how to create your own stunning website with Hugo!",url:"https://djvelimir.github.io/blog/"},{name:"Angular",description:"Welcome to our Angular App! This demo showcases the power of Angular's Routing module. With just a few lines of code, we've created a robust and scalable application that navigates between multiple pages. Explore our app and see how easily you can switch between different routes, each with its own unique component and functionality. Whether you're building a simple web page or a complex enterprise application, Angular's Routing module is the perfect tool to get you started.",url:"https://djvelimir.github.io/demo-spa-angular/"},{name:"Vue",description:"Get started with Vue.js routing by exploring our example app! This interactive demo showcases a simple todo list application that utilizes Vue Router to manage client-side routing. Browse through the app's features, including dynamic routing, parameter passing, and navigation between components. Learn how Vue Router enables seamless navigation and enhances your application's overall user experience.",url:"https://djvelimir.github.io/demo-spa-vue/"},{name:"React",description:"Get started with React and routing in our comprehensive example app. Explore a simple but fully functional React app that utilizes the popular React Router library to manage client-side routing. This example app demonstrates how to set up routes and navigate between pages. Whether you're new to React or just looking to improve your skills, this example app is a great resource for learning how to add robust routing to your React projects.",url:"https://djvelimir.github.io/demo-spa-react/"},{name:"Vite + React",description:"Get started with a powerful React app using TypeScript, Vite, and React Router. This example showcases a fully-fledged React application built with TypeScript for robust type checking and Vite for fast development and zero-config setup. With React Router, navigate through a seamless user interface with easy-to-use routing features. Explore the code and learn how to leverage these popular technologies to build your next-generation web application.",url:"https://djvelimir.github.io/demo-spa-react-vite/"}]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["app-home"]],standalone:!0,features:[ve],decls:10,vars:0,consts:[[1,"text-gray-400","body-font","bg-gray-900"],[1,"container","px-5","py-24","mx-auto"],[1,"flex","flex-col","text-center","w-full","mb-20"],[1,"sm:text-3xl","text-2xl","font-medium","title-font","mb-4","text-white"],[1,"lg:w-2/3","mx-auto","leading-relaxed","text-base"],[1,"flex","flex-wrap"],[1,"xl:w-1/4","lg:w-1/2","md:w-full","px-8","py-6","border-l-2","border-gray-800"],[1,"text-lg","sm:text-xl","text-white","font-medium","title-font","mb-2"],[1,"leading-relaxed","text-base","mb-4"],[1,"text-green-400","inline-flex","items-center",3,"href"],["fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","ml-2"],["d","M5 12h14M12 5l7 7-7 7"]],template:function(o,i){o&1&&(k(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),W(4,"Home"),V(),k(5,"p",4),W(6,"On this homepage, I invite you to take a journey through my digital portfolio, where you'll discover a curated selection of my most impressive projects, each one telling a story of creativity, perseverance, and dedication to excellence. From sleek and intuitive user interfaces to robust and scalable backend architectures, every project is a testament to my ability to bring ideas to life. So, sit back, grab a cup of coffee, and let's dive into the world of code, where creativity meets logic and innovation knows no bounds. Welcome to my digital playground!"),V()(),k(7,"div",5),qn(8,ww,9,3,"div",6,zn),V()()()),o&2&&(Ae(8),Gn(i.items))}});let e=t;return e})();var Vf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["app-page-not-found"]],standalone:!0,features:[ve],decls:7,vars:0,consts:[[1,"h-screen","w-full","flex","flex-col","justify-center","items-center","bg-[#1A2238]"],[1,"text-9xl","font-extrabold","text-white","tracking-widest"],[1,"bg-green-500","text-white","px-2","text-sm","rounded","rotate-12","absolute"],["ariaCurrentWhenActive","page","routerLinkActive","active","routerLink","/home",1,"mt-10","flex","mx-auto","text-white","bg-green-500","border-0","py-2","px-8","focus:outline-none","hover:bg-green-600","rounded","text-lg"]],template:function(o,i){o&1&&(k(0,"main",0)(1,"h1",1),W(2,"404"),V(),k(3,"div",2),W(4," Page Not Found "),V(),k(5,"button",3),W(6,"Go Home"),V()())},dependencies:[ct,Xo]});let e=t;return e})();var $f=[{path:"home",title:"Home",component:jf},{path:"",redirectTo:"/home",pathMatch:"full"},{path:"**",title:"Page Not Found",component:Vf}];var Bf={providers:[kf($f,Lf())]};var Uf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["app-navbar"]],standalone:!0,features:[ve],decls:10,vars:0,consts:[[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","mx-auto","flex","flex-wrap","p-5","flex-col","md:flex-row","items-center"],["ariaCurrentWhenActive","page","routerLink","/home",1,"flex","title-font","font-medium","items-center","text-white","mb-4","md:mb-0"],["xmlns","http://www.w3.org/2000/svg","fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-10","h-10","text-white","p-2","bg-green-500","rounded-full"],["d","M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"],[1,"ml-3","text-xl"],[1,"md:ml-auto","flex","flex-wrap","items-center","text-base","justify-center"],["ariaCurrentWhenActive","page","routerLinkActive","active","routerLink","/home",1,"mr-5","hover:text-white"]],template:function(o,i){o&1&&(k(0,"header",0)(1,"div",1)(2,"a",2),nn(),k(3,"svg",3),Ne(4,"path",4),V(),Do(),k(5,"span",5),W(6,"djvelimir.github.io"),V()(),k(7,"nav",6)(8,"a",7),W(9,"Home"),V()()()())},dependencies:[ct,Xo],styles:[".active[_ngcontent-%COMP%]{border-bottom:2px solid rgb(34 197 94/var(--tw-bg-opacity));transform:scale(1.1);transition:border-bottom .3s ease,color .3s ease,transform .3s ease}"]});let e=t;return e})();function Cw(e,t){if(e&1&&(k(0,"li")(1,"a",14),W(2),V()()),e&2){let n=t.$implicit;Ae(),Hn("href",n.url,Bn),Ae(),Mt(n.name)}}function Iw(e,t){if(e&1&&(k(0,"div",8)(1,"h2",12),W(2),V(),k(3,"nav",13)(4,"ul"),qn(5,Cw,3,2,"li",null,zn),V()()()),e&2){let n=t.$implicit;Ae(2),Mt(n.name),Ae(3),Gn(n.items)}}var Hf=(()=>{let t=class t{constructor(){this.categories=[{name:"Frontend",items:[{name:"Hugo",url:"https://github.com/djvelimir/blog"},{name:"Angular",url:"https://github.com/djvelimir/demo-spa-angular"},{name:"Vue",url:"https://github.com/djvelimir/demo-spa-vue"},{name:"React",url:"https://github.com/djvelimir/demo-spa-react"},{name:"Vite + React",url:"https://github.com/djvelimir/demo-spa-react-vite"}]},{name:"Java & Kotlin",items:[{name:"Java - CLI",url:"https://github.com/djvelimir/demo-java-cli"},{name:"Java - Swing",url:"https://github.com/djvelimir/demo-java-swing"},{name:"Java - FX",url:"https://github.com/djvelimir/demo-java-fx"},{name:"Java - Spring Boot",url:"https://github.com/djvelimir/demo-java-spring-boot"},{name:"Kotlin - CLI",url:"https://github.com/djvelimir/demo-kotlin-cli"}]},{name:".NET",items:[{name:"C# .NET - CLI",url:"https://github.com/djvelimir/demo-dotnet-cli"},{name:"C# .NET - Benchmark",url:"https://github.com/djvelimir/demo-dotnet-benchmark"},{name:"C# .NET - WebApi",url:"https://github.com/djvelimir/demo-dotnet-web-api"}]},{name:"Mobile",items:[{name:"Android",url:"https://github.com/djvelimir/demo-mobile-android"},{name:"iOS",url:"https://github.com/djvelimir/demo-mobile-ios"}]},{name:"Misc",items:[{name:"C++ - CLI",url:"https://github.com/djvelimir/demo-cpp-cli"},{name:"Rust",url:"https://github.com/djvelimir/demo-rust"},{name:"Go (Golang)",url:"https://github.com/djvelimir/demo-go"},{name:"Python - CLI",url:"https://github.com/djvelimir/demo-python-cli"},{name:"Node.js",url:"https://github.com/djvelimir/demo-node"}]}]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["app-footer"]],standalone:!0,features:[ve],decls:15,vars:0,consts:[[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","px-5","py-24","mx-auto","flex","md:items-center","lg:items-start","md:flex-row","md:flex-nowrap","flex-wrap","flex-col"],[1,"w-64","flex-shrink-0","md:mx-0","mx-auto","text-center","md:text-left"],["ariaCurrentWhenActive","page","routerLink","/home",1,"flex","title-font","font-medium","items-center","md:justify-start","justify-center","text-white"],["xmlns","http://www.w3.org/2000/svg","fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-10","h-10","text-white","p-2","bg-green-500","rounded-full"],["d","M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"],[1,"ml-3","text-xl"],[1,"flex-grow","flex","flex-wrap","md:pl-20","-mb-10","md:mt-0","mt-10","md:text-left","text-center"],[1,"lg:w-1/4","md:w-1/2","w-full","px-4"],[1,"bg-gray-800","bg-opacity-75"],[1,"container","mx-auto","py-4","px-5","flex","flex-wrap","flex-col","sm:flex-row"],[1,"text-gray-400","text-sm","text-center","sm:text-left"],[1,"title-font","font-medium","text-white","tracking-widest","text-sm","mb-3"],[1,"list-none","mb-10"],[1,"text-gray-400","hover:text-white",3,"href"]],template:function(o,i){o&1&&(k(0,"footer",0)(1,"div",1)(2,"div",2)(3,"a",3),nn(),k(4,"svg",4),Ne(5,"path",5),V(),Do(),k(6,"span",6),W(7,"djvelimir.github.io"),V()()(),k(8,"div",7),qn(9,Iw,7,1,"div",8,zn),V()(),k(11,"div",9)(12,"div",10)(13,"p",11),W(14,"\xA9 2024 djvelimir.github.io"),V()()()()),o&2&&(Ae(9),Gn(i.categories))},dependencies:[ct]});let e=t;return e})();var zf=(()=>{let t=class t{constructor(){this.title="djvelimir.github.io"}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["app-root"]],standalone:!0,features:[ve],decls:3,vars:0,template:function(o,i){o&1&&Ne(0,"app-navbar")(1,"router-outlet")(2,"app-footer")},dependencies:[ou,Uf,Hf]});let e=t;return e})();ef(zf,Bf).catch(e=>console.error(e)); + `)}`}function Yt(e,t){let n=e.hasOwnProperty(qr);return n?e[qr]:null}function Hh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Es(n,t):t(n))}function Vc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var In={},Qt=[],Kt=new A(""),$c=new A("",-1),Bc=new A(""),Zr=class{get(t,n=Cn){if(n===Cn){let r=new Error(`NullInjectorError: No provider for ${se(t)}!`);throw r.name="NullInjectorError",r}return n}},Uc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Uc||{}),Fe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Fe||{}),Se=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Se||{});function qh(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Oi(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function Qh(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!be(s)&&(t+=tc(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=tc(i,o)),t}function tp(e){return e.map(ep).join(",")}function np(e){let t=[],n=[],r=1,o=2;for(;r{let t=Yc(e),n=B(g({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Uc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Fe.Emulated,styles:e.styles||Qt,_:null,schemas:e.schemas||null,tView:null,id:""});Qc(n);let r=e.dependencies;return n.directiveDefs=rc(r,!1),n.pipeDefs=rc(r,!0),n.id=ip(n),n})}function rp(e){return vt(e)||qc(e)}function op(e){return e!==null}function nc(e,t){if(e==null)return In;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Se.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Se.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Fn(e){return Cs(()=>{let t=Yc(e);return Qc(t),t})}function vt(e){return e[xh]||null}function qc(e){return e[Th]||null}function Gc(e){return e[_h]||null}function Wc(e){let t=vt(e)||qc(e)||Gc(e);return t!==null?t.standalone:!1}function Zc(e,t){let n=e[Ah]||null;if(!n&&t===!0)throw new Error(`Type ${se(e)} does not have '\u0275mod' property.`);return n}function Yc(e){let 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||In,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Qt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:nc(e.inputs,t),outputs:nc(e.outputs),debugInfo:null}}function Qc(e){e.features?.forEach(t=>t(e))}function rc(e,t){if(!e)return null;let n=t?Gc:rp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(op)}function ip(e){let t=0,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(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ho(e){return{\u0275providers:e}}function sp(...e){return{\u0275providers:Kc(!0,e),\u0275fromNgModule:!0}}function Kc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Es(t,s=>{let a=s;Pi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Jc(o,i),n}function Jc(e,t){for(let n=0;n{t(i,r)})}}function Pi(e,t,n,r){if(e=he(e),!e)return!1;let o=null,i=Qu(e),s=!i&&vt(e);if(!i&&!s){let u=e.ngModule;if(i=Qu(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Pi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Es(i.imports,l=>{Pi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Jc(c,t)}if(!a){let c=Yt(o)||(()=>new o);t({provide:o,useFactory:c,deps:Qt},o),t({provide:Bc,useValue:o,multi:!0},o),t({provide:Kt,useValue:()=>S(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Ss(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Ss(e,t){for(let n of e)kc(n)&&(n=n.\u0275providers),Array.isArray(n)?Ss(n,t):t(n)}var ap=L({provide:String,useValue:L});function Xc(e){return e!==null&&typeof e=="object"&&ap in e}function up(e){return!!(e&&e.useExisting)}function cp(e){return!!(e&&e.useFactory)}function Fi(e){return typeof e=="function"}var po=new A(""),Vr={},lp={},wi;function xs(){return wi===void 0&&(wi=new Zr),wi}var pe=class{},En=class extends pe{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,Li(t,s=>this.processProvider(s)),this.records.set($c,zt(void 0,this)),o.has("environment")&&this.records.set(pe,zt(void 0,this));let i=this.records.get(po);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bc,Qt,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=N(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),N(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=tt(this),r=fe(void 0),o;try{return t()}finally{tt(n),fe(r)}}get(t,n=Cn,r=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ju))return t[Ju](this);r=fo(r);let o,i=tt(this),s=fe(void 0);try{if(!(r&M.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=mp(t)&&co(t);c&&this.injectableDefInScope(c)?u=zt(ki(t),Vr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&M.Self?xs():this.parent;return n=r&M.Optional&&n===Cn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Gr]=a[Gr]||[]).unshift(se(t)),i)throw a;return Bh(a,t,"R3InjectorError",this.source)}else throw a}finally{fe(s),tt(i)}}resolveInjectorInitializers(){let t=N(null),n=tt(this),r=fe(void 0),o;try{let i=this.get(Kt,Qt,M.Self);for(let s of i)s()}finally{tt(n),fe(r),N(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(se(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(t){t=he(t);let n=Fi(t)?t:he(t&&t.provide),r=fp(t);if(!Fi(t)&&t.multi===!0){let o=this.records.get(n);o||(o=zt(void 0,Vr,!0),o.factory=()=>Ri(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=N(null);try{return n.value===Vr&&(n.value=lp,n.value=n.factory()),typeof n.value=="object"&&n.value&&gp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{N(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=he(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ki(e){let t=co(e),n=t!==null?t.factory:Yt(e);if(n!==null)return n;if(e instanceof A)throw new y(204,!1);if(e instanceof Function)return dp(e);throw new y(204,!1)}function dp(e){if(e.length>0)throw new y(204,!1);let n=Mh(e);return n!==null?()=>n.factory(e):()=>new e}function fp(e){if(Xc(e))return zt(void 0,e.useValue);{let t=hp(e);return zt(t,Vr)}}function hp(e,t,n){let r;if(Fi(e)){let o=he(e);return Yt(o)||ki(o)}else if(Xc(e))r=()=>he(e.useValue);else if(cp(e))r=()=>e.useFactory(...Ri(e.deps||[]));else if(up(e))r=()=>S(he(e.useExisting));else{let o=he(e&&(e.useClass||e.provide));if(pp(e))r=()=>new o(...Ri(e.deps));else return Yt(o)||ki(o)}return r}function zt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function pp(e){return!!e.deps}function gp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function mp(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function Li(e,t){for(let n of e)Array.isArray(n)?Li(n,t):n&&kc(n)?Li(n.\u0275providers,t):t(n)}function Et(e,t){e instanceof En&&e.assertNotDestroyed();let n,r=tt(e),o=fe(void 0);try{return t()}finally{tt(r),fe(o)}}function vp(){return Lc()!==void 0||jh()!=null}function yp(e){return typeof e=="function"}var We=0,I=1,m=2,Q=3,Me=4,_e=5,bn=6,Mn=7,ae=8,Jt=9,xe=10,ee=11,Sn=12,oc=13,kn=14,Te=15,Ln=16,qt=17,ze=18,go=19,el=20,nt=21,Ci=22,yt=23,qe=25,tl=1;var Dt=7,Yr=8,Xt=9,X=10,Ts=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ts||{});function gt(e){return Array.isArray(e)&&typeof e[tl]=="object"}function Ze(e){return Array.isArray(e)&&e[tl]===!0}function nl(e){return(e.flags&4)!==0}function mo(e){return e.componentOffset>-1}function _s(e){return(e.flags&1)===1}function jn(e){return!!e.template}function Dp(e){return(e[m]&512)!==0}var ji=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function rl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function tn(){return ol}function ol(e){return e.type.prototype.ngOnChanges&&(e.setInput=Cp),wp}tn.ngInherit=!0;function wp(){let e=sl(this),t=e?.current;if(t){let n=e.previous;if(n===In)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Cp(e,t,n,r,o){let i=this.declaredInputs[r],s=sl(e)||Ip(e,{previous:In,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new ji(c&&c.currentValue,n,u===In),rl(e,t,o,n)}var il="__ngSimpleChanges__";function sl(e){return e[il]||null}function Ip(e,t){return e[il]=t}var ic=null;var Oe=function(e,t,n){ic?.(e,t,n)},al="svg",Ep="math",bp=!1;function Mp(){return bp}function ke(e){for(;Array.isArray(e);)e=e[We];return e}function Sp(e,t){return ke(t[e])}function me(e,t){return ke(t[e.index])}function As(e,t){return e.data[t]}function ot(e,t){let n=t[e];return gt(n)?n:n[We]}function xp(e){return(e[m]&4)===4}function Ns(e){return(e[m]&128)===128}function Tp(e){return Ze(e[Q])}function Qr(e,t){return t==null?null:e[t]}function ul(e){e[qt]=0}function _p(e){e[m]&1024||(e[m]|=1024,Ns(e)&&xn(e))}function Rs(e){return!!(e[m]&9216||e[yt]?.dirty)}function Vi(e){e[xe].changeDetectionScheduler?.notify(1),Rs(e)?xn(e):e[m]&64&&(Mp()?(e[m]|=1024,xn(e)):e[xe].changeDetectionScheduler?.notify())}function xn(e){e[xe].changeDetectionScheduler?.notify();let t=Tn(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!Ns(t)));)t=Tn(t)}function cl(e,t){if((e[m]&256)===256)throw new y(911,!1);e[nt]===null&&(e[nt]=[]),e[nt].push(t)}function Ap(e,t){if(e[nt]===null)return;let n=e[nt].indexOf(t);n!==-1&&e[nt].splice(n,1)}function Tn(e){let t=e[Q];return Ze(t)?t[Q]:t}var R={lFrame:ml(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Np(){return R.lFrame.elementDepthCount}function Rp(){R.lFrame.elementDepthCount++}function Op(){R.lFrame.elementDepthCount--}function ll(){return R.bindingsEnabled}function Pp(){return R.skipHydrationRootTNode!==null}function Fp(e){return R.skipHydrationRootTNode===e}function kp(){R.skipHydrationRootTNode=null}function j(){return R.lFrame.lView}function Le(){return R.lFrame.tView}function ue(){let e=dl();for(;e!==null&&e.type===64;)e=e.parent;return e}function dl(){return R.lFrame.currentTNode}function Lp(){let e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Vn(e,t){let n=R.lFrame;n.currentTNode=e,n.isParent=t}function fl(){return R.lFrame.isParent}function jp(){R.lFrame.isParent=!1}function Vp(e){return R.lFrame.bindingIndex=e}function vo(){return R.lFrame.bindingIndex++}function $p(){return R.lFrame.inI18n}function Bp(e,t){let n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,$i(t)}function Up(){return R.lFrame.currentDirectiveIndex}function $i(e){R.lFrame.currentDirectiveIndex=e}function hl(){return R.lFrame.currentQueryIndex}function Os(e){R.lFrame.currentQueryIndex=e}function Hp(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[_e]:null}function pl(e,t,n){if(n&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&M.Host);)if(o=Hp(i),o===null||(i=i[kn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=R.lFrame=gl();return r.currentTNode=t,r.lView=e,!0}function Ps(e){let t=gl(),n=e[I];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function gl(){let e=R.lFrame,t=e===null?null:e.child;return t===null?ml(e):t}function ml(e){let 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 e!==null&&(e.child=t),t}function vl(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var yl=vl;function Fs(){let e=vl();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 yo(){return R.lFrame.selectedIndex}function wt(e){R.lFrame.selectedIndex=e}function Dl(){let e=R.lFrame;return As(e.tView,e.selectedIndex)}function nn(){R.lFrame.currentNamespace=al}function Do(){zp()}function zp(){R.lFrame.currentNamespace=null}function qp(){return R.lFrame.currentNamespace}var wl=!0;function ks(){return wl}function Ls(e){wl=e}function Gp(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ol(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function js(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[qt]+=65536),(a>14>16&&(e[m]&3)===t&&(e[m]+=16384,sc(a,i)):sc(a,i)}var Zt=-1,_n=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Zp(e){return e instanceof _n}function Yp(e){return(e.flags&8)!==0}function Qp(e){return(e.flags&16)!==0}function Il(e){return e!==Zt}function Kr(e){return e&32767}function Kp(e){return e>>16}function Jr(e,t){let n=Kp(e),r=t;for(;n>0;)r=r[kn],n--;return r}var Bi=!0;function ac(e){let t=Bi;return Bi=e,t}var Jp=256,El=Jp-1,bl=5,Xp=0,Pe={};function eg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(wn)&&(r=n[wn]),r==null&&(r=n[wn]=Xp++);let o=r&El,i=1<>bl)]|=i}function Ml(e,t){let n=Sl(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Ei(r.data,e),Ei(t,null),Ei(r.blueprint,null));let o=Vs(e,t),i=e.injectorIndex;if(Il(o)){let s=Kr(o),a=Jr(o,t),u=a[I].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Ei(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Sl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Vs(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Nl(o),r===null)return Zt;if(n++,o=o[kn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Zt}function tg(e,t,n){eg(e,t,n)}function ng(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let h=d;h=u&&v.type===n)return h}if(o){let h=s[u];if(h&&jn(h)&&h.type===n)return u}return null}function en(e,t,n,r){let o=e[n],i=t.data;if(Zp(o)){let s=o;s.resolving&&Rh(Nh(i[n]));let a=ac(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?fe(s.injectImpl):null,l=pl(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Gp(n,i[n],t)}finally{c!==null&&fe(c),ac(a),s.resolving=!1,yl()}}return o}function og(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(wn)?e[wn]:void 0;return typeof t=="number"?t>=0?t&El:ig:t}function uc(e,t,n){let r=1<>bl)]&r)}function cc(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var mt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return _l(this._tNode,this._lView,t,fo(r),n)}};function ig(){return new mt(ue(),j())}function $s(e){return Cs(()=>{let t=e.prototype.constructor,n=t[qr]||Ui(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[qr]||Ui(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ui(e){return Rc(e)?()=>{let t=Ui(he(e));return t&&t()}:Yt(e)}function sg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=Al(i,s,n,r|M.Self,Pe);if(a!==Pe)return a;let u=i.parent;if(!u){let c=s[el];if(c){let l=c.get(n,Pe,r);if(l!==Pe)return l}u=Nl(s),s=s[kn]}i=u}return o}function Nl(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[_e]:null}function Bs(e){return ng(ue(),e)}function lc(e,t=null,n=null,r){let o=Rl(e,t,n,r);return o.resolveInjectorInitializers(),o}function Rl(e,t=null,n=null,r,o=new Set){let i=[n||Qt,sp(e)];return r=r||(typeof e=="object"?void 0:se(e)),new En(i,t||xs(),r||null,o)}var $n=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return lc({name:""},o,r,"");{let i=r.name??"";return lc({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=Cn,t.NULL=new Zr,t.\u0275prov=C({token:t,providedIn:"any",factory:()=>S($c)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var ag="ngOriginalError";function bi(e){return e[ag]}var Ge=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&bi(t);for(;n&&bi(n);)n=bi(n);return n||null}},Ol=new A("",{providedIn:"root",factory:()=>p(Ge).handleError.bind(void 0)}),Pl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ug,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Hi=class extends Pl{constructor(t){super(),this._lView=t}onDestroy(t){return cl(this._lView,t),()=>Ap(this._lView,t)}};function ug(){return new Hi(j())}function cg(){return rn(ue(),j())}function rn(e,t){return new Ye(me(e,t))}var Ye=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=cg;let e=t;return e})();function lg(e){return e instanceof Ye?e.nativeElement:e}var zi=class extends J{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,vp()&&(this.destroyRef=p(Pl,{optional:!0})??void 0)}emit(t){let n=N(null);try{super.next(t)}finally{N(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Mi(i),o&&(o=Mi(o)),s&&(s=Mi(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof z&&t.add(a),a}};function Mi(e){return t=>{setTimeout(e,void 0,t)}}var ie=zi;function dg(){return this._results[Symbol.iterator]()}var qi=class e{get changes(){return this._changes??=new ie}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;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=dg)}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;let r=zh(t);(this._changesDetected=!Hh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Fl(e){return(e.flags&128)===128}var kl=new Map,fg=0;function hg(){return fg++}function pg(e){kl.set(e[go],e)}function gg(e){kl.delete(e[go])}var dc="__ngContext__";function Ct(e,t){gt(t)?(e[dc]=t[go],pg(t)):e[dc]=t}function Ll(e){return Vl(e[Sn])}function jl(e){return Vl(e[Me])}function Vl(e){for(;e!==null&&!Ze(e);)e=e[Me];return e}var Gi;function $l(e){Gi=e}function mg(){if(Gi!==void 0)return Gi;if(typeof document<"u")return document;throw new y(210,!1)}var Us=new A("",{providedIn:"root",factory:()=>vg}),vg="ng",Hs=new A(""),on=new A("",{providedIn:"platform",factory:()=>"unknown"});var zs=new A("",{providedIn:"root",factory:()=>mg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var yg="h",Dg="b";var wg=()=>null;function qs(e,t,n=!1){return wg(e,t,n)}var Bl=!1,Cg=new A("",{providedIn:"root",factory:()=>Bl});var jr;function Ig(){if(jr===void 0&&(jr=null,pt.trustedTypes))try{jr=pt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return jr}function fc(e){return Ig()?.createScriptURL(e)||e}var Xr=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ac})`}};function wo(e){return e instanceof Xr?e.changingThisBreaksApplicationSecurity:e}function Gs(e,t){let n=Eg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ac})`)}return n===t}function Eg(e){return e instanceof Xr&&e.getTypeName()||null}var bg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ul(e){return e=String(e),e.match(bg)?e:"unsafe:"+e}var Co=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}(Co||{});function Bn(e){let t=zl();return t?t.sanitize(Co.URL,e)||"":Gs(e,"URL")?wo(e):Ul(lo(e))}function Mg(e){let t=zl();if(t)return fc(t.sanitize(Co.RESOURCE_URL,e)||"");if(Gs(e,"ResourceURL"))return fc(wo(e));throw new y(904,!1)}function Sg(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Mg:Bn}function Hl(e,t,n){return Sg(t,n)(e)}function zl(){let e=j();return e&&e[xe].sanitizer}function ql(e){return e instanceof Function?e():e}var bt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(bt||{}),xg;function Ws(e,t){return xg(e,t)}function Gt(e,t,n,r,o){if(r!=null){let i,s=!1;Ze(r)?i=r:gt(r)&&(s=!0,r=r[We]);let a=ke(r);e===0&&n!==null?o==null?Yl(t,n,a):eo(t,n,a,o||null,!0):e===1&&n!==null?eo(t,n,a,o||null,!0):e===2?zg(t,a,s):e===3&&t.destroyNode(a),i!=null&&Gg(t,e,i,n,o)}}function Tg(e,t){return e.createText(t)}function _g(e,t,n){e.setValue(t,n)}function Gl(e,t,n){return e.createElement(t,n)}function Ag(e,t){Wl(e,t),t[We]=null,t[_e]=null}function Ng(e,t,n,r,o,i){r[We]=o,r[_e]=t,Eo(e,r,n,1,o,i)}function Wl(e,t){t[xe].changeDetectionScheduler?.notify(1),Eo(e,t,t[ee],2,null,null)}function Rg(e){let t=e[Sn];if(!t)return Si(e[I],e);for(;t;){let n=null;if(gt(t))n=t[Sn];else{let r=t[X];r&&(n=r)}if(!n){for(;t&&!t[Me]&&t!==e;)gt(t)&&Si(t[I],t),t=t[Q];t===null&&(t=e),gt(t)&&Si(t[I],t),n=t&&t[Me]}t=n}}function Og(e,t,n,r){let o=X+r,i=n.length;r>0&&(n[o-1][Me]=t),r0&&(e[n-1][Me]=r[Me]);let i=Wr(e,X+t);Ag(r[I],r);let s=i[ze];s!==null&&s.detachView(i[I]),r[Q]=null,r[Me]=null,r[m]&=-129}return r}function Io(e,t){if(!(t[m]&256)){let n=t[ee];n.destroyNode&&Eo(e,t,n,3,null,null),Rg(t)}}function Si(e,t){if(t[m]&256)return;let n=N(null);try{t[m]&=-129,t[m]|=256,t[yt]&&yu(t[yt]),kg(e,t),Fg(e,t),t[I].type===1&&t[ee].destroy();let r=t[Ln];if(r!==null&&Ze(t[Q])){r!==t[Q]&&Zl(r,t);let o=t[ze];o!==null&&o.detachView(e)}gg(t)}finally{N(n)}}function Fg(e,t){let n=e.cleanup,r=t[Mn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Mn]=null);let o=t[nt];if(o!==null){t[nt]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Fe.None||i===Fe.Emulated)return null}return me(r,n)}}function eo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Yl(e,t,n){e.appendChild(t,n)}function hc(e,t,n,r,o){r!==null?eo(e,t,n,r,o):Yl(e,t,n)}function Vg(e,t,n,r){e.removeChild(t,n,r)}function Zs(e,t){return e.parentNode(t)}function $g(e,t){return e.nextSibling(t)}function Bg(e,t,n){return Hg(e,t,n)}function Ug(e,t,n){return e.type&40?me(e,n):null}var Hg=Ug,pc;function Ys(e,t,n,r){let o=Lg(e,r,t),i=t[ee],s=r.parent||t[_e],a=Bg(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uqe&&Xl(e,t,qe,!1),Oe(s?2:0,o),n(r,o)}finally{wt(i),Oe(s?3:1,o)}}function rd(e,t,n){if(nl(t)){let r=N(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function em(e,t,n,r){let o=fd(t);o.push(n),e.firstCreatePass&&hd(e).push(r,o.length-1)}function tm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Pp()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function gc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Se.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?mc(r,n,c,a,u):mc(r,n,c,a)}return r}function mc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function nm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function um(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;mo(n)&&gm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ml(n,t),Ct(r,t);let s=n.initialInputs;for(let a=o;a{xn(e.lView)},consumerOnSignalRead(){this.lView[yt]=this}}),md=100;function vd(e,t=!0,n=0){let r=e[xe],o=r.rendererFactory,i=!1;i||o.begin?.();try{Nm(e,n)}catch(s){throw t&&pd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Nm(e,t){Qi(e,t);let n=0;for(;Rs(e);){if(n===md)throw new y(103,!1);n++,Qi(e,1)}}function Rm(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1;!i&&t[xe].inlineEffectRunner?.flush(),Ps(t);let s=null,a=null;!i&&Om(e)&&(a=xm(t),s=mu(a));try{ul(t),Vp(e.bindingStartIndex),n!==null&&nd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&$r(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Br(t,d,0,null),Ii(t,0)}if(Pm(t),yd(t,0),e.contentQueries!==null&&dd(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&$r(t,d)}else{let d=e.contentHooks;d!==null&&Br(t,d,1),Ii(t,1)}Zg(e,t);let c=e.components;c!==null&&wd(t,c,0);let l=e.viewQuery;if(l!==null&&Yi(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&$r(t,d)}else{let d=e.viewHooks;d!==null&&Br(t,d,2),Ii(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ci]){for(let d of t[Ci])d();t[Ci]=null}i||(t[m]&=-73)}catch(u){throw xn(t),u}finally{a!==null&&(vu(a,s),_m(a)),Fs()}}function Om(e){return e.type!==2}function yd(e,t){for(let n=Ll(e);n!==null;n=jl(n))for(let r=X;r-1&&(An(t,r),Wr(n,r))}this._attachedToViewContainer=!1}Io(this._lView[I],this._lView)}onDestroy(t){cl(this._lView,t)}markForCheck(){na(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){Vi(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,vd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Wl(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t,Vi(this._lView)}},Nn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=jm;let e=t;return e})(),km=Nn,Lm=class extends km{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){let o=ea(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new It(o)}};function jm(){return ra(ue(),j())}function ra(e,t){return e.type&4?new Lm(t,e,rn(e,t)):null}var lM=new RegExp(`^(\\d+)*(${Dg}|${yg})*(.*)`);var Vm=()=>null;function ro(e,t){return Vm(e,t)}var Ki=class{},Ji=class{},oo=class{};function $m(e){let t=Error(`No component factory found for ${se(e)}.`);return t[Bm]=e,t}var Bm="ngComponent";var Xi=class{resolveComponentFactory(t){throw $m(t)}},To=(()=>{let t=class t{};t.NULL=new Xi;let e=t;return e})(),Rn=class{},Un=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Um();let e=t;return e})();function Um(){let e=j(),t=ue(),n=ot(t.index,e);return(gt(n)?n:e)[ee]}var Hm=(()=>{let t=class t{};t.\u0275prov=C({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),xi={};var vc=new Set;function oa(e){vc.has(e)||(vc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Cd=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=C({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function es(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Kl(e,n,i.join(" "))}}function Qm(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Jm;let e=t;return e})();function Jm(){let e=ue();return Ed(e,j())}var Xm=sn,Id=class extends Xm{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return rn(this._hostTNode,this._hostLView)}get injector(){return new mt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Vs(this._hostTNode,this._hostLView);if(Il(t)){let n=Jr(t,this._hostLView),r=Kr(t),o=n[I].data[r+8];return new mt(o,n)}else return new mt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Dc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-X}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ro(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,to(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!yp(t),a;if(s)a=n;else{let v=n||{};a=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef}let u=s?t:new On(vt(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let b=(s?c:this.parentInjector).get(pe,null);b&&(i=b)}let l=vt(u.componentType??{}),d=ro(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,to(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Tp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[Q],c=new Id(u,u[_e],u[Q]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ta(s,o,i,r),t.attachToViewContainerRef(),Vc(Ti(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Dc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=An(this._lContainer,n);r&&(Wr(Ti(this._lContainer),n),Io(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=An(this._lContainer,n);return r&&Wr(Ti(this._lContainer),n)!=null?new It(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Dc(e){return e[Yr]}function Ti(e){return e[Yr]||(e[Yr]=[])}function Ed(e,t){let n,r=t[e.index];return Ze(r)?n=r:(n=ld(r,t,null,e),t[e.index]=n,xo(t,n)),tv(n,t,e,r),new Id(n,e,t)}function ev(e,t){let n=e[ee],r=n.createComment(""),o=me(t,e),i=Zs(n,o);return eo(n,i,r,$g(n,o),!1),r}var tv=ov,nv=()=>!1;function rv(e,t,n){return nv(e,t,n)}function ov(e,t,n,r){if(e[Dt])return;let o;n.type&8?o=ke(r):o=ev(t,n),e[Dt]=o}var rs=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},os=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=X;dt.trim())}function hv(e,t,n){e.queries===null&&(e.queries=new ss),e.queries.track(new as(t,n))}function pv(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function ia(e,t){return e.queries.getByIndex(t)}function gv(e,t){let n=e[I],r=ia(n,t);return r.crossesNgTemplate?us(n,e,t,[]):bd(n,e,r,t)}function sa(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var rt=class{},Pn=class{};var cs=class extends rt{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new io(this);let o=Zc(t);this._bootstrapComponents=ql(o.bootstrap),this._r3Injector=Rl(t,n,[{provide:rt,useValue:this},{provide:To,useValue:this.componentFactoryResolver},...r],se(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ls=class extends Pn{constructor(t){super(),this.moduleType=t}create(t){return new cs(this.moduleType,t,[])}};var so=class extends rt{constructor(t){super(),this.componentFactoryResolver=new io(this),this.instance=null;let n=new En([...t.providers,{provide:rt,useValue:this},{provide:To,useValue:this.componentFactoryResolver}],t.parent||xs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function aa(e,t,n=null){return new so({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var _o=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Z(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ao(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function mv(e){return(e.flags&32)===32}function vv(e,t,n,r,o,i,s,a,u){let c=t.consts,l=So(t,e,4,s||null,Qr(c,a));ad(t,n,l,Qr(c,u)),js(t,l);let d=l.tView=Ks(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function ds(e,t,n,r,o,i,s,a){let u=j(),c=Le(),l=e+qe,d=c.firstCreatePass?vv(l,c,u,t,n,r,o,i,s):c.data[l];Vn(d,!1);let f=yv(c,u,d,e);ks()&&Ys(c,u,f,d),Ct(f,u);let h=ld(f,u,f,d);return u[l]=h,xo(u,h),rv(h,d,u),_s(d)&&od(c,u,d),s!=null&&id(u,d,a),ds}var yv=Dv;function Dv(e,t,n,r){return Ls(!0),t[ee].createComment("")}function wc(...e){}function wv(){let e=typeof pt.requestAnimationFrame=="function",t=pt[e?"requestAnimationFrame":"setTimeout"],n=pt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var H=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ie(!1),this.onMicrotaskEmpty=new ie(!1),this.onStable=new ie(!1),this.onError=new ie(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let 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.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=wv().nativeRequestAnimationFrame,Ev(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Cv,wc,wc);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Cv={};function ua(e){if(e._nesting==0&&!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 Iv(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(pt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,fs(e),e.isCheckStableRunning=!0,ua(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),fs(e))}function Ev(e){let t=()=>{Iv(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(bv(a))return n.invokeTask(o,i,s,a);try{return Cc(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ic(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Cc(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ic(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,fs(e),ua(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function fs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Cc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ic(e){e._nesting--,ua(e)}function bv(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}function ca(e,t,n,r){let o=j(),i=vo();if(Ao(o,i,t)){let s=Le(),a=Dl();mm(a,o,e,t,n,r)}return ca}function Mv(e,t,n,r){return Ao(e,vo(),n)?t+lo(n)+r:bo}function Hn(e,t,n){let r=j(),o=vo();if(Ao(r,o,t)){let i=Le(),s=Dl();om(i,s,r,e,t,r[ee],n,!1)}return Hn}function Ec(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Js(e,n,i[s],s,r)}var hs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function _i(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Sv(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=_i(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),f=t[a],h=_i(s,d,a,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,a--;continue}let v=n(i,u),b=n(s,d),$=n(i,c);if(Object.is($,b)){let P=n(a,f);Object.is(P,v)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new ao,o??=Mc(e,i,s,n),ps(e,r,i,$))e.updateValue(i,c),i++,s++;else if(o.has($))r.set(v,e.detach(i)),s--;else{let P=e.create(i,t[i]);e.attach(i,P),i++,s++}}for(;i<=a;)bc(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=_i(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new ao,o??=Mc(e,i,s,n);let f=n(i,l);if(ps(e,r,i,f))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let h=n(i,c);r.set(h,e.detach(i)),s--}}}for(;!u.done;)bc(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function ps(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function bc(e,t,n,r,o){if(ps(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Mc(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ao=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&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);this._vMap===void 0&&(this._vMap=new Map);let 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),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};var gs=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-X}};function zn(e,t){return t}var ms=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function qn(e,t,n,r,o,i,s,a,u,c,l,d,f){oa("NgControlFlow");let h=u!==void 0,v=j(),b=a?s.bind(v[Te][ae]):s,$=new ms(h,b);v[qe+e]=$,ds(e+1,t,n,r,o,i),h&&ds(e+2,u,c,l,d,f)}var vs=class extends hs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-X}at(t){return this.getLView(t)[ae].$implicit}attach(t,n){let r=n[bn];this.needsIndexUpdate||=t!==this.length,ta(this.lContainer,n,t,to(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,xv(this.lContainer,t)}create(t,n){let r=ro(this.lContainer,this.templateTNode.tView.ssrId);return ea(this.hostLView,this.templateTNode,new gs(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Io(t[I],t)}updateValue(t,n){this.getLView(t)[ae].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Ls(!0),Gl(r,o,qp()));var uo="en-US";var Nv=uo;function Rv(e){typeof e=="string"&&(Nv=e.toLowerCase().replace(/_/g,"-"))}function la(e,t,n,r){let o=j(),i=Le(),s=ue();return Pv(i,o,o[ee],s,e,t,r),la}function Ov(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Pv(e,t,n,r,o,i,s){let a=_s(r),c=e.firstCreatePass&&hd(e),l=t[ae],d=fd(t),f=!0;if(r.type&3||s){let b=me(r,t),$=s?s(b):b,P=d.length,$e=s?Be=>s(ke(Be[r.index])):r.index,te=null;if(!s&&a&&(te=Ov(e,t,o,r.index)),te!==null){let Be=te.__ngLastListenerFn__||te;Be.__ngNextListenerFn__=i,te.__ngLastListenerFn__=i,f=!1}else{i=_c(r,t,l,i,!1);let Be=n.listen($,o,i);d.push(i,Be),c&&c.push(o,$e,P,P+1)}}else i=_c(r,t,l,i,!1);let h=r.outputs,v;if(f&&h!==null&&(v=h[o])){let b=v.length;if(b)for(let $=0;$-1?ot(e.index,t):t;na(a);let u=Tc(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Tc(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function Md(e,t,n,r){dv(e,t,n,r)}function Sd(e){let t=j(),n=Le(),r=hl();Os(r+1);let o=ia(n,r);if(e.dirty&&xp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=gv(t,r);e.reset(i,lg),e.notifyOnChanges()}return!0}return!1}function xd(){return cv(j(),hl())}function W(e,t=""){let n=j(),r=Le(),o=e+qe,i=r.firstCreatePass?So(r,o,1,t,null):r.data[o],s=Fv(r,n,i,t,e);n[o]=s,ks()&&Ys(r,n,s,i),Vn(i,!1)}var Fv=(e,t,n,r,o)=>(Ls(!0),Tg(t[ee],r));function Mt(e){return Td("",e,""),Mt}function Td(e,t,n){let r=j(),o=Mv(r,e,t,n);return o!==bo&&wm(r,yo(),o),Td}var kv=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=Kc(!1,r.type),i=o.length>0?aa([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=C({token:t,providedIn:"environment",factory:()=>new t(S(pe))});let e=t;return e})();function ve(e){oa("NgStandalone"),e.getStandaloneInjector=t=>t.get(kv).getOrCreateStandaloneInjector(e)}var No=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var _d=new A("");function Wn(e){return!!e&&typeof e.then=="function"}function Ad(e){return!!e&&typeof e.subscribe=="function"}var Nd=new A(""),Rd=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=p(Nd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Wn(s))r.push(s);else if(Ad(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),da=new A("");function Lv(){Du(()=>{throw new y(600,!1)})}function jv(e){return e.isBoundToModule}function Vv(e,t,n){try{let r=n();return Wn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Zn=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Ol),this.afterRenderEffectManager=p(Cd),this.externalTestViews=new Set,this.beforeRender=new J,this.afterTick=new J,this.componentTypes=[],this.components=[],this.isStable=p(_o).hasPendingTasks.pipe(_(r=>!r)),this._injector=p(pe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof oo;if(!this._injector.get(Rd).done){let h=!i&&Wc(r),v=!1;throw new y(405,v)}let a;i?a=r:a=this._injector.get(To).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=jv(a)?void 0:this._injector.get(rt),c=o||a.selector,l=a.create($n.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(_d,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ai(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new y(101,!1);let o=N(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,N(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===md)throw new y(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)$v(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ys(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ys(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Ai(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(da,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Ai(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new y(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ai(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function $v(e,t,n){!t&&!ys(e)||Bv(e,n,t)}function ys(e){return Rs(e)}function Bv(e,t,n){let r;n?(r=0,e[m]|=1024):e[m]&64?r=0:r=1,vd(e,t,r)}var Ds=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},fa=(()=>{let t=class t{compileModuleSync(r){return new ls(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Zc(r),s=ql(i.declarations).reduce((a,u)=>{let c=vt(u);return c&&a.push(new On(c)),a},[]);return new Ds(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Uv=(()=>{let t=class t{constructor(){this.zone=p(H),this.applicationRef=p(Zn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Hv(e){return[{provide:H,useFactory:e},{provide:Kt,multi:!0,useFactory:()=>{let t=p(Uv,{optional:!0});return()=>t.initialize()}},{provide:Kt,multi:!0,useFactory:()=>{let t=p(Wv);return()=>{t.initialize()}}},{provide:Ol,useFactory:zv}]}function zv(){let e=p(H),t=p(Ge);return n=>e.runOutsideAngular(()=>t.handleError(n))}function qv(e){let t=Hv(()=>new H(Gv(e)));return ho([[],t])}function Gv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Wv=(()=>{let t=class t{constructor(){this.subscription=new z,this.initialized=!1,this.zone=p(H),this.pendingTasks=p(_o)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{H.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Zv(){return typeof $localize<"u"&&$localize.locale||uo}var ha=new A("",{providedIn:"root",factory:()=>p(ha,M.Optional|M.SkipSelf)||Zv()});var Od=new A("");var zr=null;function Yv(e=[],t){return $n.create({name:t,providers:[{provide:po,useValue:"platform"},{provide:Od,useValue:new Set([()=>zr=null])},...e]})}function Qv(e=[]){if(zr)return zr;let t=Yv(e);return zr=t,Lv(),Kv(t),t}function Kv(e){e.get(Hs,null)?.forEach(n=>n())}var an=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Jv;let e=t;return e})();function Jv(e){return Xv(ue(),j(),(e&16)===16)}function Xv(e,t,n){if(mo(e)&&!n){let r=ot(e.index,t);return new It(r,r)}else if(e.type&47){let r=t[Te];return new It(r,t)}return null}function Pd(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Qv(r),i=[qv(),...n||[]],a=new so({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(H);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ge,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:h=>{c.handleError(h)}})});let d=()=>a.destroy(),f=o.get(Od);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),Vv(c,u,()=>{let h=a.get(Rd);return h.runInitializers(),h.donePromise.then(()=>{let v=a.get(ha,uo);Rv(v||uo);let b=a.get(Zn);return t!==void 0&&b.bootstrap(t),b})})})}catch(t){return Promise.reject(t)}}function Yn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var $d=null;function un(){return $d}function Bd(e){$d??=e}var Ro=class{};var ye=new A(""),pa=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(ey),providedIn:"platform"});let e=t;return e})();var ey=(()=>{let t=class t extends pa{constructor(){super(),this._doc=p(ye),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return un().getBaseHref(this._doc)}onPopState(r){let o=un().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=un().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function ga(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Fd(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Qe(e){return e&&e[0]!=="?"?"?"+e:e}var st=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(Hd),providedIn:"root"});let e=t;return e})(),Ud=new A(""),Hd=(()=>{let t=class t extends st{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(ye).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return ga(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Qe(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(S(pa),S(Ud,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),zd=(()=>{let t=class t extends st{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=ga(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Qe(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(S(pa),S(Ud,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Qn=(()=>{let t=class t{constructor(r){this._subject=new ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=ry(Fd(kd(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Qe(o))}normalize(r){return t.stripTrailingSlash(ny(this._basePath,kd(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Qe(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Qe(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Qe,t.joinWithSlash=ga,t.stripTrailingSlash=Fd,t.\u0275fac=function(o){return new(o||t)(S(st))},t.\u0275prov=C({token:t,factory:()=>ty(),providedIn:"root"});let e=t;return e})();function ty(){return new Qn(S(st))}function ny(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function kd(e){return e.replace(/\/index.html$/,"")}function ry(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function qd(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Gd="browser",oy="server";function ma(e){return e===oy}var Oo=class{};var Da=class extends Ro{constructor(){super(...arguments),this.supportsDOMEvents=!0}},wa=class e extends Da{static makeCurrent(){Bd(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=ay();return n==null?null:uy(n)}resetBaseElement(){Kn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return qd(document.cookie,t)}},Kn=null;function ay(){return Kn=Kn||document.querySelector("base"),Kn?Kn.getAttribute("href"):null}function uy(e){return new URL(e,document.baseURI).pathname}var cy=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Ca=new A(""),Qd=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new y(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(S(Ca),S(H))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Po=class{constructor(t){this._doc=t}},va="ng-app-id",Kd=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ma(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${va}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(va),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(va,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(S(ye),S(Us),S(zs,8),S(on))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),ya={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ea=/%COMP%/g,Jd="%COMP%",ly=`_nghost-${Jd}`,dy=`_ngcontent-${Jd}`,fy=!0,hy=new A("",{providedIn:"root",factory:()=>fy});function py(e){return dy.replace(Ea,e)}function gy(e){return ly.replace(Ea,e)}function Xd(e,t){return t.map(n=>n.replace(Ea,e))}var Wd=(()=>{let t=class t{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=ma(u),this.defaultRenderer=new Jn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Fe.ShadowDom&&(o=B(g({},o),{encapsulation:Fe.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Fo?i.applyToHost(r):i instanceof Xn&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Fe.Emulated:s=new Fo(c,l,o,this.appId,d,a,u,f);break;case Fe.ShadowDom:return new Ia(c,l,r,o,a,u,this.nonce,f);default:s=new Xn(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(S(Qd),S(Kd),S(Us),S(hy),S(ye),S(on),S(H),S(zs))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Jn=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(ya[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Zd(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Zd(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new y(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=ya[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=ya[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(bt.DashCase|bt.Important)?t.style.setProperty(n,r,o&bt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&bt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=un().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function Zd(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ia=class extends Jn{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Xd(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xn=class extends Jn{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Xd(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Fo=class extends Xn{constructor(t,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(t,n,r,i,s,a,u,c),this.contentAttr=py(c),this.hostAttr=gy(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},my=(()=>{let t=class t extends Po{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(S(ye))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Yd=["alt","control","meta","shift"],vy={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},yy={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Dy=(()=>{let t=class t extends Po{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>un().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),Yd.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=vy[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Yd.forEach(a=>{if(a!==i){let u=yy[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(S(ye))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})();function ef(e,t){return Pd(g({rootComponent:e},wy(t)))}function wy(e){return{appProviders:[...My,...e?.providers??[]],platformProviders:by}}function Cy(){wa.makeCurrent()}function Iy(){return new Ge}function Ey(){return $l(document),document}var by=[{provide:on,useValue:Gd},{provide:Hs,useValue:Cy,multi:!0},{provide:ye,useFactory:Ey,deps:[]}];var My=[{provide:po,useValue:"root"},{provide:Ge,useFactory:Iy,deps:[]},{provide:Ca,useClass:my,multi:!0,deps:[ye,H,on]},{provide:Ca,useClass:Dy,multi:!0,deps:[ye]},Wd,Kd,Qd,{provide:Rn,useExisting:Wd},{provide:Oo,useClass:cy,deps:[]},[]];var tf=(()=>{let t=class t{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};t.\u0275fac=function(o){return new(o||t)(S(ye))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var E="primary",pr=Symbol("RouteTitle"),Ta=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function hn(e){return new Ta(e)}function xy(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[i]===o)}else return e===t}function cf(e){return e.length>0?e[e.length-1]:null}function lt(e){return pi(e)?e:Wn(e)?U(Promise.resolve(e)):D(e)}var _y={exact:df,subset:ff},lf={exact:Ay,subset:Ny,ignored:()=>!0};function nf(e,t,n){return _y[n.paths](e.root,t.root,n.matrixParams)&&lf[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function Ay(e,t){return je(e,t)}function df(e,t,n){if(!xt(e.segments,t.segments)||!jo(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!df(e.children[r],t.children[r],n))return!1;return!0}function Ny(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>uf(e[n],t[n]))}function ff(e,t,n){return hf(e,t,t.segments,n)}function hf(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!xt(o,n)||t.hasChildren()||!jo(o,n,r))}else if(e.segments.length===n.length){if(!xt(e.segments,n)||!jo(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!ff(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!xt(e.segments,o)||!jo(e.segments,o,r)||!e.children[E]?!1:hf(e.children[E],t,i,r)}}function jo(e,t,n){return t.every((r,o)=>lf[n](e[o].parameters,r.parameters))}var at=class{constructor(t=new O([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=hn(this.queryParams),this._queryParamMap}toString(){return Py.serialize(this)}},O=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vo(this)}},St=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=hn(this.parameters),this._parameterMap}toString(){return gf(this)}};function Ry(e,t){return xt(e,t)&&e.every((n,r)=>je(n.parameters,t[r].parameters))}function xt(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function Oy(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===E&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==E&&(n=n.concat(t(o,r)))}),n}var tu=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>new Bo,providedIn:"root"});let e=t;return e})(),Bo=class{parse(t){let n=new Na(t);return new at(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${er(t.root,!0)}`,r=Ly(t.queryParams),o=typeof t.fragment=="string"?`#${Fy(t.fragment)}`:"";return`${n}${r}${o}`}},Py=new Bo;function Vo(e){return e.segments.map(t=>gf(t)).join("/")}function er(e,t){if(!e.hasChildren())return Vo(e);if(t){let n=e.children[E]?er(e.children[E],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==E&&r.push(`${o}:${er(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=Oy(e,(r,o)=>o===E?[er(e.children[E],!1)]:[`${o}:${er(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[E]!=null?`${Vo(e)}/${n[0]}`:`${Vo(e)}/(${n.join("//")})`}}function pf(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ko(e){return pf(e).replace(/%3B/gi,";")}function Fy(e){return encodeURI(e)}function Aa(e){return pf(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $o(e){return decodeURIComponent(e)}function rf(e){return $o(e.replace(/\+/g,"%20"))}function gf(e){return`${Aa(e.path)}${ky(e.parameters)}`}function ky(e){return Object.entries(e).map(([t,n])=>`;${Aa(t)}=${Aa(n)}`).join("")}function Ly(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${ko(n)}=${ko(o)}`).join("&"):`${ko(n)}=${ko(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var jy=/^[^\/()?;#]+/;function ba(e){let t=e.match(jy);return t?t[0]:""}var Vy=/^[^\/()?;=#]+/;function $y(e){let t=e.match(Vy);return t?t[0]:""}var By=/^[^=?&#]+/;function Uy(e){let t=e.match(By);return t?t[0]:""}var Hy=/^[^&#]+/;function zy(e){let t=e.match(Hy);return t?t[0]:""}var Na=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new O([],{}):new O([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[E]=new O(t,n)),r}parseSegment(){let t=ba(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(t),new St($o(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=$y(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=ba(this.remaining);o&&(r=o,this.capture(r))}t[$o(n)]=$o(r)}parseQueryParam(t){let n=Uy(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=zy(this.remaining);s&&(r=s,this.capture(r))}let o=rf(n),i=rf(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=ba(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=E);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[E]:new O([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new y(4011,!1)}};function mf(e){return e.segments.length>0?new O([],{[E]:e}):e}function vf(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=vf(o);if(r===E&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new O(e.segments,t);return qy(n)}function qy(e){if(e.numberOfChildren===1&&e.children[E]){let t=e.children[E];return new O(e.segments.concat(t.segments),t.children)}return e}function pn(e){return e instanceof at}function Gy(e,t,n=null,r=null){let o=yf(e);return Df(o,t,n,r)}function yf(e){let t;function n(i){let s={};for(let u of i.children){let c=n(u);s[u.outlet]=c}let a=new O(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=mf(r);return t??o}function Df(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Ma(o,o,o,n,r);let i=Wy(t);if(i.toRoot())return Ma(o,o,new O([],{}),n,r);let s=Zy(i,o,e),a=s.processChildren?rr(s.segmentGroup,s.index,i.commands):Cf(s.segmentGroup,s.index,i.commands);return Ma(o,s.segmentGroup,a,n,r)}function Uo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function sr(e){return typeof e=="object"&&e!=null&&e.outlets}function Ma(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;e===t?s=n:s=wf(e,t,n);let a=mf(vf(s));return new at(a,i,o)}function wf(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=wf(i,t,n)}),new O(e.segments,r)}var Ho=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Uo(r[0]))throw new y(4003,!1);let o=r.find(sr);if(o&&o!==cf(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Wy(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ho(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Ho(n,t,r)}var dn=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function Zy(e,t,n){if(e.isAbsolute)return new dn(t,!0,0);if(!n)return new dn(t,!1,NaN);if(n.parent===null)return new dn(n,!0,0);let r=Uo(e.commands[0])?0:1,o=n.segments.length-1+r;return Yy(n,o,e.numberOfDoubleDots)}function Yy(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new y(4005,!1);o=r.segments.length}return new dn(r,!1,o-i)}function Qy(e){return sr(e[0])?e[0].outlets:{[E]:e}}function Cf(e,t,n){if(e??=new O([],{}),e.segments.length===0&&e.hasChildren())return rr(e,t,n);let r=Ky(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==E)&&e.children[E]&&e.numberOfChildren===1&&e.children[E].segments.length===0){let i=rr(e.children[E],t,n);return new O(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Cf(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new O(e.segments,o)}}function Ky(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;let s=e.segments[o],a=n[r];if(sr(a))break;let u=`${a}`,c=r0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!sf(u,c,s))return i;r+=2}else{if(!sf(u,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Ra(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Ra(new O([],{}),0,r))}),t}function of(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function sf(e,t,n){return e==n.path&&je(t,n.parameters)}var or="imperative",K=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(K||{}),De=class{constructor(t,n){this.id=t,this.url=n}},ar=class extends De{constructor(t,n,r="imperative",o=null){super(t,n),this.type=K.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ke=class extends De{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=K.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},de=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(de||{}),Oa=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Oa||{}),ut=class extends De{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=K.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Tt=class extends De{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=K.NavigationSkipped}},ur=class extends De{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=K.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},zo=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pa=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fa=class extends De{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=K.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ka=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},La=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ja=class{constructor(t){this.route=t,this.type=K.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Va=class{constructor(t){this.route=t,this.type=K.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},$a=class{constructor(t){this.snapshot=t,this.type=K.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ba=class{constructor(t){this.snapshot=t,this.type=K.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ua=class{constructor(t){this.snapshot=t,this.type=K.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ha=class{constructor(t){this.snapshot=t,this.type=K.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var cr=class{},lr=class{constructor(t){this.url=t}};var za=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Qo,this.attachRef=null}},Qo=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(r,o){let i=this.getOrCreateContext(r);i.outlet=o,this.contexts.set(r,i)}onChildOutletDestroyed(r){let o=this.getContext(r);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let o=this.getContext(r);return o||(o=new za,this.contexts.set(r,o)),o}getContext(r){return this.contexts.get(r)||null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),qo=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=qa(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=qa(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Ga(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ga(t,this._root).map(n=>n.value)}};function qa(e,t){if(e===t.value)return t;for(let n of t.children){let r=qa(e,n);if(r)return r}return null}function Ga(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Ga(e,n);if(r.length)return r.unshift(t),r}return[]}var le=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function ln(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Go=class extends qo{constructor(t,n){super(t),this.snapshot=n,ru(this,t)}toString(){return this.snapshot.toString()}};function If(e){let t=Xy(e),n=new Z([new St("",{})]),r=new Z({}),o=new Z({}),i=new Z({}),s=new Z(""),a=new _t(n,r,i,s,o,E,e,t.root);return a.snapshot=t.root,new Go(new le(a,[]),t)}function Xy(e){let t={},n={},r={},o="",i=new dr([],t,r,o,n,E,e,null,{});return new Wo("",new le(i,[]))}var _t=class{constructor(t,n,r,o,i,s,a,u){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(_(c=>c[pr]))??D(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}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(_(t=>hn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(_(t=>hn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function nu(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:g(g({},t.params),e.params),data:g(g({},t.data),e.data),resolve:g(g(g(g({},e.data),t.data),o?.data),e._resolvedData)}:r={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&bf(o)&&(r.resolve[pr]=o.title),r}var dr=class{get title(){return this.data?.[pr]}constructor(t,n,r,o,i,s,a,u,c){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=hn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=hn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Wo=class extends qo{constructor(t,n){super(n),this.url=t,ru(this,n)}toString(){return Ef(this._root)}};function ru(e,t){t.value._routerState=e,t.children.forEach(n=>ru(e,n))}function Ef(e){let t=e.children.length>0?` { ${e.children.map(Ef).join(", ")} } `:"";return`${e.value}${t}`}function Sa(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,je(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),je(t.params,n.params)||e.paramsSubject.next(n.params),Ty(t.url,n.url)||e.urlSubject.next(n.url),je(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Wa(e,t){let n=je(e.params,t.params)&&Ry(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Wa(e.parent,t.parent))}function bf(e){return typeof e.title=="string"||e.title===null}var ou=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=E,this.activateEvents=new ie,this.deactivateEvents=new ie,this.attachEvents=new ie,this.detachEvents=new ie,this.parentContexts=p(Qo),this.location=p(sn),this.changeDetector=p(an),this.environmentInjector=p(pe),this.inputBinder=p(iu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:o,previousValue:i}=r.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,o){this.activated=r,this._activatedRoute=o,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,o){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=r;let i=this.location,a=r.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new Za(r,u,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=Fn({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[tn]});let e=t;return e})(),Za=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===_t?this.route:t===Qo?this.childContexts:this.parent.get(t,n)}},iu=new A("");function eD(e,t,n){let r=fr(e,t._root,n?n._root:void 0);return new Go(r,t)}function fr(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=tD(e,t,n);return new le(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>fr(e,a)),s}}let r=nD(t.value),o=t.children.map(i=>fr(e,i));return new le(r,o)}}function tD(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return fr(e,r,o);return fr(e,r)})}function nD(e){return new _t(new Z(e.url),new Z(e.params),new Z(e.queryParams),new Z(e.fragment),new Z(e.data),e.outlet,e.component,e)}var Mf="ngNavigationCancelingError";function Sf(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=pn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=xf(!1,de.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function xf(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Mf]=!0,n.cancellationCode=t,n}function rD(e){return Tf(e)&&pn(e.url)}function Tf(e){return!!e&&e[Mf]}var oD=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["ng-component"]],standalone:!0,features:[ve],decls:1,vars:0,template:function(o,i){o&1&&Ne(0,"router-outlet")},dependencies:[ou],encapsulation:2});let e=t;return e})();function iD(e,t){return e.providers&&!e._injector&&(e._injector=aa(e.providers,t,`Route: ${e.path}`)),e._injector??t}function su(e){let t=e.children&&e.children.map(su),n=t?B(g({},e),{children:t}):g({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==E&&(n.component=oD),n}function Ve(e){return e.outlet||E}function sD(e,t){let n=e.filter(r=>Ve(r)===t);return n.push(...e.filter(r=>Ve(r)!==t)),n}function gr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var aD=(e,t,n,r)=>_(o=>(new Ya(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Ya=class{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Sa(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=ln(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=ln(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=ln(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=ln(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Ha(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Ba(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Sa(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Sa(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=gr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}},Zo=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},fn=class{constructor(t,n){this.component=t,this.route=n}};function uD(e,t,n){let r=e._root,o=t?t._root:null;return tr(r,o,n,[r.value])}function cD(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function mn(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Oc(e)?e:t.get(e):r}function tr(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=ln(t);return e.children.forEach(s=>{lD(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ir(a,n.getContext(s),o)),o}function lD(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let u=dD(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Zo(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?tr(e,t,a?a.children:null,r,o):tr(e,t,n,r,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new fn(a.outlet.component,s))}else s&&ir(t,a,o),o.canActivateChecks.push(new Zo(r)),i.component?tr(e,null,a?a.children:null,r,o):tr(e,null,n,r,o);return o}function dD(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!xt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!xt(e.url,t.url)||!je(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wa(e,t)||!je(e.queryParams,t.queryParams);case"paramsChange":default:return!Wa(e,t)}}function ir(e,t,n){let r=ln(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?ir(s,t.children.getContext(i),n):ir(s,null,n):ir(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new fn(t.outlet.component,o)):n.canDeactivateChecks.push(new fn(null,o)):n.canDeactivateChecks.push(new fn(null,o))}function mr(e){return typeof e=="function"}function fD(e){return typeof e=="boolean"}function hD(e){return e&&mr(e.canLoad)}function pD(e){return e&&mr(e.canActivate)}function gD(e){return e&&mr(e.canActivateChild)}function mD(e){return e&&mr(e.canDeactivate)}function vD(e){return e&&mr(e.canMatch)}function _f(e){return e instanceof Ue||e?.name==="EmptyError"}var Lo=Symbol("INITIAL_VALUE");function gn(){return Ee(e=>Fr(e.map(t=>t.pipe(He(1),yi(Lo)))).pipe(_(t=>{for(let n of t)if(n!==!0){if(n===Lo)return Lo;if(n===!1||n instanceof at)return n}return!0}),Ie(t=>t!==Lo),He(1)))}function yD(e,t){return q(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?D(B(g({},n),{guardsResult:!0})):DD(s,r,o,e).pipe(q(a=>a&&fD(a)?wD(r,i,e,t):D(a)),_(a=>B(g({},n),{guardsResult:a})))})}function DD(e,t,n,r){return U(e).pipe(q(o=>MD(o.component,o.route,n,t,r)),Re(o=>o!==!0,!0))}function wD(e,t,n,r){return U(t).pipe(Ut(o=>Bt(ID(o.route.parent,r),CD(o.route,r),bD(e,o.path,n),ED(e,o.route,n))),Re(o=>o!==!0,!0))}function CD(e,t){return e!==null&&t&&t(new Ua(e)),D(!0)}function ID(e,t){return e!==null&&t&&t(new $a(e)),D(!0)}function ED(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return D(!0);let o=r.map(i=>kr(()=>{let s=gr(t)??n,a=mn(i,s),u=pD(a)?a.canActivate(t,e):Et(s,()=>a(t,e));return lt(u).pipe(Re())}));return D(o).pipe(gn())}function bD(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>cD(s)).filter(s=>s!==null).map(s=>kr(()=>{let a=s.guards.map(u=>{let c=gr(s.node)??n,l=mn(u,c),d=gD(l)?l.canActivateChild(r,e):Et(c,()=>l(r,e));return lt(d).pipe(Re())});return D(a).pipe(gn())}));return D(i).pipe(gn())}function MD(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return D(!0);let s=i.map(a=>{let u=gr(t)??o,c=mn(a,u),l=mD(c)?c.canDeactivate(e,t,n,r):Et(u,()=>c(e,t,n,r));return lt(l).pipe(Re())});return D(s).pipe(gn())}function SD(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return D(!0);let i=o.map(s=>{let a=mn(s,e),u=hD(a)?a.canLoad(t,n):Et(e,()=>a(t,n));return lt(u)});return D(i).pipe(gn(),Af(r))}function Af(e){return li(Y(t=>{if(pn(t))throw Sf(e,t)}),_(t=>t===!0))}function xD(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return D(!0);let i=o.map(s=>{let a=mn(s,e),u=vD(a)?a.canMatch(t,n):Et(e,()=>a(t,n));return lt(u)});return D(i).pipe(gn(),Af(r))}var hr=class{constructor(t){this.segmentGroup=t||null}},Yo=class extends Error{constructor(t){super(),this.urlTree=t}};function cn(e){return Vt(new hr(e))}function TD(e){return Vt(new y(4e3,!1))}function _D(e){return Vt(xf(!1,de.GuardRejected))}var Qa=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return D(r);if(o.numberOfChildren>1||!o.children[E])return TD(t.redirectTo);o=o.children[E]}}applyRedirectCommands(t,n,r){let o=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n.startsWith("/"))throw new Yo(o);return o}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new at(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(t,u,r,o)}),new O(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},Ka={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function AD(e,t,n,r,o){let i=au(e,t,n);return i.matched?(r=iD(t,r),xD(r,t,n,o).pipe(_(s=>s===!0?i:g({},Ka)))):D(i)}function au(e,t,n){if(t.path==="**")return ND(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?g({},Ka):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||xy)(n,e,t);if(!o)return g({},Ka);let i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ND(e){return{matched:!0,parameters:e.length>0?cf(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function af(e,t,n,r){return n.length>0&&PD(e,n,r)?{segmentGroup:new O(t,OD(r,new O(n,e.children))),slicedSegments:[]}:n.length===0&&FD(e,n,r)?{segmentGroup:new O(e.segments,RD(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new O(e.segments,e.children),slicedSegments:n}}function RD(e,t,n,r){let o={};for(let i of n)if(Ko(e,t,i)&&!r[Ve(i)]){let s=new O([],{});o[Ve(i)]=s}return g(g({},r),o)}function OD(e,t){let n={};n[E]=t;for(let r of e)if(r.path===""&&Ve(r)!==E){let o=new O([],{});n[Ve(r)]=o}return n}function PD(e,t,n){return n.some(r=>Ko(e,t,r)&&Ve(r)!==E)}function FD(e,t,n){return n.some(r=>Ko(e,t,r))}function Ko(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function kD(e,t,n,r){return Ve(e)!==r&&(r===E||!Ko(t,n,e))?!1:au(t,e,n).matched}function LD(e,t,n){return t.length===0&&!e.children[n]}var Ja=class{};function jD(e,t,n,r,o,i,s="emptyOnly"){return new Xa(e,t,n,r,o,s,i).recognize()}var VD=31,Xa=class{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Qa(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new y(4002,`'${t.segmentGroup}'`)}recognize(){let t=af(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(_(n=>{let r=new dr([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},E,this.rootComponentType,null,{}),o=new le(r,n),i=new Wo("",o),s=Gy(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,E).pipe(Xe(r=>{if(r instanceof Yo)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof hr?this.noMatchError(r):r}))}inheritParamsAndData(t,n){let r=t.value,o=nu(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(t,n,r,o){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0).pipe(_(i=>i instanceof le?[i]:[]))}processChildren(t,n,r){let o=[];for(let i of Object.keys(r.children))i==="primary"?o.unshift(i):o.push(i);return U(o).pipe(Ut(i=>{let s=r.children[i],a=sD(n,i);return this.processSegmentGroup(t,a,s,i)}),vi((i,s)=>(i.push(...s),i)),et(null),mi(),q(i=>{if(i===null)return cn(r);let s=Nf(i);return $D(s),D(s)}))}processSegment(t,n,r,o,i,s){return U(n).pipe(Ut(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(Xe(u=>{if(u instanceof hr)return D(null);throw u}))),Re(a=>!!a),Xe(a=>{if(_f(a))return LD(r,o,i)?D(new Ja):cn(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return kD(r,o,i,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):cn(o):cn(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=au(n,o,i);if(!a)return cn(n);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>VD&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe(q(f=>this.processSegment(t,r,n,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){let s=AD(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),s.pipe(Ee(a=>a.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(Ee(({routes:u})=>{let c=r._loadedInjector??t,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new dr(l,f,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,UD(r),Ve(r),r.component??r._loadedComponent??null,r,HD(r)),{segmentGroup:v,slicedSegments:b}=af(n,l,d,u);if(b.length===0&&v.hasChildren())return this.processChildren(c,u,v).pipe(_(P=>P===null?null:new le(h,P)));if(u.length===0&&b.length===0)return D(new le(h,[]));let $=Ve(r)===i;return this.processSegment(c,u,v,b,$?E:i,!0).pipe(_(P=>new le(h,P instanceof le?[P]:[])))}))):cn(n)))}getChildConfig(t,n,r){return n.children?D({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?D({routes:n._loadedRoutes,injector:n._loadedInjector}):SD(t,n,r,this.urlSerializer).pipe(q(o=>o?this.configLoader.loadChildren(t,n).pipe(Y(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):_D(n))):D({routes:[],injector:t})}};function $D(e){e.sort((t,n)=>t.value.outlet===E?-1:n.value.outlet===E?1:t.value.outlet.localeCompare(n.value.outlet))}function BD(e){let t=e.value.routeConfig;return t&&t.path===""}function Nf(e){let t=[],n=new Set;for(let r of e){if(!BD(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=Nf(r.children);t.push(new le(r.value,o))}return t.filter(r=>!n.has(r))}function UD(e){return e.data||{}}function HD(e){return e.resolve||{}}function zD(e,t,n,r,o,i){return q(s=>jD(e,t,n,r,s.extractedUrl,o,i).pipe(_(({state:a,tree:u})=>B(g({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function qD(e,t){return q(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return D(n);let i=new Set(o.map(u=>u.route)),s=new Set;for(let u of i)if(!s.has(u))for(let c of Rf(u))s.add(c);let a=0;return U(s).pipe(Ut(u=>i.has(u)?GD(u,r,e,t):(u.data=nu(u,u.parent,e).resolve,D(void 0))),Y(()=>a++),Ht(1),q(u=>a===s.size?D(n):oe))})}function Rf(e){let t=e.children.map(n=>Rf(n)).flat();return[e,...t]}function GD(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!bf(o)&&(i[pr]=o.title),WD(i,e,t,r).pipe(_(s=>(e._resolvedData=s,e.data=nu(e,e.parent,n).resolve,null)))}function WD(e,t,n,r){let o=_a(e);if(o.length===0)return D({});let i={};return U(o).pipe(q(s=>ZD(e[s],t,n,r).pipe(Re(),Y(a=>{i[s]=a}))),Ht(1),gi(i),Xe(s=>_f(s)?oe:Vt(s)))}function ZD(e,t,n,r){let o=gr(t)??r,i=mn(e,o),s=i.resolve?i.resolve(t,n):Et(o,()=>i(t,n));return lt(s)}function xa(e){return Ee(t=>{let n=e(t);return n?U(n).pipe(_(()=>t)):D(t)})}var Of=(()=>{let t=class t{buildTitle(r){let o,i=r.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===E);return o}getResolvedTitleForRoute(r){return r.data[pr]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(YD),providedIn:"root"});let e=t;return e})(),YD=(()=>{let t=class t extends Of{constructor(r){super(),this.title=r}updateTitle(r){let o=this.buildTitle(r);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(S(tf))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),uu=new A("",{providedIn:"root",factory:()=>({})}),cu=new A(""),QD=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(fa)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return D(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=lt(r.loadComponent()).pipe(_(Pf),Y(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Dn(()=>{this.componentLoaders.delete(r)})),i=new jt(o,()=>new J).pipe(Lt());return this.componentLoaders.set(r,i),i}loadChildren(r,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return D({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=KD(o,this.compiler,r,this.onLoadEndListener).pipe(Dn(()=>{this.childrenLoaders.delete(o)})),a=new jt(s,()=>new J).pipe(Lt());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function KD(e,t,n,r){return lt(e.loadChildren()).pipe(_(Pf),q(o=>o instanceof Pn||Array.isArray(o)?D(o):U(t.compileModuleAsync(o))),_(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(cu,[],{optional:!0,self:!0}).flat()),{routes:s.map(su),injector:i}}))}function JD(e){return e&&typeof e=="object"&&"default"in e}function Pf(e){return JD(e)?e.default:e}var lu=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(XD),providedIn:"root"});let e=t;return e})(),XD=(()=>{let t=class t{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,o){return r}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ew=new A("");var tw=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new J,this.transitionAbortSubject=new J,this.configLoader=p(QD),this.environmentInjector=p(pe),this.urlSerializer=p(tu),this.rootContexts=p(Qo),this.location=p(Qn),this.inputBindingEnabled=p(iu,{optional:!0})!==null,this.titleStrategy=p(Of),this.options=p(uu,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(lu),this.createViewTransition=p(ew,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>D(void 0),this.rootComponentType=null;let r=i=>this.events.next(new ja(i)),o=i=>this.events.next(new Va(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let o=++this.navigationId;this.transitions?.next(B(g(g({},this.transitions.value),r),{id:o}))}setupNavigations(r,o,i){return this.transitions=new Z({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:or,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ie(s=>s.id!==0),_(s=>B(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ee(s=>{let a=!1,u=!1;return D(s).pipe(Ee(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",de.SupersededByNewNavigation),oe;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?B(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Tt(c.id,this.urlSerializer.serialize(c.rawUrl),f,Oa.IgnoredSameUrlNavigation)),c.resolve(null),oe}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return D(c).pipe(Ee(f=>{let h=this.transitions?.getValue();return this.events.next(new ar(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?oe:Promise.resolve(f)}),zD(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),Y(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=B(g({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new zo(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:v,restoredState:b,extras:$}=c,P=new ar(f,this.urlSerializer.serialize(h),v,b);this.events.next(P);let $e=If(this.rootComponentType).snapshot;return this.currentTransition=s=B(g({},c),{targetSnapshot:$e,urlAfterRedirects:h,extras:B(g({},$),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,D(s)}else{let f="";return this.events.next(new Tt(c.id,this.urlSerializer.serialize(c.extractedUrl),f,Oa.IgnoredByUrlHandlingStrategy)),c.resolve(null),oe}}),Y(c=>{let l=new Pa(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),_(c=>(this.currentTransition=s=B(g({},c),{guards:uD(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),yD(this.environmentInjector,c=>this.events.next(c)),Y(c=>{if(s.guardsResult=c.guardsResult,pn(c.guardsResult))throw Sf(this.urlSerializer,c.guardsResult);let l=new Fa(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),Ie(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",de.GuardRejected),!1)),xa(c=>{if(c.guards.canActivateChecks.length)return D(c).pipe(Y(l=>{let d=new ka(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Ee(l=>{let d=!1;return D(l).pipe(qD(this.paramsInheritanceStrategy,this.environmentInjector),Y({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",de.NoDataFromResolver)}}))}),Y(l=>{let d=new La(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),xa(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(Y(h=>{d.component=h}),_(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Fr(l(c.targetSnapshot.root)).pipe(et(null),He(1))}),xa(()=>this.afterPreactivation()),Ee(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?U(d).pipe(_(()=>s)):D(s)}),_(c=>{let l=eD(r.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=B(g({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),Y(()=>{this.events.next(new cr)}),aD(this.rootContexts,r.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),He(1),Y({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ke(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Di(this.transitionAbortSubject.pipe(Y(c=>{throw c}))),Dn(()=>{!a&&!u&&this.cancelNavigationTransition(s,"",de.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Xe(c=>{if(u=!0,Tf(c))this.events.next(new ut(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),rD(c)?this.events.next(new lr(c.url)):s.resolve(!1);else{this.events.next(new ur(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(r.errorHandler(c))}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return oe}))}))}cancelNavigationTransition(r,o,i){let s=new ut(r.id,this.urlSerializer.serialize(r.extractedUrl),o,i);this.events.next(s),r.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}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function nw(e){return e!==or}var rw=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(ow),providedIn:"root"});let e=t;return e})(),eu=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},ow=(()=>{let t=class t extends eu{};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=$s(t)))(i||t)}})(),t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ff=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>p(iw),providedIn:"root"});let e=t;return e})(),iw=(()=>{let t=class t extends Ff{constructor(){super(...arguments),this.location=p(Qn),this.urlSerializer=p(tu),this.options=p(uu,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(lu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new at,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=If(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(r){return this.location.subscribe(o=>{o.type==="popstate"&&r(o.url,o.state)})}handleRouterEvent(r,o){if(r instanceof ar)this.stateMemento=this.createStateMemento();else if(r instanceof Tt)this.rawUrlTree=o.initialUrl;else if(r instanceof zo){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else r instanceof cr?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):r instanceof ut&&(r.code===de.GuardRejected||r.code===de.NoDataFromResolver)?this.restoreHistory(o):r instanceof ur?this.restoreHistory(o,!0):r instanceof Ke&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,o){let i=this.urlSerializer.serialize(r);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=g(g({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=g(g({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(r,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===r.finalUrl&&s===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,o){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:o}:{navigationId:r}}};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=$s(t)))(i||t)}})(),t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),nr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(nr||{});function sw(e,t){e.events.pipe(Ie(n=>n instanceof Ke||n instanceof ut||n instanceof ur||n instanceof Tt),_(n=>n instanceof Ke||n instanceof Tt?nr.COMPLETE:(n instanceof ut?n.code===de.Redirect||n.code===de.SupersededByNewNavigation:!1)?nr.REDIRECTING:nr.FAILED),Ie(n=>n!==nr.REDIRECTING),He(1)).subscribe(()=>{t()})}function aw(e){throw e}var uw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},cw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Jo=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=p(No),this.stateManager=p(Ff),this.options=p(uu,{optional:!0})||{},this.pendingTasks=p(_o),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(tw),this.urlSerializer=p(tu),this.location=p(Qn),this.urlHandlingStrategy=p(lu),this._events=new J,this.errorHandler=this.options.errorHandler||aw,this.navigated=!1,this.routeReuseStrategy=p(rw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(cu,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(iu,{optional:!0}),this.eventsSubscription=new z,this.isNgZoneEnabled=p(H)instanceof H&&H.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof ut&&o.code!==de.Redirect&&o.code!==de.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Ke)this.navigated=!0;else if(o instanceof lr){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||nw(i.source)};this.scheduleNavigation(a,or,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}dw(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),or,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",o)},0)})}navigateToSyncWithBrowser(r,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let c=g({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(r);this.scheduleNavigation(u,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(su),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(r,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:c}=o,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=g(g({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=yf(h)}catch{(typeof r[0]!="string"||!r[0].startsWith("/"))&&(r=[]),f=this.currentUrlTree.root}return Df(f,r,d,l??null)}navigateByUrl(r,o={skipLocationChange:!1}){let i=pn(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,or,null,o)}navigate(r,o={skipLocationChange:!1}){return lw(r),this.navigateByUrl(this.createUrlTree(r,o),o)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,o){let i;if(o===!0?i=g({},uw):o===!1?i=g({},cw):i=o,pn(r))return nf(this.currentUrlTree,r,i);let s=this.parseUrl(r);return nf(this.currentUrlTree,s,i)}removeEmptyProps(r){return Object.entries(r).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(r,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return sw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function lw(e){for(let t=0;t{let t=class t{constructor(r,o,i,s,a,u){this.router=r,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new J,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=r.events.subscribe(l=>{l instanceof Ke&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(r){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",r)}ngOnChanges(r){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(r){r!=null?(this.commands=Array.isArray(r)?r:[r],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(r,o,i,s,a){let u=this.urlTree;if(u===null||this.isAnchorElement&&(r!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let r=this.urlTree;this.href=r!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(r)):null;let o=this.href===null?null:Hl(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(r,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,r,o):i.removeAttribute(s,r)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(o){return new(o||t)(ce(Jo),ce(_t),Bs("tabindex"),ce(Un),ce(Ye),ce(st))},t.\u0275dir=Fn({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&la("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&ca("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Se.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Yn],skipLocationChange:[Se.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Yn],replaceUrl:[Se.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Yn],routerLink:"routerLink"},standalone:!0,features:[sa,tn]});let e=t;return e})(),Xo=(()=>{let t=class t{get isActive(){return this._isActive}constructor(r,o,i,s,a){this.router=r,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ie,this.routerEventsSubscription=r.events.subscribe(u=>{u instanceof Ke&&this.update()})}ngAfterContentInit(){D(this.links.changes,D(null)).pipe($t()).subscribe(r=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let r=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=U(r).pipe($t()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(r){let o=Array.isArray(r)?r:r.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(r){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let r=this.hasActiveLinks();this.classes.forEach(o=>{r?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),r&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==r&&(this._isActive=r,this.cdr.markForCheck(),this.isActiveChange.emit(r))})}isLinkActive(r){let o=fw(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?r.isActive(s,o):!1}}hasActiveLinks(){let r=this.isLinkActive(this.router);return this.link&&r(this.link)||this.links.some(r)}};t.\u0275fac=function(o){return new(o||t)(ce(Jo),ce(Ye),ce(Un),ce(an),ce(ct,8))},t.\u0275dir=Fn({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&Md(s,ct,5),o&2){let a;Sd(a=xd())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[tn]});let e=t;return e})();function fw(e){return!!e.paths}var hw=new A("");function kf(e,...t){return ho([{provide:cu,multi:!0,useValue:e},[],{provide:_t,useFactory:pw,deps:[Jo]},{provide:da,multi:!0,useFactory:mw},t.map(n=>n.\u0275providers)])}function pw(e){return e.routerState.root}function gw(e,t){return{\u0275kind:e,\u0275providers:t}}function mw(){let e=p($n);return t=>{let n=e.get(Zn);if(t!==n.components[0])return;let r=e.get(Jo),o=e.get(vw);e.get(yw)===1&&r.initialNavigation(),e.get(Dw,null,M.Optional)?.setUpPreloading(),e.get(hw,null,M.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var vw=new A("",{factory:()=>new J}),yw=new A("",{providedIn:"root",factory:()=>1});var Dw=new A("");function Lf(){return gw(6,[{provide:st,useClass:zd}])}function ww(e,t){if(e&1&&(k(0,"div",6)(1,"h2",7),W(2),V(),k(3,"p",8),W(4),V(),k(5,"a",9),W(6,"Demo "),nn(),k(7,"svg",10),Ne(8,"path",11),V()()()),e&2){let n=t.$implicit;Ae(2),Mt(n.name),Ae(2),Mt(n.description),Ae(),Hn("href",n.url,Bn)}}var jf=(()=>{let t=class t{constructor(){this.items=[{name:"Hugo",description:"Welcome to Hugo's World! This website showcases the versatility and power of Hugo, a modern open-source static site generator. With Hugo, we've built a comprehensive platform for exploring the world of web development, featuring tutorials, documentation, and resources for developers of all levels. Dive in to learn how to create your own stunning website with Hugo!",url:"https://djvelimir.github.io/blog/"},{name:"Angular",description:"Welcome to our Angular App! This demo showcases the power of Angular's Routing module. With just a few lines of code, we've created a robust and scalable application that navigates between multiple pages. Explore our app and see how easily you can switch between different routes, each with its own unique component and functionality. Whether you're building a simple web page or a complex enterprise application, Angular's Routing module is the perfect tool to get you started.",url:"https://djvelimir.github.io/demo-spa-angular/"},{name:"Vue",description:"Welcome to our example Vue app with Router! In this demo, we've created a simple application that showcases the power of Vue Router. With just a few lines of code, we've built a fully functional app that allows users to navigate between different routes and views. Each route is carefully crafted to demonstrate the flexibility and scalability of Vue Router. Take a closer look and see how you can use Vue Router to build your own impressive web applications.",url:"https://djvelimir.github.io/demo-spa-vue/"},{name:"React",description:"Get started with React and routing in our comprehensive example app. Explore a simple but fully functional React app that utilizes the popular React Router library to manage client-side routing. This example app demonstrates how to set up routes and navigate between pages. Whether you're new to React or just looking to improve your skills, this example app is a great resource for learning how to add robust routing to your React projects.",url:"https://djvelimir.github.io/demo-spa-react/"},{name:"Vite + React",description:"Get started with a powerful React app using TypeScript, Vite, and React Router. This example showcases a fully-fledged React application built with TypeScript for robust type checking and Vite for fast development and zero-config setup. With React Router, navigate through a seamless user interface with easy-to-use routing features. Explore the code and learn how to leverage these popular technologies to build your next-generation web application.",url:"https://djvelimir.github.io/demo-spa-react-vite/"}]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["app-home"]],standalone:!0,features:[ve],decls:10,vars:0,consts:[[1,"text-gray-400","body-font","bg-gray-900"],[1,"container","px-5","py-24","mx-auto"],[1,"flex","flex-col","text-center","w-full","mb-20"],[1,"sm:text-3xl","text-2xl","font-medium","title-font","mb-4","text-white"],[1,"lg:w-2/3","mx-auto","leading-relaxed","text-base"],[1,"flex","flex-wrap"],[1,"xl:w-1/4","lg:w-1/2","md:w-full","px-8","py-6","border-l-2","border-gray-800"],[1,"text-lg","sm:text-xl","text-white","font-medium","title-font","mb-2"],[1,"leading-relaxed","text-base","mb-4"],[1,"text-green-400","inline-flex","items-center",3,"href"],["fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","ml-2"],["d","M5 12h14M12 5l7 7-7 7"]],template:function(o,i){o&1&&(k(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),W(4,"Home"),V(),k(5,"p",4),W(6,"On this homepage, I invite you to take a journey through my digital portfolio, where you'll discover a curated selection of my most impressive projects, each one telling a story of creativity, perseverance, and dedication to excellence. From sleek and intuitive user interfaces to robust and scalable backend architectures, every project is a testament to my ability to bring ideas to life. So, sit back, grab a cup of coffee, and let's dive into the world of code, where creativity meets logic and innovation knows no bounds. Welcome to my digital playground!"),V()(),k(7,"div",5),qn(8,ww,9,3,"div",6,zn),V()()()),o&2&&(Ae(8),Gn(i.items))}});let e=t;return e})();var Vf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["app-page-not-found"]],standalone:!0,features:[ve],decls:7,vars:0,consts:[[1,"h-screen","w-full","flex","flex-col","justify-center","items-center","bg-[#1A2238]"],[1,"text-9xl","font-extrabold","text-white","tracking-widest"],[1,"bg-green-500","text-white","px-2","text-sm","rounded","rotate-12","absolute"],["ariaCurrentWhenActive","page","routerLinkActive","active","routerLink","/home",1,"mt-10","flex","mx-auto","text-white","bg-green-500","border-0","py-2","px-8","focus:outline-none","hover:bg-green-600","rounded","text-lg"]],template:function(o,i){o&1&&(k(0,"main",0)(1,"h1",1),W(2,"404"),V(),k(3,"div",2),W(4," Page Not Found "),V(),k(5,"button",3),W(6,"Go Home"),V()())},dependencies:[ct,Xo]});let e=t;return e})();var $f=[{path:"home",title:"Home",component:jf},{path:"",redirectTo:"/home",pathMatch:"full"},{path:"**",title:"Page Not Found",component:Vf}];var Bf={providers:[kf($f,Lf())]};var Uf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["app-navbar"]],standalone:!0,features:[ve],decls:10,vars:0,consts:[[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","mx-auto","flex","flex-wrap","p-5","flex-col","md:flex-row","items-center"],["ariaCurrentWhenActive","page","routerLink","/home",1,"flex","title-font","font-medium","items-center","text-white","mb-4","md:mb-0"],["xmlns","http://www.w3.org/2000/svg","fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-10","h-10","text-white","p-2","bg-green-500","rounded-full"],["d","M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"],[1,"ml-3","text-xl"],[1,"md:ml-auto","flex","flex-wrap","items-center","text-base","justify-center"],["ariaCurrentWhenActive","page","routerLinkActive","active","routerLink","/home",1,"mr-5","hover:text-white"]],template:function(o,i){o&1&&(k(0,"header",0)(1,"div",1)(2,"a",2),nn(),k(3,"svg",3),Ne(4,"path",4),V(),Do(),k(5,"span",5),W(6,"djvelimir.github.io"),V()(),k(7,"nav",6)(8,"a",7),W(9,"Home"),V()()()())},dependencies:[ct,Xo],styles:[".active[_ngcontent-%COMP%]{border-bottom:2px solid rgb(34 197 94/var(--tw-bg-opacity));transform:scale(1.1);transition:border-bottom .3s ease,color .3s ease,transform .3s ease}"]});let e=t;return e})();function Cw(e,t){if(e&1&&(k(0,"li")(1,"a",14),W(2),V()()),e&2){let n=t.$implicit;Ae(),Hn("href",n.url,Bn),Ae(),Mt(n.name)}}function Iw(e,t){if(e&1&&(k(0,"div",8)(1,"h2",12),W(2),V(),k(3,"nav",13)(4,"ul"),qn(5,Cw,3,2,"li",null,zn),V()()()),e&2){let n=t.$implicit;Ae(2),Mt(n.name),Ae(3),Gn(n.items)}}var Hf=(()=>{let t=class t{constructor(){this.categories=[{name:"Frontend",items:[{name:"Hugo",url:"https://github.com/djvelimir/blog"},{name:"Angular",url:"https://github.com/djvelimir/demo-spa-angular"},{name:"Vue",url:"https://github.com/djvelimir/demo-spa-vue"},{name:"React",url:"https://github.com/djvelimir/demo-spa-react"},{name:"Vite + React",url:"https://github.com/djvelimir/demo-spa-react-vite"}]},{name:"Java & Kotlin",items:[{name:"Java - CLI",url:"https://github.com/djvelimir/demo-java-cli"},{name:"Java - Swing",url:"https://github.com/djvelimir/demo-java-swing"},{name:"Java - FX",url:"https://github.com/djvelimir/demo-java-fx"},{name:"Java - Spring Boot",url:"https://github.com/djvelimir/demo-java-spring-boot"},{name:"Kotlin - CLI",url:"https://github.com/djvelimir/demo-kotlin-cli"}]},{name:".NET",items:[{name:"C# .NET - CLI",url:"https://github.com/djvelimir/demo-dotnet-cli"},{name:"C# .NET - Benchmark",url:"https://github.com/djvelimir/demo-dotnet-benchmark"},{name:"C# .NET - WebApi",url:"https://github.com/djvelimir/demo-dotnet-web-api"}]},{name:"Mobile",items:[{name:"Android",url:"https://github.com/djvelimir/demo-mobile-android"},{name:"iOS",url:"https://github.com/djvelimir/demo-mobile-ios"}]},{name:"Misc",items:[{name:"C++ - CLI",url:"https://github.com/djvelimir/demo-cpp-cli"},{name:"Rust",url:"https://github.com/djvelimir/demo-rust"},{name:"Go (Golang)",url:"https://github.com/djvelimir/demo-go"},{name:"Python - CLI",url:"https://github.com/djvelimir/demo-python-cli"},{name:"Node.js",url:"https://github.com/djvelimir/demo-node"}]}]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["app-footer"]],standalone:!0,features:[ve],decls:15,vars:0,consts:[[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","px-5","py-24","mx-auto","flex","md:items-center","lg:items-start","md:flex-row","md:flex-nowrap","flex-wrap","flex-col"],[1,"w-64","flex-shrink-0","md:mx-0","mx-auto","text-center","md:text-left"],["ariaCurrentWhenActive","page","routerLink","/home",1,"flex","title-font","font-medium","items-center","md:justify-start","justify-center","text-white"],["xmlns","http://www.w3.org/2000/svg","fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-10","h-10","text-white","p-2","bg-green-500","rounded-full"],["d","M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"],[1,"ml-3","text-xl"],[1,"flex-grow","flex","flex-wrap","md:pl-20","-mb-10","md:mt-0","mt-10","md:text-left","text-center"],[1,"lg:w-1/4","md:w-1/2","w-full","px-4"],[1,"bg-gray-800","bg-opacity-75"],[1,"container","mx-auto","py-4","px-5","flex","flex-wrap","flex-col","sm:flex-row"],[1,"text-gray-400","text-sm","text-center","sm:text-left"],[1,"title-font","font-medium","text-white","tracking-widest","text-sm","mb-3"],[1,"list-none","mb-10"],[1,"text-gray-400","hover:text-white",3,"href"]],template:function(o,i){o&1&&(k(0,"footer",0)(1,"div",1)(2,"div",2)(3,"a",3),nn(),k(4,"svg",4),Ne(5,"path",5),V(),Do(),k(6,"span",6),W(7,"djvelimir.github.io"),V()()(),k(8,"div",7),qn(9,Iw,7,1,"div",8,zn),V()(),k(11,"div",9)(12,"div",10)(13,"p",11),W(14,"\xA9 2024 djvelimir.github.io"),V()()()()),o&2&&(Ae(9),Gn(i.categories))},dependencies:[ct]});let e=t;return e})();var zf=(()=>{let t=class t{constructor(){this.title="djvelimir.github.io"}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=ge({type:t,selectors:[["app-root"]],standalone:!0,features:[ve],decls:3,vars:0,template:function(o,i){o&1&&Ne(0,"app-navbar")(1,"router-outlet")(2,"app-footer")},dependencies:[ou,Uf,Hf]});let e=t;return e})();ef(zf,Bf).catch(e=>console.error(e));