diff --git a/docs/404.html b/docs/404.html index 0b2e02ea..054677c8 100644 --- a/docs/404.html +++ b/docs/404.html @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/docs/contact.html b/docs/contact.html index 87c78f4d..6dfa6e3c 100644 --- a/docs/contact.html +++ b/docs/contact.html @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/docs/enterprise.html b/docs/enterprise.html index 7624db39..7f34059b 100644 --- a/docs/enterprise.html +++ b/docs/enterprise.html @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/docs/features.html b/docs/features.html index 1fe6ab18..f439fbf6 100644 --- a/docs/features.html +++ b/docs/features.html @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/docs/getstarted.html b/docs/getstarted.html index 5253cfa8..c6a5dc31 100644 --- a/docs/getstarted.html +++ b/docs/getstarted.html @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 919519c5..6b41701a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/docs/main-UYTETIBF.js b/docs/main-74Z5QU6R.js similarity index 99% rename from docs/main-UYTETIBF.js rename to docs/main-74Z5QU6R.js index ec0ac80f..6fd20d73 100644 --- a/docs/main-UYTETIBF.js +++ b/docs/main-74Z5QU6R.js @@ -4,7 +4,7 @@ ${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` `);return r===-1?e:e.substring(0,r)}function Nf(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Ov=se({__forward_ref__:se});function Ge(t){return t.__forward_ref__=Ge,t.toString=function(){return ke(this())},t}function Oe(t){return vh(t)?t():t}function vh(t){return typeof t=="function"&&t.hasOwnProperty(Ov)&&t.__forward_ref__===Ge}function _(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ze(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ss(t){return Rf(t,Ch)||Rf(t,Dh)}function yh(t){return Ss(t)!==null}function Rf(t,e){return t.hasOwnProperty(e)?t[e]:null}function kv(t){let e=t&&(t[Ch]||t[Dh]);return e||null}function Of(t){return t&&(t.hasOwnProperty(kf)||t.hasOwnProperty(Pv))?t[kf]:null}var Ch=se({\u0275prov:se}),kf=se({\u0275inj:se}),Dh=se({ngInjectableDef:se}),Pv=se({ngInjectorDef:se}),T=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=_({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function wh(t){return t&&!!t.\u0275providers}var Fv=se({\u0275cmp:se}),Lv=se({\u0275dir:se}),Vv=se({\u0275pipe:se}),jv=se({\u0275mod:se}),ns=se({\u0275fac:se}),mi=se({__NG_ELEMENT_ID__:se}),Pf=se({__NG_ENV_ID__:se});function wr(t){return typeof t=="string"?t:t==null?"":String(t)}function Uv(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():wr(t)}function Bv(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new N(-200,t)}function Oc(t,e){throw new N(-201,!1)}var W=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(W||{}),Fl;function bh(){return Fl}function et(t){let e=Fl;return Fl=t,e}function Eh(t,e,r){let n=Ss(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&W.Optional)return null;if(e!==void 0)return e;Oc(t,"Injector")}var $v={},gi=$v,Ll="__NG_DI_FLAG__",rs="ngTempTokenPath",Hv="ngTokenPath",qv=/\n/gm,Gv="\u0275",Ff="__source",Cr;function zv(){return Cr}function fn(t){let e=Cr;return Cr=t,e}function Wv(t,e=W.Default){if(Cr===void 0)throw new N(-203,!1);return Cr===null?Eh(t,void 0,e):Cr.get(t,e&W.Optional?null:void 0,e)}function M(t,e=W.Default){return(bh()||Wv)(Oe(t),e)}function D(t,e=W.Default){return M(t,Ms(e))}function Ms(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Vl(t){let e=[];for(let r=0;r ");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(qv,` - `)}`}var Ts=_h(gh("Optional"),8);var kc=_h(gh("SkipSelf"),4);function br(t,e){let r=t.hasOwnProperty(ns);return r?t[ns]:null}function Kv(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?Pc(r,e):e(r))}function xh(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function is(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Xv(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 ey(t,e,r){let n=Ei(t,e);return n>=0?t[n|1]=r:(n=~n,Xv(t,n,e,r)),n}function El(t,e){let r=Ei(t,e);if(r>=0)return t[r|1]}function Ei(t,e){return ty(t,e,1)}function ty(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&&f!==m){if(ft(n))return!1;s=!0}}}}return ft(n)||s}function ft(t){return(t&1)===0}function ay(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!==""&&!ft(s)&&(e+=Vf(o,i),i=""),n=s,o=o||!ft(n);r++}return i!==""&&(e+=Vf(o,i)),e}function fy(t){return t.map(dy).join(",")}function hy(t){let e=[],r=[],n=1,i=2;for(;n{let e=Ph(t),r=K(E({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Mh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||xt.Emulated,styles:t.styles||tt,_:null,schemas:t.schemas||null,tView:null,id:""});Fh(r);let n=t.dependencies;return r.directiveDefs=Uf(n,!1),r.pipeDefs=Uf(n,!0),r.id=gy(r),r})}function py(t){return gn(t)||Nh(t)}function my(t){return t!==null}function We(t){return bi(()=>({type:t.type,bootstrap:t.bootstrap||tt,declarations:t.declarations||tt,imports:t.imports||tt,exports:t.exports||tt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function jf(t,e){if(t==null)return Er;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=mn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==mn.None?[n,a]:n,e[o]=s):r[o]=n}return r}function ie(t){return bi(()=>{let e=Ph(t);return Fh(e),e})}function gn(t){return t[Fv]||null}function Nh(t){return t[Lv]||null}function Rh(t){return t[Vv]||null}function Oh(t){let e=gn(t)||Nh(t)||Rh(t);return e!==null?e.standalone:!1}function kh(t,e){let r=t[jv]||null;if(!r&&e===!0)throw new Error(`Type ${ke(t)} does not have '\u0275mod' property.`);return r}function Ph(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||Er,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||tt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:jf(t.inputs,e),outputs:jf(t.outputs),debugInfo:null}}function Fh(t){t.features?.forEach(e=>e(t))}function Uf(t,e){if(!t)return null;let r=e?Rh:py;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(my)}function gy(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 As(t){return{\u0275providers:t}}function Lc(...t){return{\u0275providers:Lh(!0,t),\u0275fromNgModule:!0}}function Lh(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return Pc(e,s=>{let a=s;Ul(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&Vh(i,o),r}function Vh(t,e){for(let r=0;r{e(o,n)})}}function Ul(t,e,r,n){if(t=Oe(t),!t)return!1;let i=null,o=Of(t),s=!o&&gn(t);if(!o&&!s){let c=t.ngModule;if(o=Of(c),o)i=c;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 c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let f of c)Ul(f,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let f;try{Pc(o.imports,h=>{Ul(h,e,r,n)&&(f||=[],f.push(h))})}finally{}f!==void 0&&Vh(f,e)}if(!a){let f=br(i)||(()=>new i);e({provide:i,useFactory:f,deps:tt},i),e({provide:Sh,useValue:i,multi:!0},i),e({provide:_r,useValue:()=>M(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let f=t;Vc(c,h=>{e(h,f)})}}else return!1;return i!==t&&t.providers!==void 0}function Vc(t,e){for(let r of t)wh(r)&&(r=r.\u0275providers),Array.isArray(r)?Vc(r,e):e(r)}var vy=se({provide:String,useValue:se});function jh(t){return t!==null&&typeof t=="object"&&vy in t}function yy(t){return!!(t&&t.useExisting)}function Cy(t){return!!(t&&t.useFactory)}function xr(t){return typeof t=="function"}function Dy(t){return!!t.useClass}var Ns=new T(""),Qo={},wy={},_l;function jc(){return _l===void 0&&(_l=new os),_l}var Pe=class{},yi=class extends Pe{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,$l(e,s=>this.processProvider(s)),this.records.set(Ih,mr(void 0,this)),i.has("environment")&&this.records.set(Pe,mr(void 0,this));let o=this.records.get(Ns);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Sh,tt,W.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=fn(this),n=et(void 0),i;try{return e()}finally{fn(r),et(n)}}get(e,r=gi,n=W.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Pf))return e[Pf](this);n=Ms(n);let i,o=fn(this),s=et(void 0);try{if(!(n&W.SkipSelf)){let c=this.records.get(e);if(c===void 0){let f=Iy(e)&&Ss(e);f&&this.injectableDefInScope(f)?c=mr(Bl(e),Qo):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&W.Self?jc():this.parent;return r=n&W.Optional&&r===gi?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[rs]=a[rs]||[]).unshift(ke(e)),o)throw a;return Yv(a,e,"R3InjectorError",this.source)}else throw a}finally{et(s),fn(o)}}resolveInjectorInitializers(){let e=Y(null),r=fn(this),n=et(void 0),i;try{let o=this.get(_r,tt,W.Self);for(let s of o)s()}finally{fn(r),et(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 N(205,!1)}processProvider(e){e=Oe(e);let r=xr(e)?e:Oe(e&&e.provide),n=Ey(e);if(!xr(e)&&e.multi===!0){let i=this.records.get(r);i||(i=mr(void 0,Qo,!0),i.factory=()=>Vl(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===Qo&&(r.value=wy,r.value=r.factory()),typeof r.value=="object"&&r.value&&xy(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=Ss(t),r=e!==null?e.factory:br(t);if(r!==null)return r;if(t instanceof T)throw new N(204,!1);if(t instanceof Function)return by(t);throw new N(204,!1)}function by(t){if(t.length>0)throw new N(204,!1);let r=kv(t);return r!==null?()=>r.factory(t):()=>new t}function Ey(t){if(jh(t))return mr(void 0,t.useValue);{let e=Uh(t);return mr(e,Qo)}}function Uh(t,e,r){let n;if(xr(t)){let i=Oe(t);return br(i)||Bl(i)}else if(jh(t))n=()=>Oe(t.useValue);else if(Cy(t))n=()=>t.useFactory(...Vl(t.deps||[]));else if(yy(t))n=()=>M(Oe(t.useExisting));else{let i=Oe(t&&(t.useClass||t.provide));if(_y(t))n=()=>new i(...Vl(t.deps));else return br(i)||Bl(i)}return n}function mr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function _y(t){return!!t.deps}function xy(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Iy(t){return typeof t=="function"||typeof t=="object"&&t instanceof T}function $l(t,e){for(let r of t)Array.isArray(r)?$l(r,e):r&&wh(r)?$l(r.\u0275providers,e):e(r)}function st(t,e){t instanceof yi&&t.assertNotDestroyed();let r,n=fn(t),i=et(void 0);try{return e()}finally{fn(n),et(i)}}function Bh(){return bh()!==void 0||zv()!=null}function Sy(t){if(!Bh())throw new N(-203,!1)}function My(t){return typeof t=="function"}var Ht=0,j=1,F=2,Ae=3,ht=4,pt=5,ss=6,as=7,rt=8,Ir=9,It=10,ve=11,Ci=12,Bf=13,kr=14,St=15,jn=16,gr=17,jt=18,Rs=19,$h=20,hn=21,xl=22,nt=23,it=25,Hh=1;var Un=7,ls=8,Sr=9,$e=10,cs=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(cs||{});function pn(t){return Array.isArray(t)&&typeof t[Hh]=="object"}function qt(t){return Array.isArray(t)&&t[Hh]===!0}function Uc(t){return(t.flags&4)!==0}function Os(t){return t.componentOffset>-1}function ks(t){return(t.flags&1)===1}function vn(t){return!!t.template}function Hl(t){return(t[F]&512)!==0}var ql=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function qh(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Gt(){return Gh}function Gh(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ay),Ty}Gt.ngInherit=!0;function Ty(){let t=Wh(this),e=t?.current;if(e){let r=t.previous;if(r===Er)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Ay(t,e,r,n,i){let o=this.declaredInputs[n],s=Wh(t)||Ny(t,{previous:Er,current:null}),a=s.current||(s.current={}),c=s.previous,f=c[o];a[o]=new ql(f&&f.currentValue,r,c===Er),qh(t,e,i,r)}var zh="__ngSimpleChanges__";function Wh(t){return t[zh]||null}function Ny(t,e){return t[zh]=e}var $f=null;var bt=function(t,e,r){$f?.(t,e,r)},Ry="svg",Oy="math";function Mt(t){for(;Array.isArray(t);)t=t[Ht];return t}function Zh(t,e){return Mt(e[t])}function at(t,e){return Mt(e[t.index])}function Bc(t,e){return t.data[e]}function ky(t,e){return t[e]}function Dn(t,e){let r=e[t];return pn(r)?r:r[Ht]}function Py(t){return(t[F]&4)===4}function $c(t){return(t[F]&128)===128}function Fy(t){return qt(t[Ae])}function Mr(t,e){return e==null?null:t[e]}function Yh(t){t[gr]=0}function Qh(t){t[F]&1024||(t[F]|=1024,$c(t)&&Fs(t))}function Ly(t,e){for(;t>0;)e=e[kr],t--;return e}function Ps(t){return!!(t[F]&9216||t[nt]?.dirty)}function Gl(t){t[It].changeDetectionScheduler?.notify(8),t[F]&64&&(t[F]|=1024),Ps(t)&&Fs(t)}function Fs(t){t[It].changeDetectionScheduler?.notify(0);let e=Bn(t);for(;e!==null&&!(e[F]&8192||(e[F]|=8192,!$c(e)));)e=Bn(e)}function Kh(t,e){if((t[F]&256)===256)throw new N(911,!1);t[hn]===null&&(t[hn]=[]),t[hn].push(e)}function Vy(t,e){if(t[hn]===null)return;let r=t[hn].indexOf(e);r!==-1&&t[hn].splice(r,1)}function Bn(t){let e=t[Ae];return qt(e)?e[Ae]:e}var G={lFrame:ap(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Jh=!1;function jy(){return G.lFrame.elementDepthCount}function Uy(){G.lFrame.elementDepthCount++}function By(){G.lFrame.elementDepthCount--}function Xh(){return G.bindingsEnabled}function $y(){return G.skipHydrationRootTNode!==null}function Hy(t){return G.skipHydrationRootTNode===t}function qy(){G.skipHydrationRootTNode=null}function Q(){return G.lFrame.lView}function Ee(){return G.lFrame.tView}function x(t){return G.lFrame.contextLView=t,t[rt]}function I(t){return G.lFrame.contextLView=null,t}function Te(){let t=ep();for(;t!==null&&t.type===64;)t=t.parent;return t}function ep(){return G.lFrame.currentTNode}function Gy(){let t=G.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Zn(t,e){let r=G.lFrame;r.currentTNode=t,r.isParent=e}function Hc(){return G.lFrame.isParent}function tp(){G.lFrame.isParent=!1}function zy(){return G.lFrame.contextLView}function np(){return Jh}function Hf(t){Jh=t}function qc(){let t=G.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Wy(){return G.lFrame.bindingIndex}function Zy(t){return G.lFrame.bindingIndex=t}function _i(){return G.lFrame.bindingIndex++}function rp(t){let e=G.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function Yy(){return G.lFrame.inI18n}function Qy(t,e){let r=G.lFrame;r.bindingIndex=r.bindingRootIndex=t,zl(e)}function Ky(){return G.lFrame.currentDirectiveIndex}function zl(t){G.lFrame.currentDirectiveIndex=t}function Jy(t){let e=G.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function ip(){return G.lFrame.currentQueryIndex}function Gc(t){G.lFrame.currentQueryIndex=t}function Xy(t){let e=t[j];return e.type===2?e.declTNode:e.type===1?t[pt]:null}function op(t,e,r){if(r&W.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&W.Host);)if(i=Xy(o),i===null||(o=o[kr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=G.lFrame=sp();return n.currentTNode=e,n.lView=t,!0}function zc(t){let e=sp(),r=t[j];G.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function sp(){let t=G.lFrame,e=t===null?null:t.child;return e===null?ap(t):e}function ap(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 lp(){let t=G.lFrame;return G.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var cp=lp;function Wc(){let t=lp();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 eC(t){return(G.lFrame.contextLView=Ly(t,G.lFrame.contextLView))[rt]}function Yn(){return G.lFrame.selectedIndex}function $n(t){G.lFrame.selectedIndex=t}function Ls(){let t=G.lFrame;return Bc(t.tView,t.selectedIndex)}function tC(){return G.lFrame.currentNamespace}var up=!0;function Vs(){return up}function js(t){up=t}function nC(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=Gh(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 Us(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[gr]+=65536),(a>14>16&&(t[F]&3)===e&&(t[F]+=16384,qf(a,o)):qf(a,o)}var Dr=-1,Hn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function iC(t){return t instanceof Hn}function oC(t){return(t.flags&8)!==0}function sC(t){return(t.flags&16)!==0}var Sl={},Wl=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=Ms(n);let i=this.injector.get(e,Sl,n);return i!==Sl||r===Sl?i:this.parentInjector.get(e,r,n)}};function fp(t){return t!==Dr}function us(t){return t&32767}function aC(t){return t>>16}function ds(t,e){let r=aC(t),n=e;for(;r>0;)n=n[kr],r--;return n}var Zl=!0;function Gf(t){let e=Zl;return Zl=t,e}var lC=256,hp=lC-1,pp=5,cC=0,Et={};function uC(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(mi)&&(n=r[mi]),n==null&&(n=r[mi]=cC++);let i=n&hp,o=1<>pp)]|=o}function fs(t,e){let r=mp(t,e);if(r!==-1)return r;let n=e[j];n.firstCreatePass&&(t.injectorIndex=e.length,Ml(n.data,t),Ml(e,null),Ml(n.blueprint,null));let i=Zc(t,e),o=t.injectorIndex;if(fp(i)){let s=us(i),a=ds(i,e),c=a[j].data;for(let f=0;f<8;f++)e[o+f]=a[s+f]|c[s+f]}return e[o+8]=i,o}function Ml(t,e){t.push(0,0,0,0,0,0,0,0,e)}function mp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Zc(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=Dp(i),n===null)return Dr;if(r++,i=i[kr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Dr}function Yl(t,e,r){uC(t,e,r)}function dC(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:f;for(let y=m;y=c&&b.type===r)return y}if(i){let y=s[c];if(y&&vn(y)&&y.type===r)return c}return null}function qn(t,e,r,n){let i=t[r],o=e.data;if(iC(i)){let s=i;s.resolving&&Bv(Uv(o[r]));let a=Gf(s.canSeeViewProviders);s.resolving=!0;let c,f=s.injectImpl?et(s.injectImpl):null,h=op(t,n,W.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&nC(r,o[r],e)}finally{f!==null&&et(f),Gf(a),s.resolving=!1,cp()}}return i}function hC(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(mi)?t[mi]:void 0;return typeof e=="number"?e>=0?e&hp:pC:e}function zf(t,e,r){let n=1<>pp)]&n)}function Wf(t,e){return!(t&W.Self)&&!(t&W.Host&&e)}var Vn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return yp(this._tNode,this._lView,e,Ms(n),r)}};function pC(){return new Vn(Te(),Q())}function mt(t){return bi(()=>{let e=t.prototype.constructor,r=e[ns]||Ql(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[ns]||Ql(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ql(t){return vh(t)?()=>{let e=Ql(Oe(t));return e&&e()}:br(t)}function mC(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[F]&2048&&!(s[F]&512);){let a=Cp(o,s,r,n|W.Self,Et);if(a!==Et)return a;let c=o.parent;if(!c){let f=s[$h];if(f){let h=f.get(r,Et,n);if(h!==Et)return h}c=Dp(s),s=s[kr]}o=c}return i}function Dp(t){let e=t[j],r=e.type;return r===2?e.declTNode:r===1?t[pt]:null}function Yc(t){return dC(Te(),t)}function Zf(t,e=null,r=null,n){let i=wp(t,e,r,n);return i.resolveInjectorInitializers(),i}function wp(t,e=null,r=null,n,i=new Set){let o=[r||tt,Lc(t)];return n=n||(typeof t=="object"?void 0:ke(t)),new yi(o,e||jc(),n||null,i)}var Fn=class Fn{static create(e,r){if(Array.isArray(e))return Zf({name:""},r,e,"");{let n=e.name??"";return Zf({name:n},e.parent,e.providers,n)}}};Fn.THROW_IF_NOT_FOUND=gi,Fn.NULL=new os,Fn.\u0275prov=_({token:Fn,providedIn:"any",factory:()=>M(Ih)}),Fn.__NG_ELEMENT_ID__=-1;var ot=Fn;var gC=new T("");gC.__NG_ELEMENT_ID__=t=>{let e=Te();if(e===null)throw new N(204,!1);if(e.type&2)return e.value;if(t&W.Optional)return null;throw new N(204,!1)};var vC="ngOriginalError";function Tl(t){return t[vC]}var bp=!0,Qc=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=yC,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Kl=class extends Qc{constructor(e){super(),this._lView=e}onDestroy(e){return Kh(this._lView,e),()=>Vy(this._lView,e)}};function yC(){return new Kl(Q())}var zt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Se(!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 Jl=class extends we{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Bh()&&(this.destroyRef=D(Qc,{optional:!0})??void 0,this.pendingTasks=D(zt,{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 c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}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 ye&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},he=Jl;function hs(...t){}function Ep(t){let e,r;function n(){t=hs;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{t(),n()})),()=>n()}function Yf(t){return queueMicrotask(()=>t()),()=>{t=hs}}var Kc="isAngularZone",ps=Kc+"_ID",CC=0,oe=class t{constructor(e){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);let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=bp}=e;if(typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,bC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Kc)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new N(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,DC,hs,hs);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)}},DC={};function Jc(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 wC(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Ep(()=>{t.callbackScheduled=!1,Xl(t),t.isCheckStableRunning=!0,Jc(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Xl(t)}function bC(t){let e=()=>{wC(t)},r=CC++;t._inner=t._inner.fork({name:"angular",properties:{[Kc]:!0,[ps]:r,[ps+r]:!0},onInvokeTask:(n,i,o,s,a,c)=>{if(EC(c))return n.invokeTask(o,s,a,c);try{return Qf(t),n.invokeTask(o,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Kf(t)}},onInvoke:(n,i,o,s,a,c,f)=>{try{return Qf(t),n.invoke(o,s,a,c,f)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!_C(c)&&e(),Kf(t)}},onHasTask:(n,i,o,s)=>{n.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Xl(t),Jc(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,o,s)=>(n.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Xl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Qf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Kf(t){t._nesting--,Jc(t)}var ec=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 EC(t){return _p(t,"__ignore_ng_zone__")}function _C(t){return _p(t,"__scheduler_tick__")}function _p(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var Ut=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&&Tl(e);for(;r&&Tl(r);)r=Tl(r);return r||null}},xC=new T("",{providedIn:"root",factory:()=>{let t=D(oe),e=D(Ut);return r=>t.runOutsideAngular(()=>e.handleError(r))}});function IC(){return Pr(Te(),Q())}function Pr(t,e){return new _e(at(t,e))}var _e=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=IC;let t=e;return t})();function SC(t){return t instanceof _e?t.nativeElement:t}function MC(){return this._results[Symbol.iterator]()}var tc=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]=MC)}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=Jv(e);(this._changesDetected=!Kv(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 xp(t){return(t.flags&128)===128}var Ip=new Map,TC=0;function AC(){return TC++}function NC(t){Ip.set(t[Rs],t)}function nc(t){Ip.delete(t[Rs])}var Jf="__ngContext__";function yn(t,e){pn(e)?(t[Jf]=e[Rs],NC(e)):t[Jf]=e}function Sp(t){return Tp(t[Ci])}function Mp(t){return Tp(t[ht])}function Tp(t){for(;t!==null&&!qt(t);)t=t[ht];return t}var rc;function Ap(t){rc=t}function RC(){if(rc!==void 0)return rc;if(typeof document<"u")return document;throw new N(210,!1)}var Bs=new T("",{providedIn:"root",factory:()=>OC}),OC="ng",Xc=new T(""),Tt=new T("",{providedIn:"platform",factory:()=>"unknown"});var eu=new T("",{providedIn:"root",factory:()=>RC().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var kC="h",PC="b";var FC=()=>null;function tu(t,e,r=!1){return FC(t,e,r)}var Np=!1,LC=new T("",{providedIn:"root",factory:()=>Np});var zo;function VC(){if(zo===void 0&&(zo=null,_t.trustedTypes))try{zo=_t.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zo}function Xf(t){return VC()?.createScriptURL(t)||t}var ms=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${mh})`}};function xi(t){return t instanceof ms?t.changingThisBreaksApplicationSecurity:t}function nu(t,e){let r=jC(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${mh})`)}return r===e}function jC(t){return t instanceof ms&&t.getTypeName()||null}var UC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Rp(t){return t=String(t),t.match(UC)?t:"unsafe:"+t}var $s=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}($s||{});function Fr(t){let e=kp();return e?e.sanitize($s.URL,t)||"":nu(t,"URL")?xi(t):Rp(wr(t))}function BC(t){let e=kp();if(e)return Xf(e.sanitize($s.RESOURCE_URL,t)||"");if(nu(t,"ResourceURL"))return Xf(xi(t));throw new N(904,!1)}function $C(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?BC:Fr}function Op(t,e,r){return $C(e,r)(t)}function kp(){let t=Q();return t&&t[It].sanitizer}var HC=/^>|^->||--!>|)/g,GC="\u200B$1\u200B";function zC(t){return t.replace(HC,e=>e.replace(qC,GC))}function Pp(t){return t instanceof Function?t():t}function WC(t){return(t??D(ot)).get(Tt)==="browser"}var Bt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Bt||{}),ZC;function ru(t,e){return ZC(t,e)}function vr(t,e,r,n,i){if(n!=null){let o,s=!1;qt(n)?o=n:pn(n)&&(s=!0,n=n[Ht]);let a=Mt(n);t===0&&r!==null?i==null?jp(e,r,a):vs(e,r,a,i||null,!0):t===1&&r!==null?vs(e,r,a,i||null,!0):t===2?uD(e,a,s):t===3&&e.destroyNode(a),o!=null&&fD(e,t,o,r,i)}}function YC(t,e){return t.createText(e)}function QC(t,e,r){t.setValue(e,r)}function KC(t,e){return t.createComment(zC(e))}function Fp(t,e,r){return t.createElement(e,r)}function JC(t,e){Lp(t,e),e[Ht]=null,e[pt]=null}function XC(t,e,r,n,i,o){n[Ht]=i,n[pt]=e,qs(t,n,r,1,i,o)}function Lp(t,e){e[It].changeDetectionScheduler?.notify(9),qs(t,e,e[ve],2,null,null)}function eD(t){let e=t[Ci];if(!e)return Al(t[j],t);for(;e;){let r=null;if(pn(e))r=e[Ci];else{let n=e[$e];n&&(r=n)}if(!r){for(;e&&!e[ht]&&e!==t;)pn(e)&&Al(e[j],e),e=e[Ae];e===null&&(e=t),pn(e)&&Al(e[j],e),r=e&&e[ht]}e=r}}function tD(t,e,r,n){let i=$e+n,o=r.length;n>0&&(r[i-1][ht]=e),n0&&(t[r-1][ht]=n[ht]);let o=is(t,$e+e);JC(n[j],n);let s=o[jt];s!==null&&s.detachView(o[j]),n[Ae]=null,n[ht]=null,n[F]&=-129}return n}function ou(t,e){if(!(e[F]&256)){let r=e[ve];r.destroyNode&&qs(t,e,r,3,null,null),eD(e)}}function Al(t,e){if(e[F]&256)return;let r=Y(null);try{e[F]&=-129,e[F]|=256,e[nt]&&ol(e[nt]),rD(t,e),nD(t,e),e[j].type===1&&e[ve].destroy();let n=e[jn];if(n!==null&&qt(e[Ae])){n!==e[Ae]&&iu(n,e);let i=e[jt];i!==null&&i.detachView(t)}nc(e)}finally{Y(r)}}function nD(t,e){let r=t.cleanup,n=e[as];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[as]=null);let i=e[hn];if(i!==null){e[hn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===xt.None||o===xt.Emulated)return null}return at(n,r)}}function vs(t,e,r,n,i){t.insertBefore(e,r,n,i)}function jp(t,e,r){t.appendChild(e,r)}function eh(t,e,r,n,i){n!==null?vs(t,e,r,n,i):jp(t,e,r)}function Up(t,e){return t.parentNode(e)}function sD(t,e){return t.nextSibling(e)}function aD(t,e,r){return cD(t,e,r)}function lD(t,e,r){return t.type&40?at(t,r):null}var cD=lD,th;function Hs(t,e,r,n){let i=iD(t,n,e),o=e[ve],s=n.parent||e[pt],a=aD(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;cit&&qp(t,e,it,!1),bt(s?2:0,i),r(n,i)}finally{$n(o),bt(s?3:1,i)}}function au(t,e,r){if(Uc(e)){let n=Y(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function wD(t,e,r,n){let i=em(e);i.push(r),t.firstCreatePass&&tm(t).push(n,i.length-1)}function bD(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return $y()&&(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 nh(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,c=mn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let f=o;if(i!==null){if(!i.hasOwnProperty(o))continue;f=i[o]}t===0?rh(n,r,f,a,c):rh(n,r,f,a)}return n}function rh(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 ED(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,f=null;for(let h=n;h0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function MD(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Os(r)&&PD(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||fs(r,e),yn(n,e);let s=r.initialInputs;for(let a=i;a{Fs(t.lView)},consumerOnSignalRead(){this.lView[nt]=this}});function QD(t){let e=t[nt]??Object.create(KD);return e.lView=t,e}var KD=K(E({},ui),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Bn(t.lView);for(;e&&!am(e[j]);)e=Bn(e);e&&Qh(e)},consumerOnSignalRead(){this.lView[nt]=this}});function am(t){return t.type!==2}var JD=100;function lm(t,e=!0,r=0){let n=t[It],i=n.rendererFactory,o=!1;o||i.begin?.();try{XD(t,r)}catch(s){throw e&&nm(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function XD(t,e){let r=np();try{Hf(!0),lc(t,e);let n=0;for(;Ps(t);){if(n===JD)throw new N(103,!1);n++,lc(t,1)}}finally{Hf(r)}}function ew(t,e,r,n){let i=e[F];if((i&256)===256)return;let o=!1,s=!1;!o&&e[It].inlineEffectRunner?.flush(),zc(e);let a=!0,c=null,f=null;o||(am(t)?(f=zD(e),c=Co(f)):zd()===null?(a=!1,f=QD(e),c=Co(f)):e[nt]&&(ol(e[nt]),e[nt]=null));try{Yh(e),Zy(t.bindingStartIndex),r!==null&&Zp(t,e,r,2,n);let h=(i&3)===3;if(!o)if(h){let y=t.preOrderCheckHooks;y!==null&&Ko(e,y,null)}else{let y=t.preOrderHooks;y!==null&&Jo(e,y,0,null),Il(e,0)}if(s||tw(e),cm(e,0),t.contentQueries!==null&&Xp(t,e),!o)if(h){let y=t.contentCheckHooks;y!==null&&Ko(e,y)}else{let y=t.contentHooks;y!==null&&Jo(e,y,1),Il(e,1)}mD(t,e);let m=t.components;m!==null&&dm(e,m,0);let v=t.viewQuery;if(v!==null&&sc(2,v,n),!o)if(h){let y=t.viewCheckHooks;y!==null&&Ko(e,y)}else{let y=t.viewHooks;y!==null&&Jo(e,y,2),Il(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[xl]){for(let y of e[xl])y();e[xl]=null}o||(e[F]&=-73)}catch(h){throw o||Fs(e),h}finally{f!==null&&(rl(f,c),a&&ZD(f)),Wc()}}function cm(t,e){for(let r=Sp(t);r!==null;r=Mp(r))for(let n=$e;n-1&&(gs(e,n),is(r,n))}this._attachedToViewContainer=!1}ou(this._lView[j],this._lView)}onDestroy(e){Kh(this._lView,e)}markForCheck(){mu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[F]&=-129}reattach(){Gl(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,lm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Hl(this._lView),r=this._lView[jn];r!==null&&!e&&iu(r,this._lView),Lp(this._lView[j],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=e;let r=Hl(this._lView),n=this._lView[jn];n!==null&&!r&&Vp(n,this._lView),Gl(this._lView)}},zn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=ow;let t=e;return t})(),rw=zn,iw=class extends rw{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=im(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Gn(i)}};function ow(){return gu(Te(),Q())}function gu(t,e){return t.type&4?new iw(e,t,Pr(t,e)):null}var hO=new RegExp(`^(\\d+)*(${PC}|${kC})*(.*)`);var sw=()=>null;function cc(t,e){return sw(t,e)}var Tr=class{},vu=new T("",{providedIn:"root",factory:()=>!1});var fm=new T(""),hm=new T(""),uc=class{},Cs=class{};function aw(t){let e=Error(`No component factory found for ${ke(t)}.`);return e[lw]=t,e}var lw="ngComponent";var dc=class{resolveComponentFactory(e){throw aw(e)}},Iu=class Iu{};Iu.NULL=new dc;var Ar=Iu,Nr=class{},ct=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>cw();let t=e;return t})();function cw(){let t=Q(),e=Te(),r=Dn(e.index,t);return(pn(r)?r:t)[ve]}var uw=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();function Ds(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&$p(t,r,o.join(" "))}}function vw(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=Cw;let t=e;return t})();function Cw(){let t=Te();return mm(t,Q())}var Dw=wn,pm=class extends Dw{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Pr(this._hostTNode,this._hostLView)}get injector(){return new Vn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Zc(this._hostTNode,this._hostLView);if(fp(e)){let r=ds(e,this._hostLView),n=us(e),i=r[j].data[n+8];return new Vn(i,r)}else return new Vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=oh(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-$e}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=cc(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,ac(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!My(e),a;if(s)a=r;else{let b=r||{};a=b.index,n=b.injector,i=b.projectableNodes,o=b.environmentInjector||b.ngModuleRef}let c=s?e:new Rr(gn(e)),f=n||this.parentInjector;if(!o&&c.ngModule==null){let U=(s?f:this.parentInjector).get(Pe,null);U&&(o=U)}let h=gn(c.componentType??{}),m=cc(this._lContainer,h?.id??null),v=m?.firstChild??null,y=c.create(f,i,v,o);return this.insertImpl(y.hostView,a,ac(this._hostTNode,m)),y}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(Fy(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[Ae],f=new pm(c,c[pt],c[Ae]);f.detach(f.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return om(s,i,o,n),e.attachToViewContainerRef(),xh(Nl(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=oh(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=gs(this._lContainer,r);n&&(is(Nl(this._lContainer),r),ou(n[j],n))}detach(e){let r=this._adjustIndex(e,-1),n=gs(this._lContainer,r);return n&&is(Nl(this._lContainer),r)!=null?new Gn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function oh(t){return t[ls]}function Nl(t){return t[ls]||(t[ls]=[])}function mm(t,e){let r,n=e[t.index];return qt(n)?r=n:(r=Jp(n,e,null,t),e[t.index]=r,zs(e,r)),bw(r,e,t,n),new pm(r,t,e)}function ww(t,e){let r=t[ve],n=r.createComment(""),i=at(e,t),o=Up(r,i);return vs(r,o,n,sD(r,i),!1),n}var bw=xw,Ew=()=>!1;function _w(t,e,r){return Ew(t,e,r)}function xw(t,e,r,n){if(t[Un])return;let i;r.type&8?i=Mt(n):i=ww(e,r),t[Un]=i}var hc=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},pc=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 f=o[a+1],h=e[-c];for(let m=$e;me.trim())}function kw(t,e,r){t.queries===null&&(t.queries=new gc),t.queries.track(new vc(e,r))}function Pw(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 yu(t,e){return t.queries.getByIndex(e)}function Fw(t,e){let r=t[j],n=yu(r,e);return n.crossesNgTemplate?yc(r,t,e,[]):gm(r,t,n,e)}var sh=new Set;function Qn(t){sh.has(t)||(sh.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Lw(t){return typeof t=="function"&&t[Pt]!==void 0}function Si(t,e){Qn("NgSignals");let r=rf(t),n=r[Pt];return e?.equal&&(n.equal=e.equal),r.set=i=>sl(n,i),r.update=i=>of(n,i),r.asReadonly=Vw.bind(r),r}function Vw(){let t=this[Pt];if(t.readonlyFn===void 0){let e=()=>this();e[Pt]=t,t.readonlyFn=e}return t.readonlyFn}function vm(t){return Lw(t)&&typeof t.set=="function"}function jw(t){return Object.getPrototypeOf(t.prototype).constructor}function Fe(t){let e=jw(t.type),r=!0,n=[t];for(;e;){let i;if(vn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new N(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=Wo(t.inputs),s.inputTransforms=Wo(t.inputTransforms),s.declaredInputs=Wo(t.declaredInputs),s.outputs=Wo(t.outputs);let a=i.hostBindings;a&&qw(t,a);let c=i.viewQuery,f=i.contentQueries;if(c&&$w(t,c),f&&Hw(t,f),Uw(t,i),Rv(t.outputs,i.outputs),vn(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=vi(i.hostAttrs,r=vi(r,i.hostAttrs))}}function Wo(t){return t===Er?{}:t===tt?[]:t}function $w(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function Hw(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function qw(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function Cu(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 Cn=class{},Di=class{};var Cc=class extends Cn{constructor(e,r,n,i=!0){super(),this.ngModuleType=e,this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ws(this);let o=kh(e);this._bootstrapComponents=Pp(o.bootstrap),this._r3Injector=wp(e,r,[{provide:Cn,useValue:this},{provide:Ar,useValue:this.componentFactoryResolver},...n],ke(e),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}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)}},Dc=class extends Di{constructor(e){super(),this.moduleType=e}create(e){return new Cc(this.moduleType,e,[])}};var bs=class extends Cn{constructor(e){super(),this.componentFactoryResolver=new ws(this),this.instance=null;let r=new yi([...e.providers,{provide:Cn,useValue:this},{provide:Ar,useValue:this.componentFactoryResolver}],e.parent||jc(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ws(t,e,r=null){return new bs({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function ym(t){return zw(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Gw(t,e){if(Array.isArray(t))for(let r=0;r{let e=class e{constructor(){this.impl=null}execute(){this.impl?.execute()}};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})(),Ln=class Ln{constructor(){this.ngZone=D(oe),this.scheduler=D(Tr),this.errorHandler=D(Ut,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(let e of Ln.PHASES)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[e]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[e](r.pipelinedValue))}catch(n){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(n)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}};Ln.PHASES=[yr.EarlyRead,yr.Write,yr.MixedReadWrite,yr.Read],Ln.\u0275prov=_({token:Ln,providedIn:"root",factory:()=>new Ln});var wc=Ln,bc=class{constructor(e,r,n,i){this.impl=e,this.hooks=r,this.once=n,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function wu(t,e){!e?.injector&&Sy(wu);let r=e?.injector??D(ot);return WC(r)?(Qn("NgAfterNextRender"),eb(t,r,e,!0)):tb}function Xw(t,e){if(t instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[e]=t,r}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function eb(t,e,r,n){let i=e.get(Dm);i.impl??=e.get(wc);let o=r?.phase??yr.MixedReadWrite,s=r?.manualCleanup!==!0?e.get(Qc):null,a=new bc(i.impl,Xw(t,o),n,s);return i.impl.register(a),a}var tb={destroy(){}};function Ze(t,e,r,n){let i=Q(),o=_i();if($t(i,o,e)){let s=Ee(),a=Ls();FD(a,i,t,e,r,n)}return Ze}function wm(t,e,r,n){return $t(t,_i(),r)?e+wr(r)+n:lt}function nb(t,e,r,n,i,o){let s=Wy(),a=Cm(t,s,r,i);return rp(2),a?e+wr(r)+n+wr(i)+o:lt}function Zo(t,e){return t<<17|e<<2}function Wn(t){return t>>17&32767}function rb(t){return(t&2)==2}function ib(t,e){return t&131071|e<<17}function Ec(t){return t|2}function Or(t){return(t&131068)>>2}function Rl(t,e){return t&-131069|e<<2}function ob(t){return(t&1)===1}function _c(t){return t|1}function sb(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Wn(s),c=Or(s);t[n]=r;let f=!1,h;if(Array.isArray(r)){let m=r;h=m[1],(h===null||Ei(m,h)>0)&&(f=!0)}else h=r;if(i)if(c!==0){let v=Wn(t[a+1]);t[n+1]=Zo(v,a),v!==0&&(t[v+1]=Rl(t[v+1],n)),t[a+1]=ib(t[a+1],n)}else t[n+1]=Zo(a,0),a!==0&&(t[a+1]=Rl(t[a+1],n)),a=n;else t[n+1]=Zo(c,0),a===0?a=n:t[c+1]=Rl(t[c+1],n),c=n;f&&(t[n+1]=Ec(t[n+1])),ah(t,h,n,!0),ah(t,h,n,!1),ab(e,h,t,n,o),s=Zo(a,c),o?e.classBindings=s:e.styleBindings=s}function ab(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Ei(o,e)>=0&&(r[n+1]=_c(r[n+1]))}function ah(t,e,r,n){let i=t[r+1],o=e===null,s=n?Wn(i):Or(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],f=t[s+1];lb(c,e)&&(a=!0,t[s+1]=n?_c(f):Ec(f)),s=n?Wn(f):Or(f)}a&&(t[r+1]=n?Ec(i):_c(i))}function lb(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Ei(t,e)>=0:!1}function C(t,e,r){let n=Q(),i=_i();if($t(n,i,e)){let o=Ee(),s=Ls();du(o,s,n,t,e,n[ve],r,!1)}return C}function lh(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";hu(t,r,o[s],s,n)}function Zs(t,e){return cb(t,e,null,!0),Zs}function cb(t,e,r,n){let i=Q(),o=Ee(),s=rp(2);if(o.firstUpdatePass&&db(o,t,s,n),e!==lt&&$t(i,s,e)){let a=o.data[Yn()];gb(o,a,i,i[ve],t,i[s+1]=vb(e,r),n,s)}}function ub(t,e){return e>=t.expandoStartIndex}function db(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Yn()],s=ub(t,r);yb(o,n)&&e===null&&!s&&(e=!1),e=fb(i,o,e,n),sb(i,o,e,r,s,n)}}function fb(t,e,r,n){let i=Jy(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ol(null,t,e,r,n),r=wi(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Ol(i,t,e,r,n),o===null){let c=hb(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Ol(null,t,e,c[1],n),c=wi(c,e.attrs,n),pb(t,e,n,c))}else o=mb(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function hb(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Or(n)!==0)return t[Wn(n)]}function pb(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Wn(i)]=n}function mb(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],f=Array.isArray(c),h=f?c[1]:c,m=h===null,v=r[i+1];v===lt&&(v=m?tt:void 0);let y=m?El(v,n):h===n?v:void 0;if(f&&!Es(y)&&(y=El(c,n)),Es(y)&&(a=y,s))return a;let b=t[i+1];i=s?Wn(b):Or(b)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=El(c,n))}return a}function Es(t){return t!==void 0}function vb(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ke(xi(t)))),t}function yb(t,e){return(t.flags&(e?8:16))!==0}function gt(t,e){Qn("NgControlFlow");let r=Q(),n=_i(),i=r[n]!==lt?r[n]:-1,o=i!==-1?uh(r,it+i):void 0,s=0;if($t(r,n,t)){let a=Y(null);try{if(o!==void 0&&qD(o,s),t!==-1){let c=it+t,f=uh(r,c),h=Cb(r[j],c),m=cc(f,h.tView.ssrId),v=im(r,h,e,{dehydratedView:m});om(f,v,s,ac(h,m))}}finally{Y(a)}}else if(o!==void 0){let a=HD(o,s);a!==void 0&&(a[rt]=e)}}function uh(t,e){return t[e]}function Cb(t,e){return Bc(t,e)}function Db(t,e,r,n,i,o){let s=e.consts,a=Mr(s,i),c=Ii(e,t,2,n,a);return fu(e,r,c,Mr(s,o)),c.attrs!==null&&Ds(c,c.attrs,!1),c.mergedAttrs!==null&&Ds(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function u(t,e,r,n){let i=Q(),o=Ee(),s=it+t,a=i[ve],c=o.firstCreatePass?Db(s,o,i,e,r,n):o.data[s],f=wb(o,i,c,a,e,t);i[s]=f;let h=ks(c);return Zn(c,!0),Hp(a,f,c),!Zw(c)&&Vs()&&Hs(o,i,f,c),jy()===0&&yn(f,i),Uy(),h&&(lu(o,i,c),au(o,c,i)),n!==null&&cu(i,c),u}function d(){let t=Te();Hc()?tp():(t=t.parent,Zn(t,!1));let e=t;Hy(e)&&qy(),By();let r=Ee();return r.firstCreatePass&&(Us(r,t),Uc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&oC(e)&&lh(r,e,Q(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&sC(e)&&lh(r,e,Q(),e.stylesWithoutHost,!1),d}function p(t,e,r,n){return u(t,e,r,n),d(),p}var wb=(t,e,r,n,i,o)=>(js(!0),Fp(n,i,tC()));function bb(t,e,r,n,i){let o=e.consts,s=Mr(o,n),a=Ii(e,t,8,"ng-container",s);s!==null&&Ds(a,s,!0);let c=Mr(o,i);return fu(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function Le(t,e,r){let n=Q(),i=Ee(),o=t+it,s=i.firstCreatePass?bb(o,i,n,e,r):i.data[o];Zn(s,!0);let a=Eb(i,n,s,t);return n[o]=a,Vs()&&Hs(i,n,a,s),yn(a,n),ks(s)&&(lu(i,n,s),au(i,s,n)),r!=null&&cu(n,s),Le}function Ve(){let t=Te(),e=Ee();return Hc()?tp():(t=t.parent,Zn(t,!1)),e.firstCreatePass&&(Us(e,t),Uc(t)&&e.queries.elementEnd(t)),Ve}var Eb=(t,e,r,n)=>(js(!0),KC(e[ve],""));function te(){return Q()}var _s="en-US";var _b=_s;function xb(t){typeof t=="string"&&(_b=t.toLowerCase().replace(/_/g,"-"))}var Ib=(t,e,r)=>{};function A(t,e,r,n){let i=Q(),o=Ee(),s=Te();return bm(o,i,i[ve],s,t,e,n),A}function Sb(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function bm(t,e,r,n,i,o,s){let a=ks(n),f=t.firstCreatePass&&tm(t),h=e[rt],m=em(e),v=!0;if(n.type&3||s){let U=at(n,e),O=s?s(U):U,R=m.length,ue=s?re=>s(Mt(re[n.index])):n.index,me=null;if(!s&&a&&(me=Sb(t,e,i,n.index)),me!==null){let re=me.__ngLastListenerFn__||me;re.__ngNextListenerFn__=o,me.__ngLastListenerFn__=o,v=!1}else{o=fh(n,e,h,o),Ib(U,i,o);let re=r.listen(O,i,o);m.push(o,re),f&&f.push(i,ue,R,R+1)}}else o=fh(n,e,h,o);let y=n.outputs,b;if(v&&y!==null&&(b=y[i])){let U=b.length;if(U)for(let O=0;O-1?Dn(t.index,e):e;mu(s,5);let a=dh(e,r,n,o),c=i.__ngNextListenerFn__;for(;c;)a=dh(e,r,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function w(t=1){return eC(t)}function At(t,e,r,n,i){let o=Q(),s=wm(o,e,r,n);if(s!==lt){let a=Ee(),c=Ls();du(a,c,o,t,s,o[ve],i,!1)}return At}function Em(t,e,r,n){Rw(t,e,r,n)}function _m(t){let e=Q(),r=Ee(),n=ip();Gc(n+1);let i=yu(r,n);if(t.dirty&&Py(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=Fw(e,n);t.reset(o,SC),t.notifyOnChanges()}return!0}return!1}function xm(){return Aw(Q(),ip())}function Lr(t){let e=zy();return ky(e,it+t)}function l(t,e=""){let r=Q(),n=Ee(),i=t+it,o=n.firstCreatePass?Ii(n,i,1,e,null):n.data[i],s=Mb(n,r,o,e,t);r[i]=s,Vs()&&Hs(n,r,s,o),Zn(o,!1)}var Mb=(t,e,r,n,i)=>(js(!0),YC(e[ve],n));function pe(t){return je("",t,""),pe}function je(t,e,r){let n=Q(),i=wm(n,t,e,r);return i!==lt&&rm(n,Yn(),i),je}function Mi(t,e,r,n,i){let o=Q(),s=nb(o,t,e,r,n,i);return s!==lt&&rm(o,Yn(),s),Mi}function B(t,e,r){vm(e)&&(e=e());let n=Q(),i=_i();if($t(n,i,e)){let o=Ee(),s=Ls();du(o,s,n,t,e,n[ve],r,!1)}return B}function z(t,e){let r=vm(t);return r&&t.set(e),r}function $(t,e){let r=Q(),n=Ee(),i=Te();return bm(n,r,r[ve],i,t,e),$}function Tb(t,e,r){let n=Ee();if(n.firstCreatePass){let i=vn(t);xc(r,n.data,n.blueprint,i,!0),xc(e,n.data,n.blueprint,i,!1)}}function xc(t,e,r,n,i){if(t=Oe(t),Array.isArray(t))for(let o=0;o>20;if(xr(t)||!t.multi){let y=new Hn(f,i,S),b=Pl(c,e,i?h:h+v,m);b===-1?(Yl(fs(a,s),o,c),kl(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(y),s.push(y)):(r[b]=y,s[b]=y)}else{let y=Pl(c,e,h+v,m),b=Pl(c,e,h,h+v),U=y>=0&&r[y],O=b>=0&&r[b];if(i&&!O||!i&&!U){Yl(fs(a,s),o,c);let R=Rb(i?Nb:Ab,r.length,i,n,f);!i&&O&&(r[b].providerFactory=R),kl(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(R),s.push(R)}else{let R=Im(r[i?b:y],f,!i&&n);kl(o,t,y>-1?y:b,R)}!i&&n&&O&&r[b].componentProviders++}}}function kl(t,e,r,n){let i=xr(e),o=Dy(e);if(i||o){let c=(o?Oe(e.useClass):e).prototype.ngOnDestroy;if(c){let f=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let h=f.indexOf(r);h===-1?f.push(r,[n,c]):f[h+1].push(n,c)}else f.push(r,c)}}}function Im(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Pl(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>Tb(n,i?i(t):t,e)}}var Ob=(()=>{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=Lh(!1,n.type),o=i.length>0?Ws([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(M(Pe))});let t=e;return t})();function ce(t){Qn("NgStandalone"),t.getStandaloneInjector=e=>e.get(Ob).getOrCreateStandaloneInjector(t)}function H(t,e,r){let n=qc()+t,i=Q();return i[n]===lt?Du(i,n,r?e.call(r):e()):Ww(i,n)}function Kn(t,e,r,n){return kb(Q(),qc(),t,e,r,n)}function Sm(t,e,r,n,i){return Pb(Q(),qc(),t,e,r,n,i)}function Mm(t,e){let r=t[e];return r===lt?void 0:r}function kb(t,e,r,n,i,o){let s=e+r;return $t(t,s,i)?Du(t,s+1,o?n.call(o,i):n(i)):Mm(t,s+1)}function Pb(t,e,r,n,i,o,s){let a=e+r;return Cm(t,a,i,o)?Du(t,a+2,s?n.call(s,i,o):n(i,o)):Mm(t,a+2)}var Ys=(()=>{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 bu=new T(""),Ti=new T(""),Qs=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Eu||(Fb(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:()=>{oe.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)(M(oe),M(Ks),M(Ti))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ks=(()=>{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 Eu?.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 Fb(t){Eu=t}var Eu;function Jn(t){return!!t&&typeof t.then=="function"}function Tm(t){return!!t&&typeof t.subscribe=="function"}var Js=new T(""),Am=(()=>{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=D(Js,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Jn(s))n.push(s);else if(Tm(s)){let a=new Promise((c,f)=>{s.subscribe({complete:c,error:f})});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})(),Xs=new T("");function Lb(){nf(()=>{throw new N(600,!1)})}function Vb(t){return t.isBoundToModule}var jb=10;function Ub(t,e,r){try{let n=r();return Jn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var Wt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=D(xC),this.afterRenderManager=D(Dm),this.zonelessEnabled=D(vu),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new we,this.afterTick=new we,this.componentTypes=[],this.components=[],this.isStable=D(zt).hasPendingTasks.pipe(L(n=>!n)),this._injector=D(Pe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Cs;if(!this._injector.get(Am).done){let y=!o&&Oh(n),b=!1;throw new N(405,b)}let a;o?a=n:a=this._injector.get(Ar).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=Vb(a)?void 0:this._injector.get(Cn),f=i||a.selector,h=a.create(ot.NULL,[],f,c),m=h.location.nativeElement,v=h.injector.get(bu,null);return v?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),es(this.components,h),v?.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new N(101,!1);let n=Y(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,Y(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Nr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++Ps(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;es(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Xs,[]);[...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),()=>es(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new N(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 es(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Bb(t,e,r,n){if(!r&&!Ps(t))return;lm(t,e,r&&!n?0:1)}var Sc=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},ea=(()=>{let e=class e{compileModuleSync(n){return new Dc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=kh(n),s=Pp(o.declarations).reduce((a,c)=>{let f=gn(c);return f&&a.push(new Rr(f)),a},[]);return new Sc(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 $b=(()=>{let e=class e{constructor(){this.zone=D(oe),this.changeDetectionScheduler=D(Tr),this.applicationRef=D(Wt)}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 Hb({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t??=()=>new oe(K(E({},qb()),{scheduleInRootZone:r})),[{provide:oe,useFactory:t},{provide:_r,multi:!0,useFactory:()=>{let n=D($b,{optional:!0});return()=>n.initialize()}},{provide:_r,multi:!0,useFactory:()=>{let n=D(Gb);return()=>{n.initialize()}}},e===!0?{provide:fm,useValue:!0}:[],{provide:hm,useValue:r??bp}]}function qb(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Gb=(()=>{let e=class e{constructor(){this.subscription=new ye,this.initialized=!1,this.zone=D(oe),this.pendingTasks=D(zt)}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(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{oe.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 zb=(()=>{let e=class e{constructor(){this.appRef=D(Wt),this.taskService=D(zt),this.ngZone=D(oe),this.zonelessEnabled=D(vu),this.disableScheduling=D(fm,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ye,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ps):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(hm,{optional:!0})??!1),this.cancelScheduledCallback=null,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 ec||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Yf:Ep;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ps+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(n),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Yf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(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 Wb(){return typeof $localize<"u"&&$localize.locale||_s}var _u=new T("",{providedIn:"root",factory:()=>D(_u,W.Optional|W.SkipSelf)||Wb()});var Mc=new T("");function Yo(t){return!t.moduleRef}function Zb(t){let e=Yo(t)?t.r3Injector:t.moduleRef.injector,r=e.get(oe);return r.run(()=>{Yo(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get(Ut,null),i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:o=>{n.handleError(o)}})}),Yo(t)){let o=()=>e.destroy(),s=t.platformInjector.get(Mc);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Mc);s.add(o),t.moduleRef.onDestroy(()=>{es(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return Ub(n,r,()=>{let o=e.get(Am);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(_u,_s);if(xb(s||_s),Yo(t)){let a=e.get(Wt);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return Yb(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function Yb(t,e){let r=t.injector.get(Wt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(r);else throw new N(-403,!1);e.push(t)}var ts=null;function Qb(t=[],e){return ot.create({name:e,providers:[{provide:Ns,useValue:"platform"},{provide:Mc,useValue:new Set([()=>ts=null])},...t]})}function Kb(t=[]){if(ts)return ts;let e=Qb(t);return ts=e,Lb(),Jb(e),e}function Jb(t){t.get(Xc,null)?.forEach(r=>r())}var bn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Xb;let t=e;return t})();function Xb(t){return eE(Te(),Q(),(t&16)===16)}function eE(t,e,r){if(Os(t)&&!r){let n=Dn(t.index,e);return new Gn(n,n)}else if(t.type&175){let n=e[St];return new Gn(n,e)}return null}var Tc=class{constructor(){}supports(e){return ym(e)}create(e){return new Ac(e)}},tE=(t,e)=>e,Ac=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||tE}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 Nc(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 xs),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 xs),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}},Nc=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}},Rc=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}},xs=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Rc,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 hh(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||ph()),deps:[[e,new kc,new Ts]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new N(901,!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:ph});let t=e;return t})();var Nm=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(M(Wt))},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})();function Rm(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=Kb(n),o=[Hb({}),{provide:Tr,useExisting:zb},...r||[]],s=new bs({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return Zb({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}}function Zt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Ai(t,e){Qn("NgSignals");let r=Xd(t);return e?.equal&&(r[Pt].equal=e.equal),r}function Yt(t){let e=Y(null);try{return t()}finally{Y(e)}}function Om(t){let e=gn(t);if(!e)return null;let r=new Rr(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 ee={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 jm=null;function Nt(){return jm}function Um(t){jm??=t}var ta=class{};var xe=new T(""),Ou=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(rE),providedIn:"platform"});let t=e;return t})(),Bm=new T(""),rE=(()=>{let e=class e extends Ou{constructor(){super(),this._doc=D(xe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Nt().getBaseHref(this._doc)}onPopState(n){let i=Nt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=Nt().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 ku(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 km(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 Qt(t){return t&&t[0]!=="?"?"?"+t:t}var Kt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Pu),providedIn:"root"});let t=e;return t})(),$m=new T(""),Pu=(()=>{let e=class e extends Kt{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??D(xe).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 ku(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Qt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(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)(M(Ou),M($m,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hm=(()=>{let e=class e extends Kt{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=ku(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(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)(M(Ou),M($m,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),jr=(()=>{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=sE(km(Pm(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+Qt(i))}normalize(n){return e.stripTrailingSlash(oE(this._basePath,Pm(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+Qt(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(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=Qt,e.joinWithSlash=ku,e.stripTrailingSlash=km,e.\u0275fac=function(i){return new(i||e)(M(Kt))},e.\u0275prov=_({token:e,factory:()=>iE(),providedIn:"root"});let t=e;return t})();function iE(){return new jr(M(Kt))}function oE(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Pm(t){return t.replace(/\/index.html$/,"")}function sE(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function na(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 Su=/\s+/,Fm=[],Ur=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=Fm,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Su):Fm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Su):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(Su).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(_e),S(ct))},e.\u0275dir=ie({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Mu=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}},ra=(()=>{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 Mu(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 c=i.get(s);i.move(c,a),Lm(c,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Lm(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(S(wn),S(zn),S(xu))},e.\u0275dir=ie({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Lm(t,e){t.context.$implicit=e.item}var Br=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new Tu,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){Vm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Vm("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(wn),S(zn))},e.\u0275dir=ie({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Tu=class{constructor(){this.$implicit=null,this.ngIf=null}};function Vm(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ke(e)}'.`)}var qm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})(),Fu="browser",aE="server";function lE(t){return t===Fu}function ia(t){return t===aE}var Gm=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>lE(D(Tt))?new Au(D(xe),window):new Nu});let t=e;return t})(),Au=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=cE(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 cE(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 Nu=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Vr=class{};var Ri=class{},sa=class{},Jt=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` + `)}`}var Ts=_h(gh("Optional"),8);var kc=_h(gh("SkipSelf"),4);function br(t,e){let r=t.hasOwnProperty(ns);return r?t[ns]:null}function Kv(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?Pc(r,e):e(r))}function xh(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function is(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Xv(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 ey(t,e,r){let n=Ei(t,e);return n>=0?t[n|1]=r:(n=~n,Xv(t,n,e,r)),n}function El(t,e){let r=Ei(t,e);if(r>=0)return t[r|1]}function Ei(t,e){return ty(t,e,1)}function ty(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&&f!==m){if(ft(n))return!1;s=!0}}}}return ft(n)||s}function ft(t){return(t&1)===0}function ay(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!==""&&!ft(s)&&(e+=Vf(o,i),i=""),n=s,o=o||!ft(n);r++}return i!==""&&(e+=Vf(o,i)),e}function fy(t){return t.map(dy).join(",")}function hy(t){let e=[],r=[],n=1,i=2;for(;n{let e=Ph(t),r=K(E({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Mh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||xt.Emulated,styles:t.styles||tt,_:null,schemas:t.schemas||null,tView:null,id:""});Fh(r);let n=t.dependencies;return r.directiveDefs=Uf(n,!1),r.pipeDefs=Uf(n,!0),r.id=gy(r),r})}function py(t){return gn(t)||Nh(t)}function my(t){return t!==null}function We(t){return bi(()=>({type:t.type,bootstrap:t.bootstrap||tt,declarations:t.declarations||tt,imports:t.imports||tt,exports:t.exports||tt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function jf(t,e){if(t==null)return Er;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=mn.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==mn.None?[n,a]:n,e[o]=s):r[o]=n}return r}function ie(t){return bi(()=>{let e=Ph(t);return Fh(e),e})}function gn(t){return t[Fv]||null}function Nh(t){return t[Lv]||null}function Rh(t){return t[Vv]||null}function Oh(t){let e=gn(t)||Nh(t)||Rh(t);return e!==null?e.standalone:!1}function kh(t,e){let r=t[jv]||null;if(!r&&e===!0)throw new Error(`Type ${ke(t)} does not have '\u0275mod' property.`);return r}function Ph(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||Er,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||tt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:jf(t.inputs,e),outputs:jf(t.outputs),debugInfo:null}}function Fh(t){t.features?.forEach(e=>e(t))}function Uf(t,e){if(!t)return null;let r=e?Rh:py;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(my)}function gy(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 As(t){return{\u0275providers:t}}function Lc(...t){return{\u0275providers:Lh(!0,t),\u0275fromNgModule:!0}}function Lh(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return Pc(e,s=>{let a=s;Ul(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&Vh(i,o),r}function Vh(t,e){for(let r=0;r{e(o,n)})}}function Ul(t,e,r,n){if(t=Oe(t),!t)return!1;let i=null,o=Of(t),s=!o&&gn(t);if(!o&&!s){let c=t.ngModule;if(o=Of(c),o)i=c;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 c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let f of c)Ul(f,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let f;try{Pc(o.imports,h=>{Ul(h,e,r,n)&&(f||=[],f.push(h))})}finally{}f!==void 0&&Vh(f,e)}if(!a){let f=br(i)||(()=>new i);e({provide:i,useFactory:f,deps:tt},i),e({provide:Sh,useValue:i,multi:!0},i),e({provide:_r,useValue:()=>M(i),multi:!0},i)}let c=o.providers;if(c!=null&&!a){let f=t;Vc(c,h=>{e(h,f)})}}else return!1;return i!==t&&t.providers!==void 0}function Vc(t,e){for(let r of t)wh(r)&&(r=r.\u0275providers),Array.isArray(r)?Vc(r,e):e(r)}var vy=se({provide:String,useValue:se});function jh(t){return t!==null&&typeof t=="object"&&vy in t}function yy(t){return!!(t&&t.useExisting)}function Cy(t){return!!(t&&t.useFactory)}function xr(t){return typeof t=="function"}function Dy(t){return!!t.useClass}var Ns=new T(""),Qo={},wy={},_l;function jc(){return _l===void 0&&(_l=new os),_l}var Pe=class{},yi=class extends Pe{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,$l(e,s=>this.processProvider(s)),this.records.set(Ih,mr(void 0,this)),i.has("environment")&&this.records.set(Pe,mr(void 0,this));let o=this.records.get(Ns);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Sh,tt,W.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=fn(this),n=et(void 0),i;try{return e()}finally{fn(r),et(n)}}get(e,r=gi,n=W.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Pf))return e[Pf](this);n=Ms(n);let i,o=fn(this),s=et(void 0);try{if(!(n&W.SkipSelf)){let c=this.records.get(e);if(c===void 0){let f=Iy(e)&&Ss(e);f&&this.injectableDefInScope(f)?c=mr(Bl(e),Qo):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&W.Self?jc():this.parent;return r=n&W.Optional&&r===gi?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[rs]=a[rs]||[]).unshift(ke(e)),o)throw a;return Yv(a,e,"R3InjectorError",this.source)}else throw a}finally{et(s),fn(o)}}resolveInjectorInitializers(){let e=Y(null),r=fn(this),n=et(void 0),i;try{let o=this.get(_r,tt,W.Self);for(let s of o)s()}finally{fn(r),et(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 N(205,!1)}processProvider(e){e=Oe(e);let r=xr(e)?e:Oe(e&&e.provide),n=Ey(e);if(!xr(e)&&e.multi===!0){let i=this.records.get(r);i||(i=mr(void 0,Qo,!0),i.factory=()=>Vl(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===Qo&&(r.value=wy,r.value=r.factory()),typeof r.value=="object"&&r.value&&xy(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=Ss(t),r=e!==null?e.factory:br(t);if(r!==null)return r;if(t instanceof T)throw new N(204,!1);if(t instanceof Function)return by(t);throw new N(204,!1)}function by(t){if(t.length>0)throw new N(204,!1);let r=kv(t);return r!==null?()=>r.factory(t):()=>new t}function Ey(t){if(jh(t))return mr(void 0,t.useValue);{let e=Uh(t);return mr(e,Qo)}}function Uh(t,e,r){let n;if(xr(t)){let i=Oe(t);return br(i)||Bl(i)}else if(jh(t))n=()=>Oe(t.useValue);else if(Cy(t))n=()=>t.useFactory(...Vl(t.deps||[]));else if(yy(t))n=()=>M(Oe(t.useExisting));else{let i=Oe(t&&(t.useClass||t.provide));if(_y(t))n=()=>new i(...Vl(t.deps));else return br(i)||Bl(i)}return n}function mr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function _y(t){return!!t.deps}function xy(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Iy(t){return typeof t=="function"||typeof t=="object"&&t instanceof T}function $l(t,e){for(let r of t)Array.isArray(r)?$l(r,e):r&&wh(r)?$l(r.\u0275providers,e):e(r)}function st(t,e){t instanceof yi&&t.assertNotDestroyed();let r,n=fn(t),i=et(void 0);try{return e()}finally{fn(n),et(i)}}function Bh(){return bh()!==void 0||zv()!=null}function Sy(t){if(!Bh())throw new N(-203,!1)}function My(t){return typeof t=="function"}var Ht=0,j=1,F=2,Ae=3,ht=4,pt=5,ss=6,as=7,rt=8,Ir=9,It=10,ve=11,Ci=12,Bf=13,kr=14,St=15,jn=16,gr=17,jt=18,Rs=19,$h=20,hn=21,xl=22,nt=23,it=25,Hh=1;var Un=7,ls=8,Sr=9,$e=10,cs=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(cs||{});function pn(t){return Array.isArray(t)&&typeof t[Hh]=="object"}function qt(t){return Array.isArray(t)&&t[Hh]===!0}function Uc(t){return(t.flags&4)!==0}function Os(t){return t.componentOffset>-1}function ks(t){return(t.flags&1)===1}function vn(t){return!!t.template}function Hl(t){return(t[F]&512)!==0}var ql=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function qh(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Gt(){return Gh}function Gh(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ay),Ty}Gt.ngInherit=!0;function Ty(){let t=Wh(this),e=t?.current;if(e){let r=t.previous;if(r===Er)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Ay(t,e,r,n,i){let o=this.declaredInputs[n],s=Wh(t)||Ny(t,{previous:Er,current:null}),a=s.current||(s.current={}),c=s.previous,f=c[o];a[o]=new ql(f&&f.currentValue,r,c===Er),qh(t,e,i,r)}var zh="__ngSimpleChanges__";function Wh(t){return t[zh]||null}function Ny(t,e){return t[zh]=e}var $f=null;var bt=function(t,e,r){$f?.(t,e,r)},Ry="svg",Oy="math";function Mt(t){for(;Array.isArray(t);)t=t[Ht];return t}function Zh(t,e){return Mt(e[t])}function at(t,e){return Mt(e[t.index])}function Bc(t,e){return t.data[e]}function ky(t,e){return t[e]}function Dn(t,e){let r=e[t];return pn(r)?r:r[Ht]}function Py(t){return(t[F]&4)===4}function $c(t){return(t[F]&128)===128}function Fy(t){return qt(t[Ae])}function Mr(t,e){return e==null?null:t[e]}function Yh(t){t[gr]=0}function Qh(t){t[F]&1024||(t[F]|=1024,$c(t)&&Fs(t))}function Ly(t,e){for(;t>0;)e=e[kr],t--;return e}function Ps(t){return!!(t[F]&9216||t[nt]?.dirty)}function Gl(t){t[It].changeDetectionScheduler?.notify(8),t[F]&64&&(t[F]|=1024),Ps(t)&&Fs(t)}function Fs(t){t[It].changeDetectionScheduler?.notify(0);let e=Bn(t);for(;e!==null&&!(e[F]&8192||(e[F]|=8192,!$c(e)));)e=Bn(e)}function Kh(t,e){if((t[F]&256)===256)throw new N(911,!1);t[hn]===null&&(t[hn]=[]),t[hn].push(e)}function Vy(t,e){if(t[hn]===null)return;let r=t[hn].indexOf(e);r!==-1&&t[hn].splice(r,1)}function Bn(t){let e=t[Ae];return qt(e)?e[Ae]:e}var G={lFrame:ap(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Jh=!1;function jy(){return G.lFrame.elementDepthCount}function Uy(){G.lFrame.elementDepthCount++}function By(){G.lFrame.elementDepthCount--}function Xh(){return G.bindingsEnabled}function $y(){return G.skipHydrationRootTNode!==null}function Hy(t){return G.skipHydrationRootTNode===t}function qy(){G.skipHydrationRootTNode=null}function Q(){return G.lFrame.lView}function Ee(){return G.lFrame.tView}function x(t){return G.lFrame.contextLView=t,t[rt]}function I(t){return G.lFrame.contextLView=null,t}function Te(){let t=ep();for(;t!==null&&t.type===64;)t=t.parent;return t}function ep(){return G.lFrame.currentTNode}function Gy(){let t=G.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Zn(t,e){let r=G.lFrame;r.currentTNode=t,r.isParent=e}function Hc(){return G.lFrame.isParent}function tp(){G.lFrame.isParent=!1}function zy(){return G.lFrame.contextLView}function np(){return Jh}function Hf(t){Jh=t}function qc(){let t=G.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Wy(){return G.lFrame.bindingIndex}function Zy(t){return G.lFrame.bindingIndex=t}function _i(){return G.lFrame.bindingIndex++}function rp(t){let e=G.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function Yy(){return G.lFrame.inI18n}function Qy(t,e){let r=G.lFrame;r.bindingIndex=r.bindingRootIndex=t,zl(e)}function Ky(){return G.lFrame.currentDirectiveIndex}function zl(t){G.lFrame.currentDirectiveIndex=t}function Jy(t){let e=G.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function ip(){return G.lFrame.currentQueryIndex}function Gc(t){G.lFrame.currentQueryIndex=t}function Xy(t){let e=t[j];return e.type===2?e.declTNode:e.type===1?t[pt]:null}function op(t,e,r){if(r&W.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&W.Host);)if(i=Xy(o),i===null||(o=o[kr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=G.lFrame=sp();return n.currentTNode=e,n.lView=t,!0}function zc(t){let e=sp(),r=t[j];G.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function sp(){let t=G.lFrame,e=t===null?null:t.child;return e===null?ap(t):e}function ap(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 lp(){let t=G.lFrame;return G.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var cp=lp;function Wc(){let t=lp();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 eC(t){return(G.lFrame.contextLView=Ly(t,G.lFrame.contextLView))[rt]}function Yn(){return G.lFrame.selectedIndex}function $n(t){G.lFrame.selectedIndex=t}function Ls(){let t=G.lFrame;return Bc(t.tView,t.selectedIndex)}function tC(){return G.lFrame.currentNamespace}var up=!0;function Vs(){return up}function js(t){up=t}function nC(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=Gh(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 Us(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[gr]+=65536),(a>14>16&&(t[F]&3)===e&&(t[F]+=16384,qf(a,o)):qf(a,o)}var Dr=-1,Hn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function iC(t){return t instanceof Hn}function oC(t){return(t.flags&8)!==0}function sC(t){return(t.flags&16)!==0}var Sl={},Wl=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=Ms(n);let i=this.injector.get(e,Sl,n);return i!==Sl||r===Sl?i:this.parentInjector.get(e,r,n)}};function fp(t){return t!==Dr}function us(t){return t&32767}function aC(t){return t>>16}function ds(t,e){let r=aC(t),n=e;for(;r>0;)n=n[kr],r--;return n}var Zl=!0;function Gf(t){let e=Zl;return Zl=t,e}var lC=256,hp=lC-1,pp=5,cC=0,Et={};function uC(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(mi)&&(n=r[mi]),n==null&&(n=r[mi]=cC++);let i=n&hp,o=1<>pp)]|=o}function fs(t,e){let r=mp(t,e);if(r!==-1)return r;let n=e[j];n.firstCreatePass&&(t.injectorIndex=e.length,Ml(n.data,t),Ml(e,null),Ml(n.blueprint,null));let i=Zc(t,e),o=t.injectorIndex;if(fp(i)){let s=us(i),a=ds(i,e),c=a[j].data;for(let f=0;f<8;f++)e[o+f]=a[s+f]|c[s+f]}return e[o+8]=i,o}function Ml(t,e){t.push(0,0,0,0,0,0,0,0,e)}function mp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Zc(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=Dp(i),n===null)return Dr;if(r++,i=i[kr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Dr}function Yl(t,e,r){uC(t,e,r)}function dC(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:f;for(let y=m;y=c&&b.type===r)return y}if(i){let y=s[c];if(y&&vn(y)&&y.type===r)return c}return null}function qn(t,e,r,n){let i=t[r],o=e.data;if(iC(i)){let s=i;s.resolving&&Bv(Uv(o[r]));let a=Gf(s.canSeeViewProviders);s.resolving=!0;let c,f=s.injectImpl?et(s.injectImpl):null,h=op(t,n,W.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&nC(r,o[r],e)}finally{f!==null&&et(f),Gf(a),s.resolving=!1,cp()}}return i}function hC(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(mi)?t[mi]:void 0;return typeof e=="number"?e>=0?e&hp:pC:e}function zf(t,e,r){let n=1<>pp)]&n)}function Wf(t,e){return!(t&W.Self)&&!(t&W.Host&&e)}var Vn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return yp(this._tNode,this._lView,e,Ms(n),r)}};function pC(){return new Vn(Te(),Q())}function mt(t){return bi(()=>{let e=t.prototype.constructor,r=e[ns]||Ql(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[ns]||Ql(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ql(t){return vh(t)?()=>{let e=Ql(Oe(t));return e&&e()}:br(t)}function mC(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[F]&2048&&!(s[F]&512);){let a=Cp(o,s,r,n|W.Self,Et);if(a!==Et)return a;let c=o.parent;if(!c){let f=s[$h];if(f){let h=f.get(r,Et,n);if(h!==Et)return h}c=Dp(s),s=s[kr]}o=c}return i}function Dp(t){let e=t[j],r=e.type;return r===2?e.declTNode:r===1?t[pt]:null}function Yc(t){return dC(Te(),t)}function Zf(t,e=null,r=null,n){let i=wp(t,e,r,n);return i.resolveInjectorInitializers(),i}function wp(t,e=null,r=null,n,i=new Set){let o=[r||tt,Lc(t)];return n=n||(typeof t=="object"?void 0:ke(t)),new yi(o,e||jc(),n||null,i)}var Fn=class Fn{static create(e,r){if(Array.isArray(e))return Zf({name:""},r,e,"");{let n=e.name??"";return Zf({name:n},e.parent,e.providers,n)}}};Fn.THROW_IF_NOT_FOUND=gi,Fn.NULL=new os,Fn.\u0275prov=_({token:Fn,providedIn:"any",factory:()=>M(Ih)}),Fn.__NG_ELEMENT_ID__=-1;var ot=Fn;var gC=new T("");gC.__NG_ELEMENT_ID__=t=>{let e=Te();if(e===null)throw new N(204,!1);if(e.type&2)return e.value;if(t&W.Optional)return null;throw new N(204,!1)};var vC="ngOriginalError";function Tl(t){return t[vC]}var bp=!0,Qc=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=yC,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Kl=class extends Qc{constructor(e){super(),this._lView=e}onDestroy(e){return Kh(this._lView,e),()=>Vy(this._lView,e)}};function yC(){return new Kl(Q())}var zt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Se(!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 Jl=class extends we{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Bh()&&(this.destroyRef=D(Qc,{optional:!0})??void 0,this.pendingTasks=D(zt,{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 c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}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 ye&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},he=Jl;function hs(...t){}function Ep(t){let e,r;function n(){t=hs;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{t(),n()})),()=>n()}function Yf(t){return queueMicrotask(()=>t()),()=>{t=hs}}var Kc="isAngularZone",ps=Kc+"_ID",CC=0,oe=class t{constructor(e){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);let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=bp}=e;if(typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,bC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Kc)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new N(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,DC,hs,hs);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)}},DC={};function Jc(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 wC(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Ep(()=>{t.callbackScheduled=!1,Xl(t),t.isCheckStableRunning=!0,Jc(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Xl(t)}function bC(t){let e=()=>{wC(t)},r=CC++;t._inner=t._inner.fork({name:"angular",properties:{[Kc]:!0,[ps]:r,[ps+r]:!0},onInvokeTask:(n,i,o,s,a,c)=>{if(EC(c))return n.invokeTask(o,s,a,c);try{return Qf(t),n.invokeTask(o,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Kf(t)}},onInvoke:(n,i,o,s,a,c,f)=>{try{return Qf(t),n.invoke(o,s,a,c,f)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!_C(c)&&e(),Kf(t)}},onHasTask:(n,i,o,s)=>{n.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Xl(t),Jc(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,o,s)=>(n.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Xl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Qf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Kf(t){t._nesting--,Jc(t)}var ec=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 EC(t){return _p(t,"__ignore_ng_zone__")}function _C(t){return _p(t,"__scheduler_tick__")}function _p(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var Ut=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&&Tl(e);for(;r&&Tl(r);)r=Tl(r);return r||null}},xC=new T("",{providedIn:"root",factory:()=>{let t=D(oe),e=D(Ut);return r=>t.runOutsideAngular(()=>e.handleError(r))}});function IC(){return Pr(Te(),Q())}function Pr(t,e){return new _e(at(t,e))}var _e=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=IC;let t=e;return t})();function SC(t){return t instanceof _e?t.nativeElement:t}function MC(){return this._results[Symbol.iterator]()}var tc=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]=MC)}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=Jv(e);(this._changesDetected=!Kv(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 xp(t){return(t.flags&128)===128}var Ip=new Map,TC=0;function AC(){return TC++}function NC(t){Ip.set(t[Rs],t)}function nc(t){Ip.delete(t[Rs])}var Jf="__ngContext__";function yn(t,e){pn(e)?(t[Jf]=e[Rs],NC(e)):t[Jf]=e}function Sp(t){return Tp(t[Ci])}function Mp(t){return Tp(t[ht])}function Tp(t){for(;t!==null&&!qt(t);)t=t[ht];return t}var rc;function Ap(t){rc=t}function RC(){if(rc!==void 0)return rc;if(typeof document<"u")return document;throw new N(210,!1)}var Bs=new T("",{providedIn:"root",factory:()=>OC}),OC="ng",Xc=new T(""),Tt=new T("",{providedIn:"platform",factory:()=>"unknown"});var eu=new T("",{providedIn:"root",factory:()=>RC().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var kC="h",PC="b";var FC=()=>null;function tu(t,e,r=!1){return FC(t,e,r)}var Np=!1,LC=new T("",{providedIn:"root",factory:()=>Np});var zo;function VC(){if(zo===void 0&&(zo=null,_t.trustedTypes))try{zo=_t.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zo}function Xf(t){return VC()?.createScriptURL(t)||t}var ms=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${mh})`}};function xi(t){return t instanceof ms?t.changingThisBreaksApplicationSecurity:t}function nu(t,e){let r=jC(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${mh})`)}return r===e}function jC(t){return t instanceof ms&&t.getTypeName()||null}var UC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Rp(t){return t=String(t),t.match(UC)?t:"unsafe:"+t}var $s=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}($s||{});function Fr(t){let e=kp();return e?e.sanitize($s.URL,t)||"":nu(t,"URL")?xi(t):Rp(wr(t))}function BC(t){let e=kp();if(e)return Xf(e.sanitize($s.RESOURCE_URL,t)||"");if(nu(t,"ResourceURL"))return Xf(xi(t));throw new N(904,!1)}function $C(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?BC:Fr}function Op(t,e,r){return $C(e,r)(t)}function kp(){let t=Q();return t&&t[It].sanitizer}var HC=/^>|^->||--!>|)/g,GC="\u200B$1\u200B";function zC(t){return t.replace(HC,e=>e.replace(qC,GC))}function Pp(t){return t instanceof Function?t():t}function WC(t){return(t??D(ot)).get(Tt)==="browser"}var Bt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Bt||{}),ZC;function ru(t,e){return ZC(t,e)}function vr(t,e,r,n,i){if(n!=null){let o,s=!1;qt(n)?o=n:pn(n)&&(s=!0,n=n[Ht]);let a=Mt(n);t===0&&r!==null?i==null?jp(e,r,a):vs(e,r,a,i||null,!0):t===1&&r!==null?vs(e,r,a,i||null,!0):t===2?uD(e,a,s):t===3&&e.destroyNode(a),o!=null&&fD(e,t,o,r,i)}}function YC(t,e){return t.createText(e)}function QC(t,e,r){t.setValue(e,r)}function KC(t,e){return t.createComment(zC(e))}function Fp(t,e,r){return t.createElement(e,r)}function JC(t,e){Lp(t,e),e[Ht]=null,e[pt]=null}function XC(t,e,r,n,i,o){n[Ht]=i,n[pt]=e,qs(t,n,r,1,i,o)}function Lp(t,e){e[It].changeDetectionScheduler?.notify(9),qs(t,e,e[ve],2,null,null)}function eD(t){let e=t[Ci];if(!e)return Al(t[j],t);for(;e;){let r=null;if(pn(e))r=e[Ci];else{let n=e[$e];n&&(r=n)}if(!r){for(;e&&!e[ht]&&e!==t;)pn(e)&&Al(e[j],e),e=e[Ae];e===null&&(e=t),pn(e)&&Al(e[j],e),r=e&&e[ht]}e=r}}function tD(t,e,r,n){let i=$e+n,o=r.length;n>0&&(r[i-1][ht]=e),n0&&(t[r-1][ht]=n[ht]);let o=is(t,$e+e);JC(n[j],n);let s=o[jt];s!==null&&s.detachView(o[j]),n[Ae]=null,n[ht]=null,n[F]&=-129}return n}function ou(t,e){if(!(e[F]&256)){let r=e[ve];r.destroyNode&&qs(t,e,r,3,null,null),eD(e)}}function Al(t,e){if(e[F]&256)return;let r=Y(null);try{e[F]&=-129,e[F]|=256,e[nt]&&ol(e[nt]),rD(t,e),nD(t,e),e[j].type===1&&e[ve].destroy();let n=e[jn];if(n!==null&&qt(e[Ae])){n!==e[Ae]&&iu(n,e);let i=e[jt];i!==null&&i.detachView(t)}nc(e)}finally{Y(r)}}function nD(t,e){let r=t.cleanup,n=e[as];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[as]=null);let i=e[hn];if(i!==null){e[hn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===xt.None||o===xt.Emulated)return null}return at(n,r)}}function vs(t,e,r,n,i){t.insertBefore(e,r,n,i)}function jp(t,e,r){t.appendChild(e,r)}function eh(t,e,r,n,i){n!==null?vs(t,e,r,n,i):jp(t,e,r)}function Up(t,e){return t.parentNode(e)}function sD(t,e){return t.nextSibling(e)}function aD(t,e,r){return cD(t,e,r)}function lD(t,e,r){return t.type&40?at(t,r):null}var cD=lD,th;function Hs(t,e,r,n){let i=iD(t,n,e),o=e[ve],s=n.parent||e[pt],a=aD(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;cit&&qp(t,e,it,!1),bt(s?2:0,i),r(n,i)}finally{$n(o),bt(s?3:1,i)}}function au(t,e,r){if(Uc(e)){let n=Y(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function wD(t,e,r,n){let i=em(e);i.push(r),t.firstCreatePass&&tm(t).push(n,i.length-1)}function bD(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return $y()&&(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 nh(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,c=mn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let f=o;if(i!==null){if(!i.hasOwnProperty(o))continue;f=i[o]}t===0?rh(n,r,f,a,c):rh(n,r,f,a)}return n}function rh(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 ED(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,f=null;for(let h=n;h0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function MD(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;Os(r)&&PD(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||fs(r,e),yn(n,e);let s=r.initialInputs;for(let a=i;a{Fs(t.lView)},consumerOnSignalRead(){this.lView[nt]=this}});function QD(t){let e=t[nt]??Object.create(KD);return e.lView=t,e}var KD=K(E({},ui),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Bn(t.lView);for(;e&&!am(e[j]);)e=Bn(e);e&&Qh(e)},consumerOnSignalRead(){this.lView[nt]=this}});function am(t){return t.type!==2}var JD=100;function lm(t,e=!0,r=0){let n=t[It],i=n.rendererFactory,o=!1;o||i.begin?.();try{XD(t,r)}catch(s){throw e&&nm(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function XD(t,e){let r=np();try{Hf(!0),lc(t,e);let n=0;for(;Ps(t);){if(n===JD)throw new N(103,!1);n++,lc(t,1)}}finally{Hf(r)}}function ew(t,e,r,n){let i=e[F];if((i&256)===256)return;let o=!1,s=!1;!o&&e[It].inlineEffectRunner?.flush(),zc(e);let a=!0,c=null,f=null;o||(am(t)?(f=zD(e),c=Co(f)):zd()===null?(a=!1,f=QD(e),c=Co(f)):e[nt]&&(ol(e[nt]),e[nt]=null));try{Yh(e),Zy(t.bindingStartIndex),r!==null&&Zp(t,e,r,2,n);let h=(i&3)===3;if(!o)if(h){let y=t.preOrderCheckHooks;y!==null&&Ko(e,y,null)}else{let y=t.preOrderHooks;y!==null&&Jo(e,y,0,null),Il(e,0)}if(s||tw(e),cm(e,0),t.contentQueries!==null&&Xp(t,e),!o)if(h){let y=t.contentCheckHooks;y!==null&&Ko(e,y)}else{let y=t.contentHooks;y!==null&&Jo(e,y,1),Il(e,1)}mD(t,e);let m=t.components;m!==null&&dm(e,m,0);let v=t.viewQuery;if(v!==null&&sc(2,v,n),!o)if(h){let y=t.viewCheckHooks;y!==null&&Ko(e,y)}else{let y=t.viewHooks;y!==null&&Jo(e,y,2),Il(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[xl]){for(let y of e[xl])y();e[xl]=null}o||(e[F]&=-73)}catch(h){throw o||Fs(e),h}finally{f!==null&&(rl(f,c),a&&ZD(f)),Wc()}}function cm(t,e){for(let r=Sp(t);r!==null;r=Mp(r))for(let n=$e;n-1&&(gs(e,n),is(r,n))}this._attachedToViewContainer=!1}ou(this._lView[j],this._lView)}onDestroy(e){Kh(this._lView,e)}markForCheck(){mu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[F]&=-129}reattach(){Gl(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,lm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Hl(this._lView),r=this._lView[jn];r!==null&&!e&&iu(r,this._lView),Lp(this._lView[j],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=e;let r=Hl(this._lView),n=this._lView[jn];n!==null&&!r&&Vp(n,this._lView),Gl(this._lView)}},zn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=ow;let t=e;return t})(),rw=zn,iw=class extends rw{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=im(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Gn(i)}};function ow(){return gu(Te(),Q())}function gu(t,e){return t.type&4?new iw(e,t,Pr(t,e)):null}var hO=new RegExp(`^(\\d+)*(${PC}|${kC})*(.*)`);var sw=()=>null;function cc(t,e){return sw(t,e)}var Tr=class{},vu=new T("",{providedIn:"root",factory:()=>!1});var fm=new T(""),hm=new T(""),uc=class{},Cs=class{};function aw(t){let e=Error(`No component factory found for ${ke(t)}.`);return e[lw]=t,e}var lw="ngComponent";var dc=class{resolveComponentFactory(e){throw aw(e)}},Iu=class Iu{};Iu.NULL=new dc;var Ar=Iu,Nr=class{},ct=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>cw();let t=e;return t})();function cw(){let t=Q(),e=Te(),r=Dn(e.index,t);return(pn(r)?r:t)[ve]}var uw=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();function Ds(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&$p(t,r,o.join(" "))}}function vw(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=Cw;let t=e;return t})();function Cw(){let t=Te();return mm(t,Q())}var Dw=wn,pm=class extends Dw{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Pr(this._hostTNode,this._hostLView)}get injector(){return new Vn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Zc(this._hostTNode,this._hostLView);if(fp(e)){let r=ds(e,this._hostLView),n=us(e),i=r[j].data[n+8];return new Vn(i,r)}else return new Vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=oh(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-$e}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=cc(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,ac(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!My(e),a;if(s)a=r;else{let b=r||{};a=b.index,n=b.injector,i=b.projectableNodes,o=b.environmentInjector||b.ngModuleRef}let c=s?e:new Rr(gn(e)),f=n||this.parentInjector;if(!o&&c.ngModule==null){let U=(s?f:this.parentInjector).get(Pe,null);U&&(o=U)}let h=gn(c.componentType??{}),m=cc(this._lContainer,h?.id??null),v=m?.firstChild??null,y=c.create(f,i,v,o);return this.insertImpl(y.hostView,a,ac(this._hostTNode,m)),y}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(Fy(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=i[Ae],f=new pm(c,c[pt],c[Ae]);f.detach(f.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return om(s,i,o,n),e.attachToViewContainerRef(),xh(Nl(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=oh(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=gs(this._lContainer,r);n&&(is(Nl(this._lContainer),r),ou(n[j],n))}detach(e){let r=this._adjustIndex(e,-1),n=gs(this._lContainer,r);return n&&is(Nl(this._lContainer),r)!=null?new Gn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function oh(t){return t[ls]}function Nl(t){return t[ls]||(t[ls]=[])}function mm(t,e){let r,n=e[t.index];return qt(n)?r=n:(r=Jp(n,e,null,t),e[t.index]=r,zs(e,r)),bw(r,e,t,n),new pm(r,t,e)}function ww(t,e){let r=t[ve],n=r.createComment(""),i=at(e,t),o=Up(r,i);return vs(r,o,n,sD(r,i),!1),n}var bw=xw,Ew=()=>!1;function _w(t,e,r){return Ew(t,e,r)}function xw(t,e,r,n){if(t[Un])return;let i;r.type&8?i=Mt(n):i=ww(e,r),t[Un]=i}var hc=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},pc=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 f=o[a+1],h=e[-c];for(let m=$e;me.trim())}function kw(t,e,r){t.queries===null&&(t.queries=new gc),t.queries.track(new vc(e,r))}function Pw(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 yu(t,e){return t.queries.getByIndex(e)}function Fw(t,e){let r=t[j],n=yu(r,e);return n.crossesNgTemplate?yc(r,t,e,[]):gm(r,t,n,e)}var sh=new Set;function Qn(t){sh.has(t)||(sh.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Lw(t){return typeof t=="function"&&t[Pt]!==void 0}function Si(t,e){Qn("NgSignals");let r=rf(t),n=r[Pt];return e?.equal&&(n.equal=e.equal),r.set=i=>sl(n,i),r.update=i=>of(n,i),r.asReadonly=Vw.bind(r),r}function Vw(){let t=this[Pt];if(t.readonlyFn===void 0){let e=()=>this();e[Pt]=t,t.readonlyFn=e}return t.readonlyFn}function vm(t){return Lw(t)&&typeof t.set=="function"}function jw(t){return Object.getPrototypeOf(t.prototype).constructor}function Fe(t){let e=jw(t.type),r=!0,n=[t];for(;e;){let i;if(vn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new N(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=Wo(t.inputs),s.inputTransforms=Wo(t.inputTransforms),s.declaredInputs=Wo(t.declaredInputs),s.outputs=Wo(t.outputs);let a=i.hostBindings;a&&qw(t,a);let c=i.viewQuery,f=i.contentQueries;if(c&&$w(t,c),f&&Hw(t,f),Uw(t,i),Rv(t.outputs,i.outputs),vn(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=vi(i.hostAttrs,r=vi(r,i.hostAttrs))}}function Wo(t){return t===Er?{}:t===tt?[]:t}function $w(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function Hw(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function qw(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function Cu(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 Cn=class{},Di=class{};var Cc=class extends Cn{constructor(e,r,n,i=!0){super(),this.ngModuleType=e,this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ws(this);let o=kh(e);this._bootstrapComponents=Pp(o.bootstrap),this._r3Injector=wp(e,r,[{provide:Cn,useValue:this},{provide:Ar,useValue:this.componentFactoryResolver},...n],ke(e),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}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)}},Dc=class extends Di{constructor(e){super(),this.moduleType=e}create(e){return new Cc(this.moduleType,e,[])}};var bs=class extends Cn{constructor(e){super(),this.componentFactoryResolver=new ws(this),this.instance=null;let r=new yi([...e.providers,{provide:Cn,useValue:this},{provide:Ar,useValue:this.componentFactoryResolver}],e.parent||jc(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Ws(t,e,r=null){return new bs({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function ym(t){return zw(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Gw(t,e){if(Array.isArray(t))for(let r=0;r{let e=class e{constructor(){this.impl=null}execute(){this.impl?.execute()}};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})(),Ln=class Ln{constructor(){this.ngZone=D(oe),this.scheduler=D(Tr),this.errorHandler=D(Ut,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(let e of Ln.PHASES)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[e]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[e](r.pipelinedValue))}catch(n){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(n)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}};Ln.PHASES=[yr.EarlyRead,yr.Write,yr.MixedReadWrite,yr.Read],Ln.\u0275prov=_({token:Ln,providedIn:"root",factory:()=>new Ln});var wc=Ln,bc=class{constructor(e,r,n,i){this.impl=e,this.hooks=r,this.once=n,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function wu(t,e){!e?.injector&&Sy(wu);let r=e?.injector??D(ot);return WC(r)?(Qn("NgAfterNextRender"),eb(t,r,e,!0)):tb}function Xw(t,e){if(t instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[e]=t,r}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function eb(t,e,r,n){let i=e.get(Dm);i.impl??=e.get(wc);let o=r?.phase??yr.MixedReadWrite,s=r?.manualCleanup!==!0?e.get(Qc):null,a=new bc(i.impl,Xw(t,o),n,s);return i.impl.register(a),a}var tb={destroy(){}};function Ze(t,e,r,n){let i=Q(),o=_i();if($t(i,o,e)){let s=Ee(),a=Ls();FD(a,i,t,e,r,n)}return Ze}function wm(t,e,r,n){return $t(t,_i(),r)?e+wr(r)+n:lt}function nb(t,e,r,n,i,o){let s=Wy(),a=Cm(t,s,r,i);return rp(2),a?e+wr(r)+n+wr(i)+o:lt}function Zo(t,e){return t<<17|e<<2}function Wn(t){return t>>17&32767}function rb(t){return(t&2)==2}function ib(t,e){return t&131071|e<<17}function Ec(t){return t|2}function Or(t){return(t&131068)>>2}function Rl(t,e){return t&-131069|e<<2}function ob(t){return(t&1)===1}function _c(t){return t|1}function sb(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Wn(s),c=Or(s);t[n]=r;let f=!1,h;if(Array.isArray(r)){let m=r;h=m[1],(h===null||Ei(m,h)>0)&&(f=!0)}else h=r;if(i)if(c!==0){let v=Wn(t[a+1]);t[n+1]=Zo(v,a),v!==0&&(t[v+1]=Rl(t[v+1],n)),t[a+1]=ib(t[a+1],n)}else t[n+1]=Zo(a,0),a!==0&&(t[a+1]=Rl(t[a+1],n)),a=n;else t[n+1]=Zo(c,0),a===0?a=n:t[c+1]=Rl(t[c+1],n),c=n;f&&(t[n+1]=Ec(t[n+1])),ah(t,h,n,!0),ah(t,h,n,!1),ab(e,h,t,n,o),s=Zo(a,c),o?e.classBindings=s:e.styleBindings=s}function ab(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Ei(o,e)>=0&&(r[n+1]=_c(r[n+1]))}function ah(t,e,r,n){let i=t[r+1],o=e===null,s=n?Wn(i):Or(i),a=!1;for(;s!==0&&(a===!1||o);){let c=t[s],f=t[s+1];lb(c,e)&&(a=!0,t[s+1]=n?_c(f):Ec(f)),s=n?Wn(f):Or(f)}a&&(t[r+1]=n?Ec(i):_c(i))}function lb(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Ei(t,e)>=0:!1}function C(t,e,r){let n=Q(),i=_i();if($t(n,i,e)){let o=Ee(),s=Ls();du(o,s,n,t,e,n[ve],r,!1)}return C}function lh(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";hu(t,r,o[s],s,n)}function Zs(t,e){return cb(t,e,null,!0),Zs}function cb(t,e,r,n){let i=Q(),o=Ee(),s=rp(2);if(o.firstUpdatePass&&db(o,t,s,n),e!==lt&&$t(i,s,e)){let a=o.data[Yn()];gb(o,a,i,i[ve],t,i[s+1]=vb(e,r),n,s)}}function ub(t,e){return e>=t.expandoStartIndex}function db(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Yn()],s=ub(t,r);yb(o,n)&&e===null&&!s&&(e=!1),e=fb(i,o,e,n),sb(i,o,e,r,s,n)}}function fb(t,e,r,n){let i=Jy(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ol(null,t,e,r,n),r=wi(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=Ol(i,t,e,r,n),o===null){let c=hb(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Ol(null,t,e,c[1],n),c=wi(c,e.attrs,n),pb(t,e,n,c))}else o=mb(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function hb(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Or(n)!==0)return t[Wn(n)]}function pb(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Wn(i)]=n}function mb(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],f=Array.isArray(c),h=f?c[1]:c,m=h===null,v=r[i+1];v===lt&&(v=m?tt:void 0);let y=m?El(v,n):h===n?v:void 0;if(f&&!Es(y)&&(y=El(c,n)),Es(y)&&(a=y,s))return a;let b=t[i+1];i=s?Wn(b):Or(b)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=El(c,n))}return a}function Es(t){return t!==void 0}function vb(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ke(xi(t)))),t}function yb(t,e){return(t.flags&(e?8:16))!==0}function gt(t,e){Qn("NgControlFlow");let r=Q(),n=_i(),i=r[n]!==lt?r[n]:-1,o=i!==-1?uh(r,it+i):void 0,s=0;if($t(r,n,t)){let a=Y(null);try{if(o!==void 0&&qD(o,s),t!==-1){let c=it+t,f=uh(r,c),h=Cb(r[j],c),m=cc(f,h.tView.ssrId),v=im(r,h,e,{dehydratedView:m});om(f,v,s,ac(h,m))}}finally{Y(a)}}else if(o!==void 0){let a=HD(o,s);a!==void 0&&(a[rt]=e)}}function uh(t,e){return t[e]}function Cb(t,e){return Bc(t,e)}function Db(t,e,r,n,i,o){let s=e.consts,a=Mr(s,i),c=Ii(e,t,2,n,a);return fu(e,r,c,Mr(s,o)),c.attrs!==null&&Ds(c,c.attrs,!1),c.mergedAttrs!==null&&Ds(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function u(t,e,r,n){let i=Q(),o=Ee(),s=it+t,a=i[ve],c=o.firstCreatePass?Db(s,o,i,e,r,n):o.data[s],f=wb(o,i,c,a,e,t);i[s]=f;let h=ks(c);return Zn(c,!0),Hp(a,f,c),!Zw(c)&&Vs()&&Hs(o,i,f,c),jy()===0&&yn(f,i),Uy(),h&&(lu(o,i,c),au(o,c,i)),n!==null&&cu(i,c),u}function d(){let t=Te();Hc()?tp():(t=t.parent,Zn(t,!1));let e=t;Hy(e)&&qy(),By();let r=Ee();return r.firstCreatePass&&(Us(r,t),Uc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&oC(e)&&lh(r,e,Q(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&sC(e)&&lh(r,e,Q(),e.stylesWithoutHost,!1),d}function p(t,e,r,n){return u(t,e,r,n),d(),p}var wb=(t,e,r,n,i,o)=>(js(!0),Fp(n,i,tC()));function bb(t,e,r,n,i){let o=e.consts,s=Mr(o,n),a=Ii(e,t,8,"ng-container",s);s!==null&&Ds(a,s,!0);let c=Mr(o,i);return fu(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function Le(t,e,r){let n=Q(),i=Ee(),o=t+it,s=i.firstCreatePass?bb(o,i,n,e,r):i.data[o];Zn(s,!0);let a=Eb(i,n,s,t);return n[o]=a,Vs()&&Hs(i,n,a,s),yn(a,n),ks(s)&&(lu(i,n,s),au(i,s,n)),r!=null&&cu(n,s),Le}function Ve(){let t=Te(),e=Ee();return Hc()?tp():(t=t.parent,Zn(t,!1)),e.firstCreatePass&&(Us(e,t),Uc(t)&&e.queries.elementEnd(t)),Ve}var Eb=(t,e,r,n)=>(js(!0),KC(e[ve],""));function te(){return Q()}var _s="en-US";var _b=_s;function xb(t){typeof t=="string"&&(_b=t.toLowerCase().replace(/_/g,"-"))}var Ib=(t,e,r)=>{};function A(t,e,r,n){let i=Q(),o=Ee(),s=Te();return bm(o,i,i[ve],s,t,e,n),A}function Sb(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function bm(t,e,r,n,i,o,s){let a=ks(n),f=t.firstCreatePass&&tm(t),h=e[rt],m=em(e),v=!0;if(n.type&3||s){let U=at(n,e),O=s?s(U):U,R=m.length,ue=s?re=>s(Mt(re[n.index])):n.index,me=null;if(!s&&a&&(me=Sb(t,e,i,n.index)),me!==null){let re=me.__ngLastListenerFn__||me;re.__ngNextListenerFn__=o,me.__ngLastListenerFn__=o,v=!1}else{o=fh(n,e,h,o),Ib(U,i,o);let re=r.listen(O,i,o);m.push(o,re),f&&f.push(i,ue,R,R+1)}}else o=fh(n,e,h,o);let y=n.outputs,b;if(v&&y!==null&&(b=y[i])){let U=b.length;if(U)for(let O=0;O-1?Dn(t.index,e):e;mu(s,5);let a=dh(e,r,n,o),c=i.__ngNextListenerFn__;for(;c;)a=dh(e,r,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function w(t=1){return eC(t)}function At(t,e,r,n,i){let o=Q(),s=wm(o,e,r,n);if(s!==lt){let a=Ee(),c=Ls();du(a,c,o,t,s,o[ve],i,!1)}return At}function Em(t,e,r,n){Rw(t,e,r,n)}function _m(t){let e=Q(),r=Ee(),n=ip();Gc(n+1);let i=yu(r,n);if(t.dirty&&Py(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=Fw(e,n);t.reset(o,SC),t.notifyOnChanges()}return!0}return!1}function xm(){return Aw(Q(),ip())}function Lr(t){let e=zy();return ky(e,it+t)}function l(t,e=""){let r=Q(),n=Ee(),i=t+it,o=n.firstCreatePass?Ii(n,i,1,e,null):n.data[i],s=Mb(n,r,o,e,t);r[i]=s,Vs()&&Hs(n,r,s,o),Zn(o,!1)}var Mb=(t,e,r,n,i)=>(js(!0),YC(e[ve],n));function pe(t){return je("",t,""),pe}function je(t,e,r){let n=Q(),i=wm(n,t,e,r);return i!==lt&&rm(n,Yn(),i),je}function Mi(t,e,r,n,i){let o=Q(),s=nb(o,t,e,r,n,i);return s!==lt&&rm(o,Yn(),s),Mi}function B(t,e,r){vm(e)&&(e=e());let n=Q(),i=_i();if($t(n,i,e)){let o=Ee(),s=Ls();du(o,s,n,t,e,n[ve],r,!1)}return B}function z(t,e){let r=vm(t);return r&&t.set(e),r}function $(t,e){let r=Q(),n=Ee(),i=Te();return bm(n,r,r[ve],i,t,e),$}function Tb(t,e,r){let n=Ee();if(n.firstCreatePass){let i=vn(t);xc(r,n.data,n.blueprint,i,!0),xc(e,n.data,n.blueprint,i,!1)}}function xc(t,e,r,n,i){if(t=Oe(t),Array.isArray(t))for(let o=0;o>20;if(xr(t)||!t.multi){let y=new Hn(f,i,S),b=Pl(c,e,i?h:h+v,m);b===-1?(Yl(fs(a,s),o,c),kl(o,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(y),s.push(y)):(r[b]=y,s[b]=y)}else{let y=Pl(c,e,h+v,m),b=Pl(c,e,h,h+v),U=y>=0&&r[y],O=b>=0&&r[b];if(i&&!O||!i&&!U){Yl(fs(a,s),o,c);let R=Rb(i?Nb:Ab,r.length,i,n,f);!i&&O&&(r[b].providerFactory=R),kl(o,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(R),s.push(R)}else{let R=Im(r[i?b:y],f,!i&&n);kl(o,t,y>-1?y:b,R)}!i&&n&&O&&r[b].componentProviders++}}}function kl(t,e,r,n){let i=xr(e),o=Dy(e);if(i||o){let c=(o?Oe(e.useClass):e).prototype.ngOnDestroy;if(c){let f=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let h=f.indexOf(r);h===-1?f.push(r,[n,c]):f[h+1].push(n,c)}else f.push(r,c)}}}function Im(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Pl(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>Tb(n,i?i(t):t,e)}}var Ob=(()=>{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=Lh(!1,n.type),o=i.length>0?Ws([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(M(Pe))});let t=e;return t})();function ce(t){Qn("NgStandalone"),t.getStandaloneInjector=e=>e.get(Ob).getOrCreateStandaloneInjector(t)}function H(t,e,r){let n=qc()+t,i=Q();return i[n]===lt?Du(i,n,r?e.call(r):e()):Ww(i,n)}function Kn(t,e,r,n){return kb(Q(),qc(),t,e,r,n)}function Sm(t,e,r,n,i){return Pb(Q(),qc(),t,e,r,n,i)}function Mm(t,e){let r=t[e];return r===lt?void 0:r}function kb(t,e,r,n,i,o){let s=e+r;return $t(t,s,i)?Du(t,s+1,o?n.call(o,i):n(i)):Mm(t,s+1)}function Pb(t,e,r,n,i,o,s){let a=e+r;return Cm(t,a,i,o)?Du(t,a+2,s?n.call(s,i,o):n(i,o)):Mm(t,a+2)}var Ys=(()=>{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 bu=new T(""),Ti=new T(""),Qs=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Eu||(Fb(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:()=>{oe.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)(M(oe),M(Ks),M(Ti))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ks=(()=>{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 Eu?.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 Fb(t){Eu=t}var Eu;function Jn(t){return!!t&&typeof t.then=="function"}function Tm(t){return!!t&&typeof t.subscribe=="function"}var Js=new T(""),Am=(()=>{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=D(Js,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Jn(s))n.push(s);else if(Tm(s)){let a=new Promise((c,f)=>{s.subscribe({complete:c,error:f})});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})(),Xs=new T("");function Lb(){nf(()=>{throw new N(600,!1)})}function Vb(t){return t.isBoundToModule}var jb=10;function Ub(t,e,r){try{let n=r();return Jn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var Wt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=D(xC),this.afterRenderManager=D(Dm),this.zonelessEnabled=D(vu),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new we,this.afterTick=new we,this.componentTypes=[],this.components=[],this.isStable=D(zt).hasPendingTasks.pipe(L(n=>!n)),this._injector=D(Pe)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Cs;if(!this._injector.get(Am).done){let y=!o&&Oh(n),b=!1;throw new N(405,b)}let a;o?a=n:a=this._injector.get(Ar).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=Vb(a)?void 0:this._injector.get(Cn),f=i||a.selector,h=a.create(ot.NULL,[],f,c),m=h.location.nativeElement,v=h.injector.get(bu,null);return v?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),es(this.components,h),v?.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new N(101,!1);let n=Y(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,Y(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Nr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++Ps(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;es(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Xs,[]);[...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),()=>es(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new N(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 es(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Bb(t,e,r,n){if(!r&&!Ps(t))return;lm(t,e,r&&!n?0:1)}var Sc=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},ea=(()=>{let e=class e{compileModuleSync(n){return new Dc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=kh(n),s=Pp(o.declarations).reduce((a,c)=>{let f=gn(c);return f&&a.push(new Rr(f)),a},[]);return new Sc(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 $b=(()=>{let e=class e{constructor(){this.zone=D(oe),this.changeDetectionScheduler=D(Tr),this.applicationRef=D(Wt)}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 Hb({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t??=()=>new oe(K(E({},qb()),{scheduleInRootZone:r})),[{provide:oe,useFactory:t},{provide:_r,multi:!0,useFactory:()=>{let n=D($b,{optional:!0});return()=>n.initialize()}},{provide:_r,multi:!0,useFactory:()=>{let n=D(Gb);return()=>{n.initialize()}}},e===!0?{provide:fm,useValue:!0}:[],{provide:hm,useValue:r??bp}]}function qb(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Gb=(()=>{let e=class e{constructor(){this.subscription=new ye,this.initialized=!1,this.zone=D(oe),this.pendingTasks=D(zt)}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(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{oe.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 zb=(()=>{let e=class e{constructor(){this.appRef=D(Wt),this.taskService=D(zt),this.ngZone=D(oe),this.zonelessEnabled=D(vu),this.disableScheduling=D(fm,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ye,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ps):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(hm,{optional:!0})??!1),this.cancelScheduledCallback=null,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 ec||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Yf:Ep;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ps+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(n),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Yf(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(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 Wb(){return typeof $localize<"u"&&$localize.locale||_s}var _u=new T("",{providedIn:"root",factory:()=>D(_u,W.Optional|W.SkipSelf)||Wb()});var Mc=new T("");function Yo(t){return!t.moduleRef}function Zb(t){let e=Yo(t)?t.r3Injector:t.moduleRef.injector,r=e.get(oe);return r.run(()=>{Yo(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get(Ut,null),i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:o=>{n.handleError(o)}})}),Yo(t)){let o=()=>e.destroy(),s=t.platformInjector.get(Mc);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Mc);s.add(o),t.moduleRef.onDestroy(()=>{es(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return Ub(n,r,()=>{let o=e.get(Am);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(_u,_s);if(xb(s||_s),Yo(t)){let a=e.get(Wt);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return Yb(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function Yb(t,e){let r=t.injector.get(Wt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(r);else throw new N(-403,!1);e.push(t)}var ts=null;function Qb(t=[],e){return ot.create({name:e,providers:[{provide:Ns,useValue:"platform"},{provide:Mc,useValue:new Set([()=>ts=null])},...t]})}function Kb(t=[]){if(ts)return ts;let e=Qb(t);return ts=e,Lb(),Jb(e),e}function Jb(t){t.get(Xc,null)?.forEach(r=>r())}var bn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Xb;let t=e;return t})();function Xb(t){return eE(Te(),Q(),(t&16)===16)}function eE(t,e,r){if(Os(t)&&!r){let n=Dn(t.index,e);return new Gn(n,n)}else if(t.type&175){let n=e[St];return new Gn(n,e)}return null}var Tc=class{constructor(){}supports(e){return ym(e)}create(e){return new Ac(e)}},tE=(t,e)=>e,Ac=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||tE}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 Nc(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 xs),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 xs),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}},Nc=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}},Rc=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}},xs=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Rc,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 hh(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||ph()),deps:[[e,new kc,new Ts]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new N(901,!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:ph});let t=e;return t})();var Nm=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(M(Wt))},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})();function Rm(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=Kb(n),o=[Hb({}),{provide:Tr,useExisting:zb},...r||[]],s=new bs({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return Zb({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}}function Zt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Ai(t,e){Qn("NgSignals");let r=Xd(t);return e?.equal&&(r[Pt].equal=e.equal),r}function Yt(t){let e=Y(null);try{return t()}finally{Y(e)}}function Om(t){let e=gn(t);if(!e)return null;let r=new Rr(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 ee={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 jm=null;function Nt(){return jm}function Um(t){jm??=t}var ta=class{};var xe=new T(""),Ou=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(rE),providedIn:"platform"});let t=e;return t})(),Bm=new T(""),rE=(()=>{let e=class e extends Ou{constructor(){super(),this._doc=D(xe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Nt().getBaseHref(this._doc)}onPopState(n){let i=Nt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=Nt().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 ku(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 km(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 Qt(t){return t&&t[0]!=="?"?"?"+t:t}var Kt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Pu),providedIn:"root"});let t=e;return t})(),$m=new T(""),Pu=(()=>{let e=class e extends Kt{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??D(xe).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 ku(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Qt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(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)(M(Ou),M($m,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hm=(()=>{let e=class e extends Kt{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=ku(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Qt(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)(M(Ou),M($m,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),jr=(()=>{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=sE(km(Pm(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+Qt(i))}normalize(n){return e.stripTrailingSlash(oE(this._basePath,Pm(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+Qt(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(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=Qt,e.joinWithSlash=ku,e.stripTrailingSlash=km,e.\u0275fac=function(i){return new(i||e)(M(Kt))},e.\u0275prov=_({token:e,factory:()=>iE(),providedIn:"root"});let t=e;return t})();function iE(){return new jr(M(Kt))}function oE(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Pm(t){return t.replace(/\/index.html$/,"")}function sE(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function na(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 Su=/\s+/,Fm=[],Ur=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=Fm,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Su):Fm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Su):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(Su).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(_e),S(ct))},e.\u0275dir=ie({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Mu=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}},ra=(()=>{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 Mu(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 c=i.get(s);i.move(c,a),Lm(c,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Lm(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(S(wn),S(zn),S(xu))},e.\u0275dir=ie({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Lm(t,e){t.context.$implicit=e.item}var Br=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new Tu,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){Vm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Vm("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(wn),S(zn))},e.\u0275dir=ie({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Tu=class{constructor(){this.$implicit=null,this.ngIf=null}};function Vm(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ke(e)}'.`)}var qm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})(),Fu="browser",aE="server";function lE(t){return t===Fu}function ia(t){return t===aE}var Gm=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>lE(D(Tt))?new Au(D(xe),window):new Nu});let t=e;return t})(),Au=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=cE(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 cE(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 Nu=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Vr=class{};var Ri=class{},sa=class{},Jt=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 Vu=class{encodeKey(e){return Wm(e)}encodeValue(e){return Wm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function uE(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))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var dE=/%(\d[a-f0-9])/gi,fE={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Wm(t){return encodeURIComponent(t).replace(dE,(e,r)=>fE[r]??e)}function oa(t){return`${t}`}var _n=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Vu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=uE(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(oa):[oa(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(oa(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(oa(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 ju=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 hE(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Zm(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Ym(t){return typeof Blob<"u"&&t instanceof Blob}function Qm(t){return typeof FormData<"u"&&t instanceof FormData}function pE(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Ni=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(hE(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 Jt,this.context??=new ju,!this.params)this.params=new _n,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":av.set(y,e.setHeaders[y]),f)),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:f,context:m,reportProgress:c,responseType:i,withCredentials:a,transferCache:o})}},xn=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}(xn||{}),Oi=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Jt,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}},aa=class t extends Oi{constructor(e={}){super(e),this.type=xn.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})}},ki=class t extends Oi{constructor(e={}){super(e),this.type=xn.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})}},En=class extends Oi{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}},tg=200,mE=204;function Lu(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 Pi=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof Ni)s=n;else{let f;o.headers instanceof Jt?f=o.headers:f=new Jt(o.headers);let h;o.params&&(o.params instanceof _n?h=o.params:h=new _n({fromObject:o.params})),s=new Ni(n,i,o.body!==void 0?o.body:null,{headers:f,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=k(s).pipe(Lt(f=>this.handler.handle(f)));if(n instanceof Ni||o.observe==="events")return a;let c=a.pipe(Me(f=>f instanceof ki));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(L(f=>{if(f.body!==null&&!(f.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return f.body}));case"blob":return c.pipe(L(f=>{if(f.body!==null&&!(f.body instanceof Blob))throw new Error("Response is not a Blob.");return f.body}));case"text":return c.pipe(L(f=>{if(f.body!==null&&typeof f.body!="string")throw new Error("Response is not a string.");return f.body}));case"json":default:return c.pipe(L(f=>f.body))}case"response":return c;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 _n().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,Lu(o,i))}post(n,i,o={}){return this.request("POST",n,Lu(o,i))}put(n,i,o={}){return this.request("PUT",n,Lu(o,i))}};e.\u0275fac=function(i){return new(i||e)(M(Ri))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),gE=/^\)\]\}',?\n/,vE="X-Request-URL";function Km(t){if(t.url)return t.url;let e=vE.toLocaleLowerCase();return t.headers.get(e)}var yE=(()=>{let e=class e{constructor(){this.fetchImpl=D(Uu,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=D(oe)}handle(n){return new J(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(Bu,s=>i.error(new En({error:s}))),()=>o.abort()})}doRequest(n,i,o){return mo(this,null,function*(){let s=this.createRequestInit(n),a;try{let b=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,E({signal:i},s)));CE(b),o.next({type:xn.Sent}),a=yield b}catch(b){o.error(new En({error:b,status:b.status??0,statusText:b.statusText,url:n.urlWithParams,headers:b.headers}));return}let c=new Jt(a.headers),f=a.statusText,h=Km(a)??n.urlWithParams,m=a.status,v=null;if(n.reportProgress&&o.next(new aa({headers:c,status:m,statusText:f,url:h})),a.body){let b=a.headers.get("content-length"),U=[],O=a.body.getReader(),R=0,ue,me,re=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>mo(this,null,function*(){for(;;){let{done:ge,value:Xe}=yield O.read();if(ge)break;if(U.push(Xe),R+=Xe.length,n.reportProgress){me=n.responseType==="text"?(me??"")+(ue??=new TextDecoder).decode(Xe,{stream:!0}):void 0;let ir=()=>o.next({type:xn.DownloadProgress,total:b?+b:void 0,loaded:R,partialText:me});re?re.run(ir):ir()}}}));let Je=this.concatChunks(U,R);try{let ge=a.headers.get("Content-Type")??"";v=this.parseBody(n,Je,ge)}catch(ge){o.error(new En({error:ge,headers:new Jt(a.headers),status:a.status,statusText:a.statusText,url:Km(a)??n.urlWithParams}));return}}m===0&&(m=v?tg:0),m>=200&&m<300?(o.next(new ki({body:v,headers:c,status:m,statusText:f,url:h})),o.complete()):o.error(new En({error:v,headers:c,status:m,statusText:f,url:h}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(gE,"");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(",")),n.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!n.headers.has("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})(),Uu=class{};function Bu(){}function CE(t){t.then(Bu,Bu)}function ng(t,e){return e(t)}function DE(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function wE(t,e,r){return(n,i)=>st(r,()=>e(n,o=>t(o,i)))}var bE=new T(""),$u=new T(""),EE=new T(""),rg=new T("",{providedIn:"root",factory:()=>!0});function _E(){let t=null;return(e,r)=>{t===null&&(t=(D(bE,{optional:!0})??[]).reduceRight(DE,ng));let n=D(zt);if(D(rg)){let o=n.add();return t(e,r).pipe(dn(()=>n.remove(o)))}else return t(e,r)}}var Jm=(()=>{let e=class e extends Ri{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=D(zt),this.contributeToStability=D(rg)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get($u),...this.injector.get(EE,[])]));this.chain=i.reduceRight((o,s)=>wE(o,s,this.injector),ng)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(dn(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(M(sa),M(Pe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var xE=/^\)\]\}',?\n/;function IE(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Xm=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new N(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ae(i.\u0275loadImpl()):k(null)).pipe(Be(()=>new J(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((O,R)=>a.setRequestHeader(O,R.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let O=n.detectContentTypeHeader();O!==null&&a.setRequestHeader("Content-Type",O)}if(n.responseType){let O=n.responseType.toLowerCase();a.responseType=O!=="json"?O:"text"}let c=n.serializeBody(),f=null,h=()=>{if(f!==null)return f;let O=a.statusText||"OK",R=new Jt(a.getAllResponseHeaders()),ue=IE(a)||n.url;return f=new aa({headers:R,status:a.status,statusText:O,url:ue}),f},m=()=>{let{headers:O,status:R,statusText:ue,url:me}=h(),re=null;R!==mE&&(re=typeof a.response>"u"?a.responseText:a.response),R===0&&(R=re?tg:0);let Je=R>=200&&R<300;if(n.responseType==="json"&&typeof re=="string"){let ge=re;re=re.replace(xE,"");try{re=re!==""?JSON.parse(re):null}catch(Xe){re=ge,Je&&(Je=!1,re={error:Xe,text:re})}}Je?(s.next(new ki({body:re,headers:O,status:R,statusText:ue,url:me||void 0})),s.complete()):s.error(new En({error:re,headers:O,status:R,statusText:ue,url:me||void 0}))},v=O=>{let{url:R}=h(),ue=new En({error:O,status:a.status||0,statusText:a.statusText||"Unknown Error",url:R||void 0});s.error(ue)},y=!1,b=O=>{y||(s.next(h()),y=!0);let R={type:xn.DownloadProgress,loaded:O.loaded};O.lengthComputable&&(R.total=O.total),n.responseType==="text"&&a.responseText&&(R.partialText=a.responseText),s.next(R)},U=O=>{let R={type:xn.UploadProgress,loaded:O.loaded};O.lengthComputable&&(R.total=O.total),s.next(R)};return a.addEventListener("load",m),a.addEventListener("error",v),a.addEventListener("timeout",v),a.addEventListener("abort",v),n.reportProgress&&(a.addEventListener("progress",b),c!==null&&a.upload&&a.upload.addEventListener("progress",U)),a.send(c),s.next({type:xn.Sent}),()=>{a.removeEventListener("error",v),a.removeEventListener("abort",v),a.removeEventListener("load",m),a.removeEventListener("timeout",v),n.reportProgress&&(a.removeEventListener("progress",b),c!==null&&a.upload&&a.upload.removeEventListener("progress",U)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(M(Vr))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),ig=new T(""),SE="XSRF-TOKEN",ME=new T("",{providedIn:"root",factory:()=>SE}),TE="X-XSRF-TOKEN",AE=new T("",{providedIn:"root",factory:()=>TE}),la=class{},NE=(()=>{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=na(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(M(xe),M(Tt),M(ME))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function RE(t,e){let r=t.url.toLowerCase();if(!D(ig)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=D(la).getToken(),i=D(AE);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var og=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}(og||{});function OE(t,e){return{\u0275kind:t,\u0275providers:e}}function sg(...t){let e=[Pi,Xm,Jm,{provide:Ri,useExisting:Jm},{provide:sa,useFactory:()=>D(yE,{optional:!0})??D(Xm)},{provide:$u,useValue:RE,multi:!0},{provide:ig,useValue:!0},{provide:la,useClass:NE}];for(let r of t)e.push(...r.\u0275providers);return As(e)}var eg=new T("");function ag(){return OE(og.LegacyInterceptors,[{provide:eg,useFactory:_E},{provide:$u,useExisting:eg,multi:!0}])}var Gu=class extends ta{constructor(){super(...arguments),this.supportsDOMEvents=!0}},zu=class t extends Gu{static makeCurrent(){Um(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}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=kE();return r==null?null:PE(r)}resetBaseElement(){Fi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return na(document.cookie,e)}},Fi=null;function kE(){return Fi=Fi||document.querySelector("base"),Fi?Fi.getAttribute("href"):null}function PE(t){return new URL(t,document.baseURI).pathname}var Wu=class{addToWindow(e){_t.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new N(5103,!1);return o},_t.getAllAngularTestabilities=()=>e.getAllTestabilities(),_t.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=_t.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};_t.frameworkStabilizers||(_t.frameworkStabilizers=[]),_t.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?Nt().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},FE=(()=>{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})(),Zu=new T(""),fg=(()=>{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 N(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(M(Zu),M(oe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),ca=class{constructor(e){this._doc=e}},Hu="ng-app-id",hg=(()=>{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=ia(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[${Hu}="${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(Hu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Hu,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)(M(xe),M(Bs),M(eu,8),M(Tt))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),qu={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"},Qu=/%COMP%/g,pg="%COMP%",LE=`_nghost-${pg}`,VE=`_ngcontent-${pg}`,jE=!0,UE=new T("",{providedIn:"root",factory:()=>jE});function BE(t){return VE.replace(Qu,t)}function $E(t){return LE.replace(Qu,t)}function mg(t,e){return e.map(r=>r.replace(Qu,t))}var cg=(()=>{let e=class e{constructor(n,i,o,s,a,c,f,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=f,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=ia(c),this.defaultRenderer=new Li(n,a,f,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===xt.ShadowDom&&(i=K(E({},i),{encapsulation:xt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof ua?o.applyToHost(n):o instanceof Vi&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,f=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(i.encapsulation){case xt.Emulated:s=new ua(f,h,i,this.appId,m,a,c,v);break;case xt.ShadowDom:return new Yu(f,h,n,i,a,c,this.nonce,v);default:s=new Vi(f,h,i,m,a,c,v);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(M(fg),M(hg),M(Bs),M(UE),M(xe),M(Tt),M(oe),M(eu))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Li=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(qu[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(ug(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(ug(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){r.remove()}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new N(-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=qu[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=qu[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&(Bt.DashCase|Bt.Important)?e.style.setProperty(r,n,i&Bt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Bt.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=Nt().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 ug(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Yu=class extends Li{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let f=mg(i.id,i.styles);for(let h of f){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(null,r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Vi=class extends Li{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?mg(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ua=class extends Vi{constructor(e,r,n,i,o,s,a,c){let f=i+"-"+n.id;super(e,r,n,o,s,a,c,f),this.contentAttr=BE(f),this.hostAttr=$E(f)}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}},HE=(()=>{let e=class e extends ca{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)(M(xe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),dg=["alt","control","meta","shift"],qE={"\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"},GE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},zE=(()=>{let e=class e extends ca{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(()=>Nt().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="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),dg.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 f={};return f.domEventName=o,f.fullKey=a,f}static matchEventFullKeyCode(n,i){let o=qE[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"),dg.forEach(a=>{if(a!==o){let c=GE[a];c(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)(M(xe))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function gg(t,e){return Rm(E({rootComponent:t},WE(e)))}function WE(t){return{appProviders:[...vg,...t?.providers??[]],platformProviders:KE}}function ZE(){zu.makeCurrent()}function YE(){return new Ut}function QE(){return Ap(document),document}var KE=[{provide:Tt,useValue:Fu},{provide:Xc,useValue:ZE,multi:!0},{provide:xe,useFactory:QE,deps:[]}];var JE=new T(""),XE=[{provide:Ti,useClass:Wu,deps:[]},{provide:bu,useClass:Qs,deps:[oe,Ks,Ti]},{provide:Qs,useClass:Qs,deps:[oe,Ks,Ti]}],vg=[{provide:Ns,useValue:"root"},{provide:Ut,useFactory:YE,deps:[]},{provide:Zu,useClass:HE,multi:!0,deps:[xe,oe,Tt]},{provide:Zu,useClass:zE,multi:!0,deps:[xe]},cg,hg,fg,{provide:Nr,useExisting:cg},{provide:Vr,useClass:FE,deps:[]},[]],yg=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Bs,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(M(JE,12))},e.\u0275mod=We({type:e}),e.\u0275inj=ze({providers:[...vg,...XE],imports:[qm,Nm]});let t=e;return t})();var Cg=(()=>{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)(M(xe))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var q="primary",Ji=Symbol("RouteTitle"),td=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 Wr(t){return new td(t)}function t_(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 Ng(t){return t.length>0?t[t.length-1]:null}function Sn(t){return gl(t)?t:Jn(t)?ae(Promise.resolve(t)):k(t)}var r_={exact:Og,subset:kg},Rg={exact:i_,subset:o_,ignored:()=>!0};function Dg(t,e,r){return r_[r.paths](t.root,e.root,r.matrixParams)&&Rg[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function i_(t,e){return Rt(t,e)}function Og(t,e,r){if(!er(t.segments,e.segments)||!ha(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Og(t.children[n],e.children[n],r))return!1;return!0}function o_(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Ag(t[r],e[r]))}function kg(t,e,r){return Pg(t,e,e.segments,r)}function Pg(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!er(i,r)||e.hasChildren()||!ha(i,r,n))}else if(t.segments.length===r.length){if(!er(t.segments,r)||!ha(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!kg(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!er(t.segments,i)||!ha(t.segments,i,n)||!t.children[q]?!1:Pg(t.children[q],e,o,n)}}function ha(t,e,r){return e.every((n,i)=>Rg[r](t[i].parameters,n.parameters))}var en=class{constructor(e=new ne([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Wr(this.queryParams),this._queryParamMap}toString(){return l_.serialize(this)}},ne=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 pa(this)}},Xn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Wr(this.parameters),this._parameterMap}toString(){return Lg(this)}};function s_(t,e){return er(t,e)&&t.every((r,n)=>Rt(r.parameters,e[n].parameters))}function er(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function a_(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===q&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==q&&(r=r.concat(e(i,n)))}),r}var Xi=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new Zr,providedIn:"root"});let t=e;return t})(),Zr=class{parse(e){let r=new id(e);return new en(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${ji(e.root,!0)}`,n=d_(e.queryParams),i=typeof e.fragment=="string"?`#${c_(e.fragment)}`:"";return`${r}${n}${i}`}},l_=new Zr;function pa(t){return t.segments.map(e=>Lg(e)).join("/")}function ji(t,e){if(!t.hasChildren())return pa(t);if(e){let r=t.children[q]?ji(t.children[q],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==q&&n.push(`${i}:${ji(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=a_(t,(n,i)=>i===q?[ji(t.children[q],!1)]:[`${i}:${ji(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[q]!=null?`${pa(t)}/${r[0]}`:`${pa(t)}/(${r.join("//")})`}}function Fg(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function da(t){return Fg(t).replace(/%3B/gi,";")}function c_(t){return encodeURI(t)}function rd(t){return Fg(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ma(t){return decodeURIComponent(t)}function wg(t){return ma(t.replace(/\+/g,"%20"))}function Lg(t){return`${rd(t.path)}${u_(t.parameters)}`}function u_(t){return Object.entries(t).map(([e,r])=>`;${rd(e)}=${rd(r)}`).join("")}function d_(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${da(r)}=${da(i)}`).join("&"):`${da(r)}=${da(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var f_=/^[^\/()?;#]+/;function Ku(t){let e=t.match(f_);return e?e[0]:""}var h_=/^[^\/()?;=#]+/;function p_(t){let e=t.match(h_);return e?e[0]:""}var m_=/^[^=?&#]+/;function g_(t){let e=t.match(m_);return e?e[0]:""}var v_=/^[^&#]+/;function y_(t){let e=t.match(v_);return e?e[0]:""}var id=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],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[q]=new ne(e,r)),n}parseSegment(){let e=Ku(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new N(4009,!1);return this.capture(e),new Xn(ma(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=p_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Ku(this.remaining);i&&(n=i,this.capture(n))}e[ma(r)]=ma(n)}parseQueryParam(e){let r=g_(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=y_(this.remaining);s&&(n=s,this.capture(n))}let i=wg(r),o=wg(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=Ku(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new N(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=q);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[q]:new ne([],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 N(4011,!1)}};function Vg(t){return t.segments.length>0?new ne([],{[q]:t}):t}function jg(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=jg(i);if(n===q&&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 ne(t.segments,e);return C_(r)}function C_(t){if(t.numberOfChildren===1&&t.children[q]){let e=t.children[q];return new ne(t.segments.concat(e.segments),e.children)}return t}function tr(t){return t instanceof en}function D_(t,e,r=null,n=null){let i=Ug(t);return Bg(i,e,r,n)}function Ug(t){let e;function r(o){let s={};for(let c of o.children){let f=r(c);s[c.outlet]=f}let a=new ne(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=Vg(n);return e??i}function Bg(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Ju(i,i,i,r,n);let o=w_(e);if(o.toRoot())return Ju(i,i,new ne([],{}),r,n);let s=b_(o,i,t),a=s.processChildren?$i(s.segmentGroup,s.index,o.commands):Hg(s.segmentGroup,s.index,o.commands);return Ju(i,s.segmentGroup,a,r,n)}function ga(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Gi(t){return typeof t=="object"&&t!=null&&t.outlets}function Ju(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,f])=>{o[c]=Array.isArray(f)?f.map(h=>`${h}`):`${f}`});let s;t===e?s=r:s=$g(t,e,r);let a=Vg(jg(s));return new en(a,o,i)}function $g(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=$g(o,e,r)}),new ne(t.segments,n)}var va=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ga(n[0]))throw new N(4003,!1);let i=n.find(Gi);if(i&&i!==Ng(n))throw new N(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function w_(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new va(!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(([c,f])=>{a[c]=typeof f=="string"?f.split("/"):f}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new va(r,e,n)}var qr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function b_(t,e,r){if(t.isAbsolute)return new qr(e,!0,0);if(!r)return new qr(e,!1,NaN);if(r.parent===null)return new qr(r,!0,0);let n=ga(t.commands[0])?0:1,i=r.segments.length-1+n;return E_(r,i,t.numberOfDoubleDots)}function E_(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new N(4005,!1);i=n.segments.length}return new qr(n,!1,i-o)}function __(t){return Gi(t[0])?t[0].outlets:{[q]:t}}function Hg(t,e,r){if(t??=new ne([],{}),t.segments.length===0&&t.hasChildren())return $i(t,e,r);let n=x_(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==q)&&t.children[q]&&t.numberOfChildren===1&&t.children[q].segments.length===0){let o=$i(t.children[q],e,r);return new ne(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Hg(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new ne(t.segments,i)}}function x_(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(Gi(a))break;let c=`${a}`,f=n0&&c===void 0)break;if(c&&f&&typeof f=="object"&&f.outlets===void 0){if(!Eg(c,f,s))return o;n+=2}else{if(!Eg(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function od(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=od(new ne([],{}),0,n))}),e}function bg(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Eg(t,e,r){return t==r.path&&Rt(e,r.parameters)}var Hi="imperative",Ie=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}(Ie||{}),ut=class{constructor(e,r){this.id=e,this.url=r}},Yr=class extends ut{constructor(e,r,n="imperative",i=null){super(e,r),this.type=Ie.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ke=class extends ut{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=Ie.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Qe=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Qe||{}),ya=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ya||{}),Xt=class extends ut{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Ie.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},In=class extends ut{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=Ie.NavigationSkipped}},zi=class extends ut{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=Ie.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ca=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sd=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ad=class extends ut{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=Ie.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ld=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},cd=class extends ut{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=Ie.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ud=class{constructor(e){this.route=e,this.type=Ie.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},dd=class{constructor(e){this.route=e,this.type=Ie.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},fd=class{constructor(e){this.snapshot=e,this.type=Ie.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},hd=class{constructor(e){this.snapshot=e,this.type=Ie.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pd=class{constructor(e){this.snapshot=e,this.type=Ie.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},md=class{constructor(e){this.snapshot=e,this.type=Ie.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Da=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=Ie.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Wi=class{},Qr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function S_(t,e){return t.providers&&!t._injector&&(t._injector=Ws(t.providers,e,`Route: ${t.path}`)),t._injector??e}function yt(t){return t.outlet||q}function M_(t,e){let r=t.filter(n=>yt(n)===e);return r.push(...t.filter(n=>yt(n)!==e)),r}function eo(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 gd=class{get injector(){return eo(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new to(this.rootInjector),this.attachRef=null}},to=(()=>{let e=class e{constructor(n){this.rootInjector=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 gd(this.rootInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(M(Pe))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),wa=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=vd(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=vd(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=yd(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return yd(e,this._root).map(r=>r.value)}};function vd(t,e){if(t===e.value)return e;for(let r of e.children){let n=vd(t,r);if(n)return n}return null}function yd(t,e){if(t===e.value)return[e];for(let r of e.children){let n=yd(t,r);if(n.length)return n.unshift(e),n}return[]}var Ye=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Hr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ba=class extends wa{constructor(e,r){super(e),this.snapshot=r,Sd(this,e)}toString(){return this.snapshot.toString()}};function qg(t){let e=T_(t),r=new Se([new Xn("",{})]),n=new Se({}),i=new Se({}),o=new Se({}),s=new Se(""),a=new tn(r,n,o,s,i,q,t,e.root);return a.snapshot=e.root,new ba(new Ye(a,[]),e)}function T_(t){let e={},r={},n={},i="",o=new Gr([],e,n,i,r,q,t,null,{});return new _a("",new Ye(o,[]))}var tn=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(L(f=>f[Ji]))??k(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(L(e=>Wr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(L(e=>Wr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ea(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:E(E({},e.params),t.params),data:E(E({},e.data),t.data),resolve:E(E(E(E({},t.data),e.data),i?.data),t._resolvedData)}:n={params:E({},t.params),data:E({},t.data),resolve:E(E({},t.data),t._resolvedData??{})},i&&zg(i)&&(n.resolve[Ji]=i.title),n}var Gr=class{get title(){return this.data?.[Ji]}constructor(e,r,n,i,o,s,a,c,f){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=f}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??=Wr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Wr(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}')`}},_a=class extends wa{constructor(e,r){super(r),this.url=e,Sd(this,r)}toString(){return Gg(this._root)}};function Sd(t,e){e.value._routerState=t,e.children.forEach(r=>Sd(t,r))}function Gg(t){let e=t.children.length>0?` { ${t.children.map(Gg).join(", ")} } `:"";return`${t.value}${e}`}function Xu(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Rt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Rt(e.params,r.params)||t.paramsSubject.next(r.params),n_(e.url,r.url)||t.urlSubject.next(r.url),Rt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Cd(t,e){let r=Rt(t.params,e.params)&&s_(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Cd(t.parent,e.parent))}function zg(t){return typeof t.title=="string"||t.title===null}var Md=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=q,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=D(to),this.location=D(wn),this.changeDetector=D(bn),this.inputBinder=D(Ta,{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 N(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new N(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new N(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 N(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,f=new Dd(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:f,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=ie({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Gt]});let t=e;return t})(),Dd=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===tn?this.route:e===to?this.childContexts:this.parent.get(e,r)}},Ta=new T(""),_g=(()=>{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=hi([i.queryParams,i.params,i.data]).pipe(Be(([s,a,c],f)=>(c=E(E(E({},s),a),c),f===0?k(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Om(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});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 A_(t,e,r){let n=Zi(t,e._root,r?r._root:void 0);return new ba(n,e)}function Zi(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=N_(t,e,r);return new Ye(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=>Zi(t,a)),s}}let n=R_(e.value),i=e.children.map(o=>Zi(t,o));return new Ye(n,i)}}function N_(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Zi(t,n,i);return Zi(t,n)})}function R_(t){return new tn(new Se(t.url),new Se(t.params),new Se(t.queryParams),new Se(t.fragment),new Se(t.data),t.outlet,t.component,t)}var Yi=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},Wg="ngNavigationCancelingError";function xa(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=tr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Zg(!1,Qe.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function Zg(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[Wg]=!0,r.cancellationCode=e,r}function O_(t){return Yg(t)&&tr(t.url)}function Yg(t){return!!t&&t[Wg]}var k_=(t,e,r,n)=>L(i=>(new wd(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),wd=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),Xu(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Hr(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=Hr(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=Hr(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=Hr(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new md(o.value.snapshot))}),e.children.length&&this.forwardEvent(new hd(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Xu(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),Xu(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,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]}},zr=class{constructor(e,r){this.component=e,this.route=r}};function P_(t,e,r){let n=t._root,i=e?e._root:null;return Ui(n,i,r,[n.value])}function F_(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"&&!yh(t)?t:e.get(t):n}function Ui(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Hr(e);return t.children.forEach(s=>{L_(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>qi(a,r.getContext(s),i)),i}function L_(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 c=V_(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Ia(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ui(t,e,a?a.children:null,n,i):Ui(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new zr(a.outlet.component,s))}else s&&qi(e,a,i),i.canActivateChecks.push(new Ia(n)),o.component?Ui(t,null,a?a.children:null,n,i):Ui(t,null,r,n,i);return i}function V_(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!er(t.url,e.url);case"pathParamsOrQueryParamsChange":return!er(t.url,e.url)||!Rt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cd(t,e)||!Rt(t.queryParams,e.queryParams);case"paramsChange":default:return!Cd(t,e)}}function qi(t,e,r){let n=Hr(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?qi(s,e.children.getContext(o),r):qi(s,null,r):qi(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new zr(e.outlet.component,i)):r.canDeactivateChecks.push(new zr(null,i)):r.canDeactivateChecks.push(new zr(null,i))}function no(t){return typeof t=="function"}function j_(t){return typeof t=="boolean"}function U_(t){return t&&no(t.canLoad)}function B_(t){return t&&no(t.canActivate)}function $_(t){return t&&no(t.canActivateChild)}function H_(t){return t&&no(t.canDeactivate)}function q_(t){return t&&no(t.canMatch)}function Qg(t){return t instanceof Ft||t?.name==="EmptyError"}var fa=Symbol("INITIAL_VALUE");function Kr(){return Be(t=>hi(t.map(e=>e.pipe(Vt(1),wl(fa)))).pipe(L(e=>{for(let r of e)if(r!==!0){if(r===fa)return fa;if(r===!1||G_(r))return r}return!0}),Me(e=>e!==fa),Vt(1)))}function G_(t){return tr(t)||t instanceof Yi}function z_(t,e){return fe(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?k(K(E({},r),{guardsResult:!0})):W_(s,n,i,t).pipe(fe(a=>a&&j_(a)?Z_(n,o,t,e):k(a)),L(a=>K(E({},r),{guardsResult:a})))})}function W_(t,e,r,n){return ae(t).pipe(fe(i=>X_(i.component,i.route,r,e,n)),wt(i=>i!==!0,!0))}function Z_(t,e,r,n){return ae(e).pipe(Lt(i=>hr(Q_(i.route.parent,n),Y_(i.route,n),J_(t,i.path,r),K_(t,i.route,r))),wt(i=>i!==!0,!0))}function Y_(t,e){return t!==null&&e&&e(new pd(t)),k(!0)}function Q_(t,e){return t!==null&&e&&e(new fd(t)),k(!0)}function K_(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return k(!0);let i=n.map(o=>Ho(()=>{let s=eo(e)??r,a=Jr(o,s),c=B_(a)?a.canActivate(e,t):st(s,()=>a(e,t));return Sn(c).pipe(wt())}));return k(i).pipe(Kr())}function J_(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>F_(s)).filter(s=>s!==null).map(s=>Ho(()=>{let a=s.guards.map(c=>{let f=eo(s.node)??r,h=Jr(c,f),m=$_(h)?h.canActivateChild(n,t):st(f,()=>h(n,t));return Sn(m).pipe(wt())});return k(a).pipe(Kr())}));return k(o).pipe(Kr())}function X_(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return k(!0);let s=o.map(a=>{let c=eo(e)??i,f=Jr(a,c),h=H_(f)?f.canDeactivate(t,e,r,n):st(c,()=>f(t,e,r,n));return Sn(h).pipe(wt())});return k(s).pipe(Kr())}function ex(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return k(!0);let o=i.map(s=>{let a=Jr(s,t),c=U_(a)?a.canLoad(e,r):st(t,()=>a(e,r));return Sn(c)});return k(o).pipe(Kr(),Kg(n))}function Kg(t){return fl(be(e=>{if(typeof e!="boolean")throw xa(t,e)}),L(e=>e===!0))}function tx(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return k(!0);let o=i.map(s=>{let a=Jr(s,t),c=q_(a)?a.canMatch(e,r):st(t,()=>a(e,r));return Sn(c)});return k(o).pipe(Kr(),Kg(n))}var Qi=class{constructor(e){this.segmentGroup=e||null}},Ki=class extends Error{constructor(e){super(),this.urlTree=e}};function $r(t){return fr(new Qi(t))}function nx(t){return fr(new N(4e3,!1))}function rx(t){return fr(Zg(!1,Qe.GuardRejected))}var bd=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 k(n);if(i.numberOfChildren>1||!i.children[q])return nx(`${e.redirectTo}`);i=i.children[q]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:c,fragment:f,routeConfig:h,url:m,outlet:v,params:y,data:b,title:U}=i,O=st(o,()=>a({params:y,data:b,queryParams:c,fragment:f,routeConfig:h,url:m,outlet:v,title:U}));if(O instanceof en)throw new Ki(O);r=O}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Ki(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new en(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,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new ne(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 N(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}},Ed={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ix(t,e,r,n,i){let o=Jg(t,e,r);return o.matched?(n=S_(e,n),tx(n,e,r,i).pipe(L(s=>s===!0?o:E({},Ed)))):k(o)}function Jg(t,e,r){if(e.path==="**")return ox(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?E({},Ed):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||t_)(r,t,e);if(!i)return E({},Ed);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?E(E({},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 ox(t){return{matched:!0,parameters:t.length>0?Ng(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function xg(t,e,r,n){return r.length>0&&lx(t,r,n)?{segmentGroup:new ne(e,ax(n,new ne(r,t.children))),slicedSegments:[]}:r.length===0&&cx(t,r,n)?{segmentGroup:new ne(t.segments,sx(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new ne(t.segments,t.children),slicedSegments:r}}function sx(t,e,r,n){let i={};for(let o of r)if(Aa(t,e,o)&&!n[yt(o)]){let s=new ne([],{});i[yt(o)]=s}return E(E({},n),i)}function ax(t,e){let r={};r[q]=e;for(let n of t)if(n.path===""&&yt(n)!==q){let i=new ne([],{});r[yt(n)]=i}return r}function lx(t,e,r){return r.some(n=>Aa(t,e,n)&&yt(n)!==q)}function cx(t,e,r){return r.some(n=>Aa(t,e,n))}function Aa(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function ux(t,e,r){return e.length===0&&!t.children[r]}var _d=class{};function dx(t,e,r,n,i,o,s="emptyOnly"){return new xd(t,e,r,n,i,s,o).recognize()}var fx=31,xd=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 bd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new N(4002,`'${e.segmentGroup}'`)}recognize(){let e=xg(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(L(({children:r,rootSnapshot:n})=>{let i=new Ye(n,r),o=new _a("",i),s=D_(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 Gr([],Object.freeze({}),Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),q,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,q,r).pipe(L(n=>({children:n,rootSnapshot:r})),cn(n=>{if(n instanceof Ki)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Qi?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(L(s=>s instanceof Ye?[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 ae(o).pipe(Lt(s=>{let a=n.children[s],c=M_(r,s);return this.processSegmentGroup(e,c,a,s,i)}),Dl((s,a)=>(s.push(...a),s)),un(null),Cl(),fe(s=>{if(s===null)return $r(n);let a=Xg(s);return hx(a),k(a)}))}processSegment(e,r,n,i,o,s,a){return ae(r).pipe(Lt(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,i,o,s,a).pipe(cn(f=>{if(f instanceof Qi)return k(null);throw f}))),wt(c=>!!c),cn(c=>{if(Qg(c))return ux(n,i,o)?k(new _d):$r(n);throw c}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,c){return yt(n)!==s&&(s===q||!Aa(i,o,n))?$r(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,c):$r(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:c,parameters:f,consumedSegments:h,positionalParamSegments:m,remainingSegments:v}=Jg(r,i,o);if(!c)return $r(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>fx&&(this.allowRedirects=!1));let y=new Gr(o,f,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Ig(i),yt(i),i.component??i._loadedComponent??null,i,Sg(i)),b=Ea(y,a,this.paramsInheritanceStrategy);y.params=Object.freeze(b.params),y.data=Object.freeze(b.data);let U=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,m,y,e);return this.applyRedirects.lineralizeSegments(i,U).pipe(fe(O=>this.processSegment(e,n,r,O.concat(v),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=ix(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Be(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Be(({routes:f})=>{let h=n._loadedInjector??e,{parameters:m,consumedSegments:v,remainingSegments:y}=c,b=new Gr(v,m,Object.freeze(E({},this.urlTree.queryParams)),this.urlTree.fragment,Ig(n),yt(n),n.component??n._loadedComponent??null,n,Sg(n)),U=Ea(b,s,this.paramsInheritanceStrategy);b.params=Object.freeze(U.params),b.data=Object.freeze(U.data);let{segmentGroup:O,slicedSegments:R}=xg(r,v,y,f);if(R.length===0&&O.hasChildren())return this.processChildren(h,f,O,b).pipe(L(me=>new Ye(b,me)));if(f.length===0&&R.length===0)return k(new Ye(b,[]));let ue=yt(n)===o;return this.processSegment(h,f,O,R,ue?q:o,!0,b).pipe(L(me=>new Ye(b,me instanceof Ye?[me]:[])))}))):$r(r)))}getChildConfig(e,r,n){return r.children?k({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?k({routes:r._loadedRoutes,injector:r._loadedInjector}):ex(e,r,n,this.urlSerializer).pipe(fe(i=>i?this.configLoader.loadChildren(e,r).pipe(be(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):rx(r))):k({routes:[],injector:e})}};function hx(t){t.sort((e,r)=>e.value.outlet===q?-1:r.value.outlet===q?1:e.value.outlet.localeCompare(r.value.outlet))}function px(t){let e=t.value.routeConfig;return e&&e.path===""}function Xg(t){let e=[],r=new Set;for(let n of t){if(!px(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=Xg(n.children);e.push(new Ye(n.value,i))}return e.filter(n=>!r.has(n))}function Ig(t){return t.data||{}}function Sg(t){return t.resolve||{}}function mx(t,e,r,n,i,o){return fe(s=>dx(t,e,r,n,s.extractedUrl,i,o).pipe(L(({state:a,tree:c})=>K(E({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function gx(t,e){return fe(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return k(r);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let f of e0(c))s.add(f);let a=0;return ae(s).pipe(Lt(c=>o.has(c)?vx(c,n,t,e):(c.data=Ea(c,c.parent,t).resolve,k(void 0))),be(()=>a++),pr(1),fe(c=>a===s.size?k(r):qe))})}function e0(t){let e=t.children.map(r=>e0(r)).flat();return[t,...e]}function vx(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!zg(i)&&(o[Ji]=i.title),yx(o,t,e,n).pipe(L(s=>(t._resolvedData=s,t.data=Ea(t,t.parent,r).resolve,null)))}function yx(t,e,r,n){let i=nd(t);if(i.length===0)return k({});let o={};return ae(i).pipe(fe(s=>Cx(t[s],e,r,n).pipe(wt(),be(a=>{if(a instanceof Yi)throw xa(new Zr,a);o[s]=a}))),pr(1),yl(o),cn(s=>Qg(s)?qe:fr(s)))}function Cx(t,e,r,n){let i=eo(e)??n,o=Jr(t,i),s=o.resolve?o.resolve(e,r):st(i,()=>o(e,r));return Sn(s)}function ed(t){return Be(e=>{let r=t(e);return r?ae(r).pipe(L(()=>e)):k(e)})}var t0=(()=>{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===q);return i}getResolvedTitleForRoute(n){return n.data[Ji]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Dx),providedIn:"root"});let t=e;return t})(),Dx=(()=>{let e=class e extends t0{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)(M(Cg))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ro=new T("",{providedIn:"root",factory:()=>({})}),wx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["ng-component"]],standalone:!0,features:[ce],decls:1,vars:0,template:function(i,o){i&1&&p(0,"router-outlet")},dependencies:[Md],encapsulation:2});let t=e;return t})();function Td(t){let e=t.children&&t.children.map(Td),r=e?K(E({},t),{children:e}):E({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==q&&(r.component=wx),r}var Sa=new T(""),Ad=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=D(ea)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Sn(n.loadComponent()).pipe(L(n0),be(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),dn(()=>{this.componentLoaders.delete(n)})),o=new dr(i,()=>new we).pipe(ur());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return k({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=bx(i,this.compiler,n,this.onLoadEndListener).pipe(dn(()=>{this.childrenLoaders.delete(i)})),a=new dr(s,()=>new we).pipe(ur());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 bx(t,e,r,n){return Sn(t.loadChildren()).pipe(L(n0),fe(i=>i instanceof Di||Array.isArray(i)?k(i):ae(e.compileModuleAsync(i))),L(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(Sa,[],{optional:!0,self:!0}).flat()),{routes:s.map(Td),injector:o}}))}function Ex(t){return t&&typeof t=="object"&&"default"in t}function n0(t){return Ex(t)?t.default:t}var Nd=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(_x),providedIn:"root"});let t=e;return t})(),_x=(()=>{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})(),r0=new T(""),i0=new T("");function xx(t,e,r){let n=t.get(i0),i=t.get(xe);return t.get(oe).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(f=>setTimeout(f));let o,s=new Promise(f=>{o=f}),a=i.startViewTransition(()=>(o(),Ix(t))),{onViewTransitionCreated:c}=n;return c&&st(t,()=>c({transition:a,from:e,to:r})),s})}function Ix(t){return new Promise(e=>{wu({read:()=>setTimeout(e)},{injector:t})})}var Sx=new T(""),Rd=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new we,this.transitionAbortSubject=new we,this.configLoader=D(Ad),this.environmentInjector=D(Pe),this.urlSerializer=D(Xi),this.rootContexts=D(to),this.location=D(jr),this.inputBindingEnabled=D(Ta,{optional:!0})!==null,this.titleStrategy=D(t0),this.options=D(ro,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=D(Nd),this.createViewTransition=D(r0,{optional:!0}),this.navigationErrorHandler=D(Sx,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>k(void 0),this.rootComponentType=null;let n=o=>this.events.next(new ud(o)),i=o=>this.events.next(new dd(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(K(E(E({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Se({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:Hi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Me(s=>s.id!==0),L(s=>K(E({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Be(s=>{let a=!1,c=!1;return k(s).pipe(Be(f=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Qe.SupersededByNewNavigation),qe;this.currentTransition=s,this.currentNavigation={id:f.id,initialUrl:f.rawUrl,extractedUrl:f.extractedUrl,targetBrowserUrl:typeof f.extras.browserUrl=="string"?this.urlSerializer.parse(f.extras.browserUrl):f.extras.browserUrl,trigger:f.source,extras:f.extras,previousNavigation:this.lastSuccessfulNavigation?K(E({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=f.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!h&&m!=="reload"){let v="";return this.events.next(new In(f.id,this.urlSerializer.serialize(f.rawUrl),v,ya.IgnoredSameUrlNavigation)),f.resolve(!1),qe}if(this.urlHandlingStrategy.shouldProcessUrl(f.rawUrl))return k(f).pipe(Be(v=>{let y=this.transitions?.getValue();return this.events.next(new Yr(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),y!==this.transitions?.getValue()?qe:Promise.resolve(v)}),mx(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),be(v=>{s.targetSnapshot=v.targetSnapshot,s.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation=K(E({},this.currentNavigation),{finalUrl:v.urlAfterRedirects});let y=new Ca(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(y)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(f.currentRawUrl)){let{id:v,extractedUrl:y,source:b,restoredState:U,extras:O}=f,R=new Yr(v,this.urlSerializer.serialize(y),b,U);this.events.next(R);let ue=qg(this.rootComponentType).snapshot;return this.currentTransition=s=K(E({},f),{targetSnapshot:ue,urlAfterRedirects:y,extras:K(E({},O),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,k(s)}else{let v="";return this.events.next(new In(f.id,this.urlSerializer.serialize(f.extractedUrl),v,ya.IgnoredByUrlHandlingStrategy)),f.resolve(!1),qe}}),be(f=>{let h=new sd(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}),L(f=>(this.currentTransition=s=K(E({},f),{guards:P_(f.targetSnapshot,f.currentSnapshot,this.rootContexts)}),s)),z_(this.environmentInjector,f=>this.events.next(f)),be(f=>{if(s.guardsResult=f.guardsResult,f.guardsResult&&typeof f.guardsResult!="boolean")throw xa(this.urlSerializer,f.guardsResult);let h=new ad(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);this.events.next(h)}),Me(f=>f.guardsResult?!0:(this.cancelNavigationTransition(f,"",Qe.GuardRejected),!1)),ed(f=>{if(f.guards.canActivateChecks.length)return k(f).pipe(be(h=>{let m=new ld(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),Be(h=>{let m=!1;return k(h).pipe(gx(this.paramsInheritanceStrategy,this.environmentInjector),be({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",Qe.NoDataFromResolver)}}))}),be(h=>{let m=new cd(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),ed(f=>{let h=m=>{let v=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(m.routeConfig).pipe(be(y=>{m.component=y}),L(()=>{})));for(let y of m.children)v.push(...h(y));return v};return hi(h(f.targetSnapshot.root)).pipe(un(null),Vt(1))}),ed(()=>this.afterPreactivation()),Be(()=>{let{currentSnapshot:f,targetSnapshot:h}=s,m=this.createViewTransition?.(this.environmentInjector,f.root,h.root);return m?ae(m).pipe(L(()=>s)):k(s)}),L(f=>{let h=A_(n.routeReuseStrategy,f.targetSnapshot,f.currentRouterState);return this.currentTransition=s=K(E({},f),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,s}),be(()=>{this.events.next(new Wi)}),k_(this.rootContexts,n.routeReuseStrategy,f=>this.events.next(f),this.inputBindingEnabled),Vt(1),be({next:f=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ke(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects))),this.titleStrategy?.updateTitle(f.targetRouterState.snapshot),f.resolve(!0)},complete:()=>{a=!0}}),bl(this.transitionAbortSubject.pipe(be(f=>{throw f}))),dn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Qe.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),cn(f=>{if(c=!0,Yg(f))this.events.next(new Xt(s.id,this.urlSerializer.serialize(s.extractedUrl),f.message,f.cancellationCode)),O_(f)?this.events.next(new Qr(f.url,f.navigationBehaviorOptions)):s.resolve(!1);else{let h=new zi(s.id,this.urlSerializer.serialize(s.extractedUrl),f,s.targetSnapshot??void 0);try{let m=st(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof Yi){let{message:v,cancellationCode:y}=xa(this.urlSerializer,m);this.events.next(new Xt(s.id,this.urlSerializer.serialize(s.extractedUrl),v,y)),this.events.next(new Qr(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(h);let v=n.errorHandler(f);s.resolve(!!v)}}catch(m){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(m)}}return qe}))}))}cancelNavigationTransition(n,i,o){let s=new Xt(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(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==i?.toString()&&!this.currentNavigation?.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 Mx(t){return t!==Hi}var Tx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Ax),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}},Ax=(()=>{let e=class e extends Id{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),o0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>D(Nx),providedIn:"root"});let t=e;return t})(),Nx=(()=>{let e=class e extends o0{constructor(){super(...arguments),this.location=D(jr),this.urlSerializer=D(Xi),this.options=D(ro,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=D(Nd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new en,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=qg(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 Yr)this.stateMemento=this.createStateMemento();else if(n instanceof In)this.rawUrlTree=i.initialUrl;else if(n instanceof Ca){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else n instanceof Wi?(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(i.targetBrowserUrl??this.rawUrlTree,i)):n instanceof Xt&&(n.code===Qe.GuardRejected||n.code===Qe.NoDataFromResolver)?this.restoreHistory(i):n instanceof zi?this.restoreHistory(i,!0):n instanceof Ke&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=n instanceof en?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=E(E({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=E(E({},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=mt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Bi=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Bi||{});function s0(t,e){t.events.pipe(Me(r=>r instanceof Ke||r instanceof Xt||r instanceof zi||r instanceof In),L(r=>r instanceof Ke||r instanceof In?Bi.COMPLETE:(r instanceof Xt?r.code===Qe.Redirect||r.code===Qe.SupersededByNewNavigation:!1)?Bi.REDIRECTING:Bi.FAILED),Me(r=>r!==Bi.REDIRECTING),Vt(1)).subscribe(()=>{e()})}function Rx(t){throw t}var Ox={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},kx={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ct=(()=>{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=D(Ys),this.stateManager=D(o0),this.options=D(ro,{optional:!0})||{},this.pendingTasks=D(zt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=D(Rd),this.urlSerializer=D(Xi),this.location=D(jr),this.urlHandlingStrategy=D(Nd),this._events=new we,this.errorHandler=this.options.errorHandler||Rx,this.navigated=!1,this.routeReuseStrategy=D(Tx),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=D(Sa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!D(Ta,{optional:!0}),this.eventsSubscription=new ye,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 Xt&&i.code!==Qe.Redirect&&i.code!==Qe.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ke)this.navigated=!0;else if(i instanceof Qr){let a=i.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),f=E({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Mx(o.source)},a);this.scheduleNavigation(c,Hi,null,f,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Fx(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),Hi,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 f=E({},o);delete f.navigationId,delete f.\u0275routerPageId,Object.keys(f).length!==0&&(s.state=f)}let c=this.parseUrl(n);this.scheduleNavigation(c,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(Td),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:c,preserveFragment:f}=i,h=f?this.currentUrlTree.fragment:a,m=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":m=E(E({},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=Ug(y)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),v=this.currentUrlTree.root}return Bg(v,n,m,h??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=tr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Hi,null,i)}navigate(n,i={skipLocationChange:!1}){return Px(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=E({},Ox):i===!1?o=E({},kx):o=i,tr(n))return Dg(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Dg(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 c,f,h;a?(c=a.resolve,f=a.reject,h=a.promise):h=new Promise((v,y)=>{c=v,f=y});let m=this.pendingTasks.add();return s0(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:f,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 Px(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new we,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let f=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=f==="a"||f==="area",this.isAnchorElement?this.subscription=n.events.subscribe(h=>{h instanceof Ke&&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.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(tr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,i,o,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let f={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,f),!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:Op(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.routerLinkInput===null?null:tr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{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(Ct),S(tn),Yc("tabindex"),S(ct),S(_e),S(Kt))},e.\u0275dir=ie({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&&Ze("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Zt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Zt],replaceUrl:[2,"replaceUrl","replaceUrl",Zt],routerLink:"routerLink"},standalone:!0,features:[Cu,Gt]});let t=e;return t})(),a0=(()=>{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(c=>{c instanceof Ke&&this.update()})}ngAfterContentInit(){k(this.links.changes,k(null)).pipe(ln()).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=ae(n).pipe(ln()).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=Lx(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(Ct),S(_e),S(ct),S(bn),S(Ne,8))},e.\u0275dir=ie({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&Em(s,Ne,5),i&2){let a;_m(a=xm())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Gt]});let t=e;return t})();function Lx(t){return!!t.paths}var Ma=class{};var Vx=(()=>{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(Me(n=>n instanceof Ke),Lt(()=>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=Ws(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=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(c,s.children??s._loadedRoutes))}return ae(o).pipe(ln())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=k(null);let s=o.pipe(fe(a=>a===null?k(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 ae([s,a]).pipe(ln())}else return s})}};e.\u0275fac=function(i){return new(i||e)(M(Ct),M(ea),M(Pe),M(Ma),M(Ad))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),l0=new T(""),jx=(()=>{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={},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 Yr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ke?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof In&&n.code===ya.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 Da&&(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(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Da(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){Gp()},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Ux(t){return t.routerState.root}function io(t,e){return{\u0275kind:t,\u0275providers:e}}function Bx(){let t=D(ot);return e=>{let r=t.get(Wt);if(e!==r.components[0])return;let n=t.get(Ct),i=t.get(c0);t.get(Od)===1&&n.initialNavigation(),t.get(u0,null,W.Optional)?.setUpPreloading(),t.get(l0,null,W.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var c0=new T("",{factory:()=>new we}),Od=new T("",{providedIn:"root",factory:()=>1});function $x(){return io(2,[{provide:Od,useValue:0},{provide:Js,multi:!0,deps:[ot],useFactory:e=>{let r=e.get(Bm,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Ct),o=e.get(c0);s0(i,()=>{n(!0)}),e.get(Rd).afterPreactivation=()=>(n(!0),o.closed?k(void 0):o),i.initialNavigation()}))}}])}function Hx(){return io(3,[{provide:Js,multi:!0,useFactory:()=>{let e=D(Ct);return()=>{e.setUpLocationChangeListener()}}},{provide:Od,useValue:2}])}var u0=new T("");function qx(t){return io(0,[{provide:u0,useExisting:Vx},{provide:Ma,useExisting:t}])}function Gx(){return io(8,[_g,{provide:Ta,useExisting:_g}])}function zx(t){let e=[{provide:r0,useValue:xx},{provide:i0,useValue:E({skipNextTransition:!!t?.skipInitialTransition},t)}];return io(9,e)}var Mg=new T("ROUTER_FORROOT_GUARD"),Wx=[jr,{provide:Xi,useClass:Zr},Ct,to,{provide:tn,useFactory:Ux,deps:[Ct]},Ad,[]],kd=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[Wx,[],{provide:Sa,multi:!0,useValue:n},{provide:Mg,useFactory:Kx,deps:[[Ct,new Ts,new kc]]},{provide:ro,useValue:i||{}},i?.useHash?Yx():Qx(),Zx(),i?.preloadingStrategy?qx(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?Jx(i):[],i?.bindToComponentInputs?Gx().\u0275providers:[],i?.enableViewTransitions?zx().\u0275providers:[],Xx()]}}static forChild(n){return{ngModule:e,providers:[{provide:Sa,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(M(Mg,8))},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})();function Zx(){return{provide:l0,useFactory:()=>{let t=D(Gm),e=D(oe),r=D(ro),n=D(Rd),i=D(Xi);return r.scrollOffset&&t.setOffset(r.scrollOffset),new jx(i,n,t,e,r)}}}function Yx(){return{provide:Kt,useClass:Hm}}function Qx(){return{provide:Kt,useClass:Pu}}function Kx(t){return"guarded"}function Jx(t){return[t.initialNavigation==="disabled"?Hx().\u0275providers:[],t.initialNavigation==="enabledBlocking"?$x().\u0275providers:[]]}var Tg=new T("");function Xx(){return[{provide:Tg,useFactory:Bx},{provide:Xs,multi:!0,useExisting:Tg}]}var tI=()=>["/pro"],d0=(()=>{let e=class e{constructor(){this.years=new Date().getFullYear()-2009}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-footer"]],standalone:!0,features:[ce],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),d(),u(6,"div",6)(7,"h2"),l(8,"Who's behind"),d(),u(9,"p"),l(10,"My name is Daniel Palme. I'm a software developer from Germany."),d(),u(11,"p"),l(12," Back in 2009 I wanted to create code coverage reports based on "),u(13,"i"),l(14,"PartCover"),d(),l(15," files."),p(16,"br"),l(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"),l(19),u(20,"i"),l(21,"ReportGenerator"),d(),l(22,". "),d(),u(23,"p"),l(24," You can support the ongoing maintenance by buying a "),u(25,"a",7),l(26,"PRO license"),d(),l(27," or by becoming a "),p(28,"i",8),l(29,"\xA0"),u(30,"a",9),l(31,"GitHub sponsor"),d(),l(32,". "),d()()()()(),u(33,"div",2)(34,"div",3),p(35,"hr"),d()(),u(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),l(42,"GitHub"),d()(),u(43,"a",11),l(44,"Source code"),d(),p(45,"br"),u(46,"a",12),l(47,"Wiki"),d(),p(48,"br"),u(49,"a",13),l(50,"FAQ"),d()(),u(51,"div",14)(52,"p")(53,"b"),l(54,"Download"),d()(),u(55,"i"),l(56,"NuGet"),d(),p(57,"br"),u(58,"a",15),l(59,"ReportGenerator"),d(),p(60,"br"),u(61,"a",16),l(62,"dotnet-reportgenerator-globaltool"),d(),p(63,"br"),u(64,"a",17),l(65,"ReportGenerator.Core"),d(),p(66,"br")(67,"br"),u(68,"i"),l(69,"Integration"),d(),p(70,"br"),u(71,"a",18),l(72,"GitHub actions"),d(),p(73,"br"),u(74,"a",19),l(75,"Azure DevOps"),d()(),u(76,"div",20)(77,"p")(78,"b"),l(79,"Community"),d()(),u(80,"a",11),p(81,"i",21),l(82," GitHub"),d(),p(83,"br"),u(84,"a",22),p(85,"i",23),l(86," Twitter"),d(),p(87,"br")(88,"br"),u(89,"a",24),l(90,"Privacy"),d(),p(91,"br"),u(92,"a",25),l(93,"Imprint"),d()()()()()()),i&2&&(g(19),je(" Fast forward ",o.years," years, I'm still maintaining "),g(6),C("routerLink",H(2,tI)))},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 f0=()=>["/"],nI=t=>({show:t}),Xr=()=>["link-active"],h0=()=>({exact:!0}),rI=()=>["/features"],iI=()=>["/getstarted"],oI=()=>["/usage"],sI=()=>["/contact"],aI=()=>["/pro"],p0=(()=>{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=le({type:e,selectors:[["app-nav-menu"]],standalone:!0,features:[ce],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),l(6,"ReportGenerator"),d()(),u(7,"button",6),A("click",function(){return o.toggle()}),p(8,"span",7),d(),u(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),l(13,"Home"),d()(),u(14,"li",10)(15,"a",11),l(16,"Features"),d()(),u(17,"li",12)(18,"a",13),l(19,"Get started"),d()(),u(20,"li",12)(21,"a",11),l(22,"Usage"),d()(),u(23,"li",12)(24,"a",11),l(25,"Contact"),d()(),u(26,"li",12)(27,"a",11)(28,"span",14),l(29,"PRO"),d()()()(),p(30,"hr",15),u(31,"ul",16)(32,"li",17)(33,"a",18),p(34,"i",19),u(35,"span",20),l(36,"GitHub"),d()()(),u(37,"li",17)(38,"a",21),p(39,"i",22),u(40,"span",20),l(41,"Twitter"),d()()()()()()()()),i&2&&(g(3),C("routerLink",H(17,f0)),g(4),Ze("aria-expanded",o.isExpanded),g(2),C("ngClass",Kn(18,nI,o.isExpanded)),g(2),C("routerLinkActive",H(20,Xr))("routerLinkActiveOptions",H(21,h0)),g(),C("routerLink",H(22,f0)),g(2),C("routerLinkActive",H(23,Xr))("routerLinkActiveOptions",H(24,h0)),g(),C("routerLink",H(25,rI)),g(2),C("routerLinkActive",H(26,Xr)),g(),C("routerLink",H(27,iI)),g(2),C("routerLinkActive",H(28,Xr)),g(),C("routerLink",H(29,oI)),g(2),C("routerLinkActive",H(30,Xr)),g(),C("routerLink",H(31,sI)),g(2),C("routerLinkActive",H(32,Xr)),g(),C("routerLink",H(33,aI)))},dependencies:[Ne,Ur,a0],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 m0=(()=>{let e=class e{constructor(n,i,o){this.dom=n,this.router=i,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(Me(n=>n instanceof Ke),L(()=>this.activatedRoute),L(n=>{for(;n.firstChild;)n=n.firstChild;return n}),Me(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(xe),S(Ct),S(tn))},e.\u0275cmp=le({type:e,selectors:[["app-root"]],standalone:!0,features:[ce],decls:3,vars:0,template:function(i,o){i&1&&p(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[p0,Md,d0],encapsulation:2});let t=e;return t})();var _0=(()=>{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(ct),S(_e))},e.\u0275dir=ie({type:e});let t=e;return t})(),Va=(()=>{let e=class e extends _0{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,features:[Fe]});let t=e;return t})(),uo=new T("");var lI={provide:uo,useExisting:Ge(()=>Ot),multi:!0};function cI(){let t=Nt()?Nt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var uI=new T(""),Ot=(()=>{let e=class e extends _0{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!cI())}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(ct),S(_e),S(uI,8))},e.\u0275dir=ie({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:[vt([lI]),Fe]});let t=e;return t})();function Ld(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function dI(t){return t!=null&&typeof t.length=="number"}var oi=new T(""),x0=new T(""),fI=/^(?=.{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 hI(t){return Ld(t.value)?{required:!0}:null}function pI(t){return Ld(t.value)||fI.test(t.value)?null:{email:!0}}function mI(t){return e=>dI(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function gI(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(Ld(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function Pd(t){return null}function I0(t){return t!=null}function S0(t){return Jn(t)?ae(t):t}function M0(t){let e={};return t.forEach(r=>{e=r!=null?E(E({},e),r):e}),Object.keys(e).length===0?null:e}function T0(t,e){return e.map(r=>r(t))}function vI(t){return!t.validate}function A0(t){return t.map(e=>vI(e)?e:r=>e.validate(r))}function yI(t){if(!t)return null;let e=t.filter(I0);return e.length==0?null:function(r){return M0(T0(r,e))}}function Vd(t){return t!=null?yI(A0(t)):null}function CI(t){if(!t)return null;let e=t.filter(I0);return e.length==0?null:function(r){let n=T0(r,e).map(S0);return vl(n).pipe(L(M0))}}function jd(t){return t!=null?CI(A0(t)):null}function g0(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function DI(t){return t._rawValidators}function wI(t){return t._rawAsyncValidators}function Fd(t){return t?Array.isArray(t)?t:[t]:[]}function Ra(t,e){return Array.isArray(t)?t.includes(e):t===e}function v0(t,e){let r=Fd(e);return Fd(t).forEach(i=>{Ra(r,i)||r.push(i)}),r}function y0(t,e){return Fd(e).filter(r=>!Ra(t,r))}var Oa=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=jd(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}},ni=class extends Oa{get formDirective(){return null}get path(){return null}},ri=class extends Oa{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ka=class{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},bI={"[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"},uP=K(E({},bI),{"[class.ng-submitted]":"isSubmitted"}),Mn=(()=>{let e=class e extends ka{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(ri,2))},e.\u0275dir=ie({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Zs("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:[Fe]});let t=e;return t})(),Tn=(()=>{let e=class e extends ka{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(ni,10))},e.\u0275dir=ie({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&Zs("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:[Fe]});let t=e;return t})();var oo="VALID",Na="INVALID",ei="PENDING",so="DISABLED",ii=class{},Pa=class extends ii{constructor(e,r){super(),this.value=e,this.source=r}},lo=class extends ii{constructor(e,r){super(),this.pristine=e,this.source=r}},co=class extends ii{constructor(e,r){super(),this.touched=e,this.source=r}},ti=class extends ii{constructor(e,r){super(),this.status=e,this.source=r}};function N0(t){return(ja(t)?t.validators:t)||null}function EI(t){return Array.isArray(t)?Vd(t):t||null}function R0(t,e){return(ja(e)?e.asyncValidators:t)||null}function _I(t){return Array.isArray(t)?jd(t):t||null}function ja(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function xI(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new N(1e3,"");if(!n[r])throw new N(1001,"")}function II(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new N(1002,"")})}var Fa=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Ai(()=>this.statusReactive()),this.statusReactive=Si(void 0),this._pristine=Ai(()=>this.pristineReactive()),this.pristineReactive=Si(!0),this._touched=Ai(()=>this.touchedReactive()),this.touchedReactive=Si(!1),this._events=new we,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 status(){return Yt(this.statusReactive)}set status(e){Yt(()=>this.statusReactive.set(e))}get valid(){return this.status===oo}get invalid(){return this.status===Na}get pending(){return this.status==ei}get disabled(){return this.status===so}get enabled(){return this.status!==so}get pristine(){return Yt(this.pristineReactive)}set pristine(e){Yt(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return Yt(this.touchedReactive)}set touched(e){Yt(()=>this.touchedReactive.set(e))}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(v0(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(v0(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(y0(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(y0(e,this._rawAsyncValidators))}hasValidator(e){return Ra(this._rawValidators,e)}hasAsyncValidator(e){return Ra(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(K(E({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new co(!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 co(!1,n))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(K(E({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new lo(!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 lo(!0,n))}markAsPending(e={}){this.status=ei;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ti(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(K(E({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=so,this.errors=null,this._forEachChild(i=>{i.disable(K(E({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Pa(this.value,n)),this._events.next(new ti(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(K(E({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=oo,this._forEachChild(n=>{n.enable(K(E({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(K(E({},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===oo||this.status===ei)&&this._runAsyncValidator(n,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Pa(this.value,r)),this._events.next(new ti(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(K(E({},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()?so:oo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=ei,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=S0(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 ti(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?so:this.errors?Na:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ei)?ei:this._anyControlsHaveStatus(Na)?Na:oo}_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 lo(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new co(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ja(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=EI(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=_I(this._rawAsyncValidators)}},La=class extends Fa{constructor(e,r,n){super(N0(r),R0(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={}){II(this,!0,e),Object.keys(e).forEach(n=>{xI(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 Ua=new T("CallSetDisabledState",{providedIn:"root",factory:()=>Ba}),Ba="always";function SI(t,e){return[...e.path,t]}function O0(t,e,r=Ba){k0(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),TI(t,e),NI(t,e),AI(t,e),MI(t,e)}function C0(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function MI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function k0(t,e){let r=DI(t);e.validator!==null?t.setValidators(g0(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=wI(t);e.asyncValidator!==null?t.setAsyncValidators(g0(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();C0(e._rawValidators,i),C0(e._rawAsyncValidators,i)}function TI(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&P0(t,e)})}function AI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&P0(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function P0(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function NI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function RI(t,e){t==null,k0(t,e)}function OI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function kI(t){return Object.getPrototypeOf(t.constructor)===Va}function PI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function FI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===Ot?r=o:kI(o)?n=o:i=o}),i||n||r||null}var LI={provide:ni,useExisting:Ge(()=>nn)},ao=Promise.resolve(),nn=(()=>{let e=class e extends ni{get submitted(){return Yt(this.submittedReactive)}constructor(n,i,o){super(),this.callSetDisabledState=o,this._submitted=Ai(()=>this.submittedReactive()),this.submittedReactive=Si(!1),this._directives=new Set,this.ngSubmit=new he,this.form=new La({},Vd(n),jd(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){ao.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),O0(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){ao.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){ao.then(()=>{let i=this._findContainer(n.path),o=new La({});RI(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){ao.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){ao.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submittedReactive.set(!0),PI(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submittedReactive.set(!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(oi,10),S(x0,10),S(Ua,8))},e.\u0275dir=ie({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:[vt([LI]),Fe]});let t=e;return t})();function D0(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function w0(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var VI=class extends Fa{constructor(e=null,r,n){super(N0(r),R0(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}),ja(r)&&(r.nonNullable||r.initialValueIsDefault)&&(w0(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){D0(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){D0(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){w0(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 jI={provide:ri,useExisting:Ge(()=>rn)},b0=Promise.resolve(),rn=(()=>{let e=class e extends ri{constructor(n,i,o,s,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new VI,this._registered=!1,this.name="",this.update=new he,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=FI(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),OI(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(){O0(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){b0.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Zt(i);b0.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?SI(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(S(ni,9),S(oi,10),S(x0,10),S(uo,10),S(bn,8),S(Ua,8))},e.\u0275dir=ie({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:[vt([jI]),Fe,Gt]});let t=e;return t})(),An=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ie({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var UI={provide:uo,useExisting:Ge(()=>Ud),multi:!0};var BI=(()=>{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})(),Ud=(()=>{let e=class e extends Va{constructor(n,i,o,s){super(n,i),this._registry=o,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=D(Ua,{optional:!0})??Ba}ngOnInit(){this._control=this._injector.get(ri),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(ct),S(_e),S(BI),S(ot))},e.\u0275dir=ie({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:[vt([UI]),Fe]});let t=e;return t})();var $I={provide:uo,useExisting:Ge(()=>si),multi:!0};function F0(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function HI(t){return t.split(":")[0]}var si=(()=>{let e=class e extends Va{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=F0(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=HI(n);return this._optionMap.has(i)?this._optionMap.get(i):n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({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:[vt([$I]),Fe]});let t=e;return t})(),$a=(()=>{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(F0(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(_e),S(ct),S(si,9))},e.\u0275dir=ie({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),qI={provide:uo,useExisting:Ge(()=>L0),multi:!0};function E0(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function GI(t){return t.split(":")[0]}var L0=(()=>{let e=class e extends Va{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 c=0;c{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({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:[vt([qI]),Fe]});let t=e;return t})(),Ha=(()=>{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(E0(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(E0(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(_e),S(ct),S(L0,9))},e.\u0275dir=ie({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();function zI(t){return typeof t=="number"?t:parseInt(t,10)}var qa=(()=>{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=ie({type:e,features:[Gt]});let t=e;return t})();var WI={provide:oi,useExisting:Ge(()=>on),multi:!0};var on=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Zt,this.createValidator=n=>hI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({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&&Ze("required",o._enabled?"":null)},inputs:{required:"required"},features:[vt([WI]),Fe]});let t=e;return t})();var ZI={provide:oi,useExisting:Ge(()=>fo),multi:!0},fo=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Zt,this.createValidator=n=>pI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[vt([ZI]),Fe]});let t=e;return t})();var YI={provide:oi,useExisting:Ge(()=>ho),multi:!0},ho=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>zI(n),this.createValidator=n=>mI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ze("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[vt([YI]),Fe]});let t=e;return t})(),QI={provide:oi,useExisting:Ge(()=>Bd),multi:!0},Bd=(()=>{let e=class e extends qa{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>gI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=mt(e)))(o||e)}})(),e.\u0275dir=ie({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ze("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[vt([QI]),Fe]});let t=e;return t})();var KI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=We({type:e}),e.\u0275inj=ze({});let t=e;return t})();var kt=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ua,useValue:n.callSetDisabledState??Ba}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=We({type:e}),e.\u0275inj=ze({imports:[KI]});let t=e;return t})();var za=class{constructor(){this.name="",this.email="",this.message=""}};var Wa=(()=>{let e=class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${ee.apiBaseUrl}contact`,n)}};e.\u0275fac=function(i){return new(i||e)(M(Pi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function XI(t,e){if(t&1){let r=te();u(0,"form",5,0),A("ngSubmit",function(){x(r);let i=w();return I(i.submit())}),u(2,"div",6)(3,"label",7),l(4,"Name "),u(5,"span",8),l(6,"*"),d()(),u(7,"input",9),$("ngModelChange",function(i){x(r);let o=w();return z(o.contactViewModel.name,i)||(o.contactViewModel.name=i),I(i)}),d()(),u(8,"div",6)(9,"label",10),l(10,"Email address "),u(11,"span",8),l(12,"*"),d()(),u(13,"input",11),$("ngModelChange",function(i){x(r);let o=w();return z(o.contactViewModel.email,i)||(o.contactViewModel.email=i),I(i)}),d()(),u(14,"div",6)(15,"label",12),l(16,"Message "),u(17,"span",8),l(18,"*"),d()(),u(19,"textarea",13),$("ngModelChange",function(i){x(r);let o=w();return z(o.contactViewModel.message,i)||(o.contactViewModel.message=i),I(i)}),d()(),u(20,"button",14),l(21,"Submit"),d()()}if(t&2){let r=Lr(1),n=w();g(7),B("ngModel",n.contactViewModel.name),g(6),B("ngModel",n.contactViewModel.email),g(6),B("ngModel",n.contactViewModel.message),g(),C("disabled",!r.valid||n.enableFormCountDown>0)}}function eS(t,e){t&1&&(u(0,"p"),l(1,"Thanks for your message."),d())}function tS(t,e){t&1&&(u(0,"p",4),l(1,"Something went wrong. Please try again later."),d())}var V0=(()=>{let e=class e{constructor(n){this.contactService=n,this.contactViewModel=new za,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(Wa))},e.\u0275cmp=le({type:e,selectors:[["app-contact-component"]],standalone:!0,features:[ce],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),l(2,"Contact"),d(),P(3,XI,22,4,"form",3)(4,eS,2,0,"p")(5,tS,2,0,"p",4),d()),i&2&&(g(3),gt(!o.success&&!o.error?3:-1),g(),gt(o.success?4:-1),g(),gt(o.error?5:-1))},dependencies:[kt,An,Ot,Mn,Tn,on,fo,rn,nn]});let t=e;return t})();var Dt={paddleIndividualLicensePrice:"US$49",paddleTeamLicensePrice:"US$149",paddleEnterpriseLicensePrice:"US$299",paddleIndividualLifetimeLicensePrice:"US$79",paddleTeamLifetimeLicensePrice:"US$249",paddleEnterpriseLifetimeLicensePrice:"US$499",paddleIndividualLifetimeLicensePriceEuro:"\u20AC79",paddleTeamLifetimeLicensePriceEuro:"\u20AC249",paddleEnterpriseLifetimeLicensePriceEuro:"\u20AC499"};var ai=(()=>{let e=class e{constructor(n){this.httpClient=n}getLicense(n){return this.httpClient.get(`${ee.apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(n)}`)}getTrialLicense(n){return this.httpClient.post(`${ee.apiBaseUrl}reportgenerator/triallicense`,n)}getPaddleLicense(n){return this.httpClient.post(`${ee.apiBaseUrl}reportgenerator/paddlelicense`,n)}requestInvoice(n){return this.httpClient.post(`${ee.apiBaseUrl}reportgenerator/invoice`,n)}};e.\u0275fac=function(i){return new(i||e)(M(Pi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function nS(t,e){if(t&1){let r=te();u(0,"form",14,0),A("ngSubmit",function(){x(r);let i=w();return I(i.requestInvoice())}),u(2,"div",15)(3,"select",16),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.currency,i)||(o.requestInvoiceData.currency=i),I(i)}),u(4,"option",17),l(5,"EUR"),d(),u(6,"option",18),l(7,"US$"),d()(),u(8,"label",19),l(9,"Currency"),d()(),u(10,"div",15)(11,"select",20),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.product,i)||(o.requestInvoiceData.product=i),I(i)}),u(12,"option",21),l(13,"Select product"),d(),u(14,"option",22),l(15),d(),u(16,"option",23),l(17),d(),u(18,"option",24),l(19),d()(),u(20,"label",25),l(21,"Product "),u(22,"span",26),l(23,"*"),d()()(),u(24,"div",15)(25,"select",27),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.type,i)||(o.requestInvoiceData.type=i),I(i)}),u(26,"option",28),l(27,"Business"),d(),u(28,"option",29),l(29,"Single"),d()(),u(30,"label",30),l(31,"Type"),d()(),u(32,"div",15)(33,"input",31),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.name,i)||(o.requestInvoiceData.name=i),I(i)}),d(),u(34,"label",32),l(35,"Company name "),u(36,"span",26),l(37,"*"),d()()(),u(38,"div",15)(39,"input",33),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.country,i)||(o.requestInvoiceData.country=i),I(i)}),d(),u(40,"label",34),l(41,"Country "),u(42,"span",26),l(43,"*"),d()()(),u(44,"div",15)(45,"input",35),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.address,i)||(o.requestInvoiceData.address=i),I(i)}),d(),u(46,"label",36),l(47,"Address "),u(48,"span",26),l(49,"*"),d()()(),u(50,"div",15)(51,"input",37),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.city,i)||(o.requestInvoiceData.city=i),I(i)}),d(),u(52,"label",38),l(53,"City/town "),u(54,"span",26),l(55,"*"),d()()(),u(56,"div",15)(57,"input",39),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.state,i)||(o.requestInvoiceData.state=i),I(i)}),d(),u(58,"label",40),l(59,"State/province "),u(60,"span",26),l(61,"*"),d()()(),u(62,"div",15)(63,"input",41),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.postcode,i)||(o.requestInvoiceData.postcode=i),I(i)}),d(),u(64,"label",42),l(65,"Postcode "),u(66,"span",26),l(67,"*"),d()()(),u(68,"div",15)(69,"input",43),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.contactName,i)||(o.requestInvoiceData.contactName=i),I(i)}),d(),u(70,"label",44),l(71,"Contact name "),u(72,"span",26),l(73,"*"),d()()(),u(74,"div",15)(75,"input",45),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.email,i)||(o.requestInvoiceData.email=i),I(i)}),d(),u(76,"label",46),l(77,"Email "),u(78,"span",26),l(79,"*"),d()()(),u(80,"div",15)(81,"input",47),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.financeEmail,i)||(o.requestInvoiceData.financeEmail=i),I(i)}),d(),u(82,"label",48),l(83,"POC/finance email"),d()(),u(84,"div",15)(85,"input",49),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.vatNumber,i)||(o.requestInvoiceData.vatNumber=i),I(i)}),d(),u(86,"label",50),l(87,"Sales tax/VAT number"),d()(),u(88,"div",15)(89,"input",51),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.companyNumber,i)||(o.requestInvoiceData.companyNumber=i),I(i)}),d(),u(90,"label",52),l(91,"Company number"),d()(),u(92,"div",15)(93,"textarea",53),$("ngModelChange",function(i){x(r);let o=w();return z(o.requestInvoiceData.comment,i)||(o.requestInvoiceData.comment=i),I(i)}),d(),u(94,"label",54),l(95,"Comment"),d()(),u(96,"button",55),l(97,"Request invoice"),d()()}if(t&2){let r=Lr(1),n=w();g(3),B("ngModel",n.requestInvoiceData.currency),g(8),B("ngModel",n.requestInvoiceData.product),g(4),Mi("Individual - Lifetime license - ",n.requestInvoiceData.currency," ",n.paddleIndividualLifetimeLicensePriceEuro,""),g(2),Mi("Team - Lifetime license - ",n.requestInvoiceData.currency," ",n.paddleTeamLifetimeLicensePriceEuro,""),g(2),Mi("Enterprise - Lifetime license - ",n.requestInvoiceData.currency," ",n.paddleEnterpriseLifetimeLicensePriceEuro,""),g(6),B("ngModel",n.requestInvoiceData.type),g(8),B("ngModel",n.requestInvoiceData.name),g(6),B("ngModel",n.requestInvoiceData.country),g(6),B("ngModel",n.requestInvoiceData.address),g(6),B("ngModel",n.requestInvoiceData.city),g(6),B("ngModel",n.requestInvoiceData.state),g(6),B("ngModel",n.requestInvoiceData.postcode),g(6),B("ngModel",n.requestInvoiceData.contactName),g(6),B("ngModel",n.requestInvoiceData.email),g(6),B("ngModel",n.requestInvoiceData.financeEmail),g(4),B("ngModel",n.requestInvoiceData.vatNumber),g(4),B("ngModel",n.requestInvoiceData.companyNumber),g(4),B("ngModel",n.requestInvoiceData.comment),g(3),C("disabled",!r.valid)}}function rS(t,e){t&1&&(Le(0),u(1,"div",56)(2,"span",57),l(3,"Loading..."),d()(),u(4,"span",58),l(5,"Please wait."),d(),Ve())}function iS(t,e){t&1&&(u(0,"div",59),l(1," Thanks for you request. You will receive an invoice as soon as possible. "),d())}var U0=(()=>{let e=class e{constructor(n){this.licenseService=n,this.paddleIndividualLifetimeLicensePriceEuro=Dt.paddleIndividualLifetimeLicensePriceEuro,this.paddleTeamLifetimeLicensePriceEuro=Dt.paddleTeamLifetimeLicensePriceEuro,this.paddleEnterpriseLifetimeLicensePriceEuro=Dt.paddleEnterpriseLifetimeLicensePriceEuro,this.invoiceRequested=!1,this.invoiceSuccessResponse=!1,this.requestInvoiceData={product:"",currency:"EUR",type:"Business",name:"",country:"",address:"",city:"",state:"",postcode:"",contactName:"",email:"",financeEmail:null,vatNumber:null,companyNumber:null,comment:null}}requestInvoice(){this.licenseService.requestInvoice(this.requestInvoiceData).subscribe({next:n=>{this.invoiceRequested=!0},error:n=>{console.error(n)},complete:()=>{this.invoiceSuccessResponse=!0}})}};e.\u0275fac=function(i){return new(i||e)(S(ai))},e.\u0275cmp=le({type:e,selectors:[["app-enterprise-component"]],standalone:!0,features:[ce],decls:53,vars:3,consts:[["requestInvoiceForm","ngForm"],[1,"container"],[1,"mb-4"],["href","https://www.paddle.com/about/procurement","target","_blank"],[1,"fa-solid","fa-image","text-secondary","me-1"],["href","resources/enterprise/email@2x.webp"],["href","resources/enterprise/confirmation@2x.webp"],["href","resources/enterprise/invoice@2x.webp"],[1,"fa-solid","fa-file-pdf","text-secondary","me-1"],["href","resources/enterprise/invoice.pdf"],[1,"mt-5"],["method","post",3,"ngSubmit",4,"ngIf"],[4,"ngIf"],["class","col-xs-12 col-md-6",4,"ngIf"],["method","post",3,"ngSubmit"],[1,"form-floating","mb-3"],["id","currency","name","currency","placeholder","Currency",1,"form-select",3,"ngModelChange","ngModel"],["value","EUR"],["value","US$"],["for","currency"],["id","product","name","product","placeholder","Product","required","",1,"form-select",3,"ngModelChange","ngModel"],["value",""],["value","Individual"],["value","Team"],["value","Enterprise"],["for","product"],[1,"required"],["id","type","name","type","placeholder","Type",1,"form-select",3,"ngModelChange","ngModel"],["value","Business"],["value","Single"],["for","type"],["type","text","id","name","name","name","required","","maxlength","150","placeholder","Company name",1,"form-control",3,"ngModelChange","ngModel"],["for","name"],["type","text","id","country","name","country","required","","maxlength","150","placeholder","Country",1,"form-control",3,"ngModelChange","ngModel"],["for","country"],["type","text","id","address","name","address","required","","maxlength","150","placeholder","Address",1,"form-control",3,"ngModelChange","ngModel"],["for","address"],["type","text","id","city","name","city","required","","maxlength","150","placeholder","City/town",1,"form-control",3,"ngModelChange","ngModel"],["for","city"],["type","text","id","state","name","state","required","","maxlength","150","placeholder","State/province",1,"form-control",3,"ngModelChange","ngModel"],["for","state"],["type","text","id","postcode","name","postcode","required","","maxlength","150","placeholder","Postcode",1,"form-control",3,"ngModelChange","ngModel"],["for","postcode"],["type","text","id","contactName","name","contactName","required","","maxlength","150","placeholder","Contact name",1,"form-control",3,"ngModelChange","ngModel"],["for","contactName"],["type","email","id","email","name","email","required","","maxlength","150","placeholder","Email",1,"form-control",3,"ngModelChange","ngModel"],["for","email"],["type","email","id","financeEmail","name","financeEmail","maxlength","150","placeholder","POC/finance email",1,"form-control",3,"ngModelChange","ngModel"],["for","financeEmail"],["type","text","id","vatNumber","name","vatNumber","maxlength","150","placeholder","Sales tax/VAT number",1,"form-control",3,"ngModelChange","ngModel"],["for","vatNumber"],["type","text","id","companyNumber","name","companyNumber","maxlength","150","placeholder","Company number",1,"form-control",3,"ngModelChange","ngModel"],["for","companyNumber"],["id","comment","name","comment","placeholder","Comment",1,"form-control",2,"height","100px",3,"ngModelChange","ngModel"],["for","comment"],["type","submit",1,"btn","btn-primary",3,"disabled"],["role","status",1,"spinner-border","text-info"],[1,"visually-hidden"],[1,"position-relative","ms-4"],[1,"col-xs-12","col-md-6"]],template:function(i,o){i&1&&(u(0,"div",1)(1,"h1",2),l(2,"Enterprise"),d(),u(3,"p"),l(4," If you can't pay via credit card, you can also request an invoice which you can pay via bank/wire transfer."),p(5,"br"),d(),u(6,"p"),l(7," All invoices are issued by "),u(8,"i"),l(9,"Paddle.com"),d(),l(10," which acts as the Merchant of Record for all orders."),p(11,"br"),l(12," Here you can find additional "),u(13,"a",3),l(14,"procurement information"),d(),l(15,". "),d(),u(16,"p"),l(17,"The process is as follows:"),d(),u(18,"ol")(19,"li"),l(20,"Request invoice through the form below"),d(),u(21,"li"),l(22,"You will receive an email from "),u(23,"i"),l(24,"Paddle.com"),d(),l(25," ("),p(26,"i",4),u(27,"a",5),l(28,"Sample email"),d(),l(29,")"),d(),u(30,"li"),l(31,"You confirm the invoice ("),p(32,"i",4),u(33,"a",6),l(34,"Confirmation dialog"),d(),l(35,")"),d(),u(36,"li"),l(37,"You pay the invoice ("),p(38,"i",4),u(39,"a",7),l(40,"Sample invoice"),d(),l(41," | "),p(42,"i",8),u(43,"a",9),l(44,"Sample PDF invoice"),d(),l(45,")"),d(),u(46,"li"),l(47,"After your payment is confirmed, you will receive your license key within one business day"),d()(),u(48,"h2",10),l(49,"Request invoice"),d(),P(50,nS,98,22,"form",11)(51,rS,6,0,"ng-container",12)(52,iS,2,0,"div",13),d()),i&2&&(g(50),C("ngIf",!o.invoiceRequested),g(),C("ngIf",o.invoiceRequested&&!o.invoiceSuccessResponse),g(),C("ngIf",o.invoiceSuccessResponse))},dependencies:[Br,kt,An,$a,Ha,Ot,si,Mn,Tn,on,ho,rn,nn]});let t=e;return t})();var B0=()=>["/pro"],$0=(()=>{let e=class e{scrollToAnchor(n){return document.querySelector(n)?.scrollIntoView(!0),!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-features-component"]],standalone:!0,features:[ce],decls:163,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),l(2,"Features"),d(),u(3,"h2",2),l(4,"Coverage quotas"),d(),u(5,"p"),l(6," The overiew cards provide a quick "),u(7,"span",3),l(8,"overview"),d(),l(9," of your coverage quotas."),p(10,"br"),l(11," You can use them to get a glimpse into the different "),u(12,"a",4),l(13,"coverage metrics"),d(),l(14,"\xA0"),u(15,"a",4),p(16,"i",5),d(),l(17,": "),d(),u(18,"ul")(19,"li"),l(20,"Line coverage"),d(),u(21,"li"),l(22,"Branch coverage"),d(),u(23,"li"),l(24,"Method coverage "),u(25,"a",6)(26,"span",7),l(27,"PRO"),d()()()(),p(28,"img",8)(29,"br"),u(30,"h2",9),l(31,"Coverage history"),d(),u(32,"p"),l(33," The history chart helps you to understand how your coverage quotas are "),u(34,"span",3),l(35,"evolving over time"),d(),l(36,". "),d(),p(37,"img",10)(38,"br"),u(39,"h2",11),l(40,"Summary table / Overview"),d(),u(41,"p"),l(42," The summary table helps you to identify classes with "),u(43,"span",3),l(44,"low test coverage"),d(),l(45,"."),p(46,"br"),l(47," The table offers various "),u(48,"span",3),l(49,"filter and sorting"),d(),l(50," options for quick navigation. "),d(),p(51,"img",12)(52,"br"),u(53,"h2",13),l(54,"Details page"),d(),u(55,"p"),l(56," The details page visualizes your "),u(57,"span",3),l(58,"line and branch coverage"),d(),l(59,". "),d(),u(60,"ul")(61,"li"),l(62,"Colors indicate the coverage status of each line."),d(),u(63,"li"),l(64,"Branch indicators help you to identity uncovered conditions."),d()(),p(65,"img",14)(66,"br"),u(67,"h2",15),l(68,"Metrics"),d(),u(69,"p"),l(70," Depending on your "),u(71,"a",16),l(72,"coverage tool"),d(),l(73,", metrics are provided to get further insigths in your "),u(74,"span",3),l(75,"code quality"),d(),l(76,". "),d(),u(77,"ul")(78,"li"),l(79,"The "),u(80,"a",17),A("click",function(){return o.scrollToAnchor("#details")}),l(81,"details page"),d(),l(82," contains information about the metrics of all methods of a class."),d(),u(83,"li"),l(84,"The "),u(85,"a",17),A("click",function(){return o.scrollToAnchor("#summary")}),l(86,"summary table"),d(),l(87," shows the lowest metrics of all methods of a class "),u(88,"a",6)(89,"span",7),l(90,"PRO"),d()()()(),u(91,"b"),l(92,"Details page"),d(),p(93,"br")(94,"img",18)(95,"br")(96,"br"),u(97,"b"),l(98,"Summary table"),d(),p(99,"br")(100,"img",19)(101,"br"),u(102,"h2",20),l(103,"Risk Hotspots"),d(),u(104,"p"),l(105," Based on the "),u(106,"a",17),A("click",function(){return o.scrollToAnchor("#metrics")}),l(107,"metrics"),d(),l(108," you get a list of potential risk hotspots."),p(109,"br"),l(110," The following metrics are analyzed if available, the warning thresholds are configurable: "),d(),u(111,"ul")(112,"li")(113,"a",21),l(114,"Cyclomatic complexity"),d(),l(115,"\xA0"),u(116,"a",21),p(117,"i",5),d()(),u(118,"li")(119,"a",22),l(120,"NPath complexity"),d(),l(121,"\xA0"),u(122,"a",22),p(123,"i",5),d()(),u(124,"li")(125,"a",23),l(126,"Crap score"),d(),l(127,"\xA0"),u(128,"a",23),p(129,"i",5),d()()(),p(130,"img",24),u(131,"h2",25),l(132,"Raw mode (for "),u(133,"i"),l(134,"Cobertura"),d(),l(135," and "),u(136,"i"),l(137,"dotCover"),d(),l(138,") "),u(139,"span",7),l(140,"PRO"),d()(),u(141,"p"),l(142,' 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(143,"br"),l(144," This is useful to merge several "),u(145,"i"),l(146,"Cobertura"),d(),l(147," files into a single file, since the original class structure remains untouched. "),d(),u(148,"p"),l(149,"See "),u(150,"a",26),l(151,"Settings"),d(),l(152,"\xA0"),u(153,"a",26),p(154,"i",5),d()(),u(155,"p"),l(156,"Limitation: Raw mode is currently only supported for "),u(157,"i"),l(158,"Cobertura"),d(),l(159," and "),u(160,"i"),l(161,"dotCover"),d(),l(162," files."),d()()),i&2&&(g(25),C("routerLink",H(2,B0)),g(63),C("routerLink",H(3,B0)))},dependencies:[Ne]});let t=e;return t})();var Re={dotnetSDKVersion:"8.x",majorVersion:"5",version:"5.4.1"};var oS=()=>["/usage"],H0=(()=>{let e=class e{constructor(){this.versions=Re}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-getstarted"]],standalone:!0,features:[ce],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),l(2,"Get started"),d(),u(3,"h2"),l(4,"General"),d(),u(5,"p"),l(6,"In general you need a tool that instruments your test code and collects coverage information."),p(7,"br"),l(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),p(9,"br"),u(10,"em"),l(11,"ReportGenerator"),d(),l(12," uses this file and generates a report in HTML format (other formats are available)."),d(),u(13,"p"),l(14,"Use the online "),u(15,"a",2),l(16,"configuration tool"),d(),l(17," to get started quickly."),d(),u(18,"h2",3),l(19,".NET"),d(),u(20,"p"),l(21,"For .NET you can use "),u(22,"a",4),l(23,"Microsoft CodeCoverage"),d(),l(24,", "),u(25,"a",5),l(26,"coverlet"),d(),l(27," or "),u(28,"a",6),l(29,"altcover"),d(),l(30," for instrumenting your test code."),d(),u(31,"p"),l(32,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),d(),u(33,"p")(34,"strong"),l(35,"Add dependencies to your "),u(36,"code"),l(37,"*.csproj"),d(),l(38," file:"),d()(),u(39,"pre",7),l(40),d(),u(41,"p")(42,"strong"),l(43,"Execute tests and create coverage report"),d()(),u(44,"pre",7),l(45),d(),u(46,"h2",8),l(47,"Java"),d(),u(48,"p"),l(49,"For Java you can use "),u(50,"a",9),l(51,"JaCoCo"),d(),l(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.`),d(),u(53,"p")(54,"strong"),l(55,"Add dependencies to your "),u(56,"code"),l(57,"pom.xml"),d(),l(58," file:"),d()(),u(59,"pre",7),l(60,` @@ -70,7 +70,7 @@ nyc --reporter=cobertura mocha dotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version `,o.versions.version,` tools\\reportgenerator -reports:coverage/cobertura-coverage.xml -targetdir:coveragereport -`))},dependencies:[Ne]});let t=e;return t})();var Za=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-testimonials"]],standalone:!0,features:[ce],decls:30,vars:0,consts:[[1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"container"],[1,"text-center"],[1,"row","mt-5"],[1,"col","text-center"],[1,"fa-brands","fa-microsoft","h1","text-secondary"],["href","https://github.com/dotnet/runtime/blob/main/docs/workflow/building/libraries/code-coverage.md","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-google","h1","text-secondary"],["href","https://github.com/GoogleCloudPlatform/iam-windows-authenticator","target","_blank","title","https://github.com/GoogleCloudPlatform/iam-federation-tools/blob/master/wwauth/Google.Solutions.WWAuth/Google.Solutions.WWAuth.csproj#L25",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-aws","h1","text-secondary"],["href","https://github.com/aws/aws-encryption-sdk-dafny","target","_blank","title","https://github.com/aws/aws-encryption-sdk-dafny/blob/mainline/codebuild/dotnet/tests.yml#L31",1,"text-dark","d-none","d-lg-block"],[1,"col","text-center","d-none","d-lg-block"],[1,"fa-solid","fa-heart","h1","text-secondary"],["href","https://github.com/danielpalme/ReportGenerator/network/dependents","target","_blank",1,"text-dark"],["href","https://www.nuget.org/packages?q=ReportGenerator+danielpalme","target","_blank",1,"btn","btn-outline-secondary"],[1,"fa-solid","fa-download"]],template:function(i,o){i&1&&(u(0,"section",0)(1,"div",1)(2,"h2",2),l(3,"Code coverage reports trusted by"),d(),u(4,"div",3)(5,"div",4),p(6,"i",5)(7,"br"),u(8,"a",6),l(9,".NET Runtime"),d()(),u(10,"div",4),p(11,"i",7)(12,"br"),u(13,"a",8),l(14,"Google Cloud"),d()(),u(15,"div",4),p(16,"i",9)(17,"br"),u(18,"a",10),l(19,"AWS Encryption SDK"),d()(),u(20,"div",11),p(21,"i",12)(22,"br"),u(23,"a",13),l(24,"Many more"),d()()(),u(25,"div",3)(26,"div",4)(27,"a",14),p(28,"i",15),l(29," Over 105 million downloads on Nuget"),d()()()()())},encapsulation:2});let t=e;return t})();var sS=()=>["/pro"],aS=()=>["/usage"],lS=()=>["/getstarted"],cS=()=>["/features"],q0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-home"]],standalone:!0,features:[ce],decls:121,vars:8,consts:[[1,"container"],[1,"row"],[1,"col-4","col-md-3"],["src","resources/logo.svg","alt","Logo ReportGenerator",1,"img-fluid"],[1,"col-xs-12","col-md-9","ps-4"],[1,"mt-5"],[1,"line","btn-primary"],[1,"mt-4","h5"],[1,"pro-text"],["href","resources/reports/Html/index.html","target","_blank",1,"btn","btn-primary","me-2","mb-2"],[1,"fa-solid","fa-eye"],[1,"row","mt-5"],[1,"col-sm-12","col-md-4"],[1,"icon"],[1,"fa-solid","fa-scale-balanced"],[1,"h5","ms-3","mt-3"],[1,"mt-3"],[3,"routerLink"],[1,"col-sm-12","col-md-4","mt-4","mt-md-0"],[1,"fa-solid","fa-lightbulb"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Settings","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Integration","target","_blank"],[1,"fa-solid","fa-plug"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col"],[1,"btn","btn-primary","me-2","mb-2",3,"routerLink"],[1,"fa-solid","fa-wrench"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank",1,"btn","btn-outline-dark","mb-2"],[1,"fa-brands","fa-github"],[1,"container-fluid","mt-5","pt-5","pb-5"],["href","resources/reports/Html/index.html","target","_blank"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],[1,"col-sm-12","col-md-6","pb-2"],["href","resources/screenshot1@2x.webp"],["loading","lazy","srcset","resources/screenshot1.webp 1x, resources/screenshot1@2x.webp 2x","src","resources/screenshot1.webp","alt","Screenshot",1,"img-fluid"],[1,"col-sm-12","col-md-6"],["href","resources/screenshot2@2x.webp"],["loading","lazy","srcset","resources/screenshot2.webp 1x, resources/screenshot2@2x.webp 2x","src","resources/screenshot2.webp","alt","Screenshot",1,"img-fluid"]],template:function(i,o){i&1&&(u(0,"section",0)(1,"div",1)(2,"div",2),p(3,"img",3),d(),u(4,"div",4)(5,"h1"),l(6,"ReportGenerator"),d(),u(7,"h2",5),l(8,"Powerful code coverage visualization"),d(),u(9,"div",6),l(10,"\xA0"),d(),u(11,"div",7)(12,"p")(13,"i"),l(14,"ReportGenerator"),d(),l(15," converts "),u(16,"span",8),l(17,"coverage reports"),d(),l(18," generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into "),u(19,"span",8),l(20,"human readable reports in various formats"),d(),l(21,"."),d(),u(22,"p"),l(23,"The reports show the "),u(24,"span",8),l(25,"coverage quotas"),d(),l(26," and also visualize which lines of your source code have been covered."),d(),u(27,"p")(28,"a",9),p(29,"i",10),l(30," Browse example report"),d()()()()(),u(31,"div",11)(32,"div",12)(33,"div",13),p(34,"i",14),d(),u(35,"span",15),l(36,"Open source"),d(),u(37,"p",16)(38,"i"),l(39,"ReportGenerator"),d(),l(40," is open source under the permissive Apache License."),d(),u(41,"p"),l(42,"It's free to use."),p(43,"br"),l(44,"The "),u(45,"a",17),l(46,"PRO"),d(),l(47," version offers additional features."),d()(),u(48,"div",18)(49,"div",13),p(50,"i",19),d(),u(51,"span",15),l(52,"Easy to use"),d(),u(53,"p",16)(54,"i"),l(55,"ReportGenerator"),d(),l(56," is a command line tool which only requires a "),u(57,"a",17),l(58,"few parameters"),d(),l(59,"."),d(),u(60,"p"),l(61,"The more advanced settings are documented in the "),u(62,"a",20),l(63,"wiki"),d(),l(64,"."),d(),u(65,"p")(66,"a",21),l(67,"Integration"),d(),l(68," into your build pipeline will only take a couple of minutes."),d()(),u(69,"div",18)(70,"div",13),p(71,"i",22),d(),u(72,"span",15),l(73,"Integration"),d(),u(74,"p",16)(75,"i"),l(76,"ReportGenerator"),d(),l(77," works on Windows, Linux and macOS."),d(),u(78,"p"),l(79,"Support for "),u(80,"a",23),l(81,"GitHub actions"),d(),l(82," and "),u(83,"a",24),l(84,"Azure DevOps"),d(),l(85," is available."),d()()(),u(86,"div",11)(87,"div",25)(88,"a",26),p(89,"i",27),l(90," Learn how to use"),d(),u(91,"a",28),p(92,"i",29),l(93," GitHub"),d()()()(),p(94,"app-testimonials"),u(95,"section",30)(96,"div",0)(97,"h2"),l(98,"Screenshots"),d(),u(99,"p"),l(100,"The screenshots show two snippets of the generated code coverage reports."),d(),u(101,"p"),l(102," Have a look the "),u(103,"a",17),l(104,"features page"),d(),l(105," to explore the elements in a coverage report or "),u(106,"a",31),l(107,"browse the example report"),d(),l(108,". "),p(109,"br"),l(110," You can also download "),u(111,"a",32),l(112,"sample reports"),d(),l(113," of all supported output formats."),d(),u(114,"div",1)(115,"div",33)(116,"a",34),p(117,"img",35),d()(),u(118,"div",36)(119,"a",37),p(120,"img",38),d()()()()()),i&2&&(g(45),C("routerLink",H(4,sS)),g(12),C("routerLink",H(5,aS)),g(31),C("routerLink",H(6,lS)),g(15),C("routerLink",H(7,cS)))},dependencies:[Ne,Za],styles:[".h5[_ngcontent-%COMP%]{font-weight:300}section[_ngcontent-%COMP%]:first-of-type{padding-top:120px;min-height:calc(100vh - 171px)}.icon[_ngcontent-%COMP%]{background-color:#2e89df;background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%);height:50px;width:50px;border-radius:8px;text-align:center;color:#fff;line-height:50px;font-size:1.5rem;display:inline-block}@media (max-width: 767px){section[_ngcontent-%COMP%]:first-of-type{padding-top:40px}}"]});let t=e;return t})();var G0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-not-found"]],standalone:!0,features:[ce],decls:5,vars:0,consts:[[1,"container"],[1,"mb-4"],[1,"fa-solid","fa-triangle-exclamation","fs-1","me-4"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),l(2,"Not found"),d(),p(3,"i",2),l(4,` The requested page does not exist. +`))},dependencies:[Ne]});let t=e;return t})();var Za=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-testimonials"]],standalone:!0,features:[ce],decls:30,vars:0,consts:[[1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"container"],[1,"text-center"],[1,"row","mt-5"],[1,"col","text-center"],[1,"fa-brands","fa-microsoft","h1","text-secondary"],["href","https://github.com/dotnet/runtime/blob/main/docs/workflow/building/libraries/code-coverage.md","target","_blank",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-google","h1","text-secondary"],["href","https://github.com/GoogleCloudPlatform/iam-windows-authenticator","target","_blank","title","https://github.com/GoogleCloudPlatform/iam-federation-tools/blob/master/wwauth/Google.Solutions.WWAuth/Google.Solutions.WWAuth.csproj#L25",1,"text-dark","d-none","d-lg-block"],[1,"fa-brands","fa-aws","h1","text-secondary"],["href","https://github.com/aws/aws-encryption-sdk-dafny","target","_blank","title","https://github.com/aws/aws-encryption-sdk-dafny/blob/mainline/codebuild/dotnet/tests.yml#L31",1,"text-dark","d-none","d-lg-block"],[1,"col","text-center","d-none","d-lg-block"],[1,"fa-solid","fa-heart","h1","text-secondary"],["href","https://github.com/danielpalme/ReportGenerator/network/dependents","target","_blank",1,"text-dark"],["href","https://www.nuget.org/packages?q=ReportGenerator+danielpalme","target","_blank",1,"btn","btn-outline-secondary"],[1,"fa-solid","fa-download"]],template:function(i,o){i&1&&(u(0,"section",0)(1,"div",1)(2,"h2",2),l(3,"Code coverage reports trusted by"),d(),u(4,"div",3)(5,"div",4),p(6,"i",5)(7,"br"),u(8,"a",6),l(9,".NET Runtime"),d()(),u(10,"div",4),p(11,"i",7)(12,"br"),u(13,"a",8),l(14,"Google Cloud"),d()(),u(15,"div",4),p(16,"i",9)(17,"br"),u(18,"a",10),l(19,"AWS Encryption SDK"),d()(),u(20,"div",11),p(21,"i",12)(22,"br"),u(23,"a",13),l(24,"Many more"),d()()(),u(25,"div",3)(26,"div",4)(27,"a",14),p(28,"i",15),l(29," Over 100 million downloads on Nuget"),d()()()()())},encapsulation:2});let t=e;return t})();var sS=()=>["/pro"],aS=()=>["/usage"],lS=()=>["/getstarted"],cS=()=>["/features"],q0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-home"]],standalone:!0,features:[ce],decls:121,vars:8,consts:[[1,"container"],[1,"row"],[1,"col-4","col-md-3"],["src","resources/logo.svg","alt","Logo ReportGenerator",1,"img-fluid"],[1,"col-xs-12","col-md-9","ps-4"],[1,"mt-5"],[1,"line","btn-primary"],[1,"mt-4","h5"],[1,"pro-text"],["href","resources/reports/Html/index.html","target","_blank",1,"btn","btn-primary","me-2","mb-2"],[1,"fa-solid","fa-eye"],[1,"row","mt-5"],[1,"col-sm-12","col-md-4"],[1,"icon"],[1,"fa-solid","fa-scale-balanced"],[1,"h5","ms-3","mt-3"],[1,"mt-3"],[3,"routerLink"],[1,"col-sm-12","col-md-4","mt-4","mt-md-0"],[1,"fa-solid","fa-lightbulb"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Settings","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Integration","target","_blank"],[1,"fa-solid","fa-plug"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col"],[1,"btn","btn-primary","me-2","mb-2",3,"routerLink"],[1,"fa-solid","fa-wrench"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank",1,"btn","btn-outline-dark","mb-2"],[1,"fa-brands","fa-github"],[1,"container-fluid","mt-5","pt-5","pb-5"],["href","resources/reports/Html/index.html","target","_blank"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],[1,"col-sm-12","col-md-6","pb-2"],["href","resources/screenshot1@2x.webp"],["loading","lazy","srcset","resources/screenshot1.webp 1x, resources/screenshot1@2x.webp 2x","src","resources/screenshot1.webp","alt","Screenshot",1,"img-fluid"],[1,"col-sm-12","col-md-6"],["href","resources/screenshot2@2x.webp"],["loading","lazy","srcset","resources/screenshot2.webp 1x, resources/screenshot2@2x.webp 2x","src","resources/screenshot2.webp","alt","Screenshot",1,"img-fluid"]],template:function(i,o){i&1&&(u(0,"section",0)(1,"div",1)(2,"div",2),p(3,"img",3),d(),u(4,"div",4)(5,"h1"),l(6,"ReportGenerator"),d(),u(7,"h2",5),l(8,"Powerful code coverage visualization"),d(),u(9,"div",6),l(10,"\xA0"),d(),u(11,"div",7)(12,"p")(13,"i"),l(14,"ReportGenerator"),d(),l(15," converts "),u(16,"span",8),l(17,"coverage reports"),d(),l(18," generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into "),u(19,"span",8),l(20,"human readable reports in various formats"),d(),l(21,"."),d(),u(22,"p"),l(23,"The reports show the "),u(24,"span",8),l(25,"coverage quotas"),d(),l(26," and also visualize which lines of your source code have been covered."),d(),u(27,"p")(28,"a",9),p(29,"i",10),l(30," Browse example report"),d()()()()(),u(31,"div",11)(32,"div",12)(33,"div",13),p(34,"i",14),d(),u(35,"span",15),l(36,"Open source"),d(),u(37,"p",16)(38,"i"),l(39,"ReportGenerator"),d(),l(40," is open source under the permissive Apache License."),d(),u(41,"p"),l(42,"It's free to use."),p(43,"br"),l(44,"The "),u(45,"a",17),l(46,"PRO"),d(),l(47," version offers additional features."),d()(),u(48,"div",18)(49,"div",13),p(50,"i",19),d(),u(51,"span",15),l(52,"Easy to use"),d(),u(53,"p",16)(54,"i"),l(55,"ReportGenerator"),d(),l(56," is a command line tool which only requires a "),u(57,"a",17),l(58,"few parameters"),d(),l(59,"."),d(),u(60,"p"),l(61,"The more advanced settings are documented in the "),u(62,"a",20),l(63,"wiki"),d(),l(64,"."),d(),u(65,"p")(66,"a",21),l(67,"Integration"),d(),l(68," into your build pipeline will only take a couple of minutes."),d()(),u(69,"div",18)(70,"div",13),p(71,"i",22),d(),u(72,"span",15),l(73,"Integration"),d(),u(74,"p",16)(75,"i"),l(76,"ReportGenerator"),d(),l(77," works on Windows, Linux and macOS."),d(),u(78,"p"),l(79,"Support for "),u(80,"a",23),l(81,"GitHub actions"),d(),l(82," and "),u(83,"a",24),l(84,"Azure DevOps"),d(),l(85," is available."),d()()(),u(86,"div",11)(87,"div",25)(88,"a",26),p(89,"i",27),l(90," Learn how to use"),d(),u(91,"a",28),p(92,"i",29),l(93," GitHub"),d()()()(),p(94,"app-testimonials"),u(95,"section",30)(96,"div",0)(97,"h2"),l(98,"Screenshots"),d(),u(99,"p"),l(100,"The screenshots show two snippets of the generated code coverage reports."),d(),u(101,"p"),l(102," Have a look the "),u(103,"a",17),l(104,"features page"),d(),l(105," to explore the elements in a coverage report or "),u(106,"a",31),l(107,"browse the example report"),d(),l(108,". "),p(109,"br"),l(110," You can also download "),u(111,"a",32),l(112,"sample reports"),d(),l(113," of all supported output formats."),d(),u(114,"div",1)(115,"div",33)(116,"a",34),p(117,"img",35),d()(),u(118,"div",36)(119,"a",37),p(120,"img",38),d()()()()()),i&2&&(g(45),C("routerLink",H(4,sS)),g(12),C("routerLink",H(5,aS)),g(31),C("routerLink",H(6,lS)),g(15),C("routerLink",H(7,cS)))},dependencies:[Ne,Za],styles:[".h5[_ngcontent-%COMP%]{font-weight:300}section[_ngcontent-%COMP%]:first-of-type{padding-top:120px;min-height:calc(100vh - 171px)}.icon[_ngcontent-%COMP%]{background-color:#2e89df;background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%);height:50px;width:50px;border-radius:8px;text-align:center;color:#fff;line-height:50px;font-size:1.5rem;display:inline-block}@media (max-width: 767px){section[_ngcontent-%COMP%]:first-of-type{padding-top:40px}}"]});let t=e;return t})();var G0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=le({type:e,selectors:[["app-not-found"]],standalone:!0,features:[ce],decls:5,vars:0,consts:[[1,"container"],[1,"mb-4"],[1,"fa-solid","fa-triangle-exclamation","fs-1","me-4"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),l(2,"Not found"),d(),p(3,"i",2),l(4,` The requested page does not exist. `),d())}});let t=e;return t})();var z0=(()=>{let e=class e{constructor(n){this.elementRef=n}ngAfterViewInit(){let n=this.elementRef.nativeElement;this.tooltip=new bootstrap.Tooltip(n);let i=n.setAttribute;n.setAttribute=(o,s)=>{o==="data-bs-title"&&this.tooltip.setContent({".tooltip-inner":s}),i.call(n,o,s)}}ngOnDestroy(){this.tooltip.dispose()}};e.\u0275fac=function(i){return new(i||e)(S(_e))},e.\u0275dir=ie({type:e,selectors:[["","bootstraptooltip",""]],standalone:!0});let t=e;return t})();var po=class{constructor(){this.error=null,this.licenses=[]}};var Ya=class{constructor(){this.error=null,this.isSponsor=!1,this.license=null}};var Qa=(()=>{let e=class e{initCodeFlow(){let n=this.createAndSaveNonce(),i=ee.scope!==null?`&scope=${ee.scope}`:"",o=`${ee.loginUrl}?response_type=code&client_id=${ee.clientId}&state=${n}&redirect_uri=${window.location.origin}${ee.redirectUri}${i}`;console.log("Redirecting to: "+o),location.href=o}validateStateAndExtractCode(){let n=location.href,i=n.indexOf("?");i>-1&&(n=n.substring(i+1));let o=this.parseQueryString(n);return!o.state||!o.code?null:this.validateNonce(o.state)?o.code:null}createAndSaveNonce(){let n=this.createNonce();return typeof window.localStorage<"u"&&localStorage.setItem("nonce",n),n}validateNonce(n){let i;return typeof window.localStorage<"u"&&(i=localStorage.getItem("nonce"),localStorage.removeItem("nonce")),!i||i.length===0?(console.error("Validating nonce failed. No saved nonce available.",i,n),!1):i!==n?(console.error("Validating nonce failed. Values do not match.",i,n),!1):!0}createNonce(){let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",i=45,o="",s=typeof self>"u"?null:self.crypto||self.msCrypto;if(s){let c=new Uint8Array(i);s.getRandomValues(c),c.map||(c.map=Array.prototype.map);let f=[];for(var a=0;a0&&(h=decodeURIComponent(c),m=decodeURIComponent(f),h.substring(0,1)==="/"&&(h=h.substring(1)),i[h]=m);return i}base64UrlEncode(n){return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var W0=(()=>{let e=class e{constructor(){this.isActive=!1,this.isActive=new Date["/features"],$d=()=>["/contact"],Z0=t=>({active:t});function fS(t,e){if(t&1){let r=te();u(0,"span",79)(1,"span",80),A("click",function(){x(r);let i=w();return I(i.lifetimeLicense=!1)}),p(2,"i",81),l(3," Annual subscription"),d(),u(4,"span",80),A("click",function(){x(r);let i=w();return I(i.lifetimeLicense=!0)}),p(5,"i",82),l(6," Lifetime license"),d()()}if(t&2){let r=w();g(),C("ngClass",Kn(2,Z0,!r.lifetimeLicense)),g(3),C("ngClass",Kn(4,Z0,r.lifetimeLicense))}}function hS(t,e){if(t&1){let r=te();u(0,"button",103),A("click",function(){x(r);let i=w(2);return I(i.requestTrial())}),p(1,"i",33),l(2," Start trial"),d()}if(t&2){let r=w(2);C("disabled",r.trialDisabled)}}function pS(t,e){t&1&&(u(0,"button",104),l(1,"Coming soon"),d())}function mS(t,e){if(t&1){let r=te();l(0," + VAT "),u(1,"a",105),A("click",function(){x(r);let i=w(2);return I(i.handleTooltipClick())}),p(2,"i",106),d()}if(t&2){let r=w(2);g(),Ze("data-bs-title",r.getPriceTooltip(r.paddleIndividualLifetimeLicensePriceDetails,r.paddleIndividualLicensePriceDetails))}}function gS(t,e){t&1&&(Le(0),p(1,"i",81),l(2," Annual subscription"),Ve())}function vS(t,e){t&1&&(Le(0),p(1,"i",82),l(2," Lifetime license"),Ve())}function yS(t,e){if(t&1){let r=te();u(0,"button",107),A("click",function(){x(r);let i=w(2);return I(i.openPaddleCheckout("individual"))}),p(1,"i",108),l(2," Buy now"),d()}}function CS(t,e){t&1&&(u(0,"button",104),l(1,"Coming soon"),d())}function DS(t,e){if(t&1){let r=te();l(0," + VAT "),u(1,"a",105),A("click",function(){x(r);let i=w(2);return I(i.handleTooltipClick())}),p(2,"i",106),d()}if(t&2){let r=w(2);g(),Ze("data-bs-title",r.getPriceTooltip(r.paddleTeamLifetimeLicensePriceDetails,r.paddleTeamLicensePriceDetails))}}function wS(t,e){t&1&&(Le(0),p(1,"i",81),l(2," Annual subscription"),Ve())}function bS(t,e){t&1&&(Le(0),p(1,"i",82),l(2," Lifetime license"),Ve())}function ES(t,e){if(t&1){let r=te();u(0,"button",107),A("click",function(){x(r);let i=w(2);return I(i.openPaddleCheckout("team"))}),p(1,"i",108),l(2," Buy now"),d()}}function _S(t,e){t&1&&(u(0,"button",104),l(1,"Coming soon"),d())}function xS(t,e){if(t&1){let r=te();l(0," + VAT "),u(1,"a",105),A("click",function(){x(r);let i=w(2);return I(i.handleTooltipClick())}),p(2,"i",106),d()}if(t&2){let r=w(2);g(),Ze("data-bs-title",r.getPriceTooltip(r.paddleEnterpriseLifetimeLicensePriceDetails,r.paddleEnterpriseLicensePriceDetails))}}function IS(t,e){t&1&&(Le(0),p(1,"i",81),l(2," Annual subscription"),Ve())}function SS(t,e){t&1&&(Le(0),p(1,"i",82),l(2," Lifetime license"),Ve())}function MS(t,e){if(t&1){let r=te();u(0,"button",107),A("click",function(){x(r);let i=w(2);return I(i.openPaddleCheckout("enterprise"))}),p(1,"i",108),l(2," Buy now"),d()}}function TS(t,e){t&1&&(u(0,"button",104),l(1,"Coming soon"),d())}function AS(t,e){if(t&1&&(u(0,"div",3)(1,"div",83)(2,"div",84),p(3,"img",85),u(4,"h4",86),l(5,"Free"),p(6,"br"),l(7,"Trial"),d(),u(8,"p"),p(9,"i",87),l(10," Get full access"),p(11,"br")(12,"i",88),l(13," 10 day trial period "),d(),P(14,hS,3,1,"button",89)(15,pS,2,0,"button",90),d()(),u(16,"div",91)(17,"div",92),p(18,"img",93),u(19,"h4",86),l(20,"Individual"),p(21,"br"),l(22),P(23,mS,3,1,"a",94),d(),u(24,"p"),p(25,"i",95),l(26," Per developer license."),p(27,"br"),P(28,gS,3,0,"ng-container",26)(29,vS,3,0,"ng-container",26),d(),P(30,yS,3,0,"button",96)(31,CS,2,0,"button",90),d()(),u(32,"div",97)(33,"div",92),p(34,"img",98),u(35,"h4",86),l(36,"Team"),p(37,"br"),l(38),P(39,DS,3,1,"a",94),d(),u(40,"p"),p(41,"i",99),l(42," Up to 10 developers."),p(43,"br"),P(44,wS,3,0,"ng-container",26)(45,bS,3,0,"ng-container",26),d(),P(46,ES,3,0,"button",96)(47,_S,2,0,"button",90),d()(),u(48,"div",100)(49,"div",92),p(50,"img",101),u(51,"h4",86),l(52,"Enterprise"),p(53,"br"),l(54),P(55,xS,3,1,"a",94),d(),u(56,"p"),p(57,"i",102),l(58," Unlimited developers."),p(59,"br"),P(60,IS,3,0,"ng-container",26)(61,SS,3,0,"ng-container",26),d(),P(62,MS,3,0,"button",96)(63,TS,2,0,"button",90),d()()()),t&2){let r=w();g(14),C("ngIf",r.enablePaddle),g(),C("ngIf",!r.enablePaddle),g(7),je("",r.lifetimeLicense?r.paddleIndividualLifetimeLicensePrice:r.paddleIndividualLicensePrice," "),g(),gt(r.includeVatInPrice?-1:23),g(5),C("ngIf",!r.lifetimeLicense),g(),C("ngIf",r.lifetimeLicense),g(),C("ngIf",r.enablePaddle),g(),C("ngIf",!r.enablePaddle),g(7),je("",r.lifetimeLicense?r.paddleTeamLifetimeLicensePrice:r.paddleTeamLicensePrice," "),g(),gt(r.includeVatInPrice?-1:39),g(5),C("ngIf",!r.lifetimeLicense),g(),C("ngIf",r.lifetimeLicense),g(),C("ngIf",r.enablePaddle),g(),C("ngIf",!r.enablePaddle),g(7),je("",r.lifetimeLicense?r.paddleEnterpriseLifetimeLicensePrice:r.paddleEnterpriseLicensePrice," "),g(),gt(r.includeVatInPrice?-1:55),g(5),C("ngIf",!r.lifetimeLicense),g(),C("ngIf",r.lifetimeLicense),g(),C("ngIf",r.enablePaddle),g(),C("ngIf",!r.enablePaddle)}}function NS(t,e){t&1&&(u(0,"div",110)(1,"div",111)(2,"span",112),l(3,"Loading..."),d()(),u(4,"span",113),l(5,"Your license is being generated. Please wait."),d()())}function RS(t,e){if(t&1&&(u(0,"div")(1,"p"),l(2),d(),u(3,"p"),l(4,"Please try again later or use the "),u(5,"a",20),l(6," contact form"),d(),l(7,"."),d()()),t&2){let r=w(3);g(2),pe(r.paddleLicense.error),g(3),C("routerLink",H(2,$d))}}function OS(t,e){t&1&&(u(0,"span"),p(1,"i",119),l(2," Copy"),d())}function kS(t,e){t&1&&(u(0,"span"),p(1,"i",120),l(2," Copied"),d())}function PS(t,e){if(t&1){let r=te();u(0,"div",116)(1,"textarea",117),l(2),d(),u(3,"button",118),A("click",function(){let i=x(r).$implicit,o=w(4);return I(o.copyPaddle(i))}),P(4,OS,3,0,"span",26)(5,kS,3,0,"span",26),d()()}if(t&2){let r=e.$implicit,n=w(4);g(2),pe(r),g(2),C("ngIf",n.copiedPaddledLicenses.indexOf(r)===-1),g(),C("ngIf",n.copiedPaddledLicenses.indexOf(r)>-1)}}function FS(t,e){if(t&1&&(u(0,"div")(1,"label",114),l(2,"Thank you! Please save your license key persistently:"),d(),P(3,PS,6,3,"div",115),d()),t&2){let r=w(3);g(3),C("ngForOf",r.paddleLicense.licenses)}}function LS(t,e){if(t&1&&(u(0,"div",110),P(1,RS,8,3,"div",26)(2,FS,4,1,"div",26),d()),t&2){let r=w(2);g(),C("ngIf",r.paddleLicense.error),g(),C("ngIf",!r.paddleLicense.error)}}function VS(t,e){if(t&1&&(u(0,"div",3),P(1,NS,6,0,"div",109)(2,LS,3,2,"div",109),d()),t&2){let r=w();g(),C("ngIf",r.paddleLicenseRequested&&!r.paddleLicense),g(),C("ngIf",r.paddleLicense)}}function jS(t,e){t&1&&(u(0,"p")(1,"i"),l(2,"ReportGenerator"),d(),l(3," subscription based licences are provided with a 30 day money back guarantee."),d())}function US(t,e){t&1&&(u(0,"div",111)(1,"span",112),l(2,"Loading..."),d()())}function BS(t,e){t&1&&(u(0,"div",121),p(1,"i",122),d())}function $S(t,e){if(t&1&&(u(0,"div")(1,"p"),l(2),d(),u(3,"p"),l(4,"Please try again later or use the "),u(5,"a",20),l(6," contact form"),d(),l(7,"."),d()()),t&2){let r=w(2);g(2),pe(r.license.error),g(3),C("routerLink",H(2,$d))}}function HS(t,e){t&1&&(u(0,"div")(1,"p"),l(2,"Please become a "),u(3,"a",123),l(4,"GitHub sponsor"),d(),l(5," first."),d()())}function qS(t,e){t&1&&(u(0,"span"),p(1,"i",119),l(2," Copy"),d())}function GS(t,e){t&1&&(u(0,"span"),p(1,"i",120),l(2," Copied"),d())}function zS(t,e){if(t&1){let r=te();u(0,"div")(1,"label",124),l(2,"Thank you for becoming a sponsor. Here's your license:"),d(),u(3,"textarea",125),l(4),d(),u(5,"button",118),A("click",function(){x(r);let i=w(2);return I(i.copy())}),P(6,qS,3,0,"span",26)(7,GS,3,0,"span",26),d()()}if(t&2){let r=w(2);g(4),pe(r.license.license),g(2),C("ngIf",!r.licenseCopied),g(),C("ngIf",r.licenseCopied)}}function WS(t,e){if(t&1&&(u(0,"div",28),P(1,$S,8,3,"div",26)(2,HS,6,0,"div",26)(3,zS,8,3,"div",26),d()),t&2){let r=w();g(),C("ngIf",r.license.error),g(),C("ngIf",!r.license.error&&!r.license.isSponsor),g(),C("ngIf",!r.license.error&&r.license.isSponsor&&r.license.license)}}var Y0=(()=>{let e=class e{get lifetimeLicense(){return this._lifetimeLicense}set lifetimeLicense(n){this._lifetimeLicense=n,this.lifetimeLicenseChangeTracked||(this.lifetimeLicenseChangeTracked=!0,this.trackingService.track("Licensetype changed"))}constructor(n,i,o){this.oauthService=n,this.licenseService=i,this.trackingService=o,this.paddleIndividualLicensePrice=Dt.paddleIndividualLicensePrice,this.paddleTeamLicensePrice=Dt.paddleTeamLicensePrice,this.paddleEnterpriseLicensePrice=Dt.paddleEnterpriseLicensePrice,this.paddleIndividualLifetimeLicensePrice=Dt.paddleIndividualLifetimeLicensePrice,this.paddleTeamLifetimeLicensePrice=Dt.paddleTeamLifetimeLicensePrice,this.paddleEnterpriseLifetimeLicensePrice=Dt.paddleEnterpriseLifetimeLicensePrice,this.paddleIndividualLicensePriceDetails=null,this.paddleTeamLicensePriceDetails=null,this.paddleEnterpriseLicensePriceDetails=null,this.paddleIndividualLifetimeLicensePriceDetails=null,this.paddleTeamLifetimeLicensePriceDetails=null,this.paddleEnterpriseLifetimeLicensePriceDetails=null,this.licenseRequested=!1,this.licenseCopied=!1,this.license=null,this.enablePaddle=!0,this.trialDisabled=!1,this.includeVatInPrice=!0,this.requestTrialData={name:"",email:""},this.paddleLicenseRequested=!1,this.paddleLicense=null,this.copiedPaddledLicenses=[],this.self=this,this.lifetimeLicenseChangeTracked=!1,this._lifetimeLicense=!0,window.paddleCheckoutComplete=s=>{this.paddleCheckoutComplete(s)},ee.paddleEnvironment&&(window.Paddle.Environment.set(ee.paddleEnvironment),console.log("Paddle environment: "+ee.paddleEnvironment)),window.Paddle.Setup({vendor:ee.paddleVendorId}),window.Paddle.Product.Prices(ee.paddleIndividualLicense,s=>{this.paddleIndividualLicensePriceDetails=s.recurring.price,this.paddleIndividualLicensePrice=this.includeVatInPrice?s.recurring.price.gross:s.recurring.price.net}),window.Paddle.Product.Prices(ee.paddleTeamLicense,s=>{this.paddleTeamLicensePriceDetails=s.recurring.price,this.paddleTeamLicensePrice=this.includeVatInPrice?s.recurring.price.gross:s.recurring.price.net}),window.Paddle.Product.Prices(ee.paddleEnterpriseLicense,s=>{this.paddleEnterpriseLicensePriceDetails=s.recurring.price,this.paddleEnterpriseLicensePrice=this.includeVatInPrice?s.recurring.price.gross:s.recurring.price.net}),window.Paddle.Product.Prices(ee.paddleIndividualLifetimeLicense,s=>{this.paddleIndividualLifetimeLicensePriceDetails=s.price,this.paddleIndividualLifetimeLicensePrice=this.includeVatInPrice?s.price.gross:s.price.net}),window.Paddle.Product.Prices(ee.paddleTeamLifetimeLicense,s=>{this.paddleTeamLifetimeLicensePriceDetails=s.price,this.paddleTeamLifetimeLicensePrice=this.includeVatInPrice?s.price.gross:s.price.net}),window.Paddle.Product.Prices(ee.paddleEnterpriseLifetimeLicense,s=>{this.paddleEnterpriseLifetimeLicensePriceDetails=s.price,this.paddleEnterpriseLifetimeLicensePrice=this.includeVatInPrice?s.price.gross:s.price.net})}ngOnInit(){let n=this.oauthService.validateStateAndExtractCode();n!==null?(console.log("Code received",n),this.licenseRequested=!0,this.licenseService.getLicense(n).subscribe({next:i=>{console.log("Received license response"),this.license=i,this.scrollToGithub()},error:i=>{console.error(i),this.license=new Ya,this.license.error="Unable to generate license.",this.scrollToGithub()},complete:()=>console.info("complete")})):console.log("No code available"),location.href.indexOf("?source=trial")>-1&&this.trackingService.track("Trial2Pro"),this.requestTrialModal=new window.bootstrap.Modal("#requestTrialModal");try{this.trialDisabled=window.localStorage.getItem("trialRequested")!==null}catch{}}requestLicense(){this.licenseRequested=!0,this.oauthService.initCodeFlow()}copy(){try{navigator.clipboard.writeText(this.license.license),this.licenseCopied=!0}catch(n){console.error("Failed to copy license",n)}}copyPaddle(n){try{navigator.clipboard.writeText(n),this.copiedPaddledLicenses.push(n)}catch(i){console.error("Failed to copy paddle license",i)}}scrollToGithub(){return document.querySelector("#github").scrollIntoView(!0),!1}scrollToPaddle(){return document.querySelector("#paddle").scrollIntoView(!0),!1}requestTrial(){this.requestTrialModal.show(),this.trackingService.track("Trial-Started")}completeTrial(){console.log("Trial completed"),this.requestTrialModal.hide(),this.paddleLicenseRequested=!0,this.licenseService.getTrialLicense(this.requestTrialData).subscribe({next:n=>{console.log("Received trial license response"),this.paddleLicense=n,this.scrollToPaddle();try{window.localStorage.setItem("trialRequested","true"),this.trialDisabled=!0}catch{}this.trackingService.track("Trial-Completed")},error:n=>{console.error(n),this.paddleLicense=new po,this.paddleLicense.error="Unable to generate trial license."},complete:()=>{console.info("complete"),this.requestTrialData={name:"",email:""}}})}openPaddleCheckout(n){n==="enterprise"?window.Paddle.Checkout.open({product:this.lifetimeLicense?ee.paddleEnterpriseLifetimeLicense:ee.paddleEnterpriseLicense,successCallback:"paddleCheckoutComplete"}):n==="team"?window.Paddle.Checkout.open({product:this.lifetimeLicense?ee.paddleTeamLifetimeLicense:ee.paddleTeamLicense,successCallback:"paddleCheckoutComplete"}):window.Paddle.Checkout.open({product:this.lifetimeLicense?ee.paddleIndividualLifetimeLicense:ee.paddleIndividualLicense,successCallback:"paddleCheckoutComplete"}),this.trackingService.track("Paddle-Started",{props:{product:n,lifetimeLicense:this.lifetimeLicense}})}paddleCheckoutComplete(n){console.log("Checkout completed",n),this.paddleLicenseRequested=!0,this.licenseService.getPaddleLicense(n).subscribe({next:i=>{console.log("Received paddle license response"),this.paddleLicense=i,this.scrollToPaddle(),this.trackingService.track("Paddle-Completed",{props:{product:n.product.name,lifetimeLicense:this.lifetimeLicense}})},error:i=>{console.error(i),this.paddleLicense=new po,this.paddleLicense.error="Unable to generate Paddle license."},complete:()=>console.info("complete")})}getPriceTooltip(n,i){return this.lifetimeLicense&&n?`Net: ${n.net}
VAT/Tax: ${n.tax}
Gross/Total: ${n.gross}`:!this.lifetimeLicense&&i?`Net: ${i.net}
diff --git a/docs/pro.html b/docs/pro.html index a3a55c67..fd9a5091 100644 --- a/docs/pro.html +++ b/docs/pro.html @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/docs/usage.html b/docs/usage.html index 365083f1..8c598d4d 100644 --- a/docs/usage.html +++ b/docs/usage.html @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/src/AngularComponents/package-lock.json b/src/AngularComponents/package-lock.json index 8ed6f87b..9a0ac743 100644 --- a/src/AngularComponents/package-lock.json +++ b/src/AngularComponents/package-lock.json @@ -9,22 +9,22 @@ "version": "0.0.0", "dependencies": { "@angular-slider/ngx-slider": "^18.0.0", - "@angular/animations": "^18.2.10", - "@angular/common": "^18.2.10", - "@angular/compiler": "^18.2.10", - "@angular/core": "^18.2.10", - "@angular/forms": "^18.2.10", - "@angular/platform-browser": "^18.2.10", - "@angular/platform-browser-dynamic": "^18.2.10", - "@angular/router": "^18.2.10", + "@angular/animations": "^18.2.12", + "@angular/common": "^18.2.12", + "@angular/compiler": "^18.2.12", + "@angular/core": "^18.2.12", + "@angular/forms": "^18.2.12", + "@angular/platform-browser": "^18.2.12", + "@angular/platform-browser-dynamic": "^18.2.12", + "@angular/router": "^18.2.12", "rxjs": "~7.8.1", "tslib": "^2.6.3", "zone.js": "~0.14.10" }, "devDependencies": { - "@angular-devkit/build-angular": "^18.2.11", - "@angular/cli": "^18.2.11", - "@angular/compiler-cli": "^18.2.10", + "@angular-devkit/build-angular": "^18.2.12", + "@angular/cli": "^18.2.12", + "@angular/compiler-cli": "^18.2.12", "@types/node": "^12.11.1", "typescript": "~5.5.3" } @@ -43,13 +43,13 @@ } }, "node_modules/@angular-devkit/architect": { - "version": "0.1802.11", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.11.tgz", - "integrity": "sha512-p+XIc/j51aI83ExNdeZwvkm1F4wkuKMGUUoj0MVUUi5E6NoiMlXYm6uU8+HbRvPBzGy5+3KOiGp3Fks0UmDSAA==", + "version": "0.1802.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.12.tgz", + "integrity": "sha512-bepVb2/GtJppYKaeW8yTGE6egmoWZ7zagFDsmBdbF+BYp+HmeoPsclARcdryBPVq68zedyTRdvhWSUTbw1AYuw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.2.11", + "@angular-devkit/core": "18.2.12", "rxjs": "7.8.1" }, "engines": { @@ -59,17 +59,17 @@ } }, "node_modules/@angular-devkit/build-angular": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.11.tgz", - "integrity": "sha512-09Ln3NAdlMw/wMLgnwYU5VgWV5TPBEHolZUIvE9D8b6SFWBCowk3B3RWeAMgg7Peuf9SKwqQHBz2b1C7RTP/8g==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.12.tgz", + "integrity": "sha512-quVUi7eqTq9OHumQFNl9Y8t2opm8miu4rlYnuF6rbujmmBDvdUvR6trFChueRczl2p5HWqTOr6NPoDGQm8AyNw==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.11", - "@angular-devkit/build-webpack": "0.1802.11", - "@angular-devkit/core": "18.2.11", - "@angular/build": "18.2.11", + "@angular-devkit/architect": "0.1802.12", + "@angular-devkit/build-webpack": "0.1802.12", + "@angular-devkit/core": "18.2.12", + "@angular/build": "18.2.12", "@babel/core": "7.25.2", "@babel/generator": "7.25.0", "@babel/helper-annotate-as-pure": "7.24.7", @@ -80,7 +80,7 @@ "@babel/preset-env": "7.25.3", "@babel/runtime": "7.25.0", "@discoveryjs/json-ext": "0.6.1", - "@ngtools/webpack": "18.2.11", + "@ngtools/webpack": "18.2.12", "@vitejs/plugin-basic-ssl": "1.1.0", "ansi-colors": "4.1.3", "autoprefixer": "10.4.20", @@ -763,13 +763,13 @@ } }, "node_modules/@angular-devkit/build-webpack": { - "version": "0.1802.11", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.11.tgz", - "integrity": "sha512-G76rNsyn1iQk7qjyr+K4rnDzfalmEswmwXQorypSDGaHYzIDY1SZXMoP4225WMq5fJNBOJrk82FA0PSfnPE+zQ==", + "version": "0.1802.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.12.tgz", + "integrity": "sha512-0Z3fdbZVRnjYWE2/VYyfy+uieY+6YZyEp4ylzklVkc+fmLNsnz4Zw6cK1LzzcBqAwKIyh1IdW20Cg7o8b0sONA==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.1802.11", + "@angular-devkit/architect": "0.1802.12", "rxjs": "7.8.1" }, "engines": { @@ -783,9 +783,9 @@ } }, "node_modules/@angular-devkit/core": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.11.tgz", - "integrity": "sha512-H9P1shRGigORWJHUY2BRa2YurT+DVminrhuaYHsbhXBRsPmgB2Dx/30YLTnC1s5XmR9QIRUCsg/d3kyT1wd5Zg==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.12.tgz", + "integrity": "sha512-NtB6ypsaDyPE6/fqWOdfTmACs+yK5RqfH5tStEzWFeeDsIEDYKsJ06ypuRep7qTjYus5Rmttk0Ds+cFgz8JdUQ==", "dev": true, "license": "MIT", "dependencies": { @@ -842,13 +842,13 @@ } }, "node_modules/@angular-devkit/schematics": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.11.tgz", - "integrity": "sha512-efRK3FotTFp4KD5u42jWfXpHUALXB9kJNsWiB4wEImKFH6CN+vjBspJQuLqk2oeBFh/7D2qRMc5P+2tZHM5hdw==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.12.tgz", + "integrity": "sha512-mMea9txHbnCX5lXLHlo0RAgfhFHDio45/jMsREM2PA8UtVf2S8ltXz7ZwUrUyMQRv8vaSfn4ijDstF4hDMnRgQ==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.2.11", + "@angular-devkit/core": "18.2.12", "jsonc-parser": "3.3.1", "magic-string": "0.30.11", "ora": "5.4.1", @@ -877,9 +877,9 @@ } }, "node_modules/@angular/animations": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.10.tgz", - "integrity": "sha512-LT5+CocFZJ4t5jXsXLx5w/sBuWSxOEjmNTYga13usRcLOblrAB902pjUdFCHEZyrCUgm4MH8vov9fMS+Ks2GCw==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.12.tgz", + "integrity": "sha512-XcWH/VFQ1Rddhdqi/iU8lW3Qg96yVx1NPfrO5lhcSSvVUzYWTZ5r+jh3GqYqUgPWyEp1Kpw3FLsOgVcGcBWQkQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -888,18 +888,18 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.2.10" + "@angular/core": "18.2.12" } }, "node_modules/@angular/build": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.11.tgz", - "integrity": "sha512-AgirvSCmqUKiDE3C0rl3JA68OkOqQWDKUvjqRHXCkhxldLVOVoeIl87+jBYK/v9gcmk+K+ju+5wbGEfu1FjhiQ==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.12.tgz", + "integrity": "sha512-4Ohz+OSILoL+cCAQ4UTiCT5v6pctu3fXNoNpTEUK46OmxELk9jDITO5rNyNS7TxBn9wY69kjX5VcDf7MenquFQ==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.11", + "@angular-devkit/architect": "0.1802.12", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -1352,9 +1352,9 @@ } }, "node_modules/@angular/build/node_modules/@types/node": { - "version": "22.8.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.6.tgz", - "integrity": "sha512-tosuJYKrIqjQIlVCM4PEGxOmyg3FCPa/fViuJChnGeEIhjA46oy8FMVoF9su1/v8PNs2a8Q0iFNyOx0uOF91nw==", + "version": "22.9.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", + "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", "dev": true, "license": "MIT", "optional": true, @@ -1516,9 +1516,9 @@ } }, "node_modules/@angular/build/node_modules/vite/node_modules/postcss": { - "version": "8.4.47", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", - "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "version": "8.4.49", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", "dev": true, "funding": [ { @@ -1537,7 +1537,7 @@ "license": "MIT", "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.1.0", + "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, "engines": { @@ -1545,18 +1545,18 @@ } }, "node_modules/@angular/cli": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.11.tgz", - "integrity": "sha512-0JI1xjOLRemBPjdT/yVlabxc3Zkjqa/lhvVxxVC1XhKoW7yGxIGwNrQ4pka4CcQtCuktO6KPMmTGIu8YgC3cpw==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.12.tgz", + "integrity": "sha512-xhuZ/b7IhqNw1MgXf+arWf4x+GfUSt/IwbdWU4+CO8A7h0Y46zQywouP/KUK3cMQZfVdHdciTBvlpF3vFacA6Q==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.1802.11", - "@angular-devkit/core": "18.2.11", - "@angular-devkit/schematics": "18.2.11", + "@angular-devkit/architect": "0.1802.12", + "@angular-devkit/core": "18.2.12", + "@angular-devkit/schematics": "18.2.12", "@inquirer/prompts": "5.3.8", "@listr2/prompt-adapter-inquirer": "2.0.15", - "@schematics/angular": "18.2.11", + "@schematics/angular": "18.2.12", "@yarnpkg/lockfile": "1.1.0", "ini": "4.1.3", "jsonc-parser": "3.3.1", @@ -1579,9 +1579,9 @@ } }, "node_modules/@angular/common": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.10.tgz", - "integrity": "sha512-YzTCmuqLiOuT+Yv07vuKymDWiebOVZ8BuXakJiz4EM7FMoOw5gICHJ04jepZSjDNWpA16e7kJSdt5ucnmvCFDQ==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.12.tgz", + "integrity": "sha512-gI5o8Bccsi8ow8Wk2vG4Tw/Rw9LoHEA9j8+qHKNR/55SCBsz68Syg310dSyxy+sApJO2WiqIadr5VP36dlSUFw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1590,14 +1590,14 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.2.10", + "@angular/core": "18.2.12", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.10.tgz", - "integrity": "sha512-cu+Uq1nnyl00Glg0+2uvm+Xpaq5b4YvWpaLGGtit7uGETAJ4L/frlBVeaTRhEoaIAGBI+RRlyuFLae+etQDA0w==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.12.tgz", + "integrity": "sha512-D5d5dLrjQal5DbAXJJNSsCC3UxzjOI2wbc+Iv+LOpRM1gpNwuYfZMX5W7cj62Ce4G2++78CJSppdKBp8D4HErQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1606,7 +1606,7 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.2.10" + "@angular/core": "18.2.12" }, "peerDependenciesMeta": { "@angular/core": { @@ -1615,9 +1615,9 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.10.tgz", - "integrity": "sha512-CNFStKWMB89MFKAZZFUOhoQi+fHqRLgNOOrI73LjizXixvngEh3BDZJRtK9hbSGG+giujBrummEA60CWAw69MA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.12.tgz", + "integrity": "sha512-IWimTNq5Q+i2Wxev6HLqnN4iYbPvLz04W1BBycT1LfGUsHcjFYLuUqbeUzHbk2snmBAzXkixgVpo8SF6P4Y5Pg==", "dev": true, "license": "MIT", "dependencies": { @@ -1639,7 +1639,7 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/compiler": "18.2.10", + "@angular/compiler": "18.2.12", "typescript": ">=5.4 <5.6" } }, @@ -1674,9 +1674,9 @@ } }, "node_modules/@angular/core": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.10.tgz", - "integrity": "sha512-EfxVz0pLaxnOppOYkdhnaUkk8HZT+uxaAGpJD3ppAa7YAWTE9xIGoNJmtS33cZNNOnvriMkdv7yn6pDtV4ct+Q==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.12.tgz", + "integrity": "sha512-wCf/OObwS6bpM60rk6bpMpCRGp0DlMLB1WNAMtfcaPNyqimVV5Bm98mWRhkOuRyvU3fU7iHhM/10ePVaoyu9+A==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1690,9 +1690,9 @@ } }, "node_modules/@angular/forms": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.10.tgz", - "integrity": "sha512-2VprGB+enJIeqfz2oALmP/G/UiFzpZW6PHgyZXhk/0J/UMsa26JoYxwDFvfdm/WGTrB+VaQEG7in5xwiFPAFtQ==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.12.tgz", + "integrity": "sha512-FsukBJEU6jfAmht7TrODTkct/o4iwCZvGozuThOp0tYUPD/E1rZZzuKjEyTnT5Azpfkf0Wqx1nmpz80cczELOQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1701,16 +1701,16 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.10", - "@angular/core": "18.2.10", - "@angular/platform-browser": "18.2.10", + "@angular/common": "18.2.12", + "@angular/core": "18.2.12", + "@angular/platform-browser": "18.2.12", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/platform-browser": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.10.tgz", - "integrity": "sha512-zKyRKFr3AaEA4SE/DEeb5FWHJutT26avHZog6ZGDkMeMN12zMtSqjPuTSgmDXCWleoOkzbb+nhAQ+fK/EyGyPA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.12.tgz", + "integrity": "sha512-DRSMznuxuecrs+v5BRyd60/R4vjkQtuYUEPfzdo+rqxM83Dmr3PGtnqPRgd5oAFUbATxf02hQXijRD27K7rZRg==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1719,9 +1719,9 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/animations": "18.2.10", - "@angular/common": "18.2.10", - "@angular/core": "18.2.10" + "@angular/animations": "18.2.12", + "@angular/common": "18.2.12", + "@angular/core": "18.2.12" }, "peerDependenciesMeta": { "@angular/animations": { @@ -1730,9 +1730,9 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.10.tgz", - "integrity": "sha512-syKyOTgfQnMxfpDRP1khTSPZ5dsMgA8YQwNF6KsB3eZQl15CKSka7bzjMOUWeZ8M3WShOp1AzTf0MfwNeh0UBA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.12.tgz", + "integrity": "sha512-dv1QEjYpcFno6+oUeGEDRWpB5g2Ufb0XkUbLJQIgrOk1Qbyzb8tmpDpTjok8jcKdquigMRWolr6Y1EOicfRlLw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1741,16 +1741,16 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.10", - "@angular/compiler": "18.2.10", - "@angular/core": "18.2.10", - "@angular/platform-browser": "18.2.10" + "@angular/common": "18.2.12", + "@angular/compiler": "18.2.12", + "@angular/core": "18.2.12", + "@angular/platform-browser": "18.2.12" } }, "node_modules/@angular/router": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.10.tgz", - "integrity": "sha512-ZqJgOGOfvW0epsc7pIo7DffZqYHo3O9aUCVepZAhOxqtjF/sfhX2fy+A0xopTIiR0eM3LrT823V+2hjlBHj+CA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.12.tgz", + "integrity": "sha512-cz/1YWOZadAT35PPPYmpK3HSzKOE56nlUHue5bFkw73VSZr2iBn03ALLpd9YKzWgRmx3y7DqnlQtCkDu9JPGKQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1759,9 +1759,9 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.10", - "@angular/core": "18.2.10", - "@angular/platform-browser": "18.2.10", + "@angular/common": "18.2.12", + "@angular/core": "18.2.12", + "@angular/platform-browser": "18.2.12", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -4786,9 +4786,9 @@ ] }, "node_modules/@ngtools/webpack": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.11.tgz", - "integrity": "sha512-iTdUGJ5O7yMm1DyCzyoMDMxBJ68emUSSXPWbQzEEdcqmtifRebn+VAq4vHN8OmtGM1mtuKeLEsbiZP8ywrw7Ug==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.12.tgz", + "integrity": "sha512-FFJAwtWbtpncMOVNuULPBwFJB7GSjiUwO93eGTzRp8O4EPQ8lCQeFbezQm/NP34+T0+GBLGzPSuQT+muob8YKw==", "dev": true, "license": "MIT", "engines": { @@ -5238,14 +5238,14 @@ ] }, "node_modules/@schematics/angular": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.11.tgz", - "integrity": "sha512-jT54mc9+hPOwie9bji/g2krVuK1kkNh2PNFGwfgCg3Ofmt3hcyOBai1DKuot5uLTX4VCCbvfwiVR/hJniQl2SA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.12.tgz", + "integrity": "sha512-sIoeipsisK5eTLW3XuNZYcal83AfslBbgI7LnV+3VrXwpasKPGHwo2ZdwhCd2IXAkuJ02Iyu7MyV0aQRM9i/3g==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.2.11", - "@angular-devkit/schematics": "18.2.11", + "@angular-devkit/core": "18.2.12", + "@angular-devkit/schematics": "18.2.12", "jsonc-parser": "3.3.1" }, "engines": { @@ -5516,9 +5516,9 @@ } }, "node_modules/@types/qs": { - "version": "6.9.16", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.16.tgz", - "integrity": "sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A==", + "version": "6.9.17", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.17.tgz", + "integrity": "sha512-rX4/bPcfmvxHDv0XjfJELTTr+iB+tn032nPILqHm5wbthUUUuVtNGGqzhya9XUxjTP8Fpr0qYgSZZKxGY++svQ==", "dev": true, "license": "MIT" }, @@ -5587,9 +5587,9 @@ "license": "MIT" }, "node_modules/@types/ws": { - "version": "8.5.12", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", - "integrity": "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==", + "version": "8.5.13", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.13.tgz", + "integrity": "sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==", "dev": true, "license": "MIT", "dependencies": { @@ -6240,9 +6240,9 @@ "license": "MIT" }, "node_modules/bonjour-service": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.2.1.tgz", - "integrity": "sha512-oSzCS2zV14bh2kji6vNe7vrpJYCHGvcZnlffFQ1MEoX/WOeQ/teD8SYWKR942OI3INjq8OMNJlbPK5LLLUxFDw==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.3.0.tgz", + "integrity": "sha512-3YuAUiSkWykd+2Azjgyxei8OWf8thdn8AITIog2M4UICzoqfjlqr64WIjEXZllf/W6vK1goqleSR6brGomxQqA==", "dev": true, "license": "MIT", "dependencies": { @@ -7051,9 +7051,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "license": "MIT", "dependencies": { @@ -10376,9 +10376,9 @@ } }, "node_modules/node-gyp-build": { - "version": "4.8.2", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.2.tgz", - "integrity": "sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", + "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", "dev": true, "license": "MIT", "optional": true, @@ -10588,9 +10588,9 @@ } }, "node_modules/object-inspect": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", - "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz", + "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==", "dev": true, "license": "MIT", "engines": { @@ -10758,9 +10758,9 @@ } }, "node_modules/ordered-binary": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/ordered-binary/-/ordered-binary-1.5.2.tgz", - "integrity": "sha512-JTo+4+4Fw7FreyAvlSLjb1BBVaxEQAacmjD3jjuyPZclpbEghTvQZbXBb2qPd2LeIMxiHwXBZUcpmG2Gl/mDEA==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/ordered-binary/-/ordered-binary-1.5.3.tgz", + "integrity": "sha512-oGFr3T+pYdTGJ+YFEILMpS3es+GiIbs9h/XQrclBXUtd44ey7XwfsMzM31f64I1SQOawDoDr/D823kNCADI8TA==", "dev": true, "license": "MIT" }, @@ -10823,9 +10823,9 @@ } }, "node_modules/p-retry": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-6.2.0.tgz", - "integrity": "sha512-JA6nkq6hKyWLLasXQXUrO4z8BUZGUt/LjlJxx8Gb2+2ntodU/SS63YZ8b0LUTbQ8ZB9iwOfhEPhg4ykKnn2KsA==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-6.2.1.tgz", + "integrity": "sha512-hEt02O4hUct5wtwg4H4KcWgDdm+l1bOaEy/hWzd8xtXB9BqxTWBBhb+2ImAtH4Cv4rPjV76xN3Zumqk3k3AhhQ==", "dev": true, "license": "MIT", "dependencies": { @@ -11052,9 +11052,9 @@ } }, "node_modules/picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, "license": "ISC" }, @@ -13675,26 +13675,26 @@ } }, "@angular-devkit/architect": { - "version": "0.1802.11", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.11.tgz", - "integrity": "sha512-p+XIc/j51aI83ExNdeZwvkm1F4wkuKMGUUoj0MVUUi5E6NoiMlXYm6uU8+HbRvPBzGy5+3KOiGp3Fks0UmDSAA==", + "version": "0.1802.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.12.tgz", + "integrity": "sha512-bepVb2/GtJppYKaeW8yTGE6egmoWZ7zagFDsmBdbF+BYp+HmeoPsclARcdryBPVq68zedyTRdvhWSUTbw1AYuw==", "dev": true, "requires": { - "@angular-devkit/core": "18.2.11", + "@angular-devkit/core": "18.2.12", "rxjs": "7.8.1" } }, "@angular-devkit/build-angular": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.11.tgz", - "integrity": "sha512-09Ln3NAdlMw/wMLgnwYU5VgWV5TPBEHolZUIvE9D8b6SFWBCowk3B3RWeAMgg7Peuf9SKwqQHBz2b1C7RTP/8g==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.12.tgz", + "integrity": "sha512-quVUi7eqTq9OHumQFNl9Y8t2opm8miu4rlYnuF6rbujmmBDvdUvR6trFChueRczl2p5HWqTOr6NPoDGQm8AyNw==", "dev": true, "requires": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.11", - "@angular-devkit/build-webpack": "0.1802.11", - "@angular-devkit/core": "18.2.11", - "@angular/build": "18.2.11", + "@angular-devkit/architect": "0.1802.12", + "@angular-devkit/build-webpack": "0.1802.12", + "@angular-devkit/core": "18.2.12", + "@angular/build": "18.2.12", "@babel/core": "7.25.2", "@babel/generator": "7.25.0", "@babel/helper-annotate-as-pure": "7.24.7", @@ -13705,7 +13705,7 @@ "@babel/preset-env": "7.25.3", "@babel/runtime": "7.25.0", "@discoveryjs/json-ext": "0.6.1", - "@ngtools/webpack": "18.2.11", + "@ngtools/webpack": "18.2.12", "@vitejs/plugin-basic-ssl": "1.1.0", "ansi-colors": "4.1.3", "autoprefixer": "10.4.20", @@ -14010,19 +14010,19 @@ } }, "@angular-devkit/build-webpack": { - "version": "0.1802.11", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.11.tgz", - "integrity": "sha512-G76rNsyn1iQk7qjyr+K4rnDzfalmEswmwXQorypSDGaHYzIDY1SZXMoP4225WMq5fJNBOJrk82FA0PSfnPE+zQ==", + "version": "0.1802.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.12.tgz", + "integrity": "sha512-0Z3fdbZVRnjYWE2/VYyfy+uieY+6YZyEp4ylzklVkc+fmLNsnz4Zw6cK1LzzcBqAwKIyh1IdW20Cg7o8b0sONA==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1802.11", + "@angular-devkit/architect": "0.1802.12", "rxjs": "7.8.1" } }, "@angular-devkit/core": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.11.tgz", - "integrity": "sha512-H9P1shRGigORWJHUY2BRa2YurT+DVminrhuaYHsbhXBRsPmgB2Dx/30YLTnC1s5XmR9QIRUCsg/d3kyT1wd5Zg==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.12.tgz", + "integrity": "sha512-NtB6ypsaDyPE6/fqWOdfTmACs+yK5RqfH5tStEzWFeeDsIEDYKsJ06ypuRep7qTjYus5Rmttk0Ds+cFgz8JdUQ==", "dev": true, "requires": { "ajv": "8.17.1", @@ -14051,12 +14051,12 @@ } }, "@angular-devkit/schematics": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.11.tgz", - "integrity": "sha512-efRK3FotTFp4KD5u42jWfXpHUALXB9kJNsWiB4wEImKFH6CN+vjBspJQuLqk2oeBFh/7D2qRMc5P+2tZHM5hdw==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.12.tgz", + "integrity": "sha512-mMea9txHbnCX5lXLHlo0RAgfhFHDio45/jMsREM2PA8UtVf2S8ltXz7ZwUrUyMQRv8vaSfn4ijDstF4hDMnRgQ==", "dev": true, "requires": { - "@angular-devkit/core": "18.2.11", + "@angular-devkit/core": "18.2.12", "jsonc-parser": "3.3.1", "magic-string": "0.30.11", "ora": "5.4.1", @@ -14074,21 +14074,21 @@ } }, "@angular/animations": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.10.tgz", - "integrity": "sha512-LT5+CocFZJ4t5jXsXLx5w/sBuWSxOEjmNTYga13usRcLOblrAB902pjUdFCHEZyrCUgm4MH8vov9fMS+Ks2GCw==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.12.tgz", + "integrity": "sha512-XcWH/VFQ1Rddhdqi/iU8lW3Qg96yVx1NPfrO5lhcSSvVUzYWTZ5r+jh3GqYqUgPWyEp1Kpw3FLsOgVcGcBWQkQ==", "requires": { "tslib": "^2.3.0" } }, "@angular/build": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.11.tgz", - "integrity": "sha512-AgirvSCmqUKiDE3C0rl3JA68OkOqQWDKUvjqRHXCkhxldLVOVoeIl87+jBYK/v9gcmk+K+ju+5wbGEfu1FjhiQ==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.12.tgz", + "integrity": "sha512-4Ohz+OSILoL+cCAQ4UTiCT5v6pctu3fXNoNpTEUK46OmxELk9jDITO5rNyNS7TxBn9wY69kjX5VcDf7MenquFQ==", "dev": true, "requires": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.11", + "@angular-devkit/architect": "0.1802.12", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -14276,9 +14276,9 @@ "optional": true }, "@types/node": { - "version": "22.8.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.6.tgz", - "integrity": "sha512-tosuJYKrIqjQIlVCM4PEGxOmyg3FCPa/fViuJChnGeEIhjA46oy8FMVoF9su1/v8PNs2a8Q0iFNyOx0uOF91nw==", + "version": "22.9.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", + "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", "dev": true, "optional": true, "peer": true, @@ -14362,13 +14362,13 @@ } }, "postcss": { - "version": "8.4.47", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", - "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "version": "8.4.49", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", "dev": true, "requires": { "nanoid": "^3.3.7", - "picocolors": "^1.1.0", + "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } } @@ -14377,17 +14377,17 @@ } }, "@angular/cli": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.11.tgz", - "integrity": "sha512-0JI1xjOLRemBPjdT/yVlabxc3Zkjqa/lhvVxxVC1XhKoW7yGxIGwNrQ4pka4CcQtCuktO6KPMmTGIu8YgC3cpw==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.12.tgz", + "integrity": "sha512-xhuZ/b7IhqNw1MgXf+arWf4x+GfUSt/IwbdWU4+CO8A7h0Y46zQywouP/KUK3cMQZfVdHdciTBvlpF3vFacA6Q==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1802.11", - "@angular-devkit/core": "18.2.11", - "@angular-devkit/schematics": "18.2.11", + "@angular-devkit/architect": "0.1802.12", + "@angular-devkit/core": "18.2.12", + "@angular-devkit/schematics": "18.2.12", "@inquirer/prompts": "5.3.8", "@listr2/prompt-adapter-inquirer": "2.0.15", - "@schematics/angular": "18.2.11", + "@schematics/angular": "18.2.12", "@yarnpkg/lockfile": "1.1.0", "ini": "4.1.3", "jsonc-parser": "3.3.1", @@ -14402,25 +14402,25 @@ } }, "@angular/common": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.10.tgz", - "integrity": "sha512-YzTCmuqLiOuT+Yv07vuKymDWiebOVZ8BuXakJiz4EM7FMoOw5gICHJ04jepZSjDNWpA16e7kJSdt5ucnmvCFDQ==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.12.tgz", + "integrity": "sha512-gI5o8Bccsi8ow8Wk2vG4Tw/Rw9LoHEA9j8+qHKNR/55SCBsz68Syg310dSyxy+sApJO2WiqIadr5VP36dlSUFw==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.10.tgz", - "integrity": "sha512-cu+Uq1nnyl00Glg0+2uvm+Xpaq5b4YvWpaLGGtit7uGETAJ4L/frlBVeaTRhEoaIAGBI+RRlyuFLae+etQDA0w==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.12.tgz", + "integrity": "sha512-D5d5dLrjQal5DbAXJJNSsCC3UxzjOI2wbc+Iv+LOpRM1gpNwuYfZMX5W7cj62Ce4G2++78CJSppdKBp8D4HErQ==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler-cli": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.10.tgz", - "integrity": "sha512-CNFStKWMB89MFKAZZFUOhoQi+fHqRLgNOOrI73LjizXixvngEh3BDZJRtK9hbSGG+giujBrummEA60CWAw69MA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.12.tgz", + "integrity": "sha512-IWimTNq5Q+i2Wxev6HLqnN4iYbPvLz04W1BBycT1LfGUsHcjFYLuUqbeUzHbk2snmBAzXkixgVpo8SF6P4Y5Pg==", "dev": true, "requires": { "@babel/core": "7.25.2", @@ -14451,41 +14451,41 @@ } }, "@angular/core": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.10.tgz", - "integrity": "sha512-EfxVz0pLaxnOppOYkdhnaUkk8HZT+uxaAGpJD3ppAa7YAWTE9xIGoNJmtS33cZNNOnvriMkdv7yn6pDtV4ct+Q==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.12.tgz", + "integrity": "sha512-wCf/OObwS6bpM60rk6bpMpCRGp0DlMLB1WNAMtfcaPNyqimVV5Bm98mWRhkOuRyvU3fU7iHhM/10ePVaoyu9+A==", "requires": { "tslib": "^2.3.0" } }, "@angular/forms": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.10.tgz", - "integrity": "sha512-2VprGB+enJIeqfz2oALmP/G/UiFzpZW6PHgyZXhk/0J/UMsa26JoYxwDFvfdm/WGTrB+VaQEG7in5xwiFPAFtQ==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.12.tgz", + "integrity": "sha512-FsukBJEU6jfAmht7TrODTkct/o4iwCZvGozuThOp0tYUPD/E1rZZzuKjEyTnT5Azpfkf0Wqx1nmpz80cczELOQ==", "requires": { "tslib": "^2.3.0" } }, "@angular/platform-browser": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.10.tgz", - "integrity": "sha512-zKyRKFr3AaEA4SE/DEeb5FWHJutT26avHZog6ZGDkMeMN12zMtSqjPuTSgmDXCWleoOkzbb+nhAQ+fK/EyGyPA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.12.tgz", + "integrity": "sha512-DRSMznuxuecrs+v5BRyd60/R4vjkQtuYUEPfzdo+rqxM83Dmr3PGtnqPRgd5oAFUbATxf02hQXijRD27K7rZRg==", "requires": { "tslib": "^2.3.0" } }, "@angular/platform-browser-dynamic": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.10.tgz", - "integrity": "sha512-syKyOTgfQnMxfpDRP1khTSPZ5dsMgA8YQwNF6KsB3eZQl15CKSka7bzjMOUWeZ8M3WShOp1AzTf0MfwNeh0UBA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.12.tgz", + "integrity": "sha512-dv1QEjYpcFno6+oUeGEDRWpB5g2Ufb0XkUbLJQIgrOk1Qbyzb8tmpDpTjok8jcKdquigMRWolr6Y1EOicfRlLw==", "requires": { "tslib": "^2.3.0" } }, "@angular/router": { - "version": "18.2.10", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.10.tgz", - "integrity": "sha512-ZqJgOGOfvW0epsc7pIo7DffZqYHo3O9aUCVepZAhOxqtjF/sfhX2fy+A0xopTIiR0eM3LrT823V+2hjlBHj+CA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.12.tgz", + "integrity": "sha512-cz/1YWOZadAT35PPPYmpK3HSzKOE56nlUHue5bFkw73VSZr2iBn03ALLpd9YKzWgRmx3y7DqnlQtCkDu9JPGKQ==", "requires": { "tslib": "^2.3.0" } @@ -16361,9 +16361,9 @@ "optional": true }, "@ngtools/webpack": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.11.tgz", - "integrity": "sha512-iTdUGJ5O7yMm1DyCzyoMDMxBJ68emUSSXPWbQzEEdcqmtifRebn+VAq4vHN8OmtGM1mtuKeLEsbiZP8ywrw7Ug==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.12.tgz", + "integrity": "sha512-FFJAwtWbtpncMOVNuULPBwFJB7GSjiUwO93eGTzRp8O4EPQ8lCQeFbezQm/NP34+T0+GBLGzPSuQT+muob8YKw==", "dev": true, "requires": {} }, @@ -16636,13 +16636,13 @@ "optional": true }, "@schematics/angular": { - "version": "18.2.11", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.11.tgz", - "integrity": "sha512-jT54mc9+hPOwie9bji/g2krVuK1kkNh2PNFGwfgCg3Ofmt3hcyOBai1DKuot5uLTX4VCCbvfwiVR/hJniQl2SA==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.12.tgz", + "integrity": "sha512-sIoeipsisK5eTLW3XuNZYcal83AfslBbgI7LnV+3VrXwpasKPGHwo2ZdwhCd2IXAkuJ02Iyu7MyV0aQRM9i/3g==", "dev": true, "requires": { - "@angular-devkit/core": "18.2.11", - "@angular-devkit/schematics": "18.2.11", + "@angular-devkit/core": "18.2.12", + "@angular-devkit/schematics": "18.2.12", "jsonc-parser": "3.3.1" } }, @@ -16858,9 +16858,9 @@ } }, "@types/qs": { - "version": "6.9.16", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.16.tgz", - "integrity": "sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A==", + "version": "6.9.17", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.17.tgz", + "integrity": "sha512-rX4/bPcfmvxHDv0XjfJELTTr+iB+tn032nPILqHm5wbthUUUuVtNGGqzhya9XUxjTP8Fpr0qYgSZZKxGY++svQ==", "dev": true }, "@types/range-parser": { @@ -16921,9 +16921,9 @@ "dev": true }, "@types/ws": { - "version": "8.5.12", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", - "integrity": "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==", + "version": "8.5.13", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.13.tgz", + "integrity": "sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==", "dev": true, "requires": { "@types/node": "*" @@ -17401,9 +17401,9 @@ } }, "bonjour-service": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.2.1.tgz", - "integrity": "sha512-oSzCS2zV14bh2kji6vNe7vrpJYCHGvcZnlffFQ1MEoX/WOeQ/teD8SYWKR942OI3INjq8OMNJlbPK5LLLUxFDw==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.3.0.tgz", + "integrity": "sha512-3YuAUiSkWykd+2Azjgyxei8OWf8thdn8AITIog2M4UICzoqfjlqr64WIjEXZllf/W6vK1goqleSR6brGomxQqA==", "dev": true, "requires": { "fast-deep-equal": "^3.1.3", @@ -17932,9 +17932,9 @@ } }, "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "requires": { "path-key": "^3.1.0", @@ -20145,9 +20145,9 @@ } }, "node-gyp-build": { - "version": "4.8.2", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.2.tgz", - "integrity": "sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", + "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", "dev": true, "optional": true }, @@ -20290,9 +20290,9 @@ } }, "object-inspect": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", - "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz", + "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==", "dev": true }, "obuf": { @@ -20406,9 +20406,9 @@ } }, "ordered-binary": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/ordered-binary/-/ordered-binary-1.5.2.tgz", - "integrity": "sha512-JTo+4+4Fw7FreyAvlSLjb1BBVaxEQAacmjD3jjuyPZclpbEghTvQZbXBb2qPd2LeIMxiHwXBZUcpmG2Gl/mDEA==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/ordered-binary/-/ordered-binary-1.5.3.tgz", + "integrity": "sha512-oGFr3T+pYdTGJ+YFEILMpS3es+GiIbs9h/XQrclBXUtd44ey7XwfsMzM31f64I1SQOawDoDr/D823kNCADI8TA==", "dev": true }, "os-tmpdir": { @@ -20445,9 +20445,9 @@ } }, "p-retry": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-6.2.0.tgz", - "integrity": "sha512-JA6nkq6hKyWLLasXQXUrO4z8BUZGUt/LjlJxx8Gb2+2ntodU/SS63YZ8b0LUTbQ8ZB9iwOfhEPhg4ykKnn2KsA==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-6.2.1.tgz", + "integrity": "sha512-hEt02O4hUct5wtwg4H4KcWgDdm+l1bOaEy/hWzd8xtXB9BqxTWBBhb+2ImAtH4Cv4rPjV76xN3Zumqk3k3AhhQ==", "dev": true, "requires": { "@types/retry": "0.12.2", @@ -20605,9 +20605,9 @@ "dev": true }, "picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true }, "picomatch": { diff --git a/src/AngularComponents/package.json b/src/AngularComponents/package.json index 50cfe727..b46bedb9 100644 --- a/src/AngularComponents/package.json +++ b/src/AngularComponents/package.json @@ -10,22 +10,22 @@ "private": true, "dependencies": { "@angular-slider/ngx-slider": "^18.0.0", - "@angular/animations": "^18.2.10", - "@angular/common": "^18.2.10", - "@angular/compiler": "^18.2.10", - "@angular/core": "^18.2.10", - "@angular/forms": "^18.2.10", - "@angular/platform-browser": "^18.2.10", - "@angular/platform-browser-dynamic": "^18.2.10", - "@angular/router": "^18.2.10", + "@angular/animations": "^18.2.12", + "@angular/common": "^18.2.12", + "@angular/compiler": "^18.2.12", + "@angular/core": "^18.2.12", + "@angular/forms": "^18.2.12", + "@angular/platform-browser": "^18.2.12", + "@angular/platform-browser-dynamic": "^18.2.12", + "@angular/router": "^18.2.12", "rxjs": "~7.8.1", "tslib": "^2.6.3", "zone.js": "~0.14.10" }, "devDependencies": { - "@angular-devkit/build-angular": "^18.2.11", - "@angular/cli": "^18.2.11", - "@angular/compiler-cli": "^18.2.10", + "@angular-devkit/build-angular": "^18.2.12", + "@angular/cli": "^18.2.12", + "@angular/compiler-cli": "^18.2.12", "@types/node": "^12.11.1", "typescript": "~5.5.3" } diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js index 905e0267..fa4ea2c1 100644 --- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js +++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js @@ -1 +1 @@ -"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{197:()=>{function no(e,n){return Object.is(e,n)}let Oe=null,$i=!1,zi=1;const zt=Symbol("SIGNAL");function K(e){const n=Oe;return Oe=e,n}const Rs={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function vc(e){if($i)throw new Error("");if(null===Oe)return;Oe.consumerOnSignalRead(e);const n=Oe.nextProducerIndex++;Ps(Oe),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function yc(e){Ps(e);for(let n=0;n0}function Ps(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function gp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function mp(e){return void 0!==e.producerNode}const wc=Symbol("UNSET"),Dc=Symbol("COMPUTING"),Fs=Symbol("ERRORED"),cI={...Rs,value:wc,dirty:!0,error:null,equal:no,producerMustRecompute:e=>e.value===wc||e.value===Dc,producerRecomputeValue(e){if(e.value===Dc)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Dc;const t=Ls(e);let i;try{i=e.computation()}catch(r){i=Fs,e.error=r}finally{_c(e,t)}n!==wc&&n!==Fs&&i!==Fs&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let vp=function uI(){throw new Error};function _p(){vp()}let Vs=null;function yp(e,n){fp()||_p(),e.equal(e.value,n)||(e.value=n,function gI(e){e.version++,function aI(){zi++}(),dp(e),Vs?.()}(e))}const pI={...Rs,equal:no,value:void 0};function Pe(e){return"function"==typeof e}function wp(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const bc=wp(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Hs(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class It{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(Pe(i))try{i()}catch(o){n=o instanceof bc?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Ep(o)}catch(s){n=n??[],s instanceof bc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new bc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Ep(n);else{if(n instanceof It){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Hs(t,n)}remove(n){const{_finalizers:t}=this;t&&Hs(t,n),n instanceof It&&n._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const Dp=It.EMPTY;function bp(e){return e instanceof It||e&&"closed"in e&&Pe(e.remove)&&Pe(e.add)&&Pe(e.unsubscribe)}function Ep(e){Pe(e)?e():e.unsubscribe()}const li={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Bs={setTimeout(e,n,...t){const{delegate:i}=Bs;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ip(e){Bs.setTimeout(()=>{const{onUnhandledError:n}=li;if(!n)throw e;n(e)})}function Mp(){}const vI=Ec("C",void 0,void 0);function Ec(e,n,t){return{kind:e,value:n,error:t}}let ci=null;function js(e){if(li.useDeprecatedSynchronousErrorHandling){const n=!ci;if(n&&(ci={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=ci;if(ci=null,t)throw i}}else e()}class Ic extends It{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,bp(n)&&n.add(this)):this.destination=EI}static create(n,t,i){return new Sc(n,t,i)}next(n){this.isStopped?Tc(function yI(e){return Ec("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Tc(function _I(e){return Ec("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Tc(vI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const wI=Function.prototype.bind;function Mc(e,n){return wI.call(e,n)}class DI{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Us(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Us(i)}else Us(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Us(t)}}}class Sc extends Ic{constructor(n,t,i){let r;if(super(),Pe(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&li.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Mc(n.next,o),error:n.error&&Mc(n.error,o),complete:n.complete&&Mc(n.complete,o)}):r=n}this.destination=new DI(r)}}function Us(e){li.useDeprecatedSynchronousErrorHandling?function CI(e){li.useDeprecatedSynchronousErrorHandling&&ci&&(ci.errorThrown=!0,ci.error=e)}(e):Ip(e)}function Tc(e,n){const{onStoppedNotification:t}=li;t&&Bs.setTimeout(()=>t(e,n))}const EI={closed:!0,next:Mp,error:function bI(e){throw e},complete:Mp},xc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Oc(e){return e}let Mt=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function MI(e){return e&&e instanceof Ic||function II(e){return e&&Pe(e.next)&&Pe(e.error)&&Pe(e.complete)}(e)&&bp(e)}(t)?t:new Sc(t,i,r);return js(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Tp(i))((r,o)=>{const s=new Sc({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[xc](){return this}pipe(...t){return function Sp(e){return 0===e.length?Oc:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=Tp(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function Tp(e){var n;return null!==(n=e??li.Promise)&&void 0!==n?n:Promise}const SI=wp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let sn=(()=>{class e extends Mt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new xp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new SI}next(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Dp:(this.currentObservers=null,o.push(t),new It(()=>{this.currentObservers=null,Hs(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Mt;return t.source=this,t}}return e.create=(n,t)=>new xp(n,t),e})();class xp extends sn{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Dp}}class TI extends sn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function ui(e){return n=>{if(function xI(e){return Pe(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Bn(e,n,t,i,r){return new OI(e,n,t,i,r)}class OI extends Ic{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Nc(e,n){return ui((t,i)=>{let r=0;t.subscribe(Bn(i,o=>{i.next(e.call(n,o,r++))}))})}const Op="https://g.co/ng/security#xss";class T extends Error{constructor(n,t){super(function Gi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Wi="__parameters__";function Qi(e,n,t){return bn(()=>{const i=function Ac(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Wi)?l[Wi]:Object.defineProperty(l,Wi,{value:[]})[Wi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const be=globalThis;function fe(e){for(let n in e)if(e[n]===fe)return n;throw Error("Could not find renamed property on target object.")}function NI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function je(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(je).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Rc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const AI=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function B(e){return zs(e)?e():e}function zs(e){return"function"==typeof e&&e.hasOwnProperty(AI)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function En(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gs(e){return Lp(e,Ws)||Lp(e,kp)}function Lp(e,n){return e.hasOwnProperty(n)?e[n]:null}function qs(e){return e&&(e.hasOwnProperty(Lc)||e.hasOwnProperty(FI))?e[Lc]:null}const Ws=fe({\u0275prov:fe}),Lc=fe({\u0275inj:fe}),kp=fe({ngInjectableDef:fe}),FI=fe({ngInjectorDef:fe});class R{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ne({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Hc(e){return e&&!!e.\u0275providers}const ro=fe({\u0275cmp:fe}),Bc=fe({\u0275dir:fe}),jc=fe({\u0275pipe:fe}),Fp=fe({\u0275mod:fe}),In=fe({\u0275fac:fe}),oo=fe({__NG_ELEMENT_ID__:fe}),Vp=fe({__NG_ENV_ID__:fe});function W(e){return"string"==typeof e?e:null==e?"":String(e)}function Uc(e,n){throw new T(-201,!1)}var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ie||{});let $c;function Hp(){return $c}function vt(e){const n=$c;return $c=e,n}function Bp(e,n,t){const i=Gs(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ie.Optional?null:void 0!==n?n:void Uc()}const so={},zc="__NG_DI_FLAG__",Zs="ngTempTokenPath",$I=/\n/gm,jp="__source";let Yi;function Un(e){const n=Yi;return Yi=e,n}function qI(e,n=ie.Default){if(void 0===Yi)throw new T(-203,!1);return null===Yi?Bp(e,void 0,n):Yi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(Hp()||qI)(B(e),n)}function k(e,n=ie.Default){return oe(e,Qs(n))}function Qs(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gc(e){const n=[];for(let t=0;tArray.isArray(t)?Ki(t,n):n(t))}function $p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ys(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function xt(e,n,t){let i=Ji(e,n);return i>=0?e[1|i]=t:(i=~i,function zp(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Qc(e,n){const t=Ji(e,n);if(t>=0)return e[1|t]}function Ji(e,n){return function Gp(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<n){s=o-1;break}}}for(;o-1){let o;for(;++ro?"":r[u+1].toLowerCase(),2&i&&c!==d){if(qt(i))return!1;s=!0}}}}else{if(!s&&!qt(i)&&!qt(l))return!1;if(s&&qt(l))continue;s=!1,i=l|1&i}}return qt(i)||s}function qt(e){return!(1&e)}function rM(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!qt(s)&&(n+=Jp(o,r),r=""),i=s,o=o||!qt(i);t++}return""!==r&&(n+=Jp(o,r)),n}function Wt(e){return bn(()=>{const n=eg(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Gt.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};tg(t);const i=e.dependencies;return t.directiveDefs=ea(i,!1),t.pipeDefs=ea(i,!0),t.id=function gM(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function fM(e){return X(e)||Ue(e)}function hM(e){return null!==e}function zn(e){return bn(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xp(e,n){if(null==e)return an;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=$n.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==$n.None?[i,a]:i,n[o]=s):t[o]=i}return t}function $(e){return bn(()=>{const n=eg(e);return tg(n),n})}function yt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[ro]||null}function Ue(e){return e[Bc]||null}function Ye(e){return e[jc]||null}function eg(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||an,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Xp(e.inputs,n),outputs:Xp(e.outputs),debugInfo:null}}function tg(e){e.features?.forEach(n=>n(e))}function ea(e,n){if(!e)return null;const t=n?Ye:fM;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(hM)}function mM(...e){return{\u0275providers:Xc(0,e),\u0275fromNgModule:!0}}function Xc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Ki(n,s=>{const a=s;na(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&ng(r,o),t}function ng(e,n){for(let t=0;t{n(o,i)})}}function na(e,n,t,i){if(!(e=B(e)))return!1;let r=null,o=qs(e);const s=!o&&X(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=qs(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)na(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Ki(o.imports,u=>{na(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&ng(c,n)}if(!a){const c=di(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Yc,useValue:r,multi:!0},r),n({provide:Mn,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;eu(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function eu(e,n){for(let t of e)Hc(t)&&(t=t.\u0275providers),Array.isArray(t)?eu(t,n):n(t)}const vM=fe({provide:String,useValue:fe});function tu(e){return null!==e&&"object"==typeof e&&vM in e}function hi(e){return"function"==typeof e}const nu=new R(""),ia={},yM={};let iu;function ra(){return void 0===iu&&(iu=new Js),iu}class Zt{}class Xi extends Zt{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ou(n,s=>this.processProvider(s)),this.records.set(qp,er(void 0,this)),r.has("environment")&&this.records.set(Zt,er(void 0,this));const o=this.records.get(nu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Yc,se,ie.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=K(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),K(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Un(this),i=vt(void 0);try{return n()}finally{Un(t),vt(i)}}get(n,t=so,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Vp))return n[Vp](this);i=Qs(i);const o=Un(this),s=vt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function EM(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(n)&&Gs(n);l=c&&this.injectableDefInScope(c)?er(ru(n),ia):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?ra():this.parent).get(n,t=i&ie.Optional&&t===so?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Zs]=a[Zs]||[]).unshift(je(n)),o)throw a;return function ZI(e,n,t,i){const r=e[Zs];throw n[jp]&&r.unshift(n[jp]),e.message=function QI(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=je(n);if(Array.isArray(n))r=n.map(je).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):je(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace($I,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Zs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{vt(s),Un(o)}}resolveInjectorInitializers(){const n=K(null),t=Un(this),i=vt(void 0);try{const o=this.get(Mn,se,ie.Self);for(const s of o)s()}finally{Un(t),vt(i),K(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(je(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(n){let t=hi(n=B(n))?n:B(n&&n.provide);const i=function wM(e){return tu(e)?er(void 0,e.useValue):er(og(e),ia)}(n);if(!hi(n)&&!0===n.multi){let r=this.records.get(t);r||(r=er(void 0,ia,!0),r.factory=()=>Gc(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=K(null);try{return t.value===ia&&(t.value=yM,t.value=t.factory()),"object"==typeof t.value&&t.value&&function bM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{K(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=B(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function ru(e){const n=Gs(e),t=null!==n?n.factory:di(e);if(null!==t)return t;if(e instanceof R)throw new T(204,!1);if(e instanceof Function)return function CM(e){if(e.length>0)throw new T(204,!1);const t=function PI(e){return e&&(e[Ws]||e[kp])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function og(e,n,t){let i;if(hi(e)){const r=B(e);return di(r)||ru(r)}if(tu(e))i=()=>B(e.useValue);else if(function rg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Gc(e.deps||[]));else if(function ig(e){return!(!e||!e.useExisting)}(e))i=()=>oe(B(e.useExisting));else{const r=B(e&&(e.useClass||e.provide));if(!function DM(e){return!!e.deps}(e))return di(r)||ru(r);i=()=>new r(...Gc(e.deps))}return i}function er(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function ou(e,n){for(const t of e)Array.isArray(t)?ou(t,n):t&&Hc(t)?ou(t.\u0275providers,n):n(t)}const Se=0,x=1,P=2,Fe=3,Qt=4,Ke=5,at=6,nr=7,_e=8,Ve=9,ln=10,j=11,uo=12,lg=13,ir=14,Te=15,pi=16,rr=17,Sn=18,or=19,cg=20,Gn=21,sa=22,Vt=23,L=25,lu=1,cn=7,sr=9,Ne=10;var la=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(la||{});function ze(e){return Array.isArray(e)&&"object"==typeof e[lu]}function tt(e){return Array.isArray(e)&&!0===e[lu]}function cu(e){return!!(4&e.flags)}function gi(e){return e.componentOffset>-1}function ca(e){return!(1&~e.flags)}function Yt(e){return!!e.template}function ho(e){return!!(512&e[P])}class PM{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function pg(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function un(){return gg}function gg(e){return e.type.prototype.ngOnChanges&&(e.setInput=VM),FM}function FM(){const e=vg(this),n=e?.current;if(n){const t=e.previous;if(t===an)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function VM(e,n,t,i,r){const o=this.declaredInputs[i],s=vg(e)||function HM(e,n){return e[mg]=n}(e,{previous:an,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new PM(c&&c.currentValue,t,l===an),pg(e,n,r,t)}un.ngInherit=!0;const mg="__ngSimpleChanges__";function vg(e){return e[mg]||null}const dn=function(e,n,t){};function ae(e){for(;Array.isArray(e);)e=e[Se];return e}function po(e,n){return ae(n[e])}function lt(e,n){return ae(n[e.index])}function go(e,n){return e.data[n]}function Ot(e,n){const t=n[e];return ze(t)?t:t[Se]}function pu(e){return!(128&~e[P])}function Ht(e,n){return null==n?null:e[n]}function Cg(e){e[rr]=0}function wg(e){1024&e[P]||(e[P]|=1024,pu(e)&&da(e))}function ua(e){return!!(9216&e[P]||e[Vt]?.dirty)}function gu(e){e[ln].changeDetectionScheduler?.notify(8),64&e[P]&&(e[P]|=1024),ua(e)&&da(e)}function da(e){e[ln].changeDetectionScheduler?.notify(0);let n=Tn(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,pu(n));)n=Tn(n)}function fa(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[Gn]&&(e[Gn]=[]),e[Gn].push(n)}function Tn(e){const n=e[Fe];return tt(n)?n[Fe]:n}const U={lFrame:Lg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let bg=!1;function Eg(){return U.bindingsEnabled}function D(){return U.lFrame.lView}function J(){return U.lFrame.tView}function z(e){return U.lFrame.contextLView=e,e[_e]}function G(e){return U.lFrame.contextLView=null,e}function he(){let e=Ig();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ig(){return U.lFrame.currentTNode}function Kt(e,n){const t=U.lFrame;t.currentTNode=e,t.isParent=n}function _u(){return U.lFrame.isParent}function yu(){U.lFrame.isParent=!1}function Tg(){return bg}function xg(e){bg=e}function ct(){const e=U.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Jt(){return U.lFrame.bindingIndex++}function On(e){const n=U.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function XM(e,n){const t=U.lFrame;t.bindingIndex=t.bindingRootIndex=e,Cu(n)}function Cu(e){U.lFrame.currentDirectiveIndex=e}function Du(){return U.lFrame.currentQueryIndex}function pa(e){U.lFrame.currentQueryIndex=e}function t0(e){const n=e[x];return 2===n.type?n.declTNode:1===n.type?e[Ke]:null}function Ag(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=t0(o),null===r||(o=o[ir],10&r.type))););if(null===r)return!1;n=r,e=o}const i=U.lFrame=Rg();return i.currentTNode=n,i.lView=e,!0}function bu(e){const n=Rg(),t=e[x];U.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Rg(){const e=U.lFrame,n=null===e?null:e.child;return null===n?Lg(e):n}function Lg(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function kg(){const e=U.lFrame;return U.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Pg=kg;function Eu(){const e=kg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Je(){return U.lFrame.selectedIndex}function _i(e){U.lFrame.selectedIndex=e}function ye(){const e=U.lFrame;return go(e.tView,e.selectedIndex)}let Hg=!0;function vo(){return Hg}function fn(e){Hg=e}function ga(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[rr]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,jg(a,o)):jg(a,o)}const ar=-1;class _o{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}const Su={};class yi{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=Qs(i);const r=this.injector.get(n,Su,i);return r!==Su||t===Su?r:this.parentInjector.get(n,t,i)}}function Tu(e){return e!==ar}function yo(e){return 32767&e}function Co(e,n){let t=function h0(e){return e>>16}(e),i=n;for(;t>0;)i=i[ir],t--;return i}let xu=!0;function _a(e){const n=xu;return xu=e,n}const $g=255,zg=5;let g0=0;const hn={};function ya(e,n){const t=Gg(e,n);if(-1!==t)return t;const i=n[x];i.firstCreatePass&&(e.injectorIndex=n.length,Ou(i.data,e),Ou(n,null),Ou(i.blueprint,null));const r=Ca(e,n),o=e.injectorIndex;if(Tu(r)){const s=yo(r),a=Co(r,n),l=a[x].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Ou(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Gg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Ca(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=Jg(r),null===i)return ar;if(t++,r=r[ir],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return ar}function Nu(e,n,t){!function m0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(oo)&&(i=t[oo]),null==i&&(i=t[oo]=g0++);const r=i&$g;n.data[e+(r>>zg)]|=1<=0?n&$g:C0:n}(t);if("function"==typeof o){if(!Ag(n,e,i))return i&ie.Host?qg(r,0,i):Wg(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;Uc()}finally{Pg()}}else if("number"==typeof o){let s=null,a=Gg(e,n),l=ar,c=i&ie.Host?n[Te][Ke]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Ca(e,n):n[a+8],l!==ar&&Kg(i,!1)?(s=n[x],a=yo(l),n=Co(l,n)):a=-1);-1!==a;){const u=n[x];if(Yg(o,a,u.data)){const d=_0(a,n,t,s,i,c);if(d!==hn)return d}l=n[a+8],l!==ar&&Kg(i,n[x].data[a+8]===c)&&Yg(o,a,n)?(s=u,a=yo(l),n=Co(l,n)):a=-1}}return r}function _0(e,n,t,i,r,o){const s=n[x],a=s.data[e+8],u=wa(a,s,t,null==i?gi(a)&&xu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?Ci(n,s,u,a):hn}function wa(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,h=r?a+u:e.directiveEnd;for(let p=i?a:a+u;p=l&&g.type===t)return p}if(r){const p=s[l];if(p&&Yt(p)&&p.type===t)return l}return null}function Ci(e,n,t,i){let r=e[t];const o=n.data;if(function c0(e){return e instanceof _o}(r)){const s=r;s.resolving&&function BI(e,n){throw n&&n.join(" > "),new T(-200,e)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}(o[t]));const a=_a(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?vt(s.injectImpl):null;Ag(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function a0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=gg(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&vt(c),_a(a),s.resolving=!1,Pg()}}return r}function Yg(e,n,t){return!!(t[n+(e>>zg)]&1<{const n=e.prototype.constructor,t=n[In]||Au(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[In]||Au(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Au(e){return zs(e)?()=>{const n=Au(B(e));return n&&n()}:di(e)}function Jg(e){const n=e[x],t=n.type;return 2===t?n.declTNode:1===t?e[Ke]:null}function im(e,n=null,t=null,i){const r=rm(e,n,t,i);return r.resolveInjectorInitializers(),r}function rm(e,n=null,t=null,i,r=new Set){const o=[t||se,mM(e)];return i=i||("object"==typeof e?void 0:je(e)),new Xi(o,n||ra(),i||null,r)}class it{static#e=this.THROW_IF_NOT_FOUND=so;static#t=this.NULL=new Js;static create(n,t){if(Array.isArray(n))return im({name:""},t,n,"");{const i=n.name??"";return im({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=ne({token:it,providedIn:"any",factory:()=>oe(qp)});static#i=this.__NG_ELEMENT_ID__=-1}new R("").__NG_ELEMENT_ID__=e=>{const n=he();if(null===n)throw new T(204,!1);if(2&n.type)return n.value;if(e&ie.Optional)return null;throw new T(204,!1)};function Lu(e){return e.ngOriginalError}const sm=!0;let wo=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=N0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class O0 extends wo{constructor(n){super(),this._lView=n}onDestroy(n){return fa(this._lView,n),()=>function mu(e,n){if(null===e[Gn])return;const t=e[Gn].indexOf(n);-1!==t&&e[Gn].splice(t,1)}(this._lView,n)}}function N0(){return new O0(D())}let ur=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new TI(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();const Ce=class A0 extends sn{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,function sg(){return void 0!==Hp()||null!=function GI(){return Yi}()}()&&(this.destroyRef=k(wo,{optional:!0})??void 0,this.pendingTasks=k(ur,{optional:!0})??void 0)}emit(n){const t=K(null);try{super.next(n)}finally{K(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof It&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function Ea(...e){}function am(e){let n,t;function i(){e=Ea;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function lm(e){return queueMicrotask(()=>e()),()=>{e=Ea}}const ku="isAngularZone",Ia=ku+"_ID";let R0=0;class pe{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ce(!1),this.onMicrotaskEmpty=new Ce(!1),this.onStable=new Ce(!1),this.onError=new Ce(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=sm}=n;if(typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function P0(e){const n=()=>{!function k0(e){function n(){am(()=>{e.callbackScheduled=!1,Fu(e),e.isCheckStableRunning=!0,Pu(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Fu(e))}(e)},t=R0++;e._inner=e._inner.fork({name:"angular",properties:{[ku]:!0,[Ia]:t,[Ia+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function F0(e){return dm(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return cm(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),um(e)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return cm(e),i.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function V0(e){return dm(e,"__scheduler_tick__")}(l)&&n(),um(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Fu(e),Pu(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(ku)}static assertInAngularZone(){if(!pe.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(pe.isInAngularZone())throw new T(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,L0,Ea,Ea);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const L0={};function Pu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Fu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function cm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function um(e){e._nesting--,Pu(e)}class Vu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ce,this.onMicrotaskEmpty=new Ce,this.onStable=new Ce,this.onError=new Ce}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function dm(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class pn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Lu(n);for(;t&&Lu(t);)t=Lu(t);return t||null}}const B0=new R("",{providedIn:"root",factory:()=>{const e=k(pe),n=k(pn);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function j0(){return dr(he(),D())}function dr(e,n){return new ut(lt(e,n))}let ut=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=j0}return e})();function hm(e){return e instanceof ut?e.nativeElement:e}function U0(){return this._results[Symbol.iterator]()}class Hu{static#e=Symbol.iterator;get changes(){return this._changes??=new Ce}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=Hu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=U0)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function _t(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function XI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;icS}),cS="ng",Rm=new R(""),wi=new R("",{providedIn:"platform",factory:()=>"unknown"}),Lm=new R("",{providedIn:"root",factory:()=>qn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let km=()=>null;function Ku(e,n,t=!1){return km(e,n,t)}const $m=new R("",{providedIn:"root",factory:()=>!1});let La,ka;function mr(e){return function nd(){if(void 0===La&&(La=null,be.trustedTypes))try{La=be.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return La}()?.createHTML(e)||e}function qm(e){return function id(){if(void 0===ka&&(ka=null,be.trustedTypes))try{ka=be.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ka}()?.createHTML(e)||e}class Qm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Op})`}}function Wn(e){return e instanceof Qm?e.changingThisBreaksApplicationSecurity:e}function Oo(e,n){const t=function TS(e){return e instanceof Qm&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Op})`)}return t===n}class xS{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(mr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class OS{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=mr(n),t}}const AS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function rd(e){return(e=String(e)).match(AS)?e:"unsafe:"+e}function Nn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function No(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const Km=Nn("area,br,col,hr,img,wbr"),Jm=Nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xm=Nn("rp,rt"),od=No(Km,No(Jm,Nn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),No(Xm,Nn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),No(Xm,Jm)),sd=Nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ev=No(sd,Nn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Nn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),RS=Nn("script,style,template");class LS{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=FS(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=PS(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=tv(n).toLowerCase();if(!od.hasOwnProperty(t))return this.sanitizedSomething=!0,!RS.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=tv(n).toLowerCase();od.hasOwnProperty(t)&&!Km.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(iv(n))}}function PS(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw nv(n);return n}function FS(e){const n=e.firstChild;if(n&&function kS(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw nv(n);return n}function tv(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function nv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const VS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,HS=/([^\#-~ |!])/g;function iv(e){return e.replace(/&/g,"&").replace(VS,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(HS,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Pa;function ad(e){return"content"in e&&function jS(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(vr||{});function rv(e){const n=Ao();return n?qm(n.sanitize(vr.HTML,e)||""):Oo(e,"HTML")?qm(Wn(e)):function BS(e,n){let t=null;try{Pa=Pa||function Ym(e){const n=new OS(e);return function NS(){try{return!!(new window.DOMParser).parseFromString(mr(""),"text/html")}catch{return!1}}()?new xS(n):n}(e);let i=n?String(n):"";t=Pa.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Pa.getInertBodyElement(i)}while(i!==o);return mr((new LS).sanitizeChildren(ad(t)||t))}finally{if(t){const i=ad(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}(qn(),W(e))}function Zn(e){const n=Ao();return n?n.sanitize(vr.URL,e)||"":Oo(e,"URL")?Wn(e):rd(W(e))}function Ao(){const e=D();return e&&e[ln].sanitizer}const ZS=/^>|^->||--!>|)/g,YS="\u200b$1\u200b";function Ha(e){return e.ownerDocument.defaultView}var Qn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Qn||{});let ud;function dd(e,n){return ud(e,n)}function yr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:ze(i)&&(s=!0,i=i[Se]);const a=ae(i);0===e&&null!==t?null==r?_v(n,t,a):bi(n,t,a,r||null,!0):1===e&&null!==t?bi(n,t,a,r||null,!0):2===e?function Lo(e,n,t){e.removeChild(null,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function gT(e,n,t,i,r){const o=t[cn];o!==ae(t)&&yr(n,e,i,o,r);for(let a=Ne;an.replace(QS,YS))}(n))}function Ba(e,n,t){return e.createElement(n,t)}function gv(e,n){n[ln].changeDetectionScheduler?.notify(9),$a(e,n,n[j],2,null,null)}function mv(e,n){const t=e[sr],i=n[Fe];(ze(i)||n[Te]!==i[Fe][Te])&&(e[P]|=la.HasTransplantedViews),null===t?e[sr]=[n]:t.push(n)}function pd(e,n){const t=e[sr],i=t.indexOf(n);t.splice(i,1)}function Ro(e,n){if(e.length<=Ne)return;const t=Ne+n,i=e[t];if(i){const r=i[pi];null!==r&&r!==e&&pd(r,i),n>0&&(e[t-1][Qt]=i[Qt]);const o=Ys(e,Ne+n);!function aT(e,n){gv(e,n),n[Se]=null,n[Ke]=null}(i[x],i);const s=o[Sn];null!==s&&s.detachView(o[x]),i[Fe]=null,i[Qt]=null,i[P]&=-129}return i}function ja(e,n){if(!(256&n[P])){const t=n[j];t.destroyNode&&$a(e,n,t,3,null,null),function cT(e){let n=e[uo];if(!n)return gd(e[x],e);for(;n;){let t=null;if(ze(n))t=n[uo];else{const i=n[Ne];i&&(t=i)}if(!t){for(;n&&!n[Qt]&&n!==e;)ze(n)&&gd(n[x],n),n=n[Fe];null===n&&(n=e),ze(n)&&gd(n[x],n),t=n&&n[Qt]}n=t}}(n)}}function gd(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[Vt]&&Cc(n[Vt]),function fT(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[nr]=null);const r=n[Gn];if(null!==r){n[Gn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Gt.None||o===Gt.Emulated)return null}return lt(i,t)}}(e,n.parent,t)}function bi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function _v(e,n,t){e.appendChild(n,t)}function yv(e,n,t,i,r){null!==i?bi(e,n,t,i,r):_v(e,n,t)}function vd(e,n){return e.parentNode(n)}let _d,Dv=function wv(e,n,t){return 40&e.type?lt(e,t):null};function Ua(e,n,t,i){const r=md(e,i,n),o=n[j],a=function Cv(e,n,t){return Dv(e,n,t)}(i.parent||n[Ke],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lL&&xv(e,n,L,!1),dn(s?2:0,r),t(i,r)}finally{_i(o),dn(s?3:1,r)}}function Dd(e,n,t){if(cu(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Lv(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=$n.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?kv(i,t,c,a,l):kv(i,t,c,a)}return i}function kv(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function wt(e,n,t,i,r,o,s,a){const l=lt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(Od(e,t,u,i,r),gi(n)&&function xT(e,n){const t=Ot(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function TT(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function Md(e,n,t,i){if(Eg()){const r=null===i?null:{"":-1},o=function kT(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,ko(e,t,r.hostVars,Z),r)}function gn(e,n,t,i,r,o){const s=lt(e,n);!function Td(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?W(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[j],s,o,e.value,t,i,r)}function jT(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a{da(e.lView)},consumerOnSignalRead(){this.lView[Vt]=this}},KT={...Rs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Tn(e.lView);for(;n&&!qv(n[x]);)n=Tn(n);n&&wg(n)},consumerOnSignalRead(){this.lView[Vt]=this}};function qv(e){return 2!==e.type}const JT=100;function Wa(e,n=!0,t=0){const i=e[ln],r=i.rendererFactory;r.begin?.();try{!function XT(e,n){const t=Tg();try{xg(!0),Rd(e,n);let i=0;for(;ua(e);){if(i===JT)throw new T(103,!1);i++,Rd(e,1)}}finally{xg(t)}}(e,t)}catch(s){throw n&&qa(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function ex(e,n,t,i){const r=n[P];if(!(256&~r))return;n[ln].inlineEffectRunner?.flush(),bu(n);let a=!0,l=null,c=null;qv(e)?(c=function qT(e){return e[Vt]??function WT(e){const n=Gv.pop()??Object.create(QT);return n.lView=e,n}(e)}(n),l=Ls(c)):null===function cp(){return Oe}()?(a=!1,c=function YT(e){const n=e[Vt]??Object.create(KT);return n.lView=e,n}(n),l=Ls(c)):n[Vt]&&(Cc(n[Vt]),n[Vt]=null);try{Cg(n),function Og(e){return U.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Nv(e,n,t,2,i);const u=!(3&~r);if(u){const p=e.preOrderCheckHooks;null!==p&&ma(n,p,null)}else{const p=e.preOrderHooks;null!==p&&va(n,p,0,null),Iu(n,0)}if(function tx(e){for(let n=bm(e);null!==n;n=Em(n)){if(!(n[P]&la.HasTransplantedViews))continue;const t=n[sr];for(let i=0;i-1&&(Ro(n,i),Ys(t,i))}this._attachedToViewContainer=!1}ja(this._lView[x],this._lView)}onDestroy(n){fa(this._lView,n)}markForCheck(){Fo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[P]&=-129}reattach(){gu(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Wa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=ho(this._lView),t=this._lView[pi];null!==t&&!n&&pd(t,this._lView),gv(this._lView[x],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n;const t=ho(this._lView),i=this._lView[pi];null!==i&&!t&&mv(i,this._lView),gu(this._lView)}}let Rn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ox}return e})();const ix=Rn,rx=class extends ix{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=function Cr(e,n,t,i){const r=K(null);try{const o=n.tView,l=za(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[pi]=e[n.index];const u=e[Sn];return null!==u&&(l[Sn]=u.createEmbeddedView(o)),Nd(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Vo(r)}};function ox(){return Za(he(),D())}function Za(e,n){return 4&e.type?new rx(n,e,dr(e,n)):null}class br{}const qo=new R("",{providedIn:"root",factory:()=>!1}),__=new R(""),zd=new R("");class Kx{}class y_{}class Xx{resolveComponentFactory(n){throw function Jx(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}class el{static#e=this.NULL=new Xx}class Gd{}let Xt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function eO(){const e=D(),t=Ot(he().index,e);return(ze(t)?t:e)[j]}()}return e})(),tO=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();function nl(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Sv(e,t,o.join(" "))}}(h,Me,g,i),void 0!==t&&function dO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=hO}return e})();function hO(){return S_(he(),D())}const pO=mn,I_=class extends pO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return dr(this._hostTNode,this._hostLView)}get injector(){return new Ge(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ca(this._hostTNode,this._hostLView);if(Tu(n)){const t=Co(n,this._hostLView),i=yo(n);return new Ge(t[x].data[i+8],t)}return new Ge(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=M_(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Ne}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,r,Mi(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function co(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const g=t||{};a=g.index,i=g.injector,r=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}const l=s?n:new Qo(X(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const C=(s?c:this.parentInjector).get(Zt,null);C&&(o=C)}X(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,Mi(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function $M(e){return tt(e[Fe])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Fe],c=new I_(l,l[Ke],l[Fe]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return function wr(e,n,t,i=!0){const r=n[x];if(function uT(e,n,t,i){const r=Ne+i,o=t.length;i>0&&(t[r-1][Qt]=n),i!1;class Yd{constructor(n){this.queryList=n,this.matches=null}clone(){return new Yd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Kd{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;on.trim())}(n):n}}class Jd{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i0)i.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Ne;d(vc(n),n.value);return t[zt]=n,t}(e),i=t[zt];return n?.equal&&(i.equal=n.equal),t.set=r=>yp(i,r),t.update=r=>function hI(e,n){fp()||_p(),yp(e,n(e.value))}(i,r),t.asReadonly=B_.bind(t),t}function B_(){const e=this[zt];if(void 0===e.readonlyFn){const n=()=>this();n[zt]=e,e.readonlyFn=n}return e.readonlyFn}function j_(e){return function H_(e){return"function"==typeof e&&void 0!==e[zt]}(e)&&"function"==typeof e.set}function ce(e){let n=function J_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(Yt(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new T(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=rl(e.inputs),s.inputTransforms=rl(e.inputTransforms),s.declaredInputs=rl(e.declaredInputs),s.outputs=rl(e.outputs);const a=r.hostBindings;a&&VO(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&PO(e,l),c&&FO(e,c),LO(e,r),NI(e.outputs,r.outputs),Yt(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=lo(r.hostAttrs,t=lo(t,r.hostAttrs))}}(i)}function LO(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function rl(e){return e===an?{}:e===se?[]:e}function PO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function FO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function VO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class Oi{}class GO{}class of extends Oi{constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new b_(this);const o=function et(e,n){const t=e[Fp]||null;if(!t&&!0===n)throw new Error(`Type ${je(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Nt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=rm(n,t,[{provide:Oi,useValue:this},{provide:el,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class sf extends GO{constructor(n){super(),this.moduleType=n}create(n){return new of(this.moduleType,n,[])}}function ol(e){return!!af(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function af(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function vn(e,n,t){return e[n]=t}function Ae(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Ni(e,n,t,i){const r=Ae(e,n,t);return Ae(e,n+1,i)||r}function Jo(e,n,t,i,r,o,s,a,l,c){const u=t+L,d=n.firstCreatePass?function JO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=Ii(n,e,4,s||null,a||null);Md(n,t,u,Ht(c,l)),ga(n,u);const d=u.tView=Id(2,u,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,n,e,i,r,o,s,a,l):n.data[u];Kt(d,!1);const h=ry(n,e,d,t);vo()&&Ua(n,e,h,d),rt(h,e);const p=Vv(h,e,h,d);return e[u]=p,Ga(e,p),function x_(e,n,t){return Qd(e,n,t)}(p,d,e),ca(d)&&bd(n,e,d),null!=l&&Ed(e,d,c),d}function V(e,n,t,i,r,o,s,a){const l=D(),c=J();return Jo(l,c,e,n,t,i,r,Ht(c.consts,o),s,a),V}let ry=function oy(e,n,t,i){return fn(!0),n[j].createComment("")};var Tr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Tr||{});let dy=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();class ts{constructor(){this.ngZone=k(pe),this.scheduler=k(br),this.errorHandler=k(pn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Tr.EarlyRead,Tr.Write,Tr.MixedReadWrite,Tr.Read];execute(){this.executing=!0;for(const n of ts.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[n])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(i){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static#t=this.\u0275prov=ne({token:ts,providedIn:"root",factory:()=>new ts})}function ft(e,n,t,i){const r=D();return Ae(r,Jt(),n)&&(J(),gn(ye(),r,e,n,t,i)),ft}function kr(e,n,t,i){return Ae(e,Jt(),t)?n+W(t)+i:Z}function fl(e,n){return e<<17|n<<2}function Jn(e){return e>>17&32767}function yf(e){return 2|e}function Ri(e){return(131068&e)>>2}function Cf(e,n){return-131069&e|n<<2}function wf(e){return 1|e}function Hy(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Jn(r):Ri(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];BN(e[s],n)&&(a=!0,e[s+1]=i?wf(c):yf(c)),s=i?Jn(c):Ri(c)}a&&(e[t+1]=i?yf(r):wf(r))}function BN(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ji(e,n)>=0}const qe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function By(e){return e.substring(qe.key,qe.keyEnd)}function jy(e,n){const t=qe.textEnd;return t===n?-1:(n=qe.keyEnd=function zN(e,n,t){for(;n32;)n++;return n}(e,qe.key=n,t),$r(e,n,t))}function $r(e,n,t){for(;n=0;t=jy(n,t))xt(e,By(n),!0)}function en(e,n,t,i){const r=D(),o=J(),s=On(2);o.firstUpdatePass&&Wy(o,e,s,i),n!==Z&&Ae(r,s,n)&&Qy(o,o.data[Je()],r,r[j],e,r[s+1]=function n1(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je(Wn(e)))),e}(n,t),i,s)}function qy(e,n){return n>=e.expandoStartIndex}function Wy(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[Je()],s=qy(e,t);Ky(o,i)&&null===n&&!s&&(n=!1),n=function QN(e,n,t,i){const r=function wu(e){const n=U.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=is(t=bf(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=bf(r,e,n,t,i),null===o){let l=function YN(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ri(i))return e[Jn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=bf(null,e,n,l[1],i),l=is(l,n.attrs,i),function KN(e,n,t,i){e[Jn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function JN(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,r)if(0!==l){const h=Jn(e[a+1]);e[i+1]=fl(h,a),0!==h&&(e[h+1]=Cf(e[h+1],i)),e[a+1]=function PN(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=fl(a,0),0!==a&&(e[a+1]=Cf(e[a+1],i)),a=i;else e[i+1]=fl(l,0),0===a?a=i:e[l+1]=Cf(e[l+1],i),l=i;c&&(e[i+1]=yf(e[i+1])),Hy(e,u,i,!0),Hy(e,u,i,!1),function HN(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Ji(o,n)>=0&&(t[i+1]=wf(t[i+1]))}(n,u,e,i,o),s=fl(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function bf(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[r+1];h===Z&&(h=d?se:void 0);let p=d?Qc(h,i):u===i?h:void 0;if(c&&!pl(p)&&(p=Qc(l,i)),pl(p)&&(a=p,s))return a;const g=e[r+1];r=s?Jn(g):Ri(g)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Qc(l,i))}return a}function pl(e){return void 0!==e}function Ky(e,n){return!!(e.flags&(n?8:16))}function Cn(e,n,t){!function tn(e,n,t,i){const r=J(),o=On(2);r.firstUpdatePass&&Wy(r,null,o,i);const s=D();if(t!==Z&&Ae(s,o,t)){const a=r.data[Je()];if(Ky(a,i)&&!qy(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Rc(l,t||"")),Df(r,a,s,t,i)}else!function t1(e,n,t,i,r,o,s,a){r===Z&&(r=se);let l=0,c=0,u=0(fn(!0),Ba(i,r,function Vg(){return U.lFrame.currentNamespace}()));function ee(e,n,t){const i=D(),r=J(),o=e+L,s=r.firstCreatePass?function S1(e,n,t,i,r){const o=n.consts,s=Ht(o,i),a=Ii(n,e,8,"ng-container",s);return null!==s&&nl(a,s,!0),Md(n,t,a,Ht(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Kt(s,!0);const a=iC(r,i,s,e);return i[o]=a,vo()&&Ua(r,i,a,s),rt(a,i),ca(s)&&(bd(r,i,s),Dd(r,s,i)),null!=t&&Ed(i,s),ee}function te(){let e=he();const n=J();return _u()?yu():(e=e.parent,Kt(e,!1)),n.firstCreatePass&&(ga(n,e),cu(e)&&n.queries.elementEnd(e)),te}let iC=(e,n,t,i)=>(fn(!0),hd(n[j],""));function Ee(){return D()}const ml="en-US";let lC=ml,MC=(e,n,t)=>{};function q(e,n,t,i){const r=D(),o=J(),s=he();return xf(o,r,r[j],s,e,n,i),q}function xf(e,n,t,i,r,o,s){const a=ca(i),c=e.firstCreatePass&&jv(e),u=n[_e],d=Bv(n);let h=!0;if(3&i.type||s){const C=lt(i,n),b=s?s(C):C,M=d.length,w=s?Q=>s(ae(Q[i.index])):i.index;let F=null;if(!s&&a&&(F=function CA(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==F)(F.__ngLastListenerFn__||F).__ngNextListenerFn__=o,F.__ngLastListenerFn__=o,h=!1;else{o=OC(i,n,u,o),MC(C,r,o);const Q=t.listen(b,r,o);d.push(o,Q),c&&c.push(r,w,M,M+1)}}else o=OC(i,n,u,o);const p=i.outputs;let g;if(h&&null!==p&&(g=p[r])){const C=g.length;if(C)for(let b=0;b-1?Ot(e.index,n):n,5);let a=xC(n,t,i,o),l=r.__ngNextListenerFn__;for(;l;)a=xC(n,t,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function v(e=1){return function n0(e){return(U.lFrame.contextLView=function Dg(e,n){for(;e>0;)n=n[ir],e--;return n}(e,U.lFrame.contextLView))[_e]}(e)}function kn(e,n,t){return Of(e,"",n,"",t),kn}function Of(e,n,t,i,r){const o=D(),s=kr(o,n,t,i);return s!==Z&&wt(J(),ye(),o,e,s,o[j],r,!1),Of}function HC(e,n,t,i){!function k_(e,n,t,i){const r=J();if(r.firstCreatePass){const o=he();P_(r,new N_(n,t,i),o.index),function EO(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return R_(r,D(),t)}(e,n,t,i)}function Lt(e,n,t){!function L_(e,n,t){const i=J();return i.firstCreatePass&&(P_(i,new N_(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),R_(i,D(),n)}(e,n,t)}function bt(e){const n=D(),t=J(),i=Du();pa(i+1);const r=nf(t,i);if(e.dirty&&function UM(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=F_(n,i);e.reset(o,hm),e.notifyOnChanges()}return!0}return!1}function Et(){return function tf(e,n){return e[Sn].queries[n].queryList}(D(),Du())}function E(e,n=""){const t=D(),i=J(),r=e+L,o=i.firstCreatePass?Ii(i,r,1,n,null):i.data[r],s=QC(i,t,o,n,e);t[r]=s,vo()&&Ua(i,t,s,o),Kt(o,!1)}let QC=(e,n,t,i,r)=>(fn(!0),function fd(e,n){return e.createText(n)}(n[j],i));function N(e){return Y("",e,""),N}function Y(e,n,t){const i=D(),r=kr(i,e,n,t);return r!==Z&&function An(e,n,t){const i=po(n,e);!function pv(e,n,t){e.setValue(n,t)}(e[j],i,t)}(i,Je(),r),Y}function Xe(e,n,t){j_(n)&&(n=n());const i=D();return Ae(i,Jt(),n)&&wt(J(),ye(),i,e,n,i[j],t,!1),Xe}function xe(e,n){const t=j_(e);return t&&e.set(n),t}function ot(e,n){const t=D(),i=J(),r=he();return xf(i,t,t[j],r,e,n),ot}function Af(e,n,t,i,r){if(e=B(e),Array.isArray(e))for(let o=0;o>20;if(hi(e)||!e.multi){const p=new _o(c,r,S),g=Lf(l,n,r?u:u+h,d);-1===g?(Nu(ya(a,s),o,l),Rf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[g]=p,s[g]=p)}else{const p=Lf(l,n,u+h,d),g=Lf(l,n,u,u+h),b=g>=0&&t[g];if(r&&!b||!r&&!(p>=0&&t[p])){Nu(ya(a,s),o,l);const M=function GA(e,n,t,i,r){const o=new _o(e,t,S);return o.multi=[],o.index=n,o.componentProviders=0,sw(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&b&&(t[g].providerFactory=M),Rf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(M),s.push(M)}else Rf(o,e,p>-1?p:g,sw(t[r?g:p],c,!r&&i));!r&&i&&b&&t[g].componentProviders++}}}function Rf(e,n,t,i){const r=hi(n),o=function _M(e){return!!e.useClass}(n);if(r||o){const l=(o?B(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function sw(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Lf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=J();if(i.firstCreatePass){const r=Yt(e);Af(t,i.data,i.blueprint,r,!0),Af(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function cs(e,n,t,i){return function cw(e,n,t,i,r,o){const s=n+t;return Ae(e,s,r)?vn(e,s+1,o?i.call(o,r):i(r)):us(e,s+1)}(D(),ct(),e,n,t,i)}function Pf(e,n,t,i,r){return function uw(e,n,t,i,r,o,s){const a=n+t;return Ni(e,a,r,o)?vn(e,a+2,s?i.call(s,r,o):i(r,o)):us(e,a+2)}(D(),ct(),e,n,t,i,r)}function We(e,n,t,i,r,o){return dw(D(),ct(),e,n,t,i,r,o)}function us(e,n){const t=e[n];return t===Z?void 0:t}function dw(e,n,t,i,r,o,s,a){const l=n+t;return function sl(e,n,t,i,r){const o=Ni(e,n,t,i);return Ae(e,n+2,r)||o}(e,l,r,o,s)?vn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):us(e,l+3)}function gw(e,n,t,i,r){const o=e+L,s=D(),a=function mi(e,n){return e[n]}(s,o);return function ds(e,n){return e[x].data[n].pure}(s,o)?dw(s,ct(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const kw=new R(""),Il=new R("");let zf,Uf=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,zf||(function iL(e){zf=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.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:()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!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(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(oe(pe),oe($f),oe(Il))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),$f=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return zf?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ml(e){return!!e&&"function"==typeof e.then}function Pw(e){return!!e&&"function"==typeof e.subscribe}const rL=new R("");let Fw=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=k(rL,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Ml(o))t.push(o);else if(Pw(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Gf=new R("");function Hw(e,n){return Array.isArray(n)?n.reduce(Hw,e):{...e,...n}}let Pn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(B0),this.afterRenderManager=k(dy),this.zonelessEnabled=k(qo),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new sn,this.afterTick=new sn,this.componentTypes=[],this.components=[],this.isStable=k(ur).hasPendingTasks.pipe(Nc(t=>!t)),this._injector=k(Zt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof y_;if(!this._injector.get(Fw).done)throw!r&&function fi(e){const n=X(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(el).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function oL(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Oi),c=s.create(it.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(kw,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new T(101,!1);const t=K(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,K(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(Gd,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;0!==this.dirtyFlags&&i++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:r,notifyErrorHandler:o}of this._views)lL(r,o,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>ua(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Sl(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(Gf,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Sl(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new T(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sl(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function lL(e,n,t,i){(t||ua(e))&&Wa(e,n,t&&!i?0:1)}let fL=(()=>{class e{constructor(){this.zone=k(pe),this.changeDetectionScheduler=k(br),this.applicationRef=k(Pn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qf({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new pe({...Wf(),scheduleInRootZone:t}),[{provide:pe,useFactory:e},{provide:Mn,multi:!0,useFactory:()=>{const i=k(fL,{optional:!0});return()=>i.initialize()}},{provide:Mn,multi:!0,useFactory:()=>{const i=k(pL);return()=>{i.initialize()}}},!0===n?{provide:__,useValue:!0}:[],{provide:zd,useValue:t??sm}]}function Wf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let pL=(()=>{class e{constructor(){this.subscription=new It,this.initialized=!1,this.zone=k(pe),this.pendingTasks=k(ur)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ps=(()=>{class e{constructor(){this.appRef=k(Pn),this.taskService=k(ur),this.ngZone=k(pe),this.zonelessEnabled=k(qo),this.disableScheduling=k(__,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new It,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ia):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(k(zd,{optional:!0})??!1),this.cancelScheduledCallback=null,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 Vu||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?lm:am;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ia+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,lm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Xn=new R("",{providedIn:"root",factory:()=>k(Xn,ie.Optional|ie.SkipSelf)||function gL(){return typeof $localize<"u"&&$localize.locale||ml}()}),xl=new R("");function Ol(e){return!e.moduleRef}let qw=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,s=i?.ignoreChangesOutsideZone,a=[qf({ngZoneFactory:()=>function H0(e="zone.js",n){return"noop"===e?new Vu:"zone.js"===e?new pe(n):e}(i?.ngZone,{...Wf({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:s}),{provide:br,useExisting:ps}],l=function WO(e,n,t){return new of(e,n,t,!1)}(t.moduleType,this.injector,a);return function Gw(e){const n=Ol(e)?e.r3Injector:e.moduleRef.injector,t=n.get(pe);return t.run(()=>{Ol(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(pn,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{i.handleError(o)}})}),Ol(e)){const o=()=>n.destroy(),s=e.platformInjector.get(xl);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(xl);s.add(o),e.moduleRef.onDestroy(()=>{Sl(e.allPlatformModules,e.moduleRef),r.unsubscribe(),s.delete(o)})}return function aL(e,n,t){try{const i=t();return Ml(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(i,t,()=>{const o=n.get(Fw);return o.runInitializers(),o.donePromise.then(()=>{if(function P1(e){"string"==typeof e&&(lC=e.toLowerCase().replace(/_/g,"-"))}(n.get(Xn,ml)||ml),Ol(e)){const a=n.get(Pn);return void 0!==e.rootComponent&&a.bootstrap(e.rootComponent),a}return function wL(e,n){const t=e.injector.get(Pn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new T(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){const r=Hw({},i);return function dL(e,n,t){const i=new sf(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new T(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(xl,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(oe(it))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ei=null;const Ww=new R("");function Zw(e,n,t=[]){const i=`Platform: ${n}`,r=new R(i);return(o=[])=>{let s=Qf();if(!s||s.injector.get(Ww,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function DL(e){if(ei&&!ei.get(Ww,!1))throw new T(400,!1);(function Vw(){!function dI(e){vp=e}(()=>{throw new T(600,!1)})})(),ei=e;const n=e.get(qw);(function Yw(e){e.get(Rm,null)?.forEach(t=>t())})(e)}(function Qw(e=[],n){return it.create({name:n,providers:[{provide:nu,useValue:"platform"},{provide:xl,useValue:new Set([()=>ei=null])},...e]})}(a,i))}return function bL(){const n=Qf();if(!n)throw new T(401,!1);return n}()}}function Qf(){return ei?.get(qw)??null}let ki=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=IL}return e})();function IL(e){return function ML(e,n,t){if(gi(e)&&!t){const i=Ot(e.index,n);return new Vo(i,i)}return 175&e.type?new Vo(n[Te],n):null}(he(),D(),!(16&~e))}class tD{constructor(){}supports(n){return ol(n)}create(n){return new NL(n)}}const OL=(e,n)=>n;class NL{constructor(n){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=n||OL}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new AL(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new nD),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new nD),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class AL{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class RL{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class nD{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new RL,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function iD(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new kL(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class kL{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function oD(){return new eh([new tD])}let eh=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:oD});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||oD()),deps:[[e,new Wc,new qc]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function sD(){return new Rl([new rD])}let Rl=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:sD});constructor(t){this.factories=t}static create(t,i){if(i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||sD()),deps:[[e,new Wc,new qc]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const VL=Zw(null,"core",[]);let HL=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Pn))};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})();function _s(e,n){dt("NgSignals");const t=function lI(e){const n=Object.create(cI);n.computation=e;const t=()=>{if(up(n),vc(n),n.value===Fs)throw n.error;return n.value};return t[zt]=n,t}(e);return n?.equal&&(t[zt].equal=n.equal),t}function wn(e){const n=K(null);try{return e()}finally{K(n)}}let xD=null;function ys(){return xD}class bk{}const Fi=new R(""),hh=/\s+/,VD=[];let Zr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=VD,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(hh):VD}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(hh):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(hh).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class dP{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Vi=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new dP(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),BD(a,r)}});for(let r=0,o=i.length;r{BD(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn),S(Rn),S(eh))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function BD(e,n){e.context.$implicit=n.item}let Hn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new fP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){jD("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){jD("ngIfElse",t),this._elseTemplateRef=t,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(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn),S(Rn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class fP{constructor(){this.$implicit=null,this.ngIf=null}}function jD(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let $D=(()=>{class e{constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,i){const[r,o]=t.split("."),s=-1===r.indexOf("-")?void 0:Qn.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Rl),S(Xt))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),zD=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[un]})}return e})();let qD=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function rn(e,n){return new T(2100,!1)}();return t.slice(i,r)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=yt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),WD=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})();function QD(e){return"server"===e}class pF extends bk{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class wh extends pF{static makeCurrent(){!function Dk(e){xD??=e}(new wh)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function gF(){return bs=bs||document.querySelector("base"),bs?bs.getAttribute("href"):null}();return null==t?null:function mF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){bs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function cP(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let bs=null,_F=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Dh=new R("");let sb=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new T(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Dh),oe(pe))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class ab{constructor(n){this._doc=n}}const bh="ng-app-id";let lb=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=QD(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${bh}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(bh),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(bh,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi),oe(hr),oe(Lm,8),oe(wi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Eh={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"},Ih=/%COMP%/g,DF=new R("",{providedIn:"root",factory:()=>!0});function ub(e,n){return n.map(t=>t.replace(Ih,e))}let db=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=QD(a),this.defaultRenderer=new Mh(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Gt.ShadowDom&&(i={...i,encapsulation:Gt.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof hb?r.applyToHost(t):r instanceof Sh&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case Gt.Emulated:o=new hb(l,c,i,this.appId,u,s,a,d);break;case Gt.ShadowDom:return new MF(l,c,t,i,s,a,this.nonce,d);default:o=new Sh(l,c,i,u,s,a,d)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(oe(sb),oe(lb),oe(hr),oe(DF),oe(Fi),oe(wi),oe(pe),oe(Lm))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Mh{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Eh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(fb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(fb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new T(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=Eh[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Eh[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Qn.DashCase|Qn.Important)?n.style.setProperty(t,i,r&Qn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Qn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=ys().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function fb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class MF extends Mh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=ub(r.id,r.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Sh extends Mh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?ub(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class hb extends Sh{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function bF(e){return"_ngcontent-%COMP%".replace(Ih,e)}(c),this.hostAttr=function EF(e){return"_nghost-%COMP%".replace(Ih,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let SF=(()=>{class e extends ab{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const pb=["alt","control","meta","shift"],TF={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},xF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let OF=(()=>{class e extends ab{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ys().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),pb.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=TF[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),pb.forEach(s=>{s!==r&&(0,xF[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const LF=Zw(VL,"browser",[{provide:wi,useValue:"browser"},{provide:Rm,useValue:function NF(){wh.makeCurrent()},multi:!0},{provide:Fi,useFactory:function RF(){return function lS(e){zu=e}(document),document},deps:[]}]),kF=new R(""),vb=[{provide:Il,useClass:class vF{addToWindow(n){be.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},be.getAllAngularTestabilities=()=>n.getAllTestabilities(),be.getAllAngularRootElements=()=>n.getAllRootElements(),be.frameworkStabilizers||(be.frameworkStabilizers=[]),be.frameworkStabilizers.push(i=>{const r=be.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?ys().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:kw,useClass:Uf,deps:[pe,$f,Il]},{provide:Uf,useClass:Uf,deps:[pe,$f,Il]}],_b=[{provide:nu,useValue:"root"},{provide:pn,useFactory:function AF(){return new pn},deps:[]},{provide:Dh,useClass:SF,multi:!0,deps:[Fi,pe,wi]},{provide:Dh,useClass:OF,multi:!0,deps:[Fi]},db,lb,sb,{provide:Gd,useExisting:db},{provide:class BP{},useClass:_F,deps:[]},[]];let PF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:hr,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(kF,12))};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({providers:[..._b,...vb],imports:[WD,HL]})}return e})();function ti(e){return this instanceof ti?(this.v=e,this):new ti(e)}function Eb(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Nh(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ib=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Mb(e){return Pe(e?.then)}function Sb(e){return Pe(e[xc])}function Tb(e){return Symbol.asyncIterator&&Pe(e?.[Symbol.asyncIterator])}function xb(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ob=function a2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Nb(e){return Pe(e?.[Ob])}function Ab(e){return function bb(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},a("next"),a("throw"),a("return",function s(p){return function(g){return Promise.resolve(g).then(p,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(p,g){i[p]&&(r[p]=function(C){return new Promise(function(b,M){o.push([p,C,b,M])>1||l(p,C)})},g&&(r[p]=g(r[p])))}function l(p,g){try{!function c(p){p.value instanceof ti?Promise.resolve(p.value.v).then(u,d):h(o[0][2],p)}(i[p](g))}catch(C){h(o[0][3],C)}}function u(p){l("next",p)}function d(p){l("throw",p)}function h(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield ti(t.read());if(r)return yield ti(void 0);yield yield ti(i)}}finally{t.releaseLock()}})}function Rb(e){return Pe(e?.getReader)}function Es(e){if(e instanceof Mt)return e;if(null!=e){if(Sb(e))return function l2(e){return new Mt(n=>{const t=e[xc]();if(Pe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ib(e))return function c2(e){return new Mt(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ip)})}(e);if(Tb(e))return Lb(e);if(Nb(e))return function d2(e){return new Mt(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Rb(e))return function f2(e){return Lb(Ab(e))}(e)}throw xb(e)}function Lb(e){return new Mt(n=>{(function h2(e,n){var t,i,r,o;return function wb(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Eb(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Bi(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function kb(e,n=0){return ui((t,i)=>{t.subscribe(Bn(i,r=>Bi(i,e,()=>i.next(r),n),()=>Bi(i,e,()=>i.complete(),n),r=>Bi(i,e,()=>i.error(r),n)))})}function Pb(e,n=0){return ui((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Fb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Mt(t=>{Bi(t,n,()=>{const i=e[Symbol.asyncIterator]();Bi(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:w2}=Array,{getPrototypeOf:D2,prototype:b2,keys:E2}=Object;const{isArray:T2}=Array;function N2(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function A2(...e){const n=function S2(e){return Pe(function Ah(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function I2(e){if(1===e.length){const n=e[0];if(w2(n))return{args:n,keys:null};if(function M2(e){return e&&"object"==typeof e&&D2(e)===b2}(n)){const t=E2(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Mt(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?N2(i,a):a),o.complete())}))}});return n?r.pipe(function O2(e){return Nc(n=>function x2(e,n){return T2(n)?e(...n):e(n)}(e,n))}(n)):r}let Vb=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(Xt),S(ut))};static#t=this.\u0275dir=$({type:e})}return e})(),ji=(()=>{class e extends Vb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,features:[ce]})}return e})();const on=new R(""),R2={provide:on,useExisting:ge(()=>Rh),multi:!0};let Rh=(()=>{class e extends ji{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([R2]),ce]})}return e})();const L2={provide:on,useExisting:ge(()=>Is),multi:!0},P2=new R("");let Is=(()=>{class e extends Vb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k2(){const e=ys()?ys().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(Xt),S(ut),S(P2,8))};static#t=this.\u0275dir=$({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,r){1&i&&q("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[Ie([L2]),ce]})}return e})();const st=new R(""),ii=new R("");function Zb(e){return null!=e}function Qb(e){return Ml(e)?function C2(e,n){return n?function y2(e,n){if(null!=e){if(Sb(e))return function p2(e,n){return Es(e).pipe(Pb(n),kb(n))}(e,n);if(Ib(e))return function m2(e,n){return new Mt(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Mb(e))return function g2(e,n){return Es(e).pipe(Pb(n),kb(n))}(e,n);if(Tb(e))return Fb(e,n);if(Nb(e))return function v2(e,n){return new Mt(t=>{let i;return Bi(t,n,()=>{i=e[Ob](),Bi(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>Pe(i?.return)&&i.return()})}(e,n);if(Rb(e))return function _2(e,n){return Fb(Ab(e),n)}(e,n)}throw xb(e)}(e,n):Es(e)}(e):e}function Yb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Kb(e,n){return n.map(t=>t(e))}function Jb(e){return e.map(n=>function V2(e){return!e.validate}(n)?n:t=>n.validate(t))}function Lh(e){return null!=e?function Xb(e){if(!e)return null;const n=e.filter(Zb);return 0==n.length?null:function(t){return Yb(Kb(t,n))}}(Jb(e)):null}function kh(e){return null!=e?function eE(e){if(!e)return null;const n=e.filter(Zb);return 0==n.length?null:function(t){return A2(Kb(t,n).map(Qb)).pipe(Nc(Yb))}}(Jb(e)):null}function tE(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Ph(e){return e?Array.isArray(e)?e:[e]:[]}function nc(e,n){return Array.isArray(e)?e.includes(n):e===n}function rE(e,n){const t=Ph(n);return Ph(e).forEach(r=>{nc(t,r)||t.push(r)}),t}function oE(e,n){return Ph(n).filter(t=>!nc(e,t))}class sE{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(n){this._rawValidators=n||[],this._composedValidatorFn=Lh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=kh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class mt extends sE{get formDirective(){return null}get path(){return null}}class ri extends sE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class aE{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let ic=(()=>{class e extends aE{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(ri,2))};static#t=this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Ln("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ce]})}return e})();const Ms="VALID",oc="INVALID",Yr="PENDING",Ss="DISABLED";class Kr{}class cE extends Kr{constructor(n,t){super(),this.value=n,this.source=t}}class Hh extends Kr{constructor(n,t){super(),this.pristine=n,this.source=t}}class Bh extends Kr{constructor(n,t){super(),this.touched=n,this.source=t}}class sc extends Kr{constructor(n,t){super(),this.status=n,this.source=t}}function ac(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class $h{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=_s(()=>this.statusReactive()),this.statusReactive=Er(void 0),this._pristine=_s(()=>this.pristineReactive()),this.pristineReactive=Er(!0),this._touched=_s(()=>this.touchedReactive()),this.touchedReactive=Er(!1),this._events=new sn,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return wn(this.statusReactive)}set status(n){wn(()=>this.statusReactive.set(n))}get valid(){return this.status===Ms}get invalid(){return this.status===oc}get pending(){return this.status==Yr}get disabled(){return this.status===Ss}get enabled(){return this.status!==Ss}get pristine(){return wn(this.pristineReactive)}set pristine(n){wn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return wn(this.touchedReactive)}set touched(n){wn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(rE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(rE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(oE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(oE(n,this._rawAsyncValidators))}hasValidator(n){return nc(this._rawValidators,n)}hasAsyncValidator(n){return nc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Bh(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&!1!==n.emitEvent&&this._events.next(new Bh(!1,i))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Hh(!1,i))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&!1!==n.emitEvent&&this._events.next(new Hh(!0,i))}markAsPending(n={}){this.status=Yr;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new sc(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ss,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new cE(this.value,i)),this._events.next(new sc(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ms,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ms||this.status===Yr)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new cE(this.value,t)),this._events.next(new sc(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ss:Ms}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Yr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=Qb(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new sc(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new Ce,this.statusChanges=new Ce}_calculateStatus(){return this._allControlsDisabled()?Ss:this.errors?oc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Yr)?Yr:this._anyControlsHaveStatus(oc)?oc:Ms}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),r&&this._events.next(new Hh(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new Bh(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){ac(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function q2(e){return Array.isArray(e)?Lh(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function W2(e){return Array.isArray(e)?kh(e):e||null}(this._rawAsyncValidators)}}const Jr=new R("CallSetDisabledState",{providedIn:"root",factory:()=>lc}),lc="always";function Ts(e,n,t=lc){(function Gh(e,n){const t=function nE(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(tE(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function iE(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(tE(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();dc(n._rawValidators,r),dc(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Y2(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&fE(e,n)})}(e,n),function J2(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function K2(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&fE(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Q2(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function dc(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function fE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function gE(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function mE(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const vE=class extends $h{constructor(n=null,t,i){super(function jh(e){return(ac(e)?e.validators:e)||null}(t),function Uh(e,n){return(ac(n)?n.asyncValidators:e)||null}(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ac(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=mE(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){gE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){gE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){mE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},sV={provide:ri,useExisting:ge(()=>Os)},CE=Promise.resolve();let Os=(()=>{class e extends ri{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new vE,this._registered=!1,this.name="",this.update=new Ce,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function Zh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===Is?t=o:function tV(e){return Object.getPrototypeOf(e.constructor)===ji}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function Wh(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,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(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ts(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()}_updateValue(t){CE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function ih(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);CE.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function cc(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(S(mt,9),S(st,10),S(ii,10),S(on,10),S(ki,8),S(Jr,8))};static#t=this.\u0275dir=$({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:[Ie([sV]),ce,un]})}return e})();const dV={provide:on,useExisting:ge(()=>Yh),multi:!0};let Yh=(()=>{class e extends ji{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.value)})("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[Ie([dV]),ce]})}return e})();const vV={provide:on,useExisting:ge(()=>Ns),multi:!0};function SE(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Ns=(()=>{class e extends ji{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const r=SE(this._getOptionId(t),t);this.setProperty("value",r)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function _V(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([vV]),ce]})}return e})(),ep=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(SE(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(Ns,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const yV={provide:on,useExisting:ge(()=>tp),multi:!0};function TE(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let tp=(()=>{class e extends ji{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const r=t.map(o=>this._getOptionId(o));i=(o,s)=>{o._setSelected(r.indexOf(s.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const r=[],o=i.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([yV]),ce]})}return e})(),np=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(TE(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(TE(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(tp,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),xV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})(),NV=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Jr,useValue:t.callSetDisabledState??lc}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({imports:[xV]})}return e})();class AV extends It{constructor(n,t){super()}schedule(n,t=0){return this}}const hc={setInterval(e,n,...t){const{delegate:i}=hc;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=hc;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},VE={now:()=>(VE.delegate||Date).now(),delegate:void 0};class As{constructor(n,t=As.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}As.now=VE.now;const HE=new class LV extends As{constructor(n,t=As.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}(class RV extends AV{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return hc.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&hc.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Hs(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),kV=HE;function BE(e,n=HE,t){const i=function HV(e=0,n,t=kV){let i=-1;return null!=n&&(function FV(e){return e&&Pe(e.schedule)}(n)?t=n:i=n),new Mt(r=>{let o=function VV(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(e,n);return function PV(e,n){return ui((t,i)=>{const{leading:r=!0,trailing:o=!1}=n??{};let s=!1,a=null,l=null,c=!1;const u=()=>{l?.unsubscribe(),l=null,o&&(p(),c&&i.complete())},d=()=>{l=null,c&&i.complete()},h=g=>l=Es(e(g)).subscribe(Bn(i,u,d)),p=()=>{if(s){s=!1;const g=a;a=null,i.next(g),!c&&h(g)}};t.subscribe(Bn(i,g=>{s=!0,a=g,(!l||l.closed)&&(r?p():h(g))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function jE(e,n,t){const i=Pe(e)||n||t?{next:e,error:n,complete:t}:e;return i?ui((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Bn(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Oc}function UE(e,n=Oc){return e=e??BV,ui((t,i)=>{let r,o=!0;t.subscribe(Bn(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function BV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Xr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),$E=!1,zE=function(){};Pt.addEventListener&&Pt.addEventListener("p",zE,{get passive(){return $E=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",zE,!1);var GE=$E,rp="ontouchstart"in Pt,WE=(rp||"TouchEvent"in Pt&&Xr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Xr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(WE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Xr("(pointer: coarse)").matches||!Xr("(pointer: fine)").matches&&rp)&&/Windows.*Firefox/.test(WE),Xr("(any-pointer: fine)").matches||Xr("(any-hover: hover)");const WV=(e,n,t)=>({tooltip:e,placement:n,content:t});function ZV(e,n){}function QV(e,n){1&e&&V(0,ZV,0,0,"ng-template")}function YV(e,n){if(1&e&&(ee(0),V(1,QV,1,0,null,1),te()),2&e){const t=v();f(),m("ngTemplateOutlet",t.template)("ngTemplateOutletContext",We(2,WV,t.tooltip,t.placement,t.content))}}function KV(e,n){if(1&e&&(ee(0),y(1,"div",2),E(2),_(),te()),2&e){const t=v();f(),ft("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const JV=["tooltipTemplate"],XV=["leftOuterSelectionBar"],eH=["rightOuterSelectionBar"],tH=["fullBar"],nH=["selectionBar"],iH=["minHandle"],rH=["maxHandle"],oH=["floorLabel"],sH=["ceilLabel"],aH=["minHandleLabel"],lH=["maxHandleLabel"],cH=["combinedLabel"],uH=["ticksElement"],dH=e=>({"ngx-slider-selected":e});function fH(e,n){if(1&e&&O(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;m("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function hH(e,n){1&e&&O(0,"span",33),2&e&&m("innerText",v().$implicit.legend)}function pH(e,n){1&e&&O(0,"span",34),2&e&&m("innerHTML",v().$implicit.legend,rv)}function gH(e,n){if(1&e&&(y(0,"span",27),O(1,"ngx-slider-tooltip-wrapper",28),V(2,fH,1,4,"ngx-slider-tooltip-wrapper",29)(3,hH,1,1,"span",30)(4,pH,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();m("ngClass",cs(8,dH,t.selected))("ngStyle",t.style),f(),m("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),m("ngIf",null!=t.value),f(),m("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),m("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var Dn=function(e){return e[e.Low=0]="Low",e[e.High=1]="High",e[e.Floor=2]="Floor",e[e.Ceil=3]="Ceil",e[e.TickValue=4]="TickValue",e}(Dn||{});class pc{floor=0;ceil=null;step=1;minRange=null;maxRange=null;pushRange=!1;minLimit=null;maxLimit=null;translate=null;combineLabels=null;getLegend=null;getStepLegend=null;stepsArray=null;bindIndexForStepsArray=!1;draggableRange=!1;draggableRangeOnly=!1;showSelectionBar=!1;showSelectionBarEnd=!1;showSelectionBarFromValue=null;showOuterSelectionBars=!1;hidePointerLabels=!1;hideLimitLabels=!1;autoHideLimitLabels=!0;readOnly=!1;disabled=!1;showTicks=!1;showTicksValues=!1;tickStep=null;tickValueStep=null;ticksArray=null;ticksTooltip=null;ticksValuesTooltip=null;vertical=!1;getSelectionBarColor=null;getTickColor=null;getPointerColor=null;keyboardSupport=!0;scale=1;rotate=0;enforceStep=!0;enforceRange=!0;enforceStepsArray=!0;noSwitching=!1;onlyBindHandles=!1;rightToLeft=!1;reversedControls=!1;boundPointerLabels=!0;logScale=!1;customValueToPosition=null;customPositionToValue=null;precisionLimit=12;selectionBarGradient=null;ariaLabel="ngx-slider";ariaLabelledBy=null;ariaLabelHigh="ngx-slider-max";ariaLabelledByHigh=null;handleDimension=null;barDimension=null;animate=!0;animateOnMove=!1}const YE=new R("AllowUnsafeHtmlInSlider");var A=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(A||{});class mH{value;highValue;pointerType}class I{static isNullOrUndefined(n){return null==n}static areArraysEqual(n,t){if(n.length!==t.length)return!1;for(let i=0;iMath.abs(n-o.value));let r=0;for(let o=0;o{o.events.next(a)};return n.addEventListener(t,s,{passive:!0,capture:!1}),o.teardownCallback=()=>{n.removeEventListener(t,s,{passive:!0,capture:!1})},o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?jE(()=>{}):BE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}detachEventListener(n){I.isNullOrUndefined(n.eventsSubscription)||(n.eventsSubscription.unsubscribe(),n.eventsSubscription=null),I.isNullOrUndefined(n.events)||(n.events.complete(),n.events=null),I.isNullOrUndefined(n.teardownCallback)||(n.teardownCallback(),n.teardownCallback=null)}attachEventListener(n,t,i,r){const o=new KE;return o.eventName=t,o.events=new sn,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?jE(()=>{}):BE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let si=(()=>{class e{elemRef;renderer;changeDetectionRef;_position=0;get position(){return this._position}_dimension=0;get dimension(){return this._dimension}_alwaysHide=!1;get alwaysHide(){return this._alwaysHide}_vertical=!1;get vertical(){return this._vertical}_scale=1;get scale(){return this._scale}_rotate=0;get rotate(){return this._rotate}opacity=1;visibility="visible";left="";bottom="";height="";width="";transform="";eventListenerHelper;eventListeners=[];constructor(t,i,r){this.elemRef=t,this.renderer=i,this.changeDetectionRef=r,this.eventListenerHelper=new JE(this.renderer)}setAlwaysHide(t){this._alwaysHide=t,this.visibility=t?"hidden":"visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return!this.alwaysHide&&0!==this.opacity}setVertical(t){this._vertical=t,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(t){this._scale=t}setRotate(t){this._rotate=t,this.transform="rotate("+t+"deg)"}getRotate(){return this._rotate}setPosition(t){this._position!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._position=t,this._vertical?this.bottom=Math.round(t)+"px":this.left=Math.round(t)+"px"}calculateDimension(){const t=this.getBoundingClientRect();this._dimension=this.vertical?(t.bottom-t.top)*this.scale:(t.right-t.left)*this.scale}setDimension(t){this._dimension!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._dimension=t,this._vertical?this.height=Math.round(t)+"px":this.width=Math.round(t)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(t,i,r){const o=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}onPassive(t,i,r){const o=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}off(t){let i,r;I.isNullOrUndefined(t)?(i=[],r=this.eventListeners):(i=this.eventListeners.filter(o=>o.eventName!==t),r=this.eventListeners.filter(o=>o.eventName===t));for(const o of r)this.eventListenerHelper.detachEventListener(o);this.eventListeners=i}isRefDestroyed(){return I.isNullOrUndefined(this.changeDetectionRef)||this.changeDetectionRef.destroyed}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki))};static \u0275dir=$({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&hl("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),op=(()=>{class e extends si{active=!1;role="";tabindex="";ariaOrientation="";ariaLabel="";ariaLabelledBy="";ariaValueNow="";ariaValueText="";ariaValueMin="";ariaValueMax="";focus(){this.elemRef.nativeElement.focus()}focusIfNeeded(){document.activeElement!==this.elemRef.nativeElement&&this.elemRef.nativeElement.focus()}constructor(t,i,r){super(t,i,r)}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki))};static \u0275dir=$({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ft("role",r.role)("tabindex",r.tabindex)("aria-orientation",r.ariaOrientation)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledBy)("aria-valuenow",r.ariaValueNow)("aria-valuetext",r.ariaValueText)("aria-valuemin",r.ariaValueMin)("aria-valuemax",r.ariaValueMax),Ln("ngx-slider-active",r.active))},features:[ce]})}return e})(),eo=(()=>{class e extends si{allowUnsafeHtmlInSlider;_value=null;get value(){return this._value}constructor(t,i,r,o){super(t,i,r),this.allowUnsafeHtmlInSlider=o}setValue(t){let i=!1;!this.alwaysHide&&(I.isNullOrUndefined(this.value)||this.value.length!==t.length||this.value.length>0&&0===this.dimension)&&(i=!0),this._value=t,!1===this.allowUnsafeHtmlInSlider?this.elemRef.nativeElement.innerText=t:this.elemRef.nativeElement.innerHTML=t,i&&this.calculateDimension()}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki),S(YE,8))};static \u0275dir=$({type:e,selectors:[["","ngxSliderLabel",""]],features:[ce]})}return e})(),vH=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=Wt({type:e,selectors:[["ngx-slider-tooltip-wrapper"]],inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-slider-inner-tooltip"]],template:function(i,r){1&i&&V(0,YV,2,6,"ng-container",0)(1,KV,3,3,"ng-container",0),2&i&&(m("ngIf",r.template),f(),m("ngIf",!r.template))},dependencies:[Hn,zD],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class _H{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class XE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class gc{value;highValue;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue}}class eI extends gc{forceChange;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue&&n.forceChange===t.forceChange}}const yH={provide:on,useExisting:ge(()=>tI),multi:!0};let tI=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new Ce;highValue=null;highValueChange=new Ce;options=new pc;userChangeStart=new Ce;userChange=new Ce;userChangeEnd=new Ce;manualRefreshSubscription;set manualRefresh(t){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=t.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}triggerFocusSubscription;set triggerFocus(t){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=t.subscribe(i=>{this.focusPointer(i)})}get range(){return!I.isNullOrUndefined(this.value)&&!I.isNullOrUndefined(this.highValue)}initHasRun=!1;inputModelChangeSubject=new sn;inputModelChangeSubscription=null;outputModelChangeSubject=new sn;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new pc;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new XE;leftOuterSelectionBarElement;rightOuterSelectionBarElement;fullBarElement;selectionBarElement;minHandleElement;maxHandleElement;floorLabelElement;ceilLabelElement;minHandleLabelElement;maxHandleLabelElement;combinedLabelElement;ticksElement;tooltipTemplate;sliderElementVerticalClass=!1;sliderElementAnimateClass=!1;sliderElementWithLegendClass=!1;sliderElementDisabledAttr=null;sliderElementAriaLabel="ngx-slider";barStyle={};minPointerStyle={};maxPointerStyle={};fullBarTransparentClass=!1;selectionBarDraggableClass=!1;ticksUnderValuesClass=!1;get showTicks(){return this.viewOptions.showTicks}intermediateTicks=!1;ticks=[];eventListenerHelper=null;onMoveEventListener=null;onEndEventListener=null;moving=!1;resizeObserver=null;onTouchedCallback=null;onChangeCallback=null;constructor(t,i,r,o,s){this.renderer=t,this.elementRef=i,this.changeDetectionRef=r,this.zone=o,this.allowUnsafeHtmlInSlider=s,this.eventListenerHelper=new JE(this.renderer)}ngOnInit(){this.viewOptions=new pc,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState(),this.updateAriaLabel()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(),this.subscribeOutputModelChangeSubject(),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.updateAriaLabel(),this.subscribeResizeObserver(),this.initHasRun=!0,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}ngOnChanges(t){!I.isNullOrUndefined(t.options)&&JSON.stringify(t.options.previousValue)!==JSON.stringify(t.options.currentValue)&&this.onChangeOptions(),(!I.isNullOrUndefined(t.value)||!I.isNullOrUndefined(t.highValue))&&this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(t){t instanceof Array?(this.value=t[0],this.highValue=t[1]):this.value=t,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}setDisabledState(t){this.viewOptions.disabled=t,this.updateDisabledState()}setAriaLabel(t){this.viewOptions.ariaLabel=t,this.updateAriaLabel()}onResize(t){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(UE(eI.compare),function jV(e,n){return ui((t,i)=>{let r=0;t.subscribe(Bn(i,o=>e.call(n,o,r++)&&i.next(o)))})}(t=>!t.forceChange&&!t.internalChange)).subscribe(t=>this.applyInputModelChange(t))}subscribeOutputModelChangeSubject(){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(UE(eI.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){oi.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){oi.isResizeObserverAvailable()&&null!==this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){I.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){I.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){I.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){I.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){I.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){I.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}getPointerElement(t){return t===A.Min?this.minHandleElement:t===A.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===A.Min?this.viewLowValue:this.currentTrackingPointer===A.Max?this.viewHighValue:null}modelValueToViewValue(t){return I.isNullOrUndefined(t)?NaN:I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?+t:I.findStepIndex(+t,this.viewOptions.stepsArray)}viewValueToModelValue(t){return I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?t:this.getStepValue(t)}getStepValue(t){const i=this.viewOptions.stepsArray[t];return I.isNullOrUndefined(i)?NaN:i.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!0})}applyInputModelChange(t){const i=this.normaliseModelValues(t),r=!gc.compare(t,i);r&&(this.value=i.value,this.highValue=i.highValue),this.viewLowValue=this.modelValueToViewValue(i.value),this.viewHighValue=this.range?this.modelValueToViewValue(i.highValue):null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:i.value,highValue:i.highValue,forceChange:r,userEventInitiated:!1})}publishOutputModelChange(t){const i=()=>{this.valueChange.emit(t.value),this.range&&this.highValueChange.emit(t.highValue),I.isNullOrUndefined(this.onChangeCallback)||this.onChangeCallback(this.range?[t.value,t.highValue]:t.value),I.isNullOrUndefined(this.onTouchedCallback)||this.onTouchedCallback(this.range?[t.value,t.highValue]:t.value)};t.userEventInitiated?(i(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{i()})}normaliseModelValues(t){const i=new gc;if(i.value=t.value,i.highValue=t.highValue,!I.isNullOrUndefined(this.viewOptions.stepsArray)){if(this.viewOptions.enforceStepsArray){const r=I.findStepIndex(i.value,this.viewOptions.stepsArray);if(i.value=this.viewOptions.stepsArray[r].value,this.range){const o=I.findStepIndex(i.highValue,this.viewOptions.stepsArray);i.highValue=this.viewOptions.stepsArray[o].value}}return i}if(this.viewOptions.enforceStep&&(i.value=this.roundStep(i.value),this.range&&(i.highValue=this.roundStep(i.highValue))),this.viewOptions.enforceRange&&(i.value=ke.clampToRange(i.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(i.highValue=ke.clampToRange(i.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&t.value>t.highValue))if(this.viewOptions.noSwitching)i.value=i.highValue;else{const r=t.value;i.value=t.highValue,i.highValue=r}return i}renormaliseModelValues(){const t={value:this.value,highValue:this.highValue},i=this.normaliseModelValues(t);gc.compare(i,t)||(this.value=i.value,this.highValue=i.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;const t=this.getOptionsInfluencingEventBindings(this.viewOptions);this.applyOptions();const i=this.getOptionsInfluencingEventBindings(this.viewOptions),r=!I.areArraysEqual(t,i);this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.resetSlider(r)}applyOptions(){if(this.viewOptions=new pc,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!I.isNullOrUndefined(this.viewOptions.ticksArray),this.viewOptions.showTicks&&(!I.isNullOrUndefined(this.viewOptions.tickStep)||!I.isNullOrUndefined(this.viewOptions.ticksArray))&&(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),I.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),I.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(t,i)=>t+" - "+i),this.viewOptions.logScale&&0===this.viewOptions.floor)throw Error("Can't use floor=0 with logarithmic scale")}applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(this.viewOptions.bindIndexForStepsArray?this.getStepValue(t):t))}applyFloorCeilOptions(){if(I.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),I.isNullOrUndefined(this.viewOptions.ceil)||I.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(t))}resetSlider(t=!0){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),t&&(this.unbindEvents(),this.manageEventsBindings()),this.updateDisabledState(),this.updateAriaLabel(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(t){t!==A.Min&&t!==A.Max&&(t=A.Min),t===A.Min?this.minHandleElement.focus():this.range&&t===A.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){I.isNullOrUndefined(this.currentFocusPointer)||this.getPointerElement(this.currentFocusPointer).focusIfNeeded()}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);const t=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(t||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate}),this.updateRotate()}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateAriaLabel(){this.sliderElementAriaLabel=this.viewOptions.ariaLabel||"nxg-slider"}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.setVertical(this.viewOptions.vertical)}updateScale(){for(const t of this.getAllSliderElements())t.setScale(this.viewOptions.scale)}updateRotate(){for(const t of this.getAllSliderElements())t.setRotate(this.viewOptions.rotate)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.minHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.minHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabel)?I.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.maxHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?I.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,Dn.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,Dn.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){I.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);const t=this.minHandleElement.dimension;this.handleHalfDimension=t/2,I.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-t,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}isRefDestroyed(){return this.changeDetectionRef.destroyed}updateTicksScale(){if(!this.viewOptions.showTicks&&this.sliderElementWithLegendClass)return void setTimeout(()=>{this.sliderElementWithLegendClass=!1});const t=I.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,i=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&t.reverse();const r=I.isNullOrUndefined(this.viewOptions.tickValueStep)?I.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep:this.viewOptions.tickValueStep;let o=!1;const s=t.map(a=>{let l=this.valueToPosition(a);this.viewOptions.vertical&&(l=this.maxHandlePosition-l);const c=i+"("+Math.round(l)+"px)",u=new _H;u.selected=this.isTickSelected(a),u.style={"-webkit-transform":c,"-moz-transform":c,"-o-transform":c,"-ms-transform":c,transform:c},u.selected&&!I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(u.style["background-color"]=this.getSelectionBarColor()),!u.selected&&!I.isNullOrUndefined(this.viewOptions.getTickColor)&&(u.style["background-color"]=this.getTickColor(a)),I.isNullOrUndefined(this.viewOptions.ticksTooltip)||(u.tooltip=this.viewOptions.ticksTooltip(a),u.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&!I.isNullOrUndefined(r)&&ke.isModuloWithinPrecisionLimit(a,r,this.viewOptions.precisionLimit)&&(u.value=this.getDisplayValue(a,Dn.TickValue),I.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(u.valueTooltip=this.viewOptions.ticksValuesTooltip(a),u.valueTooltipPlacement=this.viewOptions.vertical?"right":"top"));let d=null;if(I.isNullOrUndefined(this.viewOptions.stepsArray))I.isNullOrUndefined(this.viewOptions.getLegend)||(d=this.viewOptions.getLegend(a));else{const h=this.viewOptions.stepsArray[a];I.isNullOrUndefined(this.viewOptions.getStepLegend)?I.isNullOrUndefined(h)||(d=h.legend):d=this.viewOptions.getStepLegend(h)}return I.isNullOrUndefined(d)||(u.legend=d,o=!0),u});if(this.sliderElementWithLegendClass!==o&&setTimeout(()=>{this.sliderElementWithLegendClass=o}),I.isNullOrUndefined(this.ticks)||this.ticks.length!==s.length)this.ticks=s,this.isRefDestroyed()||this.changeDetectionRef.detectChanges();else for(let a=0;a=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&t<=this.viewLowValue)return!0}else{const i=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>i&&t>=i&&t<=this.viewLowValue)return!0;if(this.viewLowValue=this.viewLowValue)return!0}return!!(this.range&&t>=this.viewLowValue&&t<=this.viewHighValue)}updateFloorLabel(){this.floorLabelElement.alwaysHide||(this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,Dn.Floor)),this.floorLabelElement.calculateDimension(),this.floorLabelElement.setPosition(this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0))}updateCeilLabel(){this.ceilLabelElement.alwaysHide||(this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,Dn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===A.Min?this.updateLowHandle(i):t===A.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===A.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,o=i-r/2+this.handleHalfDimension,s=this.fullBarElement.dimension-r;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&t===A.Min||!this.viewOptions.rightToLeft&&t===A.Max?Math.min(o,s):Math.min(Math.max(o,0),s):o}updateLowHandle(t){this.minHandleElement.setPosition(t),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,Dn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(A.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(A.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,Dn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(A.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(A.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let t=!1,i=!1;const r=this.isLabelBelowFloorLabel(this.minHandleLabelElement),o=this.isLabelAboveCeilLabel(this.minHandleLabelElement),s=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),a=this.isLabelBelowFloorLabel(this.combinedLabelElement),l=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(r?(t=!0,this.floorLabelElement.hide()):(t=!1,this.floorLabelElement.show()),o?(i=!0,this.ceilLabelElement.hide()):(i=!1,this.ceilLabelElement.show()),this.range){const c=this.combinedLabelElement.isVisible()?l:s,u=this.combinedLabelElement.isVisible()?a:r;c?this.ceilLabelElement.hide():i||this.ceilLabelElement.show(),u?this.floorLabelElement.hide():t||this.floorLabelElement.show()}}isLabelBelowFloorLabel(t){const i=t.position,o=this.floorLabelElement.position;return this.viewOptions.rightToLeft?i+t.dimension>=o-2:i<=o+this.floorLabelElement.dimension+2}isLabelAboveCeilLabel(t){const i=t.position,o=this.ceilLabelElement.position;return this.viewOptions.rightToLeft?i<=o+this.ceilLabelElement.dimension+2:i+t.dimension>=o-2}updateSelectionBar(){let t=0,i=0;const r=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,o=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)i=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),t=o;else if(I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))r?(i=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),t=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(i=this.minHandleElement.position+this.handleHalfDimension,t=0);else{const s=this.viewOptions.showSelectionBarFromValue,a=this.valueToPosition(s);(this.viewOptions.rightToLeft?this.viewLowValue<=s:this.viewLowValue>s)?(i=this.minHandleElement.position-a,t=a+this.handleHalfDimension):(i=a-this.minHandleElement.position,t=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(i),this.selectionBarElement.setPosition(t),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(t),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.leftOuterSelectionBarElement.setPosition(t+i)):(this.leftOuterSelectionBarElement.setDimension(t),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.rightOuterSelectionBarElement.setPosition(t+i))),I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!I.isNullOrUndefined(this.viewOptions.selectionBarGradient)){const s=I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),a=s-t>0&&!r||s-t<=0&&r;this.barStyle={backgroundImage:"linear-gradient(to "+(this.viewOptions.vertical?a?"bottom":"top":a?"left":"right")+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(s+i+t+(a?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=s-t+(a?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{const s=this.getSelectionBarColor();this.barStyle={backgroundColor:s}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(t){return this.viewOptions.getPointerColor(t===A.Max?this.highValue:this.value,t)}getTickColor(t){return this.viewOptions.getTickColor(t)}updateCombinedLabel(){let t=null;if(t=this.viewOptions.rightToLeft?this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,t){const i=this.getDisplayValue(this.viewLowValue,Dn.Low),r=this.getDisplayValue(this.viewHighValue,Dn.High),o=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(r,i):this.viewOptions.combineLabels(i,r);this.combinedLabelElement.setValue(o);const s=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(s),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(t,i){return!I.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray&&(t=this.getStepValue(t)),this.viewOptions.translate(t,i)}roundStep(t,i){const r=I.isNullOrUndefined(i)?this.viewOptions.step:i;let o=ke.roundToPrecisionLimit((t-this.viewOptions.floor)/r,this.viewOptions.precisionLimit);return o=Math.round(o)*r,ke.roundToPrecisionLimit(this.viewOptions.floor+o,this.viewOptions.precisionLimit)}valueToPosition(t){let i=I.linearValueToPosition;I.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(i=I.logValueToPosition):i=this.viewOptions.customValueToPosition;let r=i(t=ke.clampToRange(t,this.viewOptions.floor,this.viewOptions.ceil),this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(r)&&(r=0),this.viewOptions.rightToLeft&&(r=1-r),r*this.maxHandlePosition}positionToValue(t){let i=t/this.maxHandlePosition;this.viewOptions.rightToLeft&&(i=1-i);let r=I.linearPositionToValue;I.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(r=I.logPositionToValue):r=this.viewOptions.customPositionToValue;const o=r(i,this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(o)?0:o}getEventXY(t,i){if(t instanceof MouseEvent)return this.viewOptions.vertical||0!==this.viewOptions.rotate?t.clientY:t.clientX;let r=0;const o=t.touches;if(!I.isNullOrUndefined(i))for(let s=0;so?A.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?A.Min:A.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(A.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(A.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(A.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(A.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",i=>this.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",i=>this.onBarStart(A.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(A.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(A.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(A.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.onPassive("touchstart",i=>this.onStart(null,i,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(A.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(A.Max)))}getOptionsInfluencingEventBindings(t){return[t.disabled,t.readOnly,t.draggableRange,t.draggableRangeOnly,t.onlyBindHandles,t.keyboardSupport]}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.off()}onBarStart(t,i,r,o,s,a,l){i?this.onDragStart(t,r,o,s):this.onStart(t,r,o,s,a,l)}onStart(t,i,r,o,s,a){i.stopPropagation(),!oi.isTouchEvent(i)&&!GE&&i.preventDefault(),this.moving=!1,this.calculateViewDimensions(),I.isNullOrUndefined(t)&&(t=this.getNearestHandle(i)),this.currentTrackingPointer=t;const l=this.getPointerElement(t);if(l.active=!0,this.viewOptions.keyboardSupport&&l.focus(),r){this.unsubscribeOnMove();const c=u=>this.dragging.active?this.onDragMove(u):this.onMove(u);this.onMoveEventListener=oi.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",c):this.eventListenerHelper.attachEventListener(document,"mousemove",c)}if(o){this.unsubscribeOnEnd();const c=u=>this.onEnd(u);this.onEndEventListener=oi.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),oi.isTouchEvent(i)&&!I.isNullOrUndefined(i.changedTouches)&&I.isNullOrUndefined(this.touchId)&&(this.touchId=i.changedTouches[0].identifier),s&&this.onMove(i,!0),a&&this.onEnd(i)}onMove(t,i){let r=null;if(oi.isTouchEvent(t)){const c=t.changedTouches;for(let u=0;u=this.maxHandlePosition?s=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil:(s=this.positionToValue(o),s=i&&!I.isNullOrUndefined(this.viewOptions.tickStep)?this.roundStep(s,this.viewOptions.tickStep):this.roundStep(s)),this.positionTrackingHandle(s)}onEnd(t){oi.isTouchEvent(t)&&t.changedTouches[0].identifier!==this.touchId||(this.moving=!1,this.viewOptions.animate&&(this.sliderElementAnimateClass=!0),this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext()))}onPointerFocus(t){const i=this.getPointerElement(t);i.on("blur",()=>this.onPointerBlur(i)),i.on("keydown",r=>this.onKeyboardEvent(r)),i.on("keyup",()=>this.onKeyUp()),i.active=!0,this.currentTrackingPointer=t,this.currentFocusPointer=t,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(t){t.off("blur"),t.off("keydown"),t.off("keyup"),t.active=!1,I.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(t){const i=this.viewOptions.ceil-this.viewOptions.floor;let r=t+this.viewOptions.step,o=t-this.viewOptions.step,s=t+i/10,a=t-i/10;this.viewOptions.reversedControls&&(r=t-this.viewOptions.step,o=t+this.viewOptions.step,s=t-i/10,a=t+i/10);const l={UP:r,DOWN:o,LEFT:o,RIGHT:r,PAGEUP:s,PAGEDOWN:a,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(l.LEFT=r,l.RIGHT=o,(this.viewOptions.vertical||0!==this.viewOptions.rotate)&&(l.UP=o,l.DOWN=r)),l}onKeyboardEvent(t){const i=this.getCurrentTrackingValue(),r=I.isNullOrUndefined(t.keyCode)?t.which:t.keyCode,l=this.getKeyActions(i)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[r]];if(I.isNullOrUndefined(l)||I.isNullOrUndefined(this.currentTrackingPointer))return;t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));const c=ke.clampToRange(l,this.viewOptions.floor,this.viewOptions.ceil),u=this.roundStep(c);if(this.viewOptions.draggableRangeOnly){const d=this.viewHighValue-this.viewLowValue;let h,p;this.currentTrackingPointer===A.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===A.Max&&(p=u,h=u-d,h=this.maxHandlePosition-r;let u,d;if(i<=o){if(0===s.position)return;u=this.getMinValue(i,!0,!1),d=this.getMaxValue(i,!0,!1)}else if(c){if(a.position===this.maxHandlePosition)return;d=this.getMaxValue(i,!0,!0),u=this.getMinValue(i,!0,!0)}else u=this.getMinValue(i,!1,!1),d=this.getMaxValue(i,!1,!1);this.positionTrackingBar(u,d)}positionTrackingBar(t,i){!I.isNullOrUndefined(this.viewOptions.minLimit)&&tthis.viewOptions.maxLimit&&(t=ke.roundToPrecisionLimit((i=this.viewOptions.maxLimit)-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=t,this.viewHighValue=i,this.applyViewChange(),this.updateHandles(A.Min,this.valueToPosition(t)),this.updateHandles(A.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===A.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===A.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(A.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=A.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===A.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===A.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===A.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===A.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===A.Min?this.viewHighValue-t:t-this.viewLowValue,r=I.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,o=this.viewOptions.maxRange;return io&&(this.currentTrackingPointer===A.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(A.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===A.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(A.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new mH;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(S(Xt),S(ut),S(ki),S(pe),S(YE,8))};static \u0275cmp=Wt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&HC(o,JV,5),2&i){let s;bt(s=Et())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Lt(XV,5,si),Lt(eH,5,si),Lt(tH,5,si),Lt(nH,5,si),Lt(iH,5,op),Lt(rH,5,op),Lt(oH,5,eo),Lt(sH,5,eo),Lt(aH,5,eo),Lt(lH,5,eo),Lt(cH,5,eo),Lt(uH,5,si)),2&i){let o;bt(o=Et())&&(r.leftOuterSelectionBarElement=o.first),bt(o=Et())&&(r.rightOuterSelectionBarElement=o.first),bt(o=Et())&&(r.fullBarElement=o.first),bt(o=Et())&&(r.selectionBarElement=o.first),bt(o=Et())&&(r.minHandleElement=o.first),bt(o=Et())&&(r.maxHandleElement=o.first),bt(o=Et())&&(r.floorLabelElement=o.first),bt(o=Et())&&(r.ceilLabelElement=o.first),bt(o=Et())&&(r.minHandleLabelElement=o.first),bt(o=Et())&&(r.maxHandleLabelElement=o.first),bt(o=Et())&&(r.combinedLabelElement=o.first),bt(o=Et())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&q("resize",function(s){return r.onResize(s)},0,Ha),2&i&&(ft("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),Ln("ngx-slider",r.sliderElementNgxSliderClass)("vertical",r.sliderElementVerticalClass)("animate",r.sliderElementAnimateClass)("with-legend",r.sliderElementWithLegendClass))},inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},features:[Ie([yH]),un],decls:29,vars:13,consts:[["leftOuterSelectionBar",""],["rightOuterSelectionBar",""],["fullBar",""],["selectionBar",""],["minHandle",""],["maxHandle",""],["floorLabel",""],["ceilLabel",""],["minHandleLabel",""],["maxHandleLabel",""],["combinedLabel",""],["ticksElement",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-left-out-selection"],[1,"ngx-slider-span","ngx-slider-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-right-out-selection"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-full-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-selection-bar"],[1,"ngx-slider-span","ngx-slider-bar","ngx-slider-selection",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-min",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-max",3,"ngStyle"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-floor"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-ceil"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-value"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-high"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-combined"],["ngxSliderElement","",1,"ngx-slider-ticks",3,"hidden"],["class","ngx-slider-tick",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],[1,"ngx-slider-tick",3,"ngClass","ngStyle"],[3,"template","tooltip","placement"],["class","ngx-slider-span ngx-slider-tick-value",3,"template","tooltip","placement","content",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerText",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerHTML",4,"ngIf"],[1,"ngx-slider-span","ngx-slider-tick-value",3,"template","tooltip","placement","content"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerText"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerHTML"]],template:function(i,r){1&i&&(y(0,"span",12,0),O(2,"span",13),_(),y(3,"span",14,1),O(5,"span",13),_(),y(6,"span",15,2),O(8,"span",13),_(),y(9,"span",16,3),O(11,"span",17),_(),O(12,"span",18,4)(14,"span",19,5)(16,"span",20,6)(18,"span",21,7)(20,"span",22,8)(22,"span",23,9)(24,"span",24,10),y(26,"span",25,11),V(28,gH,5,10,"span",26),_()),2&i&&(f(6),Ln("ngx-slider-transparent",r.fullBarTransparentClass),f(3),Ln("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),m("ngStyle",r.barStyle),f(),m("ngStyle",r.minPointerStyle),f(2),hl("display",r.range?"inherit":"none"),m("ngStyle",r.maxPointerStyle),f(12),Ln("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),m("hidden",!r.showTicks),f(2),m("ngForOf",r.ticks))},dependencies:[Zr,Vi,Hn,$D,si,op,eo,vH],styles:['.ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;user-select:none;touch-action:pan-y} .ngx-slider.with-legend{margin-bottom:40px} .ngx-slider[disabled]{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3} .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2} .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2} .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block} .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1} .ngx-slider .ngx-slider-draggable{cursor:move} .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:transparent} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688} .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px} .ngx-slider .ngx-slider-pointer:after{content:"";width:8px;height:8px;position:absolute;top:12px;left:12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff} .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff} .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4} .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff} .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px} .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d} .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none} .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px} .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px} .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0} .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;transform:translate(-50%)} .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;transform:translate(-50%);max-width:50px;white-space:normal} .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x} .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px} .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%} .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0} .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0} .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1} .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px} .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;transform:translateY(-28%)} .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;transform:translateY(-28%);max-width:none;white-space:nowrap} .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px} .ngx-slider *{transition:none} .ngx-slider.animate .ngx-slider-bar-wrapper{transition:all linear .3s} .ngx-slider.animate .ngx-slider-selection{transition:background-color linear .3s} .ngx-slider.animate .ngx-slider-pointer{transition:all linear .3s} .ngx-slider.animate .ngx-slider-pointer:after{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-tick{transition:background-color linear .3s}']})}return e})(),CH=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=zn({type:e});static \u0275inj=En({imports:[WD]})}return e})();class nI{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class wH{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.lineCoverageMin=0,this.lineCoverageMax=100,this.branchCoverageMin=0,this.branchCoverageMax=100,this.methodCoverageMin=0,this.methodCoverageMax=100,this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class DH{constructor(n){this.et="",this.et=n.et,this.cl=n.cl,this.ucl=n.ucl,this.cal=n.cal,this.tl=n.tl,this.lcq=n.lcq,this.cb=n.cb,this.tb=n.tb,this.bcq=n.bcq,this.cm=n.cm,this.tm=n.tm,this.mcq=n.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class $t{static roundNumber(n){return Math.floor(n*Math.pow(10,$t.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,$t.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new DH(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:$t.roundNumber(100*this.coveredLines/this.coverableLines)}visible(n){if(""!==n.filter&&-1===this.name.toLowerCase().indexOf(n.filter.toLowerCase()))return!1;let t=this.coverage,i=t;if(t=Number.isNaN(t)?0:t,i=Number.isNaN(i)?100:i,n.lineCoverageMin>t||n.lineCoverageMaxr||n.branchCoverageMaxs||n.methodCoverageMax=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(n){if(this.currentHistoricCoverage=null,""!==n)for(let t=0;t-1&&null===t}visible(n){if(""!==n.filter&&this.name.toLowerCase().indexOf(n.filter.toLowerCase())>-1)return!0;for(let t=0;t{class e{get nativeWindow(){return function bH(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),EH=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(i,r){1&i&&(E(0,"\xa0"),y(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),kn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function IH(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),G(r)}),q("change",function(){z(t);const r=v();return G(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Xe("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function MH(e,n){1&e&&O(0,"pro-button",9),2&e&&m("translations",v().translations)}function SH(e,n){1&e&&O(0,"pro-button",9),2&e&&m("translations",v(2).translations)}function TH(e,n){1&e&&(y(0,"a",13),O(1,"i",14),_()),2&e&&m("href",v().$implicit.explanationUrl,Zn)}function xH(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",11),q("change",function(){const r=z(t).$implicit;return G(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),V(5,TH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),m("ngIf",t.explanationUrl)}}function OH(e,n){if(1&e&&(ee(0),O(1,"br")(2,"br"),y(3,"b"),E(4),_(),V(5,SH,1,1,"pro-button",7)(6,xH,6,4,"div",10),te()),2&e){const t=v();f(4),N(t.translations.metrics),f(),m("ngIf",!t.methodCoverageAvailable),f(),m("ngForOf",t.metrics)}}let NH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new Ce,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Ce,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Ce,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Ce,this.visibleMetrics=[],this.visibleMetricsChange=new Ce}isMetricSelected(t){return void 0!==this.visibleMetrics.find(i=>i.name===t.name)}toggleMetric(t){let i=this.visibleMetrics.find(r=>r.name===t.name);i?this.visibleMetrics.splice(this.visibleMetrics.indexOf(i),1):this.visibleMetrics.push(t),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(t){t.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModelChange","change","ngModel"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModelChange","change","ngModel","disabled"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"change","checked","disabled"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(i,r){1&i&&(y(0,"div",0),q("click",function(){return r.close()}),y(1,"div",1),q("click",function(s){return r.cancelEvent(s)}),y(2,"div",2),q("click",function(){return r.close()}),E(3,"X"),_(),y(4,"b"),E(5),_(),y(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),q("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),V(10,IH,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),q("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),V(15,MH,1,1,"pro-button",7),_(),V(16,OH,7,3,"ng-container",8),_()()),2&i&&(f(5),N(r.translations.coverageTypes),f(3),Xe("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),m("ngIf",r.branchCoverageAvailable),f(3),Xe("ngModel",r.showMethodCoverage),m("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),m("ngIf",!r.methodCoverageAvailable),f(),m("ngIf",r.metrics.length>0))},dependencies:[Vi,Hn,Rh,ic,Os,EH],encapsulation:2})}return e})();function AH(e,n){1&e&&O(0,"td",3)}function RH(e,n){1&e&&O(0,"td"),2&e&&Cn("green ",v().greenClass,"")}function LH(e,n){1&e&&O(0,"td"),2&e&&Cn("red ",v().redClass,"")}let rI=(()=>{class e{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(t){this._percentage=t,this.grayVisible=isNaN(t),this.greenVisible=!isNaN(t)&&Math.round(t)>0,this.redVisible=!isNaN(t)&&100-Math.round(t)>0,this.greenClass="covered"+Math.round(t),this.redClass="covered"+(100-Math.round(t))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(i,r){1&i&&(y(0,"table",0),V(1,AH,1,0,"td",1)(2,RH,1,3,"td",2)(3,LH,1,3,"td",2),_()),2&i&&(f(),m("ngIf",r.grayVisible),f(),m("ngIf",r.greenVisible),f(),m("ngIf",r.redVisible))},dependencies:[Hn],encapsulation:2,changeDetection:0})}return e})();const kH=["codeelement-row",""],PH=(e,n)=>({"icon-plus":e,"icon-minus":n});function FH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredLines)}}function VH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.uncoveredLines)}}function HH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coverableLines)}}function BH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalLines)}}function jH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.coverageRatioText),f(),N(t.element.coveragePercentage)}}function UH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.coverage)}}function $H(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredBranches)}}function zH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalBranches)}}function GH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.branchCoverageRatioText),f(),N(t.element.branchCoveragePercentage)}}function qH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.branchCoverage)}}function WH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredMethods)}}function ZH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalMethods)}}function QH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.methodCoverageRatioText),f(),N(t.element.methodCoveragePercentage)}}function YH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.methodCoverage)}}function KH(e,n){1&e&&O(0,"th",5)}let JH=(()=>{class e{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:kH,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(i,r){1&i&&(y(0,"th")(1,"a",0),q("click",function(s){return r.element.toggleCollapse(s)}),O(2,"i",1),E(3),_()(),V(4,FH,2,1,"th",2)(5,VH,2,1,"th",2)(6,HH,2,1,"th",2)(7,BH,2,1,"th",2)(8,jH,2,2,"th",3)(9,UH,2,1,"th",2)(10,$H,2,1,"th",2)(11,zH,2,1,"th",2)(12,GH,2,2,"th",3)(13,qH,2,1,"th",2)(14,WH,2,1,"th",2)(15,ZH,2,1,"th",2)(16,QH,2,2,"th",3)(17,YH,2,1,"th",2)(18,KH,1,0,"th",4)),2&i&&(f(2),m("ngClass",Pf(17,PH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngForOf",r.visibleMetrics))},dependencies:[Zr,Vi,Hn,rI],encapsulation:2,changeDetection:0})}return e})();const XH=["coverage-history-chart",""];let eB=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let i="";for(let r=0;r({historiccoverageoffset:e});function nB(e,n){if(1&e&&(y(0,"a",5),E(1),_()),2&e){const t=v();m("href",t.clazz.reportPath,Zn),f(),N(t.clazz.name)}}function iB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v();f(),N(t.clazz.name)}}function rB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function oB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function sB(e,n){if(1&e&&(y(0,"td",6),V(1,rB,5,6,"ng-container",1)(2,oB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function aB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function lB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function cB(e,n){if(1&e&&(y(0,"td",6),V(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.coverableLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.cal)}}function dB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function fB(e,n){if(1&e&&(y(0,"td",6),V(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tl)}}function pB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function gB(e,n){if(1&e&&(y(0,"td",6),V(1,hB,5,3,"ng-container",1)(2,pB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function mB(e,n){if(1&e&&O(0,"div",11),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.coverage),m("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function vB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function _B(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function yB(e,n){if(1&e&&(y(0,"td",9),V(1,mB,1,5,"div",10)(2,vB,5,6,"ng-container",1)(3,_B,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.coverageRatioText),f(),m("ngIf",t.clazz.lineCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function CB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.coverage)}}function wB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function DB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function bB(e,n){if(1&e&&(y(0,"td",6),V(1,wB,5,6,"ng-container",1)(2,DB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function EB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalBranches),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tb)}}function IB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function MB(e,n){if(1&e&&(y(0,"td",6),V(1,EB,5,3,"ng-container",1)(2,IB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function SB(e,n){if(1&e&&O(0,"div",14),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.branchCoverage),m("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function TB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function xB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function OB(e,n){if(1&e&&(y(0,"td",9),V(1,SB,1,5,"div",13)(2,TB,5,6,"ng-container",1)(3,xB,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.branchCoverageRatioText),f(),m("ngIf",t.clazz.branchCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function NB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.branchCoverage)}}function AB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function RB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function LB(e,n){if(1&e&&(y(0,"td",6),V(1,AB,5,6,"ng-container",1)(2,RB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function kB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalMethods),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tm)}}function PB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function FB(e,n){if(1&e&&(y(0,"td",6),V(1,kB,5,3,"ng-container",1)(2,PB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function VB(e,n){if(1&e&&O(0,"div",16),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.methodCoverage),m("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function HB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function BB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function jB(e,n){if(1&e&&(y(0,"td",9),V(1,VB,1,5,"div",15)(2,HB,5,6,"ng-container",1)(3,BB,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.methodCoverageRatioText),f(),m("ngIf",t.clazz.methodCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function UB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.methodCoverage)}}function $B(e,n){if(1&e&&(y(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),N(i.clazz.metrics[t.abbreviation])}}let zB=(()=>{class e{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(t,i){return t>i?"lightgreen":t({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t});function GB(e,n){if(1&e){const t=Ee();y(0,"popup",30),ot("visibleChange",function(r){z(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),G(r)})("showLineCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),G(r)})("showBranchCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),G(r)})("showMethodCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),G(r)})("visibleMetricsChange",function(r){z(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),G(r)}),_()}if(2&e){const t=v(2);Xe("visible",t.popupVisible),m("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Xe("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function qB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.noGrouping)}}function WB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.byAssembly)}}function ZB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.byNamespace+" "+t.settings.grouping)}}function QB(e,n){if(1&e&&(y(0,"option",34),E(1),_()),2&e){const t=n.$implicit;m("value",t),f(),N(t)}}function YB(e,n){1&e&&O(0,"br")}function KB(e,n){if(1&e&&(y(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function JB(e,n){if(1&e&&(y(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function XB(e,n){if(1&e&&(y(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function ej(e,n){if(1&e&&(y(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function tj(e,n){if(1&e){const t=Ee();y(0,"div")(1,"select",31),ot("ngModelChange",function(r){z(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),G(r)}),y(2,"option",32),E(3),_(),y(4,"option",35),E(5),_(),y(6,"option",36),E(7),_(),y(8,"option",37),E(9),_(),V(10,KB,2,1,"option",38)(11,JB,2,1,"option",39)(12,XB,2,1,"option",40)(13,ej,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Xe("ngModel",t.settings.historyComparisionType),f(2),N(t.translations.filter),f(2),N(t.translations.allChanges),f(2),N(t.translations.lineCoverageIncreaseOnly),f(2),N(t.translations.lineCoverageDecreaseOnly),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable)}}function nj(e,n){if(1&e){const t=Ee();ee(0),y(1,"div"),E(2),y(3,"select",31),ot("ngModelChange",function(r){z(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),G(r)}),q("ngModelChange",function(){return z(t),G(v(2).updateCurrentHistoricCoverage())}),y(4,"option",32),E(5),_(),V(6,QB,2,2,"option",33),_()(),V(7,YB,1,0,"br",0)(8,tj,14,9,"div",0),te()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Xe("ngModel",t.settings.historyComparisionDate),f(2),N(t.translations.date),f(),m("ngForOf",t.historicCoverageExecutionTimes),f(),m("ngIf",""!==t.settings.historyComparisionDate),f(),m("ngIf",""!==t.settings.historyComparisionDate)}}function ij(e,n){1&e&&O(0,"col",46)}function rj(e,n){1&e&&O(0,"col",47)}function oj(e,n){1&e&&O(0,"col",48)}function sj(e,n){1&e&&O(0,"col",49)}function aj(e,n){1&e&&O(0,"col",50)}function lj(e,n){1&e&&O(0,"col",51)}function cj(e,n){1&e&&O(0,"col",46)}function uj(e,n){1&e&&O(0,"col",49)}function dj(e,n){1&e&&O(0,"col",50)}function fj(e,n){1&e&&O(0,"col",51)}function hj(e,n){1&e&&O(0,"col",46)}function pj(e,n){1&e&&O(0,"col",49)}function gj(e,n){1&e&&O(0,"col",50)}function mj(e,n){1&e&&O(0,"col",51)}function vj(e,n){1&e&&O(0,"col",51)}function _j(e,n){if(1&e&&(y(0,"th",52),E(1),_()),2&e){const t=v(2);f(),N(t.translations.coverage)}}function yj(e,n){if(1&e&&(y(0,"th",53),E(1),_()),2&e){const t=v(2);f(),N(t.translations.branchCoverage)}}function Cj(e,n){if(1&e&&(y(0,"th",53),E(1),_()),2&e){const t=v(2);f(),N(t.translations.methodCoverage)}}function wj(e,n){if(1&e&&(y(0,"th",54),E(1),_()),2&e){const t=v(2);ft("colspan",t.settings.visibleMetrics.length),f(),N(t.translations.metrics)}}function Dj(e,n){if(1&e){const t=Ee();y(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),m("options",t.sliderOptions)}}function bj(e,n){if(1&e){const t=Ee();y(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),m("options",t.sliderOptions)}}function Ej(e,n){if(1&e){const t=Ee();y(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),m("options",t.sliderOptions)}}function Ij(e,n){1&e&&O(0,"td",54),2&e&&ft("colspan",v(2).settings.visibleMetrics.length)}function Mj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function Sj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("uncovered",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),N(t.translations.uncovered)}}function Tj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("coverable",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),N(t.translations.coverable)}}function xj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Oj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("coverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Nj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered_branches",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function Aj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total_branches",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Rj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("branchcoverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Lj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered_methods",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function kj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total_methods",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Pj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("methodcoverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Fj(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",3),q("click",function(r){const o=z(t).$implicit;return G(v(2).updateSorting(o.abbreviation,r))}),O(2,"i",26),E(3),_(),y(4,"a",58),O(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("ngClass",We(3,Ft,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),N(t.name),f(),kn("href",t.explanationUrl,Zn)}}function Vj(e,n){if(1&e&&O(0,"tr",61),2&e){const t=v().$implicit,i=v(2);m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)}}function Hj(e,n){if(1&e&&O(0,"tr",63),2&e){const t=v().$implicit,i=v(3);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function Bj(e,n){if(1&e&&(ee(0),V(1,Hj,1,7,"tr",62),te()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function jj(e,n){if(1&e&&O(0,"tr",66),2&e){const t=v().$implicit,i=v(5);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function Uj(e,n){if(1&e&&(ee(0),V(1,jj,1,7,"tr",65),te()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function $j(e,n){if(1&e&&(ee(0),O(1,"tr",64),V(2,Uj,2,1,"ng-container",29),te()),2&e){const t=v().$implicit,i=v(3);f(),m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics),f(),m("ngForOf",t.classes)}}function zj(e,n){if(1&e&&(ee(0),V(1,$j,3,7,"ng-container",0),te()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function Gj(e,n){if(1&e&&(ee(0),V(1,Vj,1,6,"tr",60)(2,Bj,2,1,"ng-container",29)(3,zj,2,1,"ng-container",29),te()),2&e){const t=n.$implicit,i=v(2);f(),m("ngIf",t.visible(i.settings)),f(),m("ngForOf",t.classes),f(),m("ngForOf",t.subElements)}}function qj(e,n){if(1&e){const t=Ee();y(0,"div"),V(1,GB,1,9,"popup",1),y(2,"div",2)(3,"div")(4,"a",3),q("click",function(r){return z(t),G(v().collapseAll(r))}),E(5),_(),E(6," | "),y(7,"a",3),q("click",function(r){return z(t),G(v().expandAll(r))}),E(8),_()(),y(9,"div",4)(10,"span",5),V(11,qB,2,1,"ng-container",0)(12,WB,2,1,"ng-container",0)(13,ZB,2,1,"ng-container",0),_(),O(14,"br"),E(15),y(16,"input",6),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateCoverageInfo())}),_()(),y(17,"div",4),V(18,nj,9,6,"ng-container",0),_(),y(19,"div",7)(20,"button",8),q("click",function(){return z(t),G(v().popupVisible=!0)}),O(21,"i",9),E(22),_()()(),y(23,"div",10)(24,"table",11)(25,"colgroup"),O(26,"col",12),V(27,ij,1,0,"col",13)(28,rj,1,0,"col",14)(29,oj,1,0,"col",15)(30,sj,1,0,"col",16)(31,aj,1,0,"col",17)(32,lj,1,0,"col",18)(33,cj,1,0,"col",13)(34,uj,1,0,"col",16)(35,dj,1,0,"col",17)(36,fj,1,0,"col",18)(37,hj,1,0,"col",13)(38,pj,1,0,"col",16)(39,gj,1,0,"col",17)(40,mj,1,0,"col",18)(41,vj,1,0,"col",19),_(),y(42,"thead")(43,"tr",20),O(44,"th"),V(45,_j,2,1,"th",21)(46,yj,2,1,"th",22)(47,Cj,2,1,"th",22)(48,wj,2,2,"th",23),_(),y(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),G(r)}),_()(),V(52,Dj,2,3,"td",21)(53,bj,2,3,"td",22)(54,Ej,2,3,"td",22)(55,Ij,1,1,"td",23),_(),y(56,"tr")(57,"th")(58,"a",3),q("click",function(r){return z(t),G(v().updateSorting("name",r))}),O(59,"i",26),E(60),_()(),V(61,Mj,4,6,"th",27)(62,Sj,4,6,"th",27)(63,Tj,4,6,"th",27)(64,xj,4,6,"th",27)(65,Oj,4,6,"th",28)(66,Nj,4,6,"th",27)(67,Aj,4,6,"th",27)(68,Rj,4,6,"th",28)(69,Lj,4,6,"th",27)(70,kj,4,6,"th",27)(71,Pj,4,6,"th",28)(72,Fj,6,7,"th",29),_()(),y(73,"tbody"),V(74,Gj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),m("ngIf",t.popupVisible),f(4),N(t.translations.collapseAll),f(3),N(t.translations.expandAll),f(3),m("ngIf",-1===t.settings.grouping),f(),m("ngIf",0===t.settings.grouping),f(),m("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),m("max",t.settings.groupingMaximum),Xe("ngModel",t.settings.grouping),f(2),m("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),N(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(4),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(3),kn("placeholder",t.translations.filter),Xe("ngModel",t.settings.filter),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(4),m("ngClass",We(51,Ft,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),N(t.translations.name),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(2),m("ngForOf",t.codeElements)}}let Wj=(()=>{class e{constructor(t){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.codeElements=[],this.translations={},this.popupVisible=!1,this.settings=new wH,this.sliderOptions={floor:0,ceil:100,step:1,ticksArray:[0,10,20,30,40,50,60,70,80,90,100],showTicks:!0},this.window=t.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.metrics=this.window.metrics,this.translations=this.window.translations,$t.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let t=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),t=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let r=0,o=this.window.assemblies;for(let s=0;s-1&&(this.queryString=window.location.href.substring(i)),this.updateCoverageInfo(),t&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let t=new nI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateCoverageInfo(){let t=(new Date).getTime(),i=this.window.assemblies,r=[],o=0;if(0===this.settings.grouping)for(let l=0;l{for(let r=0;r{for(let o=0;ot&&(r[o].collapsed=this.settings.collapseStates[t]),t++,i(r[o].subElements)};i(this.codeElements)}static#e=this.\u0275fac=function(i){return new(i||e)(S(ap))};static#t=this.\u0275cmp=Wt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&q("beforeunload",function(){return r.onBeforeUnload()},0,Ha)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"col-center"],[1,"slider-label"],["type","range","step","1","min","-1",3,"ngModelChange","max","ngModel"],[1,"col-right","right"],["type","button",3,"click"],[1,"icon-cog"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"filterbar"],["type","text",3,"ngModelChange","ngModel","placeholder"],[3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange","visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics"],[3,"ngModelChange","ngModel"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],[1,"center"],[3,"valueChange","highValueChange","value","highValue","options"],[1,"right"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(i,r){1&i&&V(0,qj,75,55,"div",0),2&i&&m("ngIf",r.codeElements.length>0)},dependencies:[Zr,Vi,Hn,ep,np,Is,Yh,Ns,ic,Os,tI,NH,JH,zB],encapsulation:2})}return e})();class Zj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const mc=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t}),Qj=(e,n)=>({lightred:e,lightgreen:n});function Yj(e,n){if(1&e&&(y(0,"option",16),E(1),_()),2&e){const t=n.$implicit;m("value",t),f(),N(t)}}function Kj(e,n){if(1&e&&(y(0,"span"),E(1),_()),2&e){const t=v(2);f(),N(t.translations.top)}}function Jj(e,n){1&e&&(y(0,"option",23),E(1,"20"),_())}function Xj(e,n){1&e&&(y(0,"option",24),E(1,"50"),_())}function e3(e,n){1&e&&(y(0,"option",25),E(1,"100"),_())}function t3(e,n){if(1&e&&(y(0,"option",16),E(1),_()),2&e){const t=v(3);m("value",t.totalNumberOfRiskHotspots),f(),N(t.translations.all)}}function n3(e,n){if(1&e){const t=Ee();y(0,"select",17),ot("ngModelChange",function(r){z(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),G(r)}),y(1,"option",18),E(2,"10"),_(),V(3,Jj,2,0,"option",19)(4,Xj,2,0,"option",20)(5,e3,2,0,"option",21)(6,t3,2,2,"option",22),_()}if(2&e){const t=v(2);Xe("ngModel",t.settings.numberOfRiskHotspots),f(3),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>20),f(),m("ngIf",t.totalNumberOfRiskHotspots>50),f(),m("ngIf",t.totalNumberOfRiskHotspots>100)}}function i3(e,n){1&e&&O(0,"col",26)}function r3(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",13),q("click",function(r){const o=z(t).index;return G(v(2).updateSorting(""+o,r))}),O(2,"i",14),E(3),_(),y(4,"a",27),O(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),m("ngClass",We(3,mc,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),N(t.name),f(),kn("href",t.explanationUrl,Zn)}}function o3(e,n){if(1&e&&(y(0,"td",32),E(1),_()),2&e){const t=n.$implicit;m("ngClass",Pf(2,Qj,t.exceeded,!t.exceeded)),f(),N(t.value)}}function s3(e,n){if(1&e&&(y(0,"tr")(1,"td"),E(2),_(),y(3,"td")(4,"a",29),E(5),_()(),y(6,"td",30)(7,"a",29),E(8),_()(),V(9,o3,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),N(t.assembly),f(2),m("href",t.reportPath+i.queryString,Zn),f(),N(t.class),f(),m("title",t.methodName),f(),m("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,Zn),f(),Y(" ",t.methodShortName," "),f(),m("ngForOf",t.metrics)}}function a3(e,n){if(1&e){const t=Ee();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateRiskHotpots())}),y(4,"option",3),E(5),_(),V(6,Yj,2,2,"option",4),_()(),y(7,"div",5),V(8,Kj,2,1,"span",0)(9,n3,7,5,"select",6),_(),O(10,"div",5),y(11,"div",7)(12,"span"),E(13),_(),y(14,"input",8),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateRiskHotpots())}),_()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),O(18,"col",11)(19,"col",11)(20,"col",11),V(21,i3,1,0,"col",12),_(),y(22,"thead")(23,"tr")(24,"th")(25,"a",13),q("click",function(r){return z(t),G(v().updateSorting("assembly",r))}),O(26,"i",14),E(27),_()(),y(28,"th")(29,"a",13),q("click",function(r){return z(t),G(v().updateSorting("class",r))}),O(30,"i",14),E(31),_()(),y(32,"th")(33,"a",13),q("click",function(r){return z(t),G(v().updateSorting("method",r))}),O(34,"i",14),E(35),_()(),V(36,r3,6,7,"th",15),_()(),y(37,"tbody"),V(38,s3,10,7,"tr",15),function pw(e,n){const t=J();let i;const r=e+L;t.firstCreatePass?(i=function rR(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=di(i.type)),a=vt(S);try{const l=_a(!1),c=o();return _a(l),function Nf(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,D(),r,c),c}finally{vt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Xe("ngModel",t.settings.assembly),f(2),N(t.translations.assembly),f(),m("ngForOf",t.assemblies),f(2),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Xe("ngModel",t.settings.filter),f(7),m("ngForOf",t.riskHotspotMetrics),f(5),m("ngClass",We(20,mc,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),N(t.translations.assembly),f(3),m("ngClass",We(24,mc,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),N(t.translations.class),f(3),m("ngClass",We(28,mc,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),N(t.translations.method),f(),m("ngForOf",t.riskHotspotMetrics),f(2),m("ngForOf",gw(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let l3=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Zj,this.window=t.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const t=window.location.href.indexOf("?");t>-1&&(this.queryString=window.location.href.substring(t)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let t=new nI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateRiskHotpots(){const t=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=t.length,0===this.assemblies.length){let s=[];for(let a=0;a0)},dependencies:[Zr,Vi,Hn,ep,np,Is,Ns,ic,Os,qD],encapsulation:2})}return e})(),c3=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e,bootstrap:[l3,Wj]});static#n=this.\u0275inj=En({providers:[ap],imports:[PF,NV,CH]})}return e})();LF().bootstrapModule(c3).catch(e=>console.error(e))}},no=>{no(no.s=197)}]); \ No newline at end of file +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{197:()=>{function no(e,n){return Object.is(e,n)}let Oe=null,$i=!1,zi=1;const zt=Symbol("SIGNAL");function K(e){const n=Oe;return Oe=e,n}const Rs={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function vc(e){if($i)throw new Error("");if(null===Oe)return;Oe.consumerOnSignalRead(e);const n=Oe.nextProducerIndex++;Ps(Oe),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function yc(e){Ps(e);for(let n=0;n0}function Ps(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function mp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function vp(e){return void 0!==e.producerNode}const wc=Symbol("UNSET"),Dc=Symbol("COMPUTING"),Fs=Symbol("ERRORED"),dI={...Rs,value:wc,dirty:!0,error:null,equal:no,producerMustRecompute:e=>e.value===wc||e.value===Dc,producerRecomputeValue(e){if(e.value===Dc)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Dc;const t=Ls(e);let i;try{i=e.computation()}catch(r){i=Fs,e.error=r}finally{_c(e,t)}n!==wc&&n!==Fs&&i!==Fs&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let _p=function fI(){throw new Error};function yp(){_p()}let Vs=null;function Cp(e,n){hp()||yp(),e.equal(e.value,n)||(e.value=n,function vI(e){e.version++,function cI(){zi++}(),fp(e),Vs?.()}(e))}const mI={...Rs,equal:no,value:void 0};function Pe(e){return"function"==typeof e}function Dp(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const bc=Dp(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Hs(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class It{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(Pe(i))try{i()}catch(o){n=o instanceof bc?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Ip(o)}catch(s){n=n??[],s instanceof bc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new bc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Ip(n);else{if(n instanceof It){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Hs(t,n)}remove(n){const{_finalizers:t}=this;t&&Hs(t,n),n instanceof It&&n._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const bp=It.EMPTY;function Ep(e){return e instanceof It||e&&"closed"in e&&Pe(e.remove)&&Pe(e.add)&&Pe(e.unsubscribe)}function Ip(e){Pe(e)?e():e.unsubscribe()}const li={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Bs={setTimeout(e,n,...t){const{delegate:i}=Bs;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Mp(e){Bs.setTimeout(()=>{const{onUnhandledError:n}=li;if(!n)throw e;n(e)})}function Sp(){}const yI=Ec("C",void 0,void 0);function Ec(e,n,t){return{kind:e,value:n,error:t}}let ci=null;function js(e){if(li.useDeprecatedSynchronousErrorHandling){const n=!ci;if(n&&(ci={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=ci;if(ci=null,t)throw i}}else e()}class Ic extends It{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ep(n)&&n.add(this)):this.destination=MI}static create(n,t,i){return new Sc(n,t,i)}next(n){this.isStopped?Tc(function wI(e){return Ec("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Tc(function CI(e){return Ec("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Tc(yI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const bI=Function.prototype.bind;function Mc(e,n){return bI.call(e,n)}class EI{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Us(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Us(i)}else Us(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Us(t)}}}class Sc extends Ic{constructor(n,t,i){let r;if(super(),Pe(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&li.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Mc(n.next,o),error:n.error&&Mc(n.error,o),complete:n.complete&&Mc(n.complete,o)}):r=n}this.destination=new EI(r)}}function Us(e){li.useDeprecatedSynchronousErrorHandling?function DI(e){li.useDeprecatedSynchronousErrorHandling&&ci&&(ci.errorThrown=!0,ci.error=e)}(e):Mp(e)}function Tc(e,n){const{onStoppedNotification:t}=li;t&&Bs.setTimeout(()=>t(e,n))}const MI={closed:!0,next:Sp,error:function II(e){throw e},complete:Sp},xc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Oc(e){return e}let Mt=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function TI(e){return e&&e instanceof Ic||function SI(e){return e&&Pe(e.next)&&Pe(e.error)&&Pe(e.complete)}(e)&&Ep(e)}(t)?t:new Sc(t,i,r);return js(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=xp(i))((r,o)=>{const s=new Sc({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[xc](){return this}pipe(...t){return function Tp(e){return 0===e.length?Oc:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=xp(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function xp(e){var n;return null!==(n=e??li.Promise)&&void 0!==n?n:Promise}const xI=Dp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let sn=(()=>{class e extends Mt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new Op(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new xI}next(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?bp:(this.currentObservers=null,o.push(t),new It(()=>{this.currentObservers=null,Hs(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Mt;return t.source=this,t}}return e.create=(n,t)=>new Op(n,t),e})();class Op extends sn{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:bp}}class OI extends sn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function ui(e){return n=>{if(function NI(e){return Pe(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Bn(e,n,t,i,r){return new AI(e,n,t,i,r)}class AI extends Ic{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Nc(e,n){return ui((t,i)=>{let r=0;t.subscribe(Bn(i,o=>{i.next(e.call(n,o,r++))}))})}const Np="https://g.co/ng/security#xss";class T extends Error{constructor(n,t){super(function Gi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Wi="__parameters__";function Qi(e,n,t){return bn(()=>{const i=function Ac(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Wi)?l[Wi]:Object.defineProperty(l,Wi,{value:[]})[Wi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const be=globalThis;function fe(e){for(let n in e)if(e[n]===fe)return n;throw Error("Could not find renamed property on target object.")}function RI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function je(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(je).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Rc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const LI=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function B(e){return zs(e)?e():e}function zs(e){return"function"==typeof e&&e.hasOwnProperty(LI)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function En(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gs(e){return kp(e,Ws)||kp(e,Pp)}function kp(e,n){return e.hasOwnProperty(n)?e[n]:null}function qs(e){return e&&(e.hasOwnProperty(Lc)||e.hasOwnProperty(HI))?e[Lc]:null}const Ws=fe({\u0275prov:fe}),Lc=fe({\u0275inj:fe}),Pp=fe({ngInjectableDef:fe}),HI=fe({ngInjectorDef:fe});class R{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ne({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Hc(e){return e&&!!e.\u0275providers}const ro=fe({\u0275cmp:fe}),Bc=fe({\u0275dir:fe}),jc=fe({\u0275pipe:fe}),Vp=fe({\u0275mod:fe}),In=fe({\u0275fac:fe}),oo=fe({__NG_ELEMENT_ID__:fe}),Hp=fe({__NG_ENV_ID__:fe});function W(e){return"string"==typeof e?e:null==e?"":String(e)}function Uc(e,n){throw new T(-201,!1)}var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ie||{});let $c;function Bp(){return $c}function vt(e){const n=$c;return $c=e,n}function jp(e,n,t){const i=Gs(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ie.Optional?null:void 0!==n?n:void Uc()}const so={},zc="__NG_DI_FLAG__",Zs="ngTempTokenPath",GI=/\n/gm,Up="__source";let Yi;function Un(e){const n=Yi;return Yi=e,n}function ZI(e,n=ie.Default){if(void 0===Yi)throw new T(-203,!1);return null===Yi?jp(e,void 0,n):Yi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(Bp()||ZI)(B(e),n)}function k(e,n=ie.Default){return oe(e,Qs(n))}function Qs(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gc(e){const n=[];for(let t=0;tArray.isArray(t)?Ki(t,n):n(t))}function zp(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ys(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function xt(e,n,t){let i=Ji(e,n);return i>=0?e[1|i]=t:(i=~i,function Gp(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Qc(e,n){const t=Ji(e,n);if(t>=0)return e[1|t]}function Ji(e,n){return function qp(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<n){s=o-1;break}}}for(;o-1){let o;for(;++ro?"":r[u+1].toLowerCase(),2&i&&c!==d){if(qt(i))return!1;s=!0}}}}else{if(!s&&!qt(i)&&!qt(l))return!1;if(s&&qt(l))continue;s=!1,i=l|1&i}}return qt(i)||s}function qt(e){return!(1&e)}function sM(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!qt(s)&&(n+=Xp(o,r),r=""),i=s,o=o||!qt(i);t++}return""!==r&&(n+=Xp(o,r)),n}function Wt(e){return bn(()=>{const n=tg(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Gt.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};ng(t);const i=e.dependencies;return t.directiveDefs=ea(i,!1),t.pipeDefs=ea(i,!0),t.id=function vM(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function pM(e){return X(e)||Ue(e)}function gM(e){return null!==e}function zn(e){return bn(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function eg(e,n){if(null==e)return an;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=$n.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==$n.None?[i,a]:i,n[o]=s):t[o]=i}return t}function $(e){return bn(()=>{const n=tg(e);return ng(n),n})}function yt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[ro]||null}function Ue(e){return e[Bc]||null}function Ye(e){return e[jc]||null}function tg(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||an,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:eg(e.inputs,n),outputs:eg(e.outputs),debugInfo:null}}function ng(e){e.features?.forEach(n=>n(e))}function ea(e,n){if(!e)return null;const t=n?Ye:pM;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(gM)}function _M(...e){return{\u0275providers:Xc(0,e),\u0275fromNgModule:!0}}function Xc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Ki(n,s=>{const a=s;na(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&ig(r,o),t}function ig(e,n){for(let t=0;t{n(o,i)})}}function na(e,n,t,i){if(!(e=B(e)))return!1;let r=null,o=qs(e);const s=!o&&X(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=qs(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)na(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Ki(o.imports,u=>{na(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&ig(c,n)}if(!a){const c=di(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Yc,useValue:r,multi:!0},r),n({provide:Mn,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;eu(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function eu(e,n){for(let t of e)Hc(t)&&(t=t.\u0275providers),Array.isArray(t)?eu(t,n):n(t)}const yM=fe({provide:String,useValue:fe});function tu(e){return null!==e&&"object"==typeof e&&yM in e}function hi(e){return"function"==typeof e}const nu=new R(""),ia={},wM={};let iu;function ra(){return void 0===iu&&(iu=new Js),iu}class Zt{}class Xi extends Zt{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ou(n,s=>this.processProvider(s)),this.records.set(Wp,er(void 0,this)),r.has("environment")&&this.records.set(Zt,er(void 0,this));const o=this.records.get(nu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Yc,se,ie.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=K(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),K(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Un(this),i=vt(void 0);try{return n()}finally{Un(t),vt(i)}}get(n,t=so,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Hp))return n[Hp](this);i=Qs(i);const o=Un(this),s=vt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function MM(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(n)&&Gs(n);l=c&&this.injectableDefInScope(c)?er(ru(n),ia):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?ra():this.parent).get(n,t=i&ie.Optional&&t===so?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Zs]=a[Zs]||[]).unshift(je(n)),o)throw a;return function YI(e,n,t,i){const r=e[Zs];throw n[Up]&&r.unshift(n[Up]),e.message=function KI(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=je(n);if(Array.isArray(n))r=n.map(je).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):je(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(GI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Zs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{vt(s),Un(o)}}resolveInjectorInitializers(){const n=K(null),t=Un(this),i=vt(void 0);try{const o=this.get(Mn,se,ie.Self);for(const s of o)s()}finally{Un(t),vt(i),K(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(je(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(n){let t=hi(n=B(n))?n:B(n&&n.provide);const i=function bM(e){return tu(e)?er(void 0,e.useValue):er(sg(e),ia)}(n);if(!hi(n)&&!0===n.multi){let r=this.records.get(t);r||(r=er(void 0,ia,!0),r.factory=()=>Gc(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=K(null);try{return t.value===ia&&(t.value=wM,t.value=t.factory()),"object"==typeof t.value&&t.value&&function IM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{K(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=B(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function ru(e){const n=Gs(e),t=null!==n?n.factory:di(e);if(null!==t)return t;if(e instanceof R)throw new T(204,!1);if(e instanceof Function)return function DM(e){if(e.length>0)throw new T(204,!1);const t=function VI(e){return e&&(e[Ws]||e[Pp])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function sg(e,n,t){let i;if(hi(e)){const r=B(e);return di(r)||ru(r)}if(tu(e))i=()=>B(e.useValue);else if(function og(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Gc(e.deps||[]));else if(function rg(e){return!(!e||!e.useExisting)}(e))i=()=>oe(B(e.useExisting));else{const r=B(e&&(e.useClass||e.provide));if(!function EM(e){return!!e.deps}(e))return di(r)||ru(r);i=()=>new r(...Gc(e.deps))}return i}function er(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function ou(e,n){for(const t of e)Array.isArray(t)?ou(t,n):t&&Hc(t)?ou(t.\u0275providers,n):n(t)}const Se=0,x=1,P=2,Fe=3,Qt=4,Ke=5,at=6,nr=7,_e=8,Ve=9,ln=10,j=11,uo=12,cg=13,ir=14,Te=15,pi=16,rr=17,Sn=18,or=19,ug=20,Gn=21,sa=22,Vt=23,L=25,lu=1,cn=7,sr=9,Ne=10;var la=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(la||{});function ze(e){return Array.isArray(e)&&"object"==typeof e[lu]}function tt(e){return Array.isArray(e)&&!0===e[lu]}function cu(e){return!!(4&e.flags)}function gi(e){return e.componentOffset>-1}function ca(e){return!(1&~e.flags)}function Yt(e){return!!e.template}function ho(e){return!!(512&e[P])}class VM{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function gg(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function un(){return mg}function mg(e){return e.type.prototype.ngOnChanges&&(e.setInput=BM),HM}function HM(){const e=_g(this),n=e?.current;if(n){const t=e.previous;if(t===an)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function BM(e,n,t,i,r){const o=this.declaredInputs[i],s=_g(e)||function jM(e,n){return e[vg]=n}(e,{previous:an,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new VM(c&&c.currentValue,t,l===an),gg(e,n,r,t)}un.ngInherit=!0;const vg="__ngSimpleChanges__";function _g(e){return e[vg]||null}const dn=function(e,n,t){};function ae(e){for(;Array.isArray(e);)e=e[Se];return e}function po(e,n){return ae(n[e])}function lt(e,n){return ae(n[e.index])}function go(e,n){return e.data[n]}function Ot(e,n){const t=n[e];return ze(t)?t:t[Se]}function pu(e){return!(128&~e[P])}function Ht(e,n){return null==n?null:e[n]}function wg(e){e[rr]=0}function Dg(e){1024&e[P]||(e[P]|=1024,pu(e)&&da(e))}function ua(e){return!!(9216&e[P]||e[Vt]?.dirty)}function gu(e){e[ln].changeDetectionScheduler?.notify(8),64&e[P]&&(e[P]|=1024),ua(e)&&da(e)}function da(e){e[ln].changeDetectionScheduler?.notify(0);let n=Tn(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,pu(n));)n=Tn(n)}function fa(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[Gn]&&(e[Gn]=[]),e[Gn].push(n)}function Tn(e){const n=e[Fe];return tt(n)?n[Fe]:n}const U={lFrame:kg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Eg=!1;function Ig(){return U.bindingsEnabled}function D(){return U.lFrame.lView}function J(){return U.lFrame.tView}function z(e){return U.lFrame.contextLView=e,e[_e]}function G(e){return U.lFrame.contextLView=null,e}function he(){let e=Mg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Mg(){return U.lFrame.currentTNode}function Kt(e,n){const t=U.lFrame;t.currentTNode=e,t.isParent=n}function _u(){return U.lFrame.isParent}function yu(){U.lFrame.isParent=!1}function xg(){return Eg}function Og(e){Eg=e}function ct(){const e=U.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Jt(){return U.lFrame.bindingIndex++}function On(e){const n=U.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function t0(e,n){const t=U.lFrame;t.bindingIndex=t.bindingRootIndex=e,Cu(n)}function Cu(e){U.lFrame.currentDirectiveIndex=e}function Du(){return U.lFrame.currentQueryIndex}function pa(e){U.lFrame.currentQueryIndex=e}function r0(e){const n=e[x];return 2===n.type?n.declTNode:1===n.type?e[Ke]:null}function Rg(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=r0(o),null===r||(o=o[ir],10&r.type))););if(null===r)return!1;n=r,e=o}const i=U.lFrame=Lg();return i.currentTNode=n,i.lView=e,!0}function bu(e){const n=Lg(),t=e[x];U.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Lg(){const e=U.lFrame,n=null===e?null:e.child;return null===n?kg(e):n}function kg(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Pg(){const e=U.lFrame;return U.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Fg=Pg;function Eu(){const e=Pg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Je(){return U.lFrame.selectedIndex}function _i(e){U.lFrame.selectedIndex=e}function ye(){const e=U.lFrame;return go(e.tView,e.selectedIndex)}let Bg=!0;function vo(){return Bg}function fn(e){Bg=e}function ga(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[rr]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,Ug(a,o)):Ug(a,o)}const ar=-1;class _o{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}const Su={};class yi{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=Qs(i);const r=this.injector.get(n,Su,i);return r!==Su||t===Su?r:this.parentInjector.get(n,t,i)}}function Tu(e){return e!==ar}function yo(e){return 32767&e}function Co(e,n){let t=function g0(e){return e>>16}(e),i=n;for(;t>0;)i=i[ir],t--;return i}let xu=!0;function _a(e){const n=xu;return xu=e,n}const zg=255,Gg=5;let v0=0;const hn={};function ya(e,n){const t=qg(e,n);if(-1!==t)return t;const i=n[x];i.firstCreatePass&&(e.injectorIndex=n.length,Ou(i.data,e),Ou(n,null),Ou(i.blueprint,null));const r=Ca(e,n),o=e.injectorIndex;if(Tu(r)){const s=yo(r),a=Co(r,n),l=a[x].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Ou(e,n){e.push(0,0,0,0,0,0,0,0,n)}function qg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Ca(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=Xg(r),null===i)return ar;if(t++,r=r[ir],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return ar}function Nu(e,n,t){!function _0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(oo)&&(i=t[oo]),null==i&&(i=t[oo]=v0++);const r=i&zg;n.data[e+(r>>Gg)]|=1<=0?n&zg:D0:n}(t);if("function"==typeof o){if(!Rg(n,e,i))return i&ie.Host?Wg(r,0,i):Zg(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;Uc()}finally{Fg()}}else if("number"==typeof o){let s=null,a=qg(e,n),l=ar,c=i&ie.Host?n[Te][Ke]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Ca(e,n):n[a+8],l!==ar&&Jg(i,!1)?(s=n[x],a=yo(l),n=Co(l,n)):a=-1);-1!==a;){const u=n[x];if(Kg(o,a,u.data)){const d=C0(a,n,t,s,i,c);if(d!==hn)return d}l=n[a+8],l!==ar&&Jg(i,n[x].data[a+8]===c)&&Kg(o,a,n)?(s=u,a=yo(l),n=Co(l,n)):a=-1}}return r}function C0(e,n,t,i,r,o){const s=n[x],a=s.data[e+8],u=wa(a,s,t,null==i?gi(a)&&xu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?Ci(n,s,u,a):hn}function wa(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,h=r?a+u:e.directiveEnd;for(let p=i?a:a+u;p=l&&g.type===t)return p}if(r){const p=s[l];if(p&&Yt(p)&&p.type===t)return l}return null}function Ci(e,n,t,i){let r=e[t];const o=n.data;if(function d0(e){return e instanceof _o}(r)){const s=r;s.resolving&&function UI(e,n){throw n&&n.join(" > "),new T(-200,e)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}(o[t]));const a=_a(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?vt(s.injectImpl):null;Rg(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function c0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=mg(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&vt(c),_a(a),s.resolving=!1,Fg()}}return r}function Kg(e,n,t){return!!(t[n+(e>>Gg)]&1<{const n=e.prototype.constructor,t=n[In]||Au(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[In]||Au(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Au(e){return zs(e)?()=>{const n=Au(B(e));return n&&n()}:di(e)}function Xg(e){const n=e[x],t=n.type;return 2===t?n.declTNode:1===t?e[Ke]:null}function rm(e,n=null,t=null,i){const r=om(e,n,t,i);return r.resolveInjectorInitializers(),r}function om(e,n=null,t=null,i,r=new Set){const o=[t||se,_M(e)];return i=i||("object"==typeof e?void 0:je(e)),new Xi(o,n||ra(),i||null,r)}class it{static#e=this.THROW_IF_NOT_FOUND=so;static#t=this.NULL=new Js;static create(n,t){if(Array.isArray(n))return rm({name:""},t,n,"");{const i=n.name??"";return rm({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=ne({token:it,providedIn:"any",factory:()=>oe(Wp)});static#i=this.__NG_ELEMENT_ID__=-1}new R("").__NG_ELEMENT_ID__=e=>{const n=he();if(null===n)throw new T(204,!1);if(2&n.type)return n.value;if(e&ie.Optional)return null;throw new T(204,!1)};function Lu(e){return e.ngOriginalError}const am=!0;let wo=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=R0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class A0 extends wo{constructor(n){super(),this._lView=n}onDestroy(n){return fa(this._lView,n),()=>function mu(e,n){if(null===e[Gn])return;const t=e[Gn].indexOf(n);-1!==t&&e[Gn].splice(t,1)}(this._lView,n)}}function R0(){return new A0(D())}let ur=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new OI(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();const Ce=class L0 extends sn{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,function ag(){return void 0!==Bp()||null!=function WI(){return Yi}()}()&&(this.destroyRef=k(wo,{optional:!0})??void 0,this.pendingTasks=k(ur,{optional:!0})??void 0)}emit(n){const t=K(null);try{super.next(n)}finally{K(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof It&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function Ea(...e){}function lm(e){let n,t;function i(){e=Ea;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function cm(e){return queueMicrotask(()=>e()),()=>{e=Ea}}const ku="isAngularZone",Ia=ku+"_ID";let k0=0;class pe{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ce(!1),this.onMicrotaskEmpty=new Ce(!1),this.onStable=new Ce(!1),this.onError=new Ce(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=am}=n;if(typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function V0(e){const n=()=>{!function F0(e){function n(){lm(()=>{e.callbackScheduled=!1,Fu(e),e.isCheckStableRunning=!0,Pu(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Fu(e))}(e)},t=k0++;e._inner=e._inner.fork({name:"angular",properties:{[ku]:!0,[Ia]:t,[Ia+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function H0(e){return fm(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return um(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),dm(e)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return um(e),i.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function B0(e){return fm(e,"__scheduler_tick__")}(l)&&n(),dm(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Fu(e),Pu(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(ku)}static assertInAngularZone(){if(!pe.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(pe.isInAngularZone())throw new T(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,P0,Ea,Ea);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const P0={};function Pu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Fu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function um(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function dm(e){e._nesting--,Pu(e)}class Vu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ce,this.onMicrotaskEmpty=new Ce,this.onStable=new Ce,this.onError=new Ce}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function fm(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class pn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Lu(n);for(;t&&Lu(t);)t=Lu(t);return t||null}}const U0=new R("",{providedIn:"root",factory:()=>{const e=k(pe),n=k(pn);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function $0(){return dr(he(),D())}function dr(e,n){return new ut(lt(e,n))}let ut=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=$0}return e})();function pm(e){return e instanceof ut?e.nativeElement:e}function z0(){return this._results[Symbol.iterator]()}class Hu{static#e=Symbol.iterator;get changes(){return this._changes??=new Ce}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=Hu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=z0)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function _t(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function tM(e,n,t){if(e.length!==n.length)return!1;for(let i=0;idS}),dS="ng",Lm=new R(""),wi=new R("",{providedIn:"platform",factory:()=>"unknown"}),km=new R("",{providedIn:"root",factory:()=>qn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Pm=()=>null;function Ku(e,n,t=!1){return Pm(e,n,t)}const zm=new R("",{providedIn:"root",factory:()=>!1});let La,ka;function mr(e){return function nd(){if(void 0===La&&(La=null,be.trustedTypes))try{La=be.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return La}()?.createHTML(e)||e}function Wm(e){return function id(){if(void 0===ka&&(ka=null,be.trustedTypes))try{ka=be.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ka}()?.createHTML(e)||e}class Ym{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Np})`}}function Wn(e){return e instanceof Ym?e.changingThisBreaksApplicationSecurity:e}function Oo(e,n){const t=function OS(e){return e instanceof Ym&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Np})`)}return t===n}class NS{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(mr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class AS{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=mr(n),t}}const LS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function rd(e){return(e=String(e)).match(LS)?e:"unsafe:"+e}function Nn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function No(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const Jm=Nn("area,br,col,hr,img,wbr"),Xm=Nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ev=Nn("rp,rt"),od=No(Jm,No(Xm,Nn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),No(ev,Nn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),No(ev,Xm)),sd=Nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tv=No(sd,Nn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Nn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),kS=Nn("script,style,template");class PS{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=HS(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=VS(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=nv(n).toLowerCase();if(!od.hasOwnProperty(t))return this.sanitizedSomething=!0,!kS.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=nv(n).toLowerCase();od.hasOwnProperty(t)&&!Jm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(rv(n))}}function VS(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw iv(n);return n}function HS(e){const n=e.firstChild;if(n&&function FS(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw iv(n);return n}function nv(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function iv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const BS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jS=/([^\#-~ |!])/g;function rv(e){return e.replace(/&/g,"&").replace(BS,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(jS,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Pa;function ad(e){return"content"in e&&function $S(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(vr||{});function ov(e){const n=Ao();return n?Wm(n.sanitize(vr.HTML,e)||""):Oo(e,"HTML")?Wm(Wn(e)):function US(e,n){let t=null;try{Pa=Pa||function Km(e){const n=new AS(e);return function RS(){try{return!!(new window.DOMParser).parseFromString(mr(""),"text/html")}catch{return!1}}()?new NS(n):n}(e);let i=n?String(n):"";t=Pa.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Pa.getInertBodyElement(i)}while(i!==o);return mr((new PS).sanitizeChildren(ad(t)||t))}finally{if(t){const i=ad(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}(qn(),W(e))}function Zn(e){const n=Ao();return n?n.sanitize(vr.URL,e)||"":Oo(e,"URL")?Wn(e):rd(W(e))}function Ao(){const e=D();return e&&e[ln].sanitizer}const YS=/^>|^->||--!>|)/g,JS="\u200b$1\u200b";function Ha(e){return e.ownerDocument.defaultView}var Qn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Qn||{});let ud;function dd(e,n){return ud(e,n)}function yr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:ze(i)&&(s=!0,i=i[Se]);const a=ae(i);0===e&&null!==t?null==r?yv(n,t,a):bi(n,t,a,r||null,!0):1===e&&null!==t?bi(n,t,a,r||null,!0):2===e?function Lo(e,n,t){e.removeChild(null,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function vT(e,n,t,i,r){const o=t[cn];o!==ae(t)&&yr(n,e,i,o,r);for(let a=Ne;an.replace(KS,JS))}(n))}function Ba(e,n,t){return e.createElement(n,t)}function mv(e,n){n[ln].changeDetectionScheduler?.notify(9),$a(e,n,n[j],2,null,null)}function vv(e,n){const t=e[sr],i=n[Fe];(ze(i)||n[Te]!==i[Fe][Te])&&(e[P]|=la.HasTransplantedViews),null===t?e[sr]=[n]:t.push(n)}function pd(e,n){const t=e[sr],i=t.indexOf(n);t.splice(i,1)}function Ro(e,n){if(e.length<=Ne)return;const t=Ne+n,i=e[t];if(i){const r=i[pi];null!==r&&r!==e&&pd(r,i),n>0&&(e[t-1][Qt]=i[Qt]);const o=Ys(e,Ne+n);!function cT(e,n){mv(e,n),n[Se]=null,n[Ke]=null}(i[x],i);const s=o[Sn];null!==s&&s.detachView(o[x]),i[Fe]=null,i[Qt]=null,i[P]&=-129}return i}function ja(e,n){if(!(256&n[P])){const t=n[j];t.destroyNode&&$a(e,n,t,3,null,null),function dT(e){let n=e[uo];if(!n)return gd(e[x],e);for(;n;){let t=null;if(ze(n))t=n[uo];else{const i=n[Ne];i&&(t=i)}if(!t){for(;n&&!n[Qt]&&n!==e;)ze(n)&&gd(n[x],n),n=n[Fe];null===n&&(n=e),ze(n)&&gd(n[x],n),t=n&&n[Qt]}n=t}}(n)}}function gd(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[Vt]&&Cc(n[Vt]),function pT(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[nr]=null);const r=n[Gn];if(null!==r){n[Gn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Gt.None||o===Gt.Emulated)return null}return lt(i,t)}}(e,n.parent,t)}function bi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function yv(e,n,t){e.appendChild(n,t)}function Cv(e,n,t,i,r){null!==i?bi(e,n,t,i,r):yv(e,n,t)}function vd(e,n){return e.parentNode(n)}let _d,bv=function Dv(e,n,t){return 40&e.type?lt(e,t):null};function Ua(e,n,t,i){const r=md(e,i,n),o=n[j],a=function wv(e,n,t){return bv(e,n,t)}(i.parent||n[Ke],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lL&&Ov(e,n,L,!1),dn(s?2:0,r),t(i,r)}finally{_i(o),dn(s?3:1,r)}}function Dd(e,n,t){if(cu(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function kv(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=$n.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?Pv(i,t,c,a,l):Pv(i,t,c,a)}return i}function Pv(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function wt(e,n,t,i,r,o,s,a){const l=lt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(Od(e,t,u,i,r),gi(n)&&function NT(e,n){const t=Ot(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function OT(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function Md(e,n,t,i){if(Ig()){const r=null===i?null:{"":-1},o=function FT(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,ko(e,t,r.hostVars,Z),r)}function gn(e,n,t,i,r,o){const s=lt(e,n);!function Td(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?W(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[j],s,o,e.value,t,i,r)}function $T(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a{da(e.lView)},consumerOnSignalRead(){this.lView[Vt]=this}},XT={...Rs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Tn(e.lView);for(;n&&!Wv(n[x]);)n=Tn(n);n&&Dg(n)},consumerOnSignalRead(){this.lView[Vt]=this}};function Wv(e){return 2!==e.type}const ex=100;function Wa(e,n=!0,t=0){const i=e[ln],r=i.rendererFactory;r.begin?.();try{!function tx(e,n){const t=xg();try{Og(!0),Rd(e,n);let i=0;for(;ua(e);){if(i===ex)throw new T(103,!1);i++,Rd(e,1)}}finally{Og(t)}}(e,t)}catch(s){throw n&&qa(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function nx(e,n,t,i){const r=n[P];if(!(256&~r))return;n[ln].inlineEffectRunner?.flush(),bu(n);let a=!0,l=null,c=null;Wv(e)?(c=function ZT(e){return e[Vt]??function QT(e){const n=qv.pop()??Object.create(KT);return n.lView=e,n}(e)}(n),l=Ls(c)):null===function up(){return Oe}()?(a=!1,c=function JT(e){const n=e[Vt]??Object.create(XT);return n.lView=e,n}(n),l=Ls(c)):n[Vt]&&(Cc(n[Vt]),n[Vt]=null);try{wg(n),function Ng(e){return U.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Av(e,n,t,2,i);const u=!(3&~r);if(u){const p=e.preOrderCheckHooks;null!==p&&ma(n,p,null)}else{const p=e.preOrderHooks;null!==p&&va(n,p,0,null),Iu(n,0)}if(function ix(e){for(let n=Em(e);null!==n;n=Im(n)){if(!(n[P]&la.HasTransplantedViews))continue;const t=n[sr];for(let i=0;i-1&&(Ro(n,i),Ys(t,i))}this._attachedToViewContainer=!1}ja(this._lView[x],this._lView)}onDestroy(n){fa(this._lView,n)}markForCheck(){Fo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[P]&=-129}reattach(){gu(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Wa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=ho(this._lView),t=this._lView[pi];null!==t&&!n&&pd(t,this._lView),mv(this._lView[x],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n;const t=ho(this._lView),i=this._lView[pi];null!==i&&!t&&vv(i,this._lView),gu(this._lView)}}let Rn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ax}return e})();const ox=Rn,sx=class extends ox{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=function Cr(e,n,t,i){const r=K(null);try{const o=n.tView,l=za(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[pi]=e[n.index];const u=e[Sn];return null!==u&&(l[Sn]=u.createEmbeddedView(o)),Nd(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Vo(r)}};function ax(){return Za(he(),D())}function Za(e,n){return 4&e.type?new sx(n,e,dr(e,n)):null}class br{}const qo=new R("",{providedIn:"root",factory:()=>!1}),y_=new R(""),zd=new R("");class Xx{}class C_{}class tO{resolveComponentFactory(n){throw function eO(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}class el{static#e=this.NULL=new tO}class Gd{}let Xt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function nO(){const e=D(),t=Ot(he().index,e);return(ze(t)?t:e)[j]}()}return e})(),iO=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();function nl(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Tv(e,t,o.join(" "))}}(h,Me,g,i),void 0!==t&&function hO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=gO}return e})();function gO(){return T_(he(),D())}const mO=mn,M_=class extends mO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return dr(this._hostTNode,this._hostLView)}get injector(){return new Ge(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ca(this._hostTNode,this._hostLView);if(Tu(n)){const t=Co(n,this._hostLView),i=yo(n);return new Ge(t[x].data[i+8],t)}return new Ge(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=S_(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Ne}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,r,Mi(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function co(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const g=t||{};a=g.index,i=g.injector,r=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}const l=s?n:new Qo(X(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const C=(s?c:this.parentInjector).get(Zt,null);C&&(o=C)}X(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,Mi(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function GM(e){return tt(e[Fe])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Fe],c=new M_(l,l[Ke],l[Fe]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return function wr(e,n,t,i=!0){const r=n[x];if(function fT(e,n,t,i){const r=Ne+i,o=t.length;i>0&&(t[r-1][Qt]=n),i!1;class Yd{constructor(n){this.queryList=n,this.matches=null}clone(){return new Yd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Kd{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;on.trim())}(n):n}}class Jd{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i0)i.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Ne;d(vc(n),n.value);return t[zt]=n,t}(e),i=t[zt];return n?.equal&&(i.equal=n.equal),t.set=r=>Cp(i,r),t.update=r=>function gI(e,n){hp()||yp(),Cp(e,n(e.value))}(i,r),t.asReadonly=j_.bind(t),t}function j_(){const e=this[zt];if(void 0===e.readonlyFn){const n=()=>this();n[zt]=e,e.readonlyFn=n}return e.readonlyFn}function U_(e){return function B_(e){return"function"==typeof e&&void 0!==e[zt]}(e)&&"function"==typeof e.set}function ce(e){let n=function X_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(Yt(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new T(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=rl(e.inputs),s.inputTransforms=rl(e.inputTransforms),s.declaredInputs=rl(e.declaredInputs),s.outputs=rl(e.outputs);const a=r.hostBindings;a&&BO(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&VO(e,l),c&&HO(e,c),PO(e,r),RI(e.outputs,r.outputs),Yt(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=lo(r.hostAttrs,t=lo(t,r.hostAttrs))}}(i)}function PO(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function rl(e){return e===an?{}:e===se?[]:e}function VO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function HO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function BO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class Oi{}class WO{}class sf extends Oi{constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new E_(this);const o=function et(e,n){const t=e[Vp]||null;if(!t&&!0===n)throw new Error(`Type ${je(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Nt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=om(n,t,[{provide:Oi,useValue:this},{provide:el,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class af extends WO{constructor(n){super(),this.moduleType=n}create(n){return new sf(this.moduleType,n,[])}}function ol(e){return!!lf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function lf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function vn(e,n,t){return e[n]=t}function Ae(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Ni(e,n,t,i){const r=Ae(e,n,t);return Ae(e,n+1,i)||r}function Jo(e,n,t,i,r,o,s,a,l,c){const u=t+L,d=n.firstCreatePass?function eN(e,n,t,i,r,o,s,a,l){const c=n.consts,u=Ii(n,e,4,s||null,a||null);Md(n,t,u,Ht(c,l)),ga(n,u);const d=u.tView=Id(2,u,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,n,e,i,r,o,s,a,l):n.data[u];Kt(d,!1);const h=sy(n,e,d,t);vo()&&Ua(n,e,h,d),rt(h,e);const p=Hv(h,e,h,d);return e[u]=p,Ga(e,p),function O_(e,n,t){return Qd(e,n,t)}(p,d,e),ca(d)&&bd(n,e,d),null!=l&&Ed(e,d,c),d}function V(e,n,t,i,r,o,s,a){const l=D(),c=J();return Jo(l,c,e,n,t,i,r,Ht(c.consts,o),s,a),V}let sy=function ay(e,n,t,i){return fn(!0),n[j].createComment("")};var Tr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Tr||{});let hy=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();class ts{constructor(){this.ngZone=k(pe),this.scheduler=k(br),this.errorHandler=k(pn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Tr.EarlyRead,Tr.Write,Tr.MixedReadWrite,Tr.Read];execute(){this.executing=!0;for(const n of ts.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[n])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(i){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static#t=this.\u0275prov=ne({token:ts,providedIn:"root",factory:()=>new ts})}function ft(e,n,t,i){const r=D();return Ae(r,Jt(),n)&&(J(),gn(ye(),r,e,n,t,i)),ft}function kr(e,n,t,i){return Ae(e,Jt(),t)?n+W(t)+i:Z}function fl(e,n){return e<<17|n<<2}function Jn(e){return e>>17&32767}function Cf(e){return 2|e}function Ri(e){return(131068&e)>>2}function wf(e,n){return-131069&e|n<<2}function Df(e){return 1|e}function jy(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Jn(r):Ri(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];UN(e[s],n)&&(a=!0,e[s+1]=i?Df(c):Cf(c)),s=i?Jn(c):Ri(c)}a&&(e[t+1]=i?Cf(r):Df(r))}function UN(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ji(e,n)>=0}const qe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Uy(e){return e.substring(qe.key,qe.keyEnd)}function $y(e,n){const t=qe.textEnd;return t===n?-1:(n=qe.keyEnd=function qN(e,n,t){for(;n32;)n++;return n}(e,qe.key=n,t),$r(e,n,t))}function $r(e,n,t){for(;n=0;t=$y(n,t))xt(e,Uy(n),!0)}function en(e,n,t,i){const r=D(),o=J(),s=On(2);o.firstUpdatePass&&Qy(o,e,s,i),n!==Z&&Ae(r,s,n)&&Ky(o,o.data[Je()],r,r[j],e,r[s+1]=function r1(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je(Wn(e)))),e}(n,t),i,s)}function Zy(e,n){return n>=e.expandoStartIndex}function Qy(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[Je()],s=Zy(e,t);Xy(o,i)&&null===n&&!s&&(n=!1),n=function KN(e,n,t,i){const r=function wu(e){const n=U.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=is(t=Ef(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=Ef(r,e,n,t,i),null===o){let l=function JN(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ri(i))return e[Jn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=Ef(null,e,n,l[1],i),l=is(l,n.attrs,i),function XN(e,n,t,i){e[Jn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function e1(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,r)if(0!==l){const h=Jn(e[a+1]);e[i+1]=fl(h,a),0!==h&&(e[h+1]=wf(e[h+1],i)),e[a+1]=function VN(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=fl(a,0),0!==a&&(e[a+1]=wf(e[a+1],i)),a=i;else e[i+1]=fl(l,0),0===a?a=i:e[l+1]=wf(e[l+1],i),l=i;c&&(e[i+1]=Cf(e[i+1])),jy(e,u,i,!0),jy(e,u,i,!1),function jN(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Ji(o,n)>=0&&(t[i+1]=Df(t[i+1]))}(n,u,e,i,o),s=fl(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function Ef(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[r+1];h===Z&&(h=d?se:void 0);let p=d?Qc(h,i):u===i?h:void 0;if(c&&!pl(p)&&(p=Qc(l,i)),pl(p)&&(a=p,s))return a;const g=e[r+1];r=s?Jn(g):Ri(g)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Qc(l,i))}return a}function pl(e){return void 0!==e}function Xy(e,n){return!!(e.flags&(n?8:16))}function Cn(e,n,t){!function tn(e,n,t,i){const r=J(),o=On(2);r.firstUpdatePass&&Qy(r,null,o,i);const s=D();if(t!==Z&&Ae(s,o,t)){const a=r.data[Je()];if(Xy(a,i)&&!Zy(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Rc(l,t||"")),bf(r,a,s,t,i)}else!function i1(e,n,t,i,r,o,s,a){r===Z&&(r=se);let l=0,c=0,u=0(fn(!0),Ba(i,r,function Hg(){return U.lFrame.currentNamespace}()));function ee(e,n,t){const i=D(),r=J(),o=e+L,s=r.firstCreatePass?function x1(e,n,t,i,r){const o=n.consts,s=Ht(o,i),a=Ii(n,e,8,"ng-container",s);return null!==s&&nl(a,s,!0),Md(n,t,a,Ht(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Kt(s,!0);const a=oC(r,i,s,e);return i[o]=a,vo()&&Ua(r,i,a,s),rt(a,i),ca(s)&&(bd(r,i,s),Dd(r,s,i)),null!=t&&Ed(i,s),ee}function te(){let e=he();const n=J();return _u()?yu():(e=e.parent,Kt(e,!1)),n.firstCreatePass&&(ga(n,e),cu(e)&&n.queries.elementEnd(e)),te}let oC=(e,n,t,i)=>(fn(!0),hd(n[j],""));function Ee(){return D()}const ml="en-US";let uC=ml,TC=(e,n,t)=>{};function q(e,n,t,i){const r=D(),o=J(),s=he();return Of(o,r,r[j],s,e,n,i),q}function Of(e,n,t,i,r,o,s){const a=ca(i),c=e.firstCreatePass&&Uv(e),u=n[_e],d=jv(n);let h=!0;if(3&i.type||s){const C=lt(i,n),b=s?s(C):C,M=d.length,w=s?Q=>s(ae(Q[i.index])):i.index;let F=null;if(!s&&a&&(F=function DA(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==F)(F.__ngLastListenerFn__||F).__ngNextListenerFn__=o,F.__ngLastListenerFn__=o,h=!1;else{o=AC(i,n,u,o),TC(C,r,o);const Q=t.listen(b,r,o);d.push(o,Q),c&&c.push(r,w,M,M+1)}}else o=AC(i,n,u,o);const p=i.outputs;let g;if(h&&null!==p&&(g=p[r])){const C=g.length;if(C)for(let b=0;b-1?Ot(e.index,n):n,5);let a=NC(n,t,i,o),l=r.__ngNextListenerFn__;for(;l;)a=NC(n,t,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function v(e=1){return function o0(e){return(U.lFrame.contextLView=function bg(e,n){for(;e>0;)n=n[ir],e--;return n}(e,U.lFrame.contextLView))[_e]}(e)}function kn(e,n,t){return Nf(e,"",n,"",t),kn}function Nf(e,n,t,i,r){const o=D(),s=kr(o,n,t,i);return s!==Z&&wt(J(),ye(),o,e,s,o[j],r,!1),Nf}function jC(e,n,t,i){!function P_(e,n,t,i){const r=J();if(r.firstCreatePass){const o=he();F_(r,new A_(n,t,i),o.index),function MO(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return L_(r,D(),t)}(e,n,t,i)}function Lt(e,n,t){!function k_(e,n,t){const i=J();return i.firstCreatePass&&(F_(i,new A_(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),L_(i,D(),n)}(e,n,t)}function bt(e){const n=D(),t=J(),i=Du();pa(i+1);const r=nf(t,i);if(e.dirty&&function zM(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=V_(n,i);e.reset(o,pm),e.notifyOnChanges()}return!0}return!1}function Et(){return function tf(e,n){return e[Sn].queries[n].queryList}(D(),Du())}function E(e,n=""){const t=D(),i=J(),r=e+L,o=i.firstCreatePass?Ii(i,r,1,n,null):i.data[r],s=KC(i,t,o,n,e);t[r]=s,vo()&&Ua(i,t,s,o),Kt(o,!1)}let KC=(e,n,t,i,r)=>(fn(!0),function fd(e,n){return e.createText(n)}(n[j],i));function N(e){return Y("",e,""),N}function Y(e,n,t){const i=D(),r=kr(i,e,n,t);return r!==Z&&function An(e,n,t){const i=po(n,e);!function gv(e,n,t){e.setValue(n,t)}(e[j],i,t)}(i,Je(),r),Y}function Xe(e,n,t){U_(n)&&(n=n());const i=D();return Ae(i,Jt(),n)&&wt(J(),ye(),i,e,n,i[j],t,!1),Xe}function xe(e,n){const t=U_(e);return t&&e.set(n),t}function ot(e,n){const t=D(),i=J(),r=he();return Of(i,t,t[j],r,e,n),ot}function Rf(e,n,t,i,r){if(e=B(e),Array.isArray(e))for(let o=0;o>20;if(hi(e)||!e.multi){const p=new _o(c,r,S),g=kf(l,n,r?u:u+h,d);-1===g?(Nu(ya(a,s),o,l),Lf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[g]=p,s[g]=p)}else{const p=kf(l,n,u+h,d),g=kf(l,n,u,u+h),b=g>=0&&t[g];if(r&&!b||!r&&!(p>=0&&t[p])){Nu(ya(a,s),o,l);const M=function WA(e,n,t,i,r){const o=new _o(e,t,S);return o.multi=[],o.index=n,o.componentProviders=0,lw(o,r,i&&!t),o}(r?qA:GA,t.length,r,i,c);!r&&b&&(t[g].providerFactory=M),Lf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(M),s.push(M)}else Lf(o,e,p>-1?p:g,lw(t[r?g:p],c,!r&&i));!r&&i&&b&&t[g].componentProviders++}}}function Lf(e,n,t,i){const r=hi(n),o=function CM(e){return!!e.useClass}(n);if(r||o){const l=(o?B(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function lw(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function kf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function zA(e,n,t){const i=J();if(i.firstCreatePass){const r=Yt(e);Rf(t,i.data,i.blueprint,r,!0),Rf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function cs(e,n,t,i){return function dw(e,n,t,i,r,o){const s=n+t;return Ae(e,s,r)?vn(e,s+1,o?i.call(o,r):i(r)):us(e,s+1)}(D(),ct(),e,n,t,i)}function Ff(e,n,t,i,r){return function fw(e,n,t,i,r,o,s){const a=n+t;return Ni(e,a,r,o)?vn(e,a+2,s?i.call(s,r,o):i(r,o)):us(e,a+2)}(D(),ct(),e,n,t,i,r)}function We(e,n,t,i,r,o){return hw(D(),ct(),e,n,t,i,r,o)}function us(e,n){const t=e[n];return t===Z?void 0:t}function hw(e,n,t,i,r,o,s,a){const l=n+t;return function sl(e,n,t,i,r){const o=Ni(e,n,t,i);return Ae(e,n+2,r)||o}(e,l,r,o,s)?vn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):us(e,l+3)}function vw(e,n,t,i,r){const o=e+L,s=D(),a=function mi(e,n){return e[n]}(s,o);return function ds(e,n){return e[x].data[n].pure}(s,o)?hw(s,ct(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const Fw=new R(""),Il=new R("");let Gf,$f=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Gf||(function oL(e){Gf=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.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:()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!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(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(oe(pe),oe(zf),oe(Il))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),zf=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return Gf?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ml(e){return!!e&&"function"==typeof e.then}function Vw(e){return!!e&&"function"==typeof e.subscribe}const sL=new R("");let Hw=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=k(sL,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Ml(o))t.push(o);else if(Vw(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const qf=new R("");function jw(e,n){return Array.isArray(n)?n.reduce(jw,e):{...e,...n}}let Pn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(U0),this.afterRenderManager=k(hy),this.zonelessEnabled=k(qo),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new sn,this.afterTick=new sn,this.componentTypes=[],this.components=[],this.isStable=k(ur).hasPendingTasks.pipe(Nc(t=>!t)),this._injector=k(Zt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof C_;if(!this._injector.get(Hw).done)throw!r&&function fi(e){const n=X(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(el).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function aL(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Oi),c=s.create(it.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Fw,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new T(101,!1);const t=K(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,K(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(Gd,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;0!==this.dirtyFlags&&i++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:r,notifyErrorHandler:o}of this._views)uL(r,o,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>ua(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Sl(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(qf,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Sl(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new T(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sl(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function uL(e,n,t,i){(t||ua(e))&&Wa(e,n,t&&!i?0:1)}let pL=(()=>{class e{constructor(){this.zone=k(pe),this.changeDetectionScheduler=k(br),this.applicationRef=k(Pn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wf({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new pe({...Zf(),scheduleInRootZone:t}),[{provide:pe,useFactory:e},{provide:Mn,multi:!0,useFactory:()=>{const i=k(pL,{optional:!0});return()=>i.initialize()}},{provide:Mn,multi:!0,useFactory:()=>{const i=k(mL);return()=>{i.initialize()}}},!0===n?{provide:y_,useValue:!0}:[],{provide:zd,useValue:t??am}]}function Zf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let mL=(()=>{class e{constructor(){this.subscription=new It,this.initialized=!1,this.zone=k(pe),this.pendingTasks=k(ur)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ps=(()=>{class e{constructor(){this.appRef=k(Pn),this.taskService=k(ur),this.ngZone=k(pe),this.zonelessEnabled=k(qo),this.disableScheduling=k(y_,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new It,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ia):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(k(zd,{optional:!0})??!1),this.cancelScheduledCallback=null,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 Vu||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?cm:lm;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ia+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,cm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Xn=new R("",{providedIn:"root",factory:()=>k(Xn,ie.Optional|ie.SkipSelf)||function vL(){return typeof $localize<"u"&&$localize.locale||ml}()}),xl=new R("");function Ol(e){return!e.moduleRef}let Zw=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,s=i?.ignoreChangesOutsideZone,a=[Wf({ngZoneFactory:()=>function j0(e="zone.js",n){return"noop"===e?new Vu:"zone.js"===e?new pe(n):e}(i?.ngZone,{...Zf({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:s}),{provide:br,useExisting:ps}],l=function QO(e,n,t){return new sf(e,n,t,!1)}(t.moduleType,this.injector,a);return function Ww(e){const n=Ol(e)?e.r3Injector:e.moduleRef.injector,t=n.get(pe);return t.run(()=>{Ol(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(pn,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{i.handleError(o)}})}),Ol(e)){const o=()=>n.destroy(),s=e.platformInjector.get(xl);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(xl);s.add(o),e.moduleRef.onDestroy(()=>{Sl(e.allPlatformModules,e.moduleRef),r.unsubscribe(),s.delete(o)})}return function cL(e,n,t){try{const i=t();return Ml(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(i,t,()=>{const o=n.get(Hw);return o.runInitializers(),o.donePromise.then(()=>{if(function V1(e){"string"==typeof e&&(uC=e.toLowerCase().replace(/_/g,"-"))}(n.get(Xn,ml)||ml),Ol(e)){const a=n.get(Pn);return void 0!==e.rootComponent&&a.bootstrap(e.rootComponent),a}return function bL(e,n){const t=e.injector.get(Pn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new T(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){const r=jw({},i);return function hL(e,n,t){const i=new af(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new T(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(xl,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(oe(it))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ei=null;const Qw=new R("");function Yw(e,n,t=[]){const i=`Platform: ${n}`,r=new R(i);return(o=[])=>{let s=Yf();if(!s||s.injector.get(Qw,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function EL(e){if(ei&&!ei.get(Qw,!1))throw new T(400,!1);(function Bw(){!function hI(e){_p=e}(()=>{throw new T(600,!1)})})(),ei=e;const n=e.get(Zw);(function Jw(e){e.get(Lm,null)?.forEach(t=>t())})(e)}(function Kw(e=[],n){return it.create({name:n,providers:[{provide:nu,useValue:"platform"},{provide:xl,useValue:new Set([()=>ei=null])},...e]})}(a,i))}return function IL(){const n=Yf();if(!n)throw new T(401,!1);return n}()}}function Yf(){return ei?.get(Zw)??null}let ki=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=SL}return e})();function SL(e){return function TL(e,n,t){if(gi(e)&&!t){const i=Ot(e.index,n);return new Vo(i,i)}return 175&e.type?new Vo(n[Te],n):null}(he(),D(),!(16&~e))}class iD{constructor(){}supports(n){return ol(n)}create(n){return new RL(n)}}const AL=(e,n)=>n;class RL{constructor(n){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=n||AL}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new LL(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new rD),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rD),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class LL{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class kL{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class rD{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new kL,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function oD(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new FL(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class FL{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function aD(){return new th([new iD])}let th=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:aD});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||aD()),deps:[[e,new Wc,new qc]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function lD(){return new Rl([new sD])}let Rl=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:lD});constructor(t){this.factories=t}static create(t,i){if(i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||lD()),deps:[[e,new Wc,new qc]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const BL=Yw(null,"core",[]);let jL=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Pn))};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})();function _s(e,n){dt("NgSignals");const t=function uI(e){const n=Object.create(dI);n.computation=e;const t=()=>{if(dp(n),vc(n),n.value===Fs)throw n.error;return n.value};return t[zt]=n,t}(e);return n?.equal&&(t[zt].equal=n.equal),t}function wn(e){const n=K(null);try{return e()}finally{K(n)}}let ND=null;function ys(){return ND}class Ik{}const Fi=new R(""),ph=/\s+/,BD=[];let Zr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=BD,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(ph):BD}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(ph):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(ph).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class hP{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Vi=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new hP(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),UD(a,r)}});for(let r=0,o=i.length;r{UD(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn),S(Rn),S(th))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function UD(e,n){e.context.$implicit=n.item}let Hn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new pP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){$D("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){$D("ngIfElse",t),this._elseTemplateRef=t,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(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn),S(Rn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class pP{constructor(){this.$implicit=null,this.ngIf=null}}function $D(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let GD=(()=>{class e{constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,i){const[r,o]=t.split("."),s=-1===r.indexOf("-")?void 0:Qn.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Rl),S(Xt))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),qD=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[un]})}return e})();let ZD=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function rn(e,n){return new T(2100,!1)}();return t.slice(i,r)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=yt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),QD=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})();function KD(e){return"server"===e}class mF extends Ik{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Dh extends mF{static makeCurrent(){!function Ek(e){ND??=e}(new Dh)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function vF(){return bs=bs||document.querySelector("base"),bs?bs.getAttribute("href"):null}();return null==t?null:function _F(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){bs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function dP(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let bs=null,CF=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const bh=new R("");let lb=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new T(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bh),oe(pe))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const Eh="ng-app-id";let ub=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=KD(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Eh}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(Eh),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Eh,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi),oe(hr),oe(km,8),oe(wi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Ih={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"},Mh=/%COMP%/g,EF=new R("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(Mh,e))}let hb=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=KD(a),this.defaultRenderer=new Sh(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Gt.ShadowDom&&(i={...i,encapsulation:Gt.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Th&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case Gt.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Gt.ShadowDom:return new TF(l,c,t,i,s,a,this.nonce,d);default:o=new Th(l,c,i,u,s,a,d)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(oe(lb),oe(ub),oe(hr),oe(EF),oe(Fi),oe(wi),oe(pe),oe(km))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Sh{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Ih[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(pb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(pb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new T(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=Ih[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Ih[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Qn.DashCase|Qn.Important)?n.style.setProperty(t,i,r&Qn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Qn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=ys().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function pb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class TF extends Sh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=fb(r.id,r.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Th extends Sh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?fb(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gb extends Th{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function IF(e){return"_ngcontent-%COMP%".replace(Mh,e)}(c),this.hostAttr=function MF(e){return"_nghost-%COMP%".replace(Mh,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let xF=(()=>{class e extends cb{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],OF={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},NF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let AF=(()=>{class e extends cb{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ys().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),mb.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=OF[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),mb.forEach(s=>{s!==r&&(0,NF[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const PF=Yw(BL,"browser",[{provide:wi,useValue:"browser"},{provide:Lm,useValue:function RF(){Dh.makeCurrent()},multi:!0},{provide:Fi,useFactory:function kF(){return function uS(e){zu=e}(document),document},deps:[]}]),FF=new R(""),yb=[{provide:Il,useClass:class yF{addToWindow(n){be.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},be.getAllAngularTestabilities=()=>n.getAllTestabilities(),be.getAllAngularRootElements=()=>n.getAllRootElements(),be.frameworkStabilizers||(be.frameworkStabilizers=[]),be.frameworkStabilizers.push(i=>{const r=be.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?ys().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:Fw,useClass:$f,deps:[pe,zf,Il]},{provide:$f,useClass:$f,deps:[pe,zf,Il]}],Cb=[{provide:nu,useValue:"root"},{provide:pn,useFactory:function LF(){return new pn},deps:[]},{provide:bh,useClass:xF,multi:!0,deps:[Fi,pe,wi]},{provide:bh,useClass:AF,multi:!0,deps:[Fi]},hb,ub,lb,{provide:Gd,useExisting:hb},{provide:class UP{},useClass:CF,deps:[]},[]];let VF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:hr,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(FF,12))};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({providers:[...Cb,...yb],imports:[QD,jL]})}return e})();function ti(e){return this instanceof ti?(this.v=e,this):new ti(e)}function Mb(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Ah(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Pe(e?.then)}function xb(e){return Pe(e[xc])}function Ob(e){return Symbol.asyncIterator&&Pe(e?.[Symbol.asyncIterator])}function Nb(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ab=function c2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Pe(e?.[Ab])}function Lb(e){return function Ib(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},a("next"),a("throw"),a("return",function s(p){return function(g){return Promise.resolve(g).then(p,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(p,g){i[p]&&(r[p]=function(C){return new Promise(function(b,M){o.push([p,C,b,M])>1||l(p,C)})},g&&(r[p]=g(r[p])))}function l(p,g){try{!function c(p){p.value instanceof ti?Promise.resolve(p.value.v).then(u,d):h(o[0][2],p)}(i[p](g))}catch(C){h(o[0][3],C)}}function u(p){l("next",p)}function d(p){l("throw",p)}function h(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield ti(t.read());if(r)return yield ti(void 0);yield yield ti(i)}}finally{t.releaseLock()}})}function kb(e){return Pe(e?.getReader)}function Es(e){if(e instanceof Mt)return e;if(null!=e){if(xb(e))return function u2(e){return new Mt(n=>{const t=e[xc]();if(Pe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function d2(e){return new Mt(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Mp)})}(e);if(Ob(e))return Pb(e);if(Rb(e))return function h2(e){return new Mt(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(kb(e))return function p2(e){return Pb(Lb(e))}(e)}throw Nb(e)}function Pb(e){return new Mt(n=>{(function g2(e,n){var t,i,r,o;return function bb(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Mb(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Bi(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function Fb(e,n=0){return ui((t,i)=>{t.subscribe(Bn(i,r=>Bi(i,e,()=>i.next(r),n),()=>Bi(i,e,()=>i.complete(),n),r=>Bi(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return ui((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Hb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Mt(t=>{Bi(t,n,()=>{const i=e[Symbol.asyncIterator]();Bi(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:b2}=Array,{getPrototypeOf:E2,prototype:I2,keys:M2}=Object;const{isArray:O2}=Array;function R2(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function L2(...e){const n=function x2(e){return Pe(function Rh(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function S2(e){if(1===e.length){const n=e[0];if(b2(n))return{args:n,keys:null};if(function T2(e){return e&&"object"==typeof e&&E2(e)===I2}(n)){const t=M2(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Mt(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?R2(i,a):a),o.complete())}))}});return n?r.pipe(function A2(e){return Nc(n=>function N2(e,n){return O2(n)?e(...n):e(n)}(e,n))}(n)):r}let Bb=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(Xt),S(ut))};static#t=this.\u0275dir=$({type:e})}return e})(),ji=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,features:[ce]})}return e})();const on=new R(""),k2={provide:on,useExisting:ge(()=>Lh),multi:!0};let Lh=(()=>{class e extends ji{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([k2]),ce]})}return e})();const P2={provide:on,useExisting:ge(()=>Is),multi:!0},V2=new R("");let Is=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function F2(){const e=ys()?ys().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(Xt),S(ut),S(V2,8))};static#t=this.\u0275dir=$({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,r){1&i&&q("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[Ie([P2]),ce]})}return e})();const st=new R(""),ii=new R("");function Yb(e){return null!=e}function Kb(e){return Ml(e)?function D2(e,n){return n?function w2(e,n){if(null!=e){if(xb(e))return function m2(e,n){return Es(e).pipe(Vb(n),Fb(n))}(e,n);if(Sb(e))return function _2(e,n){return new Mt(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Tb(e))return function v2(e,n){return Es(e).pipe(Vb(n),Fb(n))}(e,n);if(Ob(e))return Hb(e,n);if(Rb(e))return function y2(e,n){return new Mt(t=>{let i;return Bi(t,n,()=>{i=e[Ab](),Bi(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>Pe(i?.return)&&i.return()})}(e,n);if(kb(e))return function C2(e,n){return Hb(Lb(e),n)}(e,n)}throw Nb(e)}(e,n):Es(e)}(e):e}function Jb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Xb(e,n){return n.map(t=>t(e))}function eE(e){return e.map(n=>function B2(e){return!e.validate}(n)?n:t=>n.validate(t))}function kh(e){return null!=e?function tE(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eE(e)):null}function Ph(e){return null!=e?function nE(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return L2(Xb(t,n).map(Kb)).pipe(Nc(Jb))}}(eE(e)):null}function iE(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Fh(e){return e?Array.isArray(e)?e:[e]:[]}function nc(e,n){return Array.isArray(e)?e.includes(n):e===n}function sE(e,n){const t=Fh(n);return Fh(e).forEach(r=>{nc(t,r)||t.push(r)}),t}function aE(e,n){return Fh(n).filter(t=>!nc(e,t))}class lE{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(n){this._rawValidators=n||[],this._composedValidatorFn=kh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Ph(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class mt extends lE{get formDirective(){return null}get path(){return null}}class ri extends lE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cE{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let ic=(()=>{class e extends cE{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(ri,2))};static#t=this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Ln("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ce]})}return e})();const Ms="VALID",oc="INVALID",Yr="PENDING",Ss="DISABLED";class Kr{}class dE extends Kr{constructor(n,t){super(),this.value=n,this.source=t}}class Bh extends Kr{constructor(n,t){super(),this.pristine=n,this.source=t}}class jh extends Kr{constructor(n,t){super(),this.touched=n,this.source=t}}class sc extends Kr{constructor(n,t){super(),this.status=n,this.source=t}}function ac(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class zh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=_s(()=>this.statusReactive()),this.statusReactive=Er(void 0),this._pristine=_s(()=>this.pristineReactive()),this.pristineReactive=Er(!0),this._touched=_s(()=>this.touchedReactive()),this.touchedReactive=Er(!1),this._events=new sn,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return wn(this.statusReactive)}set status(n){wn(()=>this.statusReactive.set(n))}get valid(){return this.status===Ms}get invalid(){return this.status===oc}get pending(){return this.status==Yr}get disabled(){return this.status===Ss}get enabled(){return this.status!==Ss}get pristine(){return wn(this.pristineReactive)}set pristine(n){wn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return wn(this.touchedReactive)}set touched(n){wn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(sE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aE(n,this._rawAsyncValidators))}hasValidator(n){return nc(this._rawValidators,n)}hasAsyncValidator(n){return nc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new jh(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&!1!==n.emitEvent&&this._events.next(new jh(!1,i))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Bh(!1,i))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&!1!==n.emitEvent&&this._events.next(new Bh(!0,i))}markAsPending(n={}){this.status=Yr;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new sc(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ss,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new dE(this.value,i)),this._events.next(new sc(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ms,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ms||this.status===Yr)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new dE(this.value,t)),this._events.next(new sc(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ss:Ms}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Yr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=Kb(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new sc(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new Ce,this.statusChanges=new Ce}_calculateStatus(){return this._allControlsDisabled()?Ss:this.errors?oc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Yr)?Yr:this._anyControlsHaveStatus(oc)?oc:Ms}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),r&&this._events.next(new Bh(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new jh(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){ac(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function Z2(e){return Array.isArray(e)?kh(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Q2(e){return Array.isArray(e)?Ph(e):e||null}(this._rawAsyncValidators)}}const Jr=new R("CallSetDisabledState",{providedIn:"root",factory:()=>lc}),lc="always";function Ts(e,n,t=lc){(function qh(e,n){const t=function rE(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iE(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oE(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iE(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();dc(n._rawValidators,r),dc(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function J2(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&pE(e,n)})}(e,n),function eV(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function X2(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&pE(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function K2(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function dc(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function pE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function vE(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function _E(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const yE=class extends zh{constructor(n=null,t,i){super(function Uh(e){return(ac(e)?e.validators:e)||null}(t),function $h(e,n){return(ac(n)?n.asyncValidators:e)||null}(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ac(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=_E(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){vE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){vE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){_E(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},lV={provide:ri,useExisting:ge(()=>Os)},DE=Promise.resolve();let Os=(()=>{class e extends ri{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new yE,this._registered=!1,this.name="",this.update=new Ce,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function Qh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===Is?t=o:function iV(e){return Object.getPrototypeOf(e.constructor)===ji}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function Zh(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,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(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ts(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()}_updateValue(t){DE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function rh(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);DE.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function cc(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(S(mt,9),S(st,10),S(ii,10),S(on,10),S(ki,8),S(Jr,8))};static#t=this.\u0275dir=$({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:[Ie([lV]),ce,un]})}return e})();const hV={provide:on,useExisting:ge(()=>Kh),multi:!0};let Kh=(()=>{class e extends ji{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.value)})("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[Ie([hV]),ce]})}return e})();const yV={provide:on,useExisting:ge(()=>Ns),multi:!0};function xE(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Ns=(()=>{class e extends ji{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const r=xE(this._getOptionId(t),t);this.setProperty("value",r)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function CV(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([yV]),ce]})}return e})(),tp=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(xE(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(Ns,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const wV={provide:on,useExisting:ge(()=>np),multi:!0};function OE(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let np=(()=>{class e extends ji{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const r=t.map(o=>this._getOptionId(o));i=(o,s)=>{o._setSelected(r.indexOf(s.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const r=[],o=i.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([wV]),ce]})}return e})(),ip=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(OE(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OE(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(np,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),NV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})(),RV=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Jr,useValue:t.callSetDisabledState??lc}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({imports:[NV]})}return e})();class LV extends It{constructor(n,t){super()}schedule(n,t=0){return this}}const hc={setInterval(e,n,...t){const{delegate:i}=hc;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=hc;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},BE={now:()=>(BE.delegate||Date).now(),delegate:void 0};class As{constructor(n,t=As.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}As.now=BE.now;const jE=new class PV extends As{constructor(n,t=As.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}(class kV extends LV{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return hc.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&hc.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Hs(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),FV=jE;function UE(e,n=jE,t){const i=function jV(e=0,n,t=FV){let i=-1;return null!=n&&(function HV(e){return e&&Pe(e.schedule)}(n)?t=n:i=n),new Mt(r=>{let o=function BV(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(e,n);return function VV(e,n){return ui((t,i)=>{const{leading:r=!0,trailing:o=!1}=n??{};let s=!1,a=null,l=null,c=!1;const u=()=>{l?.unsubscribe(),l=null,o&&(p(),c&&i.complete())},d=()=>{l=null,c&&i.complete()},h=g=>l=Es(e(g)).subscribe(Bn(i,u,d)),p=()=>{if(s){s=!1;const g=a;a=null,i.next(g),!c&&h(g)}};t.subscribe(Bn(i,g=>{s=!0,a=g,(!l||l.closed)&&(r?p():h(g))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function $E(e,n,t){const i=Pe(e)||n||t?{next:e,error:n,complete:t}:e;return i?ui((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Bn(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Oc}function zE(e,n=Oc){return e=e??UV,ui((t,i)=>{let r,o=!0;t.subscribe(Bn(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function UV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Xr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),GE=!1,qE=function(){};Pt.addEventListener&&Pt.addEventListener("p",qE,{get passive(){return GE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",qE,!1);var WE=GE,op="ontouchstart"in Pt,QE=(op||"TouchEvent"in Pt&&Xr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Xr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(QE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Xr("(pointer: coarse)").matches||!Xr("(pointer: fine)").matches&&op)&&/Windows.*Firefox/.test(QE),Xr("(any-pointer: fine)").matches||Xr("(any-hover: hover)");const QV=(e,n,t)=>({tooltip:e,placement:n,content:t});function YV(e,n){}function KV(e,n){1&e&&V(0,YV,0,0,"ng-template")}function JV(e,n){if(1&e&&(ee(0),V(1,KV,1,0,null,1),te()),2&e){const t=v();f(),m("ngTemplateOutlet",t.template)("ngTemplateOutletContext",We(2,QV,t.tooltip,t.placement,t.content))}}function XV(e,n){if(1&e&&(ee(0),y(1,"div",2),E(2),_(),te()),2&e){const t=v();f(),ft("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const eH=["tooltipTemplate"],tH=["leftOuterSelectionBar"],nH=["rightOuterSelectionBar"],iH=["fullBar"],rH=["selectionBar"],oH=["minHandle"],sH=["maxHandle"],aH=["floorLabel"],lH=["ceilLabel"],cH=["minHandleLabel"],uH=["maxHandleLabel"],dH=["combinedLabel"],fH=["ticksElement"],hH=e=>({"ngx-slider-selected":e});function pH(e,n){if(1&e&&O(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;m("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function gH(e,n){1&e&&O(0,"span",33),2&e&&m("innerText",v().$implicit.legend)}function mH(e,n){1&e&&O(0,"span",34),2&e&&m("innerHTML",v().$implicit.legend,ov)}function vH(e,n){if(1&e&&(y(0,"span",27),O(1,"ngx-slider-tooltip-wrapper",28),V(2,pH,1,4,"ngx-slider-tooltip-wrapper",29)(3,gH,1,1,"span",30)(4,mH,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();m("ngClass",cs(8,hH,t.selected))("ngStyle",t.style),f(),m("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),m("ngIf",null!=t.value),f(),m("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),m("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var Dn=function(e){return e[e.Low=0]="Low",e[e.High=1]="High",e[e.Floor=2]="Floor",e[e.Ceil=3]="Ceil",e[e.TickValue=4]="TickValue",e}(Dn||{});class pc{floor=0;ceil=null;step=1;minRange=null;maxRange=null;pushRange=!1;minLimit=null;maxLimit=null;translate=null;combineLabels=null;getLegend=null;getStepLegend=null;stepsArray=null;bindIndexForStepsArray=!1;draggableRange=!1;draggableRangeOnly=!1;showSelectionBar=!1;showSelectionBarEnd=!1;showSelectionBarFromValue=null;showOuterSelectionBars=!1;hidePointerLabels=!1;hideLimitLabels=!1;autoHideLimitLabels=!0;readOnly=!1;disabled=!1;showTicks=!1;showTicksValues=!1;tickStep=null;tickValueStep=null;ticksArray=null;ticksTooltip=null;ticksValuesTooltip=null;vertical=!1;getSelectionBarColor=null;getTickColor=null;getPointerColor=null;keyboardSupport=!0;scale=1;rotate=0;enforceStep=!0;enforceRange=!0;enforceStepsArray=!0;noSwitching=!1;onlyBindHandles=!1;rightToLeft=!1;reversedControls=!1;boundPointerLabels=!0;logScale=!1;customValueToPosition=null;customPositionToValue=null;precisionLimit=12;selectionBarGradient=null;ariaLabel="ngx-slider";ariaLabelledBy=null;ariaLabelHigh="ngx-slider-max";ariaLabelledByHigh=null;handleDimension=null;barDimension=null;animate=!0;animateOnMove=!1}const JE=new R("AllowUnsafeHtmlInSlider");var A=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(A||{});class _H{value;highValue;pointerType}class I{static isNullOrUndefined(n){return null==n}static areArraysEqual(n,t){if(n.length!==t.length)return!1;for(let i=0;iMath.abs(n-o.value));let r=0;for(let o=0;o{o.events.next(a)};return n.addEventListener(t,s,{passive:!0,capture:!1}),o.teardownCallback=()=>{n.removeEventListener(t,s,{passive:!0,capture:!1})},o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?$E(()=>{}):UE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}detachEventListener(n){I.isNullOrUndefined(n.eventsSubscription)||(n.eventsSubscription.unsubscribe(),n.eventsSubscription=null),I.isNullOrUndefined(n.events)||(n.events.complete(),n.events=null),I.isNullOrUndefined(n.teardownCallback)||(n.teardownCallback(),n.teardownCallback=null)}attachEventListener(n,t,i,r){const o=new XE;return o.eventName=t,o.events=new sn,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?$E(()=>{}):UE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let si=(()=>{class e{elemRef;renderer;changeDetectionRef;_position=0;get position(){return this._position}_dimension=0;get dimension(){return this._dimension}_alwaysHide=!1;get alwaysHide(){return this._alwaysHide}_vertical=!1;get vertical(){return this._vertical}_scale=1;get scale(){return this._scale}_rotate=0;get rotate(){return this._rotate}opacity=1;visibility="visible";left="";bottom="";height="";width="";transform="";eventListenerHelper;eventListeners=[];constructor(t,i,r){this.elemRef=t,this.renderer=i,this.changeDetectionRef=r,this.eventListenerHelper=new eI(this.renderer)}setAlwaysHide(t){this._alwaysHide=t,this.visibility=t?"hidden":"visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return!this.alwaysHide&&0!==this.opacity}setVertical(t){this._vertical=t,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(t){this._scale=t}setRotate(t){this._rotate=t,this.transform="rotate("+t+"deg)"}getRotate(){return this._rotate}setPosition(t){this._position!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._position=t,this._vertical?this.bottom=Math.round(t)+"px":this.left=Math.round(t)+"px"}calculateDimension(){const t=this.getBoundingClientRect();this._dimension=this.vertical?(t.bottom-t.top)*this.scale:(t.right-t.left)*this.scale}setDimension(t){this._dimension!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._dimension=t,this._vertical?this.height=Math.round(t)+"px":this.width=Math.round(t)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(t,i,r){const o=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}onPassive(t,i,r){const o=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}off(t){let i,r;I.isNullOrUndefined(t)?(i=[],r=this.eventListeners):(i=this.eventListeners.filter(o=>o.eventName!==t),r=this.eventListeners.filter(o=>o.eventName===t));for(const o of r)this.eventListenerHelper.detachEventListener(o);this.eventListeners=i}isRefDestroyed(){return I.isNullOrUndefined(this.changeDetectionRef)||this.changeDetectionRef.destroyed}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki))};static \u0275dir=$({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&hl("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),sp=(()=>{class e extends si{active=!1;role="";tabindex="";ariaOrientation="";ariaLabel="";ariaLabelledBy="";ariaValueNow="";ariaValueText="";ariaValueMin="";ariaValueMax="";focus(){this.elemRef.nativeElement.focus()}focusIfNeeded(){document.activeElement!==this.elemRef.nativeElement&&this.elemRef.nativeElement.focus()}constructor(t,i,r){super(t,i,r)}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki))};static \u0275dir=$({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ft("role",r.role)("tabindex",r.tabindex)("aria-orientation",r.ariaOrientation)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledBy)("aria-valuenow",r.ariaValueNow)("aria-valuetext",r.ariaValueText)("aria-valuemin",r.ariaValueMin)("aria-valuemax",r.ariaValueMax),Ln("ngx-slider-active",r.active))},features:[ce]})}return e})(),eo=(()=>{class e extends si{allowUnsafeHtmlInSlider;_value=null;get value(){return this._value}constructor(t,i,r,o){super(t,i,r),this.allowUnsafeHtmlInSlider=o}setValue(t){let i=!1;!this.alwaysHide&&(I.isNullOrUndefined(this.value)||this.value.length!==t.length||this.value.length>0&&0===this.dimension)&&(i=!0),this._value=t,!1===this.allowUnsafeHtmlInSlider?this.elemRef.nativeElement.innerText=t:this.elemRef.nativeElement.innerHTML=t,i&&this.calculateDimension()}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki),S(JE,8))};static \u0275dir=$({type:e,selectors:[["","ngxSliderLabel",""]],features:[ce]})}return e})(),yH=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=Wt({type:e,selectors:[["ngx-slider-tooltip-wrapper"]],inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-slider-inner-tooltip"]],template:function(i,r){1&i&&V(0,JV,2,6,"ng-container",0)(1,XV,3,3,"ng-container",0),2&i&&(m("ngIf",r.template),f(),m("ngIf",!r.template))},dependencies:[Hn,qD],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class CH{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class tI{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class gc{value;highValue;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue}}class nI extends gc{forceChange;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue&&n.forceChange===t.forceChange}}const wH={provide:on,useExisting:ge(()=>iI),multi:!0};let iI=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new Ce;highValue=null;highValueChange=new Ce;options=new pc;userChangeStart=new Ce;userChange=new Ce;userChangeEnd=new Ce;manualRefreshSubscription;set manualRefresh(t){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=t.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}triggerFocusSubscription;set triggerFocus(t){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=t.subscribe(i=>{this.focusPointer(i)})}get range(){return!I.isNullOrUndefined(this.value)&&!I.isNullOrUndefined(this.highValue)}initHasRun=!1;inputModelChangeSubject=new sn;inputModelChangeSubscription=null;outputModelChangeSubject=new sn;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new pc;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new tI;leftOuterSelectionBarElement;rightOuterSelectionBarElement;fullBarElement;selectionBarElement;minHandleElement;maxHandleElement;floorLabelElement;ceilLabelElement;minHandleLabelElement;maxHandleLabelElement;combinedLabelElement;ticksElement;tooltipTemplate;sliderElementVerticalClass=!1;sliderElementAnimateClass=!1;sliderElementWithLegendClass=!1;sliderElementDisabledAttr=null;sliderElementAriaLabel="ngx-slider";barStyle={};minPointerStyle={};maxPointerStyle={};fullBarTransparentClass=!1;selectionBarDraggableClass=!1;ticksUnderValuesClass=!1;get showTicks(){return this.viewOptions.showTicks}intermediateTicks=!1;ticks=[];eventListenerHelper=null;onMoveEventListener=null;onEndEventListener=null;moving=!1;resizeObserver=null;onTouchedCallback=null;onChangeCallback=null;constructor(t,i,r,o,s){this.renderer=t,this.elementRef=i,this.changeDetectionRef=r,this.zone=o,this.allowUnsafeHtmlInSlider=s,this.eventListenerHelper=new eI(this.renderer)}ngOnInit(){this.viewOptions=new pc,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState(),this.updateAriaLabel()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(),this.subscribeOutputModelChangeSubject(),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.updateAriaLabel(),this.subscribeResizeObserver(),this.initHasRun=!0,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}ngOnChanges(t){!I.isNullOrUndefined(t.options)&&JSON.stringify(t.options.previousValue)!==JSON.stringify(t.options.currentValue)&&this.onChangeOptions(),(!I.isNullOrUndefined(t.value)||!I.isNullOrUndefined(t.highValue))&&this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(t){t instanceof Array?(this.value=t[0],this.highValue=t[1]):this.value=t,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}setDisabledState(t){this.viewOptions.disabled=t,this.updateDisabledState()}setAriaLabel(t){this.viewOptions.ariaLabel=t,this.updateAriaLabel()}onResize(t){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(zE(nI.compare),function $V(e,n){return ui((t,i)=>{let r=0;t.subscribe(Bn(i,o=>e.call(n,o,r++)&&i.next(o)))})}(t=>!t.forceChange&&!t.internalChange)).subscribe(t=>this.applyInputModelChange(t))}subscribeOutputModelChangeSubject(){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(zE(nI.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){oi.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){oi.isResizeObserverAvailable()&&null!==this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){I.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){I.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){I.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){I.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){I.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){I.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}getPointerElement(t){return t===A.Min?this.minHandleElement:t===A.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===A.Min?this.viewLowValue:this.currentTrackingPointer===A.Max?this.viewHighValue:null}modelValueToViewValue(t){return I.isNullOrUndefined(t)?NaN:I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?+t:I.findStepIndex(+t,this.viewOptions.stepsArray)}viewValueToModelValue(t){return I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?t:this.getStepValue(t)}getStepValue(t){const i=this.viewOptions.stepsArray[t];return I.isNullOrUndefined(i)?NaN:i.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!0})}applyInputModelChange(t){const i=this.normaliseModelValues(t),r=!gc.compare(t,i);r&&(this.value=i.value,this.highValue=i.highValue),this.viewLowValue=this.modelValueToViewValue(i.value),this.viewHighValue=this.range?this.modelValueToViewValue(i.highValue):null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:i.value,highValue:i.highValue,forceChange:r,userEventInitiated:!1})}publishOutputModelChange(t){const i=()=>{this.valueChange.emit(t.value),this.range&&this.highValueChange.emit(t.highValue),I.isNullOrUndefined(this.onChangeCallback)||this.onChangeCallback(this.range?[t.value,t.highValue]:t.value),I.isNullOrUndefined(this.onTouchedCallback)||this.onTouchedCallback(this.range?[t.value,t.highValue]:t.value)};t.userEventInitiated?(i(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{i()})}normaliseModelValues(t){const i=new gc;if(i.value=t.value,i.highValue=t.highValue,!I.isNullOrUndefined(this.viewOptions.stepsArray)){if(this.viewOptions.enforceStepsArray){const r=I.findStepIndex(i.value,this.viewOptions.stepsArray);if(i.value=this.viewOptions.stepsArray[r].value,this.range){const o=I.findStepIndex(i.highValue,this.viewOptions.stepsArray);i.highValue=this.viewOptions.stepsArray[o].value}}return i}if(this.viewOptions.enforceStep&&(i.value=this.roundStep(i.value),this.range&&(i.highValue=this.roundStep(i.highValue))),this.viewOptions.enforceRange&&(i.value=ke.clampToRange(i.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(i.highValue=ke.clampToRange(i.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&t.value>t.highValue))if(this.viewOptions.noSwitching)i.value=i.highValue;else{const r=t.value;i.value=t.highValue,i.highValue=r}return i}renormaliseModelValues(){const t={value:this.value,highValue:this.highValue},i=this.normaliseModelValues(t);gc.compare(i,t)||(this.value=i.value,this.highValue=i.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;const t=this.getOptionsInfluencingEventBindings(this.viewOptions);this.applyOptions();const i=this.getOptionsInfluencingEventBindings(this.viewOptions),r=!I.areArraysEqual(t,i);this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.resetSlider(r)}applyOptions(){if(this.viewOptions=new pc,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!I.isNullOrUndefined(this.viewOptions.ticksArray),this.viewOptions.showTicks&&(!I.isNullOrUndefined(this.viewOptions.tickStep)||!I.isNullOrUndefined(this.viewOptions.ticksArray))&&(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),I.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),I.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(t,i)=>t+" - "+i),this.viewOptions.logScale&&0===this.viewOptions.floor)throw Error("Can't use floor=0 with logarithmic scale")}applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(this.viewOptions.bindIndexForStepsArray?this.getStepValue(t):t))}applyFloorCeilOptions(){if(I.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),I.isNullOrUndefined(this.viewOptions.ceil)||I.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(t))}resetSlider(t=!0){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),t&&(this.unbindEvents(),this.manageEventsBindings()),this.updateDisabledState(),this.updateAriaLabel(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(t){t!==A.Min&&t!==A.Max&&(t=A.Min),t===A.Min?this.minHandleElement.focus():this.range&&t===A.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){I.isNullOrUndefined(this.currentFocusPointer)||this.getPointerElement(this.currentFocusPointer).focusIfNeeded()}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);const t=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(t||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate}),this.updateRotate()}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateAriaLabel(){this.sliderElementAriaLabel=this.viewOptions.ariaLabel||"nxg-slider"}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.setVertical(this.viewOptions.vertical)}updateScale(){for(const t of this.getAllSliderElements())t.setScale(this.viewOptions.scale)}updateRotate(){for(const t of this.getAllSliderElements())t.setRotate(this.viewOptions.rotate)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.minHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.minHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabel)?I.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.maxHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?I.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,Dn.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,Dn.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){I.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);const t=this.minHandleElement.dimension;this.handleHalfDimension=t/2,I.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-t,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}isRefDestroyed(){return this.changeDetectionRef.destroyed}updateTicksScale(){if(!this.viewOptions.showTicks&&this.sliderElementWithLegendClass)return void setTimeout(()=>{this.sliderElementWithLegendClass=!1});const t=I.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,i=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&t.reverse();const r=I.isNullOrUndefined(this.viewOptions.tickValueStep)?I.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep:this.viewOptions.tickValueStep;let o=!1;const s=t.map(a=>{let l=this.valueToPosition(a);this.viewOptions.vertical&&(l=this.maxHandlePosition-l);const c=i+"("+Math.round(l)+"px)",u=new CH;u.selected=this.isTickSelected(a),u.style={"-webkit-transform":c,"-moz-transform":c,"-o-transform":c,"-ms-transform":c,transform:c},u.selected&&!I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(u.style["background-color"]=this.getSelectionBarColor()),!u.selected&&!I.isNullOrUndefined(this.viewOptions.getTickColor)&&(u.style["background-color"]=this.getTickColor(a)),I.isNullOrUndefined(this.viewOptions.ticksTooltip)||(u.tooltip=this.viewOptions.ticksTooltip(a),u.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&!I.isNullOrUndefined(r)&&ke.isModuloWithinPrecisionLimit(a,r,this.viewOptions.precisionLimit)&&(u.value=this.getDisplayValue(a,Dn.TickValue),I.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(u.valueTooltip=this.viewOptions.ticksValuesTooltip(a),u.valueTooltipPlacement=this.viewOptions.vertical?"right":"top"));let d=null;if(I.isNullOrUndefined(this.viewOptions.stepsArray))I.isNullOrUndefined(this.viewOptions.getLegend)||(d=this.viewOptions.getLegend(a));else{const h=this.viewOptions.stepsArray[a];I.isNullOrUndefined(this.viewOptions.getStepLegend)?I.isNullOrUndefined(h)||(d=h.legend):d=this.viewOptions.getStepLegend(h)}return I.isNullOrUndefined(d)||(u.legend=d,o=!0),u});if(this.sliderElementWithLegendClass!==o&&setTimeout(()=>{this.sliderElementWithLegendClass=o}),I.isNullOrUndefined(this.ticks)||this.ticks.length!==s.length)this.ticks=s,this.isRefDestroyed()||this.changeDetectionRef.detectChanges();else for(let a=0;a=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&t<=this.viewLowValue)return!0}else{const i=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>i&&t>=i&&t<=this.viewLowValue)return!0;if(this.viewLowValue=this.viewLowValue)return!0}return!!(this.range&&t>=this.viewLowValue&&t<=this.viewHighValue)}updateFloorLabel(){this.floorLabelElement.alwaysHide||(this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,Dn.Floor)),this.floorLabelElement.calculateDimension(),this.floorLabelElement.setPosition(this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0))}updateCeilLabel(){this.ceilLabelElement.alwaysHide||(this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,Dn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===A.Min?this.updateLowHandle(i):t===A.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===A.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,o=i-r/2+this.handleHalfDimension,s=this.fullBarElement.dimension-r;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&t===A.Min||!this.viewOptions.rightToLeft&&t===A.Max?Math.min(o,s):Math.min(Math.max(o,0),s):o}updateLowHandle(t){this.minHandleElement.setPosition(t),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,Dn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(A.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(A.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,Dn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(A.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(A.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let t=!1,i=!1;const r=this.isLabelBelowFloorLabel(this.minHandleLabelElement),o=this.isLabelAboveCeilLabel(this.minHandleLabelElement),s=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),a=this.isLabelBelowFloorLabel(this.combinedLabelElement),l=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(r?(t=!0,this.floorLabelElement.hide()):(t=!1,this.floorLabelElement.show()),o?(i=!0,this.ceilLabelElement.hide()):(i=!1,this.ceilLabelElement.show()),this.range){const c=this.combinedLabelElement.isVisible()?l:s,u=this.combinedLabelElement.isVisible()?a:r;c?this.ceilLabelElement.hide():i||this.ceilLabelElement.show(),u?this.floorLabelElement.hide():t||this.floorLabelElement.show()}}isLabelBelowFloorLabel(t){const i=t.position,o=this.floorLabelElement.position;return this.viewOptions.rightToLeft?i+t.dimension>=o-2:i<=o+this.floorLabelElement.dimension+2}isLabelAboveCeilLabel(t){const i=t.position,o=this.ceilLabelElement.position;return this.viewOptions.rightToLeft?i<=o+this.ceilLabelElement.dimension+2:i+t.dimension>=o-2}updateSelectionBar(){let t=0,i=0;const r=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,o=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)i=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),t=o;else if(I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))r?(i=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),t=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(i=this.minHandleElement.position+this.handleHalfDimension,t=0);else{const s=this.viewOptions.showSelectionBarFromValue,a=this.valueToPosition(s);(this.viewOptions.rightToLeft?this.viewLowValue<=s:this.viewLowValue>s)?(i=this.minHandleElement.position-a,t=a+this.handleHalfDimension):(i=a-this.minHandleElement.position,t=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(i),this.selectionBarElement.setPosition(t),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(t),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.leftOuterSelectionBarElement.setPosition(t+i)):(this.leftOuterSelectionBarElement.setDimension(t),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.rightOuterSelectionBarElement.setPosition(t+i))),I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!I.isNullOrUndefined(this.viewOptions.selectionBarGradient)){const s=I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),a=s-t>0&&!r||s-t<=0&&r;this.barStyle={backgroundImage:"linear-gradient(to "+(this.viewOptions.vertical?a?"bottom":"top":a?"left":"right")+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(s+i+t+(a?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=s-t+(a?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{const s=this.getSelectionBarColor();this.barStyle={backgroundColor:s}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(t){return this.viewOptions.getPointerColor(t===A.Max?this.highValue:this.value,t)}getTickColor(t){return this.viewOptions.getTickColor(t)}updateCombinedLabel(){let t=null;if(t=this.viewOptions.rightToLeft?this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,t){const i=this.getDisplayValue(this.viewLowValue,Dn.Low),r=this.getDisplayValue(this.viewHighValue,Dn.High),o=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(r,i):this.viewOptions.combineLabels(i,r);this.combinedLabelElement.setValue(o);const s=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(s),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(t,i){return!I.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray&&(t=this.getStepValue(t)),this.viewOptions.translate(t,i)}roundStep(t,i){const r=I.isNullOrUndefined(i)?this.viewOptions.step:i;let o=ke.roundToPrecisionLimit((t-this.viewOptions.floor)/r,this.viewOptions.precisionLimit);return o=Math.round(o)*r,ke.roundToPrecisionLimit(this.viewOptions.floor+o,this.viewOptions.precisionLimit)}valueToPosition(t){let i=I.linearValueToPosition;I.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(i=I.logValueToPosition):i=this.viewOptions.customValueToPosition;let r=i(t=ke.clampToRange(t,this.viewOptions.floor,this.viewOptions.ceil),this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(r)&&(r=0),this.viewOptions.rightToLeft&&(r=1-r),r*this.maxHandlePosition}positionToValue(t){let i=t/this.maxHandlePosition;this.viewOptions.rightToLeft&&(i=1-i);let r=I.linearPositionToValue;I.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(r=I.logPositionToValue):r=this.viewOptions.customPositionToValue;const o=r(i,this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(o)?0:o}getEventXY(t,i){if(t instanceof MouseEvent)return this.viewOptions.vertical||0!==this.viewOptions.rotate?t.clientY:t.clientX;let r=0;const o=t.touches;if(!I.isNullOrUndefined(i))for(let s=0;so?A.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?A.Min:A.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(A.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(A.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(A.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(A.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",i=>this.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",i=>this.onBarStart(A.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(A.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(A.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(A.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.onPassive("touchstart",i=>this.onStart(null,i,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(A.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(A.Max)))}getOptionsInfluencingEventBindings(t){return[t.disabled,t.readOnly,t.draggableRange,t.draggableRangeOnly,t.onlyBindHandles,t.keyboardSupport]}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.off()}onBarStart(t,i,r,o,s,a,l){i?this.onDragStart(t,r,o,s):this.onStart(t,r,o,s,a,l)}onStart(t,i,r,o,s,a){i.stopPropagation(),!oi.isTouchEvent(i)&&!WE&&i.preventDefault(),this.moving=!1,this.calculateViewDimensions(),I.isNullOrUndefined(t)&&(t=this.getNearestHandle(i)),this.currentTrackingPointer=t;const l=this.getPointerElement(t);if(l.active=!0,this.viewOptions.keyboardSupport&&l.focus(),r){this.unsubscribeOnMove();const c=u=>this.dragging.active?this.onDragMove(u):this.onMove(u);this.onMoveEventListener=oi.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",c):this.eventListenerHelper.attachEventListener(document,"mousemove",c)}if(o){this.unsubscribeOnEnd();const c=u=>this.onEnd(u);this.onEndEventListener=oi.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),oi.isTouchEvent(i)&&!I.isNullOrUndefined(i.changedTouches)&&I.isNullOrUndefined(this.touchId)&&(this.touchId=i.changedTouches[0].identifier),s&&this.onMove(i,!0),a&&this.onEnd(i)}onMove(t,i){let r=null;if(oi.isTouchEvent(t)){const c=t.changedTouches;for(let u=0;u=this.maxHandlePosition?s=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil:(s=this.positionToValue(o),s=i&&!I.isNullOrUndefined(this.viewOptions.tickStep)?this.roundStep(s,this.viewOptions.tickStep):this.roundStep(s)),this.positionTrackingHandle(s)}onEnd(t){oi.isTouchEvent(t)&&t.changedTouches[0].identifier!==this.touchId||(this.moving=!1,this.viewOptions.animate&&(this.sliderElementAnimateClass=!0),this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext()))}onPointerFocus(t){const i=this.getPointerElement(t);i.on("blur",()=>this.onPointerBlur(i)),i.on("keydown",r=>this.onKeyboardEvent(r)),i.on("keyup",()=>this.onKeyUp()),i.active=!0,this.currentTrackingPointer=t,this.currentFocusPointer=t,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(t){t.off("blur"),t.off("keydown"),t.off("keyup"),t.active=!1,I.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(t){const i=this.viewOptions.ceil-this.viewOptions.floor;let r=t+this.viewOptions.step,o=t-this.viewOptions.step,s=t+i/10,a=t-i/10;this.viewOptions.reversedControls&&(r=t-this.viewOptions.step,o=t+this.viewOptions.step,s=t-i/10,a=t+i/10);const l={UP:r,DOWN:o,LEFT:o,RIGHT:r,PAGEUP:s,PAGEDOWN:a,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(l.LEFT=r,l.RIGHT=o,(this.viewOptions.vertical||0!==this.viewOptions.rotate)&&(l.UP=o,l.DOWN=r)),l}onKeyboardEvent(t){const i=this.getCurrentTrackingValue(),r=I.isNullOrUndefined(t.keyCode)?t.which:t.keyCode,l=this.getKeyActions(i)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[r]];if(I.isNullOrUndefined(l)||I.isNullOrUndefined(this.currentTrackingPointer))return;t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));const c=ke.clampToRange(l,this.viewOptions.floor,this.viewOptions.ceil),u=this.roundStep(c);if(this.viewOptions.draggableRangeOnly){const d=this.viewHighValue-this.viewLowValue;let h,p;this.currentTrackingPointer===A.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===A.Max&&(p=u,h=u-d,h=this.maxHandlePosition-r;let u,d;if(i<=o){if(0===s.position)return;u=this.getMinValue(i,!0,!1),d=this.getMaxValue(i,!0,!1)}else if(c){if(a.position===this.maxHandlePosition)return;d=this.getMaxValue(i,!0,!0),u=this.getMinValue(i,!0,!0)}else u=this.getMinValue(i,!1,!1),d=this.getMaxValue(i,!1,!1);this.positionTrackingBar(u,d)}positionTrackingBar(t,i){!I.isNullOrUndefined(this.viewOptions.minLimit)&&tthis.viewOptions.maxLimit&&(t=ke.roundToPrecisionLimit((i=this.viewOptions.maxLimit)-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=t,this.viewHighValue=i,this.applyViewChange(),this.updateHandles(A.Min,this.valueToPosition(t)),this.updateHandles(A.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===A.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===A.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(A.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=A.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===A.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===A.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===A.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===A.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===A.Min?this.viewHighValue-t:t-this.viewLowValue,r=I.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,o=this.viewOptions.maxRange;return io&&(this.currentTrackingPointer===A.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(A.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===A.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(A.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new _H;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(S(Xt),S(ut),S(ki),S(pe),S(JE,8))};static \u0275cmp=Wt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&jC(o,eH,5),2&i){let s;bt(s=Et())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Lt(tH,5,si),Lt(nH,5,si),Lt(iH,5,si),Lt(rH,5,si),Lt(oH,5,sp),Lt(sH,5,sp),Lt(aH,5,eo),Lt(lH,5,eo),Lt(cH,5,eo),Lt(uH,5,eo),Lt(dH,5,eo),Lt(fH,5,si)),2&i){let o;bt(o=Et())&&(r.leftOuterSelectionBarElement=o.first),bt(o=Et())&&(r.rightOuterSelectionBarElement=o.first),bt(o=Et())&&(r.fullBarElement=o.first),bt(o=Et())&&(r.selectionBarElement=o.first),bt(o=Et())&&(r.minHandleElement=o.first),bt(o=Et())&&(r.maxHandleElement=o.first),bt(o=Et())&&(r.floorLabelElement=o.first),bt(o=Et())&&(r.ceilLabelElement=o.first),bt(o=Et())&&(r.minHandleLabelElement=o.first),bt(o=Et())&&(r.maxHandleLabelElement=o.first),bt(o=Et())&&(r.combinedLabelElement=o.first),bt(o=Et())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&q("resize",function(s){return r.onResize(s)},0,Ha),2&i&&(ft("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),Ln("ngx-slider",r.sliderElementNgxSliderClass)("vertical",r.sliderElementVerticalClass)("animate",r.sliderElementAnimateClass)("with-legend",r.sliderElementWithLegendClass))},inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},features:[Ie([wH]),un],decls:29,vars:13,consts:[["leftOuterSelectionBar",""],["rightOuterSelectionBar",""],["fullBar",""],["selectionBar",""],["minHandle",""],["maxHandle",""],["floorLabel",""],["ceilLabel",""],["minHandleLabel",""],["maxHandleLabel",""],["combinedLabel",""],["ticksElement",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-left-out-selection"],[1,"ngx-slider-span","ngx-slider-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-right-out-selection"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-full-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-selection-bar"],[1,"ngx-slider-span","ngx-slider-bar","ngx-slider-selection",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-min",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-max",3,"ngStyle"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-floor"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-ceil"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-value"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-high"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-combined"],["ngxSliderElement","",1,"ngx-slider-ticks",3,"hidden"],["class","ngx-slider-tick",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],[1,"ngx-slider-tick",3,"ngClass","ngStyle"],[3,"template","tooltip","placement"],["class","ngx-slider-span ngx-slider-tick-value",3,"template","tooltip","placement","content",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerText",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerHTML",4,"ngIf"],[1,"ngx-slider-span","ngx-slider-tick-value",3,"template","tooltip","placement","content"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerText"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerHTML"]],template:function(i,r){1&i&&(y(0,"span",12,0),O(2,"span",13),_(),y(3,"span",14,1),O(5,"span",13),_(),y(6,"span",15,2),O(8,"span",13),_(),y(9,"span",16,3),O(11,"span",17),_(),O(12,"span",18,4)(14,"span",19,5)(16,"span",20,6)(18,"span",21,7)(20,"span",22,8)(22,"span",23,9)(24,"span",24,10),y(26,"span",25,11),V(28,vH,5,10,"span",26),_()),2&i&&(f(6),Ln("ngx-slider-transparent",r.fullBarTransparentClass),f(3),Ln("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),m("ngStyle",r.barStyle),f(),m("ngStyle",r.minPointerStyle),f(2),hl("display",r.range?"inherit":"none"),m("ngStyle",r.maxPointerStyle),f(12),Ln("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),m("hidden",!r.showTicks),f(2),m("ngForOf",r.ticks))},dependencies:[Zr,Vi,Hn,GD,si,sp,eo,yH],styles:['.ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;user-select:none;touch-action:pan-y} .ngx-slider.with-legend{margin-bottom:40px} .ngx-slider[disabled]{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3} .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2} .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2} .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block} .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1} .ngx-slider .ngx-slider-draggable{cursor:move} .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:transparent} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688} .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px} .ngx-slider .ngx-slider-pointer:after{content:"";width:8px;height:8px;position:absolute;top:12px;left:12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff} .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff} .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4} .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff} .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px} .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d} .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none} .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px} .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px} .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0} .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;transform:translate(-50%)} .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;transform:translate(-50%);max-width:50px;white-space:normal} .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x} .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px} .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%} .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0} .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0} .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1} .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px} .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;transform:translateY(-28%)} .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;transform:translateY(-28%);max-width:none;white-space:nowrap} .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px} .ngx-slider *{transition:none} .ngx-slider.animate .ngx-slider-bar-wrapper{transition:all linear .3s} .ngx-slider.animate .ngx-slider-selection{transition:background-color linear .3s} .ngx-slider.animate .ngx-slider-pointer{transition:all linear .3s} .ngx-slider.animate .ngx-slider-pointer:after{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-tick{transition:background-color linear .3s}']})}return e})(),DH=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=zn({type:e});static \u0275inj=En({imports:[QD]})}return e})();class rI{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class bH{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.lineCoverageMin=0,this.lineCoverageMax=100,this.branchCoverageMin=0,this.branchCoverageMax=100,this.methodCoverageMin=0,this.methodCoverageMax=100,this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class EH{constructor(n){this.et="",this.et=n.et,this.cl=n.cl,this.ucl=n.ucl,this.cal=n.cal,this.tl=n.tl,this.lcq=n.lcq,this.cb=n.cb,this.tb=n.tb,this.bcq=n.bcq,this.cm=n.cm,this.tm=n.tm,this.mcq=n.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class $t{static roundNumber(n){return Math.floor(n*Math.pow(10,$t.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,$t.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new EH(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:$t.roundNumber(100*this.coveredLines/this.coverableLines)}visible(n){if(""!==n.filter&&-1===this.name.toLowerCase().indexOf(n.filter.toLowerCase()))return!1;let t=this.coverage,i=t;if(t=Number.isNaN(t)?0:t,i=Number.isNaN(i)?100:i,n.lineCoverageMin>t||n.lineCoverageMaxr||n.branchCoverageMaxs||n.methodCoverageMax=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(n){if(this.currentHistoricCoverage=null,""!==n)for(let t=0;t-1&&null===t}visible(n){if(""!==n.filter&&this.name.toLowerCase().indexOf(n.filter.toLowerCase())>-1)return!0;for(let t=0;t{class e{get nativeWindow(){return function IH(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),MH=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(i,r){1&i&&(E(0,"\xa0"),y(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),kn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function SH(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),G(r)}),q("change",function(){z(t);const r=v();return G(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Xe("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function TH(e,n){1&e&&O(0,"pro-button",9),2&e&&m("translations",v().translations)}function xH(e,n){1&e&&O(0,"pro-button",9),2&e&&m("translations",v(2).translations)}function OH(e,n){1&e&&(y(0,"a",13),O(1,"i",14),_()),2&e&&m("href",v().$implicit.explanationUrl,Zn)}function NH(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",11),q("change",function(){const r=z(t).$implicit;return G(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),V(5,OH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),m("ngIf",t.explanationUrl)}}function AH(e,n){if(1&e&&(ee(0),O(1,"br")(2,"br"),y(3,"b"),E(4),_(),V(5,xH,1,1,"pro-button",7)(6,NH,6,4,"div",10),te()),2&e){const t=v();f(4),N(t.translations.metrics),f(),m("ngIf",!t.methodCoverageAvailable),f(),m("ngForOf",t.metrics)}}let RH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new Ce,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Ce,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Ce,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Ce,this.visibleMetrics=[],this.visibleMetricsChange=new Ce}isMetricSelected(t){return void 0!==this.visibleMetrics.find(i=>i.name===t.name)}toggleMetric(t){let i=this.visibleMetrics.find(r=>r.name===t.name);i?this.visibleMetrics.splice(this.visibleMetrics.indexOf(i),1):this.visibleMetrics.push(t),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(t){t.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModelChange","change","ngModel"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModelChange","change","ngModel","disabled"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"change","checked","disabled"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(i,r){1&i&&(y(0,"div",0),q("click",function(){return r.close()}),y(1,"div",1),q("click",function(s){return r.cancelEvent(s)}),y(2,"div",2),q("click",function(){return r.close()}),E(3,"X"),_(),y(4,"b"),E(5),_(),y(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),q("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),V(10,SH,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),q("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),V(15,TH,1,1,"pro-button",7),_(),V(16,AH,7,3,"ng-container",8),_()()),2&i&&(f(5),N(r.translations.coverageTypes),f(3),Xe("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),m("ngIf",r.branchCoverageAvailable),f(3),Xe("ngModel",r.showMethodCoverage),m("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),m("ngIf",!r.methodCoverageAvailable),f(),m("ngIf",r.metrics.length>0))},dependencies:[Vi,Hn,Lh,ic,Os,MH],encapsulation:2})}return e})();function LH(e,n){1&e&&O(0,"td",3)}function kH(e,n){1&e&&O(0,"td"),2&e&&Cn("green ",v().greenClass,"")}function PH(e,n){1&e&&O(0,"td"),2&e&&Cn("red ",v().redClass,"")}let sI=(()=>{class e{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(t){this._percentage=t,this.grayVisible=isNaN(t),this.greenVisible=!isNaN(t)&&Math.round(t)>0,this.redVisible=!isNaN(t)&&100-Math.round(t)>0,this.greenClass="covered"+Math.round(t),this.redClass="covered"+(100-Math.round(t))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(i,r){1&i&&(y(0,"table",0),V(1,LH,1,0,"td",1)(2,kH,1,3,"td",2)(3,PH,1,3,"td",2),_()),2&i&&(f(),m("ngIf",r.grayVisible),f(),m("ngIf",r.greenVisible),f(),m("ngIf",r.redVisible))},dependencies:[Hn],encapsulation:2,changeDetection:0})}return e})();const FH=["codeelement-row",""],VH=(e,n)=>({"icon-plus":e,"icon-minus":n});function HH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredLines)}}function BH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.uncoveredLines)}}function jH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coverableLines)}}function UH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalLines)}}function $H(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.coverageRatioText),f(),N(t.element.coveragePercentage)}}function zH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.coverage)}}function GH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredBranches)}}function qH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalBranches)}}function WH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.branchCoverageRatioText),f(),N(t.element.branchCoveragePercentage)}}function ZH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.branchCoverage)}}function QH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredMethods)}}function YH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalMethods)}}function KH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.methodCoverageRatioText),f(),N(t.element.methodCoveragePercentage)}}function JH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.methodCoverage)}}function XH(e,n){1&e&&O(0,"th",5)}let eB=(()=>{class e{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:FH,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(i,r){1&i&&(y(0,"th")(1,"a",0),q("click",function(s){return r.element.toggleCollapse(s)}),O(2,"i",1),E(3),_()(),V(4,HH,2,1,"th",2)(5,BH,2,1,"th",2)(6,jH,2,1,"th",2)(7,UH,2,1,"th",2)(8,$H,2,2,"th",3)(9,zH,2,1,"th",2)(10,GH,2,1,"th",2)(11,qH,2,1,"th",2)(12,WH,2,2,"th",3)(13,ZH,2,1,"th",2)(14,QH,2,1,"th",2)(15,YH,2,1,"th",2)(16,KH,2,2,"th",3)(17,JH,2,1,"th",2)(18,XH,1,0,"th",4)),2&i&&(f(2),m("ngClass",Ff(17,VH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngForOf",r.visibleMetrics))},dependencies:[Zr,Vi,Hn,sI],encapsulation:2,changeDetection:0})}return e})();const tB=["coverage-history-chart",""];let nB=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let i="";for(let r=0;r({historiccoverageoffset:e});function rB(e,n){if(1&e&&(y(0,"a",5),E(1),_()),2&e){const t=v();m("href",t.clazz.reportPath,Zn),f(),N(t.clazz.name)}}function oB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v();f(),N(t.clazz.name)}}function sB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function aB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function lB(e,n){if(1&e&&(y(0,"td",6),V(1,sB,5,6,"ng-container",1)(2,aB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function cB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function uB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function dB(e,n){if(1&e&&(y(0,"td",6),V(1,cB,5,6,"ng-container",1)(2,uB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function fB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.coverableLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.cal)}}function hB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function pB(e,n){if(1&e&&(y(0,"td",6),V(1,fB,5,3,"ng-container",1)(2,hB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function gB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tl)}}function mB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function vB(e,n){if(1&e&&(y(0,"td",6),V(1,gB,5,3,"ng-container",1)(2,mB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function _B(e,n){if(1&e&&O(0,"div",11),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.coverage),m("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",cs(3,cp,null!==t.clazz.currentHistoricCoverage))}}function yB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function CB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function wB(e,n){if(1&e&&(y(0,"td",9),V(1,_B,1,5,"div",10)(2,yB,5,6,"ng-container",1)(3,CB,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.coverageRatioText),f(),m("ngIf",t.clazz.lineCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function DB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.coverage)}}function bB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function EB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function IB(e,n){if(1&e&&(y(0,"td",6),V(1,bB,5,6,"ng-container",1)(2,EB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function MB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalBranches),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tb)}}function SB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function TB(e,n){if(1&e&&(y(0,"td",6),V(1,MB,5,3,"ng-container",1)(2,SB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function xB(e,n){if(1&e&&O(0,"div",14),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.branchCoverage),m("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",cs(3,cp,null!==t.clazz.currentHistoricCoverage))}}function OB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function NB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function AB(e,n){if(1&e&&(y(0,"td",9),V(1,xB,1,5,"div",13)(2,OB,5,6,"ng-container",1)(3,NB,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.branchCoverageRatioText),f(),m("ngIf",t.clazz.branchCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function RB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.branchCoverage)}}function LB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function kB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function PB(e,n){if(1&e&&(y(0,"td",6),V(1,LB,5,6,"ng-container",1)(2,kB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function FB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalMethods),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tm)}}function VB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function HB(e,n){if(1&e&&(y(0,"td",6),V(1,FB,5,3,"ng-container",1)(2,VB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function BB(e,n){if(1&e&&O(0,"div",16),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.methodCoverage),m("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",cs(3,cp,null!==t.clazz.currentHistoricCoverage))}}function jB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function UB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function $B(e,n){if(1&e&&(y(0,"td",9),V(1,BB,1,5,"div",15)(2,jB,5,6,"ng-container",1)(3,UB,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.methodCoverageRatioText),f(),m("ngIf",t.clazz.methodCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function zB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.methodCoverage)}}function GB(e,n){if(1&e&&(y(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),N(i.clazz.metrics[t.abbreviation])}}let qB=(()=>{class e{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(t,i){return t>i?"lightgreen":t({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t});function WB(e,n){if(1&e){const t=Ee();y(0,"popup",30),ot("visibleChange",function(r){z(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),G(r)})("showLineCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),G(r)})("showBranchCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),G(r)})("showMethodCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),G(r)})("visibleMetricsChange",function(r){z(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),G(r)}),_()}if(2&e){const t=v(2);Xe("visible",t.popupVisible),m("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Xe("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function ZB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.noGrouping)}}function QB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.byAssembly)}}function YB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.byNamespace+" "+t.settings.grouping)}}function KB(e,n){if(1&e&&(y(0,"option",34),E(1),_()),2&e){const t=n.$implicit;m("value",t),f(),N(t)}}function JB(e,n){1&e&&O(0,"br")}function XB(e,n){if(1&e&&(y(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function ej(e,n){if(1&e&&(y(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function tj(e,n){if(1&e&&(y(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function nj(e,n){if(1&e&&(y(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function ij(e,n){if(1&e){const t=Ee();y(0,"div")(1,"select",31),ot("ngModelChange",function(r){z(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),G(r)}),y(2,"option",32),E(3),_(),y(4,"option",35),E(5),_(),y(6,"option",36),E(7),_(),y(8,"option",37),E(9),_(),V(10,XB,2,1,"option",38)(11,ej,2,1,"option",39)(12,tj,2,1,"option",40)(13,nj,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Xe("ngModel",t.settings.historyComparisionType),f(2),N(t.translations.filter),f(2),N(t.translations.allChanges),f(2),N(t.translations.lineCoverageIncreaseOnly),f(2),N(t.translations.lineCoverageDecreaseOnly),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable)}}function rj(e,n){if(1&e){const t=Ee();ee(0),y(1,"div"),E(2),y(3,"select",31),ot("ngModelChange",function(r){z(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),G(r)}),q("ngModelChange",function(){return z(t),G(v(2).updateCurrentHistoricCoverage())}),y(4,"option",32),E(5),_(),V(6,KB,2,2,"option",33),_()(),V(7,JB,1,0,"br",0)(8,ij,14,9,"div",0),te()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Xe("ngModel",t.settings.historyComparisionDate),f(2),N(t.translations.date),f(),m("ngForOf",t.historicCoverageExecutionTimes),f(),m("ngIf",""!==t.settings.historyComparisionDate),f(),m("ngIf",""!==t.settings.historyComparisionDate)}}function oj(e,n){1&e&&O(0,"col",46)}function sj(e,n){1&e&&O(0,"col",47)}function aj(e,n){1&e&&O(0,"col",48)}function lj(e,n){1&e&&O(0,"col",49)}function cj(e,n){1&e&&O(0,"col",50)}function uj(e,n){1&e&&O(0,"col",51)}function dj(e,n){1&e&&O(0,"col",46)}function fj(e,n){1&e&&O(0,"col",49)}function hj(e,n){1&e&&O(0,"col",50)}function pj(e,n){1&e&&O(0,"col",51)}function gj(e,n){1&e&&O(0,"col",46)}function mj(e,n){1&e&&O(0,"col",49)}function vj(e,n){1&e&&O(0,"col",50)}function _j(e,n){1&e&&O(0,"col",51)}function yj(e,n){1&e&&O(0,"col",51)}function Cj(e,n){if(1&e&&(y(0,"th",52),E(1),_()),2&e){const t=v(2);f(),N(t.translations.coverage)}}function wj(e,n){if(1&e&&(y(0,"th",53),E(1),_()),2&e){const t=v(2);f(),N(t.translations.branchCoverage)}}function Dj(e,n){if(1&e&&(y(0,"th",53),E(1),_()),2&e){const t=v(2);f(),N(t.translations.methodCoverage)}}function bj(e,n){if(1&e&&(y(0,"th",54),E(1),_()),2&e){const t=v(2);ft("colspan",t.settings.visibleMetrics.length),f(),N(t.translations.metrics)}}function Ej(e,n){if(1&e){const t=Ee();y(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),m("options",t.sliderOptions)}}function Ij(e,n){if(1&e){const t=Ee();y(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),m("options",t.sliderOptions)}}function Mj(e,n){if(1&e){const t=Ee();y(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),m("options",t.sliderOptions)}}function Sj(e,n){1&e&&O(0,"td",54),2&e&&ft("colspan",v(2).settings.visibleMetrics.length)}function Tj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function xj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("uncovered",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),N(t.translations.uncovered)}}function Oj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("coverable",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),N(t.translations.coverable)}}function Nj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Aj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("coverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Rj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered_branches",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function Lj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total_branches",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),N(t.translations.total)}}function kj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("branchcoverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Pj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered_methods",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function Fj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total_methods",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Vj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("methodcoverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Hj(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",3),q("click",function(r){const o=z(t).$implicit;return G(v(2).updateSorting(o.abbreviation,r))}),O(2,"i",26),E(3),_(),y(4,"a",58),O(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("ngClass",We(3,Ft,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),N(t.name),f(),kn("href",t.explanationUrl,Zn)}}function Bj(e,n){if(1&e&&O(0,"tr",61),2&e){const t=v().$implicit,i=v(2);m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)}}function jj(e,n){if(1&e&&O(0,"tr",63),2&e){const t=v().$implicit,i=v(3);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function Uj(e,n){if(1&e&&(ee(0),V(1,jj,1,7,"tr",62),te()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function $j(e,n){if(1&e&&O(0,"tr",66),2&e){const t=v().$implicit,i=v(5);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function zj(e,n){if(1&e&&(ee(0),V(1,$j,1,7,"tr",65),te()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function Gj(e,n){if(1&e&&(ee(0),O(1,"tr",64),V(2,zj,2,1,"ng-container",29),te()),2&e){const t=v().$implicit,i=v(3);f(),m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics),f(),m("ngForOf",t.classes)}}function qj(e,n){if(1&e&&(ee(0),V(1,Gj,3,7,"ng-container",0),te()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function Wj(e,n){if(1&e&&(ee(0),V(1,Bj,1,6,"tr",60)(2,Uj,2,1,"ng-container",29)(3,qj,2,1,"ng-container",29),te()),2&e){const t=n.$implicit,i=v(2);f(),m("ngIf",t.visible(i.settings)),f(),m("ngForOf",t.classes),f(),m("ngForOf",t.subElements)}}function Zj(e,n){if(1&e){const t=Ee();y(0,"div"),V(1,WB,1,9,"popup",1),y(2,"div",2)(3,"div")(4,"a",3),q("click",function(r){return z(t),G(v().collapseAll(r))}),E(5),_(),E(6," | "),y(7,"a",3),q("click",function(r){return z(t),G(v().expandAll(r))}),E(8),_()(),y(9,"div",4)(10,"span",5),V(11,ZB,2,1,"ng-container",0)(12,QB,2,1,"ng-container",0)(13,YB,2,1,"ng-container",0),_(),O(14,"br"),E(15),y(16,"input",6),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateCoverageInfo())}),_()(),y(17,"div",4),V(18,rj,9,6,"ng-container",0),_(),y(19,"div",7)(20,"button",8),q("click",function(){return z(t),G(v().popupVisible=!0)}),O(21,"i",9),E(22),_()()(),y(23,"div",10)(24,"table",11)(25,"colgroup"),O(26,"col",12),V(27,oj,1,0,"col",13)(28,sj,1,0,"col",14)(29,aj,1,0,"col",15)(30,lj,1,0,"col",16)(31,cj,1,0,"col",17)(32,uj,1,0,"col",18)(33,dj,1,0,"col",13)(34,fj,1,0,"col",16)(35,hj,1,0,"col",17)(36,pj,1,0,"col",18)(37,gj,1,0,"col",13)(38,mj,1,0,"col",16)(39,vj,1,0,"col",17)(40,_j,1,0,"col",18)(41,yj,1,0,"col",19),_(),y(42,"thead")(43,"tr",20),O(44,"th"),V(45,Cj,2,1,"th",21)(46,wj,2,1,"th",22)(47,Dj,2,1,"th",22)(48,bj,2,2,"th",23),_(),y(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),G(r)}),_()(),V(52,Ej,2,3,"td",21)(53,Ij,2,3,"td",22)(54,Mj,2,3,"td",22)(55,Sj,1,1,"td",23),_(),y(56,"tr")(57,"th")(58,"a",3),q("click",function(r){return z(t),G(v().updateSorting("name",r))}),O(59,"i",26),E(60),_()(),V(61,Tj,4,6,"th",27)(62,xj,4,6,"th",27)(63,Oj,4,6,"th",27)(64,Nj,4,6,"th",27)(65,Aj,4,6,"th",28)(66,Rj,4,6,"th",27)(67,Lj,4,6,"th",27)(68,kj,4,6,"th",28)(69,Pj,4,6,"th",27)(70,Fj,4,6,"th",27)(71,Vj,4,6,"th",28)(72,Hj,6,7,"th",29),_()(),y(73,"tbody"),V(74,Wj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),m("ngIf",t.popupVisible),f(4),N(t.translations.collapseAll),f(3),N(t.translations.expandAll),f(3),m("ngIf",-1===t.settings.grouping),f(),m("ngIf",0===t.settings.grouping),f(),m("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),m("max",t.settings.groupingMaximum),Xe("ngModel",t.settings.grouping),f(2),m("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),N(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(4),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(3),kn("placeholder",t.translations.filter),Xe("ngModel",t.settings.filter),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(4),m("ngClass",We(51,Ft,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),N(t.translations.name),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(2),m("ngForOf",t.codeElements)}}let Qj=(()=>{class e{constructor(t){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.codeElements=[],this.translations={},this.popupVisible=!1,this.settings=new bH,this.sliderOptions={floor:0,ceil:100,step:1,ticksArray:[0,10,20,30,40,50,60,70,80,90,100],showTicks:!0},this.window=t.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.metrics=this.window.metrics,this.translations=this.window.translations,$t.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let t=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),t=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let r=0,o=this.window.assemblies;for(let s=0;s-1&&(this.queryString=window.location.href.substring(i)),this.updateCoverageInfo(),t&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let t=new rI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateCoverageInfo(){let t=(new Date).getTime(),i=this.window.assemblies,r=[],o=0;if(0===this.settings.grouping)for(let l=0;l{for(let r=0;r{for(let o=0;ot&&(r[o].collapsed=this.settings.collapseStates[t]),t++,i(r[o].subElements)};i(this.codeElements)}static#e=this.\u0275fac=function(i){return new(i||e)(S(lp))};static#t=this.\u0275cmp=Wt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&q("beforeunload",function(){return r.onBeforeUnload()},0,Ha)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"col-center"],[1,"slider-label"],["type","range","step","1","min","-1",3,"ngModelChange","max","ngModel"],[1,"col-right","right"],["type","button",3,"click"],[1,"icon-cog"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"filterbar"],["type","text",3,"ngModelChange","ngModel","placeholder"],[3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange","visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics"],[3,"ngModelChange","ngModel"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],[1,"center"],[3,"valueChange","highValueChange","value","highValue","options"],[1,"right"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(i,r){1&i&&V(0,Zj,75,55,"div",0),2&i&&m("ngIf",r.codeElements.length>0)},dependencies:[Zr,Vi,Hn,tp,ip,Is,Kh,Ns,ic,Os,iI,RH,eB,qB],encapsulation:2})}return e})();class Yj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const mc=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t}),Kj=(e,n)=>({lightred:e,lightgreen:n});function Jj(e,n){if(1&e&&(y(0,"option",16),E(1),_()),2&e){const t=n.$implicit;m("value",t),f(),N(t)}}function Xj(e,n){if(1&e&&(y(0,"span"),E(1),_()),2&e){const t=v(2);f(),N(t.translations.top)}}function e3(e,n){1&e&&(y(0,"option",23),E(1,"20"),_())}function t3(e,n){1&e&&(y(0,"option",24),E(1,"50"),_())}function n3(e,n){1&e&&(y(0,"option",25),E(1,"100"),_())}function i3(e,n){if(1&e&&(y(0,"option",16),E(1),_()),2&e){const t=v(3);m("value",t.totalNumberOfRiskHotspots),f(),N(t.translations.all)}}function r3(e,n){if(1&e){const t=Ee();y(0,"select",17),ot("ngModelChange",function(r){z(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),G(r)}),y(1,"option",18),E(2,"10"),_(),V(3,e3,2,0,"option",19)(4,t3,2,0,"option",20)(5,n3,2,0,"option",21)(6,i3,2,2,"option",22),_()}if(2&e){const t=v(2);Xe("ngModel",t.settings.numberOfRiskHotspots),f(3),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>20),f(),m("ngIf",t.totalNumberOfRiskHotspots>50),f(),m("ngIf",t.totalNumberOfRiskHotspots>100)}}function o3(e,n){1&e&&O(0,"col",26)}function s3(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",13),q("click",function(r){const o=z(t).index;return G(v(2).updateSorting(""+o,r))}),O(2,"i",14),E(3),_(),y(4,"a",27),O(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),m("ngClass",We(3,mc,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),N(t.name),f(),kn("href",t.explanationUrl,Zn)}}function a3(e,n){if(1&e&&(y(0,"td",32),E(1),_()),2&e){const t=n.$implicit;m("ngClass",Ff(2,Kj,t.exceeded,!t.exceeded)),f(),N(t.value)}}function l3(e,n){if(1&e&&(y(0,"tr")(1,"td"),E(2),_(),y(3,"td")(4,"a",29),E(5),_()(),y(6,"td",30)(7,"a",29),E(8),_()(),V(9,a3,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),N(t.assembly),f(2),m("href",t.reportPath+i.queryString,Zn),f(),N(t.class),f(),m("title",t.methodName),f(),m("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,Zn),f(),Y(" ",t.methodShortName," "),f(),m("ngForOf",t.metrics)}}function c3(e,n){if(1&e){const t=Ee();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateRiskHotpots())}),y(4,"option",3),E(5),_(),V(6,Jj,2,2,"option",4),_()(),y(7,"div",5),V(8,Xj,2,1,"span",0)(9,r3,7,5,"select",6),_(),O(10,"div",5),y(11,"div",7)(12,"span"),E(13),_(),y(14,"input",8),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateRiskHotpots())}),_()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),O(18,"col",11)(19,"col",11)(20,"col",11),V(21,o3,1,0,"col",12),_(),y(22,"thead")(23,"tr")(24,"th")(25,"a",13),q("click",function(r){return z(t),G(v().updateSorting("assembly",r))}),O(26,"i",14),E(27),_()(),y(28,"th")(29,"a",13),q("click",function(r){return z(t),G(v().updateSorting("class",r))}),O(30,"i",14),E(31),_()(),y(32,"th")(33,"a",13),q("click",function(r){return z(t),G(v().updateSorting("method",r))}),O(34,"i",14),E(35),_()(),V(36,s3,6,7,"th",15),_()(),y(37,"tbody"),V(38,l3,10,7,"tr",15),function mw(e,n){const t=J();let i;const r=e+L;t.firstCreatePass?(i=function sR(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=di(i.type)),a=vt(S);try{const l=_a(!1),c=o();return _a(l),function Af(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,D(),r,c),c}finally{vt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Xe("ngModel",t.settings.assembly),f(2),N(t.translations.assembly),f(),m("ngForOf",t.assemblies),f(2),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Xe("ngModel",t.settings.filter),f(7),m("ngForOf",t.riskHotspotMetrics),f(5),m("ngClass",We(20,mc,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),N(t.translations.assembly),f(3),m("ngClass",We(24,mc,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),N(t.translations.class),f(3),m("ngClass",We(28,mc,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),N(t.translations.method),f(),m("ngForOf",t.riskHotspotMetrics),f(2),m("ngForOf",vw(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let u3=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Yj,this.window=t.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const t=window.location.href.indexOf("?");t>-1&&(this.queryString=window.location.href.substring(t)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let t=new rI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateRiskHotpots(){const t=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=t.length,0===this.assemblies.length){let s=[];for(let a=0;a0)},dependencies:[Zr,Vi,Hn,tp,ip,Is,Ns,ic,Os,ZD],encapsulation:2})}return e})(),d3=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e,bootstrap:[u3,Qj]});static#n=this.\u0275inj=En({providers:[lp],imports:[VF,RV,DH]})}return e})();PF().bootstrapModule(d3).catch(e=>console.error(e))}},no=>{no(no.s=197)}]); \ No newline at end of file