From 0fa15f62323bfc40012bf4b4ec408164c05709ae Mon Sep 17 00:00:00 2001 From: Daniel Palme Date: Fri, 28 Jun 2024 21:48:56 +0200 Subject: [PATCH] Release 5.3.7 --- .github/workflows/ci.yml | 4 ++-- docs/main-HUKXCP2Y.js | 2 +- global.json | 2 +- src/AzureDevopsTask/ReportGenerator/task.json | 2 +- src/AzureDevopsTask/vss-extension.json | 2 +- src/Deployment/nuget/Readme_ReportGenerator.md | 6 +++--- .../nuget/Readme_dotnet-reportgenerator-globaltool.md | 6 +++--- .../ReportGenerator.Console.NetCore.csproj | 4 ++-- .../ReportGenerator.Console.Net.csproj | 4 ++-- .../ReportGenerator.Core.Test.csproj | 4 ++-- src/ReportGenerator.Core/ReportGenerator.Core.csproj | 4 ++-- .../ReportGenerator.DotnetCorePluginLoader.csproj | 4 ++-- .../ReportGenerator.DotnetGlobalTool.csproj | 4 ++-- src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj | 4 ++-- src/build.proj | 2 +- 15 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2776e2f8..e0d7899a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,8 +6,8 @@ env: solution: 'src\ReportGenerator.sln' buildPlatform: Any CPU buildConfiguration: Release - version: 5.3.6 - dotnetSDKVersion: 8.0.300 + version: 5.3.7 + dotnetSDKVersion: 8.0.302 nodeVersion: 20 jobs: diff --git a/docs/main-HUKXCP2Y.js b/docs/main-HUKXCP2Y.js index 135d1a1b..0309b924 100644 --- a/docs/main-HUKXCP2Y.js +++ b/docs/main-HUKXCP2Y.js @@ -5,7 +5,7 @@ ${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` `+t.message,i,r,n),t[ay]=i,t[ko]=null,t}function py(t,e,r,n=null){t=t&&t.charAt(0)===` `&&t.charAt(1)==cy?t.slice(2):t;let i=ke(e);if(Array.isArray(e))i=e.map(ke).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):ke(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(ly,` `)}`}var os=Zf(Uf("Optional"),8);var hc=Zf(Uf("SkipSelf"),4);function cr(t,e){let r=t.hasOwnProperty(Oo);return r?t[Oo]:null}function my(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?pc(r,e):e(r))}function Yf(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Po(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function vy(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function yy(t,e,r){let n=ui(t,e);return n>=0?t[n|1]=r:(n=~n,vy(t,n,e,r)),n}function rl(t,e){let r=ui(t,e);if(r>=0)return t[r|1]}function ui(t,e){return Dy(t,e,1)}function Dy(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?m="":m=i[h+1].toLowerCase(),n&2&&d!==m){if(ct(n))return!1;s=!0}}}}return ct(n)||s}function ct(t){return(t&1)===0}function Iy(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!ct(s)&&(e+=af(o,i),i=""),n=s,o=o||!ct(n);r++}return i!==""&&(e+=af(o,i)),e}function Ay(t){return t.map(Ty).join(",")}function Ny(t){let e=[],r=[],n=1,i=2;for(;n{let e=oh(t),r=Q(b({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Jf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ct.Emulated,styles:t.styles||Xe,_:null,schemas:t.schemas||null,tView:null,id:""});sh(r);let n=t.dependencies;return r.directiveDefs=cf(n,!1),r.pipeDefs=cf(n,!0),r.id=ky(r),r})}function Ry(t){return rn(t)||th(t)}function Oy(t){return t!==null}function ze(t){return ci(()=>({type:t.type,bootstrap:t.bootstrap||Xe,declarations:t.declarations||Xe,imports:t.imports||Xe,exports:t.exports||Xe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function lf(t,e){if(t==null)return ur;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=fr.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==fr.None?[n,a]:n,e[o]=s):r[o]=n}return r}function ne(t){return ci(()=>{let e=oh(t);return sh(e),e})}function rn(t){return t[ey]||null}function th(t){return t[ty]||null}function nh(t){return t[ny]||null}function rh(t){let e=rn(t)||th(t)||nh(t);return e!==null?e.standalone:!1}function ih(t,e){let r=t[ry]||null;if(!r&&e===!0)throw new Error(`Type ${ke(t)} does not have '\u0275mod' property.`);return r}function oh(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||ur,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Xe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:lf(t.inputs,e),outputs:lf(t.outputs),debugInfo:null}}function sh(t){t.features?.forEach(e=>e(t))}function cf(t,e){if(!t)return null;let r=e?nh:Ry;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Oy)}function ky(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function ss(t){return{\u0275providers:t}}function gc(...t){return{\u0275providers:ah(!0,t),\u0275fromNgModule:!0}}function ah(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return pc(e,s=>{let a=s;wl(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&lh(i,o),r}function lh(t,e){for(let r=0;r{e(o,n)})}}function wl(t,e,r,n){if(t=Oe(t),!t)return!1;let i=null,o=tf(t),s=!o&&rn(t);if(!o&&!s){let l=t.ngModule;if(o=tf(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of l)wl(d,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let d;try{pc(o.imports,h=>{wl(h,e,r,n)&&(d||=[],d.push(h))})}finally{}d!==void 0&&lh(d,e)}if(!a){let d=cr(i)||(()=>new i);e({provide:i,useFactory:d,deps:Xe},i),e({provide:Kf,useValue:i,multi:!0},i),e({provide:dr,useValue:()=>I(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let d=t;vc(l,h=>{e(h,d)})}}else return!1;return i!==t&&t.providers!==void 0}function vc(t,e){for(let r of t)zf(r)&&(r=r.\u0275providers),Array.isArray(r)?vc(r,e):e(r)}var Py=te({provide:String,useValue:te});function ch(t){return t!==null&&typeof t=="object"&&Py in t}function Fy(t){return!!(t&&t.useExisting)}function Ly(t){return!!(t&&t.useFactory)}function hr(t){return typeof t=="function"}function Vy(t){return!!t.useClass}var as=new x(""),So={},jy={},il;function yc(){return il===void 0&&(il=new Fo),il}var Me=class{},ii=class extends Me{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,El(e,s=>this.processProvider(s)),this.records.set(Qf,ir(void 0,this)),i.has("environment")&&this.records.set(Me,ir(void 0,this));let o=this.records.get(as);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Kf,Xe,H.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Y(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Y(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Xt(this),n=Je(void 0),i;try{return e()}finally{Xt(r),Je(n)}}get(e,r=ni,n=H.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(rf))return e[rf](this);n=is(n);let i,o=Xt(this),s=Je(void 0);try{if(!(n&H.SkipSelf)){let l=this.records.get(e);if(l===void 0){let d=Gy(e)&&ns(e);d&&this.injectableDefInScope(d)?l=ir(bl(e),So):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&H.Self?yc():this.parent;return r=n&H.Optional&&r===ni?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[ko]=a[ko]||[]).unshift(ke(e)),o)throw a;return hy(a,e,"R3InjectorError",this.source)}else throw a}finally{Je(s),Xt(o)}}resolveInjectorInitializers(){let e=Y(null),r=Xt(this),n=Je(void 0),i;try{let o=this.get(dr,Xe,H.Self);for(let s of o)s()}finally{Xt(r),Je(n),Y(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(ke(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(e){e=Oe(e);let r=hr(e)?e:Oe(e&&e.provide),n=By(e);if(!hr(e)&&e.multi===!0){let i=this.records.get(r);i||(i=ir(void 0,So,!0),i.factory=()=>Dl(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=Y(null);try{return r.value===So&&(r.value=jy,r.value=r.factory()),typeof r.value=="object"&&r.value&&Hy(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Y(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Oe(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function bl(t){let e=ns(t),r=e!==null?e.factory:cr(t);if(r!==null)return r;if(t instanceof x)throw new M(204,!1);if(t instanceof Function)return Uy(t);throw new M(204,!1)}function Uy(t){if(t.length>0)throw new M(204,!1);let r=Jv(t);return r!==null?()=>r.factory(t):()=>new t}function By(t){if(ch(t))return ir(void 0,t.useValue);{let e=uh(t);return ir(e,So)}}function uh(t,e,r){let n;if(hr(t)){let i=Oe(t);return cr(i)||bl(i)}else if(ch(t))n=()=>Oe(t.useValue);else if(Ly(t))n=()=>t.useFactory(...Dl(t.deps||[]));else if(Fy(t))n=()=>I(Oe(t.useExisting));else{let i=Oe(t&&(t.useClass||t.provide));if($y(t))n=()=>new i(...Dl(t.deps));else return cr(i)||bl(i)}return n}function ir(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function $y(t){return!!t.deps}function Hy(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Gy(t){return typeof t=="function"||typeof t=="object"&&t instanceof x}function El(t,e){for(let r of t)Array.isArray(r)?El(r,e):r&&zf(r)?El(r.\u0275providers,e):e(r)}function qe(t,e){t instanceof ii&&t.assertNotDestroyed();let r,n=Xt(t),i=Je(void 0);try{return e()}finally{Xt(n),Je(i)}}function dh(){return qf()!==void 0||uy()!=null}function zy(t){if(!dh())throw new M(-203,!1)}function qy(t){return typeof t=="function"}var Ft=0,U=1,k=2,Te=3,ut=4,dt=5,Lo=6,Vo=7,nt=8,pr=9,wt=10,pe=11,oi=12,uf=13,br=14,bt=15,xn=16,or=17,Ot=18,ls=19,fh=20,tn=21,ol=22,et=23,rt=25,hh=1;var Sn=7,jo=8,mr=9,Ve=10,Uo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Uo||{});function nn(t){return Array.isArray(t)&&typeof t[hh]=="object"}function Lt(t){return Array.isArray(t)&&t[hh]===!0}function Dc(t){return(t.flags&4)!==0}function cs(t){return t.componentOffset>-1}function us(t){return(t.flags&1)===1}function on(t){return!!t.template}function _l(t){return(t[k]&512)!==0}var Il=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function ph(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Vt(){return mh}function mh(t){return t.type.prototype.ngOnChanges&&(t.setInput=Zy),Wy}Vt.ngInherit=!0;function Wy(){let t=vh(this),e=t?.current;if(e){let r=t.previous;if(r===ur)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Zy(t,e,r,n,i){let o=this.declaredInputs[n],s=vh(t)||Yy(t,{previous:ur,current:null}),a=s.current||(s.current={}),l=s.previous,d=l[o];a[o]=new Il(d&&d.currentValue,r,l===ur),ph(t,e,i,r)}var gh="__ngSimpleChanges__";function vh(t){return t[gh]||null}function Yy(t,e){return t[gh]=e}var df=null;var yt=function(t,e,r){df?.(t,e,r)},Qy="svg",Ky="math";function Et(t){for(;Array.isArray(t);)t=t[Ft];return t}function yh(t,e){return Et(e[t])}function ot(t,e){return Et(e[t.index])}function Cc(t,e){return t.data[e]}function Jy(t,e){return t[e]}function ln(t,e){let r=e[t];return nn(r)?r:r[Ft]}function Xy(t){return(t[k]&4)===4}function wc(t){return(t[k]&128)===128}function e0(t){return Lt(t[Te])}function gr(t,e){return e==null?null:t[e]}function Dh(t){t[or]=0}function Ch(t){t[k]&1024||(t[k]|=1024,wc(t)&&ds(t))}function t0(t,e){for(;t>0;)e=e[br],t--;return e}function si(t){return!!(t[k]&9216||t[et]?.dirty)}function xl(t){t[wt].changeDetectionScheduler?.notify(7),t[k]&64&&(t[k]|=1024),si(t)&&ds(t)}function ds(t){t[wt].changeDetectionScheduler?.notify(0);let e=Mn(t);for(;e!==null&&!(e[k]&8192||(e[k]|=8192,!wc(e)));)e=Mn(e)}function wh(t,e){if((t[k]&256)===256)throw new M(911,!1);t[tn]===null&&(t[tn]=[]),t[tn].push(e)}function n0(t,e){if(t[tn]===null)return;let r=t[tn].indexOf(e);r!==-1&&t[tn].splice(r,1)}function Mn(t){let e=t[Te];return Lt(e)?e[Te]:e}var G={lFrame:Ah(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var bh=!1;function r0(){return G.lFrame.elementDepthCount}function i0(){G.lFrame.elementDepthCount++}function o0(){G.lFrame.elementDepthCount--}function Eh(){return G.bindingsEnabled}function s0(){return G.skipHydrationRootTNode!==null}function a0(t){return G.skipHydrationRootTNode===t}function l0(){G.skipHydrationRootTNode=null}function Z(){return G.lFrame.lView}function be(){return G.lFrame.tView}function L(t){return G.lFrame.contextLView=t,t[nt]}function V(t){return G.lFrame.contextLView=null,t}function Se(){let t=_h();for(;t!==null&&t.type===64;)t=t.parent;return t}function _h(){return G.lFrame.currentTNode}function c0(){let t=G.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Pn(t,e){let r=G.lFrame;r.currentTNode=t,r.isParent=e}function bc(){return G.lFrame.isParent}function Ih(){G.lFrame.isParent=!1}function u0(){return G.lFrame.contextLView}function xh(){return bh}function ff(t){bh=t}function Ec(){let t=G.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function d0(t){return G.lFrame.bindingIndex=t}function di(){return G.lFrame.bindingIndex++}function f0(t){let e=G.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function h0(){return G.lFrame.inI18n}function p0(t,e){let r=G.lFrame;r.bindingIndex=r.bindingRootIndex=t,Sl(e)}function m0(){return G.lFrame.currentDirectiveIndex}function Sl(t){G.lFrame.currentDirectiveIndex=t}function g0(t){let e=G.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Sh(){return G.lFrame.currentQueryIndex}function _c(t){G.lFrame.currentQueryIndex=t}function v0(t){let e=t[U];return e.type===2?e.declTNode:e.type===1?t[dt]:null}function Mh(t,e,r){if(r&H.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&H.Host);)if(i=v0(o),i===null||(o=o[br],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=G.lFrame=Th();return n.currentTNode=e,n.lView=t,!0}function Ic(t){let e=Th(),r=t[U];G.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Th(){let t=G.lFrame,e=t===null?null:t.child;return e===null?Ah(t):e}function Ah(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Nh(){let t=G.lFrame;return G.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Rh=Nh;function xc(){let t=Nh();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function y0(t){return(G.lFrame.contextLView=t0(t,G.lFrame.contextLView))[nt]}function Er(){return G.lFrame.selectedIndex}function Tn(t){G.lFrame.selectedIndex=t}function fs(){let t=G.lFrame;return Cc(t.tView,t.selectedIndex)}function D0(){return G.lFrame.currentNamespace}var Oh=!0;function hs(){return Oh}function ps(t){Oh=t}function C0(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=mh(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function ms(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[l]<0&&(t[or]+=65536),(a>14>16&&(t[k]&3)===e&&(t[k]+=16384,hf(a,o)):hf(a,o)}var lr=-1,An=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function b0(t){return t instanceof An}function E0(t){return(t.flags&8)!==0}function _0(t){return(t.flags&16)!==0}var al={},Ml=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=is(n);let i=this.injector.get(e,al,n);return i!==al||r===al?i:this.parentInjector.get(e,r,n)}};function Ph(t){return t!==lr}function Bo(t){return t&32767}function I0(t){return t>>16}function $o(t,e){let r=I0(t),n=e;for(;r>0;)n=n[br],r--;return n}var Tl=!0;function pf(t){let e=Tl;return Tl=t,e}var x0=256,Fh=x0-1,Lh=5,S0=0,Dt={};function M0(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(ti)&&(n=r[ti]),n==null&&(n=r[ti]=S0++);let i=n&Fh,o=1<>Lh)]|=o}function Ho(t,e){let r=Vh(t,e);if(r!==-1)return r;let n=e[U];n.firstCreatePass&&(t.injectorIndex=e.length,ll(n.data,t),ll(e,null),ll(n.blueprint,null));let i=Sc(t,e),o=t.injectorIndex;if(Ph(i)){let s=Bo(i),a=$o(i,e),l=a[U].data;for(let d=0;d<8;d++)e[o+d]=a[s+d]|l[s+d]}return e[o+8]=i,o}function ll(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Vh(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Sc(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Hh(i),n===null)return lr;if(r++,i=i[br],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return lr}function Al(t,e,r){M0(t,e,r)}function T0(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,m=n?a:a+h,v=i?a+h:d;for(let y=m;y=l&&w.type===r)return y}if(i){let y=s[l];if(y&&on(y)&&y.type===r)return l}return null}function Nn(t,e,r,n){let i=t[r],o=e.data;if(b0(i)){let s=i;s.resolving&&oy(iy(o[r]));let a=pf(s.canSeeViewProviders);s.resolving=!0;let l,d=s.injectImpl?Je(s.injectImpl):null,h=Mh(t,n,H.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&C0(r,o[r],e)}finally{d!==null&&Je(d),pf(a),s.resolving=!1,Rh()}}return i}function N0(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ti)?t[ti]:void 0;return typeof e=="number"?e>=0?e&Fh:R0:e}function mf(t,e,r){let n=1<>Lh)]&n)}function gf(t,e){return!(t&H.Self)&&!(t&H.Host&&e)}var In=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Bh(this._tNode,this._lView,e,is(n),r)}};function R0(){return new In(Se(),Z())}function ft(t){return ci(()=>{let e=t.prototype.constructor,r=e[Oo]||Nl(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[Oo]||Nl(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Nl(t){return Bf(t)?()=>{let e=Nl(Oe(t));return e&&e()}:cr(t)}function O0(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[k]&2048&&!(s[k]&512);){let a=$h(o,s,r,n|H.Self,Dt);if(a!==Dt)return a;let l=o.parent;if(!l){let d=s[fh];if(d){let h=d.get(r,Dt,n);if(h!==Dt)return h}l=Hh(s),s=s[br]}o=l}return i}function Hh(t){let e=t[U],r=e.type;return r===2?e.declTNode:r===1?t[dt]:null}function Mc(t){return T0(Se(),t)}function vf(t,e=null,r=null,n){let i=Gh(t,e,r,n);return i.resolveInjectorInitializers(),i}function Gh(t,e=null,r=null,n,i=new Set){let o=[r||Xe,gc(t)];return n=n||(typeof t=="object"?void 0:ke(t)),new ii(o,e||yc(),n||null,i)}var _n=class _n{static create(e,r){if(Array.isArray(e))return vf({name:""},r,e,"");{let n=e.name??"";return vf({name:n},e.parent,e.providers,n)}}};_n.THROW_IF_NOT_FOUND=ni,_n.NULL=new Fo,_n.\u0275prov=_({token:_n,providedIn:"any",factory:()=>I(Qf)}),_n.__NG_ELEMENT_ID__=-1;var it=_n;var k0=new x("");k0.__NG_ELEMENT_ID__=t=>{let e=Se();if(e===null)throw new M(204,!1);if(e.type&2)return e.value;if(t&H.Optional)return null;throw new M(204,!1)};var P0="ngOriginalError";function cl(t){return t[P0]}var _t=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&cl(e);for(;r&&cl(r);)r=cl(r);return r||null}},zh=new x("",{providedIn:"root",factory:()=>C(_t).handleError.bind(void 0)}),Tc=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=F0,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Rl=class extends Tc{constructor(e){super(),this._lView=e}onDestroy(e){return wh(this._lView,e),()=>n0(this._lView,e)}};function F0(){return new Rl(Z())}function L0(){return _r(Se(),Z())}function _r(t,e){return new Ae(ot(t,e))}var Ae=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=L0;let t=e;return t})();function V0(t){return t instanceof Ae?t.nativeElement:t}var jt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Ol=class extends Ce{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,dh()&&(this.destroyRef=C(Tc,{optional:!0})??void 0,this.pendingTasks=C(jt,{optional:!0})??void 0)}emit(e){let r=Y(null);try{super.next(e)}finally{Y(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ve&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},he=Ol;function j0(){return this._results[Symbol.iterator]()}var kl=class t{get changes(){return this._changes??=new he}constructor(e=!1){this._emitDistinctChangesOnly=e,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 r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=j0)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=gy(e);(this._changesDetected=!my(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function qh(t){return(t.flags&128)===128}var Wh=new Map,U0=0;function B0(){return U0++}function $0(t){Wh.set(t[ls],t)}function H0(t){Wh.delete(t[ls])}var yf="__ngContext__";function sn(t,e){nn(e)?(t[yf]=e[ls],$0(e)):t[yf]=e}function Zh(t){return Qh(t[oi])}function Yh(t){return Qh(t[ut])}function Qh(t){for(;t!==null&&!Lt(t);)t=t[ut];return t}var Pl;function Kh(t){Pl=t}function G0(){if(Pl!==void 0)return Pl;if(typeof document<"u")return document;throw new M(210,!1)}var gs=new x("",{providedIn:"root",factory:()=>z0}),z0="ng",Ac=new x(""),It=new x("",{providedIn:"platform",factory:()=>"unknown"});var Nc=new x("",{providedIn:"root",factory:()=>G0().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var q0="h",W0="b";var Z0=()=>null;function Rc(t,e,r=!1){return Z0(t,e,r)}var Jh=!1,Y0=new x("",{providedIn:"root",factory:()=>Jh});var _o;function Q0(){if(_o===void 0&&(_o=null,tt.trustedTypes))try{_o=tt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return _o}function Df(t){return Q0()?.createScriptURL(t)||t}var Go=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${jf})`}};function fi(t){return t instanceof Go?t.changingThisBreaksApplicationSecurity:t}function Oc(t,e){let r=K0(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${jf})`)}return r===e}function K0(t){return t instanceof Go&&t.getTypeName()||null}var J0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xh(t){return t=String(t),t.match(J0)?t:"unsafe:"+t}var vs=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(vs||{});function Ir(t){let e=tp();return e?e.sanitize(vs.URL,t)||"":Oc(t,"URL")?fi(t):Xh(rs(t))}function X0(t){let e=tp();if(e)return Df(e.sanitize(vs.RESOURCE_URL,t)||"");if(Oc(t,"ResourceURL"))return Df(fi(t));throw new M(904,!1)}function eD(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?X0:Ir}function ep(t,e,r){return eD(e,r)(t)}function tp(){let t=Z();return t&&t[wt].sanitizer}var tD=/^>|^->||--!>|)/g,rD="\u200B$1\u200B";function iD(t){return t.replace(tD,e=>e.replace(nD,rD))}function np(t){return t instanceof Function?t():t}function oD(t){return(t??C(it)).get(It)==="browser"}var kt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(kt||{}),sD;function kc(t,e){return sD(t,e)}function sr(t,e,r,n,i){if(n!=null){let o,s=!1;Lt(n)?o=n:nn(n)&&(s=!0,n=n[Ft]);let a=Et(n);t===0&&r!==null?i==null?sp(e,r,a):qo(e,r,a,i||null,!0):t===1&&r!==null?qo(e,r,a,i||null,!0):t===2?ED(e,a,s):t===3&&e.destroyNode(a),o!=null&&ID(e,t,o,r,i)}}function aD(t,e){return t.createText(e)}function lD(t,e,r){t.setValue(e,r)}function cD(t,e){return t.createComment(iD(e))}function rp(t,e,r){return t.createElement(e,r)}function uD(t,e){ip(t,e),e[Ft]=null,e[dt]=null}function dD(t,e,r,n,i,o){n[Ft]=i,n[dt]=e,Ds(t,n,r,1,i,o)}function ip(t,e){e[wt].changeDetectionScheduler?.notify(8),Ds(t,e,e[pe],2,null,null)}function fD(t){let e=t[oi];if(!e)return ul(t[U],t);for(;e;){let r=null;if(nn(e))r=e[oi];else{let n=e[Ve];n&&(r=n)}if(!r){for(;e&&!e[ut]&&e!==t;)nn(e)&&ul(e[U],e),e=e[Te];e===null&&(e=t),nn(e)&&ul(e[U],e),r=e&&e[ut]}e=r}}function hD(t,e,r,n){let i=Ve+n,o=r.length;n>0&&(r[i-1][ut]=e),n0&&(t[r-1][ut]=n[ut]);let o=Po(t,Ve+e);uD(n[U],n);let s=o[Ot];s!==null&&s.detachView(o[U]),n[Te]=null,n[ut]=null,n[k]&=-129}return n}function Fc(t,e){if(!(e[k]&256)){let r=e[pe];r.destroyNode&&Ds(t,e,r,3,null,null),fD(e)}}function ul(t,e){if(e[k]&256)return;let r=Y(null);try{e[k]&=-129,e[k]|=256,e[et]&&La(e[et]),mD(t,e),pD(t,e),e[U].type===1&&e[pe].destroy();let n=e[xn];if(n!==null&&Lt(e[Te])){n!==e[Te]&&Pc(n,e);let i=e[Ot];i!==null&&i.detachView(t)}H0(e)}finally{Y(r)}}function pD(t,e){let r=t.cleanup,n=e[Vo];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Vo]=null);let i=e[tn];if(i!==null){e[tn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Ct.None||o===Ct.Emulated)return null}return ot(n,r)}}function qo(t,e,r,n,i){t.insertBefore(e,r,n,i)}function sp(t,e,r){t.appendChild(e,r)}function Cf(t,e,r,n,i){n!==null?qo(t,e,r,n,i):sp(t,e,r)}function yD(t,e,r,n){t.removeChild(e,r,n)}function Lc(t,e){return t.parentNode(e)}function DD(t,e){return t.nextSibling(e)}function CD(t,e,r){return bD(t,e,r)}function wD(t,e,r){return t.type&40?ot(t,r):null}var bD=wD,wf;function ys(t,e,r,n){let i=gD(t,n,e),o=e[pe],s=n.parent||e[dt],a=CD(s,n,e);if(i!=null)if(Array.isArray(r))for(let l=0;lrt&&up(t,e,rt,!1),yt(s?2:0,i),r(n,i)}finally{Tn(o),yt(s?3:1,i)}}function jc(t,e,r){if(Dc(e)){let n=Y(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function kD(t,e,r,n){let i=Cp(e);i.push(r),t.firstCreatePass&&wp(t).push(n,i.length-1)}function PD(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return s0()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function bf(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=fr.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let d=o;if(i!==null){if(!i.hasOwnProperty(o))continue;d=i[o]}t===0?Ef(n,r,d,a,l):Ef(n,r,d,a)}return n}function Ef(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function FD(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,d=null;for(let h=n;h0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function BD(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;cs(r)&&ZD(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||Ho(r,e),sn(n,e);let s=r.initialInputs;for(let a=i;a{ds(t.lView)},consumerOnSignalRead(){this.lView[et]=this}});function uC(t){let e=t[et]??Object.create(dC);return e.lView=t,e}var dC=Q(b({},ka),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Mn(t.lView);for(;e&&!xp(e[U]);)e=Mn(e);e&&Ch(e)},consumerOnSignalRead(){this.lView[et]=this}});function xp(t){return t.type!==2}var fC=100;function Sp(t,e=!0,r=0){let n=t[wt],i=n.rendererFactory,o=!1;o||i.begin?.();try{hC(t,r)}catch(s){throw e&&bp(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function hC(t,e){let r=xh();try{ff(!0),Ul(t,e);let n=0;for(;si(t);){if(n===fC)throw new M(103,!1);n++,Ul(t,1)}}finally{ff(r)}}function pC(t,e,r,n){let i=e[k];if((i&256)===256)return;let o=!1,s=!1;!o&&e[wt].inlineEffectRunner?.flush(),Ic(e);let a=!0,l=null,d=null;o||(xp(t)?(d=sC(e),l=Pa(d)):xd()===null?(a=!1,d=uC(e),l=Pa(d)):e[et]&&(La(e[et]),e[et]=null));try{Dh(e),d0(t.bindingStartIndex),r!==null&&pp(t,e,r,2,n);let h=(i&3)===3;if(!o)if(h){let y=t.preOrderCheckHooks;y!==null&&Mo(e,y,null)}else{let y=t.preOrderHooks;y!==null&&To(e,y,0,null),sl(e,0)}if(s||mC(e),Mp(e,0),t.contentQueries!==null&&Dp(t,e),!o)if(h){let y=t.contentCheckHooks;y!==null&&Mo(e,y)}else{let y=t.contentHooks;y!==null&&To(e,y,1),sl(e,1)}MD(t,e);let m=t.components;m!==null&&Ap(e,m,0);let v=t.viewQuery;if(v!==null&&Vl(2,v,n),!o)if(h){let y=t.viewCheckHooks;y!==null&&Mo(e,y)}else{let y=t.viewHooks;y!==null&&To(e,y,2),sl(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[ol]){for(let y of e[ol])y();e[ol]=null}o||(e[k]&=-73)}catch(h){throw o||ds(e),h}finally{d!==null&&(Sd(d,l),a&&lC(d)),xc()}}function Mp(t,e){for(let r=Zh(t);r!==null;r=Yh(r))for(let n=Ve;n-1&&(zo(e,n),Po(r,n))}this._attachedToViewContainer=!1}Fc(this._lView[U],this._lView)}onDestroy(e){wh(this._lView,e)}markForCheck(){Wc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[k]&=-129}reattach(){xl(this._lView),this._lView[k]|=128}detectChanges(){this._lView[k]|=1024,Sp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=_l(this._lView),r=this._lView[xn];r!==null&&!e&&Pc(r,this._lView),ip(this._lView[U],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=e;let r=_l(this._lView),n=this._lView[xn];n!==null&&!r&&op(n,this._lView),xl(this._lView)}},On=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=DC;let t=e;return t})(),vC=On,yC=class extends vC{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=Ep(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Rn(i)}};function DC(){return Zc(Se(),Z())}function Zc(t,e){return t.type&4?new yC(e,t,_r(t,e)):null}var TR=new RegExp(`^(\\d+)*(${W0}|${q0})*(.*)`);var CC=()=>null;function Bl(t,e){return CC(t,e)}var vr=class{},Np=new x("",{providedIn:"root",factory:()=>!1});var Rp=new x(""),$l=class{},Zo=class{};function wC(t){let e=Error(`No component factory found for ${ke(t)}.`);return e[bC]=t,e}var bC="ngComponent";var Hl=class{resolveComponentFactory(e){throw wC(e)}},iu=class iu{};iu.NULL=new Hl;var yr=iu,Dr=class{},st=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>EC();let t=e;return t})();function EC(){let t=Z(),e=Se(),r=ln(e.index,t);return(nn(r)?r:t)[pe]}var _C=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var _f=new Set;function pi(t){_f.has(t)||(_f.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Op(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof tt.requestAnimationFrame=="function"&&tt.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function If(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function xf(...t){}var X=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new he(!1),this.onMicrotaskEmpty=new he(!1),this.onStable=new he(!1),this.onError=new he(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.callbackScheduled=!1,SC(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new M(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,IC,xf,xf);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},IC={};function Yc(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function xC(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{Op(()=>{t.callbackScheduled=!1,Gl(t),t.isCheckStableRunning=!0,Yc(t),t.isCheckStableRunning=!1})}),Gl(t))}function SC(t){let e=()=>{xC(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(MC(a))return r.invokeTask(i,o,s,a);try{return Sf(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Mf(t)}},onInvoke:(r,n,i,o,s,a,l)=>{try{return Sf(t),r.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!TC(a)&&e(),Mf(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Gl(t),Yc(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Gl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Sf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Mf(t){t._nesting--,Yc(t)}var zl=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new he,this.onMicrotaskEmpty=new he,this.onStable=new he,this.onError=new he}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function MC(t){return kp(t,"__ignore_ng_zone__")}function TC(t){return kp(t,"__scheduler_tick__")}function kp(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var en=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(en||{}),AC={destroy(){}};function bs(t,e){!e&&zy(bs);let r=e?.injector??C(it);if(!oD(r))return AC;pi("NgAfterNextRender");let n=r.get(Qc),i=n.handler??=new Wl,o=e?.phase??en.MixedReadWrite,s=()=>{i.unregister(l),a()},a=r.get(Tc).onDestroy(s),l=qe(r,()=>new ql(o,()=>{s(),t()}));return i.register(l),{destroy:s}}var ql=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=C(X),this.errorHandler=C(_t,{optional:!0}),C(vr,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Wl=class{constructor(){this.executingCallbacks=!1,this.buckets={[en.EarlyRead]:new Set,[en.Write]:new Set,[en.MixedReadWrite]:new Set,[en.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Qc=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Yo(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&lp(t,r,o.join(" "))}}function LC(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=jC;let t=e;return t})();function jC(){let t=Se();return Fp(t,Z())}var UC=cn,Pp=class extends UC{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return _r(this._hostTNode,this._hostLView)}get injector(){return new In(this._hostTNode,this._hostLView)}get parentInjector(){let e=Sc(this._hostTNode,this._hostLView);if(Ph(e)){let r=$o(e,this._hostLView),n=Bo(e),i=r[U].data[n+8];return new In(i,r)}else return new In(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Af(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ve}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Bl(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,jl(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!qy(e),a;if(s)a=r;else{let w=r||{};a=w.index,n=w.injector,i=w.projectableNodes,o=w.environmentInjector||w.ngModuleRef}let l=s?e:new Cr(rn(e)),d=n||this.parentInjector;if(!o&&l.ngModule==null){let O=(s?d:this.parentInjector).get(Me,null);O&&(o=O)}let h=rn(l.componentType??{}),m=Bl(this._lContainer,h?.id??null),v=m?.firstChild??null,y=l.create(d,i,v,o);return this.insertImpl(y.hostView,a,jl(this._hostTNode,m)),y}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(e0(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[Te],d=new Pp(l,l[dt],l[Te]);d.detach(d.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return _p(s,i,o,n),e.attachToViewContainerRef(),Yf(dl(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Af(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=zo(this._lContainer,r);n&&(Po(dl(this._lContainer),r),Fc(n[U],n))}detach(e){let r=this._adjustIndex(e,-1),n=zo(this._lContainer,r);return n&&Po(dl(this._lContainer),r)!=null?new Rn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Af(t){return t[jo]}function dl(t){return t[jo]||(t[jo]=[])}function Fp(t,e){let r,n=e[t.index];return Lt(n)?r=n:(r=yp(n,e,null,t),e[t.index]=r,ws(e,r)),$C(r,e,t,n),new Pp(r,t,e)}function BC(t,e){let r=t[pe],n=r.createComment(""),i=ot(e,t),o=Lc(r,i);return qo(r,o,n,DD(r,i),!1),n}var $C=zC,HC=()=>!1;function GC(t,e,r){return HC(t,e,r)}function zC(t,e,r,n){if(t[Sn])return;let i;r.type&8?i=Et(n):i=BC(e,r),t[Sn]=i}var Yl=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Ql=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let d=o[a+1],h=e[-l];for(let m=Ve;me.trim())}function ew(t,e,r){t.queries===null&&(t.queries=new Jl),t.queries.track(new Xl(e,r))}function tw(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function Kc(t,e){return t.queries.getByIndex(e)}function nw(t,e){let r=t[U],n=Kc(r,e);return n.crossesNgTemplate?ec(r,t,e,[]):Lp(r,t,n,e)}function rw(t){return typeof t=="function"&&t[Oa]!==void 0}function Vp(t){return rw(t)&&typeof t.set=="function"}function iw(t){return Object.getPrototypeOf(t.prototype).constructor}function Pe(t){let e=iw(t.type),r=!0,n=[t];for(;e;){let i;if(on(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new M(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=Io(t.inputs),s.inputTransforms=Io(t.inputTransforms),s.declaredInputs=Io(t.declaredInputs),s.outputs=Io(t.outputs);let a=i.hostBindings;a&&cw(t,a);let l=i.viewQuery,d=i.contentQueries;if(l&&aw(t,l),d&&lw(t,d),ow(t,i),Qv(t.outputs,i.outputs),on(i)&&i.data.animation){let h=t.data;h.animation=(h.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=ri(i.hostAttrs,r=ri(r,i.hostAttrs))}}function Io(t){return t===ur?{}:t===Xe?[]:t}function aw(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function lw(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function cw(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function Jc(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}var an=class{},ai=class{};var tc=class extends an{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Qo(this);let i=ih(e);this._bootstrapComponents=np(i.bootstrap),this._r3Injector=Gh(e,r,[{provide:an,useValue:this},{provide:yr,useValue:this.componentFactoryResolver},...n],ke(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},nc=class extends ai{constructor(e){super(),this.moduleType=e}create(e){return new tc(this.moduleType,e,[])}};var Ko=class extends an{constructor(e){super(),this.componentFactoryResolver=new Qo(this),this.instance=null;let r=new ii([...e.providers,{provide:an,useValue:this},{provide:yr,useValue:this.componentFactoryResolver}],e.parent||yc(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Es(t,e,r=null){return new Ko({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function jp(t){return dw(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function uw(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function Dw(t){return(t&2)==2}function Cw(t,e){return t&131071|e<<17}function rc(t){return t|2}function wr(t){return(t&131068)>>2}function fl(t,e){return t&-131069|e<<2}function ww(t){return(t&1)===1}function ic(t){return t|1}function bw(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=kn(s),l=wr(s);t[n]=r;let d=!1,h;if(Array.isArray(r)){let m=r;h=m[1],(h===null||ui(m,h)>0)&&(d=!0)}else h=r;if(i)if(l!==0){let v=kn(t[a+1]);t[n+1]=xo(v,a),v!==0&&(t[v+1]=fl(t[v+1],n)),t[a+1]=Cw(t[a+1],n)}else t[n+1]=xo(a,0),a!==0&&(t[a+1]=fl(t[a+1],n)),a=n;else t[n+1]=xo(l,0),a===0?a=n:t[l+1]=fl(t[l+1],n),l=n;d&&(t[n+1]=rc(t[n+1])),Nf(t,h,n,!0),Nf(t,h,n,!1),Ew(e,h,t,n,o),s=xo(a,l),o?e.classBindings=s:e.styleBindings=s}function Ew(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&ui(o,e)>=0&&(r[n+1]=ic(r[n+1]))}function Nf(t,e,r,n){let i=t[r+1],o=e===null,s=n?kn(i):wr(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],d=t[s+1];_w(l,e)&&(a=!0,t[s+1]=n?ic(d):rc(d)),s=n?kn(d):wr(d)}a&&(t[r+1]=n?rc(i):ic(i))}function _w(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?ui(t,e)>=0:!1}function D(t,e,r){let n=Z(),i=di();if(Pt(n,i,e)){let o=be(),s=fs();Hc(o,s,n,t,e,n[pe],r,!1)}return D}function Rf(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";zc(t,r,o[s],s,n)}function _s(t,e){return Iw(t,e,null,!0),_s}function Iw(t,e,r,n){let i=Z(),o=be(),s=f0(2);if(o.firstUpdatePass&&Sw(o,t,s,n),e!==xt&&Pt(i,s,e)){let a=o.data[Er()];Rw(o,a,i,i[pe],t,i[s+1]=Ow(e,r),n,s)}}function xw(t,e){return e>=t.expandoStartIndex}function Sw(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Er()],s=xw(t,r);kw(o,n)&&e===null&&!s&&(e=!1),e=Mw(i,o,e,n),bw(i,o,e,r,s,n)}}function Mw(t,e,r,n){let i=g0(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=hl(null,t,e,r,n),r=li(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=hl(i,t,e,r,n),o===null){let l=Tw(t,e,n);l!==void 0&&Array.isArray(l)&&(l=hl(null,t,e,l[1],n),l=li(l,e.attrs,n),Aw(t,e,n,l))}else o=Nw(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function Tw(t,e,r){let n=r?e.classBindings:e.styleBindings;if(wr(n)!==0)return t[kn(n)]}function Aw(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[kn(i)]=n}function Nw(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=t[i],d=Array.isArray(l),h=d?l[1]:l,m=h===null,v=r[i+1];v===xt&&(v=m?Xe:void 0);let y=m?rl(v,n):h===n?v:void 0;if(d&&!Jo(y)&&(y=rl(l,n)),Jo(y)&&(a=y,s))return a;let w=t[i+1];i=s?kn(w):wr(w)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=rl(l,n))}return a}function Jo(t){return t!==void 0}function Ow(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ke(fi(t)))),t}function kw(t,e){return(t.flags&(e?8:16))!==0}function Fn(t,e){pi("NgControlFlow");let r=Z(),n=di(),i=r[n]!==xt?r[n]:-1,o=i!==-1?kf(r,rt+i):void 0,s=0;if(Pt(r,n,t)){let a=Y(null);try{if(o!==void 0&&iC(o,s),t!==-1){let l=rt+t,d=kf(r,l),h=Pw(r[U],l),m=Bl(d,h.tView.ssrId),v=Ep(r,h,e,{dehydratedView:m});_p(d,v,s,jl(h,m))}}finally{Y(a)}}else if(o!==void 0){let a=rC(o,s);a!==void 0&&(a[nt]=e)}}function kf(t,e){return t[e]}function Pw(t,e){return Cc(t,e)}function Fw(t,e,r,n,i,o){let s=e.consts,a=gr(s,i),l=hi(e,t,2,n,a);return Gc(e,r,l,gr(s,o)),l.attrs!==null&&Yo(l,l.attrs,!1),l.mergedAttrs!==null&&Yo(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function u(t,e,r,n){let i=Z(),o=be(),s=rt+t,a=i[pe],l=o.firstCreatePass?Fw(s,o,i,e,r,n):o.data[s],d=Lw(o,i,l,a,e,t);i[s]=d;let h=us(l);return Pn(l,!0),cp(a,d,l),!pw(l)&&hs()&&ys(o,i,d,l),r0()===0&&sn(d,i),i0(),h&&(Uc(o,i,l),jc(o,l,i)),n!==null&&Bc(i,l),u}function f(){let t=Se();bc()?Ih():(t=t.parent,Pn(t,!1));let e=t;a0(e)&&l0(),o0();let r=be();return r.firstCreatePass&&(ms(r,t),Dc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&E0(e)&&Rf(r,e,Z(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&_0(e)&&Rf(r,e,Z(),e.stylesWithoutHost,!1),f}function p(t,e,r,n){return u(t,e,r,n),f(),p}var Lw=(t,e,r,n,i,o)=>(ps(!0),rp(n,i,D0()));function Vw(t,e,r,n,i){let o=e.consts,s=gr(o,n),a=hi(e,t,8,"ng-container",s);s!==null&&Yo(a,s,!0);let l=gr(o,i);return Gc(e,r,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function je(t,e,r){let n=Z(),i=be(),o=t+rt,s=i.firstCreatePass?Vw(o,i,n,e,r):i.data[o];Pn(s,!0);let a=jw(i,n,s,t);return n[o]=a,hs()&&ys(i,n,a,s),sn(a,n),us(s)&&(Uc(i,n,s),jc(i,s,n)),r!=null&&Bc(n,s),je}function Ue(){let t=Se(),e=be();return bc()?Ih():(t=t.parent,Pn(t,!1)),e.firstCreatePass&&(ms(e,t),Dc(t)&&e.queries.elementEnd(t)),Ue}var jw=(t,e,r,n)=>(ps(!0),cD(e[pe],""));function oe(){return Z()}var Xo="en-US";var Uw=Xo;function Bw(t){typeof t=="string"&&(Uw=t.toLowerCase().replace(/_/g,"-"))}var $w=(t,e,r)=>{};function A(t,e,r,n){let i=Z(),o=be(),s=Se();return Bp(o,i,i[pe],s,t,e,n),A}function Hw(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function Bp(t,e,r,n,i,o,s){let a=us(n),d=t.firstCreatePass&&wp(t),h=e[nt],m=Cp(e),v=!0;if(n.type&3||s){let O=ot(n,e),T=s?s(O):O,N=m.length,ge=s?ee=>s(Et(ee[n.index])):n.index,re=null;if(!s&&a&&(re=Hw(t,e,i,n.index)),re!==null){let ee=re.__ngLastListenerFn__||re;ee.__ngNextListenerFn__=o,re.__ngLastListenerFn__=o,v=!1}else{o=Ff(n,e,h,o),$w(O,i,o);let ee=r.listen(T,i,o);m.push(o,ee),d&&d.push(i,ge,N,N+1)}}else o=Ff(n,e,h,o);let y=n.outputs,w;if(v&&y!==null&&(w=y[i])){let O=w.length;if(O)for(let T=0;T-1?ln(t.index,e):e;Wc(s,5);let a=Pf(e,r,n,o),l=i.__ngNextListenerFn__;for(;l;)a=Pf(e,r,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function E(t=1){return y0(t)}function St(t,e,r,n,i){let o=Z(),s=Up(o,e,r,n);if(s!==xt){let a=be(),l=fs();Hc(a,l,o,t,s,o[pe],i,!1)}return St}function $p(t,e,r,n){JC(t,e,r,n)}function Hp(t){let e=Z(),r=be(),n=Sh();_c(n+1);let i=Kc(r,n);if(t.dirty&&Xy(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=nw(e,n);t.reset(o,V0),t.notifyOnChanges()}return!0}return!1}function Gp(){return QC(Z(),Sh())}function Is(t){let e=u0();return Jy(e,rt+t)}function c(t,e=""){let r=Z(),n=be(),i=t+rt,o=n.firstCreatePass?hi(n,i,1,e,null):n.data[i],s=Gw(n,r,o,e,t);r[i]=s,hs()&&ys(n,r,s,o),Pn(o,!1)}var Gw=(t,e,r,n,i)=>(ps(!0),aD(e[pe],n));function se(t){return ht("",t,""),se}function ht(t,e,r){let n=Z(),i=Up(n,t,e,r);return i!==xt&&XD(n,Er(),i),ht}function ae(t,e,r){Vp(e)&&(e=e());let n=Z(),i=di();if(Pt(n,i,e)){let o=be(),s=fs();Hc(o,s,n,t,e,n[pe],r,!1)}return ae}function ue(t,e){let r=Vp(t);return r&&t.set(e),r}function le(t,e){let r=Z(),n=be(),i=Se();return Bp(n,r,r[pe],i,t,e),le}function zw(t,e,r){let n=be();if(n.firstCreatePass){let i=on(t);oc(r,n.data,n.blueprint,i,!0),oc(e,n.data,n.blueprint,i,!1)}}function oc(t,e,r,n,i){if(t=Oe(t),Array.isArray(t))for(let o=0;o>20;if(hr(t)||!t.multi){let y=new An(d,i,S),w=ml(l,e,i?h:h+v,m);w===-1?(Al(Ho(a,s),o,l),pl(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(y),s.push(y)):(r[w]=y,s[w]=y)}else{let y=ml(l,e,h+v,m),w=ml(l,e,h,h+v),O=y>=0&&r[y],T=w>=0&&r[w];if(i&&!T||!i&&!O){Al(Ho(a,s),o,l);let N=Zw(i?Ww:qw,r.length,i,n,d);!i&&T&&(r[w].providerFactory=N),pl(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(N),s.push(N)}else{let N=zp(r[i?w:y],d,!i&&n);pl(o,t,y>-1?y:w,N)}!i&&n&&T&&r[w].componentProviders++}}}function pl(t,e,r,n){let i=hr(e),o=Vy(e);if(i||o){let l=(o?Oe(e.useClass):e).prototype.ngOnDestroy;if(l){let d=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let h=d.indexOf(r);h===-1?d.push(r,[n,l]):d[h+1].push(n,l)}else d.push(r,l)}}}function zp(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function ml(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>zw(n,i?i(t):t,e)}}var Yw=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=ah(!1,n.type),o=i.length>0?Es([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=_({token:e,providedIn:"environment",factory:()=>new e(I(Me))});let t=e;return t})();function de(t){pi("NgStandalone"),t.getStandaloneInjector=e=>e.get(Yw).getOrCreateStandaloneInjector(t)}function B(t,e,r){let n=Ec()+t,i=Z();return i[n]===xt?Xc(i,n,r?e.call(r):e()):fw(i,n)}function Ln(t,e,r,n){return Qw(Z(),Ec(),t,e,r,n)}function qp(t,e,r,n,i){return Kw(Z(),Ec(),t,e,r,n,i)}function Wp(t,e){let r=t[e];return r===xt?void 0:r}function Qw(t,e,r,n,i,o){let s=e+r;return Pt(t,s,i)?Xc(t,s+1,o?n.call(o,i):n(i)):Wp(t,s+1)}function Kw(t,e,r,n,i,o,s){let a=e+r;return hw(t,a,i,o)?Xc(t,a+2,s?n.call(s,i,o):n(i,o)):Wp(t,a+2)}var xs=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var eu=new x(""),mi=new x(""),Ss=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,tu||(Jw(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(I(X),I(Ms),I(mi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ms=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return tu?.findTestabilityInTree(this,n,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function Jw(t){tu=t}var tu;function Vn(t){return!!t&&typeof t.then=="function"}function Zp(t){return!!t&&typeof t.subscribe=="function"}var Ts=new x(""),Yp=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=C(Ts,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Vn(s))n.push(s);else if(Zp(s)){let a=new Promise((l,d)=>{s.subscribe({complete:l,error:d})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),As=new x("");function Xw(){Md(()=>{throw new M(600,!1)})}function eb(t){return t.isBoundToModule}var tb=10;function nb(t,e,r){try{let n=r();return Vn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var un=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(zh),this.afterRenderEffectManager=C(Qc),this.zonelessEnabled=C(Np),this.externalTestViews=new Set,this.beforeRender=new Ce,this.afterTick=new Ce,this.componentTypes=[],this.components=[],this.isStable=C(jt).hasPendingTasks.pipe(F(n=>!n)),this._injector=C(Me)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Zo;if(!this._injector.get(Yp).done){let y=!o&&rh(n),w=!1;throw new M(405,w)}let a;o?a=n:a=this._injector.get(yr).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=eb(a)?void 0:this._injector.get(an),d=i||a.selector,h=a.create(it.NULL,[],d,l),m=h.location.nativeElement,v=h.injector.get(eu,null);return v?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),gl(this.components,h),v?.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new M(101,!1);let i=Y(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,Y(i),this.afterTick.next()}}detectChangesInAttachedViews(n){let i=null;this._injector.destroyed||(i=this._injector.get(Dr,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;osi(l))&&(s.execute(),!this.allViews.some(({_lView:l})=>si(l))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;gl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(As,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>gl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function gl(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function rb(t,e,r,n){if(!r&&!si(t))return;Sp(t,e,r&&!n?0:1)}var ac=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Ns=(()=>{let e=class e{compileModuleSync(n){return new nc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=ih(n),s=np(o.declarations).reduce((a,l)=>{let d=rn(l);return d&&a.push(new Cr(d)),a},[]);return new ac(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ib=(()=>{let e=class e{constructor(){this.zone=C(X),this.changeDetectionScheduler=C(vr),this.applicationRef=C(un)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ob({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new X(ab()),[{provide:X,useFactory:t},{provide:dr,multi:!0,useFactory:()=>{let r=C(ib,{optional:!0});return()=>r.initialize()}},{provide:dr,multi:!0,useFactory:()=>{let r=C(lb);return()=>{r.initialize()}}},{provide:zh,useFactory:sb},e===!0?{provide:Rp,useValue:!0}:[]]}function sb(){let t=C(X),e=C(_t);return r=>t.runOutsideAngular(()=>e.handleError(r))}function ab(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var lb=(()=>{let e=class e{constructor(){this.subscription=new ve,this.initialized=!1,this.zone=C(X),this.pendingTasks=C(jt)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{X.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var cb=(()=>{let e=class e{constructor(){this.appRef=C(un),this.taskService=C(jt),this.ngZone=C(X),this.zonelessEnabled=C(Np),this.disableScheduling=C(Rp,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ve,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof zl||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?If:Op;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&X.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,If(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ub(){return typeof $localize<"u"&&$localize.locale||Xo}var nu=new x("",{providedIn:"root",factory:()=>C(nu,H.Optional|H.SkipSelf)||ub()});var Qp=new x("");var Ro=null;function db(t=[],e){return it.create({name:e,providers:[{provide:as,useValue:"platform"},{provide:Qp,useValue:new Set([()=>Ro=null])},...t]})}function fb(t=[]){if(Ro)return Ro;let e=db(t);return Ro=e,Xw(),hb(e),e}function hb(t){t.get(Ac,null)?.forEach(r=>r())}var dn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=pb;let t=e;return t})();function pb(t){return mb(Se(),Z(),(t&16)===16)}function mb(t,e,r){if(cs(t)&&!r){let n=ln(t.index,e);return new Rn(n,n)}else if(t.type&47){let n=e[bt];return new Rn(n,e)}return null}var lc=class{constructor(){}supports(e){return jp(e)}create(e){return new cc(e)}},gb=(t,e)=>e,cc=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||gb}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new uc(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new es),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new es),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},uc=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},dc=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},es=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new dc,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Lf(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Vf()),deps:[[e,new hc,new os]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new M(901,!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:Vf});let t=e;return t})();var Kp=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(I(un))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();function Jp(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=fb(n),o=[ob({}),{provide:vr,useExisting:cb},...r||[]],a=new Ko({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(X);return l.run(()=>{a.resolveInjectorInitializers();let d=a.get(_t,null),h;l.runOutsideAngular(()=>{h=l.onError.subscribe({next:y=>{d.handleError(y)}})});let m=()=>a.destroy(),v=i.get(Qp);return v.add(m),a.onDestroy(()=>{h.unsubscribe(),v.delete(m)}),nb(d,l,()=>{let y=a.get(Yp);return y.runInitializers(),y.donePromise.then(()=>{let w=a.get(nu,Xo);Bw(w||Xo);let O=a.get(un);return e!==void 0&&O.bootstrap(e),O})})})}catch(e){return Promise.reject(e)}}function Bt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Xp(t){let e=rn(t);if(!e)return null;let r=new Cr(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var K={production:!0,apiBaseUrl:"https://www.palmmedia.de/api/",loginUrl:"https://github.com/login/oauth/authorize",clientId:"ecab9484932b59a12fd4",redirectUri:"/pro",scope:null,paddleEnvironment:null,paddleVendorId:144162,paddleIndividualLicense:762579,paddleTeamLicense:762580,paddleEnterpriseLicense:762581,paddleIndividualLifetimeLicense:833943,paddleTeamLifetimeLicense:833944,paddleEnterpriseLifetimeLicense:833945};var om=null;function Mt(){return om}function sm(t){om??=t}var Rs=class{};var Ee=new x(""),du=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(vb),providedIn:"platform"});let t=e;return t})(),am=new x(""),vb=(()=>{let e=class e extends du{constructor(){super(),this._doc=C(Ee),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Mt().getBaseHref(this._doc)}onPopState(n){let i=Mt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=Mt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function fu(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function em(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function $t(t){return t&&t[0]!=="?"?"?"+t:t}var Ht=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(hu),providedIn:"root"});let t=e;return t})(),lm=new x(""),hu=(()=>{let e=class e extends Ht{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??C(Ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return fu(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+$t(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+$t(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+$t(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(I(du),I(lm,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),cm=(()=>{let e=class e extends Ht{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=fu(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+$t(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+$t(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(I(du),I(lm,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Sr=(()=>{let e=class e{constructor(n){this._subject=new he,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=Cb(em(tm(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+$t(i))}normalize(n){return e.stripTrailingSlash(Db(this._basePath,tm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+$t(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+$t(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=$t,e.joinWithSlash=fu,e.stripTrailingSlash=em,e.\u0275fac=function(i){return new(i||e)(I(Ht))},e.\u0275prov=_({token:e,factory:()=>yb(),providedIn:"root"});let t=e;return t})();function yb(){return new Sr(I(Ht))}function Db(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function tm(t){return t.replace(/\/index.html$/,"")}function Cb(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function Os(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var ou=/\s+/,nm=[],Mr=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=nm,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(ou):nm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ou):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(ou).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(S(Ae),S(st))},e.\u0275dir=ne({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var su=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ks=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new su(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let l=i.get(s);i.move(l,a),rm(l,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);rm(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(S(cn),S(On),S(ru))},e.\u0275dir=ne({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function rm(t,e){t.context.$implicit=e.item}var Ps=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new au,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){im("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){im("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(S(cn),S(On))},e.\u0275dir=ne({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),au=class{constructor(){this.$implicit=null,this.ngIf=null}};function im(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ke(e)}'.`)}var um=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})(),pu="browser",wb="server";function bb(t){return t===pu}function Fs(t){return t===wb}var dm=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>bb(C(It))?new lu(C(Ee),window):new cu});let t=e;return t})(),lu=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=Eb(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function Eb(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var cu=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},xr=class{};var vi=class{},Vs=class{},Gt=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var gu=class{encodeKey(e){return hm(e)}encodeValue(e){return hm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function _b(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var Ib=/%(\d[a-f0-9])/gi,xb={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function hm(t){return encodeURIComponent(t).replace(Ib,(e,r)=>xb[r]??e)}function Ls(t){return`${t}`}var hn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new gu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=_b(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(Ls):[Ls(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Ls(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(Ls(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var vu=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function Sb(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function pm(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function mm(t){return typeof Blob<"u"&&t instanceof Blob}function gm(t){return typeof FormData<"u"&&t instanceof FormData}function Mb(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var gi=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(Sb(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Gt,this.context??=new vu,!this.params)this.params=new hn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":av.set(y,e.setHeaders[y]),d)),e.setParams&&(h=Object.keys(e.setParams).reduce((v,y)=>v.set(y,e.setParams[y]),h)),new t(r,n,s,{params:h,headers:d,context:m,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},pn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(pn||{}),yi=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Gt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},js=class t extends yi{constructor(e={}){super(e),this.type=pn.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Di=class t extends yi{constructor(e={}){super(e),this.type=pn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},fn=class extends yi{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},wm=200,Tb=204;function mu(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Ci=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof gi)s=n;else{let d;o.headers instanceof Gt?d=o.headers:d=new Gt(o.headers);let h;o.params&&(o.params instanceof hn?h=o.params:h=new hn({fromObject:o.params})),s=new gi(n,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=R(s).pipe(Nt(d=>this.handler.handle(d)));if(n instanceof gi||o.observe==="events")return a;let l=a.pipe(xe(d=>d instanceof Di));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(F(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return l.pipe(F(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new hn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,mu(o,i))}post(n,i,o={}){return this.request("POST",n,mu(o,i))}put(n,i,o={}){return this.request("PUT",n,mu(o,i))}};e.\u0275fac=function(i){return new(i||e)(I(vi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ab=/^\)\]\}',?\n/,Nb="X-Request-URL";function vm(t){if(t.url)return t.url;let e=Nb.toLocaleLowerCase();return t.headers.get(e)}var Rb=(()=>{let e=class e{constructor(){this.fetchImpl=C(yu,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=C(X)}handle(n){return new q(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(Du,s=>i.error(new fn({error:s}))),()=>o.abort()})}doRequest(n,i,o){return Kr(this,null,function*(){let s=this.createRequestInit(n),a;try{let w=this.fetchImpl(n.urlWithParams,b({signal:i},s));Ob(w),o.next({type:pn.Sent}),a=yield w}catch(w){o.error(new fn({error:w,status:w.status??0,statusText:w.statusText,url:n.urlWithParams,headers:w.headers}));return}let l=new Gt(a.headers),d=a.statusText,h=vm(a)??n.urlWithParams,m=a.status,v=null;if(n.reportProgress&&o.next(new js({headers:l,status:m,statusText:d,url:h})),a.body){let w=a.headers.get("content-length"),O=[],T=a.body.getReader(),N=0,ge,re,ee=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Kr(this,null,function*(){for(;;){let{done:De,value:Ke}=yield T.read();if(De)break;if(O.push(Ke),N+=Ke.length,n.reportProgress){re=n.responseType==="text"?(re??"")+(ge??=new TextDecoder).decode(Ke,{stream:!0}):void 0;let Wn=()=>o.next({type:pn.DownloadProgress,total:w?+w:void 0,loaded:N,partialText:re});ee?ee.run(Wn):Wn()}}}));let Qe=this.concatChunks(O,N);try{let De=a.headers.get("Content-Type")??"";v=this.parseBody(n,Qe,De)}catch(De){o.error(new fn({error:De,headers:new Gt(a.headers),status:a.status,statusText:a.statusText,url:vm(a)??n.urlWithParams}));return}}m===0&&(m=v?wm:0),m>=200&&m<300?(o.next(new Di({body:v,headers:l,status:m,statusText:d,url:h})),o.complete()):o.error(new fn({error:v,headers:l,status:m,statusText:d,url:h}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(Ab,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(n){let i={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>i[s]=a.join(",")),i.Accept??="application/json, text/plain, */*",!i["Content-Type"]){let s=n.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:i,credentials:o}}concatChunks(n,i){let o=new Uint8Array(i),s=0;for(let a of n)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),yu=class{};function Du(){}function Ob(t){t.then(Du,Du)}function bm(t,e){return e(t)}function kb(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function Pb(t,e,r){return(n,i)=>qe(r,()=>e(n,o=>t(o,i)))}var Fb=new x(""),Cu=new x(""),Lb=new x(""),Em=new x("",{providedIn:"root",factory:()=>!0});function Vb(){let t=null;return(e,r)=>{t===null&&(t=(C(Fb,{optional:!0})??[]).reduceRight(kb,bm));let n=C(jt);if(C(Em)){let o=n.add();return t(e,r).pipe(Jt(()=>n.remove(o)))}else return t(e,r)}}var ym=(()=>{let e=class e extends vi{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=C(jt),this.contributeToStability=C(Em)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Cu),...this.injector.get(Lb,[])]));this.chain=i.reduceRight((o,s)=>Pb(o,s,this.injector),bm)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Jt(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(I(Vs),I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var jb=/^\)\]\}',?\n/;function Ub(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Dm=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new M(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ie(i.\u0275loadImpl()):R(null)).pipe(Le(()=>new q(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((T,N)=>a.setRequestHeader(T,N.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let T=n.detectContentTypeHeader();T!==null&&a.setRequestHeader("Content-Type",T)}if(n.responseType){let T=n.responseType.toLowerCase();a.responseType=T!=="json"?T:"text"}let l=n.serializeBody(),d=null,h=()=>{if(d!==null)return d;let T=a.statusText||"OK",N=new Gt(a.getAllResponseHeaders()),ge=Ub(a)||n.url;return d=new js({headers:N,status:a.status,statusText:T,url:ge}),d},m=()=>{let{headers:T,status:N,statusText:ge,url:re}=h(),ee=null;N!==Tb&&(ee=typeof a.response>"u"?a.responseText:a.response),N===0&&(N=ee?wm:0);let Qe=N>=200&&N<300;if(n.responseType==="json"&&typeof ee=="string"){let De=ee;ee=ee.replace(jb,"");try{ee=ee!==""?JSON.parse(ee):null}catch(Ke){ee=De,Qe&&(Qe=!1,ee={error:Ke,text:ee})}}Qe?(s.next(new Di({body:ee,headers:T,status:N,statusText:ge,url:re||void 0})),s.complete()):s.error(new fn({error:ee,headers:T,status:N,statusText:ge,url:re||void 0}))},v=T=>{let{url:N}=h(),ge=new fn({error:T,status:a.status||0,statusText:a.statusText||"Unknown Error",url:N||void 0});s.error(ge)},y=!1,w=T=>{y||(s.next(h()),y=!0);let N={type:pn.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),n.responseType==="text"&&a.responseText&&(N.partialText=a.responseText),s.next(N)},O=T=>{let N={type:pn.UploadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),s.next(N)};return a.addEventListener("load",m),a.addEventListener("error",v),a.addEventListener("timeout",v),a.addEventListener("abort",v),n.reportProgress&&(a.addEventListener("progress",w),l!==null&&a.upload&&a.upload.addEventListener("progress",O)),a.send(l),s.next({type:pn.Sent}),()=>{a.removeEventListener("error",v),a.removeEventListener("abort",v),a.removeEventListener("load",m),a.removeEventListener("timeout",v),n.reportProgress&&(a.removeEventListener("progress",w),l!==null&&a.upload&&a.upload.removeEventListener("progress",O)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(I(xr))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),_m=new x(""),Bb="XSRF-TOKEN",$b=new x("",{providedIn:"root",factory:()=>Bb}),Hb="X-XSRF-TOKEN",Gb=new x("",{providedIn:"root",factory:()=>Hb}),Us=class{},zb=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Os(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(I(Ee),I(It),I($b))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function qb(t,e){let r=t.url.toLowerCase();if(!C(_m)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=C(Us).getToken(),i=C(Gb);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var Im=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Im||{});function Wb(t,e){return{\u0275kind:t,\u0275providers:e}}function xm(...t){let e=[Ci,Dm,ym,{provide:vi,useExisting:ym},{provide:Vs,useFactory:()=>C(Rb,{optional:!0})??C(Dm)},{provide:Cu,useValue:qb,multi:!0},{provide:_m,useValue:!0},{provide:Us,useClass:zb}];for(let r of t)e.push(...r.\u0275providers);return ss(e)}var Cm=new x("");function Sm(){return Wb(Im.LegacyInterceptors,[{provide:Cm,useFactory:Vb},{provide:Cu,useExisting:Cm,multi:!0}])}var Eu=class extends Rs{constructor(){super(...arguments),this.supportsDOMEvents=!0}},_u=class t extends Eu{static makeCurrent(){sm(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=Zb();return r==null?null:Yb(r)}resetBaseElement(){wi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Os(document.cookie,e)}},wi=null;function Zb(){return wi=wi||document.querySelector("base"),wi?wi.getAttribute("href"):null}function Yb(t){return new URL(t,document.baseURI).pathname}var Iu=class{addToWindow(e){tt.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new M(5103,!1);return o},tt.getAllAngularTestabilities=()=>e.getAllTestabilities(),tt.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=tt.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};tt.frameworkStabilizers||(tt.frameworkStabilizers=[]),tt.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?Mt().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},Qb=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),xu=new x(""),Rm=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new M(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(I(xu),I(X))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Bs=class{constructor(e){this._doc=e}},wu="ng-app-id",Om=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Fs(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${wu}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(wu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(wu,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(I(Ee),I(gs),I(Nc,8),I(It))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),bu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Mu=/%COMP%/g,km="%COMP%",Kb=`_nghost-${km}`,Jb=`_ngcontent-${km}`,Xb=!0,eE=new x("",{providedIn:"root",factory:()=>Xb});function tE(t){return Jb.replace(Mu,t)}function nE(t){return Kb.replace(Mu,t)}function Pm(t,e){return e.map(r=>r.replace(Mu,t))}var Tm=(()=>{let e=class e{constructor(n,i,o,s,a,l,d,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=d,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=Fs(l),this.defaultRenderer=new bi(n,a,d,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ct.ShadowDom&&(i=Q(b({},i),{encapsulation:Ct.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof $s?o.applyToHost(n):o instanceof Ei&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(i.encapsulation){case Ct.Emulated:s=new $s(d,h,i,this.appId,m,a,l,v);break;case Ct.ShadowDom:return new Su(d,h,n,i,a,l,this.nonce,v);default:s=new Ei(d,h,i,m,a,l,v);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(I(Rm),I(Om),I(gs),I(eE),I(Ee),I(It),I(X),I(Nc))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),bi=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(bu[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Am(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Am(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new M(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=bu[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=bu[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(kt.DashCase|kt.Important)?e.style.setProperty(r,n,i&kt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&kt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Mt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Am(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Su=class extends bi{constructor(e,r,n,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=Pm(i.id,i.styles);for(let h of d){let m=document.createElement("style");a&&m.setAttribute("nonce",a),m.textContent=h,this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ei=class extends bi{constructor(e,r,n,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?Pm(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},$s=class extends Ei{constructor(e,r,n,i,o,s,a,l){let d=i+"-"+n.id;super(e,r,n,o,s,a,l,d),this.contentAttr=tE(d),this.hostAttr=nE(d)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},rE=(()=>{let e=class e extends Bs{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Nm=["alt","control","meta","shift"],iE={"\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"},oE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},sE=(()=>{let e=class e extends Bs{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Mt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),Nm.forEach(h=>{let m=i.indexOf(h);m>-1&&(i.splice(m,1),a+=h+".")}),a+=s,i.length!=0||s.length===0)return null;let d={};return d.domEventName=o,d.fullKey=a,d}static matchEventFullKeyCode(n,i){let o=iE[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Nm.forEach(a=>{if(a!==o){let l=oE[a];l(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Fm(t,e){return Jp(b({rootComponent:t},aE(e)))}function aE(t){return{appProviders:[...Lm,...t?.providers??[]],platformProviders:dE}}function lE(){_u.makeCurrent()}function cE(){return new _t}function uE(){return Kh(document),document}var dE=[{provide:It,useValue:pu},{provide:Ac,useValue:lE,multi:!0},{provide:Ee,useFactory:uE,deps:[]}];var fE=new x(""),hE=[{provide:mi,useClass:Iu,deps:[]},{provide:eu,useClass:Ss,deps:[X,Ms,mi]},{provide:Ss,useClass:Ss,deps:[X,Ms,mi]}],Lm=[{provide:as,useValue:"root"},{provide:_t,useFactory:cE,deps:[]},{provide:xu,useClass:rE,multi:!0,deps:[Ee,X,It]},{provide:xu,useClass:sE,multi:!0,deps:[Ee]},Tm,Om,Rm,{provide:Dr,useExisting:Tm},{provide:xr,useClass:Qb,deps:[]},[]],Vm=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:gs,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(I(fE,12))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({providers:[...Lm,...hE],imports:[um,Kp]});let t=e;return t})();var jm=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var $="primary",Vi=Symbol("RouteTitle"),Ou=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function kr(t){return new Ou(t)}function mE(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Km(t){return t.length>0?t[t.length-1]:null}function vn(t){return Qa(t)?t:Vn(t)?ie(Promise.resolve(t)):R(t)}var vE={exact:Xm,subset:eg},Jm={exact:yE,subset:DE,ignored:()=>!0};function Um(t,e,r){return vE[r.paths](t.root,e.root,r.matrixParams)&&Jm[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function yE(t,e){return Tt(t,e)}function Xm(t,e,r){if(!Un(t.segments,e.segments)||!zs(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Xm(t.children[n],e.children[n],r))return!1;return!0}function DE(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Qm(t[r],e[r]))}function eg(t,e,r){return tg(t,e,e.segments,r)}function tg(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Un(i,r)||e.hasChildren()||!zs(i,r,n))}else if(t.segments.length===r.length){if(!Un(t.segments,r)||!zs(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!eg(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Un(t.segments,i)||!zs(t.segments,i,n)||!t.children[$]?!1:tg(t.children[$],e,o,n)}}function zs(t,e,r){return e.every((n,i)=>Jm[r](t[i].parameters,n.parameters))}var mn=class{constructor(e=new J([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=kr(this.queryParams),this._queryParamMap}toString(){return bE.serialize(this)}},J=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qs(this)}},jn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=kr(this.parameters),this._parameterMap}toString(){return rg(this)}};function CE(t,e){return Un(t,e)&&t.every((r,n)=>Tt(r.parameters,e[n].parameters))}function Un(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function wE(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===$&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==$&&(r=r.concat(e(i,n)))}),r}var ji=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new Pr,providedIn:"root"});let t=e;return t})(),Pr=class{parse(e){let r=new Fu(e);return new mn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${_i(e.root,!0)}`,n=IE(e.queryParams),i=typeof e.fragment=="string"?`#${EE(e.fragment)}`:"";return`${r}${n}${i}`}},bE=new Pr;function qs(t){return t.segments.map(e=>rg(e)).join("/")}function _i(t,e){if(!t.hasChildren())return qs(t);if(e){let r=t.children[$]?_i(t.children[$],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&n.push(`${i}:${_i(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=wE(t,(n,i)=>i===$?[_i(t.children[$],!1)]:[`${i}:${_i(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${qs(t)}/${r[0]}`:`${qs(t)}/(${r.join("//")})`}}function ng(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Hs(t){return ng(t).replace(/%3B/gi,";")}function EE(t){return encodeURI(t)}function Pu(t){return ng(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ws(t){return decodeURIComponent(t)}function Bm(t){return Ws(t.replace(/\+/g,"%20"))}function rg(t){return`${Pu(t.path)}${_E(t.parameters)}`}function _E(t){return Object.entries(t).map(([e,r])=>`;${Pu(e)}=${Pu(r)}`).join("")}function IE(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${Hs(r)}=${Hs(i)}`).join("&"):`${Hs(r)}=${Hs(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var xE=/^[^\/()?;#]+/;function Tu(t){let e=t.match(xE);return e?e[0]:""}var SE=/^[^\/()?;=#]+/;function ME(t){let e=t.match(SE);return e?e[0]:""}var TE=/^[^=?&#]+/;function AE(t){let e=t.match(TE);return e?e[0]:""}var NE=/^[^&#]+/;function RE(t){let e=t.match(NE);return e?e[0]:""}var Fu=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[$]=new J(e,r)),n}parseSegment(){let e=Tu(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(e),new jn(Ws(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=ME(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Tu(this.remaining);i&&(n=i,this.capture(n))}e[Ws(r)]=Ws(n)}parseQueryParam(e){let r=AE(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=RE(this.remaining);s&&(n=s,this.capture(n))}let i=Bm(r),o=Bm(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Tu(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new M(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[$]:new J([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new M(4011,!1)}};function ig(t){return t.segments.length>0?new J([],{[$]:t}):t}function og(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=og(i);if(n===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new J(t.segments,e);return OE(r)}function OE(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new J(t.segments.concat(e.segments),e.children)}return t}function Ai(t){return t instanceof mn}function kE(t,e,r=null,n=null){let i=sg(t);return ag(i,e,r,n)}function sg(t){let e;function r(o){let s={};for(let l of o.children){let d=r(l);s[l.outlet]=d}let a=new J(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=ig(n);return e??i}function ag(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Au(i,i,i,r,n);let o=PE(e);if(o.toRoot())return Au(i,i,new J([],{}),r,n);let s=FE(o,i,t),a=s.processChildren?Si(s.segmentGroup,s.index,o.commands):cg(s.segmentGroup,s.index,o.commands);return Au(i,s.segmentGroup,a,r,n)}function Zs(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ni(t){return typeof t=="object"&&t!=null&&t.outlets}function Au(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([l,d])=>{o[l]=Array.isArray(d)?d.map(h=>`${h}`):`${d}`});let s;t===e?s=r:s=lg(t,e,r);let a=ig(og(s));return new mn(a,o,i)}function lg(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=lg(o,e,r)}),new J(t.segments,n)}var Ys=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Zs(n[0]))throw new M(4003,!1);let i=n.find(Ni);if(i&&i!==Km(n))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function PE(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ys(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,d])=>{a[l]=typeof d=="string"?d.split("/"):d}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ys(r,e,n)}var Nr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function FE(t,e,r){if(t.isAbsolute)return new Nr(e,!0,0);if(!r)return new Nr(e,!1,NaN);if(r.parent===null)return new Nr(r,!0,0);let n=Zs(t.commands[0])?0:1,i=r.segments.length-1+n;return LE(r,i,t.numberOfDoubleDots)}function LE(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new M(4005,!1);i=n.segments.length}return new Nr(n,!1,i-o)}function VE(t){return Ni(t[0])?t[0].outlets:{[$]:t}}function cg(t,e,r){if(t??=new J([],{}),t.segments.length===0&&t.hasChildren())return Si(t,e,r);let n=jE(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=Si(t.children[$],e,r);return new J(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=cg(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new J(t.segments,i)}}function jE(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Ni(a))break;let l=`${a}`,d=n0&&l===void 0)break;if(l&&d&&typeof d=="object"&&d.outlets===void 0){if(!Hm(l,d,s))return o;n+=2}else{if(!Hm(l,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Lu(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Lu(new J([],{}),0,n))}),e}function $m(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Hm(t,e,r){return t==r.path&&Tt(e,r.parameters)}var Mi="imperative",_e=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(_e||{}),at=class{constructor(e,r){this.id=e,this.url=r}},Fr=class extends at{constructor(e,r,n="imperative",i=null){super(e,r),this.type=_e.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ye=class extends at{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=_e.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ze=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ze||{}),Qs=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Qs||{}),zt=class extends at{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},gn=class extends at{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationSkipped}},Ri=class extends at{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=_e.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ks=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vu=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ju=class extends at{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=_e.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Uu=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bu=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$u=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Hu=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Gu=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zu=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Js=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=_e.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Oi=class{},Lr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var Zu=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new Ui(this.injector),this.attachRef=null}},Ui=(()=>{let e=class e{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Zu(this.parentInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Xs=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Yu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Yu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Qu(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Qu(e,this._root).map(r=>r.value)}};function Yu(t,e){if(t===e.value)return e;for(let r of e.children){let n=Yu(t,r);if(n)return n}return null}function Qu(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Qu(t,r);if(n.length)return n.unshift(e),n}return[]}var We=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Ar(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ea=class extends Xs{constructor(e,r){super(e),this.snapshot=r,od(this,e)}toString(){return this.snapshot.toString()}};function ug(t){let e=BE(t),r=new Ie([new jn("",{})]),n=new Ie({}),i=new Ie({}),o=new Ie({}),s=new Ie(""),a=new qt(r,n,o,s,i,$,t,e.root);return a.snapshot=e.root,new ea(new We(a,[]),e)}function BE(t){let e={},r={},n={},i="",o=new Rr([],e,n,i,r,$,t,null,{});return new na("",new We(o,[]))}var qt=class{constructor(e,r,n,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(F(d=>d[Vi]))??R(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(F(e=>kr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(F(e=>kr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ta(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:b(b({},e.params),t.params),data:b(b({},e.data),t.data),resolve:b(b(b(b({},t.data),e.data),i?.data),t._resolvedData)}:n={params:b({},t.params),data:b({},t.data),resolve:b(b({},t.data),t._resolvedData??{})},i&&fg(i)&&(n.resolve[Vi]=i.title),n}var Rr=class{get title(){return this.data?.[Vi]}constructor(e,r,n,i,o,s,a,l,d){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=kr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=kr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},na=class extends Xs{constructor(e,r){super(r),this.url=e,od(this,r)}toString(){return dg(this._root)}};function od(t,e){e.value._routerState=t,e.children.forEach(r=>od(t,r))}function dg(t){let e=t.children.length>0?` { ${t.children.map(dg).join(", ")} } `:"";return`${t.value}${e}`}function Nu(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Tt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Tt(e.params,r.params)||t.paramsSubject.next(r.params),gE(e.url,r.url)||t.urlSubject.next(r.url),Tt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Ku(t,e){let r=Tt(t.params,e.params)&&CE(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Ku(t.parent,e.parent))}function fg(t){return typeof t.title=="string"||t.title===null}var sd=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=C(Ui),this.location=C(cn),this.changeDetector=C(dn),this.inputBinder=C(aa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new M(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new M(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,d=new Ju(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:d,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Vt]});let t=e;return t})(),Ju=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===qt?this.route:e===Ui?this.childContexts:this.parent.get(e,r)}},aa=new x(""),Gm=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=ei([i.queryParams,i.params,i.data]).pipe(Le(([s,a,l],d)=>(l=b(b(b({},s),a),l),d===0?R(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Xp(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function $E(t,e,r){let n=ki(t,e._root,r?r._root:void 0);return new ea(n,e)}function ki(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=HE(t,e,r);return new We(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ki(t,a)),s}}let n=GE(e.value),i=e.children.map(o=>ki(t,o));return new We(n,i)}}function HE(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return ki(t,n,i);return ki(t,n)})}function GE(t){return new qt(new Ie(t.url),new Ie(t.params),new Ie(t.queryParams),new Ie(t.fragment),new Ie(t.data),t.outlet,t.component,t)}var Pi=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},hg="ngNavigationCancelingError";function ra(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Ai(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=pg(!1,Ze.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function pg(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[hg]=!0,r.cancellationCode=e,r}function zE(t){return mg(t)&&Ai(t.url)}function mg(t){return!!t&&t[hg]}var qE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["ng-component"]],standalone:!0,features:[de],decls:1,vars:0,template:function(i,o){i&1&&p(0,"router-outlet")},dependencies:[sd],encapsulation:2});let t=e;return t})();function WE(t,e){return t.providers&&!t._injector&&(t._injector=Es(t.providers,e,`Route: ${t.path}`)),t._injector??e}function ad(t){let e=t.children&&t.children.map(ad),r=e?Q(b({},t),{children:e}):b({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==$&&(r.component=qE),r}function mt(t){return t.outlet||$}function ZE(t,e){let r=t.filter(n=>mt(n)===e);return r.push(...t.filter(n=>mt(n)!==e)),r}function Bi(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var YE=(t,e,r,n)=>F(i=>(new Xu(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Xu=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Nu(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Ar(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Ar(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Ar(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Ar(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Wu(o.value.snapshot))}),e.children.length&&this.forwardEvent(new zu(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Nu(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Nu(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Bi(i.snapshot);s.attachRef=null,s.route=i,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},ia=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Or=class{constructor(e,r){this.component=e,this.route=r}};function QE(t,e,r){let n=t._root,i=e?e._root:null;return Ii(n,i,r,[n.value])}function KE(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function jr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!$f(t)?t:e.get(t):n}function Ii(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ar(e);return t.children.forEach(s=>{JE(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ti(a,r.getContext(s),i)),i}function JE(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=XE(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new ia(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ii(t,e,a?a.children:null,n,i):Ii(t,e,r,n,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Or(a.outlet.component,s))}else s&&Ti(e,a,i),i.canActivateChecks.push(new ia(n)),o.component?Ii(t,null,a?a.children:null,n,i):Ii(t,null,r,n,i);return i}function XE(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Un(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Un(t.url,e.url)||!Tt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ku(t,e)||!Tt(t.queryParams,e.queryParams);case"paramsChange":default:return!Ku(t,e)}}function Ti(t,e,r){let n=Ar(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Ti(s,e.children.getContext(o),r):Ti(s,null,r):Ti(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Or(e.outlet.component,i)):r.canDeactivateChecks.push(new Or(null,i)):r.canDeactivateChecks.push(new Or(null,i))}function $i(t){return typeof t=="function"}function e_(t){return typeof t=="boolean"}function t_(t){return t&&$i(t.canLoad)}function n_(t){return t&&$i(t.canActivate)}function r_(t){return t&&$i(t.canActivateChild)}function i_(t){return t&&$i(t.canDeactivate)}function o_(t){return t&&$i(t.canMatch)}function gg(t){return t instanceof At||t?.name==="EmptyError"}var Gs=Symbol("INITIAL_VALUE");function Vr(){return Le(t=>ei(t.map(e=>e.pipe(Rt(1),tl(Gs)))).pipe(F(e=>{for(let r of e)if(r!==!0){if(r===Gs)return Gs;if(r===!1||s_(r))return r}return!0}),xe(e=>e!==Gs),Rt(1)))}function s_(t){return Ai(t)||t instanceof Pi}function a_(t,e){return fe(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?R(Q(b({},r),{guardsResult:!0})):l_(s,n,i,t).pipe(fe(a=>a&&e_(a)?c_(n,o,t,e):R(a)),F(a=>Q(b({},r),{guardsResult:a})))})}function l_(t,e,r,n){return ie(t).pipe(fe(i=>p_(i.component,i.route,r,e,n)),vt(i=>i!==!0,!0))}function c_(t,e,r,n){return ie(e).pipe(Nt(i=>nr(d_(i.route.parent,n),u_(i.route,n),h_(t,i.path,r),f_(t,i.route,r))),vt(i=>i!==!0,!0))}function u_(t,e){return t!==null&&e&&e(new qu(t)),R(!0)}function d_(t,e){return t!==null&&e&&e(new Gu(t)),R(!0)}function f_(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return R(!0);let i=n.map(o=>wo(()=>{let s=Bi(e)??r,a=jr(o,s),l=n_(a)?a.canActivate(e,t):qe(s,()=>a(e,t));return vn(l).pipe(vt())}));return R(i).pipe(Vr())}function h_(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>KE(s)).filter(s=>s!==null).map(s=>wo(()=>{let a=s.guards.map(l=>{let d=Bi(s.node)??r,h=jr(l,d),m=r_(h)?h.canActivateChild(n,t):qe(d,()=>h(n,t));return vn(m).pipe(vt())});return R(a).pipe(Vr())}));return R(o).pipe(Vr())}function p_(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return R(!0);let s=o.map(a=>{let l=Bi(e)??i,d=jr(a,l),h=i_(d)?d.canDeactivate(t,e,r,n):qe(l,()=>d(t,e,r,n));return vn(h).pipe(vt())});return R(s).pipe(Vr())}function m_(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return R(!0);let o=i.map(s=>{let a=jr(s,t),l=t_(a)?a.canLoad(e,r):qe(t,()=>a(e,r));return vn(l)});return R(o).pipe(Vr(),vg(n))}function vg(t){return qa(we(e=>{if(typeof e!="boolean")throw ra(t,e)}),F(e=>e===!0))}function g_(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return R(!0);let o=i.map(s=>{let a=jr(s,t),l=o_(a)?a.canMatch(e,r):qe(t,()=>a(e,r));return vn(l)});return R(o).pipe(Vr(),vg(n))}var Fi=class{constructor(e){this.segmentGroup=e||null}},Li=class extends Error{constructor(e){super(),this.urlTree=e}};function Tr(t){return tr(new Fi(t))}function v_(t){return tr(new M(4e3,!1))}function y_(t){return tr(pg(!1,Ze.GuardRejected))}var ed=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return R(n);if(i.numberOfChildren>1||!i.children[$])return v_(`${e.redirectTo}`);i=i.children[$]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:l,fragment:d,routeConfig:h,url:m,outlet:v,params:y,data:w,title:O}=i,T=qe(o,()=>a({params:y,data:w,queryParams:l,fragment:d,routeConfig:h,url:m,outlet:v,title:O}));if(T instanceof mn)throw new Li(T);r=T}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Li(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new mn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,i)}),new J(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new M(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},td={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function D_(t,e,r,n,i){let o=ld(t,e,r);return o.matched?(n=WE(e,n),g_(n,e,r,i).pipe(F(s=>s===!0?o:b({},td)))):R(o)}function ld(t,e,r){if(e.path==="**")return C_(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?b({},td):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||mE)(r,t,e);if(!i)return b({},td);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?b(b({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function C_(t){return{matched:!0,parameters:t.length>0?Km(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function zm(t,e,r,n){return r.length>0&&E_(t,r,n)?{segmentGroup:new J(e,b_(n,new J(r,t.children))),slicedSegments:[]}:r.length===0&&__(t,r,n)?{segmentGroup:new J(t.segments,w_(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new J(t.segments,t.children),slicedSegments:r}}function w_(t,e,r,n){let i={};for(let o of r)if(la(t,e,o)&&!n[mt(o)]){let s=new J([],{});i[mt(o)]=s}return b(b({},n),i)}function b_(t,e){let r={};r[$]=e;for(let n of t)if(n.path===""&&mt(n)!==$){let i=new J([],{});r[mt(n)]=i}return r}function E_(t,e,r){return r.some(n=>la(t,e,n)&&mt(n)!==$)}function __(t,e,r){return r.some(n=>la(t,e,n))}function la(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function I_(t,e,r,n){return mt(t)!==n&&(n===$||!la(e,r,t))?!1:ld(e,t,r).matched}function x_(t,e,r){return e.length===0&&!t.children[r]}var nd=class{};function S_(t,e,r,n,i,o,s="emptyOnly"){return new rd(t,e,r,n,i,s,o).recognize()}var M_=31,rd=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new ed(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new M(4002,`'${e.segmentGroup}'`)}recognize(){let e=zm(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(F(({children:r,rootSnapshot:n})=>{let i=new We(n,r),o=new na("",i),s=kE(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new Rr([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,$,r).pipe(F(n=>({children:n,rootSnapshot:r})),Qt(n=>{if(n instanceof Li)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Fi?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(F(s=>s instanceof We?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return ie(o).pipe(Nt(s=>{let a=n.children[s],l=ZE(r,s);return this.processSegmentGroup(e,l,a,s,i)}),el((s,a)=>(s.push(...a),s)),Kt(null),Xa(),fe(s=>{if(s===null)return Tr(n);let a=yg(s);return T_(a),R(a)}))}processSegment(e,r,n,i,o,s,a){return ie(r).pipe(Nt(l=>this.processSegmentAgainstRoute(l._injector??e,r,l,n,i,o,s,a).pipe(Qt(d=>{if(d instanceof Fi)return R(null);throw d}))),vt(l=>!!l),Qt(l=>{if(gg(l))return x_(n,i,o)?R(new nd):Tr(n);throw l}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,l){return I_(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,l):Tr(i):Tr(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:l,parameters:d,consumedSegments:h,positionalParamSegments:m,remainingSegments:v}=ld(r,i,o);if(!l)return Tr(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>M_&&(this.allowRedirects=!1));let y=new Rr(o,d,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,qm(i),mt(i),i.component??i._loadedComponent??null,i,Wm(i)),w=ta(y,a,this.paramsInheritanceStrategy);y.params=Object.freeze(w.params),y.data=Object.freeze(w.data);let O=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,m,y,e);return this.applyRedirects.lineralizeSegments(i,O).pipe(fe(T=>this.processSegment(e,n,r,T.concat(v),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=D_(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Le(l=>l.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Le(({routes:d})=>{let h=n._loadedInjector??e,{parameters:m,consumedSegments:v,remainingSegments:y}=l,w=new Rr(v,m,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,qm(n),mt(n),n.component??n._loadedComponent??null,n,Wm(n)),O=ta(w,s,this.paramsInheritanceStrategy);w.params=Object.freeze(O.params),w.data=Object.freeze(O.data);let{segmentGroup:T,slicedSegments:N}=zm(r,v,y,d);if(N.length===0&&T.hasChildren())return this.processChildren(h,d,T,w).pipe(F(re=>new We(w,re)));if(d.length===0&&N.length===0)return R(new We(w,[]));let ge=mt(n)===o;return this.processSegment(h,d,T,N,ge?$:o,!0,w).pipe(F(re=>new We(w,re instanceof We?[re]:[])))}))):Tr(r)))}getChildConfig(e,r,n){return r.children?R({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?R({routes:r._loadedRoutes,injector:r._loadedInjector}):m_(e,r,n,this.urlSerializer).pipe(fe(i=>i?this.configLoader.loadChildren(e,r).pipe(we(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):y_(r))):R({routes:[],injector:e})}};function T_(t){t.sort((e,r)=>e.value.outlet===$?-1:r.value.outlet===$?1:e.value.outlet.localeCompare(r.value.outlet))}function A_(t){let e=t.value.routeConfig;return e&&e.path===""}function yg(t){let e=[],r=new Set;for(let n of t){if(!A_(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=yg(n.children);e.push(new We(n.value,i))}return e.filter(n=>!r.has(n))}function qm(t){return t.data||{}}function Wm(t){return t.resolve||{}}function N_(t,e,r,n,i,o){return fe(s=>S_(t,e,r,n,s.extractedUrl,i,o).pipe(F(({state:a,tree:l})=>Q(b({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function R_(t,e){return fe(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return R(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let d of Dg(l))s.add(d);let a=0;return ie(s).pipe(Nt(l=>o.has(l)?O_(l,n,t,e):(l.data=ta(l,l.parent,t).resolve,R(void 0))),we(()=>a++),rr(1),fe(l=>a===s.size?R(r):$e))})}function Dg(t){let e=t.children.map(r=>Dg(r)).flat();return[t,...e]}function O_(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!fg(i)&&(o[Vi]=i.title),k_(o,t,e,n).pipe(F(s=>(t._resolvedData=s,t.data=ta(t,t.parent,r).resolve,null)))}function k_(t,e,r,n){let i=ku(t);if(i.length===0)return R({});let o={};return ie(i).pipe(fe(s=>P_(t[s],e,r,n).pipe(vt(),we(a=>{if(a instanceof Pi)throw ra(new Pr,a);o[s]=a}))),rr(1),Ja(o),Qt(s=>gg(s)?$e:tr(s)))}function P_(t,e,r,n){let i=Bi(e)??n,o=jr(t,i),s=o.resolve?o.resolve(e,r):qe(i,()=>o(e,r));return vn(s)}function Ru(t){return Le(e=>{let r=t(e);return r?ie(r).pipe(F(()=>e)):R(e)})}var Cg=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===$);return i}getResolvedTitleForRoute(n){return n.data[Vi]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(F_),providedIn:"root"});let t=e;return t})(),F_=(()=>{let e=class e extends Cg{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(I(jm))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hi=new x("",{providedIn:"root",factory:()=>({})}),oa=new x(""),cd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=C(Ns)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return R(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=vn(n.loadComponent()).pipe(F(wg),we(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Jt(()=>{this.componentLoaders.delete(n)})),o=new er(i,()=>new Ce).pipe(Xn());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return R({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=L_(i,this.compiler,n,this.onLoadEndListener).pipe(Jt(()=>{this.childrenLoaders.delete(i)})),a=new er(s,()=>new Ce).pipe(Xn());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function L_(t,e,r,n){return vn(t.loadChildren()).pipe(F(wg),fe(i=>i instanceof ai||Array.isArray(i)?R(i):ie(e.compileModuleAsync(i))),F(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(oa,[],{optional:!0,self:!0}).flat()),{routes:s.map(ad),injector:o}}))}function V_(t){return t&&typeof t=="object"&&"default"in t}function wg(t){return V_(t)?t.default:t}var ud=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(j_),providedIn:"root"});let t=e;return t})(),j_=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bg=new x(""),Eg=new x("");function U_(t,e,r){let n=t.get(Eg),i=t.get(Ee);return t.get(X).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(d=>setTimeout(d));let o,s=new Promise(d=>{o=d}),a=i.startViewTransition(()=>(o(),B_(t))),{onViewTransitionCreated:l}=n;return l&&qe(t,()=>l({transition:a,from:e,to:r})),s})}function B_(t){return new Promise(e=>{bs(()=>setTimeout(e),{injector:t,phase:en.Read})})}var $_=new x(""),dd=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ce,this.transitionAbortSubject=new Ce,this.configLoader=C(cd),this.environmentInjector=C(Me),this.urlSerializer=C(ji),this.rootContexts=C(Ui),this.location=C(Sr),this.inputBindingEnabled=C(aa,{optional:!0})!==null,this.titleStrategy=C(Cg),this.options=C(Hi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=C(ud),this.createViewTransition=C(bg,{optional:!0}),this.navigationErrorHandler=C($_,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null;let n=o=>this.events.next(new $u(o)),i=o=>this.events.next(new Hu(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(Q(b(b({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Ie({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Mi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(xe(s=>s.id!==0),F(s=>Q(b({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Le(s=>{let a=!1,l=!1;return R(s).pipe(Le(d=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),$e;this.currentTransition=s,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?Q(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=d.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!h&&m!=="reload"){let v="";return this.events.next(new gn(d.id,this.urlSerializer.serialize(d.rawUrl),v,Qs.IgnoredSameUrlNavigation)),d.resolve(!1),$e}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return R(d).pipe(Le(v=>{let y=this.transitions?.getValue();return this.events.next(new Fr(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),y!==this.transitions?.getValue()?$e:Promise.resolve(v)}),N_(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),we(v=>{s.targetSnapshot=v.targetSnapshot,s.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation=Q(b({},this.currentNavigation),{finalUrl:v.urlAfterRedirects});let y=new Ks(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(y)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:v,extractedUrl:y,source:w,restoredState:O,extras:T}=d,N=new Fr(v,this.urlSerializer.serialize(y),w,O);this.events.next(N);let ge=ug(this.rootComponentType).snapshot;return this.currentTransition=s=Q(b({},d),{targetSnapshot:ge,urlAfterRedirects:y,extras:Q(b({},T),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,R(s)}else{let v="";return this.events.next(new gn(d.id,this.urlSerializer.serialize(d.extractedUrl),v,Qs.IgnoredByUrlHandlingStrategy)),d.resolve(!1),$e}}),we(d=>{let h=new Vu(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}),F(d=>(this.currentTransition=s=Q(b({},d),{guards:QE(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),s)),a_(this.environmentInjector,d=>this.events.next(d)),we(d=>{if(s.guardsResult=d.guardsResult,d.guardsResult&&typeof d.guardsResult!="boolean")throw ra(this.urlSerializer,d.guardsResult);let h=new ju(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(h)}),xe(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",Ze.GuardRejected),!1)),Ru(d=>{if(d.guards.canActivateChecks.length)return R(d).pipe(we(h=>{let m=new Uu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),Le(h=>{let m=!1;return R(h).pipe(R_(this.paramsInheritanceStrategy,this.environmentInjector),we({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",Ze.NoDataFromResolver)}}))}),we(h=>{let m=new Bu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),Ru(d=>{let h=m=>{let v=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(m.routeConfig).pipe(we(y=>{m.component=y}),F(()=>{})));for(let y of m.children)v.push(...h(y));return v};return ei(h(d.targetSnapshot.root)).pipe(Kt(null),Rt(1))}),Ru(()=>this.afterPreactivation()),Le(()=>{let{currentSnapshot:d,targetSnapshot:h}=s,m=this.createViewTransition?.(this.environmentInjector,d.root,h.root);return m?ie(m).pipe(F(()=>s)):R(s)}),F(d=>{let h=$E(n.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=s=Q(b({},d),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,s}),we(()=>{this.events.next(new Oi)}),YE(this.rootContexts,n.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Rt(1),we({next:d=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ye(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{a=!0}}),nl(this.transitionAbortSubject.pipe(we(d=>{throw d}))),Jt(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Qt(d=>{if(l=!0,mg(d))this.events.next(new zt(s.id,this.urlSerializer.serialize(s.extractedUrl),d.message,d.cancellationCode)),zE(d)?this.events.next(new Lr(d.url,d.navigationBehaviorOptions)):s.resolve(!1);else{let h=new Ri(s.id,this.urlSerializer.serialize(s.extractedUrl),d,s.targetSnapshot??void 0);try{let m=qe(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof Pi){let{message:v,cancellationCode:y}=ra(this.urlSerializer,m);this.events.next(new zt(s.id,this.urlSerializer.serialize(s.extractedUrl),v,y)),this.events.next(new Lr(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(h);let v=n.errorHandler(d);s.resolve(!!v)}}catch(m){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(m)}}return $e}))}))}cancelNavigationTransition(n,i,o){let s=new zt(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function H_(t){return t!==Mi}var G_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(z_),providedIn:"root"});let t=e;return t})(),id=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},z_=(()=>{let e=class e extends id{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_g=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(q_),providedIn:"root"});let t=e;return t})(),q_=(()=>{let e=class e extends _g{constructor(){super(...arguments),this.location=C(Sr),this.urlSerializer=C(ji),this.options=C(Hi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=C(ud),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new mn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ug(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Fr)this.stateMemento=this.createStateMemento();else if(n instanceof gn)this.rawUrlTree=i.initialUrl;else if(n instanceof Ks){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof Oi?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof zt&&(n.code===Ze.GuardRejected||n.code===Ze.NoDataFromResolver)?this.restoreHistory(i):n instanceof Ri?this.restoreHistory(i,!0):n instanceof Ye&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=b(b({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=b(b({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xi=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(xi||{});function Ig(t,e){t.events.pipe(xe(r=>r instanceof Ye||r instanceof zt||r instanceof Ri||r instanceof gn),F(r=>r instanceof Ye||r instanceof gn?xi.COMPLETE:(r instanceof zt?r.code===Ze.Redirect||r.code===Ze.SupersededByNewNavigation:!1)?xi.REDIRECTING:xi.FAILED),xe(r=>r!==xi.REDIRECTING),Rt(1)).subscribe(()=>{e()})}function W_(t){throw t}var Z_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Y_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},gt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=C(xs),this.stateManager=C(_g),this.options=C(Hi,{optional:!0})||{},this.pendingTasks=C(jt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=C(dd),this.urlSerializer=C(ji),this.location=C(Sr),this.urlHandlingStrategy=C(ud),this._events=new Ce,this.errorHandler=this.options.errorHandler||W_,this.navigated=!1,this.routeReuseStrategy=C(G_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=C(oa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!C(aa,{optional:!0}),this.eventsSubscription=new ve,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof zt&&i.code!==Ze.Redirect&&i.code!==Ze.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ye)this.navigated=!0;else if(i instanceof Lr){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),d=b({info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||H_(o.source)},a);this.scheduleNavigation(l,Mi,null,d,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}K_(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Mi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let d=b({},o);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(s.state=d)}let l=this.parseUrl(n);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(ad),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:d}=i,h=d?this.currentUrlTree.fragment:a,m=null;switch(l){case"merge":m=b(b({},this.currentUrlTree.queryParams),s);break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=s||null}m!==null&&(m=this.removeEmptyProps(m));let v;try{let y=o?o.snapshot:this.routerState.snapshot.root;v=sg(y)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),v=this.currentUrlTree.root}return ag(v,n,m,h??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Ai(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Mi,null,i)}navigate(n,i={skipLocationChange:!1}){return Q_(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=b({},Z_):i===!1?o=b({},Y_):o=i,Ai(n))return Um(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Um(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,d,h;a?(l=a.resolve,d=a.reject,h=a.promise):h=new Promise((v,y)=>{l=v,d=y});let m=this.pendingTasks.add();return Ig(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:d,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(v=>Promise.reject(v))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Q_(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,l){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new Ce,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let d=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=d==="a"||d==="area",this.isAnchorElement?this.subscription=n.events.subscribe(h=>{h instanceof Ye&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,d),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:ep(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}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})}};e.\u0275fac=function(i){return new(i||e)(S(gt),S(qt),Mc("tabindex"),S(st),S(Ae),S(Ht))},e.\u0275dir=ne({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&A("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Ut("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Bt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Bt],replaceUrl:[2,"replaceUrl","replaceUrl",Bt],routerLink:"routerLink"},standalone:!0,features:[Jc,Vt]});let t=e;return t})(),xg=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new he,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof Ye&&this.update()})}ngAfterContentInit(){R(this.links.changes,R(null)).pipe(Yt()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=ie(n).pipe(Yt()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&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!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let i=J_(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?n.isActive(s,i):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(i){return new(i||e)(S(gt),S(Ae),S(st),S(dn),S(Ne,8))},e.\u0275dir=ne({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&$p(s,Ne,5),i&2){let a;Hp(a=Gp())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Vt]});let t=e;return t})();function J_(t){return!!t.paths}var sa=class{};var X_=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(xe(n=>n instanceof Ye),Nt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Es(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return ie(o).pipe(Yt())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=R(null);let s=o.pipe(fe(a=>a===null?R(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ie([s,a]).pipe(Yt())}else return s})}};e.\u0275fac=function(i){return new(i||e)(I(gt),I(Ns),I(Me),I(sa),I(cd))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Sg=new x(""),eI=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=C(Me),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Fr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ye?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof gn&&n.code===Qs.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Js&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>Kr(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),bs(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Js(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){dp()},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function tI(t){return t.routerState.root}function Gi(t,e){return{\u0275kind:t,\u0275providers:e}}function nI(){let t=C(it);return e=>{let r=t.get(un);if(e!==r.components[0])return;let n=t.get(gt),i=t.get(Mg);t.get(fd)===1&&n.initialNavigation(),t.get(Tg,null,H.Optional)?.setUpPreloading(),t.get(Sg,null,H.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Mg=new x("",{factory:()=>new Ce}),fd=new x("",{providedIn:"root",factory:()=>1});function rI(){return Gi(2,[{provide:fd,useValue:0},{provide:Ts,multi:!0,deps:[it],useFactory:e=>{let r=e.get(am,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(gt),o=e.get(Mg);Ig(i,()=>{n(!0)}),e.get(dd).afterPreactivation=()=>(n(!0),o.closed?R(void 0):o),i.initialNavigation()}))}}])}function iI(){return Gi(3,[{provide:Ts,multi:!0,useFactory:()=>{let e=C(gt);return()=>{e.setUpLocationChangeListener()}}},{provide:fd,useValue:2}])}var Tg=new x("");function oI(t){return Gi(0,[{provide:Tg,useExisting:X_},{provide:sa,useExisting:t}])}function sI(){return Gi(8,[Gm,{provide:aa,useExisting:Gm}])}function aI(t){let e=[{provide:bg,useValue:U_},{provide:Eg,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return Gi(9,e)}var Zm=new x("ROUTER_FORROOT_GUARD"),lI=[Sr,{provide:ji,useClass:Pr},gt,Ui,{provide:qt,useFactory:tI,deps:[gt]},cd,[]],hd=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[lI,[],{provide:oa,multi:!0,useValue:n},{provide:Zm,useFactory:fI,deps:[[gt,new os,new hc]]},{provide:Hi,useValue:i||{}},i?.useHash?uI():dI(),cI(),i?.preloadingStrategy?oI(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?hI(i):[],i?.bindToComponentInputs?sI().\u0275providers:[],i?.enableViewTransitions?aI().\u0275providers:[],pI()]}}static forChild(n){return{ngModule:e,providers:[{provide:oa,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(I(Zm,8))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();function cI(){return{provide:Sg,useFactory:()=>{let t=C(dm),e=C(X),r=C(Hi),n=C(dd),i=C(ji);return r.scrollOffset&&t.setOffset(r.scrollOffset),new eI(i,n,t,e,r)}}}function uI(){return{provide:Ht,useClass:cm}}function dI(){return{provide:Ht,useClass:hu}}function fI(t){return"guarded"}function hI(t){return[t.initialNavigation==="disabled"?iI().\u0275providers:[],t.initialNavigation==="enabledBlocking"?rI().\u0275providers:[]]}var Ym=new x("");function pI(){return[{provide:Ym,useFactory:nI},{provide:As,multi:!0,useExisting:Ym}]}var gI=()=>["/pro"],Ag=(()=>{let e=class e{constructor(){this.years=new Date().getFullYear()-2009}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-footer"]],standalone:!0,features:[de],decls:94,vars:3,consts:[[1,"container-fluid","mt-5"],[1,"p-5"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-4","text-center"],["src","resources/portrait_600.jpg","alt","Portrait",1,"img-fluid","img-thumbnail","mb-5","portrait"],[1,"col-xs-12","col-md-8"],[3,"routerLink"],[1,"fa-solid","fa-heart","githubheart"],["href","https://github.com/sponsors/danielpalme","target","_blank"],[1,"col-md-3","offset-md-2"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ","target","_blank"],[1,"col-md-4","mt-4","mt-md-0"],["href","https://www.nuget.org/packages/ReportGenerator","target","_blank"],["href","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool","target","_blank"],["href","https://www.nuget.org/packages/ReportGenerator.Core","target","_blank"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col-md-3","mt-4","mt-md-0"],[1,"fa-brands","fa-github"],["href","https://twitter.com/danielpalme","target","_blank"],[1,"fa-brands","fa-twitter"],["href","https://www.palmmedia.de/Privacy","target","_blank"],["href","https://www.palmmedia.de/Imprint","target","_blank"]],template:function(i,o){i&1&&(u(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),p(5,"img",5),f(),u(6,"div",6)(7,"h2"),c(8,"Who's behind"),f(),u(9,"p"),c(10,"My name is Daniel Palme. I'm a software developer from Germany."),f(),u(11,"p"),c(12," Back in 2009 I wanted to create code coverage reports based on "),u(13,"i"),c(14,"PartCover"),f(),c(15," files."),p(16,"br"),c(17," Since no existing tool was able to merge several coverage files and generate a visual appealing report, I decided to create my own."),p(18,"br"),c(19),u(20,"i"),c(21,"ReportGenerator"),f(),c(22,". "),f(),u(23,"p"),c(24," You can support the ongoing maintenance by buying a "),u(25,"a",7),c(26,"PRO license"),f(),c(27," or by becoming a "),p(28,"i",8),c(29,"\xA0"),u(30,"a",9),c(31,"GitHub sponsor"),f(),c(32,". "),f()()()()(),u(33,"div",2)(34,"div",3),p(35,"hr"),f()(),u(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),c(42,"GitHub"),f()(),u(43,"a",11),c(44,"Source code"),f(),p(45,"br"),u(46,"a",12),c(47,"Wiki"),f(),p(48,"br"),u(49,"a",13),c(50,"FAQ"),f()(),u(51,"div",14)(52,"p")(53,"b"),c(54,"Download"),f()(),u(55,"i"),c(56,"NuGet"),f(),p(57,"br"),u(58,"a",15),c(59,"ReportGenerator"),f(),p(60,"br"),u(61,"a",16),c(62,"dotnet-reportgenerator-globaltool"),f(),p(63,"br"),u(64,"a",17),c(65,"ReportGenerator.Core"),f(),p(66,"br")(67,"br"),u(68,"i"),c(69,"Integration"),f(),p(70,"br"),u(71,"a",18),c(72,"GitHub actions"),f(),p(73,"br"),u(74,"a",19),c(75,"Azure DevOps"),f()(),u(76,"div",20)(77,"p")(78,"b"),c(79,"Community"),f()(),u(80,"a",11),p(81,"i",21),c(82," GitHub"),f(),p(83,"br"),u(84,"a",22),p(85,"i",23),c(86," Twitter"),f(),p(87,"br")(88,"br"),u(89,"a",24),c(90,"Privacy"),f(),p(91,"br"),u(92,"a",25),c(93,"Imprint"),f()()()()()()),i&2&&(g(19),ht(" Fast forward ",o.years," years, I'm still maintaining "),g(6),D("routerLink",B(2,gI)))},dependencies:[Ne],styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}.portrait[_ngcontent-%COMP%]{max-height:300px}"]});let t=e;return t})();var Ng=()=>["/"],vI=t=>({show:t}),Ur=()=>["link-active"],Rg=()=>({exact:!0}),yI=()=>["/features"],DI=()=>["/getstarted"],CI=()=>["/usage"],wI=()=>["/contact"],bI=()=>["/pro"],Og=(()=>{let e=class e{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-nav-menu"]],standalone:!0,features:[de],decls:42,vars:34,consts:[[1,"mb-5"],[1,"navbar","fixed-top","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container-xxl","flex-wrap","flex-md-nowrap"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.svg","height","40","alt","Icon",1,"me-2"],[1,"d-sm-none","d-md-none","d-lg-inline","ms-2"],["type","button","data-toggle","collapse","data-target",".navbar-collapse","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],[1,"navbar-collapse","collapse","d-sm-inline-flex",3,"ngClass"],[1,"navbar-nav","flex-grow"],[1,"nav-item",3,"routerLinkActive","routerLinkActiveOptions"],[1,"nav-link","text-dark",3,"routerLink"],[1,"nav-item",3,"routerLinkActive"],[1,"nav-link","text-dark","text-nowrap",3,"routerLink"],[1,"pro-button"],[1,"d-md-none","text-secondary"],[1,"navbar-nav","flex-row","flex-wrap","ms-md-auto","d-sm-none","d-md-flex"],[1,"nav-item","col-6","col-md-auto"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank","title","GitHub",1,"nav-link","text-dark"],[1,"fa-brands","fa-github"],[1,"d-inline","d-sm-none","ms-2"],["href","https://twitter.com/danielpalme","target","_blank","title","Twitter",1,"nav-link","text-dark"],[1,"fa-brands","fa-twitter"]],template:function(i,o){i&1&&(u(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),p(4,"img",4),u(5,"span",5),c(6,"ReportGenerator"),f()(),u(7,"button",6),A("click",function(){return o.toggle()}),p(8,"span",7),f(),u(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),c(13,"Home"),f()(),u(14,"li",10)(15,"a",11),c(16,"Features"),f()(),u(17,"li",12)(18,"a",13),c(19,"Get started"),f()(),u(20,"li",12)(21,"a",11),c(22,"Usage"),f()(),u(23,"li",12)(24,"a",11),c(25,"Contact"),f()(),u(26,"li",12)(27,"a",11)(28,"span",14),c(29,"PRO"),f()()()(),p(30,"hr",15),u(31,"ul",16)(32,"li",17)(33,"a",18),p(34,"i",19),u(35,"span",20),c(36,"GitHub"),f()()(),u(37,"li",17)(38,"a",21),p(39,"i",22),u(40,"span",20),c(41,"Twitter"),f()()()()()()()()),i&2&&(g(3),D("routerLink",B(17,Ng)),g(4),Ut("aria-expanded",o.isExpanded),g(2),D("ngClass",Ln(18,vI,o.isExpanded)),g(2),D("routerLinkActive",B(20,Ur))("routerLinkActiveOptions",B(21,Rg)),g(),D("routerLink",B(22,Ng)),g(2),D("routerLinkActive",B(23,Ur))("routerLinkActiveOptions",B(24,Rg)),g(),D("routerLink",B(25,yI)),g(2),D("routerLinkActive",B(26,Ur)),g(),D("routerLink",B(27,DI)),g(2),D("routerLinkActive",B(28,Ur)),g(),D("routerLink",B(29,CI)),g(2),D("routerLinkActive",B(30,Ur)),g(),D("routerLink",B(31,wI)),g(2),D("routerLinkActive",B(32,Ur)),g(),D("routerLink",B(33,bI)))},dependencies:[Ne,Mr,xg],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}@keyframes _ngcontent-%COMP%_pro-button-animation{0%{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}50%{background-color:vvar(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}to{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}}.pro-button[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_pro-button-animation;animation-duration:2s;animation-iteration-count:2}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{background-color:var(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}.nav-link[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:500}.nav-link[_ngcontent-%COMP%]:hover{text-decoration:underline;text-underline-offset:2px}.link-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--rg-primary-hover-color)!important;font-weight:400}"]});let t=e;return t})();var kg=(()=>{let e=class e{constructor(n,i,o){this.dom=n,this.router=i,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(xe(n=>n instanceof Ye),F(()=>this.activatedRoute),F(n=>{for(;n.firstChild;)n=n.firstChild;return n}),xe(n=>n.outlet==="primary"),fe(n=>n.data)).subscribe(n=>{let i=`${window.location.protocol}//${window.location.hostname}`;n.canonical?this.updateCanonicalUrl(i+n.canonical):this.updateCanonicalUrl(i+this.router.url)})}updateCanonicalUrl(n){let i=this.dom.getElementsByTagName("head")[0];var o=this.dom.querySelector("link[rel='canonical']")||null;o==null&&(o=this.dom.createElement("link"),i.appendChild(o)),o.setAttribute("rel","canonical"),o.setAttribute("href",n)}};e.\u0275fac=function(i){return new(i||e)(S(Ee),S(gt),S(qt))},e.\u0275cmp=ce({type:e,selectors:[["app-root"]],standalone:!0,features:[de],decls:3,vars:0,template:function(i,o){i&1&&p(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[Og,sd,Ag],encapsulation:2});let t=e;return t})();var Hg=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(S(st),S(Ae))},e.\u0275dir=ne({type:e});let t=e;return t})(),ga=(()=>{let e=class e extends Hg{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,features:[Pe]});let t=e;return t})(),Qi=new x("");var EI={provide:Qi,useExisting:He(()=>yn),multi:!0};function _I(){let t=Mt()?Mt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var II=new x(""),yn=(()=>{let e=class e extends Hg{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!_I())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(S(st),S(Ae),S(II,8))},e.\u0275dir=ne({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&A("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[pt([EI]),Pe]});let t=e;return t})();function gd(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function xI(t){return t!=null&&typeof t.length=="number"}var qr=new x(""),Gg=new x(""),SI=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function MI(t){return gd(t.value)?{required:!0}:null}function TI(t){return gd(t.value)||SI.test(t.value)?null:{email:!0}}function AI(t){return e=>xI(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function NI(t){if(!t)return pd;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>{if(gd(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function pd(t){return null}function zg(t){return t!=null}function qg(t){return Vn(t)?ie(t):t}function Wg(t){let e={};return t.forEach(r=>{e=r!=null?b(b({},e),r):e}),Object.keys(e).length===0?null:e}function Zg(t,e){return e.map(r=>r(t))}function RI(t){return!t.validate}function Yg(t){return t.map(e=>RI(e)?e:r=>e.validate(r))}function OI(t){if(!t)return null;let e=t.filter(zg);return e.length==0?null:function(r){return Wg(Zg(r,e))}}function vd(t){return t!=null?OI(Yg(t)):null}function kI(t){if(!t)return null;let e=t.filter(zg);return e.length==0?null:function(r){let n=Zg(r,e).map(qg);return Ka(n).pipe(F(Wg))}}function yd(t){return t!=null?kI(Yg(t)):null}function Pg(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function PI(t){return t._rawValidators}function FI(t){return t._rawAsyncValidators}function md(t){return t?Array.isArray(t)?t:[t]:[]}function ua(t,e){return Array.isArray(t)?t.includes(e):t===e}function Fg(t,e){let r=md(e);return md(t).forEach(i=>{ua(r,i)||r.push(i)}),r}function Lg(t,e){return md(e).filter(r=>!ua(t,r))}var da=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=vd(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=yd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Hr=class extends da{get formDirective(){return null}get path(){return null}},Gr=class extends da{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},fa=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},LI={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Sk=Q(b({},LI),{"[class.ng-submitted]":"isSubmitted"}),Wr=(()=>{let e=class e extends fa{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(Gr,2))},e.\u0275dir=ne({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&_s("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Pe]});let t=e;return t})(),Zr=(()=>{let e=class e extends fa{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(Hr,10))},e.\u0275dir=ne({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&_s("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Pe]});let t=e;return t})();var zi="VALID",ca="INVALID",Br="PENDING",qi="DISABLED",zr=class{},ha=class extends zr{constructor(e,r){super(),this.value=e,this.source=r}},Zi=class extends zr{constructor(e,r){super(),this.pristine=e,this.source=r}},Yi=class extends zr{constructor(e,r){super(),this.touched=e,this.source=r}},$r=class extends zr{constructor(e,r){super(),this.status=e,this.source=r}};function Qg(t){return(va(t)?t.validators:t)||null}function VI(t){return Array.isArray(t)?vd(t):t||null}function Kg(t,e){return(va(e)?e.asyncValidators:t)||null}function jI(t){return Array.isArray(t)?yd(t):t||null}function va(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function UI(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new M(1e3,"");if(!n[r])throw new M(1001,"")}function BI(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new M(1002,"")})}var pa=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new Ce,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===zi}get invalid(){return this.status===ca}get pending(){return this.status==Br}get disabled(){return this.status===qi}get enabled(){return this.status!==qi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Fg(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Fg(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Lg(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Lg(e,this._rawAsyncValidators))}hasValidator(e){return ua(this._rawValidators,e)}hasAsyncValidator(e){return ua(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(Q(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Yi(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),r&&e.emitEvent!==!1&&this._events.next(new Yi(!1,n))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(Q(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Zi(!1,n))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),r&&e.emitEvent!==!1&&this._events.next(new Zi(!0,n))}markAsPending(e={}){this.status=Br;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new $r(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(Q(b({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=qi,this.errors=null,this._forEachChild(i=>{i.disable(Q(b({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ha(this.value,n)),this._events.next(new $r(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Q(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=zi,this._forEachChild(n=>{n.enable(Q(b({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Q(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zi||this.status===Br)&&this._runAsyncValidator(n,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ha(this.value,r)),this._events.next(new $r(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(Q(b({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?qi:zi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=Br,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=qg(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new $r(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?qi:this.errors?ca:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Br)?Br:this._anyControlsHaveStatus(ca)?ca:zi}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new Zi(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new Yi(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){va(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=VI(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=jI(this._rawAsyncValidators)}},ma=class extends pa{constructor(e,r,n){super(Qg(r),Kg(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){BI(this,!0,e),Object.keys(e).forEach(n=>{UI(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var ya=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Da}),Da="always";function $I(t,e){return[...e.path,t]}function Jg(t,e,r=Da){Xg(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),GI(t,e),qI(t,e),zI(t,e),HI(t,e)}function Vg(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function HI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function Xg(t,e){let r=PI(t);e.validator!==null?t.setValidators(Pg(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=FI(t);e.asyncValidator!==null?t.setAsyncValidators(Pg(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();Vg(e._rawValidators,i),Vg(e._rawAsyncValidators,i)}function GI(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&ev(t,e)})}function zI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&ev(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function ev(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function qI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function WI(t,e){t==null,Xg(t,e)}function ZI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function YI(t){return Object.getPrototypeOf(t.constructor)===ga}function QI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function KI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===yn?r=o:YI(o)?n=o:i=o}),i||n||r||null}var JI={provide:Hr,useExisting:He(()=>Bn)},Wi=Promise.resolve(),Bn=(()=>{let e=class e extends Hr{constructor(n,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new he,this.form=new ma({},vd(n),yd(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Wi.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),Jg(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Wi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Wi.then(()=>{let i=this._findContainer(n.path),o=new ma({});WI(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Wi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){Wi.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,QI(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(i){return new(i||e)(S(qr,10),S(Gg,10),S(ya,8))},e.\u0275dir=ne({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&A("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pt([JI]),Pe]});let t=e;return t})();function jg(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Ug(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var XI=class extends pa{constructor(e=null,r,n){super(Qg(r),Kg(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),va(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Ug(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){jg(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){jg(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Ug(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var ex={provide:Gr,useExisting:He(()=>$n)},Bg=Promise.resolve(),$n=(()=>{let e=class e extends Gr{constructor(n,i,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new XI,this._registered=!1,this.name="",this.update=new he,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=KI(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),ZI(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Jg(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Bg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Bt(i);Bg.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?$I(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(S(Hr,9),S(qr,10),S(Gg,10),S(Qi,10),S(dn,8),S(ya,8))},e.\u0275dir=ne({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[pt([ex]),Pe,Vt]});let t=e;return t})(),Yr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var tx={provide:Qi,useExisting:He(()=>Dd),multi:!0};var nx=(()=>{let e=class e{constructor(){this._accessors=[]}add(n,i){this._accessors.push([n,i])}remove(n){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===n){this._accessors.splice(i,1);return}}select(n){this._accessors.forEach(i=>{this._isSameGroup(i,n)&&i[1]!==n&&i[1].fireUncheck(n.value)})}_isSameGroup(n,i){return n[0].control?n[0]._parent===i._control._parent&&n[1].name===i.name:!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Dd=(()=>{let e=class e extends ga{constructor(n,i,o,s){super(n,i),this._registry=o,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=C(ya,{optional:!0})??Da}ngOnInit(){this._control=this._injector.get(Gr),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}setDisabledState(n){(this.setDisabledStateFired||n||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(i){return new(i||e)(S(st),S(Ae),S(nx),S(it))},e.\u0275dir=ne({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[pt([tx]),Pe]});let t=e;return t})();var rx={provide:Qi,useExisting:He(()=>Ca),multi:!0};function tv(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function ix(t){return t.split(":")[0]}var Ca=(()=>{let e=class e extends ga{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i=this._getOptionId(n),o=tv(i,n);this.setProperty("value",o)}registerOnChange(n){this.onChange=i=>{this.value=this._getOptionValue(i),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),n))return i;return null}_getOptionValue(n){let i=ix(n);return this._optionMap.has(i)?this._optionMap.get(i):n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[pt([rx]),Pe]});let t=e;return t})(),nv=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){this._select!=null&&(this._select._optionMap.set(this.id,n),this._setElementValue(tv(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(Ae),S(st),S(Ca,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),ox={provide:Qi,useExisting:He(()=>rv),multi:!0};function $g(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function sx(t){return t.split(":")[0]}var rv=(()=>{let e=class e extends ga{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i;if(Array.isArray(n)){let o=n.map(s=>this._getOptionId(s));i=(s,a)=>{s._setSelected(o.indexOf(a.toString())>-1)}}else i=(o,s)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(n){this.onChange=i=>{let o=[],s=i.selectedOptions;if(s!==void 0){let a=s;for(let l=0;l{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[pt([ox]),Pe]});let t=e;return t})(),iv=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue($g(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue($g(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(Ae),S(st),S(rv,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();function ax(t){return typeof t=="number"?t:parseInt(t,10)}var wa=(()=>{let e=class e{constructor(){this._validator=pd}ngOnChanges(n){if(this.inputName in n){let i=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):pd,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,features:[Vt]});let t=e;return t})();var lx={provide:qr,useExisting:He(()=>Hn),multi:!0};var Hn=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Bt,this.createValidator=n=>MI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){i&2&&Ut("required",o._enabled?"":null)},inputs:{required:"required"},features:[pt([lx]),Pe]});let t=e;return t})();var cx={provide:qr,useExisting:He(()=>Ki),multi:!0},Ki=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Bt,this.createValidator=n=>TI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[pt([cx]),Pe]});let t=e;return t})();var ux={provide:qr,useExisting:He(()=>Cd),multi:!0},Cd=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>ax(n),this.createValidator=n=>AI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ut("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[pt([ux]),Pe]});let t=e;return t})(),dx={provide:qr,useExisting:He(()=>wd),multi:!0},wd=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>NI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ut("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[pt([dx]),Pe]});let t=e;return t})();var fx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();var Dn=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:ya,useValue:n.callSetDisabledState??Da}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({imports:[fx]});let t=e;return t})();var ba=class{constructor(){this.name="",this.email="",this.message=""}};var Ea=(()=>{let e=class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${K.apiBaseUrl}contact`,n)}};e.\u0275fac=function(i){return new(i||e)(I(Ci))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function px(t,e){if(t&1){let r=oe();u(0,"form",5,0),A("ngSubmit",function(){L(r);let i=E();return V(i.submit())}),u(2,"div",6)(3,"label",7),c(4,"Name "),u(5,"span",8),c(6,"*"),f()(),u(7,"input",9),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.name,i)||(o.contactViewModel.name=i),V(i)}),f()(),u(8,"div",6)(9,"label",10),c(10,"Email address "),u(11,"span",8),c(12,"*"),f()(),u(13,"input",11),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.email,i)||(o.contactViewModel.email=i),V(i)}),f()(),u(14,"div",6)(15,"label",12),c(16,"Message "),u(17,"span",8),c(18,"*"),f()(),u(19,"textarea",13),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.message,i)||(o.contactViewModel.message=i),V(i)}),f()(),u(20,"button",14),c(21,"Submit"),f()()}if(t&2){let r=Is(1),n=E();g(7),ae("ngModel",n.contactViewModel.name),g(6),ae("ngModel",n.contactViewModel.email),g(6),ae("ngModel",n.contactViewModel.message),g(),D("disabled",!r.valid||n.enableFormCountDown>0)}}function mx(t,e){t&1&&(u(0,"p"),c(1,"Thanks for your message."),f())}function gx(t,e){t&1&&(u(0,"p",4),c(1,"Something went wrong. Please try again later."),f())}var ov=(()=>{let e=class e{constructor(n){this.contactService=n,this.contactViewModel=new ba,this.success=!1,this.error=!1,this.enableFormCountDown=100,this.intervalId=null}ngOnInit(){this.intervalId=setInterval(()=>{this.enableFormCountDown-=1,this.enableFormCountDown===0&&clearInterval(this.intervalId)},50)}ngOnDestroy(){this.intervalId&&clearInterval(this.intervalId)}submit(){this.contactService.postContactForm(this.contactViewModel).subscribe({next:n=>{console.log("Submitted form"),this.success=!0},error:n=>{console.error(n),this.error=!0},complete:()=>console.info("complete")})}};e.\u0275fac=function(i){return new(i||e)(S(Ea))},e.\u0275cmp=ce({type:e,selectors:[["app-contact-component"]],standalone:!0,features:[de],decls:6,vars:3,consts:[["contactForm","ngForm"],[1,"container"],[1,"mb-4"],["method","post"],[1,"text-danger"],["method","post",3,"ngSubmit"],[1,"mb-3"],["for","Name"],[1,"required"],["type","text","id","Name","name","Name","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Email"],["type","email","id","Email","name","Email","email","","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Message"],["rows","7","id","Message","name","Message","required","",1,"form-control",3,"ngModelChange","ngModel"],["type","submit",1,"btn","btn-primary",3,"disabled"]],template:function(i,o){i&1&&(u(0,"div",1)(1,"h1",2),c(2,"Contact"),f(),P(3,px,22,4,"form",3)(4,mx,2,0,"p")(5,gx,2,0,"p",4),f()),i&2&&(g(3),Fn(!o.success&&!o.error?3:-1),g(),Fn(o.success?4:-1),g(),Fn(o.error?5:-1))},dependencies:[Dn,Yr,yn,Wr,Zr,Hn,Ki,$n,Bn]});let t=e;return t})();var sv=()=>["/pro"],av=(()=>{let e=class e{scrollToAnchor(n){return document.querySelector(n)?.scrollIntoView(!0),!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-features-component"]],standalone:!0,features:[de],decls:157,vars:4,consts:[[1,"container"],[1,"mb-4"],["id","coveragequota"],[1,"pro-text"],["href","https://en.wikipedia.org/wiki/Code_coverage","target","_blank"],[1,"fa-solid","fa-arrow-up-right-from-square"],[3,"routerLink"],[1,"pro-button","pro-button-tiny"],["loading","lazy","srcset","resources/features/quota@1x.webp 1x, resources/features/quota@2x.webp 2x","src","resources/features/quota1x.webp","alt","Coverage quotas",1,"img-fluid"],["id","coveragehistory",1,"mt-5"],["loading","lazy","srcset","resources/features/history@1x.webp 1x, resources/features/history@2x.webp 2x","src","resources/features/history@1x.webp","alt","Coverage history",1,"img-fluid"],["id","summary",1,"mt-5"],["loading","lazy","srcset","resources/features/summary@1x.webp 1x, resources/features/summary@2x.webp 2x","src","resources/features/summary.webp","alt","Summary table / Overview",1,"img-fluid"],["id","details",1,"mt-5"],["loading","lazy","srcset","resources/features/details@1x.webp 1x, resources/features/details@2x.webp 2x","src","resources/features/details.webp","alt","Details",1,"img-fluid"],["id","metrics",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ#which-coverage-tool-supports-which-features-in-the-html-report","target","_blank"],["href","",3,"click"],["loading","lazy","srcset","resources/features/metrics_details@1x.webp 1x, resources/features/metrics_details@2x.webp 2x","src","resources/features/metrics_details.webp","alt","Metrics - Details",1,"img-fluid"],["loading","lazy","srcset","resources/features/metrics_summary@1x.webp 1x, resources/features/metrics_summary@2x.webp 2x","src","resources/features/metrics_summary.webp","alt","Metrics - Summary",1,"img-fluid"],["id","riskhotspots",1,"mt-5"],["href","https://en.wikipedia.org/wiki/Cyclomatic_complexity","target","_blank"],["href","https://modess.io/npath-complexity-cyclomatic-complexity-explained","target","_blank"],["href","https://testing.googleblog.com/2011/02/this-code-is-crap.html","target","_blank"],["loading","lazy","srcset","resources/features/riskhotspots@1x.webp 1x, resources/features/riskhotspots@2x.webp 2x","src","resources/features/riskhotspots.webp","alt","Risk Hotspots",1,"img-fluid"],["id","rawmode",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Settings#other-settings","target","_blank"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),c(2,"Features"),f(),u(3,"h2",2),c(4,"Coverage quotas"),f(),u(5,"p"),c(6," The overiew cards provide a quick "),u(7,"span",3),c(8,"overview"),f(),c(9," of your coverage quotas."),p(10,"br"),c(11," You can use them to get a glimpse into the different "),u(12,"a",4),c(13,"coverage metrics"),f(),c(14,"\xA0"),u(15,"a",4),p(16,"i",5),f(),c(17,": "),f(),u(18,"ul")(19,"li"),c(20,"Line coverage"),f(),u(21,"li"),c(22,"Branch coverage"),f(),u(23,"li"),c(24,"Method coverage "),u(25,"a",6)(26,"span",7),c(27,"PRO"),f()()()(),p(28,"img",8)(29,"br"),u(30,"h2",9),c(31,"Coverage history"),f(),u(32,"p"),c(33," The history chart helps you to understand how your coverage quotas are "),u(34,"span",3),c(35,"evolving over time"),f(),c(36,". "),f(),p(37,"img",10)(38,"br"),u(39,"h2",11),c(40,"Summary table / Overview"),f(),u(41,"p"),c(42," The summary table helps you to identify classes with "),u(43,"span",3),c(44,"low test coverage"),f(),c(45,"."),p(46,"br"),c(47," The table offers various "),u(48,"span",3),c(49,"filter and sorting"),f(),c(50," options for quick navigation. "),f(),p(51,"img",12)(52,"br"),u(53,"h2",13),c(54,"Details page"),f(),u(55,"p"),c(56," The details page visualizes your "),u(57,"span",3),c(58,"line and branch coverage"),f(),c(59,". "),f(),u(60,"ul")(61,"li"),c(62,"Colors indicate the coverage status of each line."),f(),u(63,"li"),c(64,"Branch indicators help you to identity uncovered conditions."),f()(),p(65,"img",14)(66,"br"),u(67,"h2",15),c(68,"Metrics"),f(),u(69,"p"),c(70," Depending on your "),u(71,"a",16),c(72,"coverage tool"),f(),c(73,", metrics are provided to get further insigths in your "),u(74,"span",3),c(75,"code quality"),f(),c(76,". "),f(),u(77,"ul")(78,"li"),c(79,"The "),u(80,"a",17),A("click",function(){return o.scrollToAnchor("#details")}),c(81,"details page"),f(),c(82," contains information about the metrics of all methods of a class."),f(),u(83,"li"),c(84,"The "),u(85,"a",17),A("click",function(){return o.scrollToAnchor("#summary")}),c(86,"summary table"),f(),c(87," shows the lowest metrics of all methods of a class "),u(88,"a",6)(89,"span",7),c(90,"PRO"),f()()()(),u(91,"b"),c(92,"Details page"),f(),p(93,"br")(94,"img",18)(95,"br")(96,"br"),u(97,"b"),c(98,"Summary table"),f(),p(99,"br")(100,"img",19)(101,"br"),u(102,"h2",20),c(103,"Risk Hotspots"),f(),u(104,"p"),c(105," Based on the "),u(106,"a",17),A("click",function(){return o.scrollToAnchor("#metrics")}),c(107,"metrics"),f(),c(108," you get a list of potential risk hotspots."),p(109,"br"),c(110," The following metrics are analyzed if available, the warning thresholds are configurable: "),f(),u(111,"ul")(112,"li")(113,"a",21),c(114,"Cyclomatic complexity"),f(),c(115,"\xA0"),u(116,"a",21),p(117,"i",5),f()(),u(118,"li")(119,"a",22),c(120,"NPath complexity"),f(),c(121,"\xA0"),u(122,"a",22),p(123,"i",5),f()(),u(124,"li")(125,"a",23),c(126,"Crap score"),f(),c(127,"\xA0"),u(128,"a",23),p(129,"i",5),f()()(),p(130,"img",24),u(131,"h2",25),c(132,"Raw mode (for "),u(133,"i"),c(134,"Cobertura"),f(),c(135,") "),u(136,"span",7),c(137,"PRO"),f()(),u(138,"p"),c(139,' With "raw mode" (settings:rawMode=true) you can disable that coverage data of nested or compiler generated classes is included in the parent class.'),p(140,"br"),c(141," This is useful to merge several "),u(142,"i"),c(143,"Cobertura"),f(),c(144," files into a single file, since the original class structure remains untouched. "),f(),u(145,"p"),c(146,"See "),u(147,"a",26),c(148,"Settings"),f(),c(149,"\xA0"),u(150,"a",26),p(151,"i",5),f()(),u(152,"p"),c(153,"Limitation: Raw mode is currently only supported for "),u(154,"i"),c(155,"Cobertura"),f(),c(156," files."),f()()),i&2&&(g(25),D("routerLink",B(2,sv)),g(63),D("routerLink",B(3,sv)))},dependencies:[Ne]});let t=e;return t})();var Re={dotnetSDKVersion:"8.x",majorVersion:"5",version:"5.3.5"};var vx=()=>["/usage"],lv=(()=>{let e=class e{constructor(){this.versions=Re}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-getstarted"]],standalone:!0,features:[de],decls:75,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net",1,"mt-5"],["href","https://github.com/microsoft/codecoverage"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java",1,"mt-5"],["href","https://github.com/jacoco/jacoco"],["id","nodejs",1,"mt-5"],["href","https://github.com/istanbuljs/nyc"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),c(2,"Get started"),f(),u(3,"h2"),c(4,"General"),f(),u(5,"p"),c(6,"In general you need a tool that instruments your test code and collects coverage information."),p(7,"br"),c(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),p(9,"br"),u(10,"em"),c(11,"ReportGenerator"),f(),c(12," uses this file and generates a report in HTML format (other formats are available)."),f(),u(13,"p"),c(14,"Use the online "),u(15,"a",2),c(16,"configuration tool"),f(),c(17," to get started quickly."),f(),u(18,"h2",3),c(19,".NET"),f(),u(20,"p"),c(21,"For .NET you can use "),u(22,"a",4),c(23,"Microsoft CodeCoverage"),f(),c(24,", "),u(25,"a",5),c(26,"coverlet"),f(),c(27," or "),u(28,"a",6),c(29,"altcover"),f(),c(30," for instrumenting your test code."),f(),u(31,"p"),c(32,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),f(),u(33,"p")(34,"strong"),c(35,"Add dependencies to your "),u(36,"code"),c(37,"*.csproj"),f(),c(38," file:"),f()(),u(39,"pre",7),c(40),f(),u(41,"p")(42,"strong"),c(43,"Execute tests and create coverage report"),f()(),u(44,"pre",7),c(45),f(),u(46,"h2",8),c(47,"Java"),f(),u(48,"p"),c(49,"For Java you can use "),u(50,"a",9),c(51,"JaCoCo"),f(),c(52,` for instrumenting your test code. +`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var gu=class{encodeKey(e){return hm(e)}encodeValue(e){return hm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function _b(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var Ib=/%(\d[a-f0-9])/gi,xb={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function hm(t){return encodeURIComponent(t).replace(Ib,(e,r)=>xb[r]??e)}function Ls(t){return`${t}`}var hn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new gu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=_b(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(Ls):[Ls(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Ls(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(Ls(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var vu=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function Sb(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function pm(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function mm(t){return typeof Blob<"u"&&t instanceof Blob}function gm(t){return typeof FormData<"u"&&t instanceof FormData}function Mb(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var gi=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(Sb(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Gt,this.context??=new vu,!this.params)this.params=new hn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":av.set(y,e.setHeaders[y]),d)),e.setParams&&(h=Object.keys(e.setParams).reduce((v,y)=>v.set(y,e.setParams[y]),h)),new t(r,n,s,{params:h,headers:d,context:m,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},pn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(pn||{}),yi=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Gt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},js=class t extends yi{constructor(e={}){super(e),this.type=pn.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Di=class t extends yi{constructor(e={}){super(e),this.type=pn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},fn=class extends yi{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},wm=200,Tb=204;function mu(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Ci=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof gi)s=n;else{let d;o.headers instanceof Gt?d=o.headers:d=new Gt(o.headers);let h;o.params&&(o.params instanceof hn?h=o.params:h=new hn({fromObject:o.params})),s=new gi(n,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=R(s).pipe(Nt(d=>this.handler.handle(d)));if(n instanceof gi||o.observe==="events")return a;let l=a.pipe(xe(d=>d instanceof Di));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(F(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return l.pipe(F(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new hn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,mu(o,i))}post(n,i,o={}){return this.request("POST",n,mu(o,i))}put(n,i,o={}){return this.request("PUT",n,mu(o,i))}};e.\u0275fac=function(i){return new(i||e)(I(vi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ab=/^\)\]\}',?\n/,Nb="X-Request-URL";function vm(t){if(t.url)return t.url;let e=Nb.toLocaleLowerCase();return t.headers.get(e)}var Rb=(()=>{let e=class e{constructor(){this.fetchImpl=C(yu,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=C(X)}handle(n){return new q(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(Du,s=>i.error(new fn({error:s}))),()=>o.abort()})}doRequest(n,i,o){return Kr(this,null,function*(){let s=this.createRequestInit(n),a;try{let w=this.fetchImpl(n.urlWithParams,b({signal:i},s));Ob(w),o.next({type:pn.Sent}),a=yield w}catch(w){o.error(new fn({error:w,status:w.status??0,statusText:w.statusText,url:n.urlWithParams,headers:w.headers}));return}let l=new Gt(a.headers),d=a.statusText,h=vm(a)??n.urlWithParams,m=a.status,v=null;if(n.reportProgress&&o.next(new js({headers:l,status:m,statusText:d,url:h})),a.body){let w=a.headers.get("content-length"),O=[],T=a.body.getReader(),N=0,ge,re,ee=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Kr(this,null,function*(){for(;;){let{done:De,value:Ke}=yield T.read();if(De)break;if(O.push(Ke),N+=Ke.length,n.reportProgress){re=n.responseType==="text"?(re??"")+(ge??=new TextDecoder).decode(Ke,{stream:!0}):void 0;let Wn=()=>o.next({type:pn.DownloadProgress,total:w?+w:void 0,loaded:N,partialText:re});ee?ee.run(Wn):Wn()}}}));let Qe=this.concatChunks(O,N);try{let De=a.headers.get("Content-Type")??"";v=this.parseBody(n,Qe,De)}catch(De){o.error(new fn({error:De,headers:new Gt(a.headers),status:a.status,statusText:a.statusText,url:vm(a)??n.urlWithParams}));return}}m===0&&(m=v?wm:0),m>=200&&m<300?(o.next(new Di({body:v,headers:l,status:m,statusText:d,url:h})),o.complete()):o.error(new fn({error:v,headers:l,status:m,statusText:d,url:h}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(Ab,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(n){let i={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>i[s]=a.join(",")),i.Accept??="application/json, text/plain, */*",!i["Content-Type"]){let s=n.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:i,credentials:o}}concatChunks(n,i){let o=new Uint8Array(i),s=0;for(let a of n)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),yu=class{};function Du(){}function Ob(t){t.then(Du,Du)}function bm(t,e){return e(t)}function kb(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function Pb(t,e,r){return(n,i)=>qe(r,()=>e(n,o=>t(o,i)))}var Fb=new x(""),Cu=new x(""),Lb=new x(""),Em=new x("",{providedIn:"root",factory:()=>!0});function Vb(){let t=null;return(e,r)=>{t===null&&(t=(C(Fb,{optional:!0})??[]).reduceRight(kb,bm));let n=C(jt);if(C(Em)){let o=n.add();return t(e,r).pipe(Jt(()=>n.remove(o)))}else return t(e,r)}}var ym=(()=>{let e=class e extends vi{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=C(jt),this.contributeToStability=C(Em)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Cu),...this.injector.get(Lb,[])]));this.chain=i.reduceRight((o,s)=>Pb(o,s,this.injector),bm)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Jt(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(I(Vs),I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var jb=/^\)\]\}',?\n/;function Ub(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Dm=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new M(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ie(i.\u0275loadImpl()):R(null)).pipe(Le(()=>new q(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((T,N)=>a.setRequestHeader(T,N.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let T=n.detectContentTypeHeader();T!==null&&a.setRequestHeader("Content-Type",T)}if(n.responseType){let T=n.responseType.toLowerCase();a.responseType=T!=="json"?T:"text"}let l=n.serializeBody(),d=null,h=()=>{if(d!==null)return d;let T=a.statusText||"OK",N=new Gt(a.getAllResponseHeaders()),ge=Ub(a)||n.url;return d=new js({headers:N,status:a.status,statusText:T,url:ge}),d},m=()=>{let{headers:T,status:N,statusText:ge,url:re}=h(),ee=null;N!==Tb&&(ee=typeof a.response>"u"?a.responseText:a.response),N===0&&(N=ee?wm:0);let Qe=N>=200&&N<300;if(n.responseType==="json"&&typeof ee=="string"){let De=ee;ee=ee.replace(jb,"");try{ee=ee!==""?JSON.parse(ee):null}catch(Ke){ee=De,Qe&&(Qe=!1,ee={error:Ke,text:ee})}}Qe?(s.next(new Di({body:ee,headers:T,status:N,statusText:ge,url:re||void 0})),s.complete()):s.error(new fn({error:ee,headers:T,status:N,statusText:ge,url:re||void 0}))},v=T=>{let{url:N}=h(),ge=new fn({error:T,status:a.status||0,statusText:a.statusText||"Unknown Error",url:N||void 0});s.error(ge)},y=!1,w=T=>{y||(s.next(h()),y=!0);let N={type:pn.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),n.responseType==="text"&&a.responseText&&(N.partialText=a.responseText),s.next(N)},O=T=>{let N={type:pn.UploadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),s.next(N)};return a.addEventListener("load",m),a.addEventListener("error",v),a.addEventListener("timeout",v),a.addEventListener("abort",v),n.reportProgress&&(a.addEventListener("progress",w),l!==null&&a.upload&&a.upload.addEventListener("progress",O)),a.send(l),s.next({type:pn.Sent}),()=>{a.removeEventListener("error",v),a.removeEventListener("abort",v),a.removeEventListener("load",m),a.removeEventListener("timeout",v),n.reportProgress&&(a.removeEventListener("progress",w),l!==null&&a.upload&&a.upload.removeEventListener("progress",O)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(I(xr))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),_m=new x(""),Bb="XSRF-TOKEN",$b=new x("",{providedIn:"root",factory:()=>Bb}),Hb="X-XSRF-TOKEN",Gb=new x("",{providedIn:"root",factory:()=>Hb}),Us=class{},zb=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Os(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(I(Ee),I(It),I($b))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function qb(t,e){let r=t.url.toLowerCase();if(!C(_m)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=C(Us).getToken(),i=C(Gb);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var Im=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Im||{});function Wb(t,e){return{\u0275kind:t,\u0275providers:e}}function xm(...t){let e=[Ci,Dm,ym,{provide:vi,useExisting:ym},{provide:Vs,useFactory:()=>C(Rb,{optional:!0})??C(Dm)},{provide:Cu,useValue:qb,multi:!0},{provide:_m,useValue:!0},{provide:Us,useClass:zb}];for(let r of t)e.push(...r.\u0275providers);return ss(e)}var Cm=new x("");function Sm(){return Wb(Im.LegacyInterceptors,[{provide:Cm,useFactory:Vb},{provide:Cu,useExisting:Cm,multi:!0}])}var Eu=class extends Rs{constructor(){super(...arguments),this.supportsDOMEvents=!0}},_u=class t extends Eu{static makeCurrent(){sm(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=Zb();return r==null?null:Yb(r)}resetBaseElement(){wi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Os(document.cookie,e)}},wi=null;function Zb(){return wi=wi||document.querySelector("base"),wi?wi.getAttribute("href"):null}function Yb(t){return new URL(t,document.baseURI).pathname}var Iu=class{addToWindow(e){tt.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new M(5103,!1);return o},tt.getAllAngularTestabilities=()=>e.getAllTestabilities(),tt.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=tt.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};tt.frameworkStabilizers||(tt.frameworkStabilizers=[]),tt.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?Mt().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},Qb=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),xu=new x(""),Rm=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new M(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(I(xu),I(X))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Bs=class{constructor(e){this._doc=e}},wu="ng-app-id",Om=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Fs(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${wu}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(wu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(wu,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(I(Ee),I(gs),I(Nc,8),I(It))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),bu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Mu=/%COMP%/g,km="%COMP%",Kb=`_nghost-${km}`,Jb=`_ngcontent-${km}`,Xb=!0,eE=new x("",{providedIn:"root",factory:()=>Xb});function tE(t){return Jb.replace(Mu,t)}function nE(t){return Kb.replace(Mu,t)}function Pm(t,e){return e.map(r=>r.replace(Mu,t))}var Tm=(()=>{let e=class e{constructor(n,i,o,s,a,l,d,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=d,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=Fs(l),this.defaultRenderer=new bi(n,a,d,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ct.ShadowDom&&(i=Q(b({},i),{encapsulation:Ct.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof $s?o.applyToHost(n):o instanceof Ei&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(i.encapsulation){case Ct.Emulated:s=new $s(d,h,i,this.appId,m,a,l,v);break;case Ct.ShadowDom:return new Su(d,h,n,i,a,l,this.nonce,v);default:s=new Ei(d,h,i,m,a,l,v);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(I(Rm),I(Om),I(gs),I(eE),I(Ee),I(It),I(X),I(Nc))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),bi=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(bu[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Am(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Am(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new M(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=bu[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=bu[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(kt.DashCase|kt.Important)?e.style.setProperty(r,n,i&kt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&kt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Mt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Am(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Su=class extends bi{constructor(e,r,n,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=Pm(i.id,i.styles);for(let h of d){let m=document.createElement("style");a&&m.setAttribute("nonce",a),m.textContent=h,this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ei=class extends bi{constructor(e,r,n,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?Pm(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},$s=class extends Ei{constructor(e,r,n,i,o,s,a,l){let d=i+"-"+n.id;super(e,r,n,o,s,a,l,d),this.contentAttr=tE(d),this.hostAttr=nE(d)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},rE=(()=>{let e=class e extends Bs{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Nm=["alt","control","meta","shift"],iE={"\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"},oE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},sE=(()=>{let e=class e extends Bs{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Mt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),Nm.forEach(h=>{let m=i.indexOf(h);m>-1&&(i.splice(m,1),a+=h+".")}),a+=s,i.length!=0||s.length===0)return null;let d={};return d.domEventName=o,d.fullKey=a,d}static matchEventFullKeyCode(n,i){let o=iE[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Nm.forEach(a=>{if(a!==o){let l=oE[a];l(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Fm(t,e){return Jp(b({rootComponent:t},aE(e)))}function aE(t){return{appProviders:[...Lm,...t?.providers??[]],platformProviders:dE}}function lE(){_u.makeCurrent()}function cE(){return new _t}function uE(){return Kh(document),document}var dE=[{provide:It,useValue:pu},{provide:Ac,useValue:lE,multi:!0},{provide:Ee,useFactory:uE,deps:[]}];var fE=new x(""),hE=[{provide:mi,useClass:Iu,deps:[]},{provide:eu,useClass:Ss,deps:[X,Ms,mi]},{provide:Ss,useClass:Ss,deps:[X,Ms,mi]}],Lm=[{provide:as,useValue:"root"},{provide:_t,useFactory:cE,deps:[]},{provide:xu,useClass:rE,multi:!0,deps:[Ee,X,It]},{provide:xu,useClass:sE,multi:!0,deps:[Ee]},Tm,Om,Rm,{provide:Dr,useExisting:Tm},{provide:xr,useClass:Qb,deps:[]},[]],Vm=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:gs,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(I(fE,12))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({providers:[...Lm,...hE],imports:[um,Kp]});let t=e;return t})();var jm=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var $="primary",Vi=Symbol("RouteTitle"),Ou=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function kr(t){return new Ou(t)}function mE(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Km(t){return t.length>0?t[t.length-1]:null}function vn(t){return Qa(t)?t:Vn(t)?ie(Promise.resolve(t)):R(t)}var vE={exact:Xm,subset:eg},Jm={exact:yE,subset:DE,ignored:()=>!0};function Um(t,e,r){return vE[r.paths](t.root,e.root,r.matrixParams)&&Jm[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function yE(t,e){return Tt(t,e)}function Xm(t,e,r){if(!Un(t.segments,e.segments)||!zs(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Xm(t.children[n],e.children[n],r))return!1;return!0}function DE(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Qm(t[r],e[r]))}function eg(t,e,r){return tg(t,e,e.segments,r)}function tg(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Un(i,r)||e.hasChildren()||!zs(i,r,n))}else if(t.segments.length===r.length){if(!Un(t.segments,r)||!zs(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!eg(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Un(t.segments,i)||!zs(t.segments,i,n)||!t.children[$]?!1:tg(t.children[$],e,o,n)}}function zs(t,e,r){return e.every((n,i)=>Jm[r](t[i].parameters,n.parameters))}var mn=class{constructor(e=new J([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=kr(this.queryParams),this._queryParamMap}toString(){return bE.serialize(this)}},J=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qs(this)}},jn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=kr(this.parameters),this._parameterMap}toString(){return rg(this)}};function CE(t,e){return Un(t,e)&&t.every((r,n)=>Tt(r.parameters,e[n].parameters))}function Un(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function wE(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===$&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==$&&(r=r.concat(e(i,n)))}),r}var ji=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new Pr,providedIn:"root"});let t=e;return t})(),Pr=class{parse(e){let r=new Fu(e);return new mn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${_i(e.root,!0)}`,n=IE(e.queryParams),i=typeof e.fragment=="string"?`#${EE(e.fragment)}`:"";return`${r}${n}${i}`}},bE=new Pr;function qs(t){return t.segments.map(e=>rg(e)).join("/")}function _i(t,e){if(!t.hasChildren())return qs(t);if(e){let r=t.children[$]?_i(t.children[$],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&n.push(`${i}:${_i(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=wE(t,(n,i)=>i===$?[_i(t.children[$],!1)]:[`${i}:${_i(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${qs(t)}/${r[0]}`:`${qs(t)}/(${r.join("//")})`}}function ng(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Hs(t){return ng(t).replace(/%3B/gi,";")}function EE(t){return encodeURI(t)}function Pu(t){return ng(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ws(t){return decodeURIComponent(t)}function Bm(t){return Ws(t.replace(/\+/g,"%20"))}function rg(t){return`${Pu(t.path)}${_E(t.parameters)}`}function _E(t){return Object.entries(t).map(([e,r])=>`;${Pu(e)}=${Pu(r)}`).join("")}function IE(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${Hs(r)}=${Hs(i)}`).join("&"):`${Hs(r)}=${Hs(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var xE=/^[^\/()?;#]+/;function Tu(t){let e=t.match(xE);return e?e[0]:""}var SE=/^[^\/()?;=#]+/;function ME(t){let e=t.match(SE);return e?e[0]:""}var TE=/^[^=?&#]+/;function AE(t){let e=t.match(TE);return e?e[0]:""}var NE=/^[^&#]+/;function RE(t){let e=t.match(NE);return e?e[0]:""}var Fu=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[$]=new J(e,r)),n}parseSegment(){let e=Tu(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(e),new jn(Ws(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=ME(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Tu(this.remaining);i&&(n=i,this.capture(n))}e[Ws(r)]=Ws(n)}parseQueryParam(e){let r=AE(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=RE(this.remaining);s&&(n=s,this.capture(n))}let i=Bm(r),o=Bm(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Tu(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new M(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[$]:new J([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new M(4011,!1)}};function ig(t){return t.segments.length>0?new J([],{[$]:t}):t}function og(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=og(i);if(n===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new J(t.segments,e);return OE(r)}function OE(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new J(t.segments.concat(e.segments),e.children)}return t}function Ai(t){return t instanceof mn}function kE(t,e,r=null,n=null){let i=sg(t);return ag(i,e,r,n)}function sg(t){let e;function r(o){let s={};for(let l of o.children){let d=r(l);s[l.outlet]=d}let a=new J(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=ig(n);return e??i}function ag(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Au(i,i,i,r,n);let o=PE(e);if(o.toRoot())return Au(i,i,new J([],{}),r,n);let s=FE(o,i,t),a=s.processChildren?Si(s.segmentGroup,s.index,o.commands):cg(s.segmentGroup,s.index,o.commands);return Au(i,s.segmentGroup,a,r,n)}function Zs(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ni(t){return typeof t=="object"&&t!=null&&t.outlets}function Au(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([l,d])=>{o[l]=Array.isArray(d)?d.map(h=>`${h}`):`${d}`});let s;t===e?s=r:s=lg(t,e,r);let a=ig(og(s));return new mn(a,o,i)}function lg(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=lg(o,e,r)}),new J(t.segments,n)}var Ys=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Zs(n[0]))throw new M(4003,!1);let i=n.find(Ni);if(i&&i!==Km(n))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function PE(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ys(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,d])=>{a[l]=typeof d=="string"?d.split("/"):d}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ys(r,e,n)}var Nr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function FE(t,e,r){if(t.isAbsolute)return new Nr(e,!0,0);if(!r)return new Nr(e,!1,NaN);if(r.parent===null)return new Nr(r,!0,0);let n=Zs(t.commands[0])?0:1,i=r.segments.length-1+n;return LE(r,i,t.numberOfDoubleDots)}function LE(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new M(4005,!1);i=n.segments.length}return new Nr(n,!1,i-o)}function VE(t){return Ni(t[0])?t[0].outlets:{[$]:t}}function cg(t,e,r){if(t??=new J([],{}),t.segments.length===0&&t.hasChildren())return Si(t,e,r);let n=jE(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=Si(t.children[$],e,r);return new J(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=cg(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new J(t.segments,i)}}function jE(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Ni(a))break;let l=`${a}`,d=n0&&l===void 0)break;if(l&&d&&typeof d=="object"&&d.outlets===void 0){if(!Hm(l,d,s))return o;n+=2}else{if(!Hm(l,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Lu(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Lu(new J([],{}),0,n))}),e}function $m(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Hm(t,e,r){return t==r.path&&Tt(e,r.parameters)}var Mi="imperative",_e=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(_e||{}),at=class{constructor(e,r){this.id=e,this.url=r}},Fr=class extends at{constructor(e,r,n="imperative",i=null){super(e,r),this.type=_e.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ye=class extends at{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=_e.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ze=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ze||{}),Qs=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Qs||{}),zt=class extends at{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},gn=class extends at{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationSkipped}},Ri=class extends at{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=_e.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ks=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vu=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ju=class extends at{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=_e.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Uu=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bu=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$u=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Hu=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Gu=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zu=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Js=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=_e.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Oi=class{},Lr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var Zu=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new Ui(this.injector),this.attachRef=null}},Ui=(()=>{let e=class e{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Zu(this.parentInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Xs=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Yu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Yu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Qu(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Qu(e,this._root).map(r=>r.value)}};function Yu(t,e){if(t===e.value)return e;for(let r of e.children){let n=Yu(t,r);if(n)return n}return null}function Qu(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Qu(t,r);if(n.length)return n.unshift(e),n}return[]}var We=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Ar(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ea=class extends Xs{constructor(e,r){super(e),this.snapshot=r,od(this,e)}toString(){return this.snapshot.toString()}};function ug(t){let e=BE(t),r=new Ie([new jn("",{})]),n=new Ie({}),i=new Ie({}),o=new Ie({}),s=new Ie(""),a=new qt(r,n,o,s,i,$,t,e.root);return a.snapshot=e.root,new ea(new We(a,[]),e)}function BE(t){let e={},r={},n={},i="",o=new Rr([],e,n,i,r,$,t,null,{});return new na("",new We(o,[]))}var qt=class{constructor(e,r,n,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(F(d=>d[Vi]))??R(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(F(e=>kr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(F(e=>kr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ta(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:b(b({},e.params),t.params),data:b(b({},e.data),t.data),resolve:b(b(b(b({},t.data),e.data),i?.data),t._resolvedData)}:n={params:b({},t.params),data:b({},t.data),resolve:b(b({},t.data),t._resolvedData??{})},i&&fg(i)&&(n.resolve[Vi]=i.title),n}var Rr=class{get title(){return this.data?.[Vi]}constructor(e,r,n,i,o,s,a,l,d){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=kr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=kr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},na=class extends Xs{constructor(e,r){super(r),this.url=e,od(this,r)}toString(){return dg(this._root)}};function od(t,e){e.value._routerState=t,e.children.forEach(r=>od(t,r))}function dg(t){let e=t.children.length>0?` { ${t.children.map(dg).join(", ")} } `:"";return`${t.value}${e}`}function Nu(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Tt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Tt(e.params,r.params)||t.paramsSubject.next(r.params),gE(e.url,r.url)||t.urlSubject.next(r.url),Tt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Ku(t,e){let r=Tt(t.params,e.params)&&CE(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Ku(t.parent,e.parent))}function fg(t){return typeof t.title=="string"||t.title===null}var sd=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=C(Ui),this.location=C(cn),this.changeDetector=C(dn),this.inputBinder=C(aa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new M(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new M(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,d=new Ju(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:d,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Vt]});let t=e;return t})(),Ju=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===qt?this.route:e===Ui?this.childContexts:this.parent.get(e,r)}},aa=new x(""),Gm=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=ei([i.queryParams,i.params,i.data]).pipe(Le(([s,a,l],d)=>(l=b(b(b({},s),a),l),d===0?R(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Xp(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function $E(t,e,r){let n=ki(t,e._root,r?r._root:void 0);return new ea(n,e)}function ki(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=HE(t,e,r);return new We(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ki(t,a)),s}}let n=GE(e.value),i=e.children.map(o=>ki(t,o));return new We(n,i)}}function HE(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return ki(t,n,i);return ki(t,n)})}function GE(t){return new qt(new Ie(t.url),new Ie(t.params),new Ie(t.queryParams),new Ie(t.fragment),new Ie(t.data),t.outlet,t.component,t)}var Pi=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},hg="ngNavigationCancelingError";function ra(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Ai(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=pg(!1,Ze.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function pg(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[hg]=!0,r.cancellationCode=e,r}function zE(t){return mg(t)&&Ai(t.url)}function mg(t){return!!t&&t[hg]}var qE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["ng-component"]],standalone:!0,features:[de],decls:1,vars:0,template:function(i,o){i&1&&p(0,"router-outlet")},dependencies:[sd],encapsulation:2});let t=e;return t})();function WE(t,e){return t.providers&&!t._injector&&(t._injector=Es(t.providers,e,`Route: ${t.path}`)),t._injector??e}function ad(t){let e=t.children&&t.children.map(ad),r=e?Q(b({},t),{children:e}):b({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==$&&(r.component=qE),r}function mt(t){return t.outlet||$}function ZE(t,e){let r=t.filter(n=>mt(n)===e);return r.push(...t.filter(n=>mt(n)!==e)),r}function Bi(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var YE=(t,e,r,n)=>F(i=>(new Xu(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Xu=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Nu(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Ar(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Ar(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Ar(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Ar(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Wu(o.value.snapshot))}),e.children.length&&this.forwardEvent(new zu(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Nu(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Nu(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Bi(i.snapshot);s.attachRef=null,s.route=i,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},ia=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Or=class{constructor(e,r){this.component=e,this.route=r}};function QE(t,e,r){let n=t._root,i=e?e._root:null;return Ii(n,i,r,[n.value])}function KE(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function jr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!$f(t)?t:e.get(t):n}function Ii(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ar(e);return t.children.forEach(s=>{JE(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ti(a,r.getContext(s),i)),i}function JE(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=XE(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new ia(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ii(t,e,a?a.children:null,n,i):Ii(t,e,r,n,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Or(a.outlet.component,s))}else s&&Ti(e,a,i),i.canActivateChecks.push(new ia(n)),o.component?Ii(t,null,a?a.children:null,n,i):Ii(t,null,r,n,i);return i}function XE(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Un(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Un(t.url,e.url)||!Tt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ku(t,e)||!Tt(t.queryParams,e.queryParams);case"paramsChange":default:return!Ku(t,e)}}function Ti(t,e,r){let n=Ar(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Ti(s,e.children.getContext(o),r):Ti(s,null,r):Ti(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Or(e.outlet.component,i)):r.canDeactivateChecks.push(new Or(null,i)):r.canDeactivateChecks.push(new Or(null,i))}function $i(t){return typeof t=="function"}function e_(t){return typeof t=="boolean"}function t_(t){return t&&$i(t.canLoad)}function n_(t){return t&&$i(t.canActivate)}function r_(t){return t&&$i(t.canActivateChild)}function i_(t){return t&&$i(t.canDeactivate)}function o_(t){return t&&$i(t.canMatch)}function gg(t){return t instanceof At||t?.name==="EmptyError"}var Gs=Symbol("INITIAL_VALUE");function Vr(){return Le(t=>ei(t.map(e=>e.pipe(Rt(1),tl(Gs)))).pipe(F(e=>{for(let r of e)if(r!==!0){if(r===Gs)return Gs;if(r===!1||s_(r))return r}return!0}),xe(e=>e!==Gs),Rt(1)))}function s_(t){return Ai(t)||t instanceof Pi}function a_(t,e){return fe(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?R(Q(b({},r),{guardsResult:!0})):l_(s,n,i,t).pipe(fe(a=>a&&e_(a)?c_(n,o,t,e):R(a)),F(a=>Q(b({},r),{guardsResult:a})))})}function l_(t,e,r,n){return ie(t).pipe(fe(i=>p_(i.component,i.route,r,e,n)),vt(i=>i!==!0,!0))}function c_(t,e,r,n){return ie(e).pipe(Nt(i=>nr(d_(i.route.parent,n),u_(i.route,n),h_(t,i.path,r),f_(t,i.route,r))),vt(i=>i!==!0,!0))}function u_(t,e){return t!==null&&e&&e(new qu(t)),R(!0)}function d_(t,e){return t!==null&&e&&e(new Gu(t)),R(!0)}function f_(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return R(!0);let i=n.map(o=>wo(()=>{let s=Bi(e)??r,a=jr(o,s),l=n_(a)?a.canActivate(e,t):qe(s,()=>a(e,t));return vn(l).pipe(vt())}));return R(i).pipe(Vr())}function h_(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>KE(s)).filter(s=>s!==null).map(s=>wo(()=>{let a=s.guards.map(l=>{let d=Bi(s.node)??r,h=jr(l,d),m=r_(h)?h.canActivateChild(n,t):qe(d,()=>h(n,t));return vn(m).pipe(vt())});return R(a).pipe(Vr())}));return R(o).pipe(Vr())}function p_(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return R(!0);let s=o.map(a=>{let l=Bi(e)??i,d=jr(a,l),h=i_(d)?d.canDeactivate(t,e,r,n):qe(l,()=>d(t,e,r,n));return vn(h).pipe(vt())});return R(s).pipe(Vr())}function m_(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return R(!0);let o=i.map(s=>{let a=jr(s,t),l=t_(a)?a.canLoad(e,r):qe(t,()=>a(e,r));return vn(l)});return R(o).pipe(Vr(),vg(n))}function vg(t){return qa(we(e=>{if(typeof e!="boolean")throw ra(t,e)}),F(e=>e===!0))}function g_(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return R(!0);let o=i.map(s=>{let a=jr(s,t),l=o_(a)?a.canMatch(e,r):qe(t,()=>a(e,r));return vn(l)});return R(o).pipe(Vr(),vg(n))}var Fi=class{constructor(e){this.segmentGroup=e||null}},Li=class extends Error{constructor(e){super(),this.urlTree=e}};function Tr(t){return tr(new Fi(t))}function v_(t){return tr(new M(4e3,!1))}function y_(t){return tr(pg(!1,Ze.GuardRejected))}var ed=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return R(n);if(i.numberOfChildren>1||!i.children[$])return v_(`${e.redirectTo}`);i=i.children[$]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:l,fragment:d,routeConfig:h,url:m,outlet:v,params:y,data:w,title:O}=i,T=qe(o,()=>a({params:y,data:w,queryParams:l,fragment:d,routeConfig:h,url:m,outlet:v,title:O}));if(T instanceof mn)throw new Li(T);r=T}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Li(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new mn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,i)}),new J(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new M(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},td={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function D_(t,e,r,n,i){let o=ld(t,e,r);return o.matched?(n=WE(e,n),g_(n,e,r,i).pipe(F(s=>s===!0?o:b({},td)))):R(o)}function ld(t,e,r){if(e.path==="**")return C_(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?b({},td):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||mE)(r,t,e);if(!i)return b({},td);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?b(b({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function C_(t){return{matched:!0,parameters:t.length>0?Km(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function zm(t,e,r,n){return r.length>0&&E_(t,r,n)?{segmentGroup:new J(e,b_(n,new J(r,t.children))),slicedSegments:[]}:r.length===0&&__(t,r,n)?{segmentGroup:new J(t.segments,w_(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new J(t.segments,t.children),slicedSegments:r}}function w_(t,e,r,n){let i={};for(let o of r)if(la(t,e,o)&&!n[mt(o)]){let s=new J([],{});i[mt(o)]=s}return b(b({},n),i)}function b_(t,e){let r={};r[$]=e;for(let n of t)if(n.path===""&&mt(n)!==$){let i=new J([],{});r[mt(n)]=i}return r}function E_(t,e,r){return r.some(n=>la(t,e,n)&&mt(n)!==$)}function __(t,e,r){return r.some(n=>la(t,e,n))}function la(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function I_(t,e,r,n){return mt(t)!==n&&(n===$||!la(e,r,t))?!1:ld(e,t,r).matched}function x_(t,e,r){return e.length===0&&!t.children[r]}var nd=class{};function S_(t,e,r,n,i,o,s="emptyOnly"){return new rd(t,e,r,n,i,s,o).recognize()}var M_=31,rd=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new ed(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new M(4002,`'${e.segmentGroup}'`)}recognize(){let e=zm(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(F(({children:r,rootSnapshot:n})=>{let i=new We(n,r),o=new na("",i),s=kE(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new Rr([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,$,r).pipe(F(n=>({children:n,rootSnapshot:r})),Qt(n=>{if(n instanceof Li)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Fi?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(F(s=>s instanceof We?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return ie(o).pipe(Nt(s=>{let a=n.children[s],l=ZE(r,s);return this.processSegmentGroup(e,l,a,s,i)}),el((s,a)=>(s.push(...a),s)),Kt(null),Xa(),fe(s=>{if(s===null)return Tr(n);let a=yg(s);return T_(a),R(a)}))}processSegment(e,r,n,i,o,s,a){return ie(r).pipe(Nt(l=>this.processSegmentAgainstRoute(l._injector??e,r,l,n,i,o,s,a).pipe(Qt(d=>{if(d instanceof Fi)return R(null);throw d}))),vt(l=>!!l),Qt(l=>{if(gg(l))return x_(n,i,o)?R(new nd):Tr(n);throw l}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,l){return I_(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,l):Tr(i):Tr(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:l,parameters:d,consumedSegments:h,positionalParamSegments:m,remainingSegments:v}=ld(r,i,o);if(!l)return Tr(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>M_&&(this.allowRedirects=!1));let y=new Rr(o,d,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,qm(i),mt(i),i.component??i._loadedComponent??null,i,Wm(i)),w=ta(y,a,this.paramsInheritanceStrategy);y.params=Object.freeze(w.params),y.data=Object.freeze(w.data);let O=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,m,y,e);return this.applyRedirects.lineralizeSegments(i,O).pipe(fe(T=>this.processSegment(e,n,r,T.concat(v),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=D_(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Le(l=>l.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Le(({routes:d})=>{let h=n._loadedInjector??e,{parameters:m,consumedSegments:v,remainingSegments:y}=l,w=new Rr(v,m,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,qm(n),mt(n),n.component??n._loadedComponent??null,n,Wm(n)),O=ta(w,s,this.paramsInheritanceStrategy);w.params=Object.freeze(O.params),w.data=Object.freeze(O.data);let{segmentGroup:T,slicedSegments:N}=zm(r,v,y,d);if(N.length===0&&T.hasChildren())return this.processChildren(h,d,T,w).pipe(F(re=>new We(w,re)));if(d.length===0&&N.length===0)return R(new We(w,[]));let ge=mt(n)===o;return this.processSegment(h,d,T,N,ge?$:o,!0,w).pipe(F(re=>new We(w,re instanceof We?[re]:[])))}))):Tr(r)))}getChildConfig(e,r,n){return r.children?R({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?R({routes:r._loadedRoutes,injector:r._loadedInjector}):m_(e,r,n,this.urlSerializer).pipe(fe(i=>i?this.configLoader.loadChildren(e,r).pipe(we(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):y_(r))):R({routes:[],injector:e})}};function T_(t){t.sort((e,r)=>e.value.outlet===$?-1:r.value.outlet===$?1:e.value.outlet.localeCompare(r.value.outlet))}function A_(t){let e=t.value.routeConfig;return e&&e.path===""}function yg(t){let e=[],r=new Set;for(let n of t){if(!A_(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=yg(n.children);e.push(new We(n.value,i))}return e.filter(n=>!r.has(n))}function qm(t){return t.data||{}}function Wm(t){return t.resolve||{}}function N_(t,e,r,n,i,o){return fe(s=>S_(t,e,r,n,s.extractedUrl,i,o).pipe(F(({state:a,tree:l})=>Q(b({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function R_(t,e){return fe(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return R(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let d of Dg(l))s.add(d);let a=0;return ie(s).pipe(Nt(l=>o.has(l)?O_(l,n,t,e):(l.data=ta(l,l.parent,t).resolve,R(void 0))),we(()=>a++),rr(1),fe(l=>a===s.size?R(r):$e))})}function Dg(t){let e=t.children.map(r=>Dg(r)).flat();return[t,...e]}function O_(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!fg(i)&&(o[Vi]=i.title),k_(o,t,e,n).pipe(F(s=>(t._resolvedData=s,t.data=ta(t,t.parent,r).resolve,null)))}function k_(t,e,r,n){let i=ku(t);if(i.length===0)return R({});let o={};return ie(i).pipe(fe(s=>P_(t[s],e,r,n).pipe(vt(),we(a=>{if(a instanceof Pi)throw ra(new Pr,a);o[s]=a}))),rr(1),Ja(o),Qt(s=>gg(s)?$e:tr(s)))}function P_(t,e,r,n){let i=Bi(e)??n,o=jr(t,i),s=o.resolve?o.resolve(e,r):qe(i,()=>o(e,r));return vn(s)}function Ru(t){return Le(e=>{let r=t(e);return r?ie(r).pipe(F(()=>e)):R(e)})}var Cg=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===$);return i}getResolvedTitleForRoute(n){return n.data[Vi]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(F_),providedIn:"root"});let t=e;return t})(),F_=(()=>{let e=class e extends Cg{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(I(jm))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hi=new x("",{providedIn:"root",factory:()=>({})}),oa=new x(""),cd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=C(Ns)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return R(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=vn(n.loadComponent()).pipe(F(wg),we(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Jt(()=>{this.componentLoaders.delete(n)})),o=new er(i,()=>new Ce).pipe(Xn());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return R({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=L_(i,this.compiler,n,this.onLoadEndListener).pipe(Jt(()=>{this.childrenLoaders.delete(i)})),a=new er(s,()=>new Ce).pipe(Xn());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function L_(t,e,r,n){return vn(t.loadChildren()).pipe(F(wg),fe(i=>i instanceof ai||Array.isArray(i)?R(i):ie(e.compileModuleAsync(i))),F(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(oa,[],{optional:!0,self:!0}).flat()),{routes:s.map(ad),injector:o}}))}function V_(t){return t&&typeof t=="object"&&"default"in t}function wg(t){return V_(t)?t.default:t}var ud=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(j_),providedIn:"root"});let t=e;return t})(),j_=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bg=new x(""),Eg=new x("");function U_(t,e,r){let n=t.get(Eg),i=t.get(Ee);return t.get(X).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(d=>setTimeout(d));let o,s=new Promise(d=>{o=d}),a=i.startViewTransition(()=>(o(),B_(t))),{onViewTransitionCreated:l}=n;return l&&qe(t,()=>l({transition:a,from:e,to:r})),s})}function B_(t){return new Promise(e=>{bs(()=>setTimeout(e),{injector:t,phase:en.Read})})}var $_=new x(""),dd=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ce,this.transitionAbortSubject=new Ce,this.configLoader=C(cd),this.environmentInjector=C(Me),this.urlSerializer=C(ji),this.rootContexts=C(Ui),this.location=C(Sr),this.inputBindingEnabled=C(aa,{optional:!0})!==null,this.titleStrategy=C(Cg),this.options=C(Hi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=C(ud),this.createViewTransition=C(bg,{optional:!0}),this.navigationErrorHandler=C($_,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null;let n=o=>this.events.next(new $u(o)),i=o=>this.events.next(new Hu(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(Q(b(b({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Ie({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Mi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(xe(s=>s.id!==0),F(s=>Q(b({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Le(s=>{let a=!1,l=!1;return R(s).pipe(Le(d=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),$e;this.currentTransition=s,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?Q(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=d.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!h&&m!=="reload"){let v="";return this.events.next(new gn(d.id,this.urlSerializer.serialize(d.rawUrl),v,Qs.IgnoredSameUrlNavigation)),d.resolve(!1),$e}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return R(d).pipe(Le(v=>{let y=this.transitions?.getValue();return this.events.next(new Fr(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),y!==this.transitions?.getValue()?$e:Promise.resolve(v)}),N_(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),we(v=>{s.targetSnapshot=v.targetSnapshot,s.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation=Q(b({},this.currentNavigation),{finalUrl:v.urlAfterRedirects});let y=new Ks(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(y)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:v,extractedUrl:y,source:w,restoredState:O,extras:T}=d,N=new Fr(v,this.urlSerializer.serialize(y),w,O);this.events.next(N);let ge=ug(this.rootComponentType).snapshot;return this.currentTransition=s=Q(b({},d),{targetSnapshot:ge,urlAfterRedirects:y,extras:Q(b({},T),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,R(s)}else{let v="";return this.events.next(new gn(d.id,this.urlSerializer.serialize(d.extractedUrl),v,Qs.IgnoredByUrlHandlingStrategy)),d.resolve(!1),$e}}),we(d=>{let h=new Vu(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}),F(d=>(this.currentTransition=s=Q(b({},d),{guards:QE(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),s)),a_(this.environmentInjector,d=>this.events.next(d)),we(d=>{if(s.guardsResult=d.guardsResult,d.guardsResult&&typeof d.guardsResult!="boolean")throw ra(this.urlSerializer,d.guardsResult);let h=new ju(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(h)}),xe(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",Ze.GuardRejected),!1)),Ru(d=>{if(d.guards.canActivateChecks.length)return R(d).pipe(we(h=>{let m=new Uu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),Le(h=>{let m=!1;return R(h).pipe(R_(this.paramsInheritanceStrategy,this.environmentInjector),we({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",Ze.NoDataFromResolver)}}))}),we(h=>{let m=new Bu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),Ru(d=>{let h=m=>{let v=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(m.routeConfig).pipe(we(y=>{m.component=y}),F(()=>{})));for(let y of m.children)v.push(...h(y));return v};return ei(h(d.targetSnapshot.root)).pipe(Kt(null),Rt(1))}),Ru(()=>this.afterPreactivation()),Le(()=>{let{currentSnapshot:d,targetSnapshot:h}=s,m=this.createViewTransition?.(this.environmentInjector,d.root,h.root);return m?ie(m).pipe(F(()=>s)):R(s)}),F(d=>{let h=$E(n.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=s=Q(b({},d),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,s}),we(()=>{this.events.next(new Oi)}),YE(this.rootContexts,n.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Rt(1),we({next:d=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ye(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{a=!0}}),nl(this.transitionAbortSubject.pipe(we(d=>{throw d}))),Jt(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Qt(d=>{if(l=!0,mg(d))this.events.next(new zt(s.id,this.urlSerializer.serialize(s.extractedUrl),d.message,d.cancellationCode)),zE(d)?this.events.next(new Lr(d.url,d.navigationBehaviorOptions)):s.resolve(!1);else{let h=new Ri(s.id,this.urlSerializer.serialize(s.extractedUrl),d,s.targetSnapshot??void 0);try{let m=qe(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof Pi){let{message:v,cancellationCode:y}=ra(this.urlSerializer,m);this.events.next(new zt(s.id,this.urlSerializer.serialize(s.extractedUrl),v,y)),this.events.next(new Lr(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(h);let v=n.errorHandler(d);s.resolve(!!v)}}catch(m){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(m)}}return $e}))}))}cancelNavigationTransition(n,i,o){let s=new zt(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function H_(t){return t!==Mi}var G_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(z_),providedIn:"root"});let t=e;return t})(),id=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},z_=(()=>{let e=class e extends id{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_g=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(q_),providedIn:"root"});let t=e;return t})(),q_=(()=>{let e=class e extends _g{constructor(){super(...arguments),this.location=C(Sr),this.urlSerializer=C(ji),this.options=C(Hi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=C(ud),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new mn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ug(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Fr)this.stateMemento=this.createStateMemento();else if(n instanceof gn)this.rawUrlTree=i.initialUrl;else if(n instanceof Ks){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof Oi?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof zt&&(n.code===Ze.GuardRejected||n.code===Ze.NoDataFromResolver)?this.restoreHistory(i):n instanceof Ri?this.restoreHistory(i,!0):n instanceof Ye&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=b(b({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=b(b({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xi=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(xi||{});function Ig(t,e){t.events.pipe(xe(r=>r instanceof Ye||r instanceof zt||r instanceof Ri||r instanceof gn),F(r=>r instanceof Ye||r instanceof gn?xi.COMPLETE:(r instanceof zt?r.code===Ze.Redirect||r.code===Ze.SupersededByNewNavigation:!1)?xi.REDIRECTING:xi.FAILED),xe(r=>r!==xi.REDIRECTING),Rt(1)).subscribe(()=>{e()})}function W_(t){throw t}var Z_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Y_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},gt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=C(xs),this.stateManager=C(_g),this.options=C(Hi,{optional:!0})||{},this.pendingTasks=C(jt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=C(dd),this.urlSerializer=C(ji),this.location=C(Sr),this.urlHandlingStrategy=C(ud),this._events=new Ce,this.errorHandler=this.options.errorHandler||W_,this.navigated=!1,this.routeReuseStrategy=C(G_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=C(oa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!C(aa,{optional:!0}),this.eventsSubscription=new ve,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof zt&&i.code!==Ze.Redirect&&i.code!==Ze.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ye)this.navigated=!0;else if(i instanceof Lr){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),d=b({info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||H_(o.source)},a);this.scheduleNavigation(l,Mi,null,d,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}K_(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Mi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let d=b({},o);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(s.state=d)}let l=this.parseUrl(n);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(ad),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:d}=i,h=d?this.currentUrlTree.fragment:a,m=null;switch(l){case"merge":m=b(b({},this.currentUrlTree.queryParams),s);break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=s||null}m!==null&&(m=this.removeEmptyProps(m));let v;try{let y=o?o.snapshot:this.routerState.snapshot.root;v=sg(y)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),v=this.currentUrlTree.root}return ag(v,n,m,h??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Ai(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Mi,null,i)}navigate(n,i={skipLocationChange:!1}){return Q_(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=b({},Z_):i===!1?o=b({},Y_):o=i,Ai(n))return Um(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Um(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,d,h;a?(l=a.resolve,d=a.reject,h=a.promise):h=new Promise((v,y)=>{l=v,d=y});let m=this.pendingTasks.add();return Ig(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:d,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(v=>Promise.reject(v))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Q_(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,l){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new Ce,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let d=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=d==="a"||d==="area",this.isAnchorElement?this.subscription=n.events.subscribe(h=>{h instanceof Ye&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,d),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:ep(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}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})}};e.\u0275fac=function(i){return new(i||e)(S(gt),S(qt),Mc("tabindex"),S(st),S(Ae),S(Ht))},e.\u0275dir=ne({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&A("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Ut("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Bt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Bt],replaceUrl:[2,"replaceUrl","replaceUrl",Bt],routerLink:"routerLink"},standalone:!0,features:[Jc,Vt]});let t=e;return t})(),xg=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new he,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof Ye&&this.update()})}ngAfterContentInit(){R(this.links.changes,R(null)).pipe(Yt()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=ie(n).pipe(Yt()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&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!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let i=J_(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?n.isActive(s,i):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(i){return new(i||e)(S(gt),S(Ae),S(st),S(dn),S(Ne,8))},e.\u0275dir=ne({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&$p(s,Ne,5),i&2){let a;Hp(a=Gp())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Vt]});let t=e;return t})();function J_(t){return!!t.paths}var sa=class{};var X_=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(xe(n=>n instanceof Ye),Nt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Es(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return ie(o).pipe(Yt())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=R(null);let s=o.pipe(fe(a=>a===null?R(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ie([s,a]).pipe(Yt())}else return s})}};e.\u0275fac=function(i){return new(i||e)(I(gt),I(Ns),I(Me),I(sa),I(cd))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Sg=new x(""),eI=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=C(Me),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Fr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ye?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof gn&&n.code===Qs.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Js&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>Kr(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),bs(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Js(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){dp()},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function tI(t){return t.routerState.root}function Gi(t,e){return{\u0275kind:t,\u0275providers:e}}function nI(){let t=C(it);return e=>{let r=t.get(un);if(e!==r.components[0])return;let n=t.get(gt),i=t.get(Mg);t.get(fd)===1&&n.initialNavigation(),t.get(Tg,null,H.Optional)?.setUpPreloading(),t.get(Sg,null,H.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Mg=new x("",{factory:()=>new Ce}),fd=new x("",{providedIn:"root",factory:()=>1});function rI(){return Gi(2,[{provide:fd,useValue:0},{provide:Ts,multi:!0,deps:[it],useFactory:e=>{let r=e.get(am,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(gt),o=e.get(Mg);Ig(i,()=>{n(!0)}),e.get(dd).afterPreactivation=()=>(n(!0),o.closed?R(void 0):o),i.initialNavigation()}))}}])}function iI(){return Gi(3,[{provide:Ts,multi:!0,useFactory:()=>{let e=C(gt);return()=>{e.setUpLocationChangeListener()}}},{provide:fd,useValue:2}])}var Tg=new x("");function oI(t){return Gi(0,[{provide:Tg,useExisting:X_},{provide:sa,useExisting:t}])}function sI(){return Gi(8,[Gm,{provide:aa,useExisting:Gm}])}function aI(t){let e=[{provide:bg,useValue:U_},{provide:Eg,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return Gi(9,e)}var Zm=new x("ROUTER_FORROOT_GUARD"),lI=[Sr,{provide:ji,useClass:Pr},gt,Ui,{provide:qt,useFactory:tI,deps:[gt]},cd,[]],hd=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[lI,[],{provide:oa,multi:!0,useValue:n},{provide:Zm,useFactory:fI,deps:[[gt,new os,new hc]]},{provide:Hi,useValue:i||{}},i?.useHash?uI():dI(),cI(),i?.preloadingStrategy?oI(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?hI(i):[],i?.bindToComponentInputs?sI().\u0275providers:[],i?.enableViewTransitions?aI().\u0275providers:[],pI()]}}static forChild(n){return{ngModule:e,providers:[{provide:oa,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(I(Zm,8))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();function cI(){return{provide:Sg,useFactory:()=>{let t=C(dm),e=C(X),r=C(Hi),n=C(dd),i=C(ji);return r.scrollOffset&&t.setOffset(r.scrollOffset),new eI(i,n,t,e,r)}}}function uI(){return{provide:Ht,useClass:cm}}function dI(){return{provide:Ht,useClass:hu}}function fI(t){return"guarded"}function hI(t){return[t.initialNavigation==="disabled"?iI().\u0275providers:[],t.initialNavigation==="enabledBlocking"?rI().\u0275providers:[]]}var Ym=new x("");function pI(){return[{provide:Ym,useFactory:nI},{provide:As,multi:!0,useExisting:Ym}]}var gI=()=>["/pro"],Ag=(()=>{let e=class e{constructor(){this.years=new Date().getFullYear()-2009}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-footer"]],standalone:!0,features:[de],decls:94,vars:3,consts:[[1,"container-fluid","mt-5"],[1,"p-5"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-4","text-center"],["src","resources/portrait_600.jpg","alt","Portrait",1,"img-fluid","img-thumbnail","mb-5","portrait"],[1,"col-xs-12","col-md-8"],[3,"routerLink"],[1,"fa-solid","fa-heart","githubheart"],["href","https://github.com/sponsors/danielpalme","target","_blank"],[1,"col-md-3","offset-md-2"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ","target","_blank"],[1,"col-md-4","mt-4","mt-md-0"],["href","https://www.nuget.org/packages/ReportGenerator","target","_blank"],["href","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool","target","_blank"],["href","https://www.nuget.org/packages/ReportGenerator.Core","target","_blank"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col-md-3","mt-4","mt-md-0"],[1,"fa-brands","fa-github"],["href","https://twitter.com/danielpalme","target","_blank"],[1,"fa-brands","fa-twitter"],["href","https://www.palmmedia.de/Privacy","target","_blank"],["href","https://www.palmmedia.de/Imprint","target","_blank"]],template:function(i,o){i&1&&(u(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),p(5,"img",5),f(),u(6,"div",6)(7,"h2"),c(8,"Who's behind"),f(),u(9,"p"),c(10,"My name is Daniel Palme. I'm a software developer from Germany."),f(),u(11,"p"),c(12," Back in 2009 I wanted to create code coverage reports based on "),u(13,"i"),c(14,"PartCover"),f(),c(15," files."),p(16,"br"),c(17," Since no existing tool was able to merge several coverage files and generate a visual appealing report, I decided to create my own."),p(18,"br"),c(19),u(20,"i"),c(21,"ReportGenerator"),f(),c(22,". "),f(),u(23,"p"),c(24," You can support the ongoing maintenance by buying a "),u(25,"a",7),c(26,"PRO license"),f(),c(27," or by becoming a "),p(28,"i",8),c(29,"\xA0"),u(30,"a",9),c(31,"GitHub sponsor"),f(),c(32,". "),f()()()()(),u(33,"div",2)(34,"div",3),p(35,"hr"),f()(),u(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),c(42,"GitHub"),f()(),u(43,"a",11),c(44,"Source code"),f(),p(45,"br"),u(46,"a",12),c(47,"Wiki"),f(),p(48,"br"),u(49,"a",13),c(50,"FAQ"),f()(),u(51,"div",14)(52,"p")(53,"b"),c(54,"Download"),f()(),u(55,"i"),c(56,"NuGet"),f(),p(57,"br"),u(58,"a",15),c(59,"ReportGenerator"),f(),p(60,"br"),u(61,"a",16),c(62,"dotnet-reportgenerator-globaltool"),f(),p(63,"br"),u(64,"a",17),c(65,"ReportGenerator.Core"),f(),p(66,"br")(67,"br"),u(68,"i"),c(69,"Integration"),f(),p(70,"br"),u(71,"a",18),c(72,"GitHub actions"),f(),p(73,"br"),u(74,"a",19),c(75,"Azure DevOps"),f()(),u(76,"div",20)(77,"p")(78,"b"),c(79,"Community"),f()(),u(80,"a",11),p(81,"i",21),c(82," GitHub"),f(),p(83,"br"),u(84,"a",22),p(85,"i",23),c(86," Twitter"),f(),p(87,"br")(88,"br"),u(89,"a",24),c(90,"Privacy"),f(),p(91,"br"),u(92,"a",25),c(93,"Imprint"),f()()()()()()),i&2&&(g(19),ht(" Fast forward ",o.years," years, I'm still maintaining "),g(6),D("routerLink",B(2,gI)))},dependencies:[Ne],styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}.portrait[_ngcontent-%COMP%]{max-height:300px}"]});let t=e;return t})();var Ng=()=>["/"],vI=t=>({show:t}),Ur=()=>["link-active"],Rg=()=>({exact:!0}),yI=()=>["/features"],DI=()=>["/getstarted"],CI=()=>["/usage"],wI=()=>["/contact"],bI=()=>["/pro"],Og=(()=>{let e=class e{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-nav-menu"]],standalone:!0,features:[de],decls:42,vars:34,consts:[[1,"mb-5"],[1,"navbar","fixed-top","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container-xxl","flex-wrap","flex-md-nowrap"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.svg","height","40","alt","Icon",1,"me-2"],[1,"d-sm-none","d-md-none","d-lg-inline","ms-2"],["type","button","data-toggle","collapse","data-target",".navbar-collapse","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],[1,"navbar-collapse","collapse","d-sm-inline-flex",3,"ngClass"],[1,"navbar-nav","flex-grow"],[1,"nav-item",3,"routerLinkActive","routerLinkActiveOptions"],[1,"nav-link","text-dark",3,"routerLink"],[1,"nav-item",3,"routerLinkActive"],[1,"nav-link","text-dark","text-nowrap",3,"routerLink"],[1,"pro-button"],[1,"d-md-none","text-secondary"],[1,"navbar-nav","flex-row","flex-wrap","ms-md-auto","d-sm-none","d-md-flex"],[1,"nav-item","col-6","col-md-auto"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank","title","GitHub",1,"nav-link","text-dark"],[1,"fa-brands","fa-github"],[1,"d-inline","d-sm-none","ms-2"],["href","https://twitter.com/danielpalme","target","_blank","title","Twitter",1,"nav-link","text-dark"],[1,"fa-brands","fa-twitter"]],template:function(i,o){i&1&&(u(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),p(4,"img",4),u(5,"span",5),c(6,"ReportGenerator"),f()(),u(7,"button",6),A("click",function(){return o.toggle()}),p(8,"span",7),f(),u(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),c(13,"Home"),f()(),u(14,"li",10)(15,"a",11),c(16,"Features"),f()(),u(17,"li",12)(18,"a",13),c(19,"Get started"),f()(),u(20,"li",12)(21,"a",11),c(22,"Usage"),f()(),u(23,"li",12)(24,"a",11),c(25,"Contact"),f()(),u(26,"li",12)(27,"a",11)(28,"span",14),c(29,"PRO"),f()()()(),p(30,"hr",15),u(31,"ul",16)(32,"li",17)(33,"a",18),p(34,"i",19),u(35,"span",20),c(36,"GitHub"),f()()(),u(37,"li",17)(38,"a",21),p(39,"i",22),u(40,"span",20),c(41,"Twitter"),f()()()()()()()()),i&2&&(g(3),D("routerLink",B(17,Ng)),g(4),Ut("aria-expanded",o.isExpanded),g(2),D("ngClass",Ln(18,vI,o.isExpanded)),g(2),D("routerLinkActive",B(20,Ur))("routerLinkActiveOptions",B(21,Rg)),g(),D("routerLink",B(22,Ng)),g(2),D("routerLinkActive",B(23,Ur))("routerLinkActiveOptions",B(24,Rg)),g(),D("routerLink",B(25,yI)),g(2),D("routerLinkActive",B(26,Ur)),g(),D("routerLink",B(27,DI)),g(2),D("routerLinkActive",B(28,Ur)),g(),D("routerLink",B(29,CI)),g(2),D("routerLinkActive",B(30,Ur)),g(),D("routerLink",B(31,wI)),g(2),D("routerLinkActive",B(32,Ur)),g(),D("routerLink",B(33,bI)))},dependencies:[Ne,Mr,xg],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}@keyframes _ngcontent-%COMP%_pro-button-animation{0%{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}50%{background-color:vvar(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}to{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}}.pro-button[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_pro-button-animation;animation-duration:2s;animation-iteration-count:2}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{background-color:var(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}.nav-link[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:500}.nav-link[_ngcontent-%COMP%]:hover{text-decoration:underline;text-underline-offset:2px}.link-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--rg-primary-hover-color)!important;font-weight:400}"]});let t=e;return t})();var kg=(()=>{let e=class e{constructor(n,i,o){this.dom=n,this.router=i,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(xe(n=>n instanceof Ye),F(()=>this.activatedRoute),F(n=>{for(;n.firstChild;)n=n.firstChild;return n}),xe(n=>n.outlet==="primary"),fe(n=>n.data)).subscribe(n=>{let i=`${window.location.protocol}//${window.location.hostname}`;n.canonical?this.updateCanonicalUrl(i+n.canonical):this.updateCanonicalUrl(i+this.router.url)})}updateCanonicalUrl(n){let i=this.dom.getElementsByTagName("head")[0];var o=this.dom.querySelector("link[rel='canonical']")||null;o==null&&(o=this.dom.createElement("link"),i.appendChild(o)),o.setAttribute("rel","canonical"),o.setAttribute("href",n)}};e.\u0275fac=function(i){return new(i||e)(S(Ee),S(gt),S(qt))},e.\u0275cmp=ce({type:e,selectors:[["app-root"]],standalone:!0,features:[de],decls:3,vars:0,template:function(i,o){i&1&&p(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[Og,sd,Ag],encapsulation:2});let t=e;return t})();var Hg=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(S(st),S(Ae))},e.\u0275dir=ne({type:e});let t=e;return t})(),ga=(()=>{let e=class e extends Hg{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,features:[Pe]});let t=e;return t})(),Qi=new x("");var EI={provide:Qi,useExisting:He(()=>yn),multi:!0};function _I(){let t=Mt()?Mt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var II=new x(""),yn=(()=>{let e=class e extends Hg{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!_I())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(S(st),S(Ae),S(II,8))},e.\u0275dir=ne({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&A("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[pt([EI]),Pe]});let t=e;return t})();function gd(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function xI(t){return t!=null&&typeof t.length=="number"}var qr=new x(""),Gg=new x(""),SI=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function MI(t){return gd(t.value)?{required:!0}:null}function TI(t){return gd(t.value)||SI.test(t.value)?null:{email:!0}}function AI(t){return e=>xI(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function NI(t){if(!t)return pd;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>{if(gd(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function pd(t){return null}function zg(t){return t!=null}function qg(t){return Vn(t)?ie(t):t}function Wg(t){let e={};return t.forEach(r=>{e=r!=null?b(b({},e),r):e}),Object.keys(e).length===0?null:e}function Zg(t,e){return e.map(r=>r(t))}function RI(t){return!t.validate}function Yg(t){return t.map(e=>RI(e)?e:r=>e.validate(r))}function OI(t){if(!t)return null;let e=t.filter(zg);return e.length==0?null:function(r){return Wg(Zg(r,e))}}function vd(t){return t!=null?OI(Yg(t)):null}function kI(t){if(!t)return null;let e=t.filter(zg);return e.length==0?null:function(r){let n=Zg(r,e).map(qg);return Ka(n).pipe(F(Wg))}}function yd(t){return t!=null?kI(Yg(t)):null}function Pg(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function PI(t){return t._rawValidators}function FI(t){return t._rawAsyncValidators}function md(t){return t?Array.isArray(t)?t:[t]:[]}function ua(t,e){return Array.isArray(t)?t.includes(e):t===e}function Fg(t,e){let r=md(e);return md(t).forEach(i=>{ua(r,i)||r.push(i)}),r}function Lg(t,e){return md(e).filter(r=>!ua(t,r))}var da=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=vd(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=yd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Hr=class extends da{get formDirective(){return null}get path(){return null}},Gr=class extends da{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},fa=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},LI={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Sk=Q(b({},LI),{"[class.ng-submitted]":"isSubmitted"}),Wr=(()=>{let e=class e extends fa{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(Gr,2))},e.\u0275dir=ne({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&_s("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Pe]});let t=e;return t})(),Zr=(()=>{let e=class e extends fa{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(Hr,10))},e.\u0275dir=ne({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&_s("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Pe]});let t=e;return t})();var zi="VALID",ca="INVALID",Br="PENDING",qi="DISABLED",zr=class{},ha=class extends zr{constructor(e,r){super(),this.value=e,this.source=r}},Zi=class extends zr{constructor(e,r){super(),this.pristine=e,this.source=r}},Yi=class extends zr{constructor(e,r){super(),this.touched=e,this.source=r}},$r=class extends zr{constructor(e,r){super(),this.status=e,this.source=r}};function Qg(t){return(va(t)?t.validators:t)||null}function VI(t){return Array.isArray(t)?vd(t):t||null}function Kg(t,e){return(va(e)?e.asyncValidators:t)||null}function jI(t){return Array.isArray(t)?yd(t):t||null}function va(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function UI(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new M(1e3,"");if(!n[r])throw new M(1001,"")}function BI(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new M(1002,"")})}var pa=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new Ce,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===zi}get invalid(){return this.status===ca}get pending(){return this.status==Br}get disabled(){return this.status===qi}get enabled(){return this.status!==qi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Fg(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Fg(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Lg(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Lg(e,this._rawAsyncValidators))}hasValidator(e){return ua(this._rawValidators,e)}hasAsyncValidator(e){return ua(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(Q(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Yi(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),r&&e.emitEvent!==!1&&this._events.next(new Yi(!1,n))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(Q(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Zi(!1,n))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),r&&e.emitEvent!==!1&&this._events.next(new Zi(!0,n))}markAsPending(e={}){this.status=Br;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new $r(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(Q(b({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=qi,this.errors=null,this._forEachChild(i=>{i.disable(Q(b({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ha(this.value,n)),this._events.next(new $r(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Q(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=zi,this._forEachChild(n=>{n.enable(Q(b({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Q(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zi||this.status===Br)&&this._runAsyncValidator(n,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ha(this.value,r)),this._events.next(new $r(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(Q(b({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?qi:zi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=Br,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=qg(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new $r(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?qi:this.errors?ca:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Br)?Br:this._anyControlsHaveStatus(ca)?ca:zi}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new Zi(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new Yi(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){va(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=VI(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=jI(this._rawAsyncValidators)}},ma=class extends pa{constructor(e,r,n){super(Qg(r),Kg(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){BI(this,!0,e),Object.keys(e).forEach(n=>{UI(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var ya=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Da}),Da="always";function $I(t,e){return[...e.path,t]}function Jg(t,e,r=Da){Xg(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),GI(t,e),qI(t,e),zI(t,e),HI(t,e)}function Vg(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function HI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function Xg(t,e){let r=PI(t);e.validator!==null?t.setValidators(Pg(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=FI(t);e.asyncValidator!==null?t.setAsyncValidators(Pg(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();Vg(e._rawValidators,i),Vg(e._rawAsyncValidators,i)}function GI(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&ev(t,e)})}function zI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&ev(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function ev(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function qI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function WI(t,e){t==null,Xg(t,e)}function ZI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function YI(t){return Object.getPrototypeOf(t.constructor)===ga}function QI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function KI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===yn?r=o:YI(o)?n=o:i=o}),i||n||r||null}var JI={provide:Hr,useExisting:He(()=>Bn)},Wi=Promise.resolve(),Bn=(()=>{let e=class e extends Hr{constructor(n,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new he,this.form=new ma({},vd(n),yd(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Wi.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),Jg(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Wi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Wi.then(()=>{let i=this._findContainer(n.path),o=new ma({});WI(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Wi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){Wi.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,QI(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(i){return new(i||e)(S(qr,10),S(Gg,10),S(ya,8))},e.\u0275dir=ne({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&A("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pt([JI]),Pe]});let t=e;return t})();function jg(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Ug(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var XI=class extends pa{constructor(e=null,r,n){super(Qg(r),Kg(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),va(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Ug(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){jg(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){jg(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Ug(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var ex={provide:Gr,useExisting:He(()=>$n)},Bg=Promise.resolve(),$n=(()=>{let e=class e extends Gr{constructor(n,i,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new XI,this._registered=!1,this.name="",this.update=new he,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=KI(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),ZI(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Jg(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Bg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Bt(i);Bg.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?$I(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(S(Hr,9),S(qr,10),S(Gg,10),S(Qi,10),S(dn,8),S(ya,8))},e.\u0275dir=ne({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[pt([ex]),Pe,Vt]});let t=e;return t})(),Yr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var tx={provide:Qi,useExisting:He(()=>Dd),multi:!0};var nx=(()=>{let e=class e{constructor(){this._accessors=[]}add(n,i){this._accessors.push([n,i])}remove(n){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===n){this._accessors.splice(i,1);return}}select(n){this._accessors.forEach(i=>{this._isSameGroup(i,n)&&i[1]!==n&&i[1].fireUncheck(n.value)})}_isSameGroup(n,i){return n[0].control?n[0]._parent===i._control._parent&&n[1].name===i.name:!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Dd=(()=>{let e=class e extends ga{constructor(n,i,o,s){super(n,i),this._registry=o,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=C(ya,{optional:!0})??Da}ngOnInit(){this._control=this._injector.get(Gr),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}setDisabledState(n){(this.setDisabledStateFired||n||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(i){return new(i||e)(S(st),S(Ae),S(nx),S(it))},e.\u0275dir=ne({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[pt([tx]),Pe]});let t=e;return t})();var rx={provide:Qi,useExisting:He(()=>Ca),multi:!0};function tv(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function ix(t){return t.split(":")[0]}var Ca=(()=>{let e=class e extends ga{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i=this._getOptionId(n),o=tv(i,n);this.setProperty("value",o)}registerOnChange(n){this.onChange=i=>{this.value=this._getOptionValue(i),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),n))return i;return null}_getOptionValue(n){let i=ix(n);return this._optionMap.has(i)?this._optionMap.get(i):n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[pt([rx]),Pe]});let t=e;return t})(),nv=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){this._select!=null&&(this._select._optionMap.set(this.id,n),this._setElementValue(tv(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(Ae),S(st),S(Ca,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),ox={provide:Qi,useExisting:He(()=>rv),multi:!0};function $g(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function sx(t){return t.split(":")[0]}var rv=(()=>{let e=class e extends ga{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i;if(Array.isArray(n)){let o=n.map(s=>this._getOptionId(s));i=(s,a)=>{s._setSelected(o.indexOf(a.toString())>-1)}}else i=(o,s)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(n){this.onChange=i=>{let o=[],s=i.selectedOptions;if(s!==void 0){let a=s;for(let l=0;l{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[pt([ox]),Pe]});let t=e;return t})(),iv=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue($g(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue($g(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(Ae),S(st),S(rv,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();function ax(t){return typeof t=="number"?t:parseInt(t,10)}var wa=(()=>{let e=class e{constructor(){this._validator=pd}ngOnChanges(n){if(this.inputName in n){let i=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):pd,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,features:[Vt]});let t=e;return t})();var lx={provide:qr,useExisting:He(()=>Hn),multi:!0};var Hn=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Bt,this.createValidator=n=>MI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){i&2&&Ut("required",o._enabled?"":null)},inputs:{required:"required"},features:[pt([lx]),Pe]});let t=e;return t})();var cx={provide:qr,useExisting:He(()=>Ki),multi:!0},Ki=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Bt,this.createValidator=n=>TI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[pt([cx]),Pe]});let t=e;return t})();var ux={provide:qr,useExisting:He(()=>Cd),multi:!0},Cd=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>ax(n),this.createValidator=n=>AI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ut("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[pt([ux]),Pe]});let t=e;return t})(),dx={provide:qr,useExisting:He(()=>wd),multi:!0},wd=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>NI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ut("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[pt([dx]),Pe]});let t=e;return t})();var fx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();var Dn=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:ya,useValue:n.callSetDisabledState??Da}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({imports:[fx]});let t=e;return t})();var ba=class{constructor(){this.name="",this.email="",this.message=""}};var Ea=(()=>{let e=class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${K.apiBaseUrl}contact`,n)}};e.\u0275fac=function(i){return new(i||e)(I(Ci))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function px(t,e){if(t&1){let r=oe();u(0,"form",5,0),A("ngSubmit",function(){L(r);let i=E();return V(i.submit())}),u(2,"div",6)(3,"label",7),c(4,"Name "),u(5,"span",8),c(6,"*"),f()(),u(7,"input",9),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.name,i)||(o.contactViewModel.name=i),V(i)}),f()(),u(8,"div",6)(9,"label",10),c(10,"Email address "),u(11,"span",8),c(12,"*"),f()(),u(13,"input",11),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.email,i)||(o.contactViewModel.email=i),V(i)}),f()(),u(14,"div",6)(15,"label",12),c(16,"Message "),u(17,"span",8),c(18,"*"),f()(),u(19,"textarea",13),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.message,i)||(o.contactViewModel.message=i),V(i)}),f()(),u(20,"button",14),c(21,"Submit"),f()()}if(t&2){let r=Is(1),n=E();g(7),ae("ngModel",n.contactViewModel.name),g(6),ae("ngModel",n.contactViewModel.email),g(6),ae("ngModel",n.contactViewModel.message),g(),D("disabled",!r.valid||n.enableFormCountDown>0)}}function mx(t,e){t&1&&(u(0,"p"),c(1,"Thanks for your message."),f())}function gx(t,e){t&1&&(u(0,"p",4),c(1,"Something went wrong. Please try again later."),f())}var ov=(()=>{let e=class e{constructor(n){this.contactService=n,this.contactViewModel=new ba,this.success=!1,this.error=!1,this.enableFormCountDown=100,this.intervalId=null}ngOnInit(){this.intervalId=setInterval(()=>{this.enableFormCountDown-=1,this.enableFormCountDown===0&&clearInterval(this.intervalId)},50)}ngOnDestroy(){this.intervalId&&clearInterval(this.intervalId)}submit(){this.contactService.postContactForm(this.contactViewModel).subscribe({next:n=>{console.log("Submitted form"),this.success=!0},error:n=>{console.error(n),this.error=!0},complete:()=>console.info("complete")})}};e.\u0275fac=function(i){return new(i||e)(S(Ea))},e.\u0275cmp=ce({type:e,selectors:[["app-contact-component"]],standalone:!0,features:[de],decls:6,vars:3,consts:[["contactForm","ngForm"],[1,"container"],[1,"mb-4"],["method","post"],[1,"text-danger"],["method","post",3,"ngSubmit"],[1,"mb-3"],["for","Name"],[1,"required"],["type","text","id","Name","name","Name","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Email"],["type","email","id","Email","name","Email","email","","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Message"],["rows","7","id","Message","name","Message","required","",1,"form-control",3,"ngModelChange","ngModel"],["type","submit",1,"btn","btn-primary",3,"disabled"]],template:function(i,o){i&1&&(u(0,"div",1)(1,"h1",2),c(2,"Contact"),f(),P(3,px,22,4,"form",3)(4,mx,2,0,"p")(5,gx,2,0,"p",4),f()),i&2&&(g(3),Fn(!o.success&&!o.error?3:-1),g(),Fn(o.success?4:-1),g(),Fn(o.error?5:-1))},dependencies:[Dn,Yr,yn,Wr,Zr,Hn,Ki,$n,Bn]});let t=e;return t})();var sv=()=>["/pro"],av=(()=>{let e=class e{scrollToAnchor(n){return document.querySelector(n)?.scrollIntoView(!0),!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-features-component"]],standalone:!0,features:[de],decls:157,vars:4,consts:[[1,"container"],[1,"mb-4"],["id","coveragequota"],[1,"pro-text"],["href","https://en.wikipedia.org/wiki/Code_coverage","target","_blank"],[1,"fa-solid","fa-arrow-up-right-from-square"],[3,"routerLink"],[1,"pro-button","pro-button-tiny"],["loading","lazy","srcset","resources/features/quota@1x.webp 1x, resources/features/quota@2x.webp 2x","src","resources/features/quota1x.webp","alt","Coverage quotas",1,"img-fluid"],["id","coveragehistory",1,"mt-5"],["loading","lazy","srcset","resources/features/history@1x.webp 1x, resources/features/history@2x.webp 2x","src","resources/features/history@1x.webp","alt","Coverage history",1,"img-fluid"],["id","summary",1,"mt-5"],["loading","lazy","srcset","resources/features/summary@1x.webp 1x, resources/features/summary@2x.webp 2x","src","resources/features/summary.webp","alt","Summary table / Overview",1,"img-fluid"],["id","details",1,"mt-5"],["loading","lazy","srcset","resources/features/details@1x.webp 1x, resources/features/details@2x.webp 2x","src","resources/features/details.webp","alt","Details",1,"img-fluid"],["id","metrics",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ#which-coverage-tool-supports-which-features-in-the-html-report","target","_blank"],["href","",3,"click"],["loading","lazy","srcset","resources/features/metrics_details@1x.webp 1x, resources/features/metrics_details@2x.webp 2x","src","resources/features/metrics_details.webp","alt","Metrics - Details",1,"img-fluid"],["loading","lazy","srcset","resources/features/metrics_summary@1x.webp 1x, resources/features/metrics_summary@2x.webp 2x","src","resources/features/metrics_summary.webp","alt","Metrics - Summary",1,"img-fluid"],["id","riskhotspots",1,"mt-5"],["href","https://en.wikipedia.org/wiki/Cyclomatic_complexity","target","_blank"],["href","https://modess.io/npath-complexity-cyclomatic-complexity-explained","target","_blank"],["href","https://testing.googleblog.com/2011/02/this-code-is-crap.html","target","_blank"],["loading","lazy","srcset","resources/features/riskhotspots@1x.webp 1x, resources/features/riskhotspots@2x.webp 2x","src","resources/features/riskhotspots.webp","alt","Risk Hotspots",1,"img-fluid"],["id","rawmode",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Settings#other-settings","target","_blank"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),c(2,"Features"),f(),u(3,"h2",2),c(4,"Coverage quotas"),f(),u(5,"p"),c(6," The overiew cards provide a quick "),u(7,"span",3),c(8,"overview"),f(),c(9," of your coverage quotas."),p(10,"br"),c(11," You can use them to get a glimpse into the different "),u(12,"a",4),c(13,"coverage metrics"),f(),c(14,"\xA0"),u(15,"a",4),p(16,"i",5),f(),c(17,": "),f(),u(18,"ul")(19,"li"),c(20,"Line coverage"),f(),u(21,"li"),c(22,"Branch coverage"),f(),u(23,"li"),c(24,"Method coverage "),u(25,"a",6)(26,"span",7),c(27,"PRO"),f()()()(),p(28,"img",8)(29,"br"),u(30,"h2",9),c(31,"Coverage history"),f(),u(32,"p"),c(33," The history chart helps you to understand how your coverage quotas are "),u(34,"span",3),c(35,"evolving over time"),f(),c(36,". "),f(),p(37,"img",10)(38,"br"),u(39,"h2",11),c(40,"Summary table / Overview"),f(),u(41,"p"),c(42," The summary table helps you to identify classes with "),u(43,"span",3),c(44,"low test coverage"),f(),c(45,"."),p(46,"br"),c(47," The table offers various "),u(48,"span",3),c(49,"filter and sorting"),f(),c(50," options for quick navigation. "),f(),p(51,"img",12)(52,"br"),u(53,"h2",13),c(54,"Details page"),f(),u(55,"p"),c(56," The details page visualizes your "),u(57,"span",3),c(58,"line and branch coverage"),f(),c(59,". "),f(),u(60,"ul")(61,"li"),c(62,"Colors indicate the coverage status of each line."),f(),u(63,"li"),c(64,"Branch indicators help you to identity uncovered conditions."),f()(),p(65,"img",14)(66,"br"),u(67,"h2",15),c(68,"Metrics"),f(),u(69,"p"),c(70," Depending on your "),u(71,"a",16),c(72,"coverage tool"),f(),c(73,", metrics are provided to get further insigths in your "),u(74,"span",3),c(75,"code quality"),f(),c(76,". "),f(),u(77,"ul")(78,"li"),c(79,"The "),u(80,"a",17),A("click",function(){return o.scrollToAnchor("#details")}),c(81,"details page"),f(),c(82," contains information about the metrics of all methods of a class."),f(),u(83,"li"),c(84,"The "),u(85,"a",17),A("click",function(){return o.scrollToAnchor("#summary")}),c(86,"summary table"),f(),c(87," shows the lowest metrics of all methods of a class "),u(88,"a",6)(89,"span",7),c(90,"PRO"),f()()()(),u(91,"b"),c(92,"Details page"),f(),p(93,"br")(94,"img",18)(95,"br")(96,"br"),u(97,"b"),c(98,"Summary table"),f(),p(99,"br")(100,"img",19)(101,"br"),u(102,"h2",20),c(103,"Risk Hotspots"),f(),u(104,"p"),c(105," Based on the "),u(106,"a",17),A("click",function(){return o.scrollToAnchor("#metrics")}),c(107,"metrics"),f(),c(108," you get a list of potential risk hotspots."),p(109,"br"),c(110," The following metrics are analyzed if available, the warning thresholds are configurable: "),f(),u(111,"ul")(112,"li")(113,"a",21),c(114,"Cyclomatic complexity"),f(),c(115,"\xA0"),u(116,"a",21),p(117,"i",5),f()(),u(118,"li")(119,"a",22),c(120,"NPath complexity"),f(),c(121,"\xA0"),u(122,"a",22),p(123,"i",5),f()(),u(124,"li")(125,"a",23),c(126,"Crap score"),f(),c(127,"\xA0"),u(128,"a",23),p(129,"i",5),f()()(),p(130,"img",24),u(131,"h2",25),c(132,"Raw mode (for "),u(133,"i"),c(134,"Cobertura"),f(),c(135,") "),u(136,"span",7),c(137,"PRO"),f()(),u(138,"p"),c(139,' With "raw mode" (settings:rawMode=true) you can disable that coverage data of nested or compiler generated classes is included in the parent class.'),p(140,"br"),c(141," This is useful to merge several "),u(142,"i"),c(143,"Cobertura"),f(),c(144," files into a single file, since the original class structure remains untouched. "),f(),u(145,"p"),c(146,"See "),u(147,"a",26),c(148,"Settings"),f(),c(149,"\xA0"),u(150,"a",26),p(151,"i",5),f()(),u(152,"p"),c(153,"Limitation: Raw mode is currently only supported for "),u(154,"i"),c(155,"Cobertura"),f(),c(156," files."),f()()),i&2&&(g(25),D("routerLink",B(2,sv)),g(63),D("routerLink",B(3,sv)))},dependencies:[Ne]});let t=e;return t})();var Re={dotnetSDKVersion:"8.x",majorVersion:"5",version:"5.3.7"};var vx=()=>["/usage"],lv=(()=>{let e=class e{constructor(){this.versions=Re}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-getstarted"]],standalone:!0,features:[de],decls:75,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net",1,"mt-5"],["href","https://github.com/microsoft/codecoverage"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java",1,"mt-5"],["href","https://github.com/jacoco/jacoco"],["id","nodejs",1,"mt-5"],["href","https://github.com/istanbuljs/nyc"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),c(2,"Get started"),f(),u(3,"h2"),c(4,"General"),f(),u(5,"p"),c(6,"In general you need a tool that instruments your test code and collects coverage information."),p(7,"br"),c(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),p(9,"br"),u(10,"em"),c(11,"ReportGenerator"),f(),c(12," uses this file and generates a report in HTML format (other formats are available)."),f(),u(13,"p"),c(14,"Use the online "),u(15,"a",2),c(16,"configuration tool"),f(),c(17," to get started quickly."),f(),u(18,"h2",3),c(19,".NET"),f(),u(20,"p"),c(21,"For .NET you can use "),u(22,"a",4),c(23,"Microsoft CodeCoverage"),f(),c(24,", "),u(25,"a",5),c(26,"coverlet"),f(),c(27," or "),u(28,"a",6),c(29,"altcover"),f(),c(30," for instrumenting your test code."),f(),u(31,"p"),c(32,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),f(),u(33,"p")(34,"strong"),c(35,"Add dependencies to your "),u(36,"code"),c(37,"*.csproj"),f(),c(38," file:"),f()(),u(39,"pre",7),c(40),f(),u(41,"p")(42,"strong"),c(43,"Execute tests and create coverage report"),f()(),u(44,"pre",7),c(45),f(),u(46,"h2",8),c(47,"Java"),f(),u(48,"p"),c(49,"For Java you can use "),u(50,"a",9),c(51,"JaCoCo"),f(),c(52,` for instrumenting your test code. After adding JaCoCo to your project (here with Maven), you can execute your tests and generate the coverage report.`),f(),u(53,"p")(54,"strong"),c(55,"Add dependencies to your "),u(56,"code"),c(57,"pom.xml"),f(),c(58," file:"),f()(),u(59,"pre",7),c(60,` diff --git a/global.json b/global.json index 6af5c64f..34b2b9f0 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.300", + "version": "8.0.302", "rollForward": "latestMajor" } } \ No newline at end of file diff --git a/src/AzureDevopsTask/ReportGenerator/task.json b/src/AzureDevopsTask/ReportGenerator/task.json index ea556396..39181aac 100644 --- a/src/AzureDevopsTask/ReportGenerator/task.json +++ b/src/AzureDevopsTask/ReportGenerator/task.json @@ -13,7 +13,7 @@ "version": { "Major": 5, "Minor": 3, - "Patch": 6 + "Patch": 7 }, "instanceNameFormat": "ReportGenerator", "groups": [ diff --git a/src/AzureDevopsTask/vss-extension.json b/src/AzureDevopsTask/vss-extension.json index 0b6240ee..18a5a655 100644 --- a/src/AzureDevopsTask/vss-extension.json +++ b/src/AzureDevopsTask/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "reportgenerator", "name": "ReportGenerator", - "version": "5.3.6", + "version": "5.3.7", "publisher": "Palmmedia", "public": true, "targets": [ diff --git a/src/Deployment/nuget/Readme_ReportGenerator.md b/src/Deployment/nuget/Readme_ReportGenerator.md index 5fd70d80..f35d8280 100644 --- a/src/Deployment/nuget/Readme_ReportGenerator.md +++ b/src/Deployment/nuget/Readme_ReportGenerator.md @@ -13,13 +13,13 @@ ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotC ### .NET Core ``` -dotnet $(UserProfile)\.nuget\packages\reportgenerator\5.3.6\tools\net8.0\ReportGenerator.dll [options] -$(UserProfile)\.nuget\packages\reportgenerator\5.3.6\tools\net8.0\ReportGenerator.exe [options] +dotnet $(UserProfile)\.nuget\packages\reportgenerator\5.3.7\tools\net8.0\ReportGenerator.dll [options] +$(UserProfile)\.nuget\packages\reportgenerator\5.3.7\tools\net8.0\ReportGenerator.exe [options] ``` ### .NET Framework ``` -$(UserProfile)\.nuget\packages\reportgenerator\5.3.6\tools\net47\ReportGenerator.exe [options] +$(UserProfile)\.nuget\packages\reportgenerator\5.3.7\tools\net47\ReportGenerator.exe [options] ``` ## Additional information diff --git a/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md b/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md index a6574208..b9938a0d 100644 --- a/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md +++ b/src/Deployment/nuget/Readme_dotnet-reportgenerator-globaltool.md @@ -13,12 +13,12 @@ ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotC ### Installation ``` -dotnet tool install --global dotnet-reportgenerator-globaltool --version 5.3.6 +dotnet tool install --global dotnet-reportgenerator-globaltool --version 5.3.7 -dotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version 5.3.6 +dotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version 5.3.7 dotnet new tool-manifest -dotnet tool install dotnet-reportgenerator-globaltool --version 5.3.6 +dotnet tool install dotnet-reportgenerator-globaltool --version 5.3.7 ``` ### Execution diff --git a/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj b/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj index f28c39d8..758e1207 100644 --- a/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj +++ b/src/ReportGenerator.Console.NetCore/ReportGenerator.Console.NetCore.csproj @@ -7,8 +7,8 @@ ReportGenerator Palmmedia.ReportGenerator Palmmedia.ReportGenerator.Console.NetCore.Program - 5.3.6.0 - 5.3.6.0 + 5.3.7.0 + 5.3.7.0 diff --git a/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj b/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj index 18010d06..7830cea4 100644 --- a/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj +++ b/src/ReportGenerator.Console/ReportGenerator.Console.Net.csproj @@ -8,8 +8,8 @@ ReportGenerator.Console ReportGenerator.Console Copyright © 2022 - 5.3.6.0 - 5.3.6.0 + 5.3.7.0 + 5.3.7.0 bin\$(Configuration)\ false diff --git a/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj b/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj index aff8d765..ca744f28 100644 --- a/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj +++ b/src/ReportGenerator.Core.Test/ReportGenerator.Core.Test.csproj @@ -4,8 +4,8 @@ net7.0 false Palmmedia.ReportGenerator.Core.Test - 5.3.6.0 - 5.3.6.0 + 5.3.7.0 + 5.3.7.0 false diff --git a/src/ReportGenerator.Core/ReportGenerator.Core.csproj b/src/ReportGenerator.Core/ReportGenerator.Core.csproj index 76c0f803..02e239fc 100644 --- a/src/ReportGenerator.Core/ReportGenerator.Core.csproj +++ b/src/ReportGenerator.Core/ReportGenerator.Core.csproj @@ -7,8 +7,8 @@ false true ReportGenerator.Core - 5.3.6.0 - 5.3.6.0 + 5.3.7.0 + 5.3.7.0 diff --git a/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj b/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj index edefc5b4..2a6b79fb 100644 --- a/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj +++ b/src/ReportGenerator.DotnetCorePluginLoader/ReportGenerator.DotnetCorePluginLoader.csproj @@ -2,8 +2,8 @@ net6.0;net7.0;net8.0 ReportGenerator.DotnetCorePluginLoader - 5.3.6.0 - 5.3.6.0 + 5.3.7.0 + 5.3.7.0 True diff --git a/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj b/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj index 9a273a34..59eec3b2 100644 --- a/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj +++ b/src/ReportGenerator.DotnetGlobalTool/ReportGenerator.DotnetGlobalTool.csproj @@ -7,8 +7,8 @@ ReportGenerator Palmmedia.ReportGenerator Palmmedia.ReportGenerator.DotnetGlobalTool.Program - 5.3.6.0 - 5.3.6.0 + 5.3.7.0 + 5.3.7.0 diff --git a/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj b/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj index 8bc4d531..a6216131 100644 --- a/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj +++ b/src/ReportGenerator.MSBuild/ReportGenerator.MSBuild.csproj @@ -5,8 +5,8 @@ Palmmedia.ReportGenerator.MSBuild false true - 5.3.6.0 - 5.3.6.0 + 5.3.7.0 + 5.3.7.0 diff --git a/src/build.proj b/src/build.proj index c91dfb67..e11bbc98 100644 --- a/src/build.proj +++ b/src/build.proj @@ -22,7 +22,7 @@ - 5.3.6 + 5.3.7