From 9913e986afb40dd16b1ec2b233e1b624396cb460 Mon Sep 17 00:00:00 2001 From: Daniel Palme Date: Sat, 22 Jun 2024 13:01:00 +0200 Subject: [PATCH] Update Angular --- docs/404.html | 2 +- docs/contact.html | 2 +- docs/features.html | 2 +- docs/getstarted.html | 2 +- docs/index.html | 2 +- docs/main-HUKXCP2Y.js | 92 +++ docs/main-PKRGEOQU.js | 92 --- docs/pro.html | 2 +- docs/usage.html | 2 +- src/AngularComponents/package-lock.json | 638 +++++++++++------- src/AngularComponents/package.json | 24 +- .../Builders/Rendering/resources/main.js | 2 +- 12 files changed, 516 insertions(+), 346 deletions(-) create mode 100644 docs/main-HUKXCP2Y.js delete mode 100644 docs/main-PKRGEOQU.js diff --git a/docs/404.html b/docs/404.html index c100be91..e50359b0 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 262ed8df..1bcdf8b9 100644 --- a/docs/contact.html +++ b/docs/contact.html @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/docs/features.html b/docs/features.html index 3a8e738a..abb7ce0e 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 57cdba29..f6c02913 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 a3829f32..647c5ea2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/docs/main-HUKXCP2Y.js b/docs/main-HUKXCP2Y.js new file mode 100644 index 00000000..135d1a1b --- /dev/null +++ b/docs/main-HUKXCP2Y.js @@ -0,0 +1,92 @@ +var yv=Object.defineProperty,Dv=Object.defineProperties;var Cv=Object.getOwnPropertyDescriptors;var _d=Object.getOwnPropertySymbols;var wv=Object.prototype.hasOwnProperty,bv=Object.prototype.propertyIsEnumerable;var Id=(t,e,r)=>e in t?yv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,b=(t,e)=>{for(var r in e||={})wv.call(e,r)&&Id(t,r,e[r]);if(_d)for(var r of _d(e))bv.call(e,r)&&Id(t,r,e[r]);return t},Q=(t,e)=>Dv(t,Cv(e));var Kr=(t,e,r)=>new Promise((n,i)=>{var o=l=>{try{a(r.next(l))}catch(d){i(d)}},s=l=>{try{a(r.throw(l))}catch(d){i(d)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((r=r.apply(t,e)).next())});var Ra=null;var Na=1,Oa=Symbol("SIGNAL");function Y(t){let e=Ra;return Ra=t,e}function xd(){return Ra}var ka={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 Ev(t){if(!(ja(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Na)){if(!t.producerMustRecompute(t)&&!Fa(t)){t.dirty=!1,t.lastCleanEpoch=Na;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Na}}function Pa(t){return t&&(t.nextProducerIndex=0),Y(t)}function Sd(t,e){if(Y(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(ja(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Fa(t){Ua(t);for(let e=0;e0}function Ua(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function _v(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Iv(t){return t.producerNode!==void 0}function xv(){throw new Error}var Sv=xv;function Md(t){Sv=t}function j(t){return typeof t=="function"}function Zn(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Xi=Zn(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: +${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Jr(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ve=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(j(n))try{n()}catch(o){e=o instanceof Xi?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Td(o)}catch(s){e=e??[],s instanceof Xi?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Xi(e)}}add(e){var r;if(e&&e!==this)if(this.closed)Td(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Jr(r,e)}remove(e){let{_finalizers:r}=this;r&&Jr(r,e),e instanceof t&&e._removeParent(this)}};ve.EMPTY=(()=>{let t=new ve;return t.closed=!0,t})();var Ba=ve.EMPTY;function eo(t){return t instanceof ve||t&&"closed"in t&&j(t.remove)&&j(t.add)&&j(t.unsubscribe)}function Td(t){j(t)?t():t.unsubscribe()}var lt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Yn={setTimeout(t,e,...r){let{delegate:n}=Yn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Yn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function to(t){Yn.setTimeout(()=>{let{onUnhandledError:e}=lt;if(e)e(t);else throw t})}function Xr(){}var Ad=$a("C",void 0,void 0);function Nd(t){return $a("E",void 0,t)}function Rd(t){return $a("N",t,void 0)}function $a(t,e,r){return{kind:t,value:e,error:r}}var wn=null;function Qn(t){if(lt.useDeprecatedSynchronousErrorHandling){let e=!wn;if(e&&(wn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=wn;if(wn=null,r)throw n}}else t()}function Od(t){lt.useDeprecatedSynchronousErrorHandling&&wn&&(wn.errorThrown=!0,wn.error=t)}var bn=class extends ve{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,eo(e)&&e.add(this)):this.destination=Av}static create(e,r,n){return new Kn(e,r,n)}next(e){this.isStopped?Ga(Rd(e),this):this._next(e)}error(e){this.isStopped?Ga(Nd(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ga(Ad,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Mv=Function.prototype.bind;function Ha(t,e){return Mv.call(t,e)}var za=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){no(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){no(n)}else no(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){no(r)}}},Kn=class extends bn{constructor(e,r,n){super();let i;if(j(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&<.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Ha(e.next,o),error:e.error&&Ha(e.error,o),complete:e.complete&&Ha(e.complete,o)}):i=e}this.destination=new za(i)}};function no(t){lt.useDeprecatedSynchronousErrorHandling?Od(t):to(t)}function Tv(t){throw t}function Ga(t,e){let{onStoppedNotification:r}=lt;r&&Yn.setTimeout(()=>r(t,e))}var Av={closed:!0,next:Xr,error:Tv,complete:Xr};var Jn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Be(t){return t}function qa(...t){return Wa(t)}function Wa(t){return t.length===0?Be:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var q=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=Rv(r)?r:new Kn(r,n,i);return Qn(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=kd(n),new n((i,o)=>{let s=new Kn({next:a=>{try{r(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Jn](){return this}pipe(...r){return Wa(r)(this)}toPromise(r){return r=kd(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function kd(t){var e;return(e=t??lt.Promise)!==null&&e!==void 0?e:Promise}function Nv(t){return t&&j(t.next)&&j(t.error)&&j(t.complete)}function Rv(t){return t&&t instanceof bn||Nv(t)&&eo(t)}function Za(t){return j(t?.lift)}function W(t){return e=>{if(Za(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function z(t,e,r,n,i){return new Ya(t,e,r,n,i)}var Ya=class extends bn{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Xn(){return W((t,e)=>{let r=null;t._refCount++;let n=z(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var er=class extends q{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Za(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ve;let r=this.getSubject();e.add(this.source.subscribe(z(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ve.EMPTY)}return e}refCount(){return Xn()(this)}};var Pd=Zn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ce=(()=>{class t extends q{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ro(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Pd}next(r){Qn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Qn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Qn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?Ba:(this.currentObservers=null,o.push(r),new ve(()=>{this.currentObservers=null,Jr(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new q;return r.source=this,r}}return t.create=(e,r)=>new ro(e,r),t})(),ro=class extends Ce{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Ba}};var Ie=class extends Ce{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var $e=new q(t=>t.complete());function Fd(t){return t&&j(t.schedule)}function Ld(t){return t[t.length-1]}function io(t){return j(Ld(t))?t.pop():void 0}function Zt(t){return Fd(Ld(t))?t.pop():void 0}function jd(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(h){try{d(n.next(h))}catch(m){s(m)}}function l(h){try{d(n.throw(h))}catch(m){s(m)}}function d(h){h.done?o(h.value):i(h.value).then(a,l)}d((n=n.apply(t,e||[])).next())})}function Vd(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function En(t){return this instanceof En?(this.v=t,this):new En(t)}function Ud(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(v){n[v]&&(i[v]=function(y){return new Promise(function(w,O){o.push([v,y,w,O])>1||a(v,y)})})}function a(v,y){try{l(n[v](y))}catch(w){m(o[0][3],w)}}function l(v){v.value instanceof En?Promise.resolve(v.value.v).then(d,h):m(o[0][2],v)}function d(v){a("next",v)}function h(v){a("throw",v)}function m(v,y){v(y),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Bd(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Vd=="function"?Vd(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(d){o({value:d,done:a})},s)}}var oo=t=>t&&typeof t.length=="number"&&typeof t!="function";function so(t){return j(t?.then)}function ao(t){return j(t[Jn])}function lo(t){return Symbol.asyncIterator&&j(t?.[Symbol.asyncIterator])}function co(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Ov(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var uo=Ov();function fo(t){return j(t?.[uo])}function ho(t){return Ud(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield En(r.read());if(i)return yield En(void 0);yield yield En(n)}}finally{r.releaseLock()}})}function po(t){return j(t?.getReader)}function ye(t){if(t instanceof q)return t;if(t!=null){if(ao(t))return kv(t);if(oo(t))return Pv(t);if(so(t))return Fv(t);if(lo(t))return $d(t);if(fo(t))return Lv(t);if(po(t))return Vv(t)}throw co(t)}function kv(t){return new q(e=>{let r=t[Jn]();if(j(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Pv(t){return new q(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,to)})}function Lv(t){return new q(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function $d(t){return new q(e=>{jv(t,e).catch(r=>e.error(r))})}function Vv(t){return $d(ho(t))}function jv(t,e){var r,n,i,o;return jd(this,void 0,void 0,function*(){try{for(r=Bd(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Fe(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function mo(t,e=0){return W((r,n)=>{r.subscribe(z(n,i=>Fe(n,t,()=>n.next(i),e),()=>Fe(n,t,()=>n.complete(),e),i=>Fe(n,t,()=>n.error(i),e)))})}function go(t,e=0){return W((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Hd(t,e){return ye(t).pipe(go(e),mo(e))}function Gd(t,e){return ye(t).pipe(go(e),mo(e))}function zd(t,e){return new q(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function qd(t,e){return new q(r=>{let n;return Fe(r,e,()=>{n=t[uo](),Fe(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>j(n?.return)&&n.return()})}function vo(t,e){if(!t)throw new Error("Iterable cannot be null");return new q(r=>{Fe(r,e,()=>{let n=t[Symbol.asyncIterator]();Fe(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Wd(t,e){return vo(ho(t),e)}function Zd(t,e){if(t!=null){if(ao(t))return Hd(t,e);if(oo(t))return zd(t,e);if(so(t))return Gd(t,e);if(lo(t))return vo(t,e);if(fo(t))return qd(t,e);if(po(t))return Wd(t,e)}throw co(t)}function ie(t,e){return e?Zd(t,e):ye(t)}function R(...t){let e=Zt(t);return ie(t,e)}function tr(t,e){let r=j(t)?t:()=>t,n=i=>i.error(r());return new q(e?i=>e.schedule(n,0,i):n)}function Qa(t){return!!t&&(t instanceof q||j(t.lift)&&j(t.subscribe))}var At=Zn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function F(t,e){return W((r,n)=>{let i=0;r.subscribe(z(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:Uv}=Array;function Bv(t,e){return Uv(e)?t(...e):t(e)}function yo(t){return F(e=>Bv(t,e))}var{isArray:$v}=Array,{getPrototypeOf:Hv,prototype:Gv,keys:zv}=Object;function Do(t){if(t.length===1){let e=t[0];if($v(e))return{args:e,keys:null};if(qv(e)){let r=zv(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function qv(t){return t&&typeof t=="object"&&Hv(t)===Gv}function Co(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function ei(...t){let e=Zt(t),r=io(t),{args:n,keys:i}=Do(t);if(n.length===0)return ie([],e);let o=new q(Wv(n,e,i?s=>Co(i,s):Be));return r?o.pipe(yo(r)):o}function Wv(t,e,r=Be){return n=>{Yd(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let l=0;l{let d=ie(t[l],e),h=!1;d.subscribe(z(n,m=>{o[l]=m,h||(h=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Yd(t,e,r){t?Fe(r,t,e):e()}function Qd(t,e,r,n,i,o,s,a){let l=[],d=0,h=0,m=!1,v=()=>{m&&!l.length&&!d&&e.complete()},y=O=>d{o&&e.next(O),d++;let T=!1;ye(r(O,h++)).subscribe(z(e,N=>{i?.(N),o?y(N):e.next(N)},()=>{T=!0},void 0,()=>{if(T)try{for(d--;l.length&&dw(N)):w(N)}v()}catch(N){e.error(N)}}))};return t.subscribe(z(e,y,()=>{m=!0,v()})),()=>{a?.()}}function fe(t,e,r=1/0){return j(e)?fe((n,i)=>F((o,s)=>e(n,o,i,s))(ye(t(n,i))),r):(typeof e=="number"&&(r=e),W((n,i)=>Qd(n,i,t,r)))}function Yt(t=1/0){return fe(Be,t)}function Kd(){return Yt(1)}function nr(...t){return Kd()(ie(t,Zt(t)))}function wo(t){return new q(e=>{ye(t()).subscribe(e)})}function Ka(...t){let e=io(t),{args:r,keys:n}=Do(t),i=new q(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),l=s,d=s;for(let h=0;h{m||(m=!0,d--),a[h]=v},()=>l--,void 0,()=>{(!l||!m)&&(d||o.next(n?Co(n,a):a),o.complete())}))}});return e?i.pipe(yo(e)):i}function xe(t,e){return W((r,n)=>{let i=0;r.subscribe(z(n,o=>t.call(e,o,i++)&&n.next(o)))})}function Qt(t){return W((e,r)=>{let n=null,i=!1,o;n=e.subscribe(z(r,void 0,void 0,s=>{o=ye(t(s,Qt(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function Jd(t,e,r,n,i){return(o,s)=>{let a=r,l=e,d=0;o.subscribe(z(s,h=>{let m=d++;l=a?t(l,h,m):(a=!0,h),n&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function Nt(t,e){return j(e)?fe(t,e,1):fe(t,1)}function Kt(t){return W((e,r)=>{let n=!1;e.subscribe(z(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Rt(t){return t<=0?()=>$e:W((e,r)=>{let n=0;e.subscribe(z(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function Ja(t){return F(()=>t)}function bo(t=Zv){return W((e,r)=>{let n=!1;e.subscribe(z(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function Zv(){return new At}function Jt(t){return W((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function vt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?xe((i,o)=>t(i,o,n)):Be,Rt(1),r?Kt(e):bo(()=>new At))}function rr(t){return t<=0?()=>$e:W((e,r)=>{let n=[];e.subscribe(z(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function Xa(t,e){let r=arguments.length>=2;return n=>n.pipe(t?xe((i,o)=>t(i,o,n)):Be,rr(1),r?Kt(e):bo(()=>new At))}function el(t,e){return W(Jd(t,e,arguments.length>=2,!0))}function tl(...t){let e=Zt(t);return W((r,n)=>{(e?nr(t,r,e):nr(t,r)).subscribe(n)})}function Le(t,e){return W((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(z(n,l=>{i?.unsubscribe();let d=0,h=o++;ye(t(l,h)).subscribe(i=z(n,m=>n.next(e?e(l,m,h,d++):m),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function nl(t){return W((e,r)=>{ye(t).subscribe(z(r,()=>r.complete(),Xr)),!r.closed&&e.subscribe(r)})}function we(t,e,r){let n=j(t)||e||r?{next:t,error:e,complete:r}:t;return n?W((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(z(o,l=>{var d;(d=n.next)===null||d===void 0||d.call(n,l),o.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var d;a=!1,(d=n.error)===null||d===void 0||d.call(n,l),o.error(l)},()=>{var l,d;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(d=n.finalize)===null||d===void 0||d.call(n)}))}):Be}var jf="https://g.co/ng/security#xss",M=class extends Error{constructor(e,r){super(ts(e,r)),this.code=e}};function ts(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function ci(t){return{toString:t}.toString()}var Eo="__parameters__";function Yv(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function Uf(t,e,r){return ci(()=>{let n=Yv(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(l,d,h){let m=l.hasOwnProperty(Eo)?l[Eo]:Object.defineProperty(l,Eo,{value:[]})[Eo];for(;m.length<=h;)m.push(null);return(m[h]=m[h]||[]).push(s),l}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var tt=globalThis;function te(t){for(let e in t)if(t[e]===te)return e;throw Error("Could not find renamed property on target object.")}function Qv(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function ke(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(ke).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function Xd(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Kv=te({__forward_ref__:te});function He(t){return t.__forward_ref__=He,t.toString=function(){return ke(this())},t}function Oe(t){return Bf(t)?t():t}function Bf(t){return typeof t=="function"&&t.hasOwnProperty(Kv)&&t.__forward_ref__===He}function _(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ge(t){return{providers:t.providers||[],imports:t.imports||[]}}function ns(t){return ef(t,Hf)||ef(t,Gf)}function $f(t){return ns(t)!==null}function ef(t,e){return t.hasOwnProperty(e)?t[e]:null}function Jv(t){let e=t&&(t[Hf]||t[Gf]);return e||null}function tf(t){return t&&(t.hasOwnProperty(nf)||t.hasOwnProperty(Xv))?t[nf]:null}var Hf=te({\u0275prov:te}),nf=te({\u0275inj:te}),Gf=te({ngInjectableDef:te}),Xv=te({ngInjectorDef:te}),x=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 zf(t){return t&&!!t.\u0275providers}var ey=te({\u0275cmp:te}),ty=te({\u0275dir:te}),ny=te({\u0275pipe:te}),ry=te({\u0275mod:te}),Oo=te({\u0275fac:te}),ti=te({__NG_ELEMENT_ID__:te}),rf=te({__NG_ENV_ID__:te});function rs(t){return typeof t=="string"?t:t==null?"":String(t)}function iy(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():rs(t)}function oy(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new M(-200,t)}function fc(t,e){throw new M(-201,!1)}var H=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}(H||{}),vl;function qf(){return vl}function Je(t){let e=vl;return vl=t,e}function Wf(t,e,r){let n=ns(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&H.Optional)return null;if(e!==void 0)return e;fc(t,"Injector")}var sy={},ni=sy,yl="__NG_DI_FLAG__",ko="ngTempTokenPath",ay="ngTokenPath",ly=/\n/gm,cy="\u0275",of="__source",ar;function uy(){return ar}function Xt(t){let e=ar;return ar=t,e}function dy(t,e=H.Default){if(ar===void 0)throw new M(-203,!1);return ar===null?Wf(t,void 0,e):ar.get(t,e&H.Optional?null:void 0,e)}function I(t,e=H.Default){return(qf()||dy)(Oe(t),e)}function C(t,e=H.Default){return I(t,is(e))}function is(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Dl(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(ly,` + `)}`}var os=Zf(Uf("Optional"),8);var hc=Zf(Uf("SkipSelf"),4);function cr(t,e){let r=t.hasOwnProperty(Oo);return r?t[Oo]:null}function my(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?pc(r,e):e(r))}function Yf(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Po(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function vy(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function yy(t,e,r){let n=ui(t,e);return n>=0?t[n|1]=r:(n=~n,vy(t,n,e,r)),n}function rl(t,e){let r=ui(t,e);if(r>=0)return t[r|1]}function ui(t,e){return Dy(t,e,1)}function Dy(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?m="":m=i[h+1].toLowerCase(),n&2&&d!==m){if(ct(n))return!1;s=!0}}}}return ct(n)||s}function ct(t){return(t&1)===0}function Iy(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!ct(s)&&(e+=af(o,i),i=""),n=s,o=o||!ct(n);r++}return i!==""&&(e+=af(o,i)),e}function Ay(t){return t.map(Ty).join(",")}function Ny(t){let e=[],r=[],n=1,i=2;for(;n{let e=oh(t),r=Q(b({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Jf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ct.Emulated,styles:t.styles||Xe,_:null,schemas:t.schemas||null,tView:null,id:""});sh(r);let n=t.dependencies;return r.directiveDefs=cf(n,!1),r.pipeDefs=cf(n,!0),r.id=ky(r),r})}function Ry(t){return rn(t)||th(t)}function Oy(t){return t!==null}function ze(t){return ci(()=>({type:t.type,bootstrap:t.bootstrap||Xe,declarations:t.declarations||Xe,imports:t.imports||Xe,exports:t.exports||Xe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function lf(t,e){if(t==null)return ur;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=fr.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==fr.None?[n,a]:n,e[o]=s):r[o]=n}return r}function ne(t){return ci(()=>{let e=oh(t);return sh(e),e})}function rn(t){return t[ey]||null}function th(t){return t[ty]||null}function nh(t){return t[ny]||null}function rh(t){let e=rn(t)||th(t)||nh(t);return e!==null?e.standalone:!1}function ih(t,e){let r=t[ry]||null;if(!r&&e===!0)throw new Error(`Type ${ke(t)} does not have '\u0275mod' property.`);return r}function oh(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||ur,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Xe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:lf(t.inputs,e),outputs:lf(t.outputs),debugInfo:null}}function sh(t){t.features?.forEach(e=>e(t))}function cf(t,e){if(!t)return null;let r=e?nh:Ry;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Oy)}function ky(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function ss(t){return{\u0275providers:t}}function gc(...t){return{\u0275providers:ah(!0,t),\u0275fromNgModule:!0}}function ah(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return pc(e,s=>{let a=s;wl(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&lh(i,o),r}function lh(t,e){for(let r=0;r{e(o,n)})}}function wl(t,e,r,n){if(t=Oe(t),!t)return!1;let i=null,o=tf(t),s=!o&&rn(t);if(!o&&!s){let l=t.ngModule;if(o=tf(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of l)wl(d,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let d;try{pc(o.imports,h=>{wl(h,e,r,n)&&(d||=[],d.push(h))})}finally{}d!==void 0&&lh(d,e)}if(!a){let d=cr(i)||(()=>new i);e({provide:i,useFactory:d,deps:Xe},i),e({provide:Kf,useValue:i,multi:!0},i),e({provide:dr,useValue:()=>I(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let d=t;vc(l,h=>{e(h,d)})}}else return!1;return i!==t&&t.providers!==void 0}function vc(t,e){for(let r of t)zf(r)&&(r=r.\u0275providers),Array.isArray(r)?vc(r,e):e(r)}var Py=te({provide:String,useValue:te});function ch(t){return t!==null&&typeof t=="object"&&Py in t}function Fy(t){return!!(t&&t.useExisting)}function Ly(t){return!!(t&&t.useFactory)}function hr(t){return typeof t=="function"}function Vy(t){return!!t.useClass}var as=new x(""),So={},jy={},il;function yc(){return il===void 0&&(il=new Fo),il}var Me=class{},ii=class extends Me{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,El(e,s=>this.processProvider(s)),this.records.set(Qf,ir(void 0,this)),i.has("environment")&&this.records.set(Me,ir(void 0,this));let o=this.records.get(as);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Kf,Xe,H.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Y(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Y(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Xt(this),n=Je(void 0),i;try{return e()}finally{Xt(r),Je(n)}}get(e,r=ni,n=H.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(rf))return e[rf](this);n=is(n);let i,o=Xt(this),s=Je(void 0);try{if(!(n&H.SkipSelf)){let l=this.records.get(e);if(l===void 0){let d=Gy(e)&&ns(e);d&&this.injectableDefInScope(d)?l=ir(bl(e),So):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&H.Self?yc():this.parent;return r=n&H.Optional&&r===ni?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[ko]=a[ko]||[]).unshift(ke(e)),o)throw a;return hy(a,e,"R3InjectorError",this.source)}else throw a}finally{Je(s),Xt(o)}}resolveInjectorInitializers(){let e=Y(null),r=Xt(this),n=Je(void 0),i;try{let o=this.get(dr,Xe,H.Self);for(let s of o)s()}finally{Xt(r),Je(n),Y(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(ke(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(e){e=Oe(e);let r=hr(e)?e:Oe(e&&e.provide),n=By(e);if(!hr(e)&&e.multi===!0){let i=this.records.get(r);i||(i=ir(void 0,So,!0),i.factory=()=>Dl(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=Y(null);try{return r.value===So&&(r.value=jy,r.value=r.factory()),typeof r.value=="object"&&r.value&&Hy(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Y(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Oe(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function bl(t){let e=ns(t),r=e!==null?e.factory:cr(t);if(r!==null)return r;if(t instanceof x)throw new M(204,!1);if(t instanceof Function)return Uy(t);throw new M(204,!1)}function Uy(t){if(t.length>0)throw new M(204,!1);let r=Jv(t);return r!==null?()=>r.factory(t):()=>new t}function By(t){if(ch(t))return ir(void 0,t.useValue);{let e=uh(t);return ir(e,So)}}function uh(t,e,r){let n;if(hr(t)){let i=Oe(t);return cr(i)||bl(i)}else if(ch(t))n=()=>Oe(t.useValue);else if(Ly(t))n=()=>t.useFactory(...Dl(t.deps||[]));else if(Fy(t))n=()=>I(Oe(t.useExisting));else{let i=Oe(t&&(t.useClass||t.provide));if($y(t))n=()=>new i(...Dl(t.deps));else return cr(i)||bl(i)}return n}function ir(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function $y(t){return!!t.deps}function Hy(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Gy(t){return typeof t=="function"||typeof t=="object"&&t instanceof x}function El(t,e){for(let r of t)Array.isArray(r)?El(r,e):r&&zf(r)?El(r.\u0275providers,e):e(r)}function qe(t,e){t instanceof ii&&t.assertNotDestroyed();let r,n=Xt(t),i=Je(void 0);try{return e()}finally{Xt(n),Je(i)}}function dh(){return qf()!==void 0||uy()!=null}function zy(t){if(!dh())throw new M(-203,!1)}function qy(t){return typeof t=="function"}var Ft=0,U=1,k=2,Te=3,ut=4,dt=5,Lo=6,Vo=7,nt=8,pr=9,wt=10,pe=11,oi=12,uf=13,br=14,bt=15,xn=16,or=17,Ot=18,ls=19,fh=20,tn=21,ol=22,et=23,rt=25,hh=1;var Sn=7,jo=8,mr=9,Ve=10,Uo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Uo||{});function nn(t){return Array.isArray(t)&&typeof t[hh]=="object"}function Lt(t){return Array.isArray(t)&&t[hh]===!0}function Dc(t){return(t.flags&4)!==0}function cs(t){return t.componentOffset>-1}function us(t){return(t.flags&1)===1}function on(t){return!!t.template}function _l(t){return(t[k]&512)!==0}var Il=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function ph(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Vt(){return mh}function mh(t){return t.type.prototype.ngOnChanges&&(t.setInput=Zy),Wy}Vt.ngInherit=!0;function Wy(){let t=vh(this),e=t?.current;if(e){let r=t.previous;if(r===ur)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Zy(t,e,r,n,i){let o=this.declaredInputs[n],s=vh(t)||Yy(t,{previous:ur,current:null}),a=s.current||(s.current={}),l=s.previous,d=l[o];a[o]=new Il(d&&d.currentValue,r,l===ur),ph(t,e,i,r)}var gh="__ngSimpleChanges__";function vh(t){return t[gh]||null}function Yy(t,e){return t[gh]=e}var df=null;var yt=function(t,e,r){df?.(t,e,r)},Qy="svg",Ky="math";function Et(t){for(;Array.isArray(t);)t=t[Ft];return t}function yh(t,e){return Et(e[t])}function ot(t,e){return Et(e[t.index])}function Cc(t,e){return t.data[e]}function Jy(t,e){return t[e]}function ln(t,e){let r=e[t];return nn(r)?r:r[Ft]}function Xy(t){return(t[k]&4)===4}function wc(t){return(t[k]&128)===128}function e0(t){return Lt(t[Te])}function gr(t,e){return e==null?null:t[e]}function Dh(t){t[or]=0}function Ch(t){t[k]&1024||(t[k]|=1024,wc(t)&&ds(t))}function t0(t,e){for(;t>0;)e=e[br],t--;return e}function si(t){return!!(t[k]&9216||t[et]?.dirty)}function xl(t){t[wt].changeDetectionScheduler?.notify(7),t[k]&64&&(t[k]|=1024),si(t)&&ds(t)}function ds(t){t[wt].changeDetectionScheduler?.notify(0);let e=Mn(t);for(;e!==null&&!(e[k]&8192||(e[k]|=8192,!wc(e)));)e=Mn(e)}function wh(t,e){if((t[k]&256)===256)throw new M(911,!1);t[tn]===null&&(t[tn]=[]),t[tn].push(e)}function n0(t,e){if(t[tn]===null)return;let r=t[tn].indexOf(e);r!==-1&&t[tn].splice(r,1)}function Mn(t){let e=t[Te];return Lt(e)?e[Te]:e}var G={lFrame:Ah(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var bh=!1;function r0(){return G.lFrame.elementDepthCount}function i0(){G.lFrame.elementDepthCount++}function o0(){G.lFrame.elementDepthCount--}function Eh(){return G.bindingsEnabled}function s0(){return G.skipHydrationRootTNode!==null}function a0(t){return G.skipHydrationRootTNode===t}function l0(){G.skipHydrationRootTNode=null}function Z(){return G.lFrame.lView}function be(){return G.lFrame.tView}function L(t){return G.lFrame.contextLView=t,t[nt]}function V(t){return G.lFrame.contextLView=null,t}function Se(){let t=_h();for(;t!==null&&t.type===64;)t=t.parent;return t}function _h(){return G.lFrame.currentTNode}function c0(){let t=G.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Pn(t,e){let r=G.lFrame;r.currentTNode=t,r.isParent=e}function bc(){return G.lFrame.isParent}function Ih(){G.lFrame.isParent=!1}function u0(){return G.lFrame.contextLView}function xh(){return bh}function ff(t){bh=t}function Ec(){let t=G.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function d0(t){return G.lFrame.bindingIndex=t}function di(){return G.lFrame.bindingIndex++}function f0(t){let e=G.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function h0(){return G.lFrame.inI18n}function p0(t,e){let r=G.lFrame;r.bindingIndex=r.bindingRootIndex=t,Sl(e)}function m0(){return G.lFrame.currentDirectiveIndex}function Sl(t){G.lFrame.currentDirectiveIndex=t}function g0(t){let e=G.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Sh(){return G.lFrame.currentQueryIndex}function _c(t){G.lFrame.currentQueryIndex=t}function v0(t){let e=t[U];return e.type===2?e.declTNode:e.type===1?t[dt]:null}function Mh(t,e,r){if(r&H.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&H.Host);)if(i=v0(o),i===null||(o=o[br],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=G.lFrame=Th();return n.currentTNode=e,n.lView=t,!0}function Ic(t){let e=Th(),r=t[U];G.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Th(){let t=G.lFrame,e=t===null?null:t.child;return e===null?Ah(t):e}function Ah(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Nh(){let t=G.lFrame;return G.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Rh=Nh;function xc(){let t=Nh();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function y0(t){return(G.lFrame.contextLView=t0(t,G.lFrame.contextLView))[nt]}function Er(){return G.lFrame.selectedIndex}function Tn(t){G.lFrame.selectedIndex=t}function fs(){let t=G.lFrame;return Cc(t.tView,t.selectedIndex)}function D0(){return G.lFrame.currentNamespace}var Oh=!0;function hs(){return Oh}function ps(t){Oh=t}function C0(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=mh(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function ms(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[l]<0&&(t[or]+=65536),(a>14>16&&(t[k]&3)===e&&(t[k]+=16384,hf(a,o)):hf(a,o)}var lr=-1,An=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function b0(t){return t instanceof An}function E0(t){return(t.flags&8)!==0}function _0(t){return(t.flags&16)!==0}var al={},Ml=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=is(n);let i=this.injector.get(e,al,n);return i!==al||r===al?i:this.parentInjector.get(e,r,n)}};function Ph(t){return t!==lr}function Bo(t){return t&32767}function I0(t){return t>>16}function $o(t,e){let r=I0(t),n=e;for(;r>0;)n=n[br],r--;return n}var Tl=!0;function pf(t){let e=Tl;return Tl=t,e}var x0=256,Fh=x0-1,Lh=5,S0=0,Dt={};function M0(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(ti)&&(n=r[ti]),n==null&&(n=r[ti]=S0++);let i=n&Fh,o=1<>Lh)]|=o}function Ho(t,e){let r=Vh(t,e);if(r!==-1)return r;let n=e[U];n.firstCreatePass&&(t.injectorIndex=e.length,ll(n.data,t),ll(e,null),ll(n.blueprint,null));let i=Sc(t,e),o=t.injectorIndex;if(Ph(i)){let s=Bo(i),a=$o(i,e),l=a[U].data;for(let d=0;d<8;d++)e[o+d]=a[s+d]|l[s+d]}return e[o+8]=i,o}function ll(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Vh(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Sc(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Hh(i),n===null)return lr;if(r++,i=i[br],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return lr}function Al(t,e,r){M0(t,e,r)}function T0(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,m=n?a:a+h,v=i?a+h:d;for(let y=m;y=l&&w.type===r)return y}if(i){let y=s[l];if(y&&on(y)&&y.type===r)return l}return null}function Nn(t,e,r,n){let i=t[r],o=e.data;if(b0(i)){let s=i;s.resolving&&oy(iy(o[r]));let a=pf(s.canSeeViewProviders);s.resolving=!0;let l,d=s.injectImpl?Je(s.injectImpl):null,h=Mh(t,n,H.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&C0(r,o[r],e)}finally{d!==null&&Je(d),pf(a),s.resolving=!1,Rh()}}return i}function N0(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ti)?t[ti]:void 0;return typeof e=="number"?e>=0?e&Fh:R0:e}function mf(t,e,r){let n=1<>Lh)]&n)}function gf(t,e){return!(t&H.Self)&&!(t&H.Host&&e)}var In=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Bh(this._tNode,this._lView,e,is(n),r)}};function R0(){return new In(Se(),Z())}function ft(t){return ci(()=>{let e=t.prototype.constructor,r=e[Oo]||Nl(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[Oo]||Nl(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Nl(t){return Bf(t)?()=>{let e=Nl(Oe(t));return e&&e()}:cr(t)}function O0(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[k]&2048&&!(s[k]&512);){let a=$h(o,s,r,n|H.Self,Dt);if(a!==Dt)return a;let l=o.parent;if(!l){let d=s[fh];if(d){let h=d.get(r,Dt,n);if(h!==Dt)return h}l=Hh(s),s=s[br]}o=l}return i}function Hh(t){let e=t[U],r=e.type;return r===2?e.declTNode:r===1?t[dt]:null}function Mc(t){return T0(Se(),t)}function vf(t,e=null,r=null,n){let i=Gh(t,e,r,n);return i.resolveInjectorInitializers(),i}function Gh(t,e=null,r=null,n,i=new Set){let o=[r||Xe,gc(t)];return n=n||(typeof t=="object"?void 0:ke(t)),new ii(o,e||yc(),n||null,i)}var _n=class _n{static create(e,r){if(Array.isArray(e))return vf({name:""},r,e,"");{let n=e.name??"";return vf({name:n},e.parent,e.providers,n)}}};_n.THROW_IF_NOT_FOUND=ni,_n.NULL=new Fo,_n.\u0275prov=_({token:_n,providedIn:"any",factory:()=>I(Qf)}),_n.__NG_ELEMENT_ID__=-1;var it=_n;var k0=new x("");k0.__NG_ELEMENT_ID__=t=>{let e=Se();if(e===null)throw new M(204,!1);if(e.type&2)return e.value;if(t&H.Optional)return null;throw new M(204,!1)};var P0="ngOriginalError";function cl(t){return t[P0]}var _t=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&cl(e);for(;r&&cl(r);)r=cl(r);return r||null}},zh=new x("",{providedIn:"root",factory:()=>C(_t).handleError.bind(void 0)}),Tc=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=F0,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Rl=class extends Tc{constructor(e){super(),this._lView=e}onDestroy(e){return wh(this._lView,e),()=>n0(this._lView,e)}};function F0(){return new Rl(Z())}function L0(){return _r(Se(),Z())}function _r(t,e){return new Ae(ot(t,e))}var Ae=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=L0;let t=e;return t})();function V0(t){return t instanceof Ae?t.nativeElement:t}var jt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Ol=class extends Ce{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,dh()&&(this.destroyRef=C(Tc,{optional:!0})??void 0,this.pendingTasks=C(jt,{optional:!0})??void 0)}emit(e){let r=Y(null);try{super.next(e)}finally{Y(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ve&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},he=Ol;function j0(){return this._results[Symbol.iterator]()}var kl=class t{get changes(){return this._changes??=new he}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=j0)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=gy(e);(this._changesDetected=!my(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function qh(t){return(t.flags&128)===128}var Wh=new Map,U0=0;function B0(){return U0++}function $0(t){Wh.set(t[ls],t)}function H0(t){Wh.delete(t[ls])}var yf="__ngContext__";function sn(t,e){nn(e)?(t[yf]=e[ls],$0(e)):t[yf]=e}function Zh(t){return Qh(t[oi])}function Yh(t){return Qh(t[ut])}function Qh(t){for(;t!==null&&!Lt(t);)t=t[ut];return t}var Pl;function Kh(t){Pl=t}function G0(){if(Pl!==void 0)return Pl;if(typeof document<"u")return document;throw new M(210,!1)}var gs=new x("",{providedIn:"root",factory:()=>z0}),z0="ng",Ac=new x(""),It=new x("",{providedIn:"platform",factory:()=>"unknown"});var Nc=new x("",{providedIn:"root",factory:()=>G0().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var q0="h",W0="b";var Z0=()=>null;function Rc(t,e,r=!1){return Z0(t,e,r)}var Jh=!1,Y0=new x("",{providedIn:"root",factory:()=>Jh});var _o;function Q0(){if(_o===void 0&&(_o=null,tt.trustedTypes))try{_o=tt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return _o}function Df(t){return Q0()?.createScriptURL(t)||t}var Go=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${jf})`}};function fi(t){return t instanceof Go?t.changingThisBreaksApplicationSecurity:t}function Oc(t,e){let r=K0(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${jf})`)}return r===e}function K0(t){return t instanceof Go&&t.getTypeName()||null}var J0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xh(t){return t=String(t),t.match(J0)?t:"unsafe:"+t}var vs=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(vs||{});function Ir(t){let e=tp();return e?e.sanitize(vs.URL,t)||"":Oc(t,"URL")?fi(t):Xh(rs(t))}function X0(t){let e=tp();if(e)return Df(e.sanitize(vs.RESOURCE_URL,t)||"");if(Oc(t,"ResourceURL"))return Df(fi(t));throw new M(904,!1)}function eD(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?X0:Ir}function ep(t,e,r){return eD(e,r)(t)}function tp(){let t=Z();return t&&t[wt].sanitizer}var tD=/^>|^->||--!>|)/g,rD="\u200B$1\u200B";function iD(t){return t.replace(tD,e=>e.replace(nD,rD))}function np(t){return t instanceof Function?t():t}function oD(t){return(t??C(it)).get(It)==="browser"}var kt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(kt||{}),sD;function kc(t,e){return sD(t,e)}function sr(t,e,r,n,i){if(n!=null){let o,s=!1;Lt(n)?o=n:nn(n)&&(s=!0,n=n[Ft]);let a=Et(n);t===0&&r!==null?i==null?sp(e,r,a):qo(e,r,a,i||null,!0):t===1&&r!==null?qo(e,r,a,i||null,!0):t===2?ED(e,a,s):t===3&&e.destroyNode(a),o!=null&&ID(e,t,o,r,i)}}function aD(t,e){return t.createText(e)}function lD(t,e,r){t.setValue(e,r)}function cD(t,e){return t.createComment(iD(e))}function rp(t,e,r){return t.createElement(e,r)}function uD(t,e){ip(t,e),e[Ft]=null,e[dt]=null}function dD(t,e,r,n,i,o){n[Ft]=i,n[dt]=e,Ds(t,n,r,1,i,o)}function ip(t,e){e[wt].changeDetectionScheduler?.notify(8),Ds(t,e,e[pe],2,null,null)}function fD(t){let e=t[oi];if(!e)return ul(t[U],t);for(;e;){let r=null;if(nn(e))r=e[oi];else{let n=e[Ve];n&&(r=n)}if(!r){for(;e&&!e[ut]&&e!==t;)nn(e)&&ul(e[U],e),e=e[Te];e===null&&(e=t),nn(e)&&ul(e[U],e),r=e&&e[ut]}e=r}}function hD(t,e,r,n){let i=Ve+n,o=r.length;n>0&&(r[i-1][ut]=e),n0&&(t[r-1][ut]=n[ut]);let o=Po(t,Ve+e);uD(n[U],n);let s=o[Ot];s!==null&&s.detachView(o[U]),n[Te]=null,n[ut]=null,n[k]&=-129}return n}function Fc(t,e){if(!(e[k]&256)){let r=e[pe];r.destroyNode&&Ds(t,e,r,3,null,null),fD(e)}}function ul(t,e){if(e[k]&256)return;let r=Y(null);try{e[k]&=-129,e[k]|=256,e[et]&&La(e[et]),mD(t,e),pD(t,e),e[U].type===1&&e[pe].destroy();let n=e[xn];if(n!==null&&Lt(e[Te])){n!==e[Te]&&Pc(n,e);let i=e[Ot];i!==null&&i.detachView(t)}H0(e)}finally{Y(r)}}function pD(t,e){let r=t.cleanup,n=e[Vo];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Vo]=null);let i=e[tn];if(i!==null){e[tn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Ct.None||o===Ct.Emulated)return null}return ot(n,r)}}function qo(t,e,r,n,i){t.insertBefore(e,r,n,i)}function sp(t,e,r){t.appendChild(e,r)}function Cf(t,e,r,n,i){n!==null?qo(t,e,r,n,i):sp(t,e,r)}function yD(t,e,r,n){t.removeChild(e,r,n)}function Lc(t,e){return t.parentNode(e)}function DD(t,e){return t.nextSibling(e)}function CD(t,e,r){return bD(t,e,r)}function wD(t,e,r){return t.type&40?ot(t,r):null}var bD=wD,wf;function ys(t,e,r,n){let i=gD(t,n,e),o=e[pe],s=n.parent||e[dt],a=CD(s,n,e);if(i!=null)if(Array.isArray(r))for(let l=0;lrt&&up(t,e,rt,!1),yt(s?2:0,i),r(n,i)}finally{Tn(o),yt(s?3:1,i)}}function jc(t,e,r){if(Dc(e)){let n=Y(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function kD(t,e,r,n){let i=Cp(e);i.push(r),t.firstCreatePass&&wp(t).push(n,i.length-1)}function PD(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return s0()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function bf(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=fr.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let d=o;if(i!==null){if(!i.hasOwnProperty(o))continue;d=i[o]}t===0?Ef(n,r,d,a,l):Ef(n,r,d,a)}return n}function Ef(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function FD(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,d=null;for(let h=n;h0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function BD(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;cs(r)&&ZD(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||Ho(r,e),sn(n,e);let s=r.initialInputs;for(let a=i;a{ds(t.lView)},consumerOnSignalRead(){this.lView[et]=this}});function uC(t){let e=t[et]??Object.create(dC);return e.lView=t,e}var dC=Q(b({},ka),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Mn(t.lView);for(;e&&!xp(e[U]);)e=Mn(e);e&&Ch(e)},consumerOnSignalRead(){this.lView[et]=this}});function xp(t){return t.type!==2}var fC=100;function Sp(t,e=!0,r=0){let n=t[wt],i=n.rendererFactory,o=!1;o||i.begin?.();try{hC(t,r)}catch(s){throw e&&bp(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function hC(t,e){let r=xh();try{ff(!0),Ul(t,e);let n=0;for(;si(t);){if(n===fC)throw new M(103,!1);n++,Ul(t,1)}}finally{ff(r)}}function pC(t,e,r,n){let i=e[k];if((i&256)===256)return;let o=!1,s=!1;!o&&e[wt].inlineEffectRunner?.flush(),Ic(e);let a=!0,l=null,d=null;o||(xp(t)?(d=sC(e),l=Pa(d)):xd()===null?(a=!1,d=uC(e),l=Pa(d)):e[et]&&(La(e[et]),e[et]=null));try{Dh(e),d0(t.bindingStartIndex),r!==null&&pp(t,e,r,2,n);let h=(i&3)===3;if(!o)if(h){let y=t.preOrderCheckHooks;y!==null&&Mo(e,y,null)}else{let y=t.preOrderHooks;y!==null&&To(e,y,0,null),sl(e,0)}if(s||mC(e),Mp(e,0),t.contentQueries!==null&&Dp(t,e),!o)if(h){let y=t.contentCheckHooks;y!==null&&Mo(e,y)}else{let y=t.contentHooks;y!==null&&To(e,y,1),sl(e,1)}MD(t,e);let m=t.components;m!==null&&Ap(e,m,0);let v=t.viewQuery;if(v!==null&&Vl(2,v,n),!o)if(h){let y=t.viewCheckHooks;y!==null&&Mo(e,y)}else{let y=t.viewHooks;y!==null&&To(e,y,2),sl(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[ol]){for(let y of e[ol])y();e[ol]=null}o||(e[k]&=-73)}catch(h){throw o||ds(e),h}finally{d!==null&&(Sd(d,l),a&&lC(d)),xc()}}function Mp(t,e){for(let r=Zh(t);r!==null;r=Yh(r))for(let n=Ve;n-1&&(zo(e,n),Po(r,n))}this._attachedToViewContainer=!1}Fc(this._lView[U],this._lView)}onDestroy(e){wh(this._lView,e)}markForCheck(){Wc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[k]&=-129}reattach(){xl(this._lView),this._lView[k]|=128}detectChanges(){this._lView[k]|=1024,Sp(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=_l(this._lView),r=this._lView[xn];r!==null&&!e&&Pc(r,this._lView),ip(this._lView[U],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=e;let r=_l(this._lView),n=this._lView[xn];n!==null&&!r&&op(n,this._lView),xl(this._lView)}},On=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=DC;let t=e;return t})(),vC=On,yC=class extends vC{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=Ep(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Rn(i)}};function DC(){return Zc(Se(),Z())}function Zc(t,e){return t.type&4?new yC(e,t,_r(t,e)):null}var TR=new RegExp(`^(\\d+)*(${W0}|${q0})*(.*)`);var CC=()=>null;function Bl(t,e){return CC(t,e)}var vr=class{},Np=new x("",{providedIn:"root",factory:()=>!1});var Rp=new x(""),$l=class{},Zo=class{};function wC(t){let e=Error(`No component factory found for ${ke(t)}.`);return e[bC]=t,e}var bC="ngComponent";var Hl=class{resolveComponentFactory(e){throw wC(e)}},iu=class iu{};iu.NULL=new Hl;var yr=iu,Dr=class{},st=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>EC();let t=e;return t})();function EC(){let t=Z(),e=Se(),r=ln(e.index,t);return(nn(r)?r:t)[pe]}var _C=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var _f=new Set;function pi(t){_f.has(t)||(_f.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Op(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof tt.requestAnimationFrame=="function"&&tt.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function If(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function xf(...t){}var X=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new he(!1),this.onMicrotaskEmpty=new he(!1),this.onStable=new he(!1),this.onError=new he(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.callbackScheduled=!1,SC(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new M(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,IC,xf,xf);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},IC={};function Yc(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function xC(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{Op(()=>{t.callbackScheduled=!1,Gl(t),t.isCheckStableRunning=!0,Yc(t),t.isCheckStableRunning=!1})}),Gl(t))}function SC(t){let e=()=>{xC(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(MC(a))return r.invokeTask(i,o,s,a);try{return Sf(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Mf(t)}},onInvoke:(r,n,i,o,s,a,l)=>{try{return Sf(t),r.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!TC(a)&&e(),Mf(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Gl(t),Yc(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Gl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Sf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Mf(t){t._nesting--,Yc(t)}var zl=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new he,this.onMicrotaskEmpty=new he,this.onStable=new he,this.onError=new he}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}};function MC(t){return kp(t,"__ignore_ng_zone__")}function TC(t){return kp(t,"__scheduler_tick__")}function kp(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var en=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(en||{}),AC={destroy(){}};function bs(t,e){!e&&zy(bs);let r=e?.injector??C(it);if(!oD(r))return AC;pi("NgAfterNextRender");let n=r.get(Qc),i=n.handler??=new Wl,o=e?.phase??en.MixedReadWrite,s=()=>{i.unregister(l),a()},a=r.get(Tc).onDestroy(s),l=qe(r,()=>new ql(o,()=>{s(),t()}));return i.register(l),{destroy:s}}var ql=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=C(X),this.errorHandler=C(_t,{optional:!0}),C(vr,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Wl=class{constructor(){this.executingCallbacks=!1,this.buckets={[en.EarlyRead]:new Set,[en.Write]:new Set,[en.MixedReadWrite]:new Set,[en.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Qc=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Yo(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&lp(t,r,o.join(" "))}}function LC(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=jC;let t=e;return t})();function jC(){let t=Se();return Fp(t,Z())}var UC=cn,Pp=class extends UC{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return _r(this._hostTNode,this._hostLView)}get injector(){return new In(this._hostTNode,this._hostLView)}get parentInjector(){let e=Sc(this._hostTNode,this._hostLView);if(Ph(e)){let r=$o(e,this._hostLView),n=Bo(e),i=r[U].data[n+8];return new In(i,r)}else return new In(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Af(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ve}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Bl(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,jl(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!qy(e),a;if(s)a=r;else{let w=r||{};a=w.index,n=w.injector,i=w.projectableNodes,o=w.environmentInjector||w.ngModuleRef}let l=s?e:new Cr(rn(e)),d=n||this.parentInjector;if(!o&&l.ngModule==null){let O=(s?d:this.parentInjector).get(Me,null);O&&(o=O)}let h=rn(l.componentType??{}),m=Bl(this._lContainer,h?.id??null),v=m?.firstChild??null,y=l.create(d,i,v,o);return this.insertImpl(y.hostView,a,jl(this._hostTNode,m)),y}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(e0(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[Te],d=new Pp(l,l[dt],l[Te]);d.detach(d.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return _p(s,i,o,n),e.attachToViewContainerRef(),Yf(dl(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Af(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=zo(this._lContainer,r);n&&(Po(dl(this._lContainer),r),Fc(n[U],n))}detach(e){let r=this._adjustIndex(e,-1),n=zo(this._lContainer,r);return n&&Po(dl(this._lContainer),r)!=null?new Rn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Af(t){return t[jo]}function dl(t){return t[jo]||(t[jo]=[])}function Fp(t,e){let r,n=e[t.index];return Lt(n)?r=n:(r=yp(n,e,null,t),e[t.index]=r,ws(e,r)),$C(r,e,t,n),new Pp(r,t,e)}function BC(t,e){let r=t[pe],n=r.createComment(""),i=ot(e,t),o=Lc(r,i);return qo(r,o,n,DD(r,i),!1),n}var $C=zC,HC=()=>!1;function GC(t,e,r){return HC(t,e,r)}function zC(t,e,r,n){if(t[Sn])return;let i;r.type&8?i=Et(n):i=BC(e,r),t[Sn]=i}var Yl=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Ql=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let d=o[a+1],h=e[-l];for(let m=Ve;me.trim())}function ew(t,e,r){t.queries===null&&(t.queries=new Jl),t.queries.track(new Xl(e,r))}function tw(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function Kc(t,e){return t.queries.getByIndex(e)}function nw(t,e){let r=t[U],n=Kc(r,e);return n.crossesNgTemplate?ec(r,t,e,[]):Lp(r,t,n,e)}function rw(t){return typeof t=="function"&&t[Oa]!==void 0}function Vp(t){return rw(t)&&typeof t.set=="function"}function iw(t){return Object.getPrototypeOf(t.prototype).constructor}function Pe(t){let e=iw(t.type),r=!0,n=[t];for(;e;){let i;if(on(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new M(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=Io(t.inputs),s.inputTransforms=Io(t.inputTransforms),s.declaredInputs=Io(t.declaredInputs),s.outputs=Io(t.outputs);let a=i.hostBindings;a&&cw(t,a);let l=i.viewQuery,d=i.contentQueries;if(l&&aw(t,l),d&&lw(t,d),ow(t,i),Qv(t.outputs,i.outputs),on(i)&&i.data.animation){let h=t.data;h.animation=(h.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=ri(i.hostAttrs,r=ri(r,i.hostAttrs))}}function Io(t){return t===ur?{}:t===Xe?[]:t}function aw(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function lw(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function cw(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function Jc(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}var an=class{},ai=class{};var tc=class extends an{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Qo(this);let i=ih(e);this._bootstrapComponents=np(i.bootstrap),this._r3Injector=Gh(e,r,[{provide:an,useValue:this},{provide:yr,useValue:this.componentFactoryResolver},...n],ke(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},nc=class extends ai{constructor(e){super(),this.moduleType=e}create(e){return new tc(this.moduleType,e,[])}};var Ko=class extends an{constructor(e){super(),this.componentFactoryResolver=new Qo(this),this.instance=null;let r=new ii([...e.providers,{provide:an,useValue:this},{provide:yr,useValue:this.componentFactoryResolver}],e.parent||yc(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Es(t,e,r=null){return new Ko({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function jp(t){return dw(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function uw(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function Dw(t){return(t&2)==2}function Cw(t,e){return t&131071|e<<17}function rc(t){return t|2}function wr(t){return(t&131068)>>2}function fl(t,e){return t&-131069|e<<2}function ww(t){return(t&1)===1}function ic(t){return t|1}function bw(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=kn(s),l=wr(s);t[n]=r;let d=!1,h;if(Array.isArray(r)){let m=r;h=m[1],(h===null||ui(m,h)>0)&&(d=!0)}else h=r;if(i)if(l!==0){let v=kn(t[a+1]);t[n+1]=xo(v,a),v!==0&&(t[v+1]=fl(t[v+1],n)),t[a+1]=Cw(t[a+1],n)}else t[n+1]=xo(a,0),a!==0&&(t[a+1]=fl(t[a+1],n)),a=n;else t[n+1]=xo(l,0),a===0?a=n:t[l+1]=fl(t[l+1],n),l=n;d&&(t[n+1]=rc(t[n+1])),Nf(t,h,n,!0),Nf(t,h,n,!1),Ew(e,h,t,n,o),s=xo(a,l),o?e.classBindings=s:e.styleBindings=s}function Ew(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&ui(o,e)>=0&&(r[n+1]=ic(r[n+1]))}function Nf(t,e,r,n){let i=t[r+1],o=e===null,s=n?kn(i):wr(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],d=t[s+1];_w(l,e)&&(a=!0,t[s+1]=n?ic(d):rc(d)),s=n?kn(d):wr(d)}a&&(t[r+1]=n?rc(i):ic(i))}function _w(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?ui(t,e)>=0:!1}function D(t,e,r){let n=Z(),i=di();if(Pt(n,i,e)){let o=be(),s=fs();Hc(o,s,n,t,e,n[pe],r,!1)}return D}function Rf(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";zc(t,r,o[s],s,n)}function _s(t,e){return Iw(t,e,null,!0),_s}function Iw(t,e,r,n){let i=Z(),o=be(),s=f0(2);if(o.firstUpdatePass&&Sw(o,t,s,n),e!==xt&&Pt(i,s,e)){let a=o.data[Er()];Rw(o,a,i,i[pe],t,i[s+1]=Ow(e,r),n,s)}}function xw(t,e){return e>=t.expandoStartIndex}function Sw(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Er()],s=xw(t,r);kw(o,n)&&e===null&&!s&&(e=!1),e=Mw(i,o,e,n),bw(i,o,e,r,s,n)}}function Mw(t,e,r,n){let i=g0(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=hl(null,t,e,r,n),r=li(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=hl(i,t,e,r,n),o===null){let l=Tw(t,e,n);l!==void 0&&Array.isArray(l)&&(l=hl(null,t,e,l[1],n),l=li(l,e.attrs,n),Aw(t,e,n,l))}else o=Nw(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function Tw(t,e,r){let n=r?e.classBindings:e.styleBindings;if(wr(n)!==0)return t[kn(n)]}function Aw(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[kn(i)]=n}function Nw(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=t[i],d=Array.isArray(l),h=d?l[1]:l,m=h===null,v=r[i+1];v===xt&&(v=m?Xe:void 0);let y=m?rl(v,n):h===n?v:void 0;if(d&&!Jo(y)&&(y=rl(l,n)),Jo(y)&&(a=y,s))return a;let w=t[i+1];i=s?kn(w):wr(w)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=rl(l,n))}return a}function Jo(t){return t!==void 0}function Ow(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ke(fi(t)))),t}function kw(t,e){return(t.flags&(e?8:16))!==0}function Fn(t,e){pi("NgControlFlow");let r=Z(),n=di(),i=r[n]!==xt?r[n]:-1,o=i!==-1?kf(r,rt+i):void 0,s=0;if(Pt(r,n,t)){let a=Y(null);try{if(o!==void 0&&iC(o,s),t!==-1){let l=rt+t,d=kf(r,l),h=Pw(r[U],l),m=Bl(d,h.tView.ssrId),v=Ep(r,h,e,{dehydratedView:m});_p(d,v,s,jl(h,m))}}finally{Y(a)}}else if(o!==void 0){let a=rC(o,s);a!==void 0&&(a[nt]=e)}}function kf(t,e){return t[e]}function Pw(t,e){return Cc(t,e)}function Fw(t,e,r,n,i,o){let s=e.consts,a=gr(s,i),l=hi(e,t,2,n,a);return Gc(e,r,l,gr(s,o)),l.attrs!==null&&Yo(l,l.attrs,!1),l.mergedAttrs!==null&&Yo(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function u(t,e,r,n){let i=Z(),o=be(),s=rt+t,a=i[pe],l=o.firstCreatePass?Fw(s,o,i,e,r,n):o.data[s],d=Lw(o,i,l,a,e,t);i[s]=d;let h=us(l);return Pn(l,!0),cp(a,d,l),!pw(l)&&hs()&&ys(o,i,d,l),r0()===0&&sn(d,i),i0(),h&&(Uc(o,i,l),jc(o,l,i)),n!==null&&Bc(i,l),u}function f(){let t=Se();bc()?Ih():(t=t.parent,Pn(t,!1));let e=t;a0(e)&&l0(),o0();let r=be();return r.firstCreatePass&&(ms(r,t),Dc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&E0(e)&&Rf(r,e,Z(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&_0(e)&&Rf(r,e,Z(),e.stylesWithoutHost,!1),f}function p(t,e,r,n){return u(t,e,r,n),f(),p}var Lw=(t,e,r,n,i,o)=>(ps(!0),rp(n,i,D0()));function Vw(t,e,r,n,i){let o=e.consts,s=gr(o,n),a=hi(e,t,8,"ng-container",s);s!==null&&Yo(a,s,!0);let l=gr(o,i);return Gc(e,r,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function je(t,e,r){let n=Z(),i=be(),o=t+rt,s=i.firstCreatePass?Vw(o,i,n,e,r):i.data[o];Pn(s,!0);let a=jw(i,n,s,t);return n[o]=a,hs()&&ys(i,n,a,s),sn(a,n),us(s)&&(Uc(i,n,s),jc(i,s,n)),r!=null&&Bc(n,s),je}function Ue(){let t=Se(),e=be();return bc()?Ih():(t=t.parent,Pn(t,!1)),e.firstCreatePass&&(ms(e,t),Dc(t)&&e.queries.elementEnd(t)),Ue}var jw=(t,e,r,n)=>(ps(!0),cD(e[pe],""));function oe(){return Z()}var Xo="en-US";var Uw=Xo;function Bw(t){typeof t=="string"&&(Uw=t.toLowerCase().replace(/_/g,"-"))}var $w=(t,e,r)=>{};function A(t,e,r,n){let i=Z(),o=be(),s=Se();return Bp(o,i,i[pe],s,t,e,n),A}function Hw(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function Bp(t,e,r,n,i,o,s){let a=us(n),d=t.firstCreatePass&&wp(t),h=e[nt],m=Cp(e),v=!0;if(n.type&3||s){let O=ot(n,e),T=s?s(O):O,N=m.length,ge=s?ee=>s(Et(ee[n.index])):n.index,re=null;if(!s&&a&&(re=Hw(t,e,i,n.index)),re!==null){let ee=re.__ngLastListenerFn__||re;ee.__ngNextListenerFn__=o,re.__ngLastListenerFn__=o,v=!1}else{o=Ff(n,e,h,o),$w(O,i,o);let ee=r.listen(T,i,o);m.push(o,ee),d&&d.push(i,ge,N,N+1)}}else o=Ff(n,e,h,o);let y=n.outputs,w;if(v&&y!==null&&(w=y[i])){let O=w.length;if(O)for(let T=0;T-1?ln(t.index,e):e;Wc(s,5);let a=Pf(e,r,n,o),l=i.__ngNextListenerFn__;for(;l;)a=Pf(e,r,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function E(t=1){return y0(t)}function St(t,e,r,n,i){let o=Z(),s=Up(o,e,r,n);if(s!==xt){let a=be(),l=fs();Hc(a,l,o,t,s,o[pe],i,!1)}return St}function $p(t,e,r,n){JC(t,e,r,n)}function Hp(t){let e=Z(),r=be(),n=Sh();_c(n+1);let i=Kc(r,n);if(t.dirty&&Xy(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=nw(e,n);t.reset(o,V0),t.notifyOnChanges()}return!0}return!1}function Gp(){return QC(Z(),Sh())}function Is(t){let e=u0();return Jy(e,rt+t)}function c(t,e=""){let r=Z(),n=be(),i=t+rt,o=n.firstCreatePass?hi(n,i,1,e,null):n.data[i],s=Gw(n,r,o,e,t);r[i]=s,hs()&&ys(n,r,s,o),Pn(o,!1)}var Gw=(t,e,r,n,i)=>(ps(!0),aD(e[pe],n));function se(t){return ht("",t,""),se}function ht(t,e,r){let n=Z(),i=Up(n,t,e,r);return i!==xt&&XD(n,Er(),i),ht}function ae(t,e,r){Vp(e)&&(e=e());let n=Z(),i=di();if(Pt(n,i,e)){let o=be(),s=fs();Hc(o,s,n,t,e,n[pe],r,!1)}return ae}function ue(t,e){let r=Vp(t);return r&&t.set(e),r}function le(t,e){let r=Z(),n=be(),i=Se();return Bp(n,r,r[pe],i,t,e),le}function zw(t,e,r){let n=be();if(n.firstCreatePass){let i=on(t);oc(r,n.data,n.blueprint,i,!0),oc(e,n.data,n.blueprint,i,!1)}}function oc(t,e,r,n,i){if(t=Oe(t),Array.isArray(t))for(let o=0;o>20;if(hr(t)||!t.multi){let y=new An(d,i,S),w=ml(l,e,i?h:h+v,m);w===-1?(Al(Ho(a,s),o,l),pl(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(y),s.push(y)):(r[w]=y,s[w]=y)}else{let y=ml(l,e,h+v,m),w=ml(l,e,h,h+v),O=y>=0&&r[y],T=w>=0&&r[w];if(i&&!T||!i&&!O){Al(Ho(a,s),o,l);let N=Zw(i?Ww:qw,r.length,i,n,d);!i&&T&&(r[w].providerFactory=N),pl(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(N),s.push(N)}else{let N=zp(r[i?w:y],d,!i&&n);pl(o,t,y>-1?y:w,N)}!i&&n&&T&&r[w].componentProviders++}}}function pl(t,e,r,n){let i=hr(e),o=Vy(e);if(i||o){let l=(o?Oe(e.useClass):e).prototype.ngOnDestroy;if(l){let d=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let h=d.indexOf(r);h===-1?d.push(r,[n,l]):d[h+1].push(n,l)}else d.push(r,l)}}}function zp(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function ml(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>zw(n,i?i(t):t,e)}}var Yw=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=ah(!1,n.type),o=i.length>0?Es([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=_({token:e,providedIn:"environment",factory:()=>new e(I(Me))});let t=e;return t})();function de(t){pi("NgStandalone"),t.getStandaloneInjector=e=>e.get(Yw).getOrCreateStandaloneInjector(t)}function B(t,e,r){let n=Ec()+t,i=Z();return i[n]===xt?Xc(i,n,r?e.call(r):e()):fw(i,n)}function Ln(t,e,r,n){return Qw(Z(),Ec(),t,e,r,n)}function qp(t,e,r,n,i){return Kw(Z(),Ec(),t,e,r,n,i)}function Wp(t,e){let r=t[e];return r===xt?void 0:r}function Qw(t,e,r,n,i,o){let s=e+r;return Pt(t,s,i)?Xc(t,s+1,o?n.call(o,i):n(i)):Wp(t,s+1)}function Kw(t,e,r,n,i,o,s){let a=e+r;return hw(t,a,i,o)?Xc(t,a+2,s?n.call(s,i,o):n(i,o)):Wp(t,a+2)}var xs=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var eu=new x(""),mi=new x(""),Ss=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,tu||(Jw(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(I(X),I(Ms),I(mi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ms=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return tu?.findTestabilityInTree(this,n,i)??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function Jw(t){tu=t}var tu;function Vn(t){return!!t&&typeof t.then=="function"}function Zp(t){return!!t&&typeof t.subscribe=="function"}var Ts=new x(""),Yp=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=C(Ts,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Vn(s))n.push(s);else if(Zp(s)){let a=new Promise((l,d)=>{s.subscribe({complete:l,error:d})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),As=new x("");function Xw(){Md(()=>{throw new M(600,!1)})}function eb(t){return t.isBoundToModule}var tb=10;function nb(t,e,r){try{let n=r();return Vn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var un=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(zh),this.afterRenderEffectManager=C(Qc),this.zonelessEnabled=C(Np),this.externalTestViews=new Set,this.beforeRender=new Ce,this.afterTick=new Ce,this.componentTypes=[],this.components=[],this.isStable=C(jt).hasPendingTasks.pipe(F(n=>!n)),this._injector=C(Me)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Zo;if(!this._injector.get(Yp).done){let y=!o&&rh(n),w=!1;throw new M(405,w)}let a;o?a=n:a=this._injector.get(yr).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=eb(a)?void 0:this._injector.get(an),d=i||a.selector,h=a.create(it.NULL,[],d,l),m=h.location.nativeElement,v=h.injector.get(eu,null);return v?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),gl(this.components,h),v?.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new M(101,!1);let i=Y(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,Y(i),this.afterTick.next()}}detectChangesInAttachedViews(n){let i=null;this._injector.destroyed||(i=this._injector.get(Dr,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;osi(l))&&(s.execute(),!this.allViews.some(({_lView:l})=>si(l))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;gl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(As,[]);[...this._bootstrapListeners,...i].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>gl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function gl(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function rb(t,e,r,n){if(!r&&!si(t))return;Sp(t,e,r&&!n?0:1)}var ac=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Ns=(()=>{let e=class e{compileModuleSync(n){return new nc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=ih(n),s=np(o.declarations).reduce((a,l)=>{let d=rn(l);return d&&a.push(new Cr(d)),a},[]);return new ac(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ib=(()=>{let e=class e{constructor(){this.zone=C(X),this.changeDetectionScheduler=C(vr),this.applicationRef=C(un)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ob({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new X(ab()),[{provide:X,useFactory:t},{provide:dr,multi:!0,useFactory:()=>{let r=C(ib,{optional:!0});return()=>r.initialize()}},{provide:dr,multi:!0,useFactory:()=>{let r=C(lb);return()=>{r.initialize()}}},{provide:zh,useFactory:sb},e===!0?{provide:Rp,useValue:!0}:[]]}function sb(){let t=C(X),e=C(_t);return r=>t.runOutsideAngular(()=>e.handleError(r))}function ab(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var lb=(()=>{let e=class e{constructor(){this.subscription=new ve,this.initialized=!1,this.zone=C(X),this.pendingTasks=C(jt)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{X.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var cb=(()=>{let e=class e{constructor(){this.appRef=C(un),this.taskService=C(jt),this.ngZone=C(X),this.zonelessEnabled=C(Np),this.disableScheduling=C(Rp,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ve,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof zl||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?If:Op;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&X.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,If(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ub(){return typeof $localize<"u"&&$localize.locale||Xo}var nu=new x("",{providedIn:"root",factory:()=>C(nu,H.Optional|H.SkipSelf)||ub()});var Qp=new x("");var Ro=null;function db(t=[],e){return it.create({name:e,providers:[{provide:as,useValue:"platform"},{provide:Qp,useValue:new Set([()=>Ro=null])},...t]})}function fb(t=[]){if(Ro)return Ro;let e=db(t);return Ro=e,Xw(),hb(e),e}function hb(t){t.get(Ac,null)?.forEach(r=>r())}var dn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=pb;let t=e;return t})();function pb(t){return mb(Se(),Z(),(t&16)===16)}function mb(t,e,r){if(cs(t)&&!r){let n=ln(t.index,e);return new Rn(n,n)}else if(t.type&47){let n=e[bt];return new Rn(n,e)}return null}var lc=class{constructor(){}supports(e){return jp(e)}create(e){return new cc(e)}},gb=(t,e)=>e,cc=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||gb}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new uc(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new es),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new es),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},uc=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},dc=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},es=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new dc,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Lf(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Vf()),deps:[[e,new hc,new os]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new M(901,!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:Vf});let t=e;return t})();var Kp=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(I(un))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();function Jp(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=fb(n),o=[ob({}),{provide:vr,useExisting:cb},...r||[]],a=new Ko({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(X);return l.run(()=>{a.resolveInjectorInitializers();let d=a.get(_t,null),h;l.runOutsideAngular(()=>{h=l.onError.subscribe({next:y=>{d.handleError(y)}})});let m=()=>a.destroy(),v=i.get(Qp);return v.add(m),a.onDestroy(()=>{h.unsubscribe(),v.delete(m)}),nb(d,l,()=>{let y=a.get(Yp);return y.runInitializers(),y.donePromise.then(()=>{let w=a.get(nu,Xo);Bw(w||Xo);let O=a.get(un);return e!==void 0&&O.bootstrap(e),O})})})}catch(e){return Promise.reject(e)}}function Bt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Xp(t){let e=rn(t);if(!e)return null;let r=new Cr(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var K={production:!0,apiBaseUrl:"https://www.palmmedia.de/api/",loginUrl:"https://github.com/login/oauth/authorize",clientId:"ecab9484932b59a12fd4",redirectUri:"/pro",scope:null,paddleEnvironment:null,paddleVendorId:144162,paddleIndividualLicense:762579,paddleTeamLicense:762580,paddleEnterpriseLicense:762581,paddleIndividualLifetimeLicense:833943,paddleTeamLifetimeLicense:833944,paddleEnterpriseLifetimeLicense:833945};var om=null;function Mt(){return om}function sm(t){om??=t}var Rs=class{};var Ee=new x(""),du=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(vb),providedIn:"platform"});let t=e;return t})(),am=new x(""),vb=(()=>{let e=class e extends du{constructor(){super(),this._doc=C(Ee),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Mt().getBaseHref(this._doc)}onPopState(n){let i=Mt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=Mt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function fu(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function em(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function $t(t){return t&&t[0]!=="?"?"?"+t:t}var Ht=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(hu),providedIn:"root"});let t=e;return t})(),lm=new x(""),hu=(()=>{let e=class e extends Ht{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??C(Ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return fu(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+$t(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+$t(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+$t(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(I(du),I(lm,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),cm=(()=>{let e=class e extends Ht{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=fu(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+$t(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+$t(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(I(du),I(lm,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Sr=(()=>{let e=class e{constructor(n){this._subject=new he,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=Cb(em(tm(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+$t(i))}normalize(n){return e.stripTrailingSlash(Db(this._basePath,tm(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+$t(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+$t(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}};e.normalizeQueryParams=$t,e.joinWithSlash=fu,e.stripTrailingSlash=em,e.\u0275fac=function(i){return new(i||e)(I(Ht))},e.\u0275prov=_({token:e,factory:()=>yb(),providedIn:"root"});let t=e;return t})();function yb(){return new Sr(I(Ht))}function Db(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function tm(t){return t.replace(/\/index.html$/,"")}function Cb(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function Os(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var ou=/\s+/,nm=[],Mr=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=nm,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(ou):nm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ou):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(ou).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(S(Ae),S(st))},e.\u0275dir=ne({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var su=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ks=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new su(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let l=i.get(s);i.move(l,a),rm(l,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);rm(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(S(cn),S(On),S(ru))},e.\u0275dir=ne({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function rm(t,e){t.context.$implicit=e.item}var Ps=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new au,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){im("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){im("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(S(cn),S(On))},e.\u0275dir=ne({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),au=class{constructor(){this.$implicit=null,this.ngIf=null}};function im(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ke(e)}'.`)}var um=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})(),pu="browser",wb="server";function bb(t){return t===pu}function Fs(t){return t===wb}var dm=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>bb(C(It))?new lu(C(Ee),window):new cu});let t=e;return t})(),lu=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=Eb(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function Eb(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var cu=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},xr=class{};var vi=class{},Vs=class{},Gt=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var gu=class{encodeKey(e){return hm(e)}encodeValue(e){return hm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function _b(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var Ib=/%(\d[a-f0-9])/gi,xb={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function hm(t){return encodeURIComponent(t).replace(Ib,(e,r)=>xb[r]??e)}function Ls(t){return`${t}`}var hn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new gu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=_b(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(Ls):[Ls(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Ls(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(Ls(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var vu=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function Sb(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function pm(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function mm(t){return typeof Blob<"u"&&t instanceof Blob}function gm(t){return typeof FormData<"u"&&t instanceof FormData}function Mb(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var gi=class t{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(Sb(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Gt,this.context??=new vu,!this.params)this.params=new hn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":av.set(y,e.setHeaders[y]),d)),e.setParams&&(h=Object.keys(e.setParams).reduce((v,y)=>v.set(y,e.setParams[y]),h)),new t(r,n,s,{params:h,headers:d,context:m,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},pn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(pn||{}),yi=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Gt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},js=class t extends yi{constructor(e={}){super(e),this.type=pn.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Di=class t extends yi{constructor(e={}){super(e),this.type=pn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},fn=class extends yi{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},wm=200,Tb=204;function mu(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Ci=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof gi)s=n;else{let d;o.headers instanceof Gt?d=o.headers:d=new Gt(o.headers);let h;o.params&&(o.params instanceof hn?h=o.params:h=new hn({fromObject:o.params})),s=new gi(n,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=R(s).pipe(Nt(d=>this.handler.handle(d)));if(n instanceof gi||o.observe==="events")return a;let l=a.pipe(xe(d=>d instanceof Di));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(F(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return l.pipe(F(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new hn().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,mu(o,i))}post(n,i,o={}){return this.request("POST",n,mu(o,i))}put(n,i,o={}){return this.request("PUT",n,mu(o,i))}};e.\u0275fac=function(i){return new(i||e)(I(vi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ab=/^\)\]\}',?\n/,Nb="X-Request-URL";function vm(t){if(t.url)return t.url;let e=Nb.toLocaleLowerCase();return t.headers.get(e)}var Rb=(()=>{let e=class e{constructor(){this.fetchImpl=C(yu,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=C(X)}handle(n){return new q(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(Du,s=>i.error(new fn({error:s}))),()=>o.abort()})}doRequest(n,i,o){return Kr(this,null,function*(){let s=this.createRequestInit(n),a;try{let w=this.fetchImpl(n.urlWithParams,b({signal:i},s));Ob(w),o.next({type:pn.Sent}),a=yield w}catch(w){o.error(new fn({error:w,status:w.status??0,statusText:w.statusText,url:n.urlWithParams,headers:w.headers}));return}let l=new Gt(a.headers),d=a.statusText,h=vm(a)??n.urlWithParams,m=a.status,v=null;if(n.reportProgress&&o.next(new js({headers:l,status:m,statusText:d,url:h})),a.body){let w=a.headers.get("content-length"),O=[],T=a.body.getReader(),N=0,ge,re,ee=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Kr(this,null,function*(){for(;;){let{done:De,value:Ke}=yield T.read();if(De)break;if(O.push(Ke),N+=Ke.length,n.reportProgress){re=n.responseType==="text"?(re??"")+(ge??=new TextDecoder).decode(Ke,{stream:!0}):void 0;let Wn=()=>o.next({type:pn.DownloadProgress,total:w?+w:void 0,loaded:N,partialText:re});ee?ee.run(Wn):Wn()}}}));let Qe=this.concatChunks(O,N);try{let De=a.headers.get("Content-Type")??"";v=this.parseBody(n,Qe,De)}catch(De){o.error(new fn({error:De,headers:new Gt(a.headers),status:a.status,statusText:a.statusText,url:vm(a)??n.urlWithParams}));return}}m===0&&(m=v?wm:0),m>=200&&m<300?(o.next(new Di({body:v,headers:l,status:m,statusText:d,url:h})),o.complete()):o.error(new fn({error:v,headers:l,status:m,statusText:d,url:h}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(Ab,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(n){let i={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>i[s]=a.join(",")),i.Accept??="application/json, text/plain, */*",!i["Content-Type"]){let s=n.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:i,credentials:o}}concatChunks(n,i){let o=new Uint8Array(i),s=0;for(let a of n)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),yu=class{};function Du(){}function Ob(t){t.then(Du,Du)}function bm(t,e){return e(t)}function kb(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function Pb(t,e,r){return(n,i)=>qe(r,()=>e(n,o=>t(o,i)))}var Fb=new x(""),Cu=new x(""),Lb=new x(""),Em=new x("",{providedIn:"root",factory:()=>!0});function Vb(){let t=null;return(e,r)=>{t===null&&(t=(C(Fb,{optional:!0})??[]).reduceRight(kb,bm));let n=C(jt);if(C(Em)){let o=n.add();return t(e,r).pipe(Jt(()=>n.remove(o)))}else return t(e,r)}}var ym=(()=>{let e=class e extends vi{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=C(jt),this.contributeToStability=C(Em)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Cu),...this.injector.get(Lb,[])]));this.chain=i.reduceRight((o,s)=>Pb(o,s,this.injector),bm)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Jt(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(I(Vs),I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var jb=/^\)\]\}',?\n/;function Ub(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Dm=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new M(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ie(i.\u0275loadImpl()):R(null)).pipe(Le(()=>new q(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((T,N)=>a.setRequestHeader(T,N.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let T=n.detectContentTypeHeader();T!==null&&a.setRequestHeader("Content-Type",T)}if(n.responseType){let T=n.responseType.toLowerCase();a.responseType=T!=="json"?T:"text"}let l=n.serializeBody(),d=null,h=()=>{if(d!==null)return d;let T=a.statusText||"OK",N=new Gt(a.getAllResponseHeaders()),ge=Ub(a)||n.url;return d=new js({headers:N,status:a.status,statusText:T,url:ge}),d},m=()=>{let{headers:T,status:N,statusText:ge,url:re}=h(),ee=null;N!==Tb&&(ee=typeof a.response>"u"?a.responseText:a.response),N===0&&(N=ee?wm:0);let Qe=N>=200&&N<300;if(n.responseType==="json"&&typeof ee=="string"){let De=ee;ee=ee.replace(jb,"");try{ee=ee!==""?JSON.parse(ee):null}catch(Ke){ee=De,Qe&&(Qe=!1,ee={error:Ke,text:ee})}}Qe?(s.next(new Di({body:ee,headers:T,status:N,statusText:ge,url:re||void 0})),s.complete()):s.error(new fn({error:ee,headers:T,status:N,statusText:ge,url:re||void 0}))},v=T=>{let{url:N}=h(),ge=new fn({error:T,status:a.status||0,statusText:a.statusText||"Unknown Error",url:N||void 0});s.error(ge)},y=!1,w=T=>{y||(s.next(h()),y=!0);let N={type:pn.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),n.responseType==="text"&&a.responseText&&(N.partialText=a.responseText),s.next(N)},O=T=>{let N={type:pn.UploadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),s.next(N)};return a.addEventListener("load",m),a.addEventListener("error",v),a.addEventListener("timeout",v),a.addEventListener("abort",v),n.reportProgress&&(a.addEventListener("progress",w),l!==null&&a.upload&&a.upload.addEventListener("progress",O)),a.send(l),s.next({type:pn.Sent}),()=>{a.removeEventListener("error",v),a.removeEventListener("abort",v),a.removeEventListener("load",m),a.removeEventListener("timeout",v),n.reportProgress&&(a.removeEventListener("progress",w),l!==null&&a.upload&&a.upload.removeEventListener("progress",O)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(I(xr))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),_m=new x(""),Bb="XSRF-TOKEN",$b=new x("",{providedIn:"root",factory:()=>Bb}),Hb="X-XSRF-TOKEN",Gb=new x("",{providedIn:"root",factory:()=>Hb}),Us=class{},zb=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Os(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(I(Ee),I(It),I($b))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function qb(t,e){let r=t.url.toLowerCase();if(!C(_m)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=C(Us).getToken(),i=C(Gb);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var Im=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Im||{});function Wb(t,e){return{\u0275kind:t,\u0275providers:e}}function xm(...t){let e=[Ci,Dm,ym,{provide:vi,useExisting:ym},{provide:Vs,useFactory:()=>C(Rb,{optional:!0})??C(Dm)},{provide:Cu,useValue:qb,multi:!0},{provide:_m,useValue:!0},{provide:Us,useClass:zb}];for(let r of t)e.push(...r.\u0275providers);return ss(e)}var Cm=new x("");function Sm(){return Wb(Im.LegacyInterceptors,[{provide:Cm,useFactory:Vb},{provide:Cu,useExisting:Cm,multi:!0}])}var Eu=class extends Rs{constructor(){super(...arguments),this.supportsDOMEvents=!0}},_u=class t extends Eu{static makeCurrent(){sm(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=Zb();return r==null?null:Yb(r)}resetBaseElement(){wi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Os(document.cookie,e)}},wi=null;function Zb(){return wi=wi||document.querySelector("base"),wi?wi.getAttribute("href"):null}function Yb(t){return new URL(t,document.baseURI).pathname}var Iu=class{addToWindow(e){tt.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new M(5103,!1);return o},tt.getAllAngularTestabilities=()=>e.getAllTestabilities(),tt.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=tt.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};tt.frameworkStabilizers||(tt.frameworkStabilizers=[]),tt.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?Mt().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},Qb=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),xu=new x(""),Rm=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new M(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(I(xu),I(X))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Bs=class{constructor(e){this._doc=e}},wu="ng-app-id",Om=(()=>{let e=class e{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Fs(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${wu}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(wu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(wu,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(I(Ee),I(gs),I(Nc,8),I(It))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),bu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Mu=/%COMP%/g,km="%COMP%",Kb=`_nghost-${km}`,Jb=`_ngcontent-${km}`,Xb=!0,eE=new x("",{providedIn:"root",factory:()=>Xb});function tE(t){return Jb.replace(Mu,t)}function nE(t){return Kb.replace(Mu,t)}function Pm(t,e){return e.map(r=>r.replace(Mu,t))}var Tm=(()=>{let e=class e{constructor(n,i,o,s,a,l,d,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=d,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=Fs(l),this.defaultRenderer=new bi(n,a,d,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ct.ShadowDom&&(i=Q(b({},i),{encapsulation:Ct.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof $s?o.applyToHost(n):o instanceof Ei&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(i.encapsulation){case Ct.Emulated:s=new $s(d,h,i,this.appId,m,a,l,v);break;case Ct.ShadowDom:return new Su(d,h,n,i,a,l,this.nonce,v);default:s=new Ei(d,h,i,m,a,l,v);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(I(Rm),I(Om),I(gs),I(eE),I(Ee),I(It),I(X),I(Nc))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),bi=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(bu[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Am(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Am(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new M(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=bu[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=bu[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(kt.DashCase|kt.Important)?e.style.setProperty(r,n,i&kt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&kt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Mt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Am(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Su=class extends bi{constructor(e,r,n,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=Pm(i.id,i.styles);for(let h of d){let m=document.createElement("style");a&&m.setAttribute("nonce",a),m.textContent=h,this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ei=class extends bi{constructor(e,r,n,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?Pm(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},$s=class extends Ei{constructor(e,r,n,i,o,s,a,l){let d=i+"-"+n.id;super(e,r,n,o,s,a,l,d),this.contentAttr=tE(d),this.hostAttr=nE(d)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},rE=(()=>{let e=class e extends Bs{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Nm=["alt","control","meta","shift"],iE={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},oE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},sE=(()=>{let e=class e extends Bs{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Mt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),Nm.forEach(h=>{let m=i.indexOf(h);m>-1&&(i.splice(m,1),a+=h+".")}),a+=s,i.length!=0||s.length===0)return null;let d={};return d.domEventName=o,d.fullKey=a,d}static matchEventFullKeyCode(n,i){let o=iE[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Nm.forEach(a=>{if(a!==o){let l=oE[a];l(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Fm(t,e){return Jp(b({rootComponent:t},aE(e)))}function aE(t){return{appProviders:[...Lm,...t?.providers??[]],platformProviders:dE}}function lE(){_u.makeCurrent()}function cE(){return new _t}function uE(){return Kh(document),document}var dE=[{provide:It,useValue:pu},{provide:Ac,useValue:lE,multi:!0},{provide:Ee,useFactory:uE,deps:[]}];var fE=new x(""),hE=[{provide:mi,useClass:Iu,deps:[]},{provide:eu,useClass:Ss,deps:[X,Ms,mi]},{provide:Ss,useClass:Ss,deps:[X,Ms,mi]}],Lm=[{provide:as,useValue:"root"},{provide:_t,useFactory:cE,deps:[]},{provide:xu,useClass:rE,multi:!0,deps:[Ee,X,It]},{provide:xu,useClass:sE,multi:!0,deps:[Ee]},Tm,Om,Rm,{provide:Dr,useExisting:Tm},{provide:xr,useClass:Qb,deps:[]},[]],Vm=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:gs,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(I(fE,12))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({providers:[...Lm,...hE],imports:[um,Kp]});let t=e;return t})();var jm=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var $="primary",Vi=Symbol("RouteTitle"),Ou=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function kr(t){return new Ou(t)}function mE(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Km(t){return t.length>0?t[t.length-1]:null}function vn(t){return Qa(t)?t:Vn(t)?ie(Promise.resolve(t)):R(t)}var vE={exact:Xm,subset:eg},Jm={exact:yE,subset:DE,ignored:()=>!0};function Um(t,e,r){return vE[r.paths](t.root,e.root,r.matrixParams)&&Jm[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function yE(t,e){return Tt(t,e)}function Xm(t,e,r){if(!Un(t.segments,e.segments)||!zs(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Xm(t.children[n],e.children[n],r))return!1;return!0}function DE(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Qm(t[r],e[r]))}function eg(t,e,r){return tg(t,e,e.segments,r)}function tg(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Un(i,r)||e.hasChildren()||!zs(i,r,n))}else if(t.segments.length===r.length){if(!Un(t.segments,r)||!zs(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!eg(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!Un(t.segments,i)||!zs(t.segments,i,n)||!t.children[$]?!1:tg(t.children[$],e,o,n)}}function zs(t,e,r){return e.every((n,i)=>Jm[r](t[i].parameters,n.parameters))}var mn=class{constructor(e=new J([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=kr(this.queryParams),this._queryParamMap}toString(){return bE.serialize(this)}},J=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qs(this)}},jn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=kr(this.parameters),this._parameterMap}toString(){return rg(this)}};function CE(t,e){return Un(t,e)&&t.every((r,n)=>Tt(r.parameters,e[n].parameters))}function Un(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function wE(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===$&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==$&&(r=r.concat(e(i,n)))}),r}var ji=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new Pr,providedIn:"root"});let t=e;return t})(),Pr=class{parse(e){let r=new Fu(e);return new mn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${_i(e.root,!0)}`,n=IE(e.queryParams),i=typeof e.fragment=="string"?`#${EE(e.fragment)}`:"";return`${r}${n}${i}`}},bE=new Pr;function qs(t){return t.segments.map(e=>rg(e)).join("/")}function _i(t,e){if(!t.hasChildren())return qs(t);if(e){let r=t.children[$]?_i(t.children[$],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&n.push(`${i}:${_i(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=wE(t,(n,i)=>i===$?[_i(t.children[$],!1)]:[`${i}:${_i(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${qs(t)}/${r[0]}`:`${qs(t)}/(${r.join("//")})`}}function ng(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Hs(t){return ng(t).replace(/%3B/gi,";")}function EE(t){return encodeURI(t)}function Pu(t){return ng(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ws(t){return decodeURIComponent(t)}function Bm(t){return Ws(t.replace(/\+/g,"%20"))}function rg(t){return`${Pu(t.path)}${_E(t.parameters)}`}function _E(t){return Object.entries(t).map(([e,r])=>`;${Pu(e)}=${Pu(r)}`).join("")}function IE(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${Hs(r)}=${Hs(i)}`).join("&"):`${Hs(r)}=${Hs(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var xE=/^[^\/()?;#]+/;function Tu(t){let e=t.match(xE);return e?e[0]:""}var SE=/^[^\/()?;=#]+/;function ME(t){let e=t.match(SE);return e?e[0]:""}var TE=/^[^=?&#]+/;function AE(t){let e=t.match(TE);return e?e[0]:""}var NE=/^[^&#]+/;function RE(t){let e=t.match(NE);return e?e[0]:""}var Fu=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[$]=new J(e,r)),n}parseSegment(){let e=Tu(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(e),new jn(Ws(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=ME(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Tu(this.remaining);i&&(n=i,this.capture(n))}e[Ws(r)]=Ws(n)}parseQueryParam(e){let r=AE(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=RE(this.remaining);s&&(n=s,this.capture(n))}let i=Bm(r),o=Bm(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Tu(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new M(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[$]:new J([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new M(4011,!1)}};function ig(t){return t.segments.length>0?new J([],{[$]:t}):t}function og(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=og(i);if(n===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new J(t.segments,e);return OE(r)}function OE(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new J(t.segments.concat(e.segments),e.children)}return t}function Ai(t){return t instanceof mn}function kE(t,e,r=null,n=null){let i=sg(t);return ag(i,e,r,n)}function sg(t){let e;function r(o){let s={};for(let l of o.children){let d=r(l);s[l.outlet]=d}let a=new J(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=ig(n);return e??i}function ag(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Au(i,i,i,r,n);let o=PE(e);if(o.toRoot())return Au(i,i,new J([],{}),r,n);let s=FE(o,i,t),a=s.processChildren?Si(s.segmentGroup,s.index,o.commands):cg(s.segmentGroup,s.index,o.commands);return Au(i,s.segmentGroup,a,r,n)}function Zs(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ni(t){return typeof t=="object"&&t!=null&&t.outlets}function Au(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([l,d])=>{o[l]=Array.isArray(d)?d.map(h=>`${h}`):`${d}`});let s;t===e?s=r:s=lg(t,e,r);let a=ig(og(s));return new mn(a,o,i)}function lg(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=lg(o,e,r)}),new J(t.segments,n)}var Ys=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Zs(n[0]))throw new M(4003,!1);let i=n.find(Ni);if(i&&i!==Km(n))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function PE(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ys(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,d])=>{a[l]=typeof d=="string"?d.split("/"):d}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ys(r,e,n)}var Nr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function FE(t,e,r){if(t.isAbsolute)return new Nr(e,!0,0);if(!r)return new Nr(e,!1,NaN);if(r.parent===null)return new Nr(r,!0,0);let n=Zs(t.commands[0])?0:1,i=r.segments.length-1+n;return LE(r,i,t.numberOfDoubleDots)}function LE(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new M(4005,!1);i=n.segments.length}return new Nr(n,!1,i-o)}function VE(t){return Ni(t[0])?t[0].outlets:{[$]:t}}function cg(t,e,r){if(t??=new J([],{}),t.segments.length===0&&t.hasChildren())return Si(t,e,r);let n=jE(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=Si(t.children[$],e,r);return new J(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=cg(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new J(t.segments,i)}}function jE(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Ni(a))break;let l=`${a}`,d=n0&&l===void 0)break;if(l&&d&&typeof d=="object"&&d.outlets===void 0){if(!Hm(l,d,s))return o;n+=2}else{if(!Hm(l,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Lu(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Lu(new J([],{}),0,n))}),e}function $m(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Hm(t,e,r){return t==r.path&&Tt(e,r.parameters)}var Mi="imperative",_e=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(_e||{}),at=class{constructor(e,r){this.id=e,this.url=r}},Fr=class extends at{constructor(e,r,n="imperative",i=null){super(e,r),this.type=_e.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ye=class extends at{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=_e.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ze=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ze||{}),Qs=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Qs||{}),zt=class extends at{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},gn=class extends at{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationSkipped}},Ri=class extends at{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=_e.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ks=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vu=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ju=class extends at{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=_e.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Uu=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bu=class extends at{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$u=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Hu=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Gu=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zu=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Js=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=_e.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Oi=class{},Lr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var Zu=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new Ui(this.injector),this.attachRef=null}},Ui=(()=>{let e=class e{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Zu(this.parentInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Xs=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Yu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Yu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Qu(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Qu(e,this._root).map(r=>r.value)}};function Yu(t,e){if(t===e.value)return e;for(let r of e.children){let n=Yu(t,r);if(n)return n}return null}function Qu(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Qu(t,r);if(n.length)return n.unshift(e),n}return[]}var We=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Ar(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ea=class extends Xs{constructor(e,r){super(e),this.snapshot=r,od(this,e)}toString(){return this.snapshot.toString()}};function ug(t){let e=BE(t),r=new Ie([new jn("",{})]),n=new Ie({}),i=new Ie({}),o=new Ie({}),s=new Ie(""),a=new qt(r,n,o,s,i,$,t,e.root);return a.snapshot=e.root,new ea(new We(a,[]),e)}function BE(t){let e={},r={},n={},i="",o=new Rr([],e,n,i,r,$,t,null,{});return new na("",new We(o,[]))}var qt=class{constructor(e,r,n,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(F(d=>d[Vi]))??R(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(F(e=>kr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(F(e=>kr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ta(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:b(b({},e.params),t.params),data:b(b({},e.data),t.data),resolve:b(b(b(b({},t.data),e.data),i?.data),t._resolvedData)}:n={params:b({},t.params),data:b({},t.data),resolve:b(b({},t.data),t._resolvedData??{})},i&&fg(i)&&(n.resolve[Vi]=i.title),n}var Rr=class{get title(){return this.data?.[Vi]}constructor(e,r,n,i,o,s,a,l,d){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=kr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=kr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},na=class extends Xs{constructor(e,r){super(r),this.url=e,od(this,r)}toString(){return dg(this._root)}};function od(t,e){e.value._routerState=t,e.children.forEach(r=>od(t,r))}function dg(t){let e=t.children.length>0?` { ${t.children.map(dg).join(", ")} } `:"";return`${t.value}${e}`}function Nu(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Tt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Tt(e.params,r.params)||t.paramsSubject.next(r.params),gE(e.url,r.url)||t.urlSubject.next(r.url),Tt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Ku(t,e){let r=Tt(t.params,e.params)&&CE(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Ku(t.parent,e.parent))}function fg(t){return typeof t.title=="string"||t.title===null}var sd=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=C(Ui),this.location=C(cn),this.changeDetector=C(dn),this.inputBinder=C(aa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new M(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new M(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,d=new Ju(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:d,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Vt]});let t=e;return t})(),Ju=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===qt?this.route:e===Ui?this.childContexts:this.parent.get(e,r)}},aa=new x(""),Gm=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=ei([i.queryParams,i.params,i.data]).pipe(Le(([s,a,l],d)=>(l=b(b(b({},s),a),l),d===0?R(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Xp(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function $E(t,e,r){let n=ki(t,e._root,r?r._root:void 0);return new ea(n,e)}function ki(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=HE(t,e,r);return new We(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ki(t,a)),s}}let n=GE(e.value),i=e.children.map(o=>ki(t,o));return new We(n,i)}}function HE(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return ki(t,n,i);return ki(t,n)})}function GE(t){return new qt(new Ie(t.url),new Ie(t.params),new Ie(t.queryParams),new Ie(t.fragment),new Ie(t.data),t.outlet,t.component,t)}var Pi=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},hg="ngNavigationCancelingError";function ra(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Ai(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=pg(!1,Ze.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function pg(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[hg]=!0,r.cancellationCode=e,r}function zE(t){return mg(t)&&Ai(t.url)}function mg(t){return!!t&&t[hg]}var qE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["ng-component"]],standalone:!0,features:[de],decls:1,vars:0,template:function(i,o){i&1&&p(0,"router-outlet")},dependencies:[sd],encapsulation:2});let t=e;return t})();function WE(t,e){return t.providers&&!t._injector&&(t._injector=Es(t.providers,e,`Route: ${t.path}`)),t._injector??e}function ad(t){let e=t.children&&t.children.map(ad),r=e?Q(b({},t),{children:e}):b({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==$&&(r.component=qE),r}function mt(t){return t.outlet||$}function ZE(t,e){let r=t.filter(n=>mt(n)===e);return r.push(...t.filter(n=>mt(n)!==e)),r}function Bi(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var YE=(t,e,r,n)=>F(i=>(new Xu(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Xu=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Nu(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Ar(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Ar(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=Ar(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=Ar(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Wu(o.value.snapshot))}),e.children.length&&this.forwardEvent(new zu(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Nu(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Nu(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Bi(i.snapshot);s.attachRef=null,s.route=i,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},ia=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Or=class{constructor(e,r){this.component=e,this.route=r}};function QE(t,e,r){let n=t._root,i=e?e._root:null;return Ii(n,i,r,[n.value])}function KE(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function jr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!$f(t)?t:e.get(t):n}function Ii(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ar(e);return t.children.forEach(s=>{JE(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ti(a,r.getContext(s),i)),i}function JE(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=XE(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new ia(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ii(t,e,a?a.children:null,n,i):Ii(t,e,r,n,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Or(a.outlet.component,s))}else s&&Ti(e,a,i),i.canActivateChecks.push(new ia(n)),o.component?Ii(t,null,a?a.children:null,n,i):Ii(t,null,r,n,i);return i}function XE(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Un(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Un(t.url,e.url)||!Tt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ku(t,e)||!Tt(t.queryParams,e.queryParams);case"paramsChange":default:return!Ku(t,e)}}function Ti(t,e,r){let n=Ar(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Ti(s,e.children.getContext(o),r):Ti(s,null,r):Ti(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Or(e.outlet.component,i)):r.canDeactivateChecks.push(new Or(null,i)):r.canDeactivateChecks.push(new Or(null,i))}function $i(t){return typeof t=="function"}function e_(t){return typeof t=="boolean"}function t_(t){return t&&$i(t.canLoad)}function n_(t){return t&&$i(t.canActivate)}function r_(t){return t&&$i(t.canActivateChild)}function i_(t){return t&&$i(t.canDeactivate)}function o_(t){return t&&$i(t.canMatch)}function gg(t){return t instanceof At||t?.name==="EmptyError"}var Gs=Symbol("INITIAL_VALUE");function Vr(){return Le(t=>ei(t.map(e=>e.pipe(Rt(1),tl(Gs)))).pipe(F(e=>{for(let r of e)if(r!==!0){if(r===Gs)return Gs;if(r===!1||s_(r))return r}return!0}),xe(e=>e!==Gs),Rt(1)))}function s_(t){return Ai(t)||t instanceof Pi}function a_(t,e){return fe(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?R(Q(b({},r),{guardsResult:!0})):l_(s,n,i,t).pipe(fe(a=>a&&e_(a)?c_(n,o,t,e):R(a)),F(a=>Q(b({},r),{guardsResult:a})))})}function l_(t,e,r,n){return ie(t).pipe(fe(i=>p_(i.component,i.route,r,e,n)),vt(i=>i!==!0,!0))}function c_(t,e,r,n){return ie(e).pipe(Nt(i=>nr(d_(i.route.parent,n),u_(i.route,n),h_(t,i.path,r),f_(t,i.route,r))),vt(i=>i!==!0,!0))}function u_(t,e){return t!==null&&e&&e(new qu(t)),R(!0)}function d_(t,e){return t!==null&&e&&e(new Gu(t)),R(!0)}function f_(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return R(!0);let i=n.map(o=>wo(()=>{let s=Bi(e)??r,a=jr(o,s),l=n_(a)?a.canActivate(e,t):qe(s,()=>a(e,t));return vn(l).pipe(vt())}));return R(i).pipe(Vr())}function h_(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>KE(s)).filter(s=>s!==null).map(s=>wo(()=>{let a=s.guards.map(l=>{let d=Bi(s.node)??r,h=jr(l,d),m=r_(h)?h.canActivateChild(n,t):qe(d,()=>h(n,t));return vn(m).pipe(vt())});return R(a).pipe(Vr())}));return R(o).pipe(Vr())}function p_(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return R(!0);let s=o.map(a=>{let l=Bi(e)??i,d=jr(a,l),h=i_(d)?d.canDeactivate(t,e,r,n):qe(l,()=>d(t,e,r,n));return vn(h).pipe(vt())});return R(s).pipe(Vr())}function m_(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return R(!0);let o=i.map(s=>{let a=jr(s,t),l=t_(a)?a.canLoad(e,r):qe(t,()=>a(e,r));return vn(l)});return R(o).pipe(Vr(),vg(n))}function vg(t){return qa(we(e=>{if(typeof e!="boolean")throw ra(t,e)}),F(e=>e===!0))}function g_(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return R(!0);let o=i.map(s=>{let a=jr(s,t),l=o_(a)?a.canMatch(e,r):qe(t,()=>a(e,r));return vn(l)});return R(o).pipe(Vr(),vg(n))}var Fi=class{constructor(e){this.segmentGroup=e||null}},Li=class extends Error{constructor(e){super(),this.urlTree=e}};function Tr(t){return tr(new Fi(t))}function v_(t){return tr(new M(4e3,!1))}function y_(t){return tr(pg(!1,Ze.GuardRejected))}var ed=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return R(n);if(i.numberOfChildren>1||!i.children[$])return v_(`${e.redirectTo}`);i=i.children[$]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:l,fragment:d,routeConfig:h,url:m,outlet:v,params:y,data:w,title:O}=i,T=qe(o,()=>a({params:y,data:w,queryParams:l,fragment:d,routeConfig:h,url:m,outlet:v,title:O}));if(T instanceof mn)throw new Li(T);r=T}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Li(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new mn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,i)}),new J(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new M(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},td={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function D_(t,e,r,n,i){let o=ld(t,e,r);return o.matched?(n=WE(e,n),g_(n,e,r,i).pipe(F(s=>s===!0?o:b({},td)))):R(o)}function ld(t,e,r){if(e.path==="**")return C_(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?b({},td):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||mE)(r,t,e);if(!i)return b({},td);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?b(b({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function C_(t){return{matched:!0,parameters:t.length>0?Km(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function zm(t,e,r,n){return r.length>0&&E_(t,r,n)?{segmentGroup:new J(e,b_(n,new J(r,t.children))),slicedSegments:[]}:r.length===0&&__(t,r,n)?{segmentGroup:new J(t.segments,w_(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new J(t.segments,t.children),slicedSegments:r}}function w_(t,e,r,n){let i={};for(let o of r)if(la(t,e,o)&&!n[mt(o)]){let s=new J([],{});i[mt(o)]=s}return b(b({},n),i)}function b_(t,e){let r={};r[$]=e;for(let n of t)if(n.path===""&&mt(n)!==$){let i=new J([],{});r[mt(n)]=i}return r}function E_(t,e,r){return r.some(n=>la(t,e,n)&&mt(n)!==$)}function __(t,e,r){return r.some(n=>la(t,e,n))}function la(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function I_(t,e,r,n){return mt(t)!==n&&(n===$||!la(e,r,t))?!1:ld(e,t,r).matched}function x_(t,e,r){return e.length===0&&!t.children[r]}var nd=class{};function S_(t,e,r,n,i,o,s="emptyOnly"){return new rd(t,e,r,n,i,s,o).recognize()}var M_=31,rd=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new ed(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new M(4002,`'${e.segmentGroup}'`)}recognize(){let e=zm(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(F(({children:r,rootSnapshot:n})=>{let i=new We(n,r),o=new na("",i),s=kE(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new Rr([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,$,r).pipe(F(n=>({children:n,rootSnapshot:r})),Qt(n=>{if(n instanceof Li)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Fi?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(F(s=>s instanceof We?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return ie(o).pipe(Nt(s=>{let a=n.children[s],l=ZE(r,s);return this.processSegmentGroup(e,l,a,s,i)}),el((s,a)=>(s.push(...a),s)),Kt(null),Xa(),fe(s=>{if(s===null)return Tr(n);let a=yg(s);return T_(a),R(a)}))}processSegment(e,r,n,i,o,s,a){return ie(r).pipe(Nt(l=>this.processSegmentAgainstRoute(l._injector??e,r,l,n,i,o,s,a).pipe(Qt(d=>{if(d instanceof Fi)return R(null);throw d}))),vt(l=>!!l),Qt(l=>{if(gg(l))return x_(n,i,o)?R(new nd):Tr(n);throw l}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,l){return I_(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,l):Tr(i):Tr(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:l,parameters:d,consumedSegments:h,positionalParamSegments:m,remainingSegments:v}=ld(r,i,o);if(!l)return Tr(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>M_&&(this.allowRedirects=!1));let y=new Rr(o,d,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,qm(i),mt(i),i.component??i._loadedComponent??null,i,Wm(i)),w=ta(y,a,this.paramsInheritanceStrategy);y.params=Object.freeze(w.params),y.data=Object.freeze(w.data);let O=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,m,y,e);return this.applyRedirects.lineralizeSegments(i,O).pipe(fe(T=>this.processSegment(e,n,r,T.concat(v),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=D_(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Le(l=>l.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Le(({routes:d})=>{let h=n._loadedInjector??e,{parameters:m,consumedSegments:v,remainingSegments:y}=l,w=new Rr(v,m,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,qm(n),mt(n),n.component??n._loadedComponent??null,n,Wm(n)),O=ta(w,s,this.paramsInheritanceStrategy);w.params=Object.freeze(O.params),w.data=Object.freeze(O.data);let{segmentGroup:T,slicedSegments:N}=zm(r,v,y,d);if(N.length===0&&T.hasChildren())return this.processChildren(h,d,T,w).pipe(F(re=>new We(w,re)));if(d.length===0&&N.length===0)return R(new We(w,[]));let ge=mt(n)===o;return this.processSegment(h,d,T,N,ge?$:o,!0,w).pipe(F(re=>new We(w,re instanceof We?[re]:[])))}))):Tr(r)))}getChildConfig(e,r,n){return r.children?R({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?R({routes:r._loadedRoutes,injector:r._loadedInjector}):m_(e,r,n,this.urlSerializer).pipe(fe(i=>i?this.configLoader.loadChildren(e,r).pipe(we(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):y_(r))):R({routes:[],injector:e})}};function T_(t){t.sort((e,r)=>e.value.outlet===$?-1:r.value.outlet===$?1:e.value.outlet.localeCompare(r.value.outlet))}function A_(t){let e=t.value.routeConfig;return e&&e.path===""}function yg(t){let e=[],r=new Set;for(let n of t){if(!A_(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=yg(n.children);e.push(new We(n.value,i))}return e.filter(n=>!r.has(n))}function qm(t){return t.data||{}}function Wm(t){return t.resolve||{}}function N_(t,e,r,n,i,o){return fe(s=>S_(t,e,r,n,s.extractedUrl,i,o).pipe(F(({state:a,tree:l})=>Q(b({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function R_(t,e){return fe(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return R(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let d of Dg(l))s.add(d);let a=0;return ie(s).pipe(Nt(l=>o.has(l)?O_(l,n,t,e):(l.data=ta(l,l.parent,t).resolve,R(void 0))),we(()=>a++),rr(1),fe(l=>a===s.size?R(r):$e))})}function Dg(t){let e=t.children.map(r=>Dg(r)).flat();return[t,...e]}function O_(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!fg(i)&&(o[Vi]=i.title),k_(o,t,e,n).pipe(F(s=>(t._resolvedData=s,t.data=ta(t,t.parent,r).resolve,null)))}function k_(t,e,r,n){let i=ku(t);if(i.length===0)return R({});let o={};return ie(i).pipe(fe(s=>P_(t[s],e,r,n).pipe(vt(),we(a=>{if(a instanceof Pi)throw ra(new Pr,a);o[s]=a}))),rr(1),Ja(o),Qt(s=>gg(s)?$e:tr(s)))}function P_(t,e,r,n){let i=Bi(e)??n,o=jr(t,i),s=o.resolve?o.resolve(e,r):qe(i,()=>o(e,r));return vn(s)}function Ru(t){return Le(e=>{let r=t(e);return r?ie(r).pipe(F(()=>e)):R(e)})}var Cg=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===$);return i}getResolvedTitleForRoute(n){return n.data[Vi]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(F_),providedIn:"root"});let t=e;return t})(),F_=(()=>{let e=class e extends Cg{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(I(jm))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hi=new x("",{providedIn:"root",factory:()=>({})}),oa=new x(""),cd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=C(Ns)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return R(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=vn(n.loadComponent()).pipe(F(wg),we(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Jt(()=>{this.componentLoaders.delete(n)})),o=new er(i,()=>new Ce).pipe(Xn());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return R({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=L_(i,this.compiler,n,this.onLoadEndListener).pipe(Jt(()=>{this.childrenLoaders.delete(i)})),a=new er(s,()=>new Ce).pipe(Xn());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function L_(t,e,r,n){return vn(t.loadChildren()).pipe(F(wg),fe(i=>i instanceof ai||Array.isArray(i)?R(i):ie(e.compileModuleAsync(i))),F(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(oa,[],{optional:!0,self:!0}).flat()),{routes:s.map(ad),injector:o}}))}function V_(t){return t&&typeof t=="object"&&"default"in t}function wg(t){return V_(t)?t.default:t}var ud=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(j_),providedIn:"root"});let t=e;return t})(),j_=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bg=new x(""),Eg=new x("");function U_(t,e,r){let n=t.get(Eg),i=t.get(Ee);return t.get(X).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(d=>setTimeout(d));let o,s=new Promise(d=>{o=d}),a=i.startViewTransition(()=>(o(),B_(t))),{onViewTransitionCreated:l}=n;return l&&qe(t,()=>l({transition:a,from:e,to:r})),s})}function B_(t){return new Promise(e=>{bs(()=>setTimeout(e),{injector:t,phase:en.Read})})}var $_=new x(""),dd=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ce,this.transitionAbortSubject=new Ce,this.configLoader=C(cd),this.environmentInjector=C(Me),this.urlSerializer=C(ji),this.rootContexts=C(Ui),this.location=C(Sr),this.inputBindingEnabled=C(aa,{optional:!0})!==null,this.titleStrategy=C(Cg),this.options=C(Hi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=C(ud),this.createViewTransition=C(bg,{optional:!0}),this.navigationErrorHandler=C($_,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null;let n=o=>this.events.next(new $u(o)),i=o=>this.events.next(new Hu(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(Q(b(b({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Ie({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Mi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(xe(s=>s.id!==0),F(s=>Q(b({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Le(s=>{let a=!1,l=!1;return R(s).pipe(Le(d=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),$e;this.currentTransition=s,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?Q(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=d.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!h&&m!=="reload"){let v="";return this.events.next(new gn(d.id,this.urlSerializer.serialize(d.rawUrl),v,Qs.IgnoredSameUrlNavigation)),d.resolve(!1),$e}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return R(d).pipe(Le(v=>{let y=this.transitions?.getValue();return this.events.next(new Fr(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),y!==this.transitions?.getValue()?$e:Promise.resolve(v)}),N_(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),we(v=>{s.targetSnapshot=v.targetSnapshot,s.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation=Q(b({},this.currentNavigation),{finalUrl:v.urlAfterRedirects});let y=new Ks(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(y)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:v,extractedUrl:y,source:w,restoredState:O,extras:T}=d,N=new Fr(v,this.urlSerializer.serialize(y),w,O);this.events.next(N);let ge=ug(this.rootComponentType).snapshot;return this.currentTransition=s=Q(b({},d),{targetSnapshot:ge,urlAfterRedirects:y,extras:Q(b({},T),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,R(s)}else{let v="";return this.events.next(new gn(d.id,this.urlSerializer.serialize(d.extractedUrl),v,Qs.IgnoredByUrlHandlingStrategy)),d.resolve(!1),$e}}),we(d=>{let h=new Vu(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}),F(d=>(this.currentTransition=s=Q(b({},d),{guards:QE(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),s)),a_(this.environmentInjector,d=>this.events.next(d)),we(d=>{if(s.guardsResult=d.guardsResult,d.guardsResult&&typeof d.guardsResult!="boolean")throw ra(this.urlSerializer,d.guardsResult);let h=new ju(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(h)}),xe(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",Ze.GuardRejected),!1)),Ru(d=>{if(d.guards.canActivateChecks.length)return R(d).pipe(we(h=>{let m=new Uu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),Le(h=>{let m=!1;return R(h).pipe(R_(this.paramsInheritanceStrategy,this.environmentInjector),we({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",Ze.NoDataFromResolver)}}))}),we(h=>{let m=new Bu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),Ru(d=>{let h=m=>{let v=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(m.routeConfig).pipe(we(y=>{m.component=y}),F(()=>{})));for(let y of m.children)v.push(...h(y));return v};return ei(h(d.targetSnapshot.root)).pipe(Kt(null),Rt(1))}),Ru(()=>this.afterPreactivation()),Le(()=>{let{currentSnapshot:d,targetSnapshot:h}=s,m=this.createViewTransition?.(this.environmentInjector,d.root,h.root);return m?ie(m).pipe(F(()=>s)):R(s)}),F(d=>{let h=$E(n.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=s=Q(b({},d),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,s}),we(()=>{this.events.next(new Oi)}),YE(this.rootContexts,n.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Rt(1),we({next:d=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ye(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{a=!0}}),nl(this.transitionAbortSubject.pipe(we(d=>{throw d}))),Jt(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Qt(d=>{if(l=!0,mg(d))this.events.next(new zt(s.id,this.urlSerializer.serialize(s.extractedUrl),d.message,d.cancellationCode)),zE(d)?this.events.next(new Lr(d.url,d.navigationBehaviorOptions)):s.resolve(!1);else{let h=new Ri(s.id,this.urlSerializer.serialize(s.extractedUrl),d,s.targetSnapshot??void 0);try{let m=qe(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof Pi){let{message:v,cancellationCode:y}=ra(this.urlSerializer,m);this.events.next(new zt(s.id,this.urlSerializer.serialize(s.extractedUrl),v,y)),this.events.next(new Lr(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(h);let v=n.errorHandler(d);s.resolve(!!v)}}catch(m){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(m)}}return $e}))}))}cancelNavigationTransition(n,i,o){let s=new zt(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function H_(t){return t!==Mi}var G_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(z_),providedIn:"root"});let t=e;return t})(),id=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},z_=(()=>{let e=class e extends id{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_g=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(q_),providedIn:"root"});let t=e;return t})(),q_=(()=>{let e=class e extends _g{constructor(){super(...arguments),this.location=C(Sr),this.urlSerializer=C(ji),this.options=C(Hi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=C(ud),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new mn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ug(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(i=>{i.type==="popstate"&&n(i.url,i.state)})}handleRouterEvent(n,i){if(n instanceof Fr)this.stateMemento=this.createStateMemento();else if(n instanceof gn)this.rawUrlTree=i.initialUrl;else if(n instanceof Ks){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof Oi?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof zt&&(n.code===Ze.GuardRejected||n.code===Ze.NoDataFromResolver)?this.restoreHistory(i):n instanceof Ri?this.restoreHistory(i,!0):n instanceof Ye&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=b(b({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=b(b({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xi=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(xi||{});function Ig(t,e){t.events.pipe(xe(r=>r instanceof Ye||r instanceof zt||r instanceof Ri||r instanceof gn),F(r=>r instanceof Ye||r instanceof gn?xi.COMPLETE:(r instanceof zt?r.code===Ze.Redirect||r.code===Ze.SupersededByNewNavigation:!1)?xi.REDIRECTING:xi.FAILED),xe(r=>r!==xi.REDIRECTING),Rt(1)).subscribe(()=>{e()})}function W_(t){throw t}var Z_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Y_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},gt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=C(xs),this.stateManager=C(_g),this.options=C(Hi,{optional:!0})||{},this.pendingTasks=C(jt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=C(dd),this.urlSerializer=C(ji),this.location=C(Sr),this.urlHandlingStrategy=C(ud),this._events=new Ce,this.errorHandler=this.options.errorHandler||W_,this.navigated=!1,this.routeReuseStrategy=C(G_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=C(oa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!C(aa,{optional:!0}),this.eventsSubscription=new ve,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof zt&&i.code!==Ze.Redirect&&i.code!==Ze.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ye)this.navigated=!0;else if(i instanceof Lr){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),d=b({info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||H_(o.source)},a);this.scheduleNavigation(l,Mi,null,d,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}K_(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Mi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let d=b({},o);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(s.state=d)}let l=this.parseUrl(n);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(ad),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:d}=i,h=d?this.currentUrlTree.fragment:a,m=null;switch(l){case"merge":m=b(b({},this.currentUrlTree.queryParams),s);break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=s||null}m!==null&&(m=this.removeEmptyProps(m));let v;try{let y=o?o.snapshot:this.routerState.snapshot.root;v=sg(y)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),v=this.currentUrlTree.root}return ag(v,n,m,h??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Ai(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Mi,null,i)}navigate(n,i={skipLocationChange:!1}){return Q_(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=b({},Z_):i===!1?o=b({},Y_):o=i,Ai(n))return Um(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Um(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,d,h;a?(l=a.resolve,d=a.reject,h=a.promise):h=new Promise((v,y)=>{l=v,d=y});let m=this.pendingTasks.add();return Ig(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:d,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(v=>Promise.reject(v))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Q_(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,l){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new Ce,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let d=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=d==="a"||d==="area",this.isAnchorElement?this.subscription=n.events.subscribe(h=>{h instanceof Ye&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,d),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:ep(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(S(gt),S(qt),Mc("tabindex"),S(st),S(Ae),S(Ht))},e.\u0275dir=ne({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&A("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Ut("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Bt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Bt],replaceUrl:[2,"replaceUrl","replaceUrl",Bt],routerLink:"routerLink"},standalone:!0,features:[Jc,Vt]});let t=e;return t})(),xg=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new he,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof Ye&&this.update()})}ngAfterContentInit(){R(this.links.changes,R(null)).pipe(Yt()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=ie(n).pipe(Yt()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let i=J_(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let s=o.urlTree;return s?n.isActive(s,i):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(i){return new(i||e)(S(gt),S(Ae),S(st),S(dn),S(Ne,8))},e.\u0275dir=ne({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&$p(s,Ne,5),i&2){let a;Hp(a=Gp())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Vt]});let t=e;return t})();function J_(t){return!!t.paths}var sa=class{};var X_=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(xe(n=>n instanceof Ye),Nt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Es(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return ie(o).pipe(Yt())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=R(null);let s=o.pipe(fe(a=>a===null?R(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ie([s,a]).pipe(Yt())}else return s})}};e.\u0275fac=function(i){return new(i||e)(I(gt),I(Ns),I(Me),I(sa),I(cd))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Sg=new x(""),eI=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=C(Me),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Fr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ye?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof gn&&n.code===Qs.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Js&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>Kr(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),bs(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Js(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){dp()},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function tI(t){return t.routerState.root}function Gi(t,e){return{\u0275kind:t,\u0275providers:e}}function nI(){let t=C(it);return e=>{let r=t.get(un);if(e!==r.components[0])return;let n=t.get(gt),i=t.get(Mg);t.get(fd)===1&&n.initialNavigation(),t.get(Tg,null,H.Optional)?.setUpPreloading(),t.get(Sg,null,H.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Mg=new x("",{factory:()=>new Ce}),fd=new x("",{providedIn:"root",factory:()=>1});function rI(){return Gi(2,[{provide:fd,useValue:0},{provide:Ts,multi:!0,deps:[it],useFactory:e=>{let r=e.get(am,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(gt),o=e.get(Mg);Ig(i,()=>{n(!0)}),e.get(dd).afterPreactivation=()=>(n(!0),o.closed?R(void 0):o),i.initialNavigation()}))}}])}function iI(){return Gi(3,[{provide:Ts,multi:!0,useFactory:()=>{let e=C(gt);return()=>{e.setUpLocationChangeListener()}}},{provide:fd,useValue:2}])}var Tg=new x("");function oI(t){return Gi(0,[{provide:Tg,useExisting:X_},{provide:sa,useExisting:t}])}function sI(){return Gi(8,[Gm,{provide:aa,useExisting:Gm}])}function aI(t){let e=[{provide:bg,useValue:U_},{provide:Eg,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return Gi(9,e)}var Zm=new x("ROUTER_FORROOT_GUARD"),lI=[Sr,{provide:ji,useClass:Pr},gt,Ui,{provide:qt,useFactory:tI,deps:[gt]},cd,[]],hd=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[lI,[],{provide:oa,multi:!0,useValue:n},{provide:Zm,useFactory:fI,deps:[[gt,new os,new hc]]},{provide:Hi,useValue:i||{}},i?.useHash?uI():dI(),cI(),i?.preloadingStrategy?oI(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?hI(i):[],i?.bindToComponentInputs?sI().\u0275providers:[],i?.enableViewTransitions?aI().\u0275providers:[],pI()]}}static forChild(n){return{ngModule:e,providers:[{provide:oa,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(I(Zm,8))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();function cI(){return{provide:Sg,useFactory:()=>{let t=C(dm),e=C(X),r=C(Hi),n=C(dd),i=C(ji);return r.scrollOffset&&t.setOffset(r.scrollOffset),new eI(i,n,t,e,r)}}}function uI(){return{provide:Ht,useClass:cm}}function dI(){return{provide:Ht,useClass:hu}}function fI(t){return"guarded"}function hI(t){return[t.initialNavigation==="disabled"?iI().\u0275providers:[],t.initialNavigation==="enabledBlocking"?rI().\u0275providers:[]]}var Ym=new x("");function pI(){return[{provide:Ym,useFactory:nI},{provide:As,multi:!0,useExisting:Ym}]}var gI=()=>["/pro"],Ag=(()=>{let e=class e{constructor(){this.years=new Date().getFullYear()-2009}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-footer"]],standalone:!0,features:[de],decls:94,vars:3,consts:[[1,"container-fluid","mt-5"],[1,"p-5"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-4","text-center"],["src","resources/portrait_600.jpg","alt","Portrait",1,"img-fluid","img-thumbnail","mb-5","portrait"],[1,"col-xs-12","col-md-8"],[3,"routerLink"],[1,"fa-solid","fa-heart","githubheart"],["href","https://github.com/sponsors/danielpalme","target","_blank"],[1,"col-md-3","offset-md-2"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ","target","_blank"],[1,"col-md-4","mt-4","mt-md-0"],["href","https://www.nuget.org/packages/ReportGenerator","target","_blank"],["href","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool","target","_blank"],["href","https://www.nuget.org/packages/ReportGenerator.Core","target","_blank"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col-md-3","mt-4","mt-md-0"],[1,"fa-brands","fa-github"],["href","https://twitter.com/danielpalme","target","_blank"],[1,"fa-brands","fa-twitter"],["href","https://www.palmmedia.de/Privacy","target","_blank"],["href","https://www.palmmedia.de/Imprint","target","_blank"]],template:function(i,o){i&1&&(u(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),p(5,"img",5),f(),u(6,"div",6)(7,"h2"),c(8,"Who's behind"),f(),u(9,"p"),c(10,"My name is Daniel Palme. I'm a software developer from Germany."),f(),u(11,"p"),c(12," Back in 2009 I wanted to create code coverage reports based on "),u(13,"i"),c(14,"PartCover"),f(),c(15," files."),p(16,"br"),c(17," Since no existing tool was able to merge several coverage files and generate a visual appealing report, I decided to create my own."),p(18,"br"),c(19),u(20,"i"),c(21,"ReportGenerator"),f(),c(22,". "),f(),u(23,"p"),c(24," You can support the ongoing maintenance by buying a "),u(25,"a",7),c(26,"PRO license"),f(),c(27," or by becoming a "),p(28,"i",8),c(29,"\xA0"),u(30,"a",9),c(31,"GitHub sponsor"),f(),c(32,". "),f()()()()(),u(33,"div",2)(34,"div",3),p(35,"hr"),f()(),u(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),c(42,"GitHub"),f()(),u(43,"a",11),c(44,"Source code"),f(),p(45,"br"),u(46,"a",12),c(47,"Wiki"),f(),p(48,"br"),u(49,"a",13),c(50,"FAQ"),f()(),u(51,"div",14)(52,"p")(53,"b"),c(54,"Download"),f()(),u(55,"i"),c(56,"NuGet"),f(),p(57,"br"),u(58,"a",15),c(59,"ReportGenerator"),f(),p(60,"br"),u(61,"a",16),c(62,"dotnet-reportgenerator-globaltool"),f(),p(63,"br"),u(64,"a",17),c(65,"ReportGenerator.Core"),f(),p(66,"br")(67,"br"),u(68,"i"),c(69,"Integration"),f(),p(70,"br"),u(71,"a",18),c(72,"GitHub actions"),f(),p(73,"br"),u(74,"a",19),c(75,"Azure DevOps"),f()(),u(76,"div",20)(77,"p")(78,"b"),c(79,"Community"),f()(),u(80,"a",11),p(81,"i",21),c(82," GitHub"),f(),p(83,"br"),u(84,"a",22),p(85,"i",23),c(86," Twitter"),f(),p(87,"br")(88,"br"),u(89,"a",24),c(90,"Privacy"),f(),p(91,"br"),u(92,"a",25),c(93,"Imprint"),f()()()()()()),i&2&&(g(19),ht(" Fast forward ",o.years," years, I'm still maintaining "),g(6),D("routerLink",B(2,gI)))},dependencies:[Ne],styles:["footer[_ngcontent-%COMP%]{background-color:#464646}footer[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#fff}.portrait[_ngcontent-%COMP%]{max-height:300px}"]});let t=e;return t})();var Ng=()=>["/"],vI=t=>({show:t}),Ur=()=>["link-active"],Rg=()=>({exact:!0}),yI=()=>["/features"],DI=()=>["/getstarted"],CI=()=>["/usage"],wI=()=>["/contact"],bI=()=>["/pro"],Og=(()=>{let e=class e{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-nav-menu"]],standalone:!0,features:[de],decls:42,vars:34,consts:[[1,"mb-5"],[1,"navbar","fixed-top","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container-xxl","flex-wrap","flex-md-nowrap"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.svg","height","40","alt","Icon",1,"me-2"],[1,"d-sm-none","d-md-none","d-lg-inline","ms-2"],["type","button","data-toggle","collapse","data-target",".navbar-collapse","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],[1,"navbar-collapse","collapse","d-sm-inline-flex",3,"ngClass"],[1,"navbar-nav","flex-grow"],[1,"nav-item",3,"routerLinkActive","routerLinkActiveOptions"],[1,"nav-link","text-dark",3,"routerLink"],[1,"nav-item",3,"routerLinkActive"],[1,"nav-link","text-dark","text-nowrap",3,"routerLink"],[1,"pro-button"],[1,"d-md-none","text-secondary"],[1,"navbar-nav","flex-row","flex-wrap","ms-md-auto","d-sm-none","d-md-flex"],[1,"nav-item","col-6","col-md-auto"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank","title","GitHub",1,"nav-link","text-dark"],[1,"fa-brands","fa-github"],[1,"d-inline","d-sm-none","ms-2"],["href","https://twitter.com/danielpalme","target","_blank","title","Twitter",1,"nav-link","text-dark"],[1,"fa-brands","fa-twitter"]],template:function(i,o){i&1&&(u(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),p(4,"img",4),u(5,"span",5),c(6,"ReportGenerator"),f()(),u(7,"button",6),A("click",function(){return o.toggle()}),p(8,"span",7),f(),u(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),c(13,"Home"),f()(),u(14,"li",10)(15,"a",11),c(16,"Features"),f()(),u(17,"li",12)(18,"a",13),c(19,"Get started"),f()(),u(20,"li",12)(21,"a",11),c(22,"Usage"),f()(),u(23,"li",12)(24,"a",11),c(25,"Contact"),f()(),u(26,"li",12)(27,"a",11)(28,"span",14),c(29,"PRO"),f()()()(),p(30,"hr",15),u(31,"ul",16)(32,"li",17)(33,"a",18),p(34,"i",19),u(35,"span",20),c(36,"GitHub"),f()()(),u(37,"li",17)(38,"a",21),p(39,"i",22),u(40,"span",20),c(41,"Twitter"),f()()()()()()()()),i&2&&(g(3),D("routerLink",B(17,Ng)),g(4),Ut("aria-expanded",o.isExpanded),g(2),D("ngClass",Ln(18,vI,o.isExpanded)),g(2),D("routerLinkActive",B(20,Ur))("routerLinkActiveOptions",B(21,Rg)),g(),D("routerLink",B(22,Ng)),g(2),D("routerLinkActive",B(23,Ur))("routerLinkActiveOptions",B(24,Rg)),g(),D("routerLink",B(25,yI)),g(2),D("routerLinkActive",B(26,Ur)),g(),D("routerLink",B(27,DI)),g(2),D("routerLinkActive",B(28,Ur)),g(),D("routerLink",B(29,CI)),g(2),D("routerLinkActive",B(30,Ur)),g(),D("routerLink",B(31,wI)),g(2),D("routerLinkActive",B(32,Ur)),g(),D("routerLink",B(33,bI)))},dependencies:[Ne,Mr,xg],styles:[".box-shadow[_ngcontent-%COMP%]{box-shadow:0 .25rem .75rem #0000000d}@keyframes _ngcontent-%COMP%_pro-button-animation{0%{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}50%{background-color:vvar(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}to{background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}}.pro-button[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_pro-button-animation;animation-duration:2s;animation-iteration-count:2}.pro-button[_ngcontent-%COMP%]:hover, .link-active[_ngcontent-%COMP%] .pro-button[_ngcontent-%COMP%]{background-color:var(--rg-primary-hover-color);background-image:linear-gradient(50deg,var(--rg-gradient-hover-from) 0%,var(--rg-gradient-hover-from) 100%);box-shadow:0 0 6px 1px var(--rg-primary-color)}.nav-link[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:500}.nav-link[_ngcontent-%COMP%]:hover{text-decoration:underline;text-underline-offset:2px}.link-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--rg-primary-hover-color)!important;font-weight:400}"]});let t=e;return t})();var kg=(()=>{let e=class e{constructor(n,i,o){this.dom=n,this.router=i,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(xe(n=>n instanceof Ye),F(()=>this.activatedRoute),F(n=>{for(;n.firstChild;)n=n.firstChild;return n}),xe(n=>n.outlet==="primary"),fe(n=>n.data)).subscribe(n=>{let i=`${window.location.protocol}//${window.location.hostname}`;n.canonical?this.updateCanonicalUrl(i+n.canonical):this.updateCanonicalUrl(i+this.router.url)})}updateCanonicalUrl(n){let i=this.dom.getElementsByTagName("head")[0];var o=this.dom.querySelector("link[rel='canonical']")||null;o==null&&(o=this.dom.createElement("link"),i.appendChild(o)),o.setAttribute("rel","canonical"),o.setAttribute("href",n)}};e.\u0275fac=function(i){return new(i||e)(S(Ee),S(gt),S(qt))},e.\u0275cmp=ce({type:e,selectors:[["app-root"]],standalone:!0,features:[de],decls:3,vars:0,template:function(i,o){i&1&&p(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[Og,sd,Ag],encapsulation:2});let t=e;return t})();var Hg=(()=>{let e=class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(i){return new(i||e)(S(st),S(Ae))},e.\u0275dir=ne({type:e});let t=e;return t})(),ga=(()=>{let e=class e extends Hg{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,features:[Pe]});let t=e;return t})(),Qi=new x("");var EI={provide:Qi,useExisting:He(()=>yn),multi:!0};function _I(){let t=Mt()?Mt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var II=new x(""),yn=(()=>{let e=class e extends Hg{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!_I())}writeValue(n){let i=n??"";this.setProperty("value",i)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(i){return new(i||e)(S(st),S(Ae),S(II,8))},e.\u0275dir=ne({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&A("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[pt([EI]),Pe]});let t=e;return t})();function gd(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function xI(t){return t!=null&&typeof t.length=="number"}var qr=new x(""),Gg=new x(""),SI=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function MI(t){return gd(t.value)?{required:!0}:null}function TI(t){return gd(t.value)||SI.test(t.value)?null:{email:!0}}function AI(t){return e=>xI(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function NI(t){if(!t)return pd;let e,r;return typeof t=="string"?(r="",t.charAt(0)!=="^"&&(r+="^"),r+=t,t.charAt(t.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),n=>{if(gd(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function pd(t){return null}function zg(t){return t!=null}function qg(t){return Vn(t)?ie(t):t}function Wg(t){let e={};return t.forEach(r=>{e=r!=null?b(b({},e),r):e}),Object.keys(e).length===0?null:e}function Zg(t,e){return e.map(r=>r(t))}function RI(t){return!t.validate}function Yg(t){return t.map(e=>RI(e)?e:r=>e.validate(r))}function OI(t){if(!t)return null;let e=t.filter(zg);return e.length==0?null:function(r){return Wg(Zg(r,e))}}function vd(t){return t!=null?OI(Yg(t)):null}function kI(t){if(!t)return null;let e=t.filter(zg);return e.length==0?null:function(r){let n=Zg(r,e).map(qg);return Ka(n).pipe(F(Wg))}}function yd(t){return t!=null?kI(Yg(t)):null}function Pg(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function PI(t){return t._rawValidators}function FI(t){return t._rawAsyncValidators}function md(t){return t?Array.isArray(t)?t:[t]:[]}function ua(t,e){return Array.isArray(t)?t.includes(e):t===e}function Fg(t,e){let r=md(e);return md(t).forEach(i=>{ua(r,i)||r.push(i)}),r}function Lg(t,e){return md(e).filter(r=>!ua(t,r))}var da=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=vd(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=yd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Hr=class extends da{get formDirective(){return null}get path(){return null}},Gr=class extends da{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},fa=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},LI={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Sk=Q(b({},LI),{"[class.ng-submitted]":"isSubmitted"}),Wr=(()=>{let e=class e extends fa{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(Gr,2))},e.\u0275dir=ne({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&_s("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Pe]});let t=e;return t})(),Zr=(()=>{let e=class e extends fa{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(Hr,10))},e.\u0275dir=ne({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&_s("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Pe]});let t=e;return t})();var zi="VALID",ca="INVALID",Br="PENDING",qi="DISABLED",zr=class{},ha=class extends zr{constructor(e,r){super(),this.value=e,this.source=r}},Zi=class extends zr{constructor(e,r){super(),this.pristine=e,this.source=r}},Yi=class extends zr{constructor(e,r){super(),this.touched=e,this.source=r}},$r=class extends zr{constructor(e,r){super(),this.status=e,this.source=r}};function Qg(t){return(va(t)?t.validators:t)||null}function VI(t){return Array.isArray(t)?vd(t):t||null}function Kg(t,e){return(va(e)?e.asyncValidators:t)||null}function jI(t){return Array.isArray(t)?yd(t):t||null}function va(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function UI(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new M(1e3,"");if(!n[r])throw new M(1001,"")}function BI(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new M(1002,"")})}var pa=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new Ce,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===zi}get invalid(){return this.status===ca}get pending(){return this.status==Br}get disabled(){return this.status===qi}get enabled(){return this.status!==qi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Fg(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Fg(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Lg(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Lg(e,this._rawAsyncValidators))}hasValidator(e){return ua(this._rawValidators,e)}hasAsyncValidator(e){return ua(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(Q(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Yi(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),r&&e.emitEvent!==!1&&this._events.next(new Yi(!1,n))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(Q(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Zi(!1,n))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),r&&e.emitEvent!==!1&&this._events.next(new Zi(!0,n))}markAsPending(e={}){this.status=Br;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new $r(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(Q(b({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=qi,this.errors=null,this._forEachChild(i=>{i.disable(Q(b({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ha(this.value,n)),this._events.next(new $r(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Q(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=zi,this._forEachChild(n=>{n.enable(Q(b({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Q(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zi||this.status===Br)&&this._runAsyncValidator(n,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ha(this.value,r)),this._events.next(new $r(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(Q(b({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?qi:zi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=Br,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=qg(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((n,i)=>n&&n._find(i),this)}getError(e,r){let n=r?this.get(r):this;return n&&n.errors?n.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new $r(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?qi:this.errors?ca:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Br)?Br:this._anyControlsHaveStatus(ca)?ca:zi}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let n=!this._anyControlsDirty(),i=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new Zi(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new Yi(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){va(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=VI(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=jI(this._rawAsyncValidators)}},ma=class extends pa{constructor(e,r,n){super(Qg(r),Kg(n,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,n={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){BI(this,!0,e),Object.keys(e).forEach(n=>{UI(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(n=>{let i=this.controls[n];i&&i.patchValue(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((n,i)=>{n.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,n)=>(e[n]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,n)=>n._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let n=this.controls[r];n&&e(n,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,n]of Object.entries(this.controls))if(this.contains(r)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,n,i)=>((n.enabled||this.disabled)&&(r[i]=n.value),r))}_reduceChildren(e,r){let n=e;return this._forEachChild((i,o)=>{n=r(n,i,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var ya=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Da}),Da="always";function $I(t,e){return[...e.path,t]}function Jg(t,e,r=Da){Xg(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),GI(t,e),qI(t,e),zI(t,e),HI(t,e)}function Vg(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function HI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function Xg(t,e){let r=PI(t);e.validator!==null?t.setValidators(Pg(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=FI(t);e.asyncValidator!==null?t.setAsyncValidators(Pg(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();Vg(e._rawValidators,i),Vg(e._rawAsyncValidators,i)}function GI(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&ev(t,e)})}function zI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&ev(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function ev(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function qI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function WI(t,e){t==null,Xg(t,e)}function ZI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function YI(t){return Object.getPrototypeOf(t.constructor)===ga}function QI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function KI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===yn?r=o:YI(o)?n=o:i=o}),i||n||r||null}var JI={provide:Hr,useExisting:He(()=>Bn)},Wi=Promise.resolve(),Bn=(()=>{let e=class e extends Hr{constructor(n,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new he,this.form=new ma({},vd(n),yd(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Wi.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),Jg(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Wi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Wi.then(()=>{let i=this._findContainer(n.path),o=new ma({});WI(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Wi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){Wi.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,QI(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(i){return new(i||e)(S(qr,10),S(Gg,10),S(ya,8))},e.\u0275dir=ne({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&A("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pt([JI]),Pe]});let t=e;return t})();function jg(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Ug(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var XI=class extends pa{constructor(e=null,r,n){super(Qg(r),Kg(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),va(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Ug(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){jg(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){jg(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Ug(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var ex={provide:Gr,useExisting:He(()=>$n)},Bg=Promise.resolve(),$n=(()=>{let e=class e extends Gr{constructor(n,i,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new XI,this._registered=!1,this.name="",this.update=new he,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=KI(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),ZI(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Jg(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){Bg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&Bt(i);Bg.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?$I(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(S(Hr,9),S(qr,10),S(Gg,10),S(Qi,10),S(dn,8),S(ya,8))},e.\u0275dir=ne({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[pt([ex]),Pe,Vt]});let t=e;return t})(),Yr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var tx={provide:Qi,useExisting:He(()=>Dd),multi:!0};var nx=(()=>{let e=class e{constructor(){this._accessors=[]}add(n,i){this._accessors.push([n,i])}remove(n){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===n){this._accessors.splice(i,1);return}}select(n){this._accessors.forEach(i=>{this._isSameGroup(i,n)&&i[1]!==n&&i[1].fireUncheck(n.value)})}_isSameGroup(n,i){return n[0].control?n[0]._parent===i._control._parent&&n[1].name===i.name:!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Dd=(()=>{let e=class e extends ga{constructor(n,i,o,s){super(n,i),this._registry=o,this._injector=s,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=C(ya,{optional:!0})??Da}ngOnInit(){this._control=this._injector.get(Gr),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(n){this._state=n===this.value,this.setProperty("checked",this._state)}registerOnChange(n){this._fn=n,this.onChange=()=>{n(this.value),this._registry.select(this)}}setDisabledState(n){(this.setDisabledStateFired||n||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",n),this.setDisabledStateFired=!0}fireUncheck(n){this.writeValue(n)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(i){return new(i||e)(S(st),S(Ae),S(nx),S(it))},e.\u0275dir=ne({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[pt([tx]),Pe]});let t=e;return t})();var rx={provide:Qi,useExisting:He(()=>Ca),multi:!0};function tv(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function ix(t){return t.split(":")[0]}var Ca=(()=>{let e=class e extends ga{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i=this._getOptionId(n),o=tv(i,n);this.setProperty("value",o)}registerOnChange(n){this.onChange=i=>{this.value=this._getOptionValue(i),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(let i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),n))return i;return null}_getOptionValue(n){let i=ix(n);return this._optionMap.has(i)?this._optionMap.get(i):n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[pt([rx]),Pe]});let t=e;return t})(),nv=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){this._select!=null&&(this._select._optionMap.set(this.id,n),this._setElementValue(tv(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(Ae),S(st),S(Ca,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),ox={provide:Qi,useExisting:He(()=>rv),multi:!0};function $g(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function sx(t){return t.split(":")[0]}var rv=(()=>{let e=class e extends ga{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(n){this._compareWith=n}writeValue(n){this.value=n;let i;if(Array.isArray(n)){let o=n.map(s=>this._getOptionId(s));i=(s,a)=>{s._setSelected(o.indexOf(a.toString())>-1)}}else i=(o,s)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(n){this.onChange=i=>{let o=[],s=i.selectedOptions;if(s!==void 0){let a=s;for(let l=0;l{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[pt([ox]),Pe]});let t=e;return t})(),iv=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue($g(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue($g(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(Ae),S(st),S(rv,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();function ax(t){return typeof t=="number"?t:parseInt(t,10)}var wa=(()=>{let e=class e{constructor(){this._validator=pd}ngOnChanges(n){if(this.inputName in n){let i=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):pd,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,features:[Vt]});let t=e;return t})();var lx={provide:qr,useExisting:He(()=>Hn),multi:!0};var Hn=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Bt,this.createValidator=n=>MI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){i&2&&Ut("required",o._enabled?"":null)},inputs:{required:"required"},features:[pt([lx]),Pe]});let t=e;return t})();var cx={provide:qr,useExisting:He(()=>Ki),multi:!0},Ki=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Bt,this.createValidator=n=>TI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[pt([cx]),Pe]});let t=e;return t})();var ux={provide:qr,useExisting:He(()=>Cd),multi:!0},Cd=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>ax(n),this.createValidator=n=>AI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ut("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[pt([ux]),Pe]});let t=e;return t})(),dx={provide:qr,useExisting:He(()=>wd),multi:!0},wd=(()=>{let e=class e extends wa{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>NI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ft(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Ut("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[pt([dx]),Pe]});let t=e;return t})();var fx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();var Dn=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:ya,useValue:n.callSetDisabledState??Da}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({imports:[fx]});let t=e;return t})();var ba=class{constructor(){this.name="",this.email="",this.message=""}};var Ea=(()=>{let e=class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${K.apiBaseUrl}contact`,n)}};e.\u0275fac=function(i){return new(i||e)(I(Ci))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function px(t,e){if(t&1){let r=oe();u(0,"form",5,0),A("ngSubmit",function(){L(r);let i=E();return V(i.submit())}),u(2,"div",6)(3,"label",7),c(4,"Name "),u(5,"span",8),c(6,"*"),f()(),u(7,"input",9),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.name,i)||(o.contactViewModel.name=i),V(i)}),f()(),u(8,"div",6)(9,"label",10),c(10,"Email address "),u(11,"span",8),c(12,"*"),f()(),u(13,"input",11),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.email,i)||(o.contactViewModel.email=i),V(i)}),f()(),u(14,"div",6)(15,"label",12),c(16,"Message "),u(17,"span",8),c(18,"*"),f()(),u(19,"textarea",13),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.message,i)||(o.contactViewModel.message=i),V(i)}),f()(),u(20,"button",14),c(21,"Submit"),f()()}if(t&2){let r=Is(1),n=E();g(7),ae("ngModel",n.contactViewModel.name),g(6),ae("ngModel",n.contactViewModel.email),g(6),ae("ngModel",n.contactViewModel.message),g(),D("disabled",!r.valid||n.enableFormCountDown>0)}}function mx(t,e){t&1&&(u(0,"p"),c(1,"Thanks for your message."),f())}function gx(t,e){t&1&&(u(0,"p",4),c(1,"Something went wrong. Please try again later."),f())}var ov=(()=>{let e=class e{constructor(n){this.contactService=n,this.contactViewModel=new ba,this.success=!1,this.error=!1,this.enableFormCountDown=100,this.intervalId=null}ngOnInit(){this.intervalId=setInterval(()=>{this.enableFormCountDown-=1,this.enableFormCountDown===0&&clearInterval(this.intervalId)},50)}ngOnDestroy(){this.intervalId&&clearInterval(this.intervalId)}submit(){this.contactService.postContactForm(this.contactViewModel).subscribe({next:n=>{console.log("Submitted form"),this.success=!0},error:n=>{console.error(n),this.error=!0},complete:()=>console.info("complete")})}};e.\u0275fac=function(i){return new(i||e)(S(Ea))},e.\u0275cmp=ce({type:e,selectors:[["app-contact-component"]],standalone:!0,features:[de],decls:6,vars:3,consts:[["contactForm","ngForm"],[1,"container"],[1,"mb-4"],["method","post"],[1,"text-danger"],["method","post",3,"ngSubmit"],[1,"mb-3"],["for","Name"],[1,"required"],["type","text","id","Name","name","Name","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Email"],["type","email","id","Email","name","Email","email","","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Message"],["rows","7","id","Message","name","Message","required","",1,"form-control",3,"ngModelChange","ngModel"],["type","submit",1,"btn","btn-primary",3,"disabled"]],template:function(i,o){i&1&&(u(0,"div",1)(1,"h1",2),c(2,"Contact"),f(),P(3,px,22,4,"form",3)(4,mx,2,0,"p")(5,gx,2,0,"p",4),f()),i&2&&(g(3),Fn(!o.success&&!o.error?3:-1),g(),Fn(o.success?4:-1),g(),Fn(o.error?5:-1))},dependencies:[Dn,Yr,yn,Wr,Zr,Hn,Ki,$n,Bn]});let t=e;return t})();var sv=()=>["/pro"],av=(()=>{let e=class e{scrollToAnchor(n){return document.querySelector(n)?.scrollIntoView(!0),!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-features-component"]],standalone:!0,features:[de],decls:157,vars:4,consts:[[1,"container"],[1,"mb-4"],["id","coveragequota"],[1,"pro-text"],["href","https://en.wikipedia.org/wiki/Code_coverage","target","_blank"],[1,"fa-solid","fa-arrow-up-right-from-square"],[3,"routerLink"],[1,"pro-button","pro-button-tiny"],["loading","lazy","srcset","resources/features/quota@1x.webp 1x, resources/features/quota@2x.webp 2x","src","resources/features/quota1x.webp","alt","Coverage quotas",1,"img-fluid"],["id","coveragehistory",1,"mt-5"],["loading","lazy","srcset","resources/features/history@1x.webp 1x, resources/features/history@2x.webp 2x","src","resources/features/history@1x.webp","alt","Coverage history",1,"img-fluid"],["id","summary",1,"mt-5"],["loading","lazy","srcset","resources/features/summary@1x.webp 1x, resources/features/summary@2x.webp 2x","src","resources/features/summary.webp","alt","Summary table / Overview",1,"img-fluid"],["id","details",1,"mt-5"],["loading","lazy","srcset","resources/features/details@1x.webp 1x, resources/features/details@2x.webp 2x","src","resources/features/details.webp","alt","Details",1,"img-fluid"],["id","metrics",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ#which-coverage-tool-supports-which-features-in-the-html-report","target","_blank"],["href","",3,"click"],["loading","lazy","srcset","resources/features/metrics_details@1x.webp 1x, resources/features/metrics_details@2x.webp 2x","src","resources/features/metrics_details.webp","alt","Metrics - Details",1,"img-fluid"],["loading","lazy","srcset","resources/features/metrics_summary@1x.webp 1x, resources/features/metrics_summary@2x.webp 2x","src","resources/features/metrics_summary.webp","alt","Metrics - Summary",1,"img-fluid"],["id","riskhotspots",1,"mt-5"],["href","https://en.wikipedia.org/wiki/Cyclomatic_complexity","target","_blank"],["href","https://modess.io/npath-complexity-cyclomatic-complexity-explained","target","_blank"],["href","https://testing.googleblog.com/2011/02/this-code-is-crap.html","target","_blank"],["loading","lazy","srcset","resources/features/riskhotspots@1x.webp 1x, resources/features/riskhotspots@2x.webp 2x","src","resources/features/riskhotspots.webp","alt","Risk Hotspots",1,"img-fluid"],["id","rawmode",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Settings#other-settings","target","_blank"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),c(2,"Features"),f(),u(3,"h2",2),c(4,"Coverage quotas"),f(),u(5,"p"),c(6," The overiew cards provide a quick "),u(7,"span",3),c(8,"overview"),f(),c(9," of your coverage quotas."),p(10,"br"),c(11," You can use them to get a glimpse into the different "),u(12,"a",4),c(13,"coverage metrics"),f(),c(14,"\xA0"),u(15,"a",4),p(16,"i",5),f(),c(17,": "),f(),u(18,"ul")(19,"li"),c(20,"Line coverage"),f(),u(21,"li"),c(22,"Branch coverage"),f(),u(23,"li"),c(24,"Method coverage "),u(25,"a",6)(26,"span",7),c(27,"PRO"),f()()()(),p(28,"img",8)(29,"br"),u(30,"h2",9),c(31,"Coverage history"),f(),u(32,"p"),c(33," The history chart helps you to understand how your coverage quotas are "),u(34,"span",3),c(35,"evolving over time"),f(),c(36,". "),f(),p(37,"img",10)(38,"br"),u(39,"h2",11),c(40,"Summary table / Overview"),f(),u(41,"p"),c(42," The summary table helps you to identify classes with "),u(43,"span",3),c(44,"low test coverage"),f(),c(45,"."),p(46,"br"),c(47," The table offers various "),u(48,"span",3),c(49,"filter and sorting"),f(),c(50," options for quick navigation. "),f(),p(51,"img",12)(52,"br"),u(53,"h2",13),c(54,"Details page"),f(),u(55,"p"),c(56," The details page visualizes your "),u(57,"span",3),c(58,"line and branch coverage"),f(),c(59,". "),f(),u(60,"ul")(61,"li"),c(62,"Colors indicate the coverage status of each line."),f(),u(63,"li"),c(64,"Branch indicators help you to identity uncovered conditions."),f()(),p(65,"img",14)(66,"br"),u(67,"h2",15),c(68,"Metrics"),f(),u(69,"p"),c(70," Depending on your "),u(71,"a",16),c(72,"coverage tool"),f(),c(73,", metrics are provided to get further insigths in your "),u(74,"span",3),c(75,"code quality"),f(),c(76,". "),f(),u(77,"ul")(78,"li"),c(79,"The "),u(80,"a",17),A("click",function(){return o.scrollToAnchor("#details")}),c(81,"details page"),f(),c(82," contains information about the metrics of all methods of a class."),f(),u(83,"li"),c(84,"The "),u(85,"a",17),A("click",function(){return o.scrollToAnchor("#summary")}),c(86,"summary table"),f(),c(87," shows the lowest metrics of all methods of a class "),u(88,"a",6)(89,"span",7),c(90,"PRO"),f()()()(),u(91,"b"),c(92,"Details page"),f(),p(93,"br")(94,"img",18)(95,"br")(96,"br"),u(97,"b"),c(98,"Summary table"),f(),p(99,"br")(100,"img",19)(101,"br"),u(102,"h2",20),c(103,"Risk Hotspots"),f(),u(104,"p"),c(105," Based on the "),u(106,"a",17),A("click",function(){return o.scrollToAnchor("#metrics")}),c(107,"metrics"),f(),c(108," you get a list of potential risk hotspots."),p(109,"br"),c(110," The following metrics are analyzed if available, the warning thresholds are configurable: "),f(),u(111,"ul")(112,"li")(113,"a",21),c(114,"Cyclomatic complexity"),f(),c(115,"\xA0"),u(116,"a",21),p(117,"i",5),f()(),u(118,"li")(119,"a",22),c(120,"NPath complexity"),f(),c(121,"\xA0"),u(122,"a",22),p(123,"i",5),f()(),u(124,"li")(125,"a",23),c(126,"Crap score"),f(),c(127,"\xA0"),u(128,"a",23),p(129,"i",5),f()()(),p(130,"img",24),u(131,"h2",25),c(132,"Raw mode (for "),u(133,"i"),c(134,"Cobertura"),f(),c(135,") "),u(136,"span",7),c(137,"PRO"),f()(),u(138,"p"),c(139,' With "raw mode" (settings:rawMode=true) you can disable that coverage data of nested or compiler generated classes is included in the parent class.'),p(140,"br"),c(141," This is useful to merge several "),u(142,"i"),c(143,"Cobertura"),f(),c(144," files into a single file, since the original class structure remains untouched. "),f(),u(145,"p"),c(146,"See "),u(147,"a",26),c(148,"Settings"),f(),c(149,"\xA0"),u(150,"a",26),p(151,"i",5),f()(),u(152,"p"),c(153,"Limitation: Raw mode is currently only supported for "),u(154,"i"),c(155,"Cobertura"),f(),c(156," files."),f()()),i&2&&(g(25),D("routerLink",B(2,sv)),g(63),D("routerLink",B(3,sv)))},dependencies:[Ne]});let t=e;return t})();var Re={dotnetSDKVersion:"8.x",majorVersion:"5",version:"5.3.5"};var vx=()=>["/usage"],lv=(()=>{let e=class e{constructor(){this.versions=Re}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-getstarted"]],standalone:!0,features:[de],decls:75,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net",1,"mt-5"],["href","https://github.com/microsoft/codecoverage"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java",1,"mt-5"],["href","https://github.com/jacoco/jacoco"],["id","nodejs",1,"mt-5"],["href","https://github.com/istanbuljs/nyc"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),c(2,"Get started"),f(),u(3,"h2"),c(4,"General"),f(),u(5,"p"),c(6,"In general you need a tool that instruments your test code and collects coverage information."),p(7,"br"),c(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),p(9,"br"),u(10,"em"),c(11,"ReportGenerator"),f(),c(12," uses this file and generates a report in HTML format (other formats are available)."),f(),u(13,"p"),c(14,"Use the online "),u(15,"a",2),c(16,"configuration tool"),f(),c(17," to get started quickly."),f(),u(18,"h2",3),c(19,".NET"),f(),u(20,"p"),c(21,"For .NET you can use "),u(22,"a",4),c(23,"Microsoft CodeCoverage"),f(),c(24,", "),u(25,"a",5),c(26,"coverlet"),f(),c(27," or "),u(28,"a",6),c(29,"altcover"),f(),c(30," for instrumenting your test code."),f(),u(31,"p"),c(32,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),f(),u(33,"p")(34,"strong"),c(35,"Add dependencies to your "),u(36,"code"),c(37,"*.csproj"),f(),c(38," file:"),f()(),u(39,"pre",7),c(40),f(),u(41,"p")(42,"strong"),c(43,"Execute tests and create coverage report"),f()(),u(44,"pre",7),c(45),f(),u(46,"h2",8),c(47,"Java"),f(),u(48,"p"),c(49,"For Java you can use "),u(50,"a",9),c(51,"JaCoCo"),f(),c(52,` for instrumenting your test code. +After adding JaCoCo to your project (here with Maven), you can execute your tests and generate the coverage report.`),f(),u(53,"p")(54,"strong"),c(55,"Add dependencies to your "),u(56,"code"),c(57,"pom.xml"),f(),c(58," file:"),f()(),u(59,"pre",7),c(60,` + + + + org.jacoco + jacoco-maven-plugin + 0.8.6 + + + + prepare-agent + + + + report + prepare-package + + report + + + + + + + + + + org.jacoco + jacoco-maven-plugin + + + + report + + + + + + + +`),f(),u(61,"p")(62,"strong"),c(63,"Execute tests and create coverage report"),f()(),u(64,"pre",7),c(65),f(),u(66,"h2",10),c(67,"NodeJS"),f(),u(68,"p"),c(69,"For NodeJS you can use "),u(70,"a",11),c(71,"Istanbul"),f(),c(72,` for instrumenting your test code. +After installing Istanbul, you can execute your tests and generate the coverage report.`),f(),u(73,"pre",7),c(74),f()()),i&2&&(g(15),D("routerLink",B(5,vx)),g(25),ht(` + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + all + runtime; build; native; contentfiles; analyzers + + +`),g(5),ht(`dotnet test --collect:"XPlat Code Coverage" +"%UserProfile%\\.nuget\\packages\\reportgenerator\\`,o.versions.version,`\\tools\\net8.0\\ReportGenerator.exe" -reports:*\\TestResults\\*\\coverage.cobertura.xml -targetdir:coveragereport +`),g(20),ht(`mvn test jacoco:report + +dotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version `,o.versions.version,` +tools\\reportgenerator -reports:target\\site\\jacoco\\jacoco.xml -targetdir:coveragereport -sourcedirs:src\\main\\java +`),g(9),ht(`npm i nyc --save-dev +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 _a=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-testimonials"]],standalone:!0,features:[de],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",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/blob/mainline/aws-encryption-sdk-net/README.md","target","_blank",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),c(3,"Code coverage reports trusted by"),f(),u(4,"div",3)(5,"div",4),p(6,"i",5)(7,"br"),u(8,"a",6),c(9,".NET Runtime"),f()(),u(10,"div",4),p(11,"i",7)(12,"br"),u(13,"a",8),c(14,"Google Cloud"),f()(),u(15,"div",4),p(16,"i",9)(17,"br"),u(18,"a",10),c(19,"AWS Encryption SDK"),f()(),u(20,"div",11),p(21,"i",12)(22,"br"),u(23,"a",13),c(24,"Many more"),f()()(),u(25,"div",3)(26,"div",4)(27,"a",14),p(28,"i",15),c(29," Over 90 million downloads on Nuget"),f()()()()())},encapsulation:2});let t=e;return t})();var yx=()=>["/pro"],Dx=()=>["/usage"],Cx=()=>["/getstarted"],wx=()=>["/features"],cv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-home"]],standalone:!0,features:[de],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),f(),u(4,"div",4)(5,"h1"),c(6,"ReportGenerator"),f(),u(7,"h2",5),c(8,"Powerful code coverage visualization"),f(),u(9,"div",6),c(10,"\xA0"),f(),u(11,"div",7)(12,"p")(13,"i"),c(14,"ReportGenerator"),f(),c(15," converts "),u(16,"span",8),c(17,"coverage reports"),f(),c(18," generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into "),u(19,"span",8),c(20,"human readable reports in various formats"),f(),c(21,"."),f(),u(22,"p"),c(23,"The reports show the "),u(24,"span",8),c(25,"coverage quotas"),f(),c(26," and also visualize which lines of your source code have been covered."),f(),u(27,"p")(28,"a",9),p(29,"i",10),c(30," Browse example report"),f()()()()(),u(31,"div",11)(32,"div",12)(33,"div",13),p(34,"i",14),f(),u(35,"span",15),c(36,"Open source"),f(),u(37,"p",16)(38,"i"),c(39,"ReportGenerator"),f(),c(40," is open source under the permissive Apache License."),f(),u(41,"p"),c(42,"It's free to use."),p(43,"br"),c(44,"The "),u(45,"a",17),c(46,"PRO"),f(),c(47," version offers additional features."),f()(),u(48,"div",18)(49,"div",13),p(50,"i",19),f(),u(51,"span",15),c(52,"Easy to use"),f(),u(53,"p",16)(54,"i"),c(55,"ReportGenerator"),f(),c(56," is a command line tool which only requires a "),u(57,"a",17),c(58,"few parameters"),f(),c(59,"."),f(),u(60,"p"),c(61,"The more advanced settings are documented in the "),u(62,"a",20),c(63,"wiki"),f(),c(64,"."),f(),u(65,"p")(66,"a",21),c(67,"Integration"),f(),c(68," into your build pipeline will only take a couple of minutes."),f()(),u(69,"div",18)(70,"div",13),p(71,"i",22),f(),u(72,"span",15),c(73,"Integration"),f(),u(74,"p",16)(75,"i"),c(76,"ReportGenerator"),f(),c(77," works on Windows, Linux and macOS."),f(),u(78,"p"),c(79,"Support for "),u(80,"a",23),c(81,"GitHub actions"),f(),c(82," and "),u(83,"a",24),c(84,"Azure DevOps"),f(),c(85," is available."),f()()(),u(86,"div",11)(87,"div",25)(88,"a",26),p(89,"i",27),c(90," Learn how to use"),f(),u(91,"a",28),p(92,"i",29),c(93," GitHub"),f()()()(),p(94,"app-testimonials"),u(95,"section",30)(96,"div",0)(97,"h2"),c(98,"Screenshots"),f(),u(99,"p"),c(100,"The screenshots show two snippets of the generated code coverage reports."),f(),u(101,"p"),c(102," Have a look the "),u(103,"a",17),c(104,"features page"),f(),c(105," to explore the elements in a coverage report or "),u(106,"a",31),c(107,"browse the example report"),f(),c(108,". "),p(109,"br"),c(110," You can also download "),u(111,"a",32),c(112,"sample reports"),f(),c(113," of all supported output formats."),f(),u(114,"div",1)(115,"div",33)(116,"a",34),p(117,"img",35),f()(),u(118,"div",36)(119,"a",37),p(120,"img",38),f()()()()()),i&2&&(g(45),D("routerLink",B(4,yx)),g(12),D("routerLink",B(5,Dx)),g(31),D("routerLink",B(6,Cx)),g(15),D("routerLink",B(7,wx)))},dependencies:[Ne,_a],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 uv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-not-found"]],standalone:!0,features:[de],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),c(2,"Not found"),f(),p(3,"i",2),c(4,` The requested page does not exist. +`),f())}});let t=e;return t})();var Ji=class{constructor(){this.error=null,this.licenses=[]}};var Ia=class{constructor(){this.error=null,this.isSponsor=!1,this.license=null}};var xa=(()=>{let e=class e{initCodeFlow(){let n=this.createAndSaveNonce(),i=K.scope!==null?`&scope=${K.scope}`:"",o=`${K.loginUrl}?response_type=code&client_id=${K.clientId}&state=${n}&redirect_uri=${window.location.origin}${K.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 l=new Uint8Array(i);s.getRandomValues(l),l.map||(l.map=Array.prototype.map);let d=[];for(var a=0;a0&&(h=decodeURIComponent(l),m=decodeURIComponent(d),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 Sa=(()=>{let e=class e{constructor(n){this.httpClient=n}getLicense(n){return this.httpClient.get(`${K.apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(n)}`)}getTrialLicense(n){return this.httpClient.post(`${K.apiBaseUrl}reportgenerator/triallicense`,n)}getPaddleLicense(n){return this.httpClient.post(`${K.apiBaseUrl}reportgenerator/paddlelicense`,n)}};e.\u0275fac=function(i){return new(i||e)(I(Ci))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var dv=(()=>{let e=class e{constructor(){this.isActive=!1,this.isActive=new Date["/features"],Ed=()=>["/contact"],fv=t=>({active:t});function Ix(t,e){if(t&1){let r=oe();u(0,"span",71)(1,"span",72),A("click",function(){L(r);let i=E();return V(i.lifetimeLicense=!1)}),p(2,"i",73),c(3," Annual subscription"),f(),u(4,"span",72),A("click",function(){L(r);let i=E();return V(i.lifetimeLicense=!0)}),p(5,"i",74),c(6," Lifetime license"),f()()}if(t&2){let r=E();g(),D("ngClass",Ln(2,fv,!r.lifetimeLicense)),g(3),D("ngClass",Ln(4,fv,r.lifetimeLicense))}}function xx(t,e){if(t&1){let r=oe();u(0,"button",94),A("click",function(){L(r);let i=E(2);return V(i.requestTrial())}),p(1,"i",33),c(2," Start trial"),f()}if(t&2){let r=E(2);D("disabled",r.trialDisabled)}}function Sx(t,e){t&1&&(u(0,"button",95),c(1,"Coming soon"),f())}function Mx(t,e){t&1&&(je(0),p(1,"i",73),c(2," Annual subscription"),Ue())}function Tx(t,e){t&1&&(je(0),p(1,"i",74),c(2," Lifetime license"),Ue())}function Ax(t,e){if(t&1){let r=oe();u(0,"button",96),A("click",function(){L(r);let i=E(2);return V(i.openPaddleCheckout("individual"))}),p(1,"i",97),c(2," Buy now"),f()}}function Nx(t,e){t&1&&(u(0,"button",95),c(1,"Coming soon"),f())}function Rx(t,e){t&1&&(je(0),p(1,"i",73),c(2," Annual subscription"),Ue())}function Ox(t,e){t&1&&(je(0),p(1,"i",74),c(2," Lifetime license"),Ue())}function kx(t,e){if(t&1){let r=oe();u(0,"button",96),A("click",function(){L(r);let i=E(2);return V(i.openPaddleCheckout("team"))}),p(1,"i",97),c(2," Buy now"),f()}}function Px(t,e){t&1&&(u(0,"button",95),c(1,"Coming soon"),f())}function Fx(t,e){t&1&&(je(0),p(1,"i",73),c(2," Annual subscription"),Ue())}function Lx(t,e){t&1&&(je(0),p(1,"i",74),c(2," Lifetime license"),Ue())}function Vx(t,e){if(t&1){let r=oe();u(0,"button",96),A("click",function(){L(r);let i=E(2);return V(i.openPaddleCheckout("enterprise"))}),p(1,"i",97),c(2," Buy now"),f()}}function jx(t,e){t&1&&(u(0,"button",95),c(1,"Coming soon"),f())}function Ux(t,e){if(t&1&&(u(0,"div",3)(1,"div",75)(2,"div",76),p(3,"img",77),u(4,"h4",78),c(5,"Free"),p(6,"br"),c(7,"Trial"),f(),u(8,"p"),p(9,"i",79),c(10," Get full access"),p(11,"br")(12,"i",80),c(13," 10 day trial period "),f(),P(14,xx,3,1,"button",81)(15,Sx,2,0,"button",82),f()(),u(16,"div",83)(17,"div",84),p(18,"img",85),u(19,"h4",78),c(20,"Individual"),p(21,"br"),c(22),f(),u(23,"p"),p(24,"i",86),c(25," Per developer license."),p(26,"br"),P(27,Mx,3,0,"ng-container",26)(28,Tx,3,0,"ng-container",26),f(),P(29,Ax,3,0,"button",87)(30,Nx,2,0,"button",82),f()(),u(31,"div",88)(32,"div",84),p(33,"img",89),u(34,"h4",78),c(35,"Team"),p(36,"br"),c(37),f(),u(38,"p"),p(39,"i",90),c(40," Up to 10 developers."),p(41,"br"),P(42,Rx,3,0,"ng-container",26)(43,Ox,3,0,"ng-container",26),f(),P(44,kx,3,0,"button",87)(45,Px,2,0,"button",82),f()(),u(46,"div",91)(47,"div",84),p(48,"img",92),u(49,"h4",78),c(50,"Enterprise"),p(51,"br"),c(52),f(),u(53,"p"),p(54,"i",93),c(55," Unlimited developers."),p(56,"br"),P(57,Fx,3,0,"ng-container",26)(58,Lx,3,0,"ng-container",26),f(),P(59,Vx,3,0,"button",87)(60,jx,2,0,"button",82),f()()()),t&2){let r=E();g(14),D("ngIf",r.enablePaddle),g(),D("ngIf",!r.enablePaddle),g(7),se(r.lifetimeLicense?r.paddleIndividualLifetimeLicensePrice:r.paddleIndividualLicensePrice),g(5),D("ngIf",!r.lifetimeLicense),g(),D("ngIf",r.lifetimeLicense),g(),D("ngIf",r.enablePaddle),g(),D("ngIf",!r.enablePaddle),g(7),se(r.lifetimeLicense?r.paddleTeamLifetimeLicensePrice:r.paddleTeamLicensePrice),g(5),D("ngIf",!r.lifetimeLicense),g(),D("ngIf",r.lifetimeLicense),g(),D("ngIf",r.enablePaddle),g(),D("ngIf",!r.enablePaddle),g(7),se(r.lifetimeLicense?r.paddleEnterpriseLifetimeLicensePrice:r.paddleEnterpriseLicensePrice),g(5),D("ngIf",!r.lifetimeLicense),g(),D("ngIf",r.lifetimeLicense),g(),D("ngIf",r.enablePaddle),g(),D("ngIf",!r.enablePaddle)}}function Bx(t,e){t&1&&(je(0),u(1,"div",99)(2,"span",100),c(3,"Loading..."),f()(),u(4,"span",101),c(5,"Your license is being generated. Please wait."),f(),Ue())}function $x(t,e){if(t&1&&(u(0,"div")(1,"p"),c(2),f(),u(3,"p"),c(4,"Please try again later or use the "),u(5,"a",20),c(6," contact form"),f(),c(7,"."),f()()),t&2){let r=E(3);g(2),se(r.paddleLicense.error),g(3),D("routerLink",B(2,Ed))}}function Hx(t,e){t&1&&(u(0,"span"),p(1,"i",108),c(2," Copy"),f())}function Gx(t,e){t&1&&(u(0,"span"),p(1,"i",109),c(2," Copied"),f())}function zx(t,e){if(t&1){let r=oe();u(0,"div",105)(1,"textarea",106),c(2),f(),u(3,"button",107),A("click",function(){let i=L(r).$implicit,o=E(4);return V(o.copyPaddle(i))}),P(4,Hx,3,0,"span",26)(5,Gx,3,0,"span",26),f()()}if(t&2){let r=e.$implicit,n=E(4);g(2),se(r),g(2),D("ngIf",n.copiedPaddledLicenses.indexOf(r)===-1),g(),D("ngIf",n.copiedPaddledLicenses.indexOf(r)>-1)}}function qx(t,e){if(t&1&&(u(0,"div")(1,"label",103),c(2,"Thank you! Please save your license key persistently:"),f(),P(3,zx,6,3,"div",104),f()),t&2){let r=E(3);g(3),D("ngForOf",r.paddleLicense.licenses)}}function Wx(t,e){if(t&1&&(u(0,"div",102),P(1,$x,8,3,"div",26)(2,qx,4,1,"div",26),f()),t&2){let r=E(2);g(),D("ngIf",r.paddleLicense.error),g(),D("ngIf",!r.paddleLicense.error)}}function Zx(t,e){if(t&1&&(u(0,"div",3),P(1,Bx,6,0,"ng-container",26)(2,Wx,3,2,"div",98),f()),t&2){let r=E();g(),D("ngIf",r.paddleLicenseRequested&&!r.paddleLicense),g(),D("ngIf",r.paddleLicense)}}function Yx(t,e){t&1&&(u(0,"p")(1,"i"),c(2,"ReportGenerator"),f(),c(3," subscription based licences are provided with a 30 day money back guarantee."),f())}function Qx(t,e){t&1&&(u(0,"div",99)(1,"span",100),c(2,"Loading..."),f()())}function Kx(t,e){t&1&&(u(0,"div",110),p(1,"i",111),f())}function Jx(t,e){if(t&1&&(u(0,"div")(1,"p"),c(2),f(),u(3,"p"),c(4,"Please try again later or use the "),u(5,"a",20),c(6," contact form"),f(),c(7,"."),f()()),t&2){let r=E(2);g(2),se(r.license.error),g(3),D("routerLink",B(2,Ed))}}function Xx(t,e){t&1&&(u(0,"div")(1,"p"),c(2,"Please become a "),u(3,"a",112),c(4,"GitHub sponsor"),f(),c(5," first."),f()())}function eS(t,e){t&1&&(u(0,"span"),p(1,"i",108),c(2," Copy"),f())}function tS(t,e){t&1&&(u(0,"span"),p(1,"i",109),c(2," Copied"),f())}function nS(t,e){if(t&1){let r=oe();u(0,"div")(1,"label",113),c(2,"Thank you for becoming a sponsor. Here's your license:"),f(),u(3,"textarea",114),c(4),f(),u(5,"button",107),A("click",function(){L(r);let i=E(2);return V(i.copy())}),P(6,eS,3,0,"span",26)(7,tS,3,0,"span",26),f()()}if(t&2){let r=E(2);g(4),se(r.license.license),g(2),D("ngIf",!r.licenseCopied),g(),D("ngIf",r.licenseCopied)}}function rS(t,e){if(t&1&&(u(0,"div",28),P(1,Jx,8,3,"div",26)(2,Xx,6,0,"div",26)(3,nS,8,3,"div",26),f()),t&2){let r=E();g(),D("ngIf",r.license.error),g(),D("ngIf",!r.license.error&&!r.license.isSponsor),g(),D("ngIf",!r.license.error&&r.license.isSponsor&&r.license.license)}}var hv=(()=>{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="US$49",this.paddleTeamLicensePrice="US$149",this.paddleEnterpriseLicensePrice="US$299",this.paddleIndividualLifetimeLicensePrice="US$79",this.paddleTeamLifetimeLicensePrice="US$249",this.paddleEnterpriseLifetimeLicensePrice="US$449",this.licenseRequested=!1,this.licenseCopied=!1,this.license=null,this.enablePaddle=!0,this.trialDisabled=!1,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)},K.paddleEnvironment&&(window.Paddle.Environment.set(K.paddleEnvironment),console.log("Paddle environment: "+K.paddleEnvironment)),window.Paddle.Setup({vendor:K.paddleVendorId}),window.Paddle.Product.Prices(K.paddleIndividualLicense,s=>{this.paddleIndividualLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(K.paddleTeamLicense,s=>{this.paddleTeamLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(K.paddleEnterpriseLicense,s=>{this.paddleEnterpriseLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(K.paddleIndividualLifetimeLicense,s=>{this.paddleIndividualLifetimeLicensePrice=s.price.gross}),window.Paddle.Product.Prices(K.paddleTeamLifetimeLicense,s=>{this.paddleTeamLifetimeLicensePrice=s.price.gross}),window.Paddle.Product.Prices(K.paddleEnterpriseLifetimeLicense,s=>{this.paddleEnterpriseLifetimeLicensePrice=s.price.gross})}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 Ia,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 Ji,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?K.paddleEnterpriseLifetimeLicense:K.paddleEnterpriseLicense,successCallback:"paddleCheckoutComplete"}):n==="team"?window.Paddle.Checkout.open({product:this.lifetimeLicense?K.paddleTeamLifetimeLicense:K.paddleTeamLicense,successCallback:"paddleCheckoutComplete"}):window.Paddle.Checkout.open({product:this.lifetimeLicense?K.paddleIndividualLifetimeLicense:K.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 Ji,this.paddleLicense.error="Unable to generate Paddle license."},complete:()=>console.info("complete")})}};e.\u0275fac=function(i){return new(i||e)(S(xa),S(Sa),S(dv))},e.\u0275cmp=ce({type:e,selectors:[["app-pro-component"]],standalone:!0,features:[de],decls:241,vars:27,consts:[["trialForm","ngForm"],[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-xs-12","col-md-6","order-2","order-md-1"],[1,"table"],["scope","col"],["scope","col",1,"text-center"],[1,"pro-button"],["scope","row"],["fragment","metrics","title","Show feature details",3,"routerLink"],[1,"fa-solid","fa-circle-info","text-secondary"],[1,"text-center"],[1,"fa-solid","fa-circle-check","text-secondary"],["fragment","riskhotspots","title","Show feature details",3,"routerLink"],["title","Show feature details",3,"routerLink"],[1,"fa-solid","fa-circle-check","pro-text"],["fragment","rawmode","title","Show feature details",3,"routerLink"],[1,"col-xs-12","col-md-6","order-1","order-md-2"],["href","",3,"click"],[3,"routerLink"],["id","paddle",1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"text-center","mb-3"],["class","togglecontainer",4,"ngIf"],["class","row",4,"ngIf"],[1,"mt-5"],[4,"ngIf"],["id","github",1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"col-xs-12","col-md-6","pb-3"],[1,"fs-2","me-3","number"],["href","https://github.com/sponsors/danielpalme","target","_blank",1,"btn","btn-outline-dark"],[1,"fa-solid","fa-heart","githubheart"],["type","button",1,"btn","btn-primary","me-3",3,"click","disabled"],[1,"fa-solid","fa-rocket"],["class","spinner-border text-info","role","status",4,"ngIf"],["class","col-md-6 pb-3 d-none d-lg-block position-relative",4,"ngIf"],["class","col-xs-12 col-md-6 pb-3",4,"ngIf"],[1,"container-fluid","mt-4","pt-5","pb-5","bg-light"],[1,"container","text-center"],[1,"row","mt-5","testimonial"],["href","https://twitter.com/fredyfx/status/1642807795828543488","target","_blank"],["loading","lazy","src","resources/twitter_light.webp","alt","Testimonial",1,"img-fluid"],["id","faq",1,"container","mt-5","pt-5","pb-5"],["id","accordionFaq",1,"accordion","accordion-flush"],[1,"accordion-item"],["id","headingOne",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseOne","aria-expanded","true","aria-controls","collapseOne",1,"accordion-button"],["id","collapseOne","aria-labelledby","headingOne","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse","show"],[1,"accordion-body"],["id","headingTwo",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseTwo","aria-expanded","false","aria-controls","collapseTwo",1,"accordion-button","collapsed"],["id","collapseTwo","aria-labelledby","headingTwo","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse"],["id","headingThree",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseThree","aria-expanded","false","aria-controls","collapseThree",1,"accordion-button","collapsed"],["id","collapseThree","aria-labelledby","headingThree","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse"],["tabindex","-1","id","requestTrialModal",1,"modal"],[1,"modal-dialog"],[1,"modal-content"],["method","post",3,"ngSubmit"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"modal-body"],[1,"form-floating","mb-3"],["type","text","id","name","name","name","required","","maxlength","150",1,"form-control",3,"ngModelChange","ngModel"],["for","floatingInput"],[1,"required"],["type","email","id","email","name","email","required","","email","","maxlength","150",1,"form-control",3,"ngModelChange","ngModel"],[1,"modal-footer"],["type","button","data-bs-dismiss","modal",1,"btn","btn-secondary"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"togglecontainer"],[1,"option",3,"click","ngClass"],[1,"fa-solid","fa-rotate-right"],[1,"fa-solid","fa-infinity"],[1,"col-xs-12","col-md-6","col-lg-3","mt-0","pb-3","text-center","paddle-container"],[1,"paddle","trial"],["src","resources/trial.svg","alt","Trial",1,"img-fluid"],[1,"mt-3"],[1,"fa-solid","fa-magnifying-glass"],[1,"fa-solid","fa-calendar-days"],["type","button","class","btn btn-primary",3,"disabled","click",4,"ngIf"],["type","button","class","btn btn-primary","disabled","",4,"ngIf"],[1,"col-xs-12","col-md-6","col-lg-3","mt-4","mt-md-0","pb-3","text-center","paddle-container"],[1,"paddle"],["src","resources/individual.svg","alt","Individual",1,"img-fluid"],[1,"fa-solid","fa-user"],["type","button","class","btn btn-primary",3,"click",4,"ngIf"],[1,"col-xs-12","col-md-6","col-lg-3","mt-4","mt-lg-0","pb-3","text-center","paddle-container"],["src","resources/team.svg","alt","Team",1,"img-fluid"],[1,"fa-solid","fa-users"],[1,"col-xs-6","col-md-6","col-lg-3","mt-4","mt-lg-0","pb-3","text-center","paddle-container"],["src","resources/enterprise.svg","alt","Enterprise",1,"img-fluid"],[1,"fa-solid","fa-industry"],["type","button",1,"btn","btn-primary",3,"click","disabled"],["type","button","disabled","",1,"btn","btn-primary"],["type","button",1,"btn","btn-primary",3,"click"],[1,"fa-solid","fa-cart-shopping"],["class","col-xs-12 col-md-6",4,"ngIf"],["role","status",1,"spinner-border","text-info"],[1,"visually-hidden"],[1,"position-relative","paddle-loading"],[1,"col-xs-12","col-md-6"],["for","paddlelicensetext"],["class","mt-2",4,"ngFor","ngForOf"],[1,"mt-2"],["id","paddlelicensetext","rows","5","readonly","",1,"form-control"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"],[1,"col-md-6","pb-3","d-none","d-lg-block","position-relative"],[1,"fa-solid","fa-heart","githubheartlarge"],["href","https://github.com/sponsors/danielpalme","target","_blank"],["for","licensetext"],["id","licensetext","rows","5","readonly","",1,"form-control","mt-2"]],template:function(i,o){if(i&1){let s=oe();u(0,"div",1)(1,"h1",2),c(2,"PRO"),f(),u(3,"div",3)(4,"div",4)(5,"table",5)(6,"thead")(7,"tr"),p(8,"th",6),u(9,"th",7),c(10,"Free"),f(),u(11,"th",7)(12,"span",8),c(13,"PRO"),f()()()(),u(14,"tbody")(15,"tr")(16,"th",9),c(17,"Metrics "),u(18,"a",10),p(19,"i",11),f()(),u(20,"td",12),p(21,"i",13),f(),u(22,"td",12),p(23,"i",13),f()(),u(24,"tr")(25,"th",9),c(26,"Risk Hotspots "),u(27,"a",14),p(28,"i",11),f()(),u(29,"td",12),p(30,"i",13),f(),u(31,"td",12),p(32,"i",13),f()(),u(33,"tr")(34,"th",9),c(35,"Line coverage "),u(36,"a",15),p(37,"i",11),f()(),u(38,"td",12),p(39,"i",13),f(),u(40,"td",12),p(41,"i",13),f()(),u(42,"tr")(43,"th",9),c(44,"Branch coverage "),u(45,"a",15),p(46,"i",11),f()(),u(47,"td",12),p(48,"i",13),f(),u(49,"td",12),p(50,"i",13),f()(),u(51,"tr")(52,"th",9),c(53,"Method coverage "),u(54,"a",15),p(55,"i",11),f()(),p(56,"td",12),u(57,"td",12),p(58,"i",16),f()(),u(59,"tr")(60,"th",9),c(61,"Metrics on summary page "),u(62,"a",10),p(63,"i",11),f()(),p(64,"td",12),u(65,"td",12),p(66,"i",16),f()(),u(67,"tr")(68,"th",9)(69,"i"),c(70,"OpenCover"),f(),c(71," output format"),f(),p(72,"td",12),u(73,"td",12),p(74,"i",16),f()(),u(75,"tr")(76,"th",9),c(77,"Raw mode (for "),u(78,"i"),c(79,"Cobertura"),f(),c(80,") "),u(81,"a",17),p(82,"i",11),f()(),p(83,"td",12),u(84,"td",12),p(85,"i",16),f()()()()(),u(86,"div",18)(87,"p")(88,"i"),c(89,"ReportGenerator"),f(),c(90," is Open Source and free to use."),p(91,"br"),c(92," Some of the advanced features require a PRO license. "),f(),u(93,"p"),c(94," You can either "),u(95,"a",19),A("click",function(){return L(s),V(o.scrollToPaddle())}),c(96,"buy a license"),f(),c(97," or you can become a "),u(98,"a",19),A("click",function(){return L(s),V(o.scrollToGithub())}),c(99,"GitHub sponsor"),f(),c(100,"."),p(101,"br"),c(102," A "),u(103,"a",19),A("click",function(){return L(s),V(o.scrollToPaddle())}),c(104,"free trial version"),f(),c(105," is available too. "),f(),u(106,"p"),c(107," Get "),u(108,"a",20),c(109,"in touch"),f(),c(110," if you have any issues and we will figure it out. "),f()()()(),u(111,"section",21)(112,"div",1)(113,"h2",2),c(114,"Buy a license"),f(),u(115,"div",22),P(116,Ix,7,6,"span",23),f(),P(117,Ux,61,17,"div",24)(118,Zx,3,2,"div",24),u(119,"div",25),P(120,Yx,4,0,"p",26),u(121,"p"),c(122,"The order process is conducted by Paddle.com. Paddle.com is the Merchant of Record for all orders. Paddle provides all customer service inquiries and handles returns."),f()()()(),u(123,"section",27)(124,"div",1)(125,"h2",2),c(126,"Get your license as a GitHub sponsor"),f(),u(127,"div",3)(128,"div",28)(129,"p"),c(130,"You can obtain your license in two easy steps (no sign up required):"),f(),u(131,"span",29),c(132,"1."),f(),u(133,"a",30),p(134,"i",31),c(135," Become a GitHub sponsor"),f(),p(136,"br"),u(137,"span",29),c(138,"2."),f(),u(139,"button",32),A("click",function(){return L(s),V(o.requestLicense())}),p(140,"i",33),c(141," Get license"),f(),P(142,Qx,3,0,"div",34),f(),P(143,Kx,2,0,"div",35)(144,rS,4,3,"div",36),f()()(),p(145,"app-testimonials"),u(146,"section",37)(147,"div",38)(148,"h3"),c(149,"Customers"),f(),u(150,"div",39)(151,"a",40),p(152,"img",41),f()()()(),u(153,"section",42)(154,"h2",2),c(155,"Frequently Asked Questions"),f(),u(156,"div",43)(157,"div",44)(158,"h2",45)(159,"button",46),c(160," How do I use/activate my license? "),f()(),u(161,"div",47)(162,"div",48),c(163," You can apply the license with the following command line parameter "),u(164,"code"),c(165,"-license:YOUR_KEY"),f(),c(166," or via the "),u(167,"code"),c(168,"REPORTGENERATOR_LICENSE"),f(),c(169," environment variable. "),f()()(),u(170,"div",44)(171,"h2",49)(172,"button",50),c(173," Are there limitations on number of users? "),f()(),u(174,"div",51)(175,"div",48)(176,"b"),c(177,"GitHub sponsors"),f(),p(178,"br"),u(179,"p"),c(180,"There's no enforced limit. Please pick a sponsor level that fits your company size and budget."),f(),u(181,"b"),c(182,"Bought license"),f(),p(183,"br"),u(184,"p"),c(185,"There's no enforced limit. Please choose a plan that matches the number of developers using "),u(186,"i"),c(187,"ReportGenerator"),f(),c(188,"."),f()()()(),u(189,"div",44)(190,"h2",52)(191,"button",53),c(192," Will my license expire? "),f()(),u(193,"div",54)(194,"div",48)(195,"b"),c(196,"GitHub sponsors"),f(),p(197,"br"),u(198,"p"),c(199,"Your license will not expire."),f(),u(200,"b"),c(201,"Bought license"),f(),p(202,"br"),u(203,"p")(204,"b"),c(205,"Annual subscription"),f(),c(206,": Your license may get revoked for new releases of "),u(207,"i"),c(208,"ReportGenerator"),f(),c(209,", if you cancel your subscription."),p(210,"br"),u(211,"b"),c(212,"Lifetime licenses"),f(),c(213,": Lifetime licenses will not expire. "),f()()()()()(),u(214,"div",55)(215,"div",56)(216,"div",57)(217,"form",58,0),A("ngSubmit",function(){return L(s),V(o.completeTrial())}),u(219,"div",59)(220,"h5",60),c(221,"Free Trial"),f(),p(222,"button",61),f(),u(223,"div",62)(224,"div",63)(225,"input",64),le("ngModelChange",function(l){return L(s),ue(o.requestTrialData.name,l)||(o.requestTrialData.name=l),V(l)}),f(),u(226,"label",65),c(227,"Name "),u(228,"span",66),c(229,"*"),f()()(),u(230,"div",63)(231,"input",67),le("ngModelChange",function(l){return L(s),ue(o.requestTrialData.email,l)||(o.requestTrialData.email=l),V(l)}),f(),u(232,"label",65),c(233,"Email address "),u(234,"span",66),c(235,"*"),f()()()(),u(236,"div",68)(237,"button",69),c(238,"Close"),f(),u(239,"button",70),c(240,"Get trial license"),f()()()()()()}if(i&2){let s=Is(218);g(18),D("routerLink",B(19,Gn)),g(9),D("routerLink",B(20,Gn)),g(9),D("routerLink",B(21,Gn)),g(9),D("routerLink",B(22,Gn)),g(9),D("routerLink",B(23,Gn)),g(8),D("routerLink",B(24,Gn)),g(19),D("routerLink",B(25,Gn)),g(27),D("routerLink",B(26,Ed)),g(8),D("ngIf",!o.paddleLicenseRequested),g(),D("ngIf",!o.paddleLicenseRequested),g(),D("ngIf",o.paddleLicenseRequested),g(2),D("ngIf",!o.lifetimeLicense),g(19),D("disabled",o.licenseRequested),g(3),D("ngIf",o.licenseRequested&&!o.license),g(),D("ngIf",!o.license),g(),D("ngIf",o.license),g(81),ae("ngModel",o.requestTrialData.name),g(6),ae("ngModel",o.requestTrialData.email),g(8),D("disabled",!s.valid)}},dependencies:[Ne,ks,Ps,Mr,Dn,Yr,yn,Wr,Zr,Hn,Cd,Ki,$n,Bn,_a],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}.paddle-container[_ngcontent-%COMP%]{padding:10px}.paddle[_ngcontent-%COMP%]{border:1px solid #8c8888;border-radius:20px;padding:20px;background-color:#d8e8f0}.trial[_ngcontent-%COMP%]{background-color:#b2cad7}.githubheartlarge[_ngcontent-%COMP%]{position:absolute;top:-120px;left:40%;font-size:20rem;color:#ffd2ed}.togglecontainer[_ngcontent-%COMP%]{background-color:#fff;display:inline-block;border-radius:20px;white-space:nowrap}.togglecontainer[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{background-color:#fff;padding:8px 15px;border-radius:20px;cursor:pointer;display:inline-block}.togglecontainer[_ngcontent-%COMP%] .option.active[_ngcontent-%COMP%]{color:#fff;background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}@media only screen and (max-width: 400px){.togglecontainer[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] .fa-solid[_ngcontent-%COMP%]{display:none}}.paddle-loading[_ngcontent-%COMP%]{position:relative;left:35px;top:-20px}.testimonial[_ngcontent-%COMP%]{max-width:550px;margin:auto}"]});let t=e;return t})();var Wt=class{constructor(e,r,n,i,o,s){this.name=e,this.url=r,this.runtimes=n,this.description=i,this.installOptions=o,this.executables=s}formatExecutable(e){return e.tool}formatArgument(e,r){if(r=r.trim(),r==="")return"";let n=r.indexOf(" ")>-1?'"':"";return`\r +${n}-${e}:${r}${n}`}formatArguments(e,r){return this.formatArgument(e,r.filter(n=>n!=null&&n.length!==0&&n.trim().length!==0).join(";"))}};var Ma=class extends Wt{formatExecutable(e){let r=`- task: ${e.tool}@${Re.majorVersion}`;return r+=`\r + displayName: ReportGenerator`,r+=`\r + inputs:`,console.log("hello",r),r}formatArgument(e,r){if(r=r.trim(),r==="")return"";let n=r.indexOf(" ")>-1?"'":"";return`\r + ${e}: ${n}${r}${n}`}};var Ta=class{constructor(){this.verbosities=["Verbose","Info","Warning","Error","Off"],this.types=["Html","Coverage tool","Json","Markdown","Xml","Text","Image"],this.reports=["cobertura.xml"],this.targetdir="coveragereport",this.reporttypes=[{name:"Html",types:["Html"],description:"The default output format. Creates a summary overview (index.html) and detailed reports for each class.",requiresHistoryDir:!1,checked:!0,sampleReport:"resources/reports/Html/index.html"},{name:"Html_Light",types:["Html"],description:"Same as Html but with a light theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Light/index.html"},{name:"Html_Dark",types:["Html"],description:"Same as Html but with a dark theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Dark/index.html"},{name:"Html_BlueRed",types:["Html"],description:"Same as Html but with the colors blue/red instead of green/red.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_BlueRed/index.html"},{name:"HtmlSummary",types:["Html"],description:"Creates a single HTML file (summary.html) without links.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlSummary/summary.html"},{name:"Html_BlueRed_Summary",types:["Html"],description:"Same as HtmlSummary but with the colors blue/red instead of green/red.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_BlueRed_Summary/summary.html"},{name:"HtmlChart",types:["Html"],description:"Creates a single HTML file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/HtmlChart/CoverageHistory.html"},{name:"HtmlInline",types:["Html"],description:"Same as HTML but CSS and JavaScript is included in every HTML page. This results in larger file sizes, but can be useful for integration into build servers like Azure DevOps (VSTS), since they may block referenced CSS and JavaScript files.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline/index.html"},{name:"HtmlInline_AzurePipelines",types:["Html"],description:"Same as HtmlInline but with an adaptive light/dark theme matching the look and feel of Azure Pipelines",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines/index.html"},{name:"HtmlInline_AzurePipelines_Light",types:["Html"],description:"Same as HtmlInline but with a light theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Light/index.html"},{name:"HtmlInline_AzurePipelines_Dark",types:["Html"],description:"Same as HtmlInline but with a dark theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Dark/index.html"},{name:"MHtml",types:["Html"],description:"Same as HTML but packaged into a single MHTML file.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MHtml/Summary.mht"},{name:"Clover",types:["Coverage tool"],description:"Creates a XML file in Clover format. This format integrates with tools like Atlassian Bamboo.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Clover/Clover.xml"},{name:"Cobertura",types:["Coverage tool"],description:"Creates a XML file in Cobertura format. This format integrates with tools like Azure DevOps (VSTS) or Jenkins.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Cobertura/Cobertura.xml"},{name:"OpenCover",types:["Coverage tool"],description:"Creates a XML file in OpenCover format (PRO version only).",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/OpenCover/OpenCover.xml"},{name:"SonarQube",types:["Coverage tool"],description:"Creates a XML file in SonarQube 'Generic Test Data' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/SonarQube/SonarQube.xml"},{name:"lcov",types:["Coverage tool"],description:"Creates a text file in 'lcov' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/lcov/lcov.info"},{name:"XML",types:["Xml"],description:"Creates a XML file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Xml/Summary.xml"},{name:"XMLSummary",types:["Xml"],description:"Creates a single XML file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/XmlSummary/Summary.xml"},{name:"JsonSummary",types:["Json"],description:"Creates a single JSON file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/JsonSummary/Summary.json"},{name:"CodeClimate",types:["Json"],description:"Creates a single JSON file containing a (Gitlab) code climate report.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/CodeClimate/codeclimate.json"},{name:"Latex",types:["Text"],description:"Creates a single TEX file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Summary/Summary.tex"},{name:"LatexSummary",types:["Text"],description:"Creates a single TEX file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/LatexSummary/Summary.tex"},{name:"TeamCitySummary",types:["Coverage tool"],description:"Command line output interpreted by TeamCity.",requiresHistoryDir:!1,checked:!1,sampleReport:null},{name:"TextSummary",types:["Text"],description:"Creates a single TXT file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/TextSummary/Summary.txt"},{name:"TextDeltaSummary",types:["Text"],description:"Creates a single TXT file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/TextDeltaSummary/DeltaSummary.txt"},{name:"CsvSummary",types:["Text"],description:"Creates a single CSV file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/CsvSummary/Summary.csv"},{name:"MarkdownSummary",types:["Text","Markdown"],description:"Creates a single Markdown file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummary/Summary.md"},{name:"MarkdownAssembliesSummary",types:["Text","Markdown"],description:"Creates a single Markdown file containing coverage information per assembly.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownAssembliesSummary/Summary.md"},{name:"MarkdownSummaryGithub",types:["Text","Markdown"],description:"Creates a single Markdown file containing coverage information per class. The report is optimized for GitHub.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummaryGithub/SummaryGithub.md"},{name:"MarkdownDeltaSummary",types:["Text","Markdown"],description:"Creates a single Markdown file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/MarkdownDeltaSummary/DeltaSummary.md"},{name:"SvgChart",types:["Image"],description:"Creates a single SVG file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/SvgChart/CoverageHistory.svg"},{name:"Badges",types:["Image"],description:"Creates SVG files that show line and/or branch coverage information.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Badges/index.html"}],this.sourcedirectories=[],this.historydir="",this.plugins=[],this.assemblyfilters=[],this.classfilters=[],this.filefilters=[],this.riskhotspotassemblyfilters=[],this.riskhotspotclassfilters=[],this.selectedverbosity=this.verbosities[1],this.selectedType=null,this.title="",this.tag="",this.license=""}addSourceDirectory(){return this.sourcedirectories.push(""),!1}removeSourceDirectory(e){return this.sourcedirectories.splice(e,1),!1}addReport(){return this.reports.push(""),!1}removeReport(e){return this.reports.splice(e,1),!1}addPlugin(){return this.plugins.push(""),!1}removePlugin(e){return this.plugins.splice(e,1),!1}addAssemblyFilter(){return this.assemblyfilters.push(""),!1}removeAssemblyFilter(e){return this.assemblyfilters.splice(e,1),!1}addClassFilter(){return this.classfilters.push(""),!1}removeClassFilter(e){return this.classfilters.splice(e,1),!1}addFileFilter(){return this.filefilters.push(""),!1}removeFileFilter(e){return this.filefilters.splice(e,1),!1}addRiskHotspotAssemblyFilter(){return this.riskhotspotassemblyfilters.push(""),!1}removeRiskHotspotAssemblyFilter(e){return this.riskhotspotassemblyfilters.splice(e,1),!1}addRiskHotspotClassFilter(){return this.riskhotspotclassfilters.push(""),!1}removeRiskHotspotClassFilter(e){return this.riskhotspotclassfilters.splice(e,1),!1}getUsage(e,r){let n=e.executables.find(a=>a.runtime==r),i=n!==void 0?e.formatExecutable(n):"";i+=e.formatArguments("reports",this.reports),i+=e.formatArgument("targetdir",this.targetdir);for(var o="",s=0;s0&&(o+=";"),o+=this.reporttypes[s].name);return o.length>0&&o!=="Html"&&(i+=e.formatArgument("reporttypes",o)),i+=e.formatArguments("sourcedirs",this.sourcedirectories),i+=e.formatArgument("historydir",this.historydir),i+=e.formatArguments("plugins",this.plugins),i+=e.formatArguments("assemblyfilters",this.assemblyfilters),i+=e.formatArguments("classfilters",this.classfilters),i+=e.formatArguments("filefilters",this.filefilters),i+=e.formatArguments("riskhotspotassemblyfilters",this.riskhotspotassemblyfilters),i+=e.formatArguments("riskhotspotclassfilters",this.riskhotspotclassfilters),this.selectedverbosity!=="Info"&&(i+=e.formatArgument("verbosity",this.selectedverbosity)),i+=e.formatArgument("title",this.title),i+=e.formatArgument("tag",this.tag),i+=e.formatArgument("license",this.license),i}historyDirRequired(){for(let e=0;e-1?"'":"";return`\r + ${e}: ${n}${r}${n}`}};var Qr=class{constructor(e,r){this.tool=e,this.command=r}};var iS=()=>["/pro"],oS=t=>({"input-group":t}),sS=(t,e)=>({"btn-outline-primary":t,"btn-primary":e});function aS(t,e){if(t&1){let r=oe();u(0,"div",36)(1,"label",37)(2,"input",38),le("ngModelChange",function(i){L(r);let o=E();return ue(o.selectedEnvironment,i)||(o.selectedEnvironment=i),V(i)}),A("ngModelChange",function(){L(r);let i=E();return V(i.selectedEnvironmentChanged())}),f(),u(3,"b"),c(4),f(),p(5,"br"),u(6,"div",39),c(7),f()()()}if(t&2){let r=e.$implicit,n=E();g(2),ae("ngModel",n.selectedEnvironment),D("value",r)("checked",n.selectedEnvironment.name===r.name),g(2),se(r.name),g(3),se(r.description)}}function lS(t,e){if(t&1){let r=oe();u(0,"div",36)(1,"label",37)(2,"input",42),le("ngModelChange",function(i){L(r);let o=E(3);return ue(o.selectedPackage,i)||(o.selectedPackage=i),V(i)}),f(),u(3,"b"),c(4),f(),p(5,"br"),u(6,"div",39),c(7),f()()()}if(t&2){let r=E().$implicit,n=E(2);g(2),ae("ngModel",n.selectedPackage),D("value",r),g(2),se(r.name),g(3),se(r.description)}}function cS(t,e){if(t&1&&(je(0),P(1,lS,8,4,"div",41),Ue()),t&2){let r=e.$implicit,n=E(2);g(),D("ngIf",r.runtimes.indexOf(n.selectedEnvironment.name)>-1)}}function uS(t,e){if(t&1&&(je(0),u(1,"h4"),c(2,"NuGet Package"),f(),P(3,cS,2,1,"ng-container",40),Ue()),t&2){let r=E();g(3),D("ngForOf",r.packages)}}function dS(t,e){if(t&1){let r=oe();u(0,"span",46),A("click",function(){L(r);let i=E().index,o=E();return V(o.configuration.removeReport(i))}),u(1,"a",47),p(2,"i",48),f()()}}function fS(t,e){if(t&1){let r=oe();u(0,"div",39)(1,"div",43)(2,"input",44),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.reports[o],i)||(s.configuration.reports[o]=i),V(i)}),f(),P(3,dS,3,0,"span",45),f()()}if(t&2){let r=e.index,n=E();g(),D("ngClass",Ln(5,oS,r>0)),g(),St("name","report_",r,""),ae("ngModel",n.configuration.reports[r]),g(),D("ngIf",r>0)}}function hS(t,e){if(t&1){let r=oe();u(0,"button",49),A("click",function(){let i=L(r).$implicit,o=E();return V(o.configuration.selectedType=o.configuration.selectedType===i?null:i)}),c(1),f()}if(t&2){let r=e.$implicit,n=E();D("ngClass",qp(2,sS,r!==n.configuration.selectedType,r===n.configuration.selectedType)),g(),se(r)}}function pS(t,e){if(t&1){let r=oe();u(0,"span",54),p(1,"i",55),c(2," Please specify a "),u(3,"a",10),A("click",function(){L(r);let i=E(3);return V(i.scrollToHistoryDir())}),c(4,"history directory"),f()()}}function mS(t,e){if(t&1&&(je(0),p(1,"br",56),u(2,"a",30),c(3,"Sample report"),f(),c(4,"\xA0"),u(5,"a",30),p(6,"i",57),f(),Ue()),t&2){let r=E(2).$implicit;g(2),D("href",r.sampleReport,Ir),g(3),D("href",r.sampleReport,Ir)}}function gS(t,e){if(t&1){let r=oe();u(0,"div",51)(1,"label",37)(2,"input",52),A("change",function(){L(r);let i=E().$implicit;return V(i.checked=!i.checked)}),f(),u(3,"b"),c(4),f(),P(5,pS,5,0,"span",53),p(6,"br"),u(7,"div",39),c(8),P(9,mS,7,2,"ng-container",6),f()()()}if(t&2){let r=E().$implicit,n=E();g(2),D("checked",r.checked),g(2),se(r.name),g(),D("ngIf",r.checked&&r.requiresHistoryDir&&!n.configuration.historydir),g(3),ht("",r.description," "),g(),D("ngIf",r.sampleReport)}}function vS(t,e){if(t&1&&(je(0),P(1,gS,10,5,"div",50),Ue()),t&2){let r=e.$implicit,n=E();g(),D("ngIf",!n.configuration.selectedType||r.types.indexOf(n.configuration.selectedType)>-1)}}function yS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",59),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.sourcedirectories[o],i)||(s.configuration.sourcedirectories[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeSourceDirectory(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();g(2),St("name","sourcedir_",r,""),ae("ngModel",n.configuration.sourcedirectories[r])}}function DS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",60),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.plugins[o],i)||(s.configuration.plugins[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removePlugin(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();g(2),St("name","plugin_",r,""),ae("ngModel",n.configuration.plugins[r])}}function CS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",61),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.assemblyfilters[o],i)||(s.configuration.assemblyfilters[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeAssemblyFilter(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();g(2),St("name","assemblyfilter_",r,""),ae("ngModel",n.configuration.assemblyfilters[r])}}function wS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",62),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.classfilters[o],i)||(s.configuration.classfilters[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeClassFilter(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();g(2),St("name","classfilter_",r,""),ae("ngModel",n.configuration.classfilters[r])}}function bS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",63),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.filefilters[o],i)||(s.configuration.filefilters[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeFileFilter(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();g(2),St("name","filefilter_",r,""),ae("ngModel",n.configuration.filefilters[r])}}function ES(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",61),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.riskhotspotassemblyfilters[o],i)||(s.configuration.riskhotspotassemblyfilters[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeRiskHotspotAssemblyFilter(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();g(2),St("name","riskhotspotassemblyfilter_",r,""),ae("ngModel",n.configuration.riskhotspotassemblyfilters[r])}}function _S(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",62),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.riskhotspotclassfilters[o],i)||(s.configuration.riskhotspotclassfilters[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeRiskHotspotClassFilter(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();g(2),St("name","riskhotspotclassfilter_",r,""),ae("ngModel",n.configuration.riskhotspotclassfilters[r])}}function IS(t,e){if(t&1&&(u(0,"option",64),c(1),f()),t&2){let r=e.$implicit;D("value",r),g(),se(r)}}function xS(t,e){if(t&1&&(u(0,"div",65)(1,"b"),c(2),f(),p(3,"br"),u(4,"pre",33),c(5),f()()),t&2){let r=e.$implicit;g(2),se(r.tool),g(3),se(r.command)}}function SS(t,e){t&1&&(p(0,"i",66),c(1," Copied "))}function MS(t,e){t&1&&(p(0,"i",67),c(1," Copy "))}function TS(t,e){if(t&1&&(u(0,"div",65)(1,"b"),c(2),f(),p(3,"br"),u(4,"pre",33),c(5),f()()),t&2){let r=e.$implicit;g(2),se(r.tool),g(3),se(r.command)}}function AS(t,e){t&1&&(p(0,"i",66),c(1," Copied "))}function NS(t,e){t&1&&(p(0,"i",67),c(1," Copy "))}var pv=(()=>{let e=class e{constructor(){this.versions=Re,this.lastResult="",this.usageCopied=!1,this.configuration=new Ta,this.environments=[new zn(".NET Core",".NET Core"),new zn(".NET Framework","The full .NET framework"),new zn("Azure DevOps",null),new zn("Github Action",null)],this.packages=[new Wt("ReportGenerator","https://www.nuget.org/packages/ReportGenerator",[".NET Framework",".NET Core"],"Use this package if your project is based on .NET Framework or .NET Core and you want to use ReportGenerator via the command line or a build script.",[new Qr("Package Manager",`Install-Package ReportGenerator -Version ${Re.version}`),new Qr(".NET CLI",`dotnet add package ReportGenerator --version ${Re.version}`)],[new Cn(".NET Framework",`$(UserProfile)\\.nuget\\packages\\reportgenerator\\${Re.version}\\tools\\net47\\ReportGenerator.exe`),new Cn(".NET Core",`dotnet $(UserProfile)\\.nuget\\packages\\reportgenerator\\${Re.version}\\tools\\net6.0\\ReportGenerator.dll`)]),new Wt("dotnet-reportgenerator-globaltool","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool",[".NET Core"],"Use this package if your project is based on .NET Core and you want to use ReportGenerator as a (global) 'DotnetTool'.",[new Qr(".NET CLI",`dotnet tool install --global dotnet-reportgenerator-globaltool --version ${Re.version}\r +\r +dotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version ${Re.version}\r +\r +dotnet new tool-manifest\r +dotnet tool install dotnet-reportgenerator-globaltool --version ${Re.version}`)],[new Cn(".NET Core","reportgenerator")]),new Ma("Azure DevOps","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator",["Azure DevOps"],"Use this package within Azure DevOps",[],[new Cn("Azure DevOps","reportgenerator")]),new Aa("GitHub Action","https://github.com/marketplace/actions/reportgenerator",["Github Action"],"Use this package within Github Actions",[],[new Cn("Github Action","danielpalme/ReportGenerator-GitHub-Action")])],this.selectedEnvironment=this.environments[0],this.selectedPackage=this.packages[0]}selectedEnvironmentChanged(){this.selectedPackage=this.packages.find(n=>n.runtimes.indexOf(this.selectedEnvironment.name)>-1)}severalPackagesAvailable(){return this.packages.filter(n=>n.runtimes.indexOf(this.selectedEnvironment.name)>-1).length>1}getUsage(){let n=this.configuration.getUsage(this.selectedPackage,this.selectedEnvironment.name);return this.lastResult!==n&&(this.lastResult=n,this.usageCopied=!1),n}copy(){try{navigator.clipboard.writeText(this.getUsage()),this.usageCopied=!0}catch(n){console.error("Failed to copy license",n)}}scrollToHistoryDir(){return document.querySelector("#historydir").scrollIntoView(!0),!1}trackByIndex(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-usage-component"]],standalone:!0,features:[de],decls:281,vars:43,consts:[[1,"container"],[1,"mb-4"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Settings","target","_blank"],[1,"row"],[1,"col-md-7"],["class","form-check",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"alert","alert-info"],["class","mb-3",4,"ngFor","ngForOf","ngForTrackBy"],[1,"input-group","mb-3"],["href","",3,"click"],[1,"fa","fa-plus-circle"],["type","text","name","targetdir","placeholder","The target directory","required","",1,"form-control",3,"ngModelChange","ngModel"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],[1,"me-2"],["type","button","class","btn btn-sm me-1 mb-1",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","input-group mb-3",4,"ngFor","ngForOf","ngForTrackBy"],["id","historydir"],["type","text","name","historydir","placeholder","The history directory",1,"form-control",3,"ngModelChange","ngModel","required"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-reports"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-history-storage"],["name","verbosity",1,"form-select",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],["type","text","name","title","placeholder","Title",1,"form-control",3,"ngModelChange","ngModel"],["type","text","name","tag","placeholder","Optional tag or build version",1,"form-control",3,"ngModelChange","ngModel"],[3,"routerLink"],["type","text","name","license","placeholder","Optional license for PRO version","rows","4",1,"form-control",3,"ngModelChange","ngModel"],[1,"col-md-5"],[1,"d-md-none","mt-5"],["target","_blank",3,"href"],["class","mt-2",4,"ngFor","ngForOf"],[1,"mt-4"],[1,"text-dark","bg-light","p-2","border"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"d-none","d-md-block","sticky"],[1,"form-check"],[1,"form-check-label"],["type","radio","name","environment",1,"form-check-input",3,"ngModelChange","ngModel","value","checked"],[1,"mb-3"],[4,"ngFor","ngForOf"],["class","form-check",4,"ngIf"],["type","radio","name","package",1,"form-check-input",3,"ngModelChange","ngModel","value"],[3,"ngClass"],["type","text","placeholder","The path of the coverage file","required","",1,"form-control",3,"ngModelChange","name","ngModel"],["class","input-group-text",3,"click",4,"ngIf"],[1,"input-group-text",3,"click"],["href",""],[1,"fa","fa-trash","text-danger"],["type","button",1,"btn","btn-sm","me-1","mb-1",3,"click","ngClass"],["class","form-check mt-1",4,"ngIf"],[1,"form-check","mt-1"],["type","checkbox","name","reporttype",1,"form-check-input",3,"change","checked"],["class","text-danger ms-2",4,"ngIf"],[1,"text-danger","ms-2"],[1,"fa-solid","fa-triangle-exclamation"],[1,"mt-1"],[1,"fa-solid","fa-arrow-up-right-from-square"],[1,"input-group"],["type","text","placeholder","The source directory","required","",1,"form-control",3,"ngModelChange","name","ngModel"],["type","text","placeholder","The path of the plugin","required","",1,"form-control",3,"ngModelChange","name","ngModel"],["type","text","placeholder","The include or exclude filter for assemlies","pattern","^[+-].+$","required","",1,"form-control",3,"ngModelChange","name","ngModel"],["type","text","placeholder","The include or exclude filter for classes","pattern","^[+-].+$","required","",1,"form-control",3,"ngModelChange","name","ngModel"],["type","text","placeholder","The include or exclude filter for files","pattern","^[+-].+$","required","",1,"form-control",3,"ngModelChange","name","ngModel"],[3,"value"],[1,"mt-2"],[1,"fa-solid","fa-check","text-success"],[1,"fa-solid","fa-copy"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),c(2,"Usage"),f(),u(3,"p"),c(4,"The more advanced settings are documented in the "),u(5,"a",2),c(6,"wiki"),f(),c(7,"."),f(),u(8,"div",3)(9,"div",4)(10,"form")(11,"h3"),c(12,"Environment"),f(),P(13,aS,8,5,"div",5),p(14,"hr"),P(15,uS,4,1,"ng-container",6),p(16,"hr"),u(17,"h3"),c(18,"Reports"),f(),u(19,"div",7),c(20,"Path to the coverage report(s) that should be parsed."),p(21,"br"),c(22,"Globbing is supported."),f(),P(23,fS,4,7,"div",8),u(24,"div",9)(25,"a",10),A("click",function(){return o.configuration.addReport()}),p(26,"i",11),c(27," Add report"),f()(),p(28,"br"),u(29,"h3"),c(30,"Target directory"),f(),u(31,"div",7),c(32,"The directory where the generated report(s) should be saved."),f(),u(33,"div",9)(34,"input",12),le("ngModelChange",function(a){return ue(o.configuration.targetdir,a)||(o.configuration.targetdir=a),a}),f()(),p(35,"br"),u(36,"h3"),c(37,"Report types"),f(),u(38,"div",7),c(39,"Download "),u(40,"a",13),c(41,"sample reports"),f()(),u(42,"span",14),c(43,"Filter:"),f(),P(44,hS,2,5,"button",15),p(45,"br"),P(46,vS,2,1,"ng-container",16),u(47,"h3"),c(48,"Source directories"),f(),u(49,"div",7),c(50,"Optional directories which contain the corresponding source code."),p(51,"br"),c(52,"The source directories are used if coverage report contains classes without path information."),f(),P(53,yS,6,3,"div",17),u(54,"div",9)(55,"a",10),A("click",function(){return o.configuration.addSourceDirectory()}),p(56,"i",11),c(57," Add source directory"),f()(),p(58,"br"),u(59,"h3",18),c(60,"History directory"),f(),u(61,"div",7),c(62,"Optional directory for storing "),u(63,"b"),c(64,"persistent"),f(),c(65," coverage information. Choose a directory which does not get deleted between builds."),p(66,"br"),c(67,"Required to show the history chart in the HTML reports."),f(),u(68,"div",9)(69,"input",19),le("ngModelChange",function(a){return ue(o.configuration.historydir,a)||(o.configuration.historydir=a),a}),f()(),p(70,"br"),u(71,"h3"),c(72,"Plugins"),f(),u(73,"div",7),c(74,"Optional plugin files for "),u(75,"a",20),c(76,"custom reports"),f(),c(77," or "),u(78,"a",21),c(79,"custom history storage"),f(),c(80,"."),f(),P(81,DS,6,3,"div",17),u(82,"div",9)(83,"a",10),A("click",function(){return o.configuration.addPlugin()}),p(84,"i",11),c(85," Add plugin"),f()(),p(86,"br"),u(87,"h3"),c(88,"Assembly filters"),f(),u(89,"div",7),c(90,"Optional list of "),u(91,"b"),c(92,"assemblies"),f(),c(93," that should be included or excluded in the report. "),p(94,"br"),c(95,"Exclusion filters take precedence over inclusion filters. "),p(96,"br"),c(97,"Wildcards are allowed."),p(98,"br"),u(99,"p"),c(100,"Examples:"),p(101,"br"),u(102,"code"),c(103,"+Included"),f(),p(104,"br"),u(105,"code"),c(106,"-Excluded"),f()()(),P(107,CS,6,3,"div",17),u(108,"div",9)(109,"a",10),A("click",function(){return o.configuration.addAssemblyFilter()}),p(110,"i",11),c(111," Add assembly filter"),f()(),p(112,"br"),u(113,"h3"),c(114,"Class filters"),f(),u(115,"div",7),c(116,"Optional list of "),u(117,"b"),c(118,"classes"),f(),c(119," that should be included or excluded in the report. "),p(120,"br"),c(121,"Exclusion filters take precedence over inclusion filters. "),p(122,"br"),c(123,"Wildcards are allowed."),p(124,"br"),u(125,"p"),c(126,"Examples:"),p(127,"br"),u(128,"code"),c(129,"+Included"),f(),p(130,"br"),u(131,"code"),c(132,"-Excluded"),f()()(),P(133,wS,6,3,"div",17),u(134,"div",9)(135,"a",10),A("click",function(){return o.configuration.addClassFilter()}),p(136,"i",11),c(137," Add class filter"),f()(),p(138,"br"),u(139,"h3"),c(140,"File filters"),f(),u(141,"div",7),c(142,"Optional list of "),u(143,"b"),c(144,"files"),f(),c(145," that should be included or excluded in the report. "),p(146,"br"),c(147,"Exclusion filters take precedence over inclusion filters. "),p(148,"br"),c(149,"Wildcards are allowed."),p(150,"br"),u(151,"p"),c(152,"Examples:"),p(153,"br"),u(154,"code"),c(155,"+Included"),f(),p(156,"br"),u(157,"code"),c(158,"-Excluded"),f()()(),P(159,bS,6,3,"div",17),u(160,"div",9)(161,"a",10),A("click",function(){return o.configuration.addFileFilter()}),p(162,"i",11),c(163," Add file filter"),f()(),p(164,"br"),u(165,"h3"),c(166,"Risk Hotspots: Assembly filters"),f(),u(167,"div",7),c(168,"Optional list of "),u(169,"b"),c(170,"assemblies"),f(),c(171," that should be included or excluded in the risk hotspots. "),p(172,"br"),c(173,"Exclusion filters take precedence over inclusion filters. "),p(174,"br"),c(175,"Wildcards are allowed."),p(176,"br"),u(177,"p"),c(178,"Examples:"),p(179,"br"),u(180,"code"),c(181,"+Included"),f(),p(182,"br"),u(183,"code"),c(184,"-Excluded"),f()()(),P(185,ES,6,3,"div",17),u(186,"div",9)(187,"a",10),A("click",function(){return o.configuration.addRiskHotspotAssemblyFilter()}),p(188,"i",11),c(189," Add assembly filter"),f()(),p(190,"br"),u(191,"h3"),c(192,"Risk Hotspots: Class filters"),f(),u(193,"div",7),c(194,"Optional list of "),u(195,"b"),c(196,"classes"),f(),c(197," that should be included or excluded in the risk hotspots. "),p(198,"br"),c(199,"Exclusion filters take precedence over inclusion filters. "),p(200,"br"),c(201,"Wildcards are allowed."),p(202,"br"),u(203,"p"),c(204,"Examples:"),p(205,"br"),u(206,"code"),c(207,"+Included"),f(),p(208,"br"),u(209,"code"),c(210,"-Excluded"),f()()(),P(211,_S,6,3,"div",17),u(212,"div",9)(213,"a",10),A("click",function(){return o.configuration.addRiskHotspotClassFilter()}),p(214,"i",11),c(215," Add class filter"),f()(),p(216,"br"),u(217,"h3"),c(218,"Verbosity"),f(),u(219,"div",7),c(220,"The verbosity level of the log messages."),f(),u(221,"div",9)(222,"select",22),le("ngModelChange",function(a){return ue(o.configuration.selectedverbosity,a)||(o.configuration.selectedverbosity=a),a}),P(223,IS,2,2,"option",23),f()(),p(224,"br"),u(225,"h3"),c(226,"Title"),f(),u(227,"div",7),c(228,"Optional title."),f(),u(229,"div",9)(230,"input",24),le("ngModelChange",function(a){return ue(o.configuration.title,a)||(o.configuration.title=a),a}),f()(),p(231,"br"),u(232,"h3"),c(233,"Tag"),f(),u(234,"div",7),c(235,"Optional tag or build version."),f(),u(236,"div",9)(237,"input",25),le("ngModelChange",function(a){return ue(o.configuration.tag,a)||(o.configuration.tag=a),a}),f()(),p(238,"br"),u(239,"h3"),c(240,"License"),f(),u(241,"div",7)(242,"p"),c(243,"Optional license. Get your license here: "),u(244,"a",26),c(245,"https://reportgenerator.io/pro"),f()(),c(246," License can also be supplied via "),u(247,"code"),c(248,"REPORTGENERATOR_LICENSE"),f(),c(249," environment variable. "),f(),u(250,"div",9)(251,"textarea",27),le("ngModelChange",function(a){return ue(o.configuration.license,a)||(o.configuration.license=a),a}),f()()()(),u(252,"div",28)(253,"div",29)(254,"h3"),c(255,"Instructions"),f(),c(256," Install "),u(257,"a",30),c(258),f(),P(259,xS,6,2,"div",31),u(260,"h4",32),c(261,"Usage"),f(),u(262,"pre",33),c(263),f(),u(264,"button",34),A("click",function(){return o.copy()}),P(265,SS,2,0)(266,MS,2,0),f()(),u(267,"div",35)(268,"h3"),c(269,"Instructions"),f(),c(270," Install "),u(271,"a",30),c(272),f(),P(273,TS,6,2,"div",31),u(274,"h4",32),c(275,"Usage"),f(),u(276,"pre",33),c(277),f(),u(278,"button",34),A("click",function(){return o.copy()}),P(279,AS,2,0)(280,NS,2,0),f()()()()()),i&2&&(g(13),D("ngForOf",o.environments),g(2),D("ngIf",o.severalPackagesAvailable()),g(8),D("ngForOf",o.configuration.reports)("ngForTrackBy",o.trackByIndex),g(11),ae("ngModel",o.configuration.targetdir),g(10),D("ngForOf",o.configuration.types)("ngForTrackBy",o.trackByIndex),g(2),D("ngForOf",o.configuration.reporttypes)("ngForTrackBy",o.trackByIndex),g(7),D("ngForOf",o.configuration.sourcedirectories)("ngForTrackBy",o.trackByIndex),g(16),ae("ngModel",o.configuration.historydir),D("required",o.configuration.historyDirRequired()),g(12),D("ngForOf",o.configuration.plugins)("ngForTrackBy",o.trackByIndex),g(26),D("ngForOf",o.configuration.assemblyfilters)("ngForTrackBy",o.trackByIndex),g(26),D("ngForOf",o.configuration.classfilters)("ngForTrackBy",o.trackByIndex),g(26),D("ngForOf",o.configuration.filefilters)("ngForTrackBy",o.trackByIndex),g(26),D("ngForOf",o.configuration.riskhotspotassemblyfilters)("ngForTrackBy",o.trackByIndex),g(26),D("ngForOf",o.configuration.riskhotspotclassfilters)("ngForTrackBy",o.trackByIndex),g(11),ae("ngModel",o.configuration.selectedverbosity),g(),D("ngForOf",o.configuration.verbosities)("ngForTrackBy",o.trackByIndex),g(7),ae("ngModel",o.configuration.title),g(7),ae("ngModel",o.configuration.tag),g(7),D("routerLink",B(42,iS)),g(7),ae("ngModel",o.configuration.license),g(6),D("href",o.selectedPackage.url,Ir),g(),se(o.selectedPackage.name),g(),D("ngForOf",o.selectedPackage.installOptions),g(4),se(o.getUsage()),g(2),Fn(o.usageCopied?265:266),g(6),D("href",o.selectedPackage.url,Ir),g(),se(o.selectedPackage.name),g(),D("ngForOf",o.selectedPackage.installOptions),g(4),se(o.getUsage()),g(2),Fn(o.usageCopied?279:280))},dependencies:[Dn,Yr,nv,iv,yn,Ca,Dd,Wr,Zr,Hn,wd,$n,Bn,ks,Ps,Mr,Ne],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:100px}"]});let t=e;return t})();var qn=" | ReportGenerator - Code coverage reports",RS=[{path:"",component:cv,pathMatch:"full",title:"Home"+qn,data:{canonical:"/"}},{path:"features",component:av,title:"Features"+qn,data:{canonical:"/features"}},{path:"features.html",redirectTo:"/features"},{path:"getstarted",component:lv,title:"Get started"+qn,data:{canonical:"/getstarted"}},{path:"getstarted.html",redirectTo:"/getstarted"},{path:"usage",component:pv,title:"Usage"+qn,data:{canonical:"/usage"}},{path:"usage.html",redirectTo:"/usage"},{path:"pro",component:hv,title:"PRO"+qn,data:{canonical:"/pro"}},{path:"pro.html",redirectTo:"/pro"},{path:"contact",component:ov,title:"Contact"+qn,data:{canonical:"/contact"}},{path:"contact.html",redirectTo:"/contact"},{path:"404",component:uv,title:"404 - Not found"+qn},{path:"**",redirectTo:"/404"}],mv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({imports:[hd.forRoot(RS,{scrollPositionRestoration:"enabled",scrollOffset:[0,0],anchorScrolling:"enabled"}),hd]});let t=e;return t})();K.production&&void 0;Fm(kg,{providers:[gc(Vm,mv,Dn),xa,Sa,Ea,xm(Sm())]}).catch(t=>console.error(t)); diff --git a/docs/main-PKRGEOQU.js b/docs/main-PKRGEOQU.js deleted file mode 100644 index 99aecdd9..00000000 --- a/docs/main-PKRGEOQU.js +++ /dev/null @@ -1,92 +0,0 @@ -var gv=Object.defineProperty,vv=Object.defineProperties;var yv=Object.getOwnPropertyDescriptors;var wd=Object.getOwnPropertySymbols;var Dv=Object.prototype.hasOwnProperty,Cv=Object.prototype.propertyIsEnumerable;var bd=(t,e,r)=>e in t?gv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,b=(t,e)=>{for(var r in e||={})Dv.call(e,r)&&bd(t,r,e[r]);if(wd)for(var r of wd(e))Cv.call(e,r)&&bd(t,r,e[r]);return t},K=(t,e)=>vv(t,yv(e));var Qr=(t,e,r)=>new Promise((n,i)=>{var o=l=>{try{a(r.next(l))}catch(d){i(d)}},s=l=>{try{a(r.throw(l))}catch(d){i(d)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((r=r.apply(t,e)).next())});var Ed=null;var Ra=1,ka=Symbol("SIGNAL");function Y(t){let e=Ed;return Ed=t,e}var _d={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 wv(t){if(!(Fa(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ra)){if(!t.producerMustRecompute(t)&&!Oa(t)){t.dirty=!1,t.lastCleanEpoch=Ra;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Ra}}function Id(t){return t&&(t.nextProducerIndex=0),Y(t)}function xd(t,e){if(Y(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Fa(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Oa(t){eo(t);for(let e=0;e0}function eo(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function bv(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Ev(){throw new Error}var _v=Ev;function Md(t){_v=t}function j(t){return typeof t=="function"}function qn(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var to=qn(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: -${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Kr(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ve=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(j(n))try{n()}catch(o){e=o instanceof to?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Td(o)}catch(s){e=e??[],s instanceof to?e=[...e,...s.errors]:e.push(s)}}if(e)throw new to(e)}}add(e){var r;if(e&&e!==this)if(this.closed)Td(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Kr(r,e)}remove(e){let{_finalizers:r}=this;r&&Kr(r,e),e instanceof t&&e._removeParent(this)}};ve.EMPTY=(()=>{let t=new ve;return t.closed=!0,t})();var La=ve.EMPTY;function no(t){return t instanceof ve||t&&"closed"in t&&j(t.remove)&&j(t.add)&&j(t.unsubscribe)}function Td(t){j(t)?t():t.unsubscribe()}var at={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Wn={setTimeout(t,e,...r){let{delegate:n}=Wn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Wn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ro(t){Wn.setTimeout(()=>{let{onUnhandledError:e}=at;if(e)e(t);else throw t})}function Jr(){}var Ad=Va("C",void 0,void 0);function Nd(t){return Va("E",void 0,t)}function Rd(t){return Va("N",t,void 0)}function Va(t,e,r){return{kind:t,value:e,error:r}}var Dn=null;function Zn(t){if(at.useDeprecatedSynchronousErrorHandling){let e=!Dn;if(e&&(Dn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Dn;if(Dn=null,r)throw n}}else t()}function kd(t){at.useDeprecatedSynchronousErrorHandling&&Dn&&(Dn.errorThrown=!0,Dn.error=t)}var Cn=class extends ve{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,no(e)&&e.add(this)):this.destination=Sv}static create(e,r,n){return new Yn(e,r,n)}next(e){this.isStopped?Ua(Rd(e),this):this._next(e)}error(e){this.isStopped?Ua(Nd(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ua(Ad,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Iv=Function.prototype.bind;function ja(t,e){return Iv.call(t,e)}var Ba=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){io(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){io(n)}else io(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){io(r)}}},Yn=class extends Cn{constructor(e,r,n){super();let i;if(j(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&at.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&ja(e.next,o),error:e.error&&ja(e.error,o),complete:e.complete&&ja(e.complete,o)}):i=e}this.destination=new Ba(i)}};function io(t){at.useDeprecatedSynchronousErrorHandling?kd(t):ro(t)}function xv(t){throw t}function Ua(t,e){let{onStoppedNotification:r}=at;r&&Wn.setTimeout(()=>r(t,e))}var Sv={closed:!0,next:Jr,error:xv,complete:Jr};var Qn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Be(t){return t}function $a(...t){return Ha(t)}function Ha(t){return t.length===0?Be:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var q=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=Tv(r)?r:new Yn(r,n,i);return Zn(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Od(n),new n((i,o)=>{let s=new Yn({next:a=>{try{r(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Qn](){return this}pipe(...r){return Ha(r)(this)}toPromise(r){return r=Od(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Od(t){var e;return(e=t??at.Promise)!==null&&e!==void 0?e:Promise}function Mv(t){return t&&j(t.next)&&j(t.error)&&j(t.complete)}function Tv(t){return t&&t instanceof Cn||Mv(t)&&no(t)}function Ga(t){return j(t?.lift)}function W(t){return e=>{if(Ga(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function z(t,e,r,n,i){return new za(t,e,r,n,i)}var za=class extends Cn{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Kn(){return W((t,e)=>{let r=null;t._refCount++;let n=z(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Jn=class extends q{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Ga(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ve;let r=this.getSubject();e.add(this.source.subscribe(z(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ve.EMPTY)}return e}refCount(){return Kn()(this)}};var Pd=qn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ce=(()=>{class t extends q{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new oo(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Pd}next(r){Zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?La:(this.currentObservers=null,o.push(r),new ve(()=>{this.currentObservers=null,Kr(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new q;return r.source=this,r}}return t.create=(e,r)=>new oo(e,r),t})(),oo=class extends Ce{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:La}};var Ie=class extends Ce{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var $e=new q(t=>t.complete());function Fd(t){return t&&j(t.schedule)}function Ld(t){return t[t.length-1]}function so(t){return j(Ld(t))?t.pop():void 0}function qt(t){return Fd(Ld(t))?t.pop():void 0}function jd(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(h){try{d(n.next(h))}catch(m){s(m)}}function l(h){try{d(n.throw(h))}catch(m){s(m)}}function d(h){h.done?o(h.value):i(h.value).then(a,l)}d((n=n.apply(t,e||[])).next())})}function Vd(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function wn(t){return this instanceof wn?(this.v=t,this):new wn(t)}function Ud(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(g){n[g]&&(i[g]=function(D){return new Promise(function(w,k){o.push([g,D,w,k])>1||a(g,D)})})}function a(g,D){try{l(n[g](D))}catch(w){m(o[0][3],w)}}function l(g){g.value instanceof wn?Promise.resolve(g.value.v).then(d,h):m(o[0][2],g)}function d(g){a("next",g)}function h(g){a("throw",g)}function m(g,D){g(D),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Bd(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Vd=="function"?Vd(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(d){o({value:d,done:a})},s)}}var ao=t=>t&&typeof t.length=="number"&&typeof t!="function";function lo(t){return j(t?.then)}function co(t){return j(t[Qn])}function uo(t){return Symbol.asyncIterator&&j(t?.[Symbol.asyncIterator])}function fo(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Av(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ho=Av();function po(t){return j(t?.[ho])}function mo(t){return Ud(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield wn(r.read());if(i)return yield wn(void 0);yield yield wn(n)}}finally{r.releaseLock()}})}function go(t){return j(t?.getReader)}function ye(t){if(t instanceof q)return t;if(t!=null){if(co(t))return Nv(t);if(ao(t))return Rv(t);if(lo(t))return kv(t);if(uo(t))return $d(t);if(po(t))return Ov(t);if(go(t))return Pv(t)}throw fo(t)}function Nv(t){return new q(e=>{let r=t[Qn]();if(j(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Rv(t){return new q(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,ro)})}function Ov(t){return new q(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function $d(t){return new q(e=>{Fv(t,e).catch(r=>e.error(r))})}function Pv(t){return $d(mo(t))}function Fv(t,e){var r,n,i,o;return jd(this,void 0,void 0,function*(){try{for(r=Bd(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Fe(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function vo(t,e=0){return W((r,n)=>{r.subscribe(z(n,i=>Fe(n,t,()=>n.next(i),e),()=>Fe(n,t,()=>n.complete(),e),i=>Fe(n,t,()=>n.error(i),e)))})}function yo(t,e=0){return W((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Hd(t,e){return ye(t).pipe(yo(e),vo(e))}function Gd(t,e){return ye(t).pipe(yo(e),vo(e))}function zd(t,e){return new q(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function qd(t,e){return new q(r=>{let n;return Fe(r,e,()=>{n=t[ho](),Fe(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>j(n?.return)&&n.return()})}function Do(t,e){if(!t)throw new Error("Iterable cannot be null");return new q(r=>{Fe(r,e,()=>{let n=t[Symbol.asyncIterator]();Fe(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Wd(t,e){return Do(mo(t),e)}function Zd(t,e){if(t!=null){if(co(t))return Hd(t,e);if(ao(t))return zd(t,e);if(lo(t))return Gd(t,e);if(uo(t))return Do(t,e);if(po(t))return qd(t,e);if(go(t))return Wd(t,e)}throw fo(t)}function ie(t,e){return e?Zd(t,e):ye(t)}function R(...t){let e=qt(t);return ie(t,e)}function Xn(t,e){let r=j(t)?t:()=>t,n=i=>i.error(r());return new q(e?i=>e.schedule(n,0,i):n)}function qa(t){return!!t&&(t instanceof q||j(t.lift)&&j(t.subscribe))}var Tt=qn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function F(t,e){return W((r,n)=>{let i=0;r.subscribe(z(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:Lv}=Array;function Vv(t,e){return Lv(e)?t(...e):t(e)}function Co(t){return F(e=>Vv(t,e))}var{isArray:jv}=Array,{getPrototypeOf:Uv,prototype:Bv,keys:$v}=Object;function wo(t){if(t.length===1){let e=t[0];if(jv(e))return{args:e,keys:null};if(Hv(e)){let r=$v(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function Hv(t){return t&&typeof t=="object"&&Uv(t)===Bv}function bo(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function Xr(...t){let e=qt(t),r=so(t),{args:n,keys:i}=wo(t);if(n.length===0)return ie([],e);let o=new q(Gv(n,e,i?s=>bo(i,s):Be));return r?o.pipe(Co(r)):o}function Gv(t,e,r=Be){return n=>{Yd(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let l=0;l{let d=ie(t[l],e),h=!1;d.subscribe(z(n,m=>{o[l]=m,h||(h=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Yd(t,e,r){t?Fe(r,t,e):e()}function Qd(t,e,r,n,i,o,s,a){let l=[],d=0,h=0,m=!1,g=()=>{m&&!l.length&&!d&&e.complete()},D=k=>d{o&&e.next(k),d++;let T=!1;ye(r(k,h++)).subscribe(z(e,N=>{i?.(N),o?D(N):e.next(N)},()=>{T=!0},void 0,()=>{if(T)try{for(d--;l.length&&dw(N)):w(N)}g()}catch(N){e.error(N)}}))};return t.subscribe(z(e,D,()=>{m=!0,g()})),()=>{a?.()}}function fe(t,e,r=1/0){return j(e)?fe((n,i)=>F((o,s)=>e(n,o,i,s))(ye(t(n,i))),r):(typeof e=="number"&&(r=e),W((n,i)=>Qd(n,i,t,r)))}function Wt(t=1/0){return fe(Be,t)}function Kd(){return Wt(1)}function er(...t){return Kd()(ie(t,qt(t)))}function Eo(t){return new q(e=>{ye(t()).subscribe(e)})}function Wa(...t){let e=so(t),{args:r,keys:n}=wo(t),i=new q(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),l=s,d=s;for(let h=0;h{m||(m=!0,d--),a[h]=g},()=>l--,void 0,()=>{(!l||!m)&&(d||o.next(n?bo(n,a):a),o.complete())}))}});return e?i.pipe(Co(e)):i}function xe(t,e){return W((r,n)=>{let i=0;r.subscribe(z(n,o=>t.call(e,o,i++)&&n.next(o)))})}function Zt(t){return W((e,r)=>{let n=null,i=!1,o;n=e.subscribe(z(r,void 0,void 0,s=>{o=ye(t(s,Zt(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function Jd(t,e,r,n,i){return(o,s)=>{let a=r,l=e,d=0;o.subscribe(z(s,h=>{let m=d++;l=a?t(l,h,m):(a=!0,h),n&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function At(t,e){return j(e)?fe(t,e,1):fe(t,1)}function Yt(t){return W((e,r)=>{let n=!1;e.subscribe(z(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function Nt(t){return t<=0?()=>$e:W((e,r)=>{let n=0;e.subscribe(z(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function Za(t){return F(()=>t)}function _o(t=zv){return W((e,r)=>{let n=!1;e.subscribe(z(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function zv(){return new Tt}function Qt(t){return W((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function gt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?xe((i,o)=>t(i,o,n)):Be,Nt(1),r?Yt(e):_o(()=>new Tt))}function tr(t){return t<=0?()=>$e:W((e,r)=>{let n=[];e.subscribe(z(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function Ya(t,e){let r=arguments.length>=2;return n=>n.pipe(t?xe((i,o)=>t(i,o,n)):Be,tr(1),r?Yt(e):_o(()=>new Tt))}function Qa(t,e){return W(Jd(t,e,arguments.length>=2,!0))}function Ka(...t){let e=qt(t);return W((r,n)=>{(e?er(t,r,e):er(t,r)).subscribe(n)})}function Le(t,e){return W((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(z(n,l=>{i?.unsubscribe();let d=0,h=o++;ye(t(l,h)).subscribe(i=z(n,m=>n.next(e?e(l,m,h,d++):m),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Ja(t){return W((e,r)=>{ye(t).subscribe(z(r,()=>r.complete(),Jr)),!r.closed&&e.subscribe(r)})}function we(t,e,r){let n=j(t)||e||r?{next:t,error:e,complete:r}:t;return n?W((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(z(o,l=>{var d;(d=n.next)===null||d===void 0||d.call(n,l),o.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var d;a=!1,(d=n.error)===null||d===void 0||d.call(n,l),o.error(l)},()=>{var l,d;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(d=n.finalize)===null||d===void 0||d.call(n)}))}):Be}var jf="https://g.co/ng/security#xss",M=class extends Error{constructor(e,r){super(ns(e,r)),this.code=e}};function ns(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function ui(t){return{toString:t}.toString()}var Io="__parameters__";function qv(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function Uf(t,e,r){return ui(()=>{let n=qv(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(l,d,h){let m=l.hasOwnProperty(Io)?l[Io]:Object.defineProperty(l,Io,{value:[]})[Io];for(;m.length<=h;)m.push(null);return(m[h]=m[h]||[]).push(s),l}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var et=globalThis;function te(t){for(let e in t)if(t[e]===te)return e;throw Error("Could not find renamed property on target object.")}function Wv(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Oe(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Oe).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` -`);return r===-1?e:e.substring(0,r)}function Xd(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Zv=te({__forward_ref__:te});function He(t){return t.__forward_ref__=He,t.toString=function(){return Oe(this())},t}function ke(t){return Bf(t)?t():t}function Bf(t){return typeof t=="function"&&t.hasOwnProperty(Zv)&&t.__forward_ref__===He}function _(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ge(t){return{providers:t.providers||[],imports:t.imports||[]}}function rs(t){return ef(t,Hf)||ef(t,Gf)}function $f(t){return rs(t)!==null}function ef(t,e){return t.hasOwnProperty(e)?t[e]:null}function Yv(t){let e=t&&(t[Hf]||t[Gf]);return e||null}function tf(t){return t&&(t.hasOwnProperty(nf)||t.hasOwnProperty(Qv))?t[nf]:null}var Hf=te({\u0275prov:te}),nf=te({\u0275inj:te}),Gf=te({ngInjectableDef:te}),Qv=te({ngInjectorDef:te}),x=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 zf(t){return t&&!!t.\u0275providers}var Kv=te({\u0275cmp:te}),Jv=te({\u0275dir:te}),Xv=te({\u0275pipe:te}),ey=te({\u0275mod:te}),Po=te({\u0275fac:te}),ei=te({__NG_ELEMENT_ID__:te}),rf=te({__NG_ENV_ID__:te});function is(t){return typeof t=="string"?t:t==null?"":String(t)}function ty(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():is(t)}function ny(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new M(-200,t)}function cc(t,e){throw new M(-201,!1)}var H=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}(H||{}),pl;function qf(){return pl}function Je(t){let e=pl;return pl=t,e}function Wf(t,e,r){let n=rs(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&H.Optional)return null;if(e!==void 0)return e;cc(t,"Injector")}var ry={},ti=ry,ml="__NG_DI_FLAG__",Fo="ngTempTokenPath",iy="ngTokenPath",oy=/\n/gm,sy="\u0275",of="__source",sr;function ay(){return sr}function Kt(t){let e=sr;return sr=t,e}function ly(t,e=H.Default){if(sr===void 0)throw new M(-203,!1);return sr===null?Wf(t,void 0,e):sr.get(t,e&H.Optional?null:void 0,e)}function I(t,e=H.Default){return(qf()||ly)(ke(t),e)}function C(t,e=H.Default){return I(t,os(e))}function os(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function gl(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):Oe(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(oy,` - `)}`}var ss=Zf(Uf("Optional"),8);var uc=Zf(Uf("SkipSelf"),4);function lr(t,e){let r=t.hasOwnProperty(Po);return r?t[Po]:null}function fy(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?dc(r,e):e(r))}function Yf(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Lo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function py(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 my(t,e,r){let n=di(t,e);return n>=0?t[n|1]=r:(n=~n,py(t,n,e,r)),n}function Xa(t,e){let r=di(t,e);if(r>=0)return t[r|1]}function di(t,e){return gy(t,e,1)}function gy(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?m="":m=i[h+1].toLowerCase(),n&2&&d!==m){if(lt(n))return!1;s=!0}}}}return lt(n)||s}function lt(t){return(t&1)===0}function by(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!==""&&!lt(s)&&(e+=af(o,i),i=""),n=s,o=o||!lt(n);r++}return i!==""&&(e+=af(o,i)),e}function Sy(t){return t.map(xy).join(",")}function My(t){let e=[],r=[],n=1,i=2;for(;n{let e=oh(t),r=K(b({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Jf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Dt.Emulated,styles:t.styles||Xe,_:null,schemas:t.schemas||null,tView:null,id:""});sh(r);let n=t.dependencies;return r.directiveDefs=cf(n,!1),r.pipeDefs=cf(n,!0),r.id=Ny(r),r})}function Ty(t){return en(t)||th(t)}function Ay(t){return t!==null}function ze(t){return ui(()=>({type:t.type,bootstrap:t.bootstrap||Xe,declarations:t.declarations||Xe,imports:t.imports||Xe,exports:t.exports||Xe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function lf(t,e){if(t==null)return cr;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o,s,a=dr.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==dr.None?[n,a]:n,e[o]=s):r[o]=n}return r}function ne(t){return ui(()=>{let e=oh(t);return sh(e),e})}function en(t){return t[Kv]||null}function th(t){return t[Jv]||null}function nh(t){return t[Xv]||null}function rh(t){let e=en(t)||th(t)||nh(t);return e!==null?e.standalone:!1}function ih(t,e){let r=t[ey]||null;if(!r&&e===!0)throw new Error(`Type ${Oe(t)} does not have '\u0275mod' property.`);return r}function oh(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||cr,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Xe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:lf(t.inputs,e),outputs:lf(t.outputs),debugInfo:null}}function sh(t){t.features?.forEach(e=>e(t))}function cf(t,e){if(!t)return null;let r=e?nh:Ty;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Ay)}function Ny(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 hc(...t){return{\u0275providers:ah(!0,t),\u0275fromNgModule:!0}}function ah(t,...e){let r=[],n=new Set,i,o=s=>{r.push(s)};return dc(e,s=>{let a=s;yl(a,o,[],n)&&(i||=[],i.push(a))}),i!==void 0&&lh(i,o),r}function lh(t,e){for(let r=0;r{e(o,n)})}}function yl(t,e,r,n){if(t=ke(t),!t)return!1;let i=null,o=tf(t),s=!o&&en(t);if(!o&&!s){let l=t.ngModule;if(o=tf(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let d of l)yl(d,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let d;try{dc(o.imports,h=>{yl(h,e,r,n)&&(d||=[],d.push(h))})}finally{}d!==void 0&&lh(d,e)}if(!a){let d=lr(i)||(()=>new i);e({provide:i,useFactory:d,deps:Xe},i),e({provide:Kf,useValue:i,multi:!0},i),e({provide:ur,useValue:()=>I(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let d=t;pc(l,h=>{e(h,d)})}}else return!1;return i!==t&&t.providers!==void 0}function pc(t,e){for(let r of t)zf(r)&&(r=r.\u0275providers),Array.isArray(r)?pc(r,e):e(r)}var Ry=te({provide:String,useValue:te});function ch(t){return t!==null&&typeof t=="object"&&Ry in t}function ky(t){return!!(t&&t.useExisting)}function Oy(t){return!!(t&&t.useFactory)}function fr(t){return typeof t=="function"}function Py(t){return!!t.useClass}var ls=new x(""),To={},Fy={},el;function mc(){return el===void 0&&(el=new Vo),el}var Me=class{},ri=class extends Me{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Cl(e,s=>this.processProvider(s)),this.records.set(Qf,nr(void 0,this)),i.has("environment")&&this.records.set(Me,nr(void 0,this));let o=this.records.get(ls);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Kf,Xe,H.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Y(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Y(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Kt(this),n=Je(void 0),i;try{return e()}finally{Kt(r),Je(n)}}get(e,r=ti,n=H.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(rf))return e[rf](this);n=os(n);let i,o=Kt(this),s=Je(void 0);try{if(!(n&H.SkipSelf)){let l=this.records.get(e);if(l===void 0){let d=By(e)&&rs(e);d&&this.injectableDefInScope(d)?l=nr(Dl(e),To):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&H.Self?mc():this.parent;return r=n&H.Optional&&r===ti?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Fo]=a[Fo]||[]).unshift(Oe(e)),o)throw a;return uy(a,e,"R3InjectorError",this.source)}else throw a}finally{Je(s),Kt(o)}}resolveInjectorInitializers(){let e=Y(null),r=Kt(this),n=Je(void 0),i;try{let o=this.get(ur,Xe,H.Self);for(let s of o)s()}finally{Kt(r),Je(n),Y(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(Oe(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(e){e=ke(e);let r=fr(e)?e:ke(e&&e.provide),n=Vy(e);if(!fr(e)&&e.multi===!0){let i=this.records.get(r);i||(i=nr(void 0,To,!0),i.factory=()=>gl(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===To&&(r.value=Fy,r.value=r.factory()),typeof r.value=="object"&&r.value&&Uy(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Y(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=ke(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 Dl(t){let e=rs(t),r=e!==null?e.factory:lr(t);if(r!==null)return r;if(t instanceof x)throw new M(204,!1);if(t instanceof Function)return Ly(t);throw new M(204,!1)}function Ly(t){if(t.length>0)throw new M(204,!1);let r=Yv(t);return r!==null?()=>r.factory(t):()=>new t}function Vy(t){if(ch(t))return nr(void 0,t.useValue);{let e=uh(t);return nr(e,To)}}function uh(t,e,r){let n;if(fr(t)){let i=ke(t);return lr(i)||Dl(i)}else if(ch(t))n=()=>ke(t.useValue);else if(Oy(t))n=()=>t.useFactory(...gl(t.deps||[]));else if(ky(t))n=()=>I(ke(t.useExisting));else{let i=ke(t&&(t.useClass||t.provide));if(jy(t))n=()=>new i(...gl(t.deps));else return lr(i)||Dl(i)}return n}function nr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function jy(t){return!!t.deps}function Uy(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function By(t){return typeof t=="function"||typeof t=="object"&&t instanceof x}function Cl(t,e){for(let r of t)Array.isArray(r)?Cl(r,e):r&&zf(r)?Cl(r.\u0275providers,e):e(r)}function qe(t,e){t instanceof ri&&t.assertNotDestroyed();let r,n=Kt(t),i=Je(void 0);try{return e()}finally{Kt(n),Je(i)}}function dh(){return qf()!==void 0||ay()!=null}function $y(t){if(!dh())throw new M(-203,!1)}function Hy(t){return typeof t=="function"}var Pt=0,U=1,O=2,Te=3,ct=4,ut=5,jo=6,ii=7,tt=8,hr=9,Ct=10,pe=11,oi=12,uf=13,wr=14,wt=15,_n=16,rr=17,Rt=18,cs=19,fh=20,Jt=21,tl=22,In=23,nt=25,hh=1;var xn=7,Uo=8,pr=9,Ve=10,Bo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Bo||{});function Xt(t){return Array.isArray(t)&&typeof t[hh]=="object"}function Ft(t){return Array.isArray(t)&&t[hh]===!0}function gc(t){return(t.flags&4)!==0}function us(t){return t.componentOffset>-1}function ds(t){return(t.flags&1)===1}function tn(t){return!!t.template}function wl(t){return(t[O]&512)!==0}var bl=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function ph(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Lt(){return mh}function mh(t){return t.type.prototype.ngOnChanges&&(t.setInput=zy),Gy}Lt.ngInherit=!0;function Gy(){let t=vh(this),e=t?.current;if(e){let r=t.previous;if(r===cr)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function zy(t,e,r,n,i){let o=this.declaredInputs[n],s=vh(t)||qy(t,{previous:cr,current:null}),a=s.current||(s.current={}),l=s.previous,d=l[o];a[o]=new bl(d&&d.currentValue,r,l===cr),ph(t,e,i,r)}var gh="__ngSimpleChanges__";function vh(t){return t[gh]||null}function qy(t,e){return t[gh]=e}var df=null;var vt=function(t,e,r){df?.(t,e,r)},Wy="svg",Zy="math";function bt(t){for(;Array.isArray(t);)t=t[Pt];return t}function yh(t,e){return bt(e[t])}function it(t,e){return bt(e[t.index])}function vc(t,e){return t.data[e]}function Yy(t,e){return t[e]}function on(t,e){let r=e[t];return Xt(r)?r:r[Pt]}function Qy(t){return(t[O]&4)===4}function yc(t){return(t[O]&128)===128}function Ky(t){return Ft(t[Te])}function mr(t,e){return e==null?null:t[e]}function Dh(t){t[rr]=0}function Jy(t){t[O]&1024||(t[O]|=1024,yc(t)&&fs(t))}function Xy(t,e){for(;t>0;)e=e[wr],t--;return e}function si(t){return!!(t[O]&9216||t[In]?.dirty)}function El(t){t[Ct].changeDetectionScheduler?.notify(7),t[O]&64&&(t[O]|=1024),si(t)&&fs(t)}function fs(t){t[Ct].changeDetectionScheduler?.notify(0);let e=ai(t);for(;e!==null&&!(e[O]&8192||(e[O]|=8192,!yc(e)));)e=ai(e)}function Ch(t,e){if((t[O]&256)===256)throw new M(911,!1);t[Jt]===null&&(t[Jt]=[]),t[Jt].push(e)}function e0(t,e){if(t[Jt]===null)return;let r=t[Jt].indexOf(e);r!==-1&&t[Jt].splice(r,1)}function ai(t){let e=t[Te];return Ft(e)?e[Te]:e}var G={lFrame:Th(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var wh=!1;function t0(){return G.lFrame.elementDepthCount}function n0(){G.lFrame.elementDepthCount++}function r0(){G.lFrame.elementDepthCount--}function bh(){return G.bindingsEnabled}function i0(){return G.skipHydrationRootTNode!==null}function o0(t){return G.skipHydrationRootTNode===t}function s0(){G.skipHydrationRootTNode=null}function Z(){return G.lFrame.lView}function be(){return G.lFrame.tView}function L(t){return G.lFrame.contextLView=t,t[tt]}function V(t){return G.lFrame.contextLView=null,t}function Se(){let t=Eh();for(;t!==null&&t.type===64;)t=t.parent;return t}function Eh(){return G.lFrame.currentTNode}function a0(){let t=G.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function kn(t,e){let r=G.lFrame;r.currentTNode=t,r.isParent=e}function Dc(){return G.lFrame.isParent}function _h(){G.lFrame.isParent=!1}function l0(){return G.lFrame.contextLView}function Ih(){return wh}function ff(t){wh=t}function Cc(){let t=G.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function c0(t){return G.lFrame.bindingIndex=t}function fi(){return G.lFrame.bindingIndex++}function u0(t){let e=G.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function d0(){return G.lFrame.inI18n}function f0(t,e){let r=G.lFrame;r.bindingIndex=r.bindingRootIndex=t,_l(e)}function h0(){return G.lFrame.currentDirectiveIndex}function _l(t){G.lFrame.currentDirectiveIndex=t}function p0(t){let e=G.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function xh(){return G.lFrame.currentQueryIndex}function wc(t){G.lFrame.currentQueryIndex=t}function m0(t){let e=t[U];return e.type===2?e.declTNode:e.type===1?t[ut]:null}function Sh(t,e,r){if(r&H.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&H.Host);)if(i=m0(o),i===null||(o=o[wr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=G.lFrame=Mh();return n.currentTNode=e,n.lView=t,!0}function bc(t){let e=Mh(),r=t[U];G.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Mh(){let t=G.lFrame,e=t===null?null:t.child;return e===null?Th(t):e}function Th(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 Ah(){let t=G.lFrame;return G.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Nh=Ah;function Ec(){let t=Ah();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 g0(t){return(G.lFrame.contextLView=Xy(t,G.lFrame.contextLView))[tt]}function br(){return G.lFrame.selectedIndex}function Sn(t){G.lFrame.selectedIndex=t}function hs(){let t=G.lFrame;return vc(t.tView,t.selectedIndex)}function v0(){return G.lFrame.currentNamespace}var Rh=!0;function ps(){return Rh}function ms(t){Rh=t}function y0(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=mh(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function gs(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[l]<0&&(t[rr]+=65536),(a>14>16&&(t[O]&3)===e&&(t[O]+=16384,hf(a,o)):hf(a,o)}var ar=-1,Mn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function C0(t){return t instanceof Mn}function w0(t){return(t.flags&8)!==0}function b0(t){return(t.flags&16)!==0}function Oh(t){return t!==ar}function $o(t){return t&32767}function E0(t){return t>>16}function Ho(t,e){let r=E0(t),n=e;for(;r>0;)n=n[wr],r--;return n}var Il=!0;function pf(t){let e=Il;return Il=t,e}var _0=256,Ph=_0-1,Fh=5,I0=0,yt={};function x0(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(ei)&&(n=r[ei]),n==null&&(n=r[ei]=I0++);let i=n&Ph,o=1<>Fh)]|=o}function Go(t,e){let r=Lh(t,e);if(r!==-1)return r;let n=e[U];n.firstCreatePass&&(t.injectorIndex=e.length,rl(n.data,t),rl(e,null),rl(n.blueprint,null));let i=_c(t,e),o=t.injectorIndex;if(Oh(i)){let s=$o(i),a=Ho(i,e),l=a[U].data;for(let d=0;d<8;d++)e[o+d]=a[s+d]|l[s+d]}return e[o+8]=i,o}function rl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Lh(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function _c(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=$h(i),n===null)return ar;if(r++,i=i[wr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return ar}function xl(t,e,r){x0(t,e,r)}function S0(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,g=i?a+h:d;for(let D=m;D=l&&w.type===r)return D}if(i){let D=s[l];if(D&&tn(D)&&D.type===r)return l}return null}function Tn(t,e,r,n){let i=t[r],o=e.data;if(C0(i)){let s=i;s.resolving&&ny(ty(o[r]));let a=pf(s.canSeeViewProviders);s.resolving=!0;let l,d=s.injectImpl?Je(s.injectImpl):null,h=Sh(t,n,H.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&y0(r,o[r],e)}finally{d!==null&&Je(d),pf(a),s.resolving=!1,Nh()}}return i}function T0(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ei)?t[ei]:void 0;return typeof e=="number"?e>=0?e&Ph:A0:e}function mf(t,e,r){let n=1<>Fh)]&n)}function gf(t,e){return!(t&H.Self)&&!(t&H.Host&&e)}var En=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Uh(this._tNode,this._lView,e,os(n),r)}};function A0(){return new En(Se(),Z())}function dt(t){return ui(()=>{let e=t.prototype.constructor,r=e[Po]||Sl(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[Po]||Sl(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Sl(t){return Bf(t)?()=>{let e=Sl(ke(t));return e&&e()}:lr(t)}function N0(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[O]&2048&&!(s[O]&512);){let a=Bh(o,s,r,n|H.Self,yt);if(a!==yt)return a;let l=o.parent;if(!l){let d=s[fh];if(d){let h=d.get(r,yt,n);if(h!==yt)return h}l=$h(s),s=s[wr]}o=l}return i}function $h(t){let e=t[U],r=e.type;return r===2?e.declTNode:r===1?t[ut]:null}function Ic(t){return S0(Se(),t)}function vf(t,e=null,r=null,n){let i=Hh(t,e,r,n);return i.resolveInjectorInitializers(),i}function Hh(t,e=null,r=null,n,i=new Set){let o=[r||Xe,hc(t)];return n=n||(typeof t=="object"?void 0:Oe(t)),new ri(o,e||mc(),n||null,i)}var bn=class bn{static create(e,r){if(Array.isArray(e))return vf({name:""},r,e,"");{let n=e.name??"";return vf({name:n},e.parent,e.providers,n)}}};bn.THROW_IF_NOT_FOUND=ti,bn.NULL=new Vo,bn.\u0275prov=_({token:bn,providedIn:"any",factory:()=>I(Qf)}),bn.__NG_ELEMENT_ID__=-1;var rt=bn;var R0=new x("");R0.__NG_ELEMENT_ID__=t=>{let e=Se();if(e===null)throw new M(204,!1);if(e.type&2)return e.value;if(t&H.Optional)return null;throw new M(204,!1)};var k0="ngOriginalError";function il(t){return t[k0]}var Et=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&&il(e);for(;r&&il(r);)r=il(r);return r||null}},Gh=new x("",{providedIn:"root",factory:()=>C(Et).handleError.bind(void 0)}),xc=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=O0,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Ml=class extends xc{constructor(e){super(),this._lView=e}onDestroy(e){return Ch(this._lView,e),()=>e0(this._lView,e)}};function O0(){return new Ml(Z())}function P0(){return Er(Se(),Z())}function Er(t,e){return new Ae(it(t,e))}var Ae=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=P0;let t=e;return t})();function F0(t){return t instanceof Ae?t.nativeElement:t}var Tl=class extends Ce{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,dh()&&(this.destroyRef=C(xc,{optional:!0})??void 0)}emit(e){let r=Y(null);try{super.next(e)}finally{Y(r)}}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=ol(o),i&&(i=ol(i)),s&&(s=ol(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof ve&&e.add(a),a}};function ol(t){return e=>{setTimeout(t,void 0,e)}}var he=Tl;function L0(){return this._results[Symbol.iterator]()}var Al=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]=L0)}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=hy(e);(this._changesDetected=!fy(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 zh(t){return(t.flags&128)===128}var qh=new Map,V0=0;function j0(){return V0++}function U0(t){qh.set(t[cs],t)}function B0(t){qh.delete(t[cs])}var yf="__ngContext__";function nn(t,e){Xt(e)?(t[yf]=e[cs],U0(e)):t[yf]=e}function Wh(t){return Yh(t[oi])}function Zh(t){return Yh(t[ct])}function Yh(t){for(;t!==null&&!Ft(t);)t=t[ct];return t}var Nl;function Qh(t){Nl=t}function $0(){if(Nl!==void 0)return Nl;if(typeof document<"u")return document;throw new M(210,!1)}var vs=new x("",{providedIn:"root",factory:()=>H0}),H0="ng",Sc=new x(""),_t=new x("",{providedIn:"platform",factory:()=>"unknown"});var Mc=new x("",{providedIn:"root",factory:()=>$0().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var G0="h",z0="b";var q0=()=>null;function Tc(t,e,r=!1){return q0(t,e,r)}var Kh=!1,W0=new x("",{providedIn:"root",factory:()=>Kh});var xo;function Z0(){if(xo===void 0&&(xo=null,et.trustedTypes))try{xo=et.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return xo}function Df(t){return Z0()?.createScriptURL(t)||t}var zo=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${jf})`}};function hi(t){return t instanceof zo?t.changingThisBreaksApplicationSecurity:t}function Ac(t,e){let r=Y0(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${jf})`)}return r===e}function Y0(t){return t instanceof zo&&t.getTypeName()||null}var Q0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jh(t){return t=String(t),t.match(Q0)?t:"unsafe:"+t}var ys=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}(ys||{});function _r(t){let e=ep();return e?e.sanitize(ys.URL,t)||"":Ac(t,"URL")?hi(t):Jh(is(t))}function K0(t){let e=ep();if(e)return Df(e.sanitize(ys.RESOURCE_URL,t)||"");if(Ac(t,"ResourceURL"))return Df(hi(t));throw new M(904,!1)}function J0(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?K0:_r}function Xh(t,e,r){return J0(e,r)(t)}function ep(){let t=Z();return t&&t[Ct].sanitizer}var X0=/^>|^->||--!>|)/g,tD="\u200B$1\u200B";function nD(t){return t.replace(X0,e=>e.replace(eD,tD))}function tp(t){return t instanceof Function?t():t}function rD(t){return(t??C(rt)).get(_t)==="browser"}var kt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(kt||{}),iD;function Nc(t,e){return iD(t,e)}function ir(t,e,r,n,i){if(n!=null){let o,s=!1;Ft(n)?o=n:Xt(n)&&(s=!0,n=n[Pt]);let a=bt(n);t===0&&r!==null?i==null?op(e,r,a):Wo(e,r,a,i||null,!0):t===1&&r!==null?Wo(e,r,a,i||null,!0):t===2?wD(e,a,s):t===3&&e.destroyNode(a),o!=null&&ED(e,t,o,r,i)}}function oD(t,e){return t.createText(e)}function sD(t,e,r){t.setValue(e,r)}function aD(t,e){return t.createComment(nD(e))}function np(t,e,r){return t.createElement(e,r)}function lD(t,e){rp(t,e),e[Pt]=null,e[ut]=null}function cD(t,e,r,n,i,o){n[Pt]=i,n[ut]=e,Cs(t,n,r,1,i,o)}function rp(t,e){e[Ct].changeDetectionScheduler?.notify(8),Cs(t,e,e[pe],2,null,null)}function uD(t){let e=t[oi];if(!e)return sl(t[U],t);for(;e;){let r=null;if(Xt(e))r=e[oi];else{let n=e[Ve];n&&(r=n)}if(!r){for(;e&&!e[ct]&&e!==t;)Xt(e)&&sl(e[U],e),e=e[Te];e===null&&(e=t),Xt(e)&&sl(e[U],e),r=e&&e[ct]}e=r}}function dD(t,e,r,n){let i=Ve+n,o=r.length;n>0&&(r[i-1][ct]=e),n0&&(t[r-1][ct]=n[ct]);let o=Lo(t,Ve+e);lD(n[U],n);let s=o[Rt];s!==null&&s.detachView(o[U]),n[Te]=null,n[ct]=null,n[O]&=-129}return n}function kc(t,e){if(!(e[O]&256)){let r=e[pe];r.destroyNode&&Cs(t,e,r,3,null,null),uD(e)}}function sl(t,e){if(e[O]&256)return;let r=Y(null);try{e[O]&=-129,e[O]|=256,e[In]&&Sd(e[In]),hD(t,e),fD(t,e),e[U].type===1&&e[pe].destroy();let n=e[_n];if(n!==null&&Ft(e[Te])){n!==e[Te]&&Rc(n,e);let i=e[Rt];i!==null&&i.detachView(t)}B0(e)}finally{Y(r)}}function fD(t,e){let r=t.cleanup,n=e[ii];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[ii]=null);let i=e[Jt];if(i!==null){e[Jt]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Dt.None||o===Dt.Emulated)return null}return it(n,r)}}function Wo(t,e,r,n,i){t.insertBefore(e,r,n,i)}function op(t,e,r){t.appendChild(e,r)}function Cf(t,e,r,n,i){n!==null?Wo(t,e,r,n,i):op(t,e,r)}function gD(t,e,r,n){t.removeChild(e,r,n)}function Oc(t,e){return t.parentNode(e)}function vD(t,e){return t.nextSibling(e)}function yD(t,e,r){return CD(t,e,r)}function DD(t,e,r){return t.type&40?it(t,r):null}var CD=DD,wf;function Ds(t,e,r,n){let i=pD(t,n,e),o=e[pe],s=n.parent||e[ut],a=yD(s,n,e);if(i!=null)if(Array.isArray(r))for(let l=0;lnt&&cp(t,e,nt,!1),vt(s?2:0,i),r(n,i)}finally{Sn(o),vt(s?3:1,i)}}function Fc(t,e,r){if(gc(e)){let n=Y(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function RD(t,e,r,n){let i=Dp(e);i.push(r),t.firstCreatePass&&Cp(t).push(n,i.length-1)}function kD(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return i0()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function bf(t,e,r,n,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=dr.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let d=o;if(i!==null){if(!i.hasOwnProperty(o))continue;d=i[o]}t===0?Ef(n,r,d,a,l):Ef(n,r,d,a)}return n}function Ef(t,e,r,n,i){let o;t.hasOwnProperty(r)?(o=t[r]).push(e,n):o=t[r]=[e,n],i!==void 0&&o.push(i)}function OD(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,d=null;for(let h=n;h0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function jD(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;us(r)&&qD(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||Go(r,e),nn(n,e);let s=r.initialInputs;for(let a=i;a{fs(t.lView)},consumerOnSignalRead(){this.lView[In]=this}}),lC=100;function Ip(t,e=!0,r=0){let n=t[Ct],i=n.rendererFactory,o=!1;o||i.begin?.();try{cC(t,r)}catch(s){throw e&&wp(t,s),s}finally{o||(i.end?.(),n.inlineEffectRunner?.flush())}}function cC(t,e){let r=Ih();try{ff(!0),Fl(t,e);let n=0;for(;si(t);){if(n===lC)throw new M(103,!1);n++,Fl(t,1)}}finally{ff(r)}}function uC(t,e,r,n){let i=e[O];if((i&256)===256)return;let o=!1,s=!1;!o&&e[Ct].inlineEffectRunner?.flush(),bc(e);let a=null,l=null;!o&&dC(t)&&(l=iC(e),a=Id(l));try{Dh(e),c0(t.bindingStartIndex),r!==null&&hp(t,e,r,2,n);let d=(i&3)===3;if(!o)if(d){let g=t.preOrderCheckHooks;g!==null&&Ao(e,g,null)}else{let g=t.preOrderHooks;g!==null&&No(e,g,0,null),nl(e,0)}if(s||fC(e),xp(e,0),t.contentQueries!==null&&yp(t,e),!o)if(d){let g=t.contentCheckHooks;g!==null&&Ao(e,g)}else{let g=t.contentHooks;g!==null&&No(e,g,1),nl(e,1)}xD(t,e);let h=t.components;h!==null&&Mp(e,h,0);let m=t.viewQuery;if(m!==null&&Ol(2,m,n),!o)if(d){let g=t.viewCheckHooks;g!==null&&Ao(e,g)}else{let g=t.viewHooks;g!==null&&No(e,g,2),nl(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[tl]){for(let g of e[tl])g();e[tl]=null}o||(e[O]&=-73)}catch(d){throw o||fs(e),d}finally{l!==null&&(xd(l,a),sC(l)),Ec()}}function dC(t){return t.type!==2}function xp(t,e){for(let r=Wh(t);r!==null;r=Zh(r))for(let n=Ve;n-1&&(qo(e,n),Lo(r,n))}this._attachedToViewContainer=!1}kc(this._lView[U],this._lView)}onDestroy(e){Ch(this._lView,e)}markForCheck(){Gc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[O]&=-129}reattach(){El(this._lView),this._lView[O]|=128}detectChanges(){this._lView[O]|=1024,Ip(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=wl(this._lView),r=this._lView[_n];r!==null&&!e&&Rc(r,this._lView),rp(this._lView[U],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=e;let r=wl(this._lView),n=this._lView[_n];n!==null&&!r&&ip(n,this._lView),El(this._lView)}},Nn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=gC;let t=e;return t})(),pC=Nn,mC=class extends pC{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=bp(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new An(i)}};function gC(){return zc(Se(),Z())}function zc(t,e){return t.type&4?new mC(e,t,Er(t,e)):null}var MR=new RegExp(`^(\\d+)*(${z0}|${G0})*(.*)`);var vC=()=>null;function Ll(t,e){return vC(t,e)}var gr=class{},Tp=new x("",{providedIn:"root",factory:()=>!1});var Ap=new x(""),Vl=class{},Yo=class{};function yC(t){let e=Error(`No component factory found for ${Oe(t)}.`);return e[DC]=t,e}var DC="ngComponent";var jl=class{resolveComponentFactory(e){throw yC(e)}},tu=class tu{};tu.NULL=new jl;var vr=tu,yr=class{},ot=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>CC();let t=e;return t})();function CC(){let t=Z(),e=Se(),r=on(e.index,t);return(Xt(r)?r:t)[pe]}var wC=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),al={};var _f=new Set;function mi(t){_f.has(t)||(_f.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Np(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof et.requestAnimationFrame=="function"&&et.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function If(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function xf(...t){}var X=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new he(!1),this.onMicrotaskEmpty=new he(!1),this.onStable=new he(!1),this.onError=new he(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.callbackScheduled=!1,_C(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new M(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,bC,xf,xf);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},bC={};function qc(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 EC(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{Np(()=>{t.callbackScheduled=!1,Ul(t),t.isCheckStableRunning=!0,qc(t),t.isCheckStableRunning=!1})}),Ul(t))}function _C(t){let e=()=>{EC(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{if(IC(a))return r.invokeTask(i,o,s,a);try{return Sf(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Mf(t)}},onInvoke:(r,n,i,o,s,a,l)=>{try{return Sf(t),r.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!xC(a)&&e(),Mf(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Ul(t),qc(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Ul(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Sf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Mf(t){t._nesting--,qc(t)}var Bl=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 IC(t){return Rp(t,"__ignore_ng_zone__")}function xC(t){return Rp(t,"__scheduler_tick__")}function Rp(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var or=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(or||{}),SC={destroy(){}};function Es(t,e){!e&&$y(Es);let r=e?.injector??C(rt);if(!rD(r))return SC;mi("NgAfterNextRender");let n=r.get(Wc),i=n.handler??=new Hl,o=e?.phase??or.MixedReadWrite,s=()=>{i.unregister(l),a()},a=r.get(xc).onDestroy(s),l=qe(r,()=>new $l(o,()=>{s(),t()}));return i.register(l),{destroy:s}}var $l=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=C(X),this.errorHandler=C(Et,{optional:!0}),C(gr,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Hl=class{constructor(){this.executingCallbacks=!1,this.buckets={[or.EarlyRead]:new Set,[or.Write]:new Set,[or.MixedReadWrite]:new Set,[or.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Wc=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Qo(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0&&ap(t,r,o.join(" "))}}function OC(t,e,r){let n=t.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=FC;let t=e;return t})();function FC(){let t=Se();return Op(t,Z())}var LC=sn,kp=class extends LC{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Er(this._hostTNode,this._hostLView)}get injector(){return new En(this._hostTNode,this._hostLView)}get parentInjector(){let e=_c(this._hostTNode,this._hostLView);if(Oh(e)){let r=Ho(e,this._hostLView),n=$o(e),i=r[U].data[n+8];return new En(i,r)}else return new En(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Af(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ve}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Ll(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Pl(this._hostTNode,s)),a}createComponent(e,r,n,i,o){let s=e&&!Hy(e),a;if(s)a=r;else{let w=r||{};a=w.index,n=w.injector,i=w.projectableNodes,o=w.environmentInjector||w.ngModuleRef}let l=s?e:new Dr(en(e)),d=n||this.parentInjector;if(!o&&l.ngModule==null){let k=(s?d:this.parentInjector).get(Me,null);k&&(o=k)}let h=en(l.componentType??{}),m=Ll(this._lContainer,h?.id??null),g=m?.firstChild??null,D=l.create(d,i,g,o);return this.insertImpl(D.hostView,a,Pl(this._hostTNode,m)),D}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(Ky(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[Te],d=new kp(l,l[ut],l[Te]);d.detach(d.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return Ep(s,i,o,n),e.attachToViewContainerRef(),Yf(ll(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Af(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=qo(this._lContainer,r);n&&(Lo(ll(this._lContainer),r),kc(n[U],n))}detach(e){let r=this._adjustIndex(e,-1),n=qo(this._lContainer,r);return n&&Lo(ll(this._lContainer),r)!=null?new An(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Af(t){return t[Uo]}function ll(t){return t[Uo]||(t[Uo]=[])}function Op(t,e){let r,n=e[t.index];return Ft(n)?r=n:(r=vp(n,e,null,t),e[t.index]=r,bs(e,r)),jC(r,e,t,n),new kp(r,t,e)}function VC(t,e){let r=t[pe],n=r.createComment(""),i=it(e,t),o=Oc(r,i);return Wo(r,o,n,vD(r,i),!1),n}var jC=$C,UC=()=>!1;function BC(t,e,r){return UC(t,e,r)}function $C(t,e,r,n){if(t[xn])return;let i;r.type&8?i=bt(n):i=VC(e,r),t[xn]=i}var ql=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Wl=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let d=o[a+1],h=e[-l];for(let m=Ve;me.trim())}function KC(t,e,r){t.queries===null&&(t.queries=new Yl),t.queries.track(new Ql(e,r))}function JC(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 Zc(t,e){return t.queries.getByIndex(e)}function XC(t,e){let r=t[U],n=Zc(r,e);return n.crossesNgTemplate?Kl(r,t,e,[]):Pp(r,t,n,e)}function ew(t){return typeof t=="function"&&t[ka]!==void 0}function Fp(t){return ew(t)&&typeof t.set=="function"}function tw(t){return Object.getPrototypeOf(t.prototype).constructor}function Pe(t){let e=tw(t.type),r=!0,n=[t];for(;e;){let i;if(tn(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new M(903,!1);i=e.\u0275dir}if(i){if(r){n.push(i);let s=t;s.inputs=So(t.inputs),s.inputTransforms=So(t.inputTransforms),s.declaredInputs=So(t.declaredInputs),s.outputs=So(t.outputs);let a=i.hostBindings;a&&sw(t,a);let l=i.viewQuery,d=i.contentQueries;if(l&&iw(t,l),d&&ow(t,d),nw(t,i),Wv(t.outputs,i.outputs),tn(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=ni(i.hostAttrs,r=ni(r,i.hostAttrs))}}function So(t){return t===cr?{}:t===Xe?[]:t}function iw(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function ow(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function sw(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function Yc(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 rn=class{},li=class{};var Jl=class extends rn{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ko(this);let i=ih(e);this._bootstrapComponents=tp(i.bootstrap),this._r3Injector=Hh(e,r,[{provide:rn,useValue:this},{provide:vr,useValue:this.componentFactoryResolver},...n],Oe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Xl=class extends li{constructor(e){super(),this.moduleType=e}create(e){return new Jl(this.moduleType,e,[])}};var Jo=class extends rn{constructor(e){super(),this.componentFactoryResolver=new Ko(this),this.instance=null;let r=new ri([...e.providers,{provide:rn,useValue:this},{provide:vr,useValue:this.componentFactoryResolver}],e.parent||mc(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function _s(t,e,r=null){return new Jo({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var an=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Lp(t){return lw(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function aw(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function gw(t){return(t&2)==2}function vw(t,e){return t&131071|e<<17}function ec(t){return t|2}function Cr(t){return(t&131068)>>2}function cl(t,e){return t&-131069|e<<2}function yw(t){return(t&1)===1}function tc(t){return t|1}function Dw(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Rn(s),l=Cr(s);t[n]=r;let d=!1,h;if(Array.isArray(r)){let m=r;h=m[1],(h===null||di(m,h)>0)&&(d=!0)}else h=r;if(i)if(l!==0){let g=Rn(t[a+1]);t[n+1]=Mo(g,a),g!==0&&(t[g+1]=cl(t[g+1],n)),t[a+1]=vw(t[a+1],n)}else t[n+1]=Mo(a,0),a!==0&&(t[a+1]=cl(t[a+1],n)),a=n;else t[n+1]=Mo(l,0),a===0?a=n:t[l+1]=cl(t[l+1],n),l=n;d&&(t[n+1]=ec(t[n+1])),Nf(t,h,n,!0),Nf(t,h,n,!1),Cw(e,h,t,n,o),s=Mo(a,l),o?e.classBindings=s:e.styleBindings=s}function Cw(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&di(o,e)>=0&&(r[n+1]=tc(r[n+1]))}function Nf(t,e,r,n){let i=t[r+1],o=e===null,s=n?Rn(i):Cr(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],d=t[s+1];ww(l,e)&&(a=!0,t[s+1]=n?tc(d):ec(d)),s=n?Rn(d):Cr(d)}a&&(t[r+1]=n?ec(i):tc(i))}function ww(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?di(t,e)>=0:!1}function y(t,e,r){let n=Z(),i=fi();if(Ot(n,i,e)){let o=be(),s=hs();Uc(o,s,n,t,e,n[pe],r,!1)}return y}function Rf(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";$c(t,r,o[s],s,n)}function Is(t,e){return bw(t,e,null,!0),Is}function bw(t,e,r,n){let i=Z(),o=be(),s=u0(2);if(o.firstUpdatePass&&_w(o,t,s,n),e!==It&&Ot(i,s,e)){let a=o.data[br()];Tw(o,a,i,i[pe],t,i[s+1]=Aw(e,r),n,s)}}function Ew(t,e){return e>=t.expandoStartIndex}function _w(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[br()],s=Ew(t,r);Nw(o,n)&&e===null&&!s&&(e=!1),e=Iw(i,o,e,n),Dw(i,o,e,r,s,n)}}function Iw(t,e,r,n){let i=p0(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=ul(null,t,e,r,n),r=ci(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=ul(i,t,e,r,n),o===null){let l=xw(t,e,n);l!==void 0&&Array.isArray(l)&&(l=ul(null,t,e,l[1],n),l=ci(l,e.attrs,n),Sw(t,e,n,l))}else o=Mw(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function xw(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Cr(n)!==0)return t[Rn(n)]}function Sw(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Rn(i)]=n}function Mw(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=t[i],d=Array.isArray(l),h=d?l[1]:l,m=h===null,g=r[i+1];g===It&&(g=m?Xe:void 0);let D=m?Xa(g,n):h===n?g:void 0;if(d&&!Xo(D)&&(D=Xa(l,n)),Xo(D)&&(a=D,s))return a;let w=t[i+1];i=s?Rn(w):Cr(w)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=Xa(l,n))}return a}function Xo(t){return t!==void 0}function Aw(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Oe(hi(t)))),t}function Nw(t,e){return(t.flags&(e?8:16))!==0}function On(t,e){mi("NgControlFlow");let r=Z(),n=fi(),i=r[n]!==It?r[n]:-1,o=i!==-1?Of(r,nt+i):void 0,s=0;if(Ot(r,n,t)){let a=Y(null);try{if(o!==void 0&&nC(o,s),t!==-1){let l=nt+t,d=Of(r,l),h=Rw(r[U],l),m=Ll(d,h.tView.ssrId),g=bp(r,h,e,{dehydratedView:m});Ep(d,g,s,Pl(h,m))}}finally{Y(a)}}else if(o!==void 0){let a=tC(o,s);a!==void 0&&(a[tt]=e)}}function Of(t,e){return t[e]}function Rw(t,e){return vc(t,e)}function kw(t,e,r,n,i,o){let s=e.consts,a=mr(s,i),l=pi(e,t,2,n,a);return Bc(e,r,l,mr(s,o)),l.attrs!==null&&Qo(l,l.attrs,!1),l.mergedAttrs!==null&&Qo(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function u(t,e,r,n){let i=Z(),o=be(),s=nt+t,a=i[pe],l=o.firstCreatePass?kw(s,o,i,e,r,n):o.data[s],d=Ow(o,i,l,a,e,t);i[s]=d;let h=ds(l);return kn(l,!0),lp(a,d,l),!dw(l)&&ps()&&Ds(o,i,d,l),t0()===0&&nn(d,i),n0(),h&&(Lc(o,i,l),Fc(o,l,i)),n!==null&&Vc(i,l),u}function f(){let t=Se();Dc()?_h():(t=t.parent,kn(t,!1));let e=t;o0(e)&&s0(),r0();let r=be();return r.firstCreatePass&&(gs(r,t),gc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&w0(e)&&Rf(r,e,Z(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&b0(e)&&Rf(r,e,Z(),e.stylesWithoutHost,!1),f}function p(t,e,r,n){return u(t,e,r,n),f(),p}var Ow=(t,e,r,n,i,o)=>(ms(!0),np(n,i,v0()));function Pw(t,e,r,n,i){let o=e.consts,s=mr(o,n),a=pi(e,t,8,"ng-container",s);s!==null&&Qo(a,s,!0);let l=mr(o,i);return Bc(e,r,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function je(t,e,r){let n=Z(),i=be(),o=t+nt,s=i.firstCreatePass?Pw(o,i,n,e,r):i.data[o];kn(s,!0);let a=Fw(i,n,s,t);return n[o]=a,ps()&&Ds(i,n,a,s),nn(a,n),ds(s)&&(Lc(i,n,s),Fc(i,s,n)),r!=null&&Vc(n,s),je}function Ue(){let t=Se(),e=be();return Dc()?_h():(t=t.parent,kn(t,!1)),e.firstCreatePass&&(gs(e,t),gc(t)&&e.queries.elementEnd(t)),Ue}var Fw=(t,e,r,n)=>(ms(!0),aD(e[pe],""));function oe(){return Z()}var es="en-US";var Lw=es;function Vw(t){typeof t=="string"&&(Lw=t.toLowerCase().replace(/_/g,"-"))}var jw=(t,e,r)=>{};function A(t,e,r,n){let i=Z(),o=be(),s=Se();return jp(o,i,i[pe],s,t,e,n),A}function Uw(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function jp(t,e,r,n,i,o,s){let a=ds(n),d=t.firstCreatePass&&Cp(t),h=e[tt],m=Dp(e),g=!0;if(n.type&3||s){let k=it(n,e),T=s?s(k):k,N=m.length,ge=s?ee=>s(bt(ee[n.index])):n.index;jw(k,i,o);let re=null;if(!s&&a&&(re=Uw(t,e,i,n.index)),re!==null){let ee=re.__ngLastListenerFn__||re;ee.__ngNextListenerFn__=o,re.__ngLastListenerFn__=o,g=!1}else{o=Ff(n,e,h,o,!1);let ee=r.listen(T,i,o);m.push(o,ee),d&&d.push(i,ge,N,N+1)}}else o=Ff(n,e,h,o,!1);let D=n.outputs,w;if(g&&D!==null&&(w=D[i])){let k=w.length;if(k)for(let T=0;T-1?on(t.index,e):e;Gc(a,5);let l=Pf(e,r,n,s),d=o.__ngNextListenerFn__;for(;d;)l=Pf(e,r,d,s)&&l,d=d.__ngNextListenerFn__;return i&&l===!1&&s.preventDefault(),l}}function E(t=1){return g0(t)}function xt(t,e,r,n,i){let o=Z(),s=Vp(o,e,r,n);if(s!==It){let a=be(),l=hs();Uc(a,l,o,t,s,o[pe],i,!1)}return xt}function Up(t,e,r,n){YC(t,e,r,n)}function Bp(t){let e=Z(),r=be(),n=xh();wc(n+1);let i=Zc(r,n);if(t.dirty&&Qy(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=XC(e,n);t.reset(o,F0),t.notifyOnChanges()}return!0}return!1}function $p(){return WC(Z(),xh())}function xs(t){let e=l0();return Yy(e,nt+t)}function c(t,e=""){let r=Z(),n=be(),i=t+nt,o=n.firstCreatePass?pi(n,i,1,e,null):n.data[i],s=Bw(n,r,o,e,t);r[i]=s,ps()&&Ds(n,r,s,o),kn(o,!1)}var Bw=(t,e,r,n,i)=>(ms(!0),oD(e[pe],n));function se(t){return ft("",t,""),se}function ft(t,e,r){let n=Z(),i=Vp(n,t,e,r);return i!==It&&KD(n,br(),i),ft}function ae(t,e,r){Fp(e)&&(e=e());let n=Z(),i=fi();if(Ot(n,i,e)){let o=be(),s=hs();Uc(o,s,n,t,e,n[pe],r,!1)}return ae}function ue(t,e){let r=Fp(t);return r&&t.set(e),r}function le(t,e){let r=Z(),n=be(),i=Se();return jp(n,r,r[pe],i,t,e),le}function $w(t,e,r){let n=be();if(n.firstCreatePass){let i=tn(t);nc(r,n.data,n.blueprint,i,!0),nc(e,n.data,n.blueprint,i,!1)}}function nc(t,e,r,n,i){if(t=ke(t),Array.isArray(t))for(let o=0;o>20;if(fr(t)||!t.multi){let D=new Mn(d,i,S),w=fl(l,e,i?h:h+g,m);w===-1?(xl(Go(a,s),o,l),dl(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(D),s.push(D)):(r[w]=D,s[w]=D)}else{let D=fl(l,e,h+g,m),w=fl(l,e,h,h+g),k=D>=0&&r[D],T=w>=0&&r[w];if(i&&!T||!i&&!k){xl(Go(a,s),o,l);let N=zw(i?Gw:Hw,r.length,i,n,d);!i&&T&&(r[w].providerFactory=N),dl(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(N),s.push(N)}else{let N=Hp(r[i?w:D],d,!i&&n);dl(o,t,D>-1?D:w,N)}!i&&n&&T&&r[w].componentProviders++}}}function dl(t,e,r,n){let i=fr(e),o=Py(e);if(i||o){let l=(o?ke(e.useClass):e).prototype.ngOnDestroy;if(l){let d=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let h=d.indexOf(r);h===-1?d.push(r,[n,l]):d[h+1].push(n,l)}else d.push(r,l)}}}function Hp(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function fl(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>$w(n,i?i(t):t,e)}}var qw=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=ah(!1,n.type),o=i.length>0?_s([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=_({token:e,providedIn:"environment",factory:()=>new e(I(Me))});let t=e;return t})();function de(t){mi("NgStandalone"),t.getStandaloneInjector=e=>e.get(qw).getOrCreateStandaloneInjector(t)}function B(t,e,r){let n=Cc()+t,i=Z();return i[n]===It?Qc(i,n,r?e.call(r):e()):cw(i,n)}function Pn(t,e,r,n){return Ww(Z(),Cc(),t,e,r,n)}function Gp(t,e,r,n,i){return Zw(Z(),Cc(),t,e,r,n,i)}function zp(t,e){let r=t[e];return r===It?void 0:r}function Ww(t,e,r,n,i,o){let s=e+r;return Ot(t,s,i)?Qc(t,s+1,o?n.call(o,i):n(i)):zp(t,s+1)}function Zw(t,e,r,n,i,o,s){let a=e+r;return uw(t,a,i,o)?Qc(t,a+2,s?n.call(s,i,o):n(i,o)):zp(t,a+2)}var Ss=(()=>{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 Kc=new x(""),gi=new x(""),Ms=(()=>{let e=class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Jc||(Yw(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(I(X),I(Ts),I(gi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ts=(()=>{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 Jc?.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 Yw(t){Jc=t}var Jc;function Fn(t){return!!t&&typeof t.then=="function"}function qp(t){return!!t&&typeof t.subscribe=="function"}var As=new x(""),Wp=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=C(As,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Fn(s))n.push(s);else if(qp(s)){let a=new Promise((l,d)=>{s.subscribe({complete:l,error:d})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ns=new x("");function Qw(){Md(()=>{throw new M(600,!1)})}function Kw(t){return t.isBoundToModule}var Jw=10;function Xw(t,e,r){try{let n=r();return Fn(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var ln=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(Gh),this.afterRenderEffectManager=C(Wc),this.zonelessEnabled=C(Tp),this.externalTestViews=new Set,this.beforeRender=new Ce,this.afterTick=new Ce,this.componentTypes=[],this.components=[],this.isStable=C(an).hasPendingTasks.pipe(F(n=>!n)),this._injector=C(Me)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Yo;if(!this._injector.get(Wp).done){let D=!o&&rh(n),w=!1;throw new M(405,w)}let a;o?a=n:a=this._injector.get(vr).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=Kw(a)?void 0:this._injector.get(rn),d=i||a.selector,h=a.create(rt.NULL,[],d,l),m=h.location.nativeElement,g=h.injector.get(Kc,null);return g?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),hl(this.components,h),g?.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new M(101,!1);let i=Y(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,Y(i),this.afterTick.next()}}detectChangesInAttachedViews(n){let i=null;this._injector.destroyed||(i=this._injector.get(yr,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;osi(l))&&(s.execute(),!this.allViews.some(({_lView:l})=>si(l))))break}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;hl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Ns,[]);[...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),()=>hl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function hl(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function eb(t,e,r,n){if(!r&&!si(t))return;Ip(t,e,r&&!n?0:1)}var ic=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Rs=(()=>{let e=class e{compileModuleSync(n){return new Xl(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=ih(n),s=tp(o.declarations).reduce((a,l)=>{let d=en(l);return d&&a.push(new Dr(d)),a},[]);return new ic(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 tb=!0;var nb=(()=>{let e=class e{constructor(){this.appRef=C(ln),this.taskService=C(an),this.ngZone=C(X),this.zonelessEnabled=C(Tp),this.disableScheduling=C(Ap,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ve,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Bl||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?If:Np;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&X.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,If(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var rb=(()=>{let e=class e{constructor(){this.zone=C(X),this.changeDetectionScheduler=C(gr,{optional:!0}),this.applicationRef=C(ln)}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 ib({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new X(sb()),[{provide:X,useFactory:t},{provide:ur,multi:!0,useFactory:()=>{let r=C(rb,{optional:!0});return()=>r.initialize()}},{provide:ur,multi:!0,useFactory:()=>{let r=C(ab);return()=>{r.initialize()}}},{provide:Gh,useFactory:ob},e===!0?{provide:Ap,useValue:!0}:[],tb||e===!1?{provide:gr,useExisting:nb}:[]]}function ob(){let t=C(X),e=C(Et);return r=>t.runOutsideAngular(()=>e.handleError(r))}function sb(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var ab=(()=>{let e=class e{constructor(){this.subscription=new ve,this.initialized=!1,this.zone=C(X),this.pendingTasks=C(an)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{X.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function lb(){return typeof $localize<"u"&&$localize.locale||es}var Xc=new x("",{providedIn:"root",factory:()=>C(Xc,H.Optional|H.SkipSelf)||lb()});var Zp=new x("");var Oo=null;function cb(t=[],e){return rt.create({name:e,providers:[{provide:ls,useValue:"platform"},{provide:Zp,useValue:new Set([()=>Oo=null])},...t]})}function ub(t=[]){if(Oo)return Oo;let e=cb(t);return Oo=e,Qw(),db(e),e}function db(t){t.get(Sc,null)?.forEach(r=>r())}var cn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=fb;let t=e;return t})();function fb(t){return hb(Se(),Z(),(t&16)===16)}function hb(t,e,r){if(us(t)&&!r){let n=on(t.index,e);return new An(n,n)}else if(t.type&47){let n=e[wt];return new An(n,e)}return null}var oc=class{constructor(){}supports(e){return Lp(e)}create(e){return new sc(e)}},pb=(t,e)=>e,sc=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||pb}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 ac(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 ts),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 ts),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}},ac=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}},lc=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}},ts=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new lc,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Lf(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Vf()),deps:[[e,new uc,new ss]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new M(901,!1)}};e.\u0275prov=_({token:e,providedIn:"root",factory:Vf});let t=e;return t})();var Yp=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(i){return new(i||e)(I(ln))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();function Qp(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=ub(n),o=[ib({}),...r||[]],a=new Jo({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(X);return l.run(()=>{a.resolveInjectorInitializers();let d=a.get(Et,null),h;l.runOutsideAngular(()=>{h=l.onError.subscribe({next:D=>{d.handleError(D)}})});let m=()=>a.destroy(),g=i.get(Zp);return g.add(m),a.onDestroy(()=>{h.unsubscribe(),g.delete(m)}),Xw(d,l,()=>{let D=a.get(Wp);return D.runInitializers(),D.donePromise.then(()=>{let w=a.get(Xc,es);Vw(w||es);let k=a.get(ln);return e!==void 0&&k.bootstrap(e),k})})})}catch(e){return Promise.reject(e)}}function jt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Kp(t){let e=en(t);if(!e)return null;let r=new Dr(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 Q={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 rm=null;function St(){return rm}function im(t){rm??=t}var ks=class{};var Ee=new x(""),lu=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(mb),providedIn:"platform"});let t=e;return t})(),om=new x(""),mb=(()=>{let e=class e extends lu{constructor(){super(),this._doc=C(Ee),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return St().getBaseHref(this._doc)}onPopState(n){let i=St().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=St().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 cu(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 Jp(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 Ut(t){return t&&t[0]!=="?"?"?"+t:t}var Bt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(uu),providedIn:"root"});let t=e;return t})(),sm=new x(""),uu=(()=>{let e=class e extends Bt{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??C(Ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return cu(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+Ut(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Ut(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Ut(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(I(lu),I(sm,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),am=(()=>{let e=class e extends Bt{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=cu(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+Ut(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+Ut(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(i){return new(i||e)(I(lu),I(sm,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),xr=(()=>{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=yb(Jp(Xp(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+Ut(i))}normalize(n){return e.stripTrailingSlash(vb(this._basePath,Xp(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+Ut(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ut(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=Ut,e.joinWithSlash=cu,e.stripTrailingSlash=Jp,e.\u0275fac=function(i){return new(i||e)(I(Bt))},e.\u0275prov=_({token:e,factory:()=>gb(),providedIn:"root"});let t=e;return t})();function gb(){return new xr(I(Bt))}function vb(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Xp(t){return t.replace(/\/index.html$/,"")}function yb(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function Os(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var nu=/\s+/,em=[],Sr=(()=>{let e=class e{constructor(n,i){this._ngEl=n,this._renderer=i,this.initialClasses=em,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(nu):em}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(nu):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(nu).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(S(Ae),S(ot))},e.\u0275dir=ne({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var ru=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}},Ps=(()=>{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 ru(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let l=i.get(s);i.move(l,a),tm(l,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);tm(s,o)})}static ngTemplateContextGuard(n,i){return!0}};e.\u0275fac=function(i){return new(i||e)(S(sn),S(Nn),S(eu))},e.\u0275dir=ne({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function tm(t,e){t.context.$implicit=e.item}var Fs=(()=>{let e=class e{constructor(n,i){this._viewContainer=n,this._context=new iu,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){nm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){nm("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(sn),S(Nn))},e.\u0275dir=ne({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),iu=class{constructor(){this.$implicit=null,this.ngIf=null}};function nm(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Oe(e)}'.`)}var lm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})(),du="browser",Db="server";function Cb(t){return t===du}function Ls(t){return t===Db}var cm=(()=>{let e=class e{};e.\u0275prov=_({token:e,providedIn:"root",factory:()=>Cb(C(_t))?new ou(C(Ee),window):new su});let t=e;return t})(),ou=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=wb(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 wb(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 su=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ir=class{};var yi=class{},js=class{},$t=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 hu=class{encodeKey(e){return dm(e)}encodeValue(e){return dm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function bb(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var Eb=/%(\d[a-f0-9])/gi,_b={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dm(t){return encodeURIComponent(t).replace(Eb,(e,r)=>_b[r]??e)}function Vs(t){return`${t}`}var dn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new hu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=bb(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(Vs):[Vs(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(Vs(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(Vs(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 pu=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 Ib(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function fm(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function hm(t){return typeof Blob<"u"&&t instanceof Blob}function pm(t){return typeof FormData<"u"&&t instanceof FormData}function xb(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var vi=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(Ib(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 $t,this.context??=new pu,!this.params)this.params=new dn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":ag.set(D,e.setHeaders[D]),d)),e.setParams&&(h=Object.keys(e.setParams).reduce((g,D)=>g.set(D,e.setParams[D]),h)),new t(r,n,s,{params:h,headers:d,context:m,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},fn=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}(fn||{}),Di=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new $t,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}},Us=class t extends Di{constructor(e={}){super(e),this.type=fn.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})}},Ci=class t extends Di{constructor(e={}){super(e),this.type=fn.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})}},un=class extends Di{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}},Dm=200,Sb=204;function fu(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 wi=(()=>{let e=class e{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof vi)s=n;else{let d;o.headers instanceof $t?d=o.headers:d=new $t(o.headers);let h;o.params&&(o.params instanceof dn?h=o.params:h=new dn({fromObject:o.params})),s=new vi(n,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=R(s).pipe(At(d=>this.handler.handle(d)));if(n instanceof vi||o.observe==="events")return a;let l=a.pipe(xe(d=>d instanceof Ci));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(F(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return l.pipe(F(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new dn().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,fu(o,i))}post(n,i,o={}){return this.request("POST",n,fu(o,i))}put(n,i,o={}){return this.request("PUT",n,fu(o,i))}};e.\u0275fac=function(i){return new(i||e)(I(yi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Mb=/^\)\]\}',?\n/,Tb="X-Request-URL";function mm(t){if(t.url)return t.url;let e=Tb.toLocaleLowerCase();return t.headers.get(e)}var Ab=(()=>{let e=class e{constructor(){this.fetchImpl=C(mu,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=C(X)}handle(n){return new q(i=>{let o=new AbortController;return this.doRequest(n,o.signal,i).then(gu,s=>i.error(new un({error:s}))),()=>o.abort()})}doRequest(n,i,o){return Qr(this,null,function*(){let s=this.createRequestInit(n),a;try{let w=this.fetchImpl(n.urlWithParams,b({signal:i},s));Nb(w),o.next({type:fn.Sent}),a=yield w}catch(w){o.error(new un({error:w,status:w.status??0,statusText:w.statusText,url:n.urlWithParams,headers:w.headers}));return}let l=new $t(a.headers),d=a.statusText,h=mm(a)??n.urlWithParams,m=a.status,g=null;if(n.reportProgress&&o.next(new Us({headers:l,status:m,statusText:d,url:h})),a.body){let w=a.headers.get("content-length"),k=[],T=a.body.getReader(),N=0,ge,re,ee=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Qr(this,null,function*(){for(;;){let{done:De,value:Ke}=yield T.read();if(De)break;if(k.push(Ke),N+=Ke.length,n.reportProgress){re=n.responseType==="text"?(re??"")+(ge??=new TextDecoder).decode(Ke,{stream:!0}):void 0;let zn=()=>o.next({type:fn.DownloadProgress,total:w?+w:void 0,loaded:N,partialText:re});ee?ee.run(zn):zn()}}}));let Qe=this.concatChunks(k,N);try{let De=a.headers.get("Content-Type")??"";g=this.parseBody(n,Qe,De)}catch(De){o.error(new un({error:De,headers:new $t(a.headers),status:a.status,statusText:a.statusText,url:mm(a)??n.urlWithParams}));return}}m===0&&(m=g?Dm:0),m>=200&&m<300?(o.next(new Ci({body:g,headers:l,status:m,statusText:d,url:h})),o.complete()):o.error(new un({error:g,headers:l,status:m,statusText:d,url:h}))})}parseBody(n,i,o){switch(n.responseType){case"json":let s=new TextDecoder().decode(i).replace(Mb,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(n){let i={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>i[s]=a.join(",")),i.Accept??="application/json, text/plain, */*",!i["Content-Type"]){let s=n.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:i,credentials:o}}concatChunks(n,i){let o=new Uint8Array(i),s=0;for(let a of n)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),mu=class{};function gu(){}function Nb(t){t.then(gu,gu)}function Cm(t,e){return e(t)}function Rb(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function kb(t,e,r){return(n,i)=>qe(r,()=>e(n,o=>t(o,i)))}var Ob=new x(""),vu=new x(""),Pb=new x(""),wm=new x("",{providedIn:"root",factory:()=>!0});function Fb(){let t=null;return(e,r)=>{t===null&&(t=(C(Ob,{optional:!0})??[]).reduceRight(Rb,Cm));let n=C(an);if(C(wm)){let o=n.add();return t(e,r).pipe(Qt(()=>n.remove(o)))}else return t(e,r)}}var gm=(()=>{let e=class e extends yi{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=C(an),this.contributeToStability=C(wm)}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(vu),...this.injector.get(Pb,[])]));this.chain=i.reduceRight((o,s)=>kb(o,s,this.injector),Cm)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Qt(()=>this.pendingTasks.remove(i)))}else return this.chain(n,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(I(js),I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var Lb=/^\)\]\}',?\n/;function Vb(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var vm=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new M(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ie(i.\u0275loadImpl()):R(null)).pipe(Le(()=>new q(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((T,N)=>a.setRequestHeader(T,N.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let T=n.detectContentTypeHeader();T!==null&&a.setRequestHeader("Content-Type",T)}if(n.responseType){let T=n.responseType.toLowerCase();a.responseType=T!=="json"?T:"text"}let l=n.serializeBody(),d=null,h=()=>{if(d!==null)return d;let T=a.statusText||"OK",N=new $t(a.getAllResponseHeaders()),ge=Vb(a)||n.url;return d=new Us({headers:N,status:a.status,statusText:T,url:ge}),d},m=()=>{let{headers:T,status:N,statusText:ge,url:re}=h(),ee=null;N!==Sb&&(ee=typeof a.response>"u"?a.responseText:a.response),N===0&&(N=ee?Dm:0);let Qe=N>=200&&N<300;if(n.responseType==="json"&&typeof ee=="string"){let De=ee;ee=ee.replace(Lb,"");try{ee=ee!==""?JSON.parse(ee):null}catch(Ke){ee=De,Qe&&(Qe=!1,ee={error:Ke,text:ee})}}Qe?(s.next(new Ci({body:ee,headers:T,status:N,statusText:ge,url:re||void 0})),s.complete()):s.error(new un({error:ee,headers:T,status:N,statusText:ge,url:re||void 0}))},g=T=>{let{url:N}=h(),ge=new un({error:T,status:a.status||0,statusText:a.statusText||"Unknown Error",url:N||void 0});s.error(ge)},D=!1,w=T=>{D||(s.next(h()),D=!0);let N={type:fn.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),n.responseType==="text"&&a.responseText&&(N.partialText=a.responseText),s.next(N)},k=T=>{let N={type:fn.UploadProgress,loaded:T.loaded};T.lengthComputable&&(N.total=T.total),s.next(N)};return a.addEventListener("load",m),a.addEventListener("error",g),a.addEventListener("timeout",g),a.addEventListener("abort",g),n.reportProgress&&(a.addEventListener("progress",w),l!==null&&a.upload&&a.upload.addEventListener("progress",k)),a.send(l),s.next({type:fn.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",m),a.removeEventListener("timeout",g),n.reportProgress&&(a.removeEventListener("progress",w),l!==null&&a.upload&&a.upload.removeEventListener("progress",k)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(I(Ir))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),bm=new x(""),jb="XSRF-TOKEN",Ub=new x("",{providedIn:"root",factory:()=>jb}),Bb="X-XSRF-TOKEN",$b=new x("",{providedIn:"root",factory:()=>Bb}),Bs=class{},Hb=(()=>{let e=class e{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Os(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(I(Ee),I(_t),I(Ub))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Gb(t,e){let r=t.url.toLowerCase();if(!C(bm)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=C(Bs).getToken(),i=C($b);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var Em=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}(Em||{});function zb(t,e){return{\u0275kind:t,\u0275providers:e}}function _m(...t){let e=[wi,vm,gm,{provide:yi,useExisting:gm},{provide:js,useFactory:()=>C(Ab,{optional:!0})??C(vm)},{provide:vu,useValue:Gb,multi:!0},{provide:bm,useValue:!0},{provide:Bs,useClass:Hb}];for(let r of t)e.push(...r.\u0275providers);return as(e)}var ym=new x("");function Im(){return zb(Em.LegacyInterceptors,[{provide:ym,useFactory:Fb},{provide:vu,useExisting:ym,multi:!0}])}var Cu=class extends ks{constructor(){super(...arguments),this.supportsDOMEvents=!0}},wu=class t extends Cu{static makeCurrent(){im(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=qb();return r==null?null:Wb(r)}resetBaseElement(){bi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Os(document.cookie,e)}},bi=null;function qb(){return bi=bi||document.querySelector("base"),bi?bi.getAttribute("href"):null}function Wb(t){return new URL(t,document.baseURI).pathname}var bu=class{addToWindow(e){et.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new M(5103,!1);return o},et.getAllAngularTestabilities=()=>e.getAllTestabilities(),et.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=et.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};et.frameworkStabilizers||(et.frameworkStabilizers=[]),et.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?St().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},Zb=(()=>{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})(),Eu=new x(""),Am=(()=>{let e=class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new M(5101,!1);return this._eventNameToPlugin.set(n,i),i}};e.\u0275fac=function(i){return new(i||e)(I(Eu),I(X))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),$s=class{constructor(e){this._doc=e}},yu="ng-app-id",Nm=(()=>{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=Ls(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[${yu}="${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(yu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(yu,this.appId),n.appendChild(a),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(I(Ee),I(vs),I(Mc,8),I(_t))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Du={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"},Iu=/%COMP%/g,Rm="%COMP%",Yb=`_nghost-${Rm}`,Qb=`_ngcontent-${Rm}`,Kb=!0,Jb=new x("",{providedIn:"root",factory:()=>Kb});function Xb(t){return Qb.replace(Iu,t)}function eE(t){return Yb.replace(Iu,t)}function km(t,e){return e.map(r=>r.replace(Iu,t))}var Sm=(()=>{let e=class e{constructor(n,i,o,s,a,l,d,h=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=d,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=Ls(l),this.defaultRenderer=new Ei(n,a,d,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Dt.ShadowDom&&(i=K(b({},i),{encapsulation:Dt.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof Hs?o.applyToHost(n):o instanceof _i&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(i.encapsulation){case Dt.Emulated:s=new Hs(d,h,i,this.appId,m,a,l,g);break;case Dt.ShadowDom:return new _u(d,h,n,i,a,l,this.nonce,g);default:s=new _i(d,h,i,m,a,l,g);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(I(Am),I(Nm),I(vs),I(Jb),I(Ee),I(_t),I(X),I(Mc))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Ei=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(Du[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Mm(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Mm(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new M(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=Du[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Du[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(kt.DashCase|kt.Important)?e.style.setProperty(r,n,i&kt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&kt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=St().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 Mm(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var _u=class extends Ei{constructor(e,r,n,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=km(i.id,i.styles);for(let h of d){let m=document.createElement("style");a&&m.setAttribute("nonce",a),m.textContent=h,this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},_i=class extends Ei{constructor(e,r,n,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?km(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Hs=class extends _i{constructor(e,r,n,i,o,s,a,l){let d=i+"-"+n.id;super(e,r,n,o,s,a,l,d),this.contentAttr=Xb(d),this.hostAttr=eE(d)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},tE=(()=>{let e=class e extends $s{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})(),Tm=["alt","control","meta","shift"],nE={"\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"},rE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},iE=(()=>{let e=class e extends $s{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(()=>St().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),Tm.forEach(h=>{let m=i.indexOf(h);m>-1&&(i.splice(m,1),a+=h+".")}),a+=s,i.length!=0||s.length===0)return null;let d={};return d.domEventName=o,d.fullKey=a,d}static matchEventFullKeyCode(n,i){let o=nE[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"),Tm.forEach(a=>{if(a!==o){let l=rE[a];l(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function Om(t,e){return Qp(b({rootComponent:t},oE(e)))}function oE(t){return{appProviders:[...Pm,...t?.providers??[]],platformProviders:cE}}function sE(){wu.makeCurrent()}function aE(){return new Et}function lE(){return Qh(document),document}var cE=[{provide:_t,useValue:du},{provide:Sc,useValue:sE,multi:!0},{provide:Ee,useFactory:lE,deps:[]}];var uE=new x(""),dE=[{provide:gi,useClass:bu,deps:[]},{provide:Kc,useClass:Ms,deps:[X,Ts,gi]},{provide:Ms,useClass:Ms,deps:[X,Ts,gi]}],Pm=[{provide:ls,useValue:"root"},{provide:Et,useFactory:aE,deps:[]},{provide:Eu,useClass:tE,multi:!0,deps:[Ee,X,_t]},{provide:Eu,useClass:iE,multi:!0,deps:[Ee]},Sm,Nm,Am,{provide:yr,useExisting:Sm},{provide:Ir,useClass:Zb,deps:[]},[]],Fm=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:vs,useValue:n.appId}]}}};e.\u0275fac=function(i){return new(i||e)(I(uE,12))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({providers:[...Pm,...dE],imports:[lm,Yp]});let t=e;return t})();var Lm=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(i){return new(i||e)(I(Ee))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var $="primary",ji=Symbol("RouteTitle"),Au=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function kr(t){return new Au(t)}function hE(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 Ym(t){return t.length>0?t[t.length-1]:null}function mn(t){return qa(t)?t:Fn(t)?ie(Promise.resolve(t)):R(t)}var mE={exact:Km,subset:Jm},Qm={exact:gE,subset:vE,ignored:()=>!0};function Vm(t,e,r){return mE[r.paths](t.root,e.root,r.matrixParams)&&Qm[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function gE(t,e){return Mt(t,e)}function Km(t,e,r){if(!Vn(t.segments,e.segments)||!qs(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Km(t.children[n],e.children[n],r))return!1;return!0}function vE(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Zm(t[r],e[r]))}function Jm(t,e,r){return Xm(t,e,e.segments,r)}function Xm(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!Vn(i,r)||e.hasChildren()||!qs(i,r,n))}else if(t.segments.length===r.length){if(!Vn(t.segments,r)||!qs(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!Jm(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!Vn(t.segments,i)||!qs(t.segments,i,n)||!t.children[$]?!1:Xm(t.children[$],e,o,n)}}function qs(t,e,r){return e.every((n,i)=>Qm[r](t[i].parameters,n.parameters))}var hn=class{constructor(e=new J([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=kr(this.queryParams),this._queryParamMap}toString(){return CE.serialize(this)}},J=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ws(this)}},Ln=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=kr(this.parameters),this._parameterMap}toString(){return tg(this)}};function yE(t,e){return Vn(t,e)&&t.every((r,n)=>Mt(r.parameters,e[n].parameters))}function Vn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function DE(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===$&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==$&&(r=r.concat(e(i,n)))}),r}var Ui=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>new Or,providedIn:"root"});let t=e;return t})(),Or=class{parse(e){let r=new ku(e);return new hn(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Ii(e.root,!0)}`,n=EE(e.queryParams),i=typeof e.fragment=="string"?`#${wE(e.fragment)}`:"";return`${r}${n}${i}`}},CE=new Or;function Ws(t){return t.segments.map(e=>tg(e)).join("/")}function Ii(t,e){if(!t.hasChildren())return Ws(t);if(e){let r=t.children[$]?Ii(t.children[$],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&n.push(`${i}:${Ii(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=DE(t,(n,i)=>i===$?[Ii(t.children[$],!1)]:[`${i}:${Ii(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${Ws(t)}/${r[0]}`:`${Ws(t)}/(${r.join("//")})`}}function eg(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gs(t){return eg(t).replace(/%3B/gi,";")}function wE(t){return encodeURI(t)}function Ru(t){return eg(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zs(t){return decodeURIComponent(t)}function jm(t){return Zs(t.replace(/\+/g,"%20"))}function tg(t){return`${Ru(t.path)}${bE(t.parameters)}`}function bE(t){return Object.entries(t).map(([e,r])=>`;${Ru(e)}=${Ru(r)}`).join("")}function EE(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(i=>`${Gs(r)}=${Gs(i)}`).join("&"):`${Gs(r)}=${Gs(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var _E=/^[^\/()?;#]+/;function xu(t){let e=t.match(_E);return e?e[0]:""}var IE=/^[^\/()?;=#]+/;function xE(t){let e=t.match(IE);return e?e[0]:""}var SE=/^[^=?&#]+/;function ME(t){let e=t.match(SE);return e?e[0]:""}var TE=/^[^&#]+/;function AE(t){let e=t.match(TE);return e?e[0]:""}var ku=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[$]=new J(e,r)),n}parseSegment(){let e=xu(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(e),new Ln(Zs(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=xE(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=xu(this.remaining);i&&(n=i,this.capture(n))}e[Zs(r)]=Zs(n)}parseQueryParam(e){let r=ME(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=AE(this.remaining);s&&(n=s,this.capture(n))}let i=jm(r),o=jm(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=xu(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new M(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[$]:new J([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new M(4011,!1)}};function ng(t){return t.segments.length>0?new J([],{[$]:t}):t}function rg(t){let e={};for(let[n,i]of Object.entries(t.children)){let o=rg(i);if(n===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new J(t.segments,e);return NE(r)}function NE(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new J(t.segments.concat(e.segments),e.children)}return t}function Ni(t){return t instanceof hn}function RE(t,e,r=null,n=null){let i=ig(t);return og(i,e,r,n)}function ig(t){let e;function r(o){let s={};for(let l of o.children){let d=r(l);s[l.outlet]=d}let a=new J(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=ng(n);return e??i}function og(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Su(i,i,i,r,n);let o=kE(e);if(o.toRoot())return Su(i,i,new J([],{}),r,n);let s=OE(o,i,t),a=s.processChildren?Mi(s.segmentGroup,s.index,o.commands):ag(s.segmentGroup,s.index,o.commands);return Su(i,s.segmentGroup,a,r,n)}function Ys(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ri(t){return typeof t=="object"&&t!=null&&t.outlets}function Su(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([l,d])=>{o[l]=Array.isArray(d)?d.map(h=>`${h}`):`${d}`});let s;t===e?s=r:s=sg(t,e,r);let a=ng(rg(s));return new hn(a,o,i)}function sg(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=sg(o,e,r)}),new J(t.segments,n)}var Qs=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Ys(n[0]))throw new M(4003,!1);let i=n.find(Ri);if(i&&i!==Ym(n))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function kE(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Qs(!0,0,t);let e=0,r=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,d])=>{a[l]=typeof d=="string"?d.split("/"):d}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Qs(r,e,n)}var Ar=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function OE(t,e,r){if(t.isAbsolute)return new Ar(e,!0,0);if(!r)return new Ar(e,!1,NaN);if(r.parent===null)return new Ar(r,!0,0);let n=Ys(t.commands[0])?0:1,i=r.segments.length-1+n;return PE(r,i,t.numberOfDoubleDots)}function PE(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new M(4005,!1);i=n.segments.length}return new Ar(n,!1,i-o)}function FE(t){return Ri(t[0])?t[0].outlets:{[$]:t}}function ag(t,e,r){if(t??=new J([],{}),t.segments.length===0&&t.hasChildren())return Mi(t,e,r);let n=LE(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndexo!==$)&&t.children[$]&&t.numberOfChildren===1&&t.children[$].segments.length===0){let o=Mi(t.children[$],e,r);return new J(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=ag(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new J(t.segments,i)}}function LE(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(Ri(a))break;let l=`${a}`,d=n0&&l===void 0)break;if(l&&d&&typeof d=="object"&&d.outlets===void 0){if(!Bm(l,d,s))return o;n+=2}else{if(!Bm(l,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function Ou(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Ou(new J([],{}),0,n))}),e}function Um(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Bm(t,e,r){return t==r.path&&Mt(e,r.parameters)}var Ti="imperative",_e=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(_e||{}),st=class{constructor(e,r){this.id=e,this.url=r}},Pr=class extends st{constructor(e,r,n="imperative",i=null){super(e,r),this.type=_e.NavigationStart,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ye=class extends st{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=_e.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ze=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Ze||{}),Ks=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Ks||{}),Ht=class extends st{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},pn=class extends st{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=_e.NavigationSkipped}},ki=class extends st{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=_e.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Js=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pu=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fu=class extends st{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=_e.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Lu=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vu=class extends st{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=_e.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ju=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Uu=class{constructor(e){this.route=e,this.type=_e.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Bu=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$u=class{constructor(e){this.snapshot=e,this.type=_e.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gu=class{constructor(e){this.snapshot=e,this.type=_e.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xs=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=_e.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Oi=class{},Fr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var zu=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new Bi(this.injector),this.attachRef=null}},Bi=(()=>{let e=class e{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new zu(this.parentInjector),this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(i){return new(i||e)(I(Me))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ea=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=qu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=qu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Wu(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Wu(e,this._root).map(r=>r.value)}};function qu(t,e){if(t===e.value)return e;for(let r of e.children){let n=qu(t,r);if(n)return n}return null}function Wu(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Wu(t,r);if(n.length)return n.unshift(e),n}return[]}var We=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Tr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ta=class extends ea{constructor(e,r){super(e),this.snapshot=r,nd(this,e)}toString(){return this.snapshot.toString()}};function lg(t){let e=jE(t),r=new Ie([new Ln("",{})]),n=new Ie({}),i=new Ie({}),o=new Ie({}),s=new Ie(""),a=new Gt(r,n,o,s,i,$,t,e.root);return a.snapshot=e.root,new ta(new We(a,[]),e)}function jE(t){let e={},r={},n={},i="",o=new Nr([],e,n,i,r,$,t,null,{});return new ra("",new We(o,[]))}var Gt=class{constructor(e,r,n,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(F(d=>d[ji]))??R(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(F(e=>kr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(F(e=>kr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function na(t,e,r="emptyOnly"){let n,{routeConfig:i}=t;return e!==null&&(r==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:b(b({},e.params),t.params),data:b(b({},e.data),t.data),resolve:b(b(b(b({},t.data),e.data),i?.data),t._resolvedData)}:n={params:b({},t.params),data:b({},t.data),resolve:b(b({},t.data),t._resolvedData??{})},i&&ug(i)&&(n.resolve[ji]=i.title),n}var Nr=class{get title(){return this.data?.[ji]}constructor(e,r,n,i,o,s,a,l,d){this.url=e,this.params=r,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=kr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=kr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},ra=class extends ea{constructor(e,r){super(r),this.url=e,nd(this,r)}toString(){return cg(this._root)}};function nd(t,e){e.value._routerState=t,e.children.forEach(r=>nd(t,r))}function cg(t){let e=t.children.length>0?` { ${t.children.map(cg).join(", ")} } `:"";return`${t.value}${e}`}function Mu(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Mt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Mt(e.params,r.params)||t.paramsSubject.next(r.params),pE(e.url,r.url)||t.urlSubject.next(r.url),Mt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Zu(t,e){let r=Mt(t.params,e.params)&&yE(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Zu(t.parent,e.parent))}function ug(t){return typeof t.title=="string"||t.title===null}var rd=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new he,this.deactivateEvents=new he,this.attachEvents=new he,this.detachEvents=new he,this.parentContexts=C(Bi),this.location=C(sn),this.changeDetector=C(cn),this.inputBinder=C(la,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new M(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new M(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,d=new Yu(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:d,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Lt]});let t=e;return t})(),Yu=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===Gt?this.route:e===Bi?this.childContexts:this.parent.get(e,r)}},la=new x(""),$m=(()=>{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=Xr([i.queryParams,i.params,i.data]).pipe(Le(([s,a,l],d)=>(l=b(b(b({},s),a),l),d===0?R(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=Kp(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function UE(t,e,r){let n=Pi(t,e._root,r?r._root:void 0);return new ta(n,e)}function Pi(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=BE(t,e,r);return new We(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Pi(t,a)),s}}let n=$E(e.value),i=e.children.map(o=>Pi(t,o));return new We(n,i)}}function BE(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Pi(t,n,i);return Pi(t,n)})}function $E(t){return new Gt(new Ie(t.url),new Ie(t.params),new Ie(t.queryParams),new Ie(t.fragment),new Ie(t.data),t.outlet,t.component,t)}var Fi=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},dg="ngNavigationCancelingError";function ia(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Ni(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=fg(!1,Ze.Redirect);return i.url=r,i.navigationBehaviorOptions=n,i}function fg(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[dg]=!0,r.cancellationCode=e,r}function HE(t){return hg(t)&&Ni(t.url)}function hg(t){return!!t&&t[dg]}var GE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["ng-component"]],standalone:!0,features:[de],decls:1,vars:0,template:function(i,o){i&1&&p(0,"router-outlet")},dependencies:[rd],encapsulation:2});let t=e;return t})();function zE(t,e){return t.providers&&!t._injector&&(t._injector=_s(t.providers,e,`Route: ${t.path}`)),t._injector??e}function id(t){let e=t.children&&t.children.map(id),r=e?K(b({},t),{children:e}):b({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==$&&(r.component=GE),r}function pt(t){return t.outlet||$}function qE(t,e){let r=t.filter(n=>pt(n)===e);return r.push(...t.filter(n=>pt(n)!==e)),r}function $i(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 WE=(t,e,r,n)=>F(i=>(new Qu(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),Qu=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),Mu(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=Tr(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=Tr(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=Tr(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=Tr(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Gu(o.value.snapshot))}),e.children.length&&this.forwardEvent(new $u(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(Mu(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),Mu(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=$i(i.snapshot);s.attachRef=null,s.route=i,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},oa=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Rr=class{constructor(e,r){this.component=e,this.route=r}};function ZE(t,e,r){let n=t._root,i=e?e._root:null;return xi(n,i,r,[n.value])}function YE(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Vr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!$f(t)?t:e.get(t):n}function xi(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Tr(e);return t.children.forEach(s=>{QE(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ai(a,r.getContext(s),i)),i}function QE(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=KE(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new oa(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?xi(t,e,a?a.children:null,n,i):xi(t,e,r,n,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Rr(a.outlet.component,s))}else s&&Ai(e,a,i),i.canActivateChecks.push(new oa(n)),o.component?xi(t,null,a?a.children:null,n,i):xi(t,null,r,n,i);return i}function KE(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Vn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Vn(t.url,e.url)||!Mt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zu(t,e)||!Mt(t.queryParams,e.queryParams);case"paramsChange":default:return!Zu(t,e)}}function Ai(t,e,r){let n=Tr(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Ai(s,e.children.getContext(o),r):Ai(s,null,r):Ai(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Rr(e.outlet.component,i)):r.canDeactivateChecks.push(new Rr(null,i)):r.canDeactivateChecks.push(new Rr(null,i))}function Hi(t){return typeof t=="function"}function JE(t){return typeof t=="boolean"}function XE(t){return t&&Hi(t.canLoad)}function e_(t){return t&&Hi(t.canActivate)}function t_(t){return t&&Hi(t.canActivateChild)}function n_(t){return t&&Hi(t.canDeactivate)}function r_(t){return t&&Hi(t.canMatch)}function pg(t){return t instanceof Tt||t?.name==="EmptyError"}var zs=Symbol("INITIAL_VALUE");function Lr(){return Le(t=>Xr(t.map(e=>e.pipe(Nt(1),Ka(zs)))).pipe(F(e=>{for(let r of e)if(r!==!0){if(r===zs)return zs;if(r===!1||i_(r))return r}return!0}),xe(e=>e!==zs),Nt(1)))}function i_(t){return Ni(t)||t instanceof Fi}function o_(t,e){return fe(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?R(K(b({},r),{guardsResult:!0})):s_(s,n,i,t).pipe(fe(a=>a&&JE(a)?a_(n,o,t,e):R(a)),F(a=>K(b({},r),{guardsResult:a})))})}function s_(t,e,r,n){return ie(t).pipe(fe(i=>f_(i.component,i.route,r,e,n)),gt(i=>i!==!0,!0))}function a_(t,e,r,n){return ie(e).pipe(At(i=>er(c_(i.route.parent,n),l_(i.route,n),d_(t,i.path,r),u_(t,i.route,r))),gt(i=>i!==!0,!0))}function l_(t,e){return t!==null&&e&&e(new Hu(t)),R(!0)}function c_(t,e){return t!==null&&e&&e(new Bu(t)),R(!0)}function u_(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return R(!0);let i=n.map(o=>Eo(()=>{let s=$i(e)??r,a=Vr(o,s),l=e_(a)?a.canActivate(e,t):qe(s,()=>a(e,t));return mn(l).pipe(gt())}));return R(i).pipe(Lr())}function d_(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>YE(s)).filter(s=>s!==null).map(s=>Eo(()=>{let a=s.guards.map(l=>{let d=$i(s.node)??r,h=Vr(l,d),m=t_(h)?h.canActivateChild(n,t):qe(d,()=>h(n,t));return mn(m).pipe(gt())});return R(a).pipe(Lr())}));return R(o).pipe(Lr())}function f_(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return R(!0);let s=o.map(a=>{let l=$i(e)??i,d=Vr(a,l),h=n_(d)?d.canDeactivate(t,e,r,n):qe(l,()=>d(t,e,r,n));return mn(h).pipe(gt())});return R(s).pipe(Lr())}function h_(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return R(!0);let o=i.map(s=>{let a=Vr(s,t),l=XE(a)?a.canLoad(e,r):qe(t,()=>a(e,r));return mn(l)});return R(o).pipe(Lr(),mg(n))}function mg(t){return $a(we(e=>{if(typeof e!="boolean")throw ia(t,e)}),F(e=>e===!0))}function p_(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return R(!0);let o=i.map(s=>{let a=Vr(s,t),l=r_(a)?a.canMatch(e,r):qe(t,()=>a(e,r));return mn(l)});return R(o).pipe(Lr(),mg(n))}var Li=class{constructor(e){this.segmentGroup=e||null}},Vi=class extends Error{constructor(e){super(),this.urlTree=e}};function Mr(t){return Xn(new Li(t))}function m_(t){return Xn(new M(4e3,!1))}function g_(t){return Xn(fg(!1,Ze.GuardRejected))}var Ku=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return R(n);if(i.numberOfChildren>1||!i.children[$])return m_(`${e.redirectTo}`);i=i.children[$]}}applyRedirectCommands(e,r,n,i,o){if(typeof r!="string"){let a=r,{queryParams:l,fragment:d,routeConfig:h,url:m,outlet:g,params:D,data:w,title:k}=i,T=qe(o,()=>a({params:D,data:w,queryParams:l,fragment:d,routeConfig:h,url:m,outlet:g,title:k}));if(T instanceof hn)throw new Vi(T);r=T}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Vi(s);return s}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new hn(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,i)}),new J(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new M(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},Ju={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function v_(t,e,r,n,i){let o=od(t,e,r);return o.matched?(n=zE(e,n),p_(n,e,r,i).pipe(F(s=>s===!0?o:b({},Ju)))):R(o)}function od(t,e,r){if(e.path==="**")return y_(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?b({},Ju):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||hE)(r,t,e);if(!i)return b({},Ju);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?b(b({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function y_(t){return{matched:!0,parameters:t.length>0?Ym(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Hm(t,e,r,n){return r.length>0&&w_(t,r,n)?{segmentGroup:new J(e,C_(n,new J(r,t.children))),slicedSegments:[]}:r.length===0&&b_(t,r,n)?{segmentGroup:new J(t.segments,D_(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new J(t.segments,t.children),slicedSegments:r}}function D_(t,e,r,n){let i={};for(let o of r)if(ca(t,e,o)&&!n[pt(o)]){let s=new J([],{});i[pt(o)]=s}return b(b({},n),i)}function C_(t,e){let r={};r[$]=e;for(let n of t)if(n.path===""&&pt(n)!==$){let i=new J([],{});r[pt(n)]=i}return r}function w_(t,e,r){return r.some(n=>ca(t,e,n)&&pt(n)!==$)}function b_(t,e,r){return r.some(n=>ca(t,e,n))}function ca(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function E_(t,e,r,n){return pt(t)!==n&&(n===$||!ca(e,r,t))?!1:od(e,t,r).matched}function __(t,e,r){return e.length===0&&!t.children[r]}var Xu=class{};function I_(t,e,r,n,i,o,s="emptyOnly"){return new ed(t,e,r,n,i,s,o).recognize()}var x_=31,ed=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 Ku(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new M(4002,`'${e.segmentGroup}'`)}recognize(){let e=Hm(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(F(({children:r,rootSnapshot:n})=>{let i=new We(n,r),o=new ra("",i),s=RE(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 Nr([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,$,r).pipe(F(n=>({children:n,rootSnapshot:r})),Zt(n=>{if(n instanceof Vi)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Li?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,o):this.processSegment(e,r,n,n.segments,i,!0,o).pipe(F(s=>s instanceof We?[s]:[]))}processChildren(e,r,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return ie(o).pipe(At(s=>{let a=n.children[s],l=qE(r,s);return this.processSegmentGroup(e,l,a,s,i)}),Qa((s,a)=>(s.push(...a),s)),Yt(null),Ya(),fe(s=>{if(s===null)return Mr(n);let a=gg(s);return S_(a),R(a)}))}processSegment(e,r,n,i,o,s,a){return ie(r).pipe(At(l=>this.processSegmentAgainstRoute(l._injector??e,r,l,n,i,o,s,a).pipe(Zt(d=>{if(d instanceof Li)return R(null);throw d}))),gt(l=>!!l),Zt(l=>{if(pg(l))return __(n,i,o)?R(new Xu):Mr(n);throw l}))}processSegmentAgainstRoute(e,r,n,i,o,s,a,l){return E_(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s,l):Mr(i):Mr(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s,a){let{matched:l,parameters:d,consumedSegments:h,positionalParamSegments:m,remainingSegments:g}=od(r,i,o);if(!l)return Mr(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>x_&&(this.allowRedirects=!1));let D=new Nr(o,d,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Gm(i),pt(i),i.component??i._loadedComponent??null,i,zm(i)),w=na(D,a,this.paramsInheritanceStrategy);D.params=Object.freeze(w.params),D.data=Object.freeze(w.data);let k=this.applyRedirects.applyRedirectCommands(h,i.redirectTo,m,D,e);return this.applyRedirects.lineralizeSegments(i,k).pipe(fe(T=>this.processSegment(e,n,r,T.concat(g),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a=v_(r,n,i,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Le(l=>l.matched?(e=n._injector??e,this.getChildConfig(e,n,i).pipe(Le(({routes:d})=>{let h=n._loadedInjector??e,{parameters:m,consumedSegments:g,remainingSegments:D}=l,w=new Nr(g,m,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Gm(n),pt(n),n.component??n._loadedComponent??null,n,zm(n)),k=na(w,s,this.paramsInheritanceStrategy);w.params=Object.freeze(k.params),w.data=Object.freeze(k.data);let{segmentGroup:T,slicedSegments:N}=Hm(r,g,D,d);if(N.length===0&&T.hasChildren())return this.processChildren(h,d,T,w).pipe(F(re=>new We(w,re)));if(d.length===0&&N.length===0)return R(new We(w,[]));let ge=pt(n)===o;return this.processSegment(h,d,T,N,ge?$:o,!0,w).pipe(F(re=>new We(w,re instanceof We?[re]:[])))}))):Mr(r)))}getChildConfig(e,r,n){return r.children?R({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?R({routes:r._loadedRoutes,injector:r._loadedInjector}):h_(e,r,n,this.urlSerializer).pipe(fe(i=>i?this.configLoader.loadChildren(e,r).pipe(we(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):g_(r))):R({routes:[],injector:e})}};function S_(t){t.sort((e,r)=>e.value.outlet===$?-1:r.value.outlet===$?1:e.value.outlet.localeCompare(r.value.outlet))}function M_(t){let e=t.value.routeConfig;return e&&e.path===""}function gg(t){let e=[],r=new Set;for(let n of t){if(!M_(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=gg(n.children);e.push(new We(n.value,i))}return e.filter(n=>!r.has(n))}function Gm(t){return t.data||{}}function zm(t){return t.resolve||{}}function T_(t,e,r,n,i,o){return fe(s=>I_(t,e,r,n,s.extractedUrl,i,o).pipe(F(({state:a,tree:l})=>K(b({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function A_(t,e){return fe(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return R(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let d of vg(l))s.add(d);let a=0;return ie(s).pipe(At(l=>o.has(l)?N_(l,n,t,e):(l.data=na(l,l.parent,t).resolve,R(void 0))),we(()=>a++),tr(1),fe(l=>a===s.size?R(r):$e))})}function vg(t){let e=t.children.map(r=>vg(r)).flat();return[t,...e]}function N_(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!ug(i)&&(o[ji]=i.title),R_(o,t,e,n).pipe(F(s=>(t._resolvedData=s,t.data=na(t,t.parent,r).resolve,null)))}function R_(t,e,r,n){let i=Nu(t);if(i.length===0)return R({});let o={};return ie(i).pipe(fe(s=>k_(t[s],e,r,n).pipe(gt(),we(a=>{if(a instanceof Fi)throw ia(new Or,a);o[s]=a}))),tr(1),Za(o),Zt(s=>pg(s)?$e:Xn(s)))}function k_(t,e,r,n){let i=$i(e)??n,o=Vr(t,i),s=o.resolve?o.resolve(e,r):qe(i,()=>o(e,r));return mn(s)}function Tu(t){return Le(e=>{let r=t(e);return r?ie(r).pipe(F(()=>e)):R(e)})}var yg=(()=>{let e=class e{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===$);return i}getResolvedTitleForRoute(n){return n.data[ji]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(O_),providedIn:"root"});let t=e;return t})(),O_=(()=>{let e=class e extends yg{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(I(Lm))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Gi=new x("",{providedIn:"root",factory:()=>({})}),sa=new x(""),sd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=C(Rs)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return R(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=mn(n.loadComponent()).pipe(F(Dg),we(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Qt(()=>{this.componentLoaders.delete(n)})),o=new Jn(i,()=>new Ce).pipe(Kn());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return R({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=P_(i,this.compiler,n,this.onLoadEndListener).pipe(Qt(()=>{this.childrenLoaders.delete(i)})),a=new Jn(s,()=>new Ce).pipe(Kn());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 P_(t,e,r,n){return mn(t.loadChildren()).pipe(F(Dg),fe(i=>i instanceof li||Array.isArray(i)?R(i):ie(e.compileModuleAsync(i))),F(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(sa,[],{optional:!0,self:!0}).flat()),{routes:s.map(id),injector:o}}))}function F_(t){return t&&typeof t=="object"&&"default"in t}function Dg(t){return F_(t)?t.default:t}var ad=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(L_),providedIn:"root"});let t=e;return t})(),L_=(()=>{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})(),Cg=new x(""),wg=new x("");function V_(t,e,r){let n=t.get(wg),i=t.get(Ee);return t.get(X).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(d=>setTimeout(d));let o,s=new Promise(d=>{o=d}),a=i.startViewTransition(()=>(o(),j_(t))),{onViewTransitionCreated:l}=n;return l&&qe(t,()=>l({transition:a,from:e,to:r})),s})}function j_(t){return new Promise(e=>{Es(e,{injector:t})})}var U_=new x(""),ld=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ce,this.transitionAbortSubject=new Ce,this.configLoader=C(sd),this.environmentInjector=C(Me),this.urlSerializer=C(Ui),this.rootContexts=C(Bi),this.location=C(xr),this.inputBindingEnabled=C(la,{optional:!0})!==null,this.titleStrategy=C(yg),this.options=C(Gi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=C(ad),this.createViewTransition=C(Cg,{optional:!0}),this.navigationErrorHandler=C(U_,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null;let n=o=>this.events.next(new ju(o)),i=o=>this.events.next(new Uu(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(K(b(b({},this.transitions.value),n),{id:i}))}setupNavigations(n,i,o){return this.transitions=new Ie({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Ti,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(xe(s=>s.id!==0),F(s=>K(b({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Le(s=>{let a=!1,l=!1;return R(s).pipe(Le(d=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),$e;this.currentTransition=s,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?K(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=d.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!h&&m!=="reload"){let g="";return this.events.next(new pn(d.id,this.urlSerializer.serialize(d.rawUrl),g,Ks.IgnoredSameUrlNavigation)),d.resolve(!1),$e}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return R(d).pipe(Le(g=>{let D=this.transitions?.getValue();return this.events.next(new Pr(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),D!==this.transitions?.getValue()?$e:Promise.resolve(g)}),T_(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),we(g=>{s.targetSnapshot=g.targetSnapshot,s.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=K(b({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let D=new Js(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(D)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:g,extractedUrl:D,source:w,restoredState:k,extras:T}=d,N=new Pr(g,this.urlSerializer.serialize(D),w,k);this.events.next(N);let ge=lg(this.rootComponentType).snapshot;return this.currentTransition=s=K(b({},d),{targetSnapshot:ge,urlAfterRedirects:D,extras:K(b({},T),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=D,R(s)}else{let g="";return this.events.next(new pn(d.id,this.urlSerializer.serialize(d.extractedUrl),g,Ks.IgnoredByUrlHandlingStrategy)),d.resolve(!1),$e}}),we(d=>{let h=new Pu(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}),F(d=>(this.currentTransition=s=K(b({},d),{guards:ZE(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),s)),o_(this.environmentInjector,d=>this.events.next(d)),we(d=>{if(s.guardsResult=d.guardsResult,d.guardsResult&&typeof d.guardsResult!="boolean")throw ia(this.urlSerializer,d.guardsResult);let h=new Fu(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(h)}),xe(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",Ze.GuardRejected),!1)),Tu(d=>{if(d.guards.canActivateChecks.length)return R(d).pipe(we(h=>{let m=new Lu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),Le(h=>{let m=!1;return R(h).pipe(A_(this.paramsInheritanceStrategy,this.environmentInjector),we({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",Ze.NoDataFromResolver)}}))}),we(h=>{let m=new Vu(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),Tu(d=>{let h=m=>{let g=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(m.routeConfig).pipe(we(D=>{m.component=D}),F(()=>{})));for(let D of m.children)g.push(...h(D));return g};return Xr(h(d.targetSnapshot.root)).pipe(Yt(null),Nt(1))}),Tu(()=>this.afterPreactivation()),Le(()=>{let{currentSnapshot:d,targetSnapshot:h}=s,m=this.createViewTransition?.(this.environmentInjector,d.root,h.root);return m?ie(m).pipe(F(()=>s)):R(s)}),F(d=>{let h=UE(n.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=s=K(b({},d),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,s}),we(()=>{this.events.next(new Oi)}),WE(this.rootContexts,n.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Nt(1),we({next:d=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ye(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{a=!0}}),Ja(this.transitionAbortSubject.pipe(we(d=>{throw d}))),Qt(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",Ze.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Zt(d=>{if(l=!0,hg(d))this.events.next(new Ht(s.id,this.urlSerializer.serialize(s.extractedUrl),d.message,d.cancellationCode)),HE(d)?this.events.next(new Fr(d.url,d.navigationBehaviorOptions)):s.resolve(!1);else{let h=new ki(s.id,this.urlSerializer.serialize(s.extractedUrl),d,s.targetSnapshot??void 0);try{let m=qe(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof Fi){let{message:g,cancellationCode:D}=ia(this.urlSerializer,m);this.events.next(new Ht(s.id,this.urlSerializer.serialize(s.extractedUrl),g,D)),this.events.next(new Fr(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(h);let g=n.errorHandler(d);s.resolve(!!g)}}catch(m){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(m)}}return $e}))}))}cancelNavigationTransition(n,i,o){let s=new Ht(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function B_(t){return t!==Ti}var $_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(H_),providedIn:"root"});let t=e;return t})(),td=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},H_=(()=>{let e=class e extends td{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:()=>C(G_),providedIn:"root"});let t=e;return t})(),G_=(()=>{let e=class e extends bg{constructor(){super(...arguments),this.location=C(xr),this.urlSerializer=C(Ui),this.options=C(Gi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=C(ad),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new hn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=lg(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 Pr)this.stateMemento=this.createStateMemento();else if(n instanceof pn)this.rawUrlTree=i.initialUrl;else if(n instanceof Js){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else n instanceof Oi?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):n instanceof Ht&&(n.code===Ze.GuardRejected||n.code===Ze.NoDataFromResolver)?this.restoreHistory(i):n instanceof ki?this.restoreHistory(i,!0):n instanceof Ye&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=b(b({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=b(b({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Si=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Si||{});function Eg(t,e){t.events.pipe(xe(r=>r instanceof Ye||r instanceof Ht||r instanceof ki||r instanceof pn),F(r=>r instanceof Ye||r instanceof pn?Si.COMPLETE:(r instanceof Ht?r.code===Ze.Redirect||r.code===Ze.SupersededByNewNavigation:!1)?Si.REDIRECTING:Si.FAILED),xe(r=>r!==Si.REDIRECTING),Nt(1)).subscribe(()=>{e()})}function z_(t){throw t}var q_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},W_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},mt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=C(Ss),this.stateManager=C(bg),this.options=C(Gi,{optional:!0})||{},this.pendingTasks=C(an),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=C(ld),this.urlSerializer=C(Ui),this.location=C(xr),this.urlHandlingStrategy=C(ad),this._events=new Ce,this.errorHandler=this.options.errorHandler||z_,this.navigated=!1,this.routeReuseStrategy=C($_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=C(sa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!C(la,{optional:!0}),this.eventsSubscription=new ve,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Ht&&i.code!==Ze.Redirect&&i.code!==Ze.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ye)this.navigated=!0;else if(i instanceof Fr){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),d=b({info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||B_(o.source)},a);this.scheduleNavigation(l,Ti,null,d,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Y_(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),Ti,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",i)},0)})}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let d=b({},o);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(s.state=d)}let l=this.parseUrl(n);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(id),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:d}=i,h=d?this.currentUrlTree.fragment:a,m=null;switch(l){case"merge":m=b(b({},this.currentUrlTree.queryParams),s);break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=s||null}m!==null&&(m=this.removeEmptyProps(m));let g;try{let D=o?o.snapshot:this.routerState.snapshot.root;g=ig(D)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),g=this.currentUrlTree.root}return og(g,n,m,h??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=Ni(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Ti,null,i)}navigate(n,i={skipLocationChange:!1}){return Z_(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,i){let o;if(i===!0?o=b({},q_):i===!1?o=b({},W_):o=i,Ni(n))return Vm(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Vm(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,d,h;a?(l=a.resolve,d=a.reject,h=a.promise):h=new Promise((g,D)=>{l=g,d=D});let m=this.pendingTasks.add();return Eg(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:d,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(g=>Promise.reject(g))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Z_(t){for(let e=0;e{let e=class e{constructor(n,i,o,s,a,l){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new Ce,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let d=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=d==="a"||d==="area",this.isAnchorElement?this.subscription=n.events.subscribe(h=>{h instanceof Ye&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,d),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let i=this.href===null?null:Xh(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(S(mt),S(Gt),Ic("tabindex"),S(ot),S(Ae),S(Bt))},e.\u0275dir=ne({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&A("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Vt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",jt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",jt],replaceUrl:[2,"replaceUrl","replaceUrl",jt],routerLink:"routerLink"},standalone:!0,features:[Yc,Lt]});let t=e;return t})(),_g=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new he,this.routerEventsSubscription=n.events.subscribe(l=>{l instanceof Ye&&this.update()})}ngAfterContentInit(){R(this.links.changes,R(null)).pipe(Wt()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=ie(n).pipe(Wt()).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=Q_(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(mt),S(Ae),S(ot),S(cn),S(Ne,8))},e.\u0275dir=ne({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&Up(s,Ne,5),i&2){let a;Bp(a=$p())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Lt]});let t=e;return t})();function Q_(t){return!!t.paths}var aa=class{};var K_=(()=>{let e=class e{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(xe(n=>n instanceof Ye),At(()=>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=_s(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return ie(o).pipe(Wt())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=R(null);let s=o.pipe(fe(a=>a===null?R(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ie([s,a]).pipe(Wt())}else return s})}};e.\u0275fac=function(i){return new(i||e)(I(mt),I(Rs),I(Me),I(aa),I(sd))},e.\u0275prov=_({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ig=new x(""),J_=(()=>{let e=class e{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=C(Me),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Pr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ye?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof pn&&n.code===Ks.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 Xs&&(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(()=>Qr(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),Es(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Xs(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){up()},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function X_(t){return t.routerState.root}function zi(t,e){return{\u0275kind:t,\u0275providers:e}}function eI(){let t=C(rt);return e=>{let r=t.get(ln);if(e!==r.components[0])return;let n=t.get(mt),i=t.get(xg);t.get(cd)===1&&n.initialNavigation(),t.get(Sg,null,H.Optional)?.setUpPreloading(),t.get(Ig,null,H.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var xg=new x("",{factory:()=>new Ce}),cd=new x("",{providedIn:"root",factory:()=>1});function tI(){return zi(2,[{provide:cd,useValue:0},{provide:As,multi:!0,deps:[rt],useFactory:e=>{let r=e.get(om,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(mt),o=e.get(xg);Eg(i,()=>{n(!0)}),e.get(ld).afterPreactivation=()=>(n(!0),o.closed?R(void 0):o),i.initialNavigation()}))}}])}function nI(){return zi(3,[{provide:As,multi:!0,useFactory:()=>{let e=C(mt);return()=>{e.setUpLocationChangeListener()}}},{provide:cd,useValue:2}])}var Sg=new x("");function rI(t){return zi(0,[{provide:Sg,useExisting:K_},{provide:aa,useExisting:t}])}function iI(){return zi(8,[$m,{provide:la,useExisting:$m}])}function oI(t){let e=[{provide:Cg,useValue:V_},{provide:wg,useValue:b({skipNextTransition:!!t?.skipInitialTransition},t)}];return zi(9,e)}var qm=new x("ROUTER_FORROOT_GUARD"),sI=[xr,{provide:Ui,useClass:Or},mt,Bi,{provide:Gt,useFactory:X_,deps:[mt]},sd,[]],ud=(()=>{let e=class e{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[sI,[],{provide:sa,multi:!0,useValue:n},{provide:qm,useFactory:uI,deps:[[mt,new ss,new uc]]},{provide:Gi,useValue:i||{}},i?.useHash?lI():cI(),aI(),i?.preloadingStrategy?rI(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?dI(i):[],i?.bindToComponentInputs?iI().\u0275providers:[],i?.enableViewTransitions?oI().\u0275providers:[],fI()]}}static forChild(n){return{ngModule:e,providers:[{provide:sa,multi:!0,useValue:n}]}}};e.\u0275fac=function(i){return new(i||e)(I(qm,8))},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();function aI(){return{provide:Ig,useFactory:()=>{let t=C(cm),e=C(X),r=C(Gi),n=C(ld),i=C(Ui);return r.scrollOffset&&t.setOffset(r.scrollOffset),new J_(i,n,t,e,r)}}}function lI(){return{provide:Bt,useClass:am}}function cI(){return{provide:Bt,useClass:uu}}function uI(t){return"guarded"}function dI(t){return[t.initialNavigation==="disabled"?nI().\u0275providers:[],t.initialNavigation==="enabledBlocking"?tI().\u0275providers:[]]}var Wm=new x("");function fI(){return[{provide:Wm,useFactory:eI},{provide:Ns,multi:!0,useExisting:Wm}]}var pI=()=>["/pro"],Mg=(()=>{let e=class e{constructor(){this.years=new Date().getFullYear()-2009}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-footer"]],standalone:!0,features:[de],decls:94,vars:3,consts:[[1,"container-fluid","mt-5"],[1,"p-5"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-4","text-center"],["src","resources/portrait_600.jpg","alt","Portrait",1,"img-fluid","img-thumbnail","mb-5","portrait"],[1,"col-xs-12","col-md-8"],[3,"routerLink"],[1,"fa-solid","fa-heart","githubheart"],["href","https://github.com/sponsors/danielpalme","target","_blank"],[1,"col-md-3","offset-md-2"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki","target","_blank"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ","target","_blank"],[1,"col-md-4","mt-4","mt-md-0"],["href","https://www.nuget.org/packages/ReportGenerator","target","_blank"],["href","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool","target","_blank"],["href","https://www.nuget.org/packages/ReportGenerator.Core","target","_blank"],["href","https://github.com/marketplace/actions/reportgenerator","target","_blank"],["href","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator","target","_blank"],[1,"col-md-3","mt-4","mt-md-0"],[1,"fa-brands","fa-github"],["href","https://twitter.com/danielpalme","target","_blank"],[1,"fa-brands","fa-twitter"],["href","https://www.palmmedia.de/Privacy","target","_blank"],["href","https://www.palmmedia.de/Imprint","target","_blank"]],template:function(i,o){i&1&&(u(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),p(5,"img",5),f(),u(6,"div",6)(7,"h2"),c(8,"Who's behind"),f(),u(9,"p"),c(10,"My name is Daniel Palme. I'm a software developer from Germany."),f(),u(11,"p"),c(12," Back in 2009 I wanted to create code coverage reports based on "),u(13,"i"),c(14,"PartCover"),f(),c(15," files."),p(16,"br"),c(17," Since no existing tool was able to merge several coverage files and generate a visual appealing report, I decided to create my own."),p(18,"br"),c(19),u(20,"i"),c(21,"ReportGenerator"),f(),c(22,". "),f(),u(23,"p"),c(24," You can support the ongoing maintenance by buying a "),u(25,"a",7),c(26,"PRO license"),f(),c(27," or by becoming a "),p(28,"i",8),c(29,"\xA0"),u(30,"a",9),c(31,"GitHub sponsor"),f(),c(32,". "),f()()()()(),u(33,"div",2)(34,"div",3),p(35,"hr"),f()(),u(36,"div",1)(37,"div",2)(38,"div",3)(39,"div",10)(40,"p")(41,"b"),c(42,"GitHub"),f()(),u(43,"a",11),c(44,"Source code"),f(),p(45,"br"),u(46,"a",12),c(47,"Wiki"),f(),p(48,"br"),u(49,"a",13),c(50,"FAQ"),f()(),u(51,"div",14)(52,"p")(53,"b"),c(54,"Download"),f()(),u(55,"i"),c(56,"NuGet"),f(),p(57,"br"),u(58,"a",15),c(59,"ReportGenerator"),f(),p(60,"br"),u(61,"a",16),c(62,"dotnet-reportgenerator-globaltool"),f(),p(63,"br"),u(64,"a",17),c(65,"ReportGenerator.Core"),f(),p(66,"br")(67,"br"),u(68,"i"),c(69,"Integration"),f(),p(70,"br"),u(71,"a",18),c(72,"GitHub actions"),f(),p(73,"br"),u(74,"a",19),c(75,"Azure DevOps"),f()(),u(76,"div",20)(77,"p")(78,"b"),c(79,"Community"),f()(),u(80,"a",11),p(81,"i",21),c(82," GitHub"),f(),p(83,"br"),u(84,"a",22),p(85,"i",23),c(86," Twitter"),f(),p(87,"br")(88,"br"),u(89,"a",24),c(90,"Privacy"),f(),p(91,"br"),u(92,"a",25),c(93,"Imprint"),f()()()()()()),i&2&&(v(19),ft(" Fast forward ",o.years," years, I'm still maintaining "),v(6),y("routerLink",B(2,pI)))},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 Tg=()=>["/"],mI=t=>({show:t}),jr=()=>["link-active"],Ag=()=>({exact:!0}),gI=()=>["/features"],vI=()=>["/getstarted"],yI=()=>["/usage"],DI=()=>["/contact"],CI=()=>["/pro"],Ng=(()=>{let e=class e{constructor(){this.isExpanded=!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-nav-menu"]],standalone:!0,features:[de],decls:42,vars:34,consts:[[1,"mb-5"],[1,"navbar","fixed-top","navbar-expand-sm","navbar-toggleable-sm","navbar-light","bg-white","border-bottom","box-shadow","mb-3"],[1,"container-xxl","flex-wrap","flex-md-nowrap"],[1,"navbar-brand",3,"routerLink"],["src","resources/logo.svg","height","40","alt","Icon",1,"me-2"],[1,"d-sm-none","d-md-none","d-lg-inline","ms-2"],["type","button","data-toggle","collapse","data-target",".navbar-collapse","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],[1,"navbar-collapse","collapse","d-sm-inline-flex",3,"ngClass"],[1,"navbar-nav","flex-grow"],[1,"nav-item",3,"routerLinkActive","routerLinkActiveOptions"],[1,"nav-link","text-dark",3,"routerLink"],[1,"nav-item",3,"routerLinkActive"],[1,"nav-link","text-dark","text-nowrap",3,"routerLink"],[1,"pro-button"],[1,"d-md-none","text-secondary"],[1,"navbar-nav","flex-row","flex-wrap","ms-md-auto","d-sm-none","d-md-flex"],[1,"nav-item","col-6","col-md-auto"],["href","https://github.com/danielpalme/ReportGenerator","target","_blank","title","GitHub",1,"nav-link","text-dark"],[1,"fa-brands","fa-github"],[1,"d-inline","d-sm-none","ms-2"],["href","https://twitter.com/danielpalme","target","_blank","title","Twitter",1,"nav-link","text-dark"],[1,"fa-brands","fa-twitter"]],template:function(i,o){i&1&&(u(0,"header",0)(1,"nav",1)(2,"div",2)(3,"a",3),p(4,"img",4),u(5,"span",5),c(6,"ReportGenerator"),f()(),u(7,"button",6),A("click",function(){return o.toggle()}),p(8,"span",7),f(),u(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),c(13,"Home"),f()(),u(14,"li",10)(15,"a",11),c(16,"Features"),f()(),u(17,"li",12)(18,"a",13),c(19,"Get started"),f()(),u(20,"li",12)(21,"a",11),c(22,"Usage"),f()(),u(23,"li",12)(24,"a",11),c(25,"Contact"),f()(),u(26,"li",12)(27,"a",11)(28,"span",14),c(29,"PRO"),f()()()(),p(30,"hr",15),u(31,"ul",16)(32,"li",17)(33,"a",18),p(34,"i",19),u(35,"span",20),c(36,"GitHub"),f()()(),u(37,"li",17)(38,"a",21),p(39,"i",22),u(40,"span",20),c(41,"Twitter"),f()()()()()()()()),i&2&&(v(3),y("routerLink",B(17,Tg)),v(4),Vt("aria-expanded",o.isExpanded),v(2),y("ngClass",Pn(18,mI,o.isExpanded)),v(2),y("routerLinkActive",B(20,jr))("routerLinkActiveOptions",B(21,Ag)),v(),y("routerLink",B(22,Tg)),v(2),y("routerLinkActive",B(23,jr))("routerLinkActiveOptions",B(24,Ag)),v(),y("routerLink",B(25,gI)),v(2),y("routerLinkActive",B(26,jr)),v(),y("routerLink",B(27,vI)),v(2),y("routerLinkActive",B(28,jr)),v(),y("routerLink",B(29,yI)),v(2),y("routerLinkActive",B(30,jr)),v(),y("routerLink",B(31,DI)),v(2),y("routerLinkActive",B(32,jr)),v(),y("routerLink",B(33,CI)))},dependencies:[Ne,Sr,_g],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 Rg=(()=>{let e=class e{constructor(n,i,o){this.dom=n,this.router=i,this.activatedRoute=o}ngOnInit(){this.router.events.pipe(xe(n=>n instanceof Ye),F(()=>this.activatedRoute),F(n=>{for(;n.firstChild;)n=n.firstChild;return n}),xe(n=>n.outlet==="primary"),fe(n=>n.data)).subscribe(n=>{let i=`${window.location.protocol}//${window.location.hostname}`;n.canonical?this.updateCanonicalUrl(i+n.canonical):this.updateCanonicalUrl(i+this.router.url)})}updateCanonicalUrl(n){let i=this.dom.getElementsByTagName("head")[0];var o=this.dom.querySelector("link[rel='canonical']")||null;o==null&&(o=this.dom.createElement("link"),i.appendChild(o)),o.setAttribute("rel","canonical"),o.setAttribute("href",n)}};e.\u0275fac=function(i){return new(i||e)(S(Ee),S(mt),S(Gt))},e.\u0275cmp=ce({type:e,selectors:[["app-root"]],standalone:!0,features:[de],decls:3,vars:0,template:function(i,o){i&1&&p(0,"app-nav-menu")(1,"router-outlet")(2,"app-footer")},dependencies:[Ng,rd,Mg],encapsulation:2});let t=e;return t})();var Bg=(()=>{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(ot),S(Ae))},e.\u0275dir=ne({type:e});let t=e;return t})(),va=(()=>{let e=class e extends Bg{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,features:[Pe]});let t=e;return t})(),Ki=new x("");var wI={provide:Ki,useExisting:He(()=>gn),multi:!0};function bI(){let t=St()?St().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var EI=new x(""),gn=(()=>{let e=class e extends Bg{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!bI())}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(ot),S(Ae),S(EI,8))},e.\u0275dir=ne({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&A("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[ht([wI]),Pe]});let t=e;return t})();function hd(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function _I(t){return t!=null&&typeof t.length=="number"}var zr=new x(""),$g=new x(""),II=/^(?=.{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 xI(t){return hd(t.value)?{required:!0}:null}function SI(t){return hd(t.value)||II.test(t.value)?null:{email:!0}}function MI(t){return e=>_I(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function TI(t){if(!t)return dd;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(hd(n.value))return null;let i=n.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function dd(t){return null}function Hg(t){return t!=null}function Gg(t){return Fn(t)?ie(t):t}function zg(t){let e={};return t.forEach(r=>{e=r!=null?b(b({},e),r):e}),Object.keys(e).length===0?null:e}function qg(t,e){return e.map(r=>r(t))}function AI(t){return!t.validate}function Wg(t){return t.map(e=>AI(e)?e:r=>e.validate(r))}function NI(t){if(!t)return null;let e=t.filter(Hg);return e.length==0?null:function(r){return zg(qg(r,e))}}function pd(t){return t!=null?NI(Wg(t)):null}function RI(t){if(!t)return null;let e=t.filter(Hg);return e.length==0?null:function(r){let n=qg(r,e).map(Gg);return Wa(n).pipe(F(zg))}}function md(t){return t!=null?RI(Wg(t)):null}function kg(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function kI(t){return t._rawValidators}function OI(t){return t._rawAsyncValidators}function fd(t){return t?Array.isArray(t)?t:[t]:[]}function da(t,e){return Array.isArray(t)?t.includes(e):t===e}function Og(t,e){let r=fd(e);return fd(t).forEach(i=>{da(r,i)||r.push(i)}),r}function Pg(t,e){return fd(e).filter(r=>!da(t,r))}var fa=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=pd(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=md(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}},$r=class extends fa{get formDirective(){return null}get path(){return null}},Hr=class extends fa{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ha=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},PI={"[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"},xO=K(b({},PI),{"[class.ng-submitted]":"isSubmitted"}),qr=(()=>{let e=class e extends ha{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S(Hr,2))},e.\u0275dir=ne({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Is("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Pe]});let t=e;return t})(),Wr=(()=>{let e=class e extends ha{constructor(n){super(n)}};e.\u0275fac=function(i){return new(i||e)(S($r,10))},e.\u0275dir=ne({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&Is("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Pe]});let t=e;return t})();var qi="VALID",ua="INVALID",Ur="PENDING",Wi="DISABLED",Gr=class{},pa=class extends Gr{constructor(e,r){super(),this.value=e,this.source=r}},Yi=class extends Gr{constructor(e,r){super(),this.pristine=e,this.source=r}},Qi=class extends Gr{constructor(e,r){super(),this.touched=e,this.source=r}},Br=class extends Gr{constructor(e,r){super(),this.status=e,this.source=r}};function Zg(t){return(ya(t)?t.validators:t)||null}function FI(t){return Array.isArray(t)?pd(t):t||null}function Yg(t,e){return(ya(e)?e.asyncValidators:t)||null}function LI(t){return Array.isArray(t)?md(t):t||null}function ya(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function VI(t,e,r){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new M(1e3,"");if(!n[r])throw new M(1001,"")}function jI(t,e,r){t._forEachChild((n,i)=>{if(r[i]===void 0)throw new M(1002,"")})}var ma=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new Ce,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===qi}get invalid(){return this.status===ua}get pending(){return this.status==Ur}get disabled(){return this.status===Wi}get enabled(){return this.status!==Wi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Og(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Og(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Pg(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Pg(e,this._rawAsyncValidators))}hasValidator(e){return da(this._rawValidators,e)}hasAsyncValidator(e){return da(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(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Qi(!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 Qi(!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(b({},e),{sourceControl:n})),r&&e.emitEvent!==!1&&this._events.next(new Yi(!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 Yi(!0,n))}markAsPending(e={}){this.status=Ur;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Br(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(K(b({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Wi,this.errors=null,this._forEachChild(i=>{i.disable(K(b({},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 Br(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(K(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=qi,this._forEachChild(n=>{n.enable(K(b({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(K(b({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===qi||this.status===Ur)&&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 Br(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(K(b({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Wi:qi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=Ur,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let n=Gg(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 Br(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,n)}_initObservables(){this.valueChanges=new he,this.statusChanges=new he}_calculateStatus(){return this._allControlsDisabled()?Wi:this.errors?ua:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ur)?Ur:this._anyControlsHaveStatus(ua)?ua:qi}_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 Yi(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new Qi(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ya(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=FI(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=LI(this._rawAsyncValidators)}},ga=class extends ma{constructor(e,r,n){super(Zg(r),Yg(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={}){jI(this,!0,e),Object.keys(e).forEach(n=>{VI(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 Da=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Ca}),Ca="always";function UI(t,e){return[...e.path,t]}function Qg(t,e,r=Ca){Kg(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),$I(t,e),GI(t,e),HI(t,e),BI(t,e)}function Fg(t,e){t.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function BI(t,e){if(e.valueAccessor.setDisabledState){let r=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(r),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(r)})}}function Kg(t,e){let r=kI(t);e.validator!==null?t.setValidators(kg(r,e.validator)):typeof r=="function"&&t.setValidators([r]);let n=OI(t);e.asyncValidator!==null?t.setAsyncValidators(kg(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let i=()=>t.updateValueAndValidity();Fg(e._rawValidators,i),Fg(e._rawAsyncValidators,i)}function $I(t,e){e.valueAccessor.registerOnChange(r=>{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Jg(t,e)})}function HI(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Jg(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Jg(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function GI(t,e){let r=(n,i)=>{e.valueAccessor.writeValue(n),i&&e.viewToModelUpdate(n)};t.registerOnChange(r),e._registerOnDestroy(()=>{t._unregisterOnChange(r)})}function zI(t,e){t==null,Kg(t,e)}function qI(t,e){if(!t.hasOwnProperty("model"))return!1;let r=t.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function WI(t){return Object.getPrototypeOf(t.constructor)===va}function ZI(t,e){t._syncPendingControls(),e.forEach(r=>{let n=r.control;n.updateOn==="submit"&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function YI(t,e){if(!e)return null;Array.isArray(e);let r,n,i;return e.forEach(o=>{o.constructor===gn?r=o:WI(o)?n=o:i=o}),i||n||r||null}var QI={provide:$r,useExisting:He(()=>jn)},Zi=Promise.resolve(),jn=(()=>{let e=class e extends $r{constructor(n,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new he,this.form=new ga({},pd(n),md(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Zi.then(()=>{let i=this._findContainer(n.path);n.control=i.registerControl(n.name,n.control),Qg(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Zi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Zi.then(()=>{let i=this._findContainer(n.path),o=new ga({});zI(o,n),i.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Zi.then(()=>{let i=this._findContainer(n.path);i&&i.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,i){Zi.then(()=>{this.form.get(n.path).setValue(i)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,ZI(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(i){return new(i||e)(S(zr,10),S($g,10),S(Da,8))},e.\u0275dir=ne({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&A("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ht([QI]),Pe]});let t=e;return t})();function Lg(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Vg(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var KI=class extends ma{constructor(e=null,r,n){super(Zg(r),Yg(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}),ya(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Vg(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){Lg(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Lg(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){Vg(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:Hr,useExisting:He(()=>Un)},jg=Promise.resolve(),Un=(()=>{let e=class e extends Hr{constructor(n,i,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new KI,this._registered=!1,this.name="",this.update=new he,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=YI(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),qI(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(){Qg(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){jg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let i=n.isDisabled.currentValue,o=i!==0&&jt(i);jg.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?UI(n,this._parent):[n]}};e.\u0275fac=function(i){return new(i||e)(S($r,9),S(zr,10),S($g,10),S(Ki,10),S(cn,8),S(Da,8))},e.\u0275dir=ne({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ht([JI]),Pe,Lt]});let t=e;return t})(),Zr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var XI={provide:Ki,useExisting:He(()=>gd),multi:!0};var ex=(()=>{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})(),gd=(()=>{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=C(Da,{optional:!0})??Ca}ngOnInit(){this._control=this._injector.get(Hr),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(ot),S(Ae),S(ex),S(rt))},e.\u0275dir=ne({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[ht([XI]),Pe]});let t=e;return t})();var tx={provide:Ki,useExisting:He(()=>wa),multi:!0};function Xg(t,e){return t==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function nx(t){return t.split(":")[0]}var wa=(()=>{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=Xg(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=nx(n);return this._optionMap.has(i)?this._optionMap.get(i):n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ht([tx]),Pe]});let t=e;return t})(),ev=(()=>{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(Xg(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(Ae),S(ot),S(wa,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})(),rx={provide:Ki,useExisting:He(()=>tv),multi:!0};function Ug(t,e){return t==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${t}: ${e}`.slice(0,50))}function ix(t){return t.split(":")[0]}var tv=(()=>{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 l=0;l{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){i&1&&A("change",function(a){return o.onChange(a.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ht([rx]),Pe]});let t=e;return t})(),nv=(()=>{let e=class e{constructor(n,i,o){this._element=n,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue(Ug(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(Ug(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(i){return new(i||e)(S(Ae),S(ot),S(tv,9))},e.\u0275dir=ne({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let t=e;return t})();function ox(t){return typeof t=="number"?t:parseInt(t,10)}var ba=(()=>{let e=class e{constructor(){this._validator=dd}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):dd,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ne({type:e,features:[Lt]});let t=e;return t})();var sx={provide:zr,useExisting:He(()=>Bn),multi:!0};var Bn=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=jt,this.createValidator=n=>xI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){i&2&&Vt("required",o._enabled?"":null)},inputs:{required:"required"},features:[ht([sx]),Pe]});let t=e;return t})();var ax={provide:zr,useExisting:He(()=>Ji),multi:!0},Ji=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=jt,this.createValidator=n=>SI}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[ht([ax]),Pe]});let t=e;return t})();var lx={provide:zr,useExisting:He(()=>vd),multi:!0},vd=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>ox(n),this.createValidator=n=>MI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Vt("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[ht([lx]),Pe]});let t=e;return t})(),cx={provide:zr,useExisting:He(()=>yd),multi:!0},yd=(()=>{let e=class e extends ba{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>TI(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=dt(e)))(o||e)}})(),e.\u0275dir=ne({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Vt("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[ht([cx]),Pe]});let t=e;return t})();var ux=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({});let t=e;return t})();var vn=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Da,useValue:n.callSetDisabledState??Ca}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({imports:[ux]});let t=e;return t})();var Ea=class{constructor(){this.name="",this.email="",this.message=""}};var _a=(()=>{let e=class e{constructor(n){this.httpClient=n}postContactForm(n){return this.httpClient.post(`${Q.apiBaseUrl}contact`,n)}};e.\u0275fac=function(i){return new(i||e)(I(wi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();function fx(t,e){if(t&1){let r=oe();u(0,"form",5,0),A("ngSubmit",function(){L(r);let i=E();return V(i.submit())}),u(2,"div",6)(3,"label",7),c(4,"Name "),u(5,"span",8),c(6,"*"),f()(),u(7,"input",9),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.name,i)||(o.contactViewModel.name=i),V(i)}),f()(),u(8,"div",6)(9,"label",10),c(10,"Email address "),u(11,"span",8),c(12,"*"),f()(),u(13,"input",11),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.email,i)||(o.contactViewModel.email=i),V(i)}),f()(),u(14,"div",6)(15,"label",12),c(16,"Message "),u(17,"span",8),c(18,"*"),f()(),u(19,"textarea",13),le("ngModelChange",function(i){L(r);let o=E();return ue(o.contactViewModel.message,i)||(o.contactViewModel.message=i),V(i)}),f()(),u(20,"button",14),c(21,"Submit"),f()()}if(t&2){let r=xs(1),n=E();v(7),ae("ngModel",n.contactViewModel.name),v(6),ae("ngModel",n.contactViewModel.email),v(6),ae("ngModel",n.contactViewModel.message),v(),y("disabled",!r.valid||n.enableFormCountDown>0)}}function hx(t,e){t&1&&(u(0,"p"),c(1,"Thanks for your message."),f())}function px(t,e){t&1&&(u(0,"p",4),c(1,"Something went wrong. Please try again later."),f())}var rv=(()=>{let e=class e{constructor(n){this.contactService=n,this.contactViewModel=new Ea,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(_a))},e.\u0275cmp=ce({type:e,selectors:[["app-contact-component"]],standalone:!0,features:[de],decls:6,vars:3,consts:[["contactForm","ngForm"],[1,"container"],[1,"mb-4"],["method","post"],[1,"text-danger"],["method","post",3,"ngSubmit"],[1,"mb-3"],["for","Name"],[1,"required"],["type","text","id","Name","name","Name","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Email"],["type","email","id","Email","name","Email","email","","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","Message"],["rows","7","id","Message","name","Message","required","",1,"form-control",3,"ngModelChange","ngModel"],["type","submit",1,"btn","btn-primary",3,"disabled"]],template:function(i,o){i&1&&(u(0,"div",1)(1,"h1",2),c(2,"Contact"),f(),P(3,fx,22,4,"form",3)(4,hx,2,0,"p")(5,px,2,0,"p",4),f()),i&2&&(v(3),On(!o.success&&!o.error?3:-1),v(),On(o.success?4:-1),v(),On(o.error?5:-1))},dependencies:[vn,Zr,gn,qr,Wr,Bn,Ji,Un,jn]});let t=e;return t})();var iv=()=>["/pro"],ov=(()=>{let e=class e{scrollToAnchor(n){return document.querySelector(n)?.scrollIntoView(!0),!1}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-features-component"]],standalone:!0,features:[de],decls:157,vars:4,consts:[[1,"container"],[1,"mb-4"],["id","coveragequota"],[1,"pro-text"],["href","https://en.wikipedia.org/wiki/Code_coverage","target","_blank"],[1,"fa-solid","fa-arrow-up-right-from-square"],[3,"routerLink"],[1,"pro-button","pro-button-tiny"],["loading","lazy","srcset","resources/features/quota@1x.webp 1x, resources/features/quota@2x.webp 2x","src","resources/features/quota1x.webp","alt","Coverage quotas",1,"img-fluid"],["id","coveragehistory",1,"mt-5"],["loading","lazy","srcset","resources/features/history@1x.webp 1x, resources/features/history@2x.webp 2x","src","resources/features/history@1x.webp","alt","Coverage history",1,"img-fluid"],["id","summary",1,"mt-5"],["loading","lazy","srcset","resources/features/summary@1x.webp 1x, resources/features/summary@2x.webp 2x","src","resources/features/summary.webp","alt","Summary table / Overview",1,"img-fluid"],["id","details",1,"mt-5"],["loading","lazy","srcset","resources/features/details@1x.webp 1x, resources/features/details@2x.webp 2x","src","resources/features/details.webp","alt","Details",1,"img-fluid"],["id","metrics",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/FAQ#which-coverage-tool-supports-which-features-in-the-html-report","target","_blank"],["href","",3,"click"],["loading","lazy","srcset","resources/features/metrics_details@1x.webp 1x, resources/features/metrics_details@2x.webp 2x","src","resources/features/metrics_details.webp","alt","Metrics - Details",1,"img-fluid"],["loading","lazy","srcset","resources/features/metrics_summary@1x.webp 1x, resources/features/metrics_summary@2x.webp 2x","src","resources/features/metrics_summary.webp","alt","Metrics - Summary",1,"img-fluid"],["id","riskhotspots",1,"mt-5"],["href","https://en.wikipedia.org/wiki/Cyclomatic_complexity","target","_blank"],["href","https://modess.io/npath-complexity-cyclomatic-complexity-explained","target","_blank"],["href","https://testing.googleblog.com/2011/02/this-code-is-crap.html","target","_blank"],["loading","lazy","srcset","resources/features/riskhotspots@1x.webp 1x, resources/features/riskhotspots@2x.webp 2x","src","resources/features/riskhotspots.webp","alt","Risk Hotspots",1,"img-fluid"],["id","rawmode",1,"mt-5"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Settings#other-settings","target","_blank"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),c(2,"Features"),f(),u(3,"h2",2),c(4,"Coverage quotas"),f(),u(5,"p"),c(6," The overiew cards provide a quick "),u(7,"span",3),c(8,"overview"),f(),c(9," of your coverage quotas."),p(10,"br"),c(11," You can use them to get a glimpse into the different "),u(12,"a",4),c(13,"coverage metrics"),f(),c(14,"\xA0"),u(15,"a",4),p(16,"i",5),f(),c(17,": "),f(),u(18,"ul")(19,"li"),c(20,"Line coverage"),f(),u(21,"li"),c(22,"Branch coverage"),f(),u(23,"li"),c(24,"Method coverage "),u(25,"a",6)(26,"span",7),c(27,"PRO"),f()()()(),p(28,"img",8)(29,"br"),u(30,"h2",9),c(31,"Coverage history"),f(),u(32,"p"),c(33," The history chart helps you to understand how your coverage quotas are "),u(34,"span",3),c(35,"evolving over time"),f(),c(36,". "),f(),p(37,"img",10)(38,"br"),u(39,"h2",11),c(40,"Summary table / Overview"),f(),u(41,"p"),c(42," The summary table helps you to identify classes with "),u(43,"span",3),c(44,"low test coverage"),f(),c(45,"."),p(46,"br"),c(47," The table offers various "),u(48,"span",3),c(49,"filter and sorting"),f(),c(50," options for quick navigation. "),f(),p(51,"img",12)(52,"br"),u(53,"h2",13),c(54,"Details page"),f(),u(55,"p"),c(56," The details page visualizes your "),u(57,"span",3),c(58,"line and branch coverage"),f(),c(59,". "),f(),u(60,"ul")(61,"li"),c(62,"Colors indicate the coverage status of each line."),f(),u(63,"li"),c(64,"Branch indicators help you to identity uncovered conditions."),f()(),p(65,"img",14)(66,"br"),u(67,"h2",15),c(68,"Metrics"),f(),u(69,"p"),c(70," Depending on your "),u(71,"a",16),c(72,"coverage tool"),f(),c(73,", metrics are provided to get further insigths in your "),u(74,"span",3),c(75,"code quality"),f(),c(76,". "),f(),u(77,"ul")(78,"li"),c(79,"The "),u(80,"a",17),A("click",function(){return o.scrollToAnchor("#details")}),c(81,"details page"),f(),c(82," contains information about the metrics of all methods of a class."),f(),u(83,"li"),c(84,"The "),u(85,"a",17),A("click",function(){return o.scrollToAnchor("#summary")}),c(86,"summary table"),f(),c(87," shows the lowest metrics of all methods of a class "),u(88,"a",6)(89,"span",7),c(90,"PRO"),f()()()(),u(91,"b"),c(92,"Details page"),f(),p(93,"br")(94,"img",18)(95,"br")(96,"br"),u(97,"b"),c(98,"Summary table"),f(),p(99,"br")(100,"img",19)(101,"br"),u(102,"h2",20),c(103,"Risk Hotspots"),f(),u(104,"p"),c(105," Based on the "),u(106,"a",17),A("click",function(){return o.scrollToAnchor("#metrics")}),c(107,"metrics"),f(),c(108," you get a list of potential risk hotspots."),p(109,"br"),c(110," The following metrics are analyzed if available, the warning thresholds are configurable: "),f(),u(111,"ul")(112,"li")(113,"a",21),c(114,"Cyclomatic complexity"),f(),c(115,"\xA0"),u(116,"a",21),p(117,"i",5),f()(),u(118,"li")(119,"a",22),c(120,"NPath complexity"),f(),c(121,"\xA0"),u(122,"a",22),p(123,"i",5),f()(),u(124,"li")(125,"a",23),c(126,"Crap score"),f(),c(127,"\xA0"),u(128,"a",23),p(129,"i",5),f()()(),p(130,"img",24),u(131,"h2",25),c(132,"Raw mode (for "),u(133,"i"),c(134,"Cobertura"),f(),c(135,") "),u(136,"span",7),c(137,"PRO"),f()(),u(138,"p"),c(139,' With "raw mode" (settings:rawMode=true) you can disable that coverage data of nested or compiler generated classes is included in the parent class.'),p(140,"br"),c(141," This is useful to merge several "),u(142,"i"),c(143,"Cobertura"),f(),c(144," files into a single file, since the original class structure remains untouched. "),f(),u(145,"p"),c(146,"See "),u(147,"a",26),c(148,"Settings"),f(),c(149,"\xA0"),u(150,"a",26),p(151,"i",5),f()(),u(152,"p"),c(153,"Limitation: Raw mode is currently only supported for "),u(154,"i"),c(155,"Cobertura"),f(),c(156," files."),f()()),i&2&&(v(25),y("routerLink",B(2,iv)),v(63),y("routerLink",B(3,iv)))},dependencies:[Ne]});let t=e;return t})();var Re={dotnetSDKVersion:"8.x",majorVersion:"5",version:"5.3.6"};var mx=()=>["/usage"],sv=(()=>{let e=class e{constructor(){this.versions=Re}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-getstarted"]],standalone:!0,features:[de],decls:75,vars:6,consts:[[1,"container"],[1,"mb-4"],[3,"routerLink"],["id","net",1,"mt-5"],["href","https://github.com/microsoft/codecoverage"],["href","https://github.com/coverlet-coverage/coverlet"],["href","https://github.com/SteveGilham/altcover"],[1,"text-dark","bg-light","p-2","border"],["id","java",1,"mt-5"],["href","https://github.com/jacoco/jacoco"],["id","nodejs",1,"mt-5"],["href","https://github.com/istanbuljs/nyc"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),c(2,"Get started"),f(),u(3,"h2"),c(4,"General"),f(),u(5,"p"),c(6,"In general you need a tool that instruments your test code and collects coverage information."),p(7,"br"),c(8,"This information is typically stored in a XML file (e.g. in Cobertura format)."),p(9,"br"),u(10,"em"),c(11,"ReportGenerator"),f(),c(12," uses this file and generates a report in HTML format (other formats are available)."),f(),u(13,"p"),c(14,"Use the online "),u(15,"a",2),c(16,"configuration tool"),f(),c(17," to get started quickly."),f(),u(18,"h2",3),c(19,".NET"),f(),u(20,"p"),c(21,"For .NET you can use "),u(22,"a",4),c(23,"Microsoft CodeCoverage"),f(),c(24,", "),u(25,"a",5),c(26,"coverlet"),f(),c(27," or "),u(28,"a",6),c(29,"altcover"),f(),c(30," for instrumenting your test code."),f(),u(31,"p"),c(32,"After adding the dependencies to your project, you can execute your tests and generate the coverage report."),f(),u(33,"p")(34,"strong"),c(35,"Add dependencies to your "),u(36,"code"),c(37,"*.csproj"),f(),c(38," file:"),f()(),u(39,"pre",7),c(40),f(),u(41,"p")(42,"strong"),c(43,"Execute tests and create coverage report"),f()(),u(44,"pre",7),c(45),f(),u(46,"h2",8),c(47,"Java"),f(),u(48,"p"),c(49,"For Java you can use "),u(50,"a",9),c(51,"JaCoCo"),f(),c(52,` for instrumenting your test code. -After adding JaCoCo to your project (here with Maven), you can execute your tests and generate the coverage report.`),f(),u(53,"p")(54,"strong"),c(55,"Add dependencies to your "),u(56,"code"),c(57,"pom.xml"),f(),c(58," file:"),f()(),u(59,"pre",7),c(60,` - - - - org.jacoco - jacoco-maven-plugin - 0.8.6 - - - - prepare-agent - - - - report - prepare-package - - report - - - - - - - - - - org.jacoco - jacoco-maven-plugin - - - - report - - - - - - - -`),f(),u(61,"p")(62,"strong"),c(63,"Execute tests and create coverage report"),f()(),u(64,"pre",7),c(65),f(),u(66,"h2",10),c(67,"NodeJS"),f(),u(68,"p"),c(69,"For NodeJS you can use "),u(70,"a",11),c(71,"Istanbul"),f(),c(72,` for instrumenting your test code. -After installing Istanbul, you can execute your tests and generate the coverage report.`),f(),u(73,"pre",7),c(74),f()()),i&2&&(v(15),y("routerLink",B(5,mx)),v(25),ft(` - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - all - runtime; build; native; contentfiles; analyzers - - -`),v(5),ft(`dotnet test --collect:"XPlat Code Coverage" -"%UserProfile%\\.nuget\\packages\\reportgenerator\\`,o.versions.version,`\\tools\\net8.0\\ReportGenerator.exe" -reports:*\\TestResults\\*\\coverage.cobertura.xml -targetdir:coveragereport -`),v(20),ft(`mvn test jacoco:report - -dotnet tool update dotnet-reportgenerator-globaltool --tool-path tools --version `,o.versions.version,` -tools\\reportgenerator -reports:target\\site\\jacoco\\jacoco.xml -targetdir:coveragereport -sourcedirs:src\\main\\java -`),v(9),ft(`npm i nyc --save-dev -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 Ia=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-testimonials"]],standalone:!0,features:[de],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",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/blob/mainline/aws-encryption-sdk-net/README.md","target","_blank",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),c(3,"Code coverage reports trusted by"),f(),u(4,"div",3)(5,"div",4),p(6,"i",5)(7,"br"),u(8,"a",6),c(9,".NET Runtime"),f()(),u(10,"div",4),p(11,"i",7)(12,"br"),u(13,"a",8),c(14,"Google Cloud"),f()(),u(15,"div",4),p(16,"i",9)(17,"br"),u(18,"a",10),c(19,"AWS Encryption SDK"),f()(),u(20,"div",11),p(21,"i",12)(22,"br"),u(23,"a",13),c(24,"Many more"),f()()(),u(25,"div",3)(26,"div",4)(27,"a",14),p(28,"i",15),c(29," Over 90 million downloads on Nuget"),f()()()()())},encapsulation:2});let t=e;return t})();var gx=()=>["/pro"],vx=()=>["/usage"],yx=()=>["/getstarted"],Dx=()=>["/features"],av=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-home"]],standalone:!0,features:[de],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),f(),u(4,"div",4)(5,"h1"),c(6,"ReportGenerator"),f(),u(7,"h2",5),c(8,"Powerful code coverage visualization"),f(),u(9,"div",6),c(10,"\xA0"),f(),u(11,"div",7)(12,"p")(13,"i"),c(14,"ReportGenerator"),f(),c(15," converts "),u(16,"span",8),c(17,"coverage reports"),f(),c(18," generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into "),u(19,"span",8),c(20,"human readable reports in various formats"),f(),c(21,"."),f(),u(22,"p"),c(23,"The reports show the "),u(24,"span",8),c(25,"coverage quotas"),f(),c(26," and also visualize which lines of your source code have been covered."),f(),u(27,"p")(28,"a",9),p(29,"i",10),c(30," Browse example report"),f()()()()(),u(31,"div",11)(32,"div",12)(33,"div",13),p(34,"i",14),f(),u(35,"span",15),c(36,"Open source"),f(),u(37,"p",16)(38,"i"),c(39,"ReportGenerator"),f(),c(40," is open source under the permissive Apache License."),f(),u(41,"p"),c(42,"It's free to use."),p(43,"br"),c(44,"The "),u(45,"a",17),c(46,"PRO"),f(),c(47," version offers additional features."),f()(),u(48,"div",18)(49,"div",13),p(50,"i",19),f(),u(51,"span",15),c(52,"Easy to use"),f(),u(53,"p",16)(54,"i"),c(55,"ReportGenerator"),f(),c(56," is a command line tool which only requires a "),u(57,"a",17),c(58,"few parameters"),f(),c(59,"."),f(),u(60,"p"),c(61,"The more advanced settings are documented in the "),u(62,"a",20),c(63,"wiki"),f(),c(64,"."),f(),u(65,"p")(66,"a",21),c(67,"Integration"),f(),c(68," into your build pipeline will only take a couple of minutes."),f()(),u(69,"div",18)(70,"div",13),p(71,"i",22),f(),u(72,"span",15),c(73,"Integration"),f(),u(74,"p",16)(75,"i"),c(76,"ReportGenerator"),f(),c(77," works on Windows, Linux and macOS."),f(),u(78,"p"),c(79,"Support for "),u(80,"a",23),c(81,"GitHub actions"),f(),c(82," and "),u(83,"a",24),c(84,"Azure DevOps"),f(),c(85," is available."),f()()(),u(86,"div",11)(87,"div",25)(88,"a",26),p(89,"i",27),c(90," Learn how to use"),f(),u(91,"a",28),p(92,"i",29),c(93," GitHub"),f()()()(),p(94,"app-testimonials"),u(95,"section",30)(96,"div",0)(97,"h2"),c(98,"Screenshots"),f(),u(99,"p"),c(100,"The screenshots show two snippets of the generated code coverage reports."),f(),u(101,"p"),c(102," Have a look the "),u(103,"a",17),c(104,"features page"),f(),c(105," to explore the elements in a coverage report or "),u(106,"a",31),c(107,"browse the example report"),f(),c(108,". "),p(109,"br"),c(110," You can also download "),u(111,"a",32),c(112,"sample reports"),f(),c(113," of all supported output formats."),f(),u(114,"div",1)(115,"div",33)(116,"a",34),p(117,"img",35),f()(),u(118,"div",36)(119,"a",37),p(120,"img",38),f()()()()()),i&2&&(v(45),y("routerLink",B(4,gx)),v(12),y("routerLink",B(5,vx)),v(31),y("routerLink",B(6,yx)),v(15),y("routerLink",B(7,Dx)))},dependencies:[Ne,Ia],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 lv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-not-found"]],standalone:!0,features:[de],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),c(2,"Not found"),f(),p(3,"i",2),c(4,` The requested page does not exist. -`),f())}});let t=e;return t})();var Xi=class{constructor(){this.error=null,this.licenses=[]}};var xa=class{constructor(){this.error=null,this.isSponsor=!1,this.license=null}};var Sa=(()=>{let e=class e{initCodeFlow(){let n=this.createAndSaveNonce(),i=Q.scope!==null?`&scope=${Q.scope}`:"",o=`${Q.loginUrl}?response_type=code&client_id=${Q.clientId}&state=${n}&redirect_uri=${window.location.origin}${Q.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 l=new Uint8Array(i);s.getRandomValues(l),l.map||(l.map=Array.prototype.map);let d=[];for(var a=0;a0&&(h=decodeURIComponent(l),m=decodeURIComponent(d),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 Ma=(()=>{let e=class e{constructor(n){this.httpClient=n}getLicense(n){return this.httpClient.get(`${Q.apiBaseUrl}reportgenerator/license?code=${encodeURIComponent(n)}`)}getTrialLicense(n){return this.httpClient.post(`${Q.apiBaseUrl}reportgenerator/triallicense`,n)}getPaddleLicense(n){return this.httpClient.post(`${Q.apiBaseUrl}reportgenerator/paddlelicense`,n)}};e.\u0275fac=function(i){return new(i||e)(I(wi))},e.\u0275prov=_({token:e,factory:e.\u0275fac});let t=e;return t})();var cv=(()=>{let e=class e{constructor(){this.isActive=!1,this.isActive=new Date["/features"],Cd=()=>["/contact"],uv=t=>({active:t});function Ex(t,e){if(t&1){let r=oe();u(0,"span",71)(1,"span",72),A("click",function(){L(r);let i=E();return V(i.lifetimeLicense=!1)}),p(2,"i",73),c(3," Annual subscription"),f(),u(4,"span",72),A("click",function(){L(r);let i=E();return V(i.lifetimeLicense=!0)}),p(5,"i",74),c(6," Lifetime license"),f()()}if(t&2){let r=E();v(),y("ngClass",Pn(2,uv,!r.lifetimeLicense)),v(3),y("ngClass",Pn(4,uv,r.lifetimeLicense))}}function _x(t,e){if(t&1){let r=oe();u(0,"button",94),A("click",function(){L(r);let i=E(2);return V(i.requestTrial())}),p(1,"i",33),c(2," Start trial"),f()}if(t&2){let r=E(2);y("disabled",r.trialDisabled)}}function Ix(t,e){t&1&&(u(0,"button",95),c(1,"Coming soon"),f())}function xx(t,e){t&1&&(je(0),p(1,"i",73),c(2," Annual subscription"),Ue())}function Sx(t,e){t&1&&(je(0),p(1,"i",74),c(2," Lifetime license"),Ue())}function Mx(t,e){if(t&1){let r=oe();u(0,"button",96),A("click",function(){L(r);let i=E(2);return V(i.openPaddleCheckout("individual"))}),p(1,"i",97),c(2," Buy now"),f()}}function Tx(t,e){t&1&&(u(0,"button",95),c(1,"Coming soon"),f())}function Ax(t,e){t&1&&(je(0),p(1,"i",73),c(2," Annual subscription"),Ue())}function Nx(t,e){t&1&&(je(0),p(1,"i",74),c(2," Lifetime license"),Ue())}function Rx(t,e){if(t&1){let r=oe();u(0,"button",96),A("click",function(){L(r);let i=E(2);return V(i.openPaddleCheckout("team"))}),p(1,"i",97),c(2," Buy now"),f()}}function kx(t,e){t&1&&(u(0,"button",95),c(1,"Coming soon"),f())}function Ox(t,e){t&1&&(je(0),p(1,"i",73),c(2," Annual subscription"),Ue())}function Px(t,e){t&1&&(je(0),p(1,"i",74),c(2," Lifetime license"),Ue())}function Fx(t,e){if(t&1){let r=oe();u(0,"button",96),A("click",function(){L(r);let i=E(2);return V(i.openPaddleCheckout("enterprise"))}),p(1,"i",97),c(2," Buy now"),f()}}function Lx(t,e){t&1&&(u(0,"button",95),c(1,"Coming soon"),f())}function Vx(t,e){if(t&1&&(u(0,"div",3)(1,"div",75)(2,"div",76),p(3,"img",77),u(4,"h4",78),c(5,"Free"),p(6,"br"),c(7,"Trial"),f(),u(8,"p"),p(9,"i",79),c(10," Get full access"),p(11,"br")(12,"i",80),c(13," 10 day trial period "),f(),P(14,_x,3,1,"button",81)(15,Ix,2,0,"button",82),f()(),u(16,"div",83)(17,"div",84),p(18,"img",85),u(19,"h4",78),c(20,"Individual"),p(21,"br"),c(22),f(),u(23,"p"),p(24,"i",86),c(25," Per developer license."),p(26,"br"),P(27,xx,3,0,"ng-container",26)(28,Sx,3,0,"ng-container",26),f(),P(29,Mx,3,0,"button",87)(30,Tx,2,0,"button",82),f()(),u(31,"div",88)(32,"div",84),p(33,"img",89),u(34,"h4",78),c(35,"Team"),p(36,"br"),c(37),f(),u(38,"p"),p(39,"i",90),c(40," Up to 10 developers."),p(41,"br"),P(42,Ax,3,0,"ng-container",26)(43,Nx,3,0,"ng-container",26),f(),P(44,Rx,3,0,"button",87)(45,kx,2,0,"button",82),f()(),u(46,"div",91)(47,"div",84),p(48,"img",92),u(49,"h4",78),c(50,"Enterprise"),p(51,"br"),c(52),f(),u(53,"p"),p(54,"i",93),c(55," Unlimited developers."),p(56,"br"),P(57,Ox,3,0,"ng-container",26)(58,Px,3,0,"ng-container",26),f(),P(59,Fx,3,0,"button",87)(60,Lx,2,0,"button",82),f()()()),t&2){let r=E();v(14),y("ngIf",r.enablePaddle),v(),y("ngIf",!r.enablePaddle),v(7),se(r.lifetimeLicense?r.paddleIndividualLifetimeLicensePrice:r.paddleIndividualLicensePrice),v(5),y("ngIf",!r.lifetimeLicense),v(),y("ngIf",r.lifetimeLicense),v(),y("ngIf",r.enablePaddle),v(),y("ngIf",!r.enablePaddle),v(7),se(r.lifetimeLicense?r.paddleTeamLifetimeLicensePrice:r.paddleTeamLicensePrice),v(5),y("ngIf",!r.lifetimeLicense),v(),y("ngIf",r.lifetimeLicense),v(),y("ngIf",r.enablePaddle),v(),y("ngIf",!r.enablePaddle),v(7),se(r.lifetimeLicense?r.paddleEnterpriseLifetimeLicensePrice:r.paddleEnterpriseLicensePrice),v(5),y("ngIf",!r.lifetimeLicense),v(),y("ngIf",r.lifetimeLicense),v(),y("ngIf",r.enablePaddle),v(),y("ngIf",!r.enablePaddle)}}function jx(t,e){t&1&&(je(0),u(1,"div",99)(2,"span",100),c(3,"Loading..."),f()(),u(4,"span",101),c(5,"Your license is being generated. Please wait."),f(),Ue())}function Ux(t,e){if(t&1&&(u(0,"div")(1,"p"),c(2),f(),u(3,"p"),c(4,"Please try again later or use the "),u(5,"a",20),c(6," contact form"),f(),c(7,"."),f()()),t&2){let r=E(3);v(2),se(r.paddleLicense.error),v(3),y("routerLink",B(2,Cd))}}function Bx(t,e){t&1&&(u(0,"span"),p(1,"i",108),c(2," Copy"),f())}function $x(t,e){t&1&&(u(0,"span"),p(1,"i",109),c(2," Copied"),f())}function Hx(t,e){if(t&1){let r=oe();u(0,"div",105)(1,"textarea",106),c(2),f(),u(3,"button",107),A("click",function(){let i=L(r).$implicit,o=E(4);return V(o.copyPaddle(i))}),P(4,Bx,3,0,"span",26)(5,$x,3,0,"span",26),f()()}if(t&2){let r=e.$implicit,n=E(4);v(2),se(r),v(2),y("ngIf",n.copiedPaddledLicenses.indexOf(r)===-1),v(),y("ngIf",n.copiedPaddledLicenses.indexOf(r)>-1)}}function Gx(t,e){if(t&1&&(u(0,"div")(1,"label",103),c(2,"Thank you! Please save your license key persistently:"),f(),P(3,Hx,6,3,"div",104),f()),t&2){let r=E(3);v(3),y("ngForOf",r.paddleLicense.licenses)}}function zx(t,e){if(t&1&&(u(0,"div",102),P(1,Ux,8,3,"div",26)(2,Gx,4,1,"div",26),f()),t&2){let r=E(2);v(),y("ngIf",r.paddleLicense.error),v(),y("ngIf",!r.paddleLicense.error)}}function qx(t,e){if(t&1&&(u(0,"div",3),P(1,jx,6,0,"ng-container",26)(2,zx,3,2,"div",98),f()),t&2){let r=E();v(),y("ngIf",r.paddleLicenseRequested&&!r.paddleLicense),v(),y("ngIf",r.paddleLicense)}}function Wx(t,e){t&1&&(u(0,"p")(1,"i"),c(2,"ReportGenerator"),f(),c(3," subscription based licences are provided with a 30 day money back guarantee."),f())}function Zx(t,e){t&1&&(u(0,"div",99)(1,"span",100),c(2,"Loading..."),f()())}function Yx(t,e){t&1&&(u(0,"div",110),p(1,"i",111),f())}function Qx(t,e){if(t&1&&(u(0,"div")(1,"p"),c(2),f(),u(3,"p"),c(4,"Please try again later or use the "),u(5,"a",20),c(6," contact form"),f(),c(7,"."),f()()),t&2){let r=E(2);v(2),se(r.license.error),v(3),y("routerLink",B(2,Cd))}}function Kx(t,e){t&1&&(u(0,"div")(1,"p"),c(2,"Please become a "),u(3,"a",112),c(4,"GitHub sponsor"),f(),c(5," first."),f()())}function Jx(t,e){t&1&&(u(0,"span"),p(1,"i",108),c(2," Copy"),f())}function Xx(t,e){t&1&&(u(0,"span"),p(1,"i",109),c(2," Copied"),f())}function eS(t,e){if(t&1){let r=oe();u(0,"div")(1,"label",113),c(2,"Thank you for becoming a sponsor. Here's your license:"),f(),u(3,"textarea",114),c(4),f(),u(5,"button",107),A("click",function(){L(r);let i=E(2);return V(i.copy())}),P(6,Jx,3,0,"span",26)(7,Xx,3,0,"span",26),f()()}if(t&2){let r=E(2);v(4),se(r.license.license),v(2),y("ngIf",!r.licenseCopied),v(),y("ngIf",r.licenseCopied)}}function tS(t,e){if(t&1&&(u(0,"div",28),P(1,Qx,8,3,"div",26)(2,Kx,6,0,"div",26)(3,eS,8,3,"div",26),f()),t&2){let r=E();v(),y("ngIf",r.license.error),v(),y("ngIf",!r.license.error&&!r.license.isSponsor),v(),y("ngIf",!r.license.error&&r.license.isSponsor&&r.license.license)}}var dv=(()=>{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="US$49",this.paddleTeamLicensePrice="US$149",this.paddleEnterpriseLicensePrice="US$299",this.paddleIndividualLifetimeLicensePrice="US$79",this.paddleTeamLifetimeLicensePrice="US$249",this.paddleEnterpriseLifetimeLicensePrice="US$449",this.licenseRequested=!1,this.licenseCopied=!1,this.license=null,this.enablePaddle=!0,this.trialDisabled=!1,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)},Q.paddleEnvironment&&(window.Paddle.Environment.set(Q.paddleEnvironment),console.log("Paddle environment: "+Q.paddleEnvironment)),window.Paddle.Setup({vendor:Q.paddleVendorId}),window.Paddle.Product.Prices(Q.paddleIndividualLicense,s=>{this.paddleIndividualLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(Q.paddleTeamLicense,s=>{this.paddleTeamLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(Q.paddleEnterpriseLicense,s=>{this.paddleEnterpriseLicensePrice=s.recurring.price.gross}),window.Paddle.Product.Prices(Q.paddleIndividualLifetimeLicense,s=>{this.paddleIndividualLifetimeLicensePrice=s.price.gross}),window.Paddle.Product.Prices(Q.paddleTeamLifetimeLicense,s=>{this.paddleTeamLifetimeLicensePrice=s.price.gross}),window.Paddle.Product.Prices(Q.paddleEnterpriseLifetimeLicense,s=>{this.paddleEnterpriseLifetimeLicensePrice=s.price.gross})}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 xa,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 Xi,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?Q.paddleEnterpriseLifetimeLicense:Q.paddleEnterpriseLicense,successCallback:"paddleCheckoutComplete"}):n==="team"?window.Paddle.Checkout.open({product:this.lifetimeLicense?Q.paddleTeamLifetimeLicense:Q.paddleTeamLicense,successCallback:"paddleCheckoutComplete"}):window.Paddle.Checkout.open({product:this.lifetimeLicense?Q.paddleIndividualLifetimeLicense:Q.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 Xi,this.paddleLicense.error="Unable to generate Paddle license."},complete:()=>console.info("complete")})}};e.\u0275fac=function(i){return new(i||e)(S(Sa),S(Ma),S(cv))},e.\u0275cmp=ce({type:e,selectors:[["app-pro-component"]],standalone:!0,features:[de],decls:241,vars:27,consts:[["trialForm","ngForm"],[1,"container"],[1,"mb-4"],[1,"row"],[1,"col-xs-12","col-md-6","order-2","order-md-1"],[1,"table"],["scope","col"],["scope","col",1,"text-center"],[1,"pro-button"],["scope","row"],["fragment","metrics","title","Show feature details",3,"routerLink"],[1,"fa-solid","fa-circle-info","text-secondary"],[1,"text-center"],[1,"fa-solid","fa-circle-check","text-secondary"],["fragment","riskhotspots","title","Show feature details",3,"routerLink"],["title","Show feature details",3,"routerLink"],[1,"fa-solid","fa-circle-check","pro-text"],["fragment","rawmode","title","Show feature details",3,"routerLink"],[1,"col-xs-12","col-md-6","order-1","order-md-2"],["href","",3,"click"],[3,"routerLink"],["id","paddle",1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"text-center","mb-3"],["class","togglecontainer",4,"ngIf"],["class","row",4,"ngIf"],[1,"mt-5"],[4,"ngIf"],["id","github",1,"container-fluid","mt-5","pt-5","pb-5","bg-light"],[1,"col-xs-12","col-md-6","pb-3"],[1,"fs-2","me-3","number"],["href","https://github.com/sponsors/danielpalme","target","_blank",1,"btn","btn-outline-dark"],[1,"fa-solid","fa-heart","githubheart"],["type","button",1,"btn","btn-primary","me-3",3,"click","disabled"],[1,"fa-solid","fa-rocket"],["class","spinner-border text-info","role","status",4,"ngIf"],["class","col-md-6 pb-3 d-none d-lg-block position-relative",4,"ngIf"],["class","col-xs-12 col-md-6 pb-3",4,"ngIf"],[1,"container-fluid","mt-4","pt-5","pb-5","bg-light"],[1,"container","text-center"],[1,"row","mt-5","testimonial"],["href","https://twitter.com/fredyfx/status/1642807795828543488","target","_blank"],["loading","lazy","src","resources/twitter_light.webp","alt","Testimonial",1,"img-fluid"],["id","faq",1,"container","mt-5","pt-5","pb-5"],["id","accordionFaq",1,"accordion","accordion-flush"],[1,"accordion-item"],["id","headingOne",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseOne","aria-expanded","true","aria-controls","collapseOne",1,"accordion-button"],["id","collapseOne","aria-labelledby","headingOne","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse","show"],[1,"accordion-body"],["id","headingTwo",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseTwo","aria-expanded","false","aria-controls","collapseTwo",1,"accordion-button","collapsed"],["id","collapseTwo","aria-labelledby","headingTwo","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse"],["id","headingThree",1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseThree","aria-expanded","false","aria-controls","collapseThree",1,"accordion-button","collapsed"],["id","collapseThree","aria-labelledby","headingThree","data-bs-parent","#accordionFaq",1,"accordion-collapse","collapse"],["tabindex","-1","id","requestTrialModal",1,"modal"],[1,"modal-dialog"],[1,"modal-content"],["method","post",3,"ngSubmit"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"modal-body"],[1,"form-floating","mb-3"],["type","text","id","name","name","name","required","","maxlength","150",1,"form-control",3,"ngModelChange","ngModel"],["for","floatingInput"],[1,"required"],["type","email","id","email","name","email","required","","email","","maxlength","150",1,"form-control",3,"ngModelChange","ngModel"],[1,"modal-footer"],["type","button","data-bs-dismiss","modal",1,"btn","btn-secondary"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"togglecontainer"],[1,"option",3,"click","ngClass"],[1,"fa-solid","fa-rotate-right"],[1,"fa-solid","fa-infinity"],[1,"col-xs-12","col-md-6","col-lg-3","mt-0","pb-3","text-center","paddle-container"],[1,"paddle","trial"],["src","resources/trial.svg","alt","Trial",1,"img-fluid"],[1,"mt-3"],[1,"fa-solid","fa-magnifying-glass"],[1,"fa-solid","fa-calendar-days"],["type","button","class","btn btn-primary",3,"disabled","click",4,"ngIf"],["type","button","class","btn btn-primary","disabled","",4,"ngIf"],[1,"col-xs-12","col-md-6","col-lg-3","mt-4","mt-md-0","pb-3","text-center","paddle-container"],[1,"paddle"],["src","resources/individual.svg","alt","Individual",1,"img-fluid"],[1,"fa-solid","fa-user"],["type","button","class","btn btn-primary",3,"click",4,"ngIf"],[1,"col-xs-12","col-md-6","col-lg-3","mt-4","mt-lg-0","pb-3","text-center","paddle-container"],["src","resources/team.svg","alt","Team",1,"img-fluid"],[1,"fa-solid","fa-users"],[1,"col-xs-6","col-md-6","col-lg-3","mt-4","mt-lg-0","pb-3","text-center","paddle-container"],["src","resources/enterprise.svg","alt","Enterprise",1,"img-fluid"],[1,"fa-solid","fa-industry"],["type","button",1,"btn","btn-primary",3,"click","disabled"],["type","button","disabled","",1,"btn","btn-primary"],["type","button",1,"btn","btn-primary",3,"click"],[1,"fa-solid","fa-cart-shopping"],["class","col-xs-12 col-md-6",4,"ngIf"],["role","status",1,"spinner-border","text-info"],[1,"visually-hidden"],[1,"position-relative","paddle-loading"],[1,"col-xs-12","col-md-6"],["for","paddlelicensetext"],["class","mt-2",4,"ngFor","ngForOf"],[1,"mt-2"],["id","paddlelicensetext","rows","5","readonly","",1,"form-control"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"fa-solid","fa-copy"],[1,"fa-solid","fa-check","text-success"],[1,"col-md-6","pb-3","d-none","d-lg-block","position-relative"],[1,"fa-solid","fa-heart","githubheartlarge"],["href","https://github.com/sponsors/danielpalme","target","_blank"],["for","licensetext"],["id","licensetext","rows","5","readonly","",1,"form-control","mt-2"]],template:function(i,o){if(i&1){let s=oe();u(0,"div",1)(1,"h1",2),c(2,"PRO"),f(),u(3,"div",3)(4,"div",4)(5,"table",5)(6,"thead")(7,"tr"),p(8,"th",6),u(9,"th",7),c(10,"Free"),f(),u(11,"th",7)(12,"span",8),c(13,"PRO"),f()()()(),u(14,"tbody")(15,"tr")(16,"th",9),c(17,"Metrics "),u(18,"a",10),p(19,"i",11),f()(),u(20,"td",12),p(21,"i",13),f(),u(22,"td",12),p(23,"i",13),f()(),u(24,"tr")(25,"th",9),c(26,"Risk Hotspots "),u(27,"a",14),p(28,"i",11),f()(),u(29,"td",12),p(30,"i",13),f(),u(31,"td",12),p(32,"i",13),f()(),u(33,"tr")(34,"th",9),c(35,"Line coverage "),u(36,"a",15),p(37,"i",11),f()(),u(38,"td",12),p(39,"i",13),f(),u(40,"td",12),p(41,"i",13),f()(),u(42,"tr")(43,"th",9),c(44,"Branch coverage "),u(45,"a",15),p(46,"i",11),f()(),u(47,"td",12),p(48,"i",13),f(),u(49,"td",12),p(50,"i",13),f()(),u(51,"tr")(52,"th",9),c(53,"Method coverage "),u(54,"a",15),p(55,"i",11),f()(),p(56,"td",12),u(57,"td",12),p(58,"i",16),f()(),u(59,"tr")(60,"th",9),c(61,"Metrics on summary page "),u(62,"a",10),p(63,"i",11),f()(),p(64,"td",12),u(65,"td",12),p(66,"i",16),f()(),u(67,"tr")(68,"th",9)(69,"i"),c(70,"OpenCover"),f(),c(71," output format"),f(),p(72,"td",12),u(73,"td",12),p(74,"i",16),f()(),u(75,"tr")(76,"th",9),c(77,"Raw mode (for "),u(78,"i"),c(79,"Cobertura"),f(),c(80,") "),u(81,"a",17),p(82,"i",11),f()(),p(83,"td",12),u(84,"td",12),p(85,"i",16),f()()()()(),u(86,"div",18)(87,"p")(88,"i"),c(89,"ReportGenerator"),f(),c(90," is Open Source and free to use."),p(91,"br"),c(92," Some of the advanced features require a PRO license. "),f(),u(93,"p"),c(94," You can either "),u(95,"a",19),A("click",function(){return L(s),V(o.scrollToPaddle())}),c(96,"buy a license"),f(),c(97," or you can become a "),u(98,"a",19),A("click",function(){return L(s),V(o.scrollToGithub())}),c(99,"GitHub sponsor"),f(),c(100,"."),p(101,"br"),c(102," A "),u(103,"a",19),A("click",function(){return L(s),V(o.scrollToPaddle())}),c(104,"free trial version"),f(),c(105," is available too. "),f(),u(106,"p"),c(107," Get "),u(108,"a",20),c(109,"in touch"),f(),c(110," if you have any issues and we will figure it out. "),f()()()(),u(111,"section",21)(112,"div",1)(113,"h2",2),c(114,"Buy a license"),f(),u(115,"div",22),P(116,Ex,7,6,"span",23),f(),P(117,Vx,61,17,"div",24)(118,qx,3,2,"div",24),u(119,"div",25),P(120,Wx,4,0,"p",26),u(121,"p"),c(122,"The order process is conducted by Paddle.com. Paddle.com is the Merchant of Record for all orders. Paddle provides all customer service inquiries and handles returns."),f()()()(),u(123,"section",27)(124,"div",1)(125,"h2",2),c(126,"Get your license as a GitHub sponsor"),f(),u(127,"div",3)(128,"div",28)(129,"p"),c(130,"You can obtain your license in two easy steps (no sign up required):"),f(),u(131,"span",29),c(132,"1."),f(),u(133,"a",30),p(134,"i",31),c(135," Become a GitHub sponsor"),f(),p(136,"br"),u(137,"span",29),c(138,"2."),f(),u(139,"button",32),A("click",function(){return L(s),V(o.requestLicense())}),p(140,"i",33),c(141," Get license"),f(),P(142,Zx,3,0,"div",34),f(),P(143,Yx,2,0,"div",35)(144,tS,4,3,"div",36),f()()(),p(145,"app-testimonials"),u(146,"section",37)(147,"div",38)(148,"h3"),c(149,"Customers"),f(),u(150,"div",39)(151,"a",40),p(152,"img",41),f()()()(),u(153,"section",42)(154,"h2",2),c(155,"Frequently Asked Questions"),f(),u(156,"div",43)(157,"div",44)(158,"h2",45)(159,"button",46),c(160," How do I use/activate my license? "),f()(),u(161,"div",47)(162,"div",48),c(163," You can apply the license with the following command line parameter "),u(164,"code"),c(165,"-license:YOUR_KEY"),f(),c(166," or via the "),u(167,"code"),c(168,"REPORTGENERATOR_LICENSE"),f(),c(169," environment variable. "),f()()(),u(170,"div",44)(171,"h2",49)(172,"button",50),c(173," Are there limitations on number of users? "),f()(),u(174,"div",51)(175,"div",48)(176,"b"),c(177,"GitHub sponsors"),f(),p(178,"br"),u(179,"p"),c(180,"There's no enforced limit. Please pick a sponsor level that fits your company size and budget."),f(),u(181,"b"),c(182,"Bought license"),f(),p(183,"br"),u(184,"p"),c(185,"There's no enforced limit. Please choose a plan that matches the number of developers using "),u(186,"i"),c(187,"ReportGenerator"),f(),c(188,"."),f()()()(),u(189,"div",44)(190,"h2",52)(191,"button",53),c(192," Will my license expire? "),f()(),u(193,"div",54)(194,"div",48)(195,"b"),c(196,"GitHub sponsors"),f(),p(197,"br"),u(198,"p"),c(199,"Your license will not expire."),f(),u(200,"b"),c(201,"Bought license"),f(),p(202,"br"),u(203,"p")(204,"b"),c(205,"Annual subscription"),f(),c(206,": Your license may get revoked for new releases of "),u(207,"i"),c(208,"ReportGenerator"),f(),c(209,", if you cancel your subscription."),p(210,"br"),u(211,"b"),c(212,"Lifetime licenses"),f(),c(213,": Lifetime licenses will not expire. "),f()()()()()(),u(214,"div",55)(215,"div",56)(216,"div",57)(217,"form",58,0),A("ngSubmit",function(){return L(s),V(o.completeTrial())}),u(219,"div",59)(220,"h5",60),c(221,"Free Trial"),f(),p(222,"button",61),f(),u(223,"div",62)(224,"div",63)(225,"input",64),le("ngModelChange",function(l){return L(s),ue(o.requestTrialData.name,l)||(o.requestTrialData.name=l),V(l)}),f(),u(226,"label",65),c(227,"Name "),u(228,"span",66),c(229,"*"),f()()(),u(230,"div",63)(231,"input",67),le("ngModelChange",function(l){return L(s),ue(o.requestTrialData.email,l)||(o.requestTrialData.email=l),V(l)}),f(),u(232,"label",65),c(233,"Email address "),u(234,"span",66),c(235,"*"),f()()()(),u(236,"div",68)(237,"button",69),c(238,"Close"),f(),u(239,"button",70),c(240,"Get trial license"),f()()()()()()}if(i&2){let s=xs(218);v(18),y("routerLink",B(19,$n)),v(9),y("routerLink",B(20,$n)),v(9),y("routerLink",B(21,$n)),v(9),y("routerLink",B(22,$n)),v(9),y("routerLink",B(23,$n)),v(8),y("routerLink",B(24,$n)),v(19),y("routerLink",B(25,$n)),v(27),y("routerLink",B(26,Cd)),v(8),y("ngIf",!o.paddleLicenseRequested),v(),y("ngIf",!o.paddleLicenseRequested),v(),y("ngIf",o.paddleLicenseRequested),v(2),y("ngIf",!o.lifetimeLicense),v(19),y("disabled",o.licenseRequested),v(3),y("ngIf",o.licenseRequested&&!o.license),v(),y("ngIf",!o.license),v(),y("ngIf",o.license),v(81),ae("ngModel",o.requestTrialData.name),v(6),ae("ngModel",o.requestTrialData.email),v(8),y("disabled",!s.valid)}},dependencies:[Ne,Ps,Fs,Sr,vn,Zr,gn,qr,Wr,Bn,vd,Ji,Un,jn,Ia],styles:[".number[_ngcontent-%COMP%]{display:inline-block;position:relative;top:8px}.spinner-border[_ngcontent-%COMP%]{position:relative;top:9px}.paddle-container[_ngcontent-%COMP%]{padding:10px}.paddle[_ngcontent-%COMP%]{border:1px solid #8c8888;border-radius:20px;padding:20px;background-color:#d8e8f0}.trial[_ngcontent-%COMP%]{background-color:#b2cad7}.githubheartlarge[_ngcontent-%COMP%]{position:absolute;top:-120px;left:40%;font-size:20rem;color:#ffd2ed}.togglecontainer[_ngcontent-%COMP%]{background-color:#fff;display:inline-block;border-radius:20px;white-space:nowrap}.togglecontainer[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{background-color:#fff;padding:8px 15px;border-radius:20px;cursor:pointer;display:inline-block}.togglecontainer[_ngcontent-%COMP%] .option.active[_ngcontent-%COMP%]{color:#fff;background-color:var(--rg-primary-color);background-image:linear-gradient(50deg,var(--rg-gradient-from) 0%,var(--rg-gradient-to) 100%)}@media only screen and (max-width: 400px){.togglecontainer[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] .fa-solid[_ngcontent-%COMP%]{display:none}}.paddle-loading[_ngcontent-%COMP%]{position:relative;left:35px;top:-20px}.testimonial[_ngcontent-%COMP%]{max-width:550px;margin:auto}"]});let t=e;return t})();var zt=class{constructor(e,r,n,i,o,s){this.name=e,this.url=r,this.runtimes=n,this.description=i,this.installOptions=o,this.executables=s}formatExecutable(e){return e.tool}formatArgument(e,r){if(r=r.trim(),r==="")return"";let n=r.indexOf(" ")>-1?'"':"";return`\r -${n}-${e}:${r}${n}`}formatArguments(e,r){return this.formatArgument(e,r.filter(n=>n!=null&&n.length!==0&&n.trim().length!==0).join(";"))}};var Ta=class extends zt{formatExecutable(e){let r=`- task: ${e.tool}@${Re.majorVersion}`;return r+=`\r - displayName: ReportGenerator`,r+=`\r - inputs:`,console.log("hello",r),r}formatArgument(e,r){if(r=r.trim(),r==="")return"";let n=r.indexOf(" ")>-1?"'":"";return`\r - ${e}: ${n}${r}${n}`}};var Aa=class{constructor(){this.verbosities=["Verbose","Info","Warning","Error","Off"],this.types=["Html","Coverage tool","Json","Markdown","Xml","Text","Image"],this.reports=["cobertura.xml"],this.targetdir="coveragereport",this.reporttypes=[{name:"Html",types:["Html"],description:"The default output format. Creates a summary overview (index.html) and detailed reports for each class.",requiresHistoryDir:!1,checked:!0,sampleReport:"resources/reports/Html/index.html"},{name:"Html_Light",types:["Html"],description:"Same as Html but with a light theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Light/index.html"},{name:"Html_Dark",types:["Html"],description:"Same as Html but with a dark theme.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_Dark/index.html"},{name:"Html_BlueRed",types:["Html"],description:"Same as Html but with the colors blue/red instead of green/red.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_BlueRed/index.html"},{name:"HtmlSummary",types:["Html"],description:"Creates a single HTML file (summary.html) without links.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlSummary/summary.html"},{name:"Html_BlueRed_Summary",types:["Html"],description:"Same as HtmlSummary but with the colors blue/red instead of green/red.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Html_BlueRed_Summary/summary.html"},{name:"HtmlChart",types:["Html"],description:"Creates a single HTML file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/HtmlChart/CoverageHistory.html"},{name:"HtmlInline",types:["Html"],description:"Same as HTML but CSS and JavaScript is included in every HTML page. This results in larger file sizes, but can be useful for integration into build servers like Azure DevOps (VSTS), since they may block referenced CSS and JavaScript files.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline/index.html"},{name:"HtmlInline_AzurePipelines",types:["Html"],description:"Same as HtmlInline but with an adaptive light/dark theme matching the look and feel of Azure Pipelines",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines/index.html"},{name:"HtmlInline_AzurePipelines_Light",types:["Html"],description:"Same as HtmlInline but with a light theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Light/index.html"},{name:"HtmlInline_AzurePipelines_Dark",types:["Html"],description:"Same as HtmlInline but with a dark theme matching the look and feel of Azure Pipelines.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/HtmlInline_AzurePipelines_Dark/index.html"},{name:"MHtml",types:["Html"],description:"Same as HTML but packaged into a single MHTML file.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MHtml/Summary.mht"},{name:"Clover",types:["Coverage tool"],description:"Creates a XML file in Clover format. This format integrates with tools like Atlassian Bamboo.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Clover/Clover.xml"},{name:"Cobertura",types:["Coverage tool"],description:"Creates a XML file in Cobertura format. This format integrates with tools like Azure DevOps (VSTS) or Jenkins.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Cobertura/Cobertura.xml"},{name:"OpenCover",types:["Coverage tool"],description:"Creates a XML file in OpenCover format (PRO version only).",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/OpenCover/OpenCover.xml"},{name:"SonarQube",types:["Coverage tool"],description:"Creates a XML file in SonarQube 'Generic Test Data' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/SonarQube/SonarQube.xml"},{name:"lcov",types:["Coverage tool"],description:"Creates a text file in 'lcov' format.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/lcov/lcov.info"},{name:"XML",types:["Xml"],description:"Creates a XML file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Xml/Summary.xml"},{name:"XMLSummary",types:["Xml"],description:"Creates a single XML file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/XmlSummary/Summary.xml"},{name:"JsonSummary",types:["Json"],description:"Creates a single JSON file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/JsonSummary/Summary.json"},{name:"CodeClimate",types:["Json"],description:"Creates a single JSON file containing a (Gitlab) code climate report.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/CodeClimate/codeclimate.json"},{name:"Latex",types:["Text"],description:"Creates a single TEX file containing a summary for all classes and detailed reports for each class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Summary/Summary.tex"},{name:"LatexSummary",types:["Text"],description:"Creates a single TEX file containing a summary for all classes.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/LatexSummary/Summary.tex"},{name:"TeamCitySummary",types:["Coverage tool"],description:"Command line output interpreted by TeamCity.",requiresHistoryDir:!1,checked:!1,sampleReport:null},{name:"TextSummary",types:["Text"],description:"Creates a single TXT file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/TextSummary/Summary.txt"},{name:"TextDeltaSummary",types:["Text"],description:"Creates a single TXT file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/TextDeltaSummary/DeltaSummary.txt"},{name:"CsvSummary",types:["Text"],description:"Creates a single CSV file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/CsvSummary/Summary.csv"},{name:"MarkdownSummary",types:["Text","Markdown"],description:"Creates a single Markdown file containing coverage information per class.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummary/Summary.md"},{name:"MarkdownAssembliesSummary",types:["Text","Markdown"],description:"Creates a single Markdown file containing coverage information per assembly.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownAssembliesSummary/Summary.md"},{name:"MarkdownSummaryGithub",types:["Text","Markdown"],description:"Creates a single Markdown file containing coverage information per class. The report is optimized for GitHub.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/MarkdownSummaryGithub/SummaryGithub.md"},{name:"MarkdownDeltaSummary",types:["Text","Markdown"],description:"Creates a single Markdown file containing delta coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/MarkdownDeltaSummary/DeltaSummary.md"},{name:"SvgChart",types:["Image"],description:"Creates a single SVG file containing a chart with historic coverage information.",requiresHistoryDir:!0,checked:!1,sampleReport:"resources/reports/SvgChart/CoverageHistory.svg"},{name:"Badges",types:["Image"],description:"Creates SVG files that show line and/or branch coverage information.",requiresHistoryDir:!1,checked:!1,sampleReport:"resources/reports/Badges/index.html"}],this.sourcedirectories=[],this.historydir="",this.plugins=[],this.assemblyfilters=[],this.classfilters=[],this.filefilters=[],this.riskhotspotassemblyfilters=[],this.riskhotspotclassfilters=[],this.selectedverbosity=this.verbosities[1],this.selectedType=null,this.title="",this.tag="",this.license=""}addSourceDirectory(){return this.sourcedirectories.push(""),!1}removeSourceDirectory(e){return this.sourcedirectories.splice(e,1),!1}addReport(){return this.reports.push(""),!1}removeReport(e){return this.reports.splice(e,1),!1}addPlugin(){return this.plugins.push(""),!1}removePlugin(e){return this.plugins.splice(e,1),!1}addAssemblyFilter(){return this.assemblyfilters.push(""),!1}removeAssemblyFilter(e){return this.assemblyfilters.splice(e,1),!1}addClassFilter(){return this.classfilters.push(""),!1}removeClassFilter(e){return this.classfilters.splice(e,1),!1}addFileFilter(){return this.filefilters.push(""),!1}removeFileFilter(e){return this.filefilters.splice(e,1),!1}addRiskHotspotAssemblyFilter(){return this.riskhotspotassemblyfilters.push(""),!1}removeRiskHotspotAssemblyFilter(e){return this.riskhotspotassemblyfilters.splice(e,1),!1}addRiskHotspotClassFilter(){return this.riskhotspotclassfilters.push(""),!1}removeRiskHotspotClassFilter(e){return this.riskhotspotclassfilters.splice(e,1),!1}getUsage(e,r){let n=e.executables.find(a=>a.runtime==r),i=n!==void 0?e.formatExecutable(n):"";i+=e.formatArguments("reports",this.reports),i+=e.formatArgument("targetdir",this.targetdir);for(var o="",s=0;s0&&(o+=";"),o+=this.reporttypes[s].name);return o.length>0&&o!=="Html"&&(i+=e.formatArgument("reporttypes",o)),i+=e.formatArguments("sourcedirs",this.sourcedirectories),i+=e.formatArgument("historydir",this.historydir),i+=e.formatArguments("plugins",this.plugins),i+=e.formatArguments("assemblyfilters",this.assemblyfilters),i+=e.formatArguments("classfilters",this.classfilters),i+=e.formatArguments("filefilters",this.filefilters),i+=e.formatArguments("riskhotspotassemblyfilters",this.riskhotspotassemblyfilters),i+=e.formatArguments("riskhotspotclassfilters",this.riskhotspotclassfilters),this.selectedverbosity!=="Info"&&(i+=e.formatArgument("verbosity",this.selectedverbosity)),i+=e.formatArgument("title",this.title),i+=e.formatArgument("tag",this.tag),i+=e.formatArgument("license",this.license),i}historyDirRequired(){for(let e=0;e-1?"'":"";return`\r - ${e}: ${n}${r}${n}`}};var Yr=class{constructor(e,r){this.tool=e,this.command=r}};var nS=()=>["/pro"],rS=t=>({"input-group":t}),iS=(t,e)=>({"btn-outline-primary":t,"btn-primary":e});function oS(t,e){if(t&1){let r=oe();u(0,"div",36)(1,"label",37)(2,"input",38),le("ngModelChange",function(i){L(r);let o=E();return ue(o.selectedEnvironment,i)||(o.selectedEnvironment=i),V(i)}),A("ngModelChange",function(){L(r);let i=E();return V(i.selectedEnvironmentChanged())}),f(),u(3,"b"),c(4),f(),p(5,"br"),u(6,"div",39),c(7),f()()()}if(t&2){let r=e.$implicit,n=E();v(2),ae("ngModel",n.selectedEnvironment),y("value",r)("checked",n.selectedEnvironment.name===r.name),v(2),se(r.name),v(3),se(r.description)}}function sS(t,e){if(t&1){let r=oe();u(0,"div",36)(1,"label",37)(2,"input",42),le("ngModelChange",function(i){L(r);let o=E(3);return ue(o.selectedPackage,i)||(o.selectedPackage=i),V(i)}),f(),u(3,"b"),c(4),f(),p(5,"br"),u(6,"div",39),c(7),f()()()}if(t&2){let r=E().$implicit,n=E(2);v(2),ae("ngModel",n.selectedPackage),y("value",r),v(2),se(r.name),v(3),se(r.description)}}function aS(t,e){if(t&1&&(je(0),P(1,sS,8,4,"div",41),Ue()),t&2){let r=e.$implicit,n=E(2);v(),y("ngIf",r.runtimes.indexOf(n.selectedEnvironment.name)>-1)}}function lS(t,e){if(t&1&&(je(0),u(1,"h4"),c(2,"NuGet Package"),f(),P(3,aS,2,1,"ng-container",40),Ue()),t&2){let r=E();v(3),y("ngForOf",r.packages)}}function cS(t,e){if(t&1){let r=oe();u(0,"span",46),A("click",function(){L(r);let i=E().index,o=E();return V(o.configuration.removeReport(i))}),u(1,"a",47),p(2,"i",48),f()()}}function uS(t,e){if(t&1){let r=oe();u(0,"div",39)(1,"div",43)(2,"input",44),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.reports[o],i)||(s.configuration.reports[o]=i),V(i)}),f(),P(3,cS,3,0,"span",45),f()()}if(t&2){let r=e.index,n=E();v(),y("ngClass",Pn(5,rS,r>0)),v(),xt("name","report_",r,""),ae("ngModel",n.configuration.reports[r]),v(),y("ngIf",r>0)}}function dS(t,e){if(t&1){let r=oe();u(0,"button",49),A("click",function(){let i=L(r).$implicit,o=E();return V(o.configuration.selectedType=o.configuration.selectedType===i?null:i)}),c(1),f()}if(t&2){let r=e.$implicit,n=E();y("ngClass",Gp(2,iS,r!==n.configuration.selectedType,r===n.configuration.selectedType)),v(),se(r)}}function fS(t,e){if(t&1){let r=oe();u(0,"span",54),p(1,"i",55),c(2," Please specify a "),u(3,"a",10),A("click",function(){L(r);let i=E(3);return V(i.scrollToHistoryDir())}),c(4,"history directory"),f()()}}function hS(t,e){if(t&1&&(je(0),p(1,"br",56),u(2,"a",30),c(3,"Sample report"),f(),c(4,"\xA0"),u(5,"a",30),p(6,"i",57),f(),Ue()),t&2){let r=E(2).$implicit;v(2),y("href",r.sampleReport,_r),v(3),y("href",r.sampleReport,_r)}}function pS(t,e){if(t&1){let r=oe();u(0,"div",51)(1,"label",37)(2,"input",52),A("change",function(){L(r);let i=E().$implicit;return V(i.checked=!i.checked)}),f(),u(3,"b"),c(4),f(),P(5,fS,5,0,"span",53),p(6,"br"),u(7,"div",39),c(8),P(9,hS,7,2,"ng-container",6),f()()()}if(t&2){let r=E().$implicit,n=E();v(2),y("checked",r.checked),v(2),se(r.name),v(),y("ngIf",r.checked&&r.requiresHistoryDir&&!n.configuration.historydir),v(3),ft("",r.description," "),v(),y("ngIf",r.sampleReport)}}function mS(t,e){if(t&1&&(je(0),P(1,pS,10,5,"div",50),Ue()),t&2){let r=e.$implicit,n=E();v(),y("ngIf",!n.configuration.selectedType||r.types.indexOf(n.configuration.selectedType)>-1)}}function gS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",59),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.sourcedirectories[o],i)||(s.configuration.sourcedirectories[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeSourceDirectory(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();v(2),xt("name","sourcedir_",r,""),ae("ngModel",n.configuration.sourcedirectories[r])}}function vS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",60),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.plugins[o],i)||(s.configuration.plugins[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removePlugin(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();v(2),xt("name","plugin_",r,""),ae("ngModel",n.configuration.plugins[r])}}function yS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",61),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.assemblyfilters[o],i)||(s.configuration.assemblyfilters[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeAssemblyFilter(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();v(2),xt("name","assemblyfilter_",r,""),ae("ngModel",n.configuration.assemblyfilters[r])}}function DS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",62),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.classfilters[o],i)||(s.configuration.classfilters[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeClassFilter(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();v(2),xt("name","classfilter_",r,""),ae("ngModel",n.configuration.classfilters[r])}}function CS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",63),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.filefilters[o],i)||(s.configuration.filefilters[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeFileFilter(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();v(2),xt("name","filefilter_",r,""),ae("ngModel",n.configuration.filefilters[r])}}function wS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",61),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.riskhotspotassemblyfilters[o],i)||(s.configuration.riskhotspotassemblyfilters[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeRiskHotspotAssemblyFilter(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();v(2),xt("name","riskhotspotassemblyfilter_",r,""),ae("ngModel",n.configuration.riskhotspotassemblyfilters[r])}}function bS(t,e){if(t&1){let r=oe();u(0,"div",9)(1,"div",58)(2,"input",62),le("ngModelChange",function(i){let o=L(r).index,s=E();return ue(s.configuration.riskhotspotclassfilters[o],i)||(s.configuration.riskhotspotclassfilters[o]=i),V(i)}),f(),u(3,"span",46),A("click",function(){let i=L(r).index,o=E();return V(o.configuration.removeRiskHotspotClassFilter(i))}),u(4,"a",47),p(5,"i",48),f()()()()}if(t&2){let r=e.index,n=E();v(2),xt("name","riskhotspotclassfilter_",r,""),ae("ngModel",n.configuration.riskhotspotclassfilters[r])}}function ES(t,e){if(t&1&&(u(0,"option",64),c(1),f()),t&2){let r=e.$implicit;y("value",r),v(),se(r)}}function _S(t,e){if(t&1&&(u(0,"div",65)(1,"b"),c(2),f(),p(3,"br"),u(4,"pre",33),c(5),f()()),t&2){let r=e.$implicit;v(2),se(r.tool),v(3),se(r.command)}}function IS(t,e){t&1&&(p(0,"i",66),c(1," Copied "))}function xS(t,e){t&1&&(p(0,"i",67),c(1," Copy "))}function SS(t,e){if(t&1&&(u(0,"div",65)(1,"b"),c(2),f(),p(3,"br"),u(4,"pre",33),c(5),f()()),t&2){let r=e.$implicit;v(2),se(r.tool),v(3),se(r.command)}}function MS(t,e){t&1&&(p(0,"i",66),c(1," Copied "))}function TS(t,e){t&1&&(p(0,"i",67),c(1," Copy "))}var fv=(()=>{let e=class e{constructor(){this.versions=Re,this.lastResult="",this.usageCopied=!1,this.configuration=new Aa,this.environments=[new Hn(".NET Core",".NET Core"),new Hn(".NET Framework","The full .NET framework"),new Hn("Azure DevOps",null),new Hn("Github Action",null)],this.packages=[new zt("ReportGenerator","https://www.nuget.org/packages/ReportGenerator",[".NET Framework",".NET Core"],"Use this package if your project is based on .NET Framework or .NET Core and you want to use ReportGenerator via the command line or a build script.",[new Yr("Package Manager",`Install-Package ReportGenerator -Version ${Re.version}`),new Yr(".NET CLI",`dotnet add package ReportGenerator --version ${Re.version}`)],[new yn(".NET Framework",`$(UserProfile)\\.nuget\\packages\\reportgenerator\\${Re.version}\\tools\\net47\\ReportGenerator.exe`),new yn(".NET Core",`dotnet $(UserProfile)\\.nuget\\packages\\reportgenerator\\${Re.version}\\tools\\net6.0\\ReportGenerator.dll`)]),new zt("dotnet-reportgenerator-globaltool","https://www.nuget.org/packages/dotnet-reportgenerator-globaltool",[".NET Core"],"Use this package if your project is based on .NET Core and you want to use ReportGenerator as a (global) 'DotnetTool'.",[new Yr(".NET CLI",`dotnet tool install --global dotnet-reportgenerator-globaltool --version ${Re.version}\r -\r -dotnet tool install dotnet-reportgenerator-globaltool --tool-path tools --version ${Re.version}\r -\r -dotnet new tool-manifest\r -dotnet tool install dotnet-reportgenerator-globaltool --version ${Re.version}`)],[new yn(".NET Core","reportgenerator")]),new Ta("Azure DevOps","https://marketplace.visualstudio.com/items?itemName=Palmmedia.reportgenerator",["Azure DevOps"],"Use this package within Azure DevOps",[],[new yn("Azure DevOps","reportgenerator")]),new Na("GitHub Action","https://github.com/marketplace/actions/reportgenerator",["Github Action"],"Use this package within Github Actions",[],[new yn("Github Action","danielpalme/ReportGenerator-GitHub-Action")])],this.selectedEnvironment=this.environments[0],this.selectedPackage=this.packages[0]}selectedEnvironmentChanged(){this.selectedPackage=this.packages.find(n=>n.runtimes.indexOf(this.selectedEnvironment.name)>-1)}severalPackagesAvailable(){return this.packages.filter(n=>n.runtimes.indexOf(this.selectedEnvironment.name)>-1).length>1}getUsage(){let n=this.configuration.getUsage(this.selectedPackage,this.selectedEnvironment.name);return this.lastResult!==n&&(this.lastResult=n,this.usageCopied=!1),n}copy(){try{navigator.clipboard.writeText(this.getUsage()),this.usageCopied=!0}catch(n){console.error("Failed to copy license",n)}}scrollToHistoryDir(){return document.querySelector("#historydir").scrollIntoView(!0),!1}trackByIndex(n,i){return n}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=ce({type:e,selectors:[["app-usage-component"]],standalone:!0,features:[de],decls:281,vars:43,consts:[[1,"container"],[1,"mb-4"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Settings","target","_blank"],[1,"row"],[1,"col-md-7"],["class","form-check",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"alert","alert-info"],["class","mb-3",4,"ngFor","ngForOf","ngForTrackBy"],[1,"input-group","mb-3"],["href","",3,"click"],[1,"fa","fa-plus-circle"],["type","text","name","targetdir","placeholder","The target directory","required","",1,"form-control",3,"ngModelChange","ngModel"],["href","https://danielpalme.github.io/ReportGenerator/resources/SampleReports.zip"],[1,"me-2"],["type","button","class","btn btn-sm me-1 mb-1",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","input-group mb-3",4,"ngFor","ngForOf","ngForTrackBy"],["id","historydir"],["type","text","name","historydir","placeholder","The history directory",1,"form-control",3,"ngModelChange","ngModel","required"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-reports"],["href","https://github.com/danielpalme/ReportGenerator/wiki/Custom-history-storage"],["name","verbosity",1,"form-select",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],["type","text","name","title","placeholder","Title",1,"form-control",3,"ngModelChange","ngModel"],["type","text","name","tag","placeholder","Optional tag or build version",1,"form-control",3,"ngModelChange","ngModel"],[3,"routerLink"],["type","text","name","license","placeholder","Optional license for PRO version","rows","4",1,"form-control",3,"ngModelChange","ngModel"],[1,"col-md-5"],[1,"d-md-none","mt-5"],["target","_blank",3,"href"],["class","mt-2",4,"ngFor","ngForOf"],[1,"mt-4"],[1,"text-dark","bg-light","p-2","border"],[1,"btn","btn-outline-dark","mt-2",3,"click"],[1,"d-none","d-md-block","sticky"],[1,"form-check"],[1,"form-check-label"],["type","radio","name","environment",1,"form-check-input",3,"ngModelChange","ngModel","value","checked"],[1,"mb-3"],[4,"ngFor","ngForOf"],["class","form-check",4,"ngIf"],["type","radio","name","package",1,"form-check-input",3,"ngModelChange","ngModel","value"],[3,"ngClass"],["type","text","placeholder","The path of the coverage file","required","",1,"form-control",3,"ngModelChange","name","ngModel"],["class","input-group-text",3,"click",4,"ngIf"],[1,"input-group-text",3,"click"],["href",""],[1,"fa","fa-trash","text-danger"],["type","button",1,"btn","btn-sm","me-1","mb-1",3,"click","ngClass"],["class","form-check mt-1",4,"ngIf"],[1,"form-check","mt-1"],["type","checkbox","name","reporttype",1,"form-check-input",3,"change","checked"],["class","text-danger ms-2",4,"ngIf"],[1,"text-danger","ms-2"],[1,"fa-solid","fa-triangle-exclamation"],[1,"mt-1"],[1,"fa-solid","fa-arrow-up-right-from-square"],[1,"input-group"],["type","text","placeholder","The source directory","required","",1,"form-control",3,"ngModelChange","name","ngModel"],["type","text","placeholder","The path of the plugin","required","",1,"form-control",3,"ngModelChange","name","ngModel"],["type","text","placeholder","The include or exclude filter for assemlies","pattern","^[+-].+$","required","",1,"form-control",3,"ngModelChange","name","ngModel"],["type","text","placeholder","The include or exclude filter for classes","pattern","^[+-].+$","required","",1,"form-control",3,"ngModelChange","name","ngModel"],["type","text","placeholder","The include or exclude filter for files","pattern","^[+-].+$","required","",1,"form-control",3,"ngModelChange","name","ngModel"],[3,"value"],[1,"mt-2"],[1,"fa-solid","fa-check","text-success"],[1,"fa-solid","fa-copy"]],template:function(i,o){i&1&&(u(0,"div",0)(1,"h1",1),c(2,"Usage"),f(),u(3,"p"),c(4,"The more advanced settings are documented in the "),u(5,"a",2),c(6,"wiki"),f(),c(7,"."),f(),u(8,"div",3)(9,"div",4)(10,"form")(11,"h3"),c(12,"Environment"),f(),P(13,oS,8,5,"div",5),p(14,"hr"),P(15,lS,4,1,"ng-container",6),p(16,"hr"),u(17,"h3"),c(18,"Reports"),f(),u(19,"div",7),c(20,"Path to the coverage report(s) that should be parsed."),p(21,"br"),c(22,"Globbing is supported."),f(),P(23,uS,4,7,"div",8),u(24,"div",9)(25,"a",10),A("click",function(){return o.configuration.addReport()}),p(26,"i",11),c(27," Add report"),f()(),p(28,"br"),u(29,"h3"),c(30,"Target directory"),f(),u(31,"div",7),c(32,"The directory where the generated report(s) should be saved."),f(),u(33,"div",9)(34,"input",12),le("ngModelChange",function(a){return ue(o.configuration.targetdir,a)||(o.configuration.targetdir=a),a}),f()(),p(35,"br"),u(36,"h3"),c(37,"Report types"),f(),u(38,"div",7),c(39,"Download "),u(40,"a",13),c(41,"sample reports"),f()(),u(42,"span",14),c(43,"Filter:"),f(),P(44,dS,2,5,"button",15),p(45,"br"),P(46,mS,2,1,"ng-container",16),u(47,"h3"),c(48,"Source directories"),f(),u(49,"div",7),c(50,"Optional directories which contain the corresponding source code."),p(51,"br"),c(52,"The source directories are used if coverage report contains classes without path information."),f(),P(53,gS,6,3,"div",17),u(54,"div",9)(55,"a",10),A("click",function(){return o.configuration.addSourceDirectory()}),p(56,"i",11),c(57," Add source directory"),f()(),p(58,"br"),u(59,"h3",18),c(60,"History directory"),f(),u(61,"div",7),c(62,"Optional directory for storing "),u(63,"b"),c(64,"persistent"),f(),c(65," coverage information. Choose a directory which does not get deleted between builds."),p(66,"br"),c(67,"Required to show the history chart in the HTML reports."),f(),u(68,"div",9)(69,"input",19),le("ngModelChange",function(a){return ue(o.configuration.historydir,a)||(o.configuration.historydir=a),a}),f()(),p(70,"br"),u(71,"h3"),c(72,"Plugins"),f(),u(73,"div",7),c(74,"Optional plugin files for "),u(75,"a",20),c(76,"custom reports"),f(),c(77," or "),u(78,"a",21),c(79,"custom history storage"),f(),c(80,"."),f(),P(81,vS,6,3,"div",17),u(82,"div",9)(83,"a",10),A("click",function(){return o.configuration.addPlugin()}),p(84,"i",11),c(85," Add plugin"),f()(),p(86,"br"),u(87,"h3"),c(88,"Assembly filters"),f(),u(89,"div",7),c(90,"Optional list of "),u(91,"b"),c(92,"assemblies"),f(),c(93," that should be included or excluded in the report. "),p(94,"br"),c(95,"Exclusion filters take precedence over inclusion filters. "),p(96,"br"),c(97,"Wildcards are allowed."),p(98,"br"),u(99,"p"),c(100,"Examples:"),p(101,"br"),u(102,"code"),c(103,"+Included"),f(),p(104,"br"),u(105,"code"),c(106,"-Excluded"),f()()(),P(107,yS,6,3,"div",17),u(108,"div",9)(109,"a",10),A("click",function(){return o.configuration.addAssemblyFilter()}),p(110,"i",11),c(111," Add assembly filter"),f()(),p(112,"br"),u(113,"h3"),c(114,"Class filters"),f(),u(115,"div",7),c(116,"Optional list of "),u(117,"b"),c(118,"classes"),f(),c(119," that should be included or excluded in the report. "),p(120,"br"),c(121,"Exclusion filters take precedence over inclusion filters. "),p(122,"br"),c(123,"Wildcards are allowed."),p(124,"br"),u(125,"p"),c(126,"Examples:"),p(127,"br"),u(128,"code"),c(129,"+Included"),f(),p(130,"br"),u(131,"code"),c(132,"-Excluded"),f()()(),P(133,DS,6,3,"div",17),u(134,"div",9)(135,"a",10),A("click",function(){return o.configuration.addClassFilter()}),p(136,"i",11),c(137," Add class filter"),f()(),p(138,"br"),u(139,"h3"),c(140,"File filters"),f(),u(141,"div",7),c(142,"Optional list of "),u(143,"b"),c(144,"files"),f(),c(145," that should be included or excluded in the report. "),p(146,"br"),c(147,"Exclusion filters take precedence over inclusion filters. "),p(148,"br"),c(149,"Wildcards are allowed."),p(150,"br"),u(151,"p"),c(152,"Examples:"),p(153,"br"),u(154,"code"),c(155,"+Included"),f(),p(156,"br"),u(157,"code"),c(158,"-Excluded"),f()()(),P(159,CS,6,3,"div",17),u(160,"div",9)(161,"a",10),A("click",function(){return o.configuration.addFileFilter()}),p(162,"i",11),c(163," Add file filter"),f()(),p(164,"br"),u(165,"h3"),c(166,"Risk Hotspots: Assembly filters"),f(),u(167,"div",7),c(168,"Optional list of "),u(169,"b"),c(170,"assemblies"),f(),c(171," that should be included or excluded in the risk hotspots. "),p(172,"br"),c(173,"Exclusion filters take precedence over inclusion filters. "),p(174,"br"),c(175,"Wildcards are allowed."),p(176,"br"),u(177,"p"),c(178,"Examples:"),p(179,"br"),u(180,"code"),c(181,"+Included"),f(),p(182,"br"),u(183,"code"),c(184,"-Excluded"),f()()(),P(185,wS,6,3,"div",17),u(186,"div",9)(187,"a",10),A("click",function(){return o.configuration.addRiskHotspotAssemblyFilter()}),p(188,"i",11),c(189," Add assembly filter"),f()(),p(190,"br"),u(191,"h3"),c(192,"Risk Hotspots: Class filters"),f(),u(193,"div",7),c(194,"Optional list of "),u(195,"b"),c(196,"classes"),f(),c(197," that should be included or excluded in the risk hotspots. "),p(198,"br"),c(199,"Exclusion filters take precedence over inclusion filters. "),p(200,"br"),c(201,"Wildcards are allowed."),p(202,"br"),u(203,"p"),c(204,"Examples:"),p(205,"br"),u(206,"code"),c(207,"+Included"),f(),p(208,"br"),u(209,"code"),c(210,"-Excluded"),f()()(),P(211,bS,6,3,"div",17),u(212,"div",9)(213,"a",10),A("click",function(){return o.configuration.addRiskHotspotClassFilter()}),p(214,"i",11),c(215," Add class filter"),f()(),p(216,"br"),u(217,"h3"),c(218,"Verbosity"),f(),u(219,"div",7),c(220,"The verbosity level of the log messages."),f(),u(221,"div",9)(222,"select",22),le("ngModelChange",function(a){return ue(o.configuration.selectedverbosity,a)||(o.configuration.selectedverbosity=a),a}),P(223,ES,2,2,"option",23),f()(),p(224,"br"),u(225,"h3"),c(226,"Title"),f(),u(227,"div",7),c(228,"Optional title."),f(),u(229,"div",9)(230,"input",24),le("ngModelChange",function(a){return ue(o.configuration.title,a)||(o.configuration.title=a),a}),f()(),p(231,"br"),u(232,"h3"),c(233,"Tag"),f(),u(234,"div",7),c(235,"Optional tag or build version."),f(),u(236,"div",9)(237,"input",25),le("ngModelChange",function(a){return ue(o.configuration.tag,a)||(o.configuration.tag=a),a}),f()(),p(238,"br"),u(239,"h3"),c(240,"License"),f(),u(241,"div",7)(242,"p"),c(243,"Optional license. Get your license here: "),u(244,"a",26),c(245,"https://reportgenerator.io/pro"),f()(),c(246," License can also be supplied via "),u(247,"code"),c(248,"REPORTGENERATOR_LICENSE"),f(),c(249," environment variable. "),f(),u(250,"div",9)(251,"textarea",27),le("ngModelChange",function(a){return ue(o.configuration.license,a)||(o.configuration.license=a),a}),f()()()(),u(252,"div",28)(253,"div",29)(254,"h3"),c(255,"Instructions"),f(),c(256," Install "),u(257,"a",30),c(258),f(),P(259,_S,6,2,"div",31),u(260,"h4",32),c(261,"Usage"),f(),u(262,"pre",33),c(263),f(),u(264,"button",34),A("click",function(){return o.copy()}),P(265,IS,2,0)(266,xS,2,0),f()(),u(267,"div",35)(268,"h3"),c(269,"Instructions"),f(),c(270," Install "),u(271,"a",30),c(272),f(),P(273,SS,6,2,"div",31),u(274,"h4",32),c(275,"Usage"),f(),u(276,"pre",33),c(277),f(),u(278,"button",34),A("click",function(){return o.copy()}),P(279,MS,2,0)(280,TS,2,0),f()()()()()),i&2&&(v(13),y("ngForOf",o.environments),v(2),y("ngIf",o.severalPackagesAvailable()),v(8),y("ngForOf",o.configuration.reports)("ngForTrackBy",o.trackByIndex),v(11),ae("ngModel",o.configuration.targetdir),v(10),y("ngForOf",o.configuration.types)("ngForTrackBy",o.trackByIndex),v(2),y("ngForOf",o.configuration.reporttypes)("ngForTrackBy",o.trackByIndex),v(7),y("ngForOf",o.configuration.sourcedirectories)("ngForTrackBy",o.trackByIndex),v(16),ae("ngModel",o.configuration.historydir),y("required",o.configuration.historyDirRequired()),v(12),y("ngForOf",o.configuration.plugins)("ngForTrackBy",o.trackByIndex),v(26),y("ngForOf",o.configuration.assemblyfilters)("ngForTrackBy",o.trackByIndex),v(26),y("ngForOf",o.configuration.classfilters)("ngForTrackBy",o.trackByIndex),v(26),y("ngForOf",o.configuration.filefilters)("ngForTrackBy",o.trackByIndex),v(26),y("ngForOf",o.configuration.riskhotspotassemblyfilters)("ngForTrackBy",o.trackByIndex),v(26),y("ngForOf",o.configuration.riskhotspotclassfilters)("ngForTrackBy",o.trackByIndex),v(11),ae("ngModel",o.configuration.selectedverbosity),v(),y("ngForOf",o.configuration.verbosities)("ngForTrackBy",o.trackByIndex),v(7),ae("ngModel",o.configuration.title),v(7),ae("ngModel",o.configuration.tag),v(7),y("routerLink",B(42,nS)),v(7),ae("ngModel",o.configuration.license),v(6),y("href",o.selectedPackage.url,_r),v(),se(o.selectedPackage.name),v(),y("ngForOf",o.selectedPackage.installOptions),v(4),se(o.getUsage()),v(2),On(o.usageCopied?265:266),v(6),y("href",o.selectedPackage.url,_r),v(),se(o.selectedPackage.name),v(),y("ngForOf",o.selectedPackage.installOptions),v(4),se(o.getUsage()),v(2),On(o.usageCopied?279:280))},dependencies:[vn,Zr,ev,nv,gn,wa,gd,qr,Wr,Bn,yd,Un,jn,Ps,Fs,Sr,Ne],styles:[".sticky[_ngcontent-%COMP%]{position:sticky;top:100px}"]});let t=e;return t})();var Gn=" | ReportGenerator - Code coverage reports",AS=[{path:"",component:av,pathMatch:"full",title:"Home"+Gn,data:{canonical:"/"}},{path:"features",component:ov,title:"Features"+Gn,data:{canonical:"/features"}},{path:"features.html",redirectTo:"/features"},{path:"getstarted",component:sv,title:"Get started"+Gn,data:{canonical:"/getstarted"}},{path:"getstarted.html",redirectTo:"/getstarted"},{path:"usage",component:fv,title:"Usage"+Gn,data:{canonical:"/usage"}},{path:"usage.html",redirectTo:"/usage"},{path:"pro",component:dv,title:"PRO"+Gn,data:{canonical:"/pro"}},{path:"pro.html",redirectTo:"/pro"},{path:"contact",component:rv,title:"Contact"+Gn,data:{canonical:"/contact"}},{path:"contact.html",redirectTo:"/contact"},{path:"404",component:lv,title:"404 - Not found"+Gn},{path:"**",redirectTo:"/404"}],hv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=ze({type:e}),e.\u0275inj=Ge({imports:[ud.forRoot(AS,{scrollPositionRestoration:"enabled",scrollOffset:[0,0],anchorScrolling:"enabled"}),ud]});let t=e;return t})();Q.production&&void 0;Om(Rg,{providers:[hc(Fm,hv,vn),Sa,Ma,_a,_m(Im())]}).catch(t=>console.error(t)); diff --git a/docs/pro.html b/docs/pro.html index 5bbb7827..57aa5163 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 ccfe23b7..efb5e1fc 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 ab4ae002..61334634 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": "^17.0.2", - "@angular/animations": "^17.3.8", - "@angular/common": "^17.3.8", - "@angular/compiler": "^17.3.8", - "@angular/core": "^17.3.8", - "@angular/forms": "^17.3.8", - "@angular/platform-browser": "^17.3.8", - "@angular/platform-browser-dynamic": "^17.3.8", - "@angular/router": "^17.3.8", + "@angular/animations": "^17.3.11", + "@angular/common": "^17.3.11", + "@angular/compiler": "^17.3.11", + "@angular/core": "^17.3.11", + "@angular/forms": "^17.3.11", + "@angular/platform-browser": "^17.3.11", + "@angular/platform-browser-dynamic": "^17.3.11", + "@angular/router": "^17.3.11", "rxjs": "~7.4.0", "tslib": "^2.3.0", "zone.js": "~0.14.2" }, "devDependencies": { - "@angular-devkit/build-angular": "^17.3.7", - "@angular/cli": "^17.3.7", - "@angular/compiler-cli": "^17.3.8", + "@angular-devkit/build-angular": "^17.3.8", + "@angular/cli": "^17.3.8", + "@angular/compiler-cli": "^17.3.11", "@types/node": "^12.11.1", "typescript": "~5.2.2" } @@ -43,12 +43,13 @@ } }, "node_modules/@angular-devkit/architect": { - "version": "0.1703.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1703.7.tgz", - "integrity": "sha512-SwXbdsZqEE3JtvujCLChAii+FA20d1931VDjDYffrGWdQEViTBAr4NKtDr/kOv8KkgiL3fhGibPnRNUHTeAMtg==", + "version": "0.1703.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1703.8.tgz", + "integrity": "sha512-lKxwG4/QABXZvJpqeSIn/kAwnY6MM9HdHZUV+o5o3UiTi+vO8rZApG4CCaITH3Bxebm7Nam7Xbk8RuukC5rq6g==", "dev": true, + "license": "MIT", "dependencies": { - "@angular-devkit/core": "17.3.7", + "@angular-devkit/core": "17.3.8", "rxjs": "7.8.1" }, "engines": { @@ -62,20 +63,22 @@ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "dev": true, + "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@angular-devkit/build-angular": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-17.3.7.tgz", - "integrity": "sha512-AsV80kiFMIPIhm3uzJgOHDj4u6JteUkZedPTKAFFFJC7CTat1luW5qx306vfF7wj62aMvUl5g9HFWaeLghTQGA==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-17.3.8.tgz", + "integrity": "sha512-ixsdXggWaFRP7Jvxd0AMukImnePuGflT9Yy7NJ9/y0cL/k//S/3RnkQv5i411KzN+7D4RIbNkRGGTYeqH24zlg==", "dev": true, + "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1703.7", - "@angular-devkit/build-webpack": "0.1703.7", - "@angular-devkit/core": "17.3.7", + "@angular-devkit/architect": "0.1703.8", + "@angular-devkit/build-webpack": "0.1703.8", + "@angular-devkit/core": "17.3.8", "@babel/core": "7.24.0", "@babel/generator": "7.23.6", "@babel/helper-annotate-as-pure": "7.22.5", @@ -86,7 +89,7 @@ "@babel/preset-env": "7.24.0", "@babel/runtime": "7.24.0", "@discoveryjs/json-ext": "0.5.7", - "@ngtools/webpack": "17.3.7", + "@ngtools/webpack": "17.3.8", "@vitejs/plugin-basic-ssl": "1.1.0", "ansi-colors": "4.1.3", "autoprefixer": "10.4.18", @@ -761,12 +764,13 @@ } }, "node_modules/@angular-devkit/build-webpack": { - "version": "0.1703.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1703.7.tgz", - "integrity": "sha512-gpt2Ia5I1gmdp3hdbtB7tkZTba5qWmKeVhlCYswa/LvbceKmkjedoeNRAoyr1UKM9GeGqt6Xl1B2eHzCH+ykrg==", + "version": "0.1703.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1703.8.tgz", + "integrity": "sha512-9u6fl8VVOxcLOEMzrUeaybSvi9hSLSRucHnybneYrabsgreDo32tuy/4G8p6YAHQjpWEj9jvF9Um13ertdni5Q==", "dev": true, + "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.1703.7", + "@angular-devkit/architect": "0.1703.8", "rxjs": "7.8.1" }, "engines": { @@ -784,15 +788,17 @@ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "dev": true, + "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@angular-devkit/core": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-17.3.7.tgz", - "integrity": "sha512-qpZ7BShyqS/Jqld36E7kL02cyb2pjn1Az1p9439SbP8nsvJgYlsyjwYK2Kmcn/Wi+TZGIKxkqxgBBw9vqGgeJw==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-17.3.8.tgz", + "integrity": "sha512-Q8q0voCGudbdCgJ7lXdnyaxKHbNQBARH68zPQV72WT8NWy+Gw/tys870i6L58NWbBaCJEUcIj/kb6KoakSRu+Q==", "dev": true, + "license": "MIT", "dependencies": { "ajv": "8.12.0", "ajv-formats": "2.1.1", @@ -820,6 +826,7 @@ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.1.tgz", "integrity": "sha512-xUXwsxNjwTQ8K3GnT4pCJm+xq3RUPQbmkYJTP5aFIfNIvbcc/4MUxgBaaRSZJ6yGJZiGSyYlM6MzwTsRk8SYCg==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -832,17 +839,19 @@ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "dev": true, + "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@angular-devkit/schematics": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-17.3.7.tgz", - "integrity": "sha512-d7NKSwstdxYLYmPsbcYO3GOFNfXxXwOyHxSqDa1JNKoSzMdbLj4tvlCpfXw0ThNM7gioMx8aLBaaH1ac+yk06Q==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-17.3.8.tgz", + "integrity": "sha512-QRVEYpIfgkprNHc916JlPuNbLzOgrm9DZalHasnLUz4P6g7pR21olb8YCyM2OTJjombNhya9ZpckcADU5Qyvlg==", "dev": true, + "license": "MIT", "dependencies": { - "@angular-devkit/core": "17.3.7", + "@angular-devkit/core": "17.3.8", "jsonc-parser": "3.2.1", "magic-string": "0.30.8", "ora": "5.4.1", @@ -859,6 +868,7 @@ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "dev": true, + "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" } @@ -887,9 +897,10 @@ } }, "node_modules/@angular/animations": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-17.3.8.tgz", - "integrity": "sha512-ywT3dH0yZeAlo+Vu/6RpRozxzTbu4Bwqky6RgNfk/UMoyXZ5UiFStszDqO/HAyBGGCDHagm1XJkgsNZcStWq8A==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-17.3.11.tgz", + "integrity": "sha512-1y1Egag5jbdUSUWVK+KA39N9VFDrzq9ObjbAhrXFlXKa0npBRw5bprEEeLFQMETMP9Mpjbmj2PoASfl4vqj/Iw==", + "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, @@ -897,19 +908,20 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/core": "17.3.8" + "@angular/core": "17.3.11" } }, "node_modules/@angular/cli": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-17.3.7.tgz", - "integrity": "sha512-JgCav3sdRCoJHwLXxmF/EMzArYjwbqB+AGUW/xIR98oZET8QxCB985bOFUAm02SkAEUVcMJvjxec+WCaa60m/A==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-17.3.8.tgz", + "integrity": "sha512-X5ZOQ6ZTKVHjhIsfl32ZRqbs+FUoeHLbT7x4fh2Os/8ObDDwrUcCJPqxe2b2RB5E2d0vepYigknHeLE7gwzlNQ==", "dev": true, + "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.1703.7", - "@angular-devkit/core": "17.3.7", - "@angular-devkit/schematics": "17.3.7", - "@schematics/angular": "17.3.7", + "@angular-devkit/architect": "0.1703.8", + "@angular-devkit/core": "17.3.8", + "@angular-devkit/schematics": "17.3.8", + "@schematics/angular": "17.3.8", "@yarnpkg/lockfile": "1.1.0", "ansi-colors": "4.1.3", "ini": "4.1.2", @@ -950,9 +962,10 @@ } }, "node_modules/@angular/common": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-17.3.8.tgz", - "integrity": "sha512-HEhTibrsWmoKilyhvAFmqg4SH1hWBP3eV9Y689lmsxBQCTRAmRI2pMAoRKQ+dBcoYLE/FZhcmdHJUSl5jR7Isg==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-17.3.11.tgz", + "integrity": "sha512-WG+HQjUaQziYLGdbcv2aW+G73uroN5VF9yk4qWYcolW+VB8SV/DOAol8uFVgCF21cIOl5+wfJZvA4r5oG3dYaw==", + "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, @@ -960,14 +973,15 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/core": "17.3.8", + "@angular/core": "17.3.11", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-17.3.8.tgz", - "integrity": "sha512-7vZSh2Oa95lZdRR4MhE0icvZ7JUuYY+NSo3eTSOMZSlH5I9rtwQoSFqfoGW+35rXCzGFLOhQmZBbXkxDPDs97Q==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-17.3.11.tgz", + "integrity": "sha512-ingRoREDPkeZGSa13DlztSjZgGArNcmsAWjj+f+vQgQekTjkfQD/N+Bix/LSt5ZdbSjHMtrkDMyRPwbNyk5Keg==", + "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, @@ -975,7 +989,7 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/core": "17.3.8" + "@angular/core": "17.3.11" }, "peerDependenciesMeta": { "@angular/core": { @@ -984,10 +998,11 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-17.3.8.tgz", - "integrity": "sha512-/TsbCmk7QJUEEZnRdNzi6znsPfoDJuy6vHDqcwWVEcw7y6W7DjirSFmtT9u1QwrV67KM6kOh22+RvPdGM8sPmg==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-17.3.11.tgz", + "integrity": "sha512-O44H/BKGw0TYq0aNTOKYZfQiTrfjbmcTl8y4UX6C9Xey8hXvijzZOAsjA0TGvvDJxeLR+sxaRF4i9Ihoatnd8g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/core": "7.23.9", "@jridgewell/sourcemap-codec": "^1.4.14", @@ -1007,14 +1022,15 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/compiler": "17.3.8", + "@angular/compiler": "17.3.11", "typescript": ">=5.2 <5.5" } }, "node_modules/@angular/core": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-17.3.8.tgz", - "integrity": "sha512-+tUQ+B1yVvNbczzaWBCgJWWIgZ2z+GVJWu+UNOHHWzdqD8qpXjuIkDfnhyLNeGvvXgsqey4u6ApFf2SoFYLjuA==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-17.3.11.tgz", + "integrity": "sha512-2wPZwXFei3kVxK2ylIH6CdGebrC4kvooFx7qoX+250OITAEFMODJGdh/e3x0DpFUjlRvQtIFQ+YpQlfC5JnL4g==", + "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, @@ -1027,9 +1043,10 @@ } }, "node_modules/@angular/forms": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-17.3.8.tgz", - "integrity": "sha512-ZoPJMx3O1eKliK6oEUqtKJNqrLwwOLBC5x+zbCHrwJeBB3lbgWXrrnTrFvCXpp3QVERAboZTzZ3XBmHX1o6gmw==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-17.3.11.tgz", + "integrity": "sha512-719flo/1L64YOAxL3pzszTK+7bczVVOQDXT1khnjb48GVZdBUBwW2D+cFbqSW1VMuWWr2Amwy1lL4YM5S7qPJQ==", + "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, @@ -1037,16 +1054,17 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/common": "17.3.8", - "@angular/core": "17.3.8", - "@angular/platform-browser": "17.3.8", + "@angular/common": "17.3.11", + "@angular/core": "17.3.11", + "@angular/platform-browser": "17.3.11", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/platform-browser": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-17.3.8.tgz", - "integrity": "sha512-UMGSV3TdJqMtf2xvhbW6fx8TKJLOoHQgFxohhy3y8GvxHBu+PUyrwhovb7r03bs+muY6u4ygGCMm7Mt1TFVwfQ==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-17.3.11.tgz", + "integrity": "sha512-sWjMy8qKH6AOt5YV4OMoPhExCbGdRIPjNSwUrxCm8a8Zz5DamoX3Sib9yRk1etjBuRj+oJySSxISJim2OYXJQQ==", + "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, @@ -1054,9 +1072,9 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/animations": "17.3.8", - "@angular/common": "17.3.8", - "@angular/core": "17.3.8" + "@angular/animations": "17.3.11", + "@angular/common": "17.3.11", + "@angular/core": "17.3.11" }, "peerDependenciesMeta": { "@angular/animations": { @@ -1065,9 +1083,10 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-17.3.8.tgz", - "integrity": "sha512-uL6FPh+Pr9xzIjyiv3p66jteq/CytHP1+m5jOsIKa1LUwTXx0a2pmOYcZxXpNkQGR9Ir/dlbrYmKlSP3QZf7uw==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-17.3.11.tgz", + "integrity": "sha512-JPA0enJyJQ5H340WQ2wfXbCCHzjBiAljEDMr/Siw/CzSe0XI8aQYDqKMLUMtRyCdYhNCEYjnBWgXBi9Za9blZg==", + "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, @@ -1075,16 +1094,17 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/common": "17.3.8", - "@angular/compiler": "17.3.8", - "@angular/core": "17.3.8", - "@angular/platform-browser": "17.3.8" + "@angular/common": "17.3.11", + "@angular/compiler": "17.3.11", + "@angular/core": "17.3.11", + "@angular/platform-browser": "17.3.11" } }, "node_modules/@angular/router": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-17.3.8.tgz", - "integrity": "sha512-2JKTW1u1H+iNDfAmIjEiMJjQHfzb97TBk23/euIR0JuyGHjyywkrQ97HHiOEAJyy/Zpr0Vbem3HRqDqSfjTWvg==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-17.3.11.tgz", + "integrity": "sha512-A3aU6uHAeJfsfCw1dgNXHn2Kjw/UieRMnFwENkzz96YFCvFPCEZjy/mODuE3zHludMuqVsJhM/uUxWu8ATRTcA==", + "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, @@ -1092,9 +1112,9 @@ "node": "^18.13.0 || >=20.9.0" }, "peerDependencies": { - "@angular/common": "17.3.8", - "@angular/core": "17.3.8", - "@angular/platform-browser": "17.3.8", + "@angular/common": "17.3.11", + "@angular/core": "17.3.11", + "@angular/platform-browser": "17.3.11", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -3407,7 +3427,8 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz", "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@ljharb/through": { "version": "2.3.13", @@ -3422,10 +3443,11 @@ } }, "node_modules/@ngtools/webpack": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-17.3.7.tgz", - "integrity": "sha512-kQNS68jsPQlaWAnKcVeFKNHp6K90uQANvq+9oXb/i+JnYWzuBsHzn2r8bVdMmvjd1HdBRiGtg767XRk3u+jgRw==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-17.3.8.tgz", + "integrity": "sha512-CjSVVa/9fzMpEDQP01SC4colKCbZwj7vUq0H2bivp8jVsmd21x9Fu0gDBH0Y9NdfAIm4eGZvmiZKMII3vIOaYQ==", "dev": true, + "license": "MIT", "engines": { "node": "^18.13.0 || >=20.9.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", @@ -3843,13 +3865,14 @@ ] }, "node_modules/@schematics/angular": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-17.3.7.tgz", - "integrity": "sha512-HaJroKaberriP4wFefTTSVFrtU9GMvnG3I6ELbOteOyKMH7o2V91FXGJDJ5KnIiLRlBmC30G3r+9Ybc/rtAYkw==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-17.3.8.tgz", + "integrity": "sha512-2g4OmSyE9YGq50Uj7fNI26P/TSAFJ7ZuirwTF2O7Xc4XRQ29/tYIIqhezpNlTb6rlYblcQuMcUZBrMfWJHcqJw==", "dev": true, + "license": "MIT", "dependencies": { - "@angular-devkit/core": "17.3.7", - "@angular-devkit/schematics": "17.3.7", + "@angular-devkit/core": "17.3.8", + "@angular-devkit/schematics": "17.3.8", "jsonc-parser": "3.2.1" }, "engines": { @@ -3981,6 +4004,7 @@ "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==", "dev": true, + "license": "MIT", "dependencies": { "@types/connect": "*", "@types/node": "*" @@ -3991,6 +4015,7 @@ "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.13.tgz", "integrity": "sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } @@ -4000,6 +4025,7 @@ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } @@ -4009,6 +4035,7 @@ "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.4.tgz", "integrity": "sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==", "dev": true, + "license": "MIT", "dependencies": { "@types/express-serve-static-core": "*", "@types/node": "*" @@ -4045,6 +4072,7 @@ "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/body-parser": "*", "@types/express-serve-static-core": "^4.17.33", @@ -4053,10 +4081,11 @@ } }, "node_modules/@types/express-serve-static-core": { - "version": "4.19.0", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.0.tgz", - "integrity": "sha512-bGyep3JqPCRry1wq+O5n7oiBgGWmeIJXPjXXCo8EK0u8duZGSYar7cGqd3ML2JUsLGeB7fmc06KYo9fLGWqPvQ==", + "version": "4.19.5", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.5.tgz", + "integrity": "sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*", "@types/qs": "*", @@ -4068,13 +4097,15 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz", "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/http-proxy": { "version": "1.17.14", "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.14.tgz", "integrity": "sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } @@ -4089,7 +4120,8 @@ "version": "1.3.5", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/node": { "version": "12.20.37", @@ -4102,6 +4134,7 @@ "resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-1.3.11.tgz", "integrity": "sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } @@ -4110,25 +4143,29 @@ "version": "6.9.15", "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.15.tgz", "integrity": "sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/range-parser": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/retry": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/send": { "version": "0.17.4", "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==", "dev": true, + "license": "MIT", "dependencies": { "@types/mime": "^1", "@types/node": "*" @@ -4139,6 +4176,7 @@ "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.4.tgz", "integrity": "sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug==", "dev": true, + "license": "MIT", "dependencies": { "@types/express": "*" } @@ -4148,6 +4186,7 @@ "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.7.tgz", "integrity": "sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==", "dev": true, + "license": "MIT", "dependencies": { "@types/http-errors": "*", "@types/node": "*", @@ -4159,6 +4198,7 @@ "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.36.tgz", "integrity": "sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } @@ -4168,6 +4208,7 @@ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz", "integrity": "sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } @@ -4350,6 +4391,7 @@ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", "dev": true, + "license": "MIT", "dependencies": { "mime-types": "~2.1.34", "negotiator": "0.6.3" @@ -4508,6 +4550,7 @@ "engines": [ "node >= 0.8.0" ], + "license": "Apache-2.0", "bin": { "ansi-html": "bin/ansi-html" } @@ -4559,7 +4602,8 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/autoprefixer": { "version": "10.4.18", @@ -4741,7 +4785,8 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/big.js": { "version": "5.2.2", @@ -4777,6 +4822,7 @@ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "dev": true, + "license": "MIT", "dependencies": { "bytes": "3.1.2", "content-type": "~1.0.5", @@ -4801,6 +4847,7 @@ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -4810,6 +4857,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.0.0" } @@ -4818,13 +4866,15 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true + "dev": true, + "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==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", "multicast-dns": "^7.2.5" @@ -4847,12 +4897,13 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, + "license": "MIT", "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -4934,6 +4985,7 @@ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -5255,6 +5307,7 @@ "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", "dev": true, + "license": "MIT", "dependencies": { "mime-db": ">= 1.43.0 < 2" }, @@ -5267,6 +5320,7 @@ "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", "dev": true, + "license": "MIT", "dependencies": { "accepts": "~1.3.5", "bytes": "3.0.0", @@ -5285,6 +5339,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.0.0" } @@ -5293,7 +5348,8 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/concat-map": { "version": "0.0.1", @@ -5306,6 +5362,7 @@ "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz", "integrity": "sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8" } @@ -5315,6 +5372,7 @@ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", "dev": true, + "license": "MIT", "dependencies": { "safe-buffer": "5.2.1" }, @@ -5340,13 +5398,15 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/content-type": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -5365,6 +5425,7 @@ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -5373,7 +5434,8 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/copy-anything": { "version": "2.0.6", @@ -5440,7 +5502,8 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cosmiconfig": { "version": "9.0.0", @@ -5703,6 +5766,7 @@ "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-6.0.3.tgz", "integrity": "sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "execa": "^5.0.0" }, @@ -5750,6 +5814,7 @@ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -5759,6 +5824,7 @@ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8", "npm": "1.2.8000 || >= 1.4.16" @@ -5773,7 +5839,8 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/detect-passive-events": { "version": "2.0.3", @@ -5800,6 +5867,7 @@ "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.6.1.tgz", "integrity": "sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw==", "dev": true, + "license": "MIT", "dependencies": { "@leichtgewicht/ip-codec": "^2.0.1" }, @@ -5872,7 +5940,8 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/electron-to-chromium": { "version": "1.4.679", @@ -5900,6 +5969,7 @@ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -6080,7 +6150,8 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/escape-string-regexp": { "version": "1.0.5", @@ -6161,6 +6232,7 @@ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -6169,7 +6241,8 @@ "version": "4.0.7", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/events": { "version": "3.3.0", @@ -6185,6 +6258,7 @@ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", @@ -6214,6 +6288,7 @@ "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "dev": true, + "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -6256,6 +6331,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.0.0" } @@ -6264,7 +6340,8 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/express/node_modules/safe-buffer": { "version": "5.2.1", @@ -6284,7 +6361,8 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/external-editor": { "version": "3.1.0", @@ -6342,6 +6420,7 @@ "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", "integrity": "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==", "dev": true, + "license": "Apache-2.0", "dependencies": { "websocket-driver": ">=0.5.1" }, @@ -6365,10 +6444,11 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, + "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -6381,6 +6461,7 @@ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", "dev": true, + "license": "MIT", "dependencies": { "debug": "2.6.9", "encodeurl": "~1.0.2", @@ -6399,6 +6480,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.0.0" } @@ -6407,7 +6489,8 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/find-cache-dir": { "version": "4.0.0", @@ -6458,6 +6541,7 @@ "url": "https://github.com/sponsors/RubenVerborgh" } ], + "license": "MIT", "engines": { "node": ">=4.0" }, @@ -6500,6 +6584,7 @@ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -6522,6 +6607,7 @@ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -6624,6 +6710,7 @@ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -6719,7 +6806,8 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/has-flag": { "version": "3.0.0", @@ -6804,6 +6892,7 @@ "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", "integrity": "sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.1", "obuf": "^1.0.0", @@ -6816,6 +6905,7 @@ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, + "license": "MIT", "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -6831,6 +6921,7 @@ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, + "license": "MIT", "dependencies": { "safe-buffer": "~5.1.0" } @@ -6849,7 +6940,8 @@ "type": "patreon", "url": "https://patreon.com/mdevils" } - ] + ], + "license": "MIT" }, "node_modules/htmlparser2": { "version": "8.0.2", @@ -6880,13 +6972,15 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", "integrity": "sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/http-errors": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", "dev": true, + "license": "MIT", "dependencies": { "depd": "2.0.0", "inherits": "2.0.4", @@ -6902,13 +6996,15 @@ "version": "0.5.8", "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.8.tgz", "integrity": "sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/http-proxy": { "version": "1.18.1", "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", "dev": true, + "license": "MIT", "dependencies": { "eventemitter3": "^4.0.0", "follow-redirects": "^1.0.0", @@ -6936,6 +7032,7 @@ "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", "dev": true, + "license": "MIT", "dependencies": { "@types/http-proxy": "^1.17.8", "http-proxy": "^1.18.1", @@ -6973,6 +7070,7 @@ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=10.17.0" } @@ -7271,6 +7369,7 @@ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.2.0.tgz", "integrity": "sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 10" } @@ -7370,6 +7469,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.12.0" } @@ -7379,6 +7479,7 @@ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -7403,6 +7504,7 @@ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -7444,7 +7546,8 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/isexe": { "version": "3.1.1", @@ -7667,10 +7770,11 @@ } }, "node_modules/launch-editor": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.6.1.tgz", - "integrity": "sha512-eB/uXmFVpY4zezmGp5XtU21kwo7GBbKB+EQ+UZeWtGb9yAM5xt/Evk+lYH3eRNAtId+ej4u7TYPFZ07w4s7rRw==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.8.0.tgz", + "integrity": "sha512-vJranOAJrI/llyWGRQqiDM+adrw+k83fvmmx3+nV47g3+36xM15jE+zyZ6Ffel02+xSvuM0b2GDRosXZkbb6wA==", "dev": true, + "license": "MIT", "dependencies": { "picocolors": "^1.0.0", "shell-quote": "^1.8.1" @@ -7958,6 +8062,7 @@ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -7978,7 +8083,8 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/merge-stream": { "version": "2.0.0", @@ -8000,6 +8106,7 @@ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -8083,7 +8190,8 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/minimatch": { "version": "3.1.2", @@ -8286,6 +8394,7 @@ "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.5.tgz", "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", "dev": true, + "license": "MIT", "dependencies": { "dns-packet": "^5.2.2", "thunky": "^1.0.2" @@ -8404,6 +8513,7 @@ "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", "dev": true, + "license": "(BSD-3-Clause OR GPL-2.0)", "engines": { "node": ">= 6.13.0" } @@ -8642,6 +8752,7 @@ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.0.0" }, @@ -8662,10 +8773,14 @@ } }, "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -8674,13 +8789,15 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/on-finished": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", "dev": true, + "license": "MIT", "dependencies": { "ee-first": "1.1.1" }, @@ -8693,6 +8810,7 @@ "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -8887,6 +9005,7 @@ "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/retry": "0.12.0", "retry": "^0.13.1" @@ -8900,6 +9019,7 @@ "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } @@ -9039,6 +9159,7 @@ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -9105,7 +9226,8 @@ "version": "0.1.7", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/path-type": { "version": "4.0.0", @@ -9394,7 +9516,8 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/promise-inflight": { "version": "1.0.1", @@ -9420,6 +9543,7 @@ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", "dev": true, + "license": "MIT", "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" @@ -9433,6 +9557,7 @@ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.10" } @@ -9458,6 +9583,7 @@ "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "side-channel": "^1.0.4" }, @@ -9511,6 +9637,7 @@ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "dev": true, + "license": "MIT", "dependencies": { "bytes": "3.1.2", "http-errors": "2.0.0", @@ -9526,6 +9653,7 @@ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -9652,7 +9780,8 @@ "version": "0.2.2", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/regenerate": { "version": "1.4.2", @@ -9753,7 +9882,8 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/resolve": { "version": "1.22.8", @@ -9856,7 +9986,9 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -10043,13 +10175,15 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", "integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/selfsigned": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.4.1.tgz", "integrity": "sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==", "dev": true, + "license": "MIT", "dependencies": { "@types/node-forge": "^1.3.0", "node-forge": "^1" @@ -10078,6 +10212,7 @@ "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", "dev": true, + "license": "MIT", "dependencies": { "debug": "2.6.9", "depd": "2.0.0", @@ -10102,6 +10237,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.0.0" } @@ -10110,13 +10246,15 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/send/node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/serialize-javascript": { "version": "6.0.1", @@ -10132,6 +10270,7 @@ "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", "integrity": "sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw==", "dev": true, + "license": "MIT", "dependencies": { "accepts": "~1.3.4", "batch": "0.6.1", @@ -10150,6 +10289,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.0.0" } @@ -10159,6 +10299,7 @@ "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -10168,6 +10309,7 @@ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", "integrity": "sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==", "dev": true, + "license": "MIT", "dependencies": { "depd": "~1.1.2", "inherits": "2.0.3", @@ -10182,25 +10324,29 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/serve-index/node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/serve-index/node_modules/setprototypeof": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/serve-index/node_modules/statuses": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -10210,6 +10356,7 @@ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", "dev": true, + "license": "MIT", "dependencies": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", @@ -10241,7 +10388,8 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/shallow-clone": { "version": "3.0.1", @@ -10281,6 +10429,7 @@ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -10290,6 +10439,7 @@ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -10353,6 +10503,7 @@ "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.24.tgz", "integrity": "sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==", "dev": true, + "license": "MIT", "dependencies": { "faye-websocket": "^0.11.3", "uuid": "^8.3.2", @@ -10392,6 +10543,7 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">= 8" } @@ -10493,6 +10645,7 @@ "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.2.tgz", "integrity": "sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^4.1.0", "handle-thing": "^2.0.0", @@ -10509,6 +10662,7 @@ "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz", "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^4.1.0", "detect-node": "^2.0.4", @@ -10541,6 +10695,7 @@ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -10633,6 +10788,7 @@ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -10848,7 +11004,8 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/tmp": { "version": "0.0.33", @@ -10876,6 +11033,7 @@ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, + "license": "MIT", "dependencies": { "is-number": "^7.0.0" }, @@ -10888,6 +11046,7 @@ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.6" } @@ -10937,6 +11096,7 @@ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", "dev": true, + "license": "MIT", "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" @@ -11050,6 +11210,7 @@ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -11104,6 +11265,7 @@ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4.0" } @@ -11113,6 +11275,7 @@ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "dev": true, + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -11144,6 +11307,7 @@ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -11166,6 +11330,7 @@ "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", "dev": true, + "license": "MIT", "dependencies": { "minimalistic-assert": "^1.0.0" } @@ -11259,6 +11424,7 @@ "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.15.1.tgz", "integrity": "sha512-5hbAst3h3C3L8w6W4P96L5vaV0PxSmJhxZvWKYIdgxOQm8pNZ5dEOmmSLBVpP85ReeyRt6AS1QJNyo/oFFPeVA==", "dev": true, + "license": "MIT", "dependencies": { "@types/bonjour": "^3.5.9", "@types/connect-history-api-fallback": "^1.3.5", @@ -11318,6 +11484,7 @@ "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz", "integrity": "sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q==", "dev": true, + "license": "MIT", "dependencies": { "colorette": "^2.0.10", "memfs": "^3.4.3", @@ -11434,6 +11601,7 @@ "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz", "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==", "dev": true, + "license": "Apache-2.0", "dependencies": { "http-parser-js": ">=0.5.1", "safe-buffer": ">=5.1.0", @@ -11448,6 +11616,7 @@ "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=0.8.0" } @@ -11581,10 +11750,11 @@ "dev": true }, "node_modules/ws": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.0.tgz", - "integrity": "sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=10.0.0" }, @@ -11676,12 +11846,12 @@ } }, "@angular-devkit/architect": { - "version": "0.1703.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1703.7.tgz", - "integrity": "sha512-SwXbdsZqEE3JtvujCLChAii+FA20d1931VDjDYffrGWdQEViTBAr4NKtDr/kOv8KkgiL3fhGibPnRNUHTeAMtg==", + "version": "0.1703.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1703.8.tgz", + "integrity": "sha512-lKxwG4/QABXZvJpqeSIn/kAwnY6MM9HdHZUV+o5o3UiTi+vO8rZApG4CCaITH3Bxebm7Nam7Xbk8RuukC5rq6g==", "dev": true, "requires": { - "@angular-devkit/core": "17.3.7", + "@angular-devkit/core": "17.3.8", "rxjs": "7.8.1" }, "dependencies": { @@ -11697,15 +11867,15 @@ } }, "@angular-devkit/build-angular": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-17.3.7.tgz", - "integrity": "sha512-AsV80kiFMIPIhm3uzJgOHDj4u6JteUkZedPTKAFFFJC7CTat1luW5qx306vfF7wj62aMvUl5g9HFWaeLghTQGA==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-17.3.8.tgz", + "integrity": "sha512-ixsdXggWaFRP7Jvxd0AMukImnePuGflT9Yy7NJ9/y0cL/k//S/3RnkQv5i411KzN+7D4RIbNkRGGTYeqH24zlg==", "dev": true, "requires": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1703.7", - "@angular-devkit/build-webpack": "0.1703.7", - "@angular-devkit/core": "17.3.7", + "@angular-devkit/architect": "0.1703.8", + "@angular-devkit/build-webpack": "0.1703.8", + "@angular-devkit/core": "17.3.8", "@babel/core": "7.24.0", "@babel/generator": "7.23.6", "@babel/helper-annotate-as-pure": "7.22.5", @@ -11716,7 +11886,7 @@ "@babel/preset-env": "7.24.0", "@babel/runtime": "7.24.0", "@discoveryjs/json-ext": "0.5.7", - "@ngtools/webpack": "17.3.7", + "@ngtools/webpack": "17.3.8", "@vitejs/plugin-basic-ssl": "1.1.0", "ansi-colors": "4.1.3", "autoprefixer": "10.4.18", @@ -12056,12 +12226,12 @@ } }, "@angular-devkit/build-webpack": { - "version": "0.1703.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1703.7.tgz", - "integrity": "sha512-gpt2Ia5I1gmdp3hdbtB7tkZTba5qWmKeVhlCYswa/LvbceKmkjedoeNRAoyr1UKM9GeGqt6Xl1B2eHzCH+ykrg==", + "version": "0.1703.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1703.8.tgz", + "integrity": "sha512-9u6fl8VVOxcLOEMzrUeaybSvi9hSLSRucHnybneYrabsgreDo32tuy/4G8p6YAHQjpWEj9jvF9Um13ertdni5Q==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1703.7", + "@angular-devkit/architect": "0.1703.8", "rxjs": "7.8.1" }, "dependencies": { @@ -12077,9 +12247,9 @@ } }, "@angular-devkit/core": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-17.3.7.tgz", - "integrity": "sha512-qpZ7BShyqS/Jqld36E7kL02cyb2pjn1Az1p9439SbP8nsvJgYlsyjwYK2Kmcn/Wi+TZGIKxkqxgBBw9vqGgeJw==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-17.3.8.tgz", + "integrity": "sha512-Q8q0voCGudbdCgJ7lXdnyaxKHbNQBARH68zPQV72WT8NWy+Gw/tys870i6L58NWbBaCJEUcIj/kb6KoakSRu+Q==", "dev": true, "requires": { "ajv": "8.12.0", @@ -12108,12 +12278,12 @@ } }, "@angular-devkit/schematics": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-17.3.7.tgz", - "integrity": "sha512-d7NKSwstdxYLYmPsbcYO3GOFNfXxXwOyHxSqDa1JNKoSzMdbLj4tvlCpfXw0ThNM7gioMx8aLBaaH1ac+yk06Q==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-17.3.8.tgz", + "integrity": "sha512-QRVEYpIfgkprNHc916JlPuNbLzOgrm9DZalHasnLUz4P6g7pR21olb8YCyM2OTJjombNhya9ZpckcADU5Qyvlg==", "dev": true, "requires": { - "@angular-devkit/core": "17.3.7", + "@angular-devkit/core": "17.3.8", "jsonc-parser": "3.2.1", "magic-string": "0.30.8", "ora": "5.4.1", @@ -12152,23 +12322,23 @@ } }, "@angular/animations": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-17.3.8.tgz", - "integrity": "sha512-ywT3dH0yZeAlo+Vu/6RpRozxzTbu4Bwqky6RgNfk/UMoyXZ5UiFStszDqO/HAyBGGCDHagm1XJkgsNZcStWq8A==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-17.3.11.tgz", + "integrity": "sha512-1y1Egag5jbdUSUWVK+KA39N9VFDrzq9ObjbAhrXFlXKa0npBRw5bprEEeLFQMETMP9Mpjbmj2PoASfl4vqj/Iw==", "requires": { "tslib": "^2.3.0" } }, "@angular/cli": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-17.3.7.tgz", - "integrity": "sha512-JgCav3sdRCoJHwLXxmF/EMzArYjwbqB+AGUW/xIR98oZET8QxCB985bOFUAm02SkAEUVcMJvjxec+WCaa60m/A==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-17.3.8.tgz", + "integrity": "sha512-X5ZOQ6ZTKVHjhIsfl32ZRqbs+FUoeHLbT7x4fh2Os/8ObDDwrUcCJPqxe2b2RB5E2d0vepYigknHeLE7gwzlNQ==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1703.7", - "@angular-devkit/core": "17.3.7", - "@angular-devkit/schematics": "17.3.7", - "@schematics/angular": "17.3.7", + "@angular-devkit/architect": "0.1703.8", + "@angular-devkit/core": "17.3.8", + "@angular-devkit/schematics": "17.3.8", + "@schematics/angular": "17.3.8", "@yarnpkg/lockfile": "1.1.0", "ansi-colors": "4.1.3", "ini": "4.1.2", @@ -12197,25 +12367,25 @@ } }, "@angular/common": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-17.3.8.tgz", - "integrity": "sha512-HEhTibrsWmoKilyhvAFmqg4SH1hWBP3eV9Y689lmsxBQCTRAmRI2pMAoRKQ+dBcoYLE/FZhcmdHJUSl5jR7Isg==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-17.3.11.tgz", + "integrity": "sha512-WG+HQjUaQziYLGdbcv2aW+G73uroN5VF9yk4qWYcolW+VB8SV/DOAol8uFVgCF21cIOl5+wfJZvA4r5oG3dYaw==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-17.3.8.tgz", - "integrity": "sha512-7vZSh2Oa95lZdRR4MhE0icvZ7JUuYY+NSo3eTSOMZSlH5I9rtwQoSFqfoGW+35rXCzGFLOhQmZBbXkxDPDs97Q==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-17.3.11.tgz", + "integrity": "sha512-ingRoREDPkeZGSa13DlztSjZgGArNcmsAWjj+f+vQgQekTjkfQD/N+Bix/LSt5ZdbSjHMtrkDMyRPwbNyk5Keg==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler-cli": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-17.3.8.tgz", - "integrity": "sha512-/TsbCmk7QJUEEZnRdNzi6znsPfoDJuy6vHDqcwWVEcw7y6W7DjirSFmtT9u1QwrV67KM6kOh22+RvPdGM8sPmg==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-17.3.11.tgz", + "integrity": "sha512-O44H/BKGw0TYq0aNTOKYZfQiTrfjbmcTl8y4UX6C9Xey8hXvijzZOAsjA0TGvvDJxeLR+sxaRF4i9Ihoatnd8g==", "dev": true, "requires": { "@babel/core": "7.23.9", @@ -12229,41 +12399,41 @@ } }, "@angular/core": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-17.3.8.tgz", - "integrity": "sha512-+tUQ+B1yVvNbczzaWBCgJWWIgZ2z+GVJWu+UNOHHWzdqD8qpXjuIkDfnhyLNeGvvXgsqey4u6ApFf2SoFYLjuA==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-17.3.11.tgz", + "integrity": "sha512-2wPZwXFei3kVxK2ylIH6CdGebrC4kvooFx7qoX+250OITAEFMODJGdh/e3x0DpFUjlRvQtIFQ+YpQlfC5JnL4g==", "requires": { "tslib": "^2.3.0" } }, "@angular/forms": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-17.3.8.tgz", - "integrity": "sha512-ZoPJMx3O1eKliK6oEUqtKJNqrLwwOLBC5x+zbCHrwJeBB3lbgWXrrnTrFvCXpp3QVERAboZTzZ3XBmHX1o6gmw==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-17.3.11.tgz", + "integrity": "sha512-719flo/1L64YOAxL3pzszTK+7bczVVOQDXT1khnjb48GVZdBUBwW2D+cFbqSW1VMuWWr2Amwy1lL4YM5S7qPJQ==", "requires": { "tslib": "^2.3.0" } }, "@angular/platform-browser": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-17.3.8.tgz", - "integrity": "sha512-UMGSV3TdJqMtf2xvhbW6fx8TKJLOoHQgFxohhy3y8GvxHBu+PUyrwhovb7r03bs+muY6u4ygGCMm7Mt1TFVwfQ==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-17.3.11.tgz", + "integrity": "sha512-sWjMy8qKH6AOt5YV4OMoPhExCbGdRIPjNSwUrxCm8a8Zz5DamoX3Sib9yRk1etjBuRj+oJySSxISJim2OYXJQQ==", "requires": { "tslib": "^2.3.0" } }, "@angular/platform-browser-dynamic": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-17.3.8.tgz", - "integrity": "sha512-uL6FPh+Pr9xzIjyiv3p66jteq/CytHP1+m5jOsIKa1LUwTXx0a2pmOYcZxXpNkQGR9Ir/dlbrYmKlSP3QZf7uw==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-17.3.11.tgz", + "integrity": "sha512-JPA0enJyJQ5H340WQ2wfXbCCHzjBiAljEDMr/Siw/CzSe0XI8aQYDqKMLUMtRyCdYhNCEYjnBWgXBi9Za9blZg==", "requires": { "tslib": "^2.3.0" } }, "@angular/router": { - "version": "17.3.8", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-17.3.8.tgz", - "integrity": "sha512-2JKTW1u1H+iNDfAmIjEiMJjQHfzb97TBk23/euIR0JuyGHjyywkrQ97HHiOEAJyy/Zpr0Vbem3HRqDqSfjTWvg==", + "version": "17.3.11", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-17.3.11.tgz", + "integrity": "sha512-A3aU6uHAeJfsfCw1dgNXHn2Kjw/UieRMnFwENkzz96YFCvFPCEZjy/mODuE3zHludMuqVsJhM/uUxWu8ATRTcA==", "requires": { "tslib": "^2.3.0" } @@ -13805,9 +13975,9 @@ } }, "@ngtools/webpack": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-17.3.7.tgz", - "integrity": "sha512-kQNS68jsPQlaWAnKcVeFKNHp6K90uQANvq+9oXb/i+JnYWzuBsHzn2r8bVdMmvjd1HdBRiGtg767XRk3u+jgRw==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-17.3.8.tgz", + "integrity": "sha512-CjSVVa/9fzMpEDQP01SC4colKCbZwj7vUq0H2bivp8jVsmd21x9Fu0gDBH0Y9NdfAIm4eGZvmiZKMII3vIOaYQ==", "dev": true, "requires": {} }, @@ -14082,13 +14252,13 @@ "optional": true }, "@schematics/angular": { - "version": "17.3.7", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-17.3.7.tgz", - "integrity": "sha512-HaJroKaberriP4wFefTTSVFrtU9GMvnG3I6ELbOteOyKMH7o2V91FXGJDJ5KnIiLRlBmC30G3r+9Ybc/rtAYkw==", + "version": "17.3.8", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-17.3.8.tgz", + "integrity": "sha512-2g4OmSyE9YGq50Uj7fNI26P/TSAFJ7ZuirwTF2O7Xc4XRQ29/tYIIqhezpNlTb6rlYblcQuMcUZBrMfWJHcqJw==", "dev": true, "requires": { - "@angular-devkit/core": "17.3.7", - "@angular-devkit/schematics": "17.3.7", + "@angular-devkit/core": "17.3.8", + "@angular-devkit/schematics": "17.3.8", "jsonc-parser": "3.2.1" } }, @@ -14259,9 +14429,9 @@ } }, "@types/express-serve-static-core": { - "version": "4.19.0", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.0.tgz", - "integrity": "sha512-bGyep3JqPCRry1wq+O5n7oiBgGWmeIJXPjXXCo8EK0u8duZGSYar7cGqd3ML2JUsLGeB7fmc06KYo9fLGWqPvQ==", + "version": "4.19.5", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.5.tgz", + "integrity": "sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==", "dev": true, "requires": { "@types/node": "*", @@ -14920,12 +15090,12 @@ } }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" } }, "browserslist": { @@ -16028,9 +16198,9 @@ } }, "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "requires": { "to-regex-range": "^5.0.1" @@ -16967,9 +17137,9 @@ "dev": true }, "launch-editor": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.6.1.tgz", - "integrity": "sha512-eB/uXmFVpY4zezmGp5XtU21kwo7GBbKB+EQ+UZeWtGb9yAM5xt/Evk+lYH3eRNAtId+ej4u7TYPFZ07w4s7rRw==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.8.0.tgz", + "integrity": "sha512-vJranOAJrI/llyWGRQqiDM+adrw+k83fvmmx3+nV47g3+36xM15jE+zyZ6Ffel02+xSvuM0b2GDRosXZkbb6wA==", "dev": true, "requires": { "picocolors": "^1.0.0", @@ -17704,9 +17874,9 @@ } }, "object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", "dev": true }, "obuf": { @@ -19814,9 +19984,9 @@ "dev": true }, "ws": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.0.tgz", - "integrity": "sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "dev": true, "requires": {} }, diff --git a/src/AngularComponents/package.json b/src/AngularComponents/package.json index 5a824958..f298b31e 100644 --- a/src/AngularComponents/package.json +++ b/src/AngularComponents/package.json @@ -10,23 +10,23 @@ "private": true, "dependencies": { "@angular-slider/ngx-slider": "^17.0.2", - "@angular/animations": "^17.3.8", - "@angular/common": "^17.3.8", - "@angular/compiler": "^17.3.8", - "@angular/core": "^17.3.8", - "@angular/forms": "^17.3.8", - "@angular/platform-browser": "^17.3.8", - "@angular/platform-browser-dynamic": "^17.3.8", - "@angular/router": "^17.3.8", + "@angular/animations": "^17.3.11", + "@angular/common": "^17.3.11", + "@angular/compiler": "^17.3.11", + "@angular/core": "^17.3.11", + "@angular/forms": "^17.3.11", + "@angular/platform-browser": "^17.3.11", + "@angular/platform-browser-dynamic": "^17.3.11", + "@angular/router": "^17.3.11", "rxjs": "~7.4.0", "tslib": "^2.3.0", "zone.js": "~0.14.2" }, "devDependencies": { - "@angular-devkit/build-angular": "^17.3.7", - "@angular/cli": "^17.3.7", - "@angular/compiler-cli": "^17.3.8", + "@angular-devkit/build-angular": "^17.3.8", + "@angular/cli": "^17.3.8", + "@angular/compiler-cli": "^17.3.11", "@types/node": "^12.11.1", "typescript": "~5.2.2" } -} +} \ No newline at end of file diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js index bf469cd9..767fc7e3 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],{193:()=>{let Ae=null,Cs=1;const ii=Symbol("SIGNAL");function K(e){const n=Ae;return Ae=e,n}function kh(e){if((!zr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Cs)){if(!e.producerMustRecompute(e)&&!Xl(e))return e.dirty=!1,void(e.lastCleanEpoch=Cs);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Cs}}function Xl(e){Ri(e);for(let n=0;n0}function Ri(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qh=null;function Qe(e){return"function"==typeof e}function Zh(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 tc=Zh(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 nc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=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(Qe(i))try{i()}catch(o){n=o instanceof tc?o.errors:[o]}const{_teardowns:r}=this;if(r){this._teardowns=null;for(const o of r)try{Jh(o)}catch(s){n=n??[],s instanceof tc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jh(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&nc(t,n)}remove(n){const{_teardowns:t}=this;t&&nc(t,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const e=new jt;return e.closed=!0,e})();const Yh=jt.EMPTY;function Kh(e){return e instanceof jt||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Jh(e){Qe(e)?e():e.unsubscribe()}const ri={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bs={setTimeout(...e){const{delegate:n}=bs;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xh(e){bs.setTimeout(()=>{const{onUnhandledError:n}=ri;if(!n)throw e;n(e)})}function Ds(){}const RE=ic("C",void 0,void 0);function ic(e,n,t){return{kind:e,value:n,error:t}}let oi=null;function Es(e){if(ri.useDeprecatedSynchronousErrorHandling){const n=!oi;if(n&&(oi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=oi;if(oi=null,t)throw i}}else e()}class rc extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Kh(n)&&n.add(this)):this.destination=kE}static create(n,t,i){return new ep(n,t,i)}next(n){this.isStopped?sc(function LE(e){return ic("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sc(function PE(e){return ic("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sc(RE,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()}}}class ep extends rc{constructor(n,t,i){let r;if(super(),Qe(n))r=n;else if(n){let o;({next:r,error:t,complete:i}=n),this&&ri.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,r=r?.bind(o),t=t?.bind(o),i=i?.bind(o)}this.destination={next:r?oc(r):Ds,error:oc(t??tp),complete:i?oc(i):Ds}}}function oc(e,n){return(...t)=>{try{e(...t)}catch(i){ri.useDeprecatedSynchronousErrorHandling?function FE(e){ri.useDeprecatedSynchronousErrorHandling&&oi&&(oi.errorThrown=!0,oi.error=e)}(i):Xh(i)}}}function tp(e){throw e}function sc(e,n){const{onStoppedNotification:t}=ri;t&&bs.setTimeout(()=>t(e,n))}const kE={closed:!0,next:Ds,error:tp,complete:Ds},ac="function"==typeof Symbol&&Symbol.observable||"@@observable";function VE(e){return e}let Ft=(()=>{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 BE(e){return e&&e instanceof rc||function HE(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Kh(e)}(t)?t:new ep(t,i,r);return Es(()=>{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=ip(i))((r,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s?.unsubscribe()}},o,r)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ac](){return this}pipe(...t){return function np(e){return 0===e.length?VE:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ip(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ip(e){var n;return null!==(n=e??ri.Promise)&&void 0!==n?n:Promise}const jE=Zh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Gr=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new rp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jE}next(t){Es(()=>{if(this._throwIfClosed(),!this.isStopped){const i=this.observers.slice();for(const r of i)r.next(t)}})}error(t){Es(()=>{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(){Es(()=>{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=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?Yh:(o.push(t),new jt(()=>nc(o,t)))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ft;return t.source=this,t}}return e.create=(n,t)=>new rp(n,t),e})();class rp extends Gr{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:Yh}}class UE extends Gr{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 lc(e){return n=>{if(function $E(e){return Qe(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")}}class cc extends rc{constructor(n,t,i,r,o){super(n),this.onFinalize=o,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=r?function(s){try{r(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function uc(e,n){return lc((t,i)=>{let r=0;t.subscribe(new cc(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 Pi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Fi="__parameters__";function Vi(e,n,t){return bn(()=>{const i=function dc(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(Fi)?l[Fi]:Object.defineProperty(l,Fi,{value:[]})[Fi];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 de=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 zE(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 fc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const GE=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function V(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(GE)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return cp(e,Os)||cp(e,up)}function cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ts(e){return e&&(e.hasOwnProperty(hc)||e.hasOwnProperty(YE))?e[hc]:null}const Os=fe({\u0275prov:fe}),hc=fe({\u0275inj:fe}),up=fe({ngInjectableDef:fe}),YE=fe({ngInjectorDef:fe});class L{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 _c(e){return e&&!!e.\u0275providers}const qr=fe({\u0275cmp:fe}),yc=fe({\u0275dir:fe}),Cc=fe({\u0275pipe:fe}),fp=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Wr=fe({__NG_ELEMENT_ID__:fe}),hp=fe({__NG_ENV_ID__:fe});function G(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(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 bc;function pp(){return bc}function gt(e){const n=bc;return bc=e,n}function gp(e,n,t){const i=Ss(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 wc()}const Qr={},Dc="__NG_DI_FLAG__",xs="ngTempTokenPath",nI=/\n/gm,mp="__source";let Hi;function Hn(e){const n=Hi;return Hi=e,n}function oI(e,n=ie.Default){if(void 0===Hi)throw new T(-203,!1);return null===Hi?gp(e,void 0,n):Hi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(pp()||oI)(V(e),n)}function W(e,n=ie.Default){return oe(e,As(n))}function As(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){const n=[];for(let t=0;tArray.isArray(t)?Bi(t,n):n(t))}function _p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let i=ji(e,n);return i>=0?e[1|i]=t:(i=~i,function yp(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 Tc(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function Cp(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($t(i))return!1;s=!0}}}}else{if(!s&&!$t(i)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,i=l|1&i}}return $t(i)||s}function $t(e){return!(1&e)}function vI(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&&!$t(s)&&(n+=Sp(o,r),r=""),i=s,o=o||!$t(i);t++}return""!==r&&(n+=Sp(o,r)),n}function zt(e){return bn(()=>{const n=Op(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};xp(t);const i=e.dependencies;return t.directiveDefs=Fs(i,!1),t.pipeDefs=Fs(i,!0),t.id=function TI(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 II(e){return J(e)||Ue(e)}function MI(e){return null!==e}function Bn(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 Tp(e,n){if(null==e)return nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Oe.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Oe.None?[i,a]:i,n[o]=s):t[o]=i}return t}function j(e){return bn(()=>{const n=Op(e);return xp(n),n})}function vt(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 J(e){return e[qr]||null}function Ue(e){return e[yc]||null}function Ye(e){return e[Cc]||null}function Op(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||nn,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:Tp(e.inputs,n),outputs:Tp(e.outputs),debugInfo:null}}function xp(e){e.features?.forEach(n=>n(e))}function Fs(e,n){if(!e)return null;const t=n?Ye:II;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MI)}function OI(...e){return{\u0275providers:Nc(0,e),\u0275fromNgModule:!0}}function Nc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Bi(n,s=>{const a=s;Vs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Ap(r,o),t}function Ap(e,n){for(let t=0;t{n(o,i)})}}function Vs(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=Ts(e);const s=!o&&J(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ts(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)Vs(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bi(o.imports,u=>{Vs(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,n)}if(!a){const c=si(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Oc,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Rc(e,n){for(let t of e)_c(t)&&(t=t.\u0275providers),Array.isArray(t)?Rc(t,n):n(t)}const xI=fe({provide:String,useValue:fe});function Pc(e){return null!==e&&"object"==typeof e&&xI in e}function li(e){return"function"==typeof e}const Lc=new L(""),Hs={},NI={};let Fc;function Bs(){return void 0===Fc&&(Fc=new Ps),Fc}class rn{}class $i extends rn{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,Vc(n,s=>this.processProvider(s)),this.records.set(wp,zi(void 0,this)),r.has("environment")&&this.records.set(rn,zi(void 0,this));const o=this.records.get(Lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Oc,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=Hn(this),i=gt(void 0);try{return n()}finally{Hn(t),gt(i)}}get(n,t=Qr,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hp))return n[hp](this);i=As(i);const o=Hn(this),s=gt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kI(e){return"function"==typeof e||"object"==typeof e&&e instanceof L}(n)&&Ss(n);l=c&&this.injectableDefInScope(c)?zi(kc(n),Hs):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?Bs():this.parent).get(n,t=i&ie.Optional&&t===Qr?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xs]=a[xs]||[]).unshift(je(n)),o)throw a;return function aI(e,n,t,i){const r=e[xs];throw n[mp]&&r.unshift(n[mp]),e.message=function lI(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(nI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[xs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{gt(s),Hn(o)}}resolveInjectorInitializers(){const n=K(null),t=Hn(this),i=gt(void 0);try{const o=this.get(Ui,se,ie.Self);for(const s of o)s()}finally{Hn(t),gt(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=li(n=V(n))?n:V(n&&n.provide);const i=function PI(e){return Pc(e)?zi(void 0,e.useValue):zi(Pp(e),Hs)}(n);if(!li(n)&&!0===n.multi){let r=this.records.get(t);r||(r=zi(void 0,Hs,!0),r.factory=()=>Ec(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===Hs&&(t.value=NI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FI(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=V(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 kc(e){const n=Ss(e),t=null!==n?n.factory:si(e);if(null!==t)return t;if(e instanceof L)throw new T(204,!1);if(e instanceof Function)return function RI(e){if(e.length>0)throw new T(204,!1);const t=function ZE(e){return e&&(e[Os]||e[up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function Pp(e,n,t){let i;if(li(e)){const r=V(e);return si(r)||kc(r)}if(Pc(e))i=()=>V(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ec(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))i=()=>oe(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return si(r)||kc(r);i=()=>new r(...Ec(e.deps))}return i}function zi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vc(e,n){for(const t of e)Array.isArray(t)?Vc(t,n):t&&_c(t)?Vc(t.\u0275providers,n):n(t)}const Me=0,O=1,P=2,Ne=3,Gt=4,Xe=5,St=6,qi=7,ve=8,Ve=9,qt=10,H=11,Jr=12,Vp=13,Wi=14,Se=15,Xr=16,Qi=17,In=18,eo=19,Hp=20,jn=21,$s=22,ci=23,q=25,Bc=1,on=7,Zi=9,Re=10;var jc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jc||{});function et(e){return Array.isArray(e)&&"object"==typeof e[Bc]}function tt(e){return Array.isArray(e)&&!0===e[Bc]}function Uc(e){return!!(4&e.flags)}function ui(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Wt(e){return!!e.template}function $c(e){return!!(512&e[P])}class YI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function $p(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function sn(){return zp}function zp(e){return e.type.prototype.ngOnChanges&&(e.setInput=JI),KI}function KI(){const e=qp(this),n=e?.current;if(n){const t=e.previous;if(t===nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JI(e,n,t,i,r){const o=this.declaredInputs[i],s=qp(e)||function XI(e,n){return e[Gp]=n}(e,{previous:nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YI(c&&c.currentValue,t,l===nn),$p(e,n,r,t)}sn.ngInherit=!0;const Gp="__ngSimpleChanges__";function qp(e){return e[Gp]||null}const an=function(e,n,t){};let Zp=!1;function pe(e){for(;Array.isArray(e);)e=e[Me];return e}function no(e,n){return pe(n[e])}function at(e,n){return pe(n[e.index])}function io(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return et(t)?t:t[Me]}function Qc(e){return!(128&~e[P])}function ln(e,n){return null==n?null:e[n]}function Yp(e){e[Qi]=0}function s0(e){1024&e[P]||(e[P]|=1024,Qc(e)&&ro(e))}function Zc(e){return!!(9216&e[P]||e[ci]?.dirty)}function Yc(e){e[qt].changeDetectionScheduler?.notify(1),Zc(e)?ro(e):64&e[P]&&(function t0(){return Zp}()?(e[P]|=1024,ro(e)):e[qt].changeDetectionScheduler?.notify())}function ro(e){e[qt].changeDetectionScheduler?.notify();let n=di(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Qc(n));)n=di(n)}function qs(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}function di(e){const n=e[Ne];return tt(n)?n[Ne]:n}const B={lFrame:sg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xp(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function te(){return B.lFrame.tView}function U(e){return B.lFrame.contextLView=e,e[ve]}function $(e){return B.lFrame.contextLView=null,e}function he(){let e=eg();for(;null!==e&&64===e.type;)e=e.parent;return e}function eg(){return B.lFrame.currentTNode}function cn(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function Jc(){return B.lFrame.isParent}function Xc(){B.lFrame.isParent=!1}function lt(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Qt(){return B.lFrame.bindingIndex++}function Sn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function v0(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,eu(n)}function eu(e){B.lFrame.currentDirectiveIndex=e}function nu(){return B.lFrame.currentQueryIndex}function Ws(e){B.lFrame.currentQueryIndex=e}function y0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]: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=y0(o),null===r||(o=o[Wi],10&r.type))););if(null===r)return!1;n=r,e=o}const i=B.lFrame=og();return i.currentTNode=n,i.lView=e,!0}function iu(e){const n=og(),t=e[O];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function og(){const e=B.lFrame,n=null===e?null:e.child;return null===n?sg(e):n}function sg(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 ag(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lg=ag;function ru(){const e=ag();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 nt(){return B.lFrame.selectedIndex}function fi(e){B.lFrame.selectedIndex=e}function _e(){const e=B.lFrame;return io(e.tView,e.selectedIndex)}let dg=!0;function so(){return dg}function un(e){dg=e}function Qs(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Qi]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,hg(a,o)):hg(a,o)}const Ji=-1;class ao{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function au(e){return e!==Ji}function lo(e){return 32767&e}function co(e,n){let t=function x0(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wi],t--;return i}let lu=!0;function Ks(e){const n=lu;return lu=e,n}const pg=255,gg=5;let A0=0;const dn={};function Js(e,n){const t=mg(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,cu(i.data,e),cu(n,null),cu(i.blueprint,null));const r=Xs(e,n),o=e.injectorIndex;if(au(r)){const s=lo(r),a=co(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Dg(r),null===i)return Ji;if(t++,r=r[Wi],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ji}function uu(e,n,t){!function N0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Wr)&&(i=t[Wr]),null==i&&(i=t[Wr]=A0++);const r=i&pg;n.data[e+(r>>gg)]|=1<=0?n&pg:F0:n}(t);if("function"==typeof o){if(!rg(n,e,i))return i&ie.Host?vg(r,0,i):_g(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;wc()}finally{lg()}}else if("number"==typeof o){let s=null,a=mg(e,n),l=Ji,c=i&ie.Host?n[Se][Xe]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Xs(e,n):n[a+8],l!==Ji&&bg(i,!1)?(s=n[O],a=lo(l),n=co(l,n)):a=-1);-1!==a;){const u=n[O];if(wg(o,a,u.data)){const d=P0(a,n,t,s,i,c);if(d!==dn)return d}l=n[a+8],l!==Ji&&bg(i,n[O].data[a+8]===c)&&wg(o,a,n)?(s=u,a=lo(l),n=co(l,n)):a=-1}}return r}function P0(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=ea(a,s,t,null==i?ui(a)&&lu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?hi(n,s,u,a):dn}function ea(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&&m.type===t)return p}if(r){const p=s[l];if(p&&Wt(p)&&p.type===t)return l}return null}function hi(e,n,t,i){let r=e[t];const o=n.data;if(function M0(e){return e instanceof ao}(r)){const s=r;s.resolving&&function XE(e,n){throw n&&n.join(" > "),new T(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=Ks(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?gt(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 E0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=zp(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&>(c),Ks(a),s.resolving=!1,lg()}}return r}function wg(e,n,t){return!!(t[n+(e>>gg)]&1<{const n=e.prototype.constructor,t=n[En]||du(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[En]||du(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(e){return Ms(e)?()=>{const n=du(V(e));return n&&n()}:si(e)}function Dg(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Tg(e,n=null,t=null,i){const r=Og(e,n,t,i);return r.resolveInjectorInitializers(),r}function Og(e,n=null,t=null,i,r=new Set){const o=[t||se,OI(e)];return i=i||("object"==typeof e?void 0:je(e)),new $i(o,n||Bs(),i||null,r)}let Ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qr;static#t=this.NULL=new Ps;static create(t,i){if(Array.isArray(t))return Tg({name:""},i,t,"");{const r=t.name??"";return Tg({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=ne({token:e,providedIn:"any",factory:()=>oe(wp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function hu(e){return e.ngOriginalError}class fn{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&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}}const Ag=new L("",{providedIn:"root",factory:()=>W(fn).handleError.bind(void 0)});let tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=q0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class G0 extends tr{constructor(n){super(),this._lView=n}onDestroy(n){return qs(this._lView,n),()=>function Kc(e,n){if(null===e[jn])return;const t=e[jn].indexOf(n);-1!==t&&e[jn].splice(t,1)}(this._lView,n)}}function q0(){return new G0(w())}function W0(){return nr(he(),w())}function nr(e,n){return new ct(at(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=W0}return e})();function Rg(e){return e instanceof ct?e.nativeElement:e}function pu(e){return n=>{setTimeout(e,void 0,n)}}const ye=class Q0 extends Gr{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function Fp(){return void 0!==pp()||null!=function rI(){return Hi}()}()&&(this.destroyRef=W(tr,{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=pu(o),r&&(r=pu(r)),s&&(s=pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof jt&&n.add(a),a}};function Z0(){return this._results[Symbol.iterator]()}class gu{static#e=Symbol.iterator;get changes(){return this._changes??=new ye}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=gu.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 mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ivM}),vM="ng",Xg=new L(""),ir=new L("",{providedIn:"platform",factory:()=>"unknown"}),em=new L("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let tm=()=>null;function Su(e,n,t=!1){return tm(e,n,t)}const sm=new L("",{providedIn:"root",factory:()=>!1});let ha,pa;function sr(e){return function Au(){if(void 0===ha&&(ha=null,de.trustedTypes))try{ha=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function lm(e){return function Nu(){if(void 0===pa&&(pa=null,de.trustedTypes))try{pa=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createHTML(e)||e}class dm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${op})`}}function $n(e){return e instanceof dm?e.changingThisBreaksApplicationSecurity:e}function vo(e,n){const t=function FM(e){return e instanceof dm&&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 kM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class VM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=sr(n),t}}const BM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(BM)?e:"unsafe:"+e}function Tn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _o(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const hm=Tn("area,br,col,hr,img,wbr"),pm=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Tn("rp,rt"),Pu=_o(hm,_o(pm,Tn("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")),_o(gm,Tn("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")),_o(gm,pm)),Lu=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mm=_o(Lu,Tn("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"),Tn("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")),jM=Tn("script,style,template");class UM{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=GM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=zM(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=vm(n).toLowerCase();if(!Pu.hasOwnProperty(t))return this.sanitizedSomething=!0,!jM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=vm(n).toLowerCase();Pu.hasOwnProperty(t)&&!hm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ym(n))}}function zM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _m(n);return n}function GM(e){const n=e.firstChild;if(n&&function $M(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _m(n);return n}function vm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _m(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WM=/([^\#-~ |!])/g;function ym(e){return e.replace(/&/g,"&").replace(qM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ga;function Fu(e){return"content"in e&&function ZM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=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}(ar||{});function Cm(e){const n=yo();return n?lm(n.sanitize(ar.HTML,e)||""):vo(e,"HTML")?lm($n(e)):function QM(e,n){let t=null;try{ga=ga||function fm(e){const n=new VM(e);return function HM(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new kM(n):n}(e);let i=n?String(n):"";t=ga.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=ga.getInertBodyElement(i)}while(i!==o);return sr((new UM).sanitizeChildren(Fu(t)||t))}finally{if(t){const i=Fu(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Un(),G(e))}function zn(e){const n=yo();return n?n.sanitize(ar.URL,e)||"":vo(e,"URL")?$n(e):Ru(G(e))}function yo(){const e=w();return e&&e[qt].sanitizer}const nS=/^>|^->||--!>|)/g,rS="\u200b$1\u200b";function _a(e){return e.ownerDocument.defaultView}var Gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gn||{});let Bu;function ju(e,n){return Bu(e,n)}function cr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:et(i)&&(s=!0,i=i[Me]);const a=pe(i);0===e&&null!==t?null==r?Rm(n,t,a):pi(n,t,a,r||null,!0):1===e&&null!==t?pi(n,t,a,r||null,!0):2===e?function bo(e,n,t){const i=wa(e,n);i&&function bS(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IS(e,n,t,i,r){const o=t[on];o!==pe(t)&&cr(n,e,i,o,r);for(let a=Re;an.replace(iS,rS))}(n))}function ya(e,n,t){return e.createElement(n,t)}function xm(e,n){n[qt].changeDetectionScheduler?.notify(1),Da(e,n,n[H],2,null,null)}function Am(e,n){const t=e[Zi],i=t.indexOf(n);t.splice(i,1)}function Co(e,n){if(e.length<=Re)return;const t=Re+n,i=e[t];if(i){const r=i[Xr];null!==r&&r!==e&&Am(r,i),n>0&&(e[t-1][Gt]=i[Gt]);const o=Ns(e,Re+n);!function gS(e,n){xm(e,n),n[Me]=null,n[Xe]=null}(i[O],i);const s=o[In];null!==s&&s.detachView(o[O]),i[Ne]=null,i[Gt]=null,i[P]&=-129}return i}function Ca(e,n){if(!(256&n[P])){const t=n[H];t.destroyNode&&Da(e,n,t,3,null,null),function vS(e){let n=e[Jr];if(!n)return zu(e[O],e);for(;n;){let t=null;if(et(n))t=n[Jr];else{const i=n[Re];i&&(t=i)}if(!t){for(;n&&!n[Gt]&&n!==e;)et(n)&&zu(n[O],n),n=n[Ne];null===n&&(n=e),et(n)&&zu(n[O],n),t=n&&n[Gt]}n=t}}(n)}}function zu(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[ci]&&function $h(e){if(Ri(e),zr(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[qi]=null);const r=n[jn];if(null!==r){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ut.None||o===Ut.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function pi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Rm(e,n,t){e.appendChild(n,t)}function Pm(e,n,t,i,r){null!==i?pi(e,n,t,i,r):Rm(e,n,t)}function wa(e,n){return e.parentNode(n)}let qu,km=function Fm(e,n,t){return 40&e.type?at(e,t):null};function ba(e,n,t,i){const r=Gu(e,i,n),o=n[H],a=function Lm(e,n,t){return km(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lq&&zm(e,n,q,!1),an(s?2:0,r),t(i,r)}finally{fi(o),an(s?3:1,r)}}function Yu(e,n,t){if(Uc(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Zm(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=Oe.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?Ym(i,t,c,a,l):Ym(i,t,c,a)}return i}function Ym(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 yt(e,n,t,i,r,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(rd(e,t,u,i,r),ui(n)&&function HS(e,n){const t=Tt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function VS(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 ed(e,n,t,i){if(Xp()){const r=null===i?null:{"":-1},o=function GS(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,Do(e,t,r.hostVars,Q),r)}function hn(e,n,t,i,r,o){const s=at(e,n);!function nd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function KS(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Gt]=n),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},av=100;function Sa(e,n=!0,t=0){const i=e[qt],r=i.rendererFactory;r.begin?.();try{!function sT(e,n){ad(e,n);let t=0;for(;Zc(e);){if(t===av)throw new T(103,!1);t++,ad(e,1)}}(e,t)}catch(s){throw n&&Ma(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function aT(e,n,t,i){const r=n[P];if(!(256&~r))return;n[qt].inlineEffectRunner?.flush(),iu(n);let s=null,a=null;(function lT(e){return 2!==e.type})(e)&&(a=function nT(e){return e[ci]??function iT(e){const n=sv.pop()??Object.create(oT);return n.lView=e,n}(e)}(n),s=function jh(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Yp(n),function ng(e){return B.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qm(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Zs(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Ys(n,d,0,null),ou(n,0)}if(function cT(e){for(let n=$g(e);null!==n;n=zg(n)){if(!(n[P]&jc.HasTransplantedViews))continue;const t=n[Zi];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function rT(e){e.lView[ci]!==e&&(e.lView=null,sv.push(e))}(a)),ru()}}function lv(e,n){for(let t=$g(e);null!==t;t=zg(t))for(let i=Re;i-1&&(Co(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Ca(this._lView[O],this._lView)}onDestroy(n){qs(this._lView,n)}markForCheck(){So(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Yc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Sa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xm(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,Yc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();const dT=xn,fT=class extends dT{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 Eo(e,n,t,i){const r=K(null);try{const o=n.tView,l=Ea(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[Xr]=e[n.index];const u=e[In];return null!==u&&(l[In]=u.createEmbeddedView(o)),od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new To(r)}};function hT(){return Ta(he(),w())}function Ta(e,n){return 4&e.type?new fT(n,e,nr(e,n)):null}class hd{}class kT{}class vv{}class HT{resolveComponentFactory(n){throw function VT(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}let Ra=(()=>{class e{static#e=this.NULL=new HT}return e})();class yv{}let Yt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BT(){const e=w(),t=Tt(he().index,e);return(et(t)?t:e)[H]}()}return e})(),jT=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();const pd={};function wv(...e){}class De{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GT(e){const n=()=>{!function zT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function qT(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return bv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Dv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return bv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Dv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),gd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(De.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,$T,wv,wv);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 $T={};function gd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,gd(e)}class Ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}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)}}let Ro=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();function La(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Um(e,t,o.join(" "))}}(p,Te,y,i),void 0!==t&&function oO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=aO}return e})();function aO(){return Pv(he(),w())}const lO=gn,Nv=class extends lO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return nr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xs(this._hostTNode,this._hostLView);if(au(n)){const t=co(n,this._hostLView),i=lo(n);return new ze(t[O].data[i+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Rv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Re}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,dr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Kr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Fo(J(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(rn,null);y&&(o=y)}J(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,dr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function o0(e){return tt(e[Ne])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ne],c=new Nv(l,l[Xe],l[Ne]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Io(s,r,o,i),n.attachToViewContainerRef(),_p(Cd(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Rv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);i&&(Ns(Cd(this._lContainer),t),Ca(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);return i&&null!=Ns(Cd(this._lContainer),t)?new To(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Rv(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Pv(e,n){let t;const i=n[e.index];return tt(i)?t=i:(t=Xm(i,n,null,e),n[e.index]=t,Ia(n,t)),Lv(t,n,e,i),new Nv(t,e,n)}let Lv=function kv(e,n,t,i){if(e[on])return;let r;r=8&t.type?pe(i):function cO(e,n){const t=e[H],i=t.createComment(""),r=at(n,e);return pi(t,wa(t,r),i,function DS(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[on]=r},wd=()=>!1;class bd{constructor(n){this.queryList=n,this.matches=null}clone(){return new bd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dd{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 Ed{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=Re;d=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Yr(r.hostAttrs,t=Yr(t,r.hostAttrs))}}(i)}function OO(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 Va(e){return e===nn?{}:e===se?[]:e}function AO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function NO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function RO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class vi{}class BO{}class xd extends vi{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xv(this);const r=function Je(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 xt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Og(n,t,[{provide:vi,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ad extends BO{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}let Vo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new UE(!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.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ba(e){return!!Nd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Nd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function mn(e,n,t){return e[n]=t}function Pe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _i(e,n,t,i){const r=Pe(e,n,t);return Pe(e,n+1,i)||r}function F(e,n,t,i,r,o,s,a){const l=w(),c=te(),u=e+q,d=c.firstCreatePass?function QO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=ur(n,e,4,s||null,ln(c,a));ed(n,t,u,ln(c,l)),Qs(n,u);const d=u.tView=Xu(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,c,l,n,t,i,r,o,s):c.data[u];cn(d,!1);const h=u_(c,l,d,e);so()&&ba(c,l,h,d),rt(h,l);const p=Xm(h,l,h,d);return l[u]=p,Ia(l,p),function Fv(e,n,t){return wd(e,n,t)}(p,d,l),Gs(d)&&Ku(c,l,d),null!=s&&Ju(l,d,a),F}let u_=function d_(e,n,t,i){return un(!0),n[H].createComment("")};function ut(e,n,t,i){const r=w();return Pe(r,Qt(),n)&&(te(),hn(_e(),r,e,n,t,i)),ut}function wr(e,n,t,i){return Pe(e,Qt(),t)?n+G(t)+i:Q}function Wa(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Ud(e){return 2|e}function Ci(e){return(131068&e)>>2}function $d(e,n){return-131069&e|n<<2}function zd(e){return 1|e}function U_(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Qn(r):Ci(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Px(e[s],n)&&(a=!0,e[s+1]=i?zd(c):Ud(c)),s=i?Qn(c):Ci(c)}a&&(e[t+1]=i?Ud(r):zd(r))}function Px(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 Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $_(e){return e.substring(Ge.key,Ge.keyEnd)}function z_(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function Vx(e,n,t){for(;n32;)n++;return n}(e,Ge.key=n,t),Or(e,n,t))}function Or(e,n,t){for(;n=0;t=z_(n,t))Mt(e,$_(n),!0)}function Kt(e,n,t,i){const r=w(),o=te(),s=Sn(2);o.firstUpdatePass&&Y_(o,e,s,i),n!==Q&&Pe(r,s,n)&&J_(o,o.data[nt()],r,r[H],e,r[s+1]=function Yx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je($n(e)))),e}(n,t),i,s)}function Z_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[nt()],s=Z_(e,t);ey(o,i)&&null===n&&!s&&(n=!1),n=function $x(e,n,t,i){const r=function tu(e){const n=B.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=zo(t=qd(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=qd(r,e,n,t,i),null===o){let l=function zx(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ci(i))return e[Qn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=qd(null,e,n,l[1],i),l=zo(l,n.attrs,i),function Gx(e,n,t,i){e[Qn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qx(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=Qn(e[a+1]);e[i+1]=Wa(h,a),0!==h&&(e[h+1]=$d(e[h+1],i)),e[a+1]=function xx(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Wa(a,0),0!==a&&(e[a+1]=$d(e[a+1],i)),a=i;else e[i+1]=Wa(l,0),0===a?a=i:e[l+1]=$d(e[l+1],i),l=i;c&&(e[i+1]=Ud(e[i+1])),U_(e,u,i,!0),U_(e,u,i,!1),function Rx(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[i+1]=zd(t[i+1]))}(n,u,e,i,o),s=Wa(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function qd(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===Q&&(h=d?se:void 0);let p=d?Tc(h,i):u===i?h:void 0;if(c&&!Za(p)&&(p=Tc(l,i)),Za(p)&&(a=p,s))return a;const m=e[r+1];r=s?Qn(m):Ci(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tc(l,i))}return a}function Za(e){return void 0!==e}function ey(e,n){return!!(e.flags&(n?8:16))}function yn(e,n,t){!function Jt(e,n,t,i){const r=te(),o=Sn(2);r.firstUpdatePass&&Y_(r,null,o,i);const s=w();if(t!==Q&&Pe(s,o,t)){const a=r.data[nt()];if(ey(a,i)&&!Z_(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fc(l,t||"")),Gd(r,a,s,t,i)}else!function Zx(e,n,t,i,r,o,s,a){r===Q&&(r=se);let l=0,c=0,u=0(un(!0),ya(i,r,function ug(){return B.lFrame.currentNamespace}()));function X(e,n,t){const i=w(),r=te(),o=e+q,s=r.firstCreatePass?function w1(e,n,t,i,r){const o=n.consts,s=ln(o,i),a=ur(n,e,8,"ng-container",s);return null!==s&&La(a,s,!0),ed(n,t,a,ln(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];cn(s,!0);const a=sy(r,i,s,e);return i[o]=a,so()&&ba(r,i,a,s),rt(a,i),Gs(s)&&(Ku(r,i,s),Yu(r,s,i)),null!=t&&Ju(i,s),X}function ee(){let e=he();const n=te();return Jc()?Xc():(e=e.parent,cn(e,!1)),n.firstCreatePass&&(Qs(n,e),Uc(e)&&n.queries.elementEnd(e)),ee}let sy=(e,n,t,i)=>(un(!0),$u(n[H],""));function Ee(){return w()}const Ar="en-US";let dy=Ar;function z(e,n,t,i){const r=w(),o=te(),s=he();return Xd(o,r,r[H],s,e,n,i),z}function Xd(e,n,t,i,r,o,s){const a=Gs(i),c=e.firstCreatePass&&nv(e),u=n[ve],d=tv(n);let h=!0;if(3&i.type||s){const y=at(i,n),D=s?s(y):y,S=d.length,b=s?Z=>s(pe(Z[i.index])):i.index;let R=null;if(!s&&a&&(R=function bA(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!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1;else{o=Hy(i,n,u,o,!1);const Z=t.listen(D,r,o);d.push(o,Z),c&&c.push(r,b,S,S+1)}}else o=Hy(i,n,u,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let D=0;D-1?Tt(e.index,n):n);let l=Vy(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Vy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function v(e=1){return function C0(e){return(B.lFrame.contextLView=function Kp(e,n){for(;e>0;)n=n[Wi],e--;return n}(e,B.lFrame.contextLView))[ve]}(e)}function Nn(e,n,t){return ef(e,"",n,"",t),Nn}function ef(e,n,t,i,r){const o=w(),s=wr(o,n,t,i);return s!==Q&&yt(te(),_e(),o,e,s,o[H],r,!1),ef}function Qy(e,n,t,i){!function Uv(e,n,t,i){const r=te();if(r.firstCreatePass){const o=he();$v(r,new Vv(n,t,i),o.index),function _O(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 Bv(r,w(),t)}(e,n,t,i)}function Nt(e,n,t){!function jv(e,n,t){const i=te();return i.firstCreatePass&&($v(i,new Vv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Bv(i,w(),n)}(e,n,t)}function wt(e){const n=w(),t=te(),i=nu();Ws(i+1);const r=Td(t,i);if(e.dirty&&function r0(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=zv(n,i);e.reset(o,Rg),e.notifyOnChanges()}return!0}return!1}function bt(){return function Sd(e,n){return e[In].queries[n].queryList}(w(),nu())}function E(e,n=""){const t=w(),i=te(),r=e+q,o=i.firstCreatePass?ur(i,r,1,n,null):i.data[r],s=rC(i,t,o,n,e);t[r]=s,so()&&ba(i,t,s,o),cn(o,!1)}let rC=(e,n,t,i,r)=>(un(!0),function Uu(e,n){return e.createText(n)}(n[H],i));function A(e){return Y("",e,""),A}function Y(e,n,t){const i=w(),r=wr(i,e,n,t);return r!==Q&&function On(e,n,t){const i=no(n,e);!function Om(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,nt(),r),Y}function Ke(e,n,t){Wv(n)&&(n=n());const i=w();return Pe(i,Qt(),n)&&yt(te(),_e(),i,e,n,i[H],t,!1),Ke}function xe(e,n){const t=Wv(e);return t&&e.set(n),t}function ot(e,n){const t=w(),i=te(),r=he();return Xd(i,t,t[H],r,e,n),ot}function tf(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(li(e)||!e.multi){const p=new ao(c,r,M),m=rf(l,n,r?u:u+h,d);-1===m?(uu(Js(a,s),o,l),nf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rf(l,n,u+h,d),m=rf(l,n,u,u+h),D=m>=0&&t[m];if(r&&!D||!r&&!(p>=0&&t[p])){uu(Js(a,s),o,l);const S=function GA(e,n,t,i,r){const o=new ao(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,hC(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&D&&(t[m].providerFactory=S),nf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else nf(o,e,p>-1?p:m,hC(t[r?m:p],c,!r&&i));!r&&i&&D&&t[m].componentProviders++}}}function nf(e,n,t,i){const r=li(n),o=function AI(e){return!!e.useClass}(n);if(r||o){const l=(o?V(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 hC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=te();if(i.firstCreatePass){const r=Wt(e);tf(t,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ko(e,n,t,i){return function gC(e,n,t,i,r,o){const s=n+t;return Pe(e,s,r)?mn(e,s+1,o?i.call(o,r):i(r)):Jo(e,s+1)}(w(),lt(),e,n,t,i)}function sf(e,n,t,i,r){return function mC(e,n,t,i,r,o,s){const a=n+t;return _i(e,a,r,o)?mn(e,a+2,s?i.call(s,r,o):i(r,o)):Jo(e,a+2)}(w(),lt(),e,n,t,i,r)}function qe(e,n,t,i,r,o){return vC(w(),lt(),e,n,t,i,r,o)}function Jo(e,n){const t=e[n];return t===Q?void 0:t}function vC(e,n,t,i,r,o,s,a){const l=n+t;return function ja(e,n,t,i,r){const o=_i(e,n,t,i);return Pe(e,n+2,r)||o}(e,l,r,o,s)?mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Jo(e,l+3)}function wC(e,n,t,i,r){const o=e+q,s=w(),a=function Yi(e,n){return e[n]}(s,o);return function Xo(e,n){return e[O].data[n].pure}(s,o)?vC(s,lt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const jC=new L(""),rl=new L("");let pf,ff=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,pf||(function nR(e){pf=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:()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!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()}getPendingRequestCount(){return this._pendingCount}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(De),oe(hf),oe(rl))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),hf=(()=>{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 pf?.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 ol(e){return!!e&&"function"==typeof e.then}function UC(e){return!!e&&"function"==typeof e.subscribe}const iR=new L("");let gf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=W(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(ol(o))t.push(o);else if(UC(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 $C=new L("");function qC(e,n){return Array.isArray(n)?n.reduce(qC,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Ag),this.afterRenderEffectManager=W(Ro),this.externalTestViews=new Set,this.beforeRender=new Gr,this.afterTick=new Gr,this.componentTypes=[],this.components=[],this.isStable=W(Vo).hasPendingTasks.pipe(uc(t=>!t)),this._injector=W(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof vv;if(!this._injector.get(gf).done)throw!r&&function ai(e){const n=J(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vi),c=s.create(Ot.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(jC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,K(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===av)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)sR(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))))break}}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($C,[]);[...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 sR(e,n,t){!n&&!mf(e)||function aR(e,n,t){let i;t?(i=0,e[P]|=1024):i=64&e[P]?0:1,Sa(e,n,i)}(e,t,n)}function mf(e){return Zc(e)}let dR=(()=>{class e{constructor(){this.zone=W(De),this.applicationRef=W(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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 fR(){const e=W(De),n=W(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let pR=(()=>{class e{constructor(){this.subscription=new jt,this.initialized=!1,this.zone=W(De),this.pendingTasks=W(Vo)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.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})();const Rn=new L("",{providedIn:"root",factory:()=>W(Rn,ie.Optional|ie.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||Ar}()}),vf=new L("");let YC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function WT(e="zone.js",n){return"noop"===e?new Ev:"zone.js"===e?new De(n):e}(i?.ngZone,function ZC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function UO(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function QC(e){return[{provide:De,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const n=W(dR,{optional:!0});return()=>n.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const n=W(pR);return()=>{n.initialize()}}},{provide:Ag,useFactory:fR}]}(()=>r)),s=o.injector.get(fn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sl(this._modules,o),a.unsubscribe()})}),function GC(e,n,t){try{const i=t();return ol(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(gf);return a.runInitializers(),a.donePromise.then(()=>(function fy(e){"string"==typeof e&&(dy=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Rn,Ar)||Ar),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=qC({},i);return function uR(e,n,t){const i=new Ad(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}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(vf,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(Ot))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=null;const KC=new L("");function JC(e,n,t=[]){const i=`Platform: ${n}`,r=new L(i);return(o=[])=>{let s=_f();if(!s||s.injector.get(KC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function _R(e){if(Zn&&!Zn.get(KC,!1))throw new T(400,!1);(function zC(){!function TE(e){qh=e}(()=>{throw new T(600,!1)})})(),Zn=e;const n=e.get(YC);(function ew(e){e.get(Xg,null)?.forEach(t=>t())})(e)}(function XC(e=[],n){return Ot.create({name:n,providers:[{provide:Lc,useValue:"platform"},{provide:vf,useValue:new Set([()=>Zn=null])},...e]})}(a,i))}return function yR(e){const n=_f();if(!n)throw new T(401,!1);return n}()}}function _f(){return Zn?.get(YC)??null}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(e){return function bR(e,n,t){if(ui(e)&&!t){const i=Tt(e.index,n);return new To(i,i)}return 47&e.type?new To(n[Se],n):null}(he(),w(),!(16&~e))}class ow{constructor(){}supports(n){return Ba(n)}create(n){return new SR(n)}}const MR=(e,n)=>n;class SR{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||MR}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 TR(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 sw),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 sw),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 TR{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 OR{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 sw{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new OR,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 aw(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 AR(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 AR{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 cw(){return new Df([new ow])}let Df=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:cw});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||cw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function uw(){return new ul([new lw])}let ul=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:uw});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||uw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const PR=JC(null,"core",[]);let LR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bi))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();let Rw=null;function rs(){return Rw}class vP{}const Ii=new L(""),Ff=/\s+/,Uw=[];let Fr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Uw,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ff):Uw}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ff):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(Ff).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)(M(ct),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oL{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 Mi=(()=>{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 oL(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),zw(a,r)}});for(let r=0,o=i.length;r{zw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(gn),M(xn),M(Df))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zw(e,n){e.context.$implicit=n.item}let Fn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new sL,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){Gw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Gw("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)(M(gn),M(xn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sL{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let Ww=(()=>{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:Gn.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)(M(ct),M(ul),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Qw=(()=>{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)(M(gn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]})}return e})();let Yw=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function en(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=vt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Kw=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();function Xw(e){return"server"===e}class dF extends vP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uf extends dF{static makeCurrent(){!function mP(e){Rw??=e}(new Uf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 fF(){return ls=ls||document.querySelector("base"),ls?ls.getAttribute("href"):null}();return null==t?null:function hF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function iL(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 ls=null,gF=(()=>{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 $f=new L("");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($f),oe(De))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const zf="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=Xw(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[${zf}="${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(zf),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zf,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(Ii),oe(sa),oe(em,8),oe(ir))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Gf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qf=/%COMP%/g,yF=new L("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(qf,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=Xw(a),this.defaultRenderer=new Wf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ut.ShadowDom&&(i={...i,encapsulation:Ut.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Qf&&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 Ut.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new DF(l,c,t,i,s,a,this.nonce,d);default:o=new Qf(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(sa),oe(yF),oe(Ii),oe(ir),oe(De),oe(em))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Wf{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(Gf[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){n&&n.removeChild(t)}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=Gf[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Gf[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&(Gn.DashCase|Gn.Important)?n.style.setProperty(t,i,r&Gn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gn.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=rs().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 DF extends Wf{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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qf extends Wf{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 Qf{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 CF(e){return"_ngcontent-%COMP%".replace(qf,e)}(c),this.hostAttr=function wF(e){return"_nghost-%COMP%".replace(qf,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 EF=(()=>{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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],IF={"\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"},MF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{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(()=>rs().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=IF[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,MF[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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const AF=JC(PR,"browser",[{provide:ir,useValue:"browser"},{provide:Xg,useValue:function TF(){Uf.makeCurrent()},multi:!0},{provide:Ii,useFactory:function xF(){return function mM(e){yu=e}(document),document},deps:[]}]),NF=new L(""),yb=[{provide:rl,useClass:class pF{addToWindow(n){de.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(i=>{const r=de.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?rs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:jC,useClass:ff,deps:[De,hf,rl]},{provide:ff,useClass:ff,deps:[De,hf,rl]}],Cb=[{provide:Lc,useValue:"root"},{provide:fn,useFactory:function OF(){return new fn},deps:[]},{provide:$f,useClass:EF,multi:!0,deps:[Ii,De,ir]},{provide:$f,useClass:SF,multi:!0,deps:[Ii]},hb,ub,lb,{provide:yv,useExisting:hb},{provide:class kL{},useClass:gF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:sa,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(NF,12))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({providers:[...Cb,...yb],imports:[Kw,LR]})}return e})();function Si(e){return this instanceof Si?(this.v=e,this):new Si(e)}function BF(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 Mb(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)})}}}const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Qe(e?.then)}function Ob(e){return Qe(e[ac])}function xb(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Ab(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 Nb=function UF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Qe(e?.[Nb])}function Pb(e){return function HF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Si?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Si(t.read());if(r)return yield Si(void 0);yield yield Si(i)}}finally{t.releaseLock()}})}function Lb(e){return Qe(e?.getReader)}function xl(e){if(e instanceof Ft)return e;if(null!=e){if(Ob(e))return function $F(e){return new Ft(n=>{const t=e[ac]();if(Qe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function zF(e){return new Ft(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Xh)})}(e);if(xb(e))return Fb(e);if(Rb(e))return function qF(e){return new Ft(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Lb(e))return function WF(e){return Fb(Pb(e))}(e)}throw Ab(e)}function Fb(e){return new Ft(n=>{(function QF(e,n){var t,i,r,o;return function kF(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=BF(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 Ti(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 lc((t,i)=>{t.subscribe(new cc(i,r=>Ti(i,e,()=>i.next(r),n),()=>Ti(i,e,()=>i.complete(),n),r=>Ti(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return lc((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 Ft(t=>{Ti(t,n,()=>{const i=e[Symbol.asyncIterator]();Ti(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:nk}=Array,{getPrototypeOf:ik,prototype:rk,keys:ok}=Object;const{isArray:ck}=Array;function fk(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hk(...e){const n=function lk(e){return Qe(function Yf(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function sk(e){if(1===e.length){const n=e[0];if(nk(n))return{args:n,keys:null};if(function ak(e){return e&&"object"==typeof e&&ik(e)===rk}(n)){const t=ok(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ft(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?fk(i,a):a),o.complete())}))}});return n?r.pipe(function dk(e){return uc(n=>function uk(e,n){return ck(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)(M(Yt),M(ct))};static#t=this.\u0275dir=j({type:e})}return e})(),Oi=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,features:[le]})}return e})();const tn=new L(""),pk={provide:tn,useExisting:ge(()=>Kf),multi:!0};let Kf=(()=>{class e extends Oi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([pk]),le]})}return e})();const gk={provide:tn,useExisting:ge(()=>us),multi:!0},vk=new L("");let us=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mk(){const e=rs()?rs().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)(M(Yt),M(ct),M(vk,8))};static#t=this.\u0275dir=j({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&&z("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([gk]),le]})}return e})();const st=new L(""),Kn=new L("");function Yb(e){return null!=e}function Kb(e){return ol(e)?function tk(e,n){return n?function ek(e,n){if(null!=e){if(Ob(e))return function ZF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(Sb(e))return function KF(e,n){return new Ft(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 YF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(xb(e))return Hb(e,n);if(Rb(e))return function JF(e,n){return new Ft(t=>{let i;return Ti(t,n,()=>{i=e[Nb](),Ti(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)}),()=>Qe(i?.return)&&i.return()})}(e,n);if(Lb(e))return function XF(e,n){return Hb(Pb(e),n)}(e,n)}throw Ab(e)}(e,n):xl(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 eD(e){return e.map(n=>function yk(e){return!e.validate}(n)?n:t=>n.validate(t))}function Jf(e){return null!=e?function tD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eD(e)):null}function Xf(e){return null!=e?function nD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return hk(Xb(t,n).map(Kb)).pipe(uc(Jb))}}(eD(e)):null}function iD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function eh(e){return e?Array.isArray(e)?e:[e]:[]}function Nl(e,n){return Array.isArray(e)?e.includes(n):e===n}function sD(e,n){const t=eh(n);return eh(e).forEach(r=>{Nl(t,r)||t.push(r)}),t}function aD(e,n){return eh(n).filter(t=>!Nl(e,t))}class lD{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=Jf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xf(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 pt extends lD{get formDirective(){return null}get path(){return null}}class Jn extends lD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rl=(()=>{class e extends cD{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Jn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&An("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:[le]})}return e})();const ds="VALID",Ll="INVALID",kr="PENDING",fs="DISABLED";function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ds}get invalid(){return this.status===Ll}get pending(){return this.status==kr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}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(sD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aD(n,this._rawAsyncValidators))}hasValidator(n){return Nl(this._rawValidators,n)}hasAsyncValidator(n){return Nl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=kr,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ds||this.status===kr)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const t=Kb(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ll)?Ll:ds}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(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 Ek(e){return Array.isArray(e)?Jf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ik(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}const Vr=new L("CallSetDisabledState",{providedIn:"root",factory:()=>kl}),kl="always";function hs(e,n,t=kl){(function ah(e,n){const t=function rD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iD(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Bl(n._rawValidators,r),Bl(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Tk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hD(e,n)})}(e,n),function xk(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 Ok(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Sk(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Bl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function hD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function vD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const _D=class extends oh{constructor(n=null,t,i){super(function ih(e){return(Fl(e)?e.validators:e)||null}(t),function rh(e,n){return(Fl(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}),Fl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vD(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){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(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){vD(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}},Vk={provide:Jn,useExisting:ge(()=>gs)},wD=Promise.resolve();let gs=(()=>{class e extends Jn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _D,this._registered=!1,this.name="",this.update=new ye,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function uh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===us?t=o:function Rk(e){return Object.getPrototypeOf(e.constructor)===Oi}(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 ch(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(){hs(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){wD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Vl(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(pt,9),M(st,10),M(Kn,10),M(tn,10),M(Di,8),M(Vr,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Oe.None,"disabled","isDisabled"],model:[Oe.None,"ngModel","model"],options:[Oe.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([Vk]),le,sn]})}return e})();const $k={provide:tn,useExisting:ge(()=>fh),multi:!0};let fh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&z("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([$k]),le]})}return e})();const Zk={provide:tn,useExisting:ge(()=>ms),multi:!0};function TD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ms=(()=>{class e extends Oi{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=TD(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 Yk(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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Zk]),le]})}return e})(),mh=(()=>{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(TD(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)(M(ct),M(Yt),M(ms,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const Kk={provide:tn,useExisting:ge(()=>vh),multi:!0};function OD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let vh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Kk]),le]})}return e})(),_h=(()=>{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(OD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OD(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)(M(ct),M(Yt),M(vh,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),a2=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})(),c2=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vr,useValue:t.callSetDisabledState??kl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({imports:[a2]})}return e})();function Ze(e){return"function"==typeof e}function HD(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 Ch=HD(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 Ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Cn{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(Ze(i))try{i()}catch(o){n=o instanceof Ch?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{UD(o)}catch(s){n=n??[],s instanceof Ch?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ch(n)}}add(n){var t;if(n&&n!==this)if(this.closed)UD(n);else{if(n instanceof Cn){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)&&Ul(t,n)}remove(n){const{_finalizers:t}=this;t&&Ul(t,n),n instanceof Cn&&n._removeParent(this)}}Cn.EMPTY=(()=>{const e=new Cn;return e.closed=!0,e})();const BD=Cn.EMPTY;function jD(e){return e instanceof Cn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function UD(e){Ze(e)?e():e.unsubscribe()}const Ai={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $D(e){$l.setTimeout(()=>{const{onUnhandledError:n}=Ai;if(!n)throw e;n(e)})}function zD(){}const u2=wh("C",void 0,void 0);function wh(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function zl(e){if(Ai.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else e()}class bh extends Cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jD(n)&&n.add(this)):this.destination=v2}static create(n,t,i){return new Eh(n,t,i)}next(n){this.isStopped?Ih(function f2(e){return wh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ih(function d2(e){return wh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ih(u2,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 p2=Function.prototype.bind;function Dh(e,n){return p2.call(e,n)}class g2{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Eh extends bh{constructor(n,t,i){let r;if(super(),Ze(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ai.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dh(n.next,o),error:n.error&&Dh(n.error,o),complete:n.complete&&Dh(n.complete,o)}):r=n}this.destination=new g2(r)}}function Gl(e){Ai.useDeprecatedSynchronousErrorHandling?function h2(e){Ai.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):$D(e)}function Ih(e,n){const{onStoppedNotification:t}=Ai;t&&$l.setTimeout(()=>t(e,n))}const v2={closed:!0,next:zD,error:function m2(e){throw e},complete:zD},Mh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sh(e){return e}let kn=(()=>{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 y2(e){return e&&e instanceof bh||function _2(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}(e)&&jD(e)}(t)?t:new Eh(t,i,r);return zl(()=>{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=qD(i))((r,o)=>{const s=new Eh({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)}[Mh](){return this}pipe(...t){return function GD(e){return 0===e.length?Sh:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qD(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qD(e){var n;return null!==(n=e??Ai.Promise)&&void 0!==n?n:Promise}const C2=HD(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vs=(()=>{class e extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new WD(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new C2}next(t){zl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){zl(()=>{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(){zl(()=>{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?BD:(this.currentObservers=null,o.push(t),new Cn(()=>{this.currentObservers=null,Ul(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new kn;return t.source=this,t}}return e.create=(n,t)=>new WD(n,t),e})();class WD extends vs{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:BD}}class w2 extends Cn{constructor(n,t){super()}schedule(n,t=0){return this}}const ql={setInterval(e,n,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ql;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},QD={now:()=>(QD.delegate||Date).now(),delegate:void 0};class _s{constructor(n,t=_s.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_s.now=QD.now;const ZD=new class D2 extends _s{constructor(n,t=_s.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 b2 extends w2{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 ql.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&&ql.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,Ul(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),E2=ZD;function Wl(e){return n=>{if(function I2(e){return Ze(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 ys(e,n,t,i,r){return new M2(e,n,t,i,r)}class M2 extends bh{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 Xn(e){return this instanceof Xn?(this.v=e,this):new Xn(e)}function XD(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 Q2=e=>e&&"number"==typeof e.length&&"function"!=typeof e,eV=function X2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rV(e){if(e instanceof kn)return e;if(null!=e){if(function Y2(e){return Ze(e[Mh])}(e))return function oV(e){return new kn(n=>{const t=e[Mh]();if(Ze(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Q2(e))return function sV(e){return new kn(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$D)})}(e);if(function K2(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}(e))return eE(e);if(function tV(e){return Ze(e?.[eV])}(e))return function lV(e){return new kn(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(function iV(e){return Ze(e?.getReader)}(e))return function cV(e){return eE(function nV(e){return function JD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xn?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Xn(t.read());if(r)return yield Xn(void 0);yield yield Xn(i)}}finally{t.releaseLock()}})}(e))}(e)}throw function J2(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.`)}(e)}function eE(e){return new kn(n=>{(function uV(e,n){var t,i,r,o;return function YD(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=XD(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 tE(e,n=ZD,t){const i=function pV(e=0,n,t=E2){let i=-1;return null!=n&&(function fV(e){return e&&Ze(e.schedule)}(n)?t=n:i=n),new kn(r=>{let o=function hV(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 dV(e,n){return Wl((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=m=>l=rV(e(m)).subscribe(ys(i,u,d)),p=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};t.subscribe(ys(i,m=>{s=!0,a=m,(!l||l.closed)&&(r?p():h(m))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function nE(e,n,t){const i=Ze(e)||n||t?{next:e,error:n,complete:t}:e;return i?Wl((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ys(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)}))}):Sh}function iE(e,n=Sh){return e=e??gV,Wl((t,i)=>{let r,o=!0;t.subscribe(ys(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function gV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Hr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),rE=!1,oE=function(){};Pt.addEventListener&&Pt.addEventListener("p",oE,{get passive(){return rE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",oE,!1);var sE=rE,Nh="ontouchstart"in Pt,lE=(Nh||"TouchEvent"in Pt&&Hr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Hr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(lE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Hr("(pointer: coarse)").matches||!Hr("(pointer: fine)").matches&&Nh)&&/Windows.*Firefox/.test(lE),Hr("(any-pointer: fine)").matches||Hr("(any-hover: hover)");const bV=(e,n,t)=>({tooltip:e,placement:n,content:t});function DV(e,n){}function EV(e,n){1&e&&F(0,DV,0,0,"ng-template")}function IV(e,n){if(1&e&&(X(0),F(1,EV,1,0,null,1),ee()),2&e){const t=v();f(),g("ngTemplateOutlet",t.template)("ngTemplateOutletContext",qe(2,bV,t.tooltip,t.placement,t.content))}}function MV(e,n){if(1&e&&(X(0),C(1,"div",2),E(2),_(),ee()),2&e){const t=v();f(),ut("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const SV=["tooltipTemplate"],TV=["leftOuterSelectionBar"],OV=["rightOuterSelectionBar"],xV=["fullBar"],AV=["selectionBar"],NV=["minHandle"],RV=["maxHandle"],PV=["floorLabel"],LV=["ceilLabel"],FV=["minHandleLabel"],kV=["maxHandleLabel"],VV=["combinedLabel"],HV=["ticksElement"],BV=e=>({"ngx-slider-selected":e});function jV(e,n){if(1&e&&x(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;g("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function UV(e,n){1&e&&x(0,"span",33),2&e&&g("innerText",v().$implicit.legend)}function $V(e,n){1&e&&x(0,"span",34),2&e&&g("innerHTML",v().$implicit.legend,Cm)}function zV(e,n){if(1&e&&(C(0,"span",27),x(1,"ngx-slider-tooltip-wrapper",28),F(2,jV,1,4,"ngx-slider-tooltip-wrapper",29)(3,UV,1,1,"span",30)(4,$V,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();g("ngClass",Ko(8,BV,t.selected))("ngStyle",t.style),f(),g("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),g("ngIf",null!=t.value),f(),g("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),g("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var wn=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}(wn||{});class Ql{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 dE=new L("AllowUnsafeHtmlInSlider");var N=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(N||{});class GV{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)?nE(()=>{}):tE(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 fE;return o.eventName=t,o.events=new vs,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?nE(()=>{}):tE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ti=(()=>{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 hE(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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&Qa("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Rh=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ut("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),An("ngx-slider-active",r.active))},features:[le]})}return e})(),Br=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di),M(dE,8))};static \u0275dir=j({type:e,selectors:[["","ngxSliderLabel",""]],features:[le]})}return e})(),qV=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=zt({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&&F(0,IV,2,6,"ng-container",0)(1,MV,3,3,"ng-container",0),2&i&&(g("ngIf",r.template),f(),g("ngIf",!r.template))},dependencies:[Fn,Qw],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class WV{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class pE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Zl{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 gE extends Zl{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 QV={provide:tn,useExisting:ge(()=>mE),multi:!0};let mE=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new ye;highValue=null;highValueChange=new ye;options=new Ql;userChangeStart=new ye;userChange=new ye;userChangeEnd=new ye;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 vs;inputModelChangeSubscription=null;outputModelChangeSubject=new vs;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Ql;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new pE;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 hE(this.renderer)}ngOnInit(){this.viewOptions=new Ql,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(iE(gE.compare),function mV(e,n){return Wl((t,i)=>{let r=0;t.subscribe(ys(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(iE(gE.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ei.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ei.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===N.Min?this.minHandleElement:t===N.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===N.Min?this.viewLowValue:this.currentTrackingPointer===N.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=!Zl.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 Zl;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);Zl.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 Ql,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!==N.Min&&t!==N.Max&&(t=N.Min),t===N.Min?this.minHandleElement.focus():this.range&&t===N.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,wn.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,wn.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 WV;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,wn.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,wn.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,wn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===N.Min?this.updateLowHandle(i):t===N.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===N.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===N.Min||!this.viewOptions.rightToLeft&&t===N.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,wn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(N.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(N.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,wn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(N.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(N.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===N.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,wn.Low),r=this.getDisplayValue(this.viewHighValue,wn.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?N.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?N.Min:N.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(N.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(N.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(N.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(N.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(N.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(N.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(),!ei.isTouchEvent(i)&&!sE&&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=ei.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=ei.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ei.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(ei.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){ei.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===N.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===N.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(N.Min,this.valueToPosition(t)),this.updateHandles(N.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===N.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===N.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(N.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=N.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===N.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===N.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===N.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===N.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===N.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===N.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===N.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new GV;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(Yt),M(ct),M(Di),M(De),M(dE,8))};static \u0275cmp=zt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Qy(o,SV,5),2&i){let s;wt(s=bt())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Nt(TV,5,ti),Nt(OV,5,ti),Nt(xV,5,ti),Nt(AV,5,ti),Nt(NV,5,Rh),Nt(RV,5,Rh),Nt(PV,5,Br),Nt(LV,5,Br),Nt(FV,5,Br),Nt(kV,5,Br),Nt(VV,5,Br),Nt(HV,5,ti)),2&i){let o;wt(o=bt())&&(r.leftOuterSelectionBarElement=o.first),wt(o=bt())&&(r.rightOuterSelectionBarElement=o.first),wt(o=bt())&&(r.fullBarElement=o.first),wt(o=bt())&&(r.selectionBarElement=o.first),wt(o=bt())&&(r.minHandleElement=o.first),wt(o=bt())&&(r.maxHandleElement=o.first),wt(o=bt())&&(r.floorLabelElement=o.first),wt(o=bt())&&(r.ceilLabelElement=o.first),wt(o=bt())&&(r.minHandleLabelElement=o.first),wt(o=bt())&&(r.maxHandleLabelElement=o.first),wt(o=bt())&&(r.combinedLabelElement=o.first),wt(o=bt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&z("resize",function(s){return r.onResize(s)},0,_a),2&i&&(ut("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),An("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([QV]),sn],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&&(C(0,"span",12,0),x(2,"span",13),_(),C(3,"span",14,1),x(5,"span",13),_(),C(6,"span",15,2),x(8,"span",13),_(),C(9,"span",16,3),x(11,"span",17),_(),x(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),C(26,"span",25,11),F(28,zV,5,10,"span",26),_()),2&i&&(f(6),An("ngx-slider-transparent",r.fullBarTransparentClass),f(3),An("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),g("ngStyle",r.barStyle),f(),g("ngStyle",r.minPointerStyle),f(2),Qa("display",r.range?"inherit":"none"),g("ngStyle",r.maxPointerStyle),f(12),An("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),g("hidden",!r.showTicks),f(2),g("ngForOf",r.ticks))},dependencies:[Fr,Mi,Fn,Ww,ti,Rh,Br,qV],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})(),ZV=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Bn({type:e});static \u0275inj=Dn({imports:[Kw]})}return e})();class vE{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class YV{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 KV{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 Bt{static roundNumber(n){return Math.floor(n*Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new KV(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Bt.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 JV(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),XV=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=zt({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"),C(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),Nn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function eH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),$(r)}),z("change",function(){U(t);const r=v();return $(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Ke("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function tH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v().translations)}function nH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function iH(e,n){1&e&&(C(0,"a",13),x(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,zn)}function rH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",11),z("change",function(){const r=U(t).$implicit;return $(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),F(5,iH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function oH(e,n){if(1&e&&(X(0),x(1,"br")(2,"br"),C(3,"b"),E(4),_(),F(5,nH,1,1,"pro-button",7)(6,rH,6,4,"div",10),ee()),2&e){const t=v();f(4),A(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let sH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new ye,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new ye,this.showBranchCoverage=!1,this.showBranchCoverageChange=new ye,this.showMethodCoverage=!1,this.showMethodCoverageChange=new ye,this.visibleMetrics=[],this.visibleMetricsChange=new ye}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=zt({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&&(C(0,"div",0),z("click",function(){return r.close()}),C(1,"div",1),z("click",function(s){return r.cancelEvent(s)}),C(2,"div",2),z("click",function(){return r.close()}),E(3,"X"),_(),C(4,"b"),E(5),_(),C(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),z("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),F(10,eH,4,2,"div",5),C(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),z("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),F(15,tH,1,1,"pro-button",7),_(),F(16,oH,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),Ke("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),g("ngIf",r.branchCoverageAvailable),f(3),Ke("ngModel",r.showMethodCoverage),g("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),g("ngIf",!r.methodCoverageAvailable),f(),g("ngIf",r.metrics.length>0))},dependencies:[Mi,Fn,Kf,Rl,gs,XV],encapsulation:2})}return e})();function aH(e,n){1&e&&x(0,"td",3)}function lH(e,n){1&e&&x(0,"td"),2&e&&yn("green ",v().greenClass,"")}function cH(e,n){1&e&&x(0,"td"),2&e&&yn("red ",v().redClass,"")}let yE=(()=>{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=zt({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&&(C(0,"table",0),F(1,aH,1,0,"td",1)(2,lH,1,3,"td",2)(3,cH,1,3,"td",2),_()),2&i&&(f(),g("ngIf",r.grayVisible),f(),g("ngIf",r.greenVisible),f(),g("ngIf",r.redVisible))},dependencies:[Fn],encapsulation:2,changeDetection:0})}return e})();const uH=["codeelement-row",""],dH=(e,n)=>({"icon-plus":e,"icon-minus":n});function fH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function hH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function pH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function gH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function mH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function vH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function _H(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function yH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function CH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function wH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function bH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function DH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function EH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function IH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function MH(e,n){1&e&&x(0,"th",5)}let SH=(()=>{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=zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:uH,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&&(C(0,"th")(1,"a",0),z("click",function(s){return r.element.toggleCollapse(s)}),x(2,"i",1),E(3),_()(),F(4,fH,2,1,"th",2)(5,hH,2,1,"th",2)(6,pH,2,1,"th",2)(7,gH,2,1,"th",2)(8,mH,2,2,"th",3)(9,vH,2,1,"th",2)(10,_H,2,1,"th",2)(11,yH,2,1,"th",2)(12,CH,2,2,"th",3)(13,wH,2,1,"th",2)(14,bH,2,1,"th",2)(15,DH,2,1,"th",2)(16,EH,2,2,"th",3)(17,IH,2,1,"th",2)(18,MH,1,0,"th",4)),2&i&&(f(2),g("ngClass",sf(17,dH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngForOf",r.visibleMetrics))},dependencies:[Fr,Mi,Fn,yE],encapsulation:2,changeDetection:0})}return e})();const TH=["coverage-history-chart",""];let OH=(()=>{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 AH(e,n){if(1&e&&(C(0,"a",5),E(1),_()),2&e){const t=v();g("href",t.clazz.reportPath,zn),f(),A(t.clazz.name)}}function NH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v();f(),A(t.clazz.name)}}function RH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function PH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function LH(e,n){if(1&e&&(C(0,"td",6),F(1,RH,5,6,"ng-container",1)(2,PH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function FH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function kH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function VH(e,n){if(1&e&&(C(0,"td",6),F(1,FH,5,6,"ng-container",1)(2,kH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function HH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function BH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function jH(e,n){if(1&e&&(C(0,"td",6),F(1,HH,5,3,"ng-container",1)(2,BH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function UH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function $H(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function zH(e,n){if(1&e&&(C(0,"td",6),F(1,UH,5,3,"ng-container",1)(2,$H,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function GH(e,n){if(1&e&&x(0,"div",11),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function qH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function WH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function QH(e,n){if(1&e&&(C(0,"td",9),F(1,GH,1,5,"div",10)(2,qH,5,6,"ng-container",1)(3,WH,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function ZH(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function YH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function KH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function JH(e,n){if(1&e&&(C(0,"td",6),F(1,YH,5,6,"ng-container",1)(2,KH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function XH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function eB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function tB(e,n){if(1&e&&(C(0,"td",6),F(1,XH,5,3,"ng-container",1)(2,eB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function nB(e,n){if(1&e&&x(0,"div",14),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function iB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function rB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function oB(e,n){if(1&e&&(C(0,"td",9),F(1,nB,1,5,"div",13)(2,iB,5,6,"ng-container",1)(3,rB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function sB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function aB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function lB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function cB(e,n){if(1&e&&(C(0,"td",6),F(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function dB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function fB(e,n){if(1&e&&(C(0,"td",6),F(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&x(0,"div",16),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function pB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function gB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function mB(e,n){if(1&e&&(C(0,"td",9),F(1,hB,1,5,"div",15)(2,pB,5,6,"ng-container",1)(3,gB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function vB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function _B(e,n){if(1&e&&(C(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let yB=(()=>{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 CB(e,n){if(1&e){const t=Ee();C(0,"popup",30),ot("visibleChange",function(r){U(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),$(r)})("showLineCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),$(r)})("showBranchCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),$(r)})("showMethodCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),$(r)})("visibleMetricsChange",function(r){U(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),$(r)}),_()}if(2&e){const t=v(2);Ke("visible",t.popupVisible),g("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Ke("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function wB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function bB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function DB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function EB(e,n){if(1&e&&(C(0,"option",34),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function IB(e,n){1&e&&x(0,"br")}function MB(e,n){if(1&e&&(C(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function SB(e,n){if(1&e&&(C(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function TB(e,n){if(1&e&&(C(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function OB(e,n){if(1&e&&(C(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function xB(e,n){if(1&e){const t=Ee();C(0,"div")(1,"select",31),ot("ngModelChange",function(r){U(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),$(r)}),C(2,"option",32),E(3),_(),C(4,"option",35),E(5),_(),C(6,"option",36),E(7),_(),C(8,"option",37),E(9),_(),F(10,MB,2,1,"option",38)(11,SB,2,1,"option",39)(12,TB,2,1,"option",40)(13,OB,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Ke("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable)}}function AB(e,n){if(1&e){const t=Ee();X(0),C(1,"div"),E(2),C(3,"select",31),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),$(r)}),z("ngModelChange",function(){return U(t),$(v(2).updateCurrentHistoricCoverage())}),C(4,"option",32),E(5),_(),F(6,EB,2,2,"option",33),_()(),F(7,IB,1,0,"br",0)(8,xB,14,9,"div",0),ee()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Ke("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),g("ngForOf",t.historicCoverageExecutionTimes),f(),g("ngIf",""!==t.settings.historyComparisionDate),f(),g("ngIf",""!==t.settings.historyComparisionDate)}}function NB(e,n){1&e&&x(0,"col",46)}function RB(e,n){1&e&&x(0,"col",47)}function PB(e,n){1&e&&x(0,"col",48)}function LB(e,n){1&e&&x(0,"col",49)}function FB(e,n){1&e&&x(0,"col",50)}function kB(e,n){1&e&&x(0,"col",51)}function VB(e,n){1&e&&x(0,"col",46)}function HB(e,n){1&e&&x(0,"col",49)}function BB(e,n){1&e&&x(0,"col",50)}function jB(e,n){1&e&&x(0,"col",51)}function UB(e,n){1&e&&x(0,"col",46)}function $B(e,n){1&e&&x(0,"col",49)}function zB(e,n){1&e&&x(0,"col",50)}function GB(e,n){1&e&&x(0,"col",51)}function qB(e,n){1&e&&x(0,"col",51)}function WB(e,n){if(1&e&&(C(0,"th",52),E(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function QB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function ZB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function YB(e,n){if(1&e&&(C(0,"th",54),E(1),_()),2&e){const t=v(2);ut("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function KB(e,n){if(1&e){const t=Ee();C(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),g("options",t.sliderOptions)}}function JB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),g("options",t.sliderOptions)}}function XB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),g("options",t.sliderOptions)}}function ej(e,n){1&e&&x(0,"td",54),2&e&&ut("colspan",v(2).settings.visibleMetrics.length)}function tj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function nj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("uncovered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function ij(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverable",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function rj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function oj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function sj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function aj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function lj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("branchcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function cj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function uj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function dj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("methodcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function fj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",3),z("click",function(r){const o=U(t).$implicit;return $(v(2).updateSorting(o.abbreviation,r))}),x(2,"i",26),E(3),_(),C(4,"a",58),x(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("ngClass",qe(3,Lt,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function hj(e,n){if(1&e&&x(0,"tr",61),2&e){const t=v().$implicit,i=v(2);g("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 pj(e,n){if(1&e&&x(0,"tr",63),2&e){const t=v().$implicit,i=v(3);g("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 gj(e,n){if(1&e&&(X(0),F(1,pj,1,7,"tr",62),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function mj(e,n){if(1&e&&x(0,"tr",66),2&e){const t=v().$implicit,i=v(5);g("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 vj(e,n){if(1&e&&(X(0),F(1,mj,1,7,"tr",65),ee()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function _j(e,n){if(1&e&&(X(0),x(1,"tr",64),F(2,vj,2,1,"ng-container",29),ee()),2&e){const t=v().$implicit,i=v(3);f(),g("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(),g("ngForOf",t.classes)}}function yj(e,n){if(1&e&&(X(0),F(1,_j,3,7,"ng-container",0),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function Cj(e,n){if(1&e&&(X(0),F(1,hj,1,6,"tr",60)(2,gj,2,1,"ng-container",29)(3,yj,2,1,"ng-container",29),ee()),2&e){const t=n.$implicit,i=v(2);f(),g("ngIf",t.visible(i.settings)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function wj(e,n){if(1&e){const t=Ee();C(0,"div"),F(1,CB,1,9,"popup",1),C(2,"div",2)(3,"div")(4,"a",3),z("click",function(r){return U(t),$(v().collapseAll(r))}),E(5),_(),E(6," | "),C(7,"a",3),z("click",function(r){return U(t),$(v().expandAll(r))}),E(8),_()(),C(9,"div",4)(10,"span",5),F(11,wB,2,1,"ng-container",0)(12,bB,2,1,"ng-container",0)(13,DB,2,1,"ng-container",0),_(),x(14,"br"),E(15),C(16,"input",6),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateCoverageInfo())}),_()(),C(17,"div",4),F(18,AB,9,6,"ng-container",0),_(),C(19,"div",7)(20,"button",8),z("click",function(){return U(t),$(v().popupVisible=!0)}),x(21,"i",9),E(22),_()()(),C(23,"div",10)(24,"table",11)(25,"colgroup"),x(26,"col",12),F(27,NB,1,0,"col",13)(28,RB,1,0,"col",14)(29,PB,1,0,"col",15)(30,LB,1,0,"col",16)(31,FB,1,0,"col",17)(32,kB,1,0,"col",18)(33,VB,1,0,"col",13)(34,HB,1,0,"col",16)(35,BB,1,0,"col",17)(36,jB,1,0,"col",18)(37,UB,1,0,"col",13)(38,$B,1,0,"col",16)(39,zB,1,0,"col",17)(40,GB,1,0,"col",18)(41,qB,1,0,"col",19),_(),C(42,"thead")(43,"tr",20),x(44,"th"),F(45,WB,2,1,"th",21)(46,QB,2,1,"th",22)(47,ZB,2,1,"th",22)(48,YB,2,2,"th",23),_(),C(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),_()(),F(52,KB,2,3,"td",21)(53,JB,2,3,"td",22)(54,XB,2,3,"td",22)(55,ej,1,1,"td",23),_(),C(56,"tr")(57,"th")(58,"a",3),z("click",function(r){return U(t),$(v().updateSorting("name",r))}),x(59,"i",26),E(60),_()(),F(61,tj,4,6,"th",27)(62,nj,4,6,"th",27)(63,ij,4,6,"th",27)(64,rj,4,6,"th",27)(65,oj,4,6,"th",28)(66,sj,4,6,"th",27)(67,aj,4,6,"th",27)(68,lj,4,6,"th",28)(69,cj,4,6,"th",27)(70,uj,4,6,"th",27)(71,dj,4,6,"th",28)(72,fj,6,7,"th",29),_()(),C(73,"tbody"),F(74,Cj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum),Ke("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(3),Nn("placeholder",t.translations.filter),Ke("ngModel",t.settings.filter),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",qe(51,Lt,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let bj=(()=>{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 YV,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,Bt.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 vE;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)(M(Lh))};static#t=this.\u0275cmp=zt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&z("beforeunload",function(){return r.onBeforeUnload()},0,_a)},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&&F(0,wj,75,55,"div",0),2&i&&g("ngIf",r.codeElements.length>0)},dependencies:[Fr,Mi,Fn,mh,_h,us,fh,ms,Rl,gs,mE,sH,SH,yB],encapsulation:2})}return e})();class Dj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Yl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t}),Ej=(e,n)=>({lightred:e,lightgreen:n});function Ij(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function Mj(e,n){if(1&e&&(C(0,"span"),E(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function Sj(e,n){1&e&&(C(0,"option",23),E(1,"20"),_())}function Tj(e,n){1&e&&(C(0,"option",24),E(1,"50"),_())}function Oj(e,n){1&e&&(C(0,"option",25),E(1,"100"),_())}function xj(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function Aj(e,n){if(1&e){const t=Ee();C(0,"select",17),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),$(r)}),C(1,"option",18),E(2,"10"),_(),F(3,Sj,2,0,"option",19)(4,Tj,2,0,"option",20)(5,Oj,2,0,"option",21)(6,xj,2,2,"option",22),_()}if(2&e){const t=v(2);Ke("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function Nj(e,n){1&e&&x(0,"col",26)}function Rj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",13),z("click",function(r){const o=U(t).index;return $(v(2).updateSorting(""+o,r))}),x(2,"i",14),E(3),_(),C(4,"a",27),x(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),g("ngClass",qe(3,Yl,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function Pj(e,n){if(1&e&&(C(0,"td",32),E(1),_()),2&e){const t=n.$implicit;g("ngClass",sf(2,Ej,t.exceeded,!t.exceeded)),f(),A(t.value)}}function Lj(e,n){if(1&e&&(C(0,"tr")(1,"td"),E(2),_(),C(3,"td")(4,"a",29),E(5),_()(),C(6,"td",30)(7,"a",29),E(8),_()(),F(9,Pj,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),g("href",t.reportPath+i.queryString,zn),f(),A(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,zn),f(),Y(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function Fj(e,n){if(1&e){const t=Ee();C(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),C(4,"option",3),E(5),_(),F(6,Ij,2,2,"option",4),_()(),C(7,"div",5),F(8,Mj,2,1,"span",0)(9,Aj,7,5,"select",6),_(),x(10,"div",5),C(11,"div",7)(12,"span"),E(13),_(),C(14,"input",8),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),_()()(),C(15,"div",9)(16,"table",10)(17,"colgroup"),x(18,"col",11)(19,"col",11)(20,"col",11),F(21,Nj,1,0,"col",12),_(),C(22,"thead")(23,"tr")(24,"th")(25,"a",13),z("click",function(r){return U(t),$(v().updateSorting("assembly",r))}),x(26,"i",14),E(27),_()(),C(28,"th")(29,"a",13),z("click",function(r){return U(t),$(v().updateSorting("class",r))}),x(30,"i",14),E(31),_()(),C(32,"th")(33,"a",13),z("click",function(r){return U(t),$(v().updateSorting("method",r))}),x(34,"i",14),E(35),_()(),F(36,Rj,6,7,"th",15),_()(),C(37,"tbody"),F(38,Lj,10,7,"tr",15),function CC(e,n){const t=te();let i;const r=e+q;t.firstCreatePass?(i=function iN(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=si(i.type)),a=gt(M);try{const l=Ks(!1),c=o();return Ks(l),function OA(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{gt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Ke("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Ke("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",qe(20,Yl,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",wC(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let kj=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Dj,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 vE;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:[Fr,Mi,Fn,mh,_h,us,ms,Rl,gs,Yw],encapsulation:2})}return e})(),Vj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e,bootstrap:[kj,bj]});static#n=this.\u0275inj=Dn({providers:[Lh],imports:[RF,c2,ZV]})}return e})();AF().bootstrapModule(Vj).catch(e=>console.error(e))}},Ur=>{Ur(Ur.s=193)}]); \ No newline at end of file +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{193:()=>{let Ae=null,Cs=1;const ii=Symbol("SIGNAL");function K(e){const n=Ae;return Ae=e,n}function kh(e){if((!zr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Cs)){if(!e.producerMustRecompute(e)&&!Xl(e))return e.dirty=!1,void(e.lastCleanEpoch=Cs);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Cs}}function Xl(e){Ri(e);for(let n=0;n0}function Ri(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qh=null;function Qe(e){return"function"==typeof e}function Zh(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 tc=Zh(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 nc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class jt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=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(Qe(i))try{i()}catch(o){n=o instanceof tc?o.errors:[o]}const{_teardowns:r}=this;if(r){this._teardowns=null;for(const o of r)try{Jh(o)}catch(s){n=n??[],s instanceof tc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new tc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jh(n);else{if(n instanceof jt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&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)&&nc(t,n)}remove(n){const{_teardowns:t}=this;t&&nc(t,n),n instanceof jt&&n._removeParent(this)}}jt.EMPTY=(()=>{const e=new jt;return e.closed=!0,e})();const Yh=jt.EMPTY;function Kh(e){return e instanceof jt||e&&"closed"in e&&Qe(e.remove)&&Qe(e.add)&&Qe(e.unsubscribe)}function Jh(e){Qe(e)?e():e.unsubscribe()}const ri={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},bs={setTimeout(...e){const{delegate:n}=bs;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xh(e){bs.setTimeout(()=>{const{onUnhandledError:n}=ri;if(!n)throw e;n(e)})}function Ds(){}const RE=ic("C",void 0,void 0);function ic(e,n,t){return{kind:e,value:n,error:t}}let oi=null;function Es(e){if(ri.useDeprecatedSynchronousErrorHandling){const n=!oi;if(n&&(oi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=oi;if(oi=null,t)throw i}}else e()}class rc extends jt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Kh(n)&&n.add(this)):this.destination=kE}static create(n,t,i){return new ep(n,t,i)}next(n){this.isStopped?sc(function LE(e){return ic("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?sc(function PE(e){return ic("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?sc(RE,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()}}}class ep extends rc{constructor(n,t,i){let r;if(super(),Qe(n))r=n;else if(n){let o;({next:r,error:t,complete:i}=n),this&&ri.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe()):o=n,r=r?.bind(o),t=t?.bind(o),i=i?.bind(o)}this.destination={next:r?oc(r):Ds,error:oc(t??tp),complete:i?oc(i):Ds}}}function oc(e,n){return(...t)=>{try{e(...t)}catch(i){ri.useDeprecatedSynchronousErrorHandling?function FE(e){ri.useDeprecatedSynchronousErrorHandling&&oi&&(oi.errorThrown=!0,oi.error=e)}(i):Xh(i)}}}function tp(e){throw e}function sc(e,n){const{onStoppedNotification:t}=ri;t&&bs.setTimeout(()=>t(e,n))}const kE={closed:!0,next:Ds,error:tp,complete:Ds},ac="function"==typeof Symbol&&Symbol.observable||"@@observable";function VE(e){return e}let Ft=(()=>{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 BE(e){return e&&e instanceof rc||function HE(e){return e&&Qe(e.next)&&Qe(e.error)&&Qe(e.complete)}(e)&&Kh(e)}(t)?t:new ep(t,i,r);return Es(()=>{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=ip(i))((r,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s?.unsubscribe()}},o,r)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ac](){return this}pipe(...t){return function np(e){return 0===e.length?VE:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=ip(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function ip(e){var n;return null!==(n=e??ri.Promise)&&void 0!==n?n:Promise}const jE=Zh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Gr=(()=>{class e extends Ft{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new rp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jE}next(t){Es(()=>{if(this._throwIfClosed(),!this.isStopped){const i=this.observers.slice();for(const r of i)r.next(t)}})}error(t){Es(()=>{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(){Es(()=>{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=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?Yh:(o.push(t),new jt(()=>nc(o,t)))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ft;return t.source=this,t}}return e.create=(n,t)=>new rp(n,t),e})();class rp extends Gr{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:Yh}}class UE extends Gr{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 lc(e){return n=>{if(function $E(e){return Qe(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")}}class cc extends rc{constructor(n,t,i,r,o){super(n),this.onFinalize=o,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=r?function(s){try{r(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function uc(e,n){return lc((t,i)=>{let r=0;t.subscribe(new cc(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 Pi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Fi="__parameters__";function Vi(e,n,t){return bn(()=>{const i=function dc(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(Fi)?l[Fi]:Object.defineProperty(l,Fi,{value:[]})[Fi];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 de=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 zE(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 fc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const GE=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function V(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(GE)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return cp(e,Os)||cp(e,up)}function cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ts(e){return e&&(e.hasOwnProperty(hc)||e.hasOwnProperty(YE))?e[hc]:null}const Os=fe({\u0275prov:fe}),hc=fe({\u0275inj:fe}),up=fe({ngInjectableDef:fe}),YE=fe({ngInjectorDef:fe});class L{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 _c(e){return e&&!!e.\u0275providers}const qr=fe({\u0275cmp:fe}),yc=fe({\u0275dir:fe}),Cc=fe({\u0275pipe:fe}),fp=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Wr=fe({__NG_ELEMENT_ID__:fe}),hp=fe({__NG_ENV_ID__:fe});function G(e){return"string"==typeof e?e:null==e?"":String(e)}function wc(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 bc;function pp(){return bc}function gt(e){const n=bc;return bc=e,n}function gp(e,n,t){const i=Ss(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 wc()}const Qr={},Dc="__NG_DI_FLAG__",xs="ngTempTokenPath",nI=/\n/gm,mp="__source";let Hi;function Hn(e){const n=Hi;return Hi=e,n}function oI(e,n=ie.Default){if(void 0===Hi)throw new T(-203,!1);return null===Hi?gp(e,void 0,n):Hi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(pp()||oI)(V(e),n)}function W(e,n=ie.Default){return oe(e,As(n))}function As(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ec(e){const n=[];for(let t=0;tArray.isArray(t)?Bi(t,n):n(t))}function _p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ns(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let i=ji(e,n);return i>=0?e[1|i]=t:(i=~i,function yp(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 Tc(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function Cp(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($t(i))return!1;s=!0}}}}else{if(!s&&!$t(i)&&!$t(l))return!1;if(s&&$t(l))continue;s=!1,i=l|1&i}}return $t(i)||s}function $t(e){return!(1&e)}function vI(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&&!$t(s)&&(n+=Sp(o,r),r=""),i=s,o=o||!$t(i);t++}return""!==r&&(n+=Sp(o,r)),n}function zt(e){return bn(()=>{const n=Op(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};xp(t);const i=e.dependencies;return t.directiveDefs=Fs(i,!1),t.pipeDefs=Fs(i,!0),t.id=function TI(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 II(e){return J(e)||Ue(e)}function MI(e){return null!==e}function Bn(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 Tp(e,n){if(null==e)return nn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Oe.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Oe.None?[i,a]:i,n[o]=s):t[o]=i}return t}function j(e){return bn(()=>{const n=Op(e);return xp(n),n})}function vt(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 J(e){return e[qr]||null}function Ue(e){return e[yc]||null}function Ye(e){return e[Cc]||null}function Op(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||nn,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:Tp(e.inputs,n),outputs:Tp(e.outputs),debugInfo:null}}function xp(e){e.features?.forEach(n=>n(e))}function Fs(e,n){if(!e)return null;const t=n?Ye:II;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MI)}function OI(...e){return{\u0275providers:Nc(0,e),\u0275fromNgModule:!0}}function Nc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Bi(n,s=>{const a=s;Vs(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Ap(r,o),t}function Ap(e,n){for(let t=0;t{n(o,i)})}}function Vs(e,n,t,i){if(!(e=V(e)))return!1;let r=null,o=Ts(e);const s=!o&&J(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ts(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)Vs(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bi(o.imports,u=>{Vs(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,n)}if(!a){const c=si(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Oc,useValue:r,multi:!0},r),n({provide:Ui,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Rc(e,n){for(let t of e)_c(t)&&(t=t.\u0275providers),Array.isArray(t)?Rc(t,n):n(t)}const xI=fe({provide:String,useValue:fe});function Pc(e){return null!==e&&"object"==typeof e&&xI in e}function li(e){return"function"==typeof e}const Lc=new L(""),Hs={},NI={};let Fc;function Bs(){return void 0===Fc&&(Fc=new Ps),Fc}class rn{}class $i extends rn{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,Vc(n,s=>this.processProvider(s)),this.records.set(wp,zi(void 0,this)),r.has("environment")&&this.records.set(rn,zi(void 0,this));const o=this.records.get(Lc);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Oc,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=Hn(this),i=gt(void 0);try{return n()}finally{Hn(t),gt(i)}}get(n,t=Qr,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hp))return n[hp](this);i=As(i);const o=Hn(this),s=gt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function kI(e){return"function"==typeof e||"object"==typeof e&&e instanceof L}(n)&&Ss(n);l=c&&this.injectableDefInScope(c)?zi(kc(n),Hs):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?Bs():this.parent).get(n,t=i&ie.Optional&&t===Qr?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[xs]=a[xs]||[]).unshift(je(n)),o)throw a;return function aI(e,n,t,i){const r=e[xs];throw n[mp]&&r.unshift(n[mp]),e.message=function lI(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(nI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[xs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{gt(s),Hn(o)}}resolveInjectorInitializers(){const n=K(null),t=Hn(this),i=gt(void 0);try{const o=this.get(Ui,se,ie.Self);for(const s of o)s()}finally{Hn(t),gt(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=li(n=V(n))?n:V(n&&n.provide);const i=function PI(e){return Pc(e)?zi(void 0,e.useValue):zi(Pp(e),Hs)}(n);if(!li(n)&&!0===n.multi){let r=this.records.get(t);r||(r=zi(void 0,Hs,!0),r.factory=()=>Ec(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===Hs&&(t.value=NI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function FI(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=V(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 kc(e){const n=Ss(e),t=null!==n?n.factory:si(e);if(null!==t)return t;if(e instanceof L)throw new T(204,!1);if(e instanceof Function)return function RI(e){if(e.length>0)throw new T(204,!1);const t=function ZE(e){return e&&(e[Os]||e[up])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function Pp(e,n,t){let i;if(li(e)){const r=V(e);return si(r)||kc(r)}if(Pc(e))i=()=>V(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ec(e.deps||[]));else if(function Np(e){return!(!e||!e.useExisting)}(e))i=()=>oe(V(e.useExisting));else{const r=V(e&&(e.useClass||e.provide));if(!function LI(e){return!!e.deps}(e))return si(r)||kc(r);i=()=>new r(...Ec(e.deps))}return i}function zi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vc(e,n){for(const t of e)Array.isArray(t)?Vc(t,n):t&&_c(t)?Vc(t.\u0275providers,n):n(t)}const Me=0,O=1,P=2,Ne=3,Gt=4,Xe=5,St=6,qi=7,ve=8,Ve=9,qt=10,H=11,Jr=12,Vp=13,Wi=14,Se=15,Xr=16,Qi=17,In=18,eo=19,Hp=20,jn=21,$s=22,ci=23,q=25,Bc=1,on=7,Zi=9,Re=10;var jc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(jc||{});function et(e){return Array.isArray(e)&&"object"==typeof e[Bc]}function tt(e){return Array.isArray(e)&&!0===e[Bc]}function Uc(e){return!!(4&e.flags)}function ui(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Wt(e){return!!e.template}function $c(e){return!!(512&e[P])}class YI{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function $p(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function sn(){return zp}function zp(e){return e.type.prototype.ngOnChanges&&(e.setInput=JI),KI}function KI(){const e=qp(this),n=e?.current;if(n){const t=e.previous;if(t===nn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function JI(e,n,t,i,r){const o=this.declaredInputs[i],s=qp(e)||function XI(e,n){return e[Gp]=n}(e,{previous:nn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YI(c&&c.currentValue,t,l===nn),$p(e,n,r,t)}sn.ngInherit=!0;const Gp="__ngSimpleChanges__";function qp(e){return e[Gp]||null}const an=function(e,n,t){};let Zp=!1;function pe(e){for(;Array.isArray(e);)e=e[Me];return e}function no(e,n){return pe(n[e])}function at(e,n){return pe(n[e.index])}function io(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return et(t)?t:t[Me]}function Qc(e){return!(128&~e[P])}function ln(e,n){return null==n?null:e[n]}function Yp(e){e[Qi]=0}function s0(e){1024&e[P]||(e[P]|=1024,Qc(e)&&ro(e))}function Zc(e){return!!(9216&e[P]||e[ci]?.dirty)}function Yc(e){e[qt].changeDetectionScheduler?.notify(1),Zc(e)?ro(e):64&e[P]&&(function t0(){return Zp}()?(e[P]|=1024,ro(e)):e[qt].changeDetectionScheduler?.notify())}function ro(e){e[qt].changeDetectionScheduler?.notify();let n=di(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,Qc(n));)n=di(n)}function qs(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[jn]&&(e[jn]=[]),e[jn].push(n)}function di(e){const n=e[Ne];return tt(n)?n[Ne]:n}const B={lFrame:sg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xp(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function te(){return B.lFrame.tView}function U(e){return B.lFrame.contextLView=e,e[ve]}function $(e){return B.lFrame.contextLView=null,e}function he(){let e=eg();for(;null!==e&&64===e.type;)e=e.parent;return e}function eg(){return B.lFrame.currentTNode}function cn(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function Jc(){return B.lFrame.isParent}function Xc(){B.lFrame.isParent=!1}function lt(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Qt(){return B.lFrame.bindingIndex++}function Sn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function v0(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,eu(n)}function eu(e){B.lFrame.currentDirectiveIndex=e}function nu(){return B.lFrame.currentQueryIndex}function Ws(e){B.lFrame.currentQueryIndex=e}function y0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]: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=y0(o),null===r||(o=o[Wi],10&r.type))););if(null===r)return!1;n=r,e=o}const i=B.lFrame=og();return i.currentTNode=n,i.lView=e,!0}function iu(e){const n=og(),t=e[O];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function og(){const e=B.lFrame,n=null===e?null:e.child;return null===n?sg(e):n}function sg(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 ag(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const lg=ag;function ru(){const e=ag();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 nt(){return B.lFrame.selectedIndex}function fi(e){B.lFrame.selectedIndex=e}function _e(){const e=B.lFrame;return io(e.tView,e.selectedIndex)}let dg=!0;function so(){return dg}function un(e){dg=e}function Qs(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Qi]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,hg(a,o)):hg(a,o)}const Ji=-1;class ao{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function au(e){return e!==Ji}function lo(e){return 32767&e}function co(e,n){let t=function x0(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wi],t--;return i}let lu=!0;function Ks(e){const n=lu;return lu=e,n}const pg=255,gg=5;let A0=0;const dn={};function Js(e,n){const t=mg(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,cu(i.data,e),cu(n,null),cu(i.blueprint,null));const r=Xs(e,n),o=e.injectorIndex;if(au(r)){const s=lo(r),a=co(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function cu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Xs(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=Dg(r),null===i)return Ji;if(t++,r=r[Wi],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ji}function uu(e,n,t){!function N0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Wr)&&(i=t[Wr]),null==i&&(i=t[Wr]=A0++);const r=i&pg;n.data[e+(r>>gg)]|=1<=0?n&pg:F0:n}(t);if("function"==typeof o){if(!rg(n,e,i))return i&ie.Host?vg(r,0,i):_g(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;wc()}finally{lg()}}else if("number"==typeof o){let s=null,a=mg(e,n),l=Ji,c=i&ie.Host?n[Se][Xe]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Xs(e,n):n[a+8],l!==Ji&&bg(i,!1)?(s=n[O],a=lo(l),n=co(l,n)):a=-1);-1!==a;){const u=n[O];if(wg(o,a,u.data)){const d=P0(a,n,t,s,i,c);if(d!==dn)return d}l=n[a+8],l!==Ji&&bg(i,n[O].data[a+8]===c)&&wg(o,a,n)?(s=u,a=lo(l),n=co(l,n)):a=-1}}return r}function P0(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=ea(a,s,t,null==i?ui(a)&&lu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?hi(n,s,u,a):dn}function ea(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&&m.type===t)return p}if(r){const p=s[l];if(p&&Wt(p)&&p.type===t)return l}return null}function hi(e,n,t,i){let r=e[t];const o=n.data;if(function M0(e){return e instanceof ao}(r)){const s=r;s.resolving&&function XE(e,n){throw n&&n.join(" > "),new T(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(o[t]));const a=Ks(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?gt(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 E0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=zp(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&>(c),Ks(a),s.resolving=!1,lg()}}return r}function wg(e,n,t){return!!(t[n+(e>>gg)]&1<{const n=e.prototype.constructor,t=n[En]||du(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[En]||du(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function du(e){return Ms(e)?()=>{const n=du(V(e));return n&&n()}:si(e)}function Dg(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Tg(e,n=null,t=null,i){const r=Og(e,n,t,i);return r.resolveInjectorInitializers(),r}function Og(e,n=null,t=null,i,r=new Set){const o=[t||se,OI(e)];return i=i||("object"==typeof e?void 0:je(e)),new $i(o,n||Bs(),i||null,r)}let Ot=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Qr;static#t=this.NULL=new Ps;static create(t,i){if(Array.isArray(t))return Tg({name:""},i,t,"");{const r=t.name??"";return Tg({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=ne({token:e,providedIn:"any",factory:()=>oe(wp)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function hu(e){return e.ngOriginalError}class fn{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&&hu(n);for(;t&&hu(t);)t=hu(t);return t||null}}const Ag=new L("",{providedIn:"root",factory:()=>W(fn).handleError.bind(void 0)});let tr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=q0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class G0 extends tr{constructor(n){super(),this._lView=n}onDestroy(n){return qs(this._lView,n),()=>function Kc(e,n){if(null===e[jn])return;const t=e[jn].indexOf(n);-1!==t&&e[jn].splice(t,1)}(this._lView,n)}}function q0(){return new G0(w())}function W0(){return nr(he(),w())}function nr(e,n){return new ct(at(e,n))}let ct=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=W0}return e})();function Rg(e){return e instanceof ct?e.nativeElement:e}function pu(e){return n=>{setTimeout(e,void 0,n)}}const ye=class Q0 extends Gr{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,function Fp(){return void 0!==pp()||null!=function rI(){return Hi}()}()&&(this.destroyRef=W(tr,{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=pu(o),r&&(r=pu(r)),s&&(s=pu(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof jt&&n.add(a),a}};function Z0(){return this._results[Symbol.iterator]()}class gu{static#e=Symbol.iterator;get changes(){return this._changes??=new ye}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=gu.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 mt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ivM}),vM="ng",Xg=new L(""),ir=new L("",{providedIn:"platform",factory:()=>"unknown"}),em=new L("",{providedIn:"root",factory:()=>Un().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let tm=()=>null;function Su(e,n,t=!1){return tm(e,n,t)}const sm=new L("",{providedIn:"root",factory:()=>!1});let ha,pa;function sr(e){return function Au(){if(void 0===ha&&(ha=null,de.trustedTypes))try{ha=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ha}()?.createHTML(e)||e}function lm(e){return function Nu(){if(void 0===pa&&(pa=null,de.trustedTypes))try{pa=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return pa}()?.createHTML(e)||e}class dm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${op})`}}function $n(e){return e instanceof dm?e.changingThisBreaksApplicationSecurity:e}function vo(e,n){const t=function FM(e){return e instanceof dm&&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 kM{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(sr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class VM{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=sr(n),t}}const BM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ru(e){return(e=String(e)).match(BM)?e:"unsafe:"+e}function Tn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _o(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const hm=Tn("area,br,col,hr,img,wbr"),pm=Tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Tn("rp,rt"),Pu=_o(hm,_o(pm,Tn("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")),_o(gm,Tn("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")),_o(gm,pm)),Lu=Tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mm=_o(Lu,Tn("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"),Tn("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")),jM=Tn("script,style,template");class UM{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=GM(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=zM(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=vm(n).toLowerCase();if(!Pu.hasOwnProperty(t))return this.sanitizedSomething=!0,!jM.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=vm(n).toLowerCase();Pu.hasOwnProperty(t)&&!hm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(ym(n))}}function zM(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _m(n);return n}function GM(e){const n=e.firstChild;if(n&&function $M(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _m(n);return n}function vm(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _m(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const qM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WM=/([^\#-~ |!])/g;function ym(e){return e.replace(/&/g,"&").replace(qM,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(WM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let ga;function Fu(e){return"content"in e&&function ZM(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ar=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}(ar||{});function Cm(e){const n=yo();return n?lm(n.sanitize(ar.HTML,e)||""):vo(e,"HTML")?lm($n(e)):function QM(e,n){let t=null;try{ga=ga||function fm(e){const n=new VM(e);return function HM(){try{return!!(new window.DOMParser).parseFromString(sr(""),"text/html")}catch{return!1}}()?new kM(n):n}(e);let i=n?String(n):"";t=ga.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=ga.getInertBodyElement(i)}while(i!==o);return sr((new UM).sanitizeChildren(Fu(t)||t))}finally{if(t){const i=Fu(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(Un(),G(e))}function zn(e){const n=yo();return n?n.sanitize(ar.URL,e)||"":vo(e,"URL")?$n(e):Ru(G(e))}function yo(){const e=w();return e&&e[qt].sanitizer}const nS=/^>|^->||--!>|)/g,rS="\u200b$1\u200b";function _a(e){return e.ownerDocument.defaultView}var Gn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gn||{});let Bu;function ju(e,n){return Bu(e,n)}function cr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:et(i)&&(s=!0,i=i[Me]);const a=pe(i);0===e&&null!==t?null==r?Rm(n,t,a):pi(n,t,a,r||null,!0):1===e&&null!==t?pi(n,t,a,r||null,!0):2===e?function bo(e,n,t){const i=wa(e,n);i&&function bS(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IS(e,n,t,i,r){const o=t[on];o!==pe(t)&&cr(n,e,i,o,r);for(let a=Re;an.replace(iS,rS))}(n))}function ya(e,n,t){return e.createElement(n,t)}function xm(e,n){n[qt].changeDetectionScheduler?.notify(1),Da(e,n,n[H],2,null,null)}function Am(e,n){const t=e[Zi],i=t.indexOf(n);t.splice(i,1)}function Co(e,n){if(e.length<=Re)return;const t=Re+n,i=e[t];if(i){const r=i[Xr];null!==r&&r!==e&&Am(r,i),n>0&&(e[t-1][Gt]=i[Gt]);const o=Ns(e,Re+n);!function gS(e,n){xm(e,n),n[Me]=null,n[Xe]=null}(i[O],i);const s=o[In];null!==s&&s.detachView(o[O]),i[Ne]=null,i[Gt]=null,i[P]&=-129}return i}function Ca(e,n){if(!(256&n[P])){const t=n[H];t.destroyNode&&Da(e,n,t,3,null,null),function vS(e){let n=e[Jr];if(!n)return zu(e[O],e);for(;n;){let t=null;if(et(n))t=n[Jr];else{const i=n[Re];i&&(t=i)}if(!t){for(;n&&!n[Gt]&&n!==e;)et(n)&&zu(n[O],n),n=n[Ne];null===n&&(n=e),et(n)&&zu(n[O],n),t=n&&n[Gt]}n=t}}(n)}}function zu(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[ci]&&function $h(e){if(Ri(e),zr(e))for(let n=0;n=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[qi]=null);const r=n[jn];if(null!==r){n[jn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Ut.None||o===Ut.Emulated)return null}return at(i,t)}}(e,n.parent,t)}function pi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Rm(e,n,t){e.appendChild(n,t)}function Pm(e,n,t,i,r){null!==i?pi(e,n,t,i,r):Rm(e,n,t)}function wa(e,n){return e.parentNode(n)}let qu,km=function Fm(e,n,t){return 40&e.type?at(e,t):null};function ba(e,n,t,i){const r=Gu(e,i,n),o=n[H],a=function Lm(e,n,t){return km(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lq&&zm(e,n,q,!1),an(s?2:0,r),t(i,r)}finally{fi(o),an(s?3:1,r)}}function Yu(e,n,t){if(Uc(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Zm(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=Oe.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?Ym(i,t,c,a,l):Ym(i,t,c,a)}return i}function Ym(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 yt(e,n,t,i,r,o,s,a){const l=at(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(rd(e,t,u,i,r),ui(n)&&function HS(e,n){const t=Tt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function VS(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 ed(e,n,t,i){if(Xp()){const r=null===i?null:{"":-1},o=function GS(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,Do(e,t,r.hostVars,Q),r)}function hn(e,n,t,i,r,o){const s=at(e,n);!function nd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?G(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function KS(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][Gt]=n),i!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[ci]=this}},av=100;function Sa(e,n=!0,t=0){const i=e[qt],r=i.rendererFactory;r.begin?.();try{!function sT(e,n){ad(e,n);let t=0;for(;Zc(e);){if(t===av)throw new T(103,!1);t++,ad(e,1)}}(e,t)}catch(s){throw n&&Ma(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function aT(e,n,t,i){const r=n[P];if(!(256&~r))return;n[qt].inlineEffectRunner?.flush(),iu(n);let s=null,a=null;(function lT(e){return 2!==e.type})(e)&&(a=function nT(e){return e[ci]??function iT(e){const n=sv.pop()??Object.create(oT);return n.lView=e,n}(e)}(n),s=function jh(e){return e&&(e.nextProducerIndex=0),K(e)}(a));try{Yp(n),function ng(e){return B.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qm(e,n,t,2,i);const l=!(3&~r);if(l){const d=e.preOrderCheckHooks;null!==d&&Zs(n,d,null)}else{const d=e.preOrderHooks;null!==d&&Ys(n,d,0,null),ou(n,0)}if(function cT(e){for(let n=$g(e);null!==n;n=zg(n)){if(!(n[P]&jc.HasTransplantedViews))continue;const t=n[Zi];for(let i=0;ie.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function rT(e){e.lView[ci]!==e&&(e.lView=null,sv.push(e))}(a)),ru()}}function lv(e,n){for(let t=$g(e);null!==t;t=zg(t))for(let i=Re;i-1&&(Co(n,i),Ns(t,i))}this._attachedToViewContainer=!1}Ca(this._lView[O],this._lView)}onDestroy(n){qs(this._lView,n)}markForCheck(){So(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Yc(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Sa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xm(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n,Yc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();const dT=xn,fT=class extends dT{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 Eo(e,n,t,i){const r=K(null);try{const o=n.tView,l=Ea(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[Xr]=e[n.index];const u=e[In];return null!==u&&(l[In]=u.createEmbeddedView(o)),od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new To(r)}};function hT(){return Ta(he(),w())}function Ta(e,n){return 4&e.type?new fT(n,e,nr(e,n)):null}class hd{}class kT{}class vv{}class HT{resolveComponentFactory(n){throw function VT(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}let Ra=(()=>{class e{static#e=this.NULL=new HT}return e})();class yv{}let Yt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function BT(){const e=w(),t=Tt(he().index,e);return(et(t)?t:e)[H]}()}return e})(),jT=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();const pd={};function wv(...e){}class De{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function UT(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function GT(e){const n=()=>{!function zT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,md(e),e.isCheckStableRunning=!0,gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),md(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function qT(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(r,o,s,a);try{return bv(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Dv(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return bv(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Dv(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,md(e),gd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!De.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(De.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,$T,wv,wv);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 $T={};function gd(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 md(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,gd(e)}class Ev{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}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)}}let Ro=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();function La(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Um(e,t,o.join(" "))}}(p,Te,y,i),void 0!==t&&function oO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=aO}return e})();function aO(){return Pv(he(),w())}const lO=gn,Nv=class extends lO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return nr(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xs(this._hostTNode,this._hostLView);if(au(n)){const t=co(n,this._hostLView),i=lo(n);return new ze(t[O].data[i+8],t)}return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Rv(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Re}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,dr(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Kr(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Fo(J(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const y=(s?c:this.parentInjector).get(rn,null);y&&(o=y)}J(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,dr(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function o0(e){return tt(e[Ne])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ne],c=new Nv(l,l[Xe],l[Ne]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Io(s,r,o,i),n.attachToViewContainerRef(),_p(Cd(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Rv(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);i&&(Ns(Cd(this._lContainer),t),Ca(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Co(this._lContainer,t);return i&&null!=Ns(Cd(this._lContainer),t)?new To(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Rv(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Pv(e,n){let t;const i=n[e.index];return tt(i)?t=i:(t=Xm(i,n,null,e),n[e.index]=t,Ia(n,t)),Lv(t,n,e,i),new Nv(t,e,n)}let Lv=function kv(e,n,t,i){if(e[on])return;let r;r=8&t.type?pe(i):function cO(e,n){const t=e[H],i=t.createComment(""),r=at(n,e);return pi(t,wa(t,r),i,function DS(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[on]=r},wd=()=>!1;class bd{constructor(n){this.queryList=n,this.matches=null}clone(){return new bd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dd{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 Ed{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=Re;d=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Yr(r.hostAttrs,t=Yr(t,r.hostAttrs))}}(i)}function OO(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 Va(e){return e===nn?{}:e===se?[]:e}function AO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function NO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function RO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class vi{}class BO{}class xd extends vi{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xv(this);const r=function Je(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 xt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Og(n,t,[{provide:vi,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}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 Ad extends BO{constructor(n){super(),this.moduleType=n}create(n){return new xd(this.moduleType,n,[])}}let Vo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new UE(!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.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ba(e){return!!Nd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Nd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function mn(e,n,t){return e[n]=t}function Pe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _i(e,n,t,i){const r=Pe(e,n,t);return Pe(e,n+1,i)||r}function F(e,n,t,i,r,o,s,a){const l=w(),c=te(),u=e+q,d=c.firstCreatePass?function QO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=ur(n,e,4,s||null,ln(c,a));ed(n,t,u,ln(c,l)),Qs(n,u);const d=u.tView=Xu(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,c,l,n,t,i,r,o,s):c.data[u];cn(d,!1);const h=u_(c,l,d,e);so()&&ba(c,l,h,d),rt(h,l);const p=Xm(h,l,h,d);return l[u]=p,Ia(l,p),function Fv(e,n,t){return wd(e,n,t)}(p,d,l),Gs(d)&&Ku(c,l,d),null!=s&&Ju(l,d,a),F}let u_=function d_(e,n,t,i){return un(!0),n[H].createComment("")};function ut(e,n,t,i){const r=w();return Pe(r,Qt(),n)&&(te(),hn(_e(),r,e,n,t,i)),ut}function wr(e,n,t,i){return Pe(e,Qt(),t)?n+G(t)+i:Q}function Wa(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Ud(e){return 2|e}function Ci(e){return(131068&e)>>2}function $d(e,n){return-131069&e|n<<2}function zd(e){return 1|e}function U_(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Qn(r):Ci(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Px(e[s],n)&&(a=!0,e[s+1]=i?zd(c):Ud(c)),s=i?Qn(c):Ci(c)}a&&(e[t+1]=i?Ud(r):zd(r))}function Px(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 Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $_(e){return e.substring(Ge.key,Ge.keyEnd)}function z_(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function Vx(e,n,t){for(;n32;)n++;return n}(e,Ge.key=n,t),Or(e,n,t))}function Or(e,n,t){for(;n=0;t=z_(n,t))Mt(e,$_(n),!0)}function Kt(e,n,t,i){const r=w(),o=te(),s=Sn(2);o.firstUpdatePass&&Y_(o,e,s,i),n!==Q&&Pe(r,s,n)&&J_(o,o.data[nt()],r,r[H],e,r[s+1]=function Yx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je($n(e)))),e}(n,t),i,s)}function Z_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[nt()],s=Z_(e,t);ey(o,i)&&null===n&&!s&&(n=!1),n=function $x(e,n,t,i){const r=function tu(e){const n=B.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=zo(t=qd(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=qd(r,e,n,t,i),null===o){let l=function zx(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ci(i))return e[Qn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=qd(null,e,n,l[1],i),l=zo(l,n.attrs,i),function Gx(e,n,t,i){e[Qn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qx(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=Qn(e[a+1]);e[i+1]=Wa(h,a),0!==h&&(e[h+1]=$d(e[h+1],i)),e[a+1]=function xx(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Wa(a,0),0!==a&&(e[a+1]=$d(e[a+1],i)),a=i;else e[i+1]=Wa(l,0),0===a?a=i:e[l+1]=$d(e[l+1],i),l=i;c&&(e[i+1]=Ud(e[i+1])),U_(e,u,i,!0),U_(e,u,i,!1),function Rx(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[i+1]=zd(t[i+1]))}(n,u,e,i,o),s=Wa(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function qd(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===Q&&(h=d?se:void 0);let p=d?Tc(h,i):u===i?h:void 0;if(c&&!Za(p)&&(p=Tc(l,i)),Za(p)&&(a=p,s))return a;const m=e[r+1];r=s?Qn(m):Ci(m)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tc(l,i))}return a}function Za(e){return void 0!==e}function ey(e,n){return!!(e.flags&(n?8:16))}function yn(e,n,t){!function Jt(e,n,t,i){const r=te(),o=Sn(2);r.firstUpdatePass&&Y_(r,null,o,i);const s=w();if(t!==Q&&Pe(s,o,t)){const a=r.data[nt()];if(ey(a,i)&&!Z_(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fc(l,t||"")),Gd(r,a,s,t,i)}else!function Zx(e,n,t,i,r,o,s,a){r===Q&&(r=se);let l=0,c=0,u=0(un(!0),ya(i,r,function ug(){return B.lFrame.currentNamespace}()));function X(e,n,t){const i=w(),r=te(),o=e+q,s=r.firstCreatePass?function w1(e,n,t,i,r){const o=n.consts,s=ln(o,i),a=ur(n,e,8,"ng-container",s);return null!==s&&La(a,s,!0),ed(n,t,a,ln(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];cn(s,!0);const a=sy(r,i,s,e);return i[o]=a,so()&&ba(r,i,a,s),rt(a,i),Gs(s)&&(Ku(r,i,s),Yu(r,s,i)),null!=t&&Ju(i,s),X}function ee(){let e=he();const n=te();return Jc()?Xc():(e=e.parent,cn(e,!1)),n.firstCreatePass&&(Qs(n,e),Uc(e)&&n.queries.elementEnd(e)),ee}let sy=(e,n,t,i)=>(un(!0),$u(n[H],""));function Ee(){return w()}const Ar="en-US";let dy=Ar;function z(e,n,t,i){const r=w(),o=te(),s=he();return Xd(o,r,r[H],s,e,n,i),z}function Xd(e,n,t,i,r,o,s){const a=Gs(i),c=e.firstCreatePass&&nv(e),u=n[ve],d=tv(n);let h=!0;if(3&i.type||s){const y=at(i,n),D=s?s(y):y,S=d.length,b=s?Z=>s(pe(Z[i.index])):i.index;let R=null;if(!s&&a&&(R=function bA(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!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,h=!1;else{o=Hy(i,n,u,o,!1);const Z=t.listen(D,r,o);d.push(o,Z),c&&c.push(r,b,S,S+1)}}else o=Hy(i,n,u,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const y=m.length;if(y)for(let D=0;D-1?Tt(e.index,n):n);let l=Vy(n,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Vy(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&s.preventDefault(),l}}function v(e=1){return function C0(e){return(B.lFrame.contextLView=function Kp(e,n){for(;e>0;)n=n[Wi],e--;return n}(e,B.lFrame.contextLView))[ve]}(e)}function Nn(e,n,t){return ef(e,"",n,"",t),Nn}function ef(e,n,t,i,r){const o=w(),s=wr(o,n,t,i);return s!==Q&&yt(te(),_e(),o,e,s,o[H],r,!1),ef}function Qy(e,n,t,i){!function Uv(e,n,t,i){const r=te();if(r.firstCreatePass){const o=he();$v(r,new Vv(n,t,i),o.index),function _O(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 Bv(r,w(),t)}(e,n,t,i)}function Nt(e,n,t){!function jv(e,n,t){const i=te();return i.firstCreatePass&&($v(i,new Vv(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Bv(i,w(),n)}(e,n,t)}function wt(e){const n=w(),t=te(),i=nu();Ws(i+1);const r=Td(t,i);if(e.dirty&&function r0(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=zv(n,i);e.reset(o,Rg),e.notifyOnChanges()}return!0}return!1}function bt(){return function Sd(e,n){return e[In].queries[n].queryList}(w(),nu())}function E(e,n=""){const t=w(),i=te(),r=e+q,o=i.firstCreatePass?ur(i,r,1,n,null):i.data[r],s=rC(i,t,o,n,e);t[r]=s,so()&&ba(i,t,s,o),cn(o,!1)}let rC=(e,n,t,i,r)=>(un(!0),function Uu(e,n){return e.createText(n)}(n[H],i));function A(e){return Y("",e,""),A}function Y(e,n,t){const i=w(),r=wr(i,e,n,t);return r!==Q&&function On(e,n,t){const i=no(n,e);!function Om(e,n,t){e.setValue(n,t)}(e[H],i,t)}(i,nt(),r),Y}function Ke(e,n,t){Wv(n)&&(n=n());const i=w();return Pe(i,Qt(),n)&&yt(te(),_e(),i,e,n,i[H],t,!1),Ke}function xe(e,n){const t=Wv(e);return t&&e.set(n),t}function ot(e,n){const t=w(),i=te(),r=he();return Xd(i,t,t[H],r,e,n),ot}function tf(e,n,t,i,r){if(e=V(e),Array.isArray(e))for(let o=0;o>20;if(li(e)||!e.multi){const p=new ao(c,r,M),m=rf(l,n,r?u:u+h,d);-1===m?(uu(Js(a,s),o,l),nf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=rf(l,n,u+h,d),m=rf(l,n,u,u+h),D=m>=0&&t[m];if(r&&!D||!r&&!(p>=0&&t[p])){uu(Js(a,s),o,l);const S=function GA(e,n,t,i,r){const o=new ao(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,hC(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&D&&(t[m].providerFactory=S),nf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else nf(o,e,p>-1?p:m,hC(t[r?m:p],c,!r&&i));!r&&i&&D&&t[m].componentProviders++}}}function nf(e,n,t,i){const r=li(n),o=function AI(e){return!!e.useClass}(n);if(r||o){const l=(o?V(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 hC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=te();if(i.firstCreatePass){const r=Wt(e);tf(t,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ko(e,n,t,i){return function gC(e,n,t,i,r,o){const s=n+t;return Pe(e,s,r)?mn(e,s+1,o?i.call(o,r):i(r)):Jo(e,s+1)}(w(),lt(),e,n,t,i)}function sf(e,n,t,i,r){return function mC(e,n,t,i,r,o,s){const a=n+t;return _i(e,a,r,o)?mn(e,a+2,s?i.call(s,r,o):i(r,o)):Jo(e,a+2)}(w(),lt(),e,n,t,i,r)}function qe(e,n,t,i,r,o){return vC(w(),lt(),e,n,t,i,r,o)}function Jo(e,n){const t=e[n];return t===Q?void 0:t}function vC(e,n,t,i,r,o,s,a){const l=n+t;return function ja(e,n,t,i,r){const o=_i(e,n,t,i);return Pe(e,n+2,r)||o}(e,l,r,o,s)?mn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):Jo(e,l+3)}function wC(e,n,t,i,r){const o=e+q,s=w(),a=function Yi(e,n){return e[n]}(s,o);return function Xo(e,n){return e[O].data[n].pure}(s,o)?vC(s,lt(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const jC=new L(""),rl=new L("");let pf,ff=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,pf||(function nR(e){pf=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:()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!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()}getPendingRequestCount(){return this._pendingCount}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(De),oe(hf),oe(rl))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),hf=(()=>{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 pf?.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 ol(e){return!!e&&"function"==typeof e.then}function UC(e){return!!e&&"function"==typeof e.subscribe}const iR=new L("");let gf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=W(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(ol(o))t.push(o);else if(UC(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 $C=new L("");function qC(e,n){return Array.isArray(n)?n.reduce(qC,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Ag),this.afterRenderEffectManager=W(Ro),this.externalTestViews=new Set,this.beforeRender=new Gr,this.afterTick=new Gr,this.componentTypes=[],this.components=[],this.isStable=W(Vo).hasPendingTasks.pipe(uc(t=>!t)),this._injector=W(rn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof vv;if(!this._injector.get(gf).done)throw!r&&function ai(e){const n=J(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(Ra).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function rR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vi),c=s.create(Ot.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(jC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);const i=K(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,K(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===av)throw new T(103,!1);if(t){const o=0===i;this.beforeRender.next(o);for(let{_lView:s,notifyErrorHandler:a}of this._views)sR(s,o,a)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:o})=>mf(o))))break}}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($C,[]);[...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 sR(e,n,t){!n&&!mf(e)||function aR(e,n,t){let i;t?(i=0,e[P]|=1024):i=64&e[P]?0:1,Sa(e,n,i)}(e,t,n)}function mf(e){return Zc(e)}let dR=(()=>{class e{constructor(){this.zone=W(De),this.applicationRef=W(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{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 fR(){const e=W(De),n=W(fn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let pR=(()=>{class e{constructor(){this.subscription=new jt,this.initialized=!1,this.zone=W(De),this.pendingTasks=W(Vo)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.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})();const Rn=new L("",{providedIn:"root",factory:()=>W(Rn,ie.Optional|ie.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||Ar}()}),vf=new L("");let YC=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function WT(e="zone.js",n){return"noop"===e?new Ev:"zone.js"===e?new De(n):e}(i?.ngZone,function ZC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=function UO(e,n,t){return new xd(e,n,t)}(t.moduleType,this.injector,function QC(e){return[{provide:De,useFactory:e},{provide:Ui,multi:!0,useFactory:()=>{const n=W(dR,{optional:!0});return()=>n.initialize()}},{provide:Ui,multi:!0,useFactory:()=>{const n=W(pR);return()=>{n.initialize()}}},{provide:Ag,useFactory:fR}]}(()=>r)),s=o.injector.get(fn,null);return r.runOutsideAngular(()=>{const a=r.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{sl(this._modules,o),a.unsubscribe()})}),function GC(e,n,t){try{const i=t();return ol(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,r,()=>{const a=o.injector.get(gf);return a.runInitializers(),a.donePromise.then(()=>(function fy(e){"string"==typeof e&&(dy=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(Rn,Ar)||Ar),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,i=[]){const r=qC({},i);return function uR(e,n,t){const i=new Ad(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new T(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}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(vf,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(Ot))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Zn=null;const KC=new L("");function JC(e,n,t=[]){const i=`Platform: ${n}`,r=new L(i);return(o=[])=>{let s=_f();if(!s||s.injector.get(KC,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function _R(e){if(Zn&&!Zn.get(KC,!1))throw new T(400,!1);(function zC(){!function TE(e){qh=e}(()=>{throw new T(600,!1)})})(),Zn=e;const n=e.get(YC);(function ew(e){e.get(Xg,null)?.forEach(t=>t())})(e)}(function XC(e=[],n){return Ot.create({name:n,providers:[{provide:Lc,useValue:"platform"},{provide:vf,useValue:new Set([()=>Zn=null])},...e]})}(a,i))}return function yR(e){const n=_f();if(!n)throw new T(401,!1);return n}()}}function _f(){return Zn?.get(YC)??null}let Di=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wR}return e})();function wR(e){return function bR(e,n,t){if(ui(e)&&!t){const i=Tt(e.index,n);return new To(i,i)}return 47&e.type?new To(n[Se],n):null}(he(),w(),!(16&~e))}class ow{constructor(){}supports(n){return Ba(n)}create(n){return new SR(n)}}const MR=(e,n)=>n;class SR{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||MR}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 TR(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 sw),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 sw),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 TR{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 OR{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 sw{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new OR,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 aw(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 AR(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 AR{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 cw(){return new Df([new ow])}let Df=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:cw});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||cw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function uw(){return new ul([new lw])}let ul=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:uw});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||uw()),deps:[[e,new Mc,new Ic]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const PR=JC(null,"core",[]);let LR=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(bi))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();let Rw=null;function rs(){return Rw}class vP{}const Ii=new L(""),Ff=/\s+/,Uw=[];let Fr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Uw,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ff):Uw}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ff):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(Ff).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)(M(ct),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Oe.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class oL{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 Mi=(()=>{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 oL(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),zw(a,r)}});for(let r=0,o=i.length;r{zw(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(gn),M(xn),M(Df))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function zw(e,n){e.context.$implicit=n.item}let Fn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new sL,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){Gw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Gw("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)(M(gn),M(xn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class sL{constructor(){this.$implicit=null,this.ngIf=null}}function Gw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let Ww=(()=>{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:Gn.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)(M(ct),M(ul),M(Yt))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Qw=(()=>{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)(M(gn))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[sn]})}return e})();let Yw=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function en(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=vt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Kw=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})();function Xw(e){return"server"===e}class dF extends vP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uf extends dF{static makeCurrent(){!function mP(e){Rw??=e}(new Uf)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 fF(){return ls=ls||document.querySelector("base"),ls?ls.getAttribute("href"):null}();return null==t?null:function hF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ls=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function iL(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 ls=null,gF=(()=>{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 $f=new L("");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($f),oe(De))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class cb{constructor(n){this._doc=n}}const zf="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=Xw(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[${zf}="${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(zf),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(zf,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(Ii),oe(sa),oe(em,8),oe(ir))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Gf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qf=/%COMP%/g,yF=new L("",{providedIn:"root",factory:()=>!0});function fb(e,n){return n.map(t=>t.replace(qf,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=Xw(a),this.defaultRenderer=new Wf(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ut.ShadowDom&&(i={...i,encapsulation:Ut.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof gb?r.applyToHost(t):r instanceof Qf&&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 Ut.Emulated:o=new gb(l,c,i,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new DF(l,c,t,i,s,a,this.nonce,d);default:o=new Qf(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(sa),oe(yF),oe(Ii),oe(ir),oe(De),oe(em))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Wf{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(Gf[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){n&&n.removeChild(t)}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=Gf[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Gf[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&(Gn.DashCase|Gn.Important)?n.style.setProperty(t,i,r&Gn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Gn.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=rs().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 DF extends Wf{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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qf extends Wf{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 Qf{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 CF(e){return"_ngcontent-%COMP%".replace(qf,e)}(c),this.hostAttr=function wF(e){return"_nghost-%COMP%".replace(qf,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 EF=(()=>{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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const mb=["alt","control","meta","shift"],IF={"\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"},MF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SF=(()=>{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(()=>rs().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=IF[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,MF[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(Ii))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const AF=JC(PR,"browser",[{provide:ir,useValue:"browser"},{provide:Xg,useValue:function TF(){Uf.makeCurrent()},multi:!0},{provide:Ii,useFactory:function xF(){return function mM(e){yu=e}(document),document},deps:[]}]),NF=new L(""),yb=[{provide:rl,useClass:class pF{addToWindow(n){de.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(i=>{const r=de.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?rs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:jC,useClass:ff,deps:[De,hf,rl]},{provide:ff,useClass:ff,deps:[De,hf,rl]}],Cb=[{provide:Lc,useValue:"root"},{provide:fn,useFactory:function OF(){return new fn},deps:[]},{provide:$f,useClass:EF,multi:!0,deps:[Ii,De,ir]},{provide:$f,useClass:SF,multi:!0,deps:[Ii]},hb,ub,lb,{provide:yv,useExisting:hb},{provide:class kL{},useClass:gF,deps:[]},[]];let RF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:sa,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(NF,12))};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({providers:[...Cb,...yb],imports:[Kw,LR]})}return e})();function Si(e){return this instanceof Si?(this.v=e,this):new Si(e)}function BF(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 Mb(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)})}}}const Sb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Tb(e){return Qe(e?.then)}function Ob(e){return Qe(e[ac])}function xb(e){return Symbol.asyncIterator&&Qe(e?.[Symbol.asyncIterator])}function Ab(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 Nb=function UF(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rb(e){return Qe(e?.[Nb])}function Pb(e){return function HF(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Si?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Si(t.read());if(r)return yield Si(void 0);yield yield Si(i)}}finally{t.releaseLock()}})}function Lb(e){return Qe(e?.getReader)}function xl(e){if(e instanceof Ft)return e;if(null!=e){if(Ob(e))return function $F(e){return new Ft(n=>{const t=e[ac]();if(Qe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Sb(e))return function zF(e){return new Ft(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Xh)})}(e);if(xb(e))return Fb(e);if(Rb(e))return function qF(e){return new Ft(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Lb(e))return function WF(e){return Fb(Pb(e))}(e)}throw Ab(e)}function Fb(e){return new Ft(n=>{(function QF(e,n){var t,i,r,o;return function kF(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=BF(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 Ti(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 lc((t,i)=>{t.subscribe(new cc(i,r=>Ti(i,e,()=>i.next(r),n),()=>Ti(i,e,()=>i.complete(),n),r=>Ti(i,e,()=>i.error(r),n)))})}function Vb(e,n=0){return lc((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 Ft(t=>{Ti(t,n,()=>{const i=e[Symbol.asyncIterator]();Ti(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:nk}=Array,{getPrototypeOf:ik,prototype:rk,keys:ok}=Object;const{isArray:ck}=Array;function fk(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function hk(...e){const n=function lk(e){return Qe(function Yf(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function sk(e){if(1===e.length){const n=e[0];if(nk(n))return{args:n,keys:null};if(function ak(e){return e&&"object"==typeof e&&ik(e)===rk}(n)){const t=ok(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ft(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?fk(i,a):a),o.complete())}))}});return n?r.pipe(function dk(e){return uc(n=>function uk(e,n){return ck(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)(M(Yt),M(ct))};static#t=this.\u0275dir=j({type:e})}return e})(),Oi=(()=>{class e extends Bb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,features:[le]})}return e})();const tn=new L(""),pk={provide:tn,useExisting:ge(()=>Kf),multi:!0};let Kf=(()=>{class e extends Oi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([pk]),le]})}return e})();const gk={provide:tn,useExisting:ge(()=>us),multi:!0},vk=new L("");let us=(()=>{class e extends Bb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mk(){const e=rs()?rs().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)(M(Yt),M(ct),M(vk,8))};static#t=this.\u0275dir=j({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&&z("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([gk]),le]})}return e})();const st=new L(""),Kn=new L("");function Yb(e){return null!=e}function Kb(e){return ol(e)?function tk(e,n){return n?function ek(e,n){if(null!=e){if(Ob(e))return function ZF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(Sb(e))return function KF(e,n){return new Ft(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 YF(e,n){return xl(e).pipe(Vb(n),kb(n))}(e,n);if(xb(e))return Hb(e,n);if(Rb(e))return function JF(e,n){return new Ft(t=>{let i;return Ti(t,n,()=>{i=e[Nb](),Ti(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)}),()=>Qe(i?.return)&&i.return()})}(e,n);if(Lb(e))return function XF(e,n){return Hb(Pb(e),n)}(e,n)}throw Ab(e)}(e,n):xl(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 eD(e){return e.map(n=>function yk(e){return!e.validate}(n)?n:t=>n.validate(t))}function Jf(e){return null!=e?function tD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return Jb(Xb(t,n))}}(eD(e)):null}function Xf(e){return null!=e?function nD(e){if(!e)return null;const n=e.filter(Yb);return 0==n.length?null:function(t){return hk(Xb(t,n).map(Kb)).pipe(uc(Jb))}}(eD(e)):null}function iD(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function eh(e){return e?Array.isArray(e)?e:[e]:[]}function Nl(e,n){return Array.isArray(e)?e.includes(n):e===n}function sD(e,n){const t=eh(n);return eh(e).forEach(r=>{Nl(t,r)||t.push(r)}),t}function aD(e,n){return eh(n).filter(t=>!Nl(e,t))}class lD{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=Jf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Xf(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 pt extends lD{get formDirective(){return null}get path(){return null}}class Jn extends lD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rl=(()=>{class e extends cD{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Jn,2))};static#t=this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&An("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:[le]})}return e})();const ds="VALID",Ll="INVALID",kr="PENDING",fs="DISABLED";function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oh{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,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 valid(){return this.status===ds}get invalid(){return this.status===Ll}get pending(){return this.status==kr}get disabled(){return this.status===fs}get enabled(){return this.status!==fs}get dirty(){return!this.pristine}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(sD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(sD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(aD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(aD(n,this._rawAsyncValidators))}hasValidator(n){return Nl(this._rawValidators,n)}hasAsyncValidator(n){return Nl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=kr,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fs,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ds,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ds||this.status===kr)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fs:ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const t=Kb(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}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){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?fs:this.errors?Ll:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(Ll)?Ll:ds}_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={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(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 Ek(e){return Array.isArray(e)?Jf(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Ik(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}const Vr=new L("CallSetDisabledState",{providedIn:"root",factory:()=>kl}),kl="always";function hs(e,n,t=kl){(function ah(e,n){const t=function rD(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(iD(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function oD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(iD(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Bl(n._rawValidators,r),Bl(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Tk(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hD(e,n)})}(e,n),function xk(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 Ok(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Sk(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Bl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function hD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function mD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function vD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const _D=class extends oh{constructor(n=null,t,i){super(function ih(e){return(Fl(e)?e.validators:e)||null}(t),function rh(e,n){return(Fl(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}),Fl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=vD(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){mD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mD(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){vD(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}},Vk={provide:Jn,useExisting:ge(()=>gs)},wD=Promise.resolve();let gs=(()=>{class e extends Jn{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _D,this._registered=!1,this.name="",this.update=new ye,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function uh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===us?t=o:function Rk(e){return Object.getPrototypeOf(e.constructor)===Oi}(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 ch(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(){hs(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){wD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function Mf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);wD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Vl(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(pt,9),M(st,10),M(Kn,10),M(tn,10),M(Di,8),M(Vr,8))};static#t=this.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Oe.None,"disabled","isDisabled"],model:[Oe.None,"ngModel","model"],options:[Oe.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([Vk]),le,sn]})}return e})();const $k={provide:tn,useExisting:ge(()=>fh),multi:!0};let fh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&z("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([$k]),le]})}return e})();const Zk={provide:tn,useExisting:ge(()=>ms),multi:!0};function TD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ms=(()=>{class e extends Oi{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=TD(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 Yk(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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Zk]),le]})}return e})(),mh=(()=>{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(TD(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)(M(ct),M(Yt),M(ms,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const Kk={provide:tn,useExisting:ge(()=>vh),multi:!0};function OD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let vh=(()=>{class e extends Oi{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=it(e)))(r||e)}})();static#t=this.\u0275dir=j({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&z("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([Kk]),le]})}return e})(),_h=(()=>{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(OD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(OD(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)(M(ct),M(Yt),M(vh,9))};static#t=this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),a2=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({})}return e})(),c2=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vr,useValue:t.callSetDisabledState??kl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e});static#n=this.\u0275inj=Dn({imports:[a2]})}return e})();function Ze(e){return"function"==typeof e}function HD(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 Ch=HD(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 Ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Cn{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(Ze(i))try{i()}catch(o){n=o instanceof Ch?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{UD(o)}catch(s){n=n??[],s instanceof Ch?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ch(n)}}add(n){var t;if(n&&n!==this)if(this.closed)UD(n);else{if(n instanceof Cn){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)&&Ul(t,n)}remove(n){const{_finalizers:t}=this;t&&Ul(t,n),n instanceof Cn&&n._removeParent(this)}}Cn.EMPTY=(()=>{const e=new Cn;return e.closed=!0,e})();const BD=Cn.EMPTY;function jD(e){return e instanceof Cn||e&&"closed"in e&&Ze(e.remove)&&Ze(e.add)&&Ze(e.unsubscribe)}function UD(e){Ze(e)?e():e.unsubscribe()}const Ai={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $D(e){$l.setTimeout(()=>{const{onUnhandledError:n}=Ai;if(!n)throw e;n(e)})}function zD(){}const u2=wh("C",void 0,void 0);function wh(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function zl(e){if(Ai.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Ni;if(Ni=null,t)throw i}}else e()}class bh extends Cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jD(n)&&n.add(this)):this.destination=v2}static create(n,t,i){return new Eh(n,t,i)}next(n){this.isStopped?Ih(function f2(e){return wh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ih(function d2(e){return wh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ih(u2,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 p2=Function.prototype.bind;function Dh(e,n){return p2.call(e,n)}class g2{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Eh extends bh{constructor(n,t,i){let r;if(super(),Ze(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ai.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dh(n.next,o),error:n.error&&Dh(n.error,o),complete:n.complete&&Dh(n.complete,o)}):r=n}this.destination=new g2(r)}}function Gl(e){Ai.useDeprecatedSynchronousErrorHandling?function h2(e){Ai.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):$D(e)}function Ih(e,n){const{onStoppedNotification:t}=Ai;t&&$l.setTimeout(()=>t(e,n))}const v2={closed:!0,next:zD,error:function m2(e){throw e},complete:zD},Mh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Sh(e){return e}let kn=(()=>{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 y2(e){return e&&e instanceof bh||function _2(e){return e&&Ze(e.next)&&Ze(e.error)&&Ze(e.complete)}(e)&&jD(e)}(t)?t:new Eh(t,i,r);return zl(()=>{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=qD(i))((r,o)=>{const s=new Eh({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)}[Mh](){return this}pipe(...t){return function GD(e){return 0===e.length?Sh:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qD(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qD(e){var n;return null!==(n=e??Ai.Promise)&&void 0!==n?n:Promise}const C2=HD(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vs=(()=>{class e extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new WD(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new C2}next(t){zl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){zl(()=>{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(){zl(()=>{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?BD:(this.currentObservers=null,o.push(t),new Cn(()=>{this.currentObservers=null,Ul(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new kn;return t.source=this,t}}return e.create=(n,t)=>new WD(n,t),e})();class WD extends vs{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:BD}}class w2 extends Cn{constructor(n,t){super()}schedule(n,t=0){return this}}const ql={setInterval(e,n,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=ql;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},QD={now:()=>(QD.delegate||Date).now(),delegate:void 0};class _s{constructor(n,t=_s.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_s.now=QD.now;const ZD=new class D2 extends _s{constructor(n,t=_s.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 b2 extends w2{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 ql.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&&ql.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,Ul(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),E2=ZD;function Wl(e){return n=>{if(function I2(e){return Ze(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 ys(e,n,t,i,r){return new M2(e,n,t,i,r)}class M2 extends bh{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 Xn(e){return this instanceof Xn?(this.v=e,this):new Xn(e)}function XD(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 Q2=e=>e&&"number"==typeof e.length&&"function"!=typeof e,eV=function X2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function rV(e){if(e instanceof kn)return e;if(null!=e){if(function Y2(e){return Ze(e[Mh])}(e))return function oV(e){return new kn(n=>{const t=e[Mh]();if(Ze(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Q2(e))return function sV(e){return new kn(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$D)})}(e);if(function K2(e){return Symbol.asyncIterator&&Ze(e?.[Symbol.asyncIterator])}(e))return eE(e);if(function tV(e){return Ze(e?.[eV])}(e))return function lV(e){return new kn(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(function iV(e){return Ze(e?.getReader)}(e))return function cV(e){return eE(function nV(e){return function JD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,y){o.push([h,p,m,y])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Xn?Promise.resolve(h.value.v).then(c,u):d(o[0][2],h)}(i[h](p))}catch(m){d(o[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Xn(t.read());if(r)return yield Xn(void 0);yield yield Xn(i)}}finally{t.releaseLock()}})}(e))}(e)}throw function J2(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.`)}(e)}function eE(e){return new kn(n=>{(function uV(e,n){var t,i,r,o;return function YD(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=XD(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 tE(e,n=ZD,t){const i=function pV(e=0,n,t=E2){let i=-1;return null!=n&&(function fV(e){return e&&Ze(e.schedule)}(n)?t=n:i=n),new kn(r=>{let o=function hV(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 dV(e,n){return Wl((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=m=>l=rV(e(m)).subscribe(ys(i,u,d)),p=()=>{if(s){s=!1;const m=a;a=null,i.next(m),!c&&h(m)}};t.subscribe(ys(i,m=>{s=!0,a=m,(!l||l.closed)&&(r?p():h(m))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function nE(e,n,t){const i=Ze(e)||n||t?{next:e,error:n,complete:t}:e;return i?Wl((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ys(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)}))}):Sh}function iE(e,n=Sh){return e=e??gV,Wl((t,i)=>{let r,o=!0;t.subscribe(ys(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function gV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Hr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),rE=!1,oE=function(){};Pt.addEventListener&&Pt.addEventListener("p",oE,{get passive(){return rE=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",oE,!1);var sE=rE,Nh="ontouchstart"in Pt,lE=(Nh||"TouchEvent"in Pt&&Hr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Hr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(lE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Hr("(pointer: coarse)").matches||!Hr("(pointer: fine)").matches&&Nh)&&/Windows.*Firefox/.test(lE),Hr("(any-pointer: fine)").matches||Hr("(any-hover: hover)");const bV=(e,n,t)=>({tooltip:e,placement:n,content:t});function DV(e,n){}function EV(e,n){1&e&&F(0,DV,0,0,"ng-template")}function IV(e,n){if(1&e&&(X(0),F(1,EV,1,0,null,1),ee()),2&e){const t=v();f(),g("ngTemplateOutlet",t.template)("ngTemplateOutletContext",qe(2,bV,t.tooltip,t.placement,t.content))}}function MV(e,n){if(1&e&&(X(0),C(1,"div",2),E(2),_(),ee()),2&e){const t=v();f(),ut("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const SV=["tooltipTemplate"],TV=["leftOuterSelectionBar"],OV=["rightOuterSelectionBar"],xV=["fullBar"],AV=["selectionBar"],NV=["minHandle"],RV=["maxHandle"],PV=["floorLabel"],LV=["ceilLabel"],FV=["minHandleLabel"],kV=["maxHandleLabel"],VV=["combinedLabel"],HV=["ticksElement"],BV=e=>({"ngx-slider-selected":e});function jV(e,n){if(1&e&&x(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;g("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function UV(e,n){1&e&&x(0,"span",33),2&e&&g("innerText",v().$implicit.legend)}function $V(e,n){1&e&&x(0,"span",34),2&e&&g("innerHTML",v().$implicit.legend,Cm)}function zV(e,n){if(1&e&&(C(0,"span",27),x(1,"ngx-slider-tooltip-wrapper",28),F(2,jV,1,4,"ngx-slider-tooltip-wrapper",29)(3,UV,1,1,"span",30)(4,$V,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();g("ngClass",Ko(8,BV,t.selected))("ngStyle",t.style),f(),g("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),g("ngIf",null!=t.value),f(),g("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),g("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var wn=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}(wn||{});class Ql{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 dE=new L("AllowUnsafeHtmlInSlider");var N=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(N||{});class GV{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)?nE(()=>{}):tE(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 fE;return o.eventName=t,o.events=new vs,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?nE(()=>{}):tE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ti=(()=>{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 hE(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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&Qa("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Rh=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di))};static \u0275dir=j({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ut("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),An("ngx-slider-active",r.active))},features:[le]})}return e})(),Br=(()=>{class e extends ti{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)(M(ct),M(Yt),M(Di),M(dE,8))};static \u0275dir=j({type:e,selectors:[["","ngxSliderLabel",""]],features:[le]})}return e})(),qV=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=zt({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&&F(0,IV,2,6,"ng-container",0)(1,MV,3,3,"ng-container",0),2&i&&(g("ngIf",r.template),f(),g("ngIf",!r.template))},dependencies:[Fn,Qw],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class WV{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class pE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class Zl{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 gE extends Zl{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 QV={provide:tn,useExisting:ge(()=>mE),multi:!0};let mE=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new ye;highValue=null;highValueChange=new ye;options=new Ql;userChangeStart=new ye;userChange=new ye;userChangeEnd=new ye;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 vs;inputModelChangeSubscription=null;outputModelChangeSubject=new vs;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Ql;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new pE;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 hE(this.renderer)}ngOnInit(){this.viewOptions=new Ql,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(iE(gE.compare),function mV(e,n){return Wl((t,i)=>{let r=0;t.subscribe(ys(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(iE(gE.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ei.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ei.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===N.Min?this.minHandleElement:t===N.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===N.Min?this.viewLowValue:this.currentTrackingPointer===N.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=!Zl.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 Zl;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);Zl.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 Ql,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!==N.Min&&t!==N.Max&&(t=N.Min),t===N.Min?this.minHandleElement.focus():this.range&&t===N.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,wn.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,wn.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 WV;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,wn.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,wn.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,wn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===N.Min?this.updateLowHandle(i):t===N.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===N.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===N.Min||!this.viewOptions.rightToLeft&&t===N.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,wn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(N.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(N.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,wn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(N.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(N.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===N.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,wn.Low),r=this.getDisplayValue(this.viewHighValue,wn.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?N.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?N.Min:N.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(N.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(N.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(N.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(N.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(N.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(N.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(N.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(N.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(),!ei.isTouchEvent(i)&&!sE&&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=ei.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=ei.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ei.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(ei.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){ei.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===N.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===N.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(N.Min,this.valueToPosition(t)),this.updateHandles(N.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===N.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===N.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(N.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=N.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===N.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===N.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===N.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===N.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===N.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===N.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===N.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(N.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new GV;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(Yt),M(ct),M(Di),M(De),M(dE,8))};static \u0275cmp=zt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Qy(o,SV,5),2&i){let s;wt(s=bt())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Nt(TV,5,ti),Nt(OV,5,ti),Nt(xV,5,ti),Nt(AV,5,ti),Nt(NV,5,Rh),Nt(RV,5,Rh),Nt(PV,5,Br),Nt(LV,5,Br),Nt(FV,5,Br),Nt(kV,5,Br),Nt(VV,5,Br),Nt(HV,5,ti)),2&i){let o;wt(o=bt())&&(r.leftOuterSelectionBarElement=o.first),wt(o=bt())&&(r.rightOuterSelectionBarElement=o.first),wt(o=bt())&&(r.fullBarElement=o.first),wt(o=bt())&&(r.selectionBarElement=o.first),wt(o=bt())&&(r.minHandleElement=o.first),wt(o=bt())&&(r.maxHandleElement=o.first),wt(o=bt())&&(r.floorLabelElement=o.first),wt(o=bt())&&(r.ceilLabelElement=o.first),wt(o=bt())&&(r.minHandleLabelElement=o.first),wt(o=bt())&&(r.maxHandleLabelElement=o.first),wt(o=bt())&&(r.combinedLabelElement=o.first),wt(o=bt())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&z("resize",function(s){return r.onResize(s)},0,_a),2&i&&(ut("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),An("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([QV]),sn],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&&(C(0,"span",12,0),x(2,"span",13),_(),C(3,"span",14,1),x(5,"span",13),_(),C(6,"span",15,2),x(8,"span",13),_(),C(9,"span",16,3),x(11,"span",17),_(),x(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),C(26,"span",25,11),F(28,zV,5,10,"span",26),_()),2&i&&(f(6),An("ngx-slider-transparent",r.fullBarTransparentClass),f(3),An("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),g("ngStyle",r.barStyle),f(),g("ngStyle",r.minPointerStyle),f(2),Qa("display",r.range?"inherit":"none"),g("ngStyle",r.maxPointerStyle),f(12),An("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),g("hidden",!r.showTicks),f(2),g("ngForOf",r.ticks))},dependencies:[Fr,Mi,Fn,Ww,ti,Rh,Br,qV],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})(),ZV=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Bn({type:e});static \u0275inj=Dn({imports:[Kw]})}return e})();class vE{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class YV{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 KV{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 Bt{static roundNumber(n){return Math.floor(n*Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Bt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new KV(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Bt.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 JV(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),XV=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=zt({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"),C(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),Nn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function eH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),$(r)}),z("change",function(){U(t);const r=v();return $(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Ke("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function tH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v().translations)}function nH(e,n){1&e&&x(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function iH(e,n){1&e&&(C(0,"a",13),x(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,zn)}function rH(e,n){if(1&e){const t=Ee();C(0,"div",3)(1,"label")(2,"input",11),z("change",function(){const r=U(t).$implicit;return $(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),F(5,iH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function oH(e,n){if(1&e&&(X(0),x(1,"br")(2,"br"),C(3,"b"),E(4),_(),F(5,nH,1,1,"pro-button",7)(6,rH,6,4,"div",10),ee()),2&e){const t=v();f(4),A(t.translations.metrics),f(),g("ngIf",!t.methodCoverageAvailable),f(),g("ngForOf",t.metrics)}}let sH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new ye,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new ye,this.showBranchCoverage=!1,this.showBranchCoverageChange=new ye,this.showMethodCoverage=!1,this.showMethodCoverageChange=new ye,this.visibleMetrics=[],this.visibleMetricsChange=new ye}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=zt({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&&(C(0,"div",0),z("click",function(){return r.close()}),C(1,"div",1),z("click",function(s){return r.cancelEvent(s)}),C(2,"div",2),z("click",function(){return r.close()}),E(3,"X"),_(),C(4,"b"),E(5),_(),C(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),z("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),F(10,eH,4,2,"div",5),C(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),z("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),F(15,tH,1,1,"pro-button",7),_(),F(16,oH,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),Ke("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),g("ngIf",r.branchCoverageAvailable),f(3),Ke("ngModel",r.showMethodCoverage),g("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),g("ngIf",!r.methodCoverageAvailable),f(),g("ngIf",r.metrics.length>0))},dependencies:[Mi,Fn,Kf,Rl,gs,XV],encapsulation:2})}return e})();function aH(e,n){1&e&&x(0,"td",3)}function lH(e,n){1&e&&x(0,"td"),2&e&&yn("green ",v().greenClass,"")}function cH(e,n){1&e&&x(0,"td"),2&e&&yn("red ",v().redClass,"")}let yE=(()=>{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=zt({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&&(C(0,"table",0),F(1,aH,1,0,"td",1)(2,lH,1,3,"td",2)(3,cH,1,3,"td",2),_()),2&i&&(f(),g("ngIf",r.grayVisible),f(),g("ngIf",r.greenVisible),f(),g("ngIf",r.redVisible))},dependencies:[Fn],encapsulation:2,changeDetection:0})}return e})();const uH=["codeelement-row",""],dH=(e,n)=>({"icon-plus":e,"icon-minus":n});function fH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function hH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function pH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function gH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function mH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function vH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.coverage)}}function _H(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function yH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function CH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function wH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.branchCoverage)}}function bH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function DH(e,n){if(1&e&&(C(0,"th",5),E(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function EH(e,n){if(1&e&&(C(0,"th",6),E(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function IH(e,n){if(1&e&&(C(0,"th",5),x(1,"coverage-bar",7),_()),2&e){const t=v();f(),g("percentage",t.element.methodCoverage)}}function MH(e,n){1&e&&x(0,"th",5)}let SH=(()=>{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=zt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:uH,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&&(C(0,"th")(1,"a",0),z("click",function(s){return r.element.toggleCollapse(s)}),x(2,"i",1),E(3),_()(),F(4,fH,2,1,"th",2)(5,hH,2,1,"th",2)(6,pH,2,1,"th",2)(7,gH,2,1,"th",2)(8,mH,2,2,"th",3)(9,vH,2,1,"th",2)(10,_H,2,1,"th",2)(11,yH,2,1,"th",2)(12,CH,2,2,"th",3)(13,wH,2,1,"th",2)(14,bH,2,1,"th",2)(15,DH,2,1,"th",2)(16,EH,2,2,"th",3)(17,IH,2,1,"th",2)(18,MH,1,0,"th",4)),2&i&&(f(2),g("ngClass",sf(17,dH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.lineCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.branchCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngIf",r.methodCoverageAvailable),f(),g("ngForOf",r.visibleMetrics))},dependencies:[Fr,Mi,Fn,yE],encapsulation:2,changeDetection:0})}return e})();const TH=["coverage-history-chart",""];let OH=(()=>{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 AH(e,n){if(1&e&&(C(0,"a",5),E(1),_()),2&e){const t=v();g("href",t.clazz.reportPath,zn),f(),A(t.clazz.name)}}function NH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v();f(),A(t.clazz.name)}}function RH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function PH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function LH(e,n){if(1&e&&(C(0,"td",6),F(1,RH,5,6,"ng-container",1)(2,PH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function FH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function kH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function VH(e,n){if(1&e&&(C(0,"td",6),F(1,FH,5,6,"ng-container",1)(2,kH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function HH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function BH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function jH(e,n){if(1&e&&(C(0,"td",6),F(1,HH,5,3,"ng-container",1)(2,BH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function UH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function $H(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function zH(e,n){if(1&e&&(C(0,"td",6),F(1,UH,5,3,"ng-container",1)(2,$H,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function GH(e,n){if(1&e&&x(0,"div",11),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function qH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function WH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function QH(e,n){if(1&e&&(C(0,"td",9),F(1,GH,1,5,"div",10)(2,qH,5,6,"ng-container",1)(3,WH,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function ZH(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.coverage)}}function YH(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function KH(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function JH(e,n){if(1&e&&(C(0,"td",6),F(1,YH,5,6,"ng-container",1)(2,KH,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function XH(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function eB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function tB(e,n){if(1&e&&(C(0,"td",6),F(1,XH,5,3,"ng-container",1)(2,eB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function nB(e,n){if(1&e&&x(0,"div",14),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function iB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function rB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function oB(e,n){if(1&e&&(C(0,"td",9),F(1,nB,1,5,"div",13)(2,iB,5,6,"ng-container",1)(3,rB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function sB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.branchCoverage)}}function aB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function lB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function cB(e,n){if(1&e&&(C(0,"td",6),F(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(X(0),C(1,"div",8),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),g("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function dB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function fB(e,n){if(1&e&&(C(0,"td",6),F(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&x(0,"div",16),2&e){const t=v(2);Nn("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",Ko(3,Fh,null!==t.clazz.currentHistoricCoverage))}}function pB(e,n){if(1&e&&(X(0),C(1,"div"),E(2),_(),C(3,"div",7),E(4),_(),ee()),2&e){const t=v(2);f(),yn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function gB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function mB(e,n){if(1&e&&(C(0,"td",9),F(1,hB,1,5,"div",15)(2,pB,5,6,"ng-container",1)(3,gB,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function vB(e,n){if(1&e&&(C(0,"td",6),x(1,"coverage-bar",12),_()),2&e){const t=v();f(),g("percentage",t.clazz.methodCoverage)}}function _B(e,n){if(1&e&&(C(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let yB=(()=>{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 CB(e,n){if(1&e){const t=Ee();C(0,"popup",30),ot("visibleChange",function(r){U(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),$(r)})("showLineCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),$(r)})("showBranchCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),$(r)})("showMethodCoverageChange",function(r){U(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),$(r)})("visibleMetricsChange",function(r){U(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),$(r)}),_()}if(2&e){const t=v(2);Ke("visible",t.popupVisible),g("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Ke("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function wB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function bB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function DB(e,n){if(1&e&&(X(0),E(1),ee()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function EB(e,n){if(1&e&&(C(0,"option",34),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function IB(e,n){1&e&&x(0,"br")}function MB(e,n){if(1&e&&(C(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function SB(e,n){if(1&e&&(C(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function TB(e,n){if(1&e&&(C(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function OB(e,n){if(1&e&&(C(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function xB(e,n){if(1&e){const t=Ee();C(0,"div")(1,"select",31),ot("ngModelChange",function(r){U(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),$(r)}),C(2,"option",32),E(3),_(),C(4,"option",35),E(5),_(),C(6,"option",36),E(7),_(),C(8,"option",37),E(9),_(),F(10,MB,2,1,"option",38)(11,SB,2,1,"option",39)(12,TB,2,1,"option",40)(13,OB,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Ke("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.branchCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable),f(),g("ngIf",t.methodCoverageAvailable)}}function AB(e,n){if(1&e){const t=Ee();X(0),C(1,"div"),E(2),C(3,"select",31),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),$(r)}),z("ngModelChange",function(){return U(t),$(v(2).updateCurrentHistoricCoverage())}),C(4,"option",32),E(5),_(),F(6,EB,2,2,"option",33),_()(),F(7,IB,1,0,"br",0)(8,xB,14,9,"div",0),ee()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Ke("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),g("ngForOf",t.historicCoverageExecutionTimes),f(),g("ngIf",""!==t.settings.historyComparisionDate),f(),g("ngIf",""!==t.settings.historyComparisionDate)}}function NB(e,n){1&e&&x(0,"col",46)}function RB(e,n){1&e&&x(0,"col",47)}function PB(e,n){1&e&&x(0,"col",48)}function LB(e,n){1&e&&x(0,"col",49)}function FB(e,n){1&e&&x(0,"col",50)}function kB(e,n){1&e&&x(0,"col",51)}function VB(e,n){1&e&&x(0,"col",46)}function HB(e,n){1&e&&x(0,"col",49)}function BB(e,n){1&e&&x(0,"col",50)}function jB(e,n){1&e&&x(0,"col",51)}function UB(e,n){1&e&&x(0,"col",46)}function $B(e,n){1&e&&x(0,"col",49)}function zB(e,n){1&e&&x(0,"col",50)}function GB(e,n){1&e&&x(0,"col",51)}function qB(e,n){1&e&&x(0,"col",51)}function WB(e,n){if(1&e&&(C(0,"th",52),E(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function QB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function ZB(e,n){if(1&e&&(C(0,"th",53),E(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function YB(e,n){if(1&e&&(C(0,"th",54),E(1),_()),2&e){const t=v(2);ut("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function KB(e,n){if(1&e){const t=Ee();C(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),g("options",t.sliderOptions)}}function JB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),g("options",t.sliderOptions)}}function XB(e,n){if(1&e){const t=Ee();C(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),$(r)})("highValueChange",function(r){U(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),$(r)}),_()()}if(2&e){const t=v(2);f(),Ke("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),g("options",t.sliderOptions)}}function ej(e,n){1&e&&x(0,"td",54),2&e&&ut("colspan",v(2).settings.visibleMetrics.length)}function tj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function nj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("uncovered",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function ij(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverable",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function rj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function oj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("coverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function sj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function aj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_branches",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function lj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("branchcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function cj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("covered_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function uj(e,n){if(1&e){const t=Ee();C(0,"th",56)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("total_methods",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function dj(e,n){if(1&e){const t=Ee();C(0,"th",57)(1,"a",3),z("click",function(r){return U(t),$(v(2).updateSorting("methodcoverage",r))}),x(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",qe(2,Lt,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function fj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",3),z("click",function(r){const o=U(t).$implicit;return $(v(2).updateSorting(o.abbreviation,r))}),x(2,"i",26),E(3),_(),C(4,"a",58),x(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),g("ngClass",qe(3,Lt,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function hj(e,n){if(1&e&&x(0,"tr",61),2&e){const t=v().$implicit,i=v(2);g("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 pj(e,n){if(1&e&&x(0,"tr",63),2&e){const t=v().$implicit,i=v(3);g("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 gj(e,n){if(1&e&&(X(0),F(1,pj,1,7,"tr",62),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function mj(e,n){if(1&e&&x(0,"tr",66),2&e){const t=v().$implicit,i=v(5);g("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 vj(e,n){if(1&e&&(X(0),F(1,mj,1,7,"tr",65),ee()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function _j(e,n){if(1&e&&(X(0),x(1,"tr",64),F(2,vj,2,1,"ng-container",29),ee()),2&e){const t=v().$implicit,i=v(3);f(),g("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(),g("ngForOf",t.classes)}}function yj(e,n){if(1&e&&(X(0),F(1,_j,3,7,"ng-container",0),ee()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),g("ngIf",!i.collapsed&&t.visible(r.settings))}}function Cj(e,n){if(1&e&&(X(0),F(1,hj,1,6,"tr",60)(2,gj,2,1,"ng-container",29)(3,yj,2,1,"ng-container",29),ee()),2&e){const t=n.$implicit,i=v(2);f(),g("ngIf",t.visible(i.settings)),f(),g("ngForOf",t.classes),f(),g("ngForOf",t.subElements)}}function wj(e,n){if(1&e){const t=Ee();C(0,"div"),F(1,CB,1,9,"popup",1),C(2,"div",2)(3,"div")(4,"a",3),z("click",function(r){return U(t),$(v().collapseAll(r))}),E(5),_(),E(6," | "),C(7,"a",3),z("click",function(r){return U(t),$(v().expandAll(r))}),E(8),_()(),C(9,"div",4)(10,"span",5),F(11,wB,2,1,"ng-container",0)(12,bB,2,1,"ng-container",0)(13,DB,2,1,"ng-container",0),_(),x(14,"br"),E(15),C(16,"input",6),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateCoverageInfo())}),_()(),C(17,"div",4),F(18,AB,9,6,"ng-container",0),_(),C(19,"div",7)(20,"button",8),z("click",function(){return U(t),$(v().popupVisible=!0)}),x(21,"i",9),E(22),_()()(),C(23,"div",10)(24,"table",11)(25,"colgroup"),x(26,"col",12),F(27,NB,1,0,"col",13)(28,RB,1,0,"col",14)(29,PB,1,0,"col",15)(30,LB,1,0,"col",16)(31,FB,1,0,"col",17)(32,kB,1,0,"col",18)(33,VB,1,0,"col",13)(34,HB,1,0,"col",16)(35,BB,1,0,"col",17)(36,jB,1,0,"col",18)(37,UB,1,0,"col",13)(38,$B,1,0,"col",16)(39,zB,1,0,"col",17)(40,GB,1,0,"col",18)(41,qB,1,0,"col",19),_(),C(42,"thead")(43,"tr",20),x(44,"th"),F(45,WB,2,1,"th",21)(46,QB,2,1,"th",22)(47,ZB,2,1,"th",22)(48,YB,2,2,"th",23),_(),C(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),_()(),F(52,KB,2,3,"td",21)(53,JB,2,3,"td",22)(54,XB,2,3,"td",22)(55,ej,1,1,"td",23),_(),C(56,"tr")(57,"th")(58,"a",3),z("click",function(r){return U(t),$(v().updateSorting("name",r))}),x(59,"i",26),E(60),_()(),F(61,tj,4,6,"th",27)(62,nj,4,6,"th",27)(63,ij,4,6,"th",27)(64,rj,4,6,"th",27)(65,oj,4,6,"th",28)(66,sj,4,6,"th",27)(67,aj,4,6,"th",27)(68,lj,4,6,"th",28)(69,cj,4,6,"th",27)(70,uj,4,6,"th",27)(71,dj,4,6,"th",28)(72,fj,6,7,"th",29),_()(),C(73,"tbody"),F(74,Cj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),g("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),g("ngIf",-1===t.settings.grouping),f(),g("ngIf",0===t.settings.grouping),f(),g("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),g("max",t.settings.groupingMaximum),Ke("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(3),Nn("placeholder",t.translations.filter),Ke("ngModel",t.settings.filter),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",qe(51,Lt,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.settings.showLineCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let bj=(()=>{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 YV,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,Bt.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 vE;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)(M(Lh))};static#t=this.\u0275cmp=zt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&z("beforeunload",function(){return r.onBeforeUnload()},0,_a)},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&&F(0,wj,75,55,"div",0),2&i&&g("ngIf",r.codeElements.length>0)},dependencies:[Fr,Mi,Fn,mh,_h,us,fh,ms,Rl,gs,mE,sH,SH,yB],encapsulation:2})}return e})();class Dj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Yl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t}),Ej=(e,n)=>({lightred:e,lightgreen:n});function Ij(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=n.$implicit;g("value",t),f(),A(t)}}function Mj(e,n){if(1&e&&(C(0,"span"),E(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function Sj(e,n){1&e&&(C(0,"option",23),E(1,"20"),_())}function Tj(e,n){1&e&&(C(0,"option",24),E(1,"50"),_())}function Oj(e,n){1&e&&(C(0,"option",25),E(1,"100"),_())}function xj(e,n){if(1&e&&(C(0,"option",16),E(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function Aj(e,n){if(1&e){const t=Ee();C(0,"select",17),ot("ngModelChange",function(r){U(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),$(r)}),C(1,"option",18),E(2,"10"),_(),F(3,Sj,2,0,"option",19)(4,Tj,2,0,"option",20)(5,Oj,2,0,"option",21)(6,xj,2,2,"option",22),_()}if(2&e){const t=v(2);Ke("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>20),f(),g("ngIf",t.totalNumberOfRiskHotspots>50),f(),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function Nj(e,n){1&e&&x(0,"col",26)}function Rj(e,n){if(1&e){const t=Ee();C(0,"th")(1,"a",13),z("click",function(r){const o=U(t).index;return $(v(2).updateSorting(""+o,r))}),x(2,"i",14),E(3),_(),C(4,"a",27),x(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),g("ngClass",qe(3,Yl,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Nn("href",t.explanationUrl,zn)}}function Pj(e,n){if(1&e&&(C(0,"td",32),E(1),_()),2&e){const t=n.$implicit;g("ngClass",sf(2,Ej,t.exceeded,!t.exceeded)),f(),A(t.value)}}function Lj(e,n){if(1&e&&(C(0,"tr")(1,"td"),E(2),_(),C(3,"td")(4,"a",29),E(5),_()(),C(6,"td",30)(7,"a",29),E(8),_()(),F(9,Pj,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),g("href",t.reportPath+i.queryString,zn),f(),A(t.class),f(),g("title",t.methodName),f(),g("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,zn),f(),Y(" ",t.methodShortName," "),f(),g("ngForOf",t.metrics)}}function Fj(e,n){if(1&e){const t=Ee();C(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),C(4,"option",3),E(5),_(),F(6,Ij,2,2,"option",4),_()(),C(7,"div",5),F(8,Mj,2,1,"span",0)(9,Aj,7,5,"select",6),_(),x(10,"div",5),C(11,"div",7)(12,"span"),E(13),_(),C(14,"input",8),ot("ngModelChange",function(r){U(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),$(r)}),z("ngModelChange",function(){return U(t),$(v().updateRiskHotpots())}),_()()(),C(15,"div",9)(16,"table",10)(17,"colgroup"),x(18,"col",11)(19,"col",11)(20,"col",11),F(21,Nj,1,0,"col",12),_(),C(22,"thead")(23,"tr")(24,"th")(25,"a",13),z("click",function(r){return U(t),$(v().updateSorting("assembly",r))}),x(26,"i",14),E(27),_()(),C(28,"th")(29,"a",13),z("click",function(r){return U(t),$(v().updateSorting("class",r))}),x(30,"i",14),E(31),_()(),C(32,"th")(33,"a",13),z("click",function(r){return U(t),$(v().updateSorting("method",r))}),x(34,"i",14),E(35),_()(),F(36,Rj,6,7,"th",15),_()(),C(37,"tbody"),F(38,Lj,10,7,"tr",15),function CC(e,n){const t=te();let i;const r=e+q;t.firstCreatePass?(i=function iN(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=si(i.type)),a=gt(M);try{const l=Ks(!1),c=o();return Ks(l),function OA(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,w(),r,c),c}finally{gt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Ke("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Ke("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",qe(20,Yl,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),g("ngClass",qe(24,Yl,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),g("ngClass",qe(28,Yl,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",wC(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let kj=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Dj,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 vE;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:[Fr,Mi,Fn,mh,_h,us,ms,Rl,gs,Yw],encapsulation:2})}return e})(),Vj=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Bn({type:e,bootstrap:[kj,bj]});static#n=this.\u0275inj=Dn({providers:[Lh],imports:[RF,c2,ZV]})}return e})();AF().bootstrapModule(Vj).catch(e=>console.error(e))}},Ur=>{Ur(Ur.s=193)}]); \ No newline at end of file